Documentation
¶
Overview ¶
Package v1 contains generated PowerContext HTTP wire types and operation descriptors. Generated files in this package must not contain domain logic.
Code generated by ogen, DO NOT EDIT.
Index ¶
- func GetRolesForBearerAuth(operation string) []string
- func ValidatePowerContextContract(value any) error
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type AcknowledgeHandoffRequest
- func (s *AcknowledgeHandoffRequest) Decode(d *jx.Decoder) error
- func (s *AcknowledgeHandoffRequest) Encode(e *jx.Encoder)
- func (s *AcknowledgeHandoffRequest) GetMessage() OptNilString
- func (s *AcknowledgeHandoffRequest) GetPrepared() OptNilPreparedHandoff
- func (s *AcknowledgeHandoffRequest) GetReceiver() string
- func (s *AcknowledgeHandoffRequest) GetReceiverChecks() OptNilReceiverChecks
- func (s *AcknowledgeHandoffRequest) GetRevision() OptNilArtifactReference
- func (s *AcknowledgeHandoffRequest) GetScopeID() string
- func (s *AcknowledgeHandoffRequest) GetSelection() HandoffAcknowledgementSelection
- func (s *AcknowledgeHandoffRequest) GetSourceID() string
- func (s *AcknowledgeHandoffRequest) GetStatus() HandoffReceiptStatus
- func (s *AcknowledgeHandoffRequest) MarshalJSON() ([]byte, error)
- func (s *AcknowledgeHandoffRequest) SetMessage(val OptNilString)
- func (s *AcknowledgeHandoffRequest) SetPrepared(val OptNilPreparedHandoff)
- func (s *AcknowledgeHandoffRequest) SetReceiver(val string)
- func (s *AcknowledgeHandoffRequest) SetReceiverChecks(val OptNilReceiverChecks)
- func (s *AcknowledgeHandoffRequest) SetRevision(val OptNilArtifactReference)
- func (s *AcknowledgeHandoffRequest) SetScopeID(val string)
- func (s *AcknowledgeHandoffRequest) SetSelection(val HandoffAcknowledgementSelection)
- func (s *AcknowledgeHandoffRequest) SetSourceID(val string)
- func (s *AcknowledgeHandoffRequest) SetStatus(val HandoffReceiptStatus)
- func (s *AcknowledgeHandoffRequest) UnmarshalJSON(data []byte) error
- func (s *AcknowledgeHandoffRequest) Validate() error
- type AcknowledgeHandoffRes
- type ActivateHandoffRequest
- func (s *ActivateHandoffRequest) Decode(d *jx.Decoder) error
- func (s *ActivateHandoffRequest) Encode(e *jx.Encoder)
- func (s *ActivateHandoffRequest) GetBoundarySource() SourceReference
- func (s *ActivateHandoffRequest) GetEvidence() []HandoffCitation
- func (s *ActivateHandoffRequest) GetMaxBytes() OptInt
- func (s *ActivateHandoffRequest) GetObjective() string
- func (s *ActivateHandoffRequest) GetScopeID() string
- func (s *ActivateHandoffRequest) MarshalJSON() ([]byte, error)
- func (s *ActivateHandoffRequest) SetBoundarySource(val SourceReference)
- func (s *ActivateHandoffRequest) SetEvidence(val []HandoffCitation)
- func (s *ActivateHandoffRequest) SetMaxBytes(val OptInt)
- func (s *ActivateHandoffRequest) SetObjective(val string)
- func (s *ActivateHandoffRequest) SetScopeID(val string)
- func (s *ActivateHandoffRequest) UnmarshalJSON(data []byte) error
- func (s *ActivateHandoffRequest) Validate() error
- type ActivateHandoffRes
- type ApproveArtifactCandidateRequest
- func (s *ApproveArtifactCandidateRequest) Decode(d *jx.Decoder) error
- func (s *ApproveArtifactCandidateRequest) Encode(e *jx.Encoder)
- func (s *ApproveArtifactCandidateRequest) GetCandidateID() string
- func (s *ApproveArtifactCandidateRequest) GetExpectedVersion() int
- func (s *ApproveArtifactCandidateRequest) GetScopeID() string
- func (s *ApproveArtifactCandidateRequest) MarshalJSON() ([]byte, error)
- func (s *ApproveArtifactCandidateRequest) SetCandidateID(val string)
- func (s *ApproveArtifactCandidateRequest) SetExpectedVersion(val int)
- func (s *ApproveArtifactCandidateRequest) SetScopeID(val string)
- func (s *ApproveArtifactCandidateRequest) UnmarshalJSON(data []byte) error
- func (s *ApproveArtifactCandidateRequest) Validate() error
- type ApproveArtifactCandidateRes
- type ArtifactCandidate
- func (s *ArtifactCandidate) Decode(d *jx.Decoder) error
- func (s *ArtifactCandidate) Encode(e *jx.Encoder)
- func (s *ArtifactCandidate) GetArtifactRefs() []ArtifactReference
- func (s *ArtifactCandidate) GetCandidateID() string
- func (s *ArtifactCandidate) GetDecisionReason() NilString
- func (s *ArtifactCandidate) GetFamily() CandidateFamily
- func (s *ArtifactCandidate) GetProposal() ArtifactCandidateProposal
- func (s *ArtifactCandidate) GetReason() NilString
- func (s *ArtifactCandidate) GetResultArtifact() NilArtifactReference
- func (s *ArtifactCandidate) GetSourceRefs() []SourceReference
- func (s *ArtifactCandidate) GetStatus() CandidateStatus
- func (s *ArtifactCandidate) GetTarget() NilArtifactReference
- func (s *ArtifactCandidate) GetVersion() int
- func (s *ArtifactCandidate) MarshalJSON() ([]byte, error)
- func (s *ArtifactCandidate) SetArtifactRefs(val []ArtifactReference)
- func (s *ArtifactCandidate) SetCandidateID(val string)
- func (s *ArtifactCandidate) SetDecisionReason(val NilString)
- func (s *ArtifactCandidate) SetFamily(val CandidateFamily)
- func (s *ArtifactCandidate) SetProposal(val ArtifactCandidateProposal)
- func (s *ArtifactCandidate) SetReason(val NilString)
- func (s *ArtifactCandidate) SetResultArtifact(val NilArtifactReference)
- func (s *ArtifactCandidate) SetSourceRefs(val []SourceReference)
- func (s *ArtifactCandidate) SetStatus(val CandidateStatus)
- func (s *ArtifactCandidate) SetTarget(val NilArtifactReference)
- func (s *ArtifactCandidate) SetVersion(val int)
- func (s *ArtifactCandidate) UnmarshalJSON(data []byte) error
- func (s *ArtifactCandidate) Validate() error
- type ArtifactCandidateHeaders
- func (s *ArtifactCandidateHeaders) GetResponse() ArtifactCandidate
- func (s *ArtifactCandidateHeaders) GetXPowerContextRequestID() OptString
- func (s *ArtifactCandidateHeaders) SetResponse(val ArtifactCandidate)
- func (s *ArtifactCandidateHeaders) SetXPowerContextRequestID(val OptString)
- func (s *ArtifactCandidateHeaders) Validate() error
- type ArtifactCandidatePage
- func (s *ArtifactCandidatePage) Decode(d *jx.Decoder) error
- func (s *ArtifactCandidatePage) Encode(e *jx.Encoder)
- func (s *ArtifactCandidatePage) GetCandidates() []ArtifactCandidate
- func (s *ArtifactCandidatePage) GetNextCursor() NilString
- func (s *ArtifactCandidatePage) MarshalJSON() ([]byte, error)
- func (s *ArtifactCandidatePage) SetCandidates(val []ArtifactCandidate)
- func (s *ArtifactCandidatePage) SetNextCursor(val NilString)
- func (s *ArtifactCandidatePage) UnmarshalJSON(data []byte) error
- func (s *ArtifactCandidatePage) Validate() error
- type ArtifactCandidatePageHeaders
- func (s *ArtifactCandidatePageHeaders) GetResponse() ArtifactCandidatePage
- func (s *ArtifactCandidatePageHeaders) GetXPowerContextRequestID() OptString
- func (s *ArtifactCandidatePageHeaders) SetResponse(val ArtifactCandidatePage)
- func (s *ArtifactCandidatePageHeaders) SetXPowerContextRequestID(val OptString)
- func (s *ArtifactCandidatePageHeaders) Validate() error
- type ArtifactCandidateProposal
- func (s *ArtifactCandidateProposal) Decode(d *jx.Decoder) error
- func (s ArtifactCandidateProposal) Encode(e *jx.Encoder)
- func (s ArtifactCandidateProposal) GetExperienceProposal() (v ExperienceProposal, ok bool)
- func (s ArtifactCandidateProposal) GetSkillProposal() (v SkillProposal, ok bool)
- func (s ArtifactCandidateProposal) IsExperienceProposal() bool
- func (s ArtifactCandidateProposal) IsSkillProposal() bool
- func (s ArtifactCandidateProposal) MarshalJSON() ([]byte, error)
- func (s *ArtifactCandidateProposal) SetExperienceProposal(v ExperienceProposal)
- func (s *ArtifactCandidateProposal) SetSkillProposal(v SkillProposal)
- func (s *ArtifactCandidateProposal) UnmarshalJSON(data []byte) error
- func (s ArtifactCandidateProposal) Validate() error
- type ArtifactCandidateProposalType
- type ArtifactInventoryStatistics
- func (s *ArtifactInventoryStatistics) Decode(d *jx.Decoder) error
- func (s *ArtifactInventoryStatistics) Encode(e *jx.Encoder)
- func (s *ArtifactInventoryStatistics) GetByFamily() []FamilyCount
- func (s *ArtifactInventoryStatistics) GetTotal() int
- func (s *ArtifactInventoryStatistics) MarshalJSON() ([]byte, error)
- func (s *ArtifactInventoryStatistics) SetByFamily(val []FamilyCount)
- func (s *ArtifactInventoryStatistics) SetTotal(val int)
- func (s *ArtifactInventoryStatistics) UnmarshalJSON(data []byte) error
- func (s *ArtifactInventoryStatistics) Validate() error
- type ArtifactReference
- func (s *ArtifactReference) Decode(d *jx.Decoder) error
- func (s *ArtifactReference) Encode(e *jx.Encoder)
- func (s *ArtifactReference) GetArtifactID() string
- func (s *ArtifactReference) GetFamily() string
- func (s *ArtifactReference) GetRevision() int
- func (s *ArtifactReference) MarshalJSON() ([]byte, error)
- func (s *ArtifactReference) SetArtifactID(val string)
- func (s *ArtifactReference) SetFamily(val string)
- func (s *ArtifactReference) SetRevision(val int)
- func (s *ArtifactReference) UnmarshalJSON(data []byte) error
- func (s *ArtifactReference) Validate() error
- type AttachHandoffReportWorkspaceRequest
- func (s *AttachHandoffReportWorkspaceRequest) Decode(d *jx.Decoder) error
- func (s *AttachHandoffReportWorkspaceRequest) Encode(e *jx.Encoder)
- func (s *AttachHandoffReportWorkspaceRequest) GetExpectedVersion() NilInt
- func (s *AttachHandoffReportWorkspaceRequest) GetProjectID() string
- func (s *AttachHandoffReportWorkspaceRequest) GetRepositoryRef() HandoffReportRepositoryRef
- func (s *AttachHandoffReportWorkspaceRequest) GetWorkspaceInstanceID() string
- func (s *AttachHandoffReportWorkspaceRequest) MarshalJSON() ([]byte, error)
- func (s *AttachHandoffReportWorkspaceRequest) SetExpectedVersion(val NilInt)
- func (s *AttachHandoffReportWorkspaceRequest) SetProjectID(val string)
- func (s *AttachHandoffReportWorkspaceRequest) SetRepositoryRef(val HandoffReportRepositoryRef)
- func (s *AttachHandoffReportWorkspaceRequest) SetWorkspaceInstanceID(val string)
- func (s *AttachHandoffReportWorkspaceRequest) UnmarshalJSON(data []byte) error
- func (s *AttachHandoffReportWorkspaceRequest) Validate() error
- type AttachHandoffReportWorkspaceRes
- type BearerAuth
- type CandidateFamily
- func (CandidateFamily) AllValues() []CandidateFamily
- func (s *CandidateFamily) Decode(d *jx.Decoder) error
- func (s CandidateFamily) Encode(e *jx.Encoder)
- func (s CandidateFamily) MarshalJSON() ([]byte, error)
- func (s CandidateFamily) MarshalText() ([]byte, error)
- func (s *CandidateFamily) UnmarshalJSON(data []byte) error
- func (s *CandidateFamily) UnmarshalText(data []byte) error
- func (s CandidateFamily) Validate() error
- type CandidateFamilyCount
- func (s *CandidateFamilyCount) Decode(d *jx.Decoder) error
- func (s *CandidateFamilyCount) Encode(e *jx.Encoder)
- func (s *CandidateFamilyCount) GetApproved() int
- func (s *CandidateFamilyCount) GetFamily() CandidateFamily
- func (s *CandidateFamilyCount) GetPending() int
- func (s *CandidateFamilyCount) GetRejected() int
- func (s *CandidateFamilyCount) GetTotal() int
- func (s *CandidateFamilyCount) MarshalJSON() ([]byte, error)
- func (s *CandidateFamilyCount) SetApproved(val int)
- func (s *CandidateFamilyCount) SetFamily(val CandidateFamily)
- func (s *CandidateFamilyCount) SetPending(val int)
- func (s *CandidateFamilyCount) SetRejected(val int)
- func (s *CandidateFamilyCount) SetTotal(val int)
- func (s *CandidateFamilyCount) UnmarshalJSON(data []byte) error
- func (s *CandidateFamilyCount) Validate() error
- type CandidateInventoryStatistics
- func (s *CandidateInventoryStatistics) Decode(d *jx.Decoder) error
- func (s *CandidateInventoryStatistics) Encode(e *jx.Encoder)
- func (s *CandidateInventoryStatistics) GetApproved() int
- func (s *CandidateInventoryStatistics) GetByFamily() []CandidateFamilyCount
- func (s *CandidateInventoryStatistics) GetPending() int
- func (s *CandidateInventoryStatistics) GetRejected() int
- func (s *CandidateInventoryStatistics) GetTotal() int
- func (s *CandidateInventoryStatistics) MarshalJSON() ([]byte, error)
- func (s *CandidateInventoryStatistics) SetApproved(val int)
- func (s *CandidateInventoryStatistics) SetByFamily(val []CandidateFamilyCount)
- func (s *CandidateInventoryStatistics) SetPending(val int)
- func (s *CandidateInventoryStatistics) SetRejected(val int)
- func (s *CandidateInventoryStatistics) SetTotal(val int)
- func (s *CandidateInventoryStatistics) UnmarshalJSON(data []byte) error
- func (s *CandidateInventoryStatistics) Validate() error
- type CandidateStatus
- func (CandidateStatus) AllValues() []CandidateStatus
- func (s *CandidateStatus) Decode(d *jx.Decoder) error
- func (s CandidateStatus) Encode(e *jx.Encoder)
- func (s CandidateStatus) MarshalJSON() ([]byte, error)
- func (s CandidateStatus) MarshalText() ([]byte, error)
- func (s *CandidateStatus) UnmarshalJSON(data []byte) error
- func (s *CandidateStatus) UnmarshalText(data []byte) error
- func (s CandidateStatus) Validate() error
- type Capabilities
- func (s *Capabilities) Decode(d *jx.Decoder) error
- func (s *Capabilities) Encode(e *jx.Encoder)
- func (s *Capabilities) GetArtifactFamilies() []string
- func (s *Capabilities) GetContextVersions() []PreparedContextSchema
- func (s *Capabilities) GetExperienceGeneration() OptBool
- func (s *Capabilities) GetExternalSkillRegistry() OptBool
- func (s *Capabilities) GetHandoffGeneration() bool
- func (s *Capabilities) GetManagedSkillGeneration() OptBool
- func (s *Capabilities) GetMemoryExtraction() bool
- func (s *Capabilities) GetSearchModes() []MemorySearchMode
- func (s *Capabilities) GetSourceTypes() []string
- func (s *Capabilities) MarshalJSON() ([]byte, error)
- func (s *Capabilities) SetArtifactFamilies(val []string)
- func (s *Capabilities) SetContextVersions(val []PreparedContextSchema)
- func (s *Capabilities) SetExperienceGeneration(val OptBool)
- func (s *Capabilities) SetExternalSkillRegistry(val OptBool)
- func (s *Capabilities) SetHandoffGeneration(val bool)
- func (s *Capabilities) SetManagedSkillGeneration(val OptBool)
- func (s *Capabilities) SetMemoryExtraction(val bool)
- func (s *Capabilities) SetSearchModes(val []MemorySearchMode)
- func (s *Capabilities) SetSourceTypes(val []string)
- func (s *Capabilities) UnmarshalJSON(data []byte) error
- func (s *Capabilities) Validate() error
- type CapabilitiesHeaders
- func (s *CapabilitiesHeaders) GetResponse() Capabilities
- func (s *CapabilitiesHeaders) GetXPowerContextRequestID() OptString
- func (s *CapabilitiesHeaders) SetResponse(val Capabilities)
- func (s *CapabilitiesHeaders) SetXPowerContextRequestID(val OptString)
- func (s *CapabilitiesHeaders) Validate() error
- type CaptureContentSourceRequest
- func (s *CaptureContentSourceRequest) Decode(d *jx.Decoder) error
- func (s *CaptureContentSourceRequest) Encode(e *jx.Encoder)
- func (s *CaptureContentSourceRequest) GetContent() string
- func (s *CaptureContentSourceRequest) GetMetadata() OptNilCaptureContentSourceRequestMetadata
- func (s *CaptureContentSourceRequest) GetScopeID() string
- func (s *CaptureContentSourceRequest) GetSourceID() string
- func (s *CaptureContentSourceRequest) MarshalJSON() ([]byte, error)
- func (s *CaptureContentSourceRequest) SetContent(val string)
- func (s *CaptureContentSourceRequest) SetMetadata(val OptNilCaptureContentSourceRequestMetadata)
- func (s *CaptureContentSourceRequest) SetScopeID(val string)
- func (s *CaptureContentSourceRequest) SetSourceID(val string)
- func (s *CaptureContentSourceRequest) UnmarshalJSON(data []byte) error
- func (s *CaptureContentSourceRequest) Validate() error
- type CaptureContentSourceRequestMetadata
- type CaptureContentSourceRes
- type CaptureContentSourceResponse
- func (s *CaptureContentSourceResponse) Decode(d *jx.Decoder) error
- func (s *CaptureContentSourceResponse) Encode(e *jx.Encoder)
- func (s *CaptureContentSourceResponse) GetPosition() int
- func (s *CaptureContentSourceResponse) GetSource() SourceReference
- func (s *CaptureContentSourceResponse) GetStatus() CaptureStatus
- func (s *CaptureContentSourceResponse) MarshalJSON() ([]byte, error)
- func (s *CaptureContentSourceResponse) SetPosition(val int)
- func (s *CaptureContentSourceResponse) SetSource(val SourceReference)
- func (s *CaptureContentSourceResponse) SetStatus(val CaptureStatus)
- func (s *CaptureContentSourceResponse) UnmarshalJSON(data []byte) error
- func (s *CaptureContentSourceResponse) Validate() error
- type CaptureContentSourceResponseHeaders
- func (s *CaptureContentSourceResponseHeaders) GetResponse() CaptureContentSourceResponse
- func (s *CaptureContentSourceResponseHeaders) GetXPowerContextRequestID() OptString
- func (s *CaptureContentSourceResponseHeaders) SetResponse(val CaptureContentSourceResponse)
- func (s *CaptureContentSourceResponseHeaders) SetXPowerContextRequestID(val OptString)
- func (s *CaptureContentSourceResponseHeaders) Validate() error
- type CaptureStatus
- func (CaptureStatus) AllValues() []CaptureStatus
- func (s *CaptureStatus) Decode(d *jx.Decoder) error
- func (s CaptureStatus) Encode(e *jx.Encoder)
- func (s CaptureStatus) MarshalJSON() ([]byte, error)
- func (s CaptureStatus) MarshalText() ([]byte, error)
- func (s *CaptureStatus) UnmarshalJSON(data []byte) error
- func (s *CaptureStatus) UnmarshalText(data []byte) error
- func (s CaptureStatus) Validate() error
- type Client
- func (c *Client) AcknowledgeHandoff(ctx context.Context, request *AcknowledgeHandoffRequest) (AcknowledgeHandoffRes, error)
- func (c *Client) ActivateHandoff(ctx context.Context, request *ActivateHandoffRequest) (ActivateHandoffRes, error)
- func (c *Client) ApproveArtifactCandidate(ctx context.Context, request *ApproveArtifactCandidateRequest) (ApproveArtifactCandidateRes, error)
- func (c *Client) AttachHandoffReportWorkspace(ctx context.Context, request *AttachHandoffReportWorkspaceRequest) (AttachHandoffReportWorkspaceRes, error)
- func (c *Client) CaptureContentSource(ctx context.Context, request *CaptureContentSourceRequest) (CaptureContentSourceRes, error)
- func (c *Client) CommitHandoff(ctx context.Context, request *CommitHandoffRequest) (CommitHandoffRes, error)
- func (c *Client) ContinueHandoff(ctx context.Context, request *ContinueHandoffRequest) (ContinueHandoffRes, error)
- func (c *Client) CreateHandoffReportProject(ctx context.Context, request *CreateHandoffReportProjectRequest) (CreateHandoffReportProjectRes, error)
- func (c *Client) CreateWorkContract(ctx context.Context, request *CreateWorkContractRequest) (CreateWorkContractRes, error)
- func (c *Client) DetachHandoffReportWorkspace(ctx context.Context, request *DetachHandoffReportWorkspaceRequest) (DetachHandoffReportWorkspaceRes, error)
- func (c *Client) FinalizeHandoff(ctx context.Context, request *FinalizeHandoffRequest) (FinalizeHandoffRes, error)
- func (c *Client) FlushMemory(ctx context.Context, request *FlushMemoryRequest) (FlushMemoryRes, error)
- func (c *Client) GenerateExperience(ctx context.Context, request *GenerateExperienceRequest) (GenerateExperienceRes, error)
- func (c *Client) GenerateSkill(ctx context.Context, request *GenerateSkillRequest) (GenerateSkillRes, error)
- func (c *Client) GetArtifactCandidate(ctx context.Context, request *GetArtifactCandidateRequest) (GetArtifactCandidateRes, error)
- func (c *Client) GetCapabilities(ctx context.Context) (GetCapabilitiesRes, error)
- func (c *Client) GetExperience(ctx context.Context, request *GetExperienceRequest) (GetExperienceRes, error)
- func (c *Client) GetHandoffReport(ctx context.Context, request *GetHandoffReportRequest) (GetHandoffReportRes, error)
- func (c *Client) GetHandoffReportProject(ctx context.Context, request *GetHandoffReportProjectRequest) (GetHandoffReportProjectRes, error)
- func (c *Client) GetHandoffReportWorkspace(ctx context.Context, request *GetHandoffReportWorkspaceRequest) (GetHandoffReportWorkspaceRes, error)
- func (c *Client) GetLiveness(ctx context.Context) (*HealthResponseHeaders, error)
- func (c *Client) GetMemoryEntry(ctx context.Context, request *GetMemoryEntryRequest) (GetMemoryEntryRes, error)
- func (c *Client) GetReadiness(ctx context.Context) (GetReadinessRes, error)
- func (c *Client) GetSkill(ctx context.Context, request *GetSkillRequest) (GetSkillRes, error)
- func (c *Client) GetStats(ctx context.Context, params GetStatsParams) (GetStatsRes, error)
- func (c *Client) HandoffCurrentWork(ctx context.Context, request *HandoffCurrentWorkRequest) (HandoffCurrentWorkRes, error)
- func (c *Client) ImportExternalSkill(ctx context.Context, request *ImportExternalSkillRequest) (ImportExternalSkillRes, error)
- func (c *Client) ListArtifactCandidates(ctx context.Context, request *ListArtifactCandidatesRequest) (ListArtifactCandidatesRes, error)
- func (c *Client) ListExternalSkills(ctx context.Context, request *ListExternalSkillsRequest) (ListExternalSkillsRes, error)
- func (c *Client) ListHandoffReportActivities(ctx context.Context, request *ListHandoffReportActivitiesRequest) (ListHandoffReportActivitiesRes, error)
- func (c *Client) ListHandoffReportKnownScopes(ctx context.Context, request *ListHandoffReportKnownScopesRequest) (ListHandoffReportKnownScopesRes, error)
- func (c *Client) ListHandoffReportProjects(ctx context.Context, request *ListHandoffReportProjectsRequest) (ListHandoffReportProjectsRes, error)
- func (c *Client) ListHandoffReportWorkstreams(ctx context.Context, request *ListHandoffReportWorkstreamsRequest) (ListHandoffReportWorkstreamsRes, error)
- func (c *Client) ListMemoryChanges(ctx context.Context, request *ListMemoryChangesRequest) (ListMemoryChangesRes, error)
- func (c *Client) ListMemoryEntries(ctx context.Context, request *ListMemoryEntriesRequest) (ListMemoryEntriesRes, error)
- func (c *Client) PrepareContext(ctx context.Context, request *PrepareContextRequest) (PrepareContextRes, error)
- func (c *Client) PrepareHandoff(ctx context.Context, request *PrepareHandoffRequest) (PrepareHandoffRes, error)
- func (c *Client) ProposeExperience(ctx context.Context, request *ProposeExperienceRequest) (ProposeExperienceRes, error)
- func (c *Client) ProposeSkill(ctx context.Context, request *ProposeSkillRequest) (ProposeSkillRes, error)
- func (c *Client) PurgeHandoffReportActivities(ctx context.Context, request *PurgeHandoffReportActivitiesRequest) (PurgeHandoffReportActivitiesRes, error)
- func (c *Client) RecordHandoffReportActivity(ctx context.Context, request *RecordHandoffReportActivityRequest) (RecordHandoffReportActivityRes, error)
- func (c *Client) RecordTaskOutcome(ctx context.Context, request *RecordTaskOutcomeRequest) (RecordTaskOutcomeRes, error)
- func (c *Client) RegisterHandoffReportWorkstream(ctx context.Context, request *RegisterHandoffReportWorkstreamRequest) (RegisterHandoffReportWorkstreamRes, error)
- func (c *Client) RejectArtifactCandidate(ctx context.Context, request *RejectArtifactCandidateRequest) (RejectArtifactCandidateRes, error)
- func (c *Client) RememberMemory(ctx context.Context, request *RememberMemoryRequest) (RememberMemoryRes, error)
- func (c *Client) ResolveExternalSkill(ctx context.Context, request *ResolveExternalSkillRequest) (ResolveExternalSkillRes, error)
- func (c *Client) RetireMemoryEntry(ctx context.Context, request *RetireMemoryEntryRequest) (RetireMemoryEntryRes, error)
- func (c *Client) ReviseArtifactCandidate(ctx context.Context, request *ReviseArtifactCandidateRequest) (ReviseArtifactCandidateRes, error)
- func (c *Client) ReviseMemoryEntry(ctx context.Context, request *ReviseMemoryEntryRequest) (ReviseMemoryEntryRes, error)
- func (c *Client) ScanExternalSkills(ctx context.Context, request *ScanExternalSkillsRequest) (ScanExternalSkillsRes, error)
- func (c *Client) SearchMemory(ctx context.Context, request *SearchMemoryRequest) (SearchMemoryRes, error)
- func (c *Client) UpdateHandoffReportProject(ctx context.Context, request *UpdateHandoffReportProjectRequest) (UpdateHandoffReportProjectRes, error)
- func (c *Client) UpdateHandoffReportWorkstream(ctx context.Context, request *UpdateHandoffReportWorkstreamRequest) (UpdateHandoffReportWorkstreamRes, error)
- type ClientOption
- type CombinedEvidenceLimitError
- type CommitHandoffRequest
- func (s *CommitHandoffRequest) Decode(d *jx.Decoder) error
- func (s *CommitHandoffRequest) Encode(e *jx.Encoder)
- func (s *CommitHandoffRequest) GetHandoff() PreparedHandoff
- func (s *CommitHandoffRequest) GetScopeID() string
- func (s *CommitHandoffRequest) MarshalJSON() ([]byte, error)
- func (s *CommitHandoffRequest) SetHandoff(val PreparedHandoff)
- func (s *CommitHandoffRequest) SetScopeID(val string)
- func (s *CommitHandoffRequest) UnmarshalJSON(data []byte) error
- func (s *CommitHandoffRequest) Validate() error
- type CommitHandoffRes
- type CommittedHandoff
- func (s *CommittedHandoff) Decode(d *jx.Decoder) error
- func (s *CommittedHandoff) Encode(e *jx.Encoder)
- func (s *CommittedHandoff) GetArtifactRefs() []ArtifactReference
- func (s *CommittedHandoff) GetContent() HandoffContent
- func (s *CommittedHandoff) GetReference() ArtifactReference
- func (s *CommittedHandoff) GetSourceRefs() []SourceReference
- func (s *CommittedHandoff) MarshalJSON() ([]byte, error)
- func (s *CommittedHandoff) SetArtifactRefs(val []ArtifactReference)
- func (s *CommittedHandoff) SetContent(val HandoffContent)
- func (s *CommittedHandoff) SetReference(val ArtifactReference)
- func (s *CommittedHandoff) SetSourceRefs(val []SourceReference)
- func (s *CommittedHandoff) UnmarshalJSON(data []byte) error
- func (s *CommittedHandoff) Validate() error
- type CommittedHandoffHeaders
- func (s *CommittedHandoffHeaders) GetResponse() CommittedHandoff
- func (s *CommittedHandoffHeaders) GetXPowerContextRequestID() OptString
- func (s *CommittedHandoffHeaders) SetResponse(val CommittedHandoff)
- func (s *CommittedHandoffHeaders) SetXPowerContextRequestID(val OptString)
- func (s *CommittedHandoffHeaders) Validate() error
- type ConflictHeaders
- type ContinueHandoffRequest
- func (s *ContinueHandoffRequest) Decode(d *jx.Decoder) error
- func (s *ContinueHandoffRequest) Encode(e *jx.Encoder)
- func (s *ContinueHandoffRequest) GetPrepared() OptNilPreparedHandoff
- func (s *ContinueHandoffRequest) GetRevision() OptNilArtifactReference
- func (s *ContinueHandoffRequest) GetScopeID() string
- func (s *ContinueHandoffRequest) GetSelection() HandoffSelection
- func (s *ContinueHandoffRequest) MarshalJSON() ([]byte, error)
- func (s *ContinueHandoffRequest) SetPrepared(val OptNilPreparedHandoff)
- func (s *ContinueHandoffRequest) SetRevision(val OptNilArtifactReference)
- func (s *ContinueHandoffRequest) SetScopeID(val string)
- func (s *ContinueHandoffRequest) SetSelection(val HandoffSelection)
- func (s *ContinueHandoffRequest) UnmarshalJSON(data []byte) error
- func (s *ContinueHandoffRequest) Validate() error
- type ContinueHandoffRes
- type CreateHandoffReportProjectRequest
- func (s *CreateHandoffReportProjectRequest) Decode(d *jx.Decoder) error
- func (s *CreateHandoffReportProjectRequest) Encode(e *jx.Encoder)
- func (s *CreateHandoffReportProjectRequest) GetDefaultLocale() OptReportLocale
- func (s *CreateHandoffReportProjectRequest) GetDescription() OptNilString
- func (s *CreateHandoffReportProjectRequest) GetProjectKey() string
- func (s *CreateHandoffReportProjectRequest) GetTimezone() OptString
- func (s *CreateHandoffReportProjectRequest) GetTitle() string
- func (s *CreateHandoffReportProjectRequest) MarshalJSON() ([]byte, error)
- func (s *CreateHandoffReportProjectRequest) SetDefaultLocale(val OptReportLocale)
- func (s *CreateHandoffReportProjectRequest) SetDescription(val OptNilString)
- func (s *CreateHandoffReportProjectRequest) SetProjectKey(val string)
- func (s *CreateHandoffReportProjectRequest) SetTimezone(val OptString)
- func (s *CreateHandoffReportProjectRequest) SetTitle(val string)
- func (s *CreateHandoffReportProjectRequest) UnmarshalJSON(data []byte) error
- func (s *CreateHandoffReportProjectRequest) Validate() error
- type CreateHandoffReportProjectRes
- type CreateWorkContractRequest
- func (s *CreateWorkContractRequest) Decode(d *jx.Decoder) error
- func (s *CreateWorkContractRequest) Encode(e *jx.Encoder)
- func (s *CreateWorkContractRequest) GetContract() WorkContract
- func (s *CreateWorkContractRequest) GetScopeID() string
- func (s *CreateWorkContractRequest) GetSourceID() string
- func (s *CreateWorkContractRequest) MarshalJSON() ([]byte, error)
- func (s *CreateWorkContractRequest) SetContract(val WorkContract)
- func (s *CreateWorkContractRequest) SetScopeID(val string)
- func (s *CreateWorkContractRequest) SetSourceID(val string)
- func (s *CreateWorkContractRequest) UnmarshalJSON(data []byte) error
- func (s *CreateWorkContractRequest) Validate() error
- type CreateWorkContractRes
- type CurrentWorkHandoff
- func (s *CurrentWorkHandoff) Decode(d *jx.Decoder) error
- func (s *CurrentWorkHandoff) Encode(e *jx.Encoder)
- func (s *CurrentWorkHandoff) GetDisposition() HandoffDisposition
- func (s *CurrentWorkHandoff) GetNextAction() NilWorkClaim
- func (s *CurrentWorkHandoff) GetObjective() string
- func (s *CurrentWorkHandoff) GetOmissions() []string
- func (s *CurrentWorkHandoff) GetSchema() CurrentWorkHandoffSchema
- func (s *CurrentWorkHandoff) GetState() []WorkClaim
- func (s *CurrentWorkHandoff) GetTrust() CurrentWorkHandoffTrust
- func (s *CurrentWorkHandoff) MarshalJSON() ([]byte, error)
- func (s *CurrentWorkHandoff) SetDisposition(val HandoffDisposition)
- func (s *CurrentWorkHandoff) SetNextAction(val NilWorkClaim)
- func (s *CurrentWorkHandoff) SetObjective(val string)
- func (s *CurrentWorkHandoff) SetOmissions(val []string)
- func (s *CurrentWorkHandoff) SetSchema(val CurrentWorkHandoffSchema)
- func (s *CurrentWorkHandoff) SetState(val []WorkClaim)
- func (s *CurrentWorkHandoff) SetTrust(val CurrentWorkHandoffTrust)
- func (s *CurrentWorkHandoff) UnmarshalJSON(data []byte) error
- func (s *CurrentWorkHandoff) Validate() error
- type CurrentWorkHandoffSchema
- func (CurrentWorkHandoffSchema) AllValues() []CurrentWorkHandoffSchema
- func (s *CurrentWorkHandoffSchema) Decode(d *jx.Decoder) error
- func (s CurrentWorkHandoffSchema) Encode(e *jx.Encoder)
- func (s CurrentWorkHandoffSchema) MarshalJSON() ([]byte, error)
- func (s CurrentWorkHandoffSchema) MarshalText() ([]byte, error)
- func (s *CurrentWorkHandoffSchema) UnmarshalJSON(data []byte) error
- func (s *CurrentWorkHandoffSchema) UnmarshalText(data []byte) error
- func (s CurrentWorkHandoffSchema) Validate() error
- type CurrentWorkHandoffTrust
- func (CurrentWorkHandoffTrust) AllValues() []CurrentWorkHandoffTrust
- func (s *CurrentWorkHandoffTrust) Decode(d *jx.Decoder) error
- func (s CurrentWorkHandoffTrust) Encode(e *jx.Encoder)
- func (s CurrentWorkHandoffTrust) MarshalJSON() ([]byte, error)
- func (s CurrentWorkHandoffTrust) MarshalText() ([]byte, error)
- func (s *CurrentWorkHandoffTrust) UnmarshalJSON(data []byte) error
- func (s *CurrentWorkHandoffTrust) UnmarshalText(data []byte) error
- func (s CurrentWorkHandoffTrust) Validate() error
- type DetachHandoffReportWorkspaceRequest
- func (s *DetachHandoffReportWorkspaceRequest) Decode(d *jx.Decoder) error
- func (s *DetachHandoffReportWorkspaceRequest) Encode(e *jx.Encoder)
- func (s *DetachHandoffReportWorkspaceRequest) GetExpectedVersion() int
- func (s *DetachHandoffReportWorkspaceRequest) GetWorkspaceInstanceID() string
- func (s *DetachHandoffReportWorkspaceRequest) MarshalJSON() ([]byte, error)
- func (s *DetachHandoffReportWorkspaceRequest) SetExpectedVersion(val int)
- func (s *DetachHandoffReportWorkspaceRequest) SetWorkspaceInstanceID(val string)
- func (s *DetachHandoffReportWorkspaceRequest) UnmarshalJSON(data []byte) error
- func (s *DetachHandoffReportWorkspaceRequest) Validate() error
- type DetachHandoffReportWorkspaceRes
- type EntryChange
- func (s *EntryChange) Decode(d *jx.Decoder) error
- func (s *EntryChange) Encode(e *jx.Encoder)
- func (s *EntryChange) GetEntryID() string
- func (s *EntryChange) GetFromEntryVersionID() NilString
- func (s *EntryChange) GetOp() EntryChangeOperation
- func (s *EntryChange) GetReason() NilString
- func (s *EntryChange) GetToEntryVersionID() NilString
- func (s *EntryChange) MarshalJSON() ([]byte, error)
- func (s *EntryChange) SetEntryID(val string)
- func (s *EntryChange) SetFromEntryVersionID(val NilString)
- func (s *EntryChange) SetOp(val EntryChangeOperation)
- func (s *EntryChange) SetReason(val NilString)
- func (s *EntryChange) SetToEntryVersionID(val NilString)
- func (s *EntryChange) UnmarshalJSON(data []byte) error
- func (s *EntryChange) Validate() error
- type EntryChangeOperation
- func (EntryChangeOperation) AllValues() []EntryChangeOperation
- func (s *EntryChangeOperation) Decode(d *jx.Decoder) error
- func (s EntryChangeOperation) Encode(e *jx.Encoder)
- func (s EntryChangeOperation) MarshalJSON() ([]byte, error)
- func (s EntryChangeOperation) MarshalText() ([]byte, error)
- func (s *EntryChangeOperation) UnmarshalJSON(data []byte) error
- func (s *EntryChangeOperation) UnmarshalText(data []byte) error
- func (s EntryChangeOperation) Validate() error
- type ErrorDetail
- func (s *ErrorDetail) Decode(d *jx.Decoder) error
- func (s *ErrorDetail) Encode(e *jx.Encoder)
- func (s *ErrorDetail) GetCode() string
- func (s *ErrorDetail) GetDetails() NilErrorDetailDetails
- func (s *ErrorDetail) GetMessage() string
- func (s *ErrorDetail) MarshalJSON() ([]byte, error)
- func (s *ErrorDetail) SetCode(val string)
- func (s *ErrorDetail) SetDetails(val NilErrorDetailDetails)
- func (s *ErrorDetail) SetMessage(val string)
- func (s *ErrorDetail) UnmarshalJSON(data []byte) error
- type ErrorDetailDetails
- type ErrorHandler
- type ErrorResponse
- func (s *ErrorResponse) Decode(d *jx.Decoder) error
- func (s *ErrorResponse) Encode(e *jx.Encoder)
- func (s *ErrorResponse) GetError() ErrorDetail
- func (s *ErrorResponse) MarshalJSON() ([]byte, error)
- func (s *ErrorResponse) SetError(val ErrorDetail)
- func (s *ErrorResponse) UnmarshalJSON(data []byte) error
- type ExperienceArtifact
- func (s *ExperienceArtifact) Decode(d *jx.Decoder) error
- func (s *ExperienceArtifact) Encode(e *jx.Encoder)
- func (s *ExperienceArtifact) GetArtifact() ArtifactReference
- func (s *ExperienceArtifact) GetArtifactRefs() []ArtifactReference
- func (s *ExperienceArtifact) GetContent() ExperienceProposal
- func (s *ExperienceArtifact) GetSourceRefs() []SourceReference
- func (s *ExperienceArtifact) MarshalJSON() ([]byte, error)
- func (s *ExperienceArtifact) SetArtifact(val ArtifactReference)
- func (s *ExperienceArtifact) SetArtifactRefs(val []ArtifactReference)
- func (s *ExperienceArtifact) SetContent(val ExperienceProposal)
- func (s *ExperienceArtifact) SetSourceRefs(val []SourceReference)
- func (s *ExperienceArtifact) UnmarshalJSON(data []byte) error
- func (s *ExperienceArtifact) Validate() error
- type ExperienceArtifactHeaders
- func (s *ExperienceArtifactHeaders) GetResponse() ExperienceArtifact
- func (s *ExperienceArtifactHeaders) GetXPowerContextRequestID() OptString
- func (s *ExperienceArtifactHeaders) SetResponse(val ExperienceArtifact)
- func (s *ExperienceArtifactHeaders) SetXPowerContextRequestID(val OptString)
- func (s *ExperienceArtifactHeaders) Validate() error
- type ExperienceProposal
- func (s *ExperienceProposal) Decode(d *jx.Decoder) error
- func (s *ExperienceProposal) Encode(e *jx.Encoder)
- func (s *ExperienceProposal) GetAction() string
- func (s *ExperienceProposal) GetLesson() string
- func (s *ExperienceProposal) GetOutcome() string
- func (s *ExperienceProposal) GetSituation() string
- func (s *ExperienceProposal) MarshalJSON() ([]byte, error)
- func (s *ExperienceProposal) SetAction(val string)
- func (s *ExperienceProposal) SetLesson(val string)
- func (s *ExperienceProposal) SetOutcome(val string)
- func (s *ExperienceProposal) SetSituation(val string)
- func (s *ExperienceProposal) UnmarshalJSON(data []byte) error
- func (s *ExperienceProposal) Validate() error
- type ExternalSkillImportMode
- func (ExternalSkillImportMode) AllValues() []ExternalSkillImportMode
- func (s *ExternalSkillImportMode) Decode(d *jx.Decoder) error
- func (s ExternalSkillImportMode) Encode(e *jx.Encoder)
- func (s ExternalSkillImportMode) MarshalJSON() ([]byte, error)
- func (s ExternalSkillImportMode) MarshalText() ([]byte, error)
- func (s *ExternalSkillImportMode) UnmarshalJSON(data []byte) error
- func (s *ExternalSkillImportMode) UnmarshalText(data []byte) error
- func (s ExternalSkillImportMode) Validate() error
- type ExternalSkillInstallationScope
- func (ExternalSkillInstallationScope) AllValues() []ExternalSkillInstallationScope
- func (s *ExternalSkillInstallationScope) Decode(d *jx.Decoder) error
- func (s ExternalSkillInstallationScope) Encode(e *jx.Encoder)
- func (s ExternalSkillInstallationScope) MarshalJSON() ([]byte, error)
- func (s ExternalSkillInstallationScope) MarshalText() ([]byte, error)
- func (s *ExternalSkillInstallationScope) UnmarshalJSON(data []byte) error
- func (s *ExternalSkillInstallationScope) UnmarshalText(data []byte) error
- func (s ExternalSkillInstallationScope) Validate() error
- type ExternalSkillRegistration
- func (s *ExternalSkillRegistration) Decode(d *jx.Decoder) error
- func (s *ExternalSkillRegistration) Encode(e *jx.Encoder)
- func (s *ExternalSkillRegistration) GetAgentKind() ExternalSkillRegistrationAgentKind
- func (s *ExternalSkillRegistration) GetDescription() string
- func (s *ExternalSkillRegistration) GetExternalSkillID() string
- func (s *ExternalSkillRegistration) GetFingerprint() string
- func (s *ExternalSkillRegistration) GetHostID() string
- func (s *ExternalSkillRegistration) GetInstallationScope() ExternalSkillInstallationScope
- func (s *ExternalSkillRegistration) GetLocator() string
- func (s *ExternalSkillRegistration) GetName() string
- func (s *ExternalSkillRegistration) GetProvider() ExternalSkillRegistrationProvider
- func (s *ExternalSkillRegistration) MarshalJSON() ([]byte, error)
- func (s *ExternalSkillRegistration) SetAgentKind(val ExternalSkillRegistrationAgentKind)
- func (s *ExternalSkillRegistration) SetDescription(val string)
- func (s *ExternalSkillRegistration) SetExternalSkillID(val string)
- func (s *ExternalSkillRegistration) SetFingerprint(val string)
- func (s *ExternalSkillRegistration) SetHostID(val string)
- func (s *ExternalSkillRegistration) SetInstallationScope(val ExternalSkillInstallationScope)
- func (s *ExternalSkillRegistration) SetLocator(val string)
- func (s *ExternalSkillRegistration) SetName(val string)
- func (s *ExternalSkillRegistration) SetProvider(val ExternalSkillRegistrationProvider)
- func (s *ExternalSkillRegistration) UnmarshalJSON(data []byte) error
- func (s *ExternalSkillRegistration) Validate() error
- type ExternalSkillRegistrationAgentKind
- func (ExternalSkillRegistrationAgentKind) AllValues() []ExternalSkillRegistrationAgentKind
- func (s *ExternalSkillRegistrationAgentKind) Decode(d *jx.Decoder) error
- func (s ExternalSkillRegistrationAgentKind) Encode(e *jx.Encoder)
- func (s ExternalSkillRegistrationAgentKind) MarshalJSON() ([]byte, error)
- func (s ExternalSkillRegistrationAgentKind) MarshalText() ([]byte, error)
- func (s *ExternalSkillRegistrationAgentKind) UnmarshalJSON(data []byte) error
- func (s *ExternalSkillRegistrationAgentKind) UnmarshalText(data []byte) error
- func (s ExternalSkillRegistrationAgentKind) Validate() error
- type ExternalSkillRegistrationProvider
- func (ExternalSkillRegistrationProvider) AllValues() []ExternalSkillRegistrationProvider
- func (s *ExternalSkillRegistrationProvider) Decode(d *jx.Decoder) error
- func (s ExternalSkillRegistrationProvider) Encode(e *jx.Encoder)
- func (s ExternalSkillRegistrationProvider) MarshalJSON() ([]byte, error)
- func (s ExternalSkillRegistrationProvider) MarshalText() ([]byte, error)
- func (s *ExternalSkillRegistrationProvider) UnmarshalJSON(data []byte) error
- func (s *ExternalSkillRegistrationProvider) UnmarshalText(data []byte) error
- func (s ExternalSkillRegistrationProvider) Validate() error
- type ExternalSkillResolution
- func (s *ExternalSkillResolution) Decode(d *jx.Decoder) error
- func (s *ExternalSkillResolution) Encode(e *jx.Encoder)
- func (s *ExternalSkillResolution) GetEntrypoint() NilString
- func (s *ExternalSkillResolution) GetRegistration() ExternalSkillRegistration
- func (s *ExternalSkillResolution) GetStatus() ExternalSkillResolutionStatus
- func (s *ExternalSkillResolution) MarshalJSON() ([]byte, error)
- func (s *ExternalSkillResolution) SetEntrypoint(val NilString)
- func (s *ExternalSkillResolution) SetRegistration(val ExternalSkillRegistration)
- func (s *ExternalSkillResolution) SetStatus(val ExternalSkillResolutionStatus)
- func (s *ExternalSkillResolution) UnmarshalJSON(data []byte) error
- func (s *ExternalSkillResolution) Validate() error
- type ExternalSkillResolutionHeaders
- func (s *ExternalSkillResolutionHeaders) GetResponse() ExternalSkillResolution
- func (s *ExternalSkillResolutionHeaders) GetXPowerContextRequestID() OptString
- func (s *ExternalSkillResolutionHeaders) SetResponse(val ExternalSkillResolution)
- func (s *ExternalSkillResolutionHeaders) SetXPowerContextRequestID(val OptString)
- func (s *ExternalSkillResolutionHeaders) Validate() error
- type ExternalSkillResolutionStatus
- func (ExternalSkillResolutionStatus) AllValues() []ExternalSkillResolutionStatus
- func (s *ExternalSkillResolutionStatus) Decode(d *jx.Decoder) error
- func (s ExternalSkillResolutionStatus) Encode(e *jx.Encoder)
- func (s ExternalSkillResolutionStatus) MarshalJSON() ([]byte, error)
- func (s ExternalSkillResolutionStatus) MarshalText() ([]byte, error)
- func (s *ExternalSkillResolutionStatus) UnmarshalJSON(data []byte) error
- func (s *ExternalSkillResolutionStatus) UnmarshalText(data []byte) error
- func (s ExternalSkillResolutionStatus) Validate() error
- type FamilyCount
- func (s *FamilyCount) Decode(d *jx.Decoder) error
- func (s *FamilyCount) Encode(e *jx.Encoder)
- func (s *FamilyCount) GetFamily() string
- func (s *FamilyCount) GetTotal() int
- func (s *FamilyCount) MarshalJSON() ([]byte, error)
- func (s *FamilyCount) SetFamily(val string)
- func (s *FamilyCount) SetTotal(val int)
- func (s *FamilyCount) UnmarshalJSON(data []byte) error
- func (s *FamilyCount) Validate() error
- type FinalizeHandoffRequest
- func (s *FinalizeHandoffRequest) Decode(d *jx.Decoder) error
- func (s *FinalizeHandoffRequest) Encode(e *jx.Encoder)
- func (s *FinalizeHandoffRequest) GetDraft() HandoffDraft
- func (s *FinalizeHandoffRequest) GetScopeID() string
- func (s *FinalizeHandoffRequest) MarshalJSON() ([]byte, error)
- func (s *FinalizeHandoffRequest) SetDraft(val HandoffDraft)
- func (s *FinalizeHandoffRequest) SetScopeID(val string)
- func (s *FinalizeHandoffRequest) UnmarshalJSON(data []byte) error
- func (s *FinalizeHandoffRequest) Validate() error
- type FinalizeHandoffRes
- type FlushMemoryRequest
- func (s *FlushMemoryRequest) Decode(d *jx.Decoder) error
- func (s *FlushMemoryRequest) Encode(e *jx.Encoder)
- func (s *FlushMemoryRequest) GetScopeID() string
- func (s *FlushMemoryRequest) MarshalJSON() ([]byte, error)
- func (s *FlushMemoryRequest) SetScopeID(val string)
- func (s *FlushMemoryRequest) UnmarshalJSON(data []byte) error
- func (s *FlushMemoryRequest) Validate() error
- type FlushMemoryRes
- type FlushMemoryResponse
- func (s *FlushMemoryResponse) Decode(d *jx.Decoder) error
- func (s *FlushMemoryResponse) Encode(e *jx.Encoder)
- func (s *FlushMemoryResponse) GetCurrentCursor() int
- func (s *FlushMemoryResponse) GetHighWatermark() int
- func (s *FlushMemoryResponse) GetMemory() OptNilArtifactReference
- func (s *FlushMemoryResponse) GetPreviousCursor() int
- func (s *FlushMemoryResponse) GetProcessedSourceCount() int
- func (s *FlushMemoryResponse) GetStatus() FlushStatus
- func (s *FlushMemoryResponse) MarshalJSON() ([]byte, error)
- func (s *FlushMemoryResponse) SetCurrentCursor(val int)
- func (s *FlushMemoryResponse) SetHighWatermark(val int)
- func (s *FlushMemoryResponse) SetMemory(val OptNilArtifactReference)
- func (s *FlushMemoryResponse) SetPreviousCursor(val int)
- func (s *FlushMemoryResponse) SetProcessedSourceCount(val int)
- func (s *FlushMemoryResponse) SetStatus(val FlushStatus)
- func (s *FlushMemoryResponse) UnmarshalJSON(data []byte) error
- func (s *FlushMemoryResponse) Validate() error
- type FlushMemoryResponseHeaders
- func (s *FlushMemoryResponseHeaders) GetResponse() FlushMemoryResponse
- func (s *FlushMemoryResponseHeaders) GetXPowerContextRequestID() OptString
- func (s *FlushMemoryResponseHeaders) SetResponse(val FlushMemoryResponse)
- func (s *FlushMemoryResponseHeaders) SetXPowerContextRequestID(val OptString)
- func (s *FlushMemoryResponseHeaders) Validate() error
- type FlushStatus
- func (FlushStatus) AllValues() []FlushStatus
- func (s *FlushStatus) Decode(d *jx.Decoder) error
- func (s FlushStatus) Encode(e *jx.Encoder)
- func (s FlushStatus) MarshalJSON() ([]byte, error)
- func (s FlushStatus) MarshalText() ([]byte, error)
- func (s *FlushStatus) UnmarshalJSON(data []byte) error
- func (s *FlushStatus) UnmarshalText(data []byte) error
- func (s FlushStatus) Validate() error
- type GenerateExperienceRequest
- func (s *GenerateExperienceRequest) Decode(d *jx.Decoder) error
- func (s *GenerateExperienceRequest) Encode(e *jx.Encoder)
- func (s *GenerateExperienceRequest) GetArtifactRefs() []ArtifactReference
- func (s *GenerateExperienceRequest) GetReason() OptNilString
- func (s *GenerateExperienceRequest) GetScopeID() string
- func (s *GenerateExperienceRequest) GetSourceRefs() []SourceReference
- func (s *GenerateExperienceRequest) GetTarget() OptNilArtifactReference
- func (s *GenerateExperienceRequest) MarshalJSON() ([]byte, error)
- func (s *GenerateExperienceRequest) SetArtifactRefs(val []ArtifactReference)
- func (s *GenerateExperienceRequest) SetReason(val OptNilString)
- func (s *GenerateExperienceRequest) SetScopeID(val string)
- func (s *GenerateExperienceRequest) SetSourceRefs(val []SourceReference)
- func (s *GenerateExperienceRequest) SetTarget(val OptNilArtifactReference)
- func (s *GenerateExperienceRequest) UnmarshalJSON(data []byte) error
- func (s *GenerateExperienceRequest) Validate() error
- type GenerateExperienceRes
- type GenerateSkillRequest
- func (s *GenerateSkillRequest) Decode(d *jx.Decoder) error
- func (s *GenerateSkillRequest) Encode(e *jx.Encoder)
- func (s *GenerateSkillRequest) GetArtifactRefs() []ArtifactReference
- func (s *GenerateSkillRequest) GetOrigin() SkillGenerationOrigin
- func (s *GenerateSkillRequest) GetReason() OptNilString
- func (s *GenerateSkillRequest) GetScopeID() string
- func (s *GenerateSkillRequest) GetSourceRefs() []SourceReference
- func (s *GenerateSkillRequest) GetTarget() OptNilArtifactReference
- func (s *GenerateSkillRequest) MarshalJSON() ([]byte, error)
- func (s *GenerateSkillRequest) SetArtifactRefs(val []ArtifactReference)
- func (s *GenerateSkillRequest) SetOrigin(val SkillGenerationOrigin)
- func (s *GenerateSkillRequest) SetReason(val OptNilString)
- func (s *GenerateSkillRequest) SetScopeID(val string)
- func (s *GenerateSkillRequest) SetSourceRefs(val []SourceReference)
- func (s *GenerateSkillRequest) SetTarget(val OptNilArtifactReference)
- func (s *GenerateSkillRequest) UnmarshalJSON(data []byte) error
- func (s *GenerateSkillRequest) Validate() error
- type GenerateSkillRes
- type GeneratedCandidateResponse
- func (s *GeneratedCandidateResponse) Decode(d *jx.Decoder) error
- func (s *GeneratedCandidateResponse) Encode(e *jx.Encoder)
- func (s *GeneratedCandidateResponse) GetCandidate() NilArtifactCandidate
- func (s *GeneratedCandidateResponse) GetStatus() GeneratedCandidateStatus
- func (s *GeneratedCandidateResponse) MarshalJSON() ([]byte, error)
- func (s *GeneratedCandidateResponse) SetCandidate(val NilArtifactCandidate)
- func (s *GeneratedCandidateResponse) SetStatus(val GeneratedCandidateStatus)
- func (s *GeneratedCandidateResponse) UnmarshalJSON(data []byte) error
- func (s *GeneratedCandidateResponse) Validate() error
- type GeneratedCandidateResponseHeaders
- func (s *GeneratedCandidateResponseHeaders) GetResponse() GeneratedCandidateResponse
- func (s *GeneratedCandidateResponseHeaders) GetXPowerContextRequestID() OptString
- func (s *GeneratedCandidateResponseHeaders) SetResponse(val GeneratedCandidateResponse)
- func (s *GeneratedCandidateResponseHeaders) SetXPowerContextRequestID(val OptString)
- func (s *GeneratedCandidateResponseHeaders) Validate() error
- type GeneratedCandidateStatus
- func (GeneratedCandidateStatus) AllValues() []GeneratedCandidateStatus
- func (s *GeneratedCandidateStatus) Decode(d *jx.Decoder) error
- func (s GeneratedCandidateStatus) Encode(e *jx.Encoder)
- func (s GeneratedCandidateStatus) MarshalJSON() ([]byte, error)
- func (s GeneratedCandidateStatus) MarshalText() ([]byte, error)
- func (s *GeneratedCandidateStatus) UnmarshalJSON(data []byte) error
- func (s *GeneratedCandidateStatus) UnmarshalText(data []byte) error
- func (s GeneratedCandidateStatus) Validate() error
- type GetArtifactCandidateRequest
- func (s *GetArtifactCandidateRequest) Decode(d *jx.Decoder) error
- func (s *GetArtifactCandidateRequest) Encode(e *jx.Encoder)
- func (s *GetArtifactCandidateRequest) GetCandidateID() string
- func (s *GetArtifactCandidateRequest) GetScopeID() string
- func (s *GetArtifactCandidateRequest) MarshalJSON() ([]byte, error)
- func (s *GetArtifactCandidateRequest) SetCandidateID(val string)
- func (s *GetArtifactCandidateRequest) SetScopeID(val string)
- func (s *GetArtifactCandidateRequest) UnmarshalJSON(data []byte) error
- func (s *GetArtifactCandidateRequest) Validate() error
- type GetArtifactCandidateRes
- type GetCapabilitiesRes
- type GetExperienceRequest
- func (s *GetExperienceRequest) Decode(d *jx.Decoder) error
- func (s *GetExperienceRequest) Encode(e *jx.Encoder)
- func (s *GetExperienceRequest) GetArtifact() ArtifactReference
- func (s *GetExperienceRequest) GetScopeID() string
- func (s *GetExperienceRequest) MarshalJSON() ([]byte, error)
- func (s *GetExperienceRequest) SetArtifact(val ArtifactReference)
- func (s *GetExperienceRequest) SetScopeID(val string)
- func (s *GetExperienceRequest) UnmarshalJSON(data []byte) error
- func (s *GetExperienceRequest) Validate() error
- type GetExperienceRes
- type GetHandoffReportOKCacheControl
- type GetHandoffReportOKTextMarkdown
- type GetHandoffReportOKTextMarkdownHeaders
- func (s *GetHandoffReportOKTextMarkdownHeaders) GetCacheControl() OptGetHandoffReportOKCacheControl
- func (s *GetHandoffReportOKTextMarkdownHeaders) GetContentDisposition() OptString
- func (s *GetHandoffReportOKTextMarkdownHeaders) GetResponse() GetHandoffReportOKTextMarkdown
- func (s *GetHandoffReportOKTextMarkdownHeaders) GetXPowerContextReportDigest() OptString
- func (s *GetHandoffReportOKTextMarkdownHeaders) GetXPowerContextRequestID() OptString
- func (s *GetHandoffReportOKTextMarkdownHeaders) GetXPowerContextSelectionDigest() OptString
- func (s *GetHandoffReportOKTextMarkdownHeaders) SetCacheControl(val OptGetHandoffReportOKCacheControl)
- func (s *GetHandoffReportOKTextMarkdownHeaders) SetContentDisposition(val OptString)
- func (s *GetHandoffReportOKTextMarkdownHeaders) SetResponse(val GetHandoffReportOKTextMarkdown)
- func (s *GetHandoffReportOKTextMarkdownHeaders) SetXPowerContextReportDigest(val OptString)
- func (s *GetHandoffReportOKTextMarkdownHeaders) SetXPowerContextRequestID(val OptString)
- func (s *GetHandoffReportOKTextMarkdownHeaders) SetXPowerContextSelectionDigest(val OptString)
- func (s *GetHandoffReportOKTextMarkdownHeaders) Validate() error
- type GetHandoffReportProjectRequest
- func (s *GetHandoffReportProjectRequest) Decode(d *jx.Decoder) error
- func (s *GetHandoffReportProjectRequest) Encode(e *jx.Encoder)
- func (s *GetHandoffReportProjectRequest) GetProjectID() string
- func (s *GetHandoffReportProjectRequest) MarshalJSON() ([]byte, error)
- func (s *GetHandoffReportProjectRequest) SetProjectID(val string)
- func (s *GetHandoffReportProjectRequest) UnmarshalJSON(data []byte) error
- func (s *GetHandoffReportProjectRequest) Validate() error
- type GetHandoffReportProjectRes
- type GetHandoffReportRequest
- func (s *GetHandoffReportRequest) Decode(d *jx.Decoder) error
- func (s *GetHandoffReportRequest) Encode(e *jx.Encoder)
- func (s *GetHandoffReportRequest) GetDownload() OptBool
- func (s *GetHandoffReportRequest) GetFormat() OptReportFormat
- func (s *GetHandoffReportRequest) GetIncludeArchived() OptBool
- func (s *GetHandoffReportRequest) GetIncludeEvidenceChecks() OptBool
- func (s *GetHandoffReportRequest) GetLocale() OptNilReportLocale
- func (s *GetHandoffReportRequest) GetPeriod() OptNilHandoffReportPeriodRequest
- func (s *GetHandoffReportRequest) GetProjectID() OptNilString
- func (s *GetHandoffReportRequest) GetScopeID() string
- func (s *GetHandoffReportRequest) MarshalJSON() ([]byte, error)
- func (s *GetHandoffReportRequest) SetDownload(val OptBool)
- func (s *GetHandoffReportRequest) SetFormat(val OptReportFormat)
- func (s *GetHandoffReportRequest) SetIncludeArchived(val OptBool)
- func (s *GetHandoffReportRequest) SetIncludeEvidenceChecks(val OptBool)
- func (s *GetHandoffReportRequest) SetLocale(val OptNilReportLocale)
- func (s *GetHandoffReportRequest) SetPeriod(val OptNilHandoffReportPeriodRequest)
- func (s *GetHandoffReportRequest) SetProjectID(val OptNilString)
- func (s *GetHandoffReportRequest) SetScopeID(val string)
- func (s *GetHandoffReportRequest) UnmarshalJSON(data []byte) error
- func (s *GetHandoffReportRequest) Validate() error
- type GetHandoffReportRes
- type GetHandoffReportWorkspaceRequest
- func (s *GetHandoffReportWorkspaceRequest) Decode(d *jx.Decoder) error
- func (s *GetHandoffReportWorkspaceRequest) Encode(e *jx.Encoder)
- func (s *GetHandoffReportWorkspaceRequest) GetWorkspaceInstanceID() string
- func (s *GetHandoffReportWorkspaceRequest) MarshalJSON() ([]byte, error)
- func (s *GetHandoffReportWorkspaceRequest) SetWorkspaceInstanceID(val string)
- func (s *GetHandoffReportWorkspaceRequest) UnmarshalJSON(data []byte) error
- func (s *GetHandoffReportWorkspaceRequest) Validate() error
- type GetHandoffReportWorkspaceRes
- type GetMemoryEntryRequest
- func (s *GetMemoryEntryRequest) Decode(d *jx.Decoder) error
- func (s *GetMemoryEntryRequest) Encode(e *jx.Encoder)
- func (s *GetMemoryEntryRequest) GetCitation() MemoryCitation
- func (s *GetMemoryEntryRequest) GetScopeID() string
- func (s *GetMemoryEntryRequest) MarshalJSON() ([]byte, error)
- func (s *GetMemoryEntryRequest) SetCitation(val MemoryCitation)
- func (s *GetMemoryEntryRequest) SetScopeID(val string)
- func (s *GetMemoryEntryRequest) UnmarshalJSON(data []byte) error
- func (s *GetMemoryEntryRequest) Validate() error
- type GetMemoryEntryRes
- type GetReadinessOK
- type GetReadinessRes
- type GetReadinessServiceUnavailable
- type GetSkillRequest
- func (s *GetSkillRequest) Decode(d *jx.Decoder) error
- func (s *GetSkillRequest) Encode(e *jx.Encoder)
- func (s *GetSkillRequest) GetArtifact() ArtifactReference
- func (s *GetSkillRequest) GetScopeID() string
- func (s *GetSkillRequest) MarshalJSON() ([]byte, error)
- func (s *GetSkillRequest) SetArtifact(val ArtifactReference)
- func (s *GetSkillRequest) SetScopeID(val string)
- func (s *GetSkillRequest) UnmarshalJSON(data []byte) error
- func (s *GetSkillRequest) Validate() error
- type GetSkillRes
- type GetStatsOKCacheControl
- type GetStatsParams
- type GetStatsRes
- type Handler
- type HandoffAcknowledgement
- func (s *HandoffAcknowledgement) Decode(d *jx.Decoder) error
- func (s *HandoffAcknowledgement) Encode(e *jx.Encoder)
- func (s *HandoffAcknowledgement) GetReceipt() WorkSourceReceipt
- func (s *HandoffAcknowledgement) GetResolution() HandoffResolution
- func (s *HandoffAcknowledgement) MarshalJSON() ([]byte, error)
- func (s *HandoffAcknowledgement) SetReceipt(val WorkSourceReceipt)
- func (s *HandoffAcknowledgement) SetResolution(val HandoffResolution)
- func (s *HandoffAcknowledgement) UnmarshalJSON(data []byte) error
- func (s *HandoffAcknowledgement) Validate() error
- type HandoffAcknowledgementHeaders
- func (s *HandoffAcknowledgementHeaders) GetResponse() HandoffAcknowledgement
- func (s *HandoffAcknowledgementHeaders) GetXPowerContextRequestID() OptString
- func (s *HandoffAcknowledgementHeaders) SetResponse(val HandoffAcknowledgement)
- func (s *HandoffAcknowledgementHeaders) SetXPowerContextRequestID(val OptString)
- func (s *HandoffAcknowledgementHeaders) Validate() error
- type HandoffAcknowledgementSelection
- func (HandoffAcknowledgementSelection) AllValues() []HandoffAcknowledgementSelection
- func (s *HandoffAcknowledgementSelection) Decode(d *jx.Decoder) error
- func (s HandoffAcknowledgementSelection) Encode(e *jx.Encoder)
- func (s HandoffAcknowledgementSelection) MarshalJSON() ([]byte, error)
- func (s HandoffAcknowledgementSelection) MarshalText() ([]byte, error)
- func (s *HandoffAcknowledgementSelection) UnmarshalJSON(data []byte) error
- func (s *HandoffAcknowledgementSelection) UnmarshalText(data []byte) error
- func (s HandoffAcknowledgementSelection) Validate() error
- type HandoffActivation
- func (s *HandoffActivation) Decode(d *jx.Decoder) error
- func (s *HandoffActivation) Encode(e *jx.Encoder)
- func (s *HandoffActivation) GetBoundarySource() SourceReference
- func (s *HandoffActivation) GetCurrentPosition() int
- func (s *HandoffActivation) GetDraft() NilHandoffDraft
- func (s *HandoffActivation) GetPreviousPosition() int
- func (s *HandoffActivation) GetStatus() HandoffActivationStatus
- func (s *HandoffActivation) MarshalJSON() ([]byte, error)
- func (s *HandoffActivation) SetBoundarySource(val SourceReference)
- func (s *HandoffActivation) SetCurrentPosition(val int)
- func (s *HandoffActivation) SetDraft(val NilHandoffDraft)
- func (s *HandoffActivation) SetPreviousPosition(val int)
- func (s *HandoffActivation) SetStatus(val HandoffActivationStatus)
- func (s *HandoffActivation) UnmarshalJSON(data []byte) error
- func (s *HandoffActivation) Validate() error
- type HandoffActivationHeaders
- func (s *HandoffActivationHeaders) GetResponse() HandoffActivation
- func (s *HandoffActivationHeaders) GetXPowerContextRequestID() OptString
- func (s *HandoffActivationHeaders) SetResponse(val HandoffActivation)
- func (s *HandoffActivationHeaders) SetXPowerContextRequestID(val OptString)
- func (s *HandoffActivationHeaders) Validate() error
- type HandoffActivationStatus
- func (HandoffActivationStatus) AllValues() []HandoffActivationStatus
- func (s *HandoffActivationStatus) Decode(d *jx.Decoder) error
- func (s HandoffActivationStatus) Encode(e *jx.Encoder)
- func (s HandoffActivationStatus) MarshalJSON() ([]byte, error)
- func (s HandoffActivationStatus) MarshalText() ([]byte, error)
- func (s *HandoffActivationStatus) UnmarshalJSON(data []byte) error
- func (s *HandoffActivationStatus) UnmarshalText(data []byte) error
- func (s HandoffActivationStatus) Validate() error
- type HandoffArtifactCitation
- func (s *HandoffArtifactCitation) Decode(d *jx.Decoder) error
- func (s *HandoffArtifactCitation) Encode(e *jx.Encoder)
- func (s *HandoffArtifactCitation) GetArtifactRef() ArtifactReference
- func (s *HandoffArtifactCitation) GetKind() HandoffArtifactCitationKind
- func (s *HandoffArtifactCitation) MarshalJSON() ([]byte, error)
- func (s *HandoffArtifactCitation) SetArtifactRef(val ArtifactReference)
- func (s *HandoffArtifactCitation) SetKind(val HandoffArtifactCitationKind)
- func (s *HandoffArtifactCitation) UnmarshalJSON(data []byte) error
- func (s *HandoffArtifactCitation) Validate() error
- type HandoffArtifactCitationKind
- func (HandoffArtifactCitationKind) AllValues() []HandoffArtifactCitationKind
- func (s *HandoffArtifactCitationKind) Decode(d *jx.Decoder) error
- func (s HandoffArtifactCitationKind) Encode(e *jx.Encoder)
- func (s HandoffArtifactCitationKind) MarshalJSON() ([]byte, error)
- func (s HandoffArtifactCitationKind) MarshalText() ([]byte, error)
- func (s *HandoffArtifactCitationKind) UnmarshalJSON(data []byte) error
- func (s *HandoffArtifactCitationKind) UnmarshalText(data []byte) error
- func (s HandoffArtifactCitationKind) Validate() error
- type HandoffCitation
- func (s *HandoffCitation) Decode(d *jx.Decoder) error
- func (s HandoffCitation) Encode(e *jx.Encoder)
- func (s HandoffCitation) GetHandoffArtifactCitation() (v HandoffArtifactCitation, ok bool)
- func (s HandoffCitation) GetHandoffMemoryCitation() (v HandoffMemoryCitation, ok bool)
- func (s HandoffCitation) GetHandoffSourceCitation() (v HandoffSourceCitation, ok bool)
- func (s HandoffCitation) IsHandoffArtifactCitation() bool
- func (s HandoffCitation) IsHandoffMemoryCitation() bool
- func (s HandoffCitation) IsHandoffSourceCitation() bool
- func (s HandoffCitation) MarshalJSON() ([]byte, error)
- func (s *HandoffCitation) SetHandoffArtifactCitation(v HandoffArtifactCitation)
- func (s *HandoffCitation) SetHandoffMemoryCitation(v HandoffMemoryCitation)
- func (s *HandoffCitation) SetHandoffSourceCitation(v HandoffSourceCitation)
- func (s *HandoffCitation) UnmarshalJSON(data []byte) error
- func (s HandoffCitation) Validate() error
- type HandoffCitationType
- type HandoffClaim
- func (HandoffClaim) AllValues() []HandoffClaim
- func (s *HandoffClaim) Decode(d *jx.Decoder) error
- func (s HandoffClaim) Encode(e *jx.Encoder)
- func (s HandoffClaim) MarshalJSON() ([]byte, error)
- func (s HandoffClaim) MarshalText() ([]byte, error)
- func (s *HandoffClaim) UnmarshalJSON(data []byte) error
- func (s *HandoffClaim) UnmarshalText(data []byte) error
- func (s HandoffClaim) Validate() error
- type HandoffContent
- func (s *HandoffContent) Decode(d *jx.Decoder) error
- func (s *HandoffContent) Encode(e *jx.Encoder)
- func (s *HandoffContent) GetDisposition() HandoffDisposition
- func (s *HandoffContent) GetNextAction() NilHandoffStatement
- func (s *HandoffContent) GetObjective() string
- func (s *HandoffContent) GetOmissions() []HandoffOmission
- func (s *HandoffContent) GetSchema() HandoffSchema
- func (s *HandoffContent) GetState() []HandoffStatement
- func (s *HandoffContent) MarshalJSON() ([]byte, error)
- func (s *HandoffContent) SetDisposition(val HandoffDisposition)
- func (s *HandoffContent) SetNextAction(val NilHandoffStatement)
- func (s *HandoffContent) SetObjective(val string)
- func (s *HandoffContent) SetOmissions(val []HandoffOmission)
- func (s *HandoffContent) SetSchema(val HandoffSchema)
- func (s *HandoffContent) SetState(val []HandoffStatement)
- func (s *HandoffContent) UnmarshalJSON(data []byte) error
- func (s *HandoffContent) Validate() error
- type HandoffCurrentWorkRequest
- func (s *HandoffCurrentWorkRequest) Decode(d *jx.Decoder) error
- func (s *HandoffCurrentWorkRequest) Encode(e *jx.Encoder)
- func (s *HandoffCurrentWorkRequest) GetHandoff() CurrentWorkHandoff
- func (s *HandoffCurrentWorkRequest) GetScopeID() string
- func (s *HandoffCurrentWorkRequest) GetSourceID() string
- func (s *HandoffCurrentWorkRequest) MarshalJSON() ([]byte, error)
- func (s *HandoffCurrentWorkRequest) SetHandoff(val CurrentWorkHandoff)
- func (s *HandoffCurrentWorkRequest) SetScopeID(val string)
- func (s *HandoffCurrentWorkRequest) SetSourceID(val string)
- func (s *HandoffCurrentWorkRequest) UnmarshalJSON(data []byte) error
- func (s *HandoffCurrentWorkRequest) Validate() error
- type HandoffCurrentWorkRes
- type HandoffDisposition
- func (HandoffDisposition) AllValues() []HandoffDisposition
- func (s *HandoffDisposition) Decode(d *jx.Decoder) error
- func (s HandoffDisposition) Encode(e *jx.Encoder)
- func (s HandoffDisposition) MarshalJSON() ([]byte, error)
- func (s HandoffDisposition) MarshalText() ([]byte, error)
- func (s *HandoffDisposition) UnmarshalJSON(data []byte) error
- func (s *HandoffDisposition) UnmarshalText(data []byte) error
- func (s HandoffDisposition) Validate() error
- type HandoffDraft
- func (s *HandoffDraft) Decode(d *jx.Decoder) error
- func (s *HandoffDraft) Encode(e *jx.Encoder)
- func (s *HandoffDraft) GetDisposition() HandoffDisposition
- func (s *HandoffDraft) GetNextAction() NilHandoffStatement
- func (s *HandoffDraft) GetObjective() string
- func (s *HandoffDraft) GetOmissions() []HandoffOmission
- func (s *HandoffDraft) GetState() []HandoffStatement
- func (s *HandoffDraft) MarshalJSON() ([]byte, error)
- func (s *HandoffDraft) SetDisposition(val HandoffDisposition)
- func (s *HandoffDraft) SetNextAction(val NilHandoffStatement)
- func (s *HandoffDraft) SetObjective(val string)
- func (s *HandoffDraft) SetOmissions(val []HandoffOmission)
- func (s *HandoffDraft) SetState(val []HandoffStatement)
- func (s *HandoffDraft) UnmarshalJSON(data []byte) error
- func (s *HandoffDraft) Validate() error
- type HandoffDraftHeaders
- func (s *HandoffDraftHeaders) GetResponse() HandoffDraft
- func (s *HandoffDraftHeaders) GetXPowerContextRequestID() OptString
- func (s *HandoffDraftHeaders) SetResponse(val HandoffDraft)
- func (s *HandoffDraftHeaders) SetXPowerContextRequestID(val OptString)
- func (s *HandoffDraftHeaders) Validate() error
- type HandoffEvidenceCheck
- func (s *HandoffEvidenceCheck) Decode(d *jx.Decoder) error
- func (s *HandoffEvidenceCheck) Encode(e *jx.Encoder)
- func (s *HandoffEvidenceCheck) GetClaim() HandoffClaim
- func (s *HandoffEvidenceCheck) GetStateIndex() NilInt
- func (s *HandoffEvidenceCheck) GetStatus() HandoffEvidenceStatus
- func (s *HandoffEvidenceCheck) GetUnavailableEvidence() []HandoffCitation
- func (s *HandoffEvidenceCheck) MarshalJSON() ([]byte, error)
- func (s *HandoffEvidenceCheck) SetClaim(val HandoffClaim)
- func (s *HandoffEvidenceCheck) SetStateIndex(val NilInt)
- func (s *HandoffEvidenceCheck) SetStatus(val HandoffEvidenceStatus)
- func (s *HandoffEvidenceCheck) SetUnavailableEvidence(val []HandoffCitation)
- func (s *HandoffEvidenceCheck) UnmarshalJSON(data []byte) error
- func (s *HandoffEvidenceCheck) Validate() error
- type HandoffEvidenceStatus
- func (HandoffEvidenceStatus) AllValues() []HandoffEvidenceStatus
- func (s *HandoffEvidenceStatus) Decode(d *jx.Decoder) error
- func (s HandoffEvidenceStatus) Encode(e *jx.Encoder)
- func (s HandoffEvidenceStatus) MarshalJSON() ([]byte, error)
- func (s HandoffEvidenceStatus) MarshalText() ([]byte, error)
- func (s *HandoffEvidenceStatus) UnmarshalJSON(data []byte) error
- func (s *HandoffEvidenceStatus) UnmarshalText(data []byte) error
- func (s HandoffEvidenceStatus) Validate() error
- type HandoffMemoryCitation
- func (s *HandoffMemoryCitation) Decode(d *jx.Decoder) error
- func (s *HandoffMemoryCitation) Encode(e *jx.Encoder)
- func (s *HandoffMemoryCitation) GetKind() HandoffMemoryCitationKind
- func (s *HandoffMemoryCitation) GetMemoryCitation() MemoryCitation
- func (s *HandoffMemoryCitation) MarshalJSON() ([]byte, error)
- func (s *HandoffMemoryCitation) SetKind(val HandoffMemoryCitationKind)
- func (s *HandoffMemoryCitation) SetMemoryCitation(val MemoryCitation)
- func (s *HandoffMemoryCitation) UnmarshalJSON(data []byte) error
- func (s *HandoffMemoryCitation) Validate() error
- type HandoffMemoryCitationKind
- func (HandoffMemoryCitationKind) AllValues() []HandoffMemoryCitationKind
- func (s *HandoffMemoryCitationKind) Decode(d *jx.Decoder) error
- func (s HandoffMemoryCitationKind) Encode(e *jx.Encoder)
- func (s HandoffMemoryCitationKind) MarshalJSON() ([]byte, error)
- func (s HandoffMemoryCitationKind) MarshalText() ([]byte, error)
- func (s *HandoffMemoryCitationKind) UnmarshalJSON(data []byte) error
- func (s *HandoffMemoryCitationKind) UnmarshalText(data []byte) error
- func (s HandoffMemoryCitationKind) Validate() error
- type HandoffOmission
- func (s *HandoffOmission) Decode(d *jx.Decoder) error
- func (s *HandoffOmission) Encode(e *jx.Encoder)
- func (s *HandoffOmission) GetCitation() NilHandoffCitation
- func (s *HandoffOmission) GetText() string
- func (s *HandoffOmission) MarshalJSON() ([]byte, error)
- func (s *HandoffOmission) SetCitation(val NilHandoffCitation)
- func (s *HandoffOmission) SetText(val string)
- func (s *HandoffOmission) UnmarshalJSON(data []byte) error
- func (s *HandoffOmission) Validate() error
- type HandoffReceiptStatus
- func (HandoffReceiptStatus) AllValues() []HandoffReceiptStatus
- func (s *HandoffReceiptStatus) Decode(d *jx.Decoder) error
- func (s HandoffReceiptStatus) Encode(e *jx.Encoder)
- func (s HandoffReceiptStatus) MarshalJSON() ([]byte, error)
- func (s HandoffReceiptStatus) MarshalText() ([]byte, error)
- func (s *HandoffReceiptStatus) UnmarshalJSON(data []byte) error
- func (s *HandoffReceiptStatus) UnmarshalText(data []byte) error
- func (s HandoffReceiptStatus) Validate() error
- type HandoffReportActivity
- func (s *HandoffReportActivity) Decode(d *jx.Decoder) error
- func (s *HandoffReportActivity) Encode(e *jx.Encoder)
- func (s *HandoffReportActivity) GetAgent() NilHandoffReportActivityAgent
- func (s *HandoffReportActivity) GetEventID() string
- func (s *HandoffReportActivity) GetEvidenceRefs() []HandoffReportExternalReference
- func (s *HandoffReportActivity) GetObservedAt() time.Time
- func (s *HandoffReportActivity) GetOccurredAt() NilDateTime
- func (s *HandoffReportActivity) GetProjectID() string
- func (s *HandoffReportActivity) GetSchema() HandoffReportActivitySchema
- func (s *HandoffReportActivity) GetScopeID() NilString
- func (s *HandoffReportActivity) GetSessionID() NilString
- func (s *HandoffReportActivity) GetSource() ReportActivitySource
- func (s *HandoffReportActivity) GetSourceEventID() string
- func (s *HandoffReportActivity) GetSourceRef() NilHandoffReportExternalReference
- func (s *HandoffReportActivity) GetSummary() NilString
- func (s *HandoffReportActivity) GetTimeBasis() ReportTimeBasis
- func (s *HandoffReportActivity) GetTitle() NilString
- func (s *HandoffReportActivity) GetTrust() HandoffReportActivityTrust
- func (s *HandoffReportActivity) GetVcsContext() NilHandoffReportActivityVcsContext
- func (s *HandoffReportActivity) MarshalJSON() ([]byte, error)
- func (s *HandoffReportActivity) SetAgent(val NilHandoffReportActivityAgent)
- func (s *HandoffReportActivity) SetEventID(val string)
- func (s *HandoffReportActivity) SetEvidenceRefs(val []HandoffReportExternalReference)
- func (s *HandoffReportActivity) SetObservedAt(val time.Time)
- func (s *HandoffReportActivity) SetOccurredAt(val NilDateTime)
- func (s *HandoffReportActivity) SetProjectID(val string)
- func (s *HandoffReportActivity) SetSchema(val HandoffReportActivitySchema)
- func (s *HandoffReportActivity) SetScopeID(val NilString)
- func (s *HandoffReportActivity) SetSessionID(val NilString)
- func (s *HandoffReportActivity) SetSource(val ReportActivitySource)
- func (s *HandoffReportActivity) SetSourceEventID(val string)
- func (s *HandoffReportActivity) SetSourceRef(val NilHandoffReportExternalReference)
- func (s *HandoffReportActivity) SetSummary(val NilString)
- func (s *HandoffReportActivity) SetTimeBasis(val ReportTimeBasis)
- func (s *HandoffReportActivity) SetTitle(val NilString)
- func (s *HandoffReportActivity) SetTrust(val HandoffReportActivityTrust)
- func (s *HandoffReportActivity) SetVcsContext(val NilHandoffReportActivityVcsContext)
- func (s *HandoffReportActivity) UnmarshalJSON(data []byte) error
- func (s *HandoffReportActivity) Validate() error
- type HandoffReportActivityAgent
- func (s *HandoffReportActivityAgent) Decode(d *jx.Decoder) error
- func (s *HandoffReportActivityAgent) Encode(e *jx.Encoder)
- func (s *HandoffReportActivityAgent) GetLabel() OptNilString
- func (s *HandoffReportActivityAgent) GetProvider() OptNilString
- func (s *HandoffReportActivityAgent) MarshalJSON() ([]byte, error)
- func (s *HandoffReportActivityAgent) SetLabel(val OptNilString)
- func (s *HandoffReportActivityAgent) SetProvider(val OptNilString)
- func (s *HandoffReportActivityAgent) UnmarshalJSON(data []byte) error
- func (s *HandoffReportActivityAgent) Validate() error
- type HandoffReportActivityPage
- func (s *HandoffReportActivityPage) Decode(d *jx.Decoder) error
- func (s *HandoffReportActivityPage) Encode(e *jx.Encoder)
- func (s *HandoffReportActivityPage) GetHighWatermark() int
- func (s *HandoffReportActivityPage) GetItems() []HandoffReportActivity
- func (s *HandoffReportActivityPage) GetNextCursor() NilInt
- func (s *HandoffReportActivityPage) MarshalJSON() ([]byte, error)
- func (s *HandoffReportActivityPage) SetHighWatermark(val int)
- func (s *HandoffReportActivityPage) SetItems(val []HandoffReportActivity)
- func (s *HandoffReportActivityPage) SetNextCursor(val NilInt)
- func (s *HandoffReportActivityPage) UnmarshalJSON(data []byte) error
- func (s *HandoffReportActivityPage) Validate() error
- type HandoffReportActivityPageHeaders
- func (s *HandoffReportActivityPageHeaders) GetResponse() HandoffReportActivityPage
- func (s *HandoffReportActivityPageHeaders) GetXPowerContextRequestID() OptString
- func (s *HandoffReportActivityPageHeaders) SetResponse(val HandoffReportActivityPage)
- func (s *HandoffReportActivityPageHeaders) SetXPowerContextRequestID(val OptString)
- func (s *HandoffReportActivityPageHeaders) Validate() error
- type HandoffReportActivitySchema
- func (HandoffReportActivitySchema) AllValues() []HandoffReportActivitySchema
- func (s *HandoffReportActivitySchema) Decode(d *jx.Decoder) error
- func (s HandoffReportActivitySchema) Encode(e *jx.Encoder)
- func (s HandoffReportActivitySchema) MarshalJSON() ([]byte, error)
- func (s HandoffReportActivitySchema) MarshalText() ([]byte, error)
- func (s *HandoffReportActivitySchema) UnmarshalJSON(data []byte) error
- func (s *HandoffReportActivitySchema) UnmarshalText(data []byte) error
- func (s HandoffReportActivitySchema) Validate() error
- type HandoffReportActivityTrust
- func (HandoffReportActivityTrust) AllValues() []HandoffReportActivityTrust
- func (s *HandoffReportActivityTrust) Decode(d *jx.Decoder) error
- func (s HandoffReportActivityTrust) Encode(e *jx.Encoder)
- func (s HandoffReportActivityTrust) MarshalJSON() ([]byte, error)
- func (s HandoffReportActivityTrust) MarshalText() ([]byte, error)
- func (s *HandoffReportActivityTrust) UnmarshalJSON(data []byte) error
- func (s *HandoffReportActivityTrust) UnmarshalText(data []byte) error
- func (s HandoffReportActivityTrust) Validate() error
- type HandoffReportActivityVcsContext
- func (s *HandoffReportActivityVcsContext) Decode(d *jx.Decoder) error
- func (s *HandoffReportActivityVcsContext) Encode(e *jx.Encoder)
- func (s *HandoffReportActivityVcsContext) GetBranch() OptNilString
- func (s *HandoffReportActivityVcsContext) GetHeadRevision() OptNilString
- func (s *HandoffReportActivityVcsContext) MarshalJSON() ([]byte, error)
- func (s *HandoffReportActivityVcsContext) SetBranch(val OptNilString)
- func (s *HandoffReportActivityVcsContext) SetHeadRevision(val OptNilString)
- func (s *HandoffReportActivityVcsContext) UnmarshalJSON(data []byte) error
- func (s *HandoffReportActivityVcsContext) Validate() error
- type HandoffReportExternalReference
- func (s *HandoffReportExternalReference) Decode(d *jx.Decoder) error
- func (s *HandoffReportExternalReference) Encode(e *jx.Encoder)
- func (s *HandoffReportExternalReference) GetExternalID() string
- func (s *HandoffReportExternalReference) GetKind() HandoffReportExternalReferenceKind
- func (s *HandoffReportExternalReference) GetProvider() string
- func (s *HandoffReportExternalReference) GetURL() NilString
- func (s *HandoffReportExternalReference) MarshalJSON() ([]byte, error)
- func (s *HandoffReportExternalReference) SetExternalID(val string)
- func (s *HandoffReportExternalReference) SetKind(val HandoffReportExternalReferenceKind)
- func (s *HandoffReportExternalReference) SetProvider(val string)
- func (s *HandoffReportExternalReference) SetURL(val NilString)
- func (s *HandoffReportExternalReference) UnmarshalJSON(data []byte) error
- func (s *HandoffReportExternalReference) Validate() error
- type HandoffReportExternalReferenceKind
- func (HandoffReportExternalReferenceKind) AllValues() []HandoffReportExternalReferenceKind
- func (s *HandoffReportExternalReferenceKind) Decode(d *jx.Decoder) error
- func (s HandoffReportExternalReferenceKind) Encode(e *jx.Encoder)
- func (s HandoffReportExternalReferenceKind) MarshalJSON() ([]byte, error)
- func (s HandoffReportExternalReferenceKind) MarshalText() ([]byte, error)
- func (s *HandoffReportExternalReferenceKind) UnmarshalJSON(data []byte) error
- func (s *HandoffReportExternalReferenceKind) UnmarshalText(data []byte) error
- func (s HandoffReportExternalReferenceKind) Validate() error
- type HandoffReportPeriodRequest
- func (s *HandoffReportPeriodRequest) Decode(d *jx.Decoder) error
- func (s *HandoffReportPeriodRequest) Encode(e *jx.Encoder)
- func (s *HandoffReportPeriodRequest) GetCompareToPreviousPeriod() OptBool
- func (s *HandoffReportPeriodRequest) GetEnd() time.Time
- func (s *HandoffReportPeriodRequest) GetStart() time.Time
- func (s *HandoffReportPeriodRequest) GetTimezone() OptNilString
- func (s *HandoffReportPeriodRequest) MarshalJSON() ([]byte, error)
- func (s *HandoffReportPeriodRequest) SetCompareToPreviousPeriod(val OptBool)
- func (s *HandoffReportPeriodRequest) SetEnd(val time.Time)
- func (s *HandoffReportPeriodRequest) SetStart(val time.Time)
- func (s *HandoffReportPeriodRequest) SetTimezone(val OptNilString)
- func (s *HandoffReportPeriodRequest) UnmarshalJSON(data []byte) error
- func (s *HandoffReportPeriodRequest) Validate() error
- type HandoffReportRepositoryRef
- func (s *HandoffReportRepositoryRef) Decode(d *jx.Decoder) error
- func (s *HandoffReportRepositoryRef) Encode(e *jx.Encoder)
- func (s *HandoffReportRepositoryRef) GetNormalizedRemote() NilString
- func (s *HandoffReportRepositoryRef) GetProvider() HandoffReportRepositoryRefProvider
- func (s *HandoffReportRepositoryRef) GetRepositoryID() NilString
- func (s *HandoffReportRepositoryRef) GetSubpath() NilString
- func (s *HandoffReportRepositoryRef) MarshalJSON() ([]byte, error)
- func (s *HandoffReportRepositoryRef) SetNormalizedRemote(val NilString)
- func (s *HandoffReportRepositoryRef) SetProvider(val HandoffReportRepositoryRefProvider)
- func (s *HandoffReportRepositoryRef) SetRepositoryID(val NilString)
- func (s *HandoffReportRepositoryRef) SetSubpath(val NilString)
- func (s *HandoffReportRepositoryRef) UnmarshalJSON(data []byte) error
- func (s *HandoffReportRepositoryRef) Validate() error
- type HandoffReportRepositoryRefProvider
- func (HandoffReportRepositoryRefProvider) AllValues() []HandoffReportRepositoryRefProvider
- func (s *HandoffReportRepositoryRefProvider) Decode(d *jx.Decoder) error
- func (s HandoffReportRepositoryRefProvider) Encode(e *jx.Encoder)
- func (s HandoffReportRepositoryRefProvider) MarshalJSON() ([]byte, error)
- func (s HandoffReportRepositoryRefProvider) MarshalText() ([]byte, error)
- func (s *HandoffReportRepositoryRefProvider) UnmarshalJSON(data []byte) error
- func (s *HandoffReportRepositoryRefProvider) UnmarshalText(data []byte) error
- func (s HandoffReportRepositoryRefProvider) Validate() error
- type HandoffReportResponse
- func (s *HandoffReportResponse) Decode(d *jx.Decoder) error
- func (s *HandoffReportResponse) Encode(e *jx.Encoder)
- func (s *HandoffReportResponse) GetFormat() ReportFormat
- func (s *HandoffReportResponse) GetMarkdown() NilString
- func (s *HandoffReportResponse) GetReport() NilHandoffReportResponseReport
- func (s *HandoffReportResponse) GetReportDigest() string
- func (s *HandoffReportResponse) GetSelectionDigest() string
- func (s *HandoffReportResponse) MarshalJSON() ([]byte, error)
- func (s *HandoffReportResponse) SetFormat(val ReportFormat)
- func (s *HandoffReportResponse) SetMarkdown(val NilString)
- func (s *HandoffReportResponse) SetReport(val NilHandoffReportResponseReport)
- func (s *HandoffReportResponse) SetReportDigest(val string)
- func (s *HandoffReportResponse) SetSelectionDigest(val string)
- func (s *HandoffReportResponse) UnmarshalJSON(data []byte) error
- func (s *HandoffReportResponse) Validate() error
- type HandoffReportResponseHeaders
- func (s *HandoffReportResponseHeaders) GetCacheControl() OptGetHandoffReportOKCacheControl
- func (s *HandoffReportResponseHeaders) GetContentDisposition() OptString
- func (s *HandoffReportResponseHeaders) GetResponse() HandoffReportResponse
- func (s *HandoffReportResponseHeaders) GetXPowerContextReportDigest() OptString
- func (s *HandoffReportResponseHeaders) GetXPowerContextRequestID() OptString
- func (s *HandoffReportResponseHeaders) GetXPowerContextSelectionDigest() OptString
- func (s *HandoffReportResponseHeaders) SetCacheControl(val OptGetHandoffReportOKCacheControl)
- func (s *HandoffReportResponseHeaders) SetContentDisposition(val OptString)
- func (s *HandoffReportResponseHeaders) SetResponse(val HandoffReportResponse)
- func (s *HandoffReportResponseHeaders) SetXPowerContextReportDigest(val OptString)
- func (s *HandoffReportResponseHeaders) SetXPowerContextRequestID(val OptString)
- func (s *HandoffReportResponseHeaders) SetXPowerContextSelectionDigest(val OptString)
- func (s *HandoffReportResponseHeaders) Validate() error
- type HandoffReportResponseReport
- type HandoffReportWorkspaceBinding
- func (s *HandoffReportWorkspaceBinding) Decode(d *jx.Decoder) error
- func (s *HandoffReportWorkspaceBinding) Encode(e *jx.Encoder)
- func (s *HandoffReportWorkspaceBinding) GetConfirmedAt() time.Time
- func (s *HandoffReportWorkspaceBinding) GetProjectID() string
- func (s *HandoffReportWorkspaceBinding) GetRepositoryRef() HandoffReportRepositoryRef
- func (s *HandoffReportWorkspaceBinding) GetSchema() HandoffReportWorkspaceBindingSchema
- func (s *HandoffReportWorkspaceBinding) GetState() HandoffReportWorkspaceBindingState
- func (s *HandoffReportWorkspaceBinding) GetVersion() int
- func (s *HandoffReportWorkspaceBinding) GetWorkspaceInstanceID() string
- func (s *HandoffReportWorkspaceBinding) MarshalJSON() ([]byte, error)
- func (s *HandoffReportWorkspaceBinding) SetConfirmedAt(val time.Time)
- func (s *HandoffReportWorkspaceBinding) SetProjectID(val string)
- func (s *HandoffReportWorkspaceBinding) SetRepositoryRef(val HandoffReportRepositoryRef)
- func (s *HandoffReportWorkspaceBinding) SetSchema(val HandoffReportWorkspaceBindingSchema)
- func (s *HandoffReportWorkspaceBinding) SetState(val HandoffReportWorkspaceBindingState)
- func (s *HandoffReportWorkspaceBinding) SetVersion(val int)
- func (s *HandoffReportWorkspaceBinding) SetWorkspaceInstanceID(val string)
- func (s *HandoffReportWorkspaceBinding) UnmarshalJSON(data []byte) error
- func (s *HandoffReportWorkspaceBinding) Validate() error
- type HandoffReportWorkspaceBindingHeaders
- func (s *HandoffReportWorkspaceBindingHeaders) GetResponse() HandoffReportWorkspaceBinding
- func (s *HandoffReportWorkspaceBindingHeaders) GetXPowerContextRequestID() OptString
- func (s *HandoffReportWorkspaceBindingHeaders) SetResponse(val HandoffReportWorkspaceBinding)
- func (s *HandoffReportWorkspaceBindingHeaders) SetXPowerContextRequestID(val OptString)
- func (s *HandoffReportWorkspaceBindingHeaders) Validate() error
- type HandoffReportWorkspaceBindingSchema
- func (HandoffReportWorkspaceBindingSchema) AllValues() []HandoffReportWorkspaceBindingSchema
- func (s *HandoffReportWorkspaceBindingSchema) Decode(d *jx.Decoder) error
- func (s HandoffReportWorkspaceBindingSchema) Encode(e *jx.Encoder)
- func (s HandoffReportWorkspaceBindingSchema) MarshalJSON() ([]byte, error)
- func (s HandoffReportWorkspaceBindingSchema) MarshalText() ([]byte, error)
- func (s *HandoffReportWorkspaceBindingSchema) UnmarshalJSON(data []byte) error
- func (s *HandoffReportWorkspaceBindingSchema) UnmarshalText(data []byte) error
- func (s HandoffReportWorkspaceBindingSchema) Validate() error
- type HandoffReportWorkspaceBindingState
- func (HandoffReportWorkspaceBindingState) AllValues() []HandoffReportWorkspaceBindingState
- func (s *HandoffReportWorkspaceBindingState) Decode(d *jx.Decoder) error
- func (s HandoffReportWorkspaceBindingState) Encode(e *jx.Encoder)
- func (s HandoffReportWorkspaceBindingState) MarshalJSON() ([]byte, error)
- func (s HandoffReportWorkspaceBindingState) MarshalText() ([]byte, error)
- func (s *HandoffReportWorkspaceBindingState) UnmarshalJSON(data []byte) error
- func (s *HandoffReportWorkspaceBindingState) UnmarshalText(data []byte) error
- func (s HandoffReportWorkspaceBindingState) Validate() error
- type HandoffResolution
- func (s *HandoffResolution) Decode(d *jx.Decoder) error
- func (s *HandoffResolution) Encode(e *jx.Encoder)
- func (s *HandoffResolution) GetContent() NilHandoffContent
- func (s *HandoffResolution) GetCurrentRevision() NilArtifactReference
- func (s *HandoffResolution) GetEvidenceChecks() []HandoffEvidenceCheck
- func (s *HandoffResolution) GetScopeID() string
- func (s *HandoffResolution) GetSelectedRevision() NilArtifactReference
- func (s *HandoffResolution) GetSelection() NilHandoffSelection
- func (s *HandoffResolution) GetStatus() HandoffResolutionStatus
- func (s *HandoffResolution) GetTrust() HandoffResolutionTrust
- func (s *HandoffResolution) MarshalJSON() ([]byte, error)
- func (s *HandoffResolution) SetContent(val NilHandoffContent)
- func (s *HandoffResolution) SetCurrentRevision(val NilArtifactReference)
- func (s *HandoffResolution) SetEvidenceChecks(val []HandoffEvidenceCheck)
- func (s *HandoffResolution) SetScopeID(val string)
- func (s *HandoffResolution) SetSelectedRevision(val NilArtifactReference)
- func (s *HandoffResolution) SetSelection(val NilHandoffSelection)
- func (s *HandoffResolution) SetStatus(val HandoffResolutionStatus)
- func (s *HandoffResolution) SetTrust(val HandoffResolutionTrust)
- func (s *HandoffResolution) UnmarshalJSON(data []byte) error
- func (s *HandoffResolution) Validate() error
- type HandoffResolutionHeaders
- func (s *HandoffResolutionHeaders) GetResponse() HandoffResolution
- func (s *HandoffResolutionHeaders) GetXPowerContextRequestID() OptString
- func (s *HandoffResolutionHeaders) SetResponse(val HandoffResolution)
- func (s *HandoffResolutionHeaders) SetXPowerContextRequestID(val OptString)
- func (s *HandoffResolutionHeaders) Validate() error
- type HandoffResolutionStatus
- func (HandoffResolutionStatus) AllValues() []HandoffResolutionStatus
- func (s *HandoffResolutionStatus) Decode(d *jx.Decoder) error
- func (s HandoffResolutionStatus) Encode(e *jx.Encoder)
- func (s HandoffResolutionStatus) MarshalJSON() ([]byte, error)
- func (s HandoffResolutionStatus) MarshalText() ([]byte, error)
- func (s *HandoffResolutionStatus) UnmarshalJSON(data []byte) error
- func (s *HandoffResolutionStatus) UnmarshalText(data []byte) error
- func (s HandoffResolutionStatus) Validate() error
- type HandoffResolutionTrust
- func (HandoffResolutionTrust) AllValues() []HandoffResolutionTrust
- func (s *HandoffResolutionTrust) Decode(d *jx.Decoder) error
- func (s HandoffResolutionTrust) Encode(e *jx.Encoder)
- func (s HandoffResolutionTrust) MarshalJSON() ([]byte, error)
- func (s HandoffResolutionTrust) MarshalText() ([]byte, error)
- func (s *HandoffResolutionTrust) UnmarshalJSON(data []byte) error
- func (s *HandoffResolutionTrust) UnmarshalText(data []byte) error
- func (s HandoffResolutionTrust) Validate() error
- type HandoffSchema
- func (HandoffSchema) AllValues() []HandoffSchema
- func (s *HandoffSchema) Decode(d *jx.Decoder) error
- func (s HandoffSchema) Encode(e *jx.Encoder)
- func (s HandoffSchema) MarshalJSON() ([]byte, error)
- func (s HandoffSchema) MarshalText() ([]byte, error)
- func (s *HandoffSchema) UnmarshalJSON(data []byte) error
- func (s *HandoffSchema) UnmarshalText(data []byte) error
- func (s HandoffSchema) Validate() error
- type HandoffSelection
- func (HandoffSelection) AllValues() []HandoffSelection
- func (s *HandoffSelection) Decode(d *jx.Decoder) error
- func (s HandoffSelection) Encode(e *jx.Encoder)
- func (s HandoffSelection) MarshalJSON() ([]byte, error)
- func (s HandoffSelection) MarshalText() ([]byte, error)
- func (s *HandoffSelection) UnmarshalJSON(data []byte) error
- func (s *HandoffSelection) UnmarshalText(data []byte) error
- func (s HandoffSelection) Validate() error
- type HandoffSourceCitation
- func (s *HandoffSourceCitation) Decode(d *jx.Decoder) error
- func (s *HandoffSourceCitation) Encode(e *jx.Encoder)
- func (s *HandoffSourceCitation) GetKind() HandoffSourceCitationKind
- func (s *HandoffSourceCitation) GetSourceRef() SourceReference
- func (s *HandoffSourceCitation) MarshalJSON() ([]byte, error)
- func (s *HandoffSourceCitation) SetKind(val HandoffSourceCitationKind)
- func (s *HandoffSourceCitation) SetSourceRef(val SourceReference)
- func (s *HandoffSourceCitation) UnmarshalJSON(data []byte) error
- func (s *HandoffSourceCitation) Validate() error
- type HandoffSourceCitationKind
- func (HandoffSourceCitationKind) AllValues() []HandoffSourceCitationKind
- func (s *HandoffSourceCitationKind) Decode(d *jx.Decoder) error
- func (s HandoffSourceCitationKind) Encode(e *jx.Encoder)
- func (s HandoffSourceCitationKind) MarshalJSON() ([]byte, error)
- func (s HandoffSourceCitationKind) MarshalText() ([]byte, error)
- func (s *HandoffSourceCitationKind) UnmarshalJSON(data []byte) error
- func (s *HandoffSourceCitationKind) UnmarshalText(data []byte) error
- func (s HandoffSourceCitationKind) Validate() error
- type HandoffStatement
- func (s *HandoffStatement) Decode(d *jx.Decoder) error
- func (s *HandoffStatement) Encode(e *jx.Encoder)
- func (s *HandoffStatement) GetCitations() []HandoffCitation
- func (s *HandoffStatement) GetText() string
- func (s *HandoffStatement) MarshalJSON() ([]byte, error)
- func (s *HandoffStatement) SetCitations(val []HandoffCitation)
- func (s *HandoffStatement) SetText(val string)
- func (s *HandoffStatement) UnmarshalJSON(data []byte) error
- func (s *HandoffStatement) Validate() error
- type HealthResponse
- func (s *HealthResponse) Decode(d *jx.Decoder) error
- func (s *HealthResponse) Encode(e *jx.Encoder)
- func (s *HealthResponse) GetStatus() string
- func (s *HealthResponse) MarshalJSON() ([]byte, error)
- func (s *HealthResponse) SetStatus(val string)
- func (s *HealthResponse) UnmarshalJSON(data []byte) error
- type HealthResponseHeaders
- type ImportExternalSkillRequest
- func (s *ImportExternalSkillRequest) Decode(d *jx.Decoder) error
- func (s *ImportExternalSkillRequest) Encode(e *jx.Encoder)
- func (s *ImportExternalSkillRequest) GetExternalSkillID() string
- func (s *ImportExternalSkillRequest) GetFingerprint() string
- func (s *ImportExternalSkillRequest) GetMode() ExternalSkillImportMode
- func (s *ImportExternalSkillRequest) GetReason() OptNilString
- func (s *ImportExternalSkillRequest) GetScopeID() string
- func (s *ImportExternalSkillRequest) MarshalJSON() ([]byte, error)
- func (s *ImportExternalSkillRequest) SetExternalSkillID(val string)
- func (s *ImportExternalSkillRequest) SetFingerprint(val string)
- func (s *ImportExternalSkillRequest) SetMode(val ExternalSkillImportMode)
- func (s *ImportExternalSkillRequest) SetReason(val OptNilString)
- func (s *ImportExternalSkillRequest) SetScopeID(val string)
- func (s *ImportExternalSkillRequest) UnmarshalJSON(data []byte) error
- func (s *ImportExternalSkillRequest) Validate() error
- type ImportExternalSkillRes
- type InternalErrorHeaders
- type InvalidRequestHeaders
- type InventoryStatistics
- func (s *InventoryStatistics) Decode(d *jx.Decoder) error
- func (s *InventoryStatistics) Encode(e *jx.Encoder)
- func (s *InventoryStatistics) GetArtifacts() ArtifactInventoryStatistics
- func (s *InventoryStatistics) GetCandidates() CandidateInventoryStatistics
- func (s *InventoryStatistics) GetMemory() MemoryInventoryStatistics
- func (s *InventoryStatistics) GetSources() SourceInventoryStatistics
- func (s *InventoryStatistics) MarshalJSON() ([]byte, error)
- func (s *InventoryStatistics) SetArtifacts(val ArtifactInventoryStatistics)
- func (s *InventoryStatistics) SetCandidates(val CandidateInventoryStatistics)
- func (s *InventoryStatistics) SetMemory(val MemoryInventoryStatistics)
- func (s *InventoryStatistics) SetSources(val SourceInventoryStatistics)
- func (s *InventoryStatistics) UnmarshalJSON(data []byte) error
- func (s *InventoryStatistics) Validate() error
- type Invoker
- type KnownHandoffScope
- func (s *KnownHandoffScope) Decode(d *jx.Decoder) error
- func (s *KnownHandoffScope) Encode(e *jx.Encoder)
- func (s *KnownHandoffScope) GetScopeID() string
- func (s *KnownHandoffScope) MarshalJSON() ([]byte, error)
- func (s *KnownHandoffScope) SetScopeID(val string)
- func (s *KnownHandoffScope) UnmarshalJSON(data []byte) error
- func (s *KnownHandoffScope) Validate() error
- type KnownHandoffScopePage
- func (s *KnownHandoffScopePage) Decode(d *jx.Decoder) error
- func (s *KnownHandoffScopePage) Encode(e *jx.Encoder)
- func (s *KnownHandoffScopePage) GetItems() []KnownHandoffScope
- func (s *KnownHandoffScopePage) GetNextCursor() OptNilString
- func (s *KnownHandoffScopePage) MarshalJSON() ([]byte, error)
- func (s *KnownHandoffScopePage) SetItems(val []KnownHandoffScope)
- func (s *KnownHandoffScopePage) SetNextCursor(val OptNilString)
- func (s *KnownHandoffScopePage) UnmarshalJSON(data []byte) error
- func (s *KnownHandoffScopePage) Validate() error
- type KnownHandoffScopePageHeaders
- func (s *KnownHandoffScopePageHeaders) GetResponse() KnownHandoffScopePage
- func (s *KnownHandoffScopePageHeaders) GetXPowerContextRequestID() OptString
- func (s *KnownHandoffScopePageHeaders) SetResponse(val KnownHandoffScopePage)
- func (s *KnownHandoffScopePageHeaders) SetXPowerContextRequestID(val OptString)
- func (s *KnownHandoffScopePageHeaders) Validate() error
- type Labeler
- type ListArtifactCandidatesRequest
- func (s *ListArtifactCandidatesRequest) Decode(d *jx.Decoder) error
- func (s *ListArtifactCandidatesRequest) Encode(e *jx.Encoder)
- func (s *ListArtifactCandidatesRequest) GetCursor() OptNilString
- func (s *ListArtifactCandidatesRequest) GetFamily() OptNilCandidateFamily
- func (s *ListArtifactCandidatesRequest) GetLimit() OptInt
- func (s *ListArtifactCandidatesRequest) GetScopeID() string
- func (s *ListArtifactCandidatesRequest) GetStatus() OptCandidateStatus
- func (s *ListArtifactCandidatesRequest) MarshalJSON() ([]byte, error)
- func (s *ListArtifactCandidatesRequest) SetCursor(val OptNilString)
- func (s *ListArtifactCandidatesRequest) SetFamily(val OptNilCandidateFamily)
- func (s *ListArtifactCandidatesRequest) SetLimit(val OptInt)
- func (s *ListArtifactCandidatesRequest) SetScopeID(val string)
- func (s *ListArtifactCandidatesRequest) SetStatus(val OptCandidateStatus)
- func (s *ListArtifactCandidatesRequest) UnmarshalJSON(data []byte) error
- func (s *ListArtifactCandidatesRequest) Validate() error
- type ListArtifactCandidatesRes
- type ListExternalSkillsRequest
- func (s *ListExternalSkillsRequest) Decode(d *jx.Decoder) error
- func (s *ListExternalSkillsRequest) Encode(e *jx.Encoder)
- func (s *ListExternalSkillsRequest) GetIncludeUnavailable() OptBool
- func (s *ListExternalSkillsRequest) GetScopeID() string
- func (s *ListExternalSkillsRequest) MarshalJSON() ([]byte, error)
- func (s *ListExternalSkillsRequest) SetIncludeUnavailable(val OptBool)
- func (s *ListExternalSkillsRequest) SetScopeID(val string)
- func (s *ListExternalSkillsRequest) UnmarshalJSON(data []byte) error
- func (s *ListExternalSkillsRequest) Validate() error
- type ListExternalSkillsRes
- type ListExternalSkillsResponse
- func (s *ListExternalSkillsResponse) Decode(d *jx.Decoder) error
- func (s *ListExternalSkillsResponse) Encode(e *jx.Encoder)
- func (s *ListExternalSkillsResponse) GetSkills() []ExternalSkillResolution
- func (s *ListExternalSkillsResponse) MarshalJSON() ([]byte, error)
- func (s *ListExternalSkillsResponse) SetSkills(val []ExternalSkillResolution)
- func (s *ListExternalSkillsResponse) UnmarshalJSON(data []byte) error
- func (s *ListExternalSkillsResponse) Validate() error
- type ListExternalSkillsResponseHeaders
- func (s *ListExternalSkillsResponseHeaders) GetResponse() ListExternalSkillsResponse
- func (s *ListExternalSkillsResponseHeaders) GetXPowerContextRequestID() OptString
- func (s *ListExternalSkillsResponseHeaders) SetResponse(val ListExternalSkillsResponse)
- func (s *ListExternalSkillsResponseHeaders) SetXPowerContextRequestID(val OptString)
- func (s *ListExternalSkillsResponseHeaders) Validate() error
- type ListHandoffReportActivitiesRequest
- func (s *ListHandoffReportActivitiesRequest) Decode(d *jx.Decoder) error
- func (s *ListHandoffReportActivitiesRequest) Encode(e *jx.Encoder)
- func (s *ListHandoffReportActivitiesRequest) GetAfterCursor() OptInt
- func (s *ListHandoffReportActivitiesRequest) GetLimit() OptInt
- func (s *ListHandoffReportActivitiesRequest) GetPeriodEnd() OptNilDateTime
- func (s *ListHandoffReportActivitiesRequest) GetPeriodStart() OptNilDateTime
- func (s *ListHandoffReportActivitiesRequest) GetProjectID() string
- func (s *ListHandoffReportActivitiesRequest) GetSources() OptNilReportActivitySourceArray
- func (s *ListHandoffReportActivitiesRequest) GetThroughCursor() OptNilInt
- func (s *ListHandoffReportActivitiesRequest) MarshalJSON() ([]byte, error)
- func (s *ListHandoffReportActivitiesRequest) SetAfterCursor(val OptInt)
- func (s *ListHandoffReportActivitiesRequest) SetLimit(val OptInt)
- func (s *ListHandoffReportActivitiesRequest) SetPeriodEnd(val OptNilDateTime)
- func (s *ListHandoffReportActivitiesRequest) SetPeriodStart(val OptNilDateTime)
- func (s *ListHandoffReportActivitiesRequest) SetProjectID(val string)
- func (s *ListHandoffReportActivitiesRequest) SetSources(val OptNilReportActivitySourceArray)
- func (s *ListHandoffReportActivitiesRequest) SetThroughCursor(val OptNilInt)
- func (s *ListHandoffReportActivitiesRequest) UnmarshalJSON(data []byte) error
- func (s *ListHandoffReportActivitiesRequest) Validate() error
- type ListHandoffReportActivitiesRes
- type ListHandoffReportKnownScopesRequest
- func (s *ListHandoffReportKnownScopesRequest) Decode(d *jx.Decoder) error
- func (s *ListHandoffReportKnownScopesRequest) Encode(e *jx.Encoder)
- func (s *ListHandoffReportKnownScopesRequest) GetCursor() OptNilString
- func (s *ListHandoffReportKnownScopesRequest) GetLimit() OptInt
- func (s *ListHandoffReportKnownScopesRequest) MarshalJSON() ([]byte, error)
- func (s *ListHandoffReportKnownScopesRequest) SetCursor(val OptNilString)
- func (s *ListHandoffReportKnownScopesRequest) SetLimit(val OptInt)
- func (s *ListHandoffReportKnownScopesRequest) UnmarshalJSON(data []byte) error
- func (s *ListHandoffReportKnownScopesRequest) Validate() error
- type ListHandoffReportKnownScopesRes
- type ListHandoffReportProjectsRequest
- func (s *ListHandoffReportProjectsRequest) Decode(d *jx.Decoder) error
- func (s *ListHandoffReportProjectsRequest) Encode(e *jx.Encoder)
- func (s *ListHandoffReportProjectsRequest) GetCursor() OptNilString
- func (s *ListHandoffReportProjectsRequest) GetIncludeArchived() OptBool
- func (s *ListHandoffReportProjectsRequest) GetLimit() OptInt
- func (s *ListHandoffReportProjectsRequest) MarshalJSON() ([]byte, error)
- func (s *ListHandoffReportProjectsRequest) SetCursor(val OptNilString)
- func (s *ListHandoffReportProjectsRequest) SetIncludeArchived(val OptBool)
- func (s *ListHandoffReportProjectsRequest) SetLimit(val OptInt)
- func (s *ListHandoffReportProjectsRequest) UnmarshalJSON(data []byte) error
- func (s *ListHandoffReportProjectsRequest) Validate() error
- type ListHandoffReportProjectsRes
- type ListHandoffReportWorkstreamsRequest
- func (s *ListHandoffReportWorkstreamsRequest) Decode(d *jx.Decoder) error
- func (s *ListHandoffReportWorkstreamsRequest) Encode(e *jx.Encoder)
- func (s *ListHandoffReportWorkstreamsRequest) GetCursor() OptNilString
- func (s *ListHandoffReportWorkstreamsRequest) GetIncludeArchived() OptBool
- func (s *ListHandoffReportWorkstreamsRequest) GetLimit() OptInt
- func (s *ListHandoffReportWorkstreamsRequest) GetProjectID() string
- func (s *ListHandoffReportWorkstreamsRequest) MarshalJSON() ([]byte, error)
- func (s *ListHandoffReportWorkstreamsRequest) SetCursor(val OptNilString)
- func (s *ListHandoffReportWorkstreamsRequest) SetIncludeArchived(val OptBool)
- func (s *ListHandoffReportWorkstreamsRequest) SetLimit(val OptInt)
- func (s *ListHandoffReportWorkstreamsRequest) SetProjectID(val string)
- func (s *ListHandoffReportWorkstreamsRequest) UnmarshalJSON(data []byte) error
- func (s *ListHandoffReportWorkstreamsRequest) Validate() error
- type ListHandoffReportWorkstreamsRes
- type ListMemoryChangesRequest
- func (s *ListMemoryChangesRequest) Decode(d *jx.Decoder) error
- func (s *ListMemoryChangesRequest) Encode(e *jx.Encoder)
- func (s *ListMemoryChangesRequest) GetScopeID() string
- func (s *ListMemoryChangesRequest) GetSinceRevision() OptNilInt
- func (s *ListMemoryChangesRequest) MarshalJSON() ([]byte, error)
- func (s *ListMemoryChangesRequest) SetScopeID(val string)
- func (s *ListMemoryChangesRequest) SetSinceRevision(val OptNilInt)
- func (s *ListMemoryChangesRequest) UnmarshalJSON(data []byte) error
- func (s *ListMemoryChangesRequest) Validate() error
- type ListMemoryChangesRes
- type ListMemoryChangesResponse
- func (s *ListMemoryChangesResponse) Decode(d *jx.Decoder) error
- func (s *ListMemoryChangesResponse) Encode(e *jx.Encoder)
- func (s *ListMemoryChangesResponse) GetMemory() OptNilArtifactReference
- func (s *ListMemoryChangesResponse) GetRevisions() []MemoryRevisionChanges
- func (s *ListMemoryChangesResponse) MarshalJSON() ([]byte, error)
- func (s *ListMemoryChangesResponse) SetMemory(val OptNilArtifactReference)
- func (s *ListMemoryChangesResponse) SetRevisions(val []MemoryRevisionChanges)
- func (s *ListMemoryChangesResponse) UnmarshalJSON(data []byte) error
- func (s *ListMemoryChangesResponse) Validate() error
- type ListMemoryChangesResponseHeaders
- func (s *ListMemoryChangesResponseHeaders) GetResponse() ListMemoryChangesResponse
- func (s *ListMemoryChangesResponseHeaders) GetXPowerContextRequestID() OptString
- func (s *ListMemoryChangesResponseHeaders) SetResponse(val ListMemoryChangesResponse)
- func (s *ListMemoryChangesResponseHeaders) SetXPowerContextRequestID(val OptString)
- func (s *ListMemoryChangesResponseHeaders) Validate() error
- type ListMemoryEntriesRequest
- func (s *ListMemoryEntriesRequest) Decode(d *jx.Decoder) error
- func (s *ListMemoryEntriesRequest) Encode(e *jx.Encoder)
- func (s *ListMemoryEntriesRequest) GetIncludeInactive() OptBool
- func (s *ListMemoryEntriesRequest) GetScopeID() string
- func (s *ListMemoryEntriesRequest) MarshalJSON() ([]byte, error)
- func (s *ListMemoryEntriesRequest) SetIncludeInactive(val OptBool)
- func (s *ListMemoryEntriesRequest) SetScopeID(val string)
- func (s *ListMemoryEntriesRequest) UnmarshalJSON(data []byte) error
- func (s *ListMemoryEntriesRequest) Validate() error
- type ListMemoryEntriesRes
- type ListMemoryEntriesResponse
- func (s *ListMemoryEntriesResponse) Decode(d *jx.Decoder) error
- func (s *ListMemoryEntriesResponse) Encode(e *jx.Encoder)
- func (s *ListMemoryEntriesResponse) GetEntries() []MemoryEntry
- func (s *ListMemoryEntriesResponse) GetMemory() OptNilArtifactReference
- func (s *ListMemoryEntriesResponse) MarshalJSON() ([]byte, error)
- func (s *ListMemoryEntriesResponse) SetEntries(val []MemoryEntry)
- func (s *ListMemoryEntriesResponse) SetMemory(val OptNilArtifactReference)
- func (s *ListMemoryEntriesResponse) UnmarshalJSON(data []byte) error
- func (s *ListMemoryEntriesResponse) Validate() error
- type ListMemoryEntriesResponseHeaders
- func (s *ListMemoryEntriesResponseHeaders) GetResponse() ListMemoryEntriesResponse
- func (s *ListMemoryEntriesResponseHeaders) GetXPowerContextRequestID() OptString
- func (s *ListMemoryEntriesResponseHeaders) SetResponse(val ListMemoryEntriesResponse)
- func (s *ListMemoryEntriesResponseHeaders) SetXPowerContextRequestID(val OptString)
- func (s *ListMemoryEntriesResponseHeaders) Validate() error
- type LiveStateCheckStatus
- func (LiveStateCheckStatus) AllValues() []LiveStateCheckStatus
- func (s *LiveStateCheckStatus) Decode(d *jx.Decoder) error
- func (s LiveStateCheckStatus) Encode(e *jx.Encoder)
- func (s LiveStateCheckStatus) MarshalJSON() ([]byte, error)
- func (s LiveStateCheckStatus) MarshalText() ([]byte, error)
- func (s *LiveStateCheckStatus) UnmarshalJSON(data []byte) error
- func (s *LiveStateCheckStatus) UnmarshalText(data []byte) error
- func (s LiveStateCheckStatus) Validate() error
- type MemoryCitation
- func (s *MemoryCitation) Decode(d *jx.Decoder) error
- func (s *MemoryCitation) Encode(e *jx.Encoder)
- func (s *MemoryCitation) GetEntryID() string
- func (s *MemoryCitation) GetEntryVersionID() string
- func (s *MemoryCitation) GetMemoryRef() ArtifactReference
- func (s *MemoryCitation) MarshalJSON() ([]byte, error)
- func (s *MemoryCitation) SetEntryID(val string)
- func (s *MemoryCitation) SetEntryVersionID(val string)
- func (s *MemoryCitation) SetMemoryRef(val ArtifactReference)
- func (s *MemoryCitation) UnmarshalJSON(data []byte) error
- func (s *MemoryCitation) Validate() error
- type MemoryEntry
- func (s *MemoryEntry) Decode(d *jx.Decoder) error
- func (s *MemoryEntry) Encode(e *jx.Encoder)
- func (s *MemoryEntry) GetArtifactRefs() []ArtifactReference
- func (s *MemoryEntry) GetCitation() MemoryCitation
- func (s *MemoryEntry) GetKind() string
- func (s *MemoryEntry) GetSourceRefs() []SourceReference
- func (s *MemoryEntry) GetState() MemoryEntryState
- func (s *MemoryEntry) GetText() string
- func (s *MemoryEntry) GetVersion() int
- func (s *MemoryEntry) MarshalJSON() ([]byte, error)
- func (s *MemoryEntry) SetArtifactRefs(val []ArtifactReference)
- func (s *MemoryEntry) SetCitation(val MemoryCitation)
- func (s *MemoryEntry) SetKind(val string)
- func (s *MemoryEntry) SetSourceRefs(val []SourceReference)
- func (s *MemoryEntry) SetState(val MemoryEntryState)
- func (s *MemoryEntry) SetText(val string)
- func (s *MemoryEntry) SetVersion(val int)
- func (s *MemoryEntry) UnmarshalJSON(data []byte) error
- func (s *MemoryEntry) Validate() error
- type MemoryEntryHeaders
- type MemoryEntryInventoryStatistics
- func (s *MemoryEntryInventoryStatistics) Decode(d *jx.Decoder) error
- func (s *MemoryEntryInventoryStatistics) Encode(e *jx.Encoder)
- func (s *MemoryEntryInventoryStatistics) GetActive() int
- func (s *MemoryEntryInventoryStatistics) GetByKind() []MemoryKindCount
- func (s *MemoryEntryInventoryStatistics) GetInactive() int
- func (s *MemoryEntryInventoryStatistics) GetTotal() int
- func (s *MemoryEntryInventoryStatistics) MarshalJSON() ([]byte, error)
- func (s *MemoryEntryInventoryStatistics) SetActive(val int)
- func (s *MemoryEntryInventoryStatistics) SetByKind(val []MemoryKindCount)
- func (s *MemoryEntryInventoryStatistics) SetInactive(val int)
- func (s *MemoryEntryInventoryStatistics) SetTotal(val int)
- func (s *MemoryEntryInventoryStatistics) UnmarshalJSON(data []byte) error
- func (s *MemoryEntryInventoryStatistics) Validate() error
- type MemoryEntryState
- func (MemoryEntryState) AllValues() []MemoryEntryState
- func (s *MemoryEntryState) Decode(d *jx.Decoder) error
- func (s MemoryEntryState) Encode(e *jx.Encoder)
- func (s MemoryEntryState) MarshalJSON() ([]byte, error)
- func (s MemoryEntryState) MarshalText() ([]byte, error)
- func (s *MemoryEntryState) UnmarshalJSON(data []byte) error
- func (s *MemoryEntryState) UnmarshalText(data []byte) error
- func (s MemoryEntryState) Validate() error
- type MemoryInventoryStatistics
- func (s *MemoryInventoryStatistics) Decode(d *jx.Decoder) error
- func (s *MemoryInventoryStatistics) Encode(e *jx.Encoder)
- func (s *MemoryInventoryStatistics) GetEntries() MemoryEntryInventoryStatistics
- func (s *MemoryInventoryStatistics) MarshalJSON() ([]byte, error)
- func (s *MemoryInventoryStatistics) SetEntries(val MemoryEntryInventoryStatistics)
- func (s *MemoryInventoryStatistics) UnmarshalJSON(data []byte) error
- func (s *MemoryInventoryStatistics) Validate() error
- type MemoryKindCount
- func (s *MemoryKindCount) Decode(d *jx.Decoder) error
- func (s *MemoryKindCount) Encode(e *jx.Encoder)
- func (s *MemoryKindCount) GetActive() int
- func (s *MemoryKindCount) GetInactive() int
- func (s *MemoryKindCount) GetKind() string
- func (s *MemoryKindCount) GetTotal() int
- func (s *MemoryKindCount) MarshalJSON() ([]byte, error)
- func (s *MemoryKindCount) SetActive(val int)
- func (s *MemoryKindCount) SetInactive(val int)
- func (s *MemoryKindCount) SetKind(val string)
- func (s *MemoryKindCount) SetTotal(val int)
- func (s *MemoryKindCount) UnmarshalJSON(data []byte) error
- func (s *MemoryKindCount) Validate() error
- type MemoryMatchedBy
- func (MemoryMatchedBy) AllValues() []MemoryMatchedBy
- func (s *MemoryMatchedBy) Decode(d *jx.Decoder) error
- func (s MemoryMatchedBy) Encode(e *jx.Encoder)
- func (s MemoryMatchedBy) MarshalJSON() ([]byte, error)
- func (s MemoryMatchedBy) MarshalText() ([]byte, error)
- func (s *MemoryMatchedBy) UnmarshalJSON(data []byte) error
- func (s *MemoryMatchedBy) UnmarshalText(data []byte) error
- func (s MemoryMatchedBy) Validate() error
- type MemoryMutationResponse
- func (s *MemoryMutationResponse) Decode(d *jx.Decoder) error
- func (s *MemoryMutationResponse) Encode(e *jx.Encoder)
- func (s *MemoryMutationResponse) GetEntry() OptNilMemoryEntry
- func (s *MemoryMutationResponse) GetMemory() ArtifactReference
- func (s *MemoryMutationResponse) MarshalJSON() ([]byte, error)
- func (s *MemoryMutationResponse) SetEntry(val OptNilMemoryEntry)
- func (s *MemoryMutationResponse) SetMemory(val ArtifactReference)
- func (s *MemoryMutationResponse) UnmarshalJSON(data []byte) error
- func (s *MemoryMutationResponse) Validate() error
- type MemoryMutationResponseHeaders
- func (s *MemoryMutationResponseHeaders) GetResponse() MemoryMutationResponse
- func (s *MemoryMutationResponseHeaders) GetXPowerContextRequestID() OptString
- func (s *MemoryMutationResponseHeaders) SetResponse(val MemoryMutationResponse)
- func (s *MemoryMutationResponseHeaders) SetXPowerContextRequestID(val OptString)
- func (s *MemoryMutationResponseHeaders) Validate() error
- type MemoryRevisionChanges
- func (s *MemoryRevisionChanges) Decode(d *jx.Decoder) error
- func (s *MemoryRevisionChanges) Encode(e *jx.Encoder)
- func (s *MemoryRevisionChanges) GetChanges() []EntryChange
- func (s *MemoryRevisionChanges) GetMemoryRef() ArtifactReference
- func (s *MemoryRevisionChanges) MarshalJSON() ([]byte, error)
- func (s *MemoryRevisionChanges) SetChanges(val []EntryChange)
- func (s *MemoryRevisionChanges) SetMemoryRef(val ArtifactReference)
- func (s *MemoryRevisionChanges) UnmarshalJSON(data []byte) error
- func (s *MemoryRevisionChanges) Validate() error
- type MemorySearchMode
- func (MemorySearchMode) AllValues() []MemorySearchMode
- func (s *MemorySearchMode) Decode(d *jx.Decoder) error
- func (s MemorySearchMode) Encode(e *jx.Encoder)
- func (s MemorySearchMode) MarshalJSON() ([]byte, error)
- func (s MemorySearchMode) MarshalText() ([]byte, error)
- func (s *MemorySearchMode) UnmarshalJSON(data []byte) error
- func (s *MemorySearchMode) UnmarshalText(data []byte) error
- func (s MemorySearchMode) Validate() error
- type MemoryUsedSearchMode
- func (MemoryUsedSearchMode) AllValues() []MemoryUsedSearchMode
- func (s *MemoryUsedSearchMode) Decode(d *jx.Decoder) error
- func (s MemoryUsedSearchMode) Encode(e *jx.Encoder)
- func (s MemoryUsedSearchMode) MarshalJSON() ([]byte, error)
- func (s MemoryUsedSearchMode) MarshalText() ([]byte, error)
- func (s *MemoryUsedSearchMode) UnmarshalJSON(data []byte) error
- func (s *MemoryUsedSearchMode) UnmarshalText(data []byte) error
- func (s MemoryUsedSearchMode) Validate() error
- type Middleware
- type ModelUsageDay
- func (s *ModelUsageDay) Decode(d *jx.Decoder) error
- func (s *ModelUsageDay) Encode(e *jx.Encoder)
- func (s *ModelUsageDay) GetByPurpose() []ModelUsagePurposeBreakdown
- func (s *ModelUsageDay) GetDate() time.Time
- func (s *ModelUsageDay) GetEmbedding() ModelUsageValue
- func (s *ModelUsageDay) GetGeneration() ModelUsageValue
- func (s *ModelUsageDay) MarshalJSON() ([]byte, error)
- func (s *ModelUsageDay) SetByPurpose(val []ModelUsagePurposeBreakdown)
- func (s *ModelUsageDay) SetDate(val time.Time)
- func (s *ModelUsageDay) SetEmbedding(val ModelUsageValue)
- func (s *ModelUsageDay) SetGeneration(val ModelUsageValue)
- func (s *ModelUsageDay) UnmarshalJSON(data []byte) error
- func (s *ModelUsageDay) Validate() error
- type ModelUsagePurposeBreakdown
- func (s *ModelUsagePurposeBreakdown) Decode(d *jx.Decoder) error
- func (s *ModelUsagePurposeBreakdown) Encode(e *jx.Encoder)
- func (s *ModelUsagePurposeBreakdown) GetEmbedding() ModelUsageValue
- func (s *ModelUsagePurposeBreakdown) GetGeneration() ModelUsageValue
- func (s *ModelUsagePurposeBreakdown) GetPurpose() string
- func (s *ModelUsagePurposeBreakdown) MarshalJSON() ([]byte, error)
- func (s *ModelUsagePurposeBreakdown) SetEmbedding(val ModelUsageValue)
- func (s *ModelUsagePurposeBreakdown) SetGeneration(val ModelUsageValue)
- func (s *ModelUsagePurposeBreakdown) SetPurpose(val string)
- func (s *ModelUsagePurposeBreakdown) UnmarshalJSON(data []byte) error
- func (s *ModelUsagePurposeBreakdown) Validate() error
- type ModelUsageStatistics
- func (s *ModelUsageStatistics) Decode(d *jx.Decoder) error
- func (s *ModelUsageStatistics) Encode(e *jx.Encoder)
- func (s *ModelUsageStatistics) GetEmbedding() ModelUsageValue
- func (s *ModelUsageStatistics) GetGeneration() ModelUsageValue
- func (s *ModelUsageStatistics) MarshalJSON() ([]byte, error)
- func (s *ModelUsageStatistics) SetEmbedding(val ModelUsageValue)
- func (s *ModelUsageStatistics) SetGeneration(val ModelUsageValue)
- func (s *ModelUsageStatistics) UnmarshalJSON(data []byte) error
- func (s *ModelUsageStatistics) Validate() error
- type ModelUsageValue
- func (s *ModelUsageValue) Decode(d *jx.Decoder) error
- func (s *ModelUsageValue) Encode(e *jx.Encoder)
- func (s *ModelUsageValue) GetInputTokens() NilInt
- func (s *ModelUsageValue) GetOutputTokens() NilInt
- func (s *ModelUsageValue) GetRequests() int
- func (s *ModelUsageValue) MarshalJSON() ([]byte, error)
- func (s *ModelUsageValue) SetInputTokens(val NilInt)
- func (s *ModelUsageValue) SetOutputTokens(val NilInt)
- func (s *ModelUsageValue) SetRequests(val int)
- func (s *ModelUsageValue) UnmarshalJSON(data []byte) error
- func (s *ModelUsageValue) Validate() error
- type NilArtifactCandidate
- func (o *NilArtifactCandidate) Decode(d *jx.Decoder) error
- func (o NilArtifactCandidate) Encode(e *jx.Encoder)
- func (o NilArtifactCandidate) Get() (v ArtifactCandidate, ok bool)
- func (o NilArtifactCandidate) IsNull() bool
- func (s NilArtifactCandidate) MarshalJSON() ([]byte, error)
- func (o NilArtifactCandidate) Or(d ArtifactCandidate) ArtifactCandidate
- func (o *NilArtifactCandidate) SetTo(v ArtifactCandidate)
- func (o *NilArtifactCandidate) SetToNull()
- func (s *NilArtifactCandidate) UnmarshalJSON(data []byte) error
- type NilArtifactReference
- func (o *NilArtifactReference) Decode(d *jx.Decoder) error
- func (o NilArtifactReference) Encode(e *jx.Encoder)
- func (o NilArtifactReference) Get() (v ArtifactReference, ok bool)
- func (o NilArtifactReference) IsNull() bool
- func (s NilArtifactReference) MarshalJSON() ([]byte, error)
- func (o NilArtifactReference) Or(d ArtifactReference) ArtifactReference
- func (o *NilArtifactReference) SetTo(v ArtifactReference)
- func (o *NilArtifactReference) SetToNull()
- func (s *NilArtifactReference) UnmarshalJSON(data []byte) error
- type NilDateTime
- func (o *NilDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o NilDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o NilDateTime) Get() (v time.Time, ok bool)
- func (o NilDateTime) IsNull() bool
- func (s NilDateTime) MarshalJSON() ([]byte, error)
- func (o NilDateTime) Or(d time.Time) time.Time
- func (o *NilDateTime) SetTo(v time.Time)
- func (o *NilDateTime) SetToNull()
- func (s *NilDateTime) UnmarshalJSON(data []byte) error
- type NilErrorDetailDetails
- func (o *NilErrorDetailDetails) Decode(d *jx.Decoder) error
- func (o NilErrorDetailDetails) Encode(e *jx.Encoder)
- func (o NilErrorDetailDetails) Get() (v ErrorDetailDetails, ok bool)
- func (o NilErrorDetailDetails) IsNull() bool
- func (s NilErrorDetailDetails) MarshalJSON() ([]byte, error)
- func (o NilErrorDetailDetails) Or(d ErrorDetailDetails) ErrorDetailDetails
- func (o *NilErrorDetailDetails) SetTo(v ErrorDetailDetails)
- func (o *NilErrorDetailDetails) SetToNull()
- func (s *NilErrorDetailDetails) UnmarshalJSON(data []byte) error
- type NilHandoffCitation
- func (o *NilHandoffCitation) Decode(d *jx.Decoder) error
- func (o NilHandoffCitation) Encode(e *jx.Encoder)
- func (o NilHandoffCitation) Get() (v HandoffCitation, ok bool)
- func (o NilHandoffCitation) IsNull() bool
- func (s NilHandoffCitation) MarshalJSON() ([]byte, error)
- func (o NilHandoffCitation) Or(d HandoffCitation) HandoffCitation
- func (o *NilHandoffCitation) SetTo(v HandoffCitation)
- func (o *NilHandoffCitation) SetToNull()
- func (s *NilHandoffCitation) UnmarshalJSON(data []byte) error
- type NilHandoffContent
- func (o *NilHandoffContent) Decode(d *jx.Decoder) error
- func (o NilHandoffContent) Encode(e *jx.Encoder)
- func (o NilHandoffContent) Get() (v HandoffContent, ok bool)
- func (o NilHandoffContent) IsNull() bool
- func (s NilHandoffContent) MarshalJSON() ([]byte, error)
- func (o NilHandoffContent) Or(d HandoffContent) HandoffContent
- func (o *NilHandoffContent) SetTo(v HandoffContent)
- func (o *NilHandoffContent) SetToNull()
- func (s *NilHandoffContent) UnmarshalJSON(data []byte) error
- type NilHandoffDraft
- func (o *NilHandoffDraft) Decode(d *jx.Decoder) error
- func (o NilHandoffDraft) Encode(e *jx.Encoder)
- func (o NilHandoffDraft) Get() (v HandoffDraft, ok bool)
- func (o NilHandoffDraft) IsNull() bool
- func (s NilHandoffDraft) MarshalJSON() ([]byte, error)
- func (o NilHandoffDraft) Or(d HandoffDraft) HandoffDraft
- func (o *NilHandoffDraft) SetTo(v HandoffDraft)
- func (o *NilHandoffDraft) SetToNull()
- func (s *NilHandoffDraft) UnmarshalJSON(data []byte) error
- type NilHandoffReportActivityAgent
- func (o *NilHandoffReportActivityAgent) Decode(d *jx.Decoder) error
- func (o NilHandoffReportActivityAgent) Encode(e *jx.Encoder)
- func (o NilHandoffReportActivityAgent) Get() (v HandoffReportActivityAgent, ok bool)
- func (o NilHandoffReportActivityAgent) IsNull() bool
- func (s NilHandoffReportActivityAgent) MarshalJSON() ([]byte, error)
- func (o NilHandoffReportActivityAgent) Or(d HandoffReportActivityAgent) HandoffReportActivityAgent
- func (o *NilHandoffReportActivityAgent) SetTo(v HandoffReportActivityAgent)
- func (o *NilHandoffReportActivityAgent) SetToNull()
- func (s *NilHandoffReportActivityAgent) UnmarshalJSON(data []byte) error
- type NilHandoffReportActivityVcsContext
- func (o *NilHandoffReportActivityVcsContext) Decode(d *jx.Decoder) error
- func (o NilHandoffReportActivityVcsContext) Encode(e *jx.Encoder)
- func (o NilHandoffReportActivityVcsContext) Get() (v HandoffReportActivityVcsContext, ok bool)
- func (o NilHandoffReportActivityVcsContext) IsNull() bool
- func (s NilHandoffReportActivityVcsContext) MarshalJSON() ([]byte, error)
- func (o NilHandoffReportActivityVcsContext) Or(d HandoffReportActivityVcsContext) HandoffReportActivityVcsContext
- func (o *NilHandoffReportActivityVcsContext) SetTo(v HandoffReportActivityVcsContext)
- func (o *NilHandoffReportActivityVcsContext) SetToNull()
- func (s *NilHandoffReportActivityVcsContext) UnmarshalJSON(data []byte) error
- type NilHandoffReportExternalReference
- func (o *NilHandoffReportExternalReference) Decode(d *jx.Decoder) error
- func (o NilHandoffReportExternalReference) Encode(e *jx.Encoder)
- func (o NilHandoffReportExternalReference) Get() (v HandoffReportExternalReference, ok bool)
- func (o NilHandoffReportExternalReference) IsNull() bool
- func (s NilHandoffReportExternalReference) MarshalJSON() ([]byte, error)
- func (o NilHandoffReportExternalReference) Or(d HandoffReportExternalReference) HandoffReportExternalReference
- func (o *NilHandoffReportExternalReference) SetTo(v HandoffReportExternalReference)
- func (o *NilHandoffReportExternalReference) SetToNull()
- func (s *NilHandoffReportExternalReference) UnmarshalJSON(data []byte) error
- type NilHandoffReportResponseReport
- func (o *NilHandoffReportResponseReport) Decode(d *jx.Decoder) error
- func (o NilHandoffReportResponseReport) Encode(e *jx.Encoder)
- func (o NilHandoffReportResponseReport) Get() (v HandoffReportResponseReport, ok bool)
- func (o NilHandoffReportResponseReport) IsNull() bool
- func (s NilHandoffReportResponseReport) MarshalJSON() ([]byte, error)
- func (o NilHandoffReportResponseReport) Or(d HandoffReportResponseReport) HandoffReportResponseReport
- func (o *NilHandoffReportResponseReport) SetTo(v HandoffReportResponseReport)
- func (o *NilHandoffReportResponseReport) SetToNull()
- func (s *NilHandoffReportResponseReport) UnmarshalJSON(data []byte) error
- type NilHandoffSelection
- func (o *NilHandoffSelection) Decode(d *jx.Decoder) error
- func (o NilHandoffSelection) Encode(e *jx.Encoder)
- func (o NilHandoffSelection) Get() (v HandoffSelection, ok bool)
- func (o NilHandoffSelection) IsNull() bool
- func (s NilHandoffSelection) MarshalJSON() ([]byte, error)
- func (o NilHandoffSelection) Or(d HandoffSelection) HandoffSelection
- func (o *NilHandoffSelection) SetTo(v HandoffSelection)
- func (o *NilHandoffSelection) SetToNull()
- func (s *NilHandoffSelection) UnmarshalJSON(data []byte) error
- type NilHandoffStatement
- func (o *NilHandoffStatement) Decode(d *jx.Decoder) error
- func (o NilHandoffStatement) Encode(e *jx.Encoder)
- func (o NilHandoffStatement) Get() (v HandoffStatement, ok bool)
- func (o NilHandoffStatement) IsNull() bool
- func (s NilHandoffStatement) MarshalJSON() ([]byte, error)
- func (o NilHandoffStatement) Or(d HandoffStatement) HandoffStatement
- func (o *NilHandoffStatement) SetTo(v HandoffStatement)
- func (o *NilHandoffStatement) SetToNull()
- func (s *NilHandoffStatement) UnmarshalJSON(data []byte) error
- type NilInt
- func (o *NilInt) Decode(d *jx.Decoder) error
- func (o NilInt) Encode(e *jx.Encoder)
- func (o NilInt) Get() (v int, ok bool)
- func (o NilInt) IsNull() bool
- func (s NilInt) MarshalJSON() ([]byte, error)
- func (o NilInt) Or(d int) int
- func (o *NilInt) SetTo(v int)
- func (o *NilInt) SetToNull()
- func (s *NilInt) UnmarshalJSON(data []byte) error
- type NilString
- func (o *NilString) Decode(d *jx.Decoder) error
- func (o NilString) Encode(e *jx.Encoder)
- func (o NilString) Get() (v string, ok bool)
- func (o NilString) IsNull() bool
- func (s NilString) MarshalJSON() ([]byte, error)
- func (o NilString) Or(d string) string
- func (o *NilString) SetTo(v string)
- func (o *NilString) SetToNull()
- func (s *NilString) UnmarshalJSON(data []byte) error
- type NilTokenEstimatorProfile
- func (o *NilTokenEstimatorProfile) Decode(d *jx.Decoder) error
- func (o NilTokenEstimatorProfile) Encode(e *jx.Encoder)
- func (o NilTokenEstimatorProfile) Get() (v TokenEstimatorProfile, ok bool)
- func (o NilTokenEstimatorProfile) IsNull() bool
- func (s NilTokenEstimatorProfile) MarshalJSON() ([]byte, error)
- func (o NilTokenEstimatorProfile) Or(d TokenEstimatorProfile) TokenEstimatorProfile
- func (o *NilTokenEstimatorProfile) SetTo(v TokenEstimatorProfile)
- func (o *NilTokenEstimatorProfile) SetToNull()
- func (s *NilTokenEstimatorProfile) UnmarshalJSON(data []byte) error
- type NilWorkClaim
- func (o *NilWorkClaim) Decode(d *jx.Decoder) error
- func (o NilWorkClaim) Encode(e *jx.Encoder)
- func (o NilWorkClaim) Get() (v WorkClaim, ok bool)
- func (o NilWorkClaim) IsNull() bool
- func (s NilWorkClaim) MarshalJSON() ([]byte, error)
- func (o NilWorkClaim) Or(d WorkClaim) WorkClaim
- func (o *NilWorkClaim) SetTo(v WorkClaim)
- func (o *NilWorkClaim) SetToNull()
- func (s *NilWorkClaim) UnmarshalJSON(data []byte) error
- type NotFoundHeaders
- type OperationName
- type OptBool
- func (o *OptBool) Decode(d *jx.Decoder) error
- func (o OptBool) Encode(e *jx.Encoder)
- func (o OptBool) Get() (v bool, ok bool)
- func (o OptBool) IsSet() bool
- func (s OptBool) MarshalJSON() ([]byte, error)
- func (o OptBool) Or(d bool) bool
- func (o *OptBool) Reset()
- func (o *OptBool) SetTo(v bool)
- func (s *OptBool) UnmarshalJSON(data []byte) error
- type OptCandidateStatus
- func (o *OptCandidateStatus) Decode(d *jx.Decoder) error
- func (o OptCandidateStatus) Encode(e *jx.Encoder)
- func (o OptCandidateStatus) Get() (v CandidateStatus, ok bool)
- func (o OptCandidateStatus) IsSet() bool
- func (s OptCandidateStatus) MarshalJSON() ([]byte, error)
- func (o OptCandidateStatus) Or(d CandidateStatus) CandidateStatus
- func (o *OptCandidateStatus) Reset()
- func (o *OptCandidateStatus) SetTo(v CandidateStatus)
- func (s *OptCandidateStatus) UnmarshalJSON(data []byte) error
- type OptGetHandoffReportOKCacheControl
- func (o OptGetHandoffReportOKCacheControl) Get() (v GetHandoffReportOKCacheControl, ok bool)
- func (o OptGetHandoffReportOKCacheControl) IsSet() bool
- func (o OptGetHandoffReportOKCacheControl) Or(d GetHandoffReportOKCacheControl) GetHandoffReportOKCacheControl
- func (o *OptGetHandoffReportOKCacheControl) Reset()
- func (o *OptGetHandoffReportOKCacheControl) SetTo(v GetHandoffReportOKCacheControl)
- type OptGetStatsOKCacheControl
- func (o OptGetStatsOKCacheControl) Get() (v GetStatsOKCacheControl, ok bool)
- func (o OptGetStatsOKCacheControl) IsSet() bool
- func (o OptGetStatsOKCacheControl) Or(d GetStatsOKCacheControl) GetStatsOKCacheControl
- func (o *OptGetStatsOKCacheControl) Reset()
- func (o *OptGetStatsOKCacheControl) SetTo(v GetStatsOKCacheControl)
- type OptInt
- func (o *OptInt) Decode(d *jx.Decoder) error
- func (o OptInt) Encode(e *jx.Encoder)
- func (o OptInt) Get() (v int, ok bool)
- func (o OptInt) IsSet() bool
- func (s OptInt) MarshalJSON() ([]byte, error)
- func (o OptInt) Or(d int) int
- func (o *OptInt) Reset()
- func (o *OptInt) SetTo(v int)
- func (s *OptInt) UnmarshalJSON(data []byte) error
- type OptMemorySearchMode
- func (o *OptMemorySearchMode) Decode(d *jx.Decoder) error
- func (o OptMemorySearchMode) Encode(e *jx.Encoder)
- func (o OptMemorySearchMode) Get() (v MemorySearchMode, ok bool)
- func (o OptMemorySearchMode) IsSet() bool
- func (s OptMemorySearchMode) MarshalJSON() ([]byte, error)
- func (o OptMemorySearchMode) Or(d MemorySearchMode) MemorySearchMode
- func (o *OptMemorySearchMode) Reset()
- func (o *OptMemorySearchMode) SetTo(v MemorySearchMode)
- func (s *OptMemorySearchMode) UnmarshalJSON(data []byte) error
- type OptNilArtifactReference
- func (o *OptNilArtifactReference) Decode(d *jx.Decoder) error
- func (o OptNilArtifactReference) Encode(e *jx.Encoder)
- func (o OptNilArtifactReference) Get() (v ArtifactReference, ok bool)
- func (o OptNilArtifactReference) IsEmpty() bool
- func (o OptNilArtifactReference) IsNull() bool
- func (o OptNilArtifactReference) IsSet() bool
- func (s OptNilArtifactReference) MarshalJSON() ([]byte, error)
- func (o OptNilArtifactReference) Or(d ArtifactReference) ArtifactReference
- func (o *OptNilArtifactReference) Reset()
- func (o *OptNilArtifactReference) SetTo(v ArtifactReference)
- func (o *OptNilArtifactReference) SetToNull()
- func (s *OptNilArtifactReference) UnmarshalJSON(data []byte) error
- type OptNilCandidateFamily
- func (o *OptNilCandidateFamily) Decode(d *jx.Decoder) error
- func (o OptNilCandidateFamily) Encode(e *jx.Encoder)
- func (o OptNilCandidateFamily) Get() (v CandidateFamily, ok bool)
- func (o OptNilCandidateFamily) IsEmpty() bool
- func (o OptNilCandidateFamily) IsNull() bool
- func (o OptNilCandidateFamily) IsSet() bool
- func (s OptNilCandidateFamily) MarshalJSON() ([]byte, error)
- func (o OptNilCandidateFamily) Or(d CandidateFamily) CandidateFamily
- func (o *OptNilCandidateFamily) Reset()
- func (o *OptNilCandidateFamily) SetTo(v CandidateFamily)
- func (o *OptNilCandidateFamily) SetToNull()
- func (s *OptNilCandidateFamily) UnmarshalJSON(data []byte) error
- type OptNilCaptureContentSourceRequestMetadata
- func (o *OptNilCaptureContentSourceRequestMetadata) Decode(d *jx.Decoder) error
- func (o OptNilCaptureContentSourceRequestMetadata) Encode(e *jx.Encoder)
- func (o OptNilCaptureContentSourceRequestMetadata) Get() (v CaptureContentSourceRequestMetadata, ok bool)
- func (o OptNilCaptureContentSourceRequestMetadata) IsEmpty() bool
- func (o OptNilCaptureContentSourceRequestMetadata) IsNull() bool
- func (o OptNilCaptureContentSourceRequestMetadata) IsSet() bool
- func (s OptNilCaptureContentSourceRequestMetadata) MarshalJSON() ([]byte, error)
- func (o OptNilCaptureContentSourceRequestMetadata) Or(d CaptureContentSourceRequestMetadata) CaptureContentSourceRequestMetadata
- func (o *OptNilCaptureContentSourceRequestMetadata) Reset()
- func (o *OptNilCaptureContentSourceRequestMetadata) SetTo(v CaptureContentSourceRequestMetadata)
- func (o *OptNilCaptureContentSourceRequestMetadata) SetToNull()
- func (s *OptNilCaptureContentSourceRequestMetadata) UnmarshalJSON(data []byte) error
- type OptNilDateTime
- func (o *OptNilDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptNilDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptNilDateTime) Get() (v time.Time, ok bool)
- func (o OptNilDateTime) IsEmpty() bool
- func (o OptNilDateTime) IsNull() bool
- func (o OptNilDateTime) IsSet() bool
- func (s OptNilDateTime) MarshalJSON() ([]byte, error)
- func (o OptNilDateTime) Or(d time.Time) time.Time
- func (o *OptNilDateTime) Reset()
- func (o *OptNilDateTime) SetTo(v time.Time)
- func (o *OptNilDateTime) SetToNull()
- func (s *OptNilDateTime) UnmarshalJSON(data []byte) error
- type OptNilHandoffReportActivityAgent
- func (o *OptNilHandoffReportActivityAgent) Decode(d *jx.Decoder) error
- func (o OptNilHandoffReportActivityAgent) Encode(e *jx.Encoder)
- func (o OptNilHandoffReportActivityAgent) Get() (v HandoffReportActivityAgent, ok bool)
- func (o OptNilHandoffReportActivityAgent) IsEmpty() bool
- func (o OptNilHandoffReportActivityAgent) IsNull() bool
- func (o OptNilHandoffReportActivityAgent) IsSet() bool
- func (s OptNilHandoffReportActivityAgent) MarshalJSON() ([]byte, error)
- func (o OptNilHandoffReportActivityAgent) Or(d HandoffReportActivityAgent) HandoffReportActivityAgent
- func (o *OptNilHandoffReportActivityAgent) Reset()
- func (o *OptNilHandoffReportActivityAgent) SetTo(v HandoffReportActivityAgent)
- func (o *OptNilHandoffReportActivityAgent) SetToNull()
- func (s *OptNilHandoffReportActivityAgent) UnmarshalJSON(data []byte) error
- type OptNilHandoffReportActivityVcsContext
- func (o *OptNilHandoffReportActivityVcsContext) Decode(d *jx.Decoder) error
- func (o OptNilHandoffReportActivityVcsContext) Encode(e *jx.Encoder)
- func (o OptNilHandoffReportActivityVcsContext) Get() (v HandoffReportActivityVcsContext, ok bool)
- func (o OptNilHandoffReportActivityVcsContext) IsEmpty() bool
- func (o OptNilHandoffReportActivityVcsContext) IsNull() bool
- func (o OptNilHandoffReportActivityVcsContext) IsSet() bool
- func (s OptNilHandoffReportActivityVcsContext) MarshalJSON() ([]byte, error)
- func (o OptNilHandoffReportActivityVcsContext) Or(d HandoffReportActivityVcsContext) HandoffReportActivityVcsContext
- func (o *OptNilHandoffReportActivityVcsContext) Reset()
- func (o *OptNilHandoffReportActivityVcsContext) SetTo(v HandoffReportActivityVcsContext)
- func (o *OptNilHandoffReportActivityVcsContext) SetToNull()
- func (s *OptNilHandoffReportActivityVcsContext) UnmarshalJSON(data []byte) error
- type OptNilHandoffReportExternalReference
- func (o *OptNilHandoffReportExternalReference) Decode(d *jx.Decoder) error
- func (o OptNilHandoffReportExternalReference) Encode(e *jx.Encoder)
- func (o OptNilHandoffReportExternalReference) Get() (v HandoffReportExternalReference, ok bool)
- func (o OptNilHandoffReportExternalReference) IsEmpty() bool
- func (o OptNilHandoffReportExternalReference) IsNull() bool
- func (o OptNilHandoffReportExternalReference) IsSet() bool
- func (s OptNilHandoffReportExternalReference) MarshalJSON() ([]byte, error)
- func (o OptNilHandoffReportExternalReference) Or(d HandoffReportExternalReference) HandoffReportExternalReference
- func (o *OptNilHandoffReportExternalReference) Reset()
- func (o *OptNilHandoffReportExternalReference) SetTo(v HandoffReportExternalReference)
- func (o *OptNilHandoffReportExternalReference) SetToNull()
- func (s *OptNilHandoffReportExternalReference) UnmarshalJSON(data []byte) error
- type OptNilHandoffReportPeriodRequest
- func (o *OptNilHandoffReportPeriodRequest) Decode(d *jx.Decoder) error
- func (o OptNilHandoffReportPeriodRequest) Encode(e *jx.Encoder)
- func (o OptNilHandoffReportPeriodRequest) Get() (v HandoffReportPeriodRequest, ok bool)
- func (o OptNilHandoffReportPeriodRequest) IsEmpty() bool
- func (o OptNilHandoffReportPeriodRequest) IsNull() bool
- func (o OptNilHandoffReportPeriodRequest) IsSet() bool
- func (s OptNilHandoffReportPeriodRequest) MarshalJSON() ([]byte, error)
- func (o OptNilHandoffReportPeriodRequest) Or(d HandoffReportPeriodRequest) HandoffReportPeriodRequest
- func (o *OptNilHandoffReportPeriodRequest) Reset()
- func (o *OptNilHandoffReportPeriodRequest) SetTo(v HandoffReportPeriodRequest)
- func (o *OptNilHandoffReportPeriodRequest) SetToNull()
- func (s *OptNilHandoffReportPeriodRequest) UnmarshalJSON(data []byte) error
- type OptNilInt
- func (o *OptNilInt) Decode(d *jx.Decoder) error
- func (o OptNilInt) Encode(e *jx.Encoder)
- func (o OptNilInt) Get() (v int, ok bool)
- func (o OptNilInt) IsEmpty() bool
- func (o OptNilInt) IsNull() bool
- func (o OptNilInt) IsSet() bool
- func (s OptNilInt) MarshalJSON() ([]byte, error)
- func (o OptNilInt) Or(d int) int
- func (o *OptNilInt) Reset()
- func (o *OptNilInt) SetTo(v int)
- func (o *OptNilInt) SetToNull()
- func (s *OptNilInt) UnmarshalJSON(data []byte) error
- type OptNilMemoryEntry
- func (o *OptNilMemoryEntry) Decode(d *jx.Decoder) error
- func (o OptNilMemoryEntry) Encode(e *jx.Encoder)
- func (o OptNilMemoryEntry) Get() (v MemoryEntry, ok bool)
- func (o OptNilMemoryEntry) IsEmpty() bool
- func (o OptNilMemoryEntry) IsNull() bool
- func (o OptNilMemoryEntry) IsSet() bool
- func (s OptNilMemoryEntry) MarshalJSON() ([]byte, error)
- func (o OptNilMemoryEntry) Or(d MemoryEntry) MemoryEntry
- func (o *OptNilMemoryEntry) Reset()
- func (o *OptNilMemoryEntry) SetTo(v MemoryEntry)
- func (o *OptNilMemoryEntry) SetToNull()
- func (s *OptNilMemoryEntry) UnmarshalJSON(data []byte) error
- type OptNilMemoryUsedSearchMode
- func (o *OptNilMemoryUsedSearchMode) Decode(d *jx.Decoder) error
- func (o OptNilMemoryUsedSearchMode) Encode(e *jx.Encoder)
- func (o OptNilMemoryUsedSearchMode) Get() (v MemoryUsedSearchMode, ok bool)
- func (o OptNilMemoryUsedSearchMode) IsEmpty() bool
- func (o OptNilMemoryUsedSearchMode) IsNull() bool
- func (o OptNilMemoryUsedSearchMode) IsSet() bool
- func (s OptNilMemoryUsedSearchMode) MarshalJSON() ([]byte, error)
- func (o OptNilMemoryUsedSearchMode) Or(d MemoryUsedSearchMode) MemoryUsedSearchMode
- func (o *OptNilMemoryUsedSearchMode) Reset()
- func (o *OptNilMemoryUsedSearchMode) SetTo(v MemoryUsedSearchMode)
- func (o *OptNilMemoryUsedSearchMode) SetToNull()
- func (s *OptNilMemoryUsedSearchMode) UnmarshalJSON(data []byte) error
- type OptNilPreparedHandoff
- func (o *OptNilPreparedHandoff) Decode(d *jx.Decoder) error
- func (o OptNilPreparedHandoff) Encode(e *jx.Encoder)
- func (o OptNilPreparedHandoff) Get() (v PreparedHandoff, ok bool)
- func (o OptNilPreparedHandoff) IsEmpty() bool
- func (o OptNilPreparedHandoff) IsNull() bool
- func (o OptNilPreparedHandoff) IsSet() bool
- func (s OptNilPreparedHandoff) MarshalJSON() ([]byte, error)
- func (o OptNilPreparedHandoff) Or(d PreparedHandoff) PreparedHandoff
- func (o *OptNilPreparedHandoff) Reset()
- func (o *OptNilPreparedHandoff) SetTo(v PreparedHandoff)
- func (o *OptNilPreparedHandoff) SetToNull()
- func (s *OptNilPreparedHandoff) UnmarshalJSON(data []byte) error
- type OptNilReceiverChecks
- func (o *OptNilReceiverChecks) Decode(d *jx.Decoder) error
- func (o OptNilReceiverChecks) Encode(e *jx.Encoder)
- func (o OptNilReceiverChecks) Get() (v ReceiverChecks, ok bool)
- func (o OptNilReceiverChecks) IsEmpty() bool
- func (o OptNilReceiverChecks) IsNull() bool
- func (o OptNilReceiverChecks) IsSet() bool
- func (s OptNilReceiverChecks) MarshalJSON() ([]byte, error)
- func (o OptNilReceiverChecks) Or(d ReceiverChecks) ReceiverChecks
- func (o *OptNilReceiverChecks) Reset()
- func (o *OptNilReceiverChecks) SetTo(v ReceiverChecks)
- func (o *OptNilReceiverChecks) SetToNull()
- func (s *OptNilReceiverChecks) UnmarshalJSON(data []byte) error
- type OptNilReportActivitySourceArray
- func (o *OptNilReportActivitySourceArray) Decode(d *jx.Decoder) error
- func (o OptNilReportActivitySourceArray) Encode(e *jx.Encoder)
- func (o OptNilReportActivitySourceArray) Get() (v []ReportActivitySource, ok bool)
- func (o OptNilReportActivitySourceArray) IsEmpty() bool
- func (o OptNilReportActivitySourceArray) IsNull() bool
- func (o OptNilReportActivitySourceArray) IsSet() bool
- func (s OptNilReportActivitySourceArray) MarshalJSON() ([]byte, error)
- func (o OptNilReportActivitySourceArray) Or(d []ReportActivitySource) []ReportActivitySource
- func (o *OptNilReportActivitySourceArray) Reset()
- func (o *OptNilReportActivitySourceArray) SetTo(v []ReportActivitySource)
- func (o *OptNilReportActivitySourceArray) SetToNull()
- func (s *OptNilReportActivitySourceArray) UnmarshalJSON(data []byte) error
- type OptNilReportLocale
- func (o *OptNilReportLocale) Decode(d *jx.Decoder) error
- func (o OptNilReportLocale) Encode(e *jx.Encoder)
- func (o OptNilReportLocale) Get() (v ReportLocale, ok bool)
- func (o OptNilReportLocale) IsEmpty() bool
- func (o OptNilReportLocale) IsNull() bool
- func (o OptNilReportLocale) IsSet() bool
- func (s OptNilReportLocale) MarshalJSON() ([]byte, error)
- func (o OptNilReportLocale) Or(d ReportLocale) ReportLocale
- func (o *OptNilReportLocale) Reset()
- func (o *OptNilReportLocale) SetTo(v ReportLocale)
- func (o *OptNilReportLocale) SetToNull()
- func (s *OptNilReportLocale) UnmarshalJSON(data []byte) error
- type OptNilSourceReference
- func (o *OptNilSourceReference) Decode(d *jx.Decoder) error
- func (o OptNilSourceReference) Encode(e *jx.Encoder)
- func (o OptNilSourceReference) Get() (v SourceReference, ok bool)
- func (o OptNilSourceReference) IsEmpty() bool
- func (o OptNilSourceReference) IsNull() bool
- func (o OptNilSourceReference) IsSet() bool
- func (s OptNilSourceReference) MarshalJSON() ([]byte, error)
- func (o OptNilSourceReference) Or(d SourceReference) SourceReference
- func (o *OptNilSourceReference) Reset()
- func (o *OptNilSourceReference) SetTo(v SourceReference)
- func (o *OptNilSourceReference) SetToNull()
- func (s *OptNilSourceReference) UnmarshalJSON(data []byte) error
- type OptNilString
- func (o *OptNilString) Decode(d *jx.Decoder) error
- func (o OptNilString) Encode(e *jx.Encoder)
- func (o OptNilString) Get() (v string, ok bool)
- func (o OptNilString) IsEmpty() bool
- func (o OptNilString) IsNull() bool
- func (o OptNilString) IsSet() bool
- func (s OptNilString) MarshalJSON() ([]byte, error)
- func (o OptNilString) Or(d string) string
- func (o *OptNilString) Reset()
- func (o *OptNilString) SetTo(v string)
- func (o *OptNilString) SetToNull()
- func (s *OptNilString) UnmarshalJSON(data []byte) error
- type OptReportCatalogState
- func (o *OptReportCatalogState) Decode(d *jx.Decoder) error
- func (o OptReportCatalogState) Encode(e *jx.Encoder)
- func (o OptReportCatalogState) Get() (v ReportCatalogState, ok bool)
- func (o OptReportCatalogState) IsSet() bool
- func (s OptReportCatalogState) MarshalJSON() ([]byte, error)
- func (o OptReportCatalogState) Or(d ReportCatalogState) ReportCatalogState
- func (o *OptReportCatalogState) Reset()
- func (o *OptReportCatalogState) SetTo(v ReportCatalogState)
- func (s *OptReportCatalogState) UnmarshalJSON(data []byte) error
- type OptReportFormat
- func (o *OptReportFormat) Decode(d *jx.Decoder) error
- func (o OptReportFormat) Encode(e *jx.Encoder)
- func (o OptReportFormat) Get() (v ReportFormat, ok bool)
- func (o OptReportFormat) IsSet() bool
- func (s OptReportFormat) MarshalJSON() ([]byte, error)
- func (o OptReportFormat) Or(d ReportFormat) ReportFormat
- func (o *OptReportFormat) Reset()
- func (o *OptReportFormat) SetTo(v ReportFormat)
- func (s *OptReportFormat) UnmarshalJSON(data []byte) error
- type OptReportLocale
- func (o *OptReportLocale) Decode(d *jx.Decoder) error
- func (o OptReportLocale) Encode(e *jx.Encoder)
- func (o OptReportLocale) Get() (v ReportLocale, ok bool)
- func (o OptReportLocale) IsSet() bool
- func (s OptReportLocale) MarshalJSON() ([]byte, error)
- func (o OptReportLocale) Or(d ReportLocale) ReportLocale
- func (o *OptReportLocale) Reset()
- func (o *OptReportLocale) SetTo(v ReportLocale)
- func (s *OptReportLocale) UnmarshalJSON(data []byte) error
- type OptStatsPeriod
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- type Option
- type PrepareContextRequest
- func (s *PrepareContextRequest) Decode(d *jx.Decoder) error
- func (s *PrepareContextRequest) Encode(e *jx.Encoder)
- func (s *PrepareContextRequest) GetMaxBytes() OptInt
- func (s *PrepareContextRequest) GetQuery() string
- func (s *PrepareContextRequest) GetScopeID() string
- func (s *PrepareContextRequest) MarshalJSON() ([]byte, error)
- func (s *PrepareContextRequest) SetMaxBytes(val OptInt)
- func (s *PrepareContextRequest) SetQuery(val string)
- func (s *PrepareContextRequest) SetScopeID(val string)
- func (s *PrepareContextRequest) UnmarshalJSON(data []byte) error
- func (s *PrepareContextRequest) Validate() error
- type PrepareContextRes
- type PrepareHandoffRequest
- func (s *PrepareHandoffRequest) Decode(d *jx.Decoder) error
- func (s *PrepareHandoffRequest) Encode(e *jx.Encoder)
- func (s *PrepareHandoffRequest) GetEvidence() []HandoffCitation
- func (s *PrepareHandoffRequest) GetMaxBytes() OptInt
- func (s *PrepareHandoffRequest) GetObjective() string
- func (s *PrepareHandoffRequest) GetScopeID() string
- func (s *PrepareHandoffRequest) MarshalJSON() ([]byte, error)
- func (s *PrepareHandoffRequest) SetEvidence(val []HandoffCitation)
- func (s *PrepareHandoffRequest) SetMaxBytes(val OptInt)
- func (s *PrepareHandoffRequest) SetObjective(val string)
- func (s *PrepareHandoffRequest) SetScopeID(val string)
- func (s *PrepareHandoffRequest) UnmarshalJSON(data []byte) error
- func (s *PrepareHandoffRequest) Validate() error
- type PrepareHandoffRes
- type PreparedContext
- func (s *PreparedContext) Decode(d *jx.Decoder) error
- func (s *PreparedContext) Encode(e *jx.Encoder)
- func (s *PreparedContext) GetContent() NilString
- func (s *PreparedContext) GetContentBytes() int
- func (s *PreparedContext) GetSchema() PreparedContextSchema
- func (s *PreparedContext) GetStatus() PreparedContextStatus
- func (s *PreparedContext) MarshalJSON() ([]byte, error)
- func (s *PreparedContext) SetContent(val NilString)
- func (s *PreparedContext) SetContentBytes(val int)
- func (s *PreparedContext) SetSchema(val PreparedContextSchema)
- func (s *PreparedContext) SetStatus(val PreparedContextStatus)
- func (s *PreparedContext) UnmarshalJSON(data []byte) error
- func (s *PreparedContext) Validate() error
- type PreparedContextHeaders
- func (s *PreparedContextHeaders) GetResponse() PreparedContext
- func (s *PreparedContextHeaders) GetXPowerContextRequestID() OptString
- func (s *PreparedContextHeaders) SetResponse(val PreparedContext)
- func (s *PreparedContextHeaders) SetXPowerContextRequestID(val OptString)
- func (s *PreparedContextHeaders) Validate() error
- type PreparedContextSchema
- func (PreparedContextSchema) AllValues() []PreparedContextSchema
- func (s *PreparedContextSchema) Decode(d *jx.Decoder) error
- func (s PreparedContextSchema) Encode(e *jx.Encoder)
- func (s PreparedContextSchema) MarshalJSON() ([]byte, error)
- func (s PreparedContextSchema) MarshalText() ([]byte, error)
- func (s *PreparedContextSchema) UnmarshalJSON(data []byte) error
- func (s *PreparedContextSchema) UnmarshalText(data []byte) error
- func (s PreparedContextSchema) Validate() error
- type PreparedContextStatus
- func (PreparedContextStatus) AllValues() []PreparedContextStatus
- func (s *PreparedContextStatus) Decode(d *jx.Decoder) error
- func (s PreparedContextStatus) Encode(e *jx.Encoder)
- func (s PreparedContextStatus) MarshalJSON() ([]byte, error)
- func (s PreparedContextStatus) MarshalText() ([]byte, error)
- func (s *PreparedContextStatus) UnmarshalJSON(data []byte) error
- func (s *PreparedContextStatus) UnmarshalText(data []byte) error
- func (s PreparedContextStatus) Validate() error
- type PreparedHandoff
- func (s *PreparedHandoff) Decode(d *jx.Decoder) error
- func (s *PreparedHandoff) Encode(e *jx.Encoder)
- func (s *PreparedHandoff) GetBase() NilArtifactReference
- func (s *PreparedHandoff) GetContent() HandoffContent
- func (s *PreparedHandoff) GetSchema() PreparedHandoffSchema
- func (s *PreparedHandoff) GetScopeID() string
- func (s *PreparedHandoff) MarshalJSON() ([]byte, error)
- func (s *PreparedHandoff) SetBase(val NilArtifactReference)
- func (s *PreparedHandoff) SetContent(val HandoffContent)
- func (s *PreparedHandoff) SetSchema(val PreparedHandoffSchema)
- func (s *PreparedHandoff) SetScopeID(val string)
- func (s *PreparedHandoff) UnmarshalJSON(data []byte) error
- func (s *PreparedHandoff) Validate() error
- type PreparedHandoffHeaders
- func (s *PreparedHandoffHeaders) GetResponse() PreparedHandoff
- func (s *PreparedHandoffHeaders) GetXPowerContextRequestID() OptString
- func (s *PreparedHandoffHeaders) SetResponse(val PreparedHandoff)
- func (s *PreparedHandoffHeaders) SetXPowerContextRequestID(val OptString)
- func (s *PreparedHandoffHeaders) Validate() error
- type PreparedHandoffSchema
- func (PreparedHandoffSchema) AllValues() []PreparedHandoffSchema
- func (s *PreparedHandoffSchema) Decode(d *jx.Decoder) error
- func (s PreparedHandoffSchema) Encode(e *jx.Encoder)
- func (s PreparedHandoffSchema) MarshalJSON() ([]byte, error)
- func (s PreparedHandoffSchema) MarshalText() ([]byte, error)
- func (s *PreparedHandoffSchema) UnmarshalJSON(data []byte) error
- func (s *PreparedHandoffSchema) UnmarshalText(data []byte) error
- func (s PreparedHandoffSchema) Validate() error
- type PreparedWorkHandoff
- func (s *PreparedWorkHandoff) Decode(d *jx.Decoder) error
- func (s *PreparedWorkHandoff) Encode(e *jx.Encoder)
- func (s *PreparedWorkHandoff) GetBoundary() WorkSourceReceipt
- func (s *PreparedWorkHandoff) GetHandoff() PreparedHandoff
- func (s *PreparedWorkHandoff) MarshalJSON() ([]byte, error)
- func (s *PreparedWorkHandoff) SetBoundary(val WorkSourceReceipt)
- func (s *PreparedWorkHandoff) SetHandoff(val PreparedHandoff)
- func (s *PreparedWorkHandoff) UnmarshalJSON(data []byte) error
- func (s *PreparedWorkHandoff) Validate() error
- type PreparedWorkHandoffHeaders
- func (s *PreparedWorkHandoffHeaders) GetResponse() PreparedWorkHandoff
- func (s *PreparedWorkHandoffHeaders) GetXPowerContextRequestID() OptString
- func (s *PreparedWorkHandoffHeaders) SetResponse(val PreparedWorkHandoff)
- func (s *PreparedWorkHandoffHeaders) SetXPowerContextRequestID(val OptString)
- func (s *PreparedWorkHandoffHeaders) Validate() error
- type ProjectDescriptor
- func (s *ProjectDescriptor) Decode(d *jx.Decoder) error
- func (s *ProjectDescriptor) Encode(e *jx.Encoder)
- func (s *ProjectDescriptor) GetCatalogState() ReportCatalogState
- func (s *ProjectDescriptor) GetDefaultLocale() ReportLocale
- func (s *ProjectDescriptor) GetDescription() NilString
- func (s *ProjectDescriptor) GetProjectID() string
- func (s *ProjectDescriptor) GetProjectKey() string
- func (s *ProjectDescriptor) GetSchema() ProjectDescriptorSchema
- func (s *ProjectDescriptor) GetTimezone() string
- func (s *ProjectDescriptor) GetTitle() string
- func (s *ProjectDescriptor) GetVersion() int
- func (s *ProjectDescriptor) MarshalJSON() ([]byte, error)
- func (s *ProjectDescriptor) SetCatalogState(val ReportCatalogState)
- func (s *ProjectDescriptor) SetDefaultLocale(val ReportLocale)
- func (s *ProjectDescriptor) SetDescription(val NilString)
- func (s *ProjectDescriptor) SetProjectID(val string)
- func (s *ProjectDescriptor) SetProjectKey(val string)
- func (s *ProjectDescriptor) SetSchema(val ProjectDescriptorSchema)
- func (s *ProjectDescriptor) SetTimezone(val string)
- func (s *ProjectDescriptor) SetTitle(val string)
- func (s *ProjectDescriptor) SetVersion(val int)
- func (s *ProjectDescriptor) UnmarshalJSON(data []byte) error
- func (s *ProjectDescriptor) Validate() error
- type ProjectDescriptorHeaders
- func (s *ProjectDescriptorHeaders) GetResponse() ProjectDescriptor
- func (s *ProjectDescriptorHeaders) GetXPowerContextRequestID() OptString
- func (s *ProjectDescriptorHeaders) SetResponse(val ProjectDescriptor)
- func (s *ProjectDescriptorHeaders) SetXPowerContextRequestID(val OptString)
- func (s *ProjectDescriptorHeaders) Validate() error
- type ProjectDescriptorSchema
- func (ProjectDescriptorSchema) AllValues() []ProjectDescriptorSchema
- func (s *ProjectDescriptorSchema) Decode(d *jx.Decoder) error
- func (s ProjectDescriptorSchema) Encode(e *jx.Encoder)
- func (s ProjectDescriptorSchema) MarshalJSON() ([]byte, error)
- func (s ProjectDescriptorSchema) MarshalText() ([]byte, error)
- func (s *ProjectDescriptorSchema) UnmarshalJSON(data []byte) error
- func (s *ProjectDescriptorSchema) UnmarshalText(data []byte) error
- func (s ProjectDescriptorSchema) Validate() error
- type ProjectPage
- func (s *ProjectPage) Decode(d *jx.Decoder) error
- func (s *ProjectPage) Encode(e *jx.Encoder)
- func (s *ProjectPage) GetItems() []ProjectDescriptor
- func (s *ProjectPage) GetNextCursor() NilString
- func (s *ProjectPage) MarshalJSON() ([]byte, error)
- func (s *ProjectPage) SetItems(val []ProjectDescriptor)
- func (s *ProjectPage) SetNextCursor(val NilString)
- func (s *ProjectPage) UnmarshalJSON(data []byte) error
- func (s *ProjectPage) Validate() error
- type ProjectPageHeaders
- type ProposeExperienceRequest
- func (s *ProposeExperienceRequest) Decode(d *jx.Decoder) error
- func (s *ProposeExperienceRequest) Encode(e *jx.Encoder)
- func (s *ProposeExperienceRequest) GetArtifactRefs() []ArtifactReference
- func (s *ProposeExperienceRequest) GetProposal() ExperienceProposal
- func (s *ProposeExperienceRequest) GetReason() OptNilString
- func (s *ProposeExperienceRequest) GetScopeID() string
- func (s *ProposeExperienceRequest) GetSourceRefs() []SourceReference
- func (s *ProposeExperienceRequest) GetTarget() OptNilArtifactReference
- func (s *ProposeExperienceRequest) MarshalJSON() ([]byte, error)
- func (s *ProposeExperienceRequest) SetArtifactRefs(val []ArtifactReference)
- func (s *ProposeExperienceRequest) SetProposal(val ExperienceProposal)
- func (s *ProposeExperienceRequest) SetReason(val OptNilString)
- func (s *ProposeExperienceRequest) SetScopeID(val string)
- func (s *ProposeExperienceRequest) SetSourceRefs(val []SourceReference)
- func (s *ProposeExperienceRequest) SetTarget(val OptNilArtifactReference)
- func (s *ProposeExperienceRequest) UnmarshalJSON(data []byte) error
- func (s *ProposeExperienceRequest) Validate() error
- type ProposeExperienceRes
- type ProposeSkillRequest
- func (s *ProposeSkillRequest) Decode(d *jx.Decoder) error
- func (s *ProposeSkillRequest) Encode(e *jx.Encoder)
- func (s *ProposeSkillRequest) GetArtifactRefs() []ArtifactReference
- func (s *ProposeSkillRequest) GetProposal() SkillProposal
- func (s *ProposeSkillRequest) GetReason() OptNilString
- func (s *ProposeSkillRequest) GetScopeID() string
- func (s *ProposeSkillRequest) GetSourceRefs() []SourceReference
- func (s *ProposeSkillRequest) GetTarget() OptNilArtifactReference
- func (s *ProposeSkillRequest) MarshalJSON() ([]byte, error)
- func (s *ProposeSkillRequest) SetArtifactRefs(val []ArtifactReference)
- func (s *ProposeSkillRequest) SetProposal(val SkillProposal)
- func (s *ProposeSkillRequest) SetReason(val OptNilString)
- func (s *ProposeSkillRequest) SetScopeID(val string)
- func (s *ProposeSkillRequest) SetSourceRefs(val []SourceReference)
- func (s *ProposeSkillRequest) SetTarget(val OptNilArtifactReference)
- func (s *ProposeSkillRequest) UnmarshalJSON(data []byte) error
- func (s *ProposeSkillRequest) Validate() error
- type ProposeSkillRes
- type PurgeHandoffReportActivitiesRequest
- func (s *PurgeHandoffReportActivitiesRequest) Decode(d *jx.Decoder) error
- func (s *PurgeHandoffReportActivitiesRequest) Encode(e *jx.Encoder)
- func (s *PurgeHandoffReportActivitiesRequest) GetObservedBefore() time.Time
- func (s *PurgeHandoffReportActivitiesRequest) GetProjectID() string
- func (s *PurgeHandoffReportActivitiesRequest) MarshalJSON() ([]byte, error)
- func (s *PurgeHandoffReportActivitiesRequest) SetObservedBefore(val time.Time)
- func (s *PurgeHandoffReportActivitiesRequest) SetProjectID(val string)
- func (s *PurgeHandoffReportActivitiesRequest) UnmarshalJSON(data []byte) error
- func (s *PurgeHandoffReportActivitiesRequest) Validate() error
- type PurgeHandoffReportActivitiesRes
- type PurgeHandoffReportActivitiesResponse
- func (s *PurgeHandoffReportActivitiesResponse) Decode(d *jx.Decoder) error
- func (s *PurgeHandoffReportActivitiesResponse) Encode(e *jx.Encoder)
- func (s *PurgeHandoffReportActivitiesResponse) GetDeletedCount() int
- func (s *PurgeHandoffReportActivitiesResponse) MarshalJSON() ([]byte, error)
- func (s *PurgeHandoffReportActivitiesResponse) SetDeletedCount(val int)
- func (s *PurgeHandoffReportActivitiesResponse) UnmarshalJSON(data []byte) error
- func (s *PurgeHandoffReportActivitiesResponse) Validate() error
- type PurgeHandoffReportActivitiesResponseHeaders
- func (s *PurgeHandoffReportActivitiesResponseHeaders) GetResponse() PurgeHandoffReportActivitiesResponse
- func (s *PurgeHandoffReportActivitiesResponseHeaders) GetXPowerContextRequestID() OptString
- func (s *PurgeHandoffReportActivitiesResponseHeaders) SetResponse(val PurgeHandoffReportActivitiesResponse)
- func (s *PurgeHandoffReportActivitiesResponseHeaders) SetXPowerContextRequestID(val OptString)
- func (s *PurgeHandoffReportActivitiesResponseHeaders) Validate() error
- type ReadinessResponse
- func (s *ReadinessResponse) Decode(d *jx.Decoder) error
- func (s *ReadinessResponse) Encode(e *jx.Encoder)
- func (s *ReadinessResponse) GetChecks() ReadinessResponseChecks
- func (s *ReadinessResponse) GetStatus() ReadinessStatus
- func (s *ReadinessResponse) MarshalJSON() ([]byte, error)
- func (s *ReadinessResponse) SetChecks(val ReadinessResponseChecks)
- func (s *ReadinessResponse) SetStatus(val ReadinessStatus)
- func (s *ReadinessResponse) UnmarshalJSON(data []byte) error
- func (s *ReadinessResponse) Validate() error
- type ReadinessResponseChecks
- type ReadinessResponseHeaders
- func (s *ReadinessResponseHeaders) GetResponse() ReadinessResponse
- func (s *ReadinessResponseHeaders) GetXPowerContextRequestID() OptString
- func (s *ReadinessResponseHeaders) SetResponse(val ReadinessResponse)
- func (s *ReadinessResponseHeaders) SetXPowerContextRequestID(val OptString)
- func (s *ReadinessResponseHeaders) Validate() error
- type ReadinessStatus
- func (ReadinessStatus) AllValues() []ReadinessStatus
- func (s *ReadinessStatus) Decode(d *jx.Decoder) error
- func (s ReadinessStatus) Encode(e *jx.Encoder)
- func (s ReadinessStatus) MarshalJSON() ([]byte, error)
- func (s ReadinessStatus) MarshalText() ([]byte, error)
- func (s *ReadinessStatus) UnmarshalJSON(data []byte) error
- func (s *ReadinessStatus) UnmarshalText(data []byte) error
- func (s ReadinessStatus) Validate() error
- type RecallTokenDay
- func (s *RecallTokenDay) Decode(d *jx.Decoder) error
- func (s *RecallTokenDay) Encode(e *jx.Encoder)
- func (s *RecallTokenDay) GetBaselineTokens() int
- func (s *RecallTokenDay) GetComparablePreparations() int
- func (s *RecallTokenDay) GetDate() time.Time
- func (s *RecallTokenDay) GetPreparations() int
- func (s *RecallTokenDay) GetReadyPreparations() int
- func (s *RecallTokenDay) GetRecalledTokens() int
- func (s *RecallTokenDay) GetTokenReduction() int
- func (s *RecallTokenDay) MarshalJSON() ([]byte, error)
- func (s *RecallTokenDay) SetBaselineTokens(val int)
- func (s *RecallTokenDay) SetComparablePreparations(val int)
- func (s *RecallTokenDay) SetDate(val time.Time)
- func (s *RecallTokenDay) SetPreparations(val int)
- func (s *RecallTokenDay) SetReadyPreparations(val int)
- func (s *RecallTokenDay) SetRecalledTokens(val int)
- func (s *RecallTokenDay) SetTokenReduction(val int)
- func (s *RecallTokenDay) UnmarshalJSON(data []byte) error
- func (s *RecallTokenDay) Validate() error
- type RecallTokenStatistics
- func (s *RecallTokenStatistics) Decode(d *jx.Decoder) error
- func (s *RecallTokenStatistics) Encode(e *jx.Encoder)
- func (s *RecallTokenStatistics) GetDaily() []RecallTokenDay
- func (s *RecallTokenStatistics) GetEstimator() NilTokenEstimatorProfile
- func (s *RecallTokenStatistics) GetPeriod() ResolvedUsagePeriod
- func (s *RecallTokenStatistics) GetTotals() RecallTokenValue
- func (s *RecallTokenStatistics) MarshalJSON() ([]byte, error)
- func (s *RecallTokenStatistics) SetDaily(val []RecallTokenDay)
- func (s *RecallTokenStatistics) SetEstimator(val NilTokenEstimatorProfile)
- func (s *RecallTokenStatistics) SetPeriod(val ResolvedUsagePeriod)
- func (s *RecallTokenStatistics) SetTotals(val RecallTokenValue)
- func (s *RecallTokenStatistics) UnmarshalJSON(data []byte) error
- func (s *RecallTokenStatistics) Validate() error
- type RecallTokenValue
- func (s *RecallTokenValue) Decode(d *jx.Decoder) error
- func (s *RecallTokenValue) Encode(e *jx.Encoder)
- func (s *RecallTokenValue) GetBaselineTokens() int
- func (s *RecallTokenValue) GetComparablePreparations() int
- func (s *RecallTokenValue) GetPreparations() int
- func (s *RecallTokenValue) GetReadyPreparations() int
- func (s *RecallTokenValue) GetRecalledTokens() int
- func (s *RecallTokenValue) GetTokenReduction() int
- func (s *RecallTokenValue) MarshalJSON() ([]byte, error)
- func (s *RecallTokenValue) SetBaselineTokens(val int)
- func (s *RecallTokenValue) SetComparablePreparations(val int)
- func (s *RecallTokenValue) SetPreparations(val int)
- func (s *RecallTokenValue) SetReadyPreparations(val int)
- func (s *RecallTokenValue) SetRecalledTokens(val int)
- func (s *RecallTokenValue) SetTokenReduction(val int)
- func (s *RecallTokenValue) UnmarshalJSON(data []byte) error
- func (s *RecallTokenValue) Validate() error
- type ReceiverChecks
- func (s *ReceiverChecks) Decode(d *jx.Decoder) error
- func (s *ReceiverChecks) Encode(e *jx.Encoder)
- func (s *ReceiverChecks) GetAuthorization() ReceiverReadinessCheckStatus
- func (s *ReceiverChecks) GetCapability() ReceiverReadinessCheckStatus
- func (s *ReceiverChecks) GetLiveState() LiveStateCheckStatus
- func (s *ReceiverChecks) MarshalJSON() ([]byte, error)
- func (s *ReceiverChecks) SetAuthorization(val ReceiverReadinessCheckStatus)
- func (s *ReceiverChecks) SetCapability(val ReceiverReadinessCheckStatus)
- func (s *ReceiverChecks) SetLiveState(val LiveStateCheckStatus)
- func (s *ReceiverChecks) UnmarshalJSON(data []byte) error
- func (s *ReceiverChecks) Validate() error
- type ReceiverReadinessCheckStatus
- func (ReceiverReadinessCheckStatus) AllValues() []ReceiverReadinessCheckStatus
- func (s *ReceiverReadinessCheckStatus) Decode(d *jx.Decoder) error
- func (s ReceiverReadinessCheckStatus) Encode(e *jx.Encoder)
- func (s ReceiverReadinessCheckStatus) MarshalJSON() ([]byte, error)
- func (s ReceiverReadinessCheckStatus) MarshalText() ([]byte, error)
- func (s *ReceiverReadinessCheckStatus) UnmarshalJSON(data []byte) error
- func (s *ReceiverReadinessCheckStatus) UnmarshalText(data []byte) error
- func (s ReceiverReadinessCheckStatus) Validate() error
- type RecordHandoffReportActivityRequest
- func (s *RecordHandoffReportActivityRequest) Decode(d *jx.Decoder) error
- func (s *RecordHandoffReportActivityRequest) Encode(e *jx.Encoder)
- func (s *RecordHandoffReportActivityRequest) GetAgent() OptNilHandoffReportActivityAgent
- func (s *RecordHandoffReportActivityRequest) GetEvidenceRefs() []HandoffReportExternalReference
- func (s *RecordHandoffReportActivityRequest) GetOccurredAt() OptNilDateTime
- func (s *RecordHandoffReportActivityRequest) GetProjectID() string
- func (s *RecordHandoffReportActivityRequest) GetScopeID() OptNilString
- func (s *RecordHandoffReportActivityRequest) GetSessionID() OptNilString
- func (s *RecordHandoffReportActivityRequest) GetSource() ReportActivitySource
- func (s *RecordHandoffReportActivityRequest) GetSourceEventID() string
- func (s *RecordHandoffReportActivityRequest) GetSourceRef() OptNilHandoffReportExternalReference
- func (s *RecordHandoffReportActivityRequest) GetSummary() OptNilString
- func (s *RecordHandoffReportActivityRequest) GetTimeBasis() ReportTimeBasis
- func (s *RecordHandoffReportActivityRequest) GetTitle() OptNilString
- func (s *RecordHandoffReportActivityRequest) GetVcsContext() OptNilHandoffReportActivityVcsContext
- func (s *RecordHandoffReportActivityRequest) MarshalJSON() ([]byte, error)
- func (s *RecordHandoffReportActivityRequest) SetAgent(val OptNilHandoffReportActivityAgent)
- func (s *RecordHandoffReportActivityRequest) SetEvidenceRefs(val []HandoffReportExternalReference)
- func (s *RecordHandoffReportActivityRequest) SetOccurredAt(val OptNilDateTime)
- func (s *RecordHandoffReportActivityRequest) SetProjectID(val string)
- func (s *RecordHandoffReportActivityRequest) SetScopeID(val OptNilString)
- func (s *RecordHandoffReportActivityRequest) SetSessionID(val OptNilString)
- func (s *RecordHandoffReportActivityRequest) SetSource(val ReportActivitySource)
- func (s *RecordHandoffReportActivityRequest) SetSourceEventID(val string)
- func (s *RecordHandoffReportActivityRequest) SetSourceRef(val OptNilHandoffReportExternalReference)
- func (s *RecordHandoffReportActivityRequest) SetSummary(val OptNilString)
- func (s *RecordHandoffReportActivityRequest) SetTimeBasis(val ReportTimeBasis)
- func (s *RecordHandoffReportActivityRequest) SetTitle(val OptNilString)
- func (s *RecordHandoffReportActivityRequest) SetVcsContext(val OptNilHandoffReportActivityVcsContext)
- func (s *RecordHandoffReportActivityRequest) UnmarshalJSON(data []byte) error
- func (s *RecordHandoffReportActivityRequest) Validate() error
- type RecordHandoffReportActivityRes
- type RecordTaskOutcomeRequest
- func (s *RecordTaskOutcomeRequest) Decode(d *jx.Decoder) error
- func (s *RecordTaskOutcomeRequest) Encode(e *jx.Encoder)
- func (s *RecordTaskOutcomeRequest) GetOutcome() TaskOutcome
- func (s *RecordTaskOutcomeRequest) GetScopeID() string
- func (s *RecordTaskOutcomeRequest) GetSourceID() string
- func (s *RecordTaskOutcomeRequest) MarshalJSON() ([]byte, error)
- func (s *RecordTaskOutcomeRequest) SetOutcome(val TaskOutcome)
- func (s *RecordTaskOutcomeRequest) SetScopeID(val string)
- func (s *RecordTaskOutcomeRequest) SetSourceID(val string)
- func (s *RecordTaskOutcomeRequest) UnmarshalJSON(data []byte) error
- func (s *RecordTaskOutcomeRequest) Validate() error
- type RecordTaskOutcomeRes
- type RegisterHandoffReportWorkstreamRequest
- func (s *RegisterHandoffReportWorkstreamRequest) Decode(d *jx.Decoder) error
- func (s *RegisterHandoffReportWorkstreamRequest) Encode(e *jx.Encoder)
- func (s *RegisterHandoffReportWorkstreamRequest) GetCatalogState() OptReportCatalogState
- func (s *RegisterHandoffReportWorkstreamRequest) GetExternalRefs() []HandoffReportExternalReference
- func (s *RegisterHandoffReportWorkstreamRequest) GetKey() OptNilString
- func (s *RegisterHandoffReportWorkstreamRequest) GetKind() WorkstreamKind
- func (s *RegisterHandoffReportWorkstreamRequest) GetLabels() []string
- func (s *RegisterHandoffReportWorkstreamRequest) GetProjectID() string
- func (s *RegisterHandoffReportWorkstreamRequest) GetScopeID() string
- func (s *RegisterHandoffReportWorkstreamRequest) GetTitle() string
- func (s *RegisterHandoffReportWorkstreamRequest) MarshalJSON() ([]byte, error)
- func (s *RegisterHandoffReportWorkstreamRequest) SetCatalogState(val OptReportCatalogState)
- func (s *RegisterHandoffReportWorkstreamRequest) SetExternalRefs(val []HandoffReportExternalReference)
- func (s *RegisterHandoffReportWorkstreamRequest) SetKey(val OptNilString)
- func (s *RegisterHandoffReportWorkstreamRequest) SetKind(val WorkstreamKind)
- func (s *RegisterHandoffReportWorkstreamRequest) SetLabels(val []string)
- func (s *RegisterHandoffReportWorkstreamRequest) SetProjectID(val string)
- func (s *RegisterHandoffReportWorkstreamRequest) SetScopeID(val string)
- func (s *RegisterHandoffReportWorkstreamRequest) SetTitle(val string)
- func (s *RegisterHandoffReportWorkstreamRequest) UnmarshalJSON(data []byte) error
- func (s *RegisterHandoffReportWorkstreamRequest) Validate() error
- type RegisterHandoffReportWorkstreamRes
- type RejectArtifactCandidateRequest
- func (s *RejectArtifactCandidateRequest) Decode(d *jx.Decoder) error
- func (s *RejectArtifactCandidateRequest) Encode(e *jx.Encoder)
- func (s *RejectArtifactCandidateRequest) GetCandidateID() string
- func (s *RejectArtifactCandidateRequest) GetExpectedVersion() int
- func (s *RejectArtifactCandidateRequest) GetReason() string
- func (s *RejectArtifactCandidateRequest) GetScopeID() string
- func (s *RejectArtifactCandidateRequest) MarshalJSON() ([]byte, error)
- func (s *RejectArtifactCandidateRequest) SetCandidateID(val string)
- func (s *RejectArtifactCandidateRequest) SetExpectedVersion(val int)
- func (s *RejectArtifactCandidateRequest) SetReason(val string)
- func (s *RejectArtifactCandidateRequest) SetScopeID(val string)
- func (s *RejectArtifactCandidateRequest) UnmarshalJSON(data []byte) error
- func (s *RejectArtifactCandidateRequest) Validate() error
- type RejectArtifactCandidateRes
- type RememberMemoryRequest
- func (s *RememberMemoryRequest) Decode(d *jx.Decoder) error
- func (s *RememberMemoryRequest) Encode(e *jx.Encoder)
- func (s *RememberMemoryRequest) GetExpectedRevision() OptNilInt
- func (s *RememberMemoryRequest) GetKind() string
- func (s *RememberMemoryRequest) GetReason() OptNilString
- func (s *RememberMemoryRequest) GetScopeID() string
- func (s *RememberMemoryRequest) GetText() string
- func (s *RememberMemoryRequest) MarshalJSON() ([]byte, error)
- func (s *RememberMemoryRequest) SetExpectedRevision(val OptNilInt)
- func (s *RememberMemoryRequest) SetKind(val string)
- func (s *RememberMemoryRequest) SetReason(val OptNilString)
- func (s *RememberMemoryRequest) SetScopeID(val string)
- func (s *RememberMemoryRequest) SetText(val string)
- func (s *RememberMemoryRequest) UnmarshalJSON(data []byte) error
- func (s *RememberMemoryRequest) Validate() error
- type RememberMemoryRes
- type ReportActivitySource
- func (ReportActivitySource) AllValues() []ReportActivitySource
- func (s *ReportActivitySource) Decode(d *jx.Decoder) error
- func (s ReportActivitySource) Encode(e *jx.Encoder)
- func (s ReportActivitySource) MarshalJSON() ([]byte, error)
- func (s ReportActivitySource) MarshalText() ([]byte, error)
- func (s *ReportActivitySource) UnmarshalJSON(data []byte) error
- func (s *ReportActivitySource) UnmarshalText(data []byte) error
- func (s ReportActivitySource) Validate() error
- type ReportCatalogState
- func (ReportCatalogState) AllValues() []ReportCatalogState
- func (s *ReportCatalogState) Decode(d *jx.Decoder) error
- func (s ReportCatalogState) Encode(e *jx.Encoder)
- func (s ReportCatalogState) MarshalJSON() ([]byte, error)
- func (s ReportCatalogState) MarshalText() ([]byte, error)
- func (s *ReportCatalogState) UnmarshalJSON(data []byte) error
- func (s *ReportCatalogState) UnmarshalText(data []byte) error
- func (s ReportCatalogState) Validate() error
- type ReportFormat
- func (ReportFormat) AllValues() []ReportFormat
- func (s *ReportFormat) Decode(d *jx.Decoder) error
- func (s ReportFormat) Encode(e *jx.Encoder)
- func (s ReportFormat) MarshalJSON() ([]byte, error)
- func (s ReportFormat) MarshalText() ([]byte, error)
- func (s *ReportFormat) UnmarshalJSON(data []byte) error
- func (s *ReportFormat) UnmarshalText(data []byte) error
- func (s ReportFormat) Validate() error
- type ReportLocale
- func (ReportLocale) AllValues() []ReportLocale
- func (s *ReportLocale) Decode(d *jx.Decoder) error
- func (s ReportLocale) Encode(e *jx.Encoder)
- func (s ReportLocale) MarshalJSON() ([]byte, error)
- func (s ReportLocale) MarshalText() ([]byte, error)
- func (s *ReportLocale) UnmarshalJSON(data []byte) error
- func (s *ReportLocale) UnmarshalText(data []byte) error
- func (s ReportLocale) Validate() error
- type ReportTimeBasis
- func (ReportTimeBasis) AllValues() []ReportTimeBasis
- func (s *ReportTimeBasis) Decode(d *jx.Decoder) error
- func (s ReportTimeBasis) Encode(e *jx.Encoder)
- func (s ReportTimeBasis) MarshalJSON() ([]byte, error)
- func (s ReportTimeBasis) MarshalText() ([]byte, error)
- func (s *ReportTimeBasis) UnmarshalJSON(data []byte) error
- func (s *ReportTimeBasis) UnmarshalText(data []byte) error
- func (s ReportTimeBasis) Validate() error
- type ReportTooLargeHeaders
- type ResolveExternalSkillRequest
- func (s *ResolveExternalSkillRequest) Decode(d *jx.Decoder) error
- func (s *ResolveExternalSkillRequest) Encode(e *jx.Encoder)
- func (s *ResolveExternalSkillRequest) GetExternalSkillID() string
- func (s *ResolveExternalSkillRequest) GetFingerprint() string
- func (s *ResolveExternalSkillRequest) GetScopeID() string
- func (s *ResolveExternalSkillRequest) MarshalJSON() ([]byte, error)
- func (s *ResolveExternalSkillRequest) SetExternalSkillID(val string)
- func (s *ResolveExternalSkillRequest) SetFingerprint(val string)
- func (s *ResolveExternalSkillRequest) SetScopeID(val string)
- func (s *ResolveExternalSkillRequest) UnmarshalJSON(data []byte) error
- func (s *ResolveExternalSkillRequest) Validate() error
- type ResolveExternalSkillRes
- type ResolvedUsagePeriod
- func (s *ResolvedUsagePeriod) Decode(d *jx.Decoder) error
- func (s *ResolvedUsagePeriod) Encode(e *jx.Encoder)
- func (s *ResolvedUsagePeriod) GetEndDate() time.Time
- func (s *ResolvedUsagePeriod) GetPreset() StatsPeriod
- func (s *ResolvedUsagePeriod) GetStartDate() time.Time
- func (s *ResolvedUsagePeriod) GetTimezone() ResolvedUsagePeriodTimezone
- func (s *ResolvedUsagePeriod) MarshalJSON() ([]byte, error)
- func (s *ResolvedUsagePeriod) SetEndDate(val time.Time)
- func (s *ResolvedUsagePeriod) SetPreset(val StatsPeriod)
- func (s *ResolvedUsagePeriod) SetStartDate(val time.Time)
- func (s *ResolvedUsagePeriod) SetTimezone(val ResolvedUsagePeriodTimezone)
- func (s *ResolvedUsagePeriod) UnmarshalJSON(data []byte) error
- func (s *ResolvedUsagePeriod) Validate() error
- type ResolvedUsagePeriodTimezone
- func (ResolvedUsagePeriodTimezone) AllValues() []ResolvedUsagePeriodTimezone
- func (s *ResolvedUsagePeriodTimezone) Decode(d *jx.Decoder) error
- func (s ResolvedUsagePeriodTimezone) Encode(e *jx.Encoder)
- func (s ResolvedUsagePeriodTimezone) MarshalJSON() ([]byte, error)
- func (s ResolvedUsagePeriodTimezone) MarshalText() ([]byte, error)
- func (s *ResolvedUsagePeriodTimezone) UnmarshalJSON(data []byte) error
- func (s *ResolvedUsagePeriodTimezone) UnmarshalText(data []byte) error
- func (s ResolvedUsagePeriodTimezone) Validate() error
- type RetireMemoryEntryRequest
- func (s *RetireMemoryEntryRequest) Decode(d *jx.Decoder) error
- func (s *RetireMemoryEntryRequest) Encode(e *jx.Encoder)
- func (s *RetireMemoryEntryRequest) GetCitation() MemoryCitation
- func (s *RetireMemoryEntryRequest) GetReason() OptNilString
- func (s *RetireMemoryEntryRequest) GetScopeID() string
- func (s *RetireMemoryEntryRequest) MarshalJSON() ([]byte, error)
- func (s *RetireMemoryEntryRequest) SetCitation(val MemoryCitation)
- func (s *RetireMemoryEntryRequest) SetReason(val OptNilString)
- func (s *RetireMemoryEntryRequest) SetScopeID(val string)
- func (s *RetireMemoryEntryRequest) UnmarshalJSON(data []byte) error
- func (s *RetireMemoryEntryRequest) Validate() error
- type RetireMemoryEntryRes
- type ReviseArtifactCandidateRequest
- func (s *ReviseArtifactCandidateRequest) Decode(d *jx.Decoder) error
- func (s *ReviseArtifactCandidateRequest) Encode(e *jx.Encoder)
- func (s *ReviseArtifactCandidateRequest) GetArtifactRefs() []ArtifactReference
- func (s *ReviseArtifactCandidateRequest) GetCandidateID() string
- func (s *ReviseArtifactCandidateRequest) GetExpectedVersion() int
- func (s *ReviseArtifactCandidateRequest) GetProposal() ReviseArtifactCandidateRequestProposal
- func (s *ReviseArtifactCandidateRequest) GetReason() OptNilString
- func (s *ReviseArtifactCandidateRequest) GetScopeID() string
- func (s *ReviseArtifactCandidateRequest) GetSourceRefs() []SourceReference
- func (s *ReviseArtifactCandidateRequest) GetTarget() OptNilArtifactReference
- func (s *ReviseArtifactCandidateRequest) MarshalJSON() ([]byte, error)
- func (s *ReviseArtifactCandidateRequest) SetArtifactRefs(val []ArtifactReference)
- func (s *ReviseArtifactCandidateRequest) SetCandidateID(val string)
- func (s *ReviseArtifactCandidateRequest) SetExpectedVersion(val int)
- func (s *ReviseArtifactCandidateRequest) SetProposal(val ReviseArtifactCandidateRequestProposal)
- func (s *ReviseArtifactCandidateRequest) SetReason(val OptNilString)
- func (s *ReviseArtifactCandidateRequest) SetScopeID(val string)
- func (s *ReviseArtifactCandidateRequest) SetSourceRefs(val []SourceReference)
- func (s *ReviseArtifactCandidateRequest) SetTarget(val OptNilArtifactReference)
- func (s *ReviseArtifactCandidateRequest) UnmarshalJSON(data []byte) error
- func (s *ReviseArtifactCandidateRequest) Validate() error
- type ReviseArtifactCandidateRequestProposal
- func (s *ReviseArtifactCandidateRequestProposal) Decode(d *jx.Decoder) error
- func (s ReviseArtifactCandidateRequestProposal) Encode(e *jx.Encoder)
- func (s ReviseArtifactCandidateRequestProposal) GetExperienceProposal() (v ExperienceProposal, ok bool)
- func (s ReviseArtifactCandidateRequestProposal) GetSkillProposal() (v SkillProposal, ok bool)
- func (s ReviseArtifactCandidateRequestProposal) IsExperienceProposal() bool
- func (s ReviseArtifactCandidateRequestProposal) IsSkillProposal() bool
- func (s ReviseArtifactCandidateRequestProposal) MarshalJSON() ([]byte, error)
- func (s *ReviseArtifactCandidateRequestProposal) SetExperienceProposal(v ExperienceProposal)
- func (s *ReviseArtifactCandidateRequestProposal) SetSkillProposal(v SkillProposal)
- func (s *ReviseArtifactCandidateRequestProposal) UnmarshalJSON(data []byte) error
- func (s ReviseArtifactCandidateRequestProposal) Validate() error
- type ReviseArtifactCandidateRequestProposalType
- type ReviseArtifactCandidateRes
- type ReviseMemoryEntryRequest
- func (s *ReviseMemoryEntryRequest) Decode(d *jx.Decoder) error
- func (s *ReviseMemoryEntryRequest) Encode(e *jx.Encoder)
- func (s *ReviseMemoryEntryRequest) GetCitation() MemoryCitation
- func (s *ReviseMemoryEntryRequest) GetKind() string
- func (s *ReviseMemoryEntryRequest) GetReason() OptNilString
- func (s *ReviseMemoryEntryRequest) GetScopeID() string
- func (s *ReviseMemoryEntryRequest) GetText() string
- func (s *ReviseMemoryEntryRequest) MarshalJSON() ([]byte, error)
- func (s *ReviseMemoryEntryRequest) SetCitation(val MemoryCitation)
- func (s *ReviseMemoryEntryRequest) SetKind(val string)
- func (s *ReviseMemoryEntryRequest) SetReason(val OptNilString)
- func (s *ReviseMemoryEntryRequest) SetScopeID(val string)
- func (s *ReviseMemoryEntryRequest) SetText(val string)
- func (s *ReviseMemoryEntryRequest) UnmarshalJSON(data []byte) error
- func (s *ReviseMemoryEntryRequest) Validate() error
- type ReviseMemoryEntryRes
- type Route
- type ScanExternalSkillsRequest
- func (s *ScanExternalSkillsRequest) Decode(d *jx.Decoder) error
- func (s *ScanExternalSkillsRequest) Encode(e *jx.Encoder)
- func (s *ScanExternalSkillsRequest) GetScopeID() string
- func (s *ScanExternalSkillsRequest) MarshalJSON() ([]byte, error)
- func (s *ScanExternalSkillsRequest) SetScopeID(val string)
- func (s *ScanExternalSkillsRequest) UnmarshalJSON(data []byte) error
- func (s *ScanExternalSkillsRequest) Validate() error
- type ScanExternalSkillsRes
- type ScanExternalSkillsResponse
- func (s *ScanExternalSkillsResponse) Decode(d *jx.Decoder) error
- func (s *ScanExternalSkillsResponse) Encode(e *jx.Encoder)
- func (s *ScanExternalSkillsResponse) GetRegistrations() []ExternalSkillRegistration
- func (s *ScanExternalSkillsResponse) GetSkipped() int
- func (s *ScanExternalSkillsResponse) MarshalJSON() ([]byte, error)
- func (s *ScanExternalSkillsResponse) SetRegistrations(val []ExternalSkillRegistration)
- func (s *ScanExternalSkillsResponse) SetSkipped(val int)
- func (s *ScanExternalSkillsResponse) UnmarshalJSON(data []byte) error
- func (s *ScanExternalSkillsResponse) Validate() error
- type ScanExternalSkillsResponseHeaders
- func (s *ScanExternalSkillsResponseHeaders) GetResponse() ScanExternalSkillsResponse
- func (s *ScanExternalSkillsResponseHeaders) GetXPowerContextRequestID() OptString
- func (s *ScanExternalSkillsResponseHeaders) SetResponse(val ScanExternalSkillsResponse)
- func (s *ScanExternalSkillsResponseHeaders) SetXPowerContextRequestID(val OptString)
- func (s *ScanExternalSkillsResponseHeaders) Validate() error
- type ScopedStats
- func (s *ScopedStats) Decode(d *jx.Decoder) error
- func (s *ScopedStats) Encode(e *jx.Encoder)
- func (s *ScopedStats) GetAsOf() time.Time
- func (s *ScopedStats) GetInventory() InventoryStatistics
- func (s *ScopedStats) GetRecall() RecallTokenStatistics
- func (s *ScopedStats) GetScopeID() string
- func (s *ScopedStats) GetUsage() UsageStatistics
- func (s *ScopedStats) MarshalJSON() ([]byte, error)
- func (s *ScopedStats) SetAsOf(val time.Time)
- func (s *ScopedStats) SetInventory(val InventoryStatistics)
- func (s *ScopedStats) SetRecall(val RecallTokenStatistics)
- func (s *ScopedStats) SetScopeID(val string)
- func (s *ScopedStats) SetUsage(val UsageStatistics)
- func (s *ScopedStats) UnmarshalJSON(data []byte) error
- func (s *ScopedStats) Validate() error
- type ScopedStatsHeaders
- func (s *ScopedStatsHeaders) GetCacheControl() OptGetStatsOKCacheControl
- func (s *ScopedStatsHeaders) GetResponse() ScopedStats
- func (s *ScopedStatsHeaders) GetXPowerContextRequestID() OptString
- func (s *ScopedStatsHeaders) SetCacheControl(val OptGetStatsOKCacheControl)
- func (s *ScopedStatsHeaders) SetResponse(val ScopedStats)
- func (s *ScopedStatsHeaders) SetXPowerContextRequestID(val OptString)
- func (s *ScopedStatsHeaders) Validate() error
- type SearchMemoryHit
- func (s *SearchMemoryHit) Decode(d *jx.Decoder) error
- func (s *SearchMemoryHit) Encode(e *jx.Encoder)
- func (s *SearchMemoryHit) GetCitation() MemoryCitation
- func (s *SearchMemoryHit) GetMatchedBy() []MemoryMatchedBy
- func (s *SearchMemoryHit) GetScore() float64
- func (s *SearchMemoryHit) GetText() string
- func (s *SearchMemoryHit) MarshalJSON() ([]byte, error)
- func (s *SearchMemoryHit) SetCitation(val MemoryCitation)
- func (s *SearchMemoryHit) SetMatchedBy(val []MemoryMatchedBy)
- func (s *SearchMemoryHit) SetScore(val float64)
- func (s *SearchMemoryHit) SetText(val string)
- func (s *SearchMemoryHit) UnmarshalJSON(data []byte) error
- func (s *SearchMemoryHit) Validate() error
- type SearchMemoryRequest
- func (s *SearchMemoryRequest) Decode(d *jx.Decoder) error
- func (s *SearchMemoryRequest) Encode(e *jx.Encoder)
- func (s *SearchMemoryRequest) GetLimit() OptInt
- func (s *SearchMemoryRequest) GetMode() OptMemorySearchMode
- func (s *SearchMemoryRequest) GetQuery() string
- func (s *SearchMemoryRequest) GetScopeID() string
- func (s *SearchMemoryRequest) MarshalJSON() ([]byte, error)
- func (s *SearchMemoryRequest) SetLimit(val OptInt)
- func (s *SearchMemoryRequest) SetMode(val OptMemorySearchMode)
- func (s *SearchMemoryRequest) SetQuery(val string)
- func (s *SearchMemoryRequest) SetScopeID(val string)
- func (s *SearchMemoryRequest) UnmarshalJSON(data []byte) error
- func (s *SearchMemoryRequest) Validate() error
- type SearchMemoryRes
- type SearchMemoryResponse
- func (s *SearchMemoryResponse) Decode(d *jx.Decoder) error
- func (s *SearchMemoryResponse) Encode(e *jx.Encoder)
- func (s *SearchMemoryResponse) GetHits() []SearchMemoryHit
- func (s *SearchMemoryResponse) GetMemory() OptNilArtifactReference
- func (s *SearchMemoryResponse) GetMode() OptNilMemoryUsedSearchMode
- func (s *SearchMemoryResponse) MarshalJSON() ([]byte, error)
- func (s *SearchMemoryResponse) SetHits(val []SearchMemoryHit)
- func (s *SearchMemoryResponse) SetMemory(val OptNilArtifactReference)
- func (s *SearchMemoryResponse) SetMode(val OptNilMemoryUsedSearchMode)
- func (s *SearchMemoryResponse) UnmarshalJSON(data []byte) error
- func (s *SearchMemoryResponse) Validate() error
- type SearchMemoryResponseHeaders
- func (s *SearchMemoryResponseHeaders) GetResponse() SearchMemoryResponse
- func (s *SearchMemoryResponseHeaders) GetXPowerContextRequestID() OptString
- func (s *SearchMemoryResponseHeaders) SetResponse(val SearchMemoryResponse)
- func (s *SearchMemoryResponseHeaders) SetXPowerContextRequestID(val OptString)
- func (s *SearchMemoryResponseHeaders) Validate() error
- type SecurityHandler
- type SecuritySource
- type Server
- type ServerOption
- func WithErrorHandler(h ErrorHandler) ServerOption
- func WithMaxMultipartMemory(max int64) ServerOption
- func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
- func WithMiddleware(m ...Middleware) ServerOption
- func WithNotFound(notFound http.HandlerFunc) ServerOption
- func WithPathPrefix(prefix string) ServerOption
- type SkillArtifact
- func (s *SkillArtifact) Decode(d *jx.Decoder) error
- func (s *SkillArtifact) Encode(e *jx.Encoder)
- func (s *SkillArtifact) GetArtifact() ArtifactReference
- func (s *SkillArtifact) GetArtifactRefs() []ArtifactReference
- func (s *SkillArtifact) GetContent() SkillProposal
- func (s *SkillArtifact) GetSourceRefs() []SourceReference
- func (s *SkillArtifact) MarshalJSON() ([]byte, error)
- func (s *SkillArtifact) SetArtifact(val ArtifactReference)
- func (s *SkillArtifact) SetArtifactRefs(val []ArtifactReference)
- func (s *SkillArtifact) SetContent(val SkillProposal)
- func (s *SkillArtifact) SetSourceRefs(val []SourceReference)
- func (s *SkillArtifact) UnmarshalJSON(data []byte) error
- func (s *SkillArtifact) Validate() error
- type SkillArtifactHeaders
- func (s *SkillArtifactHeaders) GetResponse() SkillArtifact
- func (s *SkillArtifactHeaders) GetXPowerContextRequestID() OptString
- func (s *SkillArtifactHeaders) SetResponse(val SkillArtifact)
- func (s *SkillArtifactHeaders) SetXPowerContextRequestID(val OptString)
- func (s *SkillArtifactHeaders) Validate() error
- type SkillGenerationOrigin
- func (SkillGenerationOrigin) AllValues() []SkillGenerationOrigin
- func (s *SkillGenerationOrigin) Decode(d *jx.Decoder) error
- func (s SkillGenerationOrigin) Encode(e *jx.Encoder)
- func (s SkillGenerationOrigin) MarshalJSON() ([]byte, error)
- func (s SkillGenerationOrigin) MarshalText() ([]byte, error)
- func (s *SkillGenerationOrigin) UnmarshalJSON(data []byte) error
- func (s *SkillGenerationOrigin) UnmarshalText(data []byte) error
- func (s SkillGenerationOrigin) Validate() error
- type SkillProposal
- func (s *SkillProposal) Decode(d *jx.Decoder) error
- func (s *SkillProposal) Encode(e *jx.Encoder)
- func (s *SkillProposal) GetDescription() string
- func (s *SkillProposal) GetInstructions() string
- func (s *SkillProposal) GetName() string
- func (s *SkillProposal) GetValidation() []SkillValidationItem
- func (s *SkillProposal) MarshalJSON() ([]byte, error)
- func (s *SkillProposal) SetDescription(val string)
- func (s *SkillProposal) SetInstructions(val string)
- func (s *SkillProposal) SetName(val string)
- func (s *SkillProposal) SetValidation(val []SkillValidationItem)
- func (s *SkillProposal) UnmarshalJSON(data []byte) error
- func (s *SkillProposal) Validate() error
- type SkillValidationItem
- type SourceInventoryStatistics
- func (s *SourceInventoryStatistics) Decode(d *jx.Decoder) error
- func (s *SourceInventoryStatistics) Encode(e *jx.Encoder)
- func (s *SourceInventoryStatistics) GetMemoryPending() int
- func (s *SourceInventoryStatistics) GetMemoryProcessed() int
- func (s *SourceInventoryStatistics) GetTotal() int
- func (s *SourceInventoryStatistics) MarshalJSON() ([]byte, error)
- func (s *SourceInventoryStatistics) SetMemoryPending(val int)
- func (s *SourceInventoryStatistics) SetMemoryProcessed(val int)
- func (s *SourceInventoryStatistics) SetTotal(val int)
- func (s *SourceInventoryStatistics) UnmarshalJSON(data []byte) error
- func (s *SourceInventoryStatistics) Validate() error
- type SourceReference
- func (s *SourceReference) Decode(d *jx.Decoder) error
- func (s *SourceReference) Encode(e *jx.Encoder)
- func (s *SourceReference) GetName() string
- func (s *SourceReference) GetSourceID() string
- func (s *SourceReference) MarshalJSON() ([]byte, error)
- func (s *SourceReference) SetName(val string)
- func (s *SourceReference) SetSourceID(val string)
- func (s *SourceReference) UnmarshalJSON(data []byte) error
- type StatsPeriod
- func (StatsPeriod) AllValues() []StatsPeriod
- func (s *StatsPeriod) Decode(d *jx.Decoder) error
- func (s StatsPeriod) Encode(e *jx.Encoder)
- func (s StatsPeriod) MarshalJSON() ([]byte, error)
- func (s StatsPeriod) MarshalText() ([]byte, error)
- func (s *StatsPeriod) UnmarshalJSON(data []byte) error
- func (s *StatsPeriod) UnmarshalText(data []byte) error
- func (s StatsPeriod) Validate() error
- type StoredHandoffReportActivity
- func (s *StoredHandoffReportActivity) Decode(d *jx.Decoder) error
- func (s *StoredHandoffReportActivity) Encode(e *jx.Encoder)
- func (s *StoredHandoffReportActivity) GetCursor() int
- func (s *StoredHandoffReportActivity) GetEvent() HandoffReportActivity
- func (s *StoredHandoffReportActivity) MarshalJSON() ([]byte, error)
- func (s *StoredHandoffReportActivity) SetCursor(val int)
- func (s *StoredHandoffReportActivity) SetEvent(val HandoffReportActivity)
- func (s *StoredHandoffReportActivity) UnmarshalJSON(data []byte) error
- func (s *StoredHandoffReportActivity) Validate() error
- type StoredHandoffReportActivityHeaders
- func (s *StoredHandoffReportActivityHeaders) GetResponse() StoredHandoffReportActivity
- func (s *StoredHandoffReportActivityHeaders) GetXPowerContextRequestID() OptString
- func (s *StoredHandoffReportActivityHeaders) SetResponse(val StoredHandoffReportActivity)
- func (s *StoredHandoffReportActivityHeaders) SetXPowerContextRequestID(val OptString)
- func (s *StoredHandoffReportActivityHeaders) Validate() error
- type TaskCheck
- func (s *TaskCheck) Decode(d *jx.Decoder) error
- func (s *TaskCheck) Encode(e *jx.Encoder)
- func (s *TaskCheck) GetBasis() WorkClaimBasis
- func (s *TaskCheck) GetDetails() OptNilString
- func (s *TaskCheck) GetEvidence() []HandoffCitation
- func (s *TaskCheck) GetName() string
- func (s *TaskCheck) GetStatus() TaskCheckStatus
- func (s *TaskCheck) MarshalJSON() ([]byte, error)
- func (s *TaskCheck) SetBasis(val WorkClaimBasis)
- func (s *TaskCheck) SetDetails(val OptNilString)
- func (s *TaskCheck) SetEvidence(val []HandoffCitation)
- func (s *TaskCheck) SetName(val string)
- func (s *TaskCheck) SetStatus(val TaskCheckStatus)
- func (s *TaskCheck) UnmarshalJSON(data []byte) error
- func (s *TaskCheck) Validate() error
- type TaskCheckStatus
- func (TaskCheckStatus) AllValues() []TaskCheckStatus
- func (s *TaskCheckStatus) Decode(d *jx.Decoder) error
- func (s TaskCheckStatus) Encode(e *jx.Encoder)
- func (s TaskCheckStatus) MarshalJSON() ([]byte, error)
- func (s TaskCheckStatus) MarshalText() ([]byte, error)
- func (s *TaskCheckStatus) UnmarshalJSON(data []byte) error
- func (s *TaskCheckStatus) UnmarshalText(data []byte) error
- func (s TaskCheckStatus) Validate() error
- type TaskOutcome
- func (s *TaskOutcome) Decode(d *jx.Decoder) error
- func (s *TaskOutcome) Encode(e *jx.Encoder)
- func (s *TaskOutcome) GetChecks() []TaskCheck
- func (s *TaskOutcome) GetHandoffReceiptRef() OptNilSourceReference
- func (s *TaskOutcome) GetObjective() string
- func (s *TaskOutcome) GetObservations() []WorkClaim
- func (s *TaskOutcome) GetProducedArtifacts() []ArtifactReference
- func (s *TaskOutcome) GetRemainingWork() []string
- func (s *TaskOutcome) GetSchema() TaskOutcomeSchema
- func (s *TaskOutcome) GetStatus() TaskOutcomeStatus
- func (s *TaskOutcome) GetSummary() string
- func (s *TaskOutcome) GetTrust() TaskOutcomeTrust
- func (s *TaskOutcome) MarshalJSON() ([]byte, error)
- func (s *TaskOutcome) SetChecks(val []TaskCheck)
- func (s *TaskOutcome) SetHandoffReceiptRef(val OptNilSourceReference)
- func (s *TaskOutcome) SetObjective(val string)
- func (s *TaskOutcome) SetObservations(val []WorkClaim)
- func (s *TaskOutcome) SetProducedArtifacts(val []ArtifactReference)
- func (s *TaskOutcome) SetRemainingWork(val []string)
- func (s *TaskOutcome) SetSchema(val TaskOutcomeSchema)
- func (s *TaskOutcome) SetStatus(val TaskOutcomeStatus)
- func (s *TaskOutcome) SetSummary(val string)
- func (s *TaskOutcome) SetTrust(val TaskOutcomeTrust)
- func (s *TaskOutcome) UnmarshalJSON(data []byte) error
- func (s *TaskOutcome) Validate() error
- type TaskOutcomeSchema
- func (TaskOutcomeSchema) AllValues() []TaskOutcomeSchema
- func (s *TaskOutcomeSchema) Decode(d *jx.Decoder) error
- func (s TaskOutcomeSchema) Encode(e *jx.Encoder)
- func (s TaskOutcomeSchema) MarshalJSON() ([]byte, error)
- func (s TaskOutcomeSchema) MarshalText() ([]byte, error)
- func (s *TaskOutcomeSchema) UnmarshalJSON(data []byte) error
- func (s *TaskOutcomeSchema) UnmarshalText(data []byte) error
- func (s TaskOutcomeSchema) Validate() error
- type TaskOutcomeStatus
- func (TaskOutcomeStatus) AllValues() []TaskOutcomeStatus
- func (s *TaskOutcomeStatus) Decode(d *jx.Decoder) error
- func (s TaskOutcomeStatus) Encode(e *jx.Encoder)
- func (s TaskOutcomeStatus) MarshalJSON() ([]byte, error)
- func (s TaskOutcomeStatus) MarshalText() ([]byte, error)
- func (s *TaskOutcomeStatus) UnmarshalJSON(data []byte) error
- func (s *TaskOutcomeStatus) UnmarshalText(data []byte) error
- func (s TaskOutcomeStatus) Validate() error
- type TaskOutcomeTrust
- func (TaskOutcomeTrust) AllValues() []TaskOutcomeTrust
- func (s *TaskOutcomeTrust) Decode(d *jx.Decoder) error
- func (s TaskOutcomeTrust) Encode(e *jx.Encoder)
- func (s TaskOutcomeTrust) MarshalJSON() ([]byte, error)
- func (s TaskOutcomeTrust) MarshalText() ([]byte, error)
- func (s *TaskOutcomeTrust) UnmarshalJSON(data []byte) error
- func (s *TaskOutcomeTrust) UnmarshalText(data []byte) error
- func (s TaskOutcomeTrust) Validate() error
- type TokenEstimatorProfile
- func (s *TokenEstimatorProfile) Decode(d *jx.Decoder) error
- func (s *TokenEstimatorProfile) Encode(e *jx.Encoder)
- func (s *TokenEstimatorProfile) GetEstimatorID() string
- func (s *TokenEstimatorProfile) GetVersion() string
- func (s *TokenEstimatorProfile) MarshalJSON() ([]byte, error)
- func (s *TokenEstimatorProfile) SetEstimatorID(val string)
- func (s *TokenEstimatorProfile) SetVersion(val string)
- func (s *TokenEstimatorProfile) UnmarshalJSON(data []byte) error
- func (s *TokenEstimatorProfile) Validate() error
- type UnauthorizedHeaders
- func (s *UnauthorizedHeaders) GetResponse() ErrorResponse
- func (s *UnauthorizedHeaders) GetWWWAuthenticate() OptString
- func (s *UnauthorizedHeaders) GetXPowerContextRequestID() OptString
- func (s *UnauthorizedHeaders) SetResponse(val ErrorResponse)
- func (s *UnauthorizedHeaders) SetWWWAuthenticate(val OptString)
- func (s *UnauthorizedHeaders) SetXPowerContextRequestID(val OptString)
- type UnavailableHeaders
- type UnimplementedHandler
- func (UnimplementedHandler) AcknowledgeHandoff(ctx context.Context, req *AcknowledgeHandoffRequest) (r AcknowledgeHandoffRes, _ error)
- func (UnimplementedHandler) ActivateHandoff(ctx context.Context, req *ActivateHandoffRequest) (r ActivateHandoffRes, _ error)
- func (UnimplementedHandler) ApproveArtifactCandidate(ctx context.Context, req *ApproveArtifactCandidateRequest) (r ApproveArtifactCandidateRes, _ error)
- func (UnimplementedHandler) AttachHandoffReportWorkspace(ctx context.Context, req *AttachHandoffReportWorkspaceRequest) (r AttachHandoffReportWorkspaceRes, _ error)
- func (UnimplementedHandler) CaptureContentSource(ctx context.Context, req *CaptureContentSourceRequest) (r CaptureContentSourceRes, _ error)
- func (UnimplementedHandler) CommitHandoff(ctx context.Context, req *CommitHandoffRequest) (r CommitHandoffRes, _ error)
- func (UnimplementedHandler) ContinueHandoff(ctx context.Context, req *ContinueHandoffRequest) (r ContinueHandoffRes, _ error)
- func (UnimplementedHandler) CreateHandoffReportProject(ctx context.Context, req *CreateHandoffReportProjectRequest) (r CreateHandoffReportProjectRes, _ error)
- func (UnimplementedHandler) CreateWorkContract(ctx context.Context, req *CreateWorkContractRequest) (r CreateWorkContractRes, _ error)
- func (UnimplementedHandler) DetachHandoffReportWorkspace(ctx context.Context, req *DetachHandoffReportWorkspaceRequest) (r DetachHandoffReportWorkspaceRes, _ error)
- func (UnimplementedHandler) FinalizeHandoff(ctx context.Context, req *FinalizeHandoffRequest) (r FinalizeHandoffRes, _ error)
- func (UnimplementedHandler) FlushMemory(ctx context.Context, req *FlushMemoryRequest) (r FlushMemoryRes, _ error)
- func (UnimplementedHandler) GenerateExperience(ctx context.Context, req *GenerateExperienceRequest) (r GenerateExperienceRes, _ error)
- func (UnimplementedHandler) GenerateSkill(ctx context.Context, req *GenerateSkillRequest) (r GenerateSkillRes, _ error)
- func (UnimplementedHandler) GetArtifactCandidate(ctx context.Context, req *GetArtifactCandidateRequest) (r GetArtifactCandidateRes, _ error)
- func (UnimplementedHandler) GetCapabilities(ctx context.Context) (r GetCapabilitiesRes, _ error)
- func (UnimplementedHandler) GetExperience(ctx context.Context, req *GetExperienceRequest) (r GetExperienceRes, _ error)
- func (UnimplementedHandler) GetHandoffReport(ctx context.Context, req *GetHandoffReportRequest) (r GetHandoffReportRes, _ error)
- func (UnimplementedHandler) GetHandoffReportProject(ctx context.Context, req *GetHandoffReportProjectRequest) (r GetHandoffReportProjectRes, _ error)
- func (UnimplementedHandler) GetHandoffReportWorkspace(ctx context.Context, req *GetHandoffReportWorkspaceRequest) (r GetHandoffReportWorkspaceRes, _ error)
- func (UnimplementedHandler) GetLiveness(ctx context.Context) (r *HealthResponseHeaders, _ error)
- func (UnimplementedHandler) GetMemoryEntry(ctx context.Context, req *GetMemoryEntryRequest) (r GetMemoryEntryRes, _ error)
- func (UnimplementedHandler) GetReadiness(ctx context.Context) (r GetReadinessRes, _ error)
- func (UnimplementedHandler) GetSkill(ctx context.Context, req *GetSkillRequest) (r GetSkillRes, _ error)
- func (UnimplementedHandler) GetStats(ctx context.Context, params GetStatsParams) (r GetStatsRes, _ error)
- func (UnimplementedHandler) HandoffCurrentWork(ctx context.Context, req *HandoffCurrentWorkRequest) (r HandoffCurrentWorkRes, _ error)
- func (UnimplementedHandler) ImportExternalSkill(ctx context.Context, req *ImportExternalSkillRequest) (r ImportExternalSkillRes, _ error)
- func (UnimplementedHandler) ListArtifactCandidates(ctx context.Context, req *ListArtifactCandidatesRequest) (r ListArtifactCandidatesRes, _ error)
- func (UnimplementedHandler) ListExternalSkills(ctx context.Context, req *ListExternalSkillsRequest) (r ListExternalSkillsRes, _ error)
- func (UnimplementedHandler) ListHandoffReportActivities(ctx context.Context, req *ListHandoffReportActivitiesRequest) (r ListHandoffReportActivitiesRes, _ error)
- func (UnimplementedHandler) ListHandoffReportKnownScopes(ctx context.Context, req *ListHandoffReportKnownScopesRequest) (r ListHandoffReportKnownScopesRes, _ error)
- func (UnimplementedHandler) ListHandoffReportProjects(ctx context.Context, req *ListHandoffReportProjectsRequest) (r ListHandoffReportProjectsRes, _ error)
- func (UnimplementedHandler) ListHandoffReportWorkstreams(ctx context.Context, req *ListHandoffReportWorkstreamsRequest) (r ListHandoffReportWorkstreamsRes, _ error)
- func (UnimplementedHandler) ListMemoryChanges(ctx context.Context, req *ListMemoryChangesRequest) (r ListMemoryChangesRes, _ error)
- func (UnimplementedHandler) ListMemoryEntries(ctx context.Context, req *ListMemoryEntriesRequest) (r ListMemoryEntriesRes, _ error)
- func (UnimplementedHandler) PrepareContext(ctx context.Context, req *PrepareContextRequest) (r PrepareContextRes, _ error)
- func (UnimplementedHandler) PrepareHandoff(ctx context.Context, req *PrepareHandoffRequest) (r PrepareHandoffRes, _ error)
- func (UnimplementedHandler) ProposeExperience(ctx context.Context, req *ProposeExperienceRequest) (r ProposeExperienceRes, _ error)
- func (UnimplementedHandler) ProposeSkill(ctx context.Context, req *ProposeSkillRequest) (r ProposeSkillRes, _ error)
- func (UnimplementedHandler) PurgeHandoffReportActivities(ctx context.Context, req *PurgeHandoffReportActivitiesRequest) (r PurgeHandoffReportActivitiesRes, _ error)
- func (UnimplementedHandler) RecordHandoffReportActivity(ctx context.Context, req *RecordHandoffReportActivityRequest) (r RecordHandoffReportActivityRes, _ error)
- func (UnimplementedHandler) RecordTaskOutcome(ctx context.Context, req *RecordTaskOutcomeRequest) (r RecordTaskOutcomeRes, _ error)
- func (UnimplementedHandler) RegisterHandoffReportWorkstream(ctx context.Context, req *RegisterHandoffReportWorkstreamRequest) (r RegisterHandoffReportWorkstreamRes, _ error)
- func (UnimplementedHandler) RejectArtifactCandidate(ctx context.Context, req *RejectArtifactCandidateRequest) (r RejectArtifactCandidateRes, _ error)
- func (UnimplementedHandler) RememberMemory(ctx context.Context, req *RememberMemoryRequest) (r RememberMemoryRes, _ error)
- func (UnimplementedHandler) ResolveExternalSkill(ctx context.Context, req *ResolveExternalSkillRequest) (r ResolveExternalSkillRes, _ error)
- func (UnimplementedHandler) RetireMemoryEntry(ctx context.Context, req *RetireMemoryEntryRequest) (r RetireMemoryEntryRes, _ error)
- func (UnimplementedHandler) ReviseArtifactCandidate(ctx context.Context, req *ReviseArtifactCandidateRequest) (r ReviseArtifactCandidateRes, _ error)
- func (UnimplementedHandler) ReviseMemoryEntry(ctx context.Context, req *ReviseMemoryEntryRequest) (r ReviseMemoryEntryRes, _ error)
- func (UnimplementedHandler) ScanExternalSkills(ctx context.Context, req *ScanExternalSkillsRequest) (r ScanExternalSkillsRes, _ error)
- func (UnimplementedHandler) SearchMemory(ctx context.Context, req *SearchMemoryRequest) (r SearchMemoryRes, _ error)
- func (UnimplementedHandler) UpdateHandoffReportProject(ctx context.Context, req *UpdateHandoffReportProjectRequest) (r UpdateHandoffReportProjectRes, _ error)
- func (UnimplementedHandler) UpdateHandoffReportWorkstream(ctx context.Context, req *UpdateHandoffReportWorkstreamRequest) (r UpdateHandoffReportWorkstreamRes, _ error)
- type UpdateHandoffReportProjectRequest
- func (s *UpdateHandoffReportProjectRequest) Decode(d *jx.Decoder) error
- func (s *UpdateHandoffReportProjectRequest) Encode(e *jx.Encoder)
- func (s *UpdateHandoffReportProjectRequest) GetExpectedVersion() int
- func (s *UpdateHandoffReportProjectRequest) GetProject() ProjectDescriptor
- func (s *UpdateHandoffReportProjectRequest) MarshalJSON() ([]byte, error)
- func (s *UpdateHandoffReportProjectRequest) SetExpectedVersion(val int)
- func (s *UpdateHandoffReportProjectRequest) SetProject(val ProjectDescriptor)
- func (s *UpdateHandoffReportProjectRequest) UnmarshalJSON(data []byte) error
- func (s *UpdateHandoffReportProjectRequest) Validate() error
- type UpdateHandoffReportProjectRes
- type UpdateHandoffReportWorkstreamRequest
- func (s *UpdateHandoffReportWorkstreamRequest) Decode(d *jx.Decoder) error
- func (s *UpdateHandoffReportWorkstreamRequest) Encode(e *jx.Encoder)
- func (s *UpdateHandoffReportWorkstreamRequest) GetExpectedVersion() int
- func (s *UpdateHandoffReportWorkstreamRequest) GetWorkstream() WorkstreamDescriptor
- func (s *UpdateHandoffReportWorkstreamRequest) MarshalJSON() ([]byte, error)
- func (s *UpdateHandoffReportWorkstreamRequest) SetExpectedVersion(val int)
- func (s *UpdateHandoffReportWorkstreamRequest) SetWorkstream(val WorkstreamDescriptor)
- func (s *UpdateHandoffReportWorkstreamRequest) UnmarshalJSON(data []byte) error
- func (s *UpdateHandoffReportWorkstreamRequest) Validate() error
- type UpdateHandoffReportWorkstreamRes
- type UsageStatistics
- func (s *UsageStatistics) Decode(d *jx.Decoder) error
- func (s *UsageStatistics) Encode(e *jx.Encoder)
- func (s *UsageStatistics) GetByPurpose() []ModelUsagePurposeBreakdown
- func (s *UsageStatistics) GetDaily() []ModelUsageDay
- func (s *UsageStatistics) GetPeriod() ResolvedUsagePeriod
- func (s *UsageStatistics) GetTotals() ModelUsageStatistics
- func (s *UsageStatistics) MarshalJSON() ([]byte, error)
- func (s *UsageStatistics) SetByPurpose(val []ModelUsagePurposeBreakdown)
- func (s *UsageStatistics) SetDaily(val []ModelUsageDay)
- func (s *UsageStatistics) SetPeriod(val ResolvedUsagePeriod)
- func (s *UsageStatistics) SetTotals(val ModelUsageStatistics)
- func (s *UsageStatistics) UnmarshalJSON(data []byte) error
- func (s *UsageStatistics) Validate() error
- type WorkClaim
- func (s *WorkClaim) Decode(d *jx.Decoder) error
- func (s *WorkClaim) Encode(e *jx.Encoder)
- func (s *WorkClaim) GetBasis() WorkClaimBasis
- func (s *WorkClaim) GetEvidence() []HandoffCitation
- func (s *WorkClaim) GetText() string
- func (s *WorkClaim) MarshalJSON() ([]byte, error)
- func (s *WorkClaim) SetBasis(val WorkClaimBasis)
- func (s *WorkClaim) SetEvidence(val []HandoffCitation)
- func (s *WorkClaim) SetText(val string)
- func (s *WorkClaim) UnmarshalJSON(data []byte) error
- func (s *WorkClaim) Validate() error
- type WorkClaimBasis
- func (WorkClaimBasis) AllValues() []WorkClaimBasis
- func (s *WorkClaimBasis) Decode(d *jx.Decoder) error
- func (s WorkClaimBasis) Encode(e *jx.Encoder)
- func (s WorkClaimBasis) MarshalJSON() ([]byte, error)
- func (s WorkClaimBasis) MarshalText() ([]byte, error)
- func (s *WorkClaimBasis) UnmarshalJSON(data []byte) error
- func (s *WorkClaimBasis) UnmarshalText(data []byte) error
- func (s WorkClaimBasis) Validate() error
- type WorkContract
- func (s *WorkContract) Decode(d *jx.Decoder) error
- func (s *WorkContract) Encode(e *jx.Encoder)
- func (s *WorkContract) GetAuthorizationNotes() []string
- func (s *WorkContract) GetCompletionCriteria() []string
- func (s *WorkContract) GetExclusions() []string
- func (s *WorkContract) GetFacts() []WorkClaim
- func (s *WorkContract) GetInScope() []string
- func (s *WorkContract) GetObjective() string
- func (s *WorkContract) GetOpenQuestions() []string
- func (s *WorkContract) GetSchema() WorkContractSchema
- func (s *WorkContract) GetTrust() WorkContractTrust
- func (s *WorkContract) MarshalJSON() ([]byte, error)
- func (s *WorkContract) SetAuthorizationNotes(val []string)
- func (s *WorkContract) SetCompletionCriteria(val []string)
- func (s *WorkContract) SetExclusions(val []string)
- func (s *WorkContract) SetFacts(val []WorkClaim)
- func (s *WorkContract) SetInScope(val []string)
- func (s *WorkContract) SetObjective(val string)
- func (s *WorkContract) SetOpenQuestions(val []string)
- func (s *WorkContract) SetSchema(val WorkContractSchema)
- func (s *WorkContract) SetTrust(val WorkContractTrust)
- func (s *WorkContract) UnmarshalJSON(data []byte) error
- func (s *WorkContract) Validate() error
- type WorkContractSchema
- func (WorkContractSchema) AllValues() []WorkContractSchema
- func (s *WorkContractSchema) Decode(d *jx.Decoder) error
- func (s WorkContractSchema) Encode(e *jx.Encoder)
- func (s WorkContractSchema) MarshalJSON() ([]byte, error)
- func (s WorkContractSchema) MarshalText() ([]byte, error)
- func (s *WorkContractSchema) UnmarshalJSON(data []byte) error
- func (s *WorkContractSchema) UnmarshalText(data []byte) error
- func (s WorkContractSchema) Validate() error
- type WorkContractTrust
- func (WorkContractTrust) AllValues() []WorkContractTrust
- func (s *WorkContractTrust) Decode(d *jx.Decoder) error
- func (s WorkContractTrust) Encode(e *jx.Encoder)
- func (s WorkContractTrust) MarshalJSON() ([]byte, error)
- func (s WorkContractTrust) MarshalText() ([]byte, error)
- func (s *WorkContractTrust) UnmarshalJSON(data []byte) error
- func (s *WorkContractTrust) UnmarshalText(data []byte) error
- func (s WorkContractTrust) Validate() error
- type WorkSourceKind
- func (WorkSourceKind) AllValues() []WorkSourceKind
- func (s *WorkSourceKind) Decode(d *jx.Decoder) error
- func (s WorkSourceKind) Encode(e *jx.Encoder)
- func (s WorkSourceKind) MarshalJSON() ([]byte, error)
- func (s WorkSourceKind) MarshalText() ([]byte, error)
- func (s *WorkSourceKind) UnmarshalJSON(data []byte) error
- func (s *WorkSourceKind) UnmarshalText(data []byte) error
- func (s WorkSourceKind) Validate() error
- type WorkSourceReceipt
- func (s *WorkSourceReceipt) Decode(d *jx.Decoder) error
- func (s *WorkSourceReceipt) Encode(e *jx.Encoder)
- func (s *WorkSourceReceipt) GetContentDigest() string
- func (s *WorkSourceReceipt) GetKind() WorkSourceKind
- func (s *WorkSourceReceipt) GetPosition() int
- func (s *WorkSourceReceipt) GetSource() SourceReference
- func (s *WorkSourceReceipt) MarshalJSON() ([]byte, error)
- func (s *WorkSourceReceipt) SetContentDigest(val string)
- func (s *WorkSourceReceipt) SetKind(val WorkSourceKind)
- func (s *WorkSourceReceipt) SetPosition(val int)
- func (s *WorkSourceReceipt) SetSource(val SourceReference)
- func (s *WorkSourceReceipt) UnmarshalJSON(data []byte) error
- func (s *WorkSourceReceipt) Validate() error
- type WorkSourceReceiptHeaders
- func (s *WorkSourceReceiptHeaders) GetResponse() WorkSourceReceipt
- func (s *WorkSourceReceiptHeaders) GetXPowerContextRequestID() OptString
- func (s *WorkSourceReceiptHeaders) SetResponse(val WorkSourceReceipt)
- func (s *WorkSourceReceiptHeaders) SetXPowerContextRequestID(val OptString)
- func (s *WorkSourceReceiptHeaders) Validate() error
- type WorkstreamDescriptor
- func (s *WorkstreamDescriptor) Decode(d *jx.Decoder) error
- func (s *WorkstreamDescriptor) Encode(e *jx.Encoder)
- func (s *WorkstreamDescriptor) GetCatalogState() ReportCatalogState
- func (s *WorkstreamDescriptor) GetExternalRefs() []HandoffReportExternalReference
- func (s *WorkstreamDescriptor) GetKey() NilString
- func (s *WorkstreamDescriptor) GetKind() WorkstreamKind
- func (s *WorkstreamDescriptor) GetLabels() []string
- func (s *WorkstreamDescriptor) GetProjectID() string
- func (s *WorkstreamDescriptor) GetSchema() WorkstreamDescriptorSchema
- func (s *WorkstreamDescriptor) GetScopeID() string
- func (s *WorkstreamDescriptor) GetTitle() string
- func (s *WorkstreamDescriptor) GetVersion() int
- func (s *WorkstreamDescriptor) MarshalJSON() ([]byte, error)
- func (s *WorkstreamDescriptor) SetCatalogState(val ReportCatalogState)
- func (s *WorkstreamDescriptor) SetExternalRefs(val []HandoffReportExternalReference)
- func (s *WorkstreamDescriptor) SetKey(val NilString)
- func (s *WorkstreamDescriptor) SetKind(val WorkstreamKind)
- func (s *WorkstreamDescriptor) SetLabels(val []string)
- func (s *WorkstreamDescriptor) SetProjectID(val string)
- func (s *WorkstreamDescriptor) SetSchema(val WorkstreamDescriptorSchema)
- func (s *WorkstreamDescriptor) SetScopeID(val string)
- func (s *WorkstreamDescriptor) SetTitle(val string)
- func (s *WorkstreamDescriptor) SetVersion(val int)
- func (s *WorkstreamDescriptor) UnmarshalJSON(data []byte) error
- func (s *WorkstreamDescriptor) Validate() error
- type WorkstreamDescriptorHeaders
- func (s *WorkstreamDescriptorHeaders) GetResponse() WorkstreamDescriptor
- func (s *WorkstreamDescriptorHeaders) GetXPowerContextRequestID() OptString
- func (s *WorkstreamDescriptorHeaders) SetResponse(val WorkstreamDescriptor)
- func (s *WorkstreamDescriptorHeaders) SetXPowerContextRequestID(val OptString)
- func (s *WorkstreamDescriptorHeaders) Validate() error
- type WorkstreamDescriptorSchema
- func (WorkstreamDescriptorSchema) AllValues() []WorkstreamDescriptorSchema
- func (s *WorkstreamDescriptorSchema) Decode(d *jx.Decoder) error
- func (s WorkstreamDescriptorSchema) Encode(e *jx.Encoder)
- func (s WorkstreamDescriptorSchema) MarshalJSON() ([]byte, error)
- func (s WorkstreamDescriptorSchema) MarshalText() ([]byte, error)
- func (s *WorkstreamDescriptorSchema) UnmarshalJSON(data []byte) error
- func (s *WorkstreamDescriptorSchema) UnmarshalText(data []byte) error
- func (s WorkstreamDescriptorSchema) Validate() error
- type WorkstreamKind
- func (WorkstreamKind) AllValues() []WorkstreamKind
- func (s *WorkstreamKind) Decode(d *jx.Decoder) error
- func (s WorkstreamKind) Encode(e *jx.Encoder)
- func (s WorkstreamKind) MarshalJSON() ([]byte, error)
- func (s WorkstreamKind) MarshalText() ([]byte, error)
- func (s *WorkstreamKind) UnmarshalJSON(data []byte) error
- func (s *WorkstreamKind) UnmarshalText(data []byte) error
- func (s WorkstreamKind) Validate() error
- type WorkstreamPage
- func (s *WorkstreamPage) Decode(d *jx.Decoder) error
- func (s *WorkstreamPage) Encode(e *jx.Encoder)
- func (s *WorkstreamPage) GetItems() []WorkstreamDescriptor
- func (s *WorkstreamPage) GetNextCursor() NilString
- func (s *WorkstreamPage) MarshalJSON() ([]byte, error)
- func (s *WorkstreamPage) SetItems(val []WorkstreamDescriptor)
- func (s *WorkstreamPage) SetNextCursor(val NilString)
- func (s *WorkstreamPage) UnmarshalJSON(data []byte) error
- func (s *WorkstreamPage) Validate() error
- type WorkstreamPageHeaders
- func (s *WorkstreamPageHeaders) GetResponse() WorkstreamPage
- func (s *WorkstreamPageHeaders) GetXPowerContextRequestID() OptString
- func (s *WorkstreamPageHeaders) SetResponse(val WorkstreamPage)
- func (s *WorkstreamPageHeaders) SetXPowerContextRequestID(val OptString)
- func (s *WorkstreamPageHeaders) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRolesForBearerAuth ¶
GetRolesForBearerAuth returns the required roles for the given operation.
This is useful for authorization scenarios where you need to know which roles are required for an operation.
Example:
requiredRoles := GetRolesForBearerAuth(AddPetOperation)
Returns nil if the operation has no role requirements or if the operation is unknown.
func ValidatePowerContextContract ¶
ValidatePowerContextContract applies semantic constraints that the frozen OpenAPI 3.0 document describes but cannot encode as schema keywords.
Types ¶
type AcknowledgeHandoffRequest ¶
type AcknowledgeHandoffRequest struct {
ScopeID string `json:"scope_id"`
SourceID string `json:"source_id"`
Receiver string `json:"receiver"`
Status HandoffReceiptStatus `json:"status"`
Selection HandoffAcknowledgementSelection `json:"selection"`
ReceiverChecks OptNilReceiverChecks `json:"receiver_checks"`
Prepared OptNilPreparedHandoff `json:"prepared"`
Revision OptNilArtifactReference `json:"revision"`
Message OptNilString `json:"message"`
}
Ref: #/components/schemas/AcknowledgeHandoffRequest
func (*AcknowledgeHandoffRequest) Decode ¶
func (s *AcknowledgeHandoffRequest) Decode(d *jx.Decoder) error
Decode decodes AcknowledgeHandoffRequest from json.
func (*AcknowledgeHandoffRequest) Encode ¶
func (s *AcknowledgeHandoffRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AcknowledgeHandoffRequest) GetMessage ¶
func (s *AcknowledgeHandoffRequest) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*AcknowledgeHandoffRequest) GetPrepared ¶
func (s *AcknowledgeHandoffRequest) GetPrepared() OptNilPreparedHandoff
GetPrepared returns the value of Prepared.
func (*AcknowledgeHandoffRequest) GetReceiver ¶
func (s *AcknowledgeHandoffRequest) GetReceiver() string
GetReceiver returns the value of Receiver.
func (*AcknowledgeHandoffRequest) GetReceiverChecks ¶
func (s *AcknowledgeHandoffRequest) GetReceiverChecks() OptNilReceiverChecks
GetReceiverChecks returns the value of ReceiverChecks.
func (*AcknowledgeHandoffRequest) GetRevision ¶
func (s *AcknowledgeHandoffRequest) GetRevision() OptNilArtifactReference
GetRevision returns the value of Revision.
func (*AcknowledgeHandoffRequest) GetScopeID ¶
func (s *AcknowledgeHandoffRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*AcknowledgeHandoffRequest) GetSelection ¶
func (s *AcknowledgeHandoffRequest) GetSelection() HandoffAcknowledgementSelection
GetSelection returns the value of Selection.
func (*AcknowledgeHandoffRequest) GetSourceID ¶
func (s *AcknowledgeHandoffRequest) GetSourceID() string
GetSourceID returns the value of SourceID.
func (*AcknowledgeHandoffRequest) GetStatus ¶
func (s *AcknowledgeHandoffRequest) GetStatus() HandoffReceiptStatus
GetStatus returns the value of Status.
func (*AcknowledgeHandoffRequest) MarshalJSON ¶
func (s *AcknowledgeHandoffRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AcknowledgeHandoffRequest) SetMessage ¶
func (s *AcknowledgeHandoffRequest) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*AcknowledgeHandoffRequest) SetPrepared ¶
func (s *AcknowledgeHandoffRequest) SetPrepared(val OptNilPreparedHandoff)
SetPrepared sets the value of Prepared.
func (*AcknowledgeHandoffRequest) SetReceiver ¶
func (s *AcknowledgeHandoffRequest) SetReceiver(val string)
SetReceiver sets the value of Receiver.
func (*AcknowledgeHandoffRequest) SetReceiverChecks ¶
func (s *AcknowledgeHandoffRequest) SetReceiverChecks(val OptNilReceiverChecks)
SetReceiverChecks sets the value of ReceiverChecks.
func (*AcknowledgeHandoffRequest) SetRevision ¶
func (s *AcknowledgeHandoffRequest) SetRevision(val OptNilArtifactReference)
SetRevision sets the value of Revision.
func (*AcknowledgeHandoffRequest) SetScopeID ¶
func (s *AcknowledgeHandoffRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*AcknowledgeHandoffRequest) SetSelection ¶
func (s *AcknowledgeHandoffRequest) SetSelection(val HandoffAcknowledgementSelection)
SetSelection sets the value of Selection.
func (*AcknowledgeHandoffRequest) SetSourceID ¶
func (s *AcknowledgeHandoffRequest) SetSourceID(val string)
SetSourceID sets the value of SourceID.
func (*AcknowledgeHandoffRequest) SetStatus ¶
func (s *AcknowledgeHandoffRequest) SetStatus(val HandoffReceiptStatus)
SetStatus sets the value of Status.
func (*AcknowledgeHandoffRequest) UnmarshalJSON ¶
func (s *AcknowledgeHandoffRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AcknowledgeHandoffRequest) Validate ¶
func (s *AcknowledgeHandoffRequest) Validate() error
type AcknowledgeHandoffRes ¶
type AcknowledgeHandoffRes interface {
// contains filtered or unexported methods
}
type ActivateHandoffRequest ¶
type ActivateHandoffRequest struct {
ScopeID string `json:"scope_id"`
BoundarySource SourceReference `json:"boundary_source"`
Objective string `json:"objective"`
Evidence []HandoffCitation `json:"evidence"`
MaxBytes OptInt `json:"max_bytes"`
}
Ref: #/components/schemas/ActivateHandoffRequest
func (*ActivateHandoffRequest) Decode ¶
func (s *ActivateHandoffRequest) Decode(d *jx.Decoder) error
Decode decodes ActivateHandoffRequest from json.
func (*ActivateHandoffRequest) Encode ¶
func (s *ActivateHandoffRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ActivateHandoffRequest) GetBoundarySource ¶
func (s *ActivateHandoffRequest) GetBoundarySource() SourceReference
GetBoundarySource returns the value of BoundarySource.
func (*ActivateHandoffRequest) GetEvidence ¶
func (s *ActivateHandoffRequest) GetEvidence() []HandoffCitation
GetEvidence returns the value of Evidence.
func (*ActivateHandoffRequest) GetMaxBytes ¶
func (s *ActivateHandoffRequest) GetMaxBytes() OptInt
GetMaxBytes returns the value of MaxBytes.
func (*ActivateHandoffRequest) GetObjective ¶
func (s *ActivateHandoffRequest) GetObjective() string
GetObjective returns the value of Objective.
func (*ActivateHandoffRequest) GetScopeID ¶
func (s *ActivateHandoffRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*ActivateHandoffRequest) MarshalJSON ¶
func (s *ActivateHandoffRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ActivateHandoffRequest) SetBoundarySource ¶
func (s *ActivateHandoffRequest) SetBoundarySource(val SourceReference)
SetBoundarySource sets the value of BoundarySource.
func (*ActivateHandoffRequest) SetEvidence ¶
func (s *ActivateHandoffRequest) SetEvidence(val []HandoffCitation)
SetEvidence sets the value of Evidence.
func (*ActivateHandoffRequest) SetMaxBytes ¶
func (s *ActivateHandoffRequest) SetMaxBytes(val OptInt)
SetMaxBytes sets the value of MaxBytes.
func (*ActivateHandoffRequest) SetObjective ¶
func (s *ActivateHandoffRequest) SetObjective(val string)
SetObjective sets the value of Objective.
func (*ActivateHandoffRequest) SetScopeID ¶
func (s *ActivateHandoffRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*ActivateHandoffRequest) UnmarshalJSON ¶
func (s *ActivateHandoffRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ActivateHandoffRequest) Validate ¶
func (s *ActivateHandoffRequest) Validate() error
type ActivateHandoffRes ¶
type ActivateHandoffRes interface {
// contains filtered or unexported methods
}
type ApproveArtifactCandidateRequest ¶
type ApproveArtifactCandidateRequest struct {
ScopeID string `json:"scope_id"`
CandidateID string `json:"candidate_id"`
ExpectedVersion int `json:"expected_version"`
}
Ref: #/components/schemas/ApproveArtifactCandidateRequest
func (*ApproveArtifactCandidateRequest) Decode ¶
func (s *ApproveArtifactCandidateRequest) Decode(d *jx.Decoder) error
Decode decodes ApproveArtifactCandidateRequest from json.
func (*ApproveArtifactCandidateRequest) Encode ¶
func (s *ApproveArtifactCandidateRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ApproveArtifactCandidateRequest) GetCandidateID ¶
func (s *ApproveArtifactCandidateRequest) GetCandidateID() string
GetCandidateID returns the value of CandidateID.
func (*ApproveArtifactCandidateRequest) GetExpectedVersion ¶
func (s *ApproveArtifactCandidateRequest) GetExpectedVersion() int
GetExpectedVersion returns the value of ExpectedVersion.
func (*ApproveArtifactCandidateRequest) GetScopeID ¶
func (s *ApproveArtifactCandidateRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*ApproveArtifactCandidateRequest) MarshalJSON ¶
func (s *ApproveArtifactCandidateRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ApproveArtifactCandidateRequest) SetCandidateID ¶
func (s *ApproveArtifactCandidateRequest) SetCandidateID(val string)
SetCandidateID sets the value of CandidateID.
func (*ApproveArtifactCandidateRequest) SetExpectedVersion ¶
func (s *ApproveArtifactCandidateRequest) SetExpectedVersion(val int)
SetExpectedVersion sets the value of ExpectedVersion.
func (*ApproveArtifactCandidateRequest) SetScopeID ¶
func (s *ApproveArtifactCandidateRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*ApproveArtifactCandidateRequest) UnmarshalJSON ¶
func (s *ApproveArtifactCandidateRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ApproveArtifactCandidateRequest) Validate ¶
func (s *ApproveArtifactCandidateRequest) Validate() error
type ApproveArtifactCandidateRes ¶
type ApproveArtifactCandidateRes interface {
// contains filtered or unexported methods
}
type ArtifactCandidate ¶
type ArtifactCandidate struct {
CandidateID string `json:"candidate_id"`
Version int `json:"version"`
Family CandidateFamily `json:"family"`
Status CandidateStatus `json:"status"`
Proposal ArtifactCandidateProposal `json:"proposal"`
// Exact Source evidence. Counted with artifact_refs toward a combined maximum of 32 references.
SourceRefs []SourceReference `json:"source_refs"`
// Exact Artifact evidence. Counted with source_refs toward a combined maximum of 32 references.
ArtifactRefs []ArtifactReference `json:"artifact_refs"`
Target NilArtifactReference `json:"target"`
Reason NilString `json:"reason"`
ResultArtifact NilArtifactReference `json:"result_artifact"`
DecisionReason NilString `json:"decision_reason"`
}
Ref: #/components/schemas/ArtifactCandidate
func (*ArtifactCandidate) Decode ¶
func (s *ArtifactCandidate) Decode(d *jx.Decoder) error
Decode decodes ArtifactCandidate from json.
func (*ArtifactCandidate) Encode ¶
func (s *ArtifactCandidate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ArtifactCandidate) GetArtifactRefs ¶
func (s *ArtifactCandidate) GetArtifactRefs() []ArtifactReference
GetArtifactRefs returns the value of ArtifactRefs.
func (*ArtifactCandidate) GetCandidateID ¶
func (s *ArtifactCandidate) GetCandidateID() string
GetCandidateID returns the value of CandidateID.
func (*ArtifactCandidate) GetDecisionReason ¶
func (s *ArtifactCandidate) GetDecisionReason() NilString
GetDecisionReason returns the value of DecisionReason.
func (*ArtifactCandidate) GetFamily ¶
func (s *ArtifactCandidate) GetFamily() CandidateFamily
GetFamily returns the value of Family.
func (*ArtifactCandidate) GetProposal ¶
func (s *ArtifactCandidate) GetProposal() ArtifactCandidateProposal
GetProposal returns the value of Proposal.
func (*ArtifactCandidate) GetReason ¶
func (s *ArtifactCandidate) GetReason() NilString
GetReason returns the value of Reason.
func (*ArtifactCandidate) GetResultArtifact ¶
func (s *ArtifactCandidate) GetResultArtifact() NilArtifactReference
GetResultArtifact returns the value of ResultArtifact.
func (*ArtifactCandidate) GetSourceRefs ¶
func (s *ArtifactCandidate) GetSourceRefs() []SourceReference
GetSourceRefs returns the value of SourceRefs.
func (*ArtifactCandidate) GetStatus ¶
func (s *ArtifactCandidate) GetStatus() CandidateStatus
GetStatus returns the value of Status.
func (*ArtifactCandidate) GetTarget ¶
func (s *ArtifactCandidate) GetTarget() NilArtifactReference
GetTarget returns the value of Target.
func (*ArtifactCandidate) GetVersion ¶
func (s *ArtifactCandidate) GetVersion() int
GetVersion returns the value of Version.
func (*ArtifactCandidate) MarshalJSON ¶
func (s *ArtifactCandidate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ArtifactCandidate) SetArtifactRefs ¶
func (s *ArtifactCandidate) SetArtifactRefs(val []ArtifactReference)
SetArtifactRefs sets the value of ArtifactRefs.
func (*ArtifactCandidate) SetCandidateID ¶
func (s *ArtifactCandidate) SetCandidateID(val string)
SetCandidateID sets the value of CandidateID.
func (*ArtifactCandidate) SetDecisionReason ¶
func (s *ArtifactCandidate) SetDecisionReason(val NilString)
SetDecisionReason sets the value of DecisionReason.
func (*ArtifactCandidate) SetFamily ¶
func (s *ArtifactCandidate) SetFamily(val CandidateFamily)
SetFamily sets the value of Family.
func (*ArtifactCandidate) SetProposal ¶
func (s *ArtifactCandidate) SetProposal(val ArtifactCandidateProposal)
SetProposal sets the value of Proposal.
func (*ArtifactCandidate) SetReason ¶
func (s *ArtifactCandidate) SetReason(val NilString)
SetReason sets the value of Reason.
func (*ArtifactCandidate) SetResultArtifact ¶
func (s *ArtifactCandidate) SetResultArtifact(val NilArtifactReference)
SetResultArtifact sets the value of ResultArtifact.
func (*ArtifactCandidate) SetSourceRefs ¶
func (s *ArtifactCandidate) SetSourceRefs(val []SourceReference)
SetSourceRefs sets the value of SourceRefs.
func (*ArtifactCandidate) SetStatus ¶
func (s *ArtifactCandidate) SetStatus(val CandidateStatus)
SetStatus sets the value of Status.
func (*ArtifactCandidate) SetTarget ¶
func (s *ArtifactCandidate) SetTarget(val NilArtifactReference)
SetTarget sets the value of Target.
func (*ArtifactCandidate) SetVersion ¶
func (s *ArtifactCandidate) SetVersion(val int)
SetVersion sets the value of Version.
func (*ArtifactCandidate) UnmarshalJSON ¶
func (s *ArtifactCandidate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ArtifactCandidate) Validate ¶
func (s *ArtifactCandidate) Validate() error
type ArtifactCandidateHeaders ¶
type ArtifactCandidateHeaders struct {
XPowerContextRequestID OptString
Response ArtifactCandidate
}
ArtifactCandidateHeaders wraps ArtifactCandidate with response headers.
func (*ArtifactCandidateHeaders) GetResponse ¶
func (s *ArtifactCandidateHeaders) GetResponse() ArtifactCandidate
GetResponse returns the value of Response.
func (*ArtifactCandidateHeaders) GetXPowerContextRequestID ¶
func (s *ArtifactCandidateHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*ArtifactCandidateHeaders) SetResponse ¶
func (s *ArtifactCandidateHeaders) SetResponse(val ArtifactCandidate)
SetResponse sets the value of Response.
func (*ArtifactCandidateHeaders) SetXPowerContextRequestID ¶
func (s *ArtifactCandidateHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*ArtifactCandidateHeaders) Validate ¶
func (s *ArtifactCandidateHeaders) Validate() error
type ArtifactCandidatePage ¶
type ArtifactCandidatePage struct {
Candidates []ArtifactCandidate `json:"candidates"`
NextCursor NilString `json:"next_cursor"`
}
Ref: #/components/schemas/ArtifactCandidatePage
func (*ArtifactCandidatePage) Decode ¶
func (s *ArtifactCandidatePage) Decode(d *jx.Decoder) error
Decode decodes ArtifactCandidatePage from json.
func (*ArtifactCandidatePage) Encode ¶
func (s *ArtifactCandidatePage) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ArtifactCandidatePage) GetCandidates ¶
func (s *ArtifactCandidatePage) GetCandidates() []ArtifactCandidate
GetCandidates returns the value of Candidates.
func (*ArtifactCandidatePage) GetNextCursor ¶
func (s *ArtifactCandidatePage) GetNextCursor() NilString
GetNextCursor returns the value of NextCursor.
func (*ArtifactCandidatePage) MarshalJSON ¶
func (s *ArtifactCandidatePage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ArtifactCandidatePage) SetCandidates ¶
func (s *ArtifactCandidatePage) SetCandidates(val []ArtifactCandidate)
SetCandidates sets the value of Candidates.
func (*ArtifactCandidatePage) SetNextCursor ¶
func (s *ArtifactCandidatePage) SetNextCursor(val NilString)
SetNextCursor sets the value of NextCursor.
func (*ArtifactCandidatePage) UnmarshalJSON ¶
func (s *ArtifactCandidatePage) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ArtifactCandidatePage) Validate ¶
func (s *ArtifactCandidatePage) Validate() error
type ArtifactCandidatePageHeaders ¶
type ArtifactCandidatePageHeaders struct {
XPowerContextRequestID OptString
Response ArtifactCandidatePage
}
ArtifactCandidatePageHeaders wraps ArtifactCandidatePage with response headers.
func (*ArtifactCandidatePageHeaders) GetResponse ¶
func (s *ArtifactCandidatePageHeaders) GetResponse() ArtifactCandidatePage
GetResponse returns the value of Response.
func (*ArtifactCandidatePageHeaders) GetXPowerContextRequestID ¶
func (s *ArtifactCandidatePageHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*ArtifactCandidatePageHeaders) SetResponse ¶
func (s *ArtifactCandidatePageHeaders) SetResponse(val ArtifactCandidatePage)
SetResponse sets the value of Response.
func (*ArtifactCandidatePageHeaders) SetXPowerContextRequestID ¶
func (s *ArtifactCandidatePageHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*ArtifactCandidatePageHeaders) Validate ¶
func (s *ArtifactCandidatePageHeaders) Validate() error
type ArtifactCandidateProposal ¶
type ArtifactCandidateProposal struct {
// Type selects the active sum variant, switch on this field.
Type ArtifactCandidateProposalType
ExperienceProposal ExperienceProposal
SkillProposal SkillProposal
}
ArtifactCandidateProposal represents sum type.
func NewExperienceProposalArtifactCandidateProposal ¶
func NewExperienceProposalArtifactCandidateProposal(v ExperienceProposal) ArtifactCandidateProposal
NewExperienceProposalArtifactCandidateProposal returns new ArtifactCandidateProposal from ExperienceProposal.
func NewSkillProposalArtifactCandidateProposal ¶
func NewSkillProposalArtifactCandidateProposal(v SkillProposal) ArtifactCandidateProposal
NewSkillProposalArtifactCandidateProposal returns new ArtifactCandidateProposal from SkillProposal.
func (*ArtifactCandidateProposal) Decode ¶
func (s *ArtifactCandidateProposal) Decode(d *jx.Decoder) error
Decode decodes ArtifactCandidateProposal from json.
func (ArtifactCandidateProposal) Encode ¶
func (s ArtifactCandidateProposal) Encode(e *jx.Encoder)
Encode encodes ArtifactCandidateProposal as json.
func (ArtifactCandidateProposal) GetExperienceProposal ¶
func (s ArtifactCandidateProposal) GetExperienceProposal() (v ExperienceProposal, ok bool)
GetExperienceProposal returns ExperienceProposal and true boolean if ArtifactCandidateProposal is ExperienceProposal.
func (ArtifactCandidateProposal) GetSkillProposal ¶
func (s ArtifactCandidateProposal) GetSkillProposal() (v SkillProposal, ok bool)
GetSkillProposal returns SkillProposal and true boolean if ArtifactCandidateProposal is SkillProposal.
func (ArtifactCandidateProposal) IsExperienceProposal ¶
func (s ArtifactCandidateProposal) IsExperienceProposal() bool
IsExperienceProposal reports whether ArtifactCandidateProposal is ExperienceProposal.
func (ArtifactCandidateProposal) IsSkillProposal ¶
func (s ArtifactCandidateProposal) IsSkillProposal() bool
IsSkillProposal reports whether ArtifactCandidateProposal is SkillProposal.
func (ArtifactCandidateProposal) MarshalJSON ¶
func (s ArtifactCandidateProposal) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ArtifactCandidateProposal) SetExperienceProposal ¶
func (s *ArtifactCandidateProposal) SetExperienceProposal(v ExperienceProposal)
SetExperienceProposal sets ArtifactCandidateProposal to ExperienceProposal.
func (*ArtifactCandidateProposal) SetSkillProposal ¶
func (s *ArtifactCandidateProposal) SetSkillProposal(v SkillProposal)
SetSkillProposal sets ArtifactCandidateProposal to SkillProposal.
func (*ArtifactCandidateProposal) UnmarshalJSON ¶
func (s *ArtifactCandidateProposal) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ArtifactCandidateProposal) Validate ¶
func (s ArtifactCandidateProposal) Validate() error
type ArtifactCandidateProposalType ¶
type ArtifactCandidateProposalType string
ArtifactCandidateProposalType is oneOf type of ArtifactCandidateProposal.
const ( ExperienceProposalArtifactCandidateProposal ArtifactCandidateProposalType = "ExperienceProposal" SkillProposalArtifactCandidateProposal ArtifactCandidateProposalType = "SkillProposal" )
Possible values for ArtifactCandidateProposalType.
type ArtifactInventoryStatistics ¶
type ArtifactInventoryStatistics struct {
Total int `json:"total"`
ByFamily []FamilyCount `json:"by_family"`
}
Ref: #/components/schemas/ArtifactInventoryStatistics
func (*ArtifactInventoryStatistics) Decode ¶
func (s *ArtifactInventoryStatistics) Decode(d *jx.Decoder) error
Decode decodes ArtifactInventoryStatistics from json.
func (*ArtifactInventoryStatistics) Encode ¶
func (s *ArtifactInventoryStatistics) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ArtifactInventoryStatistics) GetByFamily ¶
func (s *ArtifactInventoryStatistics) GetByFamily() []FamilyCount
GetByFamily returns the value of ByFamily.
func (*ArtifactInventoryStatistics) GetTotal ¶
func (s *ArtifactInventoryStatistics) GetTotal() int
GetTotal returns the value of Total.
func (*ArtifactInventoryStatistics) MarshalJSON ¶
func (s *ArtifactInventoryStatistics) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ArtifactInventoryStatistics) SetByFamily ¶
func (s *ArtifactInventoryStatistics) SetByFamily(val []FamilyCount)
SetByFamily sets the value of ByFamily.
func (*ArtifactInventoryStatistics) SetTotal ¶
func (s *ArtifactInventoryStatistics) SetTotal(val int)
SetTotal sets the value of Total.
func (*ArtifactInventoryStatistics) UnmarshalJSON ¶
func (s *ArtifactInventoryStatistics) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ArtifactInventoryStatistics) Validate ¶
func (s *ArtifactInventoryStatistics) Validate() error
type ArtifactReference ¶
type ArtifactReference struct {
Family string `json:"family"`
ArtifactID string `json:"artifact_id"`
Revision int `json:"revision"`
}
Ref: #/components/schemas/ArtifactReference
func (*ArtifactReference) Decode ¶
func (s *ArtifactReference) Decode(d *jx.Decoder) error
Decode decodes ArtifactReference from json.
func (*ArtifactReference) Encode ¶
func (s *ArtifactReference) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ArtifactReference) GetArtifactID ¶
func (s *ArtifactReference) GetArtifactID() string
GetArtifactID returns the value of ArtifactID.
func (*ArtifactReference) GetFamily ¶
func (s *ArtifactReference) GetFamily() string
GetFamily returns the value of Family.
func (*ArtifactReference) GetRevision ¶
func (s *ArtifactReference) GetRevision() int
GetRevision returns the value of Revision.
func (*ArtifactReference) MarshalJSON ¶
func (s *ArtifactReference) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ArtifactReference) SetArtifactID ¶
func (s *ArtifactReference) SetArtifactID(val string)
SetArtifactID sets the value of ArtifactID.
func (*ArtifactReference) SetFamily ¶
func (s *ArtifactReference) SetFamily(val string)
SetFamily sets the value of Family.
func (*ArtifactReference) SetRevision ¶
func (s *ArtifactReference) SetRevision(val int)
SetRevision sets the value of Revision.
func (*ArtifactReference) UnmarshalJSON ¶
func (s *ArtifactReference) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ArtifactReference) Validate ¶
func (s *ArtifactReference) Validate() error
type AttachHandoffReportWorkspaceRequest ¶
type AttachHandoffReportWorkspaceRequest struct {
WorkspaceInstanceID string `json:"workspace_instance_id"`
ProjectID string `json:"project_id"`
RepositoryRef HandoffReportRepositoryRef `json:"repository_ref"`
ExpectedVersion NilInt `json:"expected_version"`
}
Ref: #/components/schemas/AttachHandoffReportWorkspaceRequest
func (*AttachHandoffReportWorkspaceRequest) Decode ¶
func (s *AttachHandoffReportWorkspaceRequest) Decode(d *jx.Decoder) error
Decode decodes AttachHandoffReportWorkspaceRequest from json.
func (*AttachHandoffReportWorkspaceRequest) Encode ¶
func (s *AttachHandoffReportWorkspaceRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AttachHandoffReportWorkspaceRequest) GetExpectedVersion ¶
func (s *AttachHandoffReportWorkspaceRequest) GetExpectedVersion() NilInt
GetExpectedVersion returns the value of ExpectedVersion.
func (*AttachHandoffReportWorkspaceRequest) GetProjectID ¶
func (s *AttachHandoffReportWorkspaceRequest) GetProjectID() string
GetProjectID returns the value of ProjectID.
func (*AttachHandoffReportWorkspaceRequest) GetRepositoryRef ¶
func (s *AttachHandoffReportWorkspaceRequest) GetRepositoryRef() HandoffReportRepositoryRef
GetRepositoryRef returns the value of RepositoryRef.
func (*AttachHandoffReportWorkspaceRequest) GetWorkspaceInstanceID ¶
func (s *AttachHandoffReportWorkspaceRequest) GetWorkspaceInstanceID() string
GetWorkspaceInstanceID returns the value of WorkspaceInstanceID.
func (*AttachHandoffReportWorkspaceRequest) MarshalJSON ¶
func (s *AttachHandoffReportWorkspaceRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AttachHandoffReportWorkspaceRequest) SetExpectedVersion ¶
func (s *AttachHandoffReportWorkspaceRequest) SetExpectedVersion(val NilInt)
SetExpectedVersion sets the value of ExpectedVersion.
func (*AttachHandoffReportWorkspaceRequest) SetProjectID ¶
func (s *AttachHandoffReportWorkspaceRequest) SetProjectID(val string)
SetProjectID sets the value of ProjectID.
func (*AttachHandoffReportWorkspaceRequest) SetRepositoryRef ¶
func (s *AttachHandoffReportWorkspaceRequest) SetRepositoryRef(val HandoffReportRepositoryRef)
SetRepositoryRef sets the value of RepositoryRef.
func (*AttachHandoffReportWorkspaceRequest) SetWorkspaceInstanceID ¶
func (s *AttachHandoffReportWorkspaceRequest) SetWorkspaceInstanceID(val string)
SetWorkspaceInstanceID sets the value of WorkspaceInstanceID.
func (*AttachHandoffReportWorkspaceRequest) UnmarshalJSON ¶
func (s *AttachHandoffReportWorkspaceRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AttachHandoffReportWorkspaceRequest) Validate ¶
func (s *AttachHandoffReportWorkspaceRequest) Validate() error
type AttachHandoffReportWorkspaceRes ¶
type AttachHandoffReportWorkspaceRes interface {
// contains filtered or unexported methods
}
type BearerAuth ¶
func (*BearerAuth) GetRoles ¶
func (s *BearerAuth) GetRoles() []string
GetRoles returns the value of Roles.
func (*BearerAuth) GetToken ¶
func (s *BearerAuth) GetToken() string
GetToken returns the value of Token.
func (*BearerAuth) SetRoles ¶
func (s *BearerAuth) SetRoles(val []string)
SetRoles sets the value of Roles.
func (*BearerAuth) SetToken ¶
func (s *BearerAuth) SetToken(val string)
SetToken sets the value of Token.
type CandidateFamily ¶
type CandidateFamily string
Ref: #/components/schemas/CandidateFamily
const ( CandidateFamilyExperience CandidateFamily = "experience" CandidateFamilySkill CandidateFamily = "skill" )
func (CandidateFamily) AllValues ¶
func (CandidateFamily) AllValues() []CandidateFamily
AllValues returns all CandidateFamily values.
func (*CandidateFamily) Decode ¶
func (s *CandidateFamily) Decode(d *jx.Decoder) error
Decode decodes CandidateFamily from json.
func (CandidateFamily) Encode ¶
func (s CandidateFamily) Encode(e *jx.Encoder)
Encode encodes CandidateFamily as json.
func (CandidateFamily) MarshalJSON ¶
func (s CandidateFamily) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CandidateFamily) MarshalText ¶
func (s CandidateFamily) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CandidateFamily) UnmarshalJSON ¶
func (s *CandidateFamily) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CandidateFamily) UnmarshalText ¶
func (s *CandidateFamily) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CandidateFamily) Validate ¶
func (s CandidateFamily) Validate() error
type CandidateFamilyCount ¶
type CandidateFamilyCount struct {
Family CandidateFamily `json:"family"`
Total int `json:"total"`
Pending int `json:"pending"`
Approved int `json:"approved"`
Rejected int `json:"rejected"`
}
Ref: #/components/schemas/CandidateFamilyCount
func (*CandidateFamilyCount) Decode ¶
func (s *CandidateFamilyCount) Decode(d *jx.Decoder) error
Decode decodes CandidateFamilyCount from json.
func (*CandidateFamilyCount) Encode ¶
func (s *CandidateFamilyCount) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CandidateFamilyCount) GetApproved ¶
func (s *CandidateFamilyCount) GetApproved() int
GetApproved returns the value of Approved.
func (*CandidateFamilyCount) GetFamily ¶
func (s *CandidateFamilyCount) GetFamily() CandidateFamily
GetFamily returns the value of Family.
func (*CandidateFamilyCount) GetPending ¶
func (s *CandidateFamilyCount) GetPending() int
GetPending returns the value of Pending.
func (*CandidateFamilyCount) GetRejected ¶
func (s *CandidateFamilyCount) GetRejected() int
GetRejected returns the value of Rejected.
func (*CandidateFamilyCount) GetTotal ¶
func (s *CandidateFamilyCount) GetTotal() int
GetTotal returns the value of Total.
func (*CandidateFamilyCount) MarshalJSON ¶
func (s *CandidateFamilyCount) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CandidateFamilyCount) SetApproved ¶
func (s *CandidateFamilyCount) SetApproved(val int)
SetApproved sets the value of Approved.
func (*CandidateFamilyCount) SetFamily ¶
func (s *CandidateFamilyCount) SetFamily(val CandidateFamily)
SetFamily sets the value of Family.
func (*CandidateFamilyCount) SetPending ¶
func (s *CandidateFamilyCount) SetPending(val int)
SetPending sets the value of Pending.
func (*CandidateFamilyCount) SetRejected ¶
func (s *CandidateFamilyCount) SetRejected(val int)
SetRejected sets the value of Rejected.
func (*CandidateFamilyCount) SetTotal ¶
func (s *CandidateFamilyCount) SetTotal(val int)
SetTotal sets the value of Total.
func (*CandidateFamilyCount) UnmarshalJSON ¶
func (s *CandidateFamilyCount) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CandidateFamilyCount) Validate ¶
func (s *CandidateFamilyCount) Validate() error
type CandidateInventoryStatistics ¶
type CandidateInventoryStatistics struct {
Total int `json:"total"`
Pending int `json:"pending"`
Approved int `json:"approved"`
Rejected int `json:"rejected"`
ByFamily []CandidateFamilyCount `json:"by_family"`
}
Ref: #/components/schemas/CandidateInventoryStatistics
func (*CandidateInventoryStatistics) Decode ¶
func (s *CandidateInventoryStatistics) Decode(d *jx.Decoder) error
Decode decodes CandidateInventoryStatistics from json.
func (*CandidateInventoryStatistics) Encode ¶
func (s *CandidateInventoryStatistics) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CandidateInventoryStatistics) GetApproved ¶
func (s *CandidateInventoryStatistics) GetApproved() int
GetApproved returns the value of Approved.
func (*CandidateInventoryStatistics) GetByFamily ¶
func (s *CandidateInventoryStatistics) GetByFamily() []CandidateFamilyCount
GetByFamily returns the value of ByFamily.
func (*CandidateInventoryStatistics) GetPending ¶
func (s *CandidateInventoryStatistics) GetPending() int
GetPending returns the value of Pending.
func (*CandidateInventoryStatistics) GetRejected ¶
func (s *CandidateInventoryStatistics) GetRejected() int
GetRejected returns the value of Rejected.
func (*CandidateInventoryStatistics) GetTotal ¶
func (s *CandidateInventoryStatistics) GetTotal() int
GetTotal returns the value of Total.
func (*CandidateInventoryStatistics) MarshalJSON ¶
func (s *CandidateInventoryStatistics) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CandidateInventoryStatistics) SetApproved ¶
func (s *CandidateInventoryStatistics) SetApproved(val int)
SetApproved sets the value of Approved.
func (*CandidateInventoryStatistics) SetByFamily ¶
func (s *CandidateInventoryStatistics) SetByFamily(val []CandidateFamilyCount)
SetByFamily sets the value of ByFamily.
func (*CandidateInventoryStatistics) SetPending ¶
func (s *CandidateInventoryStatistics) SetPending(val int)
SetPending sets the value of Pending.
func (*CandidateInventoryStatistics) SetRejected ¶
func (s *CandidateInventoryStatistics) SetRejected(val int)
SetRejected sets the value of Rejected.
func (*CandidateInventoryStatistics) SetTotal ¶
func (s *CandidateInventoryStatistics) SetTotal(val int)
SetTotal sets the value of Total.
func (*CandidateInventoryStatistics) UnmarshalJSON ¶
func (s *CandidateInventoryStatistics) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CandidateInventoryStatistics) Validate ¶
func (s *CandidateInventoryStatistics) Validate() error
type CandidateStatus ¶
type CandidateStatus string
Ref: #/components/schemas/CandidateStatus
const ( CandidateStatusPending CandidateStatus = "pending" CandidateStatusApproved CandidateStatus = "approved" CandidateStatusRejected CandidateStatus = "rejected" )
func (CandidateStatus) AllValues ¶
func (CandidateStatus) AllValues() []CandidateStatus
AllValues returns all CandidateStatus values.
func (*CandidateStatus) Decode ¶
func (s *CandidateStatus) Decode(d *jx.Decoder) error
Decode decodes CandidateStatus from json.
func (CandidateStatus) Encode ¶
func (s CandidateStatus) Encode(e *jx.Encoder)
Encode encodes CandidateStatus as json.
func (CandidateStatus) MarshalJSON ¶
func (s CandidateStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CandidateStatus) MarshalText ¶
func (s CandidateStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CandidateStatus) UnmarshalJSON ¶
func (s *CandidateStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CandidateStatus) UnmarshalText ¶
func (s *CandidateStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CandidateStatus) Validate ¶
func (s CandidateStatus) Validate() error
type Capabilities ¶
type Capabilities struct {
SourceTypes []string `json:"source_types"`
ArtifactFamilies []string `json:"artifact_families"`
// Whether pending Sources can be extracted into Memory.
MemoryExtraction bool `json:"memory_extraction"`
// Whether the configured model can generate reviewed Experience Candidates.
ExperienceGeneration OptBool `json:"experience_generation"`
// Whether the configured model can generate reviewed managed Skill Candidates.
ManagedSkillGeneration OptBool `json:"managed_skill_generation"`
// Whether host-local external Skill discovery and exact resolution are configured.
ExternalSkillRegistry OptBool `json:"external_skill_registry"`
// Whether exact evidence can be generated into an inspectable Handoff Draft.
HandoffGeneration bool `json:"handoff_generation"`
SearchModes []MemorySearchMode `json:"search_modes"`
ContextVersions []PreparedContextSchema `json:"context_versions"`
}
Ref: #/components/schemas/Capabilities
func (*Capabilities) Decode ¶
func (s *Capabilities) Decode(d *jx.Decoder) error
Decode decodes Capabilities from json.
func (*Capabilities) Encode ¶
func (s *Capabilities) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*Capabilities) GetArtifactFamilies ¶
func (s *Capabilities) GetArtifactFamilies() []string
GetArtifactFamilies returns the value of ArtifactFamilies.
func (*Capabilities) GetContextVersions ¶
func (s *Capabilities) GetContextVersions() []PreparedContextSchema
GetContextVersions returns the value of ContextVersions.
func (*Capabilities) GetExperienceGeneration ¶
func (s *Capabilities) GetExperienceGeneration() OptBool
GetExperienceGeneration returns the value of ExperienceGeneration.
func (*Capabilities) GetExternalSkillRegistry ¶
func (s *Capabilities) GetExternalSkillRegistry() OptBool
GetExternalSkillRegistry returns the value of ExternalSkillRegistry.
func (*Capabilities) GetHandoffGeneration ¶
func (s *Capabilities) GetHandoffGeneration() bool
GetHandoffGeneration returns the value of HandoffGeneration.
func (*Capabilities) GetManagedSkillGeneration ¶
func (s *Capabilities) GetManagedSkillGeneration() OptBool
GetManagedSkillGeneration returns the value of ManagedSkillGeneration.
func (*Capabilities) GetMemoryExtraction ¶
func (s *Capabilities) GetMemoryExtraction() bool
GetMemoryExtraction returns the value of MemoryExtraction.
func (*Capabilities) GetSearchModes ¶
func (s *Capabilities) GetSearchModes() []MemorySearchMode
GetSearchModes returns the value of SearchModes.
func (*Capabilities) GetSourceTypes ¶
func (s *Capabilities) GetSourceTypes() []string
GetSourceTypes returns the value of SourceTypes.
func (*Capabilities) MarshalJSON ¶
func (s *Capabilities) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*Capabilities) SetArtifactFamilies ¶
func (s *Capabilities) SetArtifactFamilies(val []string)
SetArtifactFamilies sets the value of ArtifactFamilies.
func (*Capabilities) SetContextVersions ¶
func (s *Capabilities) SetContextVersions(val []PreparedContextSchema)
SetContextVersions sets the value of ContextVersions.
func (*Capabilities) SetExperienceGeneration ¶
func (s *Capabilities) SetExperienceGeneration(val OptBool)
SetExperienceGeneration sets the value of ExperienceGeneration.
func (*Capabilities) SetExternalSkillRegistry ¶
func (s *Capabilities) SetExternalSkillRegistry(val OptBool)
SetExternalSkillRegistry sets the value of ExternalSkillRegistry.
func (*Capabilities) SetHandoffGeneration ¶
func (s *Capabilities) SetHandoffGeneration(val bool)
SetHandoffGeneration sets the value of HandoffGeneration.
func (*Capabilities) SetManagedSkillGeneration ¶
func (s *Capabilities) SetManagedSkillGeneration(val OptBool)
SetManagedSkillGeneration sets the value of ManagedSkillGeneration.
func (*Capabilities) SetMemoryExtraction ¶
func (s *Capabilities) SetMemoryExtraction(val bool)
SetMemoryExtraction sets the value of MemoryExtraction.
func (*Capabilities) SetSearchModes ¶
func (s *Capabilities) SetSearchModes(val []MemorySearchMode)
SetSearchModes sets the value of SearchModes.
func (*Capabilities) SetSourceTypes ¶
func (s *Capabilities) SetSourceTypes(val []string)
SetSourceTypes sets the value of SourceTypes.
func (*Capabilities) UnmarshalJSON ¶
func (s *Capabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*Capabilities) Validate ¶
func (s *Capabilities) Validate() error
type CapabilitiesHeaders ¶
type CapabilitiesHeaders struct {
XPowerContextRequestID OptString
Response Capabilities
}
CapabilitiesHeaders wraps Capabilities with response headers.
func (*CapabilitiesHeaders) GetResponse ¶
func (s *CapabilitiesHeaders) GetResponse() Capabilities
GetResponse returns the value of Response.
func (*CapabilitiesHeaders) GetXPowerContextRequestID ¶
func (s *CapabilitiesHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*CapabilitiesHeaders) SetResponse ¶
func (s *CapabilitiesHeaders) SetResponse(val Capabilities)
SetResponse sets the value of Response.
func (*CapabilitiesHeaders) SetXPowerContextRequestID ¶
func (s *CapabilitiesHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*CapabilitiesHeaders) Validate ¶
func (s *CapabilitiesHeaders) Validate() error
type CaptureContentSourceRequest ¶
type CaptureContentSourceRequest struct {
ScopeID string `json:"scope_id"`
SourceID string `json:"source_id"`
Content string `json:"content"`
Metadata OptNilCaptureContentSourceRequestMetadata `json:"metadata"`
}
Ref: #/components/schemas/CaptureContentSourceRequest
func (*CaptureContentSourceRequest) Decode ¶
func (s *CaptureContentSourceRequest) Decode(d *jx.Decoder) error
Decode decodes CaptureContentSourceRequest from json.
func (*CaptureContentSourceRequest) Encode ¶
func (s *CaptureContentSourceRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CaptureContentSourceRequest) GetContent ¶
func (s *CaptureContentSourceRequest) GetContent() string
GetContent returns the value of Content.
func (*CaptureContentSourceRequest) GetMetadata ¶
func (s *CaptureContentSourceRequest) GetMetadata() OptNilCaptureContentSourceRequestMetadata
GetMetadata returns the value of Metadata.
func (*CaptureContentSourceRequest) GetScopeID ¶
func (s *CaptureContentSourceRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*CaptureContentSourceRequest) GetSourceID ¶
func (s *CaptureContentSourceRequest) GetSourceID() string
GetSourceID returns the value of SourceID.
func (*CaptureContentSourceRequest) MarshalJSON ¶
func (s *CaptureContentSourceRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CaptureContentSourceRequest) SetContent ¶
func (s *CaptureContentSourceRequest) SetContent(val string)
SetContent sets the value of Content.
func (*CaptureContentSourceRequest) SetMetadata ¶
func (s *CaptureContentSourceRequest) SetMetadata(val OptNilCaptureContentSourceRequestMetadata)
SetMetadata sets the value of Metadata.
func (*CaptureContentSourceRequest) SetScopeID ¶
func (s *CaptureContentSourceRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*CaptureContentSourceRequest) SetSourceID ¶
func (s *CaptureContentSourceRequest) SetSourceID(val string)
SetSourceID sets the value of SourceID.
func (*CaptureContentSourceRequest) UnmarshalJSON ¶
func (s *CaptureContentSourceRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CaptureContentSourceRequest) Validate ¶
func (s *CaptureContentSourceRequest) Validate() error
type CaptureContentSourceRequestMetadata ¶
func (*CaptureContentSourceRequestMetadata) Decode ¶
func (s *CaptureContentSourceRequestMetadata) Decode(d *jx.Decoder) error
Decode decodes CaptureContentSourceRequestMetadata from json.
func (CaptureContentSourceRequestMetadata) Encode ¶
func (s CaptureContentSourceRequestMetadata) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CaptureContentSourceRequestMetadata) MarshalJSON ¶
func (s CaptureContentSourceRequestMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CaptureContentSourceRequestMetadata) UnmarshalJSON ¶
func (s *CaptureContentSourceRequestMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CaptureContentSourceRes ¶
type CaptureContentSourceRes interface {
// contains filtered or unexported methods
}
type CaptureContentSourceResponse ¶
type CaptureContentSourceResponse struct {
Status CaptureStatus `json:"status"`
Source SourceReference `json:"source"`
Position int `json:"position"`
}
Ref: #/components/schemas/CaptureContentSourceResponse
func (*CaptureContentSourceResponse) Decode ¶
func (s *CaptureContentSourceResponse) Decode(d *jx.Decoder) error
Decode decodes CaptureContentSourceResponse from json.
func (*CaptureContentSourceResponse) Encode ¶
func (s *CaptureContentSourceResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CaptureContentSourceResponse) GetPosition ¶
func (s *CaptureContentSourceResponse) GetPosition() int
GetPosition returns the value of Position.
func (*CaptureContentSourceResponse) GetSource ¶
func (s *CaptureContentSourceResponse) GetSource() SourceReference
GetSource returns the value of Source.
func (*CaptureContentSourceResponse) GetStatus ¶
func (s *CaptureContentSourceResponse) GetStatus() CaptureStatus
GetStatus returns the value of Status.
func (*CaptureContentSourceResponse) MarshalJSON ¶
func (s *CaptureContentSourceResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CaptureContentSourceResponse) SetPosition ¶
func (s *CaptureContentSourceResponse) SetPosition(val int)
SetPosition sets the value of Position.
func (*CaptureContentSourceResponse) SetSource ¶
func (s *CaptureContentSourceResponse) SetSource(val SourceReference)
SetSource sets the value of Source.
func (*CaptureContentSourceResponse) SetStatus ¶
func (s *CaptureContentSourceResponse) SetStatus(val CaptureStatus)
SetStatus sets the value of Status.
func (*CaptureContentSourceResponse) UnmarshalJSON ¶
func (s *CaptureContentSourceResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CaptureContentSourceResponse) Validate ¶
func (s *CaptureContentSourceResponse) Validate() error
type CaptureContentSourceResponseHeaders ¶
type CaptureContentSourceResponseHeaders struct {
XPowerContextRequestID OptString
Response CaptureContentSourceResponse
}
CaptureContentSourceResponseHeaders wraps CaptureContentSourceResponse with response headers.
func (*CaptureContentSourceResponseHeaders) GetResponse ¶
func (s *CaptureContentSourceResponseHeaders) GetResponse() CaptureContentSourceResponse
GetResponse returns the value of Response.
func (*CaptureContentSourceResponseHeaders) GetXPowerContextRequestID ¶
func (s *CaptureContentSourceResponseHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*CaptureContentSourceResponseHeaders) SetResponse ¶
func (s *CaptureContentSourceResponseHeaders) SetResponse(val CaptureContentSourceResponse)
SetResponse sets the value of Response.
func (*CaptureContentSourceResponseHeaders) SetXPowerContextRequestID ¶
func (s *CaptureContentSourceResponseHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*CaptureContentSourceResponseHeaders) Validate ¶
func (s *CaptureContentSourceResponseHeaders) Validate() error
type CaptureStatus ¶
type CaptureStatus string
Ref: #/components/schemas/CaptureStatus
const (
CaptureStatusAccepted CaptureStatus = "accepted"
)
func (CaptureStatus) AllValues ¶
func (CaptureStatus) AllValues() []CaptureStatus
AllValues returns all CaptureStatus values.
func (*CaptureStatus) Decode ¶
func (s *CaptureStatus) Decode(d *jx.Decoder) error
Decode decodes CaptureStatus from json.
func (CaptureStatus) Encode ¶
func (s CaptureStatus) Encode(e *jx.Encoder)
Encode encodes CaptureStatus as json.
func (CaptureStatus) MarshalJSON ¶
func (s CaptureStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CaptureStatus) MarshalText ¶
func (s CaptureStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CaptureStatus) UnmarshalJSON ¶
func (s *CaptureStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CaptureStatus) UnmarshalText ¶
func (s *CaptureStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CaptureStatus) Validate ¶
func (s CaptureStatus) Validate() error
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements OAS client.
func NewClient ¶
func NewClient(serverURL string, sec SecuritySource, opts ...ClientOption) (*Client, error)
NewClient initializes new Client defined by OAS.
func (*Client) AcknowledgeHandoff ¶
func (c *Client) AcknowledgeHandoff(ctx context.Context, request *AcknowledgeHandoffRequest) (AcknowledgeHandoffRes, error)
AcknowledgeHandoff invokes acknowledge_handoff operation.
Re-resolve one prepared or exact Handoff, check evidence, and capture the receiver's explicit live-state, capability, and authorization checks.
POST /v1/work/handoffs/acknowledge
func (*Client) ActivateHandoff ¶
func (c *Client) ActivateHandoff(ctx context.Context, request *ActivateHandoffRequest) (ActivateHandoffRes, error)
ActivateHandoff invokes activate_handoff operation.
Evaluate the standard Handoff Trigger and synchronously execute any emitted PrepareHandoff Action.
POST /v1/handoff/activate
func (*Client) ApproveArtifactCandidate ¶
func (c *Client) ApproveArtifactCandidate(ctx context.Context, request *ApproveArtifactCandidateRequest) (ApproveArtifactCandidateRes, error)
ApproveArtifactCandidate invokes approve_artifact_candidate operation.
Commit the reviewed proposal and mark the Candidate approved in one transaction.
POST /v1/artifact-candidates/approve
func (*Client) AttachHandoffReportWorkspace ¶
func (c *Client) AttachHandoffReportWorkspace(ctx context.Context, request *AttachHandoffReportWorkspaceRequest) (AttachHandoffReportWorkspaceRes, error)
AttachHandoffReportWorkspace invokes attach_handoff_report_workspace operation.
Attach a Handoff Report Workspace Binding.
POST /v1/handoff-reports/workspace-bindings/attach
func (*Client) CaptureContentSource ¶
func (c *Client) CaptureContentSource(ctx context.Context, request *CaptureContentSourceRequest) (CaptureContentSourceRes, error)
CaptureContentSource invokes capture_content_source operation.
Accept raw content as an idempotent Source without synchronously deriving Artifacts.
POST /v1/sources/content
func (*Client) CommitHandoff ¶
func (c *Client) CommitHandoff(ctx context.Context, request *CommitHandoffRequest) (CommitHandoffRes, error)
CommitHandoff invokes commit_handoff operation.
Commit an explicit Handoff milestone.
POST /v1/handoff/commit
func (*Client) ContinueHandoff ¶
func (c *Client) ContinueHandoff(ctx context.Context, request *ContinueHandoffRequest) (ContinueHandoffRes, error)
ContinueHandoff invokes continue_handoff operation.
Resolve a Handoff as untrusted historical input.
POST /v1/handoff/continue
func (*Client) CreateHandoffReportProject ¶
func (c *Client) CreateHandoffReportProject(ctx context.Context, request *CreateHandoffReportProjectRequest) (CreateHandoffReportProjectRes, error)
CreateHandoffReportProject invokes create_handoff_report_project operation.
Create a Handoff Report Project.
POST /v1/handoff-reports/projects/create
func (*Client) CreateWorkContract ¶
func (c *Client) CreateWorkContract(ctx context.Context, request *CreateWorkContractRequest) (CreateWorkContractRes, error)
CreateWorkContract invokes create_work_contract operation.
Persist an inspectable delegation baseline without granting execution authority.
POST /v1/work/contracts/create
func (*Client) DetachHandoffReportWorkspace ¶
func (c *Client) DetachHandoffReportWorkspace(ctx context.Context, request *DetachHandoffReportWorkspaceRequest) (DetachHandoffReportWorkspaceRes, error)
DetachHandoffReportWorkspace invokes detach_handoff_report_workspace operation.
Detach a Handoff Report Workspace Binding.
POST /v1/handoff-reports/workspace-bindings/detach
func (*Client) FinalizeHandoff ¶
func (c *Client) FinalizeHandoff(ctx context.Context, request *FinalizeHandoffRequest) (FinalizeHandoffRes, error)
FinalizeHandoff invokes finalize_handoff operation.
Finalize an inspected Handoff Draft.
POST /v1/handoff/finalize
func (*Client) FlushMemory ¶
func (c *Client) FlushMemory(ctx context.Context, request *FlushMemoryRequest) (FlushMemoryRes, error)
FlushMemory invokes flush_memory operation.
Run one bounded Source-to-Memory activation for operational control and testing.
POST /v1/memory/flush
func (*Client) GenerateExperience ¶
func (c *Client) GenerateExperience(ctx context.Context, request *GenerateExperienceRequest) (GenerateExperienceRes, error)
GenerateExperience invokes generate_experience operation.
Use the configured model and caller-selected exact evidence; persist only a schema-valid pending Candidate.
POST /v1/experience/generate
func (*Client) GenerateSkill ¶
func (c *Client) GenerateSkill(ctx context.Context, request *GenerateSkillRequest) (GenerateSkillRes, error)
GenerateSkill invokes generate_skill operation.
Use the configured model with an explicit provenance shape; persist only a schema-valid pending Candidate.
POST /v1/skill/generate
func (*Client) GetArtifactCandidate ¶
func (c *Client) GetArtifactCandidate(ctx context.Context, request *GetArtifactCandidateRequest) (GetArtifactCandidateRes, error)
GetArtifactCandidate invokes get_artifact_candidate operation.
Read the current head and exact immutable proposal version.
POST /v1/artifact-candidates/get
func (*Client) GetCapabilities ¶
func (c *Client) GetCapabilities(ctx context.Context) (GetCapabilitiesRes, error)
GetCapabilities invokes get_capabilities operation.
Get runtime capabilities.
GET /v1/capabilities
func (*Client) GetExperience ¶
func (c *Client) GetExperience(ctx context.Context, request *GetExperienceRequest) (GetExperienceRes, error)
GetExperience invokes get_experience operation.
Read approved Experience content and its exact direct evidence.
POST /v1/experience/get
func (*Client) GetHandoffReport ¶
func (c *Client) GetHandoffReport(ctx context.Context, request *GetHandoffReportRequest) (GetHandoffReportRes, error)
GetHandoffReport invokes get_handoff_report operation.
Generate a Handoff Report.
POST /v1/handoff-reports/get
func (*Client) GetHandoffReportProject ¶
func (c *Client) GetHandoffReportProject(ctx context.Context, request *GetHandoffReportProjectRequest) (GetHandoffReportProjectRes, error)
GetHandoffReportProject invokes get_handoff_report_project operation.
Get a Handoff Report Project.
POST /v1/handoff-reports/projects/get
func (*Client) GetHandoffReportWorkspace ¶
func (c *Client) GetHandoffReportWorkspace(ctx context.Context, request *GetHandoffReportWorkspaceRequest) (GetHandoffReportWorkspaceRes, error)
GetHandoffReportWorkspace invokes get_handoff_report_workspace operation.
Get a Handoff Report Workspace Binding.
POST /v1/handoff-reports/workspace-bindings/get
func (*Client) GetLiveness ¶
func (c *Client) GetLiveness(ctx context.Context) (*HealthResponseHeaders, error)
GetLiveness invokes get_liveness operation.
Get process liveness.
GET /health/live
func (*Client) GetMemoryEntry ¶
func (c *Client) GetMemoryEntry(ctx context.Context, request *GetMemoryEntryRequest) (GetMemoryEntryRes, error)
GetMemoryEntry invokes get_memory_entry operation.
Resolve an immutable entry citation within one Memory Revision.
POST /v1/memory/entries/get
func (*Client) GetReadiness ¶
func (c *Client) GetReadiness(ctx context.Context) (GetReadinessRes, error)
GetReadiness invokes get_readiness operation.
Get deployment readiness.
GET /health/ready
func (*Client) GetSkill ¶
func (c *Client) GetSkill(ctx context.Context, request *GetSkillRequest) (GetSkillRes, error)
GetSkill invokes get_skill operation.
Read approved managed Skill content and its exact direct evidence.
POST /v1/skill/get
func (*Client) GetStats ¶
func (c *Client) GetStats(ctx context.Context, params GetStatsParams) (GetStatsRes, error)
GetStats invokes get_stats operation.
Get scoped product statistics.
GET /v1/stats
func (*Client) HandoffCurrentWork ¶
func (c *Client) HandoffCurrentWork(ctx context.Context, request *HandoffCurrentWorkRequest) (HandoffCurrentWorkRes, error)
HandoffCurrentWork invokes handoff_current_work operation.
Capture an inspected boundary and prepare a temporary evidence-bearing Handoff without committing it.
POST /v1/work/handoffs/prepare-current
func (*Client) ImportExternalSkill ¶
func (c *Client) ImportExternalSkill(ctx context.Context, request *ImportExternalSkillRequest) (ImportExternalSkillRes, error)
ImportExternalSkill invokes import_external_skill operation.
Capture one exact local snapshot and use the configured model to propose a new managed Skill Candidate.
POST /v1/external-skills/import
func (*Client) ListArtifactCandidates ¶
func (c *Client) ListArtifactCandidates(ctx context.Context, request *ListArtifactCandidatesRequest) (ListArtifactCandidatesRes, error)
ListArtifactCandidates invokes list_artifact_candidates operation.
Page current Candidate heads; pending is the default Review Inbox view.
POST /v1/artifact-candidates/list
func (*Client) ListExternalSkills ¶
func (c *Client) ListExternalSkills(ctx context.Context, request *ListExternalSkillsRequest) (ListExternalSkillsRes, error)
ListExternalSkills invokes list_external_skills operation.
Return live local resolutions; unavailable registrations are omitted unless explicitly requested.
POST /v1/external-skills/list
func (*Client) ListHandoffReportActivities ¶
func (c *Client) ListHandoffReportActivities(ctx context.Context, request *ListHandoffReportActivitiesRequest) (ListHandoffReportActivitiesRes, error)
ListHandoffReportActivities invokes list_handoff_report_activities operation.
List Handoff Report Activities.
POST /v1/handoff-reports/activities/list
func (*Client) ListHandoffReportKnownScopes ¶
func (c *Client) ListHandoffReportKnownScopes(ctx context.Context, request *ListHandoffReportKnownScopesRequest) (ListHandoffReportKnownScopesRes, error)
ListHandoffReportKnownScopes invokes list_handoff_report_known_scopes operation.
List scopes that contain a committed Handoff.
POST /v1/handoff-reports/scopes/list-known
func (*Client) ListHandoffReportProjects ¶
func (c *Client) ListHandoffReportProjects(ctx context.Context, request *ListHandoffReportProjectsRequest) (ListHandoffReportProjectsRes, error)
ListHandoffReportProjects invokes list_handoff_report_projects operation.
List Handoff Report Projects.
POST /v1/handoff-reports/projects/list
func (*Client) ListHandoffReportWorkstreams ¶
func (c *Client) ListHandoffReportWorkstreams(ctx context.Context, request *ListHandoffReportWorkstreamsRequest) (ListHandoffReportWorkstreamsRes, error)
ListHandoffReportWorkstreams invokes list_handoff_report_workstreams operation.
List Handoff Report Workstreams.
POST /v1/handoff-reports/workstreams/list
func (*Client) ListMemoryChanges ¶
func (c *Client) ListMemoryChanges(ctx context.Context, request *ListMemoryChangesRequest) (ListMemoryChangesRes, error)
ListMemoryChanges invokes list_memory_changes operation.
Read compact entry changes without expanding entry bodies.
POST /v1/memory/changes
func (*Client) ListMemoryEntries ¶
func (c *Client) ListMemoryEntries(ctx context.Context, request *ListMemoryEntriesRequest) (ListMemoryEntriesRes, error)
ListMemoryEntries invokes list_memory_entries operation.
Read active entries from the current Memory head. Inactive entries are available only when explicitly requested for audit.
POST /v1/memory/entries/list
func (*Client) PrepareContext ¶
func (c *Client) PrepareContext(ctx context.Context, request *PrepareContextRequest) (PrepareContextRes, error)
PrepareContext invokes prepare_context operation.
Prepare final, ephemeral context from Runtime-owned sources without persisting or injecting it.
POST /v1/context/prepare
func (*Client) PrepareHandoff ¶
func (c *Client) PrepareHandoff(ctx context.Context, request *PrepareHandoffRequest) (PrepareHandoffRes, error)
PrepareHandoff invokes prepare_handoff operation.
Generate an inspectable Handoff Draft.
POST /v1/handoff/prepare
func (*Client) ProposeExperience ¶
func (c *Client) ProposeExperience(ctx context.Context, request *ProposeExperienceRequest) (ProposeExperienceRes, error)
ProposeExperience invokes propose_experience operation.
Persist a pending Experience Candidate without creating an Artifact Revision.
POST /v1/experience/propose
func (*Client) ProposeSkill ¶
func (c *Client) ProposeSkill(ctx context.Context, request *ProposeSkillRequest) (ProposeSkillRes, error)
ProposeSkill invokes propose_skill operation.
Persist a pending managed Skill Candidate without creating an Artifact Revision.
POST /v1/skill/propose
func (*Client) PurgeHandoffReportActivities ¶
func (c *Client) PurgeHandoffReportActivities(ctx context.Context, request *PurgeHandoffReportActivitiesRequest) (PurgeHandoffReportActivitiesRes, error)
PurgeHandoffReportActivities invokes purge_handoff_report_activities operation.
Purge Handoff Report Activities.
POST /v1/handoff-reports/activities/purge
func (*Client) RecordHandoffReportActivity ¶
func (c *Client) RecordHandoffReportActivity(ctx context.Context, request *RecordHandoffReportActivityRequest) (RecordHandoffReportActivityRes, error)
RecordHandoffReportActivity invokes record_handoff_report_activity operation.
Record a Handoff Report Activity.
POST /v1/handoff-reports/activities/record
func (*Client) RecordTaskOutcome ¶
func (c *Client) RecordTaskOutcome(ctx context.Context, request *RecordTaskOutcomeRequest) (RecordTaskOutcomeRes, error)
RecordTaskOutcome invokes record_task_outcome operation.
Preserve one attempt's status and checks, optionally linked to the exact accepted Handoff Receipt that the result covers.
POST /v1/work/outcomes/record
func (*Client) RegisterHandoffReportWorkstream ¶
func (c *Client) RegisterHandoffReportWorkstream(ctx context.Context, request *RegisterHandoffReportWorkstreamRequest) (RegisterHandoffReportWorkstreamRes, error)
RegisterHandoffReportWorkstream invokes register_handoff_report_workstream operation.
Register a Handoff Report Workstream.
POST /v1/handoff-reports/workstreams/register
func (*Client) RejectArtifactCandidate ¶
func (c *Client) RejectArtifactCandidate(ctx context.Context, request *RejectArtifactCandidateRequest) (RejectArtifactCandidateRes, error)
RejectArtifactCandidate invokes reject_artifact_candidate operation.
Move the exact pending version to its rejected terminal state without writing an Artifact.
POST /v1/artifact-candidates/reject
func (*Client) RememberMemory ¶
func (c *Client) RememberMemory(ctx context.Context, request *RememberMemoryRequest) (RememberMemoryRes, error)
RememberMemory invokes remember_memory operation.
Save one already-curated Memory entry without creating a Source or invoking extraction.
POST /v1/memory/remember
func (*Client) ResolveExternalSkill ¶
func (c *Client) ResolveExternalSkill(ctx context.Context, request *ResolveExternalSkillRequest) (ResolveExternalSkillRes, error)
ResolveExternalSkill invokes resolve_external_skill operation.
Resolve only the registered local package version requested by the caller; never install or fall back.
POST /v1/external-skills/resolve
func (*Client) RetireMemoryEntry ¶
func (c *Client) RetireMemoryEntry(ctx context.Context, request *RetireMemoryEntryRequest) (RetireMemoryEntryRes, error)
RetireMemoryEntry invokes retire_memory_entry operation.
Deactivate an entry against an explicit current Memory Revision without deleting history.
POST /v1/memory/entries/retire
func (*Client) ReviseArtifactCandidate ¶
func (c *Client) ReviseArtifactCandidate(ctx context.Context, request *ReviseArtifactCandidateRequest) (ReviseArtifactCandidateRes, error)
ReviseArtifactCandidate invokes revise_artifact_candidate operation.
Append a complete replacement proposal as the next immutable pending version.
POST /v1/artifact-candidates/revise
func (*Client) ReviseMemoryEntry ¶
func (c *Client) ReviseMemoryEntry(ctx context.Context, request *ReviseMemoryEntryRequest) (ReviseMemoryEntryRes, error)
ReviseMemoryEntry invokes revise_memory_entry operation.
Replace active entry content against an explicit current Memory Revision.
POST /v1/memory/entries/revise
func (*Client) ScanExternalSkills ¶
func (c *Client) ScanExternalSkills(ctx context.Context, request *ScanExternalSkillsRequest) (ScanExternalSkillsRes, error)
ScanExternalSkills invokes scan_external_skills operation.
Replace the current host-local Registry projection without copying or rewriting package content.
POST /v1/external-skills/scan
func (*Client) SearchMemory ¶
func (c *Client) SearchMemory(ctx context.Context, request *SearchMemoryRequest) (SearchMemoryRes, error)
SearchMemory invokes search_memory operation.
Retrieve relevant active Memory entries within one explicit application scope.
POST /v1/memory/search
func (*Client) UpdateHandoffReportProject ¶
func (c *Client) UpdateHandoffReportProject(ctx context.Context, request *UpdateHandoffReportProjectRequest) (UpdateHandoffReportProjectRes, error)
UpdateHandoffReportProject invokes update_handoff_report_project operation.
Update a Handoff Report Project.
POST /v1/handoff-reports/projects/update
func (*Client) UpdateHandoffReportWorkstream ¶
func (c *Client) UpdateHandoffReportWorkstream(ctx context.Context, request *UpdateHandoffReportWorkstreamRequest) (UpdateHandoffReportWorkstreamRes, error)
UpdateHandoffReportWorkstream invokes update_handoff_report_workstream operation.
Update a Handoff Report Workstream.
POST /v1/handoff-reports/workstreams/update
type ClientOption ¶
type ClientOption interface {
// contains filtered or unexported methods
}
ClientOption is client config option.
func WithClient ¶
func WithClient(client ht.Client) ClientOption
WithClient specifies http client to use.
type CombinedEvidenceLimitError ¶
CombinedEvidenceLimitError reports the PowerContext Candidate constraint that source_refs and artifact_refs share one maximum. OpenAPI 3.0 can describe each array limit but cannot express their combined cardinality.
func (*CombinedEvidenceLimitError) Error ¶
func (*CombinedEvidenceLimitError) Error() string
type CommitHandoffRequest ¶
type CommitHandoffRequest struct {
ScopeID string `json:"scope_id"`
Handoff PreparedHandoff `json:"handoff"`
}
Ref: #/components/schemas/CommitHandoffRequest
func (*CommitHandoffRequest) Decode ¶
func (s *CommitHandoffRequest) Decode(d *jx.Decoder) error
Decode decodes CommitHandoffRequest from json.
func (*CommitHandoffRequest) Encode ¶
func (s *CommitHandoffRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CommitHandoffRequest) GetHandoff ¶
func (s *CommitHandoffRequest) GetHandoff() PreparedHandoff
GetHandoff returns the value of Handoff.
func (*CommitHandoffRequest) GetScopeID ¶
func (s *CommitHandoffRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*CommitHandoffRequest) MarshalJSON ¶
func (s *CommitHandoffRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CommitHandoffRequest) SetHandoff ¶
func (s *CommitHandoffRequest) SetHandoff(val PreparedHandoff)
SetHandoff sets the value of Handoff.
func (*CommitHandoffRequest) SetScopeID ¶
func (s *CommitHandoffRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*CommitHandoffRequest) UnmarshalJSON ¶
func (s *CommitHandoffRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CommitHandoffRequest) Validate ¶
func (s *CommitHandoffRequest) Validate() error
type CommitHandoffRes ¶
type CommitHandoffRes interface {
// contains filtered or unexported methods
}
type CommittedHandoff ¶
type CommittedHandoff struct {
Reference ArtifactReference `json:"reference"`
Content HandoffContent `json:"content"`
SourceRefs []SourceReference `json:"source_refs"`
ArtifactRefs []ArtifactReference `json:"artifact_refs"`
}
Ref: #/components/schemas/CommittedHandoff
func (*CommittedHandoff) Decode ¶
func (s *CommittedHandoff) Decode(d *jx.Decoder) error
Decode decodes CommittedHandoff from json.
func (*CommittedHandoff) Encode ¶
func (s *CommittedHandoff) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CommittedHandoff) GetArtifactRefs ¶
func (s *CommittedHandoff) GetArtifactRefs() []ArtifactReference
GetArtifactRefs returns the value of ArtifactRefs.
func (*CommittedHandoff) GetContent ¶
func (s *CommittedHandoff) GetContent() HandoffContent
GetContent returns the value of Content.
func (*CommittedHandoff) GetReference ¶
func (s *CommittedHandoff) GetReference() ArtifactReference
GetReference returns the value of Reference.
func (*CommittedHandoff) GetSourceRefs ¶
func (s *CommittedHandoff) GetSourceRefs() []SourceReference
GetSourceRefs returns the value of SourceRefs.
func (*CommittedHandoff) MarshalJSON ¶
func (s *CommittedHandoff) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CommittedHandoff) SetArtifactRefs ¶
func (s *CommittedHandoff) SetArtifactRefs(val []ArtifactReference)
SetArtifactRefs sets the value of ArtifactRefs.
func (*CommittedHandoff) SetContent ¶
func (s *CommittedHandoff) SetContent(val HandoffContent)
SetContent sets the value of Content.
func (*CommittedHandoff) SetReference ¶
func (s *CommittedHandoff) SetReference(val ArtifactReference)
SetReference sets the value of Reference.
func (*CommittedHandoff) SetSourceRefs ¶
func (s *CommittedHandoff) SetSourceRefs(val []SourceReference)
SetSourceRefs sets the value of SourceRefs.
func (*CommittedHandoff) UnmarshalJSON ¶
func (s *CommittedHandoff) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CommittedHandoff) Validate ¶
func (s *CommittedHandoff) Validate() error
type CommittedHandoffHeaders ¶
type CommittedHandoffHeaders struct {
XPowerContextRequestID OptString
Response CommittedHandoff
}
CommittedHandoffHeaders wraps CommittedHandoff with response headers.
func (*CommittedHandoffHeaders) GetResponse ¶
func (s *CommittedHandoffHeaders) GetResponse() CommittedHandoff
GetResponse returns the value of Response.
func (*CommittedHandoffHeaders) GetXPowerContextRequestID ¶
func (s *CommittedHandoffHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*CommittedHandoffHeaders) SetResponse ¶
func (s *CommittedHandoffHeaders) SetResponse(val CommittedHandoff)
SetResponse sets the value of Response.
func (*CommittedHandoffHeaders) SetXPowerContextRequestID ¶
func (s *CommittedHandoffHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*CommittedHandoffHeaders) Validate ¶
func (s *CommittedHandoffHeaders) Validate() error
type ConflictHeaders ¶
type ConflictHeaders struct {
XPowerContextRequestID OptString
Response ErrorResponse
}
ConflictHeaders wraps ErrorResponse with response headers.
func (*ConflictHeaders) GetResponse ¶
func (s *ConflictHeaders) GetResponse() ErrorResponse
GetResponse returns the value of Response.
func (*ConflictHeaders) GetXPowerContextRequestID ¶
func (s *ConflictHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*ConflictHeaders) SetResponse ¶
func (s *ConflictHeaders) SetResponse(val ErrorResponse)
SetResponse sets the value of Response.
func (*ConflictHeaders) SetXPowerContextRequestID ¶
func (s *ConflictHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
type ContinueHandoffRequest ¶
type ContinueHandoffRequest struct {
ScopeID string `json:"scope_id"`
Selection HandoffSelection `json:"selection"`
Prepared OptNilPreparedHandoff `json:"prepared"`
Revision OptNilArtifactReference `json:"revision"`
}
Ref: #/components/schemas/ContinueHandoffRequest
func (*ContinueHandoffRequest) Decode ¶
func (s *ContinueHandoffRequest) Decode(d *jx.Decoder) error
Decode decodes ContinueHandoffRequest from json.
func (*ContinueHandoffRequest) Encode ¶
func (s *ContinueHandoffRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ContinueHandoffRequest) GetPrepared ¶
func (s *ContinueHandoffRequest) GetPrepared() OptNilPreparedHandoff
GetPrepared returns the value of Prepared.
func (*ContinueHandoffRequest) GetRevision ¶
func (s *ContinueHandoffRequest) GetRevision() OptNilArtifactReference
GetRevision returns the value of Revision.
func (*ContinueHandoffRequest) GetScopeID ¶
func (s *ContinueHandoffRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*ContinueHandoffRequest) GetSelection ¶
func (s *ContinueHandoffRequest) GetSelection() HandoffSelection
GetSelection returns the value of Selection.
func (*ContinueHandoffRequest) MarshalJSON ¶
func (s *ContinueHandoffRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContinueHandoffRequest) SetPrepared ¶
func (s *ContinueHandoffRequest) SetPrepared(val OptNilPreparedHandoff)
SetPrepared sets the value of Prepared.
func (*ContinueHandoffRequest) SetRevision ¶
func (s *ContinueHandoffRequest) SetRevision(val OptNilArtifactReference)
SetRevision sets the value of Revision.
func (*ContinueHandoffRequest) SetScopeID ¶
func (s *ContinueHandoffRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*ContinueHandoffRequest) SetSelection ¶
func (s *ContinueHandoffRequest) SetSelection(val HandoffSelection)
SetSelection sets the value of Selection.
func (*ContinueHandoffRequest) UnmarshalJSON ¶
func (s *ContinueHandoffRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ContinueHandoffRequest) Validate ¶
func (s *ContinueHandoffRequest) Validate() error
type ContinueHandoffRes ¶
type ContinueHandoffRes interface {
// contains filtered or unexported methods
}
type CreateHandoffReportProjectRequest ¶
type CreateHandoffReportProjectRequest struct {
ProjectKey string `json:"project_key"`
Title string `json:"title"`
Description OptNilString `json:"description"`
DefaultLocale OptReportLocale `json:"default_locale"`
Timezone OptString `json:"timezone"`
}
Ref: #/components/schemas/CreateHandoffReportProjectRequest
func (*CreateHandoffReportProjectRequest) Decode ¶
func (s *CreateHandoffReportProjectRequest) Decode(d *jx.Decoder) error
Decode decodes CreateHandoffReportProjectRequest from json.
func (*CreateHandoffReportProjectRequest) Encode ¶
func (s *CreateHandoffReportProjectRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateHandoffReportProjectRequest) GetDefaultLocale ¶
func (s *CreateHandoffReportProjectRequest) GetDefaultLocale() OptReportLocale
GetDefaultLocale returns the value of DefaultLocale.
func (*CreateHandoffReportProjectRequest) GetDescription ¶
func (s *CreateHandoffReportProjectRequest) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*CreateHandoffReportProjectRequest) GetProjectKey ¶
func (s *CreateHandoffReportProjectRequest) GetProjectKey() string
GetProjectKey returns the value of ProjectKey.
func (*CreateHandoffReportProjectRequest) GetTimezone ¶
func (s *CreateHandoffReportProjectRequest) GetTimezone() OptString
GetTimezone returns the value of Timezone.
func (*CreateHandoffReportProjectRequest) GetTitle ¶
func (s *CreateHandoffReportProjectRequest) GetTitle() string
GetTitle returns the value of Title.
func (*CreateHandoffReportProjectRequest) MarshalJSON ¶
func (s *CreateHandoffReportProjectRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateHandoffReportProjectRequest) SetDefaultLocale ¶
func (s *CreateHandoffReportProjectRequest) SetDefaultLocale(val OptReportLocale)
SetDefaultLocale sets the value of DefaultLocale.
func (*CreateHandoffReportProjectRequest) SetDescription ¶
func (s *CreateHandoffReportProjectRequest) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*CreateHandoffReportProjectRequest) SetProjectKey ¶
func (s *CreateHandoffReportProjectRequest) SetProjectKey(val string)
SetProjectKey sets the value of ProjectKey.
func (*CreateHandoffReportProjectRequest) SetTimezone ¶
func (s *CreateHandoffReportProjectRequest) SetTimezone(val OptString)
SetTimezone sets the value of Timezone.
func (*CreateHandoffReportProjectRequest) SetTitle ¶
func (s *CreateHandoffReportProjectRequest) SetTitle(val string)
SetTitle sets the value of Title.
func (*CreateHandoffReportProjectRequest) UnmarshalJSON ¶
func (s *CreateHandoffReportProjectRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateHandoffReportProjectRequest) Validate ¶
func (s *CreateHandoffReportProjectRequest) Validate() error
type CreateHandoffReportProjectRes ¶
type CreateHandoffReportProjectRes interface {
// contains filtered or unexported methods
}
type CreateWorkContractRequest ¶
type CreateWorkContractRequest struct {
ScopeID string `json:"scope_id"`
SourceID string `json:"source_id"`
Contract WorkContract `json:"contract"`
}
Ref: #/components/schemas/CreateWorkContractRequest
func (*CreateWorkContractRequest) Decode ¶
func (s *CreateWorkContractRequest) Decode(d *jx.Decoder) error
Decode decodes CreateWorkContractRequest from json.
func (*CreateWorkContractRequest) Encode ¶
func (s *CreateWorkContractRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateWorkContractRequest) GetContract ¶
func (s *CreateWorkContractRequest) GetContract() WorkContract
GetContract returns the value of Contract.
func (*CreateWorkContractRequest) GetScopeID ¶
func (s *CreateWorkContractRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*CreateWorkContractRequest) GetSourceID ¶
func (s *CreateWorkContractRequest) GetSourceID() string
GetSourceID returns the value of SourceID.
func (*CreateWorkContractRequest) MarshalJSON ¶
func (s *CreateWorkContractRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateWorkContractRequest) SetContract ¶
func (s *CreateWorkContractRequest) SetContract(val WorkContract)
SetContract sets the value of Contract.
func (*CreateWorkContractRequest) SetScopeID ¶
func (s *CreateWorkContractRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*CreateWorkContractRequest) SetSourceID ¶
func (s *CreateWorkContractRequest) SetSourceID(val string)
SetSourceID sets the value of SourceID.
func (*CreateWorkContractRequest) UnmarshalJSON ¶
func (s *CreateWorkContractRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateWorkContractRequest) Validate ¶
func (s *CreateWorkContractRequest) Validate() error
type CreateWorkContractRes ¶
type CreateWorkContractRes interface {
// contains filtered or unexported methods
}
type CurrentWorkHandoff ¶
type CurrentWorkHandoff struct {
Schema CurrentWorkHandoffSchema `json:"schema"`
Trust CurrentWorkHandoffTrust `json:"trust"`
Objective string `json:"objective"`
State []WorkClaim `json:"state"`
Disposition HandoffDisposition `json:"disposition"`
NextAction NilWorkClaim `json:"next_action"`
Omissions []string `json:"omissions"`
}
Ref: #/components/schemas/CurrentWorkHandoff
func (*CurrentWorkHandoff) Decode ¶
func (s *CurrentWorkHandoff) Decode(d *jx.Decoder) error
Decode decodes CurrentWorkHandoff from json.
func (*CurrentWorkHandoff) Encode ¶
func (s *CurrentWorkHandoff) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CurrentWorkHandoff) GetDisposition ¶
func (s *CurrentWorkHandoff) GetDisposition() HandoffDisposition
GetDisposition returns the value of Disposition.
func (*CurrentWorkHandoff) GetNextAction ¶
func (s *CurrentWorkHandoff) GetNextAction() NilWorkClaim
GetNextAction returns the value of NextAction.
func (*CurrentWorkHandoff) GetObjective ¶
func (s *CurrentWorkHandoff) GetObjective() string
GetObjective returns the value of Objective.
func (*CurrentWorkHandoff) GetOmissions ¶
func (s *CurrentWorkHandoff) GetOmissions() []string
GetOmissions returns the value of Omissions.
func (*CurrentWorkHandoff) GetSchema ¶
func (s *CurrentWorkHandoff) GetSchema() CurrentWorkHandoffSchema
GetSchema returns the value of Schema.
func (*CurrentWorkHandoff) GetState ¶
func (s *CurrentWorkHandoff) GetState() []WorkClaim
GetState returns the value of State.
func (*CurrentWorkHandoff) GetTrust ¶
func (s *CurrentWorkHandoff) GetTrust() CurrentWorkHandoffTrust
GetTrust returns the value of Trust.
func (*CurrentWorkHandoff) MarshalJSON ¶
func (s *CurrentWorkHandoff) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CurrentWorkHandoff) SetDisposition ¶
func (s *CurrentWorkHandoff) SetDisposition(val HandoffDisposition)
SetDisposition sets the value of Disposition.
func (*CurrentWorkHandoff) SetNextAction ¶
func (s *CurrentWorkHandoff) SetNextAction(val NilWorkClaim)
SetNextAction sets the value of NextAction.
func (*CurrentWorkHandoff) SetObjective ¶
func (s *CurrentWorkHandoff) SetObjective(val string)
SetObjective sets the value of Objective.
func (*CurrentWorkHandoff) SetOmissions ¶
func (s *CurrentWorkHandoff) SetOmissions(val []string)
SetOmissions sets the value of Omissions.
func (*CurrentWorkHandoff) SetSchema ¶
func (s *CurrentWorkHandoff) SetSchema(val CurrentWorkHandoffSchema)
SetSchema sets the value of Schema.
func (*CurrentWorkHandoff) SetState ¶
func (s *CurrentWorkHandoff) SetState(val []WorkClaim)
SetState sets the value of State.
func (*CurrentWorkHandoff) SetTrust ¶
func (s *CurrentWorkHandoff) SetTrust(val CurrentWorkHandoffTrust)
SetTrust sets the value of Trust.
func (*CurrentWorkHandoff) UnmarshalJSON ¶
func (s *CurrentWorkHandoff) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CurrentWorkHandoff) Validate ¶
func (s *CurrentWorkHandoff) Validate() error
type CurrentWorkHandoffSchema ¶
type CurrentWorkHandoffSchema string
const (
CurrentWorkHandoffSchemaPowercontextCurrentWorkHandoffV1 CurrentWorkHandoffSchema = "powercontext.current-work-handoff.v1"
)
func (CurrentWorkHandoffSchema) AllValues ¶
func (CurrentWorkHandoffSchema) AllValues() []CurrentWorkHandoffSchema
AllValues returns all CurrentWorkHandoffSchema values.
func (*CurrentWorkHandoffSchema) Decode ¶
func (s *CurrentWorkHandoffSchema) Decode(d *jx.Decoder) error
Decode decodes CurrentWorkHandoffSchema from json.
func (CurrentWorkHandoffSchema) Encode ¶
func (s CurrentWorkHandoffSchema) Encode(e *jx.Encoder)
Encode encodes CurrentWorkHandoffSchema as json.
func (CurrentWorkHandoffSchema) MarshalJSON ¶
func (s CurrentWorkHandoffSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CurrentWorkHandoffSchema) MarshalText ¶
func (s CurrentWorkHandoffSchema) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CurrentWorkHandoffSchema) UnmarshalJSON ¶
func (s *CurrentWorkHandoffSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CurrentWorkHandoffSchema) UnmarshalText ¶
func (s *CurrentWorkHandoffSchema) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CurrentWorkHandoffSchema) Validate ¶
func (s CurrentWorkHandoffSchema) Validate() error
type CurrentWorkHandoffTrust ¶
type CurrentWorkHandoffTrust string
const (
CurrentWorkHandoffTrustUntrustedInput CurrentWorkHandoffTrust = "untrusted_input"
)
func (CurrentWorkHandoffTrust) AllValues ¶
func (CurrentWorkHandoffTrust) AllValues() []CurrentWorkHandoffTrust
AllValues returns all CurrentWorkHandoffTrust values.
func (*CurrentWorkHandoffTrust) Decode ¶
func (s *CurrentWorkHandoffTrust) Decode(d *jx.Decoder) error
Decode decodes CurrentWorkHandoffTrust from json.
func (CurrentWorkHandoffTrust) Encode ¶
func (s CurrentWorkHandoffTrust) Encode(e *jx.Encoder)
Encode encodes CurrentWorkHandoffTrust as json.
func (CurrentWorkHandoffTrust) MarshalJSON ¶
func (s CurrentWorkHandoffTrust) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CurrentWorkHandoffTrust) MarshalText ¶
func (s CurrentWorkHandoffTrust) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CurrentWorkHandoffTrust) UnmarshalJSON ¶
func (s *CurrentWorkHandoffTrust) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CurrentWorkHandoffTrust) UnmarshalText ¶
func (s *CurrentWorkHandoffTrust) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CurrentWorkHandoffTrust) Validate ¶
func (s CurrentWorkHandoffTrust) Validate() error
type DetachHandoffReportWorkspaceRequest ¶
type DetachHandoffReportWorkspaceRequest struct {
WorkspaceInstanceID string `json:"workspace_instance_id"`
ExpectedVersion int `json:"expected_version"`
}
Ref: #/components/schemas/DetachHandoffReportWorkspaceRequest
func (*DetachHandoffReportWorkspaceRequest) Decode ¶
func (s *DetachHandoffReportWorkspaceRequest) Decode(d *jx.Decoder) error
Decode decodes DetachHandoffReportWorkspaceRequest from json.
func (*DetachHandoffReportWorkspaceRequest) Encode ¶
func (s *DetachHandoffReportWorkspaceRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DetachHandoffReportWorkspaceRequest) GetExpectedVersion ¶
func (s *DetachHandoffReportWorkspaceRequest) GetExpectedVersion() int
GetExpectedVersion returns the value of ExpectedVersion.
func (*DetachHandoffReportWorkspaceRequest) GetWorkspaceInstanceID ¶
func (s *DetachHandoffReportWorkspaceRequest) GetWorkspaceInstanceID() string
GetWorkspaceInstanceID returns the value of WorkspaceInstanceID.
func (*DetachHandoffReportWorkspaceRequest) MarshalJSON ¶
func (s *DetachHandoffReportWorkspaceRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DetachHandoffReportWorkspaceRequest) SetExpectedVersion ¶
func (s *DetachHandoffReportWorkspaceRequest) SetExpectedVersion(val int)
SetExpectedVersion sets the value of ExpectedVersion.
func (*DetachHandoffReportWorkspaceRequest) SetWorkspaceInstanceID ¶
func (s *DetachHandoffReportWorkspaceRequest) SetWorkspaceInstanceID(val string)
SetWorkspaceInstanceID sets the value of WorkspaceInstanceID.
func (*DetachHandoffReportWorkspaceRequest) UnmarshalJSON ¶
func (s *DetachHandoffReportWorkspaceRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DetachHandoffReportWorkspaceRequest) Validate ¶
func (s *DetachHandoffReportWorkspaceRequest) Validate() error
type DetachHandoffReportWorkspaceRes ¶
type DetachHandoffReportWorkspaceRes interface {
// contains filtered or unexported methods
}
type EntryChange ¶
type EntryChange struct {
Op EntryChangeOperation `json:"op"`
EntryID string `json:"entry_id"`
FromEntryVersionID NilString `json:"from_entry_version_id"`
ToEntryVersionID NilString `json:"to_entry_version_id"`
Reason NilString `json:"reason"`
}
Ref: #/components/schemas/EntryChange
func (*EntryChange) Decode ¶
func (s *EntryChange) Decode(d *jx.Decoder) error
Decode decodes EntryChange from json.
func (*EntryChange) Encode ¶
func (s *EntryChange) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EntryChange) GetEntryID ¶
func (s *EntryChange) GetEntryID() string
GetEntryID returns the value of EntryID.
func (*EntryChange) GetFromEntryVersionID ¶
func (s *EntryChange) GetFromEntryVersionID() NilString
GetFromEntryVersionID returns the value of FromEntryVersionID.
func (*EntryChange) GetOp ¶
func (s *EntryChange) GetOp() EntryChangeOperation
GetOp returns the value of Op.
func (*EntryChange) GetReason ¶
func (s *EntryChange) GetReason() NilString
GetReason returns the value of Reason.
func (*EntryChange) GetToEntryVersionID ¶
func (s *EntryChange) GetToEntryVersionID() NilString
GetToEntryVersionID returns the value of ToEntryVersionID.
func (*EntryChange) MarshalJSON ¶
func (s *EntryChange) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EntryChange) SetEntryID ¶
func (s *EntryChange) SetEntryID(val string)
SetEntryID sets the value of EntryID.
func (*EntryChange) SetFromEntryVersionID ¶
func (s *EntryChange) SetFromEntryVersionID(val NilString)
SetFromEntryVersionID sets the value of FromEntryVersionID.
func (*EntryChange) SetOp ¶
func (s *EntryChange) SetOp(val EntryChangeOperation)
SetOp sets the value of Op.
func (*EntryChange) SetReason ¶
func (s *EntryChange) SetReason(val NilString)
SetReason sets the value of Reason.
func (*EntryChange) SetToEntryVersionID ¶
func (s *EntryChange) SetToEntryVersionID(val NilString)
SetToEntryVersionID sets the value of ToEntryVersionID.
func (*EntryChange) UnmarshalJSON ¶
func (s *EntryChange) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EntryChange) Validate ¶
func (s *EntryChange) Validate() error
type EntryChangeOperation ¶
type EntryChangeOperation string
Ref: #/components/schemas/EntryChangeOperation
const ( EntryChangeOperationAdd EntryChangeOperation = "add" EntryChangeOperationRevise EntryChangeOperation = "revise" EntryChangeOperationDeactivate EntryChangeOperation = "deactivate" EntryChangeOperationReactivate EntryChangeOperation = "reactivate" )
func (EntryChangeOperation) AllValues ¶
func (EntryChangeOperation) AllValues() []EntryChangeOperation
AllValues returns all EntryChangeOperation values.
func (*EntryChangeOperation) Decode ¶
func (s *EntryChangeOperation) Decode(d *jx.Decoder) error
Decode decodes EntryChangeOperation from json.
func (EntryChangeOperation) Encode ¶
func (s EntryChangeOperation) Encode(e *jx.Encoder)
Encode encodes EntryChangeOperation as json.
func (EntryChangeOperation) MarshalJSON ¶
func (s EntryChangeOperation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (EntryChangeOperation) MarshalText ¶
func (s EntryChangeOperation) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*EntryChangeOperation) UnmarshalJSON ¶
func (s *EntryChangeOperation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EntryChangeOperation) UnmarshalText ¶
func (s *EntryChangeOperation) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (EntryChangeOperation) Validate ¶
func (s EntryChangeOperation) Validate() error
type ErrorDetail ¶
type ErrorDetail struct {
Code string `json:"code"`
Message string `json:"message"`
Details NilErrorDetailDetails `json:"details"`
}
Ref: #/components/schemas/ErrorDetail
func (*ErrorDetail) Decode ¶
func (s *ErrorDetail) Decode(d *jx.Decoder) error
Decode decodes ErrorDetail from json.
func (*ErrorDetail) Encode ¶
func (s *ErrorDetail) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ErrorDetail) GetCode ¶
func (s *ErrorDetail) GetCode() string
GetCode returns the value of Code.
func (*ErrorDetail) GetDetails ¶
func (s *ErrorDetail) GetDetails() NilErrorDetailDetails
GetDetails returns the value of Details.
func (*ErrorDetail) GetMessage ¶
func (s *ErrorDetail) GetMessage() string
GetMessage returns the value of Message.
func (*ErrorDetail) MarshalJSON ¶
func (s *ErrorDetail) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ErrorDetail) SetCode ¶
func (s *ErrorDetail) SetCode(val string)
SetCode sets the value of Code.
func (*ErrorDetail) SetDetails ¶
func (s *ErrorDetail) SetDetails(val NilErrorDetailDetails)
SetDetails sets the value of Details.
func (*ErrorDetail) SetMessage ¶
func (s *ErrorDetail) SetMessage(val string)
SetMessage sets the value of Message.
func (*ErrorDetail) UnmarshalJSON ¶
func (s *ErrorDetail) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorDetailDetails ¶
func (*ErrorDetailDetails) Decode ¶
func (s *ErrorDetailDetails) Decode(d *jx.Decoder) error
Decode decodes ErrorDetailDetails from json.
func (ErrorDetailDetails) Encode ¶
func (s ErrorDetailDetails) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ErrorDetailDetails) MarshalJSON ¶
func (s ErrorDetailDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ErrorDetailDetails) UnmarshalJSON ¶
func (s *ErrorDetailDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorResponse ¶
type ErrorResponse struct {
Error ErrorDetail `json:"error"`
}
Ref: #/components/schemas/ErrorResponse
func (*ErrorResponse) Decode ¶
func (s *ErrorResponse) Decode(d *jx.Decoder) error
Decode decodes ErrorResponse from json.
func (*ErrorResponse) Encode ¶
func (s *ErrorResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ErrorResponse) GetError ¶
func (s *ErrorResponse) GetError() ErrorDetail
GetError returns the value of Error.
func (*ErrorResponse) MarshalJSON ¶
func (s *ErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ErrorResponse) SetError ¶
func (s *ErrorResponse) SetError(val ErrorDetail)
SetError sets the value of Error.
func (*ErrorResponse) UnmarshalJSON ¶
func (s *ErrorResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExperienceArtifact ¶
type ExperienceArtifact struct {
Artifact ArtifactReference `json:"artifact"`
Content ExperienceProposal `json:"content"`
SourceRefs []SourceReference `json:"source_refs"`
ArtifactRefs []ArtifactReference `json:"artifact_refs"`
}
Ref: #/components/schemas/ExperienceArtifact
func (*ExperienceArtifact) Decode ¶
func (s *ExperienceArtifact) Decode(d *jx.Decoder) error
Decode decodes ExperienceArtifact from json.
func (*ExperienceArtifact) Encode ¶
func (s *ExperienceArtifact) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExperienceArtifact) GetArtifact ¶
func (s *ExperienceArtifact) GetArtifact() ArtifactReference
GetArtifact returns the value of Artifact.
func (*ExperienceArtifact) GetArtifactRefs ¶
func (s *ExperienceArtifact) GetArtifactRefs() []ArtifactReference
GetArtifactRefs returns the value of ArtifactRefs.
func (*ExperienceArtifact) GetContent ¶
func (s *ExperienceArtifact) GetContent() ExperienceProposal
GetContent returns the value of Content.
func (*ExperienceArtifact) GetSourceRefs ¶
func (s *ExperienceArtifact) GetSourceRefs() []SourceReference
GetSourceRefs returns the value of SourceRefs.
func (*ExperienceArtifact) MarshalJSON ¶
func (s *ExperienceArtifact) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExperienceArtifact) SetArtifact ¶
func (s *ExperienceArtifact) SetArtifact(val ArtifactReference)
SetArtifact sets the value of Artifact.
func (*ExperienceArtifact) SetArtifactRefs ¶
func (s *ExperienceArtifact) SetArtifactRefs(val []ArtifactReference)
SetArtifactRefs sets the value of ArtifactRefs.
func (*ExperienceArtifact) SetContent ¶
func (s *ExperienceArtifact) SetContent(val ExperienceProposal)
SetContent sets the value of Content.
func (*ExperienceArtifact) SetSourceRefs ¶
func (s *ExperienceArtifact) SetSourceRefs(val []SourceReference)
SetSourceRefs sets the value of SourceRefs.
func (*ExperienceArtifact) UnmarshalJSON ¶
func (s *ExperienceArtifact) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ExperienceArtifact) Validate ¶
func (s *ExperienceArtifact) Validate() error
type ExperienceArtifactHeaders ¶
type ExperienceArtifactHeaders struct {
XPowerContextRequestID OptString
Response ExperienceArtifact
}
ExperienceArtifactHeaders wraps ExperienceArtifact with response headers.
func (*ExperienceArtifactHeaders) GetResponse ¶
func (s *ExperienceArtifactHeaders) GetResponse() ExperienceArtifact
GetResponse returns the value of Response.
func (*ExperienceArtifactHeaders) GetXPowerContextRequestID ¶
func (s *ExperienceArtifactHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*ExperienceArtifactHeaders) SetResponse ¶
func (s *ExperienceArtifactHeaders) SetResponse(val ExperienceArtifact)
SetResponse sets the value of Response.
func (*ExperienceArtifactHeaders) SetXPowerContextRequestID ¶
func (s *ExperienceArtifactHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*ExperienceArtifactHeaders) Validate ¶
func (s *ExperienceArtifactHeaders) Validate() error
type ExperienceProposal ¶
type ExperienceProposal struct {
Situation string `json:"situation"`
Action string `json:"action"`
Outcome string `json:"outcome"`
Lesson string `json:"lesson"`
}
Ref: #/components/schemas/ExperienceProposal
func (*ExperienceProposal) Decode ¶
func (s *ExperienceProposal) Decode(d *jx.Decoder) error
Decode decodes ExperienceProposal from json.
func (*ExperienceProposal) Encode ¶
func (s *ExperienceProposal) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExperienceProposal) GetAction ¶
func (s *ExperienceProposal) GetAction() string
GetAction returns the value of Action.
func (*ExperienceProposal) GetLesson ¶
func (s *ExperienceProposal) GetLesson() string
GetLesson returns the value of Lesson.
func (*ExperienceProposal) GetOutcome ¶
func (s *ExperienceProposal) GetOutcome() string
GetOutcome returns the value of Outcome.
func (*ExperienceProposal) GetSituation ¶
func (s *ExperienceProposal) GetSituation() string
GetSituation returns the value of Situation.
func (*ExperienceProposal) MarshalJSON ¶
func (s *ExperienceProposal) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExperienceProposal) SetAction ¶
func (s *ExperienceProposal) SetAction(val string)
SetAction sets the value of Action.
func (*ExperienceProposal) SetLesson ¶
func (s *ExperienceProposal) SetLesson(val string)
SetLesson sets the value of Lesson.
func (*ExperienceProposal) SetOutcome ¶
func (s *ExperienceProposal) SetOutcome(val string)
SetOutcome sets the value of Outcome.
func (*ExperienceProposal) SetSituation ¶
func (s *ExperienceProposal) SetSituation(val string)
SetSituation sets the value of Situation.
func (*ExperienceProposal) UnmarshalJSON ¶
func (s *ExperienceProposal) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ExperienceProposal) Validate ¶
func (s *ExperienceProposal) Validate() error
type ExternalSkillImportMode ¶
type ExternalSkillImportMode string
Ref: #/components/schemas/ExternalSkillImportMode
const ( ExternalSkillImportModeImport ExternalSkillImportMode = "import" ExternalSkillImportModeFork ExternalSkillImportMode = "fork" )
func (ExternalSkillImportMode) AllValues ¶
func (ExternalSkillImportMode) AllValues() []ExternalSkillImportMode
AllValues returns all ExternalSkillImportMode values.
func (*ExternalSkillImportMode) Decode ¶
func (s *ExternalSkillImportMode) Decode(d *jx.Decoder) error
Decode decodes ExternalSkillImportMode from json.
func (ExternalSkillImportMode) Encode ¶
func (s ExternalSkillImportMode) Encode(e *jx.Encoder)
Encode encodes ExternalSkillImportMode as json.
func (ExternalSkillImportMode) MarshalJSON ¶
func (s ExternalSkillImportMode) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ExternalSkillImportMode) MarshalText ¶
func (s ExternalSkillImportMode) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ExternalSkillImportMode) UnmarshalJSON ¶
func (s *ExternalSkillImportMode) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ExternalSkillImportMode) UnmarshalText ¶
func (s *ExternalSkillImportMode) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ExternalSkillImportMode) Validate ¶
func (s ExternalSkillImportMode) Validate() error
type ExternalSkillInstallationScope ¶
type ExternalSkillInstallationScope string
Ref: #/components/schemas/ExternalSkillInstallationScope
const ( ExternalSkillInstallationScopeUser ExternalSkillInstallationScope = "user" ExternalSkillInstallationScopeProject ExternalSkillInstallationScope = "project" ExternalSkillInstallationScopePlugin ExternalSkillInstallationScope = "plugin" )
func (ExternalSkillInstallationScope) AllValues ¶
func (ExternalSkillInstallationScope) AllValues() []ExternalSkillInstallationScope
AllValues returns all ExternalSkillInstallationScope values.
func (*ExternalSkillInstallationScope) Decode ¶
func (s *ExternalSkillInstallationScope) Decode(d *jx.Decoder) error
Decode decodes ExternalSkillInstallationScope from json.
func (ExternalSkillInstallationScope) Encode ¶
func (s ExternalSkillInstallationScope) Encode(e *jx.Encoder)
Encode encodes ExternalSkillInstallationScope as json.
func (ExternalSkillInstallationScope) MarshalJSON ¶
func (s ExternalSkillInstallationScope) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ExternalSkillInstallationScope) MarshalText ¶
func (s ExternalSkillInstallationScope) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ExternalSkillInstallationScope) UnmarshalJSON ¶
func (s *ExternalSkillInstallationScope) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ExternalSkillInstallationScope) UnmarshalText ¶
func (s *ExternalSkillInstallationScope) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ExternalSkillInstallationScope) Validate ¶
func (s ExternalSkillInstallationScope) Validate() error
type ExternalSkillRegistration ¶
type ExternalSkillRegistration struct {
ExternalSkillID string `json:"external_skill_id"`
Provider ExternalSkillRegistrationProvider `json:"provider"`
AgentKind ExternalSkillRegistrationAgentKind `json:"agent_kind"`
HostID string `json:"host_id"`
InstallationScope ExternalSkillInstallationScope `json:"installation_scope"`
// Host-local locator; not a cross-Agent or cross-host contract.
Locator string `json:"locator"`
Fingerprint string `json:"fingerprint"`
Name string `json:"name"`
Description string `json:"description"`
}
Ref: #/components/schemas/ExternalSkillRegistration
func (*ExternalSkillRegistration) Decode ¶
func (s *ExternalSkillRegistration) Decode(d *jx.Decoder) error
Decode decodes ExternalSkillRegistration from json.
func (*ExternalSkillRegistration) Encode ¶
func (s *ExternalSkillRegistration) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExternalSkillRegistration) GetAgentKind ¶
func (s *ExternalSkillRegistration) GetAgentKind() ExternalSkillRegistrationAgentKind
GetAgentKind returns the value of AgentKind.
func (*ExternalSkillRegistration) GetDescription ¶
func (s *ExternalSkillRegistration) GetDescription() string
GetDescription returns the value of Description.
func (*ExternalSkillRegistration) GetExternalSkillID ¶
func (s *ExternalSkillRegistration) GetExternalSkillID() string
GetExternalSkillID returns the value of ExternalSkillID.
func (*ExternalSkillRegistration) GetFingerprint ¶
func (s *ExternalSkillRegistration) GetFingerprint() string
GetFingerprint returns the value of Fingerprint.
func (*ExternalSkillRegistration) GetHostID ¶
func (s *ExternalSkillRegistration) GetHostID() string
GetHostID returns the value of HostID.
func (*ExternalSkillRegistration) GetInstallationScope ¶
func (s *ExternalSkillRegistration) GetInstallationScope() ExternalSkillInstallationScope
GetInstallationScope returns the value of InstallationScope.
func (*ExternalSkillRegistration) GetLocator ¶
func (s *ExternalSkillRegistration) GetLocator() string
GetLocator returns the value of Locator.
func (*ExternalSkillRegistration) GetName ¶
func (s *ExternalSkillRegistration) GetName() string
GetName returns the value of Name.
func (*ExternalSkillRegistration) GetProvider ¶
func (s *ExternalSkillRegistration) GetProvider() ExternalSkillRegistrationProvider
GetProvider returns the value of Provider.
func (*ExternalSkillRegistration) MarshalJSON ¶
func (s *ExternalSkillRegistration) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExternalSkillRegistration) SetAgentKind ¶
func (s *ExternalSkillRegistration) SetAgentKind(val ExternalSkillRegistrationAgentKind)
SetAgentKind sets the value of AgentKind.
func (*ExternalSkillRegistration) SetDescription ¶
func (s *ExternalSkillRegistration) SetDescription(val string)
SetDescription sets the value of Description.
func (*ExternalSkillRegistration) SetExternalSkillID ¶
func (s *ExternalSkillRegistration) SetExternalSkillID(val string)
SetExternalSkillID sets the value of ExternalSkillID.
func (*ExternalSkillRegistration) SetFingerprint ¶
func (s *ExternalSkillRegistration) SetFingerprint(val string)
SetFingerprint sets the value of Fingerprint.
func (*ExternalSkillRegistration) SetHostID ¶
func (s *ExternalSkillRegistration) SetHostID(val string)
SetHostID sets the value of HostID.
func (*ExternalSkillRegistration) SetInstallationScope ¶
func (s *ExternalSkillRegistration) SetInstallationScope(val ExternalSkillInstallationScope)
SetInstallationScope sets the value of InstallationScope.
func (*ExternalSkillRegistration) SetLocator ¶
func (s *ExternalSkillRegistration) SetLocator(val string)
SetLocator sets the value of Locator.
func (*ExternalSkillRegistration) SetName ¶
func (s *ExternalSkillRegistration) SetName(val string)
SetName sets the value of Name.
func (*ExternalSkillRegistration) SetProvider ¶
func (s *ExternalSkillRegistration) SetProvider(val ExternalSkillRegistrationProvider)
SetProvider sets the value of Provider.
func (*ExternalSkillRegistration) UnmarshalJSON ¶
func (s *ExternalSkillRegistration) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ExternalSkillRegistration) Validate ¶
func (s *ExternalSkillRegistration) Validate() error
type ExternalSkillRegistrationAgentKind ¶
type ExternalSkillRegistrationAgentKind string
const ( ExternalSkillRegistrationAgentKindCodex ExternalSkillRegistrationAgentKind = "codex" ExternalSkillRegistrationAgentKindClaudeCode ExternalSkillRegistrationAgentKind = "claude_code" )
func (ExternalSkillRegistrationAgentKind) AllValues ¶
func (ExternalSkillRegistrationAgentKind) AllValues() []ExternalSkillRegistrationAgentKind
AllValues returns all ExternalSkillRegistrationAgentKind values.
func (*ExternalSkillRegistrationAgentKind) Decode ¶
func (s *ExternalSkillRegistrationAgentKind) Decode(d *jx.Decoder) error
Decode decodes ExternalSkillRegistrationAgentKind from json.
func (ExternalSkillRegistrationAgentKind) Encode ¶
func (s ExternalSkillRegistrationAgentKind) Encode(e *jx.Encoder)
Encode encodes ExternalSkillRegistrationAgentKind as json.
func (ExternalSkillRegistrationAgentKind) MarshalJSON ¶
func (s ExternalSkillRegistrationAgentKind) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ExternalSkillRegistrationAgentKind) MarshalText ¶
func (s ExternalSkillRegistrationAgentKind) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ExternalSkillRegistrationAgentKind) UnmarshalJSON ¶
func (s *ExternalSkillRegistrationAgentKind) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ExternalSkillRegistrationAgentKind) UnmarshalText ¶
func (s *ExternalSkillRegistrationAgentKind) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ExternalSkillRegistrationAgentKind) Validate ¶
func (s ExternalSkillRegistrationAgentKind) Validate() error
type ExternalSkillRegistrationProvider ¶
type ExternalSkillRegistrationProvider string
const ( ExternalSkillRegistrationProviderCodex ExternalSkillRegistrationProvider = "codex" ExternalSkillRegistrationProviderClaudeCode ExternalSkillRegistrationProvider = "claude_code" )
func (ExternalSkillRegistrationProvider) AllValues ¶
func (ExternalSkillRegistrationProvider) AllValues() []ExternalSkillRegistrationProvider
AllValues returns all ExternalSkillRegistrationProvider values.
func (*ExternalSkillRegistrationProvider) Decode ¶
func (s *ExternalSkillRegistrationProvider) Decode(d *jx.Decoder) error
Decode decodes ExternalSkillRegistrationProvider from json.
func (ExternalSkillRegistrationProvider) Encode ¶
func (s ExternalSkillRegistrationProvider) Encode(e *jx.Encoder)
Encode encodes ExternalSkillRegistrationProvider as json.
func (ExternalSkillRegistrationProvider) MarshalJSON ¶
func (s ExternalSkillRegistrationProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ExternalSkillRegistrationProvider) MarshalText ¶
func (s ExternalSkillRegistrationProvider) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ExternalSkillRegistrationProvider) UnmarshalJSON ¶
func (s *ExternalSkillRegistrationProvider) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ExternalSkillRegistrationProvider) UnmarshalText ¶
func (s *ExternalSkillRegistrationProvider) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ExternalSkillRegistrationProvider) Validate ¶
func (s ExternalSkillRegistrationProvider) Validate() error
type ExternalSkillResolution ¶
type ExternalSkillResolution struct {
Registration ExternalSkillRegistration `json:"registration"`
Status ExternalSkillResolutionStatus `json:"status"`
// Host-local SKILL.md path; present only when the exact fingerprint is available.
Entrypoint NilString `json:"entrypoint"`
}
Ref: #/components/schemas/ExternalSkillResolution
func (*ExternalSkillResolution) Decode ¶
func (s *ExternalSkillResolution) Decode(d *jx.Decoder) error
Decode decodes ExternalSkillResolution from json.
func (*ExternalSkillResolution) Encode ¶
func (s *ExternalSkillResolution) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExternalSkillResolution) GetEntrypoint ¶
func (s *ExternalSkillResolution) GetEntrypoint() NilString
GetEntrypoint returns the value of Entrypoint.
func (*ExternalSkillResolution) GetRegistration ¶
func (s *ExternalSkillResolution) GetRegistration() ExternalSkillRegistration
GetRegistration returns the value of Registration.
func (*ExternalSkillResolution) GetStatus ¶
func (s *ExternalSkillResolution) GetStatus() ExternalSkillResolutionStatus
GetStatus returns the value of Status.
func (*ExternalSkillResolution) MarshalJSON ¶
func (s *ExternalSkillResolution) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExternalSkillResolution) SetEntrypoint ¶
func (s *ExternalSkillResolution) SetEntrypoint(val NilString)
SetEntrypoint sets the value of Entrypoint.
func (*ExternalSkillResolution) SetRegistration ¶
func (s *ExternalSkillResolution) SetRegistration(val ExternalSkillRegistration)
SetRegistration sets the value of Registration.
func (*ExternalSkillResolution) SetStatus ¶
func (s *ExternalSkillResolution) SetStatus(val ExternalSkillResolutionStatus)
SetStatus sets the value of Status.
func (*ExternalSkillResolution) UnmarshalJSON ¶
func (s *ExternalSkillResolution) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ExternalSkillResolution) Validate ¶
func (s *ExternalSkillResolution) Validate() error
type ExternalSkillResolutionHeaders ¶
type ExternalSkillResolutionHeaders struct {
XPowerContextRequestID OptString
Response ExternalSkillResolution
}
ExternalSkillResolutionHeaders wraps ExternalSkillResolution with response headers.
func (*ExternalSkillResolutionHeaders) GetResponse ¶
func (s *ExternalSkillResolutionHeaders) GetResponse() ExternalSkillResolution
GetResponse returns the value of Response.
func (*ExternalSkillResolutionHeaders) GetXPowerContextRequestID ¶
func (s *ExternalSkillResolutionHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*ExternalSkillResolutionHeaders) SetResponse ¶
func (s *ExternalSkillResolutionHeaders) SetResponse(val ExternalSkillResolution)
SetResponse sets the value of Response.
func (*ExternalSkillResolutionHeaders) SetXPowerContextRequestID ¶
func (s *ExternalSkillResolutionHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*ExternalSkillResolutionHeaders) Validate ¶
func (s *ExternalSkillResolutionHeaders) Validate() error
type ExternalSkillResolutionStatus ¶
type ExternalSkillResolutionStatus string
Ref: #/components/schemas/ExternalSkillResolutionStatus
const ( ExternalSkillResolutionStatusAvailable ExternalSkillResolutionStatus = "available" )
func (ExternalSkillResolutionStatus) AllValues ¶
func (ExternalSkillResolutionStatus) AllValues() []ExternalSkillResolutionStatus
AllValues returns all ExternalSkillResolutionStatus values.
func (*ExternalSkillResolutionStatus) Decode ¶
func (s *ExternalSkillResolutionStatus) Decode(d *jx.Decoder) error
Decode decodes ExternalSkillResolutionStatus from json.
func (ExternalSkillResolutionStatus) Encode ¶
func (s ExternalSkillResolutionStatus) Encode(e *jx.Encoder)
Encode encodes ExternalSkillResolutionStatus as json.
func (ExternalSkillResolutionStatus) MarshalJSON ¶
func (s ExternalSkillResolutionStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ExternalSkillResolutionStatus) MarshalText ¶
func (s ExternalSkillResolutionStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ExternalSkillResolutionStatus) UnmarshalJSON ¶
func (s *ExternalSkillResolutionStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ExternalSkillResolutionStatus) UnmarshalText ¶
func (s *ExternalSkillResolutionStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ExternalSkillResolutionStatus) Validate ¶
func (s ExternalSkillResolutionStatus) Validate() error
type FamilyCount ¶
Ref: #/components/schemas/FamilyCount
func (*FamilyCount) Decode ¶
func (s *FamilyCount) Decode(d *jx.Decoder) error
Decode decodes FamilyCount from json.
func (*FamilyCount) Encode ¶
func (s *FamilyCount) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FamilyCount) GetFamily ¶
func (s *FamilyCount) GetFamily() string
GetFamily returns the value of Family.
func (*FamilyCount) GetTotal ¶
func (s *FamilyCount) GetTotal() int
GetTotal returns the value of Total.
func (*FamilyCount) MarshalJSON ¶
func (s *FamilyCount) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FamilyCount) SetFamily ¶
func (s *FamilyCount) SetFamily(val string)
SetFamily sets the value of Family.
func (*FamilyCount) SetTotal ¶
func (s *FamilyCount) SetTotal(val int)
SetTotal sets the value of Total.
func (*FamilyCount) UnmarshalJSON ¶
func (s *FamilyCount) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FamilyCount) Validate ¶
func (s *FamilyCount) Validate() error
type FinalizeHandoffRequest ¶
type FinalizeHandoffRequest struct {
ScopeID string `json:"scope_id"`
Draft HandoffDraft `json:"draft"`
}
Ref: #/components/schemas/FinalizeHandoffRequest
func (*FinalizeHandoffRequest) Decode ¶
func (s *FinalizeHandoffRequest) Decode(d *jx.Decoder) error
Decode decodes FinalizeHandoffRequest from json.
func (*FinalizeHandoffRequest) Encode ¶
func (s *FinalizeHandoffRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FinalizeHandoffRequest) GetDraft ¶
func (s *FinalizeHandoffRequest) GetDraft() HandoffDraft
GetDraft returns the value of Draft.
func (*FinalizeHandoffRequest) GetScopeID ¶
func (s *FinalizeHandoffRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*FinalizeHandoffRequest) MarshalJSON ¶
func (s *FinalizeHandoffRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FinalizeHandoffRequest) SetDraft ¶
func (s *FinalizeHandoffRequest) SetDraft(val HandoffDraft)
SetDraft sets the value of Draft.
func (*FinalizeHandoffRequest) SetScopeID ¶
func (s *FinalizeHandoffRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*FinalizeHandoffRequest) UnmarshalJSON ¶
func (s *FinalizeHandoffRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FinalizeHandoffRequest) Validate ¶
func (s *FinalizeHandoffRequest) Validate() error
type FinalizeHandoffRes ¶
type FinalizeHandoffRes interface {
// contains filtered or unexported methods
}
type FlushMemoryRequest ¶
type FlushMemoryRequest struct {
ScopeID string `json:"scope_id"`
}
Ref: #/components/schemas/FlushMemoryRequest
func (*FlushMemoryRequest) Decode ¶
func (s *FlushMemoryRequest) Decode(d *jx.Decoder) error
Decode decodes FlushMemoryRequest from json.
func (*FlushMemoryRequest) Encode ¶
func (s *FlushMemoryRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FlushMemoryRequest) GetScopeID ¶
func (s *FlushMemoryRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*FlushMemoryRequest) MarshalJSON ¶
func (s *FlushMemoryRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlushMemoryRequest) SetScopeID ¶
func (s *FlushMemoryRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*FlushMemoryRequest) UnmarshalJSON ¶
func (s *FlushMemoryRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlushMemoryRequest) Validate ¶
func (s *FlushMemoryRequest) Validate() error
type FlushMemoryRes ¶
type FlushMemoryRes interface {
// contains filtered or unexported methods
}
type FlushMemoryResponse ¶
type FlushMemoryResponse struct {
Status FlushStatus `json:"status"`
PreviousCursor int `json:"previous_cursor"`
CurrentCursor int `json:"current_cursor"`
HighWatermark int `json:"high_watermark"`
ProcessedSourceCount int `json:"processed_source_count"`
Memory OptNilArtifactReference `json:"memory"`
}
Ref: #/components/schemas/FlushMemoryResponse
func (*FlushMemoryResponse) Decode ¶
func (s *FlushMemoryResponse) Decode(d *jx.Decoder) error
Decode decodes FlushMemoryResponse from json.
func (*FlushMemoryResponse) Encode ¶
func (s *FlushMemoryResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FlushMemoryResponse) GetCurrentCursor ¶
func (s *FlushMemoryResponse) GetCurrentCursor() int
GetCurrentCursor returns the value of CurrentCursor.
func (*FlushMemoryResponse) GetHighWatermark ¶
func (s *FlushMemoryResponse) GetHighWatermark() int
GetHighWatermark returns the value of HighWatermark.
func (*FlushMemoryResponse) GetMemory ¶
func (s *FlushMemoryResponse) GetMemory() OptNilArtifactReference
GetMemory returns the value of Memory.
func (*FlushMemoryResponse) GetPreviousCursor ¶
func (s *FlushMemoryResponse) GetPreviousCursor() int
GetPreviousCursor returns the value of PreviousCursor.
func (*FlushMemoryResponse) GetProcessedSourceCount ¶
func (s *FlushMemoryResponse) GetProcessedSourceCount() int
GetProcessedSourceCount returns the value of ProcessedSourceCount.
func (*FlushMemoryResponse) GetStatus ¶
func (s *FlushMemoryResponse) GetStatus() FlushStatus
GetStatus returns the value of Status.
func (*FlushMemoryResponse) MarshalJSON ¶
func (s *FlushMemoryResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlushMemoryResponse) SetCurrentCursor ¶
func (s *FlushMemoryResponse) SetCurrentCursor(val int)
SetCurrentCursor sets the value of CurrentCursor.
func (*FlushMemoryResponse) SetHighWatermark ¶
func (s *FlushMemoryResponse) SetHighWatermark(val int)
SetHighWatermark sets the value of HighWatermark.
func (*FlushMemoryResponse) SetMemory ¶
func (s *FlushMemoryResponse) SetMemory(val OptNilArtifactReference)
SetMemory sets the value of Memory.
func (*FlushMemoryResponse) SetPreviousCursor ¶
func (s *FlushMemoryResponse) SetPreviousCursor(val int)
SetPreviousCursor sets the value of PreviousCursor.
func (*FlushMemoryResponse) SetProcessedSourceCount ¶
func (s *FlushMemoryResponse) SetProcessedSourceCount(val int)
SetProcessedSourceCount sets the value of ProcessedSourceCount.
func (*FlushMemoryResponse) SetStatus ¶
func (s *FlushMemoryResponse) SetStatus(val FlushStatus)
SetStatus sets the value of Status.
func (*FlushMemoryResponse) UnmarshalJSON ¶
func (s *FlushMemoryResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlushMemoryResponse) Validate ¶
func (s *FlushMemoryResponse) Validate() error
type FlushMemoryResponseHeaders ¶
type FlushMemoryResponseHeaders struct {
XPowerContextRequestID OptString
Response FlushMemoryResponse
}
FlushMemoryResponseHeaders wraps FlushMemoryResponse with response headers.
func (*FlushMemoryResponseHeaders) GetResponse ¶
func (s *FlushMemoryResponseHeaders) GetResponse() FlushMemoryResponse
GetResponse returns the value of Response.
func (*FlushMemoryResponseHeaders) GetXPowerContextRequestID ¶
func (s *FlushMemoryResponseHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*FlushMemoryResponseHeaders) SetResponse ¶
func (s *FlushMemoryResponseHeaders) SetResponse(val FlushMemoryResponse)
SetResponse sets the value of Response.
func (*FlushMemoryResponseHeaders) SetXPowerContextRequestID ¶
func (s *FlushMemoryResponseHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*FlushMemoryResponseHeaders) Validate ¶
func (s *FlushMemoryResponseHeaders) Validate() error
type FlushStatus ¶
type FlushStatus string
Ref: #/components/schemas/FlushStatus
const ( FlushStatusIdle FlushStatus = "idle" FlushStatusProcessed FlushStatus = "processed" )
func (FlushStatus) AllValues ¶
func (FlushStatus) AllValues() []FlushStatus
AllValues returns all FlushStatus values.
func (*FlushStatus) Decode ¶
func (s *FlushStatus) Decode(d *jx.Decoder) error
Decode decodes FlushStatus from json.
func (FlushStatus) Encode ¶
func (s FlushStatus) Encode(e *jx.Encoder)
Encode encodes FlushStatus as json.
func (FlushStatus) MarshalJSON ¶
func (s FlushStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (FlushStatus) MarshalText ¶
func (s FlushStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*FlushStatus) UnmarshalJSON ¶
func (s *FlushStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlushStatus) UnmarshalText ¶
func (s *FlushStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (FlushStatus) Validate ¶
func (s FlushStatus) Validate() error
type GenerateExperienceRequest ¶
type GenerateExperienceRequest struct {
ScopeID string `json:"scope_id"`
// Exact Source evidence. Counted with artifact_refs toward a combined maximum of 32 references.
SourceRefs []SourceReference `json:"source_refs"`
// Exact Artifact evidence. Counted with source_refs toward a combined maximum of 32 references.
ArtifactRefs []ArtifactReference `json:"artifact_refs"`
Target OptNilArtifactReference `json:"target"`
Reason OptNilString `json:"reason"`
}
Ref: #/components/schemas/GenerateExperienceRequest
func (*GenerateExperienceRequest) Decode ¶
func (s *GenerateExperienceRequest) Decode(d *jx.Decoder) error
Decode decodes GenerateExperienceRequest from json.
func (*GenerateExperienceRequest) Encode ¶
func (s *GenerateExperienceRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GenerateExperienceRequest) GetArtifactRefs ¶
func (s *GenerateExperienceRequest) GetArtifactRefs() []ArtifactReference
GetArtifactRefs returns the value of ArtifactRefs.
func (*GenerateExperienceRequest) GetReason ¶
func (s *GenerateExperienceRequest) GetReason() OptNilString
GetReason returns the value of Reason.
func (*GenerateExperienceRequest) GetScopeID ¶
func (s *GenerateExperienceRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*GenerateExperienceRequest) GetSourceRefs ¶
func (s *GenerateExperienceRequest) GetSourceRefs() []SourceReference
GetSourceRefs returns the value of SourceRefs.
func (*GenerateExperienceRequest) GetTarget ¶
func (s *GenerateExperienceRequest) GetTarget() OptNilArtifactReference
GetTarget returns the value of Target.
func (*GenerateExperienceRequest) MarshalJSON ¶
func (s *GenerateExperienceRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GenerateExperienceRequest) SetArtifactRefs ¶
func (s *GenerateExperienceRequest) SetArtifactRefs(val []ArtifactReference)
SetArtifactRefs sets the value of ArtifactRefs.
func (*GenerateExperienceRequest) SetReason ¶
func (s *GenerateExperienceRequest) SetReason(val OptNilString)
SetReason sets the value of Reason.
func (*GenerateExperienceRequest) SetScopeID ¶
func (s *GenerateExperienceRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*GenerateExperienceRequest) SetSourceRefs ¶
func (s *GenerateExperienceRequest) SetSourceRefs(val []SourceReference)
SetSourceRefs sets the value of SourceRefs.
func (*GenerateExperienceRequest) SetTarget ¶
func (s *GenerateExperienceRequest) SetTarget(val OptNilArtifactReference)
SetTarget sets the value of Target.
func (*GenerateExperienceRequest) UnmarshalJSON ¶
func (s *GenerateExperienceRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GenerateExperienceRequest) Validate ¶
func (s *GenerateExperienceRequest) Validate() error
type GenerateExperienceRes ¶
type GenerateExperienceRes interface {
// contains filtered or unexported methods
}
type GenerateSkillRequest ¶
type GenerateSkillRequest struct {
ScopeID string `json:"scope_id"`
Origin SkillGenerationOrigin `json:"origin"`
// Exact Source evidence. Counted with artifact_refs toward a combined maximum of 32 references.
SourceRefs []SourceReference `json:"source_refs"`
// Exact Artifact evidence. Counted with source_refs toward a combined maximum of 32 references.
ArtifactRefs []ArtifactReference `json:"artifact_refs"`
Target OptNilArtifactReference `json:"target"`
Reason OptNilString `json:"reason"`
}
Ref: #/components/schemas/GenerateSkillRequest
func (*GenerateSkillRequest) Decode ¶
func (s *GenerateSkillRequest) Decode(d *jx.Decoder) error
Decode decodes GenerateSkillRequest from json.
func (*GenerateSkillRequest) Encode ¶
func (s *GenerateSkillRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GenerateSkillRequest) GetArtifactRefs ¶
func (s *GenerateSkillRequest) GetArtifactRefs() []ArtifactReference
GetArtifactRefs returns the value of ArtifactRefs.
func (*GenerateSkillRequest) GetOrigin ¶
func (s *GenerateSkillRequest) GetOrigin() SkillGenerationOrigin
GetOrigin returns the value of Origin.
func (*GenerateSkillRequest) GetReason ¶
func (s *GenerateSkillRequest) GetReason() OptNilString
GetReason returns the value of Reason.
func (*GenerateSkillRequest) GetScopeID ¶
func (s *GenerateSkillRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*GenerateSkillRequest) GetSourceRefs ¶
func (s *GenerateSkillRequest) GetSourceRefs() []SourceReference
GetSourceRefs returns the value of SourceRefs.
func (*GenerateSkillRequest) GetTarget ¶
func (s *GenerateSkillRequest) GetTarget() OptNilArtifactReference
GetTarget returns the value of Target.
func (*GenerateSkillRequest) MarshalJSON ¶
func (s *GenerateSkillRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GenerateSkillRequest) SetArtifactRefs ¶
func (s *GenerateSkillRequest) SetArtifactRefs(val []ArtifactReference)
SetArtifactRefs sets the value of ArtifactRefs.
func (*GenerateSkillRequest) SetOrigin ¶
func (s *GenerateSkillRequest) SetOrigin(val SkillGenerationOrigin)
SetOrigin sets the value of Origin.
func (*GenerateSkillRequest) SetReason ¶
func (s *GenerateSkillRequest) SetReason(val OptNilString)
SetReason sets the value of Reason.
func (*GenerateSkillRequest) SetScopeID ¶
func (s *GenerateSkillRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*GenerateSkillRequest) SetSourceRefs ¶
func (s *GenerateSkillRequest) SetSourceRefs(val []SourceReference)
SetSourceRefs sets the value of SourceRefs.
func (*GenerateSkillRequest) SetTarget ¶
func (s *GenerateSkillRequest) SetTarget(val OptNilArtifactReference)
SetTarget sets the value of Target.
func (*GenerateSkillRequest) UnmarshalJSON ¶
func (s *GenerateSkillRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GenerateSkillRequest) Validate ¶
func (s *GenerateSkillRequest) Validate() error
type GenerateSkillRes ¶
type GenerateSkillRes interface {
// contains filtered or unexported methods
}
type GeneratedCandidateResponse ¶
type GeneratedCandidateResponse struct {
Status GeneratedCandidateStatus `json:"status"`
Candidate NilArtifactCandidate `json:"candidate"`
}
Ref: #/components/schemas/GeneratedCandidateResponse
func (*GeneratedCandidateResponse) Decode ¶
func (s *GeneratedCandidateResponse) Decode(d *jx.Decoder) error
Decode decodes GeneratedCandidateResponse from json.
func (*GeneratedCandidateResponse) Encode ¶
func (s *GeneratedCandidateResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GeneratedCandidateResponse) GetCandidate ¶
func (s *GeneratedCandidateResponse) GetCandidate() NilArtifactCandidate
GetCandidate returns the value of Candidate.
func (*GeneratedCandidateResponse) GetStatus ¶
func (s *GeneratedCandidateResponse) GetStatus() GeneratedCandidateStatus
GetStatus returns the value of Status.
func (*GeneratedCandidateResponse) MarshalJSON ¶
func (s *GeneratedCandidateResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GeneratedCandidateResponse) SetCandidate ¶
func (s *GeneratedCandidateResponse) SetCandidate(val NilArtifactCandidate)
SetCandidate sets the value of Candidate.
func (*GeneratedCandidateResponse) SetStatus ¶
func (s *GeneratedCandidateResponse) SetStatus(val GeneratedCandidateStatus)
SetStatus sets the value of Status.
func (*GeneratedCandidateResponse) UnmarshalJSON ¶
func (s *GeneratedCandidateResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GeneratedCandidateResponse) Validate ¶
func (s *GeneratedCandidateResponse) Validate() error
type GeneratedCandidateResponseHeaders ¶
type GeneratedCandidateResponseHeaders struct {
XPowerContextRequestID OptString
Response GeneratedCandidateResponse
}
GeneratedCandidateResponseHeaders wraps GeneratedCandidateResponse with response headers.
func (*GeneratedCandidateResponseHeaders) GetResponse ¶
func (s *GeneratedCandidateResponseHeaders) GetResponse() GeneratedCandidateResponse
GetResponse returns the value of Response.
func (*GeneratedCandidateResponseHeaders) GetXPowerContextRequestID ¶
func (s *GeneratedCandidateResponseHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*GeneratedCandidateResponseHeaders) SetResponse ¶
func (s *GeneratedCandidateResponseHeaders) SetResponse(val GeneratedCandidateResponse)
SetResponse sets the value of Response.
func (*GeneratedCandidateResponseHeaders) SetXPowerContextRequestID ¶
func (s *GeneratedCandidateResponseHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*GeneratedCandidateResponseHeaders) Validate ¶
func (s *GeneratedCandidateResponseHeaders) Validate() error
type GeneratedCandidateStatus ¶
type GeneratedCandidateStatus string
Ref: #/components/schemas/GeneratedCandidateStatus
const ( GeneratedCandidateStatusPending GeneratedCandidateStatus = "pending" GeneratedCandidateStatusNoOp GeneratedCandidateStatus = "no_op" )
func (GeneratedCandidateStatus) AllValues ¶
func (GeneratedCandidateStatus) AllValues() []GeneratedCandidateStatus
AllValues returns all GeneratedCandidateStatus values.
func (*GeneratedCandidateStatus) Decode ¶
func (s *GeneratedCandidateStatus) Decode(d *jx.Decoder) error
Decode decodes GeneratedCandidateStatus from json.
func (GeneratedCandidateStatus) Encode ¶
func (s GeneratedCandidateStatus) Encode(e *jx.Encoder)
Encode encodes GeneratedCandidateStatus as json.
func (GeneratedCandidateStatus) MarshalJSON ¶
func (s GeneratedCandidateStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GeneratedCandidateStatus) MarshalText ¶
func (s GeneratedCandidateStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GeneratedCandidateStatus) UnmarshalJSON ¶
func (s *GeneratedCandidateStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GeneratedCandidateStatus) UnmarshalText ¶
func (s *GeneratedCandidateStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GeneratedCandidateStatus) Validate ¶
func (s GeneratedCandidateStatus) Validate() error
type GetArtifactCandidateRequest ¶
type GetArtifactCandidateRequest struct {
ScopeID string `json:"scope_id"`
CandidateID string `json:"candidate_id"`
}
Ref: #/components/schemas/GetArtifactCandidateRequest
func (*GetArtifactCandidateRequest) Decode ¶
func (s *GetArtifactCandidateRequest) Decode(d *jx.Decoder) error
Decode decodes GetArtifactCandidateRequest from json.
func (*GetArtifactCandidateRequest) Encode ¶
func (s *GetArtifactCandidateRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetArtifactCandidateRequest) GetCandidateID ¶
func (s *GetArtifactCandidateRequest) GetCandidateID() string
GetCandidateID returns the value of CandidateID.
func (*GetArtifactCandidateRequest) GetScopeID ¶
func (s *GetArtifactCandidateRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*GetArtifactCandidateRequest) MarshalJSON ¶
func (s *GetArtifactCandidateRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetArtifactCandidateRequest) SetCandidateID ¶
func (s *GetArtifactCandidateRequest) SetCandidateID(val string)
SetCandidateID sets the value of CandidateID.
func (*GetArtifactCandidateRequest) SetScopeID ¶
func (s *GetArtifactCandidateRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*GetArtifactCandidateRequest) UnmarshalJSON ¶
func (s *GetArtifactCandidateRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetArtifactCandidateRequest) Validate ¶
func (s *GetArtifactCandidateRequest) Validate() error
type GetArtifactCandidateRes ¶
type GetArtifactCandidateRes interface {
// contains filtered or unexported methods
}
type GetCapabilitiesRes ¶
type GetCapabilitiesRes interface {
// contains filtered or unexported methods
}
type GetExperienceRequest ¶
type GetExperienceRequest struct {
ScopeID string `json:"scope_id"`
Artifact ArtifactReference `json:"artifact"`
}
Ref: #/components/schemas/GetExperienceRequest
func (*GetExperienceRequest) Decode ¶
func (s *GetExperienceRequest) Decode(d *jx.Decoder) error
Decode decodes GetExperienceRequest from json.
func (*GetExperienceRequest) Encode ¶
func (s *GetExperienceRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetExperienceRequest) GetArtifact ¶
func (s *GetExperienceRequest) GetArtifact() ArtifactReference
GetArtifact returns the value of Artifact.
func (*GetExperienceRequest) GetScopeID ¶
func (s *GetExperienceRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*GetExperienceRequest) MarshalJSON ¶
func (s *GetExperienceRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetExperienceRequest) SetArtifact ¶
func (s *GetExperienceRequest) SetArtifact(val ArtifactReference)
SetArtifact sets the value of Artifact.
func (*GetExperienceRequest) SetScopeID ¶
func (s *GetExperienceRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*GetExperienceRequest) UnmarshalJSON ¶
func (s *GetExperienceRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetExperienceRequest) Validate ¶
func (s *GetExperienceRequest) Validate() error
type GetExperienceRes ¶
type GetExperienceRes interface {
// contains filtered or unexported methods
}
type GetHandoffReportOKCacheControl ¶
type GetHandoffReportOKCacheControl string
const (
GetHandoffReportOKCacheControlNoStore GetHandoffReportOKCacheControl = "no-store"
)
func (GetHandoffReportOKCacheControl) AllValues ¶
func (GetHandoffReportOKCacheControl) AllValues() []GetHandoffReportOKCacheControl
AllValues returns all GetHandoffReportOKCacheControl values.
func (GetHandoffReportOKCacheControl) MarshalText ¶
func (s GetHandoffReportOKCacheControl) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GetHandoffReportOKCacheControl) UnmarshalText ¶
func (s *GetHandoffReportOKCacheControl) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GetHandoffReportOKCacheControl) Validate ¶
func (s GetHandoffReportOKCacheControl) Validate() error
type GetHandoffReportOKTextMarkdownHeaders ¶
type GetHandoffReportOKTextMarkdownHeaders struct {
CacheControl OptGetHandoffReportOKCacheControl
ContentDisposition OptString
XPowerContextReportDigest OptString
XPowerContextRequestID OptString
XPowerContextSelectionDigest OptString
Response GetHandoffReportOKTextMarkdown
}
GetHandoffReportOKTextMarkdownHeaders wraps GetHandoffReportOKTextMarkdown with response headers.
func (*GetHandoffReportOKTextMarkdownHeaders) GetCacheControl ¶
func (s *GetHandoffReportOKTextMarkdownHeaders) GetCacheControl() OptGetHandoffReportOKCacheControl
GetCacheControl returns the value of CacheControl.
func (*GetHandoffReportOKTextMarkdownHeaders) GetContentDisposition ¶
func (s *GetHandoffReportOKTextMarkdownHeaders) GetContentDisposition() OptString
GetContentDisposition returns the value of ContentDisposition.
func (*GetHandoffReportOKTextMarkdownHeaders) GetResponse ¶
func (s *GetHandoffReportOKTextMarkdownHeaders) GetResponse() GetHandoffReportOKTextMarkdown
GetResponse returns the value of Response.
func (*GetHandoffReportOKTextMarkdownHeaders) GetXPowerContextReportDigest ¶
func (s *GetHandoffReportOKTextMarkdownHeaders) GetXPowerContextReportDigest() OptString
GetXPowerContextReportDigest returns the value of XPowerContextReportDigest.
func (*GetHandoffReportOKTextMarkdownHeaders) GetXPowerContextRequestID ¶
func (s *GetHandoffReportOKTextMarkdownHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*GetHandoffReportOKTextMarkdownHeaders) GetXPowerContextSelectionDigest ¶
func (s *GetHandoffReportOKTextMarkdownHeaders) GetXPowerContextSelectionDigest() OptString
GetXPowerContextSelectionDigest returns the value of XPowerContextSelectionDigest.
func (*GetHandoffReportOKTextMarkdownHeaders) SetCacheControl ¶
func (s *GetHandoffReportOKTextMarkdownHeaders) SetCacheControl(val OptGetHandoffReportOKCacheControl)
SetCacheControl sets the value of CacheControl.
func (*GetHandoffReportOKTextMarkdownHeaders) SetContentDisposition ¶
func (s *GetHandoffReportOKTextMarkdownHeaders) SetContentDisposition(val OptString)
SetContentDisposition sets the value of ContentDisposition.
func (*GetHandoffReportOKTextMarkdownHeaders) SetResponse ¶
func (s *GetHandoffReportOKTextMarkdownHeaders) SetResponse(val GetHandoffReportOKTextMarkdown)
SetResponse sets the value of Response.
func (*GetHandoffReportOKTextMarkdownHeaders) SetXPowerContextReportDigest ¶
func (s *GetHandoffReportOKTextMarkdownHeaders) SetXPowerContextReportDigest(val OptString)
SetXPowerContextReportDigest sets the value of XPowerContextReportDigest.
func (*GetHandoffReportOKTextMarkdownHeaders) SetXPowerContextRequestID ¶
func (s *GetHandoffReportOKTextMarkdownHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*GetHandoffReportOKTextMarkdownHeaders) SetXPowerContextSelectionDigest ¶
func (s *GetHandoffReportOKTextMarkdownHeaders) SetXPowerContextSelectionDigest(val OptString)
SetXPowerContextSelectionDigest sets the value of XPowerContextSelectionDigest.
func (*GetHandoffReportOKTextMarkdownHeaders) Validate ¶
func (s *GetHandoffReportOKTextMarkdownHeaders) Validate() error
type GetHandoffReportProjectRequest ¶
type GetHandoffReportProjectRequest struct {
ProjectID string `json:"project_id"`
}
Ref: #/components/schemas/GetHandoffReportProjectRequest
func (*GetHandoffReportProjectRequest) Decode ¶
func (s *GetHandoffReportProjectRequest) Decode(d *jx.Decoder) error
Decode decodes GetHandoffReportProjectRequest from json.
func (*GetHandoffReportProjectRequest) Encode ¶
func (s *GetHandoffReportProjectRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetHandoffReportProjectRequest) GetProjectID ¶
func (s *GetHandoffReportProjectRequest) GetProjectID() string
GetProjectID returns the value of ProjectID.
func (*GetHandoffReportProjectRequest) MarshalJSON ¶
func (s *GetHandoffReportProjectRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetHandoffReportProjectRequest) SetProjectID ¶
func (s *GetHandoffReportProjectRequest) SetProjectID(val string)
SetProjectID sets the value of ProjectID.
func (*GetHandoffReportProjectRequest) UnmarshalJSON ¶
func (s *GetHandoffReportProjectRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetHandoffReportProjectRequest) Validate ¶
func (s *GetHandoffReportProjectRequest) Validate() error
type GetHandoffReportProjectRes ¶
type GetHandoffReportProjectRes interface {
// contains filtered or unexported methods
}
type GetHandoffReportRequest ¶
type GetHandoffReportRequest struct {
ScopeID string `json:"scope_id"`
// Retained for wire compatibility and ignored when generating a scope report.
//
// Deprecated: schema marks this property as deprecated.
ProjectID OptNilString `json:"project_id"`
Locale OptNilReportLocale `json:"locale"`
IncludeEvidenceChecks OptBool `json:"include_evidence_checks"`
Format OptReportFormat `json:"format"`
IncludeArchived OptBool `json:"include_archived"`
Download OptBool `json:"download"`
Period OptNilHandoffReportPeriodRequest `json:"period"`
}
Ref: #/components/schemas/GetHandoffReportRequest
func (*GetHandoffReportRequest) Decode ¶
func (s *GetHandoffReportRequest) Decode(d *jx.Decoder) error
Decode decodes GetHandoffReportRequest from json.
func (*GetHandoffReportRequest) Encode ¶
func (s *GetHandoffReportRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetHandoffReportRequest) GetDownload ¶
func (s *GetHandoffReportRequest) GetDownload() OptBool
GetDownload returns the value of Download.
func (*GetHandoffReportRequest) GetFormat ¶
func (s *GetHandoffReportRequest) GetFormat() OptReportFormat
GetFormat returns the value of Format.
func (*GetHandoffReportRequest) GetIncludeArchived ¶
func (s *GetHandoffReportRequest) GetIncludeArchived() OptBool
GetIncludeArchived returns the value of IncludeArchived.
func (*GetHandoffReportRequest) GetIncludeEvidenceChecks ¶
func (s *GetHandoffReportRequest) GetIncludeEvidenceChecks() OptBool
GetIncludeEvidenceChecks returns the value of IncludeEvidenceChecks.
func (*GetHandoffReportRequest) GetLocale ¶
func (s *GetHandoffReportRequest) GetLocale() OptNilReportLocale
GetLocale returns the value of Locale.
func (*GetHandoffReportRequest) GetPeriod ¶
func (s *GetHandoffReportRequest) GetPeriod() OptNilHandoffReportPeriodRequest
GetPeriod returns the value of Period.
func (*GetHandoffReportRequest) GetProjectID ¶
func (s *GetHandoffReportRequest) GetProjectID() OptNilString
GetProjectID returns the value of ProjectID.
func (*GetHandoffReportRequest) GetScopeID ¶
func (s *GetHandoffReportRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*GetHandoffReportRequest) MarshalJSON ¶
func (s *GetHandoffReportRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetHandoffReportRequest) SetDownload ¶
func (s *GetHandoffReportRequest) SetDownload(val OptBool)
SetDownload sets the value of Download.
func (*GetHandoffReportRequest) SetFormat ¶
func (s *GetHandoffReportRequest) SetFormat(val OptReportFormat)
SetFormat sets the value of Format.
func (*GetHandoffReportRequest) SetIncludeArchived ¶
func (s *GetHandoffReportRequest) SetIncludeArchived(val OptBool)
SetIncludeArchived sets the value of IncludeArchived.
func (*GetHandoffReportRequest) SetIncludeEvidenceChecks ¶
func (s *GetHandoffReportRequest) SetIncludeEvidenceChecks(val OptBool)
SetIncludeEvidenceChecks sets the value of IncludeEvidenceChecks.
func (*GetHandoffReportRequest) SetLocale ¶
func (s *GetHandoffReportRequest) SetLocale(val OptNilReportLocale)
SetLocale sets the value of Locale.
func (*GetHandoffReportRequest) SetPeriod ¶
func (s *GetHandoffReportRequest) SetPeriod(val OptNilHandoffReportPeriodRequest)
SetPeriod sets the value of Period.
func (*GetHandoffReportRequest) SetProjectID ¶
func (s *GetHandoffReportRequest) SetProjectID(val OptNilString)
SetProjectID sets the value of ProjectID.
func (*GetHandoffReportRequest) SetScopeID ¶
func (s *GetHandoffReportRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*GetHandoffReportRequest) UnmarshalJSON ¶
func (s *GetHandoffReportRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetHandoffReportRequest) Validate ¶
func (s *GetHandoffReportRequest) Validate() error
type GetHandoffReportRes ¶
type GetHandoffReportRes interface {
// contains filtered or unexported methods
}
type GetHandoffReportWorkspaceRequest ¶
type GetHandoffReportWorkspaceRequest struct {
WorkspaceInstanceID string `json:"workspace_instance_id"`
}
Ref: #/components/schemas/GetHandoffReportWorkspaceRequest
func (*GetHandoffReportWorkspaceRequest) Decode ¶
func (s *GetHandoffReportWorkspaceRequest) Decode(d *jx.Decoder) error
Decode decodes GetHandoffReportWorkspaceRequest from json.
func (*GetHandoffReportWorkspaceRequest) Encode ¶
func (s *GetHandoffReportWorkspaceRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetHandoffReportWorkspaceRequest) GetWorkspaceInstanceID ¶
func (s *GetHandoffReportWorkspaceRequest) GetWorkspaceInstanceID() string
GetWorkspaceInstanceID returns the value of WorkspaceInstanceID.
func (*GetHandoffReportWorkspaceRequest) MarshalJSON ¶
func (s *GetHandoffReportWorkspaceRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetHandoffReportWorkspaceRequest) SetWorkspaceInstanceID ¶
func (s *GetHandoffReportWorkspaceRequest) SetWorkspaceInstanceID(val string)
SetWorkspaceInstanceID sets the value of WorkspaceInstanceID.
func (*GetHandoffReportWorkspaceRequest) UnmarshalJSON ¶
func (s *GetHandoffReportWorkspaceRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetHandoffReportWorkspaceRequest) Validate ¶
func (s *GetHandoffReportWorkspaceRequest) Validate() error
type GetHandoffReportWorkspaceRes ¶
type GetHandoffReportWorkspaceRes interface {
// contains filtered or unexported methods
}
type GetMemoryEntryRequest ¶
type GetMemoryEntryRequest struct {
ScopeID string `json:"scope_id"`
Citation MemoryCitation `json:"citation"`
}
Ref: #/components/schemas/GetMemoryEntryRequest
func (*GetMemoryEntryRequest) Decode ¶
func (s *GetMemoryEntryRequest) Decode(d *jx.Decoder) error
Decode decodes GetMemoryEntryRequest from json.
func (*GetMemoryEntryRequest) Encode ¶
func (s *GetMemoryEntryRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetMemoryEntryRequest) GetCitation ¶
func (s *GetMemoryEntryRequest) GetCitation() MemoryCitation
GetCitation returns the value of Citation.
func (*GetMemoryEntryRequest) GetScopeID ¶
func (s *GetMemoryEntryRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*GetMemoryEntryRequest) MarshalJSON ¶
func (s *GetMemoryEntryRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMemoryEntryRequest) SetCitation ¶
func (s *GetMemoryEntryRequest) SetCitation(val MemoryCitation)
SetCitation sets the value of Citation.
func (*GetMemoryEntryRequest) SetScopeID ¶
func (s *GetMemoryEntryRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*GetMemoryEntryRequest) UnmarshalJSON ¶
func (s *GetMemoryEntryRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetMemoryEntryRequest) Validate ¶
func (s *GetMemoryEntryRequest) Validate() error
type GetMemoryEntryRes ¶
type GetMemoryEntryRes interface {
// contains filtered or unexported methods
}
type GetReadinessOK ¶
type GetReadinessOK ReadinessResponseHeaders
func (*GetReadinessOK) Validate ¶
func (s *GetReadinessOK) Validate() error
type GetReadinessRes ¶
type GetReadinessRes interface {
// contains filtered or unexported methods
}
type GetReadinessServiceUnavailable ¶
type GetReadinessServiceUnavailable ReadinessResponseHeaders
func (*GetReadinessServiceUnavailable) Validate ¶
func (s *GetReadinessServiceUnavailable) Validate() error
type GetSkillRequest ¶
type GetSkillRequest struct {
ScopeID string `json:"scope_id"`
Artifact ArtifactReference `json:"artifact"`
}
Ref: #/components/schemas/GetSkillRequest
func (*GetSkillRequest) Decode ¶
func (s *GetSkillRequest) Decode(d *jx.Decoder) error
Decode decodes GetSkillRequest from json.
func (*GetSkillRequest) Encode ¶
func (s *GetSkillRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetSkillRequest) GetArtifact ¶
func (s *GetSkillRequest) GetArtifact() ArtifactReference
GetArtifact returns the value of Artifact.
func (*GetSkillRequest) GetScopeID ¶
func (s *GetSkillRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*GetSkillRequest) MarshalJSON ¶
func (s *GetSkillRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSkillRequest) SetArtifact ¶
func (s *GetSkillRequest) SetArtifact(val ArtifactReference)
SetArtifact sets the value of Artifact.
func (*GetSkillRequest) SetScopeID ¶
func (s *GetSkillRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*GetSkillRequest) UnmarshalJSON ¶
func (s *GetSkillRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetSkillRequest) Validate ¶
func (s *GetSkillRequest) Validate() error
type GetSkillRes ¶
type GetSkillRes interface {
// contains filtered or unexported methods
}
type GetStatsOKCacheControl ¶
type GetStatsOKCacheControl string
const (
GetStatsOKCacheControlNoStore GetStatsOKCacheControl = "no-store"
)
func (GetStatsOKCacheControl) AllValues ¶
func (GetStatsOKCacheControl) AllValues() []GetStatsOKCacheControl
AllValues returns all GetStatsOKCacheControl values.
func (GetStatsOKCacheControl) MarshalText ¶
func (s GetStatsOKCacheControl) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GetStatsOKCacheControl) UnmarshalText ¶
func (s *GetStatsOKCacheControl) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GetStatsOKCacheControl) Validate ¶
func (s GetStatsOKCacheControl) Validate() error
type GetStatsParams ¶
type GetStatsParams struct {
ScopeID string
Period OptStatsPeriod `json:",omitempty,omitzero"`
}
GetStatsParams is parameters of get_stats operation.
type GetStatsRes ¶
type GetStatsRes interface {
// contains filtered or unexported methods
}
type Handler ¶
type Handler interface {
// AcknowledgeHandoff implements acknowledge_handoff operation.
//
// Re-resolve one prepared or exact Handoff, check evidence, and capture the receiver's explicit
// live-state, capability, and authorization checks.
//
// POST /v1/work/handoffs/acknowledge
AcknowledgeHandoff(ctx context.Context, req *AcknowledgeHandoffRequest) (AcknowledgeHandoffRes, error)
// ActivateHandoff implements activate_handoff operation.
//
// Evaluate the standard Handoff Trigger and synchronously execute any emitted PrepareHandoff Action.
//
// POST /v1/handoff/activate
ActivateHandoff(ctx context.Context, req *ActivateHandoffRequest) (ActivateHandoffRes, error)
// ApproveArtifactCandidate implements approve_artifact_candidate operation.
//
// Commit the reviewed proposal and mark the Candidate approved in one transaction.
//
// POST /v1/artifact-candidates/approve
ApproveArtifactCandidate(ctx context.Context, req *ApproveArtifactCandidateRequest) (ApproveArtifactCandidateRes, error)
// AttachHandoffReportWorkspace implements attach_handoff_report_workspace operation.
//
// Attach a Handoff Report Workspace Binding.
//
// POST /v1/handoff-reports/workspace-bindings/attach
AttachHandoffReportWorkspace(ctx context.Context, req *AttachHandoffReportWorkspaceRequest) (AttachHandoffReportWorkspaceRes, error)
// CaptureContentSource implements capture_content_source operation.
//
// Accept raw content as an idempotent Source without synchronously deriving Artifacts.
//
// POST /v1/sources/content
CaptureContentSource(ctx context.Context, req *CaptureContentSourceRequest) (CaptureContentSourceRes, error)
// CommitHandoff implements commit_handoff operation.
//
// Commit an explicit Handoff milestone.
//
// POST /v1/handoff/commit
CommitHandoff(ctx context.Context, req *CommitHandoffRequest) (CommitHandoffRes, error)
// ContinueHandoff implements continue_handoff operation.
//
// Resolve a Handoff as untrusted historical input.
//
// POST /v1/handoff/continue
ContinueHandoff(ctx context.Context, req *ContinueHandoffRequest) (ContinueHandoffRes, error)
// CreateHandoffReportProject implements create_handoff_report_project operation.
//
// Create a Handoff Report Project.
//
// POST /v1/handoff-reports/projects/create
CreateHandoffReportProject(ctx context.Context, req *CreateHandoffReportProjectRequest) (CreateHandoffReportProjectRes, error)
// CreateWorkContract implements create_work_contract operation.
//
// Persist an inspectable delegation baseline without granting execution authority.
//
// POST /v1/work/contracts/create
CreateWorkContract(ctx context.Context, req *CreateWorkContractRequest) (CreateWorkContractRes, error)
// DetachHandoffReportWorkspace implements detach_handoff_report_workspace operation.
//
// Detach a Handoff Report Workspace Binding.
//
// POST /v1/handoff-reports/workspace-bindings/detach
DetachHandoffReportWorkspace(ctx context.Context, req *DetachHandoffReportWorkspaceRequest) (DetachHandoffReportWorkspaceRes, error)
// FinalizeHandoff implements finalize_handoff operation.
//
// Finalize an inspected Handoff Draft.
//
// POST /v1/handoff/finalize
FinalizeHandoff(ctx context.Context, req *FinalizeHandoffRequest) (FinalizeHandoffRes, error)
// FlushMemory implements flush_memory operation.
//
// Run one bounded Source-to-Memory activation for operational control and testing.
//
// POST /v1/memory/flush
FlushMemory(ctx context.Context, req *FlushMemoryRequest) (FlushMemoryRes, error)
// GenerateExperience implements generate_experience operation.
//
// Use the configured model and caller-selected exact evidence; persist only a schema-valid pending
// Candidate.
//
// POST /v1/experience/generate
GenerateExperience(ctx context.Context, req *GenerateExperienceRequest) (GenerateExperienceRes, error)
// GenerateSkill implements generate_skill operation.
//
// Use the configured model with an explicit provenance shape; persist only a schema-valid pending
// Candidate.
//
// POST /v1/skill/generate
GenerateSkill(ctx context.Context, req *GenerateSkillRequest) (GenerateSkillRes, error)
// GetArtifactCandidate implements get_artifact_candidate operation.
//
// Read the current head and exact immutable proposal version.
//
// POST /v1/artifact-candidates/get
GetArtifactCandidate(ctx context.Context, req *GetArtifactCandidateRequest) (GetArtifactCandidateRes, error)
// GetCapabilities implements get_capabilities operation.
//
// Get runtime capabilities.
//
// GET /v1/capabilities
GetCapabilities(ctx context.Context) (GetCapabilitiesRes, error)
// GetExperience implements get_experience operation.
//
// Read approved Experience content and its exact direct evidence.
//
// POST /v1/experience/get
GetExperience(ctx context.Context, req *GetExperienceRequest) (GetExperienceRes, error)
// GetHandoffReport implements get_handoff_report operation.
//
// Generate a Handoff Report.
//
// POST /v1/handoff-reports/get
GetHandoffReport(ctx context.Context, req *GetHandoffReportRequest) (GetHandoffReportRes, error)
// GetHandoffReportProject implements get_handoff_report_project operation.
//
// Get a Handoff Report Project.
//
// POST /v1/handoff-reports/projects/get
GetHandoffReportProject(ctx context.Context, req *GetHandoffReportProjectRequest) (GetHandoffReportProjectRes, error)
// GetHandoffReportWorkspace implements get_handoff_report_workspace operation.
//
// Get a Handoff Report Workspace Binding.
//
// POST /v1/handoff-reports/workspace-bindings/get
GetHandoffReportWorkspace(ctx context.Context, req *GetHandoffReportWorkspaceRequest) (GetHandoffReportWorkspaceRes, error)
// GetLiveness implements get_liveness operation.
//
// Get process liveness.
//
// GET /health/live
GetLiveness(ctx context.Context) (*HealthResponseHeaders, error)
// GetMemoryEntry implements get_memory_entry operation.
//
// Resolve an immutable entry citation within one Memory Revision.
//
// POST /v1/memory/entries/get
GetMemoryEntry(ctx context.Context, req *GetMemoryEntryRequest) (GetMemoryEntryRes, error)
// GetReadiness implements get_readiness operation.
//
// Get deployment readiness.
//
// GET /health/ready
GetReadiness(ctx context.Context) (GetReadinessRes, error)
// GetSkill implements get_skill operation.
//
// Read approved managed Skill content and its exact direct evidence.
//
// POST /v1/skill/get
GetSkill(ctx context.Context, req *GetSkillRequest) (GetSkillRes, error)
// GetStats implements get_stats operation.
//
// Get scoped product statistics.
//
// GET /v1/stats
GetStats(ctx context.Context, params GetStatsParams) (GetStatsRes, error)
// HandoffCurrentWork implements handoff_current_work operation.
//
// Capture an inspected boundary and prepare a temporary evidence-bearing Handoff without committing
// it.
//
// POST /v1/work/handoffs/prepare-current
HandoffCurrentWork(ctx context.Context, req *HandoffCurrentWorkRequest) (HandoffCurrentWorkRes, error)
// ImportExternalSkill implements import_external_skill operation.
//
// Capture one exact local snapshot and use the configured model to propose a new managed Skill
// Candidate.
//
// POST /v1/external-skills/import
ImportExternalSkill(ctx context.Context, req *ImportExternalSkillRequest) (ImportExternalSkillRes, error)
// ListArtifactCandidates implements list_artifact_candidates operation.
//
// Page current Candidate heads; pending is the default Review Inbox view.
//
// POST /v1/artifact-candidates/list
ListArtifactCandidates(ctx context.Context, req *ListArtifactCandidatesRequest) (ListArtifactCandidatesRes, error)
// ListExternalSkills implements list_external_skills operation.
//
// Return live local resolutions; unavailable registrations are omitted unless explicitly requested.
//
// POST /v1/external-skills/list
ListExternalSkills(ctx context.Context, req *ListExternalSkillsRequest) (ListExternalSkillsRes, error)
// ListHandoffReportActivities implements list_handoff_report_activities operation.
//
// List Handoff Report Activities.
//
// POST /v1/handoff-reports/activities/list
ListHandoffReportActivities(ctx context.Context, req *ListHandoffReportActivitiesRequest) (ListHandoffReportActivitiesRes, error)
// ListHandoffReportKnownScopes implements list_handoff_report_known_scopes operation.
//
// List scopes that contain a committed Handoff.
//
// POST /v1/handoff-reports/scopes/list-known
ListHandoffReportKnownScopes(ctx context.Context, req *ListHandoffReportKnownScopesRequest) (ListHandoffReportKnownScopesRes, error)
// ListHandoffReportProjects implements list_handoff_report_projects operation.
//
// List Handoff Report Projects.
//
// POST /v1/handoff-reports/projects/list
ListHandoffReportProjects(ctx context.Context, req *ListHandoffReportProjectsRequest) (ListHandoffReportProjectsRes, error)
// ListHandoffReportWorkstreams implements list_handoff_report_workstreams operation.
//
// List Handoff Report Workstreams.
//
// POST /v1/handoff-reports/workstreams/list
ListHandoffReportWorkstreams(ctx context.Context, req *ListHandoffReportWorkstreamsRequest) (ListHandoffReportWorkstreamsRes, error)
// ListMemoryChanges implements list_memory_changes operation.
//
// Read compact entry changes without expanding entry bodies.
//
// POST /v1/memory/changes
ListMemoryChanges(ctx context.Context, req *ListMemoryChangesRequest) (ListMemoryChangesRes, error)
// ListMemoryEntries implements list_memory_entries operation.
//
// Read active entries from the current Memory head. Inactive entries are available only when
// explicitly requested for audit.
//
// POST /v1/memory/entries/list
ListMemoryEntries(ctx context.Context, req *ListMemoryEntriesRequest) (ListMemoryEntriesRes, error)
// PrepareContext implements prepare_context operation.
//
// Prepare final, ephemeral context from Runtime-owned sources without persisting or injecting it.
//
// POST /v1/context/prepare
PrepareContext(ctx context.Context, req *PrepareContextRequest) (PrepareContextRes, error)
// PrepareHandoff implements prepare_handoff operation.
//
// Generate an inspectable Handoff Draft.
//
// POST /v1/handoff/prepare
PrepareHandoff(ctx context.Context, req *PrepareHandoffRequest) (PrepareHandoffRes, error)
// ProposeExperience implements propose_experience operation.
//
// Persist a pending Experience Candidate without creating an Artifact Revision.
//
// POST /v1/experience/propose
ProposeExperience(ctx context.Context, req *ProposeExperienceRequest) (ProposeExperienceRes, error)
// ProposeSkill implements propose_skill operation.
//
// Persist a pending managed Skill Candidate without creating an Artifact Revision.
//
// POST /v1/skill/propose
ProposeSkill(ctx context.Context, req *ProposeSkillRequest) (ProposeSkillRes, error)
// PurgeHandoffReportActivities implements purge_handoff_report_activities operation.
//
// Purge Handoff Report Activities.
//
// POST /v1/handoff-reports/activities/purge
PurgeHandoffReportActivities(ctx context.Context, req *PurgeHandoffReportActivitiesRequest) (PurgeHandoffReportActivitiesRes, error)
// RecordHandoffReportActivity implements record_handoff_report_activity operation.
//
// Record a Handoff Report Activity.
//
// POST /v1/handoff-reports/activities/record
RecordHandoffReportActivity(ctx context.Context, req *RecordHandoffReportActivityRequest) (RecordHandoffReportActivityRes, error)
// RecordTaskOutcome implements record_task_outcome operation.
//
// Preserve one attempt's status and checks, optionally linked to the exact accepted Handoff Receipt
// that the result covers.
//
// POST /v1/work/outcomes/record
RecordTaskOutcome(ctx context.Context, req *RecordTaskOutcomeRequest) (RecordTaskOutcomeRes, error)
// RegisterHandoffReportWorkstream implements register_handoff_report_workstream operation.
//
// Register a Handoff Report Workstream.
//
// POST /v1/handoff-reports/workstreams/register
RegisterHandoffReportWorkstream(ctx context.Context, req *RegisterHandoffReportWorkstreamRequest) (RegisterHandoffReportWorkstreamRes, error)
// RejectArtifactCandidate implements reject_artifact_candidate operation.
//
// Move the exact pending version to its rejected terminal state without writing an Artifact.
//
// POST /v1/artifact-candidates/reject
RejectArtifactCandidate(ctx context.Context, req *RejectArtifactCandidateRequest) (RejectArtifactCandidateRes, error)
// RememberMemory implements remember_memory operation.
//
// Save one already-curated Memory entry without creating a Source or invoking extraction.
//
// POST /v1/memory/remember
RememberMemory(ctx context.Context, req *RememberMemoryRequest) (RememberMemoryRes, error)
// ResolveExternalSkill implements resolve_external_skill operation.
//
// Resolve only the registered local package version requested by the caller; never install or fall
// back.
//
// POST /v1/external-skills/resolve
ResolveExternalSkill(ctx context.Context, req *ResolveExternalSkillRequest) (ResolveExternalSkillRes, error)
// RetireMemoryEntry implements retire_memory_entry operation.
//
// Deactivate an entry against an explicit current Memory Revision without deleting history.
//
// POST /v1/memory/entries/retire
RetireMemoryEntry(ctx context.Context, req *RetireMemoryEntryRequest) (RetireMemoryEntryRes, error)
// ReviseArtifactCandidate implements revise_artifact_candidate operation.
//
// Append a complete replacement proposal as the next immutable pending version.
//
// POST /v1/artifact-candidates/revise
ReviseArtifactCandidate(ctx context.Context, req *ReviseArtifactCandidateRequest) (ReviseArtifactCandidateRes, error)
// ReviseMemoryEntry implements revise_memory_entry operation.
//
// Replace active entry content against an explicit current Memory Revision.
//
// POST /v1/memory/entries/revise
ReviseMemoryEntry(ctx context.Context, req *ReviseMemoryEntryRequest) (ReviseMemoryEntryRes, error)
// ScanExternalSkills implements scan_external_skills operation.
//
// Replace the current host-local Registry projection without copying or rewriting package content.
//
// POST /v1/external-skills/scan
ScanExternalSkills(ctx context.Context, req *ScanExternalSkillsRequest) (ScanExternalSkillsRes, error)
// SearchMemory implements search_memory operation.
//
// Retrieve relevant active Memory entries within one explicit application scope.
//
// POST /v1/memory/search
SearchMemory(ctx context.Context, req *SearchMemoryRequest) (SearchMemoryRes, error)
// UpdateHandoffReportProject implements update_handoff_report_project operation.
//
// Update a Handoff Report Project.
//
// POST /v1/handoff-reports/projects/update
UpdateHandoffReportProject(ctx context.Context, req *UpdateHandoffReportProjectRequest) (UpdateHandoffReportProjectRes, error)
// UpdateHandoffReportWorkstream implements update_handoff_report_workstream operation.
//
// Update a Handoff Report Workstream.
//
// POST /v1/handoff-reports/workstreams/update
UpdateHandoffReportWorkstream(ctx context.Context, req *UpdateHandoffReportWorkstreamRequest) (UpdateHandoffReportWorkstreamRes, error)
}
Handler handles operations described by OpenAPI v3 specification.
type HandoffAcknowledgement ¶
type HandoffAcknowledgement struct {
Resolution HandoffResolution `json:"resolution"`
Receipt WorkSourceReceipt `json:"receipt"`
}
Ref: #/components/schemas/HandoffAcknowledgement
func (*HandoffAcknowledgement) Decode ¶
func (s *HandoffAcknowledgement) Decode(d *jx.Decoder) error
Decode decodes HandoffAcknowledgement from json.
func (*HandoffAcknowledgement) Encode ¶
func (s *HandoffAcknowledgement) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffAcknowledgement) GetReceipt ¶
func (s *HandoffAcknowledgement) GetReceipt() WorkSourceReceipt
GetReceipt returns the value of Receipt.
func (*HandoffAcknowledgement) GetResolution ¶
func (s *HandoffAcknowledgement) GetResolution() HandoffResolution
GetResolution returns the value of Resolution.
func (*HandoffAcknowledgement) MarshalJSON ¶
func (s *HandoffAcknowledgement) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffAcknowledgement) SetReceipt ¶
func (s *HandoffAcknowledgement) SetReceipt(val WorkSourceReceipt)
SetReceipt sets the value of Receipt.
func (*HandoffAcknowledgement) SetResolution ¶
func (s *HandoffAcknowledgement) SetResolution(val HandoffResolution)
SetResolution sets the value of Resolution.
func (*HandoffAcknowledgement) UnmarshalJSON ¶
func (s *HandoffAcknowledgement) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffAcknowledgement) Validate ¶
func (s *HandoffAcknowledgement) Validate() error
type HandoffAcknowledgementHeaders ¶
type HandoffAcknowledgementHeaders struct {
XPowerContextRequestID OptString
Response HandoffAcknowledgement
}
HandoffAcknowledgementHeaders wraps HandoffAcknowledgement with response headers.
func (*HandoffAcknowledgementHeaders) GetResponse ¶
func (s *HandoffAcknowledgementHeaders) GetResponse() HandoffAcknowledgement
GetResponse returns the value of Response.
func (*HandoffAcknowledgementHeaders) GetXPowerContextRequestID ¶
func (s *HandoffAcknowledgementHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*HandoffAcknowledgementHeaders) SetResponse ¶
func (s *HandoffAcknowledgementHeaders) SetResponse(val HandoffAcknowledgement)
SetResponse sets the value of Response.
func (*HandoffAcknowledgementHeaders) SetXPowerContextRequestID ¶
func (s *HandoffAcknowledgementHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*HandoffAcknowledgementHeaders) Validate ¶
func (s *HandoffAcknowledgementHeaders) Validate() error
type HandoffAcknowledgementSelection ¶
type HandoffAcknowledgementSelection string
Ref: #/components/schemas/HandoffAcknowledgementSelection
const ( HandoffAcknowledgementSelectionPrepared HandoffAcknowledgementSelection = "prepared" HandoffAcknowledgementSelectionExact HandoffAcknowledgementSelection = "exact" )
func (HandoffAcknowledgementSelection) AllValues ¶
func (HandoffAcknowledgementSelection) AllValues() []HandoffAcknowledgementSelection
AllValues returns all HandoffAcknowledgementSelection values.
func (*HandoffAcknowledgementSelection) Decode ¶
func (s *HandoffAcknowledgementSelection) Decode(d *jx.Decoder) error
Decode decodes HandoffAcknowledgementSelection from json.
func (HandoffAcknowledgementSelection) Encode ¶
func (s HandoffAcknowledgementSelection) Encode(e *jx.Encoder)
Encode encodes HandoffAcknowledgementSelection as json.
func (HandoffAcknowledgementSelection) MarshalJSON ¶
func (s HandoffAcknowledgementSelection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffAcknowledgementSelection) MarshalText ¶
func (s HandoffAcknowledgementSelection) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffAcknowledgementSelection) UnmarshalJSON ¶
func (s *HandoffAcknowledgementSelection) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffAcknowledgementSelection) UnmarshalText ¶
func (s *HandoffAcknowledgementSelection) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffAcknowledgementSelection) Validate ¶
func (s HandoffAcknowledgementSelection) Validate() error
type HandoffActivation ¶
type HandoffActivation struct {
Status HandoffActivationStatus `json:"status"`
BoundarySource SourceReference `json:"boundary_source"`
PreviousPosition int `json:"previous_position"`
CurrentPosition int `json:"current_position"`
Draft NilHandoffDraft `json:"draft"`
}
Ref: #/components/schemas/HandoffActivation
func (*HandoffActivation) Decode ¶
func (s *HandoffActivation) Decode(d *jx.Decoder) error
Decode decodes HandoffActivation from json.
func (*HandoffActivation) Encode ¶
func (s *HandoffActivation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffActivation) GetBoundarySource ¶
func (s *HandoffActivation) GetBoundarySource() SourceReference
GetBoundarySource returns the value of BoundarySource.
func (*HandoffActivation) GetCurrentPosition ¶
func (s *HandoffActivation) GetCurrentPosition() int
GetCurrentPosition returns the value of CurrentPosition.
func (*HandoffActivation) GetDraft ¶
func (s *HandoffActivation) GetDraft() NilHandoffDraft
GetDraft returns the value of Draft.
func (*HandoffActivation) GetPreviousPosition ¶
func (s *HandoffActivation) GetPreviousPosition() int
GetPreviousPosition returns the value of PreviousPosition.
func (*HandoffActivation) GetStatus ¶
func (s *HandoffActivation) GetStatus() HandoffActivationStatus
GetStatus returns the value of Status.
func (*HandoffActivation) MarshalJSON ¶
func (s *HandoffActivation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffActivation) SetBoundarySource ¶
func (s *HandoffActivation) SetBoundarySource(val SourceReference)
SetBoundarySource sets the value of BoundarySource.
func (*HandoffActivation) SetCurrentPosition ¶
func (s *HandoffActivation) SetCurrentPosition(val int)
SetCurrentPosition sets the value of CurrentPosition.
func (*HandoffActivation) SetDraft ¶
func (s *HandoffActivation) SetDraft(val NilHandoffDraft)
SetDraft sets the value of Draft.
func (*HandoffActivation) SetPreviousPosition ¶
func (s *HandoffActivation) SetPreviousPosition(val int)
SetPreviousPosition sets the value of PreviousPosition.
func (*HandoffActivation) SetStatus ¶
func (s *HandoffActivation) SetStatus(val HandoffActivationStatus)
SetStatus sets the value of Status.
func (*HandoffActivation) UnmarshalJSON ¶
func (s *HandoffActivation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffActivation) Validate ¶
func (s *HandoffActivation) Validate() error
type HandoffActivationHeaders ¶
type HandoffActivationHeaders struct {
XPowerContextRequestID OptString
Response HandoffActivation
}
HandoffActivationHeaders wraps HandoffActivation with response headers.
func (*HandoffActivationHeaders) GetResponse ¶
func (s *HandoffActivationHeaders) GetResponse() HandoffActivation
GetResponse returns the value of Response.
func (*HandoffActivationHeaders) GetXPowerContextRequestID ¶
func (s *HandoffActivationHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*HandoffActivationHeaders) SetResponse ¶
func (s *HandoffActivationHeaders) SetResponse(val HandoffActivation)
SetResponse sets the value of Response.
func (*HandoffActivationHeaders) SetXPowerContextRequestID ¶
func (s *HandoffActivationHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*HandoffActivationHeaders) Validate ¶
func (s *HandoffActivationHeaders) Validate() error
type HandoffActivationStatus ¶
type HandoffActivationStatus string
Ref: #/components/schemas/HandoffActivationStatus
const ( HandoffActivationStatusGenerated HandoffActivationStatus = "generated" HandoffActivationStatusIgnored HandoffActivationStatus = "ignored" )
func (HandoffActivationStatus) AllValues ¶
func (HandoffActivationStatus) AllValues() []HandoffActivationStatus
AllValues returns all HandoffActivationStatus values.
func (*HandoffActivationStatus) Decode ¶
func (s *HandoffActivationStatus) Decode(d *jx.Decoder) error
Decode decodes HandoffActivationStatus from json.
func (HandoffActivationStatus) Encode ¶
func (s HandoffActivationStatus) Encode(e *jx.Encoder)
Encode encodes HandoffActivationStatus as json.
func (HandoffActivationStatus) MarshalJSON ¶
func (s HandoffActivationStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffActivationStatus) MarshalText ¶
func (s HandoffActivationStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffActivationStatus) UnmarshalJSON ¶
func (s *HandoffActivationStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffActivationStatus) UnmarshalText ¶
func (s *HandoffActivationStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffActivationStatus) Validate ¶
func (s HandoffActivationStatus) Validate() error
type HandoffArtifactCitation ¶
type HandoffArtifactCitation struct {
Kind HandoffArtifactCitationKind `json:"kind"`
ArtifactRef ArtifactReference `json:"artifact_ref"`
}
Ref: #/components/schemas/HandoffArtifactCitation
func (*HandoffArtifactCitation) Decode ¶
func (s *HandoffArtifactCitation) Decode(d *jx.Decoder) error
Decode decodes HandoffArtifactCitation from json.
func (*HandoffArtifactCitation) Encode ¶
func (s *HandoffArtifactCitation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffArtifactCitation) GetArtifactRef ¶
func (s *HandoffArtifactCitation) GetArtifactRef() ArtifactReference
GetArtifactRef returns the value of ArtifactRef.
func (*HandoffArtifactCitation) GetKind ¶
func (s *HandoffArtifactCitation) GetKind() HandoffArtifactCitationKind
GetKind returns the value of Kind.
func (*HandoffArtifactCitation) MarshalJSON ¶
func (s *HandoffArtifactCitation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffArtifactCitation) SetArtifactRef ¶
func (s *HandoffArtifactCitation) SetArtifactRef(val ArtifactReference)
SetArtifactRef sets the value of ArtifactRef.
func (*HandoffArtifactCitation) SetKind ¶
func (s *HandoffArtifactCitation) SetKind(val HandoffArtifactCitationKind)
SetKind sets the value of Kind.
func (*HandoffArtifactCitation) UnmarshalJSON ¶
func (s *HandoffArtifactCitation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffArtifactCitation) Validate ¶
func (s *HandoffArtifactCitation) Validate() error
type HandoffArtifactCitationKind ¶
type HandoffArtifactCitationKind string
const (
HandoffArtifactCitationKindArtifact HandoffArtifactCitationKind = "artifact"
)
func (HandoffArtifactCitationKind) AllValues ¶
func (HandoffArtifactCitationKind) AllValues() []HandoffArtifactCitationKind
AllValues returns all HandoffArtifactCitationKind values.
func (*HandoffArtifactCitationKind) Decode ¶
func (s *HandoffArtifactCitationKind) Decode(d *jx.Decoder) error
Decode decodes HandoffArtifactCitationKind from json.
func (HandoffArtifactCitationKind) Encode ¶
func (s HandoffArtifactCitationKind) Encode(e *jx.Encoder)
Encode encodes HandoffArtifactCitationKind as json.
func (HandoffArtifactCitationKind) MarshalJSON ¶
func (s HandoffArtifactCitationKind) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffArtifactCitationKind) MarshalText ¶
func (s HandoffArtifactCitationKind) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffArtifactCitationKind) UnmarshalJSON ¶
func (s *HandoffArtifactCitationKind) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffArtifactCitationKind) UnmarshalText ¶
func (s *HandoffArtifactCitationKind) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffArtifactCitationKind) Validate ¶
func (s HandoffArtifactCitationKind) Validate() error
type HandoffCitation ¶
type HandoffCitation struct {
// Type selects the active sum variant, switch on this field.
Type HandoffCitationType
HandoffSourceCitation HandoffSourceCitation
HandoffArtifactCitation HandoffArtifactCitation
HandoffMemoryCitation HandoffMemoryCitation
}
Ref: #/components/schemas/HandoffCitation HandoffCitation represents sum type.
func NewHandoffArtifactCitationHandoffCitation ¶
func NewHandoffArtifactCitationHandoffCitation(v HandoffArtifactCitation) HandoffCitation
NewHandoffArtifactCitationHandoffCitation returns new HandoffCitation from HandoffArtifactCitation.
func NewHandoffMemoryCitationHandoffCitation ¶
func NewHandoffMemoryCitationHandoffCitation(v HandoffMemoryCitation) HandoffCitation
NewHandoffMemoryCitationHandoffCitation returns new HandoffCitation from HandoffMemoryCitation.
func NewHandoffSourceCitationHandoffCitation ¶
func NewHandoffSourceCitationHandoffCitation(v HandoffSourceCitation) HandoffCitation
NewHandoffSourceCitationHandoffCitation returns new HandoffCitation from HandoffSourceCitation.
func (*HandoffCitation) Decode ¶
func (s *HandoffCitation) Decode(d *jx.Decoder) error
Decode decodes HandoffCitation from json.
func (HandoffCitation) Encode ¶
func (s HandoffCitation) Encode(e *jx.Encoder)
Encode encodes HandoffCitation as json.
func (HandoffCitation) GetHandoffArtifactCitation ¶
func (s HandoffCitation) GetHandoffArtifactCitation() (v HandoffArtifactCitation, ok bool)
GetHandoffArtifactCitation returns HandoffArtifactCitation and true boolean if HandoffCitation is HandoffArtifactCitation.
func (HandoffCitation) GetHandoffMemoryCitation ¶
func (s HandoffCitation) GetHandoffMemoryCitation() (v HandoffMemoryCitation, ok bool)
GetHandoffMemoryCitation returns HandoffMemoryCitation and true boolean if HandoffCitation is HandoffMemoryCitation.
func (HandoffCitation) GetHandoffSourceCitation ¶
func (s HandoffCitation) GetHandoffSourceCitation() (v HandoffSourceCitation, ok bool)
GetHandoffSourceCitation returns HandoffSourceCitation and true boolean if HandoffCitation is HandoffSourceCitation.
func (HandoffCitation) IsHandoffArtifactCitation ¶
func (s HandoffCitation) IsHandoffArtifactCitation() bool
IsHandoffArtifactCitation reports whether HandoffCitation is HandoffArtifactCitation.
func (HandoffCitation) IsHandoffMemoryCitation ¶
func (s HandoffCitation) IsHandoffMemoryCitation() bool
IsHandoffMemoryCitation reports whether HandoffCitation is HandoffMemoryCitation.
func (HandoffCitation) IsHandoffSourceCitation ¶
func (s HandoffCitation) IsHandoffSourceCitation() bool
IsHandoffSourceCitation reports whether HandoffCitation is HandoffSourceCitation.
func (HandoffCitation) MarshalJSON ¶
func (s HandoffCitation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffCitation) SetHandoffArtifactCitation ¶
func (s *HandoffCitation) SetHandoffArtifactCitation(v HandoffArtifactCitation)
SetHandoffArtifactCitation sets HandoffCitation to HandoffArtifactCitation.
func (*HandoffCitation) SetHandoffMemoryCitation ¶
func (s *HandoffCitation) SetHandoffMemoryCitation(v HandoffMemoryCitation)
SetHandoffMemoryCitation sets HandoffCitation to HandoffMemoryCitation.
func (*HandoffCitation) SetHandoffSourceCitation ¶
func (s *HandoffCitation) SetHandoffSourceCitation(v HandoffSourceCitation)
SetHandoffSourceCitation sets HandoffCitation to HandoffSourceCitation.
func (*HandoffCitation) UnmarshalJSON ¶
func (s *HandoffCitation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (HandoffCitation) Validate ¶
func (s HandoffCitation) Validate() error
type HandoffCitationType ¶
type HandoffCitationType string
HandoffCitationType is oneOf type of HandoffCitation.
const ( HandoffSourceCitationHandoffCitation HandoffCitationType = "source" HandoffArtifactCitationHandoffCitation HandoffCitationType = "artifact" HandoffMemoryCitationHandoffCitation HandoffCitationType = "memory" )
Possible values for HandoffCitationType.
type HandoffClaim ¶
type HandoffClaim string
Ref: #/components/schemas/HandoffClaim
const ( HandoffClaimState HandoffClaim = "state" HandoffClaimNextAction HandoffClaim = "next_action" )
func (HandoffClaim) AllValues ¶
func (HandoffClaim) AllValues() []HandoffClaim
AllValues returns all HandoffClaim values.
func (*HandoffClaim) Decode ¶
func (s *HandoffClaim) Decode(d *jx.Decoder) error
Decode decodes HandoffClaim from json.
func (HandoffClaim) Encode ¶
func (s HandoffClaim) Encode(e *jx.Encoder)
Encode encodes HandoffClaim as json.
func (HandoffClaim) MarshalJSON ¶
func (s HandoffClaim) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffClaim) MarshalText ¶
func (s HandoffClaim) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffClaim) UnmarshalJSON ¶
func (s *HandoffClaim) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffClaim) UnmarshalText ¶
func (s *HandoffClaim) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffClaim) Validate ¶
func (s HandoffClaim) Validate() error
type HandoffContent ¶
type HandoffContent struct {
Schema HandoffSchema `json:"schema"`
Objective string `json:"objective"`
State []HandoffStatement `json:"state"`
Disposition HandoffDisposition `json:"disposition"`
NextAction NilHandoffStatement `json:"next_action"`
Omissions []HandoffOmission `json:"omissions"`
}
Ref: #/components/schemas/HandoffContent
func (*HandoffContent) Decode ¶
func (s *HandoffContent) Decode(d *jx.Decoder) error
Decode decodes HandoffContent from json.
func (*HandoffContent) Encode ¶
func (s *HandoffContent) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffContent) GetDisposition ¶
func (s *HandoffContent) GetDisposition() HandoffDisposition
GetDisposition returns the value of Disposition.
func (*HandoffContent) GetNextAction ¶
func (s *HandoffContent) GetNextAction() NilHandoffStatement
GetNextAction returns the value of NextAction.
func (*HandoffContent) GetObjective ¶
func (s *HandoffContent) GetObjective() string
GetObjective returns the value of Objective.
func (*HandoffContent) GetOmissions ¶
func (s *HandoffContent) GetOmissions() []HandoffOmission
GetOmissions returns the value of Omissions.
func (*HandoffContent) GetSchema ¶
func (s *HandoffContent) GetSchema() HandoffSchema
GetSchema returns the value of Schema.
func (*HandoffContent) GetState ¶
func (s *HandoffContent) GetState() []HandoffStatement
GetState returns the value of State.
func (*HandoffContent) MarshalJSON ¶
func (s *HandoffContent) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffContent) SetDisposition ¶
func (s *HandoffContent) SetDisposition(val HandoffDisposition)
SetDisposition sets the value of Disposition.
func (*HandoffContent) SetNextAction ¶
func (s *HandoffContent) SetNextAction(val NilHandoffStatement)
SetNextAction sets the value of NextAction.
func (*HandoffContent) SetObjective ¶
func (s *HandoffContent) SetObjective(val string)
SetObjective sets the value of Objective.
func (*HandoffContent) SetOmissions ¶
func (s *HandoffContent) SetOmissions(val []HandoffOmission)
SetOmissions sets the value of Omissions.
func (*HandoffContent) SetSchema ¶
func (s *HandoffContent) SetSchema(val HandoffSchema)
SetSchema sets the value of Schema.
func (*HandoffContent) SetState ¶
func (s *HandoffContent) SetState(val []HandoffStatement)
SetState sets the value of State.
func (*HandoffContent) UnmarshalJSON ¶
func (s *HandoffContent) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffContent) Validate ¶
func (s *HandoffContent) Validate() error
type HandoffCurrentWorkRequest ¶
type HandoffCurrentWorkRequest struct {
ScopeID string `json:"scope_id"`
SourceID string `json:"source_id"`
Handoff CurrentWorkHandoff `json:"handoff"`
}
Ref: #/components/schemas/HandoffCurrentWorkRequest
func (*HandoffCurrentWorkRequest) Decode ¶
func (s *HandoffCurrentWorkRequest) Decode(d *jx.Decoder) error
Decode decodes HandoffCurrentWorkRequest from json.
func (*HandoffCurrentWorkRequest) Encode ¶
func (s *HandoffCurrentWorkRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffCurrentWorkRequest) GetHandoff ¶
func (s *HandoffCurrentWorkRequest) GetHandoff() CurrentWorkHandoff
GetHandoff returns the value of Handoff.
func (*HandoffCurrentWorkRequest) GetScopeID ¶
func (s *HandoffCurrentWorkRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*HandoffCurrentWorkRequest) GetSourceID ¶
func (s *HandoffCurrentWorkRequest) GetSourceID() string
GetSourceID returns the value of SourceID.
func (*HandoffCurrentWorkRequest) MarshalJSON ¶
func (s *HandoffCurrentWorkRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffCurrentWorkRequest) SetHandoff ¶
func (s *HandoffCurrentWorkRequest) SetHandoff(val CurrentWorkHandoff)
SetHandoff sets the value of Handoff.
func (*HandoffCurrentWorkRequest) SetScopeID ¶
func (s *HandoffCurrentWorkRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*HandoffCurrentWorkRequest) SetSourceID ¶
func (s *HandoffCurrentWorkRequest) SetSourceID(val string)
SetSourceID sets the value of SourceID.
func (*HandoffCurrentWorkRequest) UnmarshalJSON ¶
func (s *HandoffCurrentWorkRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffCurrentWorkRequest) Validate ¶
func (s *HandoffCurrentWorkRequest) Validate() error
type HandoffCurrentWorkRes ¶
type HandoffCurrentWorkRes interface {
// contains filtered or unexported methods
}
type HandoffDisposition ¶
type HandoffDisposition string
Ref: #/components/schemas/HandoffDisposition
const ( HandoffDispositionContinuable HandoffDisposition = "continuable" HandoffDispositionBlocked HandoffDisposition = "blocked" HandoffDispositionComplete HandoffDisposition = "complete" )
func (HandoffDisposition) AllValues ¶
func (HandoffDisposition) AllValues() []HandoffDisposition
AllValues returns all HandoffDisposition values.
func (*HandoffDisposition) Decode ¶
func (s *HandoffDisposition) Decode(d *jx.Decoder) error
Decode decodes HandoffDisposition from json.
func (HandoffDisposition) Encode ¶
func (s HandoffDisposition) Encode(e *jx.Encoder)
Encode encodes HandoffDisposition as json.
func (HandoffDisposition) MarshalJSON ¶
func (s HandoffDisposition) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffDisposition) MarshalText ¶
func (s HandoffDisposition) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffDisposition) UnmarshalJSON ¶
func (s *HandoffDisposition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffDisposition) UnmarshalText ¶
func (s *HandoffDisposition) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffDisposition) Validate ¶
func (s HandoffDisposition) Validate() error
type HandoffDraft ¶
type HandoffDraft struct {
Objective string `json:"objective"`
State []HandoffStatement `json:"state"`
Disposition HandoffDisposition `json:"disposition"`
NextAction NilHandoffStatement `json:"next_action"`
Omissions []HandoffOmission `json:"omissions"`
}
Ref: #/components/schemas/HandoffDraft
func (*HandoffDraft) Decode ¶
func (s *HandoffDraft) Decode(d *jx.Decoder) error
Decode decodes HandoffDraft from json.
func (*HandoffDraft) Encode ¶
func (s *HandoffDraft) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffDraft) GetDisposition ¶
func (s *HandoffDraft) GetDisposition() HandoffDisposition
GetDisposition returns the value of Disposition.
func (*HandoffDraft) GetNextAction ¶
func (s *HandoffDraft) GetNextAction() NilHandoffStatement
GetNextAction returns the value of NextAction.
func (*HandoffDraft) GetObjective ¶
func (s *HandoffDraft) GetObjective() string
GetObjective returns the value of Objective.
func (*HandoffDraft) GetOmissions ¶
func (s *HandoffDraft) GetOmissions() []HandoffOmission
GetOmissions returns the value of Omissions.
func (*HandoffDraft) GetState ¶
func (s *HandoffDraft) GetState() []HandoffStatement
GetState returns the value of State.
func (*HandoffDraft) MarshalJSON ¶
func (s *HandoffDraft) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffDraft) SetDisposition ¶
func (s *HandoffDraft) SetDisposition(val HandoffDisposition)
SetDisposition sets the value of Disposition.
func (*HandoffDraft) SetNextAction ¶
func (s *HandoffDraft) SetNextAction(val NilHandoffStatement)
SetNextAction sets the value of NextAction.
func (*HandoffDraft) SetObjective ¶
func (s *HandoffDraft) SetObjective(val string)
SetObjective sets the value of Objective.
func (*HandoffDraft) SetOmissions ¶
func (s *HandoffDraft) SetOmissions(val []HandoffOmission)
SetOmissions sets the value of Omissions.
func (*HandoffDraft) SetState ¶
func (s *HandoffDraft) SetState(val []HandoffStatement)
SetState sets the value of State.
func (*HandoffDraft) UnmarshalJSON ¶
func (s *HandoffDraft) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffDraft) Validate ¶
func (s *HandoffDraft) Validate() error
type HandoffDraftHeaders ¶
type HandoffDraftHeaders struct {
XPowerContextRequestID OptString
Response HandoffDraft
}
HandoffDraftHeaders wraps HandoffDraft with response headers.
func (*HandoffDraftHeaders) GetResponse ¶
func (s *HandoffDraftHeaders) GetResponse() HandoffDraft
GetResponse returns the value of Response.
func (*HandoffDraftHeaders) GetXPowerContextRequestID ¶
func (s *HandoffDraftHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*HandoffDraftHeaders) SetResponse ¶
func (s *HandoffDraftHeaders) SetResponse(val HandoffDraft)
SetResponse sets the value of Response.
func (*HandoffDraftHeaders) SetXPowerContextRequestID ¶
func (s *HandoffDraftHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*HandoffDraftHeaders) Validate ¶
func (s *HandoffDraftHeaders) Validate() error
type HandoffEvidenceCheck ¶
type HandoffEvidenceCheck struct {
Claim HandoffClaim `json:"claim"`
StateIndex NilInt `json:"state_index"`
Status HandoffEvidenceStatus `json:"status"`
}
Ref: #/components/schemas/HandoffEvidenceCheck
func (*HandoffEvidenceCheck) Decode ¶
func (s *HandoffEvidenceCheck) Decode(d *jx.Decoder) error
Decode decodes HandoffEvidenceCheck from json.
func (*HandoffEvidenceCheck) Encode ¶
func (s *HandoffEvidenceCheck) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffEvidenceCheck) GetClaim ¶
func (s *HandoffEvidenceCheck) GetClaim() HandoffClaim
GetClaim returns the value of Claim.
func (*HandoffEvidenceCheck) GetStateIndex ¶
func (s *HandoffEvidenceCheck) GetStateIndex() NilInt
GetStateIndex returns the value of StateIndex.
func (*HandoffEvidenceCheck) GetStatus ¶
func (s *HandoffEvidenceCheck) GetStatus() HandoffEvidenceStatus
GetStatus returns the value of Status.
func (*HandoffEvidenceCheck) GetUnavailableEvidence ¶
func (s *HandoffEvidenceCheck) GetUnavailableEvidence() []HandoffCitation
GetUnavailableEvidence returns the value of UnavailableEvidence.
func (*HandoffEvidenceCheck) MarshalJSON ¶
func (s *HandoffEvidenceCheck) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffEvidenceCheck) SetClaim ¶
func (s *HandoffEvidenceCheck) SetClaim(val HandoffClaim)
SetClaim sets the value of Claim.
func (*HandoffEvidenceCheck) SetStateIndex ¶
func (s *HandoffEvidenceCheck) SetStateIndex(val NilInt)
SetStateIndex sets the value of StateIndex.
func (*HandoffEvidenceCheck) SetStatus ¶
func (s *HandoffEvidenceCheck) SetStatus(val HandoffEvidenceStatus)
SetStatus sets the value of Status.
func (*HandoffEvidenceCheck) SetUnavailableEvidence ¶
func (s *HandoffEvidenceCheck) SetUnavailableEvidence(val []HandoffCitation)
SetUnavailableEvidence sets the value of UnavailableEvidence.
func (*HandoffEvidenceCheck) UnmarshalJSON ¶
func (s *HandoffEvidenceCheck) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffEvidenceCheck) Validate ¶
func (s *HandoffEvidenceCheck) Validate() error
type HandoffEvidenceStatus ¶
type HandoffEvidenceStatus string
Ref: #/components/schemas/HandoffEvidenceStatus
const ( HandoffEvidenceStatusAvailable HandoffEvidenceStatus = "available" )
func (HandoffEvidenceStatus) AllValues ¶
func (HandoffEvidenceStatus) AllValues() []HandoffEvidenceStatus
AllValues returns all HandoffEvidenceStatus values.
func (*HandoffEvidenceStatus) Decode ¶
func (s *HandoffEvidenceStatus) Decode(d *jx.Decoder) error
Decode decodes HandoffEvidenceStatus from json.
func (HandoffEvidenceStatus) Encode ¶
func (s HandoffEvidenceStatus) Encode(e *jx.Encoder)
Encode encodes HandoffEvidenceStatus as json.
func (HandoffEvidenceStatus) MarshalJSON ¶
func (s HandoffEvidenceStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffEvidenceStatus) MarshalText ¶
func (s HandoffEvidenceStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffEvidenceStatus) UnmarshalJSON ¶
func (s *HandoffEvidenceStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffEvidenceStatus) UnmarshalText ¶
func (s *HandoffEvidenceStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffEvidenceStatus) Validate ¶
func (s HandoffEvidenceStatus) Validate() error
type HandoffMemoryCitation ¶
type HandoffMemoryCitation struct {
Kind HandoffMemoryCitationKind `json:"kind"`
MemoryCitation MemoryCitation `json:"memory_citation"`
}
Ref: #/components/schemas/HandoffMemoryCitation
func (*HandoffMemoryCitation) Decode ¶
func (s *HandoffMemoryCitation) Decode(d *jx.Decoder) error
Decode decodes HandoffMemoryCitation from json.
func (*HandoffMemoryCitation) Encode ¶
func (s *HandoffMemoryCitation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffMemoryCitation) GetKind ¶
func (s *HandoffMemoryCitation) GetKind() HandoffMemoryCitationKind
GetKind returns the value of Kind.
func (*HandoffMemoryCitation) GetMemoryCitation ¶
func (s *HandoffMemoryCitation) GetMemoryCitation() MemoryCitation
GetMemoryCitation returns the value of MemoryCitation.
func (*HandoffMemoryCitation) MarshalJSON ¶
func (s *HandoffMemoryCitation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffMemoryCitation) SetKind ¶
func (s *HandoffMemoryCitation) SetKind(val HandoffMemoryCitationKind)
SetKind sets the value of Kind.
func (*HandoffMemoryCitation) SetMemoryCitation ¶
func (s *HandoffMemoryCitation) SetMemoryCitation(val MemoryCitation)
SetMemoryCitation sets the value of MemoryCitation.
func (*HandoffMemoryCitation) UnmarshalJSON ¶
func (s *HandoffMemoryCitation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffMemoryCitation) Validate ¶
func (s *HandoffMemoryCitation) Validate() error
type HandoffMemoryCitationKind ¶
type HandoffMemoryCitationKind string
const (
HandoffMemoryCitationKindMemory HandoffMemoryCitationKind = "memory"
)
func (HandoffMemoryCitationKind) AllValues ¶
func (HandoffMemoryCitationKind) AllValues() []HandoffMemoryCitationKind
AllValues returns all HandoffMemoryCitationKind values.
func (*HandoffMemoryCitationKind) Decode ¶
func (s *HandoffMemoryCitationKind) Decode(d *jx.Decoder) error
Decode decodes HandoffMemoryCitationKind from json.
func (HandoffMemoryCitationKind) Encode ¶
func (s HandoffMemoryCitationKind) Encode(e *jx.Encoder)
Encode encodes HandoffMemoryCitationKind as json.
func (HandoffMemoryCitationKind) MarshalJSON ¶
func (s HandoffMemoryCitationKind) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffMemoryCitationKind) MarshalText ¶
func (s HandoffMemoryCitationKind) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffMemoryCitationKind) UnmarshalJSON ¶
func (s *HandoffMemoryCitationKind) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffMemoryCitationKind) UnmarshalText ¶
func (s *HandoffMemoryCitationKind) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffMemoryCitationKind) Validate ¶
func (s HandoffMemoryCitationKind) Validate() error
type HandoffOmission ¶
type HandoffOmission struct {
Text string `json:"text"`
Citation NilHandoffCitation `json:"citation"`
}
Ref: #/components/schemas/HandoffOmission
func (*HandoffOmission) Decode ¶
func (s *HandoffOmission) Decode(d *jx.Decoder) error
Decode decodes HandoffOmission from json.
func (*HandoffOmission) Encode ¶
func (s *HandoffOmission) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffOmission) GetCitation ¶
func (s *HandoffOmission) GetCitation() NilHandoffCitation
GetCitation returns the value of Citation.
func (*HandoffOmission) GetText ¶
func (s *HandoffOmission) GetText() string
GetText returns the value of Text.
func (*HandoffOmission) MarshalJSON ¶
func (s *HandoffOmission) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffOmission) SetCitation ¶
func (s *HandoffOmission) SetCitation(val NilHandoffCitation)
SetCitation sets the value of Citation.
func (*HandoffOmission) SetText ¶
func (s *HandoffOmission) SetText(val string)
SetText sets the value of Text.
func (*HandoffOmission) UnmarshalJSON ¶
func (s *HandoffOmission) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffOmission) Validate ¶
func (s *HandoffOmission) Validate() error
type HandoffReceiptStatus ¶
type HandoffReceiptStatus string
Ref: #/components/schemas/HandoffReceiptStatus
const ( HandoffReceiptStatusAccepted HandoffReceiptStatus = "accepted" HandoffReceiptStatusNeedsClarification HandoffReceiptStatus = "needs_clarification" HandoffReceiptStatusDeclined HandoffReceiptStatus = "declined" )
func (HandoffReceiptStatus) AllValues ¶
func (HandoffReceiptStatus) AllValues() []HandoffReceiptStatus
AllValues returns all HandoffReceiptStatus values.
func (*HandoffReceiptStatus) Decode ¶
func (s *HandoffReceiptStatus) Decode(d *jx.Decoder) error
Decode decodes HandoffReceiptStatus from json.
func (HandoffReceiptStatus) Encode ¶
func (s HandoffReceiptStatus) Encode(e *jx.Encoder)
Encode encodes HandoffReceiptStatus as json.
func (HandoffReceiptStatus) MarshalJSON ¶
func (s HandoffReceiptStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffReceiptStatus) MarshalText ¶
func (s HandoffReceiptStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffReceiptStatus) UnmarshalJSON ¶
func (s *HandoffReceiptStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffReceiptStatus) UnmarshalText ¶
func (s *HandoffReceiptStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffReceiptStatus) Validate ¶
func (s HandoffReceiptStatus) Validate() error
type HandoffReportActivity ¶
type HandoffReportActivity struct {
Schema HandoffReportActivitySchema `json:"schema"`
EventID string `json:"event_id"`
ProjectID string `json:"project_id"`
ScopeID NilString `json:"scope_id"`
Source ReportActivitySource `json:"source"`
SourceEventID string `json:"source_event_id"`
SourceRef NilHandoffReportExternalReference `json:"source_ref"`
OccurredAt NilDateTime `json:"occurred_at"`
ObservedAt time.Time `json:"observed_at"`
TimeBasis ReportTimeBasis `json:"time_basis"`
Title NilString `json:"title"`
Summary NilString `json:"summary"`
Agent NilHandoffReportActivityAgent `json:"agent"`
SessionID NilString `json:"session_id"`
VcsContext NilHandoffReportActivityVcsContext `json:"vcs_context"`
EvidenceRefs []HandoffReportExternalReference `json:"evidence_refs"`
Trust HandoffReportActivityTrust `json:"trust"`
}
Ref: #/components/schemas/HandoffReportActivity
func (*HandoffReportActivity) Decode ¶
func (s *HandoffReportActivity) Decode(d *jx.Decoder) error
Decode decodes HandoffReportActivity from json.
func (*HandoffReportActivity) Encode ¶
func (s *HandoffReportActivity) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffReportActivity) GetAgent ¶
func (s *HandoffReportActivity) GetAgent() NilHandoffReportActivityAgent
GetAgent returns the value of Agent.
func (*HandoffReportActivity) GetEventID ¶
func (s *HandoffReportActivity) GetEventID() string
GetEventID returns the value of EventID.
func (*HandoffReportActivity) GetEvidenceRefs ¶
func (s *HandoffReportActivity) GetEvidenceRefs() []HandoffReportExternalReference
GetEvidenceRefs returns the value of EvidenceRefs.
func (*HandoffReportActivity) GetObservedAt ¶
func (s *HandoffReportActivity) GetObservedAt() time.Time
GetObservedAt returns the value of ObservedAt.
func (*HandoffReportActivity) GetOccurredAt ¶
func (s *HandoffReportActivity) GetOccurredAt() NilDateTime
GetOccurredAt returns the value of OccurredAt.
func (*HandoffReportActivity) GetProjectID ¶
func (s *HandoffReportActivity) GetProjectID() string
GetProjectID returns the value of ProjectID.
func (*HandoffReportActivity) GetSchema ¶
func (s *HandoffReportActivity) GetSchema() HandoffReportActivitySchema
GetSchema returns the value of Schema.
func (*HandoffReportActivity) GetScopeID ¶
func (s *HandoffReportActivity) GetScopeID() NilString
GetScopeID returns the value of ScopeID.
func (*HandoffReportActivity) GetSessionID ¶
func (s *HandoffReportActivity) GetSessionID() NilString
GetSessionID returns the value of SessionID.
func (*HandoffReportActivity) GetSource ¶
func (s *HandoffReportActivity) GetSource() ReportActivitySource
GetSource returns the value of Source.
func (*HandoffReportActivity) GetSourceEventID ¶
func (s *HandoffReportActivity) GetSourceEventID() string
GetSourceEventID returns the value of SourceEventID.
func (*HandoffReportActivity) GetSourceRef ¶
func (s *HandoffReportActivity) GetSourceRef() NilHandoffReportExternalReference
GetSourceRef returns the value of SourceRef.
func (*HandoffReportActivity) GetSummary ¶
func (s *HandoffReportActivity) GetSummary() NilString
GetSummary returns the value of Summary.
func (*HandoffReportActivity) GetTimeBasis ¶
func (s *HandoffReportActivity) GetTimeBasis() ReportTimeBasis
GetTimeBasis returns the value of TimeBasis.
func (*HandoffReportActivity) GetTitle ¶
func (s *HandoffReportActivity) GetTitle() NilString
GetTitle returns the value of Title.
func (*HandoffReportActivity) GetTrust ¶
func (s *HandoffReportActivity) GetTrust() HandoffReportActivityTrust
GetTrust returns the value of Trust.
func (*HandoffReportActivity) GetVcsContext ¶
func (s *HandoffReportActivity) GetVcsContext() NilHandoffReportActivityVcsContext
GetVcsContext returns the value of VcsContext.
func (*HandoffReportActivity) MarshalJSON ¶
func (s *HandoffReportActivity) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffReportActivity) SetAgent ¶
func (s *HandoffReportActivity) SetAgent(val NilHandoffReportActivityAgent)
SetAgent sets the value of Agent.
func (*HandoffReportActivity) SetEventID ¶
func (s *HandoffReportActivity) SetEventID(val string)
SetEventID sets the value of EventID.
func (*HandoffReportActivity) SetEvidenceRefs ¶
func (s *HandoffReportActivity) SetEvidenceRefs(val []HandoffReportExternalReference)
SetEvidenceRefs sets the value of EvidenceRefs.
func (*HandoffReportActivity) SetObservedAt ¶
func (s *HandoffReportActivity) SetObservedAt(val time.Time)
SetObservedAt sets the value of ObservedAt.
func (*HandoffReportActivity) SetOccurredAt ¶
func (s *HandoffReportActivity) SetOccurredAt(val NilDateTime)
SetOccurredAt sets the value of OccurredAt.
func (*HandoffReportActivity) SetProjectID ¶
func (s *HandoffReportActivity) SetProjectID(val string)
SetProjectID sets the value of ProjectID.
func (*HandoffReportActivity) SetSchema ¶
func (s *HandoffReportActivity) SetSchema(val HandoffReportActivitySchema)
SetSchema sets the value of Schema.
func (*HandoffReportActivity) SetScopeID ¶
func (s *HandoffReportActivity) SetScopeID(val NilString)
SetScopeID sets the value of ScopeID.
func (*HandoffReportActivity) SetSessionID ¶
func (s *HandoffReportActivity) SetSessionID(val NilString)
SetSessionID sets the value of SessionID.
func (*HandoffReportActivity) SetSource ¶
func (s *HandoffReportActivity) SetSource(val ReportActivitySource)
SetSource sets the value of Source.
func (*HandoffReportActivity) SetSourceEventID ¶
func (s *HandoffReportActivity) SetSourceEventID(val string)
SetSourceEventID sets the value of SourceEventID.
func (*HandoffReportActivity) SetSourceRef ¶
func (s *HandoffReportActivity) SetSourceRef(val NilHandoffReportExternalReference)
SetSourceRef sets the value of SourceRef.
func (*HandoffReportActivity) SetSummary ¶
func (s *HandoffReportActivity) SetSummary(val NilString)
SetSummary sets the value of Summary.
func (*HandoffReportActivity) SetTimeBasis ¶
func (s *HandoffReportActivity) SetTimeBasis(val ReportTimeBasis)
SetTimeBasis sets the value of TimeBasis.
func (*HandoffReportActivity) SetTitle ¶
func (s *HandoffReportActivity) SetTitle(val NilString)
SetTitle sets the value of Title.
func (*HandoffReportActivity) SetTrust ¶
func (s *HandoffReportActivity) SetTrust(val HandoffReportActivityTrust)
SetTrust sets the value of Trust.
func (*HandoffReportActivity) SetVcsContext ¶
func (s *HandoffReportActivity) SetVcsContext(val NilHandoffReportActivityVcsContext)
SetVcsContext sets the value of VcsContext.
func (*HandoffReportActivity) UnmarshalJSON ¶
func (s *HandoffReportActivity) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffReportActivity) Validate ¶
func (s *HandoffReportActivity) Validate() error
type HandoffReportActivityAgent ¶
type HandoffReportActivityAgent struct {
Provider OptNilString `json:"provider"`
Label OptNilString `json:"label"`
}
Ref: #/components/schemas/HandoffReportActivityAgent
func (*HandoffReportActivityAgent) Decode ¶
func (s *HandoffReportActivityAgent) Decode(d *jx.Decoder) error
Decode decodes HandoffReportActivityAgent from json.
func (*HandoffReportActivityAgent) Encode ¶
func (s *HandoffReportActivityAgent) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffReportActivityAgent) GetLabel ¶
func (s *HandoffReportActivityAgent) GetLabel() OptNilString
GetLabel returns the value of Label.
func (*HandoffReportActivityAgent) GetProvider ¶
func (s *HandoffReportActivityAgent) GetProvider() OptNilString
GetProvider returns the value of Provider.
func (*HandoffReportActivityAgent) MarshalJSON ¶
func (s *HandoffReportActivityAgent) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffReportActivityAgent) SetLabel ¶
func (s *HandoffReportActivityAgent) SetLabel(val OptNilString)
SetLabel sets the value of Label.
func (*HandoffReportActivityAgent) SetProvider ¶
func (s *HandoffReportActivityAgent) SetProvider(val OptNilString)
SetProvider sets the value of Provider.
func (*HandoffReportActivityAgent) UnmarshalJSON ¶
func (s *HandoffReportActivityAgent) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffReportActivityAgent) Validate ¶
func (s *HandoffReportActivityAgent) Validate() error
type HandoffReportActivityPage ¶
type HandoffReportActivityPage struct {
Items []HandoffReportActivity `json:"items"`
NextCursor NilInt `json:"next_cursor"`
HighWatermark int `json:"high_watermark"`
}
Ref: #/components/schemas/HandoffReportActivityPage
func (*HandoffReportActivityPage) Decode ¶
func (s *HandoffReportActivityPage) Decode(d *jx.Decoder) error
Decode decodes HandoffReportActivityPage from json.
func (*HandoffReportActivityPage) Encode ¶
func (s *HandoffReportActivityPage) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffReportActivityPage) GetHighWatermark ¶
func (s *HandoffReportActivityPage) GetHighWatermark() int
GetHighWatermark returns the value of HighWatermark.
func (*HandoffReportActivityPage) GetItems ¶
func (s *HandoffReportActivityPage) GetItems() []HandoffReportActivity
GetItems returns the value of Items.
func (*HandoffReportActivityPage) GetNextCursor ¶
func (s *HandoffReportActivityPage) GetNextCursor() NilInt
GetNextCursor returns the value of NextCursor.
func (*HandoffReportActivityPage) MarshalJSON ¶
func (s *HandoffReportActivityPage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffReportActivityPage) SetHighWatermark ¶
func (s *HandoffReportActivityPage) SetHighWatermark(val int)
SetHighWatermark sets the value of HighWatermark.
func (*HandoffReportActivityPage) SetItems ¶
func (s *HandoffReportActivityPage) SetItems(val []HandoffReportActivity)
SetItems sets the value of Items.
func (*HandoffReportActivityPage) SetNextCursor ¶
func (s *HandoffReportActivityPage) SetNextCursor(val NilInt)
SetNextCursor sets the value of NextCursor.
func (*HandoffReportActivityPage) UnmarshalJSON ¶
func (s *HandoffReportActivityPage) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffReportActivityPage) Validate ¶
func (s *HandoffReportActivityPage) Validate() error
type HandoffReportActivityPageHeaders ¶
type HandoffReportActivityPageHeaders struct {
XPowerContextRequestID OptString
Response HandoffReportActivityPage
}
HandoffReportActivityPageHeaders wraps HandoffReportActivityPage with response headers.
func (*HandoffReportActivityPageHeaders) GetResponse ¶
func (s *HandoffReportActivityPageHeaders) GetResponse() HandoffReportActivityPage
GetResponse returns the value of Response.
func (*HandoffReportActivityPageHeaders) GetXPowerContextRequestID ¶
func (s *HandoffReportActivityPageHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*HandoffReportActivityPageHeaders) SetResponse ¶
func (s *HandoffReportActivityPageHeaders) SetResponse(val HandoffReportActivityPage)
SetResponse sets the value of Response.
func (*HandoffReportActivityPageHeaders) SetXPowerContextRequestID ¶
func (s *HandoffReportActivityPageHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*HandoffReportActivityPageHeaders) Validate ¶
func (s *HandoffReportActivityPageHeaders) Validate() error
type HandoffReportActivitySchema ¶
type HandoffReportActivitySchema string
const (
HandoffReportActivitySchemaPowercontextHandoffReportActivityV1 HandoffReportActivitySchema = "powercontext.handoff-report-activity.v1"
)
func (HandoffReportActivitySchema) AllValues ¶
func (HandoffReportActivitySchema) AllValues() []HandoffReportActivitySchema
AllValues returns all HandoffReportActivitySchema values.
func (*HandoffReportActivitySchema) Decode ¶
func (s *HandoffReportActivitySchema) Decode(d *jx.Decoder) error
Decode decodes HandoffReportActivitySchema from json.
func (HandoffReportActivitySchema) Encode ¶
func (s HandoffReportActivitySchema) Encode(e *jx.Encoder)
Encode encodes HandoffReportActivitySchema as json.
func (HandoffReportActivitySchema) MarshalJSON ¶
func (s HandoffReportActivitySchema) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffReportActivitySchema) MarshalText ¶
func (s HandoffReportActivitySchema) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffReportActivitySchema) UnmarshalJSON ¶
func (s *HandoffReportActivitySchema) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffReportActivitySchema) UnmarshalText ¶
func (s *HandoffReportActivitySchema) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffReportActivitySchema) Validate ¶
func (s HandoffReportActivitySchema) Validate() error
type HandoffReportActivityTrust ¶
type HandoffReportActivityTrust string
const (
HandoffReportActivityTrustUntrustedObservation HandoffReportActivityTrust = "untrusted_observation"
)
func (HandoffReportActivityTrust) AllValues ¶
func (HandoffReportActivityTrust) AllValues() []HandoffReportActivityTrust
AllValues returns all HandoffReportActivityTrust values.
func (*HandoffReportActivityTrust) Decode ¶
func (s *HandoffReportActivityTrust) Decode(d *jx.Decoder) error
Decode decodes HandoffReportActivityTrust from json.
func (HandoffReportActivityTrust) Encode ¶
func (s HandoffReportActivityTrust) Encode(e *jx.Encoder)
Encode encodes HandoffReportActivityTrust as json.
func (HandoffReportActivityTrust) MarshalJSON ¶
func (s HandoffReportActivityTrust) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffReportActivityTrust) MarshalText ¶
func (s HandoffReportActivityTrust) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffReportActivityTrust) UnmarshalJSON ¶
func (s *HandoffReportActivityTrust) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffReportActivityTrust) UnmarshalText ¶
func (s *HandoffReportActivityTrust) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffReportActivityTrust) Validate ¶
func (s HandoffReportActivityTrust) Validate() error
type HandoffReportActivityVcsContext ¶
type HandoffReportActivityVcsContext struct {
Branch OptNilString `json:"branch"`
HeadRevision OptNilString `json:"head_revision"`
}
Ref: #/components/schemas/HandoffReportActivityVcsContext
func (*HandoffReportActivityVcsContext) Decode ¶
func (s *HandoffReportActivityVcsContext) Decode(d *jx.Decoder) error
Decode decodes HandoffReportActivityVcsContext from json.
func (*HandoffReportActivityVcsContext) Encode ¶
func (s *HandoffReportActivityVcsContext) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffReportActivityVcsContext) GetBranch ¶
func (s *HandoffReportActivityVcsContext) GetBranch() OptNilString
GetBranch returns the value of Branch.
func (*HandoffReportActivityVcsContext) GetHeadRevision ¶
func (s *HandoffReportActivityVcsContext) GetHeadRevision() OptNilString
GetHeadRevision returns the value of HeadRevision.
func (*HandoffReportActivityVcsContext) MarshalJSON ¶
func (s *HandoffReportActivityVcsContext) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffReportActivityVcsContext) SetBranch ¶
func (s *HandoffReportActivityVcsContext) SetBranch(val OptNilString)
SetBranch sets the value of Branch.
func (*HandoffReportActivityVcsContext) SetHeadRevision ¶
func (s *HandoffReportActivityVcsContext) SetHeadRevision(val OptNilString)
SetHeadRevision sets the value of HeadRevision.
func (*HandoffReportActivityVcsContext) UnmarshalJSON ¶
func (s *HandoffReportActivityVcsContext) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffReportActivityVcsContext) Validate ¶
func (s *HandoffReportActivityVcsContext) Validate() error
type HandoffReportExternalReference ¶
type HandoffReportExternalReference struct {
Kind HandoffReportExternalReferenceKind `json:"kind"`
Provider string `json:"provider"`
ExternalID string `json:"external_id"`
URL NilString `json:"url"`
}
Ref: #/components/schemas/HandoffReportExternalReference
func (*HandoffReportExternalReference) Decode ¶
func (s *HandoffReportExternalReference) Decode(d *jx.Decoder) error
Decode decodes HandoffReportExternalReference from json.
func (*HandoffReportExternalReference) Encode ¶
func (s *HandoffReportExternalReference) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffReportExternalReference) GetExternalID ¶
func (s *HandoffReportExternalReference) GetExternalID() string
GetExternalID returns the value of ExternalID.
func (*HandoffReportExternalReference) GetKind ¶
func (s *HandoffReportExternalReference) GetKind() HandoffReportExternalReferenceKind
GetKind returns the value of Kind.
func (*HandoffReportExternalReference) GetProvider ¶
func (s *HandoffReportExternalReference) GetProvider() string
GetProvider returns the value of Provider.
func (*HandoffReportExternalReference) GetURL ¶
func (s *HandoffReportExternalReference) GetURL() NilString
GetURL returns the value of URL.
func (*HandoffReportExternalReference) MarshalJSON ¶
func (s *HandoffReportExternalReference) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffReportExternalReference) SetExternalID ¶
func (s *HandoffReportExternalReference) SetExternalID(val string)
SetExternalID sets the value of ExternalID.
func (*HandoffReportExternalReference) SetKind ¶
func (s *HandoffReportExternalReference) SetKind(val HandoffReportExternalReferenceKind)
SetKind sets the value of Kind.
func (*HandoffReportExternalReference) SetProvider ¶
func (s *HandoffReportExternalReference) SetProvider(val string)
SetProvider sets the value of Provider.
func (*HandoffReportExternalReference) SetURL ¶
func (s *HandoffReportExternalReference) SetURL(val NilString)
SetURL sets the value of URL.
func (*HandoffReportExternalReference) UnmarshalJSON ¶
func (s *HandoffReportExternalReference) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffReportExternalReference) Validate ¶
func (s *HandoffReportExternalReference) Validate() error
type HandoffReportExternalReferenceKind ¶
type HandoffReportExternalReferenceKind string
const ( HandoffReportExternalReferenceKindIssue HandoffReportExternalReferenceKind = "issue" HandoffReportExternalReferenceKindTask HandoffReportExternalReferenceKind = "task" HandoffReportExternalReferenceKindPullRequest HandoffReportExternalReferenceKind = "pull_request" HandoffReportExternalReferenceKindBranch HandoffReportExternalReferenceKind = "branch" HandoffReportExternalReferenceKindFeature HandoffReportExternalReferenceKind = "feature" HandoffReportExternalReferenceKindRelease HandoffReportExternalReferenceKind = "release" HandoffReportExternalReferenceKindProgram HandoffReportExternalReferenceKind = "program" HandoffReportExternalReferenceKindOther HandoffReportExternalReferenceKind = "other" )
func (HandoffReportExternalReferenceKind) AllValues ¶
func (HandoffReportExternalReferenceKind) AllValues() []HandoffReportExternalReferenceKind
AllValues returns all HandoffReportExternalReferenceKind values.
func (*HandoffReportExternalReferenceKind) Decode ¶
func (s *HandoffReportExternalReferenceKind) Decode(d *jx.Decoder) error
Decode decodes HandoffReportExternalReferenceKind from json.
func (HandoffReportExternalReferenceKind) Encode ¶
func (s HandoffReportExternalReferenceKind) Encode(e *jx.Encoder)
Encode encodes HandoffReportExternalReferenceKind as json.
func (HandoffReportExternalReferenceKind) MarshalJSON ¶
func (s HandoffReportExternalReferenceKind) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffReportExternalReferenceKind) MarshalText ¶
func (s HandoffReportExternalReferenceKind) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffReportExternalReferenceKind) UnmarshalJSON ¶
func (s *HandoffReportExternalReferenceKind) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffReportExternalReferenceKind) UnmarshalText ¶
func (s *HandoffReportExternalReferenceKind) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffReportExternalReferenceKind) Validate ¶
func (s HandoffReportExternalReferenceKind) Validate() error
type HandoffReportPeriodRequest ¶
type HandoffReportPeriodRequest struct {
Start time.Time `json:"start"`
End time.Time `json:"end"`
Timezone OptNilString `json:"timezone"`
CompareToPreviousPeriod OptBool `json:"compare_to_previous_period"`
}
Ref: #/components/schemas/HandoffReportPeriodRequest
func (*HandoffReportPeriodRequest) Decode ¶
func (s *HandoffReportPeriodRequest) Decode(d *jx.Decoder) error
Decode decodes HandoffReportPeriodRequest from json.
func (*HandoffReportPeriodRequest) Encode ¶
func (s *HandoffReportPeriodRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffReportPeriodRequest) GetCompareToPreviousPeriod ¶
func (s *HandoffReportPeriodRequest) GetCompareToPreviousPeriod() OptBool
GetCompareToPreviousPeriod returns the value of CompareToPreviousPeriod.
func (*HandoffReportPeriodRequest) GetEnd ¶
func (s *HandoffReportPeriodRequest) GetEnd() time.Time
GetEnd returns the value of End.
func (*HandoffReportPeriodRequest) GetStart ¶
func (s *HandoffReportPeriodRequest) GetStart() time.Time
GetStart returns the value of Start.
func (*HandoffReportPeriodRequest) GetTimezone ¶
func (s *HandoffReportPeriodRequest) GetTimezone() OptNilString
GetTimezone returns the value of Timezone.
func (*HandoffReportPeriodRequest) MarshalJSON ¶
func (s *HandoffReportPeriodRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffReportPeriodRequest) SetCompareToPreviousPeriod ¶
func (s *HandoffReportPeriodRequest) SetCompareToPreviousPeriod(val OptBool)
SetCompareToPreviousPeriod sets the value of CompareToPreviousPeriod.
func (*HandoffReportPeriodRequest) SetEnd ¶
func (s *HandoffReportPeriodRequest) SetEnd(val time.Time)
SetEnd sets the value of End.
func (*HandoffReportPeriodRequest) SetStart ¶
func (s *HandoffReportPeriodRequest) SetStart(val time.Time)
SetStart sets the value of Start.
func (*HandoffReportPeriodRequest) SetTimezone ¶
func (s *HandoffReportPeriodRequest) SetTimezone(val OptNilString)
SetTimezone sets the value of Timezone.
func (*HandoffReportPeriodRequest) UnmarshalJSON ¶
func (s *HandoffReportPeriodRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffReportPeriodRequest) Validate ¶
func (s *HandoffReportPeriodRequest) Validate() error
type HandoffReportRepositoryRef ¶
type HandoffReportRepositoryRef struct {
Provider HandoffReportRepositoryRefProvider `json:"provider"`
RepositoryID NilString `json:"repository_id"`
NormalizedRemote NilString `json:"normalized_remote"`
Subpath NilString `json:"subpath"`
}
Ref: #/components/schemas/HandoffReportRepositoryRef
func (*HandoffReportRepositoryRef) Decode ¶
func (s *HandoffReportRepositoryRef) Decode(d *jx.Decoder) error
Decode decodes HandoffReportRepositoryRef from json.
func (*HandoffReportRepositoryRef) Encode ¶
func (s *HandoffReportRepositoryRef) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffReportRepositoryRef) GetNormalizedRemote ¶
func (s *HandoffReportRepositoryRef) GetNormalizedRemote() NilString
GetNormalizedRemote returns the value of NormalizedRemote.
func (*HandoffReportRepositoryRef) GetProvider ¶
func (s *HandoffReportRepositoryRef) GetProvider() HandoffReportRepositoryRefProvider
GetProvider returns the value of Provider.
func (*HandoffReportRepositoryRef) GetRepositoryID ¶
func (s *HandoffReportRepositoryRef) GetRepositoryID() NilString
GetRepositoryID returns the value of RepositoryID.
func (*HandoffReportRepositoryRef) GetSubpath ¶
func (s *HandoffReportRepositoryRef) GetSubpath() NilString
GetSubpath returns the value of Subpath.
func (*HandoffReportRepositoryRef) MarshalJSON ¶
func (s *HandoffReportRepositoryRef) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffReportRepositoryRef) SetNormalizedRemote ¶
func (s *HandoffReportRepositoryRef) SetNormalizedRemote(val NilString)
SetNormalizedRemote sets the value of NormalizedRemote.
func (*HandoffReportRepositoryRef) SetProvider ¶
func (s *HandoffReportRepositoryRef) SetProvider(val HandoffReportRepositoryRefProvider)
SetProvider sets the value of Provider.
func (*HandoffReportRepositoryRef) SetRepositoryID ¶
func (s *HandoffReportRepositoryRef) SetRepositoryID(val NilString)
SetRepositoryID sets the value of RepositoryID.
func (*HandoffReportRepositoryRef) SetSubpath ¶
func (s *HandoffReportRepositoryRef) SetSubpath(val NilString)
SetSubpath sets the value of Subpath.
func (*HandoffReportRepositoryRef) UnmarshalJSON ¶
func (s *HandoffReportRepositoryRef) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffReportRepositoryRef) Validate ¶
func (s *HandoffReportRepositoryRef) Validate() error
type HandoffReportRepositoryRefProvider ¶
type HandoffReportRepositoryRefProvider string
const ( HandoffReportRepositoryRefProviderGithub HandoffReportRepositoryRefProvider = "github" HandoffReportRepositoryRefProviderGitlab HandoffReportRepositoryRefProvider = "gitlab" HandoffReportRepositoryRefProviderLocal HandoffReportRepositoryRefProvider = "local" HandoffReportRepositoryRefProviderOther HandoffReportRepositoryRefProvider = "other" )
func (HandoffReportRepositoryRefProvider) AllValues ¶
func (HandoffReportRepositoryRefProvider) AllValues() []HandoffReportRepositoryRefProvider
AllValues returns all HandoffReportRepositoryRefProvider values.
func (*HandoffReportRepositoryRefProvider) Decode ¶
func (s *HandoffReportRepositoryRefProvider) Decode(d *jx.Decoder) error
Decode decodes HandoffReportRepositoryRefProvider from json.
func (HandoffReportRepositoryRefProvider) Encode ¶
func (s HandoffReportRepositoryRefProvider) Encode(e *jx.Encoder)
Encode encodes HandoffReportRepositoryRefProvider as json.
func (HandoffReportRepositoryRefProvider) MarshalJSON ¶
func (s HandoffReportRepositoryRefProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffReportRepositoryRefProvider) MarshalText ¶
func (s HandoffReportRepositoryRefProvider) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffReportRepositoryRefProvider) UnmarshalJSON ¶
func (s *HandoffReportRepositoryRefProvider) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffReportRepositoryRefProvider) UnmarshalText ¶
func (s *HandoffReportRepositoryRefProvider) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffReportRepositoryRefProvider) Validate ¶
func (s HandoffReportRepositoryRefProvider) Validate() error
type HandoffReportResponse ¶
type HandoffReportResponse struct {
Format ReportFormat `json:"format"`
Report NilHandoffReportResponseReport `json:"report"`
Markdown NilString `json:"markdown"`
SelectionDigest string `json:"selection_digest"`
ReportDigest string `json:"report_digest"`
}
Ref: #/components/schemas/HandoffReportResponse
func (*HandoffReportResponse) Decode ¶
func (s *HandoffReportResponse) Decode(d *jx.Decoder) error
Decode decodes HandoffReportResponse from json.
func (*HandoffReportResponse) Encode ¶
func (s *HandoffReportResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffReportResponse) GetFormat ¶
func (s *HandoffReportResponse) GetFormat() ReportFormat
GetFormat returns the value of Format.
func (*HandoffReportResponse) GetMarkdown ¶
func (s *HandoffReportResponse) GetMarkdown() NilString
GetMarkdown returns the value of Markdown.
func (*HandoffReportResponse) GetReport ¶
func (s *HandoffReportResponse) GetReport() NilHandoffReportResponseReport
GetReport returns the value of Report.
func (*HandoffReportResponse) GetReportDigest ¶
func (s *HandoffReportResponse) GetReportDigest() string
GetReportDigest returns the value of ReportDigest.
func (*HandoffReportResponse) GetSelectionDigest ¶
func (s *HandoffReportResponse) GetSelectionDigest() string
GetSelectionDigest returns the value of SelectionDigest.
func (*HandoffReportResponse) MarshalJSON ¶
func (s *HandoffReportResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffReportResponse) SetFormat ¶
func (s *HandoffReportResponse) SetFormat(val ReportFormat)
SetFormat sets the value of Format.
func (*HandoffReportResponse) SetMarkdown ¶
func (s *HandoffReportResponse) SetMarkdown(val NilString)
SetMarkdown sets the value of Markdown.
func (*HandoffReportResponse) SetReport ¶
func (s *HandoffReportResponse) SetReport(val NilHandoffReportResponseReport)
SetReport sets the value of Report.
func (*HandoffReportResponse) SetReportDigest ¶
func (s *HandoffReportResponse) SetReportDigest(val string)
SetReportDigest sets the value of ReportDigest.
func (*HandoffReportResponse) SetSelectionDigest ¶
func (s *HandoffReportResponse) SetSelectionDigest(val string)
SetSelectionDigest sets the value of SelectionDigest.
func (*HandoffReportResponse) UnmarshalJSON ¶
func (s *HandoffReportResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffReportResponse) Validate ¶
func (s *HandoffReportResponse) Validate() error
type HandoffReportResponseHeaders ¶
type HandoffReportResponseHeaders struct {
CacheControl OptGetHandoffReportOKCacheControl
ContentDisposition OptString
XPowerContextReportDigest OptString
XPowerContextRequestID OptString
XPowerContextSelectionDigest OptString
Response HandoffReportResponse
}
HandoffReportResponseHeaders wraps HandoffReportResponse with response headers.
func (*HandoffReportResponseHeaders) GetCacheControl ¶
func (s *HandoffReportResponseHeaders) GetCacheControl() OptGetHandoffReportOKCacheControl
GetCacheControl returns the value of CacheControl.
func (*HandoffReportResponseHeaders) GetContentDisposition ¶
func (s *HandoffReportResponseHeaders) GetContentDisposition() OptString
GetContentDisposition returns the value of ContentDisposition.
func (*HandoffReportResponseHeaders) GetResponse ¶
func (s *HandoffReportResponseHeaders) GetResponse() HandoffReportResponse
GetResponse returns the value of Response.
func (*HandoffReportResponseHeaders) GetXPowerContextReportDigest ¶
func (s *HandoffReportResponseHeaders) GetXPowerContextReportDigest() OptString
GetXPowerContextReportDigest returns the value of XPowerContextReportDigest.
func (*HandoffReportResponseHeaders) GetXPowerContextRequestID ¶
func (s *HandoffReportResponseHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*HandoffReportResponseHeaders) GetXPowerContextSelectionDigest ¶
func (s *HandoffReportResponseHeaders) GetXPowerContextSelectionDigest() OptString
GetXPowerContextSelectionDigest returns the value of XPowerContextSelectionDigest.
func (*HandoffReportResponseHeaders) SetCacheControl ¶
func (s *HandoffReportResponseHeaders) SetCacheControl(val OptGetHandoffReportOKCacheControl)
SetCacheControl sets the value of CacheControl.
func (*HandoffReportResponseHeaders) SetContentDisposition ¶
func (s *HandoffReportResponseHeaders) SetContentDisposition(val OptString)
SetContentDisposition sets the value of ContentDisposition.
func (*HandoffReportResponseHeaders) SetResponse ¶
func (s *HandoffReportResponseHeaders) SetResponse(val HandoffReportResponse)
SetResponse sets the value of Response.
func (*HandoffReportResponseHeaders) SetXPowerContextReportDigest ¶
func (s *HandoffReportResponseHeaders) SetXPowerContextReportDigest(val OptString)
SetXPowerContextReportDigest sets the value of XPowerContextReportDigest.
func (*HandoffReportResponseHeaders) SetXPowerContextRequestID ¶
func (s *HandoffReportResponseHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*HandoffReportResponseHeaders) SetXPowerContextSelectionDigest ¶
func (s *HandoffReportResponseHeaders) SetXPowerContextSelectionDigest(val OptString)
SetXPowerContextSelectionDigest sets the value of XPowerContextSelectionDigest.
func (*HandoffReportResponseHeaders) Validate ¶
func (s *HandoffReportResponseHeaders) Validate() error
type HandoffReportResponseReport ¶
func (*HandoffReportResponseReport) Decode ¶
func (s *HandoffReportResponseReport) Decode(d *jx.Decoder) error
Decode decodes HandoffReportResponseReport from json.
func (HandoffReportResponseReport) Encode ¶
func (s HandoffReportResponseReport) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (HandoffReportResponseReport) MarshalJSON ¶
func (s HandoffReportResponseReport) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffReportResponseReport) UnmarshalJSON ¶
func (s *HandoffReportResponseReport) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type HandoffReportWorkspaceBinding ¶
type HandoffReportWorkspaceBinding struct {
Schema HandoffReportWorkspaceBindingSchema `json:"schema"`
WorkspaceInstanceID string `json:"workspace_instance_id"`
ProjectID string `json:"project_id"`
RepositoryRef HandoffReportRepositoryRef `json:"repository_ref"`
State HandoffReportWorkspaceBindingState `json:"state"`
ConfirmedAt time.Time `json:"confirmed_at"`
Version int `json:"version"`
}
Ref: #/components/schemas/HandoffReportWorkspaceBinding
func (*HandoffReportWorkspaceBinding) Decode ¶
func (s *HandoffReportWorkspaceBinding) Decode(d *jx.Decoder) error
Decode decodes HandoffReportWorkspaceBinding from json.
func (*HandoffReportWorkspaceBinding) Encode ¶
func (s *HandoffReportWorkspaceBinding) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffReportWorkspaceBinding) GetConfirmedAt ¶
func (s *HandoffReportWorkspaceBinding) GetConfirmedAt() time.Time
GetConfirmedAt returns the value of ConfirmedAt.
func (*HandoffReportWorkspaceBinding) GetProjectID ¶
func (s *HandoffReportWorkspaceBinding) GetProjectID() string
GetProjectID returns the value of ProjectID.
func (*HandoffReportWorkspaceBinding) GetRepositoryRef ¶
func (s *HandoffReportWorkspaceBinding) GetRepositoryRef() HandoffReportRepositoryRef
GetRepositoryRef returns the value of RepositoryRef.
func (*HandoffReportWorkspaceBinding) GetSchema ¶
func (s *HandoffReportWorkspaceBinding) GetSchema() HandoffReportWorkspaceBindingSchema
GetSchema returns the value of Schema.
func (*HandoffReportWorkspaceBinding) GetState ¶
func (s *HandoffReportWorkspaceBinding) GetState() HandoffReportWorkspaceBindingState
GetState returns the value of State.
func (*HandoffReportWorkspaceBinding) GetVersion ¶
func (s *HandoffReportWorkspaceBinding) GetVersion() int
GetVersion returns the value of Version.
func (*HandoffReportWorkspaceBinding) GetWorkspaceInstanceID ¶
func (s *HandoffReportWorkspaceBinding) GetWorkspaceInstanceID() string
GetWorkspaceInstanceID returns the value of WorkspaceInstanceID.
func (*HandoffReportWorkspaceBinding) MarshalJSON ¶
func (s *HandoffReportWorkspaceBinding) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffReportWorkspaceBinding) SetConfirmedAt ¶
func (s *HandoffReportWorkspaceBinding) SetConfirmedAt(val time.Time)
SetConfirmedAt sets the value of ConfirmedAt.
func (*HandoffReportWorkspaceBinding) SetProjectID ¶
func (s *HandoffReportWorkspaceBinding) SetProjectID(val string)
SetProjectID sets the value of ProjectID.
func (*HandoffReportWorkspaceBinding) SetRepositoryRef ¶
func (s *HandoffReportWorkspaceBinding) SetRepositoryRef(val HandoffReportRepositoryRef)
SetRepositoryRef sets the value of RepositoryRef.
func (*HandoffReportWorkspaceBinding) SetSchema ¶
func (s *HandoffReportWorkspaceBinding) SetSchema(val HandoffReportWorkspaceBindingSchema)
SetSchema sets the value of Schema.
func (*HandoffReportWorkspaceBinding) SetState ¶
func (s *HandoffReportWorkspaceBinding) SetState(val HandoffReportWorkspaceBindingState)
SetState sets the value of State.
func (*HandoffReportWorkspaceBinding) SetVersion ¶
func (s *HandoffReportWorkspaceBinding) SetVersion(val int)
SetVersion sets the value of Version.
func (*HandoffReportWorkspaceBinding) SetWorkspaceInstanceID ¶
func (s *HandoffReportWorkspaceBinding) SetWorkspaceInstanceID(val string)
SetWorkspaceInstanceID sets the value of WorkspaceInstanceID.
func (*HandoffReportWorkspaceBinding) UnmarshalJSON ¶
func (s *HandoffReportWorkspaceBinding) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffReportWorkspaceBinding) Validate ¶
func (s *HandoffReportWorkspaceBinding) Validate() error
type HandoffReportWorkspaceBindingHeaders ¶
type HandoffReportWorkspaceBindingHeaders struct {
XPowerContextRequestID OptString
Response HandoffReportWorkspaceBinding
}
HandoffReportWorkspaceBindingHeaders wraps HandoffReportWorkspaceBinding with response headers.
func (*HandoffReportWorkspaceBindingHeaders) GetResponse ¶
func (s *HandoffReportWorkspaceBindingHeaders) GetResponse() HandoffReportWorkspaceBinding
GetResponse returns the value of Response.
func (*HandoffReportWorkspaceBindingHeaders) GetXPowerContextRequestID ¶
func (s *HandoffReportWorkspaceBindingHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*HandoffReportWorkspaceBindingHeaders) SetResponse ¶
func (s *HandoffReportWorkspaceBindingHeaders) SetResponse(val HandoffReportWorkspaceBinding)
SetResponse sets the value of Response.
func (*HandoffReportWorkspaceBindingHeaders) SetXPowerContextRequestID ¶
func (s *HandoffReportWorkspaceBindingHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*HandoffReportWorkspaceBindingHeaders) Validate ¶
func (s *HandoffReportWorkspaceBindingHeaders) Validate() error
type HandoffReportWorkspaceBindingSchema ¶
type HandoffReportWorkspaceBindingSchema string
const (
HandoffReportWorkspaceBindingSchemaPowercontextWorkspaceBindingV1 HandoffReportWorkspaceBindingSchema = "powercontext.workspace-binding.v1"
)
func (HandoffReportWorkspaceBindingSchema) AllValues ¶
func (HandoffReportWorkspaceBindingSchema) AllValues() []HandoffReportWorkspaceBindingSchema
AllValues returns all HandoffReportWorkspaceBindingSchema values.
func (*HandoffReportWorkspaceBindingSchema) Decode ¶
func (s *HandoffReportWorkspaceBindingSchema) Decode(d *jx.Decoder) error
Decode decodes HandoffReportWorkspaceBindingSchema from json.
func (HandoffReportWorkspaceBindingSchema) Encode ¶
func (s HandoffReportWorkspaceBindingSchema) Encode(e *jx.Encoder)
Encode encodes HandoffReportWorkspaceBindingSchema as json.
func (HandoffReportWorkspaceBindingSchema) MarshalJSON ¶
func (s HandoffReportWorkspaceBindingSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffReportWorkspaceBindingSchema) MarshalText ¶
func (s HandoffReportWorkspaceBindingSchema) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffReportWorkspaceBindingSchema) UnmarshalJSON ¶
func (s *HandoffReportWorkspaceBindingSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffReportWorkspaceBindingSchema) UnmarshalText ¶
func (s *HandoffReportWorkspaceBindingSchema) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffReportWorkspaceBindingSchema) Validate ¶
func (s HandoffReportWorkspaceBindingSchema) Validate() error
type HandoffReportWorkspaceBindingState ¶
type HandoffReportWorkspaceBindingState string
const ( HandoffReportWorkspaceBindingStateConfirmed HandoffReportWorkspaceBindingState = "confirmed" HandoffReportWorkspaceBindingStateDetached HandoffReportWorkspaceBindingState = "detached" )
func (HandoffReportWorkspaceBindingState) AllValues ¶
func (HandoffReportWorkspaceBindingState) AllValues() []HandoffReportWorkspaceBindingState
AllValues returns all HandoffReportWorkspaceBindingState values.
func (*HandoffReportWorkspaceBindingState) Decode ¶
func (s *HandoffReportWorkspaceBindingState) Decode(d *jx.Decoder) error
Decode decodes HandoffReportWorkspaceBindingState from json.
func (HandoffReportWorkspaceBindingState) Encode ¶
func (s HandoffReportWorkspaceBindingState) Encode(e *jx.Encoder)
Encode encodes HandoffReportWorkspaceBindingState as json.
func (HandoffReportWorkspaceBindingState) MarshalJSON ¶
func (s HandoffReportWorkspaceBindingState) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffReportWorkspaceBindingState) MarshalText ¶
func (s HandoffReportWorkspaceBindingState) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffReportWorkspaceBindingState) UnmarshalJSON ¶
func (s *HandoffReportWorkspaceBindingState) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffReportWorkspaceBindingState) UnmarshalText ¶
func (s *HandoffReportWorkspaceBindingState) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffReportWorkspaceBindingState) Validate ¶
func (s HandoffReportWorkspaceBindingState) Validate() error
type HandoffResolution ¶
type HandoffResolution struct {
Trust HandoffResolutionTrust `json:"trust"`
Status HandoffResolutionStatus `json:"status"`
ScopeID string `json:"scope_id"`
Content NilHandoffContent `json:"content"`
Selection NilHandoffSelection `json:"selection"`
SelectedRevision NilArtifactReference `json:"selected_revision"`
CurrentRevision NilArtifactReference `json:"current_revision"`
EvidenceChecks []HandoffEvidenceCheck `json:"evidence_checks"`
}
Ref: #/components/schemas/HandoffResolution
func (*HandoffResolution) Decode ¶
func (s *HandoffResolution) Decode(d *jx.Decoder) error
Decode decodes HandoffResolution from json.
func (*HandoffResolution) Encode ¶
func (s *HandoffResolution) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffResolution) GetContent ¶
func (s *HandoffResolution) GetContent() NilHandoffContent
GetContent returns the value of Content.
func (*HandoffResolution) GetCurrentRevision ¶
func (s *HandoffResolution) GetCurrentRevision() NilArtifactReference
GetCurrentRevision returns the value of CurrentRevision.
func (*HandoffResolution) GetEvidenceChecks ¶
func (s *HandoffResolution) GetEvidenceChecks() []HandoffEvidenceCheck
GetEvidenceChecks returns the value of EvidenceChecks.
func (*HandoffResolution) GetScopeID ¶
func (s *HandoffResolution) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*HandoffResolution) GetSelectedRevision ¶
func (s *HandoffResolution) GetSelectedRevision() NilArtifactReference
GetSelectedRevision returns the value of SelectedRevision.
func (*HandoffResolution) GetSelection ¶
func (s *HandoffResolution) GetSelection() NilHandoffSelection
GetSelection returns the value of Selection.
func (*HandoffResolution) GetStatus ¶
func (s *HandoffResolution) GetStatus() HandoffResolutionStatus
GetStatus returns the value of Status.
func (*HandoffResolution) GetTrust ¶
func (s *HandoffResolution) GetTrust() HandoffResolutionTrust
GetTrust returns the value of Trust.
func (*HandoffResolution) MarshalJSON ¶
func (s *HandoffResolution) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffResolution) SetContent ¶
func (s *HandoffResolution) SetContent(val NilHandoffContent)
SetContent sets the value of Content.
func (*HandoffResolution) SetCurrentRevision ¶
func (s *HandoffResolution) SetCurrentRevision(val NilArtifactReference)
SetCurrentRevision sets the value of CurrentRevision.
func (*HandoffResolution) SetEvidenceChecks ¶
func (s *HandoffResolution) SetEvidenceChecks(val []HandoffEvidenceCheck)
SetEvidenceChecks sets the value of EvidenceChecks.
func (*HandoffResolution) SetScopeID ¶
func (s *HandoffResolution) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*HandoffResolution) SetSelectedRevision ¶
func (s *HandoffResolution) SetSelectedRevision(val NilArtifactReference)
SetSelectedRevision sets the value of SelectedRevision.
func (*HandoffResolution) SetSelection ¶
func (s *HandoffResolution) SetSelection(val NilHandoffSelection)
SetSelection sets the value of Selection.
func (*HandoffResolution) SetStatus ¶
func (s *HandoffResolution) SetStatus(val HandoffResolutionStatus)
SetStatus sets the value of Status.
func (*HandoffResolution) SetTrust ¶
func (s *HandoffResolution) SetTrust(val HandoffResolutionTrust)
SetTrust sets the value of Trust.
func (*HandoffResolution) UnmarshalJSON ¶
func (s *HandoffResolution) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffResolution) Validate ¶
func (s *HandoffResolution) Validate() error
type HandoffResolutionHeaders ¶
type HandoffResolutionHeaders struct {
XPowerContextRequestID OptString
Response HandoffResolution
}
HandoffResolutionHeaders wraps HandoffResolution with response headers.
func (*HandoffResolutionHeaders) GetResponse ¶
func (s *HandoffResolutionHeaders) GetResponse() HandoffResolution
GetResponse returns the value of Response.
func (*HandoffResolutionHeaders) GetXPowerContextRequestID ¶
func (s *HandoffResolutionHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*HandoffResolutionHeaders) SetResponse ¶
func (s *HandoffResolutionHeaders) SetResponse(val HandoffResolution)
SetResponse sets the value of Response.
func (*HandoffResolutionHeaders) SetXPowerContextRequestID ¶
func (s *HandoffResolutionHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*HandoffResolutionHeaders) Validate ¶
func (s *HandoffResolutionHeaders) Validate() error
type HandoffResolutionStatus ¶
type HandoffResolutionStatus string
Ref: #/components/schemas/HandoffResolutionStatus
const ( HandoffResolutionStatusEmpty HandoffResolutionStatus = "empty" HandoffResolutionStatusResolved HandoffResolutionStatus = "resolved" )
func (HandoffResolutionStatus) AllValues ¶
func (HandoffResolutionStatus) AllValues() []HandoffResolutionStatus
AllValues returns all HandoffResolutionStatus values.
func (*HandoffResolutionStatus) Decode ¶
func (s *HandoffResolutionStatus) Decode(d *jx.Decoder) error
Decode decodes HandoffResolutionStatus from json.
func (HandoffResolutionStatus) Encode ¶
func (s HandoffResolutionStatus) Encode(e *jx.Encoder)
Encode encodes HandoffResolutionStatus as json.
func (HandoffResolutionStatus) MarshalJSON ¶
func (s HandoffResolutionStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffResolutionStatus) MarshalText ¶
func (s HandoffResolutionStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffResolutionStatus) UnmarshalJSON ¶
func (s *HandoffResolutionStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffResolutionStatus) UnmarshalText ¶
func (s *HandoffResolutionStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffResolutionStatus) Validate ¶
func (s HandoffResolutionStatus) Validate() error
type HandoffResolutionTrust ¶
type HandoffResolutionTrust string
const (
HandoffResolutionTrustUntrustedHistory HandoffResolutionTrust = "untrusted_history"
)
func (HandoffResolutionTrust) AllValues ¶
func (HandoffResolutionTrust) AllValues() []HandoffResolutionTrust
AllValues returns all HandoffResolutionTrust values.
func (*HandoffResolutionTrust) Decode ¶
func (s *HandoffResolutionTrust) Decode(d *jx.Decoder) error
Decode decodes HandoffResolutionTrust from json.
func (HandoffResolutionTrust) Encode ¶
func (s HandoffResolutionTrust) Encode(e *jx.Encoder)
Encode encodes HandoffResolutionTrust as json.
func (HandoffResolutionTrust) MarshalJSON ¶
func (s HandoffResolutionTrust) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffResolutionTrust) MarshalText ¶
func (s HandoffResolutionTrust) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffResolutionTrust) UnmarshalJSON ¶
func (s *HandoffResolutionTrust) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffResolutionTrust) UnmarshalText ¶
func (s *HandoffResolutionTrust) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffResolutionTrust) Validate ¶
func (s HandoffResolutionTrust) Validate() error
type HandoffSchema ¶
type HandoffSchema string
Ref: #/components/schemas/HandoffSchema
const (
HandoffSchemaPowercontextHandoffV1 HandoffSchema = "powercontext.handoff.v1"
)
func (HandoffSchema) AllValues ¶
func (HandoffSchema) AllValues() []HandoffSchema
AllValues returns all HandoffSchema values.
func (*HandoffSchema) Decode ¶
func (s *HandoffSchema) Decode(d *jx.Decoder) error
Decode decodes HandoffSchema from json.
func (HandoffSchema) Encode ¶
func (s HandoffSchema) Encode(e *jx.Encoder)
Encode encodes HandoffSchema as json.
func (HandoffSchema) MarshalJSON ¶
func (s HandoffSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffSchema) MarshalText ¶
func (s HandoffSchema) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffSchema) UnmarshalJSON ¶
func (s *HandoffSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffSchema) UnmarshalText ¶
func (s *HandoffSchema) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffSchema) Validate ¶
func (s HandoffSchema) Validate() error
type HandoffSelection ¶
type HandoffSelection string
Ref: #/components/schemas/HandoffSelection
const ( HandoffSelectionPrepared HandoffSelection = "prepared" HandoffSelectionExact HandoffSelection = "exact" HandoffSelectionLatest HandoffSelection = "latest" )
func (HandoffSelection) AllValues ¶
func (HandoffSelection) AllValues() []HandoffSelection
AllValues returns all HandoffSelection values.
func (*HandoffSelection) Decode ¶
func (s *HandoffSelection) Decode(d *jx.Decoder) error
Decode decodes HandoffSelection from json.
func (HandoffSelection) Encode ¶
func (s HandoffSelection) Encode(e *jx.Encoder)
Encode encodes HandoffSelection as json.
func (HandoffSelection) MarshalJSON ¶
func (s HandoffSelection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffSelection) MarshalText ¶
func (s HandoffSelection) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffSelection) UnmarshalJSON ¶
func (s *HandoffSelection) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffSelection) UnmarshalText ¶
func (s *HandoffSelection) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffSelection) Validate ¶
func (s HandoffSelection) Validate() error
type HandoffSourceCitation ¶
type HandoffSourceCitation struct {
Kind HandoffSourceCitationKind `json:"kind"`
SourceRef SourceReference `json:"source_ref"`
}
Ref: #/components/schemas/HandoffSourceCitation
func (*HandoffSourceCitation) Decode ¶
func (s *HandoffSourceCitation) Decode(d *jx.Decoder) error
Decode decodes HandoffSourceCitation from json.
func (*HandoffSourceCitation) Encode ¶
func (s *HandoffSourceCitation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffSourceCitation) GetKind ¶
func (s *HandoffSourceCitation) GetKind() HandoffSourceCitationKind
GetKind returns the value of Kind.
func (*HandoffSourceCitation) GetSourceRef ¶
func (s *HandoffSourceCitation) GetSourceRef() SourceReference
GetSourceRef returns the value of SourceRef.
func (*HandoffSourceCitation) MarshalJSON ¶
func (s *HandoffSourceCitation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffSourceCitation) SetKind ¶
func (s *HandoffSourceCitation) SetKind(val HandoffSourceCitationKind)
SetKind sets the value of Kind.
func (*HandoffSourceCitation) SetSourceRef ¶
func (s *HandoffSourceCitation) SetSourceRef(val SourceReference)
SetSourceRef sets the value of SourceRef.
func (*HandoffSourceCitation) UnmarshalJSON ¶
func (s *HandoffSourceCitation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffSourceCitation) Validate ¶
func (s *HandoffSourceCitation) Validate() error
type HandoffSourceCitationKind ¶
type HandoffSourceCitationKind string
const (
HandoffSourceCitationKindSource HandoffSourceCitationKind = "source"
)
func (HandoffSourceCitationKind) AllValues ¶
func (HandoffSourceCitationKind) AllValues() []HandoffSourceCitationKind
AllValues returns all HandoffSourceCitationKind values.
func (*HandoffSourceCitationKind) Decode ¶
func (s *HandoffSourceCitationKind) Decode(d *jx.Decoder) error
Decode decodes HandoffSourceCitationKind from json.
func (HandoffSourceCitationKind) Encode ¶
func (s HandoffSourceCitationKind) Encode(e *jx.Encoder)
Encode encodes HandoffSourceCitationKind as json.
func (HandoffSourceCitationKind) MarshalJSON ¶
func (s HandoffSourceCitationKind) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HandoffSourceCitationKind) MarshalText ¶
func (s HandoffSourceCitationKind) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HandoffSourceCitationKind) UnmarshalJSON ¶
func (s *HandoffSourceCitationKind) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffSourceCitationKind) UnmarshalText ¶
func (s *HandoffSourceCitationKind) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HandoffSourceCitationKind) Validate ¶
func (s HandoffSourceCitationKind) Validate() error
type HandoffStatement ¶
type HandoffStatement struct {
Text string `json:"text"`
Citations []HandoffCitation `json:"citations"`
}
Ref: #/components/schemas/HandoffStatement
func (*HandoffStatement) Decode ¶
func (s *HandoffStatement) Decode(d *jx.Decoder) error
Decode decodes HandoffStatement from json.
func (*HandoffStatement) Encode ¶
func (s *HandoffStatement) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffStatement) GetCitations ¶
func (s *HandoffStatement) GetCitations() []HandoffCitation
GetCitations returns the value of Citations.
func (*HandoffStatement) GetText ¶
func (s *HandoffStatement) GetText() string
GetText returns the value of Text.
func (*HandoffStatement) MarshalJSON ¶
func (s *HandoffStatement) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffStatement) SetCitations ¶
func (s *HandoffStatement) SetCitations(val []HandoffCitation)
SetCitations sets the value of Citations.
func (*HandoffStatement) SetText ¶
func (s *HandoffStatement) SetText(val string)
SetText sets the value of Text.
func (*HandoffStatement) UnmarshalJSON ¶
func (s *HandoffStatement) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HandoffStatement) Validate ¶
func (s *HandoffStatement) Validate() error
type HealthResponse ¶
type HealthResponse struct {
Status string `json:"status"`
}
Ref: #/components/schemas/HealthResponse
func (*HealthResponse) Decode ¶
func (s *HealthResponse) Decode(d *jx.Decoder) error
Decode decodes HealthResponse from json.
func (*HealthResponse) Encode ¶
func (s *HealthResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HealthResponse) GetStatus ¶
func (s *HealthResponse) GetStatus() string
GetStatus returns the value of Status.
func (*HealthResponse) MarshalJSON ¶
func (s *HealthResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HealthResponse) SetStatus ¶
func (s *HealthResponse) SetStatus(val string)
SetStatus sets the value of Status.
func (*HealthResponse) UnmarshalJSON ¶
func (s *HealthResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type HealthResponseHeaders ¶
type HealthResponseHeaders struct {
XPowerContextRequestID OptString
Response HealthResponse
}
HealthResponseHeaders wraps HealthResponse with response headers.
func (*HealthResponseHeaders) GetResponse ¶
func (s *HealthResponseHeaders) GetResponse() HealthResponse
GetResponse returns the value of Response.
func (*HealthResponseHeaders) GetXPowerContextRequestID ¶
func (s *HealthResponseHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*HealthResponseHeaders) SetResponse ¶
func (s *HealthResponseHeaders) SetResponse(val HealthResponse)
SetResponse sets the value of Response.
func (*HealthResponseHeaders) SetXPowerContextRequestID ¶
func (s *HealthResponseHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
type ImportExternalSkillRequest ¶
type ImportExternalSkillRequest struct {
ScopeID string `json:"scope_id"`
ExternalSkillID string `json:"external_skill_id"`
// Exact package fingerprint captured into Source lineage.
Fingerprint string `json:"fingerprint"`
Mode ExternalSkillImportMode `json:"mode"`
Reason OptNilString `json:"reason"`
}
Ref: #/components/schemas/ImportExternalSkillRequest
func (*ImportExternalSkillRequest) Decode ¶
func (s *ImportExternalSkillRequest) Decode(d *jx.Decoder) error
Decode decodes ImportExternalSkillRequest from json.
func (*ImportExternalSkillRequest) Encode ¶
func (s *ImportExternalSkillRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ImportExternalSkillRequest) GetExternalSkillID ¶
func (s *ImportExternalSkillRequest) GetExternalSkillID() string
GetExternalSkillID returns the value of ExternalSkillID.
func (*ImportExternalSkillRequest) GetFingerprint ¶
func (s *ImportExternalSkillRequest) GetFingerprint() string
GetFingerprint returns the value of Fingerprint.
func (*ImportExternalSkillRequest) GetMode ¶
func (s *ImportExternalSkillRequest) GetMode() ExternalSkillImportMode
GetMode returns the value of Mode.
func (*ImportExternalSkillRequest) GetReason ¶
func (s *ImportExternalSkillRequest) GetReason() OptNilString
GetReason returns the value of Reason.
func (*ImportExternalSkillRequest) GetScopeID ¶
func (s *ImportExternalSkillRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*ImportExternalSkillRequest) MarshalJSON ¶
func (s *ImportExternalSkillRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ImportExternalSkillRequest) SetExternalSkillID ¶
func (s *ImportExternalSkillRequest) SetExternalSkillID(val string)
SetExternalSkillID sets the value of ExternalSkillID.
func (*ImportExternalSkillRequest) SetFingerprint ¶
func (s *ImportExternalSkillRequest) SetFingerprint(val string)
SetFingerprint sets the value of Fingerprint.
func (*ImportExternalSkillRequest) SetMode ¶
func (s *ImportExternalSkillRequest) SetMode(val ExternalSkillImportMode)
SetMode sets the value of Mode.
func (*ImportExternalSkillRequest) SetReason ¶
func (s *ImportExternalSkillRequest) SetReason(val OptNilString)
SetReason sets the value of Reason.
func (*ImportExternalSkillRequest) SetScopeID ¶
func (s *ImportExternalSkillRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*ImportExternalSkillRequest) UnmarshalJSON ¶
func (s *ImportExternalSkillRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ImportExternalSkillRequest) Validate ¶
func (s *ImportExternalSkillRequest) Validate() error
type ImportExternalSkillRes ¶
type ImportExternalSkillRes interface {
// contains filtered or unexported methods
}
type InternalErrorHeaders ¶
type InternalErrorHeaders struct {
XPowerContextRequestID OptString
Response ErrorResponse
}
InternalErrorHeaders wraps ErrorResponse with response headers.
func (*InternalErrorHeaders) GetResponse ¶
func (s *InternalErrorHeaders) GetResponse() ErrorResponse
GetResponse returns the value of Response.
func (*InternalErrorHeaders) GetXPowerContextRequestID ¶
func (s *InternalErrorHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*InternalErrorHeaders) SetResponse ¶
func (s *InternalErrorHeaders) SetResponse(val ErrorResponse)
SetResponse sets the value of Response.
func (*InternalErrorHeaders) SetXPowerContextRequestID ¶
func (s *InternalErrorHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
type InvalidRequestHeaders ¶
type InvalidRequestHeaders struct {
XPowerContextRequestID OptString
Response ErrorResponse
}
InvalidRequestHeaders wraps ErrorResponse with response headers.
func (*InvalidRequestHeaders) GetResponse ¶
func (s *InvalidRequestHeaders) GetResponse() ErrorResponse
GetResponse returns the value of Response.
func (*InvalidRequestHeaders) GetXPowerContextRequestID ¶
func (s *InvalidRequestHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*InvalidRequestHeaders) SetResponse ¶
func (s *InvalidRequestHeaders) SetResponse(val ErrorResponse)
SetResponse sets the value of Response.
func (*InvalidRequestHeaders) SetXPowerContextRequestID ¶
func (s *InvalidRequestHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
type InventoryStatistics ¶
type InventoryStatistics struct {
Sources SourceInventoryStatistics `json:"sources"`
Artifacts ArtifactInventoryStatistics `json:"artifacts"`
Candidates CandidateInventoryStatistics `json:"candidates"`
Memory MemoryInventoryStatistics `json:"memory"`
}
Ref: #/components/schemas/InventoryStatistics
func (*InventoryStatistics) Decode ¶
func (s *InventoryStatistics) Decode(d *jx.Decoder) error
Decode decodes InventoryStatistics from json.
func (*InventoryStatistics) Encode ¶
func (s *InventoryStatistics) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*InventoryStatistics) GetArtifacts ¶
func (s *InventoryStatistics) GetArtifacts() ArtifactInventoryStatistics
GetArtifacts returns the value of Artifacts.
func (*InventoryStatistics) GetCandidates ¶
func (s *InventoryStatistics) GetCandidates() CandidateInventoryStatistics
GetCandidates returns the value of Candidates.
func (*InventoryStatistics) GetMemory ¶
func (s *InventoryStatistics) GetMemory() MemoryInventoryStatistics
GetMemory returns the value of Memory.
func (*InventoryStatistics) GetSources ¶
func (s *InventoryStatistics) GetSources() SourceInventoryStatistics
GetSources returns the value of Sources.
func (*InventoryStatistics) MarshalJSON ¶
func (s *InventoryStatistics) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*InventoryStatistics) SetArtifacts ¶
func (s *InventoryStatistics) SetArtifacts(val ArtifactInventoryStatistics)
SetArtifacts sets the value of Artifacts.
func (*InventoryStatistics) SetCandidates ¶
func (s *InventoryStatistics) SetCandidates(val CandidateInventoryStatistics)
SetCandidates sets the value of Candidates.
func (*InventoryStatistics) SetMemory ¶
func (s *InventoryStatistics) SetMemory(val MemoryInventoryStatistics)
SetMemory sets the value of Memory.
func (*InventoryStatistics) SetSources ¶
func (s *InventoryStatistics) SetSources(val SourceInventoryStatistics)
SetSources sets the value of Sources.
func (*InventoryStatistics) UnmarshalJSON ¶
func (s *InventoryStatistics) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*InventoryStatistics) Validate ¶
func (s *InventoryStatistics) Validate() error
type Invoker ¶
type Invoker interface {
// AcknowledgeHandoff invokes acknowledge_handoff operation.
//
// Re-resolve one prepared or exact Handoff, check evidence, and capture the receiver's explicit
// live-state, capability, and authorization checks.
//
// POST /v1/work/handoffs/acknowledge
AcknowledgeHandoff(ctx context.Context, request *AcknowledgeHandoffRequest) (AcknowledgeHandoffRes, error)
// ActivateHandoff invokes activate_handoff operation.
//
// Evaluate the standard Handoff Trigger and synchronously execute any emitted PrepareHandoff Action.
//
// POST /v1/handoff/activate
ActivateHandoff(ctx context.Context, request *ActivateHandoffRequest) (ActivateHandoffRes, error)
// ApproveArtifactCandidate invokes approve_artifact_candidate operation.
//
// Commit the reviewed proposal and mark the Candidate approved in one transaction.
//
// POST /v1/artifact-candidates/approve
ApproveArtifactCandidate(ctx context.Context, request *ApproveArtifactCandidateRequest) (ApproveArtifactCandidateRes, error)
// AttachHandoffReportWorkspace invokes attach_handoff_report_workspace operation.
//
// Attach a Handoff Report Workspace Binding.
//
// POST /v1/handoff-reports/workspace-bindings/attach
AttachHandoffReportWorkspace(ctx context.Context, request *AttachHandoffReportWorkspaceRequest) (AttachHandoffReportWorkspaceRes, error)
// CaptureContentSource invokes capture_content_source operation.
//
// Accept raw content as an idempotent Source without synchronously deriving Artifacts.
//
// POST /v1/sources/content
CaptureContentSource(ctx context.Context, request *CaptureContentSourceRequest) (CaptureContentSourceRes, error)
// CommitHandoff invokes commit_handoff operation.
//
// Commit an explicit Handoff milestone.
//
// POST /v1/handoff/commit
CommitHandoff(ctx context.Context, request *CommitHandoffRequest) (CommitHandoffRes, error)
// ContinueHandoff invokes continue_handoff operation.
//
// Resolve a Handoff as untrusted historical input.
//
// POST /v1/handoff/continue
ContinueHandoff(ctx context.Context, request *ContinueHandoffRequest) (ContinueHandoffRes, error)
// CreateHandoffReportProject invokes create_handoff_report_project operation.
//
// Create a Handoff Report Project.
//
// POST /v1/handoff-reports/projects/create
CreateHandoffReportProject(ctx context.Context, request *CreateHandoffReportProjectRequest) (CreateHandoffReportProjectRes, error)
// CreateWorkContract invokes create_work_contract operation.
//
// Persist an inspectable delegation baseline without granting execution authority.
//
// POST /v1/work/contracts/create
CreateWorkContract(ctx context.Context, request *CreateWorkContractRequest) (CreateWorkContractRes, error)
// DetachHandoffReportWorkspace invokes detach_handoff_report_workspace operation.
//
// Detach a Handoff Report Workspace Binding.
//
// POST /v1/handoff-reports/workspace-bindings/detach
DetachHandoffReportWorkspace(ctx context.Context, request *DetachHandoffReportWorkspaceRequest) (DetachHandoffReportWorkspaceRes, error)
// FinalizeHandoff invokes finalize_handoff operation.
//
// Finalize an inspected Handoff Draft.
//
// POST /v1/handoff/finalize
FinalizeHandoff(ctx context.Context, request *FinalizeHandoffRequest) (FinalizeHandoffRes, error)
// FlushMemory invokes flush_memory operation.
//
// Run one bounded Source-to-Memory activation for operational control and testing.
//
// POST /v1/memory/flush
FlushMemory(ctx context.Context, request *FlushMemoryRequest) (FlushMemoryRes, error)
// GenerateExperience invokes generate_experience operation.
//
// Use the configured model and caller-selected exact evidence; persist only a schema-valid pending
// Candidate.
//
// POST /v1/experience/generate
GenerateExperience(ctx context.Context, request *GenerateExperienceRequest) (GenerateExperienceRes, error)
// GenerateSkill invokes generate_skill operation.
//
// Use the configured model with an explicit provenance shape; persist only a schema-valid pending
// Candidate.
//
// POST /v1/skill/generate
GenerateSkill(ctx context.Context, request *GenerateSkillRequest) (GenerateSkillRes, error)
// GetArtifactCandidate invokes get_artifact_candidate operation.
//
// Read the current head and exact immutable proposal version.
//
// POST /v1/artifact-candidates/get
GetArtifactCandidate(ctx context.Context, request *GetArtifactCandidateRequest) (GetArtifactCandidateRes, error)
// GetCapabilities invokes get_capabilities operation.
//
// Get runtime capabilities.
//
// GET /v1/capabilities
GetCapabilities(ctx context.Context) (GetCapabilitiesRes, error)
// GetExperience invokes get_experience operation.
//
// Read approved Experience content and its exact direct evidence.
//
// POST /v1/experience/get
GetExperience(ctx context.Context, request *GetExperienceRequest) (GetExperienceRes, error)
// GetHandoffReport invokes get_handoff_report operation.
//
// Generate a Handoff Report.
//
// POST /v1/handoff-reports/get
GetHandoffReport(ctx context.Context, request *GetHandoffReportRequest) (GetHandoffReportRes, error)
// GetHandoffReportProject invokes get_handoff_report_project operation.
//
// Get a Handoff Report Project.
//
// POST /v1/handoff-reports/projects/get
GetHandoffReportProject(ctx context.Context, request *GetHandoffReportProjectRequest) (GetHandoffReportProjectRes, error)
// GetHandoffReportWorkspace invokes get_handoff_report_workspace operation.
//
// Get a Handoff Report Workspace Binding.
//
// POST /v1/handoff-reports/workspace-bindings/get
GetHandoffReportWorkspace(ctx context.Context, request *GetHandoffReportWorkspaceRequest) (GetHandoffReportWorkspaceRes, error)
// GetLiveness invokes get_liveness operation.
//
// Get process liveness.
//
// GET /health/live
GetLiveness(ctx context.Context) (*HealthResponseHeaders, error)
// GetMemoryEntry invokes get_memory_entry operation.
//
// Resolve an immutable entry citation within one Memory Revision.
//
// POST /v1/memory/entries/get
GetMemoryEntry(ctx context.Context, request *GetMemoryEntryRequest) (GetMemoryEntryRes, error)
// GetReadiness invokes get_readiness operation.
//
// Get deployment readiness.
//
// GET /health/ready
GetReadiness(ctx context.Context) (GetReadinessRes, error)
// GetSkill invokes get_skill operation.
//
// Read approved managed Skill content and its exact direct evidence.
//
// POST /v1/skill/get
GetSkill(ctx context.Context, request *GetSkillRequest) (GetSkillRes, error)
// GetStats invokes get_stats operation.
//
// Get scoped product statistics.
//
// GET /v1/stats
GetStats(ctx context.Context, params GetStatsParams) (GetStatsRes, error)
// HandoffCurrentWork invokes handoff_current_work operation.
//
// Capture an inspected boundary and prepare a temporary evidence-bearing Handoff without committing
// it.
//
// POST /v1/work/handoffs/prepare-current
HandoffCurrentWork(ctx context.Context, request *HandoffCurrentWorkRequest) (HandoffCurrentWorkRes, error)
// ImportExternalSkill invokes import_external_skill operation.
//
// Capture one exact local snapshot and use the configured model to propose a new managed Skill
// Candidate.
//
// POST /v1/external-skills/import
ImportExternalSkill(ctx context.Context, request *ImportExternalSkillRequest) (ImportExternalSkillRes, error)
// ListArtifactCandidates invokes list_artifact_candidates operation.
//
// Page current Candidate heads; pending is the default Review Inbox view.
//
// POST /v1/artifact-candidates/list
ListArtifactCandidates(ctx context.Context, request *ListArtifactCandidatesRequest) (ListArtifactCandidatesRes, error)
// ListExternalSkills invokes list_external_skills operation.
//
// Return live local resolutions; unavailable registrations are omitted unless explicitly requested.
//
// POST /v1/external-skills/list
ListExternalSkills(ctx context.Context, request *ListExternalSkillsRequest) (ListExternalSkillsRes, error)
// ListHandoffReportActivities invokes list_handoff_report_activities operation.
//
// List Handoff Report Activities.
//
// POST /v1/handoff-reports/activities/list
ListHandoffReportActivities(ctx context.Context, request *ListHandoffReportActivitiesRequest) (ListHandoffReportActivitiesRes, error)
// ListHandoffReportKnownScopes invokes list_handoff_report_known_scopes operation.
//
// List scopes that contain a committed Handoff.
//
// POST /v1/handoff-reports/scopes/list-known
ListHandoffReportKnownScopes(ctx context.Context, request *ListHandoffReportKnownScopesRequest) (ListHandoffReportKnownScopesRes, error)
// ListHandoffReportProjects invokes list_handoff_report_projects operation.
//
// List Handoff Report Projects.
//
// POST /v1/handoff-reports/projects/list
ListHandoffReportProjects(ctx context.Context, request *ListHandoffReportProjectsRequest) (ListHandoffReportProjectsRes, error)
// ListHandoffReportWorkstreams invokes list_handoff_report_workstreams operation.
//
// List Handoff Report Workstreams.
//
// POST /v1/handoff-reports/workstreams/list
ListHandoffReportWorkstreams(ctx context.Context, request *ListHandoffReportWorkstreamsRequest) (ListHandoffReportWorkstreamsRes, error)
// ListMemoryChanges invokes list_memory_changes operation.
//
// Read compact entry changes without expanding entry bodies.
//
// POST /v1/memory/changes
ListMemoryChanges(ctx context.Context, request *ListMemoryChangesRequest) (ListMemoryChangesRes, error)
// ListMemoryEntries invokes list_memory_entries operation.
//
// Read active entries from the current Memory head. Inactive entries are available only when
// explicitly requested for audit.
//
// POST /v1/memory/entries/list
ListMemoryEntries(ctx context.Context, request *ListMemoryEntriesRequest) (ListMemoryEntriesRes, error)
// PrepareContext invokes prepare_context operation.
//
// Prepare final, ephemeral context from Runtime-owned sources without persisting or injecting it.
//
// POST /v1/context/prepare
PrepareContext(ctx context.Context, request *PrepareContextRequest) (PrepareContextRes, error)
// PrepareHandoff invokes prepare_handoff operation.
//
// Generate an inspectable Handoff Draft.
//
// POST /v1/handoff/prepare
PrepareHandoff(ctx context.Context, request *PrepareHandoffRequest) (PrepareHandoffRes, error)
// ProposeExperience invokes propose_experience operation.
//
// Persist a pending Experience Candidate without creating an Artifact Revision.
//
// POST /v1/experience/propose
ProposeExperience(ctx context.Context, request *ProposeExperienceRequest) (ProposeExperienceRes, error)
// ProposeSkill invokes propose_skill operation.
//
// Persist a pending managed Skill Candidate without creating an Artifact Revision.
//
// POST /v1/skill/propose
ProposeSkill(ctx context.Context, request *ProposeSkillRequest) (ProposeSkillRes, error)
// PurgeHandoffReportActivities invokes purge_handoff_report_activities operation.
//
// Purge Handoff Report Activities.
//
// POST /v1/handoff-reports/activities/purge
PurgeHandoffReportActivities(ctx context.Context, request *PurgeHandoffReportActivitiesRequest) (PurgeHandoffReportActivitiesRes, error)
// RecordHandoffReportActivity invokes record_handoff_report_activity operation.
//
// Record a Handoff Report Activity.
//
// POST /v1/handoff-reports/activities/record
RecordHandoffReportActivity(ctx context.Context, request *RecordHandoffReportActivityRequest) (RecordHandoffReportActivityRes, error)
// RecordTaskOutcome invokes record_task_outcome operation.
//
// Preserve one attempt's status and checks, optionally linked to the exact accepted Handoff Receipt
// that the result covers.
//
// POST /v1/work/outcomes/record
RecordTaskOutcome(ctx context.Context, request *RecordTaskOutcomeRequest) (RecordTaskOutcomeRes, error)
// RegisterHandoffReportWorkstream invokes register_handoff_report_workstream operation.
//
// Register a Handoff Report Workstream.
//
// POST /v1/handoff-reports/workstreams/register
RegisterHandoffReportWorkstream(ctx context.Context, request *RegisterHandoffReportWorkstreamRequest) (RegisterHandoffReportWorkstreamRes, error)
// RejectArtifactCandidate invokes reject_artifact_candidate operation.
//
// Move the exact pending version to its rejected terminal state without writing an Artifact.
//
// POST /v1/artifact-candidates/reject
RejectArtifactCandidate(ctx context.Context, request *RejectArtifactCandidateRequest) (RejectArtifactCandidateRes, error)
// RememberMemory invokes remember_memory operation.
//
// Save one already-curated Memory entry without creating a Source or invoking extraction.
//
// POST /v1/memory/remember
RememberMemory(ctx context.Context, request *RememberMemoryRequest) (RememberMemoryRes, error)
// ResolveExternalSkill invokes resolve_external_skill operation.
//
// Resolve only the registered local package version requested by the caller; never install or fall
// back.
//
// POST /v1/external-skills/resolve
ResolveExternalSkill(ctx context.Context, request *ResolveExternalSkillRequest) (ResolveExternalSkillRes, error)
// RetireMemoryEntry invokes retire_memory_entry operation.
//
// Deactivate an entry against an explicit current Memory Revision without deleting history.
//
// POST /v1/memory/entries/retire
RetireMemoryEntry(ctx context.Context, request *RetireMemoryEntryRequest) (RetireMemoryEntryRes, error)
// ReviseArtifactCandidate invokes revise_artifact_candidate operation.
//
// Append a complete replacement proposal as the next immutable pending version.
//
// POST /v1/artifact-candidates/revise
ReviseArtifactCandidate(ctx context.Context, request *ReviseArtifactCandidateRequest) (ReviseArtifactCandidateRes, error)
// ReviseMemoryEntry invokes revise_memory_entry operation.
//
// Replace active entry content against an explicit current Memory Revision.
//
// POST /v1/memory/entries/revise
ReviseMemoryEntry(ctx context.Context, request *ReviseMemoryEntryRequest) (ReviseMemoryEntryRes, error)
// ScanExternalSkills invokes scan_external_skills operation.
//
// Replace the current host-local Registry projection without copying or rewriting package content.
//
// POST /v1/external-skills/scan
ScanExternalSkills(ctx context.Context, request *ScanExternalSkillsRequest) (ScanExternalSkillsRes, error)
// SearchMemory invokes search_memory operation.
//
// Retrieve relevant active Memory entries within one explicit application scope.
//
// POST /v1/memory/search
SearchMemory(ctx context.Context, request *SearchMemoryRequest) (SearchMemoryRes, error)
// UpdateHandoffReportProject invokes update_handoff_report_project operation.
//
// Update a Handoff Report Project.
//
// POST /v1/handoff-reports/projects/update
UpdateHandoffReportProject(ctx context.Context, request *UpdateHandoffReportProjectRequest) (UpdateHandoffReportProjectRes, error)
// UpdateHandoffReportWorkstream invokes update_handoff_report_workstream operation.
//
// Update a Handoff Report Workstream.
//
// POST /v1/handoff-reports/workstreams/update
UpdateHandoffReportWorkstream(ctx context.Context, request *UpdateHandoffReportWorkstreamRequest) (UpdateHandoffReportWorkstreamRes, error)
}
Invoker invokes operations described by OpenAPI v3 specification.
type KnownHandoffScope ¶
type KnownHandoffScope struct {
ScopeID string `json:"scope_id"`
}
Ref: #/components/schemas/KnownHandoffScope
func (*KnownHandoffScope) Decode ¶
func (s *KnownHandoffScope) Decode(d *jx.Decoder) error
Decode decodes KnownHandoffScope from json.
func (*KnownHandoffScope) Encode ¶
func (s *KnownHandoffScope) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*KnownHandoffScope) GetScopeID ¶
func (s *KnownHandoffScope) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*KnownHandoffScope) MarshalJSON ¶
func (s *KnownHandoffScope) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*KnownHandoffScope) SetScopeID ¶
func (s *KnownHandoffScope) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*KnownHandoffScope) UnmarshalJSON ¶
func (s *KnownHandoffScope) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*KnownHandoffScope) Validate ¶
func (s *KnownHandoffScope) Validate() error
type KnownHandoffScopePage ¶
type KnownHandoffScopePage struct {
Items []KnownHandoffScope `json:"items"`
NextCursor OptNilString `json:"next_cursor"`
}
Ref: #/components/schemas/KnownHandoffScopePage
func (*KnownHandoffScopePage) Decode ¶
func (s *KnownHandoffScopePage) Decode(d *jx.Decoder) error
Decode decodes KnownHandoffScopePage from json.
func (*KnownHandoffScopePage) Encode ¶
func (s *KnownHandoffScopePage) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*KnownHandoffScopePage) GetItems ¶
func (s *KnownHandoffScopePage) GetItems() []KnownHandoffScope
GetItems returns the value of Items.
func (*KnownHandoffScopePage) GetNextCursor ¶
func (s *KnownHandoffScopePage) GetNextCursor() OptNilString
GetNextCursor returns the value of NextCursor.
func (*KnownHandoffScopePage) MarshalJSON ¶
func (s *KnownHandoffScopePage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*KnownHandoffScopePage) SetItems ¶
func (s *KnownHandoffScopePage) SetItems(val []KnownHandoffScope)
SetItems sets the value of Items.
func (*KnownHandoffScopePage) SetNextCursor ¶
func (s *KnownHandoffScopePage) SetNextCursor(val OptNilString)
SetNextCursor sets the value of NextCursor.
func (*KnownHandoffScopePage) UnmarshalJSON ¶
func (s *KnownHandoffScopePage) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*KnownHandoffScopePage) Validate ¶
func (s *KnownHandoffScopePage) Validate() error
type KnownHandoffScopePageHeaders ¶
type KnownHandoffScopePageHeaders struct {
XPowerContextRequestID OptString
Response KnownHandoffScopePage
}
KnownHandoffScopePageHeaders wraps KnownHandoffScopePage with response headers.
func (*KnownHandoffScopePageHeaders) GetResponse ¶
func (s *KnownHandoffScopePageHeaders) GetResponse() KnownHandoffScopePage
GetResponse returns the value of Response.
func (*KnownHandoffScopePageHeaders) GetXPowerContextRequestID ¶
func (s *KnownHandoffScopePageHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*KnownHandoffScopePageHeaders) SetResponse ¶
func (s *KnownHandoffScopePageHeaders) SetResponse(val KnownHandoffScopePage)
SetResponse sets the value of Response.
func (*KnownHandoffScopePageHeaders) SetXPowerContextRequestID ¶
func (s *KnownHandoffScopePageHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*KnownHandoffScopePageHeaders) Validate ¶
func (s *KnownHandoffScopePageHeaders) Validate() error
type Labeler ¶
type Labeler struct {
// contains filtered or unexported fields
}
Labeler is used to allow adding custom attributes to the server request metrics.
func LabelerFromContext ¶
LabelerFromContext retrieves the Labeler from the provided context, if present.
If no Labeler was found in the provided context a new, empty Labeler is returned and the second return value is false. In this case it is safe to use the Labeler but any attributes added to it will not be used.
func (*Labeler) AttributeSet ¶
AttributeSet returns the attributes added to the Labeler as an attribute.Set.
type ListArtifactCandidatesRequest ¶
type ListArtifactCandidatesRequest struct {
ScopeID string `json:"scope_id"`
Status OptCandidateStatus `json:"status"`
Family OptNilCandidateFamily `json:"family"`
Cursor OptNilString `json:"cursor"`
Limit OptInt `json:"limit"`
}
Ref: #/components/schemas/ListArtifactCandidatesRequest
func (*ListArtifactCandidatesRequest) Decode ¶
func (s *ListArtifactCandidatesRequest) Decode(d *jx.Decoder) error
Decode decodes ListArtifactCandidatesRequest from json.
func (*ListArtifactCandidatesRequest) Encode ¶
func (s *ListArtifactCandidatesRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListArtifactCandidatesRequest) GetCursor ¶
func (s *ListArtifactCandidatesRequest) GetCursor() OptNilString
GetCursor returns the value of Cursor.
func (*ListArtifactCandidatesRequest) GetFamily ¶
func (s *ListArtifactCandidatesRequest) GetFamily() OptNilCandidateFamily
GetFamily returns the value of Family.
func (*ListArtifactCandidatesRequest) GetLimit ¶
func (s *ListArtifactCandidatesRequest) GetLimit() OptInt
GetLimit returns the value of Limit.
func (*ListArtifactCandidatesRequest) GetScopeID ¶
func (s *ListArtifactCandidatesRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*ListArtifactCandidatesRequest) GetStatus ¶
func (s *ListArtifactCandidatesRequest) GetStatus() OptCandidateStatus
GetStatus returns the value of Status.
func (*ListArtifactCandidatesRequest) MarshalJSON ¶
func (s *ListArtifactCandidatesRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListArtifactCandidatesRequest) SetCursor ¶
func (s *ListArtifactCandidatesRequest) SetCursor(val OptNilString)
SetCursor sets the value of Cursor.
func (*ListArtifactCandidatesRequest) SetFamily ¶
func (s *ListArtifactCandidatesRequest) SetFamily(val OptNilCandidateFamily)
SetFamily sets the value of Family.
func (*ListArtifactCandidatesRequest) SetLimit ¶
func (s *ListArtifactCandidatesRequest) SetLimit(val OptInt)
SetLimit sets the value of Limit.
func (*ListArtifactCandidatesRequest) SetScopeID ¶
func (s *ListArtifactCandidatesRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*ListArtifactCandidatesRequest) SetStatus ¶
func (s *ListArtifactCandidatesRequest) SetStatus(val OptCandidateStatus)
SetStatus sets the value of Status.
func (*ListArtifactCandidatesRequest) UnmarshalJSON ¶
func (s *ListArtifactCandidatesRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListArtifactCandidatesRequest) Validate ¶
func (s *ListArtifactCandidatesRequest) Validate() error
type ListArtifactCandidatesRes ¶
type ListArtifactCandidatesRes interface {
// contains filtered or unexported methods
}
type ListExternalSkillsRequest ¶
type ListExternalSkillsRequest struct {
ScopeID string `json:"scope_id"`
}
Ref: #/components/schemas/ListExternalSkillsRequest
func (*ListExternalSkillsRequest) Decode ¶
func (s *ListExternalSkillsRequest) Decode(d *jx.Decoder) error
Decode decodes ListExternalSkillsRequest from json.
func (*ListExternalSkillsRequest) Encode ¶
func (s *ListExternalSkillsRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListExternalSkillsRequest) GetIncludeUnavailable ¶
func (s *ListExternalSkillsRequest) GetIncludeUnavailable() OptBool
GetIncludeUnavailable returns the value of IncludeUnavailable.
func (*ListExternalSkillsRequest) GetScopeID ¶
func (s *ListExternalSkillsRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*ListExternalSkillsRequest) MarshalJSON ¶
func (s *ListExternalSkillsRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListExternalSkillsRequest) SetIncludeUnavailable ¶
func (s *ListExternalSkillsRequest) SetIncludeUnavailable(val OptBool)
SetIncludeUnavailable sets the value of IncludeUnavailable.
func (*ListExternalSkillsRequest) SetScopeID ¶
func (s *ListExternalSkillsRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*ListExternalSkillsRequest) UnmarshalJSON ¶
func (s *ListExternalSkillsRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListExternalSkillsRequest) Validate ¶
func (s *ListExternalSkillsRequest) Validate() error
type ListExternalSkillsRes ¶
type ListExternalSkillsRes interface {
// contains filtered or unexported methods
}
type ListExternalSkillsResponse ¶
type ListExternalSkillsResponse struct {
Skills []ExternalSkillResolution `json:"skills"`
}
Ref: #/components/schemas/ListExternalSkillsResponse
func (*ListExternalSkillsResponse) Decode ¶
func (s *ListExternalSkillsResponse) Decode(d *jx.Decoder) error
Decode decodes ListExternalSkillsResponse from json.
func (*ListExternalSkillsResponse) Encode ¶
func (s *ListExternalSkillsResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListExternalSkillsResponse) GetSkills ¶
func (s *ListExternalSkillsResponse) GetSkills() []ExternalSkillResolution
GetSkills returns the value of Skills.
func (*ListExternalSkillsResponse) MarshalJSON ¶
func (s *ListExternalSkillsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListExternalSkillsResponse) SetSkills ¶
func (s *ListExternalSkillsResponse) SetSkills(val []ExternalSkillResolution)
SetSkills sets the value of Skills.
func (*ListExternalSkillsResponse) UnmarshalJSON ¶
func (s *ListExternalSkillsResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListExternalSkillsResponse) Validate ¶
func (s *ListExternalSkillsResponse) Validate() error
type ListExternalSkillsResponseHeaders ¶
type ListExternalSkillsResponseHeaders struct {
XPowerContextRequestID OptString
Response ListExternalSkillsResponse
}
ListExternalSkillsResponseHeaders wraps ListExternalSkillsResponse with response headers.
func (*ListExternalSkillsResponseHeaders) GetResponse ¶
func (s *ListExternalSkillsResponseHeaders) GetResponse() ListExternalSkillsResponse
GetResponse returns the value of Response.
func (*ListExternalSkillsResponseHeaders) GetXPowerContextRequestID ¶
func (s *ListExternalSkillsResponseHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*ListExternalSkillsResponseHeaders) SetResponse ¶
func (s *ListExternalSkillsResponseHeaders) SetResponse(val ListExternalSkillsResponse)
SetResponse sets the value of Response.
func (*ListExternalSkillsResponseHeaders) SetXPowerContextRequestID ¶
func (s *ListExternalSkillsResponseHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*ListExternalSkillsResponseHeaders) Validate ¶
func (s *ListExternalSkillsResponseHeaders) Validate() error
type ListHandoffReportActivitiesRequest ¶
type ListHandoffReportActivitiesRequest struct {
ProjectID string `json:"project_id"`
PeriodStart OptNilDateTime `json:"period_start"`
PeriodEnd OptNilDateTime `json:"period_end"`
Sources OptNilReportActivitySourceArray `json:"sources"`
AfterCursor OptInt `json:"after_cursor"`
ThroughCursor OptNilInt `json:"through_cursor"`
Limit OptInt `json:"limit"`
}
Ref: #/components/schemas/ListHandoffReportActivitiesRequest
func (*ListHandoffReportActivitiesRequest) Decode ¶
func (s *ListHandoffReportActivitiesRequest) Decode(d *jx.Decoder) error
Decode decodes ListHandoffReportActivitiesRequest from json.
func (*ListHandoffReportActivitiesRequest) Encode ¶
func (s *ListHandoffReportActivitiesRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListHandoffReportActivitiesRequest) GetAfterCursor ¶
func (s *ListHandoffReportActivitiesRequest) GetAfterCursor() OptInt
GetAfterCursor returns the value of AfterCursor.
func (*ListHandoffReportActivitiesRequest) GetLimit ¶
func (s *ListHandoffReportActivitiesRequest) GetLimit() OptInt
GetLimit returns the value of Limit.
func (*ListHandoffReportActivitiesRequest) GetPeriodEnd ¶
func (s *ListHandoffReportActivitiesRequest) GetPeriodEnd() OptNilDateTime
GetPeriodEnd returns the value of PeriodEnd.
func (*ListHandoffReportActivitiesRequest) GetPeriodStart ¶
func (s *ListHandoffReportActivitiesRequest) GetPeriodStart() OptNilDateTime
GetPeriodStart returns the value of PeriodStart.
func (*ListHandoffReportActivitiesRequest) GetProjectID ¶
func (s *ListHandoffReportActivitiesRequest) GetProjectID() string
GetProjectID returns the value of ProjectID.
func (*ListHandoffReportActivitiesRequest) GetSources ¶
func (s *ListHandoffReportActivitiesRequest) GetSources() OptNilReportActivitySourceArray
GetSources returns the value of Sources.
func (*ListHandoffReportActivitiesRequest) GetThroughCursor ¶
func (s *ListHandoffReportActivitiesRequest) GetThroughCursor() OptNilInt
GetThroughCursor returns the value of ThroughCursor.
func (*ListHandoffReportActivitiesRequest) MarshalJSON ¶
func (s *ListHandoffReportActivitiesRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListHandoffReportActivitiesRequest) SetAfterCursor ¶
func (s *ListHandoffReportActivitiesRequest) SetAfterCursor(val OptInt)
SetAfterCursor sets the value of AfterCursor.
func (*ListHandoffReportActivitiesRequest) SetLimit ¶
func (s *ListHandoffReportActivitiesRequest) SetLimit(val OptInt)
SetLimit sets the value of Limit.
func (*ListHandoffReportActivitiesRequest) SetPeriodEnd ¶
func (s *ListHandoffReportActivitiesRequest) SetPeriodEnd(val OptNilDateTime)
SetPeriodEnd sets the value of PeriodEnd.
func (*ListHandoffReportActivitiesRequest) SetPeriodStart ¶
func (s *ListHandoffReportActivitiesRequest) SetPeriodStart(val OptNilDateTime)
SetPeriodStart sets the value of PeriodStart.
func (*ListHandoffReportActivitiesRequest) SetProjectID ¶
func (s *ListHandoffReportActivitiesRequest) SetProjectID(val string)
SetProjectID sets the value of ProjectID.
func (*ListHandoffReportActivitiesRequest) SetSources ¶
func (s *ListHandoffReportActivitiesRequest) SetSources(val OptNilReportActivitySourceArray)
SetSources sets the value of Sources.
func (*ListHandoffReportActivitiesRequest) SetThroughCursor ¶
func (s *ListHandoffReportActivitiesRequest) SetThroughCursor(val OptNilInt)
SetThroughCursor sets the value of ThroughCursor.
func (*ListHandoffReportActivitiesRequest) UnmarshalJSON ¶
func (s *ListHandoffReportActivitiesRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListHandoffReportActivitiesRequest) Validate ¶
func (s *ListHandoffReportActivitiesRequest) Validate() error
type ListHandoffReportActivitiesRes ¶
type ListHandoffReportActivitiesRes interface {
// contains filtered or unexported methods
}
type ListHandoffReportKnownScopesRequest ¶
type ListHandoffReportKnownScopesRequest struct {
Cursor OptNilString `json:"cursor"`
Limit OptInt `json:"limit"`
}
Ref: #/components/schemas/ListHandoffReportKnownScopesRequest
func (*ListHandoffReportKnownScopesRequest) Decode ¶
func (s *ListHandoffReportKnownScopesRequest) Decode(d *jx.Decoder) error
Decode decodes ListHandoffReportKnownScopesRequest from json.
func (*ListHandoffReportKnownScopesRequest) Encode ¶
func (s *ListHandoffReportKnownScopesRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListHandoffReportKnownScopesRequest) GetCursor ¶
func (s *ListHandoffReportKnownScopesRequest) GetCursor() OptNilString
GetCursor returns the value of Cursor.
func (*ListHandoffReportKnownScopesRequest) GetLimit ¶
func (s *ListHandoffReportKnownScopesRequest) GetLimit() OptInt
GetLimit returns the value of Limit.
func (*ListHandoffReportKnownScopesRequest) MarshalJSON ¶
func (s *ListHandoffReportKnownScopesRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListHandoffReportKnownScopesRequest) SetCursor ¶
func (s *ListHandoffReportKnownScopesRequest) SetCursor(val OptNilString)
SetCursor sets the value of Cursor.
func (*ListHandoffReportKnownScopesRequest) SetLimit ¶
func (s *ListHandoffReportKnownScopesRequest) SetLimit(val OptInt)
SetLimit sets the value of Limit.
func (*ListHandoffReportKnownScopesRequest) UnmarshalJSON ¶
func (s *ListHandoffReportKnownScopesRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListHandoffReportKnownScopesRequest) Validate ¶
func (s *ListHandoffReportKnownScopesRequest) Validate() error
type ListHandoffReportKnownScopesRes ¶
type ListHandoffReportKnownScopesRes interface {
// contains filtered or unexported methods
}
type ListHandoffReportProjectsRequest ¶
type ListHandoffReportProjectsRequest struct {
Cursor OptNilString `json:"cursor"`
Limit OptInt `json:"limit"`
IncludeArchived OptBool `json:"include_archived"`
}
Ref: #/components/schemas/ListHandoffReportProjectsRequest
func (*ListHandoffReportProjectsRequest) Decode ¶
func (s *ListHandoffReportProjectsRequest) Decode(d *jx.Decoder) error
Decode decodes ListHandoffReportProjectsRequest from json.
func (*ListHandoffReportProjectsRequest) Encode ¶
func (s *ListHandoffReportProjectsRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListHandoffReportProjectsRequest) GetCursor ¶
func (s *ListHandoffReportProjectsRequest) GetCursor() OptNilString
GetCursor returns the value of Cursor.
func (*ListHandoffReportProjectsRequest) GetIncludeArchived ¶
func (s *ListHandoffReportProjectsRequest) GetIncludeArchived() OptBool
GetIncludeArchived returns the value of IncludeArchived.
func (*ListHandoffReportProjectsRequest) GetLimit ¶
func (s *ListHandoffReportProjectsRequest) GetLimit() OptInt
GetLimit returns the value of Limit.
func (*ListHandoffReportProjectsRequest) MarshalJSON ¶
func (s *ListHandoffReportProjectsRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListHandoffReportProjectsRequest) SetCursor ¶
func (s *ListHandoffReportProjectsRequest) SetCursor(val OptNilString)
SetCursor sets the value of Cursor.
func (*ListHandoffReportProjectsRequest) SetIncludeArchived ¶
func (s *ListHandoffReportProjectsRequest) SetIncludeArchived(val OptBool)
SetIncludeArchived sets the value of IncludeArchived.
func (*ListHandoffReportProjectsRequest) SetLimit ¶
func (s *ListHandoffReportProjectsRequest) SetLimit(val OptInt)
SetLimit sets the value of Limit.
func (*ListHandoffReportProjectsRequest) UnmarshalJSON ¶
func (s *ListHandoffReportProjectsRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListHandoffReportProjectsRequest) Validate ¶
func (s *ListHandoffReportProjectsRequest) Validate() error
type ListHandoffReportProjectsRes ¶
type ListHandoffReportProjectsRes interface {
// contains filtered or unexported methods
}
type ListHandoffReportWorkstreamsRequest ¶
type ListHandoffReportWorkstreamsRequest struct {
ProjectID string `json:"project_id"`
Cursor OptNilString `json:"cursor"`
Limit OptInt `json:"limit"`
IncludeArchived OptBool `json:"include_archived"`
}
Ref: #/components/schemas/ListHandoffReportWorkstreamsRequest
func (*ListHandoffReportWorkstreamsRequest) Decode ¶
func (s *ListHandoffReportWorkstreamsRequest) Decode(d *jx.Decoder) error
Decode decodes ListHandoffReportWorkstreamsRequest from json.
func (*ListHandoffReportWorkstreamsRequest) Encode ¶
func (s *ListHandoffReportWorkstreamsRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListHandoffReportWorkstreamsRequest) GetCursor ¶
func (s *ListHandoffReportWorkstreamsRequest) GetCursor() OptNilString
GetCursor returns the value of Cursor.
func (*ListHandoffReportWorkstreamsRequest) GetIncludeArchived ¶
func (s *ListHandoffReportWorkstreamsRequest) GetIncludeArchived() OptBool
GetIncludeArchived returns the value of IncludeArchived.
func (*ListHandoffReportWorkstreamsRequest) GetLimit ¶
func (s *ListHandoffReportWorkstreamsRequest) GetLimit() OptInt
GetLimit returns the value of Limit.
func (*ListHandoffReportWorkstreamsRequest) GetProjectID ¶
func (s *ListHandoffReportWorkstreamsRequest) GetProjectID() string
GetProjectID returns the value of ProjectID.
func (*ListHandoffReportWorkstreamsRequest) MarshalJSON ¶
func (s *ListHandoffReportWorkstreamsRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListHandoffReportWorkstreamsRequest) SetCursor ¶
func (s *ListHandoffReportWorkstreamsRequest) SetCursor(val OptNilString)
SetCursor sets the value of Cursor.
func (*ListHandoffReportWorkstreamsRequest) SetIncludeArchived ¶
func (s *ListHandoffReportWorkstreamsRequest) SetIncludeArchived(val OptBool)
SetIncludeArchived sets the value of IncludeArchived.
func (*ListHandoffReportWorkstreamsRequest) SetLimit ¶
func (s *ListHandoffReportWorkstreamsRequest) SetLimit(val OptInt)
SetLimit sets the value of Limit.
func (*ListHandoffReportWorkstreamsRequest) SetProjectID ¶
func (s *ListHandoffReportWorkstreamsRequest) SetProjectID(val string)
SetProjectID sets the value of ProjectID.
func (*ListHandoffReportWorkstreamsRequest) UnmarshalJSON ¶
func (s *ListHandoffReportWorkstreamsRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListHandoffReportWorkstreamsRequest) Validate ¶
func (s *ListHandoffReportWorkstreamsRequest) Validate() error
type ListHandoffReportWorkstreamsRes ¶
type ListHandoffReportWorkstreamsRes interface {
// contains filtered or unexported methods
}
type ListMemoryChangesRequest ¶
type ListMemoryChangesRequest struct {
ScopeID string `json:"scope_id"`
// Exclusive lower bound; 0 requests complete history from Revision 1. Positive nonexistent revisions
// are errors.
SinceRevision OptNilInt `json:"since_revision"`
}
Ref: #/components/schemas/ListMemoryChangesRequest
func (*ListMemoryChangesRequest) Decode ¶
func (s *ListMemoryChangesRequest) Decode(d *jx.Decoder) error
Decode decodes ListMemoryChangesRequest from json.
func (*ListMemoryChangesRequest) Encode ¶
func (s *ListMemoryChangesRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListMemoryChangesRequest) GetScopeID ¶
func (s *ListMemoryChangesRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*ListMemoryChangesRequest) GetSinceRevision ¶
func (s *ListMemoryChangesRequest) GetSinceRevision() OptNilInt
GetSinceRevision returns the value of SinceRevision.
func (*ListMemoryChangesRequest) MarshalJSON ¶
func (s *ListMemoryChangesRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListMemoryChangesRequest) SetScopeID ¶
func (s *ListMemoryChangesRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*ListMemoryChangesRequest) SetSinceRevision ¶
func (s *ListMemoryChangesRequest) SetSinceRevision(val OptNilInt)
SetSinceRevision sets the value of SinceRevision.
func (*ListMemoryChangesRequest) UnmarshalJSON ¶
func (s *ListMemoryChangesRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListMemoryChangesRequest) Validate ¶
func (s *ListMemoryChangesRequest) Validate() error
type ListMemoryChangesRes ¶
type ListMemoryChangesRes interface {
// contains filtered or unexported methods
}
type ListMemoryChangesResponse ¶
type ListMemoryChangesResponse struct {
Memory OptNilArtifactReference `json:"memory"`
Revisions []MemoryRevisionChanges `json:"revisions"`
}
Ref: #/components/schemas/ListMemoryChangesResponse
func (*ListMemoryChangesResponse) Decode ¶
func (s *ListMemoryChangesResponse) Decode(d *jx.Decoder) error
Decode decodes ListMemoryChangesResponse from json.
func (*ListMemoryChangesResponse) Encode ¶
func (s *ListMemoryChangesResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListMemoryChangesResponse) GetMemory ¶
func (s *ListMemoryChangesResponse) GetMemory() OptNilArtifactReference
GetMemory returns the value of Memory.
func (*ListMemoryChangesResponse) GetRevisions ¶
func (s *ListMemoryChangesResponse) GetRevisions() []MemoryRevisionChanges
GetRevisions returns the value of Revisions.
func (*ListMemoryChangesResponse) MarshalJSON ¶
func (s *ListMemoryChangesResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListMemoryChangesResponse) SetMemory ¶
func (s *ListMemoryChangesResponse) SetMemory(val OptNilArtifactReference)
SetMemory sets the value of Memory.
func (*ListMemoryChangesResponse) SetRevisions ¶
func (s *ListMemoryChangesResponse) SetRevisions(val []MemoryRevisionChanges)
SetRevisions sets the value of Revisions.
func (*ListMemoryChangesResponse) UnmarshalJSON ¶
func (s *ListMemoryChangesResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListMemoryChangesResponse) Validate ¶
func (s *ListMemoryChangesResponse) Validate() error
type ListMemoryChangesResponseHeaders ¶
type ListMemoryChangesResponseHeaders struct {
XPowerContextRequestID OptString
Response ListMemoryChangesResponse
}
ListMemoryChangesResponseHeaders wraps ListMemoryChangesResponse with response headers.
func (*ListMemoryChangesResponseHeaders) GetResponse ¶
func (s *ListMemoryChangesResponseHeaders) GetResponse() ListMemoryChangesResponse
GetResponse returns the value of Response.
func (*ListMemoryChangesResponseHeaders) GetXPowerContextRequestID ¶
func (s *ListMemoryChangesResponseHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*ListMemoryChangesResponseHeaders) SetResponse ¶
func (s *ListMemoryChangesResponseHeaders) SetResponse(val ListMemoryChangesResponse)
SetResponse sets the value of Response.
func (*ListMemoryChangesResponseHeaders) SetXPowerContextRequestID ¶
func (s *ListMemoryChangesResponseHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*ListMemoryChangesResponseHeaders) Validate ¶
func (s *ListMemoryChangesResponseHeaders) Validate() error
type ListMemoryEntriesRequest ¶
type ListMemoryEntriesRequest struct {
ScopeID string `json:"scope_id"`
// Include inactive entries from the current Memory head for explicit audit.
IncludeInactive OptBool `json:"include_inactive"`
}
Ref: #/components/schemas/ListMemoryEntriesRequest
func (*ListMemoryEntriesRequest) Decode ¶
func (s *ListMemoryEntriesRequest) Decode(d *jx.Decoder) error
Decode decodes ListMemoryEntriesRequest from json.
func (*ListMemoryEntriesRequest) Encode ¶
func (s *ListMemoryEntriesRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListMemoryEntriesRequest) GetIncludeInactive ¶
func (s *ListMemoryEntriesRequest) GetIncludeInactive() OptBool
GetIncludeInactive returns the value of IncludeInactive.
func (*ListMemoryEntriesRequest) GetScopeID ¶
func (s *ListMemoryEntriesRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*ListMemoryEntriesRequest) MarshalJSON ¶
func (s *ListMemoryEntriesRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListMemoryEntriesRequest) SetIncludeInactive ¶
func (s *ListMemoryEntriesRequest) SetIncludeInactive(val OptBool)
SetIncludeInactive sets the value of IncludeInactive.
func (*ListMemoryEntriesRequest) SetScopeID ¶
func (s *ListMemoryEntriesRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*ListMemoryEntriesRequest) UnmarshalJSON ¶
func (s *ListMemoryEntriesRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListMemoryEntriesRequest) Validate ¶
func (s *ListMemoryEntriesRequest) Validate() error
type ListMemoryEntriesRes ¶
type ListMemoryEntriesRes interface {
// contains filtered or unexported methods
}
type ListMemoryEntriesResponse ¶
type ListMemoryEntriesResponse struct {
Memory OptNilArtifactReference `json:"memory"`
Entries []MemoryEntry `json:"entries"`
}
Ref: #/components/schemas/ListMemoryEntriesResponse
func (*ListMemoryEntriesResponse) Decode ¶
func (s *ListMemoryEntriesResponse) Decode(d *jx.Decoder) error
Decode decodes ListMemoryEntriesResponse from json.
func (*ListMemoryEntriesResponse) Encode ¶
func (s *ListMemoryEntriesResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListMemoryEntriesResponse) GetEntries ¶
func (s *ListMemoryEntriesResponse) GetEntries() []MemoryEntry
GetEntries returns the value of Entries.
func (*ListMemoryEntriesResponse) GetMemory ¶
func (s *ListMemoryEntriesResponse) GetMemory() OptNilArtifactReference
GetMemory returns the value of Memory.
func (*ListMemoryEntriesResponse) MarshalJSON ¶
func (s *ListMemoryEntriesResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListMemoryEntriesResponse) SetEntries ¶
func (s *ListMemoryEntriesResponse) SetEntries(val []MemoryEntry)
SetEntries sets the value of Entries.
func (*ListMemoryEntriesResponse) SetMemory ¶
func (s *ListMemoryEntriesResponse) SetMemory(val OptNilArtifactReference)
SetMemory sets the value of Memory.
func (*ListMemoryEntriesResponse) UnmarshalJSON ¶
func (s *ListMemoryEntriesResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListMemoryEntriesResponse) Validate ¶
func (s *ListMemoryEntriesResponse) Validate() error
type ListMemoryEntriesResponseHeaders ¶
type ListMemoryEntriesResponseHeaders struct {
XPowerContextRequestID OptString
Response ListMemoryEntriesResponse
}
ListMemoryEntriesResponseHeaders wraps ListMemoryEntriesResponse with response headers.
func (*ListMemoryEntriesResponseHeaders) GetResponse ¶
func (s *ListMemoryEntriesResponseHeaders) GetResponse() ListMemoryEntriesResponse
GetResponse returns the value of Response.
func (*ListMemoryEntriesResponseHeaders) GetXPowerContextRequestID ¶
func (s *ListMemoryEntriesResponseHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*ListMemoryEntriesResponseHeaders) SetResponse ¶
func (s *ListMemoryEntriesResponseHeaders) SetResponse(val ListMemoryEntriesResponse)
SetResponse sets the value of Response.
func (*ListMemoryEntriesResponseHeaders) SetXPowerContextRequestID ¶
func (s *ListMemoryEntriesResponseHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*ListMemoryEntriesResponseHeaders) Validate ¶
func (s *ListMemoryEntriesResponseHeaders) Validate() error
type LiveStateCheckStatus ¶
type LiveStateCheckStatus string
Ref: #/components/schemas/LiveStateCheckStatus
const ( LiveStateCheckStatusConfirmed LiveStateCheckStatus = "confirmed" LiveStateCheckStatusMismatch LiveStateCheckStatus = "mismatch" LiveStateCheckStatusNotChecked LiveStateCheckStatus = "not_checked" )
func (LiveStateCheckStatus) AllValues ¶
func (LiveStateCheckStatus) AllValues() []LiveStateCheckStatus
AllValues returns all LiveStateCheckStatus values.
func (*LiveStateCheckStatus) Decode ¶
func (s *LiveStateCheckStatus) Decode(d *jx.Decoder) error
Decode decodes LiveStateCheckStatus from json.
func (LiveStateCheckStatus) Encode ¶
func (s LiveStateCheckStatus) Encode(e *jx.Encoder)
Encode encodes LiveStateCheckStatus as json.
func (LiveStateCheckStatus) MarshalJSON ¶
func (s LiveStateCheckStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (LiveStateCheckStatus) MarshalText ¶
func (s LiveStateCheckStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*LiveStateCheckStatus) UnmarshalJSON ¶
func (s *LiveStateCheckStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*LiveStateCheckStatus) UnmarshalText ¶
func (s *LiveStateCheckStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (LiveStateCheckStatus) Validate ¶
func (s LiveStateCheckStatus) Validate() error
type MemoryCitation ¶
type MemoryCitation struct {
MemoryRef ArtifactReference `json:"memory_ref"`
EntryID string `json:"entry_id"`
EntryVersionID string `json:"entry_version_id"`
}
Ref: #/components/schemas/MemoryCitation
func (*MemoryCitation) Decode ¶
func (s *MemoryCitation) Decode(d *jx.Decoder) error
Decode decodes MemoryCitation from json.
func (*MemoryCitation) Encode ¶
func (s *MemoryCitation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MemoryCitation) GetEntryID ¶
func (s *MemoryCitation) GetEntryID() string
GetEntryID returns the value of EntryID.
func (*MemoryCitation) GetEntryVersionID ¶
func (s *MemoryCitation) GetEntryVersionID() string
GetEntryVersionID returns the value of EntryVersionID.
func (*MemoryCitation) GetMemoryRef ¶
func (s *MemoryCitation) GetMemoryRef() ArtifactReference
GetMemoryRef returns the value of MemoryRef.
func (*MemoryCitation) MarshalJSON ¶
func (s *MemoryCitation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MemoryCitation) SetEntryID ¶
func (s *MemoryCitation) SetEntryID(val string)
SetEntryID sets the value of EntryID.
func (*MemoryCitation) SetEntryVersionID ¶
func (s *MemoryCitation) SetEntryVersionID(val string)
SetEntryVersionID sets the value of EntryVersionID.
func (*MemoryCitation) SetMemoryRef ¶
func (s *MemoryCitation) SetMemoryRef(val ArtifactReference)
SetMemoryRef sets the value of MemoryRef.
func (*MemoryCitation) UnmarshalJSON ¶
func (s *MemoryCitation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MemoryCitation) Validate ¶
func (s *MemoryCitation) Validate() error
type MemoryEntry ¶
type MemoryEntry struct {
Citation MemoryCitation `json:"citation"`
Version int `json:"version"`
Kind string `json:"kind"`
Text string `json:"text"`
State MemoryEntryState `json:"state"`
SourceRefs []SourceReference `json:"source_refs"`
ArtifactRefs []ArtifactReference `json:"artifact_refs"`
}
Ref: #/components/schemas/MemoryEntry
func (*MemoryEntry) Decode ¶
func (s *MemoryEntry) Decode(d *jx.Decoder) error
Decode decodes MemoryEntry from json.
func (*MemoryEntry) Encode ¶
func (s *MemoryEntry) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MemoryEntry) GetArtifactRefs ¶
func (s *MemoryEntry) GetArtifactRefs() []ArtifactReference
GetArtifactRefs returns the value of ArtifactRefs.
func (*MemoryEntry) GetCitation ¶
func (s *MemoryEntry) GetCitation() MemoryCitation
GetCitation returns the value of Citation.
func (*MemoryEntry) GetKind ¶
func (s *MemoryEntry) GetKind() string
GetKind returns the value of Kind.
func (*MemoryEntry) GetSourceRefs ¶
func (s *MemoryEntry) GetSourceRefs() []SourceReference
GetSourceRefs returns the value of SourceRefs.
func (*MemoryEntry) GetState ¶
func (s *MemoryEntry) GetState() MemoryEntryState
GetState returns the value of State.
func (*MemoryEntry) GetText ¶
func (s *MemoryEntry) GetText() string
GetText returns the value of Text.
func (*MemoryEntry) GetVersion ¶
func (s *MemoryEntry) GetVersion() int
GetVersion returns the value of Version.
func (*MemoryEntry) MarshalJSON ¶
func (s *MemoryEntry) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MemoryEntry) SetArtifactRefs ¶
func (s *MemoryEntry) SetArtifactRefs(val []ArtifactReference)
SetArtifactRefs sets the value of ArtifactRefs.
func (*MemoryEntry) SetCitation ¶
func (s *MemoryEntry) SetCitation(val MemoryCitation)
SetCitation sets the value of Citation.
func (*MemoryEntry) SetKind ¶
func (s *MemoryEntry) SetKind(val string)
SetKind sets the value of Kind.
func (*MemoryEntry) SetSourceRefs ¶
func (s *MemoryEntry) SetSourceRefs(val []SourceReference)
SetSourceRefs sets the value of SourceRefs.
func (*MemoryEntry) SetState ¶
func (s *MemoryEntry) SetState(val MemoryEntryState)
SetState sets the value of State.
func (*MemoryEntry) SetText ¶
func (s *MemoryEntry) SetText(val string)
SetText sets the value of Text.
func (*MemoryEntry) SetVersion ¶
func (s *MemoryEntry) SetVersion(val int)
SetVersion sets the value of Version.
func (*MemoryEntry) UnmarshalJSON ¶
func (s *MemoryEntry) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MemoryEntry) Validate ¶
func (s *MemoryEntry) Validate() error
type MemoryEntryHeaders ¶
type MemoryEntryHeaders struct {
XPowerContextRequestID OptString
Response MemoryEntry
}
MemoryEntryHeaders wraps MemoryEntry with response headers.
func (*MemoryEntryHeaders) GetResponse ¶
func (s *MemoryEntryHeaders) GetResponse() MemoryEntry
GetResponse returns the value of Response.
func (*MemoryEntryHeaders) GetXPowerContextRequestID ¶
func (s *MemoryEntryHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*MemoryEntryHeaders) SetResponse ¶
func (s *MemoryEntryHeaders) SetResponse(val MemoryEntry)
SetResponse sets the value of Response.
func (*MemoryEntryHeaders) SetXPowerContextRequestID ¶
func (s *MemoryEntryHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*MemoryEntryHeaders) Validate ¶
func (s *MemoryEntryHeaders) Validate() error
type MemoryEntryInventoryStatistics ¶
type MemoryEntryInventoryStatistics struct {
Total int `json:"total"`
Active int `json:"active"`
Inactive int `json:"inactive"`
ByKind []MemoryKindCount `json:"by_kind"`
}
Ref: #/components/schemas/MemoryEntryInventoryStatistics
func (*MemoryEntryInventoryStatistics) Decode ¶
func (s *MemoryEntryInventoryStatistics) Decode(d *jx.Decoder) error
Decode decodes MemoryEntryInventoryStatistics from json.
func (*MemoryEntryInventoryStatistics) Encode ¶
func (s *MemoryEntryInventoryStatistics) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MemoryEntryInventoryStatistics) GetActive ¶
func (s *MemoryEntryInventoryStatistics) GetActive() int
GetActive returns the value of Active.
func (*MemoryEntryInventoryStatistics) GetByKind ¶
func (s *MemoryEntryInventoryStatistics) GetByKind() []MemoryKindCount
GetByKind returns the value of ByKind.
func (*MemoryEntryInventoryStatistics) GetInactive ¶
func (s *MemoryEntryInventoryStatistics) GetInactive() int
GetInactive returns the value of Inactive.
func (*MemoryEntryInventoryStatistics) GetTotal ¶
func (s *MemoryEntryInventoryStatistics) GetTotal() int
GetTotal returns the value of Total.
func (*MemoryEntryInventoryStatistics) MarshalJSON ¶
func (s *MemoryEntryInventoryStatistics) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MemoryEntryInventoryStatistics) SetActive ¶
func (s *MemoryEntryInventoryStatistics) SetActive(val int)
SetActive sets the value of Active.
func (*MemoryEntryInventoryStatistics) SetByKind ¶
func (s *MemoryEntryInventoryStatistics) SetByKind(val []MemoryKindCount)
SetByKind sets the value of ByKind.
func (*MemoryEntryInventoryStatistics) SetInactive ¶
func (s *MemoryEntryInventoryStatistics) SetInactive(val int)
SetInactive sets the value of Inactive.
func (*MemoryEntryInventoryStatistics) SetTotal ¶
func (s *MemoryEntryInventoryStatistics) SetTotal(val int)
SetTotal sets the value of Total.
func (*MemoryEntryInventoryStatistics) UnmarshalJSON ¶
func (s *MemoryEntryInventoryStatistics) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MemoryEntryInventoryStatistics) Validate ¶
func (s *MemoryEntryInventoryStatistics) Validate() error
type MemoryEntryState ¶
type MemoryEntryState string
Ref: #/components/schemas/MemoryEntryState
const ( MemoryEntryStateActive MemoryEntryState = "active" MemoryEntryStateInactive MemoryEntryState = "inactive" )
func (MemoryEntryState) AllValues ¶
func (MemoryEntryState) AllValues() []MemoryEntryState
AllValues returns all MemoryEntryState values.
func (*MemoryEntryState) Decode ¶
func (s *MemoryEntryState) Decode(d *jx.Decoder) error
Decode decodes MemoryEntryState from json.
func (MemoryEntryState) Encode ¶
func (s MemoryEntryState) Encode(e *jx.Encoder)
Encode encodes MemoryEntryState as json.
func (MemoryEntryState) MarshalJSON ¶
func (s MemoryEntryState) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (MemoryEntryState) MarshalText ¶
func (s MemoryEntryState) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*MemoryEntryState) UnmarshalJSON ¶
func (s *MemoryEntryState) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MemoryEntryState) UnmarshalText ¶
func (s *MemoryEntryState) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (MemoryEntryState) Validate ¶
func (s MemoryEntryState) Validate() error
type MemoryInventoryStatistics ¶
type MemoryInventoryStatistics struct {
Entries MemoryEntryInventoryStatistics `json:"entries"`
}
Ref: #/components/schemas/MemoryInventoryStatistics
func (*MemoryInventoryStatistics) Decode ¶
func (s *MemoryInventoryStatistics) Decode(d *jx.Decoder) error
Decode decodes MemoryInventoryStatistics from json.
func (*MemoryInventoryStatistics) Encode ¶
func (s *MemoryInventoryStatistics) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MemoryInventoryStatistics) GetEntries ¶
func (s *MemoryInventoryStatistics) GetEntries() MemoryEntryInventoryStatistics
GetEntries returns the value of Entries.
func (*MemoryInventoryStatistics) MarshalJSON ¶
func (s *MemoryInventoryStatistics) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MemoryInventoryStatistics) SetEntries ¶
func (s *MemoryInventoryStatistics) SetEntries(val MemoryEntryInventoryStatistics)
SetEntries sets the value of Entries.
func (*MemoryInventoryStatistics) UnmarshalJSON ¶
func (s *MemoryInventoryStatistics) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MemoryInventoryStatistics) Validate ¶
func (s *MemoryInventoryStatistics) Validate() error
type MemoryKindCount ¶
type MemoryKindCount struct {
Kind string `json:"kind"`
Total int `json:"total"`
Active int `json:"active"`
Inactive int `json:"inactive"`
}
Ref: #/components/schemas/MemoryKindCount
func (*MemoryKindCount) Decode ¶
func (s *MemoryKindCount) Decode(d *jx.Decoder) error
Decode decodes MemoryKindCount from json.
func (*MemoryKindCount) Encode ¶
func (s *MemoryKindCount) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MemoryKindCount) GetActive ¶
func (s *MemoryKindCount) GetActive() int
GetActive returns the value of Active.
func (*MemoryKindCount) GetInactive ¶
func (s *MemoryKindCount) GetInactive() int
GetInactive returns the value of Inactive.
func (*MemoryKindCount) GetKind ¶
func (s *MemoryKindCount) GetKind() string
GetKind returns the value of Kind.
func (*MemoryKindCount) GetTotal ¶
func (s *MemoryKindCount) GetTotal() int
GetTotal returns the value of Total.
func (*MemoryKindCount) MarshalJSON ¶
func (s *MemoryKindCount) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MemoryKindCount) SetActive ¶
func (s *MemoryKindCount) SetActive(val int)
SetActive sets the value of Active.
func (*MemoryKindCount) SetInactive ¶
func (s *MemoryKindCount) SetInactive(val int)
SetInactive sets the value of Inactive.
func (*MemoryKindCount) SetKind ¶
func (s *MemoryKindCount) SetKind(val string)
SetKind sets the value of Kind.
func (*MemoryKindCount) SetTotal ¶
func (s *MemoryKindCount) SetTotal(val int)
SetTotal sets the value of Total.
func (*MemoryKindCount) UnmarshalJSON ¶
func (s *MemoryKindCount) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MemoryKindCount) Validate ¶
func (s *MemoryKindCount) Validate() error
type MemoryMatchedBy ¶
type MemoryMatchedBy string
Ref: #/components/schemas/MemoryMatchedBy
const ( MemoryMatchedByFts MemoryMatchedBy = "fts" MemoryMatchedByVector MemoryMatchedBy = "vector" )
func (MemoryMatchedBy) AllValues ¶
func (MemoryMatchedBy) AllValues() []MemoryMatchedBy
AllValues returns all MemoryMatchedBy values.
func (*MemoryMatchedBy) Decode ¶
func (s *MemoryMatchedBy) Decode(d *jx.Decoder) error
Decode decodes MemoryMatchedBy from json.
func (MemoryMatchedBy) Encode ¶
func (s MemoryMatchedBy) Encode(e *jx.Encoder)
Encode encodes MemoryMatchedBy as json.
func (MemoryMatchedBy) MarshalJSON ¶
func (s MemoryMatchedBy) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (MemoryMatchedBy) MarshalText ¶
func (s MemoryMatchedBy) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*MemoryMatchedBy) UnmarshalJSON ¶
func (s *MemoryMatchedBy) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MemoryMatchedBy) UnmarshalText ¶
func (s *MemoryMatchedBy) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (MemoryMatchedBy) Validate ¶
func (s MemoryMatchedBy) Validate() error
type MemoryMutationResponse ¶
type MemoryMutationResponse struct {
Memory ArtifactReference `json:"memory"`
Entry OptNilMemoryEntry `json:"entry"`
}
Ref: #/components/schemas/MemoryMutationResponse
func (*MemoryMutationResponse) Decode ¶
func (s *MemoryMutationResponse) Decode(d *jx.Decoder) error
Decode decodes MemoryMutationResponse from json.
func (*MemoryMutationResponse) Encode ¶
func (s *MemoryMutationResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MemoryMutationResponse) GetEntry ¶
func (s *MemoryMutationResponse) GetEntry() OptNilMemoryEntry
GetEntry returns the value of Entry.
func (*MemoryMutationResponse) GetMemory ¶
func (s *MemoryMutationResponse) GetMemory() ArtifactReference
GetMemory returns the value of Memory.
func (*MemoryMutationResponse) MarshalJSON ¶
func (s *MemoryMutationResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MemoryMutationResponse) SetEntry ¶
func (s *MemoryMutationResponse) SetEntry(val OptNilMemoryEntry)
SetEntry sets the value of Entry.
func (*MemoryMutationResponse) SetMemory ¶
func (s *MemoryMutationResponse) SetMemory(val ArtifactReference)
SetMemory sets the value of Memory.
func (*MemoryMutationResponse) UnmarshalJSON ¶
func (s *MemoryMutationResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MemoryMutationResponse) Validate ¶
func (s *MemoryMutationResponse) Validate() error
type MemoryMutationResponseHeaders ¶
type MemoryMutationResponseHeaders struct {
XPowerContextRequestID OptString
Response MemoryMutationResponse
}
MemoryMutationResponseHeaders wraps MemoryMutationResponse with response headers.
func (*MemoryMutationResponseHeaders) GetResponse ¶
func (s *MemoryMutationResponseHeaders) GetResponse() MemoryMutationResponse
GetResponse returns the value of Response.
func (*MemoryMutationResponseHeaders) GetXPowerContextRequestID ¶
func (s *MemoryMutationResponseHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*MemoryMutationResponseHeaders) SetResponse ¶
func (s *MemoryMutationResponseHeaders) SetResponse(val MemoryMutationResponse)
SetResponse sets the value of Response.
func (*MemoryMutationResponseHeaders) SetXPowerContextRequestID ¶
func (s *MemoryMutationResponseHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*MemoryMutationResponseHeaders) Validate ¶
func (s *MemoryMutationResponseHeaders) Validate() error
type MemoryRevisionChanges ¶
type MemoryRevisionChanges struct {
MemoryRef ArtifactReference `json:"memory_ref"`
Changes []EntryChange `json:"changes"`
}
Ref: #/components/schemas/MemoryRevisionChanges
func (*MemoryRevisionChanges) Decode ¶
func (s *MemoryRevisionChanges) Decode(d *jx.Decoder) error
Decode decodes MemoryRevisionChanges from json.
func (*MemoryRevisionChanges) Encode ¶
func (s *MemoryRevisionChanges) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MemoryRevisionChanges) GetChanges ¶
func (s *MemoryRevisionChanges) GetChanges() []EntryChange
GetChanges returns the value of Changes.
func (*MemoryRevisionChanges) GetMemoryRef ¶
func (s *MemoryRevisionChanges) GetMemoryRef() ArtifactReference
GetMemoryRef returns the value of MemoryRef.
func (*MemoryRevisionChanges) MarshalJSON ¶
func (s *MemoryRevisionChanges) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MemoryRevisionChanges) SetChanges ¶
func (s *MemoryRevisionChanges) SetChanges(val []EntryChange)
SetChanges sets the value of Changes.
func (*MemoryRevisionChanges) SetMemoryRef ¶
func (s *MemoryRevisionChanges) SetMemoryRef(val ArtifactReference)
SetMemoryRef sets the value of MemoryRef.
func (*MemoryRevisionChanges) UnmarshalJSON ¶
func (s *MemoryRevisionChanges) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MemoryRevisionChanges) Validate ¶
func (s *MemoryRevisionChanges) Validate() error
type MemorySearchMode ¶
type MemorySearchMode string
Ref: #/components/schemas/MemorySearchMode
const ( MemorySearchModeAuto MemorySearchMode = "auto" MemorySearchModeFts MemorySearchMode = "fts" MemorySearchModeVector MemorySearchMode = "vector" MemorySearchModeHybrid MemorySearchMode = "hybrid" )
func (MemorySearchMode) AllValues ¶
func (MemorySearchMode) AllValues() []MemorySearchMode
AllValues returns all MemorySearchMode values.
func (*MemorySearchMode) Decode ¶
func (s *MemorySearchMode) Decode(d *jx.Decoder) error
Decode decodes MemorySearchMode from json.
func (MemorySearchMode) Encode ¶
func (s MemorySearchMode) Encode(e *jx.Encoder)
Encode encodes MemorySearchMode as json.
func (MemorySearchMode) MarshalJSON ¶
func (s MemorySearchMode) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (MemorySearchMode) MarshalText ¶
func (s MemorySearchMode) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*MemorySearchMode) UnmarshalJSON ¶
func (s *MemorySearchMode) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MemorySearchMode) UnmarshalText ¶
func (s *MemorySearchMode) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (MemorySearchMode) Validate ¶
func (s MemorySearchMode) Validate() error
type MemoryUsedSearchMode ¶
type MemoryUsedSearchMode string
Ref: #/components/schemas/MemoryUsedSearchMode
const ( MemoryUsedSearchModeFts MemoryUsedSearchMode = "fts" MemoryUsedSearchModeVector MemoryUsedSearchMode = "vector" MemoryUsedSearchModeHybrid MemoryUsedSearchMode = "hybrid" )
func (MemoryUsedSearchMode) AllValues ¶
func (MemoryUsedSearchMode) AllValues() []MemoryUsedSearchMode
AllValues returns all MemoryUsedSearchMode values.
func (*MemoryUsedSearchMode) Decode ¶
func (s *MemoryUsedSearchMode) Decode(d *jx.Decoder) error
Decode decodes MemoryUsedSearchMode from json.
func (MemoryUsedSearchMode) Encode ¶
func (s MemoryUsedSearchMode) Encode(e *jx.Encoder)
Encode encodes MemoryUsedSearchMode as json.
func (MemoryUsedSearchMode) MarshalJSON ¶
func (s MemoryUsedSearchMode) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (MemoryUsedSearchMode) MarshalText ¶
func (s MemoryUsedSearchMode) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*MemoryUsedSearchMode) UnmarshalJSON ¶
func (s *MemoryUsedSearchMode) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MemoryUsedSearchMode) UnmarshalText ¶
func (s *MemoryUsedSearchMode) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (MemoryUsedSearchMode) Validate ¶
func (s MemoryUsedSearchMode) Validate() error
type ModelUsageDay ¶
type ModelUsageDay struct {
Date time.Time `json:"date"`
Generation ModelUsageValue `json:"generation"`
Embedding ModelUsageValue `json:"embedding"`
ByPurpose []ModelUsagePurposeBreakdown `json:"by_purpose"`
}
Ref: #/components/schemas/ModelUsageDay
func (*ModelUsageDay) Decode ¶
func (s *ModelUsageDay) Decode(d *jx.Decoder) error
Decode decodes ModelUsageDay from json.
func (*ModelUsageDay) Encode ¶
func (s *ModelUsageDay) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ModelUsageDay) GetByPurpose ¶
func (s *ModelUsageDay) GetByPurpose() []ModelUsagePurposeBreakdown
GetByPurpose returns the value of ByPurpose.
func (*ModelUsageDay) GetDate ¶
func (s *ModelUsageDay) GetDate() time.Time
GetDate returns the value of Date.
func (*ModelUsageDay) GetEmbedding ¶
func (s *ModelUsageDay) GetEmbedding() ModelUsageValue
GetEmbedding returns the value of Embedding.
func (*ModelUsageDay) GetGeneration ¶
func (s *ModelUsageDay) GetGeneration() ModelUsageValue
GetGeneration returns the value of Generation.
func (*ModelUsageDay) MarshalJSON ¶
func (s *ModelUsageDay) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ModelUsageDay) SetByPurpose ¶
func (s *ModelUsageDay) SetByPurpose(val []ModelUsagePurposeBreakdown)
SetByPurpose sets the value of ByPurpose.
func (*ModelUsageDay) SetDate ¶
func (s *ModelUsageDay) SetDate(val time.Time)
SetDate sets the value of Date.
func (*ModelUsageDay) SetEmbedding ¶
func (s *ModelUsageDay) SetEmbedding(val ModelUsageValue)
SetEmbedding sets the value of Embedding.
func (*ModelUsageDay) SetGeneration ¶
func (s *ModelUsageDay) SetGeneration(val ModelUsageValue)
SetGeneration sets the value of Generation.
func (*ModelUsageDay) UnmarshalJSON ¶
func (s *ModelUsageDay) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ModelUsageDay) Validate ¶
func (s *ModelUsageDay) Validate() error
type ModelUsagePurposeBreakdown ¶
type ModelUsagePurposeBreakdown struct {
Purpose string `json:"purpose"`
Generation ModelUsageValue `json:"generation"`
Embedding ModelUsageValue `json:"embedding"`
}
Ref: #/components/schemas/ModelUsagePurposeBreakdown
func (*ModelUsagePurposeBreakdown) Decode ¶
func (s *ModelUsagePurposeBreakdown) Decode(d *jx.Decoder) error
Decode decodes ModelUsagePurposeBreakdown from json.
func (*ModelUsagePurposeBreakdown) Encode ¶
func (s *ModelUsagePurposeBreakdown) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ModelUsagePurposeBreakdown) GetEmbedding ¶
func (s *ModelUsagePurposeBreakdown) GetEmbedding() ModelUsageValue
GetEmbedding returns the value of Embedding.
func (*ModelUsagePurposeBreakdown) GetGeneration ¶
func (s *ModelUsagePurposeBreakdown) GetGeneration() ModelUsageValue
GetGeneration returns the value of Generation.
func (*ModelUsagePurposeBreakdown) GetPurpose ¶
func (s *ModelUsagePurposeBreakdown) GetPurpose() string
GetPurpose returns the value of Purpose.
func (*ModelUsagePurposeBreakdown) MarshalJSON ¶
func (s *ModelUsagePurposeBreakdown) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ModelUsagePurposeBreakdown) SetEmbedding ¶
func (s *ModelUsagePurposeBreakdown) SetEmbedding(val ModelUsageValue)
SetEmbedding sets the value of Embedding.
func (*ModelUsagePurposeBreakdown) SetGeneration ¶
func (s *ModelUsagePurposeBreakdown) SetGeneration(val ModelUsageValue)
SetGeneration sets the value of Generation.
func (*ModelUsagePurposeBreakdown) SetPurpose ¶
func (s *ModelUsagePurposeBreakdown) SetPurpose(val string)
SetPurpose sets the value of Purpose.
func (*ModelUsagePurposeBreakdown) UnmarshalJSON ¶
func (s *ModelUsagePurposeBreakdown) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ModelUsagePurposeBreakdown) Validate ¶
func (s *ModelUsagePurposeBreakdown) Validate() error
type ModelUsageStatistics ¶
type ModelUsageStatistics struct {
Generation ModelUsageValue `json:"generation"`
Embedding ModelUsageValue `json:"embedding"`
}
Ref: #/components/schemas/ModelUsageStatistics
func (*ModelUsageStatistics) Decode ¶
func (s *ModelUsageStatistics) Decode(d *jx.Decoder) error
Decode decodes ModelUsageStatistics from json.
func (*ModelUsageStatistics) Encode ¶
func (s *ModelUsageStatistics) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ModelUsageStatistics) GetEmbedding ¶
func (s *ModelUsageStatistics) GetEmbedding() ModelUsageValue
GetEmbedding returns the value of Embedding.
func (*ModelUsageStatistics) GetGeneration ¶
func (s *ModelUsageStatistics) GetGeneration() ModelUsageValue
GetGeneration returns the value of Generation.
func (*ModelUsageStatistics) MarshalJSON ¶
func (s *ModelUsageStatistics) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ModelUsageStatistics) SetEmbedding ¶
func (s *ModelUsageStatistics) SetEmbedding(val ModelUsageValue)
SetEmbedding sets the value of Embedding.
func (*ModelUsageStatistics) SetGeneration ¶
func (s *ModelUsageStatistics) SetGeneration(val ModelUsageValue)
SetGeneration sets the value of Generation.
func (*ModelUsageStatistics) UnmarshalJSON ¶
func (s *ModelUsageStatistics) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ModelUsageStatistics) Validate ¶
func (s *ModelUsageStatistics) Validate() error
type ModelUsageValue ¶
type ModelUsageValue struct {
Requests int `json:"requests"`
InputTokens NilInt `json:"input_tokens"`
OutputTokens NilInt `json:"output_tokens"`
}
Ref: #/components/schemas/ModelUsageValue
func (*ModelUsageValue) Decode ¶
func (s *ModelUsageValue) Decode(d *jx.Decoder) error
Decode decodes ModelUsageValue from json.
func (*ModelUsageValue) Encode ¶
func (s *ModelUsageValue) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ModelUsageValue) GetInputTokens ¶
func (s *ModelUsageValue) GetInputTokens() NilInt
GetInputTokens returns the value of InputTokens.
func (*ModelUsageValue) GetOutputTokens ¶
func (s *ModelUsageValue) GetOutputTokens() NilInt
GetOutputTokens returns the value of OutputTokens.
func (*ModelUsageValue) GetRequests ¶
func (s *ModelUsageValue) GetRequests() int
GetRequests returns the value of Requests.
func (*ModelUsageValue) MarshalJSON ¶
func (s *ModelUsageValue) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ModelUsageValue) SetInputTokens ¶
func (s *ModelUsageValue) SetInputTokens(val NilInt)
SetInputTokens sets the value of InputTokens.
func (*ModelUsageValue) SetOutputTokens ¶
func (s *ModelUsageValue) SetOutputTokens(val NilInt)
SetOutputTokens sets the value of OutputTokens.
func (*ModelUsageValue) SetRequests ¶
func (s *ModelUsageValue) SetRequests(val int)
SetRequests sets the value of Requests.
func (*ModelUsageValue) UnmarshalJSON ¶
func (s *ModelUsageValue) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ModelUsageValue) Validate ¶
func (s *ModelUsageValue) Validate() error
type NilArtifactCandidate ¶
type NilArtifactCandidate struct {
Value ArtifactCandidate
Null bool
}
NilArtifactCandidate is nullable ArtifactCandidate.
func NewNilArtifactCandidate ¶
func NewNilArtifactCandidate(v ArtifactCandidate) NilArtifactCandidate
NewNilArtifactCandidate returns new NilArtifactCandidate with value set to v.
func (*NilArtifactCandidate) Decode ¶
func (o *NilArtifactCandidate) Decode(d *jx.Decoder) error
Decode decodes ArtifactCandidate from json.
func (NilArtifactCandidate) Encode ¶
func (o NilArtifactCandidate) Encode(e *jx.Encoder)
Encode encodes ArtifactCandidate as json.
func (NilArtifactCandidate) Get ¶
func (o NilArtifactCandidate) Get() (v ArtifactCandidate, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilArtifactCandidate) IsNull ¶
func (o NilArtifactCandidate) IsNull() bool
IsNull returns true if value is Null.
func (NilArtifactCandidate) MarshalJSON ¶
func (s NilArtifactCandidate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilArtifactCandidate) Or ¶
func (o NilArtifactCandidate) Or(d ArtifactCandidate) ArtifactCandidate
Or returns value if set, or given parameter if does not.
func (*NilArtifactCandidate) SetTo ¶
func (o *NilArtifactCandidate) SetTo(v ArtifactCandidate)
SetTo sets value to v.
func (*NilArtifactCandidate) SetToNull ¶
func (o *NilArtifactCandidate) SetToNull()
SetToNull sets value to null.
func (*NilArtifactCandidate) UnmarshalJSON ¶
func (s *NilArtifactCandidate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilArtifactReference ¶
type NilArtifactReference struct {
Value ArtifactReference
Null bool
}
NilArtifactReference is nullable ArtifactReference.
func NewNilArtifactReference ¶
func NewNilArtifactReference(v ArtifactReference) NilArtifactReference
NewNilArtifactReference returns new NilArtifactReference with value set to v.
func (*NilArtifactReference) Decode ¶
func (o *NilArtifactReference) Decode(d *jx.Decoder) error
Decode decodes ArtifactReference from json.
func (NilArtifactReference) Encode ¶
func (o NilArtifactReference) Encode(e *jx.Encoder)
Encode encodes ArtifactReference as json.
func (NilArtifactReference) Get ¶
func (o NilArtifactReference) Get() (v ArtifactReference, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilArtifactReference) IsNull ¶
func (o NilArtifactReference) IsNull() bool
IsNull returns true if value is Null.
func (NilArtifactReference) MarshalJSON ¶
func (s NilArtifactReference) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilArtifactReference) Or ¶
func (o NilArtifactReference) Or(d ArtifactReference) ArtifactReference
Or returns value if set, or given parameter if does not.
func (*NilArtifactReference) SetTo ¶
func (o *NilArtifactReference) SetTo(v ArtifactReference)
SetTo sets value to v.
func (*NilArtifactReference) SetToNull ¶
func (o *NilArtifactReference) SetToNull()
SetToNull sets value to null.
func (*NilArtifactReference) UnmarshalJSON ¶
func (s *NilArtifactReference) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilDateTime ¶
NilDateTime is nullable time.Time.
func NewNilDateTime ¶
func NewNilDateTime(v time.Time) NilDateTime
NewNilDateTime returns new NilDateTime with value set to v.
func (NilDateTime) Get ¶
func (o NilDateTime) Get() (v time.Time, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilDateTime) IsNull ¶
func (o NilDateTime) IsNull() bool
IsNull returns true if value is Null.
func (NilDateTime) MarshalJSON ¶
func (s NilDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilDateTime) Or ¶
func (o NilDateTime) Or(d time.Time) time.Time
Or returns value if set, or given parameter if does not.
func (*NilDateTime) UnmarshalJSON ¶
func (s *NilDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilErrorDetailDetails ¶
type NilErrorDetailDetails struct {
Value ErrorDetailDetails
Null bool
}
NilErrorDetailDetails is nullable ErrorDetailDetails.
func NewNilErrorDetailDetails ¶
func NewNilErrorDetailDetails(v ErrorDetailDetails) NilErrorDetailDetails
NewNilErrorDetailDetails returns new NilErrorDetailDetails with value set to v.
func (*NilErrorDetailDetails) Decode ¶
func (o *NilErrorDetailDetails) Decode(d *jx.Decoder) error
Decode decodes ErrorDetailDetails from json.
func (NilErrorDetailDetails) Encode ¶
func (o NilErrorDetailDetails) Encode(e *jx.Encoder)
Encode encodes ErrorDetailDetails as json.
func (NilErrorDetailDetails) Get ¶
func (o NilErrorDetailDetails) Get() (v ErrorDetailDetails, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilErrorDetailDetails) IsNull ¶
func (o NilErrorDetailDetails) IsNull() bool
IsNull returns true if value is Null.
func (NilErrorDetailDetails) MarshalJSON ¶
func (s NilErrorDetailDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilErrorDetailDetails) Or ¶
func (o NilErrorDetailDetails) Or(d ErrorDetailDetails) ErrorDetailDetails
Or returns value if set, or given parameter if does not.
func (*NilErrorDetailDetails) SetTo ¶
func (o *NilErrorDetailDetails) SetTo(v ErrorDetailDetails)
SetTo sets value to v.
func (*NilErrorDetailDetails) SetToNull ¶
func (o *NilErrorDetailDetails) SetToNull()
SetToNull sets value to null.
func (*NilErrorDetailDetails) UnmarshalJSON ¶
func (s *NilErrorDetailDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilHandoffCitation ¶
type NilHandoffCitation struct {
Value HandoffCitation
Null bool
}
NilHandoffCitation is nullable HandoffCitation.
func NewNilHandoffCitation ¶
func NewNilHandoffCitation(v HandoffCitation) NilHandoffCitation
NewNilHandoffCitation returns new NilHandoffCitation with value set to v.
func (*NilHandoffCitation) Decode ¶
func (o *NilHandoffCitation) Decode(d *jx.Decoder) error
Decode decodes HandoffCitation from json.
func (NilHandoffCitation) Encode ¶
func (o NilHandoffCitation) Encode(e *jx.Encoder)
Encode encodes HandoffCitation as json.
func (NilHandoffCitation) Get ¶
func (o NilHandoffCitation) Get() (v HandoffCitation, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilHandoffCitation) IsNull ¶
func (o NilHandoffCitation) IsNull() bool
IsNull returns true if value is Null.
func (NilHandoffCitation) MarshalJSON ¶
func (s NilHandoffCitation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilHandoffCitation) Or ¶
func (o NilHandoffCitation) Or(d HandoffCitation) HandoffCitation
Or returns value if set, or given parameter if does not.
func (*NilHandoffCitation) SetTo ¶
func (o *NilHandoffCitation) SetTo(v HandoffCitation)
SetTo sets value to v.
func (*NilHandoffCitation) SetToNull ¶
func (o *NilHandoffCitation) SetToNull()
SetToNull sets value to null.
func (*NilHandoffCitation) UnmarshalJSON ¶
func (s *NilHandoffCitation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilHandoffContent ¶
type NilHandoffContent struct {
Value HandoffContent
Null bool
}
NilHandoffContent is nullable HandoffContent.
func NewNilHandoffContent ¶
func NewNilHandoffContent(v HandoffContent) NilHandoffContent
NewNilHandoffContent returns new NilHandoffContent with value set to v.
func (*NilHandoffContent) Decode ¶
func (o *NilHandoffContent) Decode(d *jx.Decoder) error
Decode decodes HandoffContent from json.
func (NilHandoffContent) Encode ¶
func (o NilHandoffContent) Encode(e *jx.Encoder)
Encode encodes HandoffContent as json.
func (NilHandoffContent) Get ¶
func (o NilHandoffContent) Get() (v HandoffContent, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilHandoffContent) IsNull ¶
func (o NilHandoffContent) IsNull() bool
IsNull returns true if value is Null.
func (NilHandoffContent) MarshalJSON ¶
func (s NilHandoffContent) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilHandoffContent) Or ¶
func (o NilHandoffContent) Or(d HandoffContent) HandoffContent
Or returns value if set, or given parameter if does not.
func (*NilHandoffContent) SetTo ¶
func (o *NilHandoffContent) SetTo(v HandoffContent)
SetTo sets value to v.
func (*NilHandoffContent) SetToNull ¶
func (o *NilHandoffContent) SetToNull()
SetToNull sets value to null.
func (*NilHandoffContent) UnmarshalJSON ¶
func (s *NilHandoffContent) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilHandoffDraft ¶
type NilHandoffDraft struct {
Value HandoffDraft
Null bool
}
NilHandoffDraft is nullable HandoffDraft.
func NewNilHandoffDraft ¶
func NewNilHandoffDraft(v HandoffDraft) NilHandoffDraft
NewNilHandoffDraft returns new NilHandoffDraft with value set to v.
func (*NilHandoffDraft) Decode ¶
func (o *NilHandoffDraft) Decode(d *jx.Decoder) error
Decode decodes HandoffDraft from json.
func (NilHandoffDraft) Encode ¶
func (o NilHandoffDraft) Encode(e *jx.Encoder)
Encode encodes HandoffDraft as json.
func (NilHandoffDraft) Get ¶
func (o NilHandoffDraft) Get() (v HandoffDraft, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilHandoffDraft) IsNull ¶
func (o NilHandoffDraft) IsNull() bool
IsNull returns true if value is Null.
func (NilHandoffDraft) MarshalJSON ¶
func (s NilHandoffDraft) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilHandoffDraft) Or ¶
func (o NilHandoffDraft) Or(d HandoffDraft) HandoffDraft
Or returns value if set, or given parameter if does not.
func (*NilHandoffDraft) SetTo ¶
func (o *NilHandoffDraft) SetTo(v HandoffDraft)
SetTo sets value to v.
func (*NilHandoffDraft) SetToNull ¶
func (o *NilHandoffDraft) SetToNull()
SetToNull sets value to null.
func (*NilHandoffDraft) UnmarshalJSON ¶
func (s *NilHandoffDraft) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilHandoffReportActivityAgent ¶
type NilHandoffReportActivityAgent struct {
Value HandoffReportActivityAgent
Null bool
}
NilHandoffReportActivityAgent is nullable HandoffReportActivityAgent.
func NewNilHandoffReportActivityAgent ¶
func NewNilHandoffReportActivityAgent(v HandoffReportActivityAgent) NilHandoffReportActivityAgent
NewNilHandoffReportActivityAgent returns new NilHandoffReportActivityAgent with value set to v.
func (*NilHandoffReportActivityAgent) Decode ¶
func (o *NilHandoffReportActivityAgent) Decode(d *jx.Decoder) error
Decode decodes HandoffReportActivityAgent from json.
func (NilHandoffReportActivityAgent) Encode ¶
func (o NilHandoffReportActivityAgent) Encode(e *jx.Encoder)
Encode encodes HandoffReportActivityAgent as json.
func (NilHandoffReportActivityAgent) Get ¶
func (o NilHandoffReportActivityAgent) Get() (v HandoffReportActivityAgent, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilHandoffReportActivityAgent) IsNull ¶
func (o NilHandoffReportActivityAgent) IsNull() bool
IsNull returns true if value is Null.
func (NilHandoffReportActivityAgent) MarshalJSON ¶
func (s NilHandoffReportActivityAgent) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NilHandoffReportActivityAgent) SetTo ¶
func (o *NilHandoffReportActivityAgent) SetTo(v HandoffReportActivityAgent)
SetTo sets value to v.
func (*NilHandoffReportActivityAgent) SetToNull ¶
func (o *NilHandoffReportActivityAgent) SetToNull()
SetToNull sets value to null.
func (*NilHandoffReportActivityAgent) UnmarshalJSON ¶
func (s *NilHandoffReportActivityAgent) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilHandoffReportActivityVcsContext ¶
type NilHandoffReportActivityVcsContext struct {
Value HandoffReportActivityVcsContext
Null bool
}
NilHandoffReportActivityVcsContext is nullable HandoffReportActivityVcsContext.
func NewNilHandoffReportActivityVcsContext ¶
func NewNilHandoffReportActivityVcsContext(v HandoffReportActivityVcsContext) NilHandoffReportActivityVcsContext
NewNilHandoffReportActivityVcsContext returns new NilHandoffReportActivityVcsContext with value set to v.
func (*NilHandoffReportActivityVcsContext) Decode ¶
func (o *NilHandoffReportActivityVcsContext) Decode(d *jx.Decoder) error
Decode decodes HandoffReportActivityVcsContext from json.
func (NilHandoffReportActivityVcsContext) Encode ¶
func (o NilHandoffReportActivityVcsContext) Encode(e *jx.Encoder)
Encode encodes HandoffReportActivityVcsContext as json.
func (NilHandoffReportActivityVcsContext) Get ¶
func (o NilHandoffReportActivityVcsContext) Get() (v HandoffReportActivityVcsContext, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilHandoffReportActivityVcsContext) IsNull ¶
func (o NilHandoffReportActivityVcsContext) IsNull() bool
IsNull returns true if value is Null.
func (NilHandoffReportActivityVcsContext) MarshalJSON ¶
func (s NilHandoffReportActivityVcsContext) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilHandoffReportActivityVcsContext) Or ¶
func (o NilHandoffReportActivityVcsContext) Or(d HandoffReportActivityVcsContext) HandoffReportActivityVcsContext
Or returns value if set, or given parameter if does not.
func (*NilHandoffReportActivityVcsContext) SetTo ¶
func (o *NilHandoffReportActivityVcsContext) SetTo(v HandoffReportActivityVcsContext)
SetTo sets value to v.
func (*NilHandoffReportActivityVcsContext) SetToNull ¶
func (o *NilHandoffReportActivityVcsContext) SetToNull()
SetToNull sets value to null.
func (*NilHandoffReportActivityVcsContext) UnmarshalJSON ¶
func (s *NilHandoffReportActivityVcsContext) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilHandoffReportExternalReference ¶
type NilHandoffReportExternalReference struct {
Value HandoffReportExternalReference
Null bool
}
NilHandoffReportExternalReference is nullable HandoffReportExternalReference.
func NewNilHandoffReportExternalReference ¶
func NewNilHandoffReportExternalReference(v HandoffReportExternalReference) NilHandoffReportExternalReference
NewNilHandoffReportExternalReference returns new NilHandoffReportExternalReference with value set to v.
func (*NilHandoffReportExternalReference) Decode ¶
func (o *NilHandoffReportExternalReference) Decode(d *jx.Decoder) error
Decode decodes HandoffReportExternalReference from json.
func (NilHandoffReportExternalReference) Encode ¶
func (o NilHandoffReportExternalReference) Encode(e *jx.Encoder)
Encode encodes HandoffReportExternalReference as json.
func (NilHandoffReportExternalReference) Get ¶
func (o NilHandoffReportExternalReference) Get() (v HandoffReportExternalReference, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilHandoffReportExternalReference) IsNull ¶
func (o NilHandoffReportExternalReference) IsNull() bool
IsNull returns true if value is Null.
func (NilHandoffReportExternalReference) MarshalJSON ¶
func (s NilHandoffReportExternalReference) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilHandoffReportExternalReference) Or ¶
func (o NilHandoffReportExternalReference) Or(d HandoffReportExternalReference) HandoffReportExternalReference
Or returns value if set, or given parameter if does not.
func (*NilHandoffReportExternalReference) SetTo ¶
func (o *NilHandoffReportExternalReference) SetTo(v HandoffReportExternalReference)
SetTo sets value to v.
func (*NilHandoffReportExternalReference) SetToNull ¶
func (o *NilHandoffReportExternalReference) SetToNull()
SetToNull sets value to null.
func (*NilHandoffReportExternalReference) UnmarshalJSON ¶
func (s *NilHandoffReportExternalReference) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilHandoffReportResponseReport ¶
type NilHandoffReportResponseReport struct {
Value HandoffReportResponseReport
Null bool
}
NilHandoffReportResponseReport is nullable HandoffReportResponseReport.
func NewNilHandoffReportResponseReport ¶
func NewNilHandoffReportResponseReport(v HandoffReportResponseReport) NilHandoffReportResponseReport
NewNilHandoffReportResponseReport returns new NilHandoffReportResponseReport with value set to v.
func (*NilHandoffReportResponseReport) Decode ¶
func (o *NilHandoffReportResponseReport) Decode(d *jx.Decoder) error
Decode decodes HandoffReportResponseReport from json.
func (NilHandoffReportResponseReport) Encode ¶
func (o NilHandoffReportResponseReport) Encode(e *jx.Encoder)
Encode encodes HandoffReportResponseReport as json.
func (NilHandoffReportResponseReport) Get ¶
func (o NilHandoffReportResponseReport) Get() (v HandoffReportResponseReport, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilHandoffReportResponseReport) IsNull ¶
func (o NilHandoffReportResponseReport) IsNull() bool
IsNull returns true if value is Null.
func (NilHandoffReportResponseReport) MarshalJSON ¶
func (s NilHandoffReportResponseReport) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilHandoffReportResponseReport) Or ¶
func (o NilHandoffReportResponseReport) Or(d HandoffReportResponseReport) HandoffReportResponseReport
Or returns value if set, or given parameter if does not.
func (*NilHandoffReportResponseReport) SetTo ¶
func (o *NilHandoffReportResponseReport) SetTo(v HandoffReportResponseReport)
SetTo sets value to v.
func (*NilHandoffReportResponseReport) SetToNull ¶
func (o *NilHandoffReportResponseReport) SetToNull()
SetToNull sets value to null.
func (*NilHandoffReportResponseReport) UnmarshalJSON ¶
func (s *NilHandoffReportResponseReport) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilHandoffSelection ¶
type NilHandoffSelection struct {
Value HandoffSelection
Null bool
}
NilHandoffSelection is nullable HandoffSelection.
func NewNilHandoffSelection ¶
func NewNilHandoffSelection(v HandoffSelection) NilHandoffSelection
NewNilHandoffSelection returns new NilHandoffSelection with value set to v.
func (*NilHandoffSelection) Decode ¶
func (o *NilHandoffSelection) Decode(d *jx.Decoder) error
Decode decodes HandoffSelection from json.
func (NilHandoffSelection) Encode ¶
func (o NilHandoffSelection) Encode(e *jx.Encoder)
Encode encodes HandoffSelection as json.
func (NilHandoffSelection) Get ¶
func (o NilHandoffSelection) Get() (v HandoffSelection, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilHandoffSelection) IsNull ¶
func (o NilHandoffSelection) IsNull() bool
IsNull returns true if value is Null.
func (NilHandoffSelection) MarshalJSON ¶
func (s NilHandoffSelection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilHandoffSelection) Or ¶
func (o NilHandoffSelection) Or(d HandoffSelection) HandoffSelection
Or returns value if set, or given parameter if does not.
func (*NilHandoffSelection) SetTo ¶
func (o *NilHandoffSelection) SetTo(v HandoffSelection)
SetTo sets value to v.
func (*NilHandoffSelection) SetToNull ¶
func (o *NilHandoffSelection) SetToNull()
SetToNull sets value to null.
func (*NilHandoffSelection) UnmarshalJSON ¶
func (s *NilHandoffSelection) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilHandoffStatement ¶
type NilHandoffStatement struct {
Value HandoffStatement
Null bool
}
NilHandoffStatement is nullable HandoffStatement.
func NewNilHandoffStatement ¶
func NewNilHandoffStatement(v HandoffStatement) NilHandoffStatement
NewNilHandoffStatement returns new NilHandoffStatement with value set to v.
func (*NilHandoffStatement) Decode ¶
func (o *NilHandoffStatement) Decode(d *jx.Decoder) error
Decode decodes HandoffStatement from json.
func (NilHandoffStatement) Encode ¶
func (o NilHandoffStatement) Encode(e *jx.Encoder)
Encode encodes HandoffStatement as json.
func (NilHandoffStatement) Get ¶
func (o NilHandoffStatement) Get() (v HandoffStatement, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilHandoffStatement) IsNull ¶
func (o NilHandoffStatement) IsNull() bool
IsNull returns true if value is Null.
func (NilHandoffStatement) MarshalJSON ¶
func (s NilHandoffStatement) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilHandoffStatement) Or ¶
func (o NilHandoffStatement) Or(d HandoffStatement) HandoffStatement
Or returns value if set, or given parameter if does not.
func (*NilHandoffStatement) SetTo ¶
func (o *NilHandoffStatement) SetTo(v HandoffStatement)
SetTo sets value to v.
func (*NilHandoffStatement) SetToNull ¶
func (o *NilHandoffStatement) SetToNull()
SetToNull sets value to null.
func (*NilHandoffStatement) UnmarshalJSON ¶
func (s *NilHandoffStatement) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilInt ¶
NilInt is nullable int.
func (NilInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NilInt) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type NilString ¶
NilString is nullable string.
func NewNilString ¶
NewNilString returns new NilString with value set to v.
func (NilString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NilString) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type NilTokenEstimatorProfile ¶
type NilTokenEstimatorProfile struct {
Value TokenEstimatorProfile
Null bool
}
NilTokenEstimatorProfile is nullable TokenEstimatorProfile.
func NewNilTokenEstimatorProfile ¶
func NewNilTokenEstimatorProfile(v TokenEstimatorProfile) NilTokenEstimatorProfile
NewNilTokenEstimatorProfile returns new NilTokenEstimatorProfile with value set to v.
func (*NilTokenEstimatorProfile) Decode ¶
func (o *NilTokenEstimatorProfile) Decode(d *jx.Decoder) error
Decode decodes TokenEstimatorProfile from json.
func (NilTokenEstimatorProfile) Encode ¶
func (o NilTokenEstimatorProfile) Encode(e *jx.Encoder)
Encode encodes TokenEstimatorProfile as json.
func (NilTokenEstimatorProfile) Get ¶
func (o NilTokenEstimatorProfile) Get() (v TokenEstimatorProfile, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilTokenEstimatorProfile) IsNull ¶
func (o NilTokenEstimatorProfile) IsNull() bool
IsNull returns true if value is Null.
func (NilTokenEstimatorProfile) MarshalJSON ¶
func (s NilTokenEstimatorProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilTokenEstimatorProfile) Or ¶
func (o NilTokenEstimatorProfile) Or(d TokenEstimatorProfile) TokenEstimatorProfile
Or returns value if set, or given parameter if does not.
func (*NilTokenEstimatorProfile) SetTo ¶
func (o *NilTokenEstimatorProfile) SetTo(v TokenEstimatorProfile)
SetTo sets value to v.
func (*NilTokenEstimatorProfile) SetToNull ¶
func (o *NilTokenEstimatorProfile) SetToNull()
SetToNull sets value to null.
func (*NilTokenEstimatorProfile) UnmarshalJSON ¶
func (s *NilTokenEstimatorProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilWorkClaim ¶
NilWorkClaim is nullable WorkClaim.
func NewNilWorkClaim ¶
func NewNilWorkClaim(v WorkClaim) NilWorkClaim
NewNilWorkClaim returns new NilWorkClaim with value set to v.
func (*NilWorkClaim) Decode ¶
func (o *NilWorkClaim) Decode(d *jx.Decoder) error
Decode decodes WorkClaim from json.
func (NilWorkClaim) Encode ¶
func (o NilWorkClaim) Encode(e *jx.Encoder)
Encode encodes WorkClaim as json.
func (NilWorkClaim) Get ¶
func (o NilWorkClaim) Get() (v WorkClaim, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilWorkClaim) IsNull ¶
func (o NilWorkClaim) IsNull() bool
IsNull returns true if value is Null.
func (NilWorkClaim) MarshalJSON ¶
func (s NilWorkClaim) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilWorkClaim) Or ¶
func (o NilWorkClaim) Or(d WorkClaim) WorkClaim
Or returns value if set, or given parameter if does not.
func (*NilWorkClaim) UnmarshalJSON ¶
func (s *NilWorkClaim) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NotFoundHeaders ¶
type NotFoundHeaders struct {
XPowerContextRequestID OptString
Response ErrorResponse
}
NotFoundHeaders wraps ErrorResponse with response headers.
func (*NotFoundHeaders) GetResponse ¶
func (s *NotFoundHeaders) GetResponse() ErrorResponse
GetResponse returns the value of Response.
func (*NotFoundHeaders) GetXPowerContextRequestID ¶
func (s *NotFoundHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*NotFoundHeaders) SetResponse ¶
func (s *NotFoundHeaders) SetResponse(val ErrorResponse)
SetResponse sets the value of Response.
func (*NotFoundHeaders) SetXPowerContextRequestID ¶
func (s *NotFoundHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
type OperationName ¶
type OperationName = string
OperationName is the ogen operation name
const ( AcknowledgeHandoffOperation OperationName = "AcknowledgeHandoff" ActivateHandoffOperation OperationName = "ActivateHandoff" ApproveArtifactCandidateOperation OperationName = "ApproveArtifactCandidate" AttachHandoffReportWorkspaceOperation OperationName = "AttachHandoffReportWorkspace" CaptureContentSourceOperation OperationName = "CaptureContentSource" CommitHandoffOperation OperationName = "CommitHandoff" ContinueHandoffOperation OperationName = "ContinueHandoff" CreateHandoffReportProjectOperation OperationName = "CreateHandoffReportProject" CreateWorkContractOperation OperationName = "CreateWorkContract" DetachHandoffReportWorkspaceOperation OperationName = "DetachHandoffReportWorkspace" FinalizeHandoffOperation OperationName = "FinalizeHandoff" FlushMemoryOperation OperationName = "FlushMemory" GenerateExperienceOperation OperationName = "GenerateExperience" GenerateSkillOperation OperationName = "GenerateSkill" GetArtifactCandidateOperation OperationName = "GetArtifactCandidate" GetCapabilitiesOperation OperationName = "GetCapabilities" GetExperienceOperation OperationName = "GetExperience" GetHandoffReportOperation OperationName = "GetHandoffReport" GetHandoffReportProjectOperation OperationName = "GetHandoffReportProject" GetHandoffReportWorkspaceOperation OperationName = "GetHandoffReportWorkspace" GetLivenessOperation OperationName = "GetLiveness" GetMemoryEntryOperation OperationName = "GetMemoryEntry" GetReadinessOperation OperationName = "GetReadiness" GetSkillOperation OperationName = "GetSkill" GetStatsOperation OperationName = "GetStats" HandoffCurrentWorkOperation OperationName = "HandoffCurrentWork" ImportExternalSkillOperation OperationName = "ImportExternalSkill" ListArtifactCandidatesOperation OperationName = "ListArtifactCandidates" ListExternalSkillsOperation OperationName = "ListExternalSkills" ListHandoffReportActivitiesOperation OperationName = "ListHandoffReportActivities" ListHandoffReportKnownScopesOperation OperationName = "ListHandoffReportKnownScopes" ListHandoffReportProjectsOperation OperationName = "ListHandoffReportProjects" ListHandoffReportWorkstreamsOperation OperationName = "ListHandoffReportWorkstreams" ListMemoryChangesOperation OperationName = "ListMemoryChanges" ListMemoryEntriesOperation OperationName = "ListMemoryEntries" PrepareContextOperation OperationName = "PrepareContext" PrepareHandoffOperation OperationName = "PrepareHandoff" ProposeExperienceOperation OperationName = "ProposeExperience" ProposeSkillOperation OperationName = "ProposeSkill" PurgeHandoffReportActivitiesOperation OperationName = "PurgeHandoffReportActivities" RecordHandoffReportActivityOperation OperationName = "RecordHandoffReportActivity" RecordTaskOutcomeOperation OperationName = "RecordTaskOutcome" RegisterHandoffReportWorkstreamOperation OperationName = "RegisterHandoffReportWorkstream" RejectArtifactCandidateOperation OperationName = "RejectArtifactCandidate" RememberMemoryOperation OperationName = "RememberMemory" ResolveExternalSkillOperation OperationName = "ResolveExternalSkill" RetireMemoryEntryOperation OperationName = "RetireMemoryEntry" ReviseArtifactCandidateOperation OperationName = "ReviseArtifactCandidate" ReviseMemoryEntryOperation OperationName = "ReviseMemoryEntry" ScanExternalSkillsOperation OperationName = "ScanExternalSkills" SearchMemoryOperation OperationName = "SearchMemory" UpdateHandoffReportProjectOperation OperationName = "UpdateHandoffReportProject" UpdateHandoffReportWorkstreamOperation OperationName = "UpdateHandoffReportWorkstream" )
type OptBool ¶
OptBool is optional bool.
func NewOptBool ¶
NewOptBool returns new OptBool with value set to v.
func (OptBool) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptBool) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCandidateStatus ¶
type OptCandidateStatus struct {
Value CandidateStatus
Set bool
}
OptCandidateStatus is optional CandidateStatus.
func NewOptCandidateStatus ¶
func NewOptCandidateStatus(v CandidateStatus) OptCandidateStatus
NewOptCandidateStatus returns new OptCandidateStatus with value set to v.
func (*OptCandidateStatus) Decode ¶
func (o *OptCandidateStatus) Decode(d *jx.Decoder) error
Decode decodes CandidateStatus from json.
func (OptCandidateStatus) Encode ¶
func (o OptCandidateStatus) Encode(e *jx.Encoder)
Encode encodes CandidateStatus as json.
func (OptCandidateStatus) Get ¶
func (o OptCandidateStatus) Get() (v CandidateStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCandidateStatus) IsSet ¶
func (o OptCandidateStatus) IsSet() bool
IsSet returns true if OptCandidateStatus was set.
func (OptCandidateStatus) MarshalJSON ¶
func (s OptCandidateStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCandidateStatus) Or ¶
func (o OptCandidateStatus) Or(d CandidateStatus) CandidateStatus
Or returns value if set, or given parameter if does not.
func (*OptCandidateStatus) SetTo ¶
func (o *OptCandidateStatus) SetTo(v CandidateStatus)
SetTo sets value to v.
func (*OptCandidateStatus) UnmarshalJSON ¶
func (s *OptCandidateStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptGetHandoffReportOKCacheControl ¶
type OptGetHandoffReportOKCacheControl struct {
Value GetHandoffReportOKCacheControl
Set bool
}
OptGetHandoffReportOKCacheControl is optional GetHandoffReportOKCacheControl.
func NewOptGetHandoffReportOKCacheControl ¶
func NewOptGetHandoffReportOKCacheControl(v GetHandoffReportOKCacheControl) OptGetHandoffReportOKCacheControl
NewOptGetHandoffReportOKCacheControl returns new OptGetHandoffReportOKCacheControl with value set to v.
func (OptGetHandoffReportOKCacheControl) Get ¶
func (o OptGetHandoffReportOKCacheControl) Get() (v GetHandoffReportOKCacheControl, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGetHandoffReportOKCacheControl) IsSet ¶
func (o OptGetHandoffReportOKCacheControl) IsSet() bool
IsSet returns true if OptGetHandoffReportOKCacheControl was set.
func (OptGetHandoffReportOKCacheControl) Or ¶
func (o OptGetHandoffReportOKCacheControl) Or(d GetHandoffReportOKCacheControl) GetHandoffReportOKCacheControl
Or returns value if set, or given parameter if does not.
func (*OptGetHandoffReportOKCacheControl) Reset ¶
func (o *OptGetHandoffReportOKCacheControl) Reset()
Reset unsets value.
func (*OptGetHandoffReportOKCacheControl) SetTo ¶
func (o *OptGetHandoffReportOKCacheControl) SetTo(v GetHandoffReportOKCacheControl)
SetTo sets value to v.
type OptGetStatsOKCacheControl ¶
type OptGetStatsOKCacheControl struct {
Value GetStatsOKCacheControl
Set bool
}
OptGetStatsOKCacheControl is optional GetStatsOKCacheControl.
func NewOptGetStatsOKCacheControl ¶
func NewOptGetStatsOKCacheControl(v GetStatsOKCacheControl) OptGetStatsOKCacheControl
NewOptGetStatsOKCacheControl returns new OptGetStatsOKCacheControl with value set to v.
func (OptGetStatsOKCacheControl) Get ¶
func (o OptGetStatsOKCacheControl) Get() (v GetStatsOKCacheControl, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGetStatsOKCacheControl) IsSet ¶
func (o OptGetStatsOKCacheControl) IsSet() bool
IsSet returns true if OptGetStatsOKCacheControl was set.
func (*OptGetStatsOKCacheControl) Reset ¶
func (o *OptGetStatsOKCacheControl) Reset()
Reset unsets value.
func (*OptGetStatsOKCacheControl) SetTo ¶
func (o *OptGetStatsOKCacheControl) SetTo(v GetStatsOKCacheControl)
SetTo sets value to v.
type OptInt ¶
OptInt is optional int.
func (OptInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptMemorySearchMode ¶
type OptMemorySearchMode struct {
Value MemorySearchMode
Set bool
}
OptMemorySearchMode is optional MemorySearchMode.
func NewOptMemorySearchMode ¶
func NewOptMemorySearchMode(v MemorySearchMode) OptMemorySearchMode
NewOptMemorySearchMode returns new OptMemorySearchMode with value set to v.
func (*OptMemorySearchMode) Decode ¶
func (o *OptMemorySearchMode) Decode(d *jx.Decoder) error
Decode decodes MemorySearchMode from json.
func (OptMemorySearchMode) Encode ¶
func (o OptMemorySearchMode) Encode(e *jx.Encoder)
Encode encodes MemorySearchMode as json.
func (OptMemorySearchMode) Get ¶
func (o OptMemorySearchMode) Get() (v MemorySearchMode, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptMemorySearchMode) IsSet ¶
func (o OptMemorySearchMode) IsSet() bool
IsSet returns true if OptMemorySearchMode was set.
func (OptMemorySearchMode) MarshalJSON ¶
func (s OptMemorySearchMode) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptMemorySearchMode) Or ¶
func (o OptMemorySearchMode) Or(d MemorySearchMode) MemorySearchMode
Or returns value if set, or given parameter if does not.
func (*OptMemorySearchMode) SetTo ¶
func (o *OptMemorySearchMode) SetTo(v MemorySearchMode)
SetTo sets value to v.
func (*OptMemorySearchMode) UnmarshalJSON ¶
func (s *OptMemorySearchMode) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilArtifactReference ¶
type OptNilArtifactReference struct {
Value ArtifactReference
Set bool
Null bool
}
OptNilArtifactReference is optional nullable ArtifactReference.
func NewOptNilArtifactReference ¶
func NewOptNilArtifactReference(v ArtifactReference) OptNilArtifactReference
NewOptNilArtifactReference returns new OptNilArtifactReference with value set to v.
func (*OptNilArtifactReference) Decode ¶
func (o *OptNilArtifactReference) Decode(d *jx.Decoder) error
Decode decodes ArtifactReference from json.
func (OptNilArtifactReference) Encode ¶
func (o OptNilArtifactReference) Encode(e *jx.Encoder)
Encode encodes ArtifactReference as json.
func (OptNilArtifactReference) Get ¶
func (o OptNilArtifactReference) Get() (v ArtifactReference, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilArtifactReference) IsEmpty ¶
func (o OptNilArtifactReference) IsEmpty() bool
IsEmpty returns true if the field was omitted from the payload (not Set and not Null).
func (OptNilArtifactReference) IsNull ¶
func (o OptNilArtifactReference) IsNull() bool
IsNull returns true if value is Null.
func (OptNilArtifactReference) IsSet ¶
func (o OptNilArtifactReference) IsSet() bool
IsSet returns true if OptNilArtifactReference was set.
func (OptNilArtifactReference) MarshalJSON ¶
func (s OptNilArtifactReference) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilArtifactReference) Or ¶
func (o OptNilArtifactReference) Or(d ArtifactReference) ArtifactReference
Or returns value if set, or given parameter if does not.
func (*OptNilArtifactReference) Reset ¶
func (o *OptNilArtifactReference) Reset()
Reset unsets value.
func (*OptNilArtifactReference) SetTo ¶
func (o *OptNilArtifactReference) SetTo(v ArtifactReference)
SetTo sets value to v.
func (*OptNilArtifactReference) SetToNull ¶
func (o *OptNilArtifactReference) SetToNull()
SetToNull sets value to null.
func (*OptNilArtifactReference) UnmarshalJSON ¶
func (s *OptNilArtifactReference) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilCandidateFamily ¶
type OptNilCandidateFamily struct {
Value CandidateFamily
Set bool
Null bool
}
OptNilCandidateFamily is optional nullable CandidateFamily.
func NewOptNilCandidateFamily ¶
func NewOptNilCandidateFamily(v CandidateFamily) OptNilCandidateFamily
NewOptNilCandidateFamily returns new OptNilCandidateFamily with value set to v.
func (*OptNilCandidateFamily) Decode ¶
func (o *OptNilCandidateFamily) Decode(d *jx.Decoder) error
Decode decodes CandidateFamily from json.
func (OptNilCandidateFamily) Encode ¶
func (o OptNilCandidateFamily) Encode(e *jx.Encoder)
Encode encodes CandidateFamily as json.
func (OptNilCandidateFamily) Get ¶
func (o OptNilCandidateFamily) Get() (v CandidateFamily, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilCandidateFamily) IsEmpty ¶
func (o OptNilCandidateFamily) IsEmpty() bool
IsEmpty returns true if the field was omitted from the payload (not Set and not Null).
func (OptNilCandidateFamily) IsNull ¶
func (o OptNilCandidateFamily) IsNull() bool
IsNull returns true if value is Null.
func (OptNilCandidateFamily) IsSet ¶
func (o OptNilCandidateFamily) IsSet() bool
IsSet returns true if OptNilCandidateFamily was set.
func (OptNilCandidateFamily) MarshalJSON ¶
func (s OptNilCandidateFamily) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilCandidateFamily) Or ¶
func (o OptNilCandidateFamily) Or(d CandidateFamily) CandidateFamily
Or returns value if set, or given parameter if does not.
func (*OptNilCandidateFamily) SetTo ¶
func (o *OptNilCandidateFamily) SetTo(v CandidateFamily)
SetTo sets value to v.
func (*OptNilCandidateFamily) SetToNull ¶
func (o *OptNilCandidateFamily) SetToNull()
SetToNull sets value to null.
func (*OptNilCandidateFamily) UnmarshalJSON ¶
func (s *OptNilCandidateFamily) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilCaptureContentSourceRequestMetadata ¶
type OptNilCaptureContentSourceRequestMetadata struct {
Value CaptureContentSourceRequestMetadata
Set bool
Null bool
}
OptNilCaptureContentSourceRequestMetadata is optional nullable CaptureContentSourceRequestMetadata.
func NewOptNilCaptureContentSourceRequestMetadata ¶
func NewOptNilCaptureContentSourceRequestMetadata(v CaptureContentSourceRequestMetadata) OptNilCaptureContentSourceRequestMetadata
NewOptNilCaptureContentSourceRequestMetadata returns new OptNilCaptureContentSourceRequestMetadata with value set to v.
func (*OptNilCaptureContentSourceRequestMetadata) Decode ¶
func (o *OptNilCaptureContentSourceRequestMetadata) Decode(d *jx.Decoder) error
Decode decodes CaptureContentSourceRequestMetadata from json.
func (OptNilCaptureContentSourceRequestMetadata) Encode ¶
func (o OptNilCaptureContentSourceRequestMetadata) Encode(e *jx.Encoder)
Encode encodes CaptureContentSourceRequestMetadata as json.
func (OptNilCaptureContentSourceRequestMetadata) Get ¶
func (o OptNilCaptureContentSourceRequestMetadata) Get() (v CaptureContentSourceRequestMetadata, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilCaptureContentSourceRequestMetadata) IsEmpty ¶
func (o OptNilCaptureContentSourceRequestMetadata) IsEmpty() bool
IsEmpty returns true if the field was omitted from the payload (not Set and not Null).
func (OptNilCaptureContentSourceRequestMetadata) IsNull ¶
func (o OptNilCaptureContentSourceRequestMetadata) IsNull() bool
IsNull returns true if value is Null.
func (OptNilCaptureContentSourceRequestMetadata) IsSet ¶
func (o OptNilCaptureContentSourceRequestMetadata) IsSet() bool
IsSet returns true if OptNilCaptureContentSourceRequestMetadata was set.
func (OptNilCaptureContentSourceRequestMetadata) MarshalJSON ¶
func (s OptNilCaptureContentSourceRequestMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilCaptureContentSourceRequestMetadata) Or ¶
func (o OptNilCaptureContentSourceRequestMetadata) Or(d CaptureContentSourceRequestMetadata) CaptureContentSourceRequestMetadata
Or returns value if set, or given parameter if does not.
func (*OptNilCaptureContentSourceRequestMetadata) Reset ¶
func (o *OptNilCaptureContentSourceRequestMetadata) Reset()
Reset unsets value.
func (*OptNilCaptureContentSourceRequestMetadata) SetTo ¶
func (o *OptNilCaptureContentSourceRequestMetadata) SetTo(v CaptureContentSourceRequestMetadata)
SetTo sets value to v.
func (*OptNilCaptureContentSourceRequestMetadata) SetToNull ¶
func (o *OptNilCaptureContentSourceRequestMetadata) SetToNull()
SetToNull sets value to null.
func (*OptNilCaptureContentSourceRequestMetadata) UnmarshalJSON ¶
func (s *OptNilCaptureContentSourceRequestMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilDateTime ¶
OptNilDateTime is optional nullable time.Time.
func NewOptNilDateTime ¶
func NewOptNilDateTime(v time.Time) OptNilDateTime
NewOptNilDateTime returns new OptNilDateTime with value set to v.
func (OptNilDateTime) Get ¶
func (o OptNilDateTime) Get() (v time.Time, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilDateTime) IsEmpty ¶
func (o OptNilDateTime) IsEmpty() bool
IsEmpty returns true if the field was omitted from the payload (not Set and not Null).
func (OptNilDateTime) IsNull ¶
func (o OptNilDateTime) IsNull() bool
IsNull returns true if value is Null.
func (OptNilDateTime) IsSet ¶
func (o OptNilDateTime) IsSet() bool
IsSet returns true if OptNilDateTime was set.
func (OptNilDateTime) MarshalJSON ¶
func (s OptNilDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilDateTime) Or ¶
func (o OptNilDateTime) Or(d time.Time) time.Time
Or returns value if set, or given parameter if does not.
func (*OptNilDateTime) SetToNull ¶
func (o *OptNilDateTime) SetToNull()
SetToNull sets value to null.
func (*OptNilDateTime) UnmarshalJSON ¶
func (s *OptNilDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilHandoffReportActivityAgent ¶
type OptNilHandoffReportActivityAgent struct {
Value HandoffReportActivityAgent
Set bool
Null bool
}
OptNilHandoffReportActivityAgent is optional nullable HandoffReportActivityAgent.
func NewOptNilHandoffReportActivityAgent ¶
func NewOptNilHandoffReportActivityAgent(v HandoffReportActivityAgent) OptNilHandoffReportActivityAgent
NewOptNilHandoffReportActivityAgent returns new OptNilHandoffReportActivityAgent with value set to v.
func (*OptNilHandoffReportActivityAgent) Decode ¶
func (o *OptNilHandoffReportActivityAgent) Decode(d *jx.Decoder) error
Decode decodes HandoffReportActivityAgent from json.
func (OptNilHandoffReportActivityAgent) Encode ¶
func (o OptNilHandoffReportActivityAgent) Encode(e *jx.Encoder)
Encode encodes HandoffReportActivityAgent as json.
func (OptNilHandoffReportActivityAgent) Get ¶
func (o OptNilHandoffReportActivityAgent) Get() (v HandoffReportActivityAgent, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilHandoffReportActivityAgent) IsEmpty ¶
func (o OptNilHandoffReportActivityAgent) IsEmpty() bool
IsEmpty returns true if the field was omitted from the payload (not Set and not Null).
func (OptNilHandoffReportActivityAgent) IsNull ¶
func (o OptNilHandoffReportActivityAgent) IsNull() bool
IsNull returns true if value is Null.
func (OptNilHandoffReportActivityAgent) IsSet ¶
func (o OptNilHandoffReportActivityAgent) IsSet() bool
IsSet returns true if OptNilHandoffReportActivityAgent was set.
func (OptNilHandoffReportActivityAgent) MarshalJSON ¶
func (s OptNilHandoffReportActivityAgent) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilHandoffReportActivityAgent) Or ¶
func (o OptNilHandoffReportActivityAgent) Or(d HandoffReportActivityAgent) HandoffReportActivityAgent
Or returns value if set, or given parameter if does not.
func (*OptNilHandoffReportActivityAgent) Reset ¶
func (o *OptNilHandoffReportActivityAgent) Reset()
Reset unsets value.
func (*OptNilHandoffReportActivityAgent) SetTo ¶
func (o *OptNilHandoffReportActivityAgent) SetTo(v HandoffReportActivityAgent)
SetTo sets value to v.
func (*OptNilHandoffReportActivityAgent) SetToNull ¶
func (o *OptNilHandoffReportActivityAgent) SetToNull()
SetToNull sets value to null.
func (*OptNilHandoffReportActivityAgent) UnmarshalJSON ¶
func (s *OptNilHandoffReportActivityAgent) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilHandoffReportActivityVcsContext ¶
type OptNilHandoffReportActivityVcsContext struct {
Value HandoffReportActivityVcsContext
Set bool
Null bool
}
OptNilHandoffReportActivityVcsContext is optional nullable HandoffReportActivityVcsContext.
func NewOptNilHandoffReportActivityVcsContext ¶
func NewOptNilHandoffReportActivityVcsContext(v HandoffReportActivityVcsContext) OptNilHandoffReportActivityVcsContext
NewOptNilHandoffReportActivityVcsContext returns new OptNilHandoffReportActivityVcsContext with value set to v.
func (*OptNilHandoffReportActivityVcsContext) Decode ¶
func (o *OptNilHandoffReportActivityVcsContext) Decode(d *jx.Decoder) error
Decode decodes HandoffReportActivityVcsContext from json.
func (OptNilHandoffReportActivityVcsContext) Encode ¶
func (o OptNilHandoffReportActivityVcsContext) Encode(e *jx.Encoder)
Encode encodes HandoffReportActivityVcsContext as json.
func (OptNilHandoffReportActivityVcsContext) Get ¶
func (o OptNilHandoffReportActivityVcsContext) Get() (v HandoffReportActivityVcsContext, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilHandoffReportActivityVcsContext) IsEmpty ¶
func (o OptNilHandoffReportActivityVcsContext) IsEmpty() bool
IsEmpty returns true if the field was omitted from the payload (not Set and not Null).
func (OptNilHandoffReportActivityVcsContext) IsNull ¶
func (o OptNilHandoffReportActivityVcsContext) IsNull() bool
IsNull returns true if value is Null.
func (OptNilHandoffReportActivityVcsContext) IsSet ¶
func (o OptNilHandoffReportActivityVcsContext) IsSet() bool
IsSet returns true if OptNilHandoffReportActivityVcsContext was set.
func (OptNilHandoffReportActivityVcsContext) MarshalJSON ¶
func (s OptNilHandoffReportActivityVcsContext) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilHandoffReportActivityVcsContext) Or ¶
func (o OptNilHandoffReportActivityVcsContext) Or(d HandoffReportActivityVcsContext) HandoffReportActivityVcsContext
Or returns value if set, or given parameter if does not.
func (*OptNilHandoffReportActivityVcsContext) Reset ¶
func (o *OptNilHandoffReportActivityVcsContext) Reset()
Reset unsets value.
func (*OptNilHandoffReportActivityVcsContext) SetTo ¶
func (o *OptNilHandoffReportActivityVcsContext) SetTo(v HandoffReportActivityVcsContext)
SetTo sets value to v.
func (*OptNilHandoffReportActivityVcsContext) SetToNull ¶
func (o *OptNilHandoffReportActivityVcsContext) SetToNull()
SetToNull sets value to null.
func (*OptNilHandoffReportActivityVcsContext) UnmarshalJSON ¶
func (s *OptNilHandoffReportActivityVcsContext) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilHandoffReportExternalReference ¶
type OptNilHandoffReportExternalReference struct {
Value HandoffReportExternalReference
Set bool
Null bool
}
OptNilHandoffReportExternalReference is optional nullable HandoffReportExternalReference.
func NewOptNilHandoffReportExternalReference ¶
func NewOptNilHandoffReportExternalReference(v HandoffReportExternalReference) OptNilHandoffReportExternalReference
NewOptNilHandoffReportExternalReference returns new OptNilHandoffReportExternalReference with value set to v.
func (*OptNilHandoffReportExternalReference) Decode ¶
func (o *OptNilHandoffReportExternalReference) Decode(d *jx.Decoder) error
Decode decodes HandoffReportExternalReference from json.
func (OptNilHandoffReportExternalReference) Encode ¶
func (o OptNilHandoffReportExternalReference) Encode(e *jx.Encoder)
Encode encodes HandoffReportExternalReference as json.
func (OptNilHandoffReportExternalReference) Get ¶
func (o OptNilHandoffReportExternalReference) Get() (v HandoffReportExternalReference, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilHandoffReportExternalReference) IsEmpty ¶
func (o OptNilHandoffReportExternalReference) IsEmpty() bool
IsEmpty returns true if the field was omitted from the payload (not Set and not Null).
func (OptNilHandoffReportExternalReference) IsNull ¶
func (o OptNilHandoffReportExternalReference) IsNull() bool
IsNull returns true if value is Null.
func (OptNilHandoffReportExternalReference) IsSet ¶
func (o OptNilHandoffReportExternalReference) IsSet() bool
IsSet returns true if OptNilHandoffReportExternalReference was set.
func (OptNilHandoffReportExternalReference) MarshalJSON ¶
func (s OptNilHandoffReportExternalReference) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilHandoffReportExternalReference) Or ¶
func (o OptNilHandoffReportExternalReference) Or(d HandoffReportExternalReference) HandoffReportExternalReference
Or returns value if set, or given parameter if does not.
func (*OptNilHandoffReportExternalReference) Reset ¶
func (o *OptNilHandoffReportExternalReference) Reset()
Reset unsets value.
func (*OptNilHandoffReportExternalReference) SetTo ¶
func (o *OptNilHandoffReportExternalReference) SetTo(v HandoffReportExternalReference)
SetTo sets value to v.
func (*OptNilHandoffReportExternalReference) SetToNull ¶
func (o *OptNilHandoffReportExternalReference) SetToNull()
SetToNull sets value to null.
func (*OptNilHandoffReportExternalReference) UnmarshalJSON ¶
func (s *OptNilHandoffReportExternalReference) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilHandoffReportPeriodRequest ¶
type OptNilHandoffReportPeriodRequest struct {
Value HandoffReportPeriodRequest
Set bool
Null bool
}
OptNilHandoffReportPeriodRequest is optional nullable HandoffReportPeriodRequest.
func NewOptNilHandoffReportPeriodRequest ¶
func NewOptNilHandoffReportPeriodRequest(v HandoffReportPeriodRequest) OptNilHandoffReportPeriodRequest
NewOptNilHandoffReportPeriodRequest returns new OptNilHandoffReportPeriodRequest with value set to v.
func (*OptNilHandoffReportPeriodRequest) Decode ¶
func (o *OptNilHandoffReportPeriodRequest) Decode(d *jx.Decoder) error
Decode decodes HandoffReportPeriodRequest from json.
func (OptNilHandoffReportPeriodRequest) Encode ¶
func (o OptNilHandoffReportPeriodRequest) Encode(e *jx.Encoder)
Encode encodes HandoffReportPeriodRequest as json.
func (OptNilHandoffReportPeriodRequest) Get ¶
func (o OptNilHandoffReportPeriodRequest) Get() (v HandoffReportPeriodRequest, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilHandoffReportPeriodRequest) IsEmpty ¶
func (o OptNilHandoffReportPeriodRequest) IsEmpty() bool
IsEmpty returns true if the field was omitted from the payload (not Set and not Null).
func (OptNilHandoffReportPeriodRequest) IsNull ¶
func (o OptNilHandoffReportPeriodRequest) IsNull() bool
IsNull returns true if value is Null.
func (OptNilHandoffReportPeriodRequest) IsSet ¶
func (o OptNilHandoffReportPeriodRequest) IsSet() bool
IsSet returns true if OptNilHandoffReportPeriodRequest was set.
func (OptNilHandoffReportPeriodRequest) MarshalJSON ¶
func (s OptNilHandoffReportPeriodRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilHandoffReportPeriodRequest) Or ¶
func (o OptNilHandoffReportPeriodRequest) Or(d HandoffReportPeriodRequest) HandoffReportPeriodRequest
Or returns value if set, or given parameter if does not.
func (*OptNilHandoffReportPeriodRequest) Reset ¶
func (o *OptNilHandoffReportPeriodRequest) Reset()
Reset unsets value.
func (*OptNilHandoffReportPeriodRequest) SetTo ¶
func (o *OptNilHandoffReportPeriodRequest) SetTo(v HandoffReportPeriodRequest)
SetTo sets value to v.
func (*OptNilHandoffReportPeriodRequest) SetToNull ¶
func (o *OptNilHandoffReportPeriodRequest) SetToNull()
SetToNull sets value to null.
func (*OptNilHandoffReportPeriodRequest) UnmarshalJSON ¶
func (s *OptNilHandoffReportPeriodRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilInt ¶
OptNilInt is optional nullable int.
func NewOptNilInt ¶
NewOptNilInt returns new OptNilInt with value set to v.
func (OptNilInt) IsEmpty ¶
IsEmpty returns true if the field was omitted from the payload (not Set and not Null).
func (OptNilInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptNilInt) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilMemoryEntry ¶
type OptNilMemoryEntry struct {
Value MemoryEntry
Set bool
Null bool
}
OptNilMemoryEntry is optional nullable MemoryEntry.
func NewOptNilMemoryEntry ¶
func NewOptNilMemoryEntry(v MemoryEntry) OptNilMemoryEntry
NewOptNilMemoryEntry returns new OptNilMemoryEntry with value set to v.
func (*OptNilMemoryEntry) Decode ¶
func (o *OptNilMemoryEntry) Decode(d *jx.Decoder) error
Decode decodes MemoryEntry from json.
func (OptNilMemoryEntry) Encode ¶
func (o OptNilMemoryEntry) Encode(e *jx.Encoder)
Encode encodes MemoryEntry as json.
func (OptNilMemoryEntry) Get ¶
func (o OptNilMemoryEntry) Get() (v MemoryEntry, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilMemoryEntry) IsEmpty ¶
func (o OptNilMemoryEntry) IsEmpty() bool
IsEmpty returns true if the field was omitted from the payload (not Set and not Null).
func (OptNilMemoryEntry) IsNull ¶
func (o OptNilMemoryEntry) IsNull() bool
IsNull returns true if value is Null.
func (OptNilMemoryEntry) IsSet ¶
func (o OptNilMemoryEntry) IsSet() bool
IsSet returns true if OptNilMemoryEntry was set.
func (OptNilMemoryEntry) MarshalJSON ¶
func (s OptNilMemoryEntry) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilMemoryEntry) Or ¶
func (o OptNilMemoryEntry) Or(d MemoryEntry) MemoryEntry
Or returns value if set, or given parameter if does not.
func (*OptNilMemoryEntry) SetTo ¶
func (o *OptNilMemoryEntry) SetTo(v MemoryEntry)
SetTo sets value to v.
func (*OptNilMemoryEntry) SetToNull ¶
func (o *OptNilMemoryEntry) SetToNull()
SetToNull sets value to null.
func (*OptNilMemoryEntry) UnmarshalJSON ¶
func (s *OptNilMemoryEntry) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilMemoryUsedSearchMode ¶
type OptNilMemoryUsedSearchMode struct {
Value MemoryUsedSearchMode
Set bool
Null bool
}
OptNilMemoryUsedSearchMode is optional nullable MemoryUsedSearchMode.
func NewOptNilMemoryUsedSearchMode ¶
func NewOptNilMemoryUsedSearchMode(v MemoryUsedSearchMode) OptNilMemoryUsedSearchMode
NewOptNilMemoryUsedSearchMode returns new OptNilMemoryUsedSearchMode with value set to v.
func (*OptNilMemoryUsedSearchMode) Decode ¶
func (o *OptNilMemoryUsedSearchMode) Decode(d *jx.Decoder) error
Decode decodes MemoryUsedSearchMode from json.
func (OptNilMemoryUsedSearchMode) Encode ¶
func (o OptNilMemoryUsedSearchMode) Encode(e *jx.Encoder)
Encode encodes MemoryUsedSearchMode as json.
func (OptNilMemoryUsedSearchMode) Get ¶
func (o OptNilMemoryUsedSearchMode) Get() (v MemoryUsedSearchMode, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilMemoryUsedSearchMode) IsEmpty ¶
func (o OptNilMemoryUsedSearchMode) IsEmpty() bool
IsEmpty returns true if the field was omitted from the payload (not Set and not Null).
func (OptNilMemoryUsedSearchMode) IsNull ¶
func (o OptNilMemoryUsedSearchMode) IsNull() bool
IsNull returns true if value is Null.
func (OptNilMemoryUsedSearchMode) IsSet ¶
func (o OptNilMemoryUsedSearchMode) IsSet() bool
IsSet returns true if OptNilMemoryUsedSearchMode was set.
func (OptNilMemoryUsedSearchMode) MarshalJSON ¶
func (s OptNilMemoryUsedSearchMode) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilMemoryUsedSearchMode) Or ¶
func (o OptNilMemoryUsedSearchMode) Or(d MemoryUsedSearchMode) MemoryUsedSearchMode
Or returns value if set, or given parameter if does not.
func (*OptNilMemoryUsedSearchMode) Reset ¶
func (o *OptNilMemoryUsedSearchMode) Reset()
Reset unsets value.
func (*OptNilMemoryUsedSearchMode) SetTo ¶
func (o *OptNilMemoryUsedSearchMode) SetTo(v MemoryUsedSearchMode)
SetTo sets value to v.
func (*OptNilMemoryUsedSearchMode) SetToNull ¶
func (o *OptNilMemoryUsedSearchMode) SetToNull()
SetToNull sets value to null.
func (*OptNilMemoryUsedSearchMode) UnmarshalJSON ¶
func (s *OptNilMemoryUsedSearchMode) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilPreparedHandoff ¶
type OptNilPreparedHandoff struct {
Value PreparedHandoff
Set bool
Null bool
}
OptNilPreparedHandoff is optional nullable PreparedHandoff.
func NewOptNilPreparedHandoff ¶
func NewOptNilPreparedHandoff(v PreparedHandoff) OptNilPreparedHandoff
NewOptNilPreparedHandoff returns new OptNilPreparedHandoff with value set to v.
func (*OptNilPreparedHandoff) Decode ¶
func (o *OptNilPreparedHandoff) Decode(d *jx.Decoder) error
Decode decodes PreparedHandoff from json.
func (OptNilPreparedHandoff) Encode ¶
func (o OptNilPreparedHandoff) Encode(e *jx.Encoder)
Encode encodes PreparedHandoff as json.
func (OptNilPreparedHandoff) Get ¶
func (o OptNilPreparedHandoff) Get() (v PreparedHandoff, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilPreparedHandoff) IsEmpty ¶
func (o OptNilPreparedHandoff) IsEmpty() bool
IsEmpty returns true if the field was omitted from the payload (not Set and not Null).
func (OptNilPreparedHandoff) IsNull ¶
func (o OptNilPreparedHandoff) IsNull() bool
IsNull returns true if value is Null.
func (OptNilPreparedHandoff) IsSet ¶
func (o OptNilPreparedHandoff) IsSet() bool
IsSet returns true if OptNilPreparedHandoff was set.
func (OptNilPreparedHandoff) MarshalJSON ¶
func (s OptNilPreparedHandoff) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilPreparedHandoff) Or ¶
func (o OptNilPreparedHandoff) Or(d PreparedHandoff) PreparedHandoff
Or returns value if set, or given parameter if does not.
func (*OptNilPreparedHandoff) SetTo ¶
func (o *OptNilPreparedHandoff) SetTo(v PreparedHandoff)
SetTo sets value to v.
func (*OptNilPreparedHandoff) SetToNull ¶
func (o *OptNilPreparedHandoff) SetToNull()
SetToNull sets value to null.
func (*OptNilPreparedHandoff) UnmarshalJSON ¶
func (s *OptNilPreparedHandoff) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilReceiverChecks ¶
type OptNilReceiverChecks struct {
Value ReceiverChecks
Set bool
Null bool
}
OptNilReceiverChecks is optional nullable ReceiverChecks.
func NewOptNilReceiverChecks ¶
func NewOptNilReceiverChecks(v ReceiverChecks) OptNilReceiverChecks
NewOptNilReceiverChecks returns new OptNilReceiverChecks with value set to v.
func (*OptNilReceiverChecks) Decode ¶
func (o *OptNilReceiverChecks) Decode(d *jx.Decoder) error
Decode decodes ReceiverChecks from json.
func (OptNilReceiverChecks) Encode ¶
func (o OptNilReceiverChecks) Encode(e *jx.Encoder)
Encode encodes ReceiverChecks as json.
func (OptNilReceiverChecks) Get ¶
func (o OptNilReceiverChecks) Get() (v ReceiverChecks, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilReceiverChecks) IsEmpty ¶
func (o OptNilReceiverChecks) IsEmpty() bool
IsEmpty returns true if the field was omitted from the payload (not Set and not Null).
func (OptNilReceiverChecks) IsNull ¶
func (o OptNilReceiverChecks) IsNull() bool
IsNull returns true if value is Null.
func (OptNilReceiverChecks) IsSet ¶
func (o OptNilReceiverChecks) IsSet() bool
IsSet returns true if OptNilReceiverChecks was set.
func (OptNilReceiverChecks) MarshalJSON ¶
func (s OptNilReceiverChecks) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilReceiverChecks) Or ¶
func (o OptNilReceiverChecks) Or(d ReceiverChecks) ReceiverChecks
Or returns value if set, or given parameter if does not.
func (*OptNilReceiverChecks) SetTo ¶
func (o *OptNilReceiverChecks) SetTo(v ReceiverChecks)
SetTo sets value to v.
func (*OptNilReceiverChecks) SetToNull ¶
func (o *OptNilReceiverChecks) SetToNull()
SetToNull sets value to null.
func (*OptNilReceiverChecks) UnmarshalJSON ¶
func (s *OptNilReceiverChecks) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilReportActivitySourceArray ¶
type OptNilReportActivitySourceArray struct {
Value []ReportActivitySource
Set bool
Null bool
}
OptNilReportActivitySourceArray is optional nullable []ReportActivitySource.
func NewOptNilReportActivitySourceArray ¶
func NewOptNilReportActivitySourceArray(v []ReportActivitySource) OptNilReportActivitySourceArray
NewOptNilReportActivitySourceArray returns new OptNilReportActivitySourceArray with value set to v.
func (*OptNilReportActivitySourceArray) Decode ¶
func (o *OptNilReportActivitySourceArray) Decode(d *jx.Decoder) error
Decode decodes []ReportActivitySource from json.
func (OptNilReportActivitySourceArray) Encode ¶
func (o OptNilReportActivitySourceArray) Encode(e *jx.Encoder)
Encode encodes []ReportActivitySource as json.
func (OptNilReportActivitySourceArray) Get ¶
func (o OptNilReportActivitySourceArray) Get() (v []ReportActivitySource, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilReportActivitySourceArray) IsEmpty ¶
func (o OptNilReportActivitySourceArray) IsEmpty() bool
IsEmpty returns true if the field was omitted from the payload (not Set and not Null).
func (OptNilReportActivitySourceArray) IsNull ¶
func (o OptNilReportActivitySourceArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilReportActivitySourceArray) IsSet ¶
func (o OptNilReportActivitySourceArray) IsSet() bool
IsSet returns true if OptNilReportActivitySourceArray was set.
func (OptNilReportActivitySourceArray) MarshalJSON ¶
func (s OptNilReportActivitySourceArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilReportActivitySourceArray) Or ¶
func (o OptNilReportActivitySourceArray) Or(d []ReportActivitySource) []ReportActivitySource
Or returns value if set, or given parameter if does not.
func (*OptNilReportActivitySourceArray) Reset ¶
func (o *OptNilReportActivitySourceArray) Reset()
Reset unsets value.
func (*OptNilReportActivitySourceArray) SetTo ¶
func (o *OptNilReportActivitySourceArray) SetTo(v []ReportActivitySource)
SetTo sets value to v.
func (*OptNilReportActivitySourceArray) SetToNull ¶
func (o *OptNilReportActivitySourceArray) SetToNull()
SetToNull sets value to null.
func (*OptNilReportActivitySourceArray) UnmarshalJSON ¶
func (s *OptNilReportActivitySourceArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilReportLocale ¶
type OptNilReportLocale struct {
Value ReportLocale
Set bool
Null bool
}
OptNilReportLocale is optional nullable ReportLocale.
func NewOptNilReportLocale ¶
func NewOptNilReportLocale(v ReportLocale) OptNilReportLocale
NewOptNilReportLocale returns new OptNilReportLocale with value set to v.
func (*OptNilReportLocale) Decode ¶
func (o *OptNilReportLocale) Decode(d *jx.Decoder) error
Decode decodes ReportLocale from json.
func (OptNilReportLocale) Encode ¶
func (o OptNilReportLocale) Encode(e *jx.Encoder)
Encode encodes ReportLocale as json.
func (OptNilReportLocale) Get ¶
func (o OptNilReportLocale) Get() (v ReportLocale, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilReportLocale) IsEmpty ¶
func (o OptNilReportLocale) IsEmpty() bool
IsEmpty returns true if the field was omitted from the payload (not Set and not Null).
func (OptNilReportLocale) IsNull ¶
func (o OptNilReportLocale) IsNull() bool
IsNull returns true if value is Null.
func (OptNilReportLocale) IsSet ¶
func (o OptNilReportLocale) IsSet() bool
IsSet returns true if OptNilReportLocale was set.
func (OptNilReportLocale) MarshalJSON ¶
func (s OptNilReportLocale) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilReportLocale) Or ¶
func (o OptNilReportLocale) Or(d ReportLocale) ReportLocale
Or returns value if set, or given parameter if does not.
func (*OptNilReportLocale) SetTo ¶
func (o *OptNilReportLocale) SetTo(v ReportLocale)
SetTo sets value to v.
func (*OptNilReportLocale) SetToNull ¶
func (o *OptNilReportLocale) SetToNull()
SetToNull sets value to null.
func (*OptNilReportLocale) UnmarshalJSON ¶
func (s *OptNilReportLocale) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilSourceReference ¶
type OptNilSourceReference struct {
Value SourceReference
Set bool
Null bool
}
OptNilSourceReference is optional nullable SourceReference.
func NewOptNilSourceReference ¶
func NewOptNilSourceReference(v SourceReference) OptNilSourceReference
NewOptNilSourceReference returns new OptNilSourceReference with value set to v.
func (*OptNilSourceReference) Decode ¶
func (o *OptNilSourceReference) Decode(d *jx.Decoder) error
Decode decodes SourceReference from json.
func (OptNilSourceReference) Encode ¶
func (o OptNilSourceReference) Encode(e *jx.Encoder)
Encode encodes SourceReference as json.
func (OptNilSourceReference) Get ¶
func (o OptNilSourceReference) Get() (v SourceReference, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilSourceReference) IsEmpty ¶
func (o OptNilSourceReference) IsEmpty() bool
IsEmpty returns true if the field was omitted from the payload (not Set and not Null).
func (OptNilSourceReference) IsNull ¶
func (o OptNilSourceReference) IsNull() bool
IsNull returns true if value is Null.
func (OptNilSourceReference) IsSet ¶
func (o OptNilSourceReference) IsSet() bool
IsSet returns true if OptNilSourceReference was set.
func (OptNilSourceReference) MarshalJSON ¶
func (s OptNilSourceReference) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilSourceReference) Or ¶
func (o OptNilSourceReference) Or(d SourceReference) SourceReference
Or returns value if set, or given parameter if does not.
func (*OptNilSourceReference) SetTo ¶
func (o *OptNilSourceReference) SetTo(v SourceReference)
SetTo sets value to v.
func (*OptNilSourceReference) SetToNull ¶
func (o *OptNilSourceReference) SetToNull()
SetToNull sets value to null.
func (*OptNilSourceReference) UnmarshalJSON ¶
func (s *OptNilSourceReference) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilString ¶
OptNilString is optional nullable string.
func NewOptNilString ¶
func NewOptNilString(v string) OptNilString
NewOptNilString returns new OptNilString with value set to v.
func (*OptNilString) Decode ¶
func (o *OptNilString) Decode(d *jx.Decoder) error
Decode decodes string from json.
func (OptNilString) Encode ¶
func (o OptNilString) Encode(e *jx.Encoder)
Encode encodes string as json.
func (OptNilString) Get ¶
func (o OptNilString) Get() (v string, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilString) IsEmpty ¶
func (o OptNilString) IsEmpty() bool
IsEmpty returns true if the field was omitted from the payload (not Set and not Null).
func (OptNilString) IsNull ¶
func (o OptNilString) IsNull() bool
IsNull returns true if value is Null.
func (OptNilString) IsSet ¶
func (o OptNilString) IsSet() bool
IsSet returns true if OptNilString was set.
func (OptNilString) MarshalJSON ¶
func (s OptNilString) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilString) Or ¶
func (o OptNilString) Or(d string) string
Or returns value if set, or given parameter if does not.
func (*OptNilString) UnmarshalJSON ¶
func (s *OptNilString) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptReportCatalogState ¶
type OptReportCatalogState struct {
Value ReportCatalogState
Set bool
}
OptReportCatalogState is optional ReportCatalogState.
func NewOptReportCatalogState ¶
func NewOptReportCatalogState(v ReportCatalogState) OptReportCatalogState
NewOptReportCatalogState returns new OptReportCatalogState with value set to v.
func (*OptReportCatalogState) Decode ¶
func (o *OptReportCatalogState) Decode(d *jx.Decoder) error
Decode decodes ReportCatalogState from json.
func (OptReportCatalogState) Encode ¶
func (o OptReportCatalogState) Encode(e *jx.Encoder)
Encode encodes ReportCatalogState as json.
func (OptReportCatalogState) Get ¶
func (o OptReportCatalogState) Get() (v ReportCatalogState, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptReportCatalogState) IsSet ¶
func (o OptReportCatalogState) IsSet() bool
IsSet returns true if OptReportCatalogState was set.
func (OptReportCatalogState) MarshalJSON ¶
func (s OptReportCatalogState) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptReportCatalogState) Or ¶
func (o OptReportCatalogState) Or(d ReportCatalogState) ReportCatalogState
Or returns value if set, or given parameter if does not.
func (*OptReportCatalogState) SetTo ¶
func (o *OptReportCatalogState) SetTo(v ReportCatalogState)
SetTo sets value to v.
func (*OptReportCatalogState) UnmarshalJSON ¶
func (s *OptReportCatalogState) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptReportFormat ¶
type OptReportFormat struct {
Value ReportFormat
Set bool
}
OptReportFormat is optional ReportFormat.
func NewOptReportFormat ¶
func NewOptReportFormat(v ReportFormat) OptReportFormat
NewOptReportFormat returns new OptReportFormat with value set to v.
func (*OptReportFormat) Decode ¶
func (o *OptReportFormat) Decode(d *jx.Decoder) error
Decode decodes ReportFormat from json.
func (OptReportFormat) Encode ¶
func (o OptReportFormat) Encode(e *jx.Encoder)
Encode encodes ReportFormat as json.
func (OptReportFormat) Get ¶
func (o OptReportFormat) Get() (v ReportFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptReportFormat) IsSet ¶
func (o OptReportFormat) IsSet() bool
IsSet returns true if OptReportFormat was set.
func (OptReportFormat) MarshalJSON ¶
func (s OptReportFormat) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptReportFormat) Or ¶
func (o OptReportFormat) Or(d ReportFormat) ReportFormat
Or returns value if set, or given parameter if does not.
func (*OptReportFormat) SetTo ¶
func (o *OptReportFormat) SetTo(v ReportFormat)
SetTo sets value to v.
func (*OptReportFormat) UnmarshalJSON ¶
func (s *OptReportFormat) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptReportLocale ¶
type OptReportLocale struct {
Value ReportLocale
Set bool
}
OptReportLocale is optional ReportLocale.
func NewOptReportLocale ¶
func NewOptReportLocale(v ReportLocale) OptReportLocale
NewOptReportLocale returns new OptReportLocale with value set to v.
func (*OptReportLocale) Decode ¶
func (o *OptReportLocale) Decode(d *jx.Decoder) error
Decode decodes ReportLocale from json.
func (OptReportLocale) Encode ¶
func (o OptReportLocale) Encode(e *jx.Encoder)
Encode encodes ReportLocale as json.
func (OptReportLocale) Get ¶
func (o OptReportLocale) Get() (v ReportLocale, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptReportLocale) IsSet ¶
func (o OptReportLocale) IsSet() bool
IsSet returns true if OptReportLocale was set.
func (OptReportLocale) MarshalJSON ¶
func (s OptReportLocale) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptReportLocale) Or ¶
func (o OptReportLocale) Or(d ReportLocale) ReportLocale
Or returns value if set, or given parameter if does not.
func (*OptReportLocale) SetTo ¶
func (o *OptReportLocale) SetTo(v ReportLocale)
SetTo sets value to v.
func (*OptReportLocale) UnmarshalJSON ¶
func (s *OptReportLocale) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptStatsPeriod ¶
type OptStatsPeriod struct {
Value StatsPeriod
Set bool
}
OptStatsPeriod is optional StatsPeriod.
func NewOptStatsPeriod ¶
func NewOptStatsPeriod(v StatsPeriod) OptStatsPeriod
NewOptStatsPeriod returns new OptStatsPeriod with value set to v.
func (OptStatsPeriod) Get ¶
func (o OptStatsPeriod) Get() (v StatsPeriod, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptStatsPeriod) IsSet ¶
func (o OptStatsPeriod) IsSet() bool
IsSet returns true if OptStatsPeriod was set.
func (OptStatsPeriod) Or ¶
func (o OptStatsPeriod) Or(d StatsPeriod) StatsPeriod
Or returns value if set, or given parameter if does not.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Option ¶
type Option interface {
ServerOption
ClientOption
}
Option is config option.
func WithAttributes ¶
WithAttributes specifies default otel attributes.
func WithMeterProvider ¶
func WithMeterProvider(provider metric.MeterProvider) Option
WithMeterProvider specifies a meter provider to use for creating a meter.
If none is specified, the otel.GetMeterProvider() is used.
func WithTracerProvider ¶
func WithTracerProvider(provider trace.TracerProvider) Option
WithTracerProvider specifies a tracer provider to use for creating a tracer.
If none is specified, the global provider is used.
type PrepareContextRequest ¶
type PrepareContextRequest struct {
ScopeID string `json:"scope_id"`
Query string `json:"query"`
MaxBytes OptInt `json:"max_bytes"`
}
Ref: #/components/schemas/PrepareContextRequest
func (*PrepareContextRequest) Decode ¶
func (s *PrepareContextRequest) Decode(d *jx.Decoder) error
Decode decodes PrepareContextRequest from json.
func (*PrepareContextRequest) Encode ¶
func (s *PrepareContextRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PrepareContextRequest) GetMaxBytes ¶
func (s *PrepareContextRequest) GetMaxBytes() OptInt
GetMaxBytes returns the value of MaxBytes.
func (*PrepareContextRequest) GetQuery ¶
func (s *PrepareContextRequest) GetQuery() string
GetQuery returns the value of Query.
func (*PrepareContextRequest) GetScopeID ¶
func (s *PrepareContextRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*PrepareContextRequest) MarshalJSON ¶
func (s *PrepareContextRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PrepareContextRequest) SetMaxBytes ¶
func (s *PrepareContextRequest) SetMaxBytes(val OptInt)
SetMaxBytes sets the value of MaxBytes.
func (*PrepareContextRequest) SetQuery ¶
func (s *PrepareContextRequest) SetQuery(val string)
SetQuery sets the value of Query.
func (*PrepareContextRequest) SetScopeID ¶
func (s *PrepareContextRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*PrepareContextRequest) UnmarshalJSON ¶
func (s *PrepareContextRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PrepareContextRequest) Validate ¶
func (s *PrepareContextRequest) Validate() error
type PrepareContextRes ¶
type PrepareContextRes interface {
// contains filtered or unexported methods
}
type PrepareHandoffRequest ¶
type PrepareHandoffRequest struct {
ScopeID string `json:"scope_id"`
Objective string `json:"objective"`
Evidence []HandoffCitation `json:"evidence"`
MaxBytes OptInt `json:"max_bytes"`
}
Ref: #/components/schemas/PrepareHandoffRequest
func (*PrepareHandoffRequest) Decode ¶
func (s *PrepareHandoffRequest) Decode(d *jx.Decoder) error
Decode decodes PrepareHandoffRequest from json.
func (*PrepareHandoffRequest) Encode ¶
func (s *PrepareHandoffRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PrepareHandoffRequest) GetEvidence ¶
func (s *PrepareHandoffRequest) GetEvidence() []HandoffCitation
GetEvidence returns the value of Evidence.
func (*PrepareHandoffRequest) GetMaxBytes ¶
func (s *PrepareHandoffRequest) GetMaxBytes() OptInt
GetMaxBytes returns the value of MaxBytes.
func (*PrepareHandoffRequest) GetObjective ¶
func (s *PrepareHandoffRequest) GetObjective() string
GetObjective returns the value of Objective.
func (*PrepareHandoffRequest) GetScopeID ¶
func (s *PrepareHandoffRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*PrepareHandoffRequest) MarshalJSON ¶
func (s *PrepareHandoffRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PrepareHandoffRequest) SetEvidence ¶
func (s *PrepareHandoffRequest) SetEvidence(val []HandoffCitation)
SetEvidence sets the value of Evidence.
func (*PrepareHandoffRequest) SetMaxBytes ¶
func (s *PrepareHandoffRequest) SetMaxBytes(val OptInt)
SetMaxBytes sets the value of MaxBytes.
func (*PrepareHandoffRequest) SetObjective ¶
func (s *PrepareHandoffRequest) SetObjective(val string)
SetObjective sets the value of Objective.
func (*PrepareHandoffRequest) SetScopeID ¶
func (s *PrepareHandoffRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*PrepareHandoffRequest) UnmarshalJSON ¶
func (s *PrepareHandoffRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PrepareHandoffRequest) Validate ¶
func (s *PrepareHandoffRequest) Validate() error
type PrepareHandoffRes ¶
type PrepareHandoffRes interface {
// contains filtered or unexported methods
}
type PreparedContext ¶
type PreparedContext struct {
Schema PreparedContextSchema `json:"schema"`
Status PreparedContextStatus `json:"status"`
Content NilString `json:"content"`
ContentBytes int `json:"content_bytes"`
}
Ref: #/components/schemas/PreparedContext
func (*PreparedContext) Decode ¶
func (s *PreparedContext) Decode(d *jx.Decoder) error
Decode decodes PreparedContext from json.
func (*PreparedContext) Encode ¶
func (s *PreparedContext) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PreparedContext) GetContent ¶
func (s *PreparedContext) GetContent() NilString
GetContent returns the value of Content.
func (*PreparedContext) GetContentBytes ¶
func (s *PreparedContext) GetContentBytes() int
GetContentBytes returns the value of ContentBytes.
func (*PreparedContext) GetSchema ¶
func (s *PreparedContext) GetSchema() PreparedContextSchema
GetSchema returns the value of Schema.
func (*PreparedContext) GetStatus ¶
func (s *PreparedContext) GetStatus() PreparedContextStatus
GetStatus returns the value of Status.
func (*PreparedContext) MarshalJSON ¶
func (s *PreparedContext) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PreparedContext) SetContent ¶
func (s *PreparedContext) SetContent(val NilString)
SetContent sets the value of Content.
func (*PreparedContext) SetContentBytes ¶
func (s *PreparedContext) SetContentBytes(val int)
SetContentBytes sets the value of ContentBytes.
func (*PreparedContext) SetSchema ¶
func (s *PreparedContext) SetSchema(val PreparedContextSchema)
SetSchema sets the value of Schema.
func (*PreparedContext) SetStatus ¶
func (s *PreparedContext) SetStatus(val PreparedContextStatus)
SetStatus sets the value of Status.
func (*PreparedContext) UnmarshalJSON ¶
func (s *PreparedContext) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PreparedContext) Validate ¶
func (s *PreparedContext) Validate() error
type PreparedContextHeaders ¶
type PreparedContextHeaders struct {
XPowerContextRequestID OptString
Response PreparedContext
}
PreparedContextHeaders wraps PreparedContext with response headers.
func (*PreparedContextHeaders) GetResponse ¶
func (s *PreparedContextHeaders) GetResponse() PreparedContext
GetResponse returns the value of Response.
func (*PreparedContextHeaders) GetXPowerContextRequestID ¶
func (s *PreparedContextHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*PreparedContextHeaders) SetResponse ¶
func (s *PreparedContextHeaders) SetResponse(val PreparedContext)
SetResponse sets the value of Response.
func (*PreparedContextHeaders) SetXPowerContextRequestID ¶
func (s *PreparedContextHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*PreparedContextHeaders) Validate ¶
func (s *PreparedContextHeaders) Validate() error
type PreparedContextSchema ¶
type PreparedContextSchema string
Ref: #/components/schemas/PreparedContextSchema
const (
PreparedContextSchemaPowercontextPreparedContextV1 PreparedContextSchema = "powercontext.prepared-context.v1"
)
func (PreparedContextSchema) AllValues ¶
func (PreparedContextSchema) AllValues() []PreparedContextSchema
AllValues returns all PreparedContextSchema values.
func (*PreparedContextSchema) Decode ¶
func (s *PreparedContextSchema) Decode(d *jx.Decoder) error
Decode decodes PreparedContextSchema from json.
func (PreparedContextSchema) Encode ¶
func (s PreparedContextSchema) Encode(e *jx.Encoder)
Encode encodes PreparedContextSchema as json.
func (PreparedContextSchema) MarshalJSON ¶
func (s PreparedContextSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (PreparedContextSchema) MarshalText ¶
func (s PreparedContextSchema) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*PreparedContextSchema) UnmarshalJSON ¶
func (s *PreparedContextSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PreparedContextSchema) UnmarshalText ¶
func (s *PreparedContextSchema) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (PreparedContextSchema) Validate ¶
func (s PreparedContextSchema) Validate() error
type PreparedContextStatus ¶
type PreparedContextStatus string
Ref: #/components/schemas/PreparedContextStatus
const ( PreparedContextStatusReady PreparedContextStatus = "ready" PreparedContextStatusEmpty PreparedContextStatus = "empty" )
func (PreparedContextStatus) AllValues ¶
func (PreparedContextStatus) AllValues() []PreparedContextStatus
AllValues returns all PreparedContextStatus values.
func (*PreparedContextStatus) Decode ¶
func (s *PreparedContextStatus) Decode(d *jx.Decoder) error
Decode decodes PreparedContextStatus from json.
func (PreparedContextStatus) Encode ¶
func (s PreparedContextStatus) Encode(e *jx.Encoder)
Encode encodes PreparedContextStatus as json.
func (PreparedContextStatus) MarshalJSON ¶
func (s PreparedContextStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (PreparedContextStatus) MarshalText ¶
func (s PreparedContextStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*PreparedContextStatus) UnmarshalJSON ¶
func (s *PreparedContextStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PreparedContextStatus) UnmarshalText ¶
func (s *PreparedContextStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (PreparedContextStatus) Validate ¶
func (s PreparedContextStatus) Validate() error
type PreparedHandoff ¶
type PreparedHandoff struct {
Schema PreparedHandoffSchema `json:"schema"`
ScopeID string `json:"scope_id"`
Base NilArtifactReference `json:"base"`
Content HandoffContent `json:"content"`
}
Ref: #/components/schemas/PreparedHandoff
func (*PreparedHandoff) Decode ¶
func (s *PreparedHandoff) Decode(d *jx.Decoder) error
Decode decodes PreparedHandoff from json.
func (*PreparedHandoff) Encode ¶
func (s *PreparedHandoff) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PreparedHandoff) GetBase ¶
func (s *PreparedHandoff) GetBase() NilArtifactReference
GetBase returns the value of Base.
func (*PreparedHandoff) GetContent ¶
func (s *PreparedHandoff) GetContent() HandoffContent
GetContent returns the value of Content.
func (*PreparedHandoff) GetSchema ¶
func (s *PreparedHandoff) GetSchema() PreparedHandoffSchema
GetSchema returns the value of Schema.
func (*PreparedHandoff) GetScopeID ¶
func (s *PreparedHandoff) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*PreparedHandoff) MarshalJSON ¶
func (s *PreparedHandoff) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PreparedHandoff) SetBase ¶
func (s *PreparedHandoff) SetBase(val NilArtifactReference)
SetBase sets the value of Base.
func (*PreparedHandoff) SetContent ¶
func (s *PreparedHandoff) SetContent(val HandoffContent)
SetContent sets the value of Content.
func (*PreparedHandoff) SetSchema ¶
func (s *PreparedHandoff) SetSchema(val PreparedHandoffSchema)
SetSchema sets the value of Schema.
func (*PreparedHandoff) SetScopeID ¶
func (s *PreparedHandoff) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*PreparedHandoff) UnmarshalJSON ¶
func (s *PreparedHandoff) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PreparedHandoff) Validate ¶
func (s *PreparedHandoff) Validate() error
type PreparedHandoffHeaders ¶
type PreparedHandoffHeaders struct {
XPowerContextRequestID OptString
Response PreparedHandoff
}
PreparedHandoffHeaders wraps PreparedHandoff with response headers.
func (*PreparedHandoffHeaders) GetResponse ¶
func (s *PreparedHandoffHeaders) GetResponse() PreparedHandoff
GetResponse returns the value of Response.
func (*PreparedHandoffHeaders) GetXPowerContextRequestID ¶
func (s *PreparedHandoffHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*PreparedHandoffHeaders) SetResponse ¶
func (s *PreparedHandoffHeaders) SetResponse(val PreparedHandoff)
SetResponse sets the value of Response.
func (*PreparedHandoffHeaders) SetXPowerContextRequestID ¶
func (s *PreparedHandoffHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*PreparedHandoffHeaders) Validate ¶
func (s *PreparedHandoffHeaders) Validate() error
type PreparedHandoffSchema ¶
type PreparedHandoffSchema string
Ref: #/components/schemas/PreparedHandoffSchema
const (
PreparedHandoffSchemaPowercontextPreparedHandoffV1 PreparedHandoffSchema = "powercontext.prepared-handoff.v1"
)
func (PreparedHandoffSchema) AllValues ¶
func (PreparedHandoffSchema) AllValues() []PreparedHandoffSchema
AllValues returns all PreparedHandoffSchema values.
func (*PreparedHandoffSchema) Decode ¶
func (s *PreparedHandoffSchema) Decode(d *jx.Decoder) error
Decode decodes PreparedHandoffSchema from json.
func (PreparedHandoffSchema) Encode ¶
func (s PreparedHandoffSchema) Encode(e *jx.Encoder)
Encode encodes PreparedHandoffSchema as json.
func (PreparedHandoffSchema) MarshalJSON ¶
func (s PreparedHandoffSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (PreparedHandoffSchema) MarshalText ¶
func (s PreparedHandoffSchema) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*PreparedHandoffSchema) UnmarshalJSON ¶
func (s *PreparedHandoffSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PreparedHandoffSchema) UnmarshalText ¶
func (s *PreparedHandoffSchema) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (PreparedHandoffSchema) Validate ¶
func (s PreparedHandoffSchema) Validate() error
type PreparedWorkHandoff ¶
type PreparedWorkHandoff struct {
Boundary WorkSourceReceipt `json:"boundary"`
Handoff PreparedHandoff `json:"handoff"`
}
Ref: #/components/schemas/PreparedWorkHandoff
func (*PreparedWorkHandoff) Decode ¶
func (s *PreparedWorkHandoff) Decode(d *jx.Decoder) error
Decode decodes PreparedWorkHandoff from json.
func (*PreparedWorkHandoff) Encode ¶
func (s *PreparedWorkHandoff) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PreparedWorkHandoff) GetBoundary ¶
func (s *PreparedWorkHandoff) GetBoundary() WorkSourceReceipt
GetBoundary returns the value of Boundary.
func (*PreparedWorkHandoff) GetHandoff ¶
func (s *PreparedWorkHandoff) GetHandoff() PreparedHandoff
GetHandoff returns the value of Handoff.
func (*PreparedWorkHandoff) MarshalJSON ¶
func (s *PreparedWorkHandoff) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PreparedWorkHandoff) SetBoundary ¶
func (s *PreparedWorkHandoff) SetBoundary(val WorkSourceReceipt)
SetBoundary sets the value of Boundary.
func (*PreparedWorkHandoff) SetHandoff ¶
func (s *PreparedWorkHandoff) SetHandoff(val PreparedHandoff)
SetHandoff sets the value of Handoff.
func (*PreparedWorkHandoff) UnmarshalJSON ¶
func (s *PreparedWorkHandoff) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PreparedWorkHandoff) Validate ¶
func (s *PreparedWorkHandoff) Validate() error
type PreparedWorkHandoffHeaders ¶
type PreparedWorkHandoffHeaders struct {
XPowerContextRequestID OptString
Response PreparedWorkHandoff
}
PreparedWorkHandoffHeaders wraps PreparedWorkHandoff with response headers.
func (*PreparedWorkHandoffHeaders) GetResponse ¶
func (s *PreparedWorkHandoffHeaders) GetResponse() PreparedWorkHandoff
GetResponse returns the value of Response.
func (*PreparedWorkHandoffHeaders) GetXPowerContextRequestID ¶
func (s *PreparedWorkHandoffHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*PreparedWorkHandoffHeaders) SetResponse ¶
func (s *PreparedWorkHandoffHeaders) SetResponse(val PreparedWorkHandoff)
SetResponse sets the value of Response.
func (*PreparedWorkHandoffHeaders) SetXPowerContextRequestID ¶
func (s *PreparedWorkHandoffHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*PreparedWorkHandoffHeaders) Validate ¶
func (s *PreparedWorkHandoffHeaders) Validate() error
type ProjectDescriptor ¶
type ProjectDescriptor struct {
Schema ProjectDescriptorSchema `json:"schema"`
ProjectID string `json:"project_id"`
ProjectKey string `json:"project_key"`
Title string `json:"title"`
Description NilString `json:"description"`
DefaultLocale ReportLocale `json:"default_locale"`
Timezone string `json:"timezone"`
CatalogState ReportCatalogState `json:"catalog_state"`
Version int `json:"version"`
}
Ref: #/components/schemas/ProjectDescriptor
func (*ProjectDescriptor) Decode ¶
func (s *ProjectDescriptor) Decode(d *jx.Decoder) error
Decode decodes ProjectDescriptor from json.
func (*ProjectDescriptor) Encode ¶
func (s *ProjectDescriptor) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProjectDescriptor) GetCatalogState ¶
func (s *ProjectDescriptor) GetCatalogState() ReportCatalogState
GetCatalogState returns the value of CatalogState.
func (*ProjectDescriptor) GetDefaultLocale ¶
func (s *ProjectDescriptor) GetDefaultLocale() ReportLocale
GetDefaultLocale returns the value of DefaultLocale.
func (*ProjectDescriptor) GetDescription ¶
func (s *ProjectDescriptor) GetDescription() NilString
GetDescription returns the value of Description.
func (*ProjectDescriptor) GetProjectID ¶
func (s *ProjectDescriptor) GetProjectID() string
GetProjectID returns the value of ProjectID.
func (*ProjectDescriptor) GetProjectKey ¶
func (s *ProjectDescriptor) GetProjectKey() string
GetProjectKey returns the value of ProjectKey.
func (*ProjectDescriptor) GetSchema ¶
func (s *ProjectDescriptor) GetSchema() ProjectDescriptorSchema
GetSchema returns the value of Schema.
func (*ProjectDescriptor) GetTimezone ¶
func (s *ProjectDescriptor) GetTimezone() string
GetTimezone returns the value of Timezone.
func (*ProjectDescriptor) GetTitle ¶
func (s *ProjectDescriptor) GetTitle() string
GetTitle returns the value of Title.
func (*ProjectDescriptor) GetVersion ¶
func (s *ProjectDescriptor) GetVersion() int
GetVersion returns the value of Version.
func (*ProjectDescriptor) MarshalJSON ¶
func (s *ProjectDescriptor) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProjectDescriptor) SetCatalogState ¶
func (s *ProjectDescriptor) SetCatalogState(val ReportCatalogState)
SetCatalogState sets the value of CatalogState.
func (*ProjectDescriptor) SetDefaultLocale ¶
func (s *ProjectDescriptor) SetDefaultLocale(val ReportLocale)
SetDefaultLocale sets the value of DefaultLocale.
func (*ProjectDescriptor) SetDescription ¶
func (s *ProjectDescriptor) SetDescription(val NilString)
SetDescription sets the value of Description.
func (*ProjectDescriptor) SetProjectID ¶
func (s *ProjectDescriptor) SetProjectID(val string)
SetProjectID sets the value of ProjectID.
func (*ProjectDescriptor) SetProjectKey ¶
func (s *ProjectDescriptor) SetProjectKey(val string)
SetProjectKey sets the value of ProjectKey.
func (*ProjectDescriptor) SetSchema ¶
func (s *ProjectDescriptor) SetSchema(val ProjectDescriptorSchema)
SetSchema sets the value of Schema.
func (*ProjectDescriptor) SetTimezone ¶
func (s *ProjectDescriptor) SetTimezone(val string)
SetTimezone sets the value of Timezone.
func (*ProjectDescriptor) SetTitle ¶
func (s *ProjectDescriptor) SetTitle(val string)
SetTitle sets the value of Title.
func (*ProjectDescriptor) SetVersion ¶
func (s *ProjectDescriptor) SetVersion(val int)
SetVersion sets the value of Version.
func (*ProjectDescriptor) UnmarshalJSON ¶
func (s *ProjectDescriptor) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ProjectDescriptor) Validate ¶
func (s *ProjectDescriptor) Validate() error
type ProjectDescriptorHeaders ¶
type ProjectDescriptorHeaders struct {
XPowerContextRequestID OptString
Response ProjectDescriptor
}
ProjectDescriptorHeaders wraps ProjectDescriptor with response headers.
func (*ProjectDescriptorHeaders) GetResponse ¶
func (s *ProjectDescriptorHeaders) GetResponse() ProjectDescriptor
GetResponse returns the value of Response.
func (*ProjectDescriptorHeaders) GetXPowerContextRequestID ¶
func (s *ProjectDescriptorHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*ProjectDescriptorHeaders) SetResponse ¶
func (s *ProjectDescriptorHeaders) SetResponse(val ProjectDescriptor)
SetResponse sets the value of Response.
func (*ProjectDescriptorHeaders) SetXPowerContextRequestID ¶
func (s *ProjectDescriptorHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*ProjectDescriptorHeaders) Validate ¶
func (s *ProjectDescriptorHeaders) Validate() error
type ProjectDescriptorSchema ¶
type ProjectDescriptorSchema string
const (
ProjectDescriptorSchemaPowercontextProjectV1 ProjectDescriptorSchema = "powercontext.project.v1"
)
func (ProjectDescriptorSchema) AllValues ¶
func (ProjectDescriptorSchema) AllValues() []ProjectDescriptorSchema
AllValues returns all ProjectDescriptorSchema values.
func (*ProjectDescriptorSchema) Decode ¶
func (s *ProjectDescriptorSchema) Decode(d *jx.Decoder) error
Decode decodes ProjectDescriptorSchema from json.
func (ProjectDescriptorSchema) Encode ¶
func (s ProjectDescriptorSchema) Encode(e *jx.Encoder)
Encode encodes ProjectDescriptorSchema as json.
func (ProjectDescriptorSchema) MarshalJSON ¶
func (s ProjectDescriptorSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ProjectDescriptorSchema) MarshalText ¶
func (s ProjectDescriptorSchema) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ProjectDescriptorSchema) UnmarshalJSON ¶
func (s *ProjectDescriptorSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ProjectDescriptorSchema) UnmarshalText ¶
func (s *ProjectDescriptorSchema) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ProjectDescriptorSchema) Validate ¶
func (s ProjectDescriptorSchema) Validate() error
type ProjectPage ¶
type ProjectPage struct {
Items []ProjectDescriptor `json:"items"`
NextCursor NilString `json:"next_cursor"`
}
Ref: #/components/schemas/ProjectPage
func (*ProjectPage) Decode ¶
func (s *ProjectPage) Decode(d *jx.Decoder) error
Decode decodes ProjectPage from json.
func (*ProjectPage) Encode ¶
func (s *ProjectPage) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProjectPage) GetItems ¶
func (s *ProjectPage) GetItems() []ProjectDescriptor
GetItems returns the value of Items.
func (*ProjectPage) GetNextCursor ¶
func (s *ProjectPage) GetNextCursor() NilString
GetNextCursor returns the value of NextCursor.
func (*ProjectPage) MarshalJSON ¶
func (s *ProjectPage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProjectPage) SetItems ¶
func (s *ProjectPage) SetItems(val []ProjectDescriptor)
SetItems sets the value of Items.
func (*ProjectPage) SetNextCursor ¶
func (s *ProjectPage) SetNextCursor(val NilString)
SetNextCursor sets the value of NextCursor.
func (*ProjectPage) UnmarshalJSON ¶
func (s *ProjectPage) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ProjectPage) Validate ¶
func (s *ProjectPage) Validate() error
type ProjectPageHeaders ¶
type ProjectPageHeaders struct {
XPowerContextRequestID OptString
Response ProjectPage
}
ProjectPageHeaders wraps ProjectPage with response headers.
func (*ProjectPageHeaders) GetResponse ¶
func (s *ProjectPageHeaders) GetResponse() ProjectPage
GetResponse returns the value of Response.
func (*ProjectPageHeaders) GetXPowerContextRequestID ¶
func (s *ProjectPageHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*ProjectPageHeaders) SetResponse ¶
func (s *ProjectPageHeaders) SetResponse(val ProjectPage)
SetResponse sets the value of Response.
func (*ProjectPageHeaders) SetXPowerContextRequestID ¶
func (s *ProjectPageHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*ProjectPageHeaders) Validate ¶
func (s *ProjectPageHeaders) Validate() error
type ProposeExperienceRequest ¶
type ProposeExperienceRequest struct {
ScopeID string `json:"scope_id"`
Proposal ExperienceProposal `json:"proposal"`
// Exact Source evidence. Counted with artifact_refs toward a combined maximum of 32 references.
SourceRefs []SourceReference `json:"source_refs"`
// Exact Artifact evidence. Counted with source_refs toward a combined maximum of 32 references.
ArtifactRefs []ArtifactReference `json:"artifact_refs"`
Target OptNilArtifactReference `json:"target"`
Reason OptNilString `json:"reason"`
}
Ref: #/components/schemas/ProposeExperienceRequest
func (*ProposeExperienceRequest) Decode ¶
func (s *ProposeExperienceRequest) Decode(d *jx.Decoder) error
Decode decodes ProposeExperienceRequest from json.
func (*ProposeExperienceRequest) Encode ¶
func (s *ProposeExperienceRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProposeExperienceRequest) GetArtifactRefs ¶
func (s *ProposeExperienceRequest) GetArtifactRefs() []ArtifactReference
GetArtifactRefs returns the value of ArtifactRefs.
func (*ProposeExperienceRequest) GetProposal ¶
func (s *ProposeExperienceRequest) GetProposal() ExperienceProposal
GetProposal returns the value of Proposal.
func (*ProposeExperienceRequest) GetReason ¶
func (s *ProposeExperienceRequest) GetReason() OptNilString
GetReason returns the value of Reason.
func (*ProposeExperienceRequest) GetScopeID ¶
func (s *ProposeExperienceRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*ProposeExperienceRequest) GetSourceRefs ¶
func (s *ProposeExperienceRequest) GetSourceRefs() []SourceReference
GetSourceRefs returns the value of SourceRefs.
func (*ProposeExperienceRequest) GetTarget ¶
func (s *ProposeExperienceRequest) GetTarget() OptNilArtifactReference
GetTarget returns the value of Target.
func (*ProposeExperienceRequest) MarshalJSON ¶
func (s *ProposeExperienceRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProposeExperienceRequest) SetArtifactRefs ¶
func (s *ProposeExperienceRequest) SetArtifactRefs(val []ArtifactReference)
SetArtifactRefs sets the value of ArtifactRefs.
func (*ProposeExperienceRequest) SetProposal ¶
func (s *ProposeExperienceRequest) SetProposal(val ExperienceProposal)
SetProposal sets the value of Proposal.
func (*ProposeExperienceRequest) SetReason ¶
func (s *ProposeExperienceRequest) SetReason(val OptNilString)
SetReason sets the value of Reason.
func (*ProposeExperienceRequest) SetScopeID ¶
func (s *ProposeExperienceRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*ProposeExperienceRequest) SetSourceRefs ¶
func (s *ProposeExperienceRequest) SetSourceRefs(val []SourceReference)
SetSourceRefs sets the value of SourceRefs.
func (*ProposeExperienceRequest) SetTarget ¶
func (s *ProposeExperienceRequest) SetTarget(val OptNilArtifactReference)
SetTarget sets the value of Target.
func (*ProposeExperienceRequest) UnmarshalJSON ¶
func (s *ProposeExperienceRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ProposeExperienceRequest) Validate ¶
func (s *ProposeExperienceRequest) Validate() error
type ProposeExperienceRes ¶
type ProposeExperienceRes interface {
// contains filtered or unexported methods
}
type ProposeSkillRequest ¶
type ProposeSkillRequest struct {
ScopeID string `json:"scope_id"`
Proposal SkillProposal `json:"proposal"`
// Exact Source evidence. Counted with artifact_refs toward a combined maximum of 32 references.
SourceRefs []SourceReference `json:"source_refs"`
// Exact Artifact evidence. Counted with source_refs toward a combined maximum of 32 references.
ArtifactRefs []ArtifactReference `json:"artifact_refs"`
Target OptNilArtifactReference `json:"target"`
Reason OptNilString `json:"reason"`
}
Ref: #/components/schemas/ProposeSkillRequest
func (*ProposeSkillRequest) Decode ¶
func (s *ProposeSkillRequest) Decode(d *jx.Decoder) error
Decode decodes ProposeSkillRequest from json.
func (*ProposeSkillRequest) Encode ¶
func (s *ProposeSkillRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProposeSkillRequest) GetArtifactRefs ¶
func (s *ProposeSkillRequest) GetArtifactRefs() []ArtifactReference
GetArtifactRefs returns the value of ArtifactRefs.
func (*ProposeSkillRequest) GetProposal ¶
func (s *ProposeSkillRequest) GetProposal() SkillProposal
GetProposal returns the value of Proposal.
func (*ProposeSkillRequest) GetReason ¶
func (s *ProposeSkillRequest) GetReason() OptNilString
GetReason returns the value of Reason.
func (*ProposeSkillRequest) GetScopeID ¶
func (s *ProposeSkillRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*ProposeSkillRequest) GetSourceRefs ¶
func (s *ProposeSkillRequest) GetSourceRefs() []SourceReference
GetSourceRefs returns the value of SourceRefs.
func (*ProposeSkillRequest) GetTarget ¶
func (s *ProposeSkillRequest) GetTarget() OptNilArtifactReference
GetTarget returns the value of Target.
func (*ProposeSkillRequest) MarshalJSON ¶
func (s *ProposeSkillRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProposeSkillRequest) SetArtifactRefs ¶
func (s *ProposeSkillRequest) SetArtifactRefs(val []ArtifactReference)
SetArtifactRefs sets the value of ArtifactRefs.
func (*ProposeSkillRequest) SetProposal ¶
func (s *ProposeSkillRequest) SetProposal(val SkillProposal)
SetProposal sets the value of Proposal.
func (*ProposeSkillRequest) SetReason ¶
func (s *ProposeSkillRequest) SetReason(val OptNilString)
SetReason sets the value of Reason.
func (*ProposeSkillRequest) SetScopeID ¶
func (s *ProposeSkillRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*ProposeSkillRequest) SetSourceRefs ¶
func (s *ProposeSkillRequest) SetSourceRefs(val []SourceReference)
SetSourceRefs sets the value of SourceRefs.
func (*ProposeSkillRequest) SetTarget ¶
func (s *ProposeSkillRequest) SetTarget(val OptNilArtifactReference)
SetTarget sets the value of Target.
func (*ProposeSkillRequest) UnmarshalJSON ¶
func (s *ProposeSkillRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ProposeSkillRequest) Validate ¶
func (s *ProposeSkillRequest) Validate() error
type ProposeSkillRes ¶
type ProposeSkillRes interface {
// contains filtered or unexported methods
}
type PurgeHandoffReportActivitiesRequest ¶
type PurgeHandoffReportActivitiesRequest struct {
ProjectID string `json:"project_id"`
ObservedBefore time.Time `json:"observed_before"`
}
Ref: #/components/schemas/PurgeHandoffReportActivitiesRequest
func (*PurgeHandoffReportActivitiesRequest) Decode ¶
func (s *PurgeHandoffReportActivitiesRequest) Decode(d *jx.Decoder) error
Decode decodes PurgeHandoffReportActivitiesRequest from json.
func (*PurgeHandoffReportActivitiesRequest) Encode ¶
func (s *PurgeHandoffReportActivitiesRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PurgeHandoffReportActivitiesRequest) GetObservedBefore ¶
func (s *PurgeHandoffReportActivitiesRequest) GetObservedBefore() time.Time
GetObservedBefore returns the value of ObservedBefore.
func (*PurgeHandoffReportActivitiesRequest) GetProjectID ¶
func (s *PurgeHandoffReportActivitiesRequest) GetProjectID() string
GetProjectID returns the value of ProjectID.
func (*PurgeHandoffReportActivitiesRequest) MarshalJSON ¶
func (s *PurgeHandoffReportActivitiesRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PurgeHandoffReportActivitiesRequest) SetObservedBefore ¶
func (s *PurgeHandoffReportActivitiesRequest) SetObservedBefore(val time.Time)
SetObservedBefore sets the value of ObservedBefore.
func (*PurgeHandoffReportActivitiesRequest) SetProjectID ¶
func (s *PurgeHandoffReportActivitiesRequest) SetProjectID(val string)
SetProjectID sets the value of ProjectID.
func (*PurgeHandoffReportActivitiesRequest) UnmarshalJSON ¶
func (s *PurgeHandoffReportActivitiesRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PurgeHandoffReportActivitiesRequest) Validate ¶
func (s *PurgeHandoffReportActivitiesRequest) Validate() error
type PurgeHandoffReportActivitiesRes ¶
type PurgeHandoffReportActivitiesRes interface {
// contains filtered or unexported methods
}
type PurgeHandoffReportActivitiesResponse ¶
type PurgeHandoffReportActivitiesResponse struct {
DeletedCount int `json:"deleted_count"`
}
Ref: #/components/schemas/PurgeHandoffReportActivitiesResponse
func (*PurgeHandoffReportActivitiesResponse) Decode ¶
func (s *PurgeHandoffReportActivitiesResponse) Decode(d *jx.Decoder) error
Decode decodes PurgeHandoffReportActivitiesResponse from json.
func (*PurgeHandoffReportActivitiesResponse) Encode ¶
func (s *PurgeHandoffReportActivitiesResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PurgeHandoffReportActivitiesResponse) GetDeletedCount ¶
func (s *PurgeHandoffReportActivitiesResponse) GetDeletedCount() int
GetDeletedCount returns the value of DeletedCount.
func (*PurgeHandoffReportActivitiesResponse) MarshalJSON ¶
func (s *PurgeHandoffReportActivitiesResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PurgeHandoffReportActivitiesResponse) SetDeletedCount ¶
func (s *PurgeHandoffReportActivitiesResponse) SetDeletedCount(val int)
SetDeletedCount sets the value of DeletedCount.
func (*PurgeHandoffReportActivitiesResponse) UnmarshalJSON ¶
func (s *PurgeHandoffReportActivitiesResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PurgeHandoffReportActivitiesResponse) Validate ¶
func (s *PurgeHandoffReportActivitiesResponse) Validate() error
type PurgeHandoffReportActivitiesResponseHeaders ¶
type PurgeHandoffReportActivitiesResponseHeaders struct {
XPowerContextRequestID OptString
Response PurgeHandoffReportActivitiesResponse
}
PurgeHandoffReportActivitiesResponseHeaders wraps PurgeHandoffReportActivitiesResponse with response headers.
func (*PurgeHandoffReportActivitiesResponseHeaders) GetResponse ¶
func (s *PurgeHandoffReportActivitiesResponseHeaders) GetResponse() PurgeHandoffReportActivitiesResponse
GetResponse returns the value of Response.
func (*PurgeHandoffReportActivitiesResponseHeaders) GetXPowerContextRequestID ¶
func (s *PurgeHandoffReportActivitiesResponseHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*PurgeHandoffReportActivitiesResponseHeaders) SetResponse ¶
func (s *PurgeHandoffReportActivitiesResponseHeaders) SetResponse(val PurgeHandoffReportActivitiesResponse)
SetResponse sets the value of Response.
func (*PurgeHandoffReportActivitiesResponseHeaders) SetXPowerContextRequestID ¶
func (s *PurgeHandoffReportActivitiesResponseHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*PurgeHandoffReportActivitiesResponseHeaders) Validate ¶
func (s *PurgeHandoffReportActivitiesResponseHeaders) Validate() error
type ReadinessResponse ¶
type ReadinessResponse struct {
Status ReadinessStatus `json:"status"`
Checks ReadinessResponseChecks `json:"checks"`
}
Ref: #/components/schemas/ReadinessResponse
func (*ReadinessResponse) Decode ¶
func (s *ReadinessResponse) Decode(d *jx.Decoder) error
Decode decodes ReadinessResponse from json.
func (*ReadinessResponse) Encode ¶
func (s *ReadinessResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ReadinessResponse) GetChecks ¶
func (s *ReadinessResponse) GetChecks() ReadinessResponseChecks
GetChecks returns the value of Checks.
func (*ReadinessResponse) GetStatus ¶
func (s *ReadinessResponse) GetStatus() ReadinessStatus
GetStatus returns the value of Status.
func (*ReadinessResponse) MarshalJSON ¶
func (s *ReadinessResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ReadinessResponse) SetChecks ¶
func (s *ReadinessResponse) SetChecks(val ReadinessResponseChecks)
SetChecks sets the value of Checks.
func (*ReadinessResponse) SetStatus ¶
func (s *ReadinessResponse) SetStatus(val ReadinessStatus)
SetStatus sets the value of Status.
func (*ReadinessResponse) UnmarshalJSON ¶
func (s *ReadinessResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ReadinessResponse) Validate ¶
func (s *ReadinessResponse) Validate() error
type ReadinessResponseChecks ¶
func (*ReadinessResponseChecks) Decode ¶
func (s *ReadinessResponseChecks) Decode(d *jx.Decoder) error
Decode decodes ReadinessResponseChecks from json.
func (ReadinessResponseChecks) Encode ¶
func (s ReadinessResponseChecks) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ReadinessResponseChecks) MarshalJSON ¶
func (s ReadinessResponseChecks) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ReadinessResponseChecks) UnmarshalJSON ¶
func (s *ReadinessResponseChecks) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ReadinessResponseHeaders ¶
type ReadinessResponseHeaders struct {
XPowerContextRequestID OptString
Response ReadinessResponse
}
ReadinessResponseHeaders wraps ReadinessResponse with response headers.
func (*ReadinessResponseHeaders) GetResponse ¶
func (s *ReadinessResponseHeaders) GetResponse() ReadinessResponse
GetResponse returns the value of Response.
func (*ReadinessResponseHeaders) GetXPowerContextRequestID ¶
func (s *ReadinessResponseHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*ReadinessResponseHeaders) SetResponse ¶
func (s *ReadinessResponseHeaders) SetResponse(val ReadinessResponse)
SetResponse sets the value of Response.
func (*ReadinessResponseHeaders) SetXPowerContextRequestID ¶
func (s *ReadinessResponseHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*ReadinessResponseHeaders) Validate ¶
func (s *ReadinessResponseHeaders) Validate() error
type ReadinessStatus ¶
type ReadinessStatus string
Ref: #/components/schemas/ReadinessStatus
const ( ReadinessStatusReady ReadinessStatus = "ready" ReadinessStatusDegraded ReadinessStatus = "degraded" ReadinessStatusNotReady ReadinessStatus = "not_ready" )
func (ReadinessStatus) AllValues ¶
func (ReadinessStatus) AllValues() []ReadinessStatus
AllValues returns all ReadinessStatus values.
func (*ReadinessStatus) Decode ¶
func (s *ReadinessStatus) Decode(d *jx.Decoder) error
Decode decodes ReadinessStatus from json.
func (ReadinessStatus) Encode ¶
func (s ReadinessStatus) Encode(e *jx.Encoder)
Encode encodes ReadinessStatus as json.
func (ReadinessStatus) MarshalJSON ¶
func (s ReadinessStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ReadinessStatus) MarshalText ¶
func (s ReadinessStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ReadinessStatus) UnmarshalJSON ¶
func (s *ReadinessStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ReadinessStatus) UnmarshalText ¶
func (s *ReadinessStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ReadinessStatus) Validate ¶
func (s ReadinessStatus) Validate() error
type RecallTokenDay ¶
type RecallTokenDay struct {
Date time.Time `json:"date"`
Preparations int `json:"preparations"`
ReadyPreparations int `json:"ready_preparations"`
ComparablePreparations int `json:"comparable_preparations"`
BaselineTokens int `json:"baseline_tokens"`
RecalledTokens int `json:"recalled_tokens"`
TokenReduction int `json:"token_reduction"`
}
Ref: #/components/schemas/RecallTokenDay
func (*RecallTokenDay) Decode ¶
func (s *RecallTokenDay) Decode(d *jx.Decoder) error
Decode decodes RecallTokenDay from json.
func (*RecallTokenDay) Encode ¶
func (s *RecallTokenDay) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RecallTokenDay) GetBaselineTokens ¶
func (s *RecallTokenDay) GetBaselineTokens() int
GetBaselineTokens returns the value of BaselineTokens.
func (*RecallTokenDay) GetComparablePreparations ¶
func (s *RecallTokenDay) GetComparablePreparations() int
GetComparablePreparations returns the value of ComparablePreparations.
func (*RecallTokenDay) GetDate ¶
func (s *RecallTokenDay) GetDate() time.Time
GetDate returns the value of Date.
func (*RecallTokenDay) GetPreparations ¶
func (s *RecallTokenDay) GetPreparations() int
GetPreparations returns the value of Preparations.
func (*RecallTokenDay) GetReadyPreparations ¶
func (s *RecallTokenDay) GetReadyPreparations() int
GetReadyPreparations returns the value of ReadyPreparations.
func (*RecallTokenDay) GetRecalledTokens ¶
func (s *RecallTokenDay) GetRecalledTokens() int
GetRecalledTokens returns the value of RecalledTokens.
func (*RecallTokenDay) GetTokenReduction ¶
func (s *RecallTokenDay) GetTokenReduction() int
GetTokenReduction returns the value of TokenReduction.
func (*RecallTokenDay) MarshalJSON ¶
func (s *RecallTokenDay) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RecallTokenDay) SetBaselineTokens ¶
func (s *RecallTokenDay) SetBaselineTokens(val int)
SetBaselineTokens sets the value of BaselineTokens.
func (*RecallTokenDay) SetComparablePreparations ¶
func (s *RecallTokenDay) SetComparablePreparations(val int)
SetComparablePreparations sets the value of ComparablePreparations.
func (*RecallTokenDay) SetDate ¶
func (s *RecallTokenDay) SetDate(val time.Time)
SetDate sets the value of Date.
func (*RecallTokenDay) SetPreparations ¶
func (s *RecallTokenDay) SetPreparations(val int)
SetPreparations sets the value of Preparations.
func (*RecallTokenDay) SetReadyPreparations ¶
func (s *RecallTokenDay) SetReadyPreparations(val int)
SetReadyPreparations sets the value of ReadyPreparations.
func (*RecallTokenDay) SetRecalledTokens ¶
func (s *RecallTokenDay) SetRecalledTokens(val int)
SetRecalledTokens sets the value of RecalledTokens.
func (*RecallTokenDay) SetTokenReduction ¶
func (s *RecallTokenDay) SetTokenReduction(val int)
SetTokenReduction sets the value of TokenReduction.
func (*RecallTokenDay) UnmarshalJSON ¶
func (s *RecallTokenDay) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RecallTokenDay) Validate ¶
func (s *RecallTokenDay) Validate() error
type RecallTokenStatistics ¶
type RecallTokenStatistics struct {
Period ResolvedUsagePeriod `json:"period"`
Estimator NilTokenEstimatorProfile `json:"estimator"`
Totals RecallTokenValue `json:"totals"`
Daily []RecallTokenDay `json:"daily"`
}
Ref: #/components/schemas/RecallTokenStatistics
func (*RecallTokenStatistics) Decode ¶
func (s *RecallTokenStatistics) Decode(d *jx.Decoder) error
Decode decodes RecallTokenStatistics from json.
func (*RecallTokenStatistics) Encode ¶
func (s *RecallTokenStatistics) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RecallTokenStatistics) GetDaily ¶
func (s *RecallTokenStatistics) GetDaily() []RecallTokenDay
GetDaily returns the value of Daily.
func (*RecallTokenStatistics) GetEstimator ¶
func (s *RecallTokenStatistics) GetEstimator() NilTokenEstimatorProfile
GetEstimator returns the value of Estimator.
func (*RecallTokenStatistics) GetPeriod ¶
func (s *RecallTokenStatistics) GetPeriod() ResolvedUsagePeriod
GetPeriod returns the value of Period.
func (*RecallTokenStatistics) GetTotals ¶
func (s *RecallTokenStatistics) GetTotals() RecallTokenValue
GetTotals returns the value of Totals.
func (*RecallTokenStatistics) MarshalJSON ¶
func (s *RecallTokenStatistics) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RecallTokenStatistics) SetDaily ¶
func (s *RecallTokenStatistics) SetDaily(val []RecallTokenDay)
SetDaily sets the value of Daily.
func (*RecallTokenStatistics) SetEstimator ¶
func (s *RecallTokenStatistics) SetEstimator(val NilTokenEstimatorProfile)
SetEstimator sets the value of Estimator.
func (*RecallTokenStatistics) SetPeriod ¶
func (s *RecallTokenStatistics) SetPeriod(val ResolvedUsagePeriod)
SetPeriod sets the value of Period.
func (*RecallTokenStatistics) SetTotals ¶
func (s *RecallTokenStatistics) SetTotals(val RecallTokenValue)
SetTotals sets the value of Totals.
func (*RecallTokenStatistics) UnmarshalJSON ¶
func (s *RecallTokenStatistics) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RecallTokenStatistics) Validate ¶
func (s *RecallTokenStatistics) Validate() error
type RecallTokenValue ¶
type RecallTokenValue struct {
Preparations int `json:"preparations"`
ReadyPreparations int `json:"ready_preparations"`
ComparablePreparations int `json:"comparable_preparations"`
BaselineTokens int `json:"baseline_tokens"`
RecalledTokens int `json:"recalled_tokens"`
TokenReduction int `json:"token_reduction"`
}
Ref: #/components/schemas/RecallTokenValue
func (*RecallTokenValue) Decode ¶
func (s *RecallTokenValue) Decode(d *jx.Decoder) error
Decode decodes RecallTokenValue from json.
func (*RecallTokenValue) Encode ¶
func (s *RecallTokenValue) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RecallTokenValue) GetBaselineTokens ¶
func (s *RecallTokenValue) GetBaselineTokens() int
GetBaselineTokens returns the value of BaselineTokens.
func (*RecallTokenValue) GetComparablePreparations ¶
func (s *RecallTokenValue) GetComparablePreparations() int
GetComparablePreparations returns the value of ComparablePreparations.
func (*RecallTokenValue) GetPreparations ¶
func (s *RecallTokenValue) GetPreparations() int
GetPreparations returns the value of Preparations.
func (*RecallTokenValue) GetReadyPreparations ¶
func (s *RecallTokenValue) GetReadyPreparations() int
GetReadyPreparations returns the value of ReadyPreparations.
func (*RecallTokenValue) GetRecalledTokens ¶
func (s *RecallTokenValue) GetRecalledTokens() int
GetRecalledTokens returns the value of RecalledTokens.
func (*RecallTokenValue) GetTokenReduction ¶
func (s *RecallTokenValue) GetTokenReduction() int
GetTokenReduction returns the value of TokenReduction.
func (*RecallTokenValue) MarshalJSON ¶
func (s *RecallTokenValue) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RecallTokenValue) SetBaselineTokens ¶
func (s *RecallTokenValue) SetBaselineTokens(val int)
SetBaselineTokens sets the value of BaselineTokens.
func (*RecallTokenValue) SetComparablePreparations ¶
func (s *RecallTokenValue) SetComparablePreparations(val int)
SetComparablePreparations sets the value of ComparablePreparations.
func (*RecallTokenValue) SetPreparations ¶
func (s *RecallTokenValue) SetPreparations(val int)
SetPreparations sets the value of Preparations.
func (*RecallTokenValue) SetReadyPreparations ¶
func (s *RecallTokenValue) SetReadyPreparations(val int)
SetReadyPreparations sets the value of ReadyPreparations.
func (*RecallTokenValue) SetRecalledTokens ¶
func (s *RecallTokenValue) SetRecalledTokens(val int)
SetRecalledTokens sets the value of RecalledTokens.
func (*RecallTokenValue) SetTokenReduction ¶
func (s *RecallTokenValue) SetTokenReduction(val int)
SetTokenReduction sets the value of TokenReduction.
func (*RecallTokenValue) UnmarshalJSON ¶
func (s *RecallTokenValue) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RecallTokenValue) Validate ¶
func (s *RecallTokenValue) Validate() error
type ReceiverChecks ¶
type ReceiverChecks struct {
LiveState LiveStateCheckStatus `json:"live_state"`
Capability ReceiverReadinessCheckStatus `json:"capability"`
Authorization ReceiverReadinessCheckStatus `json:"authorization"`
}
Untrusted receiver self-attestation kept separate from citation availability. All three values must be confirmed when status is accepted. Ref: #/components/schemas/ReceiverChecks
func (*ReceiverChecks) Decode ¶
func (s *ReceiverChecks) Decode(d *jx.Decoder) error
Decode decodes ReceiverChecks from json.
func (*ReceiverChecks) Encode ¶
func (s *ReceiverChecks) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ReceiverChecks) GetAuthorization ¶
func (s *ReceiverChecks) GetAuthorization() ReceiverReadinessCheckStatus
GetAuthorization returns the value of Authorization.
func (*ReceiverChecks) GetCapability ¶
func (s *ReceiverChecks) GetCapability() ReceiverReadinessCheckStatus
GetCapability returns the value of Capability.
func (*ReceiverChecks) GetLiveState ¶
func (s *ReceiverChecks) GetLiveState() LiveStateCheckStatus
GetLiveState returns the value of LiveState.
func (*ReceiverChecks) MarshalJSON ¶
func (s *ReceiverChecks) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ReceiverChecks) SetAuthorization ¶
func (s *ReceiverChecks) SetAuthorization(val ReceiverReadinessCheckStatus)
SetAuthorization sets the value of Authorization.
func (*ReceiverChecks) SetCapability ¶
func (s *ReceiverChecks) SetCapability(val ReceiverReadinessCheckStatus)
SetCapability sets the value of Capability.
func (*ReceiverChecks) SetLiveState ¶
func (s *ReceiverChecks) SetLiveState(val LiveStateCheckStatus)
SetLiveState sets the value of LiveState.
func (*ReceiverChecks) UnmarshalJSON ¶
func (s *ReceiverChecks) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ReceiverChecks) Validate ¶
func (s *ReceiverChecks) Validate() error
type ReceiverReadinessCheckStatus ¶
type ReceiverReadinessCheckStatus string
Ref: #/components/schemas/ReceiverReadinessCheckStatus
const ( ReceiverReadinessCheckStatusConfirmed ReceiverReadinessCheckStatus = "confirmed" ReceiverReadinessCheckStatusInsufficient ReceiverReadinessCheckStatus = "insufficient" ReceiverReadinessCheckStatusNotChecked ReceiverReadinessCheckStatus = "not_checked" )
func (ReceiverReadinessCheckStatus) AllValues ¶
func (ReceiverReadinessCheckStatus) AllValues() []ReceiverReadinessCheckStatus
AllValues returns all ReceiverReadinessCheckStatus values.
func (*ReceiverReadinessCheckStatus) Decode ¶
func (s *ReceiverReadinessCheckStatus) Decode(d *jx.Decoder) error
Decode decodes ReceiverReadinessCheckStatus from json.
func (ReceiverReadinessCheckStatus) Encode ¶
func (s ReceiverReadinessCheckStatus) Encode(e *jx.Encoder)
Encode encodes ReceiverReadinessCheckStatus as json.
func (ReceiverReadinessCheckStatus) MarshalJSON ¶
func (s ReceiverReadinessCheckStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ReceiverReadinessCheckStatus) MarshalText ¶
func (s ReceiverReadinessCheckStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ReceiverReadinessCheckStatus) UnmarshalJSON ¶
func (s *ReceiverReadinessCheckStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ReceiverReadinessCheckStatus) UnmarshalText ¶
func (s *ReceiverReadinessCheckStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ReceiverReadinessCheckStatus) Validate ¶
func (s ReceiverReadinessCheckStatus) Validate() error
type RecordHandoffReportActivityRequest ¶
type RecordHandoffReportActivityRequest struct {
ProjectID string `json:"project_id"`
ScopeID OptNilString `json:"scope_id"`
Source ReportActivitySource `json:"source"`
SourceEventID string `json:"source_event_id"`
SourceRef OptNilHandoffReportExternalReference `json:"source_ref"`
OccurredAt OptNilDateTime `json:"occurred_at"`
TimeBasis ReportTimeBasis `json:"time_basis"`
Title OptNilString `json:"title"`
Summary OptNilString `json:"summary"`
Agent OptNilHandoffReportActivityAgent `json:"agent"`
SessionID OptNilString `json:"session_id"`
VcsContext OptNilHandoffReportActivityVcsContext `json:"vcs_context"`
EvidenceRefs []HandoffReportExternalReference `json:"evidence_refs"`
}
Ref: #/components/schemas/RecordHandoffReportActivityRequest
func (*RecordHandoffReportActivityRequest) Decode ¶
func (s *RecordHandoffReportActivityRequest) Decode(d *jx.Decoder) error
Decode decodes RecordHandoffReportActivityRequest from json.
func (*RecordHandoffReportActivityRequest) Encode ¶
func (s *RecordHandoffReportActivityRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RecordHandoffReportActivityRequest) GetAgent ¶
func (s *RecordHandoffReportActivityRequest) GetAgent() OptNilHandoffReportActivityAgent
GetAgent returns the value of Agent.
func (*RecordHandoffReportActivityRequest) GetEvidenceRefs ¶
func (s *RecordHandoffReportActivityRequest) GetEvidenceRefs() []HandoffReportExternalReference
GetEvidenceRefs returns the value of EvidenceRefs.
func (*RecordHandoffReportActivityRequest) GetOccurredAt ¶
func (s *RecordHandoffReportActivityRequest) GetOccurredAt() OptNilDateTime
GetOccurredAt returns the value of OccurredAt.
func (*RecordHandoffReportActivityRequest) GetProjectID ¶
func (s *RecordHandoffReportActivityRequest) GetProjectID() string
GetProjectID returns the value of ProjectID.
func (*RecordHandoffReportActivityRequest) GetScopeID ¶
func (s *RecordHandoffReportActivityRequest) GetScopeID() OptNilString
GetScopeID returns the value of ScopeID.
func (*RecordHandoffReportActivityRequest) GetSessionID ¶
func (s *RecordHandoffReportActivityRequest) GetSessionID() OptNilString
GetSessionID returns the value of SessionID.
func (*RecordHandoffReportActivityRequest) GetSource ¶
func (s *RecordHandoffReportActivityRequest) GetSource() ReportActivitySource
GetSource returns the value of Source.
func (*RecordHandoffReportActivityRequest) GetSourceEventID ¶
func (s *RecordHandoffReportActivityRequest) GetSourceEventID() string
GetSourceEventID returns the value of SourceEventID.
func (*RecordHandoffReportActivityRequest) GetSourceRef ¶
func (s *RecordHandoffReportActivityRequest) GetSourceRef() OptNilHandoffReportExternalReference
GetSourceRef returns the value of SourceRef.
func (*RecordHandoffReportActivityRequest) GetSummary ¶
func (s *RecordHandoffReportActivityRequest) GetSummary() OptNilString
GetSummary returns the value of Summary.
func (*RecordHandoffReportActivityRequest) GetTimeBasis ¶
func (s *RecordHandoffReportActivityRequest) GetTimeBasis() ReportTimeBasis
GetTimeBasis returns the value of TimeBasis.
func (*RecordHandoffReportActivityRequest) GetTitle ¶
func (s *RecordHandoffReportActivityRequest) GetTitle() OptNilString
GetTitle returns the value of Title.
func (*RecordHandoffReportActivityRequest) GetVcsContext ¶
func (s *RecordHandoffReportActivityRequest) GetVcsContext() OptNilHandoffReportActivityVcsContext
GetVcsContext returns the value of VcsContext.
func (*RecordHandoffReportActivityRequest) MarshalJSON ¶
func (s *RecordHandoffReportActivityRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RecordHandoffReportActivityRequest) SetAgent ¶
func (s *RecordHandoffReportActivityRequest) SetAgent(val OptNilHandoffReportActivityAgent)
SetAgent sets the value of Agent.
func (*RecordHandoffReportActivityRequest) SetEvidenceRefs ¶
func (s *RecordHandoffReportActivityRequest) SetEvidenceRefs(val []HandoffReportExternalReference)
SetEvidenceRefs sets the value of EvidenceRefs.
func (*RecordHandoffReportActivityRequest) SetOccurredAt ¶
func (s *RecordHandoffReportActivityRequest) SetOccurredAt(val OptNilDateTime)
SetOccurredAt sets the value of OccurredAt.
func (*RecordHandoffReportActivityRequest) SetProjectID ¶
func (s *RecordHandoffReportActivityRequest) SetProjectID(val string)
SetProjectID sets the value of ProjectID.
func (*RecordHandoffReportActivityRequest) SetScopeID ¶
func (s *RecordHandoffReportActivityRequest) SetScopeID(val OptNilString)
SetScopeID sets the value of ScopeID.
func (*RecordHandoffReportActivityRequest) SetSessionID ¶
func (s *RecordHandoffReportActivityRequest) SetSessionID(val OptNilString)
SetSessionID sets the value of SessionID.
func (*RecordHandoffReportActivityRequest) SetSource ¶
func (s *RecordHandoffReportActivityRequest) SetSource(val ReportActivitySource)
SetSource sets the value of Source.
func (*RecordHandoffReportActivityRequest) SetSourceEventID ¶
func (s *RecordHandoffReportActivityRequest) SetSourceEventID(val string)
SetSourceEventID sets the value of SourceEventID.
func (*RecordHandoffReportActivityRequest) SetSourceRef ¶
func (s *RecordHandoffReportActivityRequest) SetSourceRef(val OptNilHandoffReportExternalReference)
SetSourceRef sets the value of SourceRef.
func (*RecordHandoffReportActivityRequest) SetSummary ¶
func (s *RecordHandoffReportActivityRequest) SetSummary(val OptNilString)
SetSummary sets the value of Summary.
func (*RecordHandoffReportActivityRequest) SetTimeBasis ¶
func (s *RecordHandoffReportActivityRequest) SetTimeBasis(val ReportTimeBasis)
SetTimeBasis sets the value of TimeBasis.
func (*RecordHandoffReportActivityRequest) SetTitle ¶
func (s *RecordHandoffReportActivityRequest) SetTitle(val OptNilString)
SetTitle sets the value of Title.
func (*RecordHandoffReportActivityRequest) SetVcsContext ¶
func (s *RecordHandoffReportActivityRequest) SetVcsContext(val OptNilHandoffReportActivityVcsContext)
SetVcsContext sets the value of VcsContext.
func (*RecordHandoffReportActivityRequest) UnmarshalJSON ¶
func (s *RecordHandoffReportActivityRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RecordHandoffReportActivityRequest) Validate ¶
func (s *RecordHandoffReportActivityRequest) Validate() error
type RecordHandoffReportActivityRes ¶
type RecordHandoffReportActivityRes interface {
// contains filtered or unexported methods
}
type RecordTaskOutcomeRequest ¶
type RecordTaskOutcomeRequest struct {
ScopeID string `json:"scope_id"`
SourceID string `json:"source_id"`
Outcome TaskOutcome `json:"outcome"`
}
Ref: #/components/schemas/RecordTaskOutcomeRequest
func (*RecordTaskOutcomeRequest) Decode ¶
func (s *RecordTaskOutcomeRequest) Decode(d *jx.Decoder) error
Decode decodes RecordTaskOutcomeRequest from json.
func (*RecordTaskOutcomeRequest) Encode ¶
func (s *RecordTaskOutcomeRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RecordTaskOutcomeRequest) GetOutcome ¶
func (s *RecordTaskOutcomeRequest) GetOutcome() TaskOutcome
GetOutcome returns the value of Outcome.
func (*RecordTaskOutcomeRequest) GetScopeID ¶
func (s *RecordTaskOutcomeRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*RecordTaskOutcomeRequest) GetSourceID ¶
func (s *RecordTaskOutcomeRequest) GetSourceID() string
GetSourceID returns the value of SourceID.
func (*RecordTaskOutcomeRequest) MarshalJSON ¶
func (s *RecordTaskOutcomeRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RecordTaskOutcomeRequest) SetOutcome ¶
func (s *RecordTaskOutcomeRequest) SetOutcome(val TaskOutcome)
SetOutcome sets the value of Outcome.
func (*RecordTaskOutcomeRequest) SetScopeID ¶
func (s *RecordTaskOutcomeRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*RecordTaskOutcomeRequest) SetSourceID ¶
func (s *RecordTaskOutcomeRequest) SetSourceID(val string)
SetSourceID sets the value of SourceID.
func (*RecordTaskOutcomeRequest) UnmarshalJSON ¶
func (s *RecordTaskOutcomeRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RecordTaskOutcomeRequest) Validate ¶
func (s *RecordTaskOutcomeRequest) Validate() error
type RecordTaskOutcomeRes ¶
type RecordTaskOutcomeRes interface {
// contains filtered or unexported methods
}
type RegisterHandoffReportWorkstreamRequest ¶
type RegisterHandoffReportWorkstreamRequest struct {
ProjectID string `json:"project_id"`
ScopeID string `json:"scope_id"`
Key OptNilString `json:"key"`
Title string `json:"title"`
Kind WorkstreamKind `json:"kind"`
CatalogState OptReportCatalogState `json:"catalog_state"`
ExternalRefs []HandoffReportExternalReference `json:"external_refs"`
Labels []string `json:"labels"`
}
Ref: #/components/schemas/RegisterHandoffReportWorkstreamRequest
func (*RegisterHandoffReportWorkstreamRequest) Decode ¶
func (s *RegisterHandoffReportWorkstreamRequest) Decode(d *jx.Decoder) error
Decode decodes RegisterHandoffReportWorkstreamRequest from json.
func (*RegisterHandoffReportWorkstreamRequest) Encode ¶
func (s *RegisterHandoffReportWorkstreamRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RegisterHandoffReportWorkstreamRequest) GetCatalogState ¶
func (s *RegisterHandoffReportWorkstreamRequest) GetCatalogState() OptReportCatalogState
GetCatalogState returns the value of CatalogState.
func (*RegisterHandoffReportWorkstreamRequest) GetExternalRefs ¶
func (s *RegisterHandoffReportWorkstreamRequest) GetExternalRefs() []HandoffReportExternalReference
GetExternalRefs returns the value of ExternalRefs.
func (*RegisterHandoffReportWorkstreamRequest) GetKey ¶
func (s *RegisterHandoffReportWorkstreamRequest) GetKey() OptNilString
GetKey returns the value of Key.
func (*RegisterHandoffReportWorkstreamRequest) GetKind ¶
func (s *RegisterHandoffReportWorkstreamRequest) GetKind() WorkstreamKind
GetKind returns the value of Kind.
func (*RegisterHandoffReportWorkstreamRequest) GetLabels ¶
func (s *RegisterHandoffReportWorkstreamRequest) GetLabels() []string
GetLabels returns the value of Labels.
func (*RegisterHandoffReportWorkstreamRequest) GetProjectID ¶
func (s *RegisterHandoffReportWorkstreamRequest) GetProjectID() string
GetProjectID returns the value of ProjectID.
func (*RegisterHandoffReportWorkstreamRequest) GetScopeID ¶
func (s *RegisterHandoffReportWorkstreamRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*RegisterHandoffReportWorkstreamRequest) GetTitle ¶
func (s *RegisterHandoffReportWorkstreamRequest) GetTitle() string
GetTitle returns the value of Title.
func (*RegisterHandoffReportWorkstreamRequest) MarshalJSON ¶
func (s *RegisterHandoffReportWorkstreamRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RegisterHandoffReportWorkstreamRequest) SetCatalogState ¶
func (s *RegisterHandoffReportWorkstreamRequest) SetCatalogState(val OptReportCatalogState)
SetCatalogState sets the value of CatalogState.
func (*RegisterHandoffReportWorkstreamRequest) SetExternalRefs ¶
func (s *RegisterHandoffReportWorkstreamRequest) SetExternalRefs(val []HandoffReportExternalReference)
SetExternalRefs sets the value of ExternalRefs.
func (*RegisterHandoffReportWorkstreamRequest) SetKey ¶
func (s *RegisterHandoffReportWorkstreamRequest) SetKey(val OptNilString)
SetKey sets the value of Key.
func (*RegisterHandoffReportWorkstreamRequest) SetKind ¶
func (s *RegisterHandoffReportWorkstreamRequest) SetKind(val WorkstreamKind)
SetKind sets the value of Kind.
func (*RegisterHandoffReportWorkstreamRequest) SetLabels ¶
func (s *RegisterHandoffReportWorkstreamRequest) SetLabels(val []string)
SetLabels sets the value of Labels.
func (*RegisterHandoffReportWorkstreamRequest) SetProjectID ¶
func (s *RegisterHandoffReportWorkstreamRequest) SetProjectID(val string)
SetProjectID sets the value of ProjectID.
func (*RegisterHandoffReportWorkstreamRequest) SetScopeID ¶
func (s *RegisterHandoffReportWorkstreamRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*RegisterHandoffReportWorkstreamRequest) SetTitle ¶
func (s *RegisterHandoffReportWorkstreamRequest) SetTitle(val string)
SetTitle sets the value of Title.
func (*RegisterHandoffReportWorkstreamRequest) UnmarshalJSON ¶
func (s *RegisterHandoffReportWorkstreamRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RegisterHandoffReportWorkstreamRequest) Validate ¶
func (s *RegisterHandoffReportWorkstreamRequest) Validate() error
type RegisterHandoffReportWorkstreamRes ¶
type RegisterHandoffReportWorkstreamRes interface {
// contains filtered or unexported methods
}
type RejectArtifactCandidateRequest ¶
type RejectArtifactCandidateRequest struct {
ScopeID string `json:"scope_id"`
CandidateID string `json:"candidate_id"`
ExpectedVersion int `json:"expected_version"`
Reason string `json:"reason"`
}
Ref: #/components/schemas/RejectArtifactCandidateRequest
func (*RejectArtifactCandidateRequest) Decode ¶
func (s *RejectArtifactCandidateRequest) Decode(d *jx.Decoder) error
Decode decodes RejectArtifactCandidateRequest from json.
func (*RejectArtifactCandidateRequest) Encode ¶
func (s *RejectArtifactCandidateRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RejectArtifactCandidateRequest) GetCandidateID ¶
func (s *RejectArtifactCandidateRequest) GetCandidateID() string
GetCandidateID returns the value of CandidateID.
func (*RejectArtifactCandidateRequest) GetExpectedVersion ¶
func (s *RejectArtifactCandidateRequest) GetExpectedVersion() int
GetExpectedVersion returns the value of ExpectedVersion.
func (*RejectArtifactCandidateRequest) GetReason ¶
func (s *RejectArtifactCandidateRequest) GetReason() string
GetReason returns the value of Reason.
func (*RejectArtifactCandidateRequest) GetScopeID ¶
func (s *RejectArtifactCandidateRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*RejectArtifactCandidateRequest) MarshalJSON ¶
func (s *RejectArtifactCandidateRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RejectArtifactCandidateRequest) SetCandidateID ¶
func (s *RejectArtifactCandidateRequest) SetCandidateID(val string)
SetCandidateID sets the value of CandidateID.
func (*RejectArtifactCandidateRequest) SetExpectedVersion ¶
func (s *RejectArtifactCandidateRequest) SetExpectedVersion(val int)
SetExpectedVersion sets the value of ExpectedVersion.
func (*RejectArtifactCandidateRequest) SetReason ¶
func (s *RejectArtifactCandidateRequest) SetReason(val string)
SetReason sets the value of Reason.
func (*RejectArtifactCandidateRequest) SetScopeID ¶
func (s *RejectArtifactCandidateRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*RejectArtifactCandidateRequest) UnmarshalJSON ¶
func (s *RejectArtifactCandidateRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RejectArtifactCandidateRequest) Validate ¶
func (s *RejectArtifactCandidateRequest) Validate() error
type RejectArtifactCandidateRes ¶
type RejectArtifactCandidateRes interface {
// contains filtered or unexported methods
}
type RememberMemoryRequest ¶
type RememberMemoryRequest struct {
ScopeID string `json:"scope_id"`
Kind string `json:"kind"`
// Must not exceed 8192 UTF-8 bytes after normalization.
Text string `json:"text"`
Reason OptNilString `json:"reason"`
ExpectedRevision OptNilInt `json:"expected_revision"`
}
Ref: #/components/schemas/RememberMemoryRequest
func (*RememberMemoryRequest) Decode ¶
func (s *RememberMemoryRequest) Decode(d *jx.Decoder) error
Decode decodes RememberMemoryRequest from json.
func (*RememberMemoryRequest) Encode ¶
func (s *RememberMemoryRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RememberMemoryRequest) GetExpectedRevision ¶
func (s *RememberMemoryRequest) GetExpectedRevision() OptNilInt
GetExpectedRevision returns the value of ExpectedRevision.
func (*RememberMemoryRequest) GetKind ¶
func (s *RememberMemoryRequest) GetKind() string
GetKind returns the value of Kind.
func (*RememberMemoryRequest) GetReason ¶
func (s *RememberMemoryRequest) GetReason() OptNilString
GetReason returns the value of Reason.
func (*RememberMemoryRequest) GetScopeID ¶
func (s *RememberMemoryRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*RememberMemoryRequest) GetText ¶
func (s *RememberMemoryRequest) GetText() string
GetText returns the value of Text.
func (*RememberMemoryRequest) MarshalJSON ¶
func (s *RememberMemoryRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RememberMemoryRequest) SetExpectedRevision ¶
func (s *RememberMemoryRequest) SetExpectedRevision(val OptNilInt)
SetExpectedRevision sets the value of ExpectedRevision.
func (*RememberMemoryRequest) SetKind ¶
func (s *RememberMemoryRequest) SetKind(val string)
SetKind sets the value of Kind.
func (*RememberMemoryRequest) SetReason ¶
func (s *RememberMemoryRequest) SetReason(val OptNilString)
SetReason sets the value of Reason.
func (*RememberMemoryRequest) SetScopeID ¶
func (s *RememberMemoryRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*RememberMemoryRequest) SetText ¶
func (s *RememberMemoryRequest) SetText(val string)
SetText sets the value of Text.
func (*RememberMemoryRequest) UnmarshalJSON ¶
func (s *RememberMemoryRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RememberMemoryRequest) Validate ¶
func (s *RememberMemoryRequest) Validate() error
type RememberMemoryRes ¶
type RememberMemoryRes interface {
// contains filtered or unexported methods
}
type ReportActivitySource ¶
type ReportActivitySource string
Ref: #/components/schemas/ReportActivitySource
const ( ReportActivitySourceHandoffObservation ReportActivitySource = "handoff_observation" ReportActivitySourceGitCommit ReportActivitySource = "git_commit" ReportActivitySourceGitWorktree ReportActivitySource = "git_worktree" ReportActivitySourceCodingSession ReportActivitySource = "coding_session" ReportActivitySourceOther ReportActivitySource = "other" )
func (ReportActivitySource) AllValues ¶
func (ReportActivitySource) AllValues() []ReportActivitySource
AllValues returns all ReportActivitySource values.
func (*ReportActivitySource) Decode ¶
func (s *ReportActivitySource) Decode(d *jx.Decoder) error
Decode decodes ReportActivitySource from json.
func (ReportActivitySource) Encode ¶
func (s ReportActivitySource) Encode(e *jx.Encoder)
Encode encodes ReportActivitySource as json.
func (ReportActivitySource) MarshalJSON ¶
func (s ReportActivitySource) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ReportActivitySource) MarshalText ¶
func (s ReportActivitySource) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ReportActivitySource) UnmarshalJSON ¶
func (s *ReportActivitySource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ReportActivitySource) UnmarshalText ¶
func (s *ReportActivitySource) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ReportActivitySource) Validate ¶
func (s ReportActivitySource) Validate() error
type ReportCatalogState ¶
type ReportCatalogState string
Ref: #/components/schemas/ReportCatalogState
const ( ReportCatalogStateIncluded ReportCatalogState = "included" ReportCatalogStateArchived ReportCatalogState = "archived" )
func (ReportCatalogState) AllValues ¶
func (ReportCatalogState) AllValues() []ReportCatalogState
AllValues returns all ReportCatalogState values.
func (*ReportCatalogState) Decode ¶
func (s *ReportCatalogState) Decode(d *jx.Decoder) error
Decode decodes ReportCatalogState from json.
func (ReportCatalogState) Encode ¶
func (s ReportCatalogState) Encode(e *jx.Encoder)
Encode encodes ReportCatalogState as json.
func (ReportCatalogState) MarshalJSON ¶
func (s ReportCatalogState) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ReportCatalogState) MarshalText ¶
func (s ReportCatalogState) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ReportCatalogState) UnmarshalJSON ¶
func (s *ReportCatalogState) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ReportCatalogState) UnmarshalText ¶
func (s *ReportCatalogState) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ReportCatalogState) Validate ¶
func (s ReportCatalogState) Validate() error
type ReportFormat ¶
type ReportFormat string
Ref: #/components/schemas/ReportFormat
const ( ReportFormatJSON ReportFormat = "json" ReportFormatMarkdown ReportFormat = "markdown" )
func (ReportFormat) AllValues ¶
func (ReportFormat) AllValues() []ReportFormat
AllValues returns all ReportFormat values.
func (*ReportFormat) Decode ¶
func (s *ReportFormat) Decode(d *jx.Decoder) error
Decode decodes ReportFormat from json.
func (ReportFormat) Encode ¶
func (s ReportFormat) Encode(e *jx.Encoder)
Encode encodes ReportFormat as json.
func (ReportFormat) MarshalJSON ¶
func (s ReportFormat) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ReportFormat) MarshalText ¶
func (s ReportFormat) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ReportFormat) UnmarshalJSON ¶
func (s *ReportFormat) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ReportFormat) UnmarshalText ¶
func (s *ReportFormat) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ReportFormat) Validate ¶
func (s ReportFormat) Validate() error
type ReportLocale ¶
type ReportLocale string
Ref: #/components/schemas/ReportLocale
const ( ReportLocaleZhCN ReportLocale = "zh-CN" ReportLocaleEn ReportLocale = "en" )
func (ReportLocale) AllValues ¶
func (ReportLocale) AllValues() []ReportLocale
AllValues returns all ReportLocale values.
func (*ReportLocale) Decode ¶
func (s *ReportLocale) Decode(d *jx.Decoder) error
Decode decodes ReportLocale from json.
func (ReportLocale) Encode ¶
func (s ReportLocale) Encode(e *jx.Encoder)
Encode encodes ReportLocale as json.
func (ReportLocale) MarshalJSON ¶
func (s ReportLocale) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ReportLocale) MarshalText ¶
func (s ReportLocale) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ReportLocale) UnmarshalJSON ¶
func (s *ReportLocale) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ReportLocale) UnmarshalText ¶
func (s *ReportLocale) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ReportLocale) Validate ¶
func (s ReportLocale) Validate() error
type ReportTimeBasis ¶
type ReportTimeBasis string
Ref: #/components/schemas/ReportTimeBasis
const ( ReportTimeBasisSourceReported ReportTimeBasis = "source_reported" ReportTimeBasisHostObserved ReportTimeBasis = "host_observed" ReportTimeBasisFirstSeen ReportTimeBasis = "first_seen" ReportTimeBasisCurrentOnly ReportTimeBasis = "current_only" ReportTimeBasisUnknown ReportTimeBasis = "unknown" )
func (ReportTimeBasis) AllValues ¶
func (ReportTimeBasis) AllValues() []ReportTimeBasis
AllValues returns all ReportTimeBasis values.
func (*ReportTimeBasis) Decode ¶
func (s *ReportTimeBasis) Decode(d *jx.Decoder) error
Decode decodes ReportTimeBasis from json.
func (ReportTimeBasis) Encode ¶
func (s ReportTimeBasis) Encode(e *jx.Encoder)
Encode encodes ReportTimeBasis as json.
func (ReportTimeBasis) MarshalJSON ¶
func (s ReportTimeBasis) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ReportTimeBasis) MarshalText ¶
func (s ReportTimeBasis) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ReportTimeBasis) UnmarshalJSON ¶
func (s *ReportTimeBasis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ReportTimeBasis) UnmarshalText ¶
func (s *ReportTimeBasis) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ReportTimeBasis) Validate ¶
func (s ReportTimeBasis) Validate() error
type ReportTooLargeHeaders ¶
type ReportTooLargeHeaders struct {
XPowerContextRequestID OptString
Response ErrorResponse
}
ReportTooLargeHeaders wraps ErrorResponse with response headers.
func (*ReportTooLargeHeaders) GetResponse ¶
func (s *ReportTooLargeHeaders) GetResponse() ErrorResponse
GetResponse returns the value of Response.
func (*ReportTooLargeHeaders) GetXPowerContextRequestID ¶
func (s *ReportTooLargeHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*ReportTooLargeHeaders) SetResponse ¶
func (s *ReportTooLargeHeaders) SetResponse(val ErrorResponse)
SetResponse sets the value of Response.
func (*ReportTooLargeHeaders) SetXPowerContextRequestID ¶
func (s *ReportTooLargeHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
type ResolveExternalSkillRequest ¶
type ResolveExternalSkillRequest struct {
ScopeID string `json:"scope_id"`
ExternalSkillID string `json:"external_skill_id"`
Fingerprint string `json:"fingerprint"`
}
Ref: #/components/schemas/ResolveExternalSkillRequest
func (*ResolveExternalSkillRequest) Decode ¶
func (s *ResolveExternalSkillRequest) Decode(d *jx.Decoder) error
Decode decodes ResolveExternalSkillRequest from json.
func (*ResolveExternalSkillRequest) Encode ¶
func (s *ResolveExternalSkillRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResolveExternalSkillRequest) GetExternalSkillID ¶
func (s *ResolveExternalSkillRequest) GetExternalSkillID() string
GetExternalSkillID returns the value of ExternalSkillID.
func (*ResolveExternalSkillRequest) GetFingerprint ¶
func (s *ResolveExternalSkillRequest) GetFingerprint() string
GetFingerprint returns the value of Fingerprint.
func (*ResolveExternalSkillRequest) GetScopeID ¶
func (s *ResolveExternalSkillRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*ResolveExternalSkillRequest) MarshalJSON ¶
func (s *ResolveExternalSkillRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolveExternalSkillRequest) SetExternalSkillID ¶
func (s *ResolveExternalSkillRequest) SetExternalSkillID(val string)
SetExternalSkillID sets the value of ExternalSkillID.
func (*ResolveExternalSkillRequest) SetFingerprint ¶
func (s *ResolveExternalSkillRequest) SetFingerprint(val string)
SetFingerprint sets the value of Fingerprint.
func (*ResolveExternalSkillRequest) SetScopeID ¶
func (s *ResolveExternalSkillRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*ResolveExternalSkillRequest) UnmarshalJSON ¶
func (s *ResolveExternalSkillRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResolveExternalSkillRequest) Validate ¶
func (s *ResolveExternalSkillRequest) Validate() error
type ResolveExternalSkillRes ¶
type ResolveExternalSkillRes interface {
// contains filtered or unexported methods
}
type ResolvedUsagePeriod ¶
type ResolvedUsagePeriod struct {
Preset StatsPeriod `json:"preset"`
StartDate time.Time `json:"start_date"`
EndDate time.Time `json:"end_date"`
Timezone ResolvedUsagePeriodTimezone `json:"timezone"`
}
Ref: #/components/schemas/ResolvedUsagePeriod
func (*ResolvedUsagePeriod) Decode ¶
func (s *ResolvedUsagePeriod) Decode(d *jx.Decoder) error
Decode decodes ResolvedUsagePeriod from json.
func (*ResolvedUsagePeriod) Encode ¶
func (s *ResolvedUsagePeriod) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResolvedUsagePeriod) GetEndDate ¶
func (s *ResolvedUsagePeriod) GetEndDate() time.Time
GetEndDate returns the value of EndDate.
func (*ResolvedUsagePeriod) GetPreset ¶
func (s *ResolvedUsagePeriod) GetPreset() StatsPeriod
GetPreset returns the value of Preset.
func (*ResolvedUsagePeriod) GetStartDate ¶
func (s *ResolvedUsagePeriod) GetStartDate() time.Time
GetStartDate returns the value of StartDate.
func (*ResolvedUsagePeriod) GetTimezone ¶
func (s *ResolvedUsagePeriod) GetTimezone() ResolvedUsagePeriodTimezone
GetTimezone returns the value of Timezone.
func (*ResolvedUsagePeriod) MarshalJSON ¶
func (s *ResolvedUsagePeriod) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolvedUsagePeriod) SetEndDate ¶
func (s *ResolvedUsagePeriod) SetEndDate(val time.Time)
SetEndDate sets the value of EndDate.
func (*ResolvedUsagePeriod) SetPreset ¶
func (s *ResolvedUsagePeriod) SetPreset(val StatsPeriod)
SetPreset sets the value of Preset.
func (*ResolvedUsagePeriod) SetStartDate ¶
func (s *ResolvedUsagePeriod) SetStartDate(val time.Time)
SetStartDate sets the value of StartDate.
func (*ResolvedUsagePeriod) SetTimezone ¶
func (s *ResolvedUsagePeriod) SetTimezone(val ResolvedUsagePeriodTimezone)
SetTimezone sets the value of Timezone.
func (*ResolvedUsagePeriod) UnmarshalJSON ¶
func (s *ResolvedUsagePeriod) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResolvedUsagePeriod) Validate ¶
func (s *ResolvedUsagePeriod) Validate() error
type ResolvedUsagePeriodTimezone ¶
type ResolvedUsagePeriodTimezone string
const (
ResolvedUsagePeriodTimezoneUTC ResolvedUsagePeriodTimezone = "UTC"
)
func (ResolvedUsagePeriodTimezone) AllValues ¶
func (ResolvedUsagePeriodTimezone) AllValues() []ResolvedUsagePeriodTimezone
AllValues returns all ResolvedUsagePeriodTimezone values.
func (*ResolvedUsagePeriodTimezone) Decode ¶
func (s *ResolvedUsagePeriodTimezone) Decode(d *jx.Decoder) error
Decode decodes ResolvedUsagePeriodTimezone from json.
func (ResolvedUsagePeriodTimezone) Encode ¶
func (s ResolvedUsagePeriodTimezone) Encode(e *jx.Encoder)
Encode encodes ResolvedUsagePeriodTimezone as json.
func (ResolvedUsagePeriodTimezone) MarshalJSON ¶
func (s ResolvedUsagePeriodTimezone) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ResolvedUsagePeriodTimezone) MarshalText ¶
func (s ResolvedUsagePeriodTimezone) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ResolvedUsagePeriodTimezone) UnmarshalJSON ¶
func (s *ResolvedUsagePeriodTimezone) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResolvedUsagePeriodTimezone) UnmarshalText ¶
func (s *ResolvedUsagePeriodTimezone) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ResolvedUsagePeriodTimezone) Validate ¶
func (s ResolvedUsagePeriodTimezone) Validate() error
type RetireMemoryEntryRequest ¶
type RetireMemoryEntryRequest struct {
ScopeID string `json:"scope_id"`
Citation MemoryCitation `json:"citation"`
Reason OptNilString `json:"reason"`
}
Ref: #/components/schemas/RetireMemoryEntryRequest
func (*RetireMemoryEntryRequest) Decode ¶
func (s *RetireMemoryEntryRequest) Decode(d *jx.Decoder) error
Decode decodes RetireMemoryEntryRequest from json.
func (*RetireMemoryEntryRequest) Encode ¶
func (s *RetireMemoryEntryRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RetireMemoryEntryRequest) GetCitation ¶
func (s *RetireMemoryEntryRequest) GetCitation() MemoryCitation
GetCitation returns the value of Citation.
func (*RetireMemoryEntryRequest) GetReason ¶
func (s *RetireMemoryEntryRequest) GetReason() OptNilString
GetReason returns the value of Reason.
func (*RetireMemoryEntryRequest) GetScopeID ¶
func (s *RetireMemoryEntryRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*RetireMemoryEntryRequest) MarshalJSON ¶
func (s *RetireMemoryEntryRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RetireMemoryEntryRequest) SetCitation ¶
func (s *RetireMemoryEntryRequest) SetCitation(val MemoryCitation)
SetCitation sets the value of Citation.
func (*RetireMemoryEntryRequest) SetReason ¶
func (s *RetireMemoryEntryRequest) SetReason(val OptNilString)
SetReason sets the value of Reason.
func (*RetireMemoryEntryRequest) SetScopeID ¶
func (s *RetireMemoryEntryRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*RetireMemoryEntryRequest) UnmarshalJSON ¶
func (s *RetireMemoryEntryRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RetireMemoryEntryRequest) Validate ¶
func (s *RetireMemoryEntryRequest) Validate() error
type RetireMemoryEntryRes ¶
type RetireMemoryEntryRes interface {
// contains filtered or unexported methods
}
type ReviseArtifactCandidateRequest ¶
type ReviseArtifactCandidateRequest struct {
ScopeID string `json:"scope_id"`
CandidateID string `json:"candidate_id"`
ExpectedVersion int `json:"expected_version"`
Proposal ReviseArtifactCandidateRequestProposal `json:"proposal"`
// Exact Source evidence. Counted with artifact_refs toward a combined maximum of 32 references.
SourceRefs []SourceReference `json:"source_refs"`
// Exact Artifact evidence. Counted with source_refs toward a combined maximum of 32 references.
ArtifactRefs []ArtifactReference `json:"artifact_refs"`
Target OptNilArtifactReference `json:"target"`
Reason OptNilString `json:"reason"`
}
Ref: #/components/schemas/ReviseArtifactCandidateRequest
func (*ReviseArtifactCandidateRequest) Decode ¶
func (s *ReviseArtifactCandidateRequest) Decode(d *jx.Decoder) error
Decode decodes ReviseArtifactCandidateRequest from json.
func (*ReviseArtifactCandidateRequest) Encode ¶
func (s *ReviseArtifactCandidateRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ReviseArtifactCandidateRequest) GetArtifactRefs ¶
func (s *ReviseArtifactCandidateRequest) GetArtifactRefs() []ArtifactReference
GetArtifactRefs returns the value of ArtifactRefs.
func (*ReviseArtifactCandidateRequest) GetCandidateID ¶
func (s *ReviseArtifactCandidateRequest) GetCandidateID() string
GetCandidateID returns the value of CandidateID.
func (*ReviseArtifactCandidateRequest) GetExpectedVersion ¶
func (s *ReviseArtifactCandidateRequest) GetExpectedVersion() int
GetExpectedVersion returns the value of ExpectedVersion.
func (*ReviseArtifactCandidateRequest) GetProposal ¶
func (s *ReviseArtifactCandidateRequest) GetProposal() ReviseArtifactCandidateRequestProposal
GetProposal returns the value of Proposal.
func (*ReviseArtifactCandidateRequest) GetReason ¶
func (s *ReviseArtifactCandidateRequest) GetReason() OptNilString
GetReason returns the value of Reason.
func (*ReviseArtifactCandidateRequest) GetScopeID ¶
func (s *ReviseArtifactCandidateRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*ReviseArtifactCandidateRequest) GetSourceRefs ¶
func (s *ReviseArtifactCandidateRequest) GetSourceRefs() []SourceReference
GetSourceRefs returns the value of SourceRefs.
func (*ReviseArtifactCandidateRequest) GetTarget ¶
func (s *ReviseArtifactCandidateRequest) GetTarget() OptNilArtifactReference
GetTarget returns the value of Target.
func (*ReviseArtifactCandidateRequest) MarshalJSON ¶
func (s *ReviseArtifactCandidateRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ReviseArtifactCandidateRequest) SetArtifactRefs ¶
func (s *ReviseArtifactCandidateRequest) SetArtifactRefs(val []ArtifactReference)
SetArtifactRefs sets the value of ArtifactRefs.
func (*ReviseArtifactCandidateRequest) SetCandidateID ¶
func (s *ReviseArtifactCandidateRequest) SetCandidateID(val string)
SetCandidateID sets the value of CandidateID.
func (*ReviseArtifactCandidateRequest) SetExpectedVersion ¶
func (s *ReviseArtifactCandidateRequest) SetExpectedVersion(val int)
SetExpectedVersion sets the value of ExpectedVersion.
func (*ReviseArtifactCandidateRequest) SetProposal ¶
func (s *ReviseArtifactCandidateRequest) SetProposal(val ReviseArtifactCandidateRequestProposal)
SetProposal sets the value of Proposal.
func (*ReviseArtifactCandidateRequest) SetReason ¶
func (s *ReviseArtifactCandidateRequest) SetReason(val OptNilString)
SetReason sets the value of Reason.
func (*ReviseArtifactCandidateRequest) SetScopeID ¶
func (s *ReviseArtifactCandidateRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*ReviseArtifactCandidateRequest) SetSourceRefs ¶
func (s *ReviseArtifactCandidateRequest) SetSourceRefs(val []SourceReference)
SetSourceRefs sets the value of SourceRefs.
func (*ReviseArtifactCandidateRequest) SetTarget ¶
func (s *ReviseArtifactCandidateRequest) SetTarget(val OptNilArtifactReference)
SetTarget sets the value of Target.
func (*ReviseArtifactCandidateRequest) UnmarshalJSON ¶
func (s *ReviseArtifactCandidateRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ReviseArtifactCandidateRequest) Validate ¶
func (s *ReviseArtifactCandidateRequest) Validate() error
type ReviseArtifactCandidateRequestProposal ¶
type ReviseArtifactCandidateRequestProposal struct {
// Type selects the active sum variant, switch on this field.
Type ReviseArtifactCandidateRequestProposalType
ExperienceProposal ExperienceProposal
SkillProposal SkillProposal
}
ReviseArtifactCandidateRequestProposal represents sum type.
func NewExperienceProposalReviseArtifactCandidateRequestProposal ¶
func NewExperienceProposalReviseArtifactCandidateRequestProposal(v ExperienceProposal) ReviseArtifactCandidateRequestProposal
NewExperienceProposalReviseArtifactCandidateRequestProposal returns new ReviseArtifactCandidateRequestProposal from ExperienceProposal.
func NewSkillProposalReviseArtifactCandidateRequestProposal ¶
func NewSkillProposalReviseArtifactCandidateRequestProposal(v SkillProposal) ReviseArtifactCandidateRequestProposal
NewSkillProposalReviseArtifactCandidateRequestProposal returns new ReviseArtifactCandidateRequestProposal from SkillProposal.
func (*ReviseArtifactCandidateRequestProposal) Decode ¶
func (s *ReviseArtifactCandidateRequestProposal) Decode(d *jx.Decoder) error
Decode decodes ReviseArtifactCandidateRequestProposal from json.
func (ReviseArtifactCandidateRequestProposal) Encode ¶
func (s ReviseArtifactCandidateRequestProposal) Encode(e *jx.Encoder)
Encode encodes ReviseArtifactCandidateRequestProposal as json.
func (ReviseArtifactCandidateRequestProposal) GetExperienceProposal ¶
func (s ReviseArtifactCandidateRequestProposal) GetExperienceProposal() (v ExperienceProposal, ok bool)
GetExperienceProposal returns ExperienceProposal and true boolean if ReviseArtifactCandidateRequestProposal is ExperienceProposal.
func (ReviseArtifactCandidateRequestProposal) GetSkillProposal ¶
func (s ReviseArtifactCandidateRequestProposal) GetSkillProposal() (v SkillProposal, ok bool)
GetSkillProposal returns SkillProposal and true boolean if ReviseArtifactCandidateRequestProposal is SkillProposal.
func (ReviseArtifactCandidateRequestProposal) IsExperienceProposal ¶
func (s ReviseArtifactCandidateRequestProposal) IsExperienceProposal() bool
IsExperienceProposal reports whether ReviseArtifactCandidateRequestProposal is ExperienceProposal.
func (ReviseArtifactCandidateRequestProposal) IsSkillProposal ¶
func (s ReviseArtifactCandidateRequestProposal) IsSkillProposal() bool
IsSkillProposal reports whether ReviseArtifactCandidateRequestProposal is SkillProposal.
func (ReviseArtifactCandidateRequestProposal) MarshalJSON ¶
func (s ReviseArtifactCandidateRequestProposal) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ReviseArtifactCandidateRequestProposal) SetExperienceProposal ¶
func (s *ReviseArtifactCandidateRequestProposal) SetExperienceProposal(v ExperienceProposal)
SetExperienceProposal sets ReviseArtifactCandidateRequestProposal to ExperienceProposal.
func (*ReviseArtifactCandidateRequestProposal) SetSkillProposal ¶
func (s *ReviseArtifactCandidateRequestProposal) SetSkillProposal(v SkillProposal)
SetSkillProposal sets ReviseArtifactCandidateRequestProposal to SkillProposal.
func (*ReviseArtifactCandidateRequestProposal) UnmarshalJSON ¶
func (s *ReviseArtifactCandidateRequestProposal) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ReviseArtifactCandidateRequestProposal) Validate ¶
func (s ReviseArtifactCandidateRequestProposal) Validate() error
type ReviseArtifactCandidateRequestProposalType ¶
type ReviseArtifactCandidateRequestProposalType string
ReviseArtifactCandidateRequestProposalType is oneOf type of ReviseArtifactCandidateRequestProposal.
const ( ExperienceProposalReviseArtifactCandidateRequestProposal ReviseArtifactCandidateRequestProposalType = "ExperienceProposal" SkillProposalReviseArtifactCandidateRequestProposal ReviseArtifactCandidateRequestProposalType = "SkillProposal" )
Possible values for ReviseArtifactCandidateRequestProposalType.
type ReviseArtifactCandidateRes ¶
type ReviseArtifactCandidateRes interface {
// contains filtered or unexported methods
}
type ReviseMemoryEntryRequest ¶
type ReviseMemoryEntryRequest struct {
ScopeID string `json:"scope_id"`
Citation MemoryCitation `json:"citation"`
Kind string `json:"kind"`
// Must not exceed 8192 UTF-8 bytes after normalization.
Text string `json:"text"`
Reason OptNilString `json:"reason"`
}
Ref: #/components/schemas/ReviseMemoryEntryRequest
func (*ReviseMemoryEntryRequest) Decode ¶
func (s *ReviseMemoryEntryRequest) Decode(d *jx.Decoder) error
Decode decodes ReviseMemoryEntryRequest from json.
func (*ReviseMemoryEntryRequest) Encode ¶
func (s *ReviseMemoryEntryRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ReviseMemoryEntryRequest) GetCitation ¶
func (s *ReviseMemoryEntryRequest) GetCitation() MemoryCitation
GetCitation returns the value of Citation.
func (*ReviseMemoryEntryRequest) GetKind ¶
func (s *ReviseMemoryEntryRequest) GetKind() string
GetKind returns the value of Kind.
func (*ReviseMemoryEntryRequest) GetReason ¶
func (s *ReviseMemoryEntryRequest) GetReason() OptNilString
GetReason returns the value of Reason.
func (*ReviseMemoryEntryRequest) GetScopeID ¶
func (s *ReviseMemoryEntryRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*ReviseMemoryEntryRequest) GetText ¶
func (s *ReviseMemoryEntryRequest) GetText() string
GetText returns the value of Text.
func (*ReviseMemoryEntryRequest) MarshalJSON ¶
func (s *ReviseMemoryEntryRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ReviseMemoryEntryRequest) SetCitation ¶
func (s *ReviseMemoryEntryRequest) SetCitation(val MemoryCitation)
SetCitation sets the value of Citation.
func (*ReviseMemoryEntryRequest) SetKind ¶
func (s *ReviseMemoryEntryRequest) SetKind(val string)
SetKind sets the value of Kind.
func (*ReviseMemoryEntryRequest) SetReason ¶
func (s *ReviseMemoryEntryRequest) SetReason(val OptNilString)
SetReason sets the value of Reason.
func (*ReviseMemoryEntryRequest) SetScopeID ¶
func (s *ReviseMemoryEntryRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*ReviseMemoryEntryRequest) SetText ¶
func (s *ReviseMemoryEntryRequest) SetText(val string)
SetText sets the value of Text.
func (*ReviseMemoryEntryRequest) UnmarshalJSON ¶
func (s *ReviseMemoryEntryRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ReviseMemoryEntryRequest) Validate ¶
func (s *ReviseMemoryEntryRequest) Validate() error
type ReviseMemoryEntryRes ¶
type ReviseMemoryEntryRes interface {
// contains filtered or unexported methods
}
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
Route is route object.
func (Route) OperationGroup ¶
OperationGroup returns the x-ogen-operation-group value.
func (Route) OperationID ¶
OperationID returns OpenAPI operationId.
type ScanExternalSkillsRequest ¶
type ScanExternalSkillsRequest struct {
ScopeID string `json:"scope_id"`
}
Ref: #/components/schemas/ScanExternalSkillsRequest
func (*ScanExternalSkillsRequest) Decode ¶
func (s *ScanExternalSkillsRequest) Decode(d *jx.Decoder) error
Decode decodes ScanExternalSkillsRequest from json.
func (*ScanExternalSkillsRequest) Encode ¶
func (s *ScanExternalSkillsRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ScanExternalSkillsRequest) GetScopeID ¶
func (s *ScanExternalSkillsRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*ScanExternalSkillsRequest) MarshalJSON ¶
func (s *ScanExternalSkillsRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ScanExternalSkillsRequest) SetScopeID ¶
func (s *ScanExternalSkillsRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*ScanExternalSkillsRequest) UnmarshalJSON ¶
func (s *ScanExternalSkillsRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ScanExternalSkillsRequest) Validate ¶
func (s *ScanExternalSkillsRequest) Validate() error
type ScanExternalSkillsRes ¶
type ScanExternalSkillsRes interface {
// contains filtered or unexported methods
}
type ScanExternalSkillsResponse ¶
type ScanExternalSkillsResponse struct {
Registrations []ExternalSkillRegistration `json:"registrations"`
Skipped int `json:"skipped"`
}
Ref: #/components/schemas/ScanExternalSkillsResponse
func (*ScanExternalSkillsResponse) Decode ¶
func (s *ScanExternalSkillsResponse) Decode(d *jx.Decoder) error
Decode decodes ScanExternalSkillsResponse from json.
func (*ScanExternalSkillsResponse) Encode ¶
func (s *ScanExternalSkillsResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ScanExternalSkillsResponse) GetRegistrations ¶
func (s *ScanExternalSkillsResponse) GetRegistrations() []ExternalSkillRegistration
GetRegistrations returns the value of Registrations.
func (*ScanExternalSkillsResponse) GetSkipped ¶
func (s *ScanExternalSkillsResponse) GetSkipped() int
GetSkipped returns the value of Skipped.
func (*ScanExternalSkillsResponse) MarshalJSON ¶
func (s *ScanExternalSkillsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ScanExternalSkillsResponse) SetRegistrations ¶
func (s *ScanExternalSkillsResponse) SetRegistrations(val []ExternalSkillRegistration)
SetRegistrations sets the value of Registrations.
func (*ScanExternalSkillsResponse) SetSkipped ¶
func (s *ScanExternalSkillsResponse) SetSkipped(val int)
SetSkipped sets the value of Skipped.
func (*ScanExternalSkillsResponse) UnmarshalJSON ¶
func (s *ScanExternalSkillsResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ScanExternalSkillsResponse) Validate ¶
func (s *ScanExternalSkillsResponse) Validate() error
type ScanExternalSkillsResponseHeaders ¶
type ScanExternalSkillsResponseHeaders struct {
XPowerContextRequestID OptString
Response ScanExternalSkillsResponse
}
ScanExternalSkillsResponseHeaders wraps ScanExternalSkillsResponse with response headers.
func (*ScanExternalSkillsResponseHeaders) GetResponse ¶
func (s *ScanExternalSkillsResponseHeaders) GetResponse() ScanExternalSkillsResponse
GetResponse returns the value of Response.
func (*ScanExternalSkillsResponseHeaders) GetXPowerContextRequestID ¶
func (s *ScanExternalSkillsResponseHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*ScanExternalSkillsResponseHeaders) SetResponse ¶
func (s *ScanExternalSkillsResponseHeaders) SetResponse(val ScanExternalSkillsResponse)
SetResponse sets the value of Response.
func (*ScanExternalSkillsResponseHeaders) SetXPowerContextRequestID ¶
func (s *ScanExternalSkillsResponseHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*ScanExternalSkillsResponseHeaders) Validate ¶
func (s *ScanExternalSkillsResponseHeaders) Validate() error
type ScopedStats ¶
type ScopedStats struct {
ScopeID string `json:"scope_id"`
AsOf time.Time `json:"as_of"`
Inventory InventoryStatistics `json:"inventory"`
Usage UsageStatistics `json:"usage"`
Recall RecallTokenStatistics `json:"recall"`
}
Ref: #/components/schemas/ScopedStats
func (*ScopedStats) Decode ¶
func (s *ScopedStats) Decode(d *jx.Decoder) error
Decode decodes ScopedStats from json.
func (*ScopedStats) Encode ¶
func (s *ScopedStats) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ScopedStats) GetAsOf ¶
func (s *ScopedStats) GetAsOf() time.Time
GetAsOf returns the value of AsOf.
func (*ScopedStats) GetInventory ¶
func (s *ScopedStats) GetInventory() InventoryStatistics
GetInventory returns the value of Inventory.
func (*ScopedStats) GetRecall ¶
func (s *ScopedStats) GetRecall() RecallTokenStatistics
GetRecall returns the value of Recall.
func (*ScopedStats) GetScopeID ¶
func (s *ScopedStats) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*ScopedStats) GetUsage ¶
func (s *ScopedStats) GetUsage() UsageStatistics
GetUsage returns the value of Usage.
func (*ScopedStats) MarshalJSON ¶
func (s *ScopedStats) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ScopedStats) SetAsOf ¶
func (s *ScopedStats) SetAsOf(val time.Time)
SetAsOf sets the value of AsOf.
func (*ScopedStats) SetInventory ¶
func (s *ScopedStats) SetInventory(val InventoryStatistics)
SetInventory sets the value of Inventory.
func (*ScopedStats) SetRecall ¶
func (s *ScopedStats) SetRecall(val RecallTokenStatistics)
SetRecall sets the value of Recall.
func (*ScopedStats) SetScopeID ¶
func (s *ScopedStats) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*ScopedStats) SetUsage ¶
func (s *ScopedStats) SetUsage(val UsageStatistics)
SetUsage sets the value of Usage.
func (*ScopedStats) UnmarshalJSON ¶
func (s *ScopedStats) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ScopedStats) Validate ¶
func (s *ScopedStats) Validate() error
type ScopedStatsHeaders ¶
type ScopedStatsHeaders struct {
CacheControl OptGetStatsOKCacheControl
XPowerContextRequestID OptString
Response ScopedStats
}
ScopedStatsHeaders wraps ScopedStats with response headers.
func (*ScopedStatsHeaders) GetCacheControl ¶
func (s *ScopedStatsHeaders) GetCacheControl() OptGetStatsOKCacheControl
GetCacheControl returns the value of CacheControl.
func (*ScopedStatsHeaders) GetResponse ¶
func (s *ScopedStatsHeaders) GetResponse() ScopedStats
GetResponse returns the value of Response.
func (*ScopedStatsHeaders) GetXPowerContextRequestID ¶
func (s *ScopedStatsHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*ScopedStatsHeaders) SetCacheControl ¶
func (s *ScopedStatsHeaders) SetCacheControl(val OptGetStatsOKCacheControl)
SetCacheControl sets the value of CacheControl.
func (*ScopedStatsHeaders) SetResponse ¶
func (s *ScopedStatsHeaders) SetResponse(val ScopedStats)
SetResponse sets the value of Response.
func (*ScopedStatsHeaders) SetXPowerContextRequestID ¶
func (s *ScopedStatsHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*ScopedStatsHeaders) Validate ¶
func (s *ScopedStatsHeaders) Validate() error
type SearchMemoryHit ¶
type SearchMemoryHit struct {
Citation MemoryCitation `json:"citation"`
Text string `json:"text"`
Score float64 `json:"score"`
MatchedBy []MemoryMatchedBy `json:"matched_by"`
}
Ref: #/components/schemas/SearchMemoryHit
func (*SearchMemoryHit) Decode ¶
func (s *SearchMemoryHit) Decode(d *jx.Decoder) error
Decode decodes SearchMemoryHit from json.
func (*SearchMemoryHit) Encode ¶
func (s *SearchMemoryHit) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SearchMemoryHit) GetCitation ¶
func (s *SearchMemoryHit) GetCitation() MemoryCitation
GetCitation returns the value of Citation.
func (*SearchMemoryHit) GetMatchedBy ¶
func (s *SearchMemoryHit) GetMatchedBy() []MemoryMatchedBy
GetMatchedBy returns the value of MatchedBy.
func (*SearchMemoryHit) GetScore ¶
func (s *SearchMemoryHit) GetScore() float64
GetScore returns the value of Score.
func (*SearchMemoryHit) GetText ¶
func (s *SearchMemoryHit) GetText() string
GetText returns the value of Text.
func (*SearchMemoryHit) MarshalJSON ¶
func (s *SearchMemoryHit) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SearchMemoryHit) SetCitation ¶
func (s *SearchMemoryHit) SetCitation(val MemoryCitation)
SetCitation sets the value of Citation.
func (*SearchMemoryHit) SetMatchedBy ¶
func (s *SearchMemoryHit) SetMatchedBy(val []MemoryMatchedBy)
SetMatchedBy sets the value of MatchedBy.
func (*SearchMemoryHit) SetScore ¶
func (s *SearchMemoryHit) SetScore(val float64)
SetScore sets the value of Score.
func (*SearchMemoryHit) SetText ¶
func (s *SearchMemoryHit) SetText(val string)
SetText sets the value of Text.
func (*SearchMemoryHit) UnmarshalJSON ¶
func (s *SearchMemoryHit) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SearchMemoryHit) Validate ¶
func (s *SearchMemoryHit) Validate() error
type SearchMemoryRequest ¶
type SearchMemoryRequest struct {
ScopeID string `json:"scope_id"`
Query string `json:"query"`
Limit OptInt `json:"limit"`
Mode OptMemorySearchMode `json:"mode"`
}
Ref: #/components/schemas/SearchMemoryRequest
func (*SearchMemoryRequest) Decode ¶
func (s *SearchMemoryRequest) Decode(d *jx.Decoder) error
Decode decodes SearchMemoryRequest from json.
func (*SearchMemoryRequest) Encode ¶
func (s *SearchMemoryRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SearchMemoryRequest) GetLimit ¶
func (s *SearchMemoryRequest) GetLimit() OptInt
GetLimit returns the value of Limit.
func (*SearchMemoryRequest) GetMode ¶
func (s *SearchMemoryRequest) GetMode() OptMemorySearchMode
GetMode returns the value of Mode.
func (*SearchMemoryRequest) GetQuery ¶
func (s *SearchMemoryRequest) GetQuery() string
GetQuery returns the value of Query.
func (*SearchMemoryRequest) GetScopeID ¶
func (s *SearchMemoryRequest) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*SearchMemoryRequest) MarshalJSON ¶
func (s *SearchMemoryRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SearchMemoryRequest) SetLimit ¶
func (s *SearchMemoryRequest) SetLimit(val OptInt)
SetLimit sets the value of Limit.
func (*SearchMemoryRequest) SetMode ¶
func (s *SearchMemoryRequest) SetMode(val OptMemorySearchMode)
SetMode sets the value of Mode.
func (*SearchMemoryRequest) SetQuery ¶
func (s *SearchMemoryRequest) SetQuery(val string)
SetQuery sets the value of Query.
func (*SearchMemoryRequest) SetScopeID ¶
func (s *SearchMemoryRequest) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*SearchMemoryRequest) UnmarshalJSON ¶
func (s *SearchMemoryRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SearchMemoryRequest) Validate ¶
func (s *SearchMemoryRequest) Validate() error
type SearchMemoryRes ¶
type SearchMemoryRes interface {
// contains filtered or unexported methods
}
type SearchMemoryResponse ¶
type SearchMemoryResponse struct {
Memory OptNilArtifactReference `json:"memory"`
Mode OptNilMemoryUsedSearchMode `json:"mode"`
Hits []SearchMemoryHit `json:"hits"`
}
Ref: #/components/schemas/SearchMemoryResponse
func (*SearchMemoryResponse) Decode ¶
func (s *SearchMemoryResponse) Decode(d *jx.Decoder) error
Decode decodes SearchMemoryResponse from json.
func (*SearchMemoryResponse) Encode ¶
func (s *SearchMemoryResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SearchMemoryResponse) GetHits ¶
func (s *SearchMemoryResponse) GetHits() []SearchMemoryHit
GetHits returns the value of Hits.
func (*SearchMemoryResponse) GetMemory ¶
func (s *SearchMemoryResponse) GetMemory() OptNilArtifactReference
GetMemory returns the value of Memory.
func (*SearchMemoryResponse) GetMode ¶
func (s *SearchMemoryResponse) GetMode() OptNilMemoryUsedSearchMode
GetMode returns the value of Mode.
func (*SearchMemoryResponse) MarshalJSON ¶
func (s *SearchMemoryResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SearchMemoryResponse) SetHits ¶
func (s *SearchMemoryResponse) SetHits(val []SearchMemoryHit)
SetHits sets the value of Hits.
func (*SearchMemoryResponse) SetMemory ¶
func (s *SearchMemoryResponse) SetMemory(val OptNilArtifactReference)
SetMemory sets the value of Memory.
func (*SearchMemoryResponse) SetMode ¶
func (s *SearchMemoryResponse) SetMode(val OptNilMemoryUsedSearchMode)
SetMode sets the value of Mode.
func (*SearchMemoryResponse) UnmarshalJSON ¶
func (s *SearchMemoryResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SearchMemoryResponse) Validate ¶
func (s *SearchMemoryResponse) Validate() error
type SearchMemoryResponseHeaders ¶
type SearchMemoryResponseHeaders struct {
XPowerContextRequestID OptString
Response SearchMemoryResponse
}
SearchMemoryResponseHeaders wraps SearchMemoryResponse with response headers.
func (*SearchMemoryResponseHeaders) GetResponse ¶
func (s *SearchMemoryResponseHeaders) GetResponse() SearchMemoryResponse
GetResponse returns the value of Response.
func (*SearchMemoryResponseHeaders) GetXPowerContextRequestID ¶
func (s *SearchMemoryResponseHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*SearchMemoryResponseHeaders) SetResponse ¶
func (s *SearchMemoryResponseHeaders) SetResponse(val SearchMemoryResponse)
SetResponse sets the value of Response.
func (*SearchMemoryResponseHeaders) SetXPowerContextRequestID ¶
func (s *SearchMemoryResponseHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*SearchMemoryResponseHeaders) Validate ¶
func (s *SearchMemoryResponseHeaders) Validate() error
type SecurityHandler ¶
type SecurityHandler interface {
// HandleBearerAuth handles BearerAuth security.
// Static bearer token used when local Server authentication is enabled.
HandleBearerAuth(ctx context.Context, operationName OperationName, t BearerAuth) (context.Context, error)
}
SecurityHandler is handler for security parameters.
type SecuritySource ¶
type SecuritySource interface {
// BearerAuth provides BearerAuth security value.
// Static bearer token used when local Server authentication is enabled.
BearerAuth(ctx context.Context, operationName OperationName) (BearerAuth, error)
}
SecuritySource is provider of security values (tokens, passwords, etc.).
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
func NewServer ¶
func NewServer(h Handler, sec SecurityHandler, opts ...ServerOption) (*Server, error)
NewServer creates new Server.
type ServerOption ¶
type ServerOption interface {
// contains filtered or unexported methods
}
ServerOption is server config option.
func WithErrorHandler ¶
func WithErrorHandler(h ErrorHandler) ServerOption
WithErrorHandler specifies error handler to use.
func WithMaxMultipartMemory ¶
func WithMaxMultipartMemory(max int64) ServerOption
WithMaxMultipartMemory specifies limit of memory for storing file parts. File parts which can't be stored in memory will be stored on disk in temporary files.
func WithMethodNotAllowed ¶
func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
WithMethodNotAllowed specifies Method Not Allowed handler to use.
func WithMiddleware ¶
func WithMiddleware(m ...Middleware) ServerOption
WithMiddleware specifies middlewares to use.
func WithNotFound ¶
func WithNotFound(notFound http.HandlerFunc) ServerOption
WithNotFound specifies Not Found handler to use.
func WithPathPrefix ¶
func WithPathPrefix(prefix string) ServerOption
WithPathPrefix specifies server path prefix.
type SkillArtifact ¶
type SkillArtifact struct {
Artifact ArtifactReference `json:"artifact"`
Content SkillProposal `json:"content"`
SourceRefs []SourceReference `json:"source_refs"`
ArtifactRefs []ArtifactReference `json:"artifact_refs"`
}
Ref: #/components/schemas/SkillArtifact
func (*SkillArtifact) Decode ¶
func (s *SkillArtifact) Decode(d *jx.Decoder) error
Decode decodes SkillArtifact from json.
func (*SkillArtifact) Encode ¶
func (s *SkillArtifact) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SkillArtifact) GetArtifact ¶
func (s *SkillArtifact) GetArtifact() ArtifactReference
GetArtifact returns the value of Artifact.
func (*SkillArtifact) GetArtifactRefs ¶
func (s *SkillArtifact) GetArtifactRefs() []ArtifactReference
GetArtifactRefs returns the value of ArtifactRefs.
func (*SkillArtifact) GetContent ¶
func (s *SkillArtifact) GetContent() SkillProposal
GetContent returns the value of Content.
func (*SkillArtifact) GetSourceRefs ¶
func (s *SkillArtifact) GetSourceRefs() []SourceReference
GetSourceRefs returns the value of SourceRefs.
func (*SkillArtifact) MarshalJSON ¶
func (s *SkillArtifact) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SkillArtifact) SetArtifact ¶
func (s *SkillArtifact) SetArtifact(val ArtifactReference)
SetArtifact sets the value of Artifact.
func (*SkillArtifact) SetArtifactRefs ¶
func (s *SkillArtifact) SetArtifactRefs(val []ArtifactReference)
SetArtifactRefs sets the value of ArtifactRefs.
func (*SkillArtifact) SetContent ¶
func (s *SkillArtifact) SetContent(val SkillProposal)
SetContent sets the value of Content.
func (*SkillArtifact) SetSourceRefs ¶
func (s *SkillArtifact) SetSourceRefs(val []SourceReference)
SetSourceRefs sets the value of SourceRefs.
func (*SkillArtifact) UnmarshalJSON ¶
func (s *SkillArtifact) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SkillArtifact) Validate ¶
func (s *SkillArtifact) Validate() error
type SkillArtifactHeaders ¶
type SkillArtifactHeaders struct {
XPowerContextRequestID OptString
Response SkillArtifact
}
SkillArtifactHeaders wraps SkillArtifact with response headers.
func (*SkillArtifactHeaders) GetResponse ¶
func (s *SkillArtifactHeaders) GetResponse() SkillArtifact
GetResponse returns the value of Response.
func (*SkillArtifactHeaders) GetXPowerContextRequestID ¶
func (s *SkillArtifactHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*SkillArtifactHeaders) SetResponse ¶
func (s *SkillArtifactHeaders) SetResponse(val SkillArtifact)
SetResponse sets the value of Response.
func (*SkillArtifactHeaders) SetXPowerContextRequestID ¶
func (s *SkillArtifactHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*SkillArtifactHeaders) Validate ¶
func (s *SkillArtifactHeaders) Validate() error
type SkillGenerationOrigin ¶
type SkillGenerationOrigin string
The operation-specific direct provenance shape required for managed Skill generation. Ref: #/components/schemas/SkillGenerationOrigin
const ( SkillGenerationOriginExperience SkillGenerationOrigin = "experience" SkillGenerationOriginSource SkillGenerationOrigin = "source" SkillGenerationOriginUsage SkillGenerationOrigin = "usage" )
func (SkillGenerationOrigin) AllValues ¶
func (SkillGenerationOrigin) AllValues() []SkillGenerationOrigin
AllValues returns all SkillGenerationOrigin values.
func (*SkillGenerationOrigin) Decode ¶
func (s *SkillGenerationOrigin) Decode(d *jx.Decoder) error
Decode decodes SkillGenerationOrigin from json.
func (SkillGenerationOrigin) Encode ¶
func (s SkillGenerationOrigin) Encode(e *jx.Encoder)
Encode encodes SkillGenerationOrigin as json.
func (SkillGenerationOrigin) MarshalJSON ¶
func (s SkillGenerationOrigin) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (SkillGenerationOrigin) MarshalText ¶
func (s SkillGenerationOrigin) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*SkillGenerationOrigin) UnmarshalJSON ¶
func (s *SkillGenerationOrigin) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SkillGenerationOrigin) UnmarshalText ¶
func (s *SkillGenerationOrigin) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (SkillGenerationOrigin) Validate ¶
func (s SkillGenerationOrigin) Validate() error
type SkillProposal ¶
type SkillProposal struct {
Name string `json:"name"`
Description string `json:"description"`
Instructions string `json:"instructions"`
Validation []SkillValidationItem `json:"validation"`
}
Ref: #/components/schemas/SkillProposal
func (*SkillProposal) Decode ¶
func (s *SkillProposal) Decode(d *jx.Decoder) error
Decode decodes SkillProposal from json.
func (*SkillProposal) Encode ¶
func (s *SkillProposal) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SkillProposal) GetDescription ¶
func (s *SkillProposal) GetDescription() string
GetDescription returns the value of Description.
func (*SkillProposal) GetInstructions ¶
func (s *SkillProposal) GetInstructions() string
GetInstructions returns the value of Instructions.
func (*SkillProposal) GetName ¶
func (s *SkillProposal) GetName() string
GetName returns the value of Name.
func (*SkillProposal) GetValidation ¶
func (s *SkillProposal) GetValidation() []SkillValidationItem
GetValidation returns the value of Validation.
func (*SkillProposal) MarshalJSON ¶
func (s *SkillProposal) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SkillProposal) SetDescription ¶
func (s *SkillProposal) SetDescription(val string)
SetDescription sets the value of Description.
func (*SkillProposal) SetInstructions ¶
func (s *SkillProposal) SetInstructions(val string)
SetInstructions sets the value of Instructions.
func (*SkillProposal) SetName ¶
func (s *SkillProposal) SetName(val string)
SetName sets the value of Name.
func (*SkillProposal) SetValidation ¶
func (s *SkillProposal) SetValidation(val []SkillValidationItem)
SetValidation sets the value of Validation.
func (*SkillProposal) UnmarshalJSON ¶
func (s *SkillProposal) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SkillProposal) Validate ¶
func (s *SkillProposal) Validate() error
type SkillValidationItem ¶
type SkillValidationItem string
func (*SkillValidationItem) Decode ¶
func (s *SkillValidationItem) Decode(d *jx.Decoder) error
Decode decodes SkillValidationItem from json.
func (SkillValidationItem) Encode ¶
func (s SkillValidationItem) Encode(e *jx.Encoder)
Encode encodes SkillValidationItem as json.
func (SkillValidationItem) MarshalJSON ¶
func (s SkillValidationItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SkillValidationItem) UnmarshalJSON ¶
func (s *SkillValidationItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (SkillValidationItem) Validate ¶
func (s SkillValidationItem) Validate() error
type SourceInventoryStatistics ¶
type SourceInventoryStatistics struct {
Total int `json:"total"`
MemoryProcessed int `json:"memory_processed"`
MemoryPending int `json:"memory_pending"`
}
Ref: #/components/schemas/SourceInventoryStatistics
func (*SourceInventoryStatistics) Decode ¶
func (s *SourceInventoryStatistics) Decode(d *jx.Decoder) error
Decode decodes SourceInventoryStatistics from json.
func (*SourceInventoryStatistics) Encode ¶
func (s *SourceInventoryStatistics) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SourceInventoryStatistics) GetMemoryPending ¶
func (s *SourceInventoryStatistics) GetMemoryPending() int
GetMemoryPending returns the value of MemoryPending.
func (*SourceInventoryStatistics) GetMemoryProcessed ¶
func (s *SourceInventoryStatistics) GetMemoryProcessed() int
GetMemoryProcessed returns the value of MemoryProcessed.
func (*SourceInventoryStatistics) GetTotal ¶
func (s *SourceInventoryStatistics) GetTotal() int
GetTotal returns the value of Total.
func (*SourceInventoryStatistics) MarshalJSON ¶
func (s *SourceInventoryStatistics) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SourceInventoryStatistics) SetMemoryPending ¶
func (s *SourceInventoryStatistics) SetMemoryPending(val int)
SetMemoryPending sets the value of MemoryPending.
func (*SourceInventoryStatistics) SetMemoryProcessed ¶
func (s *SourceInventoryStatistics) SetMemoryProcessed(val int)
SetMemoryProcessed sets the value of MemoryProcessed.
func (*SourceInventoryStatistics) SetTotal ¶
func (s *SourceInventoryStatistics) SetTotal(val int)
SetTotal sets the value of Total.
func (*SourceInventoryStatistics) UnmarshalJSON ¶
func (s *SourceInventoryStatistics) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SourceInventoryStatistics) Validate ¶
func (s *SourceInventoryStatistics) Validate() error
type SourceReference ¶
type SourceReference struct {
// Stable Source type.
Name string `json:"name"`
SourceID string `json:"source_id"`
}
Ref: #/components/schemas/SourceReference
func (*SourceReference) Decode ¶
func (s *SourceReference) Decode(d *jx.Decoder) error
Decode decodes SourceReference from json.
func (*SourceReference) Encode ¶
func (s *SourceReference) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SourceReference) GetName ¶
func (s *SourceReference) GetName() string
GetName returns the value of Name.
func (*SourceReference) GetSourceID ¶
func (s *SourceReference) GetSourceID() string
GetSourceID returns the value of SourceID.
func (*SourceReference) MarshalJSON ¶
func (s *SourceReference) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SourceReference) SetName ¶
func (s *SourceReference) SetName(val string)
SetName sets the value of Name.
func (*SourceReference) SetSourceID ¶
func (s *SourceReference) SetSourceID(val string)
SetSourceID sets the value of SourceID.
func (*SourceReference) UnmarshalJSON ¶
func (s *SourceReference) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StatsPeriod ¶
type StatsPeriod string
Ref: #/components/schemas/StatsPeriod
const ( StatsPeriodToday StatsPeriod = "today" StatsPeriod7d StatsPeriod = "7d" StatsPeriod30d StatsPeriod = "30d" )
func (StatsPeriod) AllValues ¶
func (StatsPeriod) AllValues() []StatsPeriod
AllValues returns all StatsPeriod values.
func (*StatsPeriod) Decode ¶
func (s *StatsPeriod) Decode(d *jx.Decoder) error
Decode decodes StatsPeriod from json.
func (StatsPeriod) Encode ¶
func (s StatsPeriod) Encode(e *jx.Encoder)
Encode encodes StatsPeriod as json.
func (StatsPeriod) MarshalJSON ¶
func (s StatsPeriod) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (StatsPeriod) MarshalText ¶
func (s StatsPeriod) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*StatsPeriod) UnmarshalJSON ¶
func (s *StatsPeriod) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*StatsPeriod) UnmarshalText ¶
func (s *StatsPeriod) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (StatsPeriod) Validate ¶
func (s StatsPeriod) Validate() error
type StoredHandoffReportActivity ¶
type StoredHandoffReportActivity struct {
Cursor int `json:"cursor"`
Event HandoffReportActivity `json:"event"`
}
Ref: #/components/schemas/StoredHandoffReportActivity
func (*StoredHandoffReportActivity) Decode ¶
func (s *StoredHandoffReportActivity) Decode(d *jx.Decoder) error
Decode decodes StoredHandoffReportActivity from json.
func (*StoredHandoffReportActivity) Encode ¶
func (s *StoredHandoffReportActivity) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StoredHandoffReportActivity) GetCursor ¶
func (s *StoredHandoffReportActivity) GetCursor() int
GetCursor returns the value of Cursor.
func (*StoredHandoffReportActivity) GetEvent ¶
func (s *StoredHandoffReportActivity) GetEvent() HandoffReportActivity
GetEvent returns the value of Event.
func (*StoredHandoffReportActivity) MarshalJSON ¶
func (s *StoredHandoffReportActivity) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StoredHandoffReportActivity) SetCursor ¶
func (s *StoredHandoffReportActivity) SetCursor(val int)
SetCursor sets the value of Cursor.
func (*StoredHandoffReportActivity) SetEvent ¶
func (s *StoredHandoffReportActivity) SetEvent(val HandoffReportActivity)
SetEvent sets the value of Event.
func (*StoredHandoffReportActivity) UnmarshalJSON ¶
func (s *StoredHandoffReportActivity) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*StoredHandoffReportActivity) Validate ¶
func (s *StoredHandoffReportActivity) Validate() error
type StoredHandoffReportActivityHeaders ¶
type StoredHandoffReportActivityHeaders struct {
XPowerContextRequestID OptString
Response StoredHandoffReportActivity
}
StoredHandoffReportActivityHeaders wraps StoredHandoffReportActivity with response headers.
func (*StoredHandoffReportActivityHeaders) GetResponse ¶
func (s *StoredHandoffReportActivityHeaders) GetResponse() StoredHandoffReportActivity
GetResponse returns the value of Response.
func (*StoredHandoffReportActivityHeaders) GetXPowerContextRequestID ¶
func (s *StoredHandoffReportActivityHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*StoredHandoffReportActivityHeaders) SetResponse ¶
func (s *StoredHandoffReportActivityHeaders) SetResponse(val StoredHandoffReportActivity)
SetResponse sets the value of Response.
func (*StoredHandoffReportActivityHeaders) SetXPowerContextRequestID ¶
func (s *StoredHandoffReportActivityHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*StoredHandoffReportActivityHeaders) Validate ¶
func (s *StoredHandoffReportActivityHeaders) Validate() error
type TaskCheck ¶
type TaskCheck struct {
Name string `json:"name"`
Status TaskCheckStatus `json:"status"`
Details OptNilString `json:"details"`
Basis WorkClaimBasis `json:"basis"`
Evidence []HandoffCitation `json:"evidence"`
}
Ref: #/components/schemas/TaskCheck
func (*TaskCheck) GetBasis ¶
func (s *TaskCheck) GetBasis() WorkClaimBasis
GetBasis returns the value of Basis.
func (*TaskCheck) GetDetails ¶
func (s *TaskCheck) GetDetails() OptNilString
GetDetails returns the value of Details.
func (*TaskCheck) GetEvidence ¶
func (s *TaskCheck) GetEvidence() []HandoffCitation
GetEvidence returns the value of Evidence.
func (*TaskCheck) GetStatus ¶
func (s *TaskCheck) GetStatus() TaskCheckStatus
GetStatus returns the value of Status.
func (*TaskCheck) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*TaskCheck) SetBasis ¶
func (s *TaskCheck) SetBasis(val WorkClaimBasis)
SetBasis sets the value of Basis.
func (*TaskCheck) SetDetails ¶
func (s *TaskCheck) SetDetails(val OptNilString)
SetDetails sets the value of Details.
func (*TaskCheck) SetEvidence ¶
func (s *TaskCheck) SetEvidence(val []HandoffCitation)
SetEvidence sets the value of Evidence.
func (*TaskCheck) SetStatus ¶
func (s *TaskCheck) SetStatus(val TaskCheckStatus)
SetStatus sets the value of Status.
func (*TaskCheck) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type TaskCheckStatus ¶
type TaskCheckStatus string
Ref: #/components/schemas/TaskCheckStatus
const ( TaskCheckStatusPassed TaskCheckStatus = "passed" TaskCheckStatusFailed TaskCheckStatus = "failed" TaskCheckStatusSkipped TaskCheckStatus = "skipped" TaskCheckStatusTimedOut TaskCheckStatus = "timed_out" TaskCheckStatusCancelled TaskCheckStatus = "cancelled" TaskCheckStatusUnknown TaskCheckStatus = "unknown" )
func (TaskCheckStatus) AllValues ¶
func (TaskCheckStatus) AllValues() []TaskCheckStatus
AllValues returns all TaskCheckStatus values.
func (*TaskCheckStatus) Decode ¶
func (s *TaskCheckStatus) Decode(d *jx.Decoder) error
Decode decodes TaskCheckStatus from json.
func (TaskCheckStatus) Encode ¶
func (s TaskCheckStatus) Encode(e *jx.Encoder)
Encode encodes TaskCheckStatus as json.
func (TaskCheckStatus) MarshalJSON ¶
func (s TaskCheckStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TaskCheckStatus) MarshalText ¶
func (s TaskCheckStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TaskCheckStatus) UnmarshalJSON ¶
func (s *TaskCheckStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TaskCheckStatus) UnmarshalText ¶
func (s *TaskCheckStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TaskCheckStatus) Validate ¶
func (s TaskCheckStatus) Validate() error
type TaskOutcome ¶
type TaskOutcome struct {
Schema TaskOutcomeSchema `json:"schema"`
Trust TaskOutcomeTrust `json:"trust"`
Objective string `json:"objective"`
Status TaskOutcomeStatus `json:"status"`
Summary string `json:"summary"`
HandoffReceiptRef OptNilSourceReference `json:"handoff_receipt_ref"`
Observations []WorkClaim `json:"observations"`
Checks []TaskCheck `json:"checks"`
ProducedArtifacts []ArtifactReference `json:"produced_artifacts"`
RemainingWork []string `json:"remaining_work"`
}
Ref: #/components/schemas/TaskOutcome
func (*TaskOutcome) Decode ¶
func (s *TaskOutcome) Decode(d *jx.Decoder) error
Decode decodes TaskOutcome from json.
func (*TaskOutcome) Encode ¶
func (s *TaskOutcome) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TaskOutcome) GetChecks ¶
func (s *TaskOutcome) GetChecks() []TaskCheck
GetChecks returns the value of Checks.
func (*TaskOutcome) GetHandoffReceiptRef ¶
func (s *TaskOutcome) GetHandoffReceiptRef() OptNilSourceReference
GetHandoffReceiptRef returns the value of HandoffReceiptRef.
func (*TaskOutcome) GetObjective ¶
func (s *TaskOutcome) GetObjective() string
GetObjective returns the value of Objective.
func (*TaskOutcome) GetObservations ¶
func (s *TaskOutcome) GetObservations() []WorkClaim
GetObservations returns the value of Observations.
func (*TaskOutcome) GetProducedArtifacts ¶
func (s *TaskOutcome) GetProducedArtifacts() []ArtifactReference
GetProducedArtifacts returns the value of ProducedArtifacts.
func (*TaskOutcome) GetRemainingWork ¶
func (s *TaskOutcome) GetRemainingWork() []string
GetRemainingWork returns the value of RemainingWork.
func (*TaskOutcome) GetSchema ¶
func (s *TaskOutcome) GetSchema() TaskOutcomeSchema
GetSchema returns the value of Schema.
func (*TaskOutcome) GetStatus ¶
func (s *TaskOutcome) GetStatus() TaskOutcomeStatus
GetStatus returns the value of Status.
func (*TaskOutcome) GetSummary ¶
func (s *TaskOutcome) GetSummary() string
GetSummary returns the value of Summary.
func (*TaskOutcome) GetTrust ¶
func (s *TaskOutcome) GetTrust() TaskOutcomeTrust
GetTrust returns the value of Trust.
func (*TaskOutcome) MarshalJSON ¶
func (s *TaskOutcome) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TaskOutcome) SetChecks ¶
func (s *TaskOutcome) SetChecks(val []TaskCheck)
SetChecks sets the value of Checks.
func (*TaskOutcome) SetHandoffReceiptRef ¶
func (s *TaskOutcome) SetHandoffReceiptRef(val OptNilSourceReference)
SetHandoffReceiptRef sets the value of HandoffReceiptRef.
func (*TaskOutcome) SetObjective ¶
func (s *TaskOutcome) SetObjective(val string)
SetObjective sets the value of Objective.
func (*TaskOutcome) SetObservations ¶
func (s *TaskOutcome) SetObservations(val []WorkClaim)
SetObservations sets the value of Observations.
func (*TaskOutcome) SetProducedArtifacts ¶
func (s *TaskOutcome) SetProducedArtifacts(val []ArtifactReference)
SetProducedArtifacts sets the value of ProducedArtifacts.
func (*TaskOutcome) SetRemainingWork ¶
func (s *TaskOutcome) SetRemainingWork(val []string)
SetRemainingWork sets the value of RemainingWork.
func (*TaskOutcome) SetSchema ¶
func (s *TaskOutcome) SetSchema(val TaskOutcomeSchema)
SetSchema sets the value of Schema.
func (*TaskOutcome) SetStatus ¶
func (s *TaskOutcome) SetStatus(val TaskOutcomeStatus)
SetStatus sets the value of Status.
func (*TaskOutcome) SetSummary ¶
func (s *TaskOutcome) SetSummary(val string)
SetSummary sets the value of Summary.
func (*TaskOutcome) SetTrust ¶
func (s *TaskOutcome) SetTrust(val TaskOutcomeTrust)
SetTrust sets the value of Trust.
func (*TaskOutcome) UnmarshalJSON ¶
func (s *TaskOutcome) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TaskOutcome) Validate ¶
func (s *TaskOutcome) Validate() error
type TaskOutcomeSchema ¶
type TaskOutcomeSchema string
const (
TaskOutcomeSchemaPowercontextTaskOutcomeV1 TaskOutcomeSchema = "powercontext.task-outcome.v1"
)
func (TaskOutcomeSchema) AllValues ¶
func (TaskOutcomeSchema) AllValues() []TaskOutcomeSchema
AllValues returns all TaskOutcomeSchema values.
func (*TaskOutcomeSchema) Decode ¶
func (s *TaskOutcomeSchema) Decode(d *jx.Decoder) error
Decode decodes TaskOutcomeSchema from json.
func (TaskOutcomeSchema) Encode ¶
func (s TaskOutcomeSchema) Encode(e *jx.Encoder)
Encode encodes TaskOutcomeSchema as json.
func (TaskOutcomeSchema) MarshalJSON ¶
func (s TaskOutcomeSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TaskOutcomeSchema) MarshalText ¶
func (s TaskOutcomeSchema) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TaskOutcomeSchema) UnmarshalJSON ¶
func (s *TaskOutcomeSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TaskOutcomeSchema) UnmarshalText ¶
func (s *TaskOutcomeSchema) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TaskOutcomeSchema) Validate ¶
func (s TaskOutcomeSchema) Validate() error
type TaskOutcomeStatus ¶
type TaskOutcomeStatus string
Ref: #/components/schemas/TaskOutcomeStatus
const ( TaskOutcomeStatusSucceeded TaskOutcomeStatus = "succeeded" TaskOutcomeStatusPartial TaskOutcomeStatus = "partial" TaskOutcomeStatusBlocked TaskOutcomeStatus = "blocked" TaskOutcomeStatusFailed TaskOutcomeStatus = "failed" TaskOutcomeStatusCancelled TaskOutcomeStatus = "cancelled" TaskOutcomeStatusUnknown TaskOutcomeStatus = "unknown" )
func (TaskOutcomeStatus) AllValues ¶
func (TaskOutcomeStatus) AllValues() []TaskOutcomeStatus
AllValues returns all TaskOutcomeStatus values.
func (*TaskOutcomeStatus) Decode ¶
func (s *TaskOutcomeStatus) Decode(d *jx.Decoder) error
Decode decodes TaskOutcomeStatus from json.
func (TaskOutcomeStatus) Encode ¶
func (s TaskOutcomeStatus) Encode(e *jx.Encoder)
Encode encodes TaskOutcomeStatus as json.
func (TaskOutcomeStatus) MarshalJSON ¶
func (s TaskOutcomeStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TaskOutcomeStatus) MarshalText ¶
func (s TaskOutcomeStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TaskOutcomeStatus) UnmarshalJSON ¶
func (s *TaskOutcomeStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TaskOutcomeStatus) UnmarshalText ¶
func (s *TaskOutcomeStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TaskOutcomeStatus) Validate ¶
func (s TaskOutcomeStatus) Validate() error
type TaskOutcomeTrust ¶
type TaskOutcomeTrust string
const (
TaskOutcomeTrustUntrustedObservation TaskOutcomeTrust = "untrusted_observation"
)
func (TaskOutcomeTrust) AllValues ¶
func (TaskOutcomeTrust) AllValues() []TaskOutcomeTrust
AllValues returns all TaskOutcomeTrust values.
func (*TaskOutcomeTrust) Decode ¶
func (s *TaskOutcomeTrust) Decode(d *jx.Decoder) error
Decode decodes TaskOutcomeTrust from json.
func (TaskOutcomeTrust) Encode ¶
func (s TaskOutcomeTrust) Encode(e *jx.Encoder)
Encode encodes TaskOutcomeTrust as json.
func (TaskOutcomeTrust) MarshalJSON ¶
func (s TaskOutcomeTrust) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TaskOutcomeTrust) MarshalText ¶
func (s TaskOutcomeTrust) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TaskOutcomeTrust) UnmarshalJSON ¶
func (s *TaskOutcomeTrust) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TaskOutcomeTrust) UnmarshalText ¶
func (s *TaskOutcomeTrust) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TaskOutcomeTrust) Validate ¶
func (s TaskOutcomeTrust) Validate() error
type TokenEstimatorProfile ¶
type TokenEstimatorProfile struct {
EstimatorID string `json:"estimator_id"`
Version string `json:"version"`
}
Ref: #/components/schemas/TokenEstimatorProfile
func (*TokenEstimatorProfile) Decode ¶
func (s *TokenEstimatorProfile) Decode(d *jx.Decoder) error
Decode decodes TokenEstimatorProfile from json.
func (*TokenEstimatorProfile) Encode ¶
func (s *TokenEstimatorProfile) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TokenEstimatorProfile) GetEstimatorID ¶
func (s *TokenEstimatorProfile) GetEstimatorID() string
GetEstimatorID returns the value of EstimatorID.
func (*TokenEstimatorProfile) GetVersion ¶
func (s *TokenEstimatorProfile) GetVersion() string
GetVersion returns the value of Version.
func (*TokenEstimatorProfile) MarshalJSON ¶
func (s *TokenEstimatorProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TokenEstimatorProfile) SetEstimatorID ¶
func (s *TokenEstimatorProfile) SetEstimatorID(val string)
SetEstimatorID sets the value of EstimatorID.
func (*TokenEstimatorProfile) SetVersion ¶
func (s *TokenEstimatorProfile) SetVersion(val string)
SetVersion sets the value of Version.
func (*TokenEstimatorProfile) UnmarshalJSON ¶
func (s *TokenEstimatorProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TokenEstimatorProfile) Validate ¶
func (s *TokenEstimatorProfile) Validate() error
type UnauthorizedHeaders ¶
type UnauthorizedHeaders struct {
}
UnauthorizedHeaders wraps ErrorResponse with response headers.
func (*UnauthorizedHeaders) GetResponse ¶
func (s *UnauthorizedHeaders) GetResponse() ErrorResponse
GetResponse returns the value of Response.
func (*UnauthorizedHeaders) GetWWWAuthenticate ¶
func (s *UnauthorizedHeaders) GetWWWAuthenticate() OptString
GetWWWAuthenticate returns the value of WWWAuthenticate.
func (*UnauthorizedHeaders) GetXPowerContextRequestID ¶
func (s *UnauthorizedHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*UnauthorizedHeaders) SetResponse ¶
func (s *UnauthorizedHeaders) SetResponse(val ErrorResponse)
SetResponse sets the value of Response.
func (*UnauthorizedHeaders) SetWWWAuthenticate ¶
func (s *UnauthorizedHeaders) SetWWWAuthenticate(val OptString)
SetWWWAuthenticate sets the value of WWWAuthenticate.
func (*UnauthorizedHeaders) SetXPowerContextRequestID ¶
func (s *UnauthorizedHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
type UnavailableHeaders ¶
type UnavailableHeaders struct {
}
UnavailableHeaders wraps ErrorResponse with response headers.
func (*UnavailableHeaders) GetResponse ¶
func (s *UnavailableHeaders) GetResponse() ErrorResponse
GetResponse returns the value of Response.
func (*UnavailableHeaders) GetXPowerContextRequestID ¶
func (s *UnavailableHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*UnavailableHeaders) SetResponse ¶
func (s *UnavailableHeaders) SetResponse(val ErrorResponse)
SetResponse sets the value of Response.
func (*UnavailableHeaders) SetXPowerContextRequestID ¶
func (s *UnavailableHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
type UnimplementedHandler ¶
type UnimplementedHandler struct{}
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
func (UnimplementedHandler) AcknowledgeHandoff ¶
func (UnimplementedHandler) AcknowledgeHandoff(ctx context.Context, req *AcknowledgeHandoffRequest) (r AcknowledgeHandoffRes, _ error)
AcknowledgeHandoff implements acknowledge_handoff operation.
Re-resolve one prepared or exact Handoff, check evidence, and capture the receiver's explicit live-state, capability, and authorization checks.
POST /v1/work/handoffs/acknowledge
func (UnimplementedHandler) ActivateHandoff ¶
func (UnimplementedHandler) ActivateHandoff(ctx context.Context, req *ActivateHandoffRequest) (r ActivateHandoffRes, _ error)
ActivateHandoff implements activate_handoff operation.
Evaluate the standard Handoff Trigger and synchronously execute any emitted PrepareHandoff Action.
POST /v1/handoff/activate
func (UnimplementedHandler) ApproveArtifactCandidate ¶
func (UnimplementedHandler) ApproveArtifactCandidate(ctx context.Context, req *ApproveArtifactCandidateRequest) (r ApproveArtifactCandidateRes, _ error)
ApproveArtifactCandidate implements approve_artifact_candidate operation.
Commit the reviewed proposal and mark the Candidate approved in one transaction.
POST /v1/artifact-candidates/approve
func (UnimplementedHandler) AttachHandoffReportWorkspace ¶
func (UnimplementedHandler) AttachHandoffReportWorkspace(ctx context.Context, req *AttachHandoffReportWorkspaceRequest) (r AttachHandoffReportWorkspaceRes, _ error)
AttachHandoffReportWorkspace implements attach_handoff_report_workspace operation.
Attach a Handoff Report Workspace Binding.
POST /v1/handoff-reports/workspace-bindings/attach
func (UnimplementedHandler) CaptureContentSource ¶
func (UnimplementedHandler) CaptureContentSource(ctx context.Context, req *CaptureContentSourceRequest) (r CaptureContentSourceRes, _ error)
CaptureContentSource implements capture_content_source operation.
Accept raw content as an idempotent Source without synchronously deriving Artifacts.
POST /v1/sources/content
func (UnimplementedHandler) CommitHandoff ¶
func (UnimplementedHandler) CommitHandoff(ctx context.Context, req *CommitHandoffRequest) (r CommitHandoffRes, _ error)
CommitHandoff implements commit_handoff operation.
Commit an explicit Handoff milestone.
POST /v1/handoff/commit
func (UnimplementedHandler) ContinueHandoff ¶
func (UnimplementedHandler) ContinueHandoff(ctx context.Context, req *ContinueHandoffRequest) (r ContinueHandoffRes, _ error)
ContinueHandoff implements continue_handoff operation.
Resolve a Handoff as untrusted historical input.
POST /v1/handoff/continue
func (UnimplementedHandler) CreateHandoffReportProject ¶
func (UnimplementedHandler) CreateHandoffReportProject(ctx context.Context, req *CreateHandoffReportProjectRequest) (r CreateHandoffReportProjectRes, _ error)
CreateHandoffReportProject implements create_handoff_report_project operation.
Create a Handoff Report Project.
POST /v1/handoff-reports/projects/create
func (UnimplementedHandler) CreateWorkContract ¶
func (UnimplementedHandler) CreateWorkContract(ctx context.Context, req *CreateWorkContractRequest) (r CreateWorkContractRes, _ error)
CreateWorkContract implements create_work_contract operation.
Persist an inspectable delegation baseline without granting execution authority.
POST /v1/work/contracts/create
func (UnimplementedHandler) DetachHandoffReportWorkspace ¶
func (UnimplementedHandler) DetachHandoffReportWorkspace(ctx context.Context, req *DetachHandoffReportWorkspaceRequest) (r DetachHandoffReportWorkspaceRes, _ error)
DetachHandoffReportWorkspace implements detach_handoff_report_workspace operation.
Detach a Handoff Report Workspace Binding.
POST /v1/handoff-reports/workspace-bindings/detach
func (UnimplementedHandler) FinalizeHandoff ¶
func (UnimplementedHandler) FinalizeHandoff(ctx context.Context, req *FinalizeHandoffRequest) (r FinalizeHandoffRes, _ error)
FinalizeHandoff implements finalize_handoff operation.
Finalize an inspected Handoff Draft.
POST /v1/handoff/finalize
func (UnimplementedHandler) FlushMemory ¶
func (UnimplementedHandler) FlushMemory(ctx context.Context, req *FlushMemoryRequest) (r FlushMemoryRes, _ error)
FlushMemory implements flush_memory operation.
Run one bounded Source-to-Memory activation for operational control and testing.
POST /v1/memory/flush
func (UnimplementedHandler) GenerateExperience ¶
func (UnimplementedHandler) GenerateExperience(ctx context.Context, req *GenerateExperienceRequest) (r GenerateExperienceRes, _ error)
GenerateExperience implements generate_experience operation.
Use the configured model and caller-selected exact evidence; persist only a schema-valid pending Candidate.
POST /v1/experience/generate
func (UnimplementedHandler) GenerateSkill ¶
func (UnimplementedHandler) GenerateSkill(ctx context.Context, req *GenerateSkillRequest) (r GenerateSkillRes, _ error)
GenerateSkill implements generate_skill operation.
Use the configured model with an explicit provenance shape; persist only a schema-valid pending Candidate.
POST /v1/skill/generate
func (UnimplementedHandler) GetArtifactCandidate ¶
func (UnimplementedHandler) GetArtifactCandidate(ctx context.Context, req *GetArtifactCandidateRequest) (r GetArtifactCandidateRes, _ error)
GetArtifactCandidate implements get_artifact_candidate operation.
Read the current head and exact immutable proposal version.
POST /v1/artifact-candidates/get
func (UnimplementedHandler) GetCapabilities ¶
func (UnimplementedHandler) GetCapabilities(ctx context.Context) (r GetCapabilitiesRes, _ error)
GetCapabilities implements get_capabilities operation.
Get runtime capabilities.
GET /v1/capabilities
func (UnimplementedHandler) GetExperience ¶
func (UnimplementedHandler) GetExperience(ctx context.Context, req *GetExperienceRequest) (r GetExperienceRes, _ error)
GetExperience implements get_experience operation.
Read approved Experience content and its exact direct evidence.
POST /v1/experience/get
func (UnimplementedHandler) GetHandoffReport ¶
func (UnimplementedHandler) GetHandoffReport(ctx context.Context, req *GetHandoffReportRequest) (r GetHandoffReportRes, _ error)
GetHandoffReport implements get_handoff_report operation.
Generate a Handoff Report.
POST /v1/handoff-reports/get
func (UnimplementedHandler) GetHandoffReportProject ¶
func (UnimplementedHandler) GetHandoffReportProject(ctx context.Context, req *GetHandoffReportProjectRequest) (r GetHandoffReportProjectRes, _ error)
GetHandoffReportProject implements get_handoff_report_project operation.
Get a Handoff Report Project.
POST /v1/handoff-reports/projects/get
func (UnimplementedHandler) GetHandoffReportWorkspace ¶
func (UnimplementedHandler) GetHandoffReportWorkspace(ctx context.Context, req *GetHandoffReportWorkspaceRequest) (r GetHandoffReportWorkspaceRes, _ error)
GetHandoffReportWorkspace implements get_handoff_report_workspace operation.
Get a Handoff Report Workspace Binding.
POST /v1/handoff-reports/workspace-bindings/get
func (UnimplementedHandler) GetLiveness ¶
func (UnimplementedHandler) GetLiveness(ctx context.Context) (r *HealthResponseHeaders, _ error)
GetLiveness implements get_liveness operation.
Get process liveness.
GET /health/live
func (UnimplementedHandler) GetMemoryEntry ¶
func (UnimplementedHandler) GetMemoryEntry(ctx context.Context, req *GetMemoryEntryRequest) (r GetMemoryEntryRes, _ error)
GetMemoryEntry implements get_memory_entry operation.
Resolve an immutable entry citation within one Memory Revision.
POST /v1/memory/entries/get
func (UnimplementedHandler) GetReadiness ¶
func (UnimplementedHandler) GetReadiness(ctx context.Context) (r GetReadinessRes, _ error)
GetReadiness implements get_readiness operation.
Get deployment readiness.
GET /health/ready
func (UnimplementedHandler) GetSkill ¶
func (UnimplementedHandler) GetSkill(ctx context.Context, req *GetSkillRequest) (r GetSkillRes, _ error)
GetSkill implements get_skill operation.
Read approved managed Skill content and its exact direct evidence.
POST /v1/skill/get
func (UnimplementedHandler) GetStats ¶
func (UnimplementedHandler) GetStats(ctx context.Context, params GetStatsParams) (r GetStatsRes, _ error)
GetStats implements get_stats operation.
Get scoped product statistics.
GET /v1/stats
func (UnimplementedHandler) HandoffCurrentWork ¶
func (UnimplementedHandler) HandoffCurrentWork(ctx context.Context, req *HandoffCurrentWorkRequest) (r HandoffCurrentWorkRes, _ error)
HandoffCurrentWork implements handoff_current_work operation.
Capture an inspected boundary and prepare a temporary evidence-bearing Handoff without committing it.
POST /v1/work/handoffs/prepare-current
func (UnimplementedHandler) ImportExternalSkill ¶
func (UnimplementedHandler) ImportExternalSkill(ctx context.Context, req *ImportExternalSkillRequest) (r ImportExternalSkillRes, _ error)
ImportExternalSkill implements import_external_skill operation.
Capture one exact local snapshot and use the configured model to propose a new managed Skill Candidate.
POST /v1/external-skills/import
func (UnimplementedHandler) ListArtifactCandidates ¶
func (UnimplementedHandler) ListArtifactCandidates(ctx context.Context, req *ListArtifactCandidatesRequest) (r ListArtifactCandidatesRes, _ error)
ListArtifactCandidates implements list_artifact_candidates operation.
Page current Candidate heads; pending is the default Review Inbox view.
POST /v1/artifact-candidates/list
func (UnimplementedHandler) ListExternalSkills ¶
func (UnimplementedHandler) ListExternalSkills(ctx context.Context, req *ListExternalSkillsRequest) (r ListExternalSkillsRes, _ error)
ListExternalSkills implements list_external_skills operation.
Return live local resolutions; unavailable registrations are omitted unless explicitly requested.
POST /v1/external-skills/list
func (UnimplementedHandler) ListHandoffReportActivities ¶
func (UnimplementedHandler) ListHandoffReportActivities(ctx context.Context, req *ListHandoffReportActivitiesRequest) (r ListHandoffReportActivitiesRes, _ error)
ListHandoffReportActivities implements list_handoff_report_activities operation.
List Handoff Report Activities.
POST /v1/handoff-reports/activities/list
func (UnimplementedHandler) ListHandoffReportKnownScopes ¶
func (UnimplementedHandler) ListHandoffReportKnownScopes(ctx context.Context, req *ListHandoffReportKnownScopesRequest) (r ListHandoffReportKnownScopesRes, _ error)
ListHandoffReportKnownScopes implements list_handoff_report_known_scopes operation.
List scopes that contain a committed Handoff.
POST /v1/handoff-reports/scopes/list-known
func (UnimplementedHandler) ListHandoffReportProjects ¶
func (UnimplementedHandler) ListHandoffReportProjects(ctx context.Context, req *ListHandoffReportProjectsRequest) (r ListHandoffReportProjectsRes, _ error)
ListHandoffReportProjects implements list_handoff_report_projects operation.
List Handoff Report Projects.
POST /v1/handoff-reports/projects/list
func (UnimplementedHandler) ListHandoffReportWorkstreams ¶
func (UnimplementedHandler) ListHandoffReportWorkstreams(ctx context.Context, req *ListHandoffReportWorkstreamsRequest) (r ListHandoffReportWorkstreamsRes, _ error)
ListHandoffReportWorkstreams implements list_handoff_report_workstreams operation.
List Handoff Report Workstreams.
POST /v1/handoff-reports/workstreams/list
func (UnimplementedHandler) ListMemoryChanges ¶
func (UnimplementedHandler) ListMemoryChanges(ctx context.Context, req *ListMemoryChangesRequest) (r ListMemoryChangesRes, _ error)
ListMemoryChanges implements list_memory_changes operation.
Read compact entry changes without expanding entry bodies.
POST /v1/memory/changes
func (UnimplementedHandler) ListMemoryEntries ¶
func (UnimplementedHandler) ListMemoryEntries(ctx context.Context, req *ListMemoryEntriesRequest) (r ListMemoryEntriesRes, _ error)
ListMemoryEntries implements list_memory_entries operation.
Read active entries from the current Memory head. Inactive entries are available only when explicitly requested for audit.
POST /v1/memory/entries/list
func (UnimplementedHandler) PrepareContext ¶
func (UnimplementedHandler) PrepareContext(ctx context.Context, req *PrepareContextRequest) (r PrepareContextRes, _ error)
PrepareContext implements prepare_context operation.
Prepare final, ephemeral context from Runtime-owned sources without persisting or injecting it.
POST /v1/context/prepare
func (UnimplementedHandler) PrepareHandoff ¶
func (UnimplementedHandler) PrepareHandoff(ctx context.Context, req *PrepareHandoffRequest) (r PrepareHandoffRes, _ error)
PrepareHandoff implements prepare_handoff operation.
Generate an inspectable Handoff Draft.
POST /v1/handoff/prepare
func (UnimplementedHandler) ProposeExperience ¶
func (UnimplementedHandler) ProposeExperience(ctx context.Context, req *ProposeExperienceRequest) (r ProposeExperienceRes, _ error)
ProposeExperience implements propose_experience operation.
Persist a pending Experience Candidate without creating an Artifact Revision.
POST /v1/experience/propose
func (UnimplementedHandler) ProposeSkill ¶
func (UnimplementedHandler) ProposeSkill(ctx context.Context, req *ProposeSkillRequest) (r ProposeSkillRes, _ error)
ProposeSkill implements propose_skill operation.
Persist a pending managed Skill Candidate without creating an Artifact Revision.
POST /v1/skill/propose
func (UnimplementedHandler) PurgeHandoffReportActivities ¶
func (UnimplementedHandler) PurgeHandoffReportActivities(ctx context.Context, req *PurgeHandoffReportActivitiesRequest) (r PurgeHandoffReportActivitiesRes, _ error)
PurgeHandoffReportActivities implements purge_handoff_report_activities operation.
Purge Handoff Report Activities.
POST /v1/handoff-reports/activities/purge
func (UnimplementedHandler) RecordHandoffReportActivity ¶
func (UnimplementedHandler) RecordHandoffReportActivity(ctx context.Context, req *RecordHandoffReportActivityRequest) (r RecordHandoffReportActivityRes, _ error)
RecordHandoffReportActivity implements record_handoff_report_activity operation.
Record a Handoff Report Activity.
POST /v1/handoff-reports/activities/record
func (UnimplementedHandler) RecordTaskOutcome ¶
func (UnimplementedHandler) RecordTaskOutcome(ctx context.Context, req *RecordTaskOutcomeRequest) (r RecordTaskOutcomeRes, _ error)
RecordTaskOutcome implements record_task_outcome operation.
Preserve one attempt's status and checks, optionally linked to the exact accepted Handoff Receipt that the result covers.
POST /v1/work/outcomes/record
func (UnimplementedHandler) RegisterHandoffReportWorkstream ¶
func (UnimplementedHandler) RegisterHandoffReportWorkstream(ctx context.Context, req *RegisterHandoffReportWorkstreamRequest) (r RegisterHandoffReportWorkstreamRes, _ error)
RegisterHandoffReportWorkstream implements register_handoff_report_workstream operation.
Register a Handoff Report Workstream.
POST /v1/handoff-reports/workstreams/register
func (UnimplementedHandler) RejectArtifactCandidate ¶
func (UnimplementedHandler) RejectArtifactCandidate(ctx context.Context, req *RejectArtifactCandidateRequest) (r RejectArtifactCandidateRes, _ error)
RejectArtifactCandidate implements reject_artifact_candidate operation.
Move the exact pending version to its rejected terminal state without writing an Artifact.
POST /v1/artifact-candidates/reject
func (UnimplementedHandler) RememberMemory ¶
func (UnimplementedHandler) RememberMemory(ctx context.Context, req *RememberMemoryRequest) (r RememberMemoryRes, _ error)
RememberMemory implements remember_memory operation.
Save one already-curated Memory entry without creating a Source or invoking extraction.
POST /v1/memory/remember
func (UnimplementedHandler) ResolveExternalSkill ¶
func (UnimplementedHandler) ResolveExternalSkill(ctx context.Context, req *ResolveExternalSkillRequest) (r ResolveExternalSkillRes, _ error)
ResolveExternalSkill implements resolve_external_skill operation.
Resolve only the registered local package version requested by the caller; never install or fall back.
POST /v1/external-skills/resolve
func (UnimplementedHandler) RetireMemoryEntry ¶
func (UnimplementedHandler) RetireMemoryEntry(ctx context.Context, req *RetireMemoryEntryRequest) (r RetireMemoryEntryRes, _ error)
RetireMemoryEntry implements retire_memory_entry operation.
Deactivate an entry against an explicit current Memory Revision without deleting history.
POST /v1/memory/entries/retire
func (UnimplementedHandler) ReviseArtifactCandidate ¶
func (UnimplementedHandler) ReviseArtifactCandidate(ctx context.Context, req *ReviseArtifactCandidateRequest) (r ReviseArtifactCandidateRes, _ error)
ReviseArtifactCandidate implements revise_artifact_candidate operation.
Append a complete replacement proposal as the next immutable pending version.
POST /v1/artifact-candidates/revise
func (UnimplementedHandler) ReviseMemoryEntry ¶
func (UnimplementedHandler) ReviseMemoryEntry(ctx context.Context, req *ReviseMemoryEntryRequest) (r ReviseMemoryEntryRes, _ error)
ReviseMemoryEntry implements revise_memory_entry operation.
Replace active entry content against an explicit current Memory Revision.
POST /v1/memory/entries/revise
func (UnimplementedHandler) ScanExternalSkills ¶
func (UnimplementedHandler) ScanExternalSkills(ctx context.Context, req *ScanExternalSkillsRequest) (r ScanExternalSkillsRes, _ error)
ScanExternalSkills implements scan_external_skills operation.
Replace the current host-local Registry projection without copying or rewriting package content.
POST /v1/external-skills/scan
func (UnimplementedHandler) SearchMemory ¶
func (UnimplementedHandler) SearchMemory(ctx context.Context, req *SearchMemoryRequest) (r SearchMemoryRes, _ error)
SearchMemory implements search_memory operation.
Retrieve relevant active Memory entries within one explicit application scope.
POST /v1/memory/search
func (UnimplementedHandler) UpdateHandoffReportProject ¶
func (UnimplementedHandler) UpdateHandoffReportProject(ctx context.Context, req *UpdateHandoffReportProjectRequest) (r UpdateHandoffReportProjectRes, _ error)
UpdateHandoffReportProject implements update_handoff_report_project operation.
Update a Handoff Report Project.
POST /v1/handoff-reports/projects/update
func (UnimplementedHandler) UpdateHandoffReportWorkstream ¶
func (UnimplementedHandler) UpdateHandoffReportWorkstream(ctx context.Context, req *UpdateHandoffReportWorkstreamRequest) (r UpdateHandoffReportWorkstreamRes, _ error)
UpdateHandoffReportWorkstream implements update_handoff_report_workstream operation.
Update a Handoff Report Workstream.
POST /v1/handoff-reports/workstreams/update
type UpdateHandoffReportProjectRequest ¶
type UpdateHandoffReportProjectRequest struct {
Project ProjectDescriptor `json:"project"`
ExpectedVersion int `json:"expected_version"`
}
Ref: #/components/schemas/UpdateHandoffReportProjectRequest
func (*UpdateHandoffReportProjectRequest) Decode ¶
func (s *UpdateHandoffReportProjectRequest) Decode(d *jx.Decoder) error
Decode decodes UpdateHandoffReportProjectRequest from json.
func (*UpdateHandoffReportProjectRequest) Encode ¶
func (s *UpdateHandoffReportProjectRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateHandoffReportProjectRequest) GetExpectedVersion ¶
func (s *UpdateHandoffReportProjectRequest) GetExpectedVersion() int
GetExpectedVersion returns the value of ExpectedVersion.
func (*UpdateHandoffReportProjectRequest) GetProject ¶
func (s *UpdateHandoffReportProjectRequest) GetProject() ProjectDescriptor
GetProject returns the value of Project.
func (*UpdateHandoffReportProjectRequest) MarshalJSON ¶
func (s *UpdateHandoffReportProjectRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateHandoffReportProjectRequest) SetExpectedVersion ¶
func (s *UpdateHandoffReportProjectRequest) SetExpectedVersion(val int)
SetExpectedVersion sets the value of ExpectedVersion.
func (*UpdateHandoffReportProjectRequest) SetProject ¶
func (s *UpdateHandoffReportProjectRequest) SetProject(val ProjectDescriptor)
SetProject sets the value of Project.
func (*UpdateHandoffReportProjectRequest) UnmarshalJSON ¶
func (s *UpdateHandoffReportProjectRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateHandoffReportProjectRequest) Validate ¶
func (s *UpdateHandoffReportProjectRequest) Validate() error
type UpdateHandoffReportProjectRes ¶
type UpdateHandoffReportProjectRes interface {
// contains filtered or unexported methods
}
type UpdateHandoffReportWorkstreamRequest ¶
type UpdateHandoffReportWorkstreamRequest struct {
Workstream WorkstreamDescriptor `json:"workstream"`
ExpectedVersion int `json:"expected_version"`
}
Ref: #/components/schemas/UpdateHandoffReportWorkstreamRequest
func (*UpdateHandoffReportWorkstreamRequest) Decode ¶
func (s *UpdateHandoffReportWorkstreamRequest) Decode(d *jx.Decoder) error
Decode decodes UpdateHandoffReportWorkstreamRequest from json.
func (*UpdateHandoffReportWorkstreamRequest) Encode ¶
func (s *UpdateHandoffReportWorkstreamRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateHandoffReportWorkstreamRequest) GetExpectedVersion ¶
func (s *UpdateHandoffReportWorkstreamRequest) GetExpectedVersion() int
GetExpectedVersion returns the value of ExpectedVersion.
func (*UpdateHandoffReportWorkstreamRequest) GetWorkstream ¶
func (s *UpdateHandoffReportWorkstreamRequest) GetWorkstream() WorkstreamDescriptor
GetWorkstream returns the value of Workstream.
func (*UpdateHandoffReportWorkstreamRequest) MarshalJSON ¶
func (s *UpdateHandoffReportWorkstreamRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateHandoffReportWorkstreamRequest) SetExpectedVersion ¶
func (s *UpdateHandoffReportWorkstreamRequest) SetExpectedVersion(val int)
SetExpectedVersion sets the value of ExpectedVersion.
func (*UpdateHandoffReportWorkstreamRequest) SetWorkstream ¶
func (s *UpdateHandoffReportWorkstreamRequest) SetWorkstream(val WorkstreamDescriptor)
SetWorkstream sets the value of Workstream.
func (*UpdateHandoffReportWorkstreamRequest) UnmarshalJSON ¶
func (s *UpdateHandoffReportWorkstreamRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateHandoffReportWorkstreamRequest) Validate ¶
func (s *UpdateHandoffReportWorkstreamRequest) Validate() error
type UpdateHandoffReportWorkstreamRes ¶
type UpdateHandoffReportWorkstreamRes interface {
// contains filtered or unexported methods
}
type UsageStatistics ¶
type UsageStatistics struct {
Period ResolvedUsagePeriod `json:"period"`
Totals ModelUsageStatistics `json:"totals"`
ByPurpose []ModelUsagePurposeBreakdown `json:"by_purpose"`
Daily []ModelUsageDay `json:"daily"`
}
Ref: #/components/schemas/UsageStatistics
func (*UsageStatistics) Decode ¶
func (s *UsageStatistics) Decode(d *jx.Decoder) error
Decode decodes UsageStatistics from json.
func (*UsageStatistics) Encode ¶
func (s *UsageStatistics) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UsageStatistics) GetByPurpose ¶
func (s *UsageStatistics) GetByPurpose() []ModelUsagePurposeBreakdown
GetByPurpose returns the value of ByPurpose.
func (*UsageStatistics) GetDaily ¶
func (s *UsageStatistics) GetDaily() []ModelUsageDay
GetDaily returns the value of Daily.
func (*UsageStatistics) GetPeriod ¶
func (s *UsageStatistics) GetPeriod() ResolvedUsagePeriod
GetPeriod returns the value of Period.
func (*UsageStatistics) GetTotals ¶
func (s *UsageStatistics) GetTotals() ModelUsageStatistics
GetTotals returns the value of Totals.
func (*UsageStatistics) MarshalJSON ¶
func (s *UsageStatistics) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UsageStatistics) SetByPurpose ¶
func (s *UsageStatistics) SetByPurpose(val []ModelUsagePurposeBreakdown)
SetByPurpose sets the value of ByPurpose.
func (*UsageStatistics) SetDaily ¶
func (s *UsageStatistics) SetDaily(val []ModelUsageDay)
SetDaily sets the value of Daily.
func (*UsageStatistics) SetPeriod ¶
func (s *UsageStatistics) SetPeriod(val ResolvedUsagePeriod)
SetPeriod sets the value of Period.
func (*UsageStatistics) SetTotals ¶
func (s *UsageStatistics) SetTotals(val ModelUsageStatistics)
SetTotals sets the value of Totals.
func (*UsageStatistics) UnmarshalJSON ¶
func (s *UsageStatistics) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UsageStatistics) Validate ¶
func (s *UsageStatistics) Validate() error
type WorkClaim ¶
type WorkClaim struct {
Text string `json:"text"`
Basis WorkClaimBasis `json:"basis"`
Evidence []HandoffCitation `json:"evidence"`
}
Ref: #/components/schemas/WorkClaim
func (*WorkClaim) GetBasis ¶
func (s *WorkClaim) GetBasis() WorkClaimBasis
GetBasis returns the value of Basis.
func (*WorkClaim) GetEvidence ¶
func (s *WorkClaim) GetEvidence() []HandoffCitation
GetEvidence returns the value of Evidence.
func (*WorkClaim) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*WorkClaim) SetBasis ¶
func (s *WorkClaim) SetBasis(val WorkClaimBasis)
SetBasis sets the value of Basis.
func (*WorkClaim) SetEvidence ¶
func (s *WorkClaim) SetEvidence(val []HandoffCitation)
SetEvidence sets the value of Evidence.
func (*WorkClaim) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type WorkClaimBasis ¶
type WorkClaimBasis string
Ref: #/components/schemas/WorkClaimBasis
const ( WorkClaimBasisDeclared WorkClaimBasis = "declared" WorkClaimBasisVerified WorkClaimBasis = "verified" )
func (WorkClaimBasis) AllValues ¶
func (WorkClaimBasis) AllValues() []WorkClaimBasis
AllValues returns all WorkClaimBasis values.
func (*WorkClaimBasis) Decode ¶
func (s *WorkClaimBasis) Decode(d *jx.Decoder) error
Decode decodes WorkClaimBasis from json.
func (WorkClaimBasis) Encode ¶
func (s WorkClaimBasis) Encode(e *jx.Encoder)
Encode encodes WorkClaimBasis as json.
func (WorkClaimBasis) MarshalJSON ¶
func (s WorkClaimBasis) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (WorkClaimBasis) MarshalText ¶
func (s WorkClaimBasis) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*WorkClaimBasis) UnmarshalJSON ¶
func (s *WorkClaimBasis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkClaimBasis) UnmarshalText ¶
func (s *WorkClaimBasis) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (WorkClaimBasis) Validate ¶
func (s WorkClaimBasis) Validate() error
type WorkContract ¶
type WorkContract struct {
Schema WorkContractSchema `json:"schema"`
Trust WorkContractTrust `json:"trust"`
Objective string `json:"objective"`
Facts []WorkClaim `json:"facts"`
InScope []string `json:"in_scope"`
Exclusions []string `json:"exclusions"`
CompletionCriteria []string `json:"completion_criteria"`
AuthorizationNotes []string `json:"authorization_notes"`
OpenQuestions []string `json:"open_questions"`
}
Ref: #/components/schemas/WorkContract
func (*WorkContract) Decode ¶
func (s *WorkContract) Decode(d *jx.Decoder) error
Decode decodes WorkContract from json.
func (*WorkContract) Encode ¶
func (s *WorkContract) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkContract) GetAuthorizationNotes ¶
func (s *WorkContract) GetAuthorizationNotes() []string
GetAuthorizationNotes returns the value of AuthorizationNotes.
func (*WorkContract) GetCompletionCriteria ¶
func (s *WorkContract) GetCompletionCriteria() []string
GetCompletionCriteria returns the value of CompletionCriteria.
func (*WorkContract) GetExclusions ¶
func (s *WorkContract) GetExclusions() []string
GetExclusions returns the value of Exclusions.
func (*WorkContract) GetFacts ¶
func (s *WorkContract) GetFacts() []WorkClaim
GetFacts returns the value of Facts.
func (*WorkContract) GetInScope ¶
func (s *WorkContract) GetInScope() []string
GetInScope returns the value of InScope.
func (*WorkContract) GetObjective ¶
func (s *WorkContract) GetObjective() string
GetObjective returns the value of Objective.
func (*WorkContract) GetOpenQuestions ¶
func (s *WorkContract) GetOpenQuestions() []string
GetOpenQuestions returns the value of OpenQuestions.
func (*WorkContract) GetSchema ¶
func (s *WorkContract) GetSchema() WorkContractSchema
GetSchema returns the value of Schema.
func (*WorkContract) GetTrust ¶
func (s *WorkContract) GetTrust() WorkContractTrust
GetTrust returns the value of Trust.
func (*WorkContract) MarshalJSON ¶
func (s *WorkContract) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WorkContract) SetAuthorizationNotes ¶
func (s *WorkContract) SetAuthorizationNotes(val []string)
SetAuthorizationNotes sets the value of AuthorizationNotes.
func (*WorkContract) SetCompletionCriteria ¶
func (s *WorkContract) SetCompletionCriteria(val []string)
SetCompletionCriteria sets the value of CompletionCriteria.
func (*WorkContract) SetExclusions ¶
func (s *WorkContract) SetExclusions(val []string)
SetExclusions sets the value of Exclusions.
func (*WorkContract) SetFacts ¶
func (s *WorkContract) SetFacts(val []WorkClaim)
SetFacts sets the value of Facts.
func (*WorkContract) SetInScope ¶
func (s *WorkContract) SetInScope(val []string)
SetInScope sets the value of InScope.
func (*WorkContract) SetObjective ¶
func (s *WorkContract) SetObjective(val string)
SetObjective sets the value of Objective.
func (*WorkContract) SetOpenQuestions ¶
func (s *WorkContract) SetOpenQuestions(val []string)
SetOpenQuestions sets the value of OpenQuestions.
func (*WorkContract) SetSchema ¶
func (s *WorkContract) SetSchema(val WorkContractSchema)
SetSchema sets the value of Schema.
func (*WorkContract) SetTrust ¶
func (s *WorkContract) SetTrust(val WorkContractTrust)
SetTrust sets the value of Trust.
func (*WorkContract) UnmarshalJSON ¶
func (s *WorkContract) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkContract) Validate ¶
func (s *WorkContract) Validate() error
type WorkContractSchema ¶
type WorkContractSchema string
const (
WorkContractSchemaPowercontextWorkContractV1 WorkContractSchema = "powercontext.work-contract.v1"
)
func (WorkContractSchema) AllValues ¶
func (WorkContractSchema) AllValues() []WorkContractSchema
AllValues returns all WorkContractSchema values.
func (*WorkContractSchema) Decode ¶
func (s *WorkContractSchema) Decode(d *jx.Decoder) error
Decode decodes WorkContractSchema from json.
func (WorkContractSchema) Encode ¶
func (s WorkContractSchema) Encode(e *jx.Encoder)
Encode encodes WorkContractSchema as json.
func (WorkContractSchema) MarshalJSON ¶
func (s WorkContractSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (WorkContractSchema) MarshalText ¶
func (s WorkContractSchema) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*WorkContractSchema) UnmarshalJSON ¶
func (s *WorkContractSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkContractSchema) UnmarshalText ¶
func (s *WorkContractSchema) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (WorkContractSchema) Validate ¶
func (s WorkContractSchema) Validate() error
type WorkContractTrust ¶
type WorkContractTrust string
const (
WorkContractTrustUntrustedInput WorkContractTrust = "untrusted_input"
)
func (WorkContractTrust) AllValues ¶
func (WorkContractTrust) AllValues() []WorkContractTrust
AllValues returns all WorkContractTrust values.
func (*WorkContractTrust) Decode ¶
func (s *WorkContractTrust) Decode(d *jx.Decoder) error
Decode decodes WorkContractTrust from json.
func (WorkContractTrust) Encode ¶
func (s WorkContractTrust) Encode(e *jx.Encoder)
Encode encodes WorkContractTrust as json.
func (WorkContractTrust) MarshalJSON ¶
func (s WorkContractTrust) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (WorkContractTrust) MarshalText ¶
func (s WorkContractTrust) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*WorkContractTrust) UnmarshalJSON ¶
func (s *WorkContractTrust) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkContractTrust) UnmarshalText ¶
func (s *WorkContractTrust) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (WorkContractTrust) Validate ¶
func (s WorkContractTrust) Validate() error
type WorkSourceKind ¶
type WorkSourceKind string
Ref: #/components/schemas/WorkSourceKind
const ( WorkSourceKindWorkContract WorkSourceKind = "work-contract" WorkSourceKindHandoffBoundary WorkSourceKind = "handoff-boundary" WorkSourceKindHandoffReceipt WorkSourceKind = "handoff-receipt" WorkSourceKindTaskOutcome WorkSourceKind = "task-outcome" )
func (WorkSourceKind) AllValues ¶
func (WorkSourceKind) AllValues() []WorkSourceKind
AllValues returns all WorkSourceKind values.
func (*WorkSourceKind) Decode ¶
func (s *WorkSourceKind) Decode(d *jx.Decoder) error
Decode decodes WorkSourceKind from json.
func (WorkSourceKind) Encode ¶
func (s WorkSourceKind) Encode(e *jx.Encoder)
Encode encodes WorkSourceKind as json.
func (WorkSourceKind) MarshalJSON ¶
func (s WorkSourceKind) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (WorkSourceKind) MarshalText ¶
func (s WorkSourceKind) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*WorkSourceKind) UnmarshalJSON ¶
func (s *WorkSourceKind) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkSourceKind) UnmarshalText ¶
func (s *WorkSourceKind) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (WorkSourceKind) Validate ¶
func (s WorkSourceKind) Validate() error
type WorkSourceReceipt ¶
type WorkSourceReceipt struct {
Kind WorkSourceKind `json:"kind"`
Source SourceReference `json:"source"`
Position int `json:"position"`
ContentDigest string `json:"content_digest"`
}
Ref: #/components/schemas/WorkSourceReceipt
func (*WorkSourceReceipt) Decode ¶
func (s *WorkSourceReceipt) Decode(d *jx.Decoder) error
Decode decodes WorkSourceReceipt from json.
func (*WorkSourceReceipt) Encode ¶
func (s *WorkSourceReceipt) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkSourceReceipt) GetContentDigest ¶
func (s *WorkSourceReceipt) GetContentDigest() string
GetContentDigest returns the value of ContentDigest.
func (*WorkSourceReceipt) GetKind ¶
func (s *WorkSourceReceipt) GetKind() WorkSourceKind
GetKind returns the value of Kind.
func (*WorkSourceReceipt) GetPosition ¶
func (s *WorkSourceReceipt) GetPosition() int
GetPosition returns the value of Position.
func (*WorkSourceReceipt) GetSource ¶
func (s *WorkSourceReceipt) GetSource() SourceReference
GetSource returns the value of Source.
func (*WorkSourceReceipt) MarshalJSON ¶
func (s *WorkSourceReceipt) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WorkSourceReceipt) SetContentDigest ¶
func (s *WorkSourceReceipt) SetContentDigest(val string)
SetContentDigest sets the value of ContentDigest.
func (*WorkSourceReceipt) SetKind ¶
func (s *WorkSourceReceipt) SetKind(val WorkSourceKind)
SetKind sets the value of Kind.
func (*WorkSourceReceipt) SetPosition ¶
func (s *WorkSourceReceipt) SetPosition(val int)
SetPosition sets the value of Position.
func (*WorkSourceReceipt) SetSource ¶
func (s *WorkSourceReceipt) SetSource(val SourceReference)
SetSource sets the value of Source.
func (*WorkSourceReceipt) UnmarshalJSON ¶
func (s *WorkSourceReceipt) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkSourceReceipt) Validate ¶
func (s *WorkSourceReceipt) Validate() error
type WorkSourceReceiptHeaders ¶
type WorkSourceReceiptHeaders struct {
XPowerContextRequestID OptString
Response WorkSourceReceipt
}
WorkSourceReceiptHeaders wraps WorkSourceReceipt with response headers.
func (*WorkSourceReceiptHeaders) GetResponse ¶
func (s *WorkSourceReceiptHeaders) GetResponse() WorkSourceReceipt
GetResponse returns the value of Response.
func (*WorkSourceReceiptHeaders) GetXPowerContextRequestID ¶
func (s *WorkSourceReceiptHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*WorkSourceReceiptHeaders) SetResponse ¶
func (s *WorkSourceReceiptHeaders) SetResponse(val WorkSourceReceipt)
SetResponse sets the value of Response.
func (*WorkSourceReceiptHeaders) SetXPowerContextRequestID ¶
func (s *WorkSourceReceiptHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*WorkSourceReceiptHeaders) Validate ¶
func (s *WorkSourceReceiptHeaders) Validate() error
type WorkstreamDescriptor ¶
type WorkstreamDescriptor struct {
Schema WorkstreamDescriptorSchema `json:"schema"`
ScopeID string `json:"scope_id"`
ProjectID string `json:"project_id"`
Key NilString `json:"key"`
Title string `json:"title"`
Kind WorkstreamKind `json:"kind"`
CatalogState ReportCatalogState `json:"catalog_state"`
ExternalRefs []HandoffReportExternalReference `json:"external_refs"`
Labels []string `json:"labels"`
Version int `json:"version"`
}
Ref: #/components/schemas/WorkstreamDescriptor
func (*WorkstreamDescriptor) Decode ¶
func (s *WorkstreamDescriptor) Decode(d *jx.Decoder) error
Decode decodes WorkstreamDescriptor from json.
func (*WorkstreamDescriptor) Encode ¶
func (s *WorkstreamDescriptor) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkstreamDescriptor) GetCatalogState ¶
func (s *WorkstreamDescriptor) GetCatalogState() ReportCatalogState
GetCatalogState returns the value of CatalogState.
func (*WorkstreamDescriptor) GetExternalRefs ¶
func (s *WorkstreamDescriptor) GetExternalRefs() []HandoffReportExternalReference
GetExternalRefs returns the value of ExternalRefs.
func (*WorkstreamDescriptor) GetKey ¶
func (s *WorkstreamDescriptor) GetKey() NilString
GetKey returns the value of Key.
func (*WorkstreamDescriptor) GetKind ¶
func (s *WorkstreamDescriptor) GetKind() WorkstreamKind
GetKind returns the value of Kind.
func (*WorkstreamDescriptor) GetLabels ¶
func (s *WorkstreamDescriptor) GetLabels() []string
GetLabels returns the value of Labels.
func (*WorkstreamDescriptor) GetProjectID ¶
func (s *WorkstreamDescriptor) GetProjectID() string
GetProjectID returns the value of ProjectID.
func (*WorkstreamDescriptor) GetSchema ¶
func (s *WorkstreamDescriptor) GetSchema() WorkstreamDescriptorSchema
GetSchema returns the value of Schema.
func (*WorkstreamDescriptor) GetScopeID ¶
func (s *WorkstreamDescriptor) GetScopeID() string
GetScopeID returns the value of ScopeID.
func (*WorkstreamDescriptor) GetTitle ¶
func (s *WorkstreamDescriptor) GetTitle() string
GetTitle returns the value of Title.
func (*WorkstreamDescriptor) GetVersion ¶
func (s *WorkstreamDescriptor) GetVersion() int
GetVersion returns the value of Version.
func (*WorkstreamDescriptor) MarshalJSON ¶
func (s *WorkstreamDescriptor) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WorkstreamDescriptor) SetCatalogState ¶
func (s *WorkstreamDescriptor) SetCatalogState(val ReportCatalogState)
SetCatalogState sets the value of CatalogState.
func (*WorkstreamDescriptor) SetExternalRefs ¶
func (s *WorkstreamDescriptor) SetExternalRefs(val []HandoffReportExternalReference)
SetExternalRefs sets the value of ExternalRefs.
func (*WorkstreamDescriptor) SetKey ¶
func (s *WorkstreamDescriptor) SetKey(val NilString)
SetKey sets the value of Key.
func (*WorkstreamDescriptor) SetKind ¶
func (s *WorkstreamDescriptor) SetKind(val WorkstreamKind)
SetKind sets the value of Kind.
func (*WorkstreamDescriptor) SetLabels ¶
func (s *WorkstreamDescriptor) SetLabels(val []string)
SetLabels sets the value of Labels.
func (*WorkstreamDescriptor) SetProjectID ¶
func (s *WorkstreamDescriptor) SetProjectID(val string)
SetProjectID sets the value of ProjectID.
func (*WorkstreamDescriptor) SetSchema ¶
func (s *WorkstreamDescriptor) SetSchema(val WorkstreamDescriptorSchema)
SetSchema sets the value of Schema.
func (*WorkstreamDescriptor) SetScopeID ¶
func (s *WorkstreamDescriptor) SetScopeID(val string)
SetScopeID sets the value of ScopeID.
func (*WorkstreamDescriptor) SetTitle ¶
func (s *WorkstreamDescriptor) SetTitle(val string)
SetTitle sets the value of Title.
func (*WorkstreamDescriptor) SetVersion ¶
func (s *WorkstreamDescriptor) SetVersion(val int)
SetVersion sets the value of Version.
func (*WorkstreamDescriptor) UnmarshalJSON ¶
func (s *WorkstreamDescriptor) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkstreamDescriptor) Validate ¶
func (s *WorkstreamDescriptor) Validate() error
type WorkstreamDescriptorHeaders ¶
type WorkstreamDescriptorHeaders struct {
XPowerContextRequestID OptString
Response WorkstreamDescriptor
}
WorkstreamDescriptorHeaders wraps WorkstreamDescriptor with response headers.
func (*WorkstreamDescriptorHeaders) GetResponse ¶
func (s *WorkstreamDescriptorHeaders) GetResponse() WorkstreamDescriptor
GetResponse returns the value of Response.
func (*WorkstreamDescriptorHeaders) GetXPowerContextRequestID ¶
func (s *WorkstreamDescriptorHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*WorkstreamDescriptorHeaders) SetResponse ¶
func (s *WorkstreamDescriptorHeaders) SetResponse(val WorkstreamDescriptor)
SetResponse sets the value of Response.
func (*WorkstreamDescriptorHeaders) SetXPowerContextRequestID ¶
func (s *WorkstreamDescriptorHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*WorkstreamDescriptorHeaders) Validate ¶
func (s *WorkstreamDescriptorHeaders) Validate() error
type WorkstreamDescriptorSchema ¶
type WorkstreamDescriptorSchema string
const (
WorkstreamDescriptorSchemaPowercontextWorkstreamV1 WorkstreamDescriptorSchema = "powercontext.workstream.v1"
)
func (WorkstreamDescriptorSchema) AllValues ¶
func (WorkstreamDescriptorSchema) AllValues() []WorkstreamDescriptorSchema
AllValues returns all WorkstreamDescriptorSchema values.
func (*WorkstreamDescriptorSchema) Decode ¶
func (s *WorkstreamDescriptorSchema) Decode(d *jx.Decoder) error
Decode decodes WorkstreamDescriptorSchema from json.
func (WorkstreamDescriptorSchema) Encode ¶
func (s WorkstreamDescriptorSchema) Encode(e *jx.Encoder)
Encode encodes WorkstreamDescriptorSchema as json.
func (WorkstreamDescriptorSchema) MarshalJSON ¶
func (s WorkstreamDescriptorSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (WorkstreamDescriptorSchema) MarshalText ¶
func (s WorkstreamDescriptorSchema) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*WorkstreamDescriptorSchema) UnmarshalJSON ¶
func (s *WorkstreamDescriptorSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkstreamDescriptorSchema) UnmarshalText ¶
func (s *WorkstreamDescriptorSchema) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (WorkstreamDescriptorSchema) Validate ¶
func (s WorkstreamDescriptorSchema) Validate() error
type WorkstreamKind ¶
type WorkstreamKind string
Ref: #/components/schemas/WorkstreamKind
const ( WorkstreamKindFeature WorkstreamKind = "feature" WorkstreamKindBug WorkstreamKind = "bug" WorkstreamKindRefactor WorkstreamKind = "refactor" WorkstreamKindOperations WorkstreamKind = "operations" WorkstreamKindResearch WorkstreamKind = "research" WorkstreamKindOther WorkstreamKind = "other" )
func (WorkstreamKind) AllValues ¶
func (WorkstreamKind) AllValues() []WorkstreamKind
AllValues returns all WorkstreamKind values.
func (*WorkstreamKind) Decode ¶
func (s *WorkstreamKind) Decode(d *jx.Decoder) error
Decode decodes WorkstreamKind from json.
func (WorkstreamKind) Encode ¶
func (s WorkstreamKind) Encode(e *jx.Encoder)
Encode encodes WorkstreamKind as json.
func (WorkstreamKind) MarshalJSON ¶
func (s WorkstreamKind) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (WorkstreamKind) MarshalText ¶
func (s WorkstreamKind) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*WorkstreamKind) UnmarshalJSON ¶
func (s *WorkstreamKind) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkstreamKind) UnmarshalText ¶
func (s *WorkstreamKind) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (WorkstreamKind) Validate ¶
func (s WorkstreamKind) Validate() error
type WorkstreamPage ¶
type WorkstreamPage struct {
Items []WorkstreamDescriptor `json:"items"`
NextCursor NilString `json:"next_cursor"`
}
Ref: #/components/schemas/WorkstreamPage
func (*WorkstreamPage) Decode ¶
func (s *WorkstreamPage) Decode(d *jx.Decoder) error
Decode decodes WorkstreamPage from json.
func (*WorkstreamPage) Encode ¶
func (s *WorkstreamPage) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkstreamPage) GetItems ¶
func (s *WorkstreamPage) GetItems() []WorkstreamDescriptor
GetItems returns the value of Items.
func (*WorkstreamPage) GetNextCursor ¶
func (s *WorkstreamPage) GetNextCursor() NilString
GetNextCursor returns the value of NextCursor.
func (*WorkstreamPage) MarshalJSON ¶
func (s *WorkstreamPage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WorkstreamPage) SetItems ¶
func (s *WorkstreamPage) SetItems(val []WorkstreamDescriptor)
SetItems sets the value of Items.
func (*WorkstreamPage) SetNextCursor ¶
func (s *WorkstreamPage) SetNextCursor(val NilString)
SetNextCursor sets the value of NextCursor.
func (*WorkstreamPage) UnmarshalJSON ¶
func (s *WorkstreamPage) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkstreamPage) Validate ¶
func (s *WorkstreamPage) Validate() error
type WorkstreamPageHeaders ¶
type WorkstreamPageHeaders struct {
XPowerContextRequestID OptString
Response WorkstreamPage
}
WorkstreamPageHeaders wraps WorkstreamPage with response headers.
func (*WorkstreamPageHeaders) GetResponse ¶
func (s *WorkstreamPageHeaders) GetResponse() WorkstreamPage
GetResponse returns the value of Response.
func (*WorkstreamPageHeaders) GetXPowerContextRequestID ¶
func (s *WorkstreamPageHeaders) GetXPowerContextRequestID() OptString
GetXPowerContextRequestID returns the value of XPowerContextRequestID.
func (*WorkstreamPageHeaders) SetResponse ¶
func (s *WorkstreamPageHeaders) SetResponse(val WorkstreamPage)
SetResponse sets the value of Response.
func (*WorkstreamPageHeaders) SetXPowerContextRequestID ¶
func (s *WorkstreamPageHeaders) SetXPowerContextRequestID(val OptString)
SetXPowerContextRequestID sets the value of XPowerContextRequestID.
func (*WorkstreamPageHeaders) Validate ¶
func (s *WorkstreamPageHeaders) Validate() error
Source Files
¶
- doc.go
- oas_cfg_gen.go
- oas_client_gen.go
- oas_defaults_gen.go
- oas_handlers_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_labeler_gen.go
- oas_middleware_gen.go
- oas_operations_gen.go
- oas_parameters_gen.go
- oas_request_decoders_gen.go
- oas_request_encoders_gen.go
- oas_response_decoders_gen.go
- oas_response_encoders_gen.go
- oas_router_gen.go
- oas_schemas_gen.go
- oas_security_gen.go
- oas_server_gen.go
- oas_unimplemented_gen.go
- oas_validators_gen.go
- powercontext_contract_validation_gen.go
- time.go