v1

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRolesForBearerAuth

func GetRolesForBearerAuth(operation string) []string

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

func ValidatePowerContextContract(value any) error

ValidatePowerContextContract applies semantic constraints that the frozen OpenAPI 3.0 document describes but cannot encode as schema keywords.

func WithServerURL

func WithServerURL(ctx context.Context, u *url.URL) context.Context

WithServerURL sets context key to override server URL.

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

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

GetRevision returns the value of Revision.

func (*AcknowledgeHandoffRequest) GetScopeID

func (s *AcknowledgeHandoffRequest) GetScopeID() string

GetScopeID returns the value of ScopeID.

func (*AcknowledgeHandoffRequest) GetSelection

GetSelection returns the value of Selection.

func (*AcknowledgeHandoffRequest) GetSourceID

func (s *AcknowledgeHandoffRequest) GetSourceID() string

GetSourceID returns the value of SourceID.

func (*AcknowledgeHandoffRequest) GetStatus

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

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

SetRevision sets the value of Revision.

func (*AcknowledgeHandoffRequest) SetScopeID

func (s *AcknowledgeHandoffRequest) SetScopeID(val string)

SetScopeID sets the value of ScopeID.

func (*AcknowledgeHandoffRequest) SetSelection

SetSelection sets the value of Selection.

func (*AcknowledgeHandoffRequest) SetSourceID

func (s *AcknowledgeHandoffRequest) SetSourceID(val string)

SetSourceID sets the value of SourceID.

func (*AcknowledgeHandoffRequest) SetStatus

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

Decode decodes ApproveArtifactCandidateRequest from json.

func (*ApproveArtifactCandidateRequest) Encode

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

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

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

GetResponse returns the value of Response.

func (*ArtifactCandidatePageHeaders) GetXPowerContextRequestID

func (s *ArtifactCandidatePageHeaders) GetXPowerContextRequestID() OptString

GetXPowerContextRequestID returns the value of XPowerContextRequestID.

func (*ArtifactCandidatePageHeaders) SetResponse

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

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

Decode decodes AttachHandoffReportWorkspaceRequest from json.

func (*AttachHandoffReportWorkspaceRequest) Encode

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

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

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

type AttachHandoffReportWorkspaceRes

type AttachHandoffReportWorkspaceRes interface {
	// contains filtered or unexported methods
}

type BearerAuth

type BearerAuth struct {
	Token string
	Roles []string
}

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

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

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

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

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

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

type CaptureContentSourceRequestMetadata map[string]jx.Raw

func (*CaptureContentSourceRequestMetadata) Decode

Decode decodes CaptureContentSourceRequestMetadata from json.

func (CaptureContentSourceRequestMetadata) Encode

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

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

GetSource returns the value of Source.

func (*CaptureContentSourceResponse) GetStatus

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

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

GetResponse returns the value of Response.

func (*CaptureContentSourceResponseHeaders) GetXPowerContextRequestID

func (s *CaptureContentSourceResponseHeaders) GetXPowerContextRequestID() OptString

GetXPowerContextRequestID returns the value of XPowerContextRequestID.

func (*CaptureContentSourceResponseHeaders) SetResponse

SetResponse sets the value of Response.

func (*CaptureContentSourceResponseHeaders) SetXPowerContextRequestID

func (s *CaptureContentSourceResponseHeaders) SetXPowerContextRequestID(val OptString)

SetXPowerContextRequestID sets the value of XPowerContextRequestID.

func (*CaptureContentSourceResponseHeaders) Validate

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

type CombinedEvidenceLimitError struct {
	SourceReferences   int
	ArtifactReferences int
}

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

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

GetPrepared returns the value of Prepared.

func (*ContinueHandoffRequest) GetRevision

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

Decode decodes CreateHandoffReportProjectRequest from json.

func (*CreateHandoffReportProjectRequest) Encode

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

GetTimezone returns the value of Timezone.

func (*CreateHandoffReportProjectRequest) GetTitle

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

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

GetSchema returns the value of Schema.

func (*CurrentWorkHandoff) GetState

func (s *CurrentWorkHandoff) GetState() []WorkClaim

GetState returns the value of State.

func (*CurrentWorkHandoff) GetTrust

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

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

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

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

Decode decodes DetachHandoffReportWorkspaceRequest from json.

func (*DetachHandoffReportWorkspaceRequest) Encode

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

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

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

type ErrorDetailDetails map[string]jx.Raw

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 ErrorHandler

type ErrorHandler = ogenerrors.ErrorHandler

ErrorHandler is error handler.

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

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

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

AllValues returns all ExternalSkillInstallationScope values.

func (*ExternalSkillInstallationScope) Decode

Decode decodes ExternalSkillInstallationScope from json.

func (ExternalSkillInstallationScope) Encode

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

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

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

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

GetProvider returns the value of Provider.

func (*ExternalSkillRegistration) MarshalJSON

func (s *ExternalSkillRegistration) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ExternalSkillRegistration) SetAgentKind

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

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

AllValues returns all ExternalSkillRegistrationAgentKind values.

func (*ExternalSkillRegistrationAgentKind) Decode

Decode decodes ExternalSkillRegistrationAgentKind from json.

func (ExternalSkillRegistrationAgentKind) Encode

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

type ExternalSkillRegistrationProvider

type ExternalSkillRegistrationProvider string
const (
	ExternalSkillRegistrationProviderCodex      ExternalSkillRegistrationProvider = "codex"
	ExternalSkillRegistrationProviderClaudeCode ExternalSkillRegistrationProvider = "claude_code"
)

func (ExternalSkillRegistrationProvider) AllValues

AllValues returns all ExternalSkillRegistrationProvider values.

func (*ExternalSkillRegistrationProvider) Decode

Decode decodes ExternalSkillRegistrationProvider from json.

func (ExternalSkillRegistrationProvider) Encode

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

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

GetRegistration returns the value of Registration.

func (*ExternalSkillResolution) GetStatus

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

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

GetResponse returns the value of Response.

func (*ExternalSkillResolutionHeaders) GetXPowerContextRequestID

func (s *ExternalSkillResolutionHeaders) GetXPowerContextRequestID() OptString

GetXPowerContextRequestID returns the value of XPowerContextRequestID.

func (*ExternalSkillResolutionHeaders) SetResponse

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"
	ExternalSkillResolutionStatusUnavailable ExternalSkillResolutionStatus = "unavailable"
)

func (ExternalSkillResolutionStatus) AllValues

AllValues returns all ExternalSkillResolutionStatus values.

func (*ExternalSkillResolutionStatus) Decode

Decode decodes ExternalSkillResolutionStatus from json.

func (ExternalSkillResolutionStatus) Encode

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

type FamilyCount struct {
	Family string `json:"family"`
	Total  int    `json:"total"`
}

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

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

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

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

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

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

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

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

Decode decodes GeneratedCandidateResponse from json.

func (*GeneratedCandidateResponse) Encode

func (s *GeneratedCandidateResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GeneratedCandidateResponse) GetCandidate

GetCandidate returns the value of Candidate.

func (*GeneratedCandidateResponse) GetStatus

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

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

GetResponse returns the value of Response.

func (*GeneratedCandidateResponseHeaders) GetXPowerContextRequestID

func (s *GeneratedCandidateResponseHeaders) GetXPowerContextRequestID() OptString

GetXPowerContextRequestID returns the value of XPowerContextRequestID.

func (*GeneratedCandidateResponseHeaders) SetResponse

SetResponse sets the value of Response.

func (*GeneratedCandidateResponseHeaders) SetXPowerContextRequestID

func (s *GeneratedCandidateResponseHeaders) SetXPowerContextRequestID(val OptString)

SetXPowerContextRequestID sets the value of XPowerContextRequestID.

func (*GeneratedCandidateResponseHeaders) Validate

type GeneratedCandidateStatus

type GeneratedCandidateStatus string

Ref: #/components/schemas/GeneratedCandidateStatus

const (
	GeneratedCandidateStatusPending GeneratedCandidateStatus = "pending"
	GeneratedCandidateStatusNoOp    GeneratedCandidateStatus = "no_op"
)

func (GeneratedCandidateStatus) AllValues

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

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

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

type GetHandoffReportOKTextMarkdown

type GetHandoffReportOKTextMarkdown struct {
	Data io.Reader
}

func (GetHandoffReportOKTextMarkdown) Read

func (s GetHandoffReportOKTextMarkdown) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

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

GetCacheControl returns the value of CacheControl.

func (*GetHandoffReportOKTextMarkdownHeaders) GetContentDisposition

func (s *GetHandoffReportOKTextMarkdownHeaders) GetContentDisposition() OptString

GetContentDisposition returns the value of ContentDisposition.

func (*GetHandoffReportOKTextMarkdownHeaders) GetResponse

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

SetCacheControl sets the value of CacheControl.

func (*GetHandoffReportOKTextMarkdownHeaders) SetContentDisposition

func (s *GetHandoffReportOKTextMarkdownHeaders) SetContentDisposition(val OptString)

SetContentDisposition sets the value of ContentDisposition.

func (*GetHandoffReportOKTextMarkdownHeaders) SetResponse

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

type GetHandoffReportProjectRequest

type GetHandoffReportProjectRequest struct {
	ProjectID string `json:"project_id"`
}

Ref: #/components/schemas/GetHandoffReportProjectRequest

func (*GetHandoffReportProjectRequest) Decode

Decode decodes GetHandoffReportProjectRequest from json.

func (*GetHandoffReportProjectRequest) Encode

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

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

GetLocale returns the value of Locale.

func (*GetHandoffReportRequest) GetPeriod

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

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

Decode decodes GetHandoffReportWorkspaceRequest from json.

func (*GetHandoffReportWorkspaceRequest) Encode

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

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

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

GetResponse returns the value of Response.

func (*HandoffAcknowledgementHeaders) GetXPowerContextRequestID

func (s *HandoffAcknowledgementHeaders) GetXPowerContextRequestID() OptString

GetXPowerContextRequestID returns the value of XPowerContextRequestID.

func (*HandoffAcknowledgementHeaders) SetResponse

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

AllValues returns all HandoffAcknowledgementSelection values.

func (*HandoffAcknowledgementSelection) Decode

Decode decodes HandoffAcknowledgementSelection from json.

func (HandoffAcknowledgementSelection) Encode

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

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

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

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

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

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

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

AllValues returns all HandoffArtifactCitationKind values.

func (*HandoffArtifactCitationKind) Decode

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

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"`
	UnavailableEvidence []HandoffCitation     `json:"unavailable_evidence"`
}

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

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"
	HandoffEvidenceStatusUnavailable HandoffEvidenceStatus = "unavailable"
)

func (HandoffEvidenceStatus) AllValues

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

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

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

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

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

GetAgent returns the value of Agent.

func (*HandoffReportActivity) GetEventID

func (s *HandoffReportActivity) GetEventID() string

GetEventID returns the value of EventID.

func (*HandoffReportActivity) GetEvidenceRefs

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

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

GetSource returns the value of Source.

func (*HandoffReportActivity) GetSourceEventID

func (s *HandoffReportActivity) GetSourceEventID() string

GetSourceEventID returns the value of SourceEventID.

func (*HandoffReportActivity) GetSourceRef

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

GetTrust returns the value of Trust.

func (*HandoffReportActivity) GetVcsContext

GetVcsContext returns the value of VcsContext.

func (*HandoffReportActivity) MarshalJSON

func (s *HandoffReportActivity) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*HandoffReportActivity) SetAgent

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

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

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

SetTrust sets the value of Trust.

func (*HandoffReportActivity) SetVcsContext

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

Decode decodes HandoffReportActivityAgent from json.

func (*HandoffReportActivityAgent) Encode

func (s *HandoffReportActivityAgent) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*HandoffReportActivityAgent) GetLabel

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

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

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

GetResponse returns the value of Response.

func (*HandoffReportActivityPageHeaders) GetXPowerContextRequestID

func (s *HandoffReportActivityPageHeaders) GetXPowerContextRequestID() OptString

GetXPowerContextRequestID returns the value of XPowerContextRequestID.

func (*HandoffReportActivityPageHeaders) SetResponse

SetResponse sets the value of Response.

func (*HandoffReportActivityPageHeaders) SetXPowerContextRequestID

func (s *HandoffReportActivityPageHeaders) SetXPowerContextRequestID(val OptString)

SetXPowerContextRequestID sets the value of XPowerContextRequestID.

func (*HandoffReportActivityPageHeaders) Validate

type HandoffReportActivitySchema

type HandoffReportActivitySchema string
const (
	HandoffReportActivitySchemaPowercontextHandoffReportActivityV1 HandoffReportActivitySchema = "powercontext.handoff-report-activity.v1"
)

func (HandoffReportActivitySchema) AllValues

AllValues returns all HandoffReportActivitySchema values.

func (*HandoffReportActivitySchema) Decode

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

AllValues returns all HandoffReportActivityTrust values.

func (*HandoffReportActivityTrust) Decode

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

Decode decodes HandoffReportActivityVcsContext from json.

func (*HandoffReportActivityVcsContext) Encode

Encode implements json.Marshaler.

func (*HandoffReportActivityVcsContext) GetBranch

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

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

Decode decodes HandoffReportExternalReference from json.

func (*HandoffReportExternalReference) Encode

Encode implements json.Marshaler.

func (*HandoffReportExternalReference) GetExternalID

func (s *HandoffReportExternalReference) GetExternalID() string

GetExternalID returns the value of ExternalID.

func (*HandoffReportExternalReference) GetKind

GetKind returns the value of Kind.

func (*HandoffReportExternalReference) GetProvider

func (s *HandoffReportExternalReference) GetProvider() string

GetProvider returns the value of Provider.

func (*HandoffReportExternalReference) GetURL

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

SetKind sets the value of Kind.

func (*HandoffReportExternalReference) SetProvider

func (s *HandoffReportExternalReference) SetProvider(val string)

SetProvider sets the value of Provider.

func (*HandoffReportExternalReference) SetURL

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

AllValues returns all HandoffReportExternalReferenceKind values.

func (*HandoffReportExternalReferenceKind) Decode

Decode decodes HandoffReportExternalReferenceKind from json.

func (HandoffReportExternalReferenceKind) Encode

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

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

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

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

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

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

AllValues returns all HandoffReportRepositoryRefProvider values.

func (*HandoffReportRepositoryRefProvider) Decode

Decode decodes HandoffReportRepositoryRefProvider from json.

func (HandoffReportRepositoryRefProvider) Encode

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

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

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

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

GetCacheControl returns the value of CacheControl.

func (*HandoffReportResponseHeaders) GetContentDisposition

func (s *HandoffReportResponseHeaders) GetContentDisposition() OptString

GetContentDisposition returns the value of ContentDisposition.

func (*HandoffReportResponseHeaders) GetResponse

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

SetCacheControl sets the value of CacheControl.

func (*HandoffReportResponseHeaders) SetContentDisposition

func (s *HandoffReportResponseHeaders) SetContentDisposition(val OptString)

SetContentDisposition sets the value of ContentDisposition.

func (*HandoffReportResponseHeaders) SetResponse

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

type HandoffReportResponseReport map[string]jx.Raw

func (*HandoffReportResponseReport) Decode

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

Decode decodes HandoffReportWorkspaceBinding from json.

func (*HandoffReportWorkspaceBinding) Encode

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

GetRepositoryRef returns the value of RepositoryRef.

func (*HandoffReportWorkspaceBinding) GetSchema

GetSchema returns the value of Schema.

func (*HandoffReportWorkspaceBinding) GetState

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

SetRepositoryRef sets the value of RepositoryRef.

func (*HandoffReportWorkspaceBinding) SetSchema

SetSchema sets the value of Schema.

func (*HandoffReportWorkspaceBinding) SetState

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

GetResponse returns the value of Response.

func (*HandoffReportWorkspaceBindingHeaders) GetXPowerContextRequestID

func (s *HandoffReportWorkspaceBindingHeaders) GetXPowerContextRequestID() OptString

GetXPowerContextRequestID returns the value of XPowerContextRequestID.

func (*HandoffReportWorkspaceBindingHeaders) SetResponse

SetResponse sets the value of Response.

func (*HandoffReportWorkspaceBindingHeaders) SetXPowerContextRequestID

func (s *HandoffReportWorkspaceBindingHeaders) SetXPowerContextRequestID(val OptString)

SetXPowerContextRequestID sets the value of XPowerContextRequestID.

func (*HandoffReportWorkspaceBindingHeaders) Validate

type HandoffReportWorkspaceBindingSchema

type HandoffReportWorkspaceBindingSchema string
const (
	HandoffReportWorkspaceBindingSchemaPowercontextWorkspaceBindingV1 HandoffReportWorkspaceBindingSchema = "powercontext.workspace-binding.v1"
)

func (HandoffReportWorkspaceBindingSchema) AllValues

AllValues returns all HandoffReportWorkspaceBindingSchema values.

func (*HandoffReportWorkspaceBindingSchema) Decode

Decode decodes HandoffReportWorkspaceBindingSchema from json.

func (HandoffReportWorkspaceBindingSchema) Encode

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

type HandoffReportWorkspaceBindingState

type HandoffReportWorkspaceBindingState string
const (
	HandoffReportWorkspaceBindingStateConfirmed HandoffReportWorkspaceBindingState = "confirmed"
	HandoffReportWorkspaceBindingStateDetached  HandoffReportWorkspaceBindingState = "detached"
)

func (HandoffReportWorkspaceBindingState) AllValues

AllValues returns all HandoffReportWorkspaceBindingState values.

func (*HandoffReportWorkspaceBindingState) Decode

Decode decodes HandoffReportWorkspaceBindingState from json.

func (HandoffReportWorkspaceBindingState) Encode

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

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

GetStatus returns the value of Status.

func (*HandoffResolution) GetTrust

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

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

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

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

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

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

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

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

GetMode returns the value of Mode.

func (*ImportExternalSkillRequest) GetReason

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

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

GetArtifacts returns the value of Artifacts.

func (*InventoryStatistics) GetCandidates

GetCandidates returns the value of Candidates.

func (*InventoryStatistics) GetMemory

GetMemory returns the value of Memory.

func (*InventoryStatistics) GetSources

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

SetMemory sets the value of Memory.

func (*InventoryStatistics) SetSources

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

GetResponse returns the value of Response.

func (*KnownHandoffScopePageHeaders) GetXPowerContextRequestID

func (s *KnownHandoffScopePageHeaders) GetXPowerContextRequestID() OptString

GetXPowerContextRequestID returns the value of XPowerContextRequestID.

func (*KnownHandoffScopePageHeaders) SetResponse

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

func LabelerFromContext(ctx context.Context) (*Labeler, bool)

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) Add

func (l *Labeler) Add(attrs ...attribute.KeyValue)

Add attributes to the Labeler.

func (*Labeler) AttributeSet

func (l *Labeler) AttributeSet() attribute.Set

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

Decode decodes ListArtifactCandidatesRequest from json.

func (*ListArtifactCandidatesRequest) Encode

Encode implements json.Marshaler.

func (*ListArtifactCandidatesRequest) GetCursor

GetCursor returns the value of Cursor.

func (*ListArtifactCandidatesRequest) GetFamily

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

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

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

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"`
	IncludeUnavailable OptBool `json:"include_unavailable"`
}

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

Decode decodes ListExternalSkillsResponse from json.

func (*ListExternalSkillsResponse) Encode

func (s *ListExternalSkillsResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ListExternalSkillsResponse) GetSkills

GetSkills returns the value of Skills.

func (*ListExternalSkillsResponse) MarshalJSON

func (s *ListExternalSkillsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListExternalSkillsResponse) SetSkills

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

GetResponse returns the value of Response.

func (*ListExternalSkillsResponseHeaders) GetXPowerContextRequestID

func (s *ListExternalSkillsResponseHeaders) GetXPowerContextRequestID() OptString

GetXPowerContextRequestID returns the value of XPowerContextRequestID.

func (*ListExternalSkillsResponseHeaders) SetResponse

SetResponse sets the value of Response.

func (*ListExternalSkillsResponseHeaders) SetXPowerContextRequestID

func (s *ListExternalSkillsResponseHeaders) SetXPowerContextRequestID(val OptString)

SetXPowerContextRequestID sets the value of XPowerContextRequestID.

func (*ListExternalSkillsResponseHeaders) Validate

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

Decode decodes ListHandoffReportActivitiesRequest from json.

func (*ListHandoffReportActivitiesRequest) Encode

Encode implements json.Marshaler.

func (*ListHandoffReportActivitiesRequest) GetAfterCursor

func (s *ListHandoffReportActivitiesRequest) GetAfterCursor() OptInt

GetAfterCursor returns the value of AfterCursor.

func (*ListHandoffReportActivitiesRequest) GetLimit

GetLimit returns the value of Limit.

func (*ListHandoffReportActivitiesRequest) GetPeriodEnd

GetPeriodEnd returns the value of PeriodEnd.

func (*ListHandoffReportActivitiesRequest) GetPeriodStart

GetPeriodStart returns the value of PeriodStart.

func (*ListHandoffReportActivitiesRequest) GetProjectID

func (s *ListHandoffReportActivitiesRequest) GetProjectID() string

GetProjectID returns the value of ProjectID.

func (*ListHandoffReportActivitiesRequest) GetSources

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

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

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

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

Decode decodes ListHandoffReportKnownScopesRequest from json.

func (*ListHandoffReportKnownScopesRequest) Encode

Encode implements json.Marshaler.

func (*ListHandoffReportKnownScopesRequest) GetCursor

GetCursor returns the value of Cursor.

func (*ListHandoffReportKnownScopesRequest) GetLimit

GetLimit returns the value of Limit.

func (*ListHandoffReportKnownScopesRequest) MarshalJSON

func (s *ListHandoffReportKnownScopesRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListHandoffReportKnownScopesRequest) SetCursor

SetCursor sets the value of Cursor.

func (*ListHandoffReportKnownScopesRequest) SetLimit

SetLimit sets the value of Limit.

func (*ListHandoffReportKnownScopesRequest) UnmarshalJSON

func (s *ListHandoffReportKnownScopesRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListHandoffReportKnownScopesRequest) Validate

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

Decode decodes ListHandoffReportProjectsRequest from json.

func (*ListHandoffReportProjectsRequest) Encode

Encode implements json.Marshaler.

func (*ListHandoffReportProjectsRequest) GetCursor

GetCursor returns the value of Cursor.

func (*ListHandoffReportProjectsRequest) GetIncludeArchived

func (s *ListHandoffReportProjectsRequest) GetIncludeArchived() OptBool

GetIncludeArchived returns the value of IncludeArchived.

func (*ListHandoffReportProjectsRequest) GetLimit

GetLimit returns the value of Limit.

func (*ListHandoffReportProjectsRequest) MarshalJSON

func (s *ListHandoffReportProjectsRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListHandoffReportProjectsRequest) SetCursor

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

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

Decode decodes ListHandoffReportWorkstreamsRequest from json.

func (*ListHandoffReportWorkstreamsRequest) Encode

Encode implements json.Marshaler.

func (*ListHandoffReportWorkstreamsRequest) GetCursor

GetCursor returns the value of Cursor.

func (*ListHandoffReportWorkstreamsRequest) GetIncludeArchived

func (s *ListHandoffReportWorkstreamsRequest) GetIncludeArchived() OptBool

GetIncludeArchived returns the value of IncludeArchived.

func (*ListHandoffReportWorkstreamsRequest) GetLimit

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

SetCursor sets the value of Cursor.

func (*ListHandoffReportWorkstreamsRequest) SetIncludeArchived

func (s *ListHandoffReportWorkstreamsRequest) SetIncludeArchived(val OptBool)

SetIncludeArchived sets the value of IncludeArchived.

func (*ListHandoffReportWorkstreamsRequest) SetLimit

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

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

GetMemory returns the value of Memory.

func (*ListMemoryChangesResponse) GetRevisions

GetRevisions returns the value of Revisions.

func (*ListMemoryChangesResponse) MarshalJSON

func (s *ListMemoryChangesResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListMemoryChangesResponse) SetMemory

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

GetResponse returns the value of Response.

func (*ListMemoryChangesResponseHeaders) GetXPowerContextRequestID

func (s *ListMemoryChangesResponseHeaders) GetXPowerContextRequestID() OptString

GetXPowerContextRequestID returns the value of XPowerContextRequestID.

func (*ListMemoryChangesResponseHeaders) SetResponse

SetResponse sets the value of Response.

func (*ListMemoryChangesResponseHeaders) SetXPowerContextRequestID

func (s *ListMemoryChangesResponseHeaders) SetXPowerContextRequestID(val OptString)

SetXPowerContextRequestID sets the value of XPowerContextRequestID.

func (*ListMemoryChangesResponseHeaders) Validate

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

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

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

GetResponse returns the value of Response.

func (*ListMemoryEntriesResponseHeaders) GetXPowerContextRequestID

func (s *ListMemoryEntriesResponseHeaders) GetXPowerContextRequestID() OptString

GetXPowerContextRequestID returns the value of XPowerContextRequestID.

func (*ListMemoryEntriesResponseHeaders) SetResponse

SetResponse sets the value of Response.

func (*ListMemoryEntriesResponseHeaders) SetXPowerContextRequestID

func (s *ListMemoryEntriesResponseHeaders) SetXPowerContextRequestID(val OptString)

SetXPowerContextRequestID sets the value of XPowerContextRequestID.

func (*ListMemoryEntriesResponseHeaders) Validate

type LiveStateCheckStatus

type LiveStateCheckStatus string

Ref: #/components/schemas/LiveStateCheckStatus

const (
	LiveStateCheckStatusConfirmed  LiveStateCheckStatus = "confirmed"
	LiveStateCheckStatusMismatch   LiveStateCheckStatus = "mismatch"
	LiveStateCheckStatusNotChecked LiveStateCheckStatus = "not_checked"
)

func (LiveStateCheckStatus) AllValues

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

Decode decodes MemoryEntryInventoryStatistics from json.

func (*MemoryEntryInventoryStatistics) Encode

Encode implements json.Marshaler.

func (*MemoryEntryInventoryStatistics) GetActive

func (s *MemoryEntryInventoryStatistics) GetActive() int

GetActive returns the value of Active.

func (*MemoryEntryInventoryStatistics) GetByKind

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

GetEntries returns the value of Entries.

func (*MemoryInventoryStatistics) MarshalJSON

func (s *MemoryInventoryStatistics) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MemoryInventoryStatistics) SetEntries

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

GetEntry returns the value of Entry.

func (*MemoryMutationResponse) GetMemory

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

GetResponse returns the value of Response.

func (*MemoryMutationResponseHeaders) GetXPowerContextRequestID

func (s *MemoryMutationResponseHeaders) GetXPowerContextRequestID() OptString

GetXPowerContextRequestID returns the value of XPowerContextRequestID.

func (*MemoryMutationResponseHeaders) SetResponse

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

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 Middleware

type Middleware = middleware.Middleware

Middleware is middleware type.

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

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

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

Or returns value if set, or given parameter if does not.

func (*NilArtifactCandidate) SetTo

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

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

Or returns value if set, or given parameter if does not.

func (*NilArtifactReference) SetTo

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

type NilDateTime struct {
	Value time.Time
	Null  bool
}

NilDateTime is nullable time.Time.

func NewNilDateTime

func NewNilDateTime(v time.Time) NilDateTime

NewNilDateTime returns new NilDateTime with value set to v.

func (*NilDateTime) Decode

func (o *NilDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (NilDateTime) Encode

func (o NilDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

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) SetTo

func (o *NilDateTime) SetTo(v time.Time)

SetTo sets value to v.

func (*NilDateTime) SetToNull

func (o *NilDateTime) SetToNull()

SetToNull sets value to null.

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

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

Or returns value if set, or given parameter if does not.

func (*NilErrorDetailDetails) SetTo

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

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

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

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

Decode decodes HandoffReportActivityAgent from json.

func (NilHandoffReportActivityAgent) Encode

Encode encodes HandoffReportActivityAgent as json.

func (NilHandoffReportActivityAgent) Get

Get returns value and boolean that denotes whether value was set.

func (NilHandoffReportActivityAgent) IsNull

IsNull returns true if value is Null.

func (NilHandoffReportActivityAgent) MarshalJSON

func (s NilHandoffReportActivityAgent) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NilHandoffReportActivityAgent) Or

Or returns value if set, or given parameter if does not.

func (*NilHandoffReportActivityAgent) SetTo

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

Decode decodes HandoffReportActivityVcsContext from json.

func (NilHandoffReportActivityVcsContext) Encode

Encode encodes HandoffReportActivityVcsContext as json.

func (NilHandoffReportActivityVcsContext) Get

Get returns value and boolean that denotes whether value was set.

func (NilHandoffReportActivityVcsContext) IsNull

IsNull returns true if value is Null.

func (NilHandoffReportActivityVcsContext) MarshalJSON

func (s NilHandoffReportActivityVcsContext) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NilHandoffReportActivityVcsContext) Or

Or returns value if set, or given parameter if does not.

func (*NilHandoffReportActivityVcsContext) SetTo

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

Decode decodes HandoffReportExternalReference from json.

func (NilHandoffReportExternalReference) Encode

Encode encodes HandoffReportExternalReference as json.

func (NilHandoffReportExternalReference) Get

Get returns value and boolean that denotes whether value was set.

func (NilHandoffReportExternalReference) IsNull

IsNull returns true if value is Null.

func (NilHandoffReportExternalReference) MarshalJSON

func (s NilHandoffReportExternalReference) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NilHandoffReportExternalReference) Or

Or returns value if set, or given parameter if does not.

func (*NilHandoffReportExternalReference) SetTo

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

Decode decodes HandoffReportResponseReport from json.

func (NilHandoffReportResponseReport) Encode

Encode encodes HandoffReportResponseReport as json.

func (NilHandoffReportResponseReport) Get

Get returns value and boolean that denotes whether value was set.

func (NilHandoffReportResponseReport) IsNull

IsNull returns true if value is Null.

func (NilHandoffReportResponseReport) MarshalJSON

func (s NilHandoffReportResponseReport) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NilHandoffReportResponseReport) Or

Or returns value if set, or given parameter if does not.

func (*NilHandoffReportResponseReport) SetTo

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

Or returns value if set, or given parameter if does not.

func (*NilHandoffSelection) SetTo

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

Or returns value if set, or given parameter if does not.

func (*NilHandoffStatement) SetTo

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

type NilInt struct {
	Value int
	Null  bool
}

NilInt is nullable int.

func NewNilInt

func NewNilInt(v int) NilInt

NewNilInt returns new NilInt with value set to v.

func (*NilInt) Decode

func (o *NilInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (NilInt) Encode

func (o NilInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (NilInt) Get

func (o NilInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (NilInt) IsNull

func (o NilInt) IsNull() bool

IsNull returns true if value is Null.

func (NilInt) MarshalJSON

func (s NilInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NilInt) Or

func (o NilInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*NilInt) SetTo

func (o *NilInt) SetTo(v int)

SetTo sets value to v.

func (*NilInt) SetToNull

func (o *NilInt) SetToNull()

SetToNull sets value to null.

func (*NilInt) UnmarshalJSON

func (s *NilInt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type NilString

type NilString struct {
	Value string
	Null  bool
}

NilString is nullable string.

func NewNilString

func NewNilString(v string) NilString

NewNilString returns new NilString with value set to v.

func (*NilString) Decode

func (o *NilString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (NilString) Encode

func (o NilString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (NilString) Get

func (o NilString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (NilString) IsNull

func (o NilString) IsNull() bool

IsNull returns true if value is Null.

func (NilString) MarshalJSON

func (s NilString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NilString) Or

func (o NilString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*NilString) SetTo

func (o *NilString) SetTo(v string)

SetTo sets value to v.

func (*NilString) SetToNull

func (o *NilString) SetToNull()

SetToNull sets value to null.

func (*NilString) UnmarshalJSON

func (s *NilString) UnmarshalJSON(data []byte) error

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

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

Or returns value if set, or given parameter if does not.

func (*NilTokenEstimatorProfile) SetTo

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

type NilWorkClaim struct {
	Value WorkClaim
	Null  bool
}

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

Or returns value if set, or given parameter if does not.

func (*NilWorkClaim) SetTo

func (o *NilWorkClaim) SetTo(v WorkClaim)

SetTo sets value to v.

func (*NilWorkClaim) SetToNull

func (o *NilWorkClaim) SetToNull()

SetToNull sets value to null.

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

type OptBool struct {
	Value bool
	Set   bool
}

OptBool is optional bool.

func NewOptBool

func NewOptBool(v bool) OptBool

NewOptBool returns new OptBool with value set to v.

func (*OptBool) Decode

func (o *OptBool) Decode(d *jx.Decoder) error

Decode decodes bool from json.

func (OptBool) Encode

func (o OptBool) Encode(e *jx.Encoder)

Encode encodes bool as json.

func (OptBool) Get

func (o OptBool) Get() (v bool, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptBool) IsSet

func (o OptBool) IsSet() bool

IsSet returns true if OptBool was set.

func (OptBool) MarshalJSON

func (s OptBool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBool) Or

func (o OptBool) Or(d bool) bool

Or returns value if set, or given parameter if does not.

func (*OptBool) Reset

func (o *OptBool) Reset()

Reset unsets value.

func (*OptBool) SetTo

func (o *OptBool) SetTo(v bool)

SetTo sets value to v.

func (*OptBool) UnmarshalJSON

func (s *OptBool) UnmarshalJSON(data []byte) error

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

Or returns value if set, or given parameter if does not.

func (*OptCandidateStatus) Reset

func (o *OptCandidateStatus) Reset()

Reset unsets value.

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

Get returns value and boolean that denotes whether value was set.

func (OptGetHandoffReportOKCacheControl) IsSet

IsSet returns true if OptGetHandoffReportOKCacheControl was set.

func (OptGetHandoffReportOKCacheControl) Or

Or returns value if set, or given parameter if does not.

func (*OptGetHandoffReportOKCacheControl) Reset

Reset unsets value.

func (*OptGetHandoffReportOKCacheControl) SetTo

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

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) Or

Or returns value if set, or given parameter if does not.

func (*OptGetStatsOKCacheControl) Reset

func (o *OptGetStatsOKCacheControl) Reset()

Reset unsets value.

func (*OptGetStatsOKCacheControl) SetTo

SetTo sets value to v.

type OptInt

type OptInt struct {
	Value int
	Set   bool
}

OptInt is optional int.

func NewOptInt

func NewOptInt(v int) OptInt

NewOptInt returns new OptInt with value set to v.

func (*OptInt) Decode

func (o *OptInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (OptInt) Encode

func (o OptInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (OptInt) Get

func (o OptInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt) IsSet

func (o OptInt) IsSet() bool

IsSet returns true if OptInt was set.

func (OptInt) MarshalJSON

func (s OptInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInt) Or

func (o OptInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*OptInt) Reset

func (o *OptInt) Reset()

Reset unsets value.

func (*OptInt) SetTo

func (o *OptInt) SetTo(v int)

SetTo sets value to v.

func (*OptInt) UnmarshalJSON

func (s *OptInt) UnmarshalJSON(data []byte) error

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

Or returns value if set, or given parameter if does not.

func (*OptMemorySearchMode) Reset

func (o *OptMemorySearchMode) Reset()

Reset unsets value.

func (*OptMemorySearchMode) SetTo

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

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

Or returns value if set, or given parameter if does not.

func (*OptNilArtifactReference) Reset

func (o *OptNilArtifactReference) Reset()

Reset unsets value.

func (*OptNilArtifactReference) SetTo

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

Or returns value if set, or given parameter if does not.

func (*OptNilCandidateFamily) Reset

func (o *OptNilCandidateFamily) Reset()

Reset unsets value.

func (*OptNilCandidateFamily) SetTo

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

Decode decodes CaptureContentSourceRequestMetadata from json.

func (OptNilCaptureContentSourceRequestMetadata) Encode

Encode encodes CaptureContentSourceRequestMetadata as json.

func (OptNilCaptureContentSourceRequestMetadata) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilCaptureContentSourceRequestMetadata) IsEmpty

IsEmpty returns true if the field was omitted from the payload (not Set and not Null).

func (OptNilCaptureContentSourceRequestMetadata) IsNull

IsNull returns true if value is Null.

func (OptNilCaptureContentSourceRequestMetadata) IsSet

IsSet returns true if OptNilCaptureContentSourceRequestMetadata was set.

func (OptNilCaptureContentSourceRequestMetadata) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilCaptureContentSourceRequestMetadata) Or

Or returns value if set, or given parameter if does not.

func (*OptNilCaptureContentSourceRequestMetadata) Reset

Reset unsets value.

func (*OptNilCaptureContentSourceRequestMetadata) SetTo

SetTo sets value to v.

func (*OptNilCaptureContentSourceRequestMetadata) SetToNull

SetToNull sets value to null.

func (*OptNilCaptureContentSourceRequestMetadata) UnmarshalJSON

func (s *OptNilCaptureContentSourceRequestMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilDateTime

type OptNilDateTime struct {
	Value time.Time
	Set   bool
	Null  bool
}

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) Decode

func (o *OptNilDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (OptNilDateTime) Encode

func (o OptNilDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

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) Reset

func (o *OptNilDateTime) Reset()

Reset unsets value.

func (*OptNilDateTime) SetTo

func (o *OptNilDateTime) SetTo(v time.Time)

SetTo sets value to v.

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

Decode decodes HandoffReportActivityAgent from json.

func (OptNilHandoffReportActivityAgent) Encode

Encode encodes HandoffReportActivityAgent as json.

func (OptNilHandoffReportActivityAgent) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilHandoffReportActivityAgent) IsEmpty

IsEmpty returns true if the field was omitted from the payload (not Set and not Null).

func (OptNilHandoffReportActivityAgent) IsNull

IsNull returns true if value is Null.

func (OptNilHandoffReportActivityAgent) IsSet

IsSet returns true if OptNilHandoffReportActivityAgent was set.

func (OptNilHandoffReportActivityAgent) MarshalJSON

func (s OptNilHandoffReportActivityAgent) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilHandoffReportActivityAgent) Or

Or returns value if set, or given parameter if does not.

func (*OptNilHandoffReportActivityAgent) Reset

Reset unsets value.

func (*OptNilHandoffReportActivityAgent) SetTo

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

Decode decodes HandoffReportActivityVcsContext from json.

func (OptNilHandoffReportActivityVcsContext) Encode

Encode encodes HandoffReportActivityVcsContext as json.

func (OptNilHandoffReportActivityVcsContext) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilHandoffReportActivityVcsContext) IsEmpty

IsEmpty returns true if the field was omitted from the payload (not Set and not Null).

func (OptNilHandoffReportActivityVcsContext) IsNull

IsNull returns true if value is Null.

func (OptNilHandoffReportActivityVcsContext) IsSet

IsSet returns true if OptNilHandoffReportActivityVcsContext was set.

func (OptNilHandoffReportActivityVcsContext) MarshalJSON

func (s OptNilHandoffReportActivityVcsContext) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilHandoffReportActivityVcsContext) Or

Or returns value if set, or given parameter if does not.

func (*OptNilHandoffReportActivityVcsContext) Reset

Reset unsets value.

func (*OptNilHandoffReportActivityVcsContext) SetTo

SetTo sets value to v.

func (*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

Decode decodes HandoffReportExternalReference from json.

func (OptNilHandoffReportExternalReference) Encode

Encode encodes HandoffReportExternalReference as json.

func (OptNilHandoffReportExternalReference) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilHandoffReportExternalReference) IsEmpty

IsEmpty returns true if the field was omitted from the payload (not Set and not Null).

func (OptNilHandoffReportExternalReference) IsNull

IsNull returns true if value is Null.

func (OptNilHandoffReportExternalReference) IsSet

IsSet returns true if OptNilHandoffReportExternalReference was set.

func (OptNilHandoffReportExternalReference) MarshalJSON

func (s OptNilHandoffReportExternalReference) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilHandoffReportExternalReference) Or

Or returns value if set, or given parameter if does not.

func (*OptNilHandoffReportExternalReference) Reset

Reset unsets value.

func (*OptNilHandoffReportExternalReference) SetTo

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

Decode decodes HandoffReportPeriodRequest from json.

func (OptNilHandoffReportPeriodRequest) Encode

Encode encodes HandoffReportPeriodRequest as json.

func (OptNilHandoffReportPeriodRequest) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilHandoffReportPeriodRequest) IsEmpty

IsEmpty returns true if the field was omitted from the payload (not Set and not Null).

func (OptNilHandoffReportPeriodRequest) IsNull

IsNull returns true if value is Null.

func (OptNilHandoffReportPeriodRequest) IsSet

IsSet returns true if OptNilHandoffReportPeriodRequest was set.

func (OptNilHandoffReportPeriodRequest) MarshalJSON

func (s OptNilHandoffReportPeriodRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilHandoffReportPeriodRequest) Or

Or returns value if set, or given parameter if does not.

func (*OptNilHandoffReportPeriodRequest) Reset

Reset unsets value.

func (*OptNilHandoffReportPeriodRequest) SetTo

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

type OptNilInt struct {
	Value int
	Set   bool
	Null  bool
}

OptNilInt is optional nullable int.

func NewOptNilInt

func NewOptNilInt(v int) OptNilInt

NewOptNilInt returns new OptNilInt with value set to v.

func (*OptNilInt) Decode

func (o *OptNilInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (OptNilInt) Encode

func (o OptNilInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (OptNilInt) Get

func (o OptNilInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilInt) IsEmpty

func (o OptNilInt) IsEmpty() bool

IsEmpty returns true if the field was omitted from the payload (not Set and not Null).

func (OptNilInt) IsNull

func (o OptNilInt) IsNull() bool

IsNull returns true if value is Null.

func (OptNilInt) IsSet

func (o OptNilInt) IsSet() bool

IsSet returns true if OptNilInt was set.

func (OptNilInt) MarshalJSON

func (s OptNilInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilInt) Or

func (o OptNilInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*OptNilInt) Reset

func (o *OptNilInt) Reset()

Reset unsets value.

func (*OptNilInt) SetTo

func (o *OptNilInt) SetTo(v int)

SetTo sets value to v.

func (*OptNilInt) SetToNull

func (o *OptNilInt) SetToNull()

SetToNull sets value to null.

func (*OptNilInt) UnmarshalJSON

func (s *OptNilInt) UnmarshalJSON(data []byte) error

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

Or returns value if set, or given parameter if does not.

func (*OptNilMemoryEntry) Reset

func (o *OptNilMemoryEntry) Reset()

Reset unsets value.

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

Decode decodes MemoryUsedSearchMode from json.

func (OptNilMemoryUsedSearchMode) Encode

func (o OptNilMemoryUsedSearchMode) Encode(e *jx.Encoder)

Encode encodes MemoryUsedSearchMode as json.

func (OptNilMemoryUsedSearchMode) Get

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

Or returns value if set, or given parameter if does not.

func (*OptNilMemoryUsedSearchMode) Reset

func (o *OptNilMemoryUsedSearchMode) Reset()

Reset unsets value.

func (*OptNilMemoryUsedSearchMode) SetTo

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

Or returns value if set, or given parameter if does not.

func (*OptNilPreparedHandoff) Reset

func (o *OptNilPreparedHandoff) Reset()

Reset unsets value.

func (*OptNilPreparedHandoff) SetTo

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

Or returns value if set, or given parameter if does not.

func (*OptNilReceiverChecks) Reset

func (o *OptNilReceiverChecks) Reset()

Reset unsets value.

func (*OptNilReceiverChecks) SetTo

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

Decode decodes []ReportActivitySource from json.

func (OptNilReportActivitySourceArray) Encode

Encode encodes []ReportActivitySource as json.

func (OptNilReportActivitySourceArray) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilReportActivitySourceArray) IsEmpty

IsEmpty returns true if the field was omitted from the payload (not Set and not Null).

func (OptNilReportActivitySourceArray) IsNull

IsNull returns true if value is Null.

func (OptNilReportActivitySourceArray) IsSet

IsSet returns true if OptNilReportActivitySourceArray was set.

func (OptNilReportActivitySourceArray) MarshalJSON

func (s OptNilReportActivitySourceArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilReportActivitySourceArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilReportActivitySourceArray) Reset

Reset unsets value.

func (*OptNilReportActivitySourceArray) SetTo

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

Or returns value if set, or given parameter if does not.

func (*OptNilReportLocale) Reset

func (o *OptNilReportLocale) Reset()

Reset unsets value.

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

Or returns value if set, or given parameter if does not.

func (*OptNilSourceReference) Reset

func (o *OptNilSourceReference) Reset()

Reset unsets value.

func (*OptNilSourceReference) SetTo

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

type OptNilString struct {
	Value string
	Set   bool
	Null  bool
}

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) Reset

func (o *OptNilString) Reset()

Reset unsets value.

func (*OptNilString) SetTo

func (o *OptNilString) SetTo(v string)

SetTo sets value to v.

func (*OptNilString) SetToNull

func (o *OptNilString) SetToNull()

SetToNull sets value to null.

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

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

Or returns value if set, or given parameter if does not.

func (*OptReportCatalogState) Reset

func (o *OptReportCatalogState) Reset()

Reset unsets value.

func (*OptReportCatalogState) SetTo

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

Or returns value if set, or given parameter if does not.

func (*OptReportFormat) Reset

func (o *OptReportFormat) Reset()

Reset unsets value.

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

Or returns value if set, or given parameter if does not.

func (*OptReportLocale) Reset

func (o *OptReportLocale) Reset()

Reset unsets value.

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

Or returns value if set, or given parameter if does not.

func (*OptStatsPeriod) Reset

func (o *OptStatsPeriod) Reset()

Reset unsets value.

func (*OptStatsPeriod) SetTo

func (o *OptStatsPeriod) SetTo(v StatsPeriod)

SetTo sets value to v.

type OptString

type OptString struct {
	Value string
	Set   bool
}

OptString is optional string.

func NewOptString

func NewOptString(v string) OptString

NewOptString returns new OptString with value set to v.

func (*OptString) Decode

func (o *OptString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptString) Encode

func (o OptString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptString) Get

func (o OptString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptString) IsSet

func (o OptString) IsSet() bool

IsSet returns true if OptString was set.

func (OptString) MarshalJSON

func (s OptString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptString) Or

func (o OptString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptString) Reset

func (o *OptString) Reset()

Reset unsets value.

func (*OptString) SetTo

func (o *OptString) SetTo(v string)

SetTo sets value to v.

func (*OptString) UnmarshalJSON

func (s *OptString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Option

type Option interface {
	ServerOption
	ClientOption
}

Option is config option.

func WithAttributes

func WithAttributes(attributes ...attribute.KeyValue) Option

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

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

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

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

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

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

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

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

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

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

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

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

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

Decode decodes PurgeHandoffReportActivitiesRequest from json.

func (*PurgeHandoffReportActivitiesRequest) Encode

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

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

Decode decodes PurgeHandoffReportActivitiesResponse from json.

func (*PurgeHandoffReportActivitiesResponse) Encode

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

type PurgeHandoffReportActivitiesResponseHeaders

type PurgeHandoffReportActivitiesResponseHeaders struct {
	XPowerContextRequestID OptString
	Response               PurgeHandoffReportActivitiesResponse
}

PurgeHandoffReportActivitiesResponseHeaders wraps PurgeHandoffReportActivitiesResponse with response headers.

func (*PurgeHandoffReportActivitiesResponseHeaders) GetResponse

GetResponse returns the value of Response.

func (*PurgeHandoffReportActivitiesResponseHeaders) GetXPowerContextRequestID

func (s *PurgeHandoffReportActivitiesResponseHeaders) GetXPowerContextRequestID() OptString

GetXPowerContextRequestID returns the value of XPowerContextRequestID.

func (*PurgeHandoffReportActivitiesResponseHeaders) SetResponse

SetResponse sets the value of Response.

func (*PurgeHandoffReportActivitiesResponseHeaders) SetXPowerContextRequestID

func (s *PurgeHandoffReportActivitiesResponseHeaders) SetXPowerContextRequestID(val OptString)

SetXPowerContextRequestID sets the value of XPowerContextRequestID.

func (*PurgeHandoffReportActivitiesResponseHeaders) Validate

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

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

type ReadinessResponseChecks map[string]string

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

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

GetEstimator returns the value of Estimator.

func (*RecallTokenStatistics) GetPeriod

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

AllValues returns all ReceiverReadinessCheckStatus values.

func (*ReceiverReadinessCheckStatus) Decode

Decode decodes ReceiverReadinessCheckStatus from json.

func (ReceiverReadinessCheckStatus) Encode

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

Decode decodes RecordHandoffReportActivityRequest from json.

func (*RecordHandoffReportActivityRequest) Encode

Encode implements json.Marshaler.

func (*RecordHandoffReportActivityRequest) GetAgent

GetAgent returns the value of Agent.

func (*RecordHandoffReportActivityRequest) GetEvidenceRefs

GetEvidenceRefs returns the value of EvidenceRefs.

func (*RecordHandoffReportActivityRequest) GetOccurredAt

GetOccurredAt returns the value of OccurredAt.

func (*RecordHandoffReportActivityRequest) GetProjectID

func (s *RecordHandoffReportActivityRequest) GetProjectID() string

GetProjectID returns the value of ProjectID.

func (*RecordHandoffReportActivityRequest) GetScopeID

GetScopeID returns the value of ScopeID.

func (*RecordHandoffReportActivityRequest) GetSessionID

GetSessionID returns the value of SessionID.

func (*RecordHandoffReportActivityRequest) GetSource

GetSource returns the value of Source.

func (*RecordHandoffReportActivityRequest) GetSourceEventID

func (s *RecordHandoffReportActivityRequest) GetSourceEventID() string

GetSourceEventID returns the value of SourceEventID.

func (*RecordHandoffReportActivityRequest) GetSourceRef

GetSourceRef returns the value of SourceRef.

func (*RecordHandoffReportActivityRequest) GetSummary

GetSummary returns the value of Summary.

func (*RecordHandoffReportActivityRequest) GetTimeBasis

GetTimeBasis returns the value of TimeBasis.

func (*RecordHandoffReportActivityRequest) GetTitle

GetTitle returns the value of Title.

func (*RecordHandoffReportActivityRequest) GetVcsContext

GetVcsContext returns the value of VcsContext.

func (*RecordHandoffReportActivityRequest) MarshalJSON

func (s *RecordHandoffReportActivityRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecordHandoffReportActivityRequest) SetAgent

SetAgent sets the value of Agent.

func (*RecordHandoffReportActivityRequest) SetEvidenceRefs

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

SetScopeID sets the value of ScopeID.

func (*RecordHandoffReportActivityRequest) SetSessionID

func (s *RecordHandoffReportActivityRequest) SetSessionID(val OptNilString)

SetSessionID sets the value of SessionID.

func (*RecordHandoffReportActivityRequest) SetSource

SetSource sets the value of Source.

func (*RecordHandoffReportActivityRequest) SetSourceEventID

func (s *RecordHandoffReportActivityRequest) SetSourceEventID(val string)

SetSourceEventID sets the value of SourceEventID.

func (*RecordHandoffReportActivityRequest) SetSourceRef

SetSourceRef sets the value of SourceRef.

func (*RecordHandoffReportActivityRequest) SetSummary

SetSummary sets the value of Summary.

func (*RecordHandoffReportActivityRequest) SetTimeBasis

SetTimeBasis sets the value of TimeBasis.

func (*RecordHandoffReportActivityRequest) SetTitle

SetTitle sets the value of Title.

func (*RecordHandoffReportActivityRequest) SetVcsContext

SetVcsContext sets the value of VcsContext.

func (*RecordHandoffReportActivityRequest) UnmarshalJSON

func (s *RecordHandoffReportActivityRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RecordHandoffReportActivityRequest) Validate

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

Decode decodes RegisterHandoffReportWorkstreamRequest from json.

func (*RegisterHandoffReportWorkstreamRequest) Encode

Encode implements json.Marshaler.

func (*RegisterHandoffReportWorkstreamRequest) GetCatalogState

GetCatalogState returns the value of CatalogState.

func (*RegisterHandoffReportWorkstreamRequest) GetExternalRefs

GetExternalRefs returns the value of ExternalRefs.

func (*RegisterHandoffReportWorkstreamRequest) GetKey

GetKey returns the value of Key.

func (*RegisterHandoffReportWorkstreamRequest) GetKind

GetKind returns the value of Kind.

func (*RegisterHandoffReportWorkstreamRequest) GetLabels

GetLabels returns the value of Labels.

func (*RegisterHandoffReportWorkstreamRequest) GetProjectID

GetProjectID returns the value of ProjectID.

func (*RegisterHandoffReportWorkstreamRequest) GetScopeID

GetScopeID returns the value of ScopeID.

func (*RegisterHandoffReportWorkstreamRequest) GetTitle

GetTitle returns the value of Title.

func (*RegisterHandoffReportWorkstreamRequest) MarshalJSON

func (s *RegisterHandoffReportWorkstreamRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RegisterHandoffReportWorkstreamRequest) SetCatalogState

SetCatalogState sets the value of CatalogState.

func (*RegisterHandoffReportWorkstreamRequest) SetExternalRefs

SetExternalRefs sets the value of ExternalRefs.

func (*RegisterHandoffReportWorkstreamRequest) SetKey

SetKey sets the value of Key.

func (*RegisterHandoffReportWorkstreamRequest) SetKind

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

SetScopeID sets the value of ScopeID.

func (*RegisterHandoffReportWorkstreamRequest) SetTitle

SetTitle sets the value of Title.

func (*RegisterHandoffReportWorkstreamRequest) UnmarshalJSON

func (s *RegisterHandoffReportWorkstreamRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RegisterHandoffReportWorkstreamRequest) Validate

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

Decode decodes RejectArtifactCandidateRequest from json.

func (*RejectArtifactCandidateRequest) Encode

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

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

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

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

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

AllValues returns all ResolvedUsagePeriodTimezone values.

func (*ResolvedUsagePeriodTimezone) Decode

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

Decode decodes ReviseArtifactCandidateRequest from json.

func (*ReviseArtifactCandidateRequest) Encode

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

GetProposal returns the value of Proposal.

func (*ReviseArtifactCandidateRequest) GetReason

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

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

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

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

Decode decodes ReviseArtifactCandidateRequestProposal from json.

func (ReviseArtifactCandidateRequestProposal) Encode

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

SetSkillProposal sets ReviseArtifactCandidateRequestProposal to SkillProposal.

func (*ReviseArtifactCandidateRequestProposal) UnmarshalJSON

func (s *ReviseArtifactCandidateRequestProposal) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ReviseArtifactCandidateRequestProposal) Validate

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) Args

func (r Route) Args() []string

Args returns parsed arguments.

func (Route) Name

func (r Route) Name() string

Name returns ogen operation name.

It is guaranteed to be unique and not empty.

func (Route) OperationGroup

func (r Route) OperationGroup() string

OperationGroup returns the x-ogen-operation-group value.

func (Route) OperationID

func (r Route) OperationID() string

OperationID returns OpenAPI operationId.

func (Route) PathPattern

func (r Route) PathPattern() string

PathPattern returns OpenAPI path.

func (Route) Summary

func (r Route) Summary() string

Summary returns OpenAPI summary.

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

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

GetResponse returns the value of Response.

func (*ScanExternalSkillsResponseHeaders) GetXPowerContextRequestID

func (s *ScanExternalSkillsResponseHeaders) GetXPowerContextRequestID() OptString

GetXPowerContextRequestID returns the value of XPowerContextRequestID.

func (*ScanExternalSkillsResponseHeaders) SetResponse

SetResponse sets the value of Response.

func (*ScanExternalSkillsResponseHeaders) SetXPowerContextRequestID

func (s *ScanExternalSkillsResponseHeaders) SetXPowerContextRequestID(val OptString)

SetXPowerContextRequestID sets the value of XPowerContextRequestID.

func (*ScanExternalSkillsResponseHeaders) Validate

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

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

GetMemory returns the value of Memory.

func (*SearchMemoryResponse) GetMode

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

SetMemory sets the value of Memory.

func (*SearchMemoryResponse) SetMode

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

GetResponse returns the value of Response.

func (*SearchMemoryResponseHeaders) GetXPowerContextRequestID

func (s *SearchMemoryResponseHeaders) GetXPowerContextRequestID() OptString

GetXPowerContextRequestID returns the value of XPowerContextRequestID.

func (*SearchMemoryResponseHeaders) SetResponse

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.

func (*Server) FindPath

func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool)

FindPath finds Route for given method and URL.

func (*Server) FindRoute

func (s *Server) FindRoute(method, path string) (Route, bool)

FindRoute finds Route for given method and path.

Note: this method does not unescape path or handle reserved characters in path properly. Use FindPath instead.

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP serves http request as defined by OpenAPI v3 specification, calling handler that matches the path or returning not found error.

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

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

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

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

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

GetResponse returns the value of Response.

func (*StoredHandoffReportActivityHeaders) GetXPowerContextRequestID

func (s *StoredHandoffReportActivityHeaders) GetXPowerContextRequestID() OptString

GetXPowerContextRequestID returns the value of XPowerContextRequestID.

func (*StoredHandoffReportActivityHeaders) SetResponse

SetResponse sets the value of Response.

func (*StoredHandoffReportActivityHeaders) SetXPowerContextRequestID

func (s *StoredHandoffReportActivityHeaders) SetXPowerContextRequestID(val OptString)

SetXPowerContextRequestID sets the value of XPowerContextRequestID.

func (*StoredHandoffReportActivityHeaders) Validate

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) Decode

func (s *TaskCheck) Decode(d *jx.Decoder) error

Decode decodes TaskCheck from json.

func (*TaskCheck) Encode

func (s *TaskCheck) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

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) GetName

func (s *TaskCheck) GetName() string

GetName returns the value of Name.

func (*TaskCheck) GetStatus

func (s *TaskCheck) GetStatus() TaskCheckStatus

GetStatus returns the value of Status.

func (*TaskCheck) MarshalJSON

func (s *TaskCheck) MarshalJSON() ([]byte, error)

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) SetName

func (s *TaskCheck) SetName(val string)

SetName sets the value of Name.

func (*TaskCheck) SetStatus

func (s *TaskCheck) SetStatus(val TaskCheckStatus)

SetStatus sets the value of Status.

func (*TaskCheck) UnmarshalJSON

func (s *TaskCheck) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TaskCheck) Validate

func (s *TaskCheck) Validate() error

type TaskCheckStatus

type TaskCheckStatus string

Ref: #/components/schemas/TaskCheckStatus

const (
	TaskCheckStatusPassed      TaskCheckStatus = "passed"
	TaskCheckStatusFailed      TaskCheckStatus = "failed"
	TaskCheckStatusSkipped     TaskCheckStatus = "skipped"
	TaskCheckStatusTimedOut    TaskCheckStatus = "timed_out"
	TaskCheckStatusUnavailable TaskCheckStatus = "unavailable"
	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 {
	WWWAuthenticate        OptString
	XPowerContextRequestID OptString
	Response               ErrorResponse
}

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 {
	XPowerContextRequestID OptString
	Response               ErrorResponse
}

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

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

ActivateHandoff implements activate_handoff operation.

Evaluate the standard Handoff Trigger and synchronously execute any emitted PrepareHandoff Action.

POST /v1/handoff/activate

func (UnimplementedHandler) ApproveArtifactCandidate

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

AttachHandoffReportWorkspace implements attach_handoff_report_workspace operation.

Attach a Handoff Report Workspace Binding.

POST /v1/handoff-reports/workspace-bindings/attach

func (UnimplementedHandler) CaptureContentSource

CaptureContentSource implements capture_content_source operation.

Accept raw content as an idempotent Source without synchronously deriving Artifacts.

POST /v1/sources/content

func (UnimplementedHandler) CommitHandoff

CommitHandoff implements commit_handoff operation.

Commit an explicit Handoff milestone.

POST /v1/handoff/commit

func (UnimplementedHandler) ContinueHandoff

ContinueHandoff implements continue_handoff operation.

Resolve a Handoff as untrusted historical input.

POST /v1/handoff/continue

func (UnimplementedHandler) CreateHandoffReportProject

CreateHandoffReportProject implements create_handoff_report_project operation.

Create a Handoff Report Project.

POST /v1/handoff-reports/projects/create

func (UnimplementedHandler) CreateWorkContract

CreateWorkContract implements create_work_contract operation.

Persist an inspectable delegation baseline without granting execution authority.

POST /v1/work/contracts/create

func (UnimplementedHandler) DetachHandoffReportWorkspace

DetachHandoffReportWorkspace implements detach_handoff_report_workspace operation.

Detach a Handoff Report Workspace Binding.

POST /v1/handoff-reports/workspace-bindings/detach

func (UnimplementedHandler) FinalizeHandoff

FinalizeHandoff implements finalize_handoff operation.

Finalize an inspected Handoff Draft.

POST /v1/handoff/finalize

func (UnimplementedHandler) FlushMemory

FlushMemory implements flush_memory operation.

Run one bounded Source-to-Memory activation for operational control and testing.

POST /v1/memory/flush

func (UnimplementedHandler) GenerateExperience

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

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

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

GetExperience implements get_experience operation.

Read approved Experience content and its exact direct evidence.

POST /v1/experience/get

func (UnimplementedHandler) GetHandoffReport

GetHandoffReport implements get_handoff_report operation.

Generate a Handoff Report.

POST /v1/handoff-reports/get

func (UnimplementedHandler) GetHandoffReportProject

GetHandoffReportProject implements get_handoff_report_project operation.

Get a Handoff Report Project.

POST /v1/handoff-reports/projects/get

func (UnimplementedHandler) GetHandoffReportWorkspace

GetHandoffReportWorkspace implements get_handoff_report_workspace operation.

Get a Handoff Report Workspace Binding.

POST /v1/handoff-reports/workspace-bindings/get

func (UnimplementedHandler) GetLiveness

GetLiveness implements get_liveness operation.

Get process liveness.

GET /health/live

func (UnimplementedHandler) GetMemoryEntry

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

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

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

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

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

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

ListHandoffReportActivities implements list_handoff_report_activities operation.

List Handoff Report Activities.

POST /v1/handoff-reports/activities/list

func (UnimplementedHandler) ListHandoffReportKnownScopes

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

ListHandoffReportProjects implements list_handoff_report_projects operation.

List Handoff Report Projects.

POST /v1/handoff-reports/projects/list

func (UnimplementedHandler) ListHandoffReportWorkstreams

ListHandoffReportWorkstreams implements list_handoff_report_workstreams operation.

List Handoff Report Workstreams.

POST /v1/handoff-reports/workstreams/list

func (UnimplementedHandler) ListMemoryChanges

ListMemoryChanges implements list_memory_changes operation.

Read compact entry changes without expanding entry bodies.

POST /v1/memory/changes

func (UnimplementedHandler) ListMemoryEntries

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

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

PrepareHandoff implements prepare_handoff operation.

Generate an inspectable Handoff Draft.

POST /v1/handoff/prepare

func (UnimplementedHandler) ProposeExperience

ProposeExperience implements propose_experience operation.

Persist a pending Experience Candidate without creating an Artifact Revision.

POST /v1/experience/propose

func (UnimplementedHandler) ProposeSkill

ProposeSkill implements propose_skill operation.

Persist a pending managed Skill Candidate without creating an Artifact Revision.

POST /v1/skill/propose

func (UnimplementedHandler) PurgeHandoffReportActivities

PurgeHandoffReportActivities implements purge_handoff_report_activities operation.

Purge Handoff Report Activities.

POST /v1/handoff-reports/activities/purge

func (UnimplementedHandler) RecordHandoffReportActivity

RecordHandoffReportActivity implements record_handoff_report_activity operation.

Record a Handoff Report Activity.

POST /v1/handoff-reports/activities/record

func (UnimplementedHandler) RecordTaskOutcome

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

RegisterHandoffReportWorkstream implements register_handoff_report_workstream operation.

Register a Handoff Report Workstream.

POST /v1/handoff-reports/workstreams/register

func (UnimplementedHandler) RejectArtifactCandidate

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

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

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

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

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

ReviseMemoryEntry implements revise_memory_entry operation.

Replace active entry content against an explicit current Memory Revision.

POST /v1/memory/entries/revise

func (UnimplementedHandler) ScanExternalSkills

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

SearchMemory implements search_memory operation.

Retrieve relevant active Memory entries within one explicit application scope.

POST /v1/memory/search

func (UnimplementedHandler) UpdateHandoffReportProject

UpdateHandoffReportProject implements update_handoff_report_project operation.

Update a Handoff Report Project.

POST /v1/handoff-reports/projects/update

func (UnimplementedHandler) UpdateHandoffReportWorkstream

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

Decode decodes UpdateHandoffReportProjectRequest from json.

func (*UpdateHandoffReportProjectRequest) Encode

Encode implements json.Marshaler.

func (*UpdateHandoffReportProjectRequest) GetExpectedVersion

func (s *UpdateHandoffReportProjectRequest) GetExpectedVersion() int

GetExpectedVersion returns the value of ExpectedVersion.

func (*UpdateHandoffReportProjectRequest) GetProject

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

SetProject sets the value of Project.

func (*UpdateHandoffReportProjectRequest) UnmarshalJSON

func (s *UpdateHandoffReportProjectRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateHandoffReportProjectRequest) Validate

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

Decode decodes UpdateHandoffReportWorkstreamRequest from json.

func (*UpdateHandoffReportWorkstreamRequest) Encode

Encode implements json.Marshaler.

func (*UpdateHandoffReportWorkstreamRequest) GetExpectedVersion

func (s *UpdateHandoffReportWorkstreamRequest) GetExpectedVersion() int

GetExpectedVersion returns the value of ExpectedVersion.

func (*UpdateHandoffReportWorkstreamRequest) GetWorkstream

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

SetWorkstream sets the value of Workstream.

func (*UpdateHandoffReportWorkstreamRequest) UnmarshalJSON

func (s *UpdateHandoffReportWorkstreamRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateHandoffReportWorkstreamRequest) Validate

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) Decode

func (s *WorkClaim) Decode(d *jx.Decoder) error

Decode decodes WorkClaim from json.

func (*WorkClaim) Encode

func (s *WorkClaim) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

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) GetText

func (s *WorkClaim) GetText() string

GetText returns the value of Text.

func (*WorkClaim) MarshalJSON

func (s *WorkClaim) MarshalJSON() ([]byte, error)

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) SetText

func (s *WorkClaim) SetText(val string)

SetText sets the value of Text.

func (*WorkClaim) UnmarshalJSON

func (s *WorkClaim) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkClaim) Validate

func (s *WorkClaim) Validate() error

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

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

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

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

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

GetResponse returns the value of Response.

func (*WorkstreamDescriptorHeaders) GetXPowerContextRequestID

func (s *WorkstreamDescriptorHeaders) GetXPowerContextRequestID() OptString

GetXPowerContextRequestID returns the value of XPowerContextRequestID.

func (*WorkstreamDescriptorHeaders) SetResponse

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

AllValues returns all WorkstreamDescriptorSchema values.

func (*WorkstreamDescriptorSchema) Decode

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL