api

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2026 License: MIT Imports: 27 Imported by: 0

Documentation

Overview

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 WithServerURL

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

WithServerURL sets context key to override server URL.

Types

type Agent

type Agent struct {
	// The schemas used for this resource.
	Schemas []string `json:"schemas"`
	// The unique identifier for the agent.
	ID OptString `json:"id"`
	// An external identifier for the agent.
	ExternalId OptString `json:"externalId"`
	Meta       OptMeta   `json:"meta"`
	// The unique name of the agent. REQUIRED.
	Name string `json:"name"`
	// A human-readable display name for the agent.
	DisplayName OptString `json:"displayName"`
	// A description of the agent.
	Description OptString `json:"description"`
	// The type of agent (e.g., Assistant, Researcher, Chat bot).
	AgentType OptString `json:"agentType"`
	// Whether the agent is administratively active.
	Active OptBool `json:"active"`
	// The subject for inbound token federation correlation.
	Subject OptString `json:"subject"`
	// Groups to which the agent belongs.
	Groups []GroupReference `json:"groups"`
	// Entitlements granted to the agent.
	Entitlements []Entitlement `json:"entitlements"`
	// Roles assigned to the agent.
	Roles []Role `json:"roles"`
	// X.509 certificates associated with the agent.
	X509Certificates []X509Certificate `json:"x509Certificates"`
	// Agentic applications this agent is associated with.
	Applications []ApplicationReference `json:"applications"`
	// Communication protocols supported by this agent.
	Protocols []Protocol   `json:"protocols"`
	Parent    OptReference `json:"parent"`
	// Users or groups that own this agent.
	Owners []Reference `json:"owners"`
}

An AI agent with its own identifier, metadata, and privileges. Schema URI: urn:ietf:params:scim:schemas:core:2.0:Agent. Ref: #/components/schemas/Agent

func (*Agent) Decode

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

Decode decodes Agent from json.

func (*Agent) Encode

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

Encode implements json.Marshaler.

func (*Agent) GetActive

func (s *Agent) GetActive() OptBool

GetActive returns the value of Active.

func (*Agent) GetAgentType

func (s *Agent) GetAgentType() OptString

GetAgentType returns the value of AgentType.

func (*Agent) GetApplications

func (s *Agent) GetApplications() []ApplicationReference

GetApplications returns the value of Applications.

func (*Agent) GetDescription

func (s *Agent) GetDescription() OptString

GetDescription returns the value of Description.

func (*Agent) GetDisplayName

func (s *Agent) GetDisplayName() OptString

GetDisplayName returns the value of DisplayName.

func (*Agent) GetEntitlements

func (s *Agent) GetEntitlements() []Entitlement

GetEntitlements returns the value of Entitlements.

func (*Agent) GetExternalId

func (s *Agent) GetExternalId() OptString

GetExternalId returns the value of ExternalId.

func (*Agent) GetGroups

func (s *Agent) GetGroups() []GroupReference

GetGroups returns the value of Groups.

func (*Agent) GetID

func (s *Agent) GetID() OptString

GetID returns the value of ID.

func (*Agent) GetMeta

func (s *Agent) GetMeta() OptMeta

GetMeta returns the value of Meta.

func (*Agent) GetName

func (s *Agent) GetName() string

GetName returns the value of Name.

func (*Agent) GetOwners

func (s *Agent) GetOwners() []Reference

GetOwners returns the value of Owners.

func (*Agent) GetParent

func (s *Agent) GetParent() OptReference

GetParent returns the value of Parent.

func (*Agent) GetProtocols

func (s *Agent) GetProtocols() []Protocol

GetProtocols returns the value of Protocols.

func (*Agent) GetRoles

func (s *Agent) GetRoles() []Role

GetRoles returns the value of Roles.

func (*Agent) GetSchemas

func (s *Agent) GetSchemas() []string

GetSchemas returns the value of Schemas.

func (*Agent) GetSubject

func (s *Agent) GetSubject() OptString

GetSubject returns the value of Subject.

func (*Agent) GetX509Certificates

func (s *Agent) GetX509Certificates() []X509Certificate

GetX509Certificates returns the value of X509Certificates.

func (*Agent) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Agent) SetActive

func (s *Agent) SetActive(val OptBool)

SetActive sets the value of Active.

func (*Agent) SetAgentType

func (s *Agent) SetAgentType(val OptString)

SetAgentType sets the value of AgentType.

func (*Agent) SetApplications

func (s *Agent) SetApplications(val []ApplicationReference)

SetApplications sets the value of Applications.

func (*Agent) SetDescription

func (s *Agent) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Agent) SetDisplayName

func (s *Agent) SetDisplayName(val OptString)

SetDisplayName sets the value of DisplayName.

func (*Agent) SetEntitlements

func (s *Agent) SetEntitlements(val []Entitlement)

SetEntitlements sets the value of Entitlements.

func (*Agent) SetExternalId

func (s *Agent) SetExternalId(val OptString)

SetExternalId sets the value of ExternalId.

func (*Agent) SetGroups

func (s *Agent) SetGroups(val []GroupReference)

SetGroups sets the value of Groups.

func (*Agent) SetID

func (s *Agent) SetID(val OptString)

SetID sets the value of ID.

func (*Agent) SetMeta

func (s *Agent) SetMeta(val OptMeta)

SetMeta sets the value of Meta.

func (*Agent) SetName

func (s *Agent) SetName(val string)

SetName sets the value of Name.

func (*Agent) SetOwners

func (s *Agent) SetOwners(val []Reference)

SetOwners sets the value of Owners.

func (*Agent) SetParent

func (s *Agent) SetParent(val OptReference)

SetParent sets the value of Parent.

func (*Agent) SetProtocols

func (s *Agent) SetProtocols(val []Protocol)

SetProtocols sets the value of Protocols.

func (*Agent) SetRoles

func (s *Agent) SetRoles(val []Role)

SetRoles sets the value of Roles.

func (*Agent) SetSchemas

func (s *Agent) SetSchemas(val []string)

SetSchemas sets the value of Schemas.

func (*Agent) SetSubject

func (s *Agent) SetSubject(val OptString)

SetSubject sets the value of Subject.

func (*Agent) SetX509Certificates

func (s *Agent) SetX509Certificates(val []X509Certificate)

SetX509Certificates sets the value of X509Certificates.

func (*Agent) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Agent) Validate

func (s *Agent) Validate() error

type AgentCreate

type AgentCreate struct {
	// The schemas used for this resource.
	Schemas []string `json:"schemas"`
	// An external identifier for the agent.
	ExternalId OptString `json:"externalId"`
	// The unique name of the agent. REQUIRED.
	Name string `json:"name"`
	// A human-readable display name for the agent.
	DisplayName OptString `json:"displayName"`
	// A description of the agent.
	Description OptString `json:"description"`
	// The type of agent.
	AgentType OptString `json:"agentType"`
	// Whether the agent is administratively active.
	Active OptBool `json:"active"`
	// The subject for inbound token federation correlation.
	Subject OptString `json:"subject"`
	// Entitlements granted to the agent.
	Entitlements []Entitlement `json:"entitlements"`
	// Roles assigned to the agent.
	Roles []Role `json:"roles"`
	// X.509 certificates associated with the agent.
	X509Certificates []X509Certificate `json:"x509Certificates"`
	// Communication protocols supported by this agent.
	Protocols []Protocol   `json:"protocols"`
	Parent    OptReference `json:"parent"`
	// Users or groups that own this agent.
	Owners []Reference `json:"owners"`
}

Request body for creating or replacing an agent. Ref: #/components/schemas/AgentCreate

func (*AgentCreate) Decode

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

Decode decodes AgentCreate from json.

func (*AgentCreate) Encode

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

Encode implements json.Marshaler.

func (*AgentCreate) GetActive

func (s *AgentCreate) GetActive() OptBool

GetActive returns the value of Active.

func (*AgentCreate) GetAgentType

func (s *AgentCreate) GetAgentType() OptString

GetAgentType returns the value of AgentType.

func (*AgentCreate) GetDescription

func (s *AgentCreate) GetDescription() OptString

GetDescription returns the value of Description.

func (*AgentCreate) GetDisplayName

func (s *AgentCreate) GetDisplayName() OptString

GetDisplayName returns the value of DisplayName.

func (*AgentCreate) GetEntitlements

func (s *AgentCreate) GetEntitlements() []Entitlement

GetEntitlements returns the value of Entitlements.

func (*AgentCreate) GetExternalId

func (s *AgentCreate) GetExternalId() OptString

GetExternalId returns the value of ExternalId.

func (*AgentCreate) GetName

func (s *AgentCreate) GetName() string

GetName returns the value of Name.

func (*AgentCreate) GetOwners

func (s *AgentCreate) GetOwners() []Reference

GetOwners returns the value of Owners.

func (*AgentCreate) GetParent

func (s *AgentCreate) GetParent() OptReference

GetParent returns the value of Parent.

func (*AgentCreate) GetProtocols

func (s *AgentCreate) GetProtocols() []Protocol

GetProtocols returns the value of Protocols.

func (*AgentCreate) GetRoles

func (s *AgentCreate) GetRoles() []Role

GetRoles returns the value of Roles.

func (*AgentCreate) GetSchemas

func (s *AgentCreate) GetSchemas() []string

GetSchemas returns the value of Schemas.

func (*AgentCreate) GetSubject

func (s *AgentCreate) GetSubject() OptString

GetSubject returns the value of Subject.

func (*AgentCreate) GetX509Certificates

func (s *AgentCreate) GetX509Certificates() []X509Certificate

GetX509Certificates returns the value of X509Certificates.

func (*AgentCreate) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AgentCreate) SetActive

func (s *AgentCreate) SetActive(val OptBool)

SetActive sets the value of Active.

func (*AgentCreate) SetAgentType

func (s *AgentCreate) SetAgentType(val OptString)

SetAgentType sets the value of AgentType.

func (*AgentCreate) SetDescription

func (s *AgentCreate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*AgentCreate) SetDisplayName

func (s *AgentCreate) SetDisplayName(val OptString)

SetDisplayName sets the value of DisplayName.

func (*AgentCreate) SetEntitlements

func (s *AgentCreate) SetEntitlements(val []Entitlement)

SetEntitlements sets the value of Entitlements.

func (*AgentCreate) SetExternalId

func (s *AgentCreate) SetExternalId(val OptString)

SetExternalId sets the value of ExternalId.

func (*AgentCreate) SetName

func (s *AgentCreate) SetName(val string)

SetName sets the value of Name.

func (*AgentCreate) SetOwners

func (s *AgentCreate) SetOwners(val []Reference)

SetOwners sets the value of Owners.

func (*AgentCreate) SetParent

func (s *AgentCreate) SetParent(val OptReference)

SetParent sets the value of Parent.

func (*AgentCreate) SetProtocols

func (s *AgentCreate) SetProtocols(val []Protocol)

SetProtocols sets the value of Protocols.

func (*AgentCreate) SetRoles

func (s *AgentCreate) SetRoles(val []Role)

SetRoles sets the value of Roles.

func (*AgentCreate) SetSchemas

func (s *AgentCreate) SetSchemas(val []string)

SetSchemas sets the value of Schemas.

func (*AgentCreate) SetSubject

func (s *AgentCreate) SetSubject(val OptString)

SetSubject sets the value of Subject.

func (*AgentCreate) SetX509Certificates

func (s *AgentCreate) SetX509Certificates(val []X509Certificate)

SetX509Certificates sets the value of X509Certificates.

func (*AgentCreate) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AgentCreate) Validate

func (s *AgentCreate) Validate() error

type AgentExtensionConfig

type AgentExtensionConfig struct {
	// Whether any aspect of the agent extension is supported.
	Supported OptBool `json:"supported"`
	// Whether the Agent resource type is supported.
	AgentsSupported OptBool `json:"agentsSupported"`
	// Whether the AgenticApplication resource type is supported.
	AgenticApplicationsSupported OptBool `json:"agenticApplicationsSupported"`
}

Agent Extension configuration in ServiceProviderConfig. Ref: #/components/schemas/AgentExtensionConfig

func (*AgentExtensionConfig) Decode

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

Decode decodes AgentExtensionConfig from json.

func (*AgentExtensionConfig) Encode

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

Encode implements json.Marshaler.

func (*AgentExtensionConfig) GetAgenticApplicationsSupported

func (s *AgentExtensionConfig) GetAgenticApplicationsSupported() OptBool

GetAgenticApplicationsSupported returns the value of AgenticApplicationsSupported.

func (*AgentExtensionConfig) GetAgentsSupported

func (s *AgentExtensionConfig) GetAgentsSupported() OptBool

GetAgentsSupported returns the value of AgentsSupported.

func (*AgentExtensionConfig) GetSupported

func (s *AgentExtensionConfig) GetSupported() OptBool

GetSupported returns the value of Supported.

func (*AgentExtensionConfig) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AgentExtensionConfig) SetAgenticApplicationsSupported

func (s *AgentExtensionConfig) SetAgenticApplicationsSupported(val OptBool)

SetAgenticApplicationsSupported sets the value of AgenticApplicationsSupported.

func (*AgentExtensionConfig) SetAgentsSupported

func (s *AgentExtensionConfig) SetAgentsSupported(val OptBool)

SetAgentsSupported sets the value of AgentsSupported.

func (*AgentExtensionConfig) SetSupported

func (s *AgentExtensionConfig) SetSupported(val OptBool)

SetSupported sets the value of Supported.

func (*AgentExtensionConfig) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AgentListResponse

type AgentListResponse struct {
	Schemas []string `json:"schemas"`
	// Total number of results matching the query.
	TotalResults int `json:"totalResults"`
	// 1-based index of the first result returned.
	StartIndex OptInt `json:"startIndex"`
	// Number of results returned in this response.
	ItemsPerPage OptInt `json:"itemsPerPage"`
	// The list of agents.
	Resources []Agent `json:"Resources"`
}

SCIM list response for agents. Ref: #/components/schemas/AgentListResponse

func (*AgentListResponse) Decode

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

Decode decodes AgentListResponse from json.

func (*AgentListResponse) Encode

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

Encode implements json.Marshaler.

func (*AgentListResponse) GetItemsPerPage

func (s *AgentListResponse) GetItemsPerPage() OptInt

GetItemsPerPage returns the value of ItemsPerPage.

func (*AgentListResponse) GetResources

func (s *AgentListResponse) GetResources() []Agent

GetResources returns the value of Resources.

func (*AgentListResponse) GetSchemas

func (s *AgentListResponse) GetSchemas() []string

GetSchemas returns the value of Schemas.

func (*AgentListResponse) GetStartIndex

func (s *AgentListResponse) GetStartIndex() OptInt

GetStartIndex returns the value of StartIndex.

func (*AgentListResponse) GetTotalResults

func (s *AgentListResponse) GetTotalResults() int

GetTotalResults returns the value of TotalResults.

func (*AgentListResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AgentListResponse) SetItemsPerPage

func (s *AgentListResponse) SetItemsPerPage(val OptInt)

SetItemsPerPage sets the value of ItemsPerPage.

func (*AgentListResponse) SetResources

func (s *AgentListResponse) SetResources(val []Agent)

SetResources sets the value of Resources.

func (*AgentListResponse) SetSchemas

func (s *AgentListResponse) SetSchemas(val []string)

SetSchemas sets the value of Schemas.

func (*AgentListResponse) SetStartIndex

func (s *AgentListResponse) SetStartIndex(val OptInt)

SetStartIndex sets the value of StartIndex.

func (*AgentListResponse) SetTotalResults

func (s *AgentListResponse) SetTotalResults(val int)

SetTotalResults sets the value of TotalResults.

func (*AgentListResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AgentListResponse) Validate

func (s *AgentListResponse) Validate() error

type AgentReference

type AgentReference struct {
	// The identifier of the referenced resource.
	Value OptString `json:"value"`
	// The URI of the referenced resource.
	Ref OptURI `json:"$ref"`
	// A human-readable name for the referenced resource.
	Display OptString `json:"display"`
	// The relationship type between the agent and application.
	Type OptAgentReferenceType `json:"type"`
}

Merged schema. Ref: #/components/schemas/AgentReference

func (*AgentReference) Decode

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

Decode decodes AgentReference from json.

func (*AgentReference) Encode

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

Encode implements json.Marshaler.

func (*AgentReference) GetDisplay

func (s *AgentReference) GetDisplay() OptString

GetDisplay returns the value of Display.

func (*AgentReference) GetRef

func (s *AgentReference) GetRef() OptURI

GetRef returns the value of Ref.

func (*AgentReference) GetType

GetType returns the value of Type.

func (*AgentReference) GetValue

func (s *AgentReference) GetValue() OptString

GetValue returns the value of Value.

func (*AgentReference) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AgentReference) SetDisplay

func (s *AgentReference) SetDisplay(val OptString)

SetDisplay sets the value of Display.

func (*AgentReference) SetRef

func (s *AgentReference) SetRef(val OptURI)

SetRef sets the value of Ref.

func (*AgentReference) SetType

func (s *AgentReference) SetType(val OptAgentReferenceType)

SetType sets the value of Type.

func (*AgentReference) SetValue

func (s *AgentReference) SetValue(val OptString)

SetValue sets the value of Value.

func (*AgentReference) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AgentReference) Validate

func (s *AgentReference) Validate() error

type AgentReferenceType

type AgentReferenceType string

The relationship type between the agent and application.

const (
	AgentReferenceTypeOwned      AgentReferenceType = "owned"
	AgentReferenceTypeAuthorized AgentReferenceType = "authorized"
	AgentReferenceTypeGuest      AgentReferenceType = "guest"
)

func (AgentReferenceType) AllValues

func (AgentReferenceType) AllValues() []AgentReferenceType

AllValues returns all AgentReferenceType values.

func (*AgentReferenceType) Decode

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

Decode decodes AgentReferenceType from json.

func (AgentReferenceType) Encode

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

Encode encodes AgentReferenceType as json.

func (AgentReferenceType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AgentReferenceType) MarshalText

func (s AgentReferenceType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*AgentReferenceType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AgentReferenceType) UnmarshalText

func (s *AgentReferenceType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (AgentReferenceType) Validate

func (s AgentReferenceType) Validate() error

type AgenticApplication

type AgenticApplication struct {
	// The schemas used for this resource.
	Schemas []string `json:"schemas"`
	// The unique identifier for the agentic application.
	ID OptString `json:"id"`
	// An external identifier for the agentic application.
	ExternalId OptString `json:"externalId"`
	Meta       OptMeta   `json:"meta"`
	// The unique name of the agentic application. REQUIRED.
	Name string `json:"name"`
	// A human-readable display name for the agentic application.
	DisplayName OptString `json:"displayName"`
	// A description of the agentic application.
	Description OptString `json:"description"`
	// Whether the agentic application is administratively active.
	Active OptBool `json:"active"`
	// URLs associated with this agentic application.
	ApplicationUrls []ApplicationUrl `json:"applicationUrls"`
	// Timestamp of when the application was last accessed.
	LastAccessed OptDateTime `json:"lastAccessed"`
	// OAuth client configurations for this agentic application.
	OAuthConfiguration []OAuthConfiguration `json:"oAuthConfiguration"`
	// Agents associated with this agentic application.
	Agents []AgentReference `json:"agents"`
	// External identifiers for this agentic application.
	ExternalIdentifiers []ExternalIdentifier `json:"externalIdentifiers"`
}

An application that hosts or provides access to one or more agents. Schema URI: urn:ietf:params:scim:schemas:core:2.0:AgenticApplication. Ref: #/components/schemas/AgenticApplication

func (*AgenticApplication) Decode

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

Decode decodes AgenticApplication from json.

func (*AgenticApplication) Encode

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

Encode implements json.Marshaler.

func (*AgenticApplication) GetActive

func (s *AgenticApplication) GetActive() OptBool

GetActive returns the value of Active.

func (*AgenticApplication) GetAgents

func (s *AgenticApplication) GetAgents() []AgentReference

GetAgents returns the value of Agents.

func (*AgenticApplication) GetApplicationUrls

func (s *AgenticApplication) GetApplicationUrls() []ApplicationUrl

GetApplicationUrls returns the value of ApplicationUrls.

func (*AgenticApplication) GetDescription

func (s *AgenticApplication) GetDescription() OptString

GetDescription returns the value of Description.

func (*AgenticApplication) GetDisplayName

func (s *AgenticApplication) GetDisplayName() OptString

GetDisplayName returns the value of DisplayName.

func (*AgenticApplication) GetExternalId

func (s *AgenticApplication) GetExternalId() OptString

GetExternalId returns the value of ExternalId.

func (*AgenticApplication) GetExternalIdentifiers

func (s *AgenticApplication) GetExternalIdentifiers() []ExternalIdentifier

GetExternalIdentifiers returns the value of ExternalIdentifiers.

func (*AgenticApplication) GetID

func (s *AgenticApplication) GetID() OptString

GetID returns the value of ID.

func (*AgenticApplication) GetLastAccessed

func (s *AgenticApplication) GetLastAccessed() OptDateTime

GetLastAccessed returns the value of LastAccessed.

func (*AgenticApplication) GetMeta

func (s *AgenticApplication) GetMeta() OptMeta

GetMeta returns the value of Meta.

func (*AgenticApplication) GetName

func (s *AgenticApplication) GetName() string

GetName returns the value of Name.

func (*AgenticApplication) GetOAuthConfiguration

func (s *AgenticApplication) GetOAuthConfiguration() []OAuthConfiguration

GetOAuthConfiguration returns the value of OAuthConfiguration.

func (*AgenticApplication) GetSchemas

func (s *AgenticApplication) GetSchemas() []string

GetSchemas returns the value of Schemas.

func (*AgenticApplication) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AgenticApplication) SetActive

func (s *AgenticApplication) SetActive(val OptBool)

SetActive sets the value of Active.

func (*AgenticApplication) SetAgents

func (s *AgenticApplication) SetAgents(val []AgentReference)

SetAgents sets the value of Agents.

func (*AgenticApplication) SetApplicationUrls

func (s *AgenticApplication) SetApplicationUrls(val []ApplicationUrl)

SetApplicationUrls sets the value of ApplicationUrls.

func (*AgenticApplication) SetDescription

func (s *AgenticApplication) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*AgenticApplication) SetDisplayName

func (s *AgenticApplication) SetDisplayName(val OptString)

SetDisplayName sets the value of DisplayName.

func (*AgenticApplication) SetExternalId

func (s *AgenticApplication) SetExternalId(val OptString)

SetExternalId sets the value of ExternalId.

func (*AgenticApplication) SetExternalIdentifiers

func (s *AgenticApplication) SetExternalIdentifiers(val []ExternalIdentifier)

SetExternalIdentifiers sets the value of ExternalIdentifiers.

func (*AgenticApplication) SetID

func (s *AgenticApplication) SetID(val OptString)

SetID sets the value of ID.

func (*AgenticApplication) SetLastAccessed

func (s *AgenticApplication) SetLastAccessed(val OptDateTime)

SetLastAccessed sets the value of LastAccessed.

func (*AgenticApplication) SetMeta

func (s *AgenticApplication) SetMeta(val OptMeta)

SetMeta sets the value of Meta.

func (*AgenticApplication) SetName

func (s *AgenticApplication) SetName(val string)

SetName sets the value of Name.

func (*AgenticApplication) SetOAuthConfiguration

func (s *AgenticApplication) SetOAuthConfiguration(val []OAuthConfiguration)

SetOAuthConfiguration sets the value of OAuthConfiguration.

func (*AgenticApplication) SetSchemas

func (s *AgenticApplication) SetSchemas(val []string)

SetSchemas sets the value of Schemas.

func (*AgenticApplication) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AgenticApplication) Validate

func (s *AgenticApplication) Validate() error

type AgenticApplicationCreate

type AgenticApplicationCreate struct {
	// The schemas used for this resource.
	Schemas []string `json:"schemas"`
	// An external identifier for the agentic application.
	ExternalId OptString `json:"externalId"`
	// The unique name of the agentic application. REQUIRED.
	Name string `json:"name"`
	// A human-readable display name for the agentic application.
	DisplayName OptString `json:"displayName"`
	// A description of the agentic application.
	Description OptString `json:"description"`
	// Whether the agentic application is administratively active.
	Active OptBool `json:"active"`
	// URLs associated with this agentic application.
	ApplicationUrls []ApplicationUrl `json:"applicationUrls"`
	// OAuth client configurations for this agentic application.
	OAuthConfiguration []OAuthConfiguration `json:"oAuthConfiguration"`
	// Agents associated with this agentic application.
	Agents []AgentReference `json:"agents"`
	// External identifiers for this agentic application.
	ExternalIdentifiers []ExternalIdentifier `json:"externalIdentifiers"`
}

Request body for creating or replacing an agentic application. Ref: #/components/schemas/AgenticApplicationCreate

func (*AgenticApplicationCreate) Decode

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

Decode decodes AgenticApplicationCreate from json.

func (*AgenticApplicationCreate) Encode

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

Encode implements json.Marshaler.

func (*AgenticApplicationCreate) GetActive

func (s *AgenticApplicationCreate) GetActive() OptBool

GetActive returns the value of Active.

func (*AgenticApplicationCreate) GetAgents

func (s *AgenticApplicationCreate) GetAgents() []AgentReference

GetAgents returns the value of Agents.

func (*AgenticApplicationCreate) GetApplicationUrls

func (s *AgenticApplicationCreate) GetApplicationUrls() []ApplicationUrl

GetApplicationUrls returns the value of ApplicationUrls.

func (*AgenticApplicationCreate) GetDescription

func (s *AgenticApplicationCreate) GetDescription() OptString

GetDescription returns the value of Description.

func (*AgenticApplicationCreate) GetDisplayName

func (s *AgenticApplicationCreate) GetDisplayName() OptString

GetDisplayName returns the value of DisplayName.

func (*AgenticApplicationCreate) GetExternalId

func (s *AgenticApplicationCreate) GetExternalId() OptString

GetExternalId returns the value of ExternalId.

func (*AgenticApplicationCreate) GetExternalIdentifiers

func (s *AgenticApplicationCreate) GetExternalIdentifiers() []ExternalIdentifier

GetExternalIdentifiers returns the value of ExternalIdentifiers.

func (*AgenticApplicationCreate) GetName

func (s *AgenticApplicationCreate) GetName() string

GetName returns the value of Name.

func (*AgenticApplicationCreate) GetOAuthConfiguration

func (s *AgenticApplicationCreate) GetOAuthConfiguration() []OAuthConfiguration

GetOAuthConfiguration returns the value of OAuthConfiguration.

func (*AgenticApplicationCreate) GetSchemas

func (s *AgenticApplicationCreate) GetSchemas() []string

GetSchemas returns the value of Schemas.

func (*AgenticApplicationCreate) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AgenticApplicationCreate) SetActive

func (s *AgenticApplicationCreate) SetActive(val OptBool)

SetActive sets the value of Active.

func (*AgenticApplicationCreate) SetAgents

func (s *AgenticApplicationCreate) SetAgents(val []AgentReference)

SetAgents sets the value of Agents.

func (*AgenticApplicationCreate) SetApplicationUrls

func (s *AgenticApplicationCreate) SetApplicationUrls(val []ApplicationUrl)

SetApplicationUrls sets the value of ApplicationUrls.

func (*AgenticApplicationCreate) SetDescription

func (s *AgenticApplicationCreate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*AgenticApplicationCreate) SetDisplayName

func (s *AgenticApplicationCreate) SetDisplayName(val OptString)

SetDisplayName sets the value of DisplayName.

func (*AgenticApplicationCreate) SetExternalId

func (s *AgenticApplicationCreate) SetExternalId(val OptString)

SetExternalId sets the value of ExternalId.

func (*AgenticApplicationCreate) SetExternalIdentifiers

func (s *AgenticApplicationCreate) SetExternalIdentifiers(val []ExternalIdentifier)

SetExternalIdentifiers sets the value of ExternalIdentifiers.

func (*AgenticApplicationCreate) SetName

func (s *AgenticApplicationCreate) SetName(val string)

SetName sets the value of Name.

func (*AgenticApplicationCreate) SetOAuthConfiguration

func (s *AgenticApplicationCreate) SetOAuthConfiguration(val []OAuthConfiguration)

SetOAuthConfiguration sets the value of OAuthConfiguration.

func (*AgenticApplicationCreate) SetSchemas

func (s *AgenticApplicationCreate) SetSchemas(val []string)

SetSchemas sets the value of Schemas.

func (*AgenticApplicationCreate) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AgenticApplicationCreate) Validate

func (s *AgenticApplicationCreate) Validate() error

type AgenticApplicationListResponse

type AgenticApplicationListResponse struct {
	Schemas []string `json:"schemas"`
	// Total number of results matching the query.
	TotalResults int `json:"totalResults"`
	// 1-based index of the first result returned.
	StartIndex OptInt `json:"startIndex"`
	// Number of results returned in this response.
	ItemsPerPage OptInt `json:"itemsPerPage"`
	// The list of agentic applications.
	Resources []AgenticApplication `json:"Resources"`
}

SCIM list response for agentic applications. Ref: #/components/schemas/AgenticApplicationListResponse

func (*AgenticApplicationListResponse) Decode

Decode decodes AgenticApplicationListResponse from json.

func (*AgenticApplicationListResponse) Encode

Encode implements json.Marshaler.

func (*AgenticApplicationListResponse) GetItemsPerPage

func (s *AgenticApplicationListResponse) GetItemsPerPage() OptInt

GetItemsPerPage returns the value of ItemsPerPage.

func (*AgenticApplicationListResponse) GetResources

GetResources returns the value of Resources.

func (*AgenticApplicationListResponse) GetSchemas

func (s *AgenticApplicationListResponse) GetSchemas() []string

GetSchemas returns the value of Schemas.

func (*AgenticApplicationListResponse) GetStartIndex

func (s *AgenticApplicationListResponse) GetStartIndex() OptInt

GetStartIndex returns the value of StartIndex.

func (*AgenticApplicationListResponse) GetTotalResults

func (s *AgenticApplicationListResponse) GetTotalResults() int

GetTotalResults returns the value of TotalResults.

func (*AgenticApplicationListResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AgenticApplicationListResponse) SetItemsPerPage

func (s *AgenticApplicationListResponse) SetItemsPerPage(val OptInt)

SetItemsPerPage sets the value of ItemsPerPage.

func (*AgenticApplicationListResponse) SetResources

func (s *AgenticApplicationListResponse) SetResources(val []AgenticApplication)

SetResources sets the value of Resources.

func (*AgenticApplicationListResponse) SetSchemas

func (s *AgenticApplicationListResponse) SetSchemas(val []string)

SetSchemas sets the value of Schemas.

func (*AgenticApplicationListResponse) SetStartIndex

func (s *AgenticApplicationListResponse) SetStartIndex(val OptInt)

SetStartIndex sets the value of StartIndex.

func (*AgenticApplicationListResponse) SetTotalResults

func (s *AgenticApplicationListResponse) SetTotalResults(val int)

SetTotalResults sets the value of TotalResults.

func (*AgenticApplicationListResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AgenticApplicationListResponse) Validate

func (s *AgenticApplicationListResponse) Validate() error

type ApplicationReference

type ApplicationReference struct {
	// The identifier of the referenced resource.
	Value OptString `json:"value"`
	// The URI of the referenced resource.
	Ref OptURI `json:"$ref"`
	// A human-readable name for the referenced resource.
	Display OptString `json:"display"`
	// The type of application.
	Type OptString `json:"type"`
}

Merged schema. Ref: #/components/schemas/ApplicationReference

func (*ApplicationReference) Decode

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

Decode decodes ApplicationReference from json.

func (*ApplicationReference) Encode

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

Encode implements json.Marshaler.

func (*ApplicationReference) GetDisplay

func (s *ApplicationReference) GetDisplay() OptString

GetDisplay returns the value of Display.

func (*ApplicationReference) GetRef

func (s *ApplicationReference) GetRef() OptURI

GetRef returns the value of Ref.

func (*ApplicationReference) GetType

func (s *ApplicationReference) GetType() OptString

GetType returns the value of Type.

func (*ApplicationReference) GetValue

func (s *ApplicationReference) GetValue() OptString

GetValue returns the value of Value.

func (*ApplicationReference) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ApplicationReference) SetDisplay

func (s *ApplicationReference) SetDisplay(val OptString)

SetDisplay sets the value of Display.

func (*ApplicationReference) SetRef

func (s *ApplicationReference) SetRef(val OptURI)

SetRef sets the value of Ref.

func (*ApplicationReference) SetType

func (s *ApplicationReference) SetType(val OptString)

SetType sets the value of Type.

func (*ApplicationReference) SetValue

func (s *ApplicationReference) SetValue(val OptString)

SetValue sets the value of Value.

func (*ApplicationReference) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ApplicationUrl

type ApplicationUrl struct {
	// The type of URL.
	Type OptApplicationUrlType `json:"type"`
	// Whether this is the primary URL of this type.
	Primary OptBool `json:"primary"`
	// The URL value.
	Value OptURI `json:"value"`
	// A human-readable description of the URL.
	Description OptString `json:"description"`
}

A URL associated with an agentic application. Ref: #/components/schemas/ApplicationUrl

func (*ApplicationUrl) Decode

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

Decode decodes ApplicationUrl from json.

func (*ApplicationUrl) Encode

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

Encode implements json.Marshaler.

func (*ApplicationUrl) GetDescription

func (s *ApplicationUrl) GetDescription() OptString

GetDescription returns the value of Description.

func (*ApplicationUrl) GetPrimary

func (s *ApplicationUrl) GetPrimary() OptBool

GetPrimary returns the value of Primary.

func (*ApplicationUrl) GetType

GetType returns the value of Type.

func (*ApplicationUrl) GetValue

func (s *ApplicationUrl) GetValue() OptURI

GetValue returns the value of Value.

func (*ApplicationUrl) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ApplicationUrl) SetDescription

func (s *ApplicationUrl) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*ApplicationUrl) SetPrimary

func (s *ApplicationUrl) SetPrimary(val OptBool)

SetPrimary sets the value of Primary.

func (*ApplicationUrl) SetType

func (s *ApplicationUrl) SetType(val OptApplicationUrlType)

SetType sets the value of Type.

func (*ApplicationUrl) SetValue

func (s *ApplicationUrl) SetValue(val OptURI)

SetValue sets the value of Value.

func (*ApplicationUrl) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ApplicationUrl) Validate

func (s *ApplicationUrl) Validate() error

type ApplicationUrlType

type ApplicationUrlType string

The type of URL.

const (
	ApplicationUrlTypeSsoEndpoint ApplicationUrlType = "ssoEndpoint"
	ApplicationUrlTypeLoginPage   ApplicationUrlType = "loginPage"
	ApplicationUrlTypeAPI         ApplicationUrlType = "api"
	ApplicationUrlTypeHomepage    ApplicationUrlType = "homepage"
)

func (ApplicationUrlType) AllValues

func (ApplicationUrlType) AllValues() []ApplicationUrlType

AllValues returns all ApplicationUrlType values.

func (*ApplicationUrlType) Decode

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

Decode decodes ApplicationUrlType from json.

func (ApplicationUrlType) Encode

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

Encode encodes ApplicationUrlType as json.

func (ApplicationUrlType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (ApplicationUrlType) MarshalText

func (s ApplicationUrlType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ApplicationUrlType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ApplicationUrlType) UnmarshalText

func (s *ApplicationUrlType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ApplicationUrlType) Validate

func (s ApplicationUrlType) Validate() error

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

func (c *Client) CreateAgent(ctx context.Context, request *AgentCreate) (CreateAgentRes, error)

CreateAgent invokes createAgent operation.

Create a new agent resource.

POST /Agents

func (*Client) CreateAgenticApplication

func (c *Client) CreateAgenticApplication(ctx context.Context, request *AgenticApplicationCreate) (CreateAgenticApplicationRes, error)

CreateAgenticApplication invokes createAgenticApplication operation.

Create a new agentic application resource.

POST /AgenticApplications

func (*Client) DeleteAgent

func (c *Client) DeleteAgent(ctx context.Context, params DeleteAgentParams) (DeleteAgentRes, error)

DeleteAgent invokes deleteAgent operation.

Delete an existing agent resource.

DELETE /Agents/{id}

func (*Client) DeleteAgenticApplication

func (c *Client) DeleteAgenticApplication(ctx context.Context, params DeleteAgenticApplicationParams) (DeleteAgenticApplicationRes, error)

DeleteAgenticApplication invokes deleteAgenticApplication operation.

Delete an existing agentic application resource.

DELETE /AgenticApplications/{id}

func (*Client) GetAgent

func (c *Client) GetAgent(ctx context.Context, params GetAgentParams) (GetAgentRes, error)

GetAgent invokes getAgent operation.

Retrieve a single agent by its unique identifier.

GET /Agents/{id}

func (*Client) GetAgenticApplication

func (c *Client) GetAgenticApplication(ctx context.Context, params GetAgenticApplicationParams) (GetAgenticApplicationRes, error)

GetAgenticApplication invokes getAgenticApplication operation.

Retrieve a single agentic application by its unique identifier.

GET /AgenticApplications/{id}

func (*Client) GetServiceProviderConfig

func (c *Client) GetServiceProviderConfig(ctx context.Context) (GetServiceProviderConfigRes, error)

GetServiceProviderConfig invokes getServiceProviderConfig operation.

Retrieve the service provider configuration including agent extension support.

GET /ServiceProviderConfig

func (*Client) ListAgenticApplications

func (c *Client) ListAgenticApplications(ctx context.Context, params ListAgenticApplicationsParams) (ListAgenticApplicationsRes, error)

ListAgenticApplications invokes listAgenticApplications operation.

Retrieve a list of agentic applications. Supports SCIM filtering on name, externalId, and applicationUrls.value.

GET /AgenticApplications

func (*Client) ListAgents

func (c *Client) ListAgents(ctx context.Context, params ListAgentsParams) (ListAgentsRes, error)

ListAgents invokes listAgents operation.

Retrieve a list of agents. Supports SCIM filtering on name and externalId.

GET /Agents

func (*Client) PatchAgent

func (c *Client) PatchAgent(ctx context.Context, request *PatchRequest, params PatchAgentParams) (PatchAgentRes, error)

PatchAgent invokes patchAgent operation.

Partially update an existing agent resource using SCIM PATCH operations.

PATCH /Agents/{id}

func (*Client) PatchAgenticApplication

func (c *Client) PatchAgenticApplication(ctx context.Context, request *PatchRequest, params PatchAgenticApplicationParams) (PatchAgenticApplicationRes, error)

PatchAgenticApplication invokes patchAgenticApplication operation.

Partially update an existing agentic application resource using SCIM PATCH operations.

PATCH /AgenticApplications/{id}

func (*Client) ReplaceAgent

func (c *Client) ReplaceAgent(ctx context.Context, request *AgentCreate, params ReplaceAgentParams) (ReplaceAgentRes, error)

ReplaceAgent invokes replaceAgent operation.

Replace an existing agent resource entirely.

PUT /Agents/{id}

func (*Client) ReplaceAgenticApplication

ReplaceAgenticApplication invokes replaceAgenticApplication operation.

Replace an existing agentic application resource entirely.

PUT /AgenticApplications/{id}

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 CreateAgentBadRequest

type CreateAgentBadRequest Error

func (*CreateAgentBadRequest) Decode

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

Decode decodes CreateAgentBadRequest from json.

func (*CreateAgentBadRequest) Encode

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

Encode encodes CreateAgentBadRequest as json.

func (*CreateAgentBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateAgentBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateAgentBadRequest) Validate

func (s *CreateAgentBadRequest) Validate() error

type CreateAgentConflict

type CreateAgentConflict Error

func (*CreateAgentConflict) Decode

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

Decode decodes CreateAgentConflict from json.

func (*CreateAgentConflict) Encode

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

Encode encodes CreateAgentConflict as json.

func (*CreateAgentConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateAgentConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateAgentConflict) Validate

func (s *CreateAgentConflict) Validate() error

type CreateAgentForbidden

type CreateAgentForbidden Error

func (*CreateAgentForbidden) Decode

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

Decode decodes CreateAgentForbidden from json.

func (*CreateAgentForbidden) Encode

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

Encode encodes CreateAgentForbidden as json.

func (*CreateAgentForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateAgentForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateAgentForbidden) Validate

func (s *CreateAgentForbidden) Validate() error

type CreateAgentInternalServerError

type CreateAgentInternalServerError Error

func (*CreateAgentInternalServerError) Decode

Decode decodes CreateAgentInternalServerError from json.

func (*CreateAgentInternalServerError) Encode

Encode encodes CreateAgentInternalServerError as json.

func (*CreateAgentInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateAgentInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateAgentInternalServerError) Validate

func (s *CreateAgentInternalServerError) Validate() error

type CreateAgentRes

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

type CreateAgentUnauthorized

type CreateAgentUnauthorized Error

func (*CreateAgentUnauthorized) Decode

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

Decode decodes CreateAgentUnauthorized from json.

func (*CreateAgentUnauthorized) Encode

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

Encode encodes CreateAgentUnauthorized as json.

func (*CreateAgentUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateAgentUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateAgentUnauthorized) Validate

func (s *CreateAgentUnauthorized) Validate() error

type CreateAgenticApplicationBadRequest

type CreateAgenticApplicationBadRequest Error

func (*CreateAgenticApplicationBadRequest) Decode

Decode decodes CreateAgenticApplicationBadRequest from json.

func (*CreateAgenticApplicationBadRequest) Encode

Encode encodes CreateAgenticApplicationBadRequest as json.

func (*CreateAgenticApplicationBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateAgenticApplicationBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateAgenticApplicationBadRequest) Validate

type CreateAgenticApplicationConflict

type CreateAgenticApplicationConflict Error

func (*CreateAgenticApplicationConflict) Decode

Decode decodes CreateAgenticApplicationConflict from json.

func (*CreateAgenticApplicationConflict) Encode

Encode encodes CreateAgenticApplicationConflict as json.

func (*CreateAgenticApplicationConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateAgenticApplicationConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateAgenticApplicationConflict) Validate

type CreateAgenticApplicationForbidden

type CreateAgenticApplicationForbidden Error

func (*CreateAgenticApplicationForbidden) Decode

Decode decodes CreateAgenticApplicationForbidden from json.

func (*CreateAgenticApplicationForbidden) Encode

Encode encodes CreateAgenticApplicationForbidden as json.

func (*CreateAgenticApplicationForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateAgenticApplicationForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateAgenticApplicationForbidden) Validate

type CreateAgenticApplicationInternalServerError

type CreateAgenticApplicationInternalServerError Error

func (*CreateAgenticApplicationInternalServerError) Decode

Decode decodes CreateAgenticApplicationInternalServerError from json.

func (*CreateAgenticApplicationInternalServerError) Encode

Encode encodes CreateAgenticApplicationInternalServerError as json.

func (*CreateAgenticApplicationInternalServerError) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*CreateAgenticApplicationInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateAgenticApplicationInternalServerError) Validate

type CreateAgenticApplicationRes

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

type CreateAgenticApplicationUnauthorized

type CreateAgenticApplicationUnauthorized Error

func (*CreateAgenticApplicationUnauthorized) Decode

Decode decodes CreateAgenticApplicationUnauthorized from json.

func (*CreateAgenticApplicationUnauthorized) Encode

Encode encodes CreateAgenticApplicationUnauthorized as json.

func (*CreateAgenticApplicationUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateAgenticApplicationUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateAgenticApplicationUnauthorized) Validate

type DeleteAgentForbidden

type DeleteAgentForbidden Error

func (*DeleteAgentForbidden) Decode

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

Decode decodes DeleteAgentForbidden from json.

func (*DeleteAgentForbidden) Encode

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

Encode encodes DeleteAgentForbidden as json.

func (*DeleteAgentForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteAgentForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DeleteAgentForbidden) Validate

func (s *DeleteAgentForbidden) Validate() error

type DeleteAgentInternalServerError

type DeleteAgentInternalServerError Error

func (*DeleteAgentInternalServerError) Decode

Decode decodes DeleteAgentInternalServerError from json.

func (*DeleteAgentInternalServerError) Encode

Encode encodes DeleteAgentInternalServerError as json.

func (*DeleteAgentInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteAgentInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DeleteAgentInternalServerError) Validate

func (s *DeleteAgentInternalServerError) Validate() error

type DeleteAgentNoContent

type DeleteAgentNoContent struct{}

DeleteAgentNoContent is response for DeleteAgent operation.

type DeleteAgentNotFound

type DeleteAgentNotFound Error

func (*DeleteAgentNotFound) Decode

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

Decode decodes DeleteAgentNotFound from json.

func (*DeleteAgentNotFound) Encode

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

Encode encodes DeleteAgentNotFound as json.

func (*DeleteAgentNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteAgentNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DeleteAgentNotFound) Validate

func (s *DeleteAgentNotFound) Validate() error

type DeleteAgentParams

type DeleteAgentParams struct {
	// The unique identifier of the resource.
	ID string
}

DeleteAgentParams is parameters of deleteAgent operation.

type DeleteAgentRes

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

type DeleteAgentUnauthorized

type DeleteAgentUnauthorized Error

func (*DeleteAgentUnauthorized) Decode

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

Decode decodes DeleteAgentUnauthorized from json.

func (*DeleteAgentUnauthorized) Encode

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

Encode encodes DeleteAgentUnauthorized as json.

func (*DeleteAgentUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteAgentUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DeleteAgentUnauthorized) Validate

func (s *DeleteAgentUnauthorized) Validate() error

type DeleteAgenticApplicationForbidden

type DeleteAgenticApplicationForbidden Error

func (*DeleteAgenticApplicationForbidden) Decode

Decode decodes DeleteAgenticApplicationForbidden from json.

func (*DeleteAgenticApplicationForbidden) Encode

Encode encodes DeleteAgenticApplicationForbidden as json.

func (*DeleteAgenticApplicationForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteAgenticApplicationForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DeleteAgenticApplicationForbidden) Validate

type DeleteAgenticApplicationInternalServerError

type DeleteAgenticApplicationInternalServerError Error

func (*DeleteAgenticApplicationInternalServerError) Decode

Decode decodes DeleteAgenticApplicationInternalServerError from json.

func (*DeleteAgenticApplicationInternalServerError) Encode

Encode encodes DeleteAgenticApplicationInternalServerError as json.

func (*DeleteAgenticApplicationInternalServerError) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*DeleteAgenticApplicationInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DeleteAgenticApplicationInternalServerError) Validate

type DeleteAgenticApplicationNoContent

type DeleteAgenticApplicationNoContent struct{}

DeleteAgenticApplicationNoContent is response for DeleteAgenticApplication operation.

type DeleteAgenticApplicationNotFound

type DeleteAgenticApplicationNotFound Error

func (*DeleteAgenticApplicationNotFound) Decode

Decode decodes DeleteAgenticApplicationNotFound from json.

func (*DeleteAgenticApplicationNotFound) Encode

Encode encodes DeleteAgenticApplicationNotFound as json.

func (*DeleteAgenticApplicationNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteAgenticApplicationNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DeleteAgenticApplicationNotFound) Validate

type DeleteAgenticApplicationParams

type DeleteAgenticApplicationParams struct {
	// The unique identifier of the resource.
	ID string
}

DeleteAgenticApplicationParams is parameters of deleteAgenticApplication operation.

type DeleteAgenticApplicationRes

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

type DeleteAgenticApplicationUnauthorized

type DeleteAgenticApplicationUnauthorized Error

func (*DeleteAgenticApplicationUnauthorized) Decode

Decode decodes DeleteAgenticApplicationUnauthorized from json.

func (*DeleteAgenticApplicationUnauthorized) Encode

Encode encodes DeleteAgenticApplicationUnauthorized as json.

func (*DeleteAgenticApplicationUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteAgenticApplicationUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DeleteAgenticApplicationUnauthorized) Validate

type Entitlement

type Entitlement struct {
	// The value of the entitlement.
	Value OptString `json:"value"`
	// A human-readable name for the entitlement.
	Display OptString `json:"display"`
	// A label indicating the entitlement's function.
	Type OptString `json:"type"`
	// Whether this is the primary entitlement.
	Primary OptBool `json:"primary"`
}

An entitlement granted to an agent. Ref: #/components/schemas/Entitlement

func (*Entitlement) Decode

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

Decode decodes Entitlement from json.

func (*Entitlement) Encode

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

Encode implements json.Marshaler.

func (*Entitlement) GetDisplay

func (s *Entitlement) GetDisplay() OptString

GetDisplay returns the value of Display.

func (*Entitlement) GetPrimary

func (s *Entitlement) GetPrimary() OptBool

GetPrimary returns the value of Primary.

func (*Entitlement) GetType

func (s *Entitlement) GetType() OptString

GetType returns the value of Type.

func (*Entitlement) GetValue

func (s *Entitlement) GetValue() OptString

GetValue returns the value of Value.

func (*Entitlement) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Entitlement) SetDisplay

func (s *Entitlement) SetDisplay(val OptString)

SetDisplay sets the value of Display.

func (*Entitlement) SetPrimary

func (s *Entitlement) SetPrimary(val OptBool)

SetPrimary sets the value of Primary.

func (*Entitlement) SetType

func (s *Entitlement) SetType(val OptString)

SetType sets the value of Type.

func (*Entitlement) SetValue

func (s *Entitlement) SetValue(val OptString)

SetValue sets the value of Value.

func (*Entitlement) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Error

type Error struct {
	Schemas []string `json:"schemas"`
	// The HTTP status code as a string.
	Status string `json:"status"`
	// A SCIM-specific error type.
	ScimType OptErrorScimType `json:"scimType"`
	// A detailed error message.
	Detail OptString `json:"detail"`
}

SCIM error response. Ref: #/components/schemas/Error

func (*Error) Decode

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

Decode decodes Error from json.

func (*Error) Encode

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

Encode implements json.Marshaler.

func (*Error) GetDetail

func (s *Error) GetDetail() OptString

GetDetail returns the value of Detail.

func (*Error) GetSchemas

func (s *Error) GetSchemas() []string

GetSchemas returns the value of Schemas.

func (*Error) GetScimType

func (s *Error) GetScimType() OptErrorScimType

GetScimType returns the value of ScimType.

func (*Error) GetStatus

func (s *Error) GetStatus() string

GetStatus returns the value of Status.

func (*Error) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Error) SetDetail

func (s *Error) SetDetail(val OptString)

SetDetail sets the value of Detail.

func (*Error) SetSchemas

func (s *Error) SetSchemas(val []string)

SetSchemas sets the value of Schemas.

func (*Error) SetScimType

func (s *Error) SetScimType(val OptErrorScimType)

SetScimType sets the value of ScimType.

func (*Error) SetStatus

func (s *Error) SetStatus(val string)

SetStatus sets the value of Status.

func (*Error) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Error) Validate

func (s *Error) Validate() error

type ErrorHandler

type ErrorHandler = ogenerrors.ErrorHandler

ErrorHandler is error handler.

type ErrorScimType

type ErrorScimType string

A SCIM-specific error type.

const (
	ErrorScimTypeInvalidFilter ErrorScimType = "invalidFilter"
	ErrorScimTypeTooMany       ErrorScimType = "tooMany"
	ErrorScimTypeUniqueness    ErrorScimType = "uniqueness"
	ErrorScimTypeMutability    ErrorScimType = "mutability"
	ErrorScimTypeInvalidSyntax ErrorScimType = "invalidSyntax"
	ErrorScimTypeInvalidPath   ErrorScimType = "invalidPath"
	ErrorScimTypeNoTarget      ErrorScimType = "noTarget"
	ErrorScimTypeInvalidValue  ErrorScimType = "invalidValue"
	ErrorScimTypeInvalidVers   ErrorScimType = "invalidVers"
	ErrorScimTypeSensitive     ErrorScimType = "sensitive"
)

func (ErrorScimType) AllValues

func (ErrorScimType) AllValues() []ErrorScimType

AllValues returns all ErrorScimType values.

func (*ErrorScimType) Decode

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

Decode decodes ErrorScimType from json.

func (ErrorScimType) Encode

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

Encode encodes ErrorScimType as json.

func (ErrorScimType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (ErrorScimType) MarshalText

func (s ErrorScimType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ErrorScimType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ErrorScimType) UnmarshalText

func (s *ErrorScimType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ErrorScimType) Validate

func (s ErrorScimType) Validate() error

type ExternalIdentifier

type ExternalIdentifier struct {
	// The type of identifier.
	Type OptString `json:"type"`
	// The identifier value.
	Value OptString `json:"value"`
	// The system or domain within which the identifier is valid.
	System OptString `json:"system"`
}

An external identifier for an agentic application. Ref: #/components/schemas/ExternalIdentifier

func (*ExternalIdentifier) Decode

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

Decode decodes ExternalIdentifier from json.

func (*ExternalIdentifier) Encode

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

Encode implements json.Marshaler.

func (*ExternalIdentifier) GetSystem

func (s *ExternalIdentifier) GetSystem() OptString

GetSystem returns the value of System.

func (*ExternalIdentifier) GetType

func (s *ExternalIdentifier) GetType() OptString

GetType returns the value of Type.

func (*ExternalIdentifier) GetValue

func (s *ExternalIdentifier) GetValue() OptString

GetValue returns the value of Value.

func (*ExternalIdentifier) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ExternalIdentifier) SetSystem

func (s *ExternalIdentifier) SetSystem(val OptString)

SetSystem sets the value of System.

func (*ExternalIdentifier) SetType

func (s *ExternalIdentifier) SetType(val OptString)

SetType sets the value of Type.

func (*ExternalIdentifier) SetValue

func (s *ExternalIdentifier) SetValue(val OptString)

SetValue sets the value of Value.

func (*ExternalIdentifier) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetAgentForbidden

type GetAgentForbidden Error

func (*GetAgentForbidden) Decode

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

Decode decodes GetAgentForbidden from json.

func (*GetAgentForbidden) Encode

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

Encode encodes GetAgentForbidden as json.

func (*GetAgentForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAgentForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetAgentForbidden) Validate

func (s *GetAgentForbidden) Validate() error

type GetAgentInternalServerError

type GetAgentInternalServerError Error

func (*GetAgentInternalServerError) Decode

Decode decodes GetAgentInternalServerError from json.

func (*GetAgentInternalServerError) Encode

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

Encode encodes GetAgentInternalServerError as json.

func (*GetAgentInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAgentInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetAgentInternalServerError) Validate

func (s *GetAgentInternalServerError) Validate() error

type GetAgentNotFound

type GetAgentNotFound Error

func (*GetAgentNotFound) Decode

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

Decode decodes GetAgentNotFound from json.

func (*GetAgentNotFound) Encode

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

Encode encodes GetAgentNotFound as json.

func (*GetAgentNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAgentNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetAgentNotFound) Validate

func (s *GetAgentNotFound) Validate() error

type GetAgentParams

type GetAgentParams struct {
	// Comma-separated list of attributes to include in the response.
	Attributes OptString `json:",omitempty,omitzero"`
	// Comma-separated list of attributes to exclude from the response.
	ExcludedAttributes OptString `json:",omitempty,omitzero"`
	// The unique identifier of the resource.
	ID string
}

GetAgentParams is parameters of getAgent operation.

type GetAgentRes

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

type GetAgentUnauthorized

type GetAgentUnauthorized Error

func (*GetAgentUnauthorized) Decode

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

Decode decodes GetAgentUnauthorized from json.

func (*GetAgentUnauthorized) Encode

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

Encode encodes GetAgentUnauthorized as json.

func (*GetAgentUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAgentUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetAgentUnauthorized) Validate

func (s *GetAgentUnauthorized) Validate() error

type GetAgenticApplicationForbidden

type GetAgenticApplicationForbidden Error

func (*GetAgenticApplicationForbidden) Decode

Decode decodes GetAgenticApplicationForbidden from json.

func (*GetAgenticApplicationForbidden) Encode

Encode encodes GetAgenticApplicationForbidden as json.

func (*GetAgenticApplicationForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAgenticApplicationForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetAgenticApplicationForbidden) Validate

func (s *GetAgenticApplicationForbidden) Validate() error

type GetAgenticApplicationInternalServerError

type GetAgenticApplicationInternalServerError Error

func (*GetAgenticApplicationInternalServerError) Decode

Decode decodes GetAgenticApplicationInternalServerError from json.

func (*GetAgenticApplicationInternalServerError) Encode

Encode encodes GetAgenticApplicationInternalServerError as json.

func (*GetAgenticApplicationInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAgenticApplicationInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetAgenticApplicationInternalServerError) Validate

type GetAgenticApplicationNotFound

type GetAgenticApplicationNotFound Error

func (*GetAgenticApplicationNotFound) Decode

Decode decodes GetAgenticApplicationNotFound from json.

func (*GetAgenticApplicationNotFound) Encode

Encode encodes GetAgenticApplicationNotFound as json.

func (*GetAgenticApplicationNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAgenticApplicationNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetAgenticApplicationNotFound) Validate

func (s *GetAgenticApplicationNotFound) Validate() error

type GetAgenticApplicationParams

type GetAgenticApplicationParams struct {
	// Comma-separated list of attributes to include in the response.
	Attributes OptString `json:",omitempty,omitzero"`
	// Comma-separated list of attributes to exclude from the response.
	ExcludedAttributes OptString `json:",omitempty,omitzero"`
	// The unique identifier of the resource.
	ID string
}

GetAgenticApplicationParams is parameters of getAgenticApplication operation.

type GetAgenticApplicationRes

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

type GetAgenticApplicationUnauthorized

type GetAgenticApplicationUnauthorized Error

func (*GetAgenticApplicationUnauthorized) Decode

Decode decodes GetAgenticApplicationUnauthorized from json.

func (*GetAgenticApplicationUnauthorized) Encode

Encode encodes GetAgenticApplicationUnauthorized as json.

func (*GetAgenticApplicationUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAgenticApplicationUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetAgenticApplicationUnauthorized) Validate

type GetServiceProviderConfigRes

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

type GroupReference

type GroupReference struct {
	// The identifier of the referenced resource.
	Value OptString `json:"value"`
	// The URI of the referenced resource.
	Ref OptURI `json:"$ref"`
	// A human-readable name for the referenced resource.
	Display OptString `json:"display"`
	// The type of group membership.
	Type OptGroupReferenceType `json:"type"`
}

Merged schema. Ref: #/components/schemas/GroupReference

func (*GroupReference) Decode

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

Decode decodes GroupReference from json.

func (*GroupReference) Encode

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

Encode implements json.Marshaler.

func (*GroupReference) GetDisplay

func (s *GroupReference) GetDisplay() OptString

GetDisplay returns the value of Display.

func (*GroupReference) GetRef

func (s *GroupReference) GetRef() OptURI

GetRef returns the value of Ref.

func (*GroupReference) GetType

GetType returns the value of Type.

func (*GroupReference) GetValue

func (s *GroupReference) GetValue() OptString

GetValue returns the value of Value.

func (*GroupReference) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GroupReference) SetDisplay

func (s *GroupReference) SetDisplay(val OptString)

SetDisplay sets the value of Display.

func (*GroupReference) SetRef

func (s *GroupReference) SetRef(val OptURI)

SetRef sets the value of Ref.

func (*GroupReference) SetType

func (s *GroupReference) SetType(val OptGroupReferenceType)

SetType sets the value of Type.

func (*GroupReference) SetValue

func (s *GroupReference) SetValue(val OptString)

SetValue sets the value of Value.

func (*GroupReference) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GroupReference) Validate

func (s *GroupReference) Validate() error

type GroupReferenceType

type GroupReferenceType string

The type of group membership.

const (
	GroupReferenceTypeDirect   GroupReferenceType = "direct"
	GroupReferenceTypeIndirect GroupReferenceType = "indirect"
)

func (GroupReferenceType) AllValues

func (GroupReferenceType) AllValues() []GroupReferenceType

AllValues returns all GroupReferenceType values.

func (*GroupReferenceType) Decode

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

Decode decodes GroupReferenceType from json.

func (GroupReferenceType) Encode

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

Encode encodes GroupReferenceType as json.

func (GroupReferenceType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (GroupReferenceType) MarshalText

func (s GroupReferenceType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*GroupReferenceType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GroupReferenceType) UnmarshalText

func (s *GroupReferenceType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GroupReferenceType) Validate

func (s GroupReferenceType) Validate() error

type Handler

type Handler interface {
	// CreateAgent implements createAgent operation.
	//
	// Create a new agent resource.
	//
	// POST /Agents
	CreateAgent(ctx context.Context, req *AgentCreate) (CreateAgentRes, error)
	// CreateAgenticApplication implements createAgenticApplication operation.
	//
	// Create a new agentic application resource.
	//
	// POST /AgenticApplications
	CreateAgenticApplication(ctx context.Context, req *AgenticApplicationCreate) (CreateAgenticApplicationRes, error)
	// DeleteAgent implements deleteAgent operation.
	//
	// Delete an existing agent resource.
	//
	// DELETE /Agents/{id}
	DeleteAgent(ctx context.Context, params DeleteAgentParams) (DeleteAgentRes, error)
	// DeleteAgenticApplication implements deleteAgenticApplication operation.
	//
	// Delete an existing agentic application resource.
	//
	// DELETE /AgenticApplications/{id}
	DeleteAgenticApplication(ctx context.Context, params DeleteAgenticApplicationParams) (DeleteAgenticApplicationRes, error)
	// GetAgent implements getAgent operation.
	//
	// Retrieve a single agent by its unique identifier.
	//
	// GET /Agents/{id}
	GetAgent(ctx context.Context, params GetAgentParams) (GetAgentRes, error)
	// GetAgenticApplication implements getAgenticApplication operation.
	//
	// Retrieve a single agentic application by its unique identifier.
	//
	// GET /AgenticApplications/{id}
	GetAgenticApplication(ctx context.Context, params GetAgenticApplicationParams) (GetAgenticApplicationRes, error)
	// GetServiceProviderConfig implements getServiceProviderConfig operation.
	//
	// Retrieve the service provider configuration including agent extension support.
	//
	// GET /ServiceProviderConfig
	GetServiceProviderConfig(ctx context.Context) (GetServiceProviderConfigRes, error)
	// ListAgenticApplications implements listAgenticApplications operation.
	//
	// Retrieve a list of agentic applications. Supports SCIM filtering on name, externalId, and
	// applicationUrls.value.
	//
	// GET /AgenticApplications
	ListAgenticApplications(ctx context.Context, params ListAgenticApplicationsParams) (ListAgenticApplicationsRes, error)
	// ListAgents implements listAgents operation.
	//
	// Retrieve a list of agents. Supports SCIM filtering on name and externalId.
	//
	// GET /Agents
	ListAgents(ctx context.Context, params ListAgentsParams) (ListAgentsRes, error)
	// PatchAgent implements patchAgent operation.
	//
	// Partially update an existing agent resource using SCIM PATCH operations.
	//
	// PATCH /Agents/{id}
	PatchAgent(ctx context.Context, req *PatchRequest, params PatchAgentParams) (PatchAgentRes, error)
	// PatchAgenticApplication implements patchAgenticApplication operation.
	//
	// Partially update an existing agentic application resource using SCIM PATCH operations.
	//
	// PATCH /AgenticApplications/{id}
	PatchAgenticApplication(ctx context.Context, req *PatchRequest, params PatchAgenticApplicationParams) (PatchAgenticApplicationRes, error)
	// ReplaceAgent implements replaceAgent operation.
	//
	// Replace an existing agent resource entirely.
	//
	// PUT /Agents/{id}
	ReplaceAgent(ctx context.Context, req *AgentCreate, params ReplaceAgentParams) (ReplaceAgentRes, error)
	// ReplaceAgenticApplication implements replaceAgenticApplication operation.
	//
	// Replace an existing agentic application resource entirely.
	//
	// PUT /AgenticApplications/{id}
	ReplaceAgenticApplication(ctx context.Context, req *AgenticApplicationCreate, params ReplaceAgenticApplicationParams) (ReplaceAgenticApplicationRes, error)
}

Handler handles operations described by OpenAPI v3 specification.

type Invoker

type Invoker interface {
	// CreateAgent invokes createAgent operation.
	//
	// Create a new agent resource.
	//
	// POST /Agents
	CreateAgent(ctx context.Context, request *AgentCreate) (CreateAgentRes, error)
	// CreateAgenticApplication invokes createAgenticApplication operation.
	//
	// Create a new agentic application resource.
	//
	// POST /AgenticApplications
	CreateAgenticApplication(ctx context.Context, request *AgenticApplicationCreate) (CreateAgenticApplicationRes, error)
	// DeleteAgent invokes deleteAgent operation.
	//
	// Delete an existing agent resource.
	//
	// DELETE /Agents/{id}
	DeleteAgent(ctx context.Context, params DeleteAgentParams) (DeleteAgentRes, error)
	// DeleteAgenticApplication invokes deleteAgenticApplication operation.
	//
	// Delete an existing agentic application resource.
	//
	// DELETE /AgenticApplications/{id}
	DeleteAgenticApplication(ctx context.Context, params DeleteAgenticApplicationParams) (DeleteAgenticApplicationRes, error)
	// GetAgent invokes getAgent operation.
	//
	// Retrieve a single agent by its unique identifier.
	//
	// GET /Agents/{id}
	GetAgent(ctx context.Context, params GetAgentParams) (GetAgentRes, error)
	// GetAgenticApplication invokes getAgenticApplication operation.
	//
	// Retrieve a single agentic application by its unique identifier.
	//
	// GET /AgenticApplications/{id}
	GetAgenticApplication(ctx context.Context, params GetAgenticApplicationParams) (GetAgenticApplicationRes, error)
	// GetServiceProviderConfig invokes getServiceProviderConfig operation.
	//
	// Retrieve the service provider configuration including agent extension support.
	//
	// GET /ServiceProviderConfig
	GetServiceProviderConfig(ctx context.Context) (GetServiceProviderConfigRes, error)
	// ListAgenticApplications invokes listAgenticApplications operation.
	//
	// Retrieve a list of agentic applications. Supports SCIM filtering on name, externalId, and
	// applicationUrls.value.
	//
	// GET /AgenticApplications
	ListAgenticApplications(ctx context.Context, params ListAgenticApplicationsParams) (ListAgenticApplicationsRes, error)
	// ListAgents invokes listAgents operation.
	//
	// Retrieve a list of agents. Supports SCIM filtering on name and externalId.
	//
	// GET /Agents
	ListAgents(ctx context.Context, params ListAgentsParams) (ListAgentsRes, error)
	// PatchAgent invokes patchAgent operation.
	//
	// Partially update an existing agent resource using SCIM PATCH operations.
	//
	// PATCH /Agents/{id}
	PatchAgent(ctx context.Context, request *PatchRequest, params PatchAgentParams) (PatchAgentRes, error)
	// PatchAgenticApplication invokes patchAgenticApplication operation.
	//
	// Partially update an existing agentic application resource using SCIM PATCH operations.
	//
	// PATCH /AgenticApplications/{id}
	PatchAgenticApplication(ctx context.Context, request *PatchRequest, params PatchAgenticApplicationParams) (PatchAgenticApplicationRes, error)
	// ReplaceAgent invokes replaceAgent operation.
	//
	// Replace an existing agent resource entirely.
	//
	// PUT /Agents/{id}
	ReplaceAgent(ctx context.Context, request *AgentCreate, params ReplaceAgentParams) (ReplaceAgentRes, error)
	// ReplaceAgenticApplication invokes replaceAgenticApplication operation.
	//
	// Replace an existing agentic application resource entirely.
	//
	// PUT /AgenticApplications/{id}
	ReplaceAgenticApplication(ctx context.Context, request *AgenticApplicationCreate, params ReplaceAgenticApplicationParams) (ReplaceAgenticApplicationRes, error)
}

Invoker invokes operations described by OpenAPI v3 specification.

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 ListAgenticApplicationsBadRequest

type ListAgenticApplicationsBadRequest Error

func (*ListAgenticApplicationsBadRequest) Decode

Decode decodes ListAgenticApplicationsBadRequest from json.

func (*ListAgenticApplicationsBadRequest) Encode

Encode encodes ListAgenticApplicationsBadRequest as json.

func (*ListAgenticApplicationsBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAgenticApplicationsBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListAgenticApplicationsBadRequest) Validate

type ListAgenticApplicationsForbidden

type ListAgenticApplicationsForbidden Error

func (*ListAgenticApplicationsForbidden) Decode

Decode decodes ListAgenticApplicationsForbidden from json.

func (*ListAgenticApplicationsForbidden) Encode

Encode encodes ListAgenticApplicationsForbidden as json.

func (*ListAgenticApplicationsForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAgenticApplicationsForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListAgenticApplicationsForbidden) Validate

type ListAgenticApplicationsInternalServerError

type ListAgenticApplicationsInternalServerError Error

func (*ListAgenticApplicationsInternalServerError) Decode

Decode decodes ListAgenticApplicationsInternalServerError from json.

func (*ListAgenticApplicationsInternalServerError) Encode

Encode encodes ListAgenticApplicationsInternalServerError as json.

func (*ListAgenticApplicationsInternalServerError) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ListAgenticApplicationsInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListAgenticApplicationsInternalServerError) Validate

type ListAgenticApplicationsParams

type ListAgenticApplicationsParams struct {
	// SCIM filter expression.
	Filter OptString `json:",omitempty,omitzero"`
	// 1-based index of the first result to return.
	StartIndex OptInt `json:",omitempty,omitzero"`
	// Maximum number of results to return.
	Count OptInt `json:",omitempty,omitzero"`
	// Attribute to sort by.
	SortBy OptString `json:",omitempty,omitzero"`
	// Sort order (ascending or descending).
	SortOrder OptSortOrder `json:",omitempty,omitzero"`
	// Comma-separated list of attributes to include in the response.
	Attributes OptString `json:",omitempty,omitzero"`
	// Comma-separated list of attributes to exclude from the response.
	ExcludedAttributes OptString `json:",omitempty,omitzero"`
}

ListAgenticApplicationsParams is parameters of listAgenticApplications operation.

type ListAgenticApplicationsRes

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

type ListAgenticApplicationsUnauthorized

type ListAgenticApplicationsUnauthorized Error

func (*ListAgenticApplicationsUnauthorized) Decode

Decode decodes ListAgenticApplicationsUnauthorized from json.

func (*ListAgenticApplicationsUnauthorized) Encode

Encode encodes ListAgenticApplicationsUnauthorized as json.

func (*ListAgenticApplicationsUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAgenticApplicationsUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListAgenticApplicationsUnauthorized) Validate

type ListAgentsBadRequest

type ListAgentsBadRequest Error

func (*ListAgentsBadRequest) Decode

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

Decode decodes ListAgentsBadRequest from json.

func (*ListAgentsBadRequest) Encode

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

Encode encodes ListAgentsBadRequest as json.

func (*ListAgentsBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAgentsBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListAgentsBadRequest) Validate

func (s *ListAgentsBadRequest) Validate() error

type ListAgentsForbidden

type ListAgentsForbidden Error

func (*ListAgentsForbidden) Decode

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

Decode decodes ListAgentsForbidden from json.

func (*ListAgentsForbidden) Encode

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

Encode encodes ListAgentsForbidden as json.

func (*ListAgentsForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAgentsForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListAgentsForbidden) Validate

func (s *ListAgentsForbidden) Validate() error

type ListAgentsInternalServerError

type ListAgentsInternalServerError Error

func (*ListAgentsInternalServerError) Decode

Decode decodes ListAgentsInternalServerError from json.

func (*ListAgentsInternalServerError) Encode

Encode encodes ListAgentsInternalServerError as json.

func (*ListAgentsInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAgentsInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListAgentsInternalServerError) Validate

func (s *ListAgentsInternalServerError) Validate() error

type ListAgentsParams

type ListAgentsParams struct {
	// SCIM filter expression.
	Filter OptString `json:",omitempty,omitzero"`
	// 1-based index of the first result to return.
	StartIndex OptInt `json:",omitempty,omitzero"`
	// Maximum number of results to return.
	Count OptInt `json:",omitempty,omitzero"`
	// Attribute to sort by.
	SortBy OptString `json:",omitempty,omitzero"`
	// Sort order (ascending or descending).
	SortOrder OptSortOrder `json:",omitempty,omitzero"`
	// Comma-separated list of attributes to include in the response.
	Attributes OptString `json:",omitempty,omitzero"`
	// Comma-separated list of attributes to exclude from the response.
	ExcludedAttributes OptString `json:",omitempty,omitzero"`
}

ListAgentsParams is parameters of listAgents operation.

type ListAgentsRes

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

type ListAgentsUnauthorized

type ListAgentsUnauthorized Error

func (*ListAgentsUnauthorized) Decode

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

Decode decodes ListAgentsUnauthorized from json.

func (*ListAgentsUnauthorized) Encode

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

Encode encodes ListAgentsUnauthorized as json.

func (*ListAgentsUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListAgentsUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListAgentsUnauthorized) Validate

func (s *ListAgentsUnauthorized) Validate() error

type Meta

type Meta struct {
	// The name of the resource type.
	ResourceType OptString `json:"resourceType"`
	// The date and time the resource was created.
	Created OptDateTime `json:"created"`
	// The date and time the resource was last modified.
	LastModified OptDateTime `json:"lastModified"`
	// The URI of the resource.
	Location OptURI `json:"location"`
	// The version of the resource (ETag).
	Version OptString `json:"version"`
}

SCIM resource metadata. Ref: #/components/schemas/Meta

func (*Meta) Decode

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

Decode decodes Meta from json.

func (*Meta) Encode

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

Encode implements json.Marshaler.

func (*Meta) GetCreated

func (s *Meta) GetCreated() OptDateTime

GetCreated returns the value of Created.

func (*Meta) GetLastModified

func (s *Meta) GetLastModified() OptDateTime

GetLastModified returns the value of LastModified.

func (*Meta) GetLocation

func (s *Meta) GetLocation() OptURI

GetLocation returns the value of Location.

func (*Meta) GetResourceType

func (s *Meta) GetResourceType() OptString

GetResourceType returns the value of ResourceType.

func (*Meta) GetVersion

func (s *Meta) GetVersion() OptString

GetVersion returns the value of Version.

func (*Meta) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Meta) SetCreated

func (s *Meta) SetCreated(val OptDateTime)

SetCreated sets the value of Created.

func (*Meta) SetLastModified

func (s *Meta) SetLastModified(val OptDateTime)

SetLastModified sets the value of LastModified.

func (*Meta) SetLocation

func (s *Meta) SetLocation(val OptURI)

SetLocation sets the value of Location.

func (*Meta) SetResourceType

func (s *Meta) SetResourceType(val OptString)

SetResourceType sets the value of ResourceType.

func (*Meta) SetVersion

func (s *Meta) SetVersion(val OptString)

SetVersion sets the value of Version.

func (*Meta) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Middleware

type Middleware = middleware.Middleware

Middleware is middleware type.

type OAuthConfiguration

type OAuthConfiguration struct {
	// The OAuth client identifier.
	ClientId OptString `json:"clientId"`
	// A human-readable description of the OAuth client.
	Description OptString `json:"description"`
	// The OAuth audience URI.
	AudienceUri OptURI `json:"audienceUri"`
	// The identity provider issuer URI.
	IssuerUri OptURI `json:"issuerUri"`
	// Authorized redirect URIs for the OAuth client.
	RedirectUri []url.URL `json:"redirectUri"`
}

OAuth client configuration for an agentic application. Ref: #/components/schemas/OAuthConfiguration

func (*OAuthConfiguration) Decode

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

Decode decodes OAuthConfiguration from json.

func (*OAuthConfiguration) Encode

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

Encode implements json.Marshaler.

func (*OAuthConfiguration) GetAudienceUri

func (s *OAuthConfiguration) GetAudienceUri() OptURI

GetAudienceUri returns the value of AudienceUri.

func (*OAuthConfiguration) GetClientId

func (s *OAuthConfiguration) GetClientId() OptString

GetClientId returns the value of ClientId.

func (*OAuthConfiguration) GetDescription

func (s *OAuthConfiguration) GetDescription() OptString

GetDescription returns the value of Description.

func (*OAuthConfiguration) GetIssuerUri

func (s *OAuthConfiguration) GetIssuerUri() OptURI

GetIssuerUri returns the value of IssuerUri.

func (*OAuthConfiguration) GetRedirectUri

func (s *OAuthConfiguration) GetRedirectUri() []url.URL

GetRedirectUri returns the value of RedirectUri.

func (*OAuthConfiguration) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*OAuthConfiguration) SetAudienceUri

func (s *OAuthConfiguration) SetAudienceUri(val OptURI)

SetAudienceUri sets the value of AudienceUri.

func (*OAuthConfiguration) SetClientId

func (s *OAuthConfiguration) SetClientId(val OptString)

SetClientId sets the value of ClientId.

func (*OAuthConfiguration) SetDescription

func (s *OAuthConfiguration) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*OAuthConfiguration) SetIssuerUri

func (s *OAuthConfiguration) SetIssuerUri(val OptURI)

SetIssuerUri sets the value of IssuerUri.

func (*OAuthConfiguration) SetRedirectUri

func (s *OAuthConfiguration) SetRedirectUri(val []url.URL)

SetRedirectUri sets the value of RedirectUri.

func (*OAuthConfiguration) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OperationName

type OperationName = string

OperationName is the ogen operation name

const (
	CreateAgentOperation               OperationName = "CreateAgent"
	CreateAgenticApplicationOperation  OperationName = "CreateAgenticApplication"
	DeleteAgentOperation               OperationName = "DeleteAgent"
	DeleteAgenticApplicationOperation  OperationName = "DeleteAgenticApplication"
	GetAgentOperation                  OperationName = "GetAgent"
	GetAgenticApplicationOperation     OperationName = "GetAgenticApplication"
	GetServiceProviderConfigOperation  OperationName = "GetServiceProviderConfig"
	ListAgenticApplicationsOperation   OperationName = "ListAgenticApplications"
	ListAgentsOperation                OperationName = "ListAgents"
	PatchAgentOperation                OperationName = "PatchAgent"
	PatchAgenticApplicationOperation   OperationName = "PatchAgenticApplication"
	ReplaceAgentOperation              OperationName = "ReplaceAgent"
	ReplaceAgenticApplicationOperation OperationName = "ReplaceAgenticApplication"
)

type OptAgentExtensionConfig

type OptAgentExtensionConfig struct {
	Value AgentExtensionConfig
	Set   bool
}

OptAgentExtensionConfig is optional AgentExtensionConfig.

func NewOptAgentExtensionConfig

func NewOptAgentExtensionConfig(v AgentExtensionConfig) OptAgentExtensionConfig

NewOptAgentExtensionConfig returns new OptAgentExtensionConfig with value set to v.

func (*OptAgentExtensionConfig) Decode

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

Decode decodes AgentExtensionConfig from json.

func (OptAgentExtensionConfig) Encode

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

Encode encodes AgentExtensionConfig as json.

func (OptAgentExtensionConfig) Get

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

func (OptAgentExtensionConfig) IsSet

func (o OptAgentExtensionConfig) IsSet() bool

IsSet returns true if OptAgentExtensionConfig was set.

func (OptAgentExtensionConfig) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptAgentExtensionConfig) Or

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

func (*OptAgentExtensionConfig) Reset

func (o *OptAgentExtensionConfig) Reset()

Reset unsets value.

func (*OptAgentExtensionConfig) SetTo

SetTo sets value to v.

func (*OptAgentExtensionConfig) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAgentReferenceType

type OptAgentReferenceType struct {
	Value AgentReferenceType
	Set   bool
}

OptAgentReferenceType is optional AgentReferenceType.

func NewOptAgentReferenceType

func NewOptAgentReferenceType(v AgentReferenceType) OptAgentReferenceType

NewOptAgentReferenceType returns new OptAgentReferenceType with value set to v.

func (*OptAgentReferenceType) Decode

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

Decode decodes AgentReferenceType from json.

func (OptAgentReferenceType) Encode

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

Encode encodes AgentReferenceType as json.

func (OptAgentReferenceType) Get

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

func (OptAgentReferenceType) IsSet

func (o OptAgentReferenceType) IsSet() bool

IsSet returns true if OptAgentReferenceType was set.

func (OptAgentReferenceType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptAgentReferenceType) Or

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

func (*OptAgentReferenceType) Reset

func (o *OptAgentReferenceType) Reset()

Reset unsets value.

func (*OptAgentReferenceType) SetTo

SetTo sets value to v.

func (*OptAgentReferenceType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptApplicationUrlType

type OptApplicationUrlType struct {
	Value ApplicationUrlType
	Set   bool
}

OptApplicationUrlType is optional ApplicationUrlType.

func NewOptApplicationUrlType

func NewOptApplicationUrlType(v ApplicationUrlType) OptApplicationUrlType

NewOptApplicationUrlType returns new OptApplicationUrlType with value set to v.

func (*OptApplicationUrlType) Decode

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

Decode decodes ApplicationUrlType from json.

func (OptApplicationUrlType) Encode

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

Encode encodes ApplicationUrlType as json.

func (OptApplicationUrlType) Get

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

func (OptApplicationUrlType) IsSet

func (o OptApplicationUrlType) IsSet() bool

IsSet returns true if OptApplicationUrlType was set.

func (OptApplicationUrlType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptApplicationUrlType) Or

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

func (*OptApplicationUrlType) Reset

func (o *OptApplicationUrlType) Reset()

Reset unsets value.

func (*OptApplicationUrlType) SetTo

SetTo sets value to v.

func (*OptApplicationUrlType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

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 OptDateTime

type OptDateTime struct {
	Value time.Time
	Set   bool
}

OptDateTime is optional time.Time.

func NewOptDateTime

func NewOptDateTime(v time.Time) OptDateTime

NewOptDateTime returns new OptDateTime with value set to v.

func (*OptDateTime) Decode

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

Decode decodes time.Time from json.

func (OptDateTime) Encode

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

Encode encodes time.Time as json.

func (OptDateTime) Get

func (o OptDateTime) Get() (v time.Time, ok bool)

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

func (OptDateTime) IsSet

func (o OptDateTime) IsSet() bool

IsSet returns true if OptDateTime was set.

func (OptDateTime) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptDateTime) Or

func (o OptDateTime) Or(d time.Time) time.Time

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

func (*OptDateTime) Reset

func (o *OptDateTime) Reset()

Reset unsets value.

func (*OptDateTime) SetTo

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

SetTo sets value to v.

func (*OptDateTime) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptErrorScimType

type OptErrorScimType struct {
	Value ErrorScimType
	Set   bool
}

OptErrorScimType is optional ErrorScimType.

func NewOptErrorScimType

func NewOptErrorScimType(v ErrorScimType) OptErrorScimType

NewOptErrorScimType returns new OptErrorScimType with value set to v.

func (*OptErrorScimType) Decode

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

Decode decodes ErrorScimType from json.

func (OptErrorScimType) Encode

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

Encode encodes ErrorScimType as json.

func (OptErrorScimType) Get

func (o OptErrorScimType) Get() (v ErrorScimType, ok bool)

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

func (OptErrorScimType) IsSet

func (o OptErrorScimType) IsSet() bool

IsSet returns true if OptErrorScimType was set.

func (OptErrorScimType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptErrorScimType) Or

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

func (*OptErrorScimType) Reset

func (o *OptErrorScimType) Reset()

Reset unsets value.

func (*OptErrorScimType) SetTo

func (o *OptErrorScimType) SetTo(v ErrorScimType)

SetTo sets value to v.

func (*OptErrorScimType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGroupReferenceType

type OptGroupReferenceType struct {
	Value GroupReferenceType
	Set   bool
}

OptGroupReferenceType is optional GroupReferenceType.

func NewOptGroupReferenceType

func NewOptGroupReferenceType(v GroupReferenceType) OptGroupReferenceType

NewOptGroupReferenceType returns new OptGroupReferenceType with value set to v.

func (*OptGroupReferenceType) Decode

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

Decode decodes GroupReferenceType from json.

func (OptGroupReferenceType) Encode

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

Encode encodes GroupReferenceType as json.

func (OptGroupReferenceType) Get

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

func (OptGroupReferenceType) IsSet

func (o OptGroupReferenceType) IsSet() bool

IsSet returns true if OptGroupReferenceType was set.

func (OptGroupReferenceType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptGroupReferenceType) Or

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

func (*OptGroupReferenceType) Reset

func (o *OptGroupReferenceType) Reset()

Reset unsets value.

func (*OptGroupReferenceType) SetTo

SetTo sets value to v.

func (*OptGroupReferenceType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

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 OptMeta

type OptMeta struct {
	Value Meta
	Set   bool
}

OptMeta is optional Meta.

func NewOptMeta

func NewOptMeta(v Meta) OptMeta

NewOptMeta returns new OptMeta with value set to v.

func (*OptMeta) Decode

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

Decode decodes Meta from json.

func (OptMeta) Encode

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

Encode encodes Meta as json.

func (OptMeta) Get

func (o OptMeta) Get() (v Meta, ok bool)

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

func (OptMeta) IsSet

func (o OptMeta) IsSet() bool

IsSet returns true if OptMeta was set.

func (OptMeta) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptMeta) Or

func (o OptMeta) Or(d Meta) Meta

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

func (*OptMeta) Reset

func (o *OptMeta) Reset()

Reset unsets value.

func (*OptMeta) SetTo

func (o *OptMeta) SetTo(v Meta)

SetTo sets value to v.

func (*OptMeta) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptProtocolType

type OptProtocolType struct {
	Value ProtocolType
	Set   bool
}

OptProtocolType is optional ProtocolType.

func NewOptProtocolType

func NewOptProtocolType(v ProtocolType) OptProtocolType

NewOptProtocolType returns new OptProtocolType with value set to v.

func (*OptProtocolType) Decode

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

Decode decodes ProtocolType from json.

func (OptProtocolType) Encode

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

Encode encodes ProtocolType as json.

func (OptProtocolType) Get

func (o OptProtocolType) Get() (v ProtocolType, ok bool)

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

func (OptProtocolType) IsSet

func (o OptProtocolType) IsSet() bool

IsSet returns true if OptProtocolType was set.

func (OptProtocolType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptProtocolType) Or

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

func (*OptProtocolType) Reset

func (o *OptProtocolType) Reset()

Reset unsets value.

func (*OptProtocolType) SetTo

func (o *OptProtocolType) SetTo(v ProtocolType)

SetTo sets value to v.

func (*OptProtocolType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptReference

type OptReference struct {
	Value Reference
	Set   bool
}

OptReference is optional Reference.

func NewOptReference

func NewOptReference(v Reference) OptReference

NewOptReference returns new OptReference with value set to v.

func (*OptReference) Decode

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

Decode decodes Reference from json.

func (OptReference) Encode

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

Encode encodes Reference as json.

func (OptReference) Get

func (o OptReference) Get() (v Reference, ok bool)

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

func (OptReference) IsSet

func (o OptReference) IsSet() bool

IsSet returns true if OptReference was set.

func (OptReference) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptReference) Or

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

func (*OptReference) Reset

func (o *OptReference) Reset()

Reset unsets value.

func (*OptReference) SetTo

func (o *OptReference) SetTo(v Reference)

SetTo sets value to v.

func (*OptReference) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptServiceProviderConfigBulk

type OptServiceProviderConfigBulk struct {
	Value ServiceProviderConfigBulk
	Set   bool
}

OptServiceProviderConfigBulk is optional ServiceProviderConfigBulk.

func NewOptServiceProviderConfigBulk

func NewOptServiceProviderConfigBulk(v ServiceProviderConfigBulk) OptServiceProviderConfigBulk

NewOptServiceProviderConfigBulk returns new OptServiceProviderConfigBulk with value set to v.

func (*OptServiceProviderConfigBulk) Decode

Decode decodes ServiceProviderConfigBulk from json.

func (OptServiceProviderConfigBulk) Encode

Encode encodes ServiceProviderConfigBulk as json.

func (OptServiceProviderConfigBulk) Get

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

func (OptServiceProviderConfigBulk) IsSet

IsSet returns true if OptServiceProviderConfigBulk was set.

func (OptServiceProviderConfigBulk) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptServiceProviderConfigBulk) Or

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

func (*OptServiceProviderConfigBulk) Reset

func (o *OptServiceProviderConfigBulk) Reset()

Reset unsets value.

func (*OptServiceProviderConfigBulk) SetTo

SetTo sets value to v.

func (*OptServiceProviderConfigBulk) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptServiceProviderConfigChangePassword

type OptServiceProviderConfigChangePassword struct {
	Value ServiceProviderConfigChangePassword
	Set   bool
}

OptServiceProviderConfigChangePassword is optional ServiceProviderConfigChangePassword.

func NewOptServiceProviderConfigChangePassword

func NewOptServiceProviderConfigChangePassword(v ServiceProviderConfigChangePassword) OptServiceProviderConfigChangePassword

NewOptServiceProviderConfigChangePassword returns new OptServiceProviderConfigChangePassword with value set to v.

func (*OptServiceProviderConfigChangePassword) Decode

Decode decodes ServiceProviderConfigChangePassword from json.

func (OptServiceProviderConfigChangePassword) Encode

Encode encodes ServiceProviderConfigChangePassword as json.

func (OptServiceProviderConfigChangePassword) Get

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

func (OptServiceProviderConfigChangePassword) IsSet

IsSet returns true if OptServiceProviderConfigChangePassword was set.

func (OptServiceProviderConfigChangePassword) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptServiceProviderConfigChangePassword) Or

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

func (*OptServiceProviderConfigChangePassword) Reset

Reset unsets value.

func (*OptServiceProviderConfigChangePassword) SetTo

SetTo sets value to v.

func (*OptServiceProviderConfigChangePassword) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptServiceProviderConfigEtag

type OptServiceProviderConfigEtag struct {
	Value ServiceProviderConfigEtag
	Set   bool
}

OptServiceProviderConfigEtag is optional ServiceProviderConfigEtag.

func NewOptServiceProviderConfigEtag

func NewOptServiceProviderConfigEtag(v ServiceProviderConfigEtag) OptServiceProviderConfigEtag

NewOptServiceProviderConfigEtag returns new OptServiceProviderConfigEtag with value set to v.

func (*OptServiceProviderConfigEtag) Decode

Decode decodes ServiceProviderConfigEtag from json.

func (OptServiceProviderConfigEtag) Encode

Encode encodes ServiceProviderConfigEtag as json.

func (OptServiceProviderConfigEtag) Get

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

func (OptServiceProviderConfigEtag) IsSet

IsSet returns true if OptServiceProviderConfigEtag was set.

func (OptServiceProviderConfigEtag) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptServiceProviderConfigEtag) Or

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

func (*OptServiceProviderConfigEtag) Reset

func (o *OptServiceProviderConfigEtag) Reset()

Reset unsets value.

func (*OptServiceProviderConfigEtag) SetTo

SetTo sets value to v.

func (*OptServiceProviderConfigEtag) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptServiceProviderConfigFilter

type OptServiceProviderConfigFilter struct {
	Value ServiceProviderConfigFilter
	Set   bool
}

OptServiceProviderConfigFilter is optional ServiceProviderConfigFilter.

func NewOptServiceProviderConfigFilter

func NewOptServiceProviderConfigFilter(v ServiceProviderConfigFilter) OptServiceProviderConfigFilter

NewOptServiceProviderConfigFilter returns new OptServiceProviderConfigFilter with value set to v.

func (*OptServiceProviderConfigFilter) Decode

Decode decodes ServiceProviderConfigFilter from json.

func (OptServiceProviderConfigFilter) Encode

Encode encodes ServiceProviderConfigFilter as json.

func (OptServiceProviderConfigFilter) Get

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

func (OptServiceProviderConfigFilter) IsSet

IsSet returns true if OptServiceProviderConfigFilter was set.

func (OptServiceProviderConfigFilter) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptServiceProviderConfigFilter) Or

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

func (*OptServiceProviderConfigFilter) Reset

func (o *OptServiceProviderConfigFilter) Reset()

Reset unsets value.

func (*OptServiceProviderConfigFilter) SetTo

SetTo sets value to v.

func (*OptServiceProviderConfigFilter) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptServiceProviderConfigPatch

type OptServiceProviderConfigPatch struct {
	Value ServiceProviderConfigPatch
	Set   bool
}

OptServiceProviderConfigPatch is optional ServiceProviderConfigPatch.

func NewOptServiceProviderConfigPatch

func NewOptServiceProviderConfigPatch(v ServiceProviderConfigPatch) OptServiceProviderConfigPatch

NewOptServiceProviderConfigPatch returns new OptServiceProviderConfigPatch with value set to v.

func (*OptServiceProviderConfigPatch) Decode

Decode decodes ServiceProviderConfigPatch from json.

func (OptServiceProviderConfigPatch) Encode

Encode encodes ServiceProviderConfigPatch as json.

func (OptServiceProviderConfigPatch) Get

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

func (OptServiceProviderConfigPatch) IsSet

IsSet returns true if OptServiceProviderConfigPatch was set.

func (OptServiceProviderConfigPatch) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptServiceProviderConfigPatch) Or

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

func (*OptServiceProviderConfigPatch) Reset

func (o *OptServiceProviderConfigPatch) Reset()

Reset unsets value.

func (*OptServiceProviderConfigPatch) SetTo

SetTo sets value to v.

func (*OptServiceProviderConfigPatch) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptServiceProviderConfigSort

type OptServiceProviderConfigSort struct {
	Value ServiceProviderConfigSort
	Set   bool
}

OptServiceProviderConfigSort is optional ServiceProviderConfigSort.

func NewOptServiceProviderConfigSort

func NewOptServiceProviderConfigSort(v ServiceProviderConfigSort) OptServiceProviderConfigSort

NewOptServiceProviderConfigSort returns new OptServiceProviderConfigSort with value set to v.

func (*OptServiceProviderConfigSort) Decode

Decode decodes ServiceProviderConfigSort from json.

func (OptServiceProviderConfigSort) Encode

Encode encodes ServiceProviderConfigSort as json.

func (OptServiceProviderConfigSort) Get

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

func (OptServiceProviderConfigSort) IsSet

IsSet returns true if OptServiceProviderConfigSort was set.

func (OptServiceProviderConfigSort) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptServiceProviderConfigSort) Or

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

func (*OptServiceProviderConfigSort) Reset

func (o *OptServiceProviderConfigSort) Reset()

Reset unsets value.

func (*OptServiceProviderConfigSort) SetTo

SetTo sets value to v.

func (*OptServiceProviderConfigSort) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSortOrder

type OptSortOrder struct {
	Value SortOrder
	Set   bool
}

OptSortOrder is optional SortOrder.

func NewOptSortOrder

func NewOptSortOrder(v SortOrder) OptSortOrder

NewOptSortOrder returns new OptSortOrder with value set to v.

func (OptSortOrder) Get

func (o OptSortOrder) Get() (v SortOrder, ok bool)

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

func (OptSortOrder) IsSet

func (o OptSortOrder) IsSet() bool

IsSet returns true if OptSortOrder was set.

func (OptSortOrder) Or

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

func (*OptSortOrder) Reset

func (o *OptSortOrder) Reset()

Reset unsets value.

func (*OptSortOrder) SetTo

func (o *OptSortOrder) SetTo(v SortOrder)

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 OptURI

type OptURI struct {
	Value url.URL
	Set   bool
}

OptURI is optional url.URL.

func NewOptURI

func NewOptURI(v url.URL) OptURI

NewOptURI returns new OptURI with value set to v.

func (*OptURI) Decode

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

Decode decodes url.URL from json.

func (OptURI) Encode

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

Encode encodes url.URL as json.

func (OptURI) Get

func (o OptURI) Get() (v url.URL, ok bool)

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

func (OptURI) IsSet

func (o OptURI) IsSet() bool

IsSet returns true if OptURI was set.

func (OptURI) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptURI) Or

func (o OptURI) Or(d url.URL) url.URL

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

func (*OptURI) Reset

func (o *OptURI) Reset()

Reset unsets value.

func (*OptURI) SetTo

func (o *OptURI) SetTo(v url.URL)

SetTo sets value to v.

func (*OptURI) UnmarshalJSON

func (s *OptURI) 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 PatchAgentBadRequest

type PatchAgentBadRequest Error

func (*PatchAgentBadRequest) Decode

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

Decode decodes PatchAgentBadRequest from json.

func (*PatchAgentBadRequest) Encode

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

Encode encodes PatchAgentBadRequest as json.

func (*PatchAgentBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PatchAgentBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PatchAgentBadRequest) Validate

func (s *PatchAgentBadRequest) Validate() error

type PatchAgentForbidden

type PatchAgentForbidden Error

func (*PatchAgentForbidden) Decode

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

Decode decodes PatchAgentForbidden from json.

func (*PatchAgentForbidden) Encode

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

Encode encodes PatchAgentForbidden as json.

func (*PatchAgentForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PatchAgentForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PatchAgentForbidden) Validate

func (s *PatchAgentForbidden) Validate() error

type PatchAgentInternalServerError

type PatchAgentInternalServerError Error

func (*PatchAgentInternalServerError) Decode

Decode decodes PatchAgentInternalServerError from json.

func (*PatchAgentInternalServerError) Encode

Encode encodes PatchAgentInternalServerError as json.

func (*PatchAgentInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PatchAgentInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PatchAgentInternalServerError) Validate

func (s *PatchAgentInternalServerError) Validate() error

type PatchAgentNotFound

type PatchAgentNotFound Error

func (*PatchAgentNotFound) Decode

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

Decode decodes PatchAgentNotFound from json.

func (*PatchAgentNotFound) Encode

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

Encode encodes PatchAgentNotFound as json.

func (*PatchAgentNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PatchAgentNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PatchAgentNotFound) Validate

func (s *PatchAgentNotFound) Validate() error

type PatchAgentParams

type PatchAgentParams struct {
	// The unique identifier of the resource.
	ID string
}

PatchAgentParams is parameters of patchAgent operation.

type PatchAgentRes

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

type PatchAgentUnauthorized

type PatchAgentUnauthorized Error

func (*PatchAgentUnauthorized) Decode

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

Decode decodes PatchAgentUnauthorized from json.

func (*PatchAgentUnauthorized) Encode

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

Encode encodes PatchAgentUnauthorized as json.

func (*PatchAgentUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PatchAgentUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PatchAgentUnauthorized) Validate

func (s *PatchAgentUnauthorized) Validate() error

type PatchAgenticApplicationBadRequest

type PatchAgenticApplicationBadRequest Error

func (*PatchAgenticApplicationBadRequest) Decode

Decode decodes PatchAgenticApplicationBadRequest from json.

func (*PatchAgenticApplicationBadRequest) Encode

Encode encodes PatchAgenticApplicationBadRequest as json.

func (*PatchAgenticApplicationBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PatchAgenticApplicationBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PatchAgenticApplicationBadRequest) Validate

type PatchAgenticApplicationForbidden

type PatchAgenticApplicationForbidden Error

func (*PatchAgenticApplicationForbidden) Decode

Decode decodes PatchAgenticApplicationForbidden from json.

func (*PatchAgenticApplicationForbidden) Encode

Encode encodes PatchAgenticApplicationForbidden as json.

func (*PatchAgenticApplicationForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PatchAgenticApplicationForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PatchAgenticApplicationForbidden) Validate

type PatchAgenticApplicationInternalServerError

type PatchAgenticApplicationInternalServerError Error

func (*PatchAgenticApplicationInternalServerError) Decode

Decode decodes PatchAgenticApplicationInternalServerError from json.

func (*PatchAgenticApplicationInternalServerError) Encode

Encode encodes PatchAgenticApplicationInternalServerError as json.

func (*PatchAgenticApplicationInternalServerError) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*PatchAgenticApplicationInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PatchAgenticApplicationInternalServerError) Validate

type PatchAgenticApplicationNotFound

type PatchAgenticApplicationNotFound Error

func (*PatchAgenticApplicationNotFound) Decode

Decode decodes PatchAgenticApplicationNotFound from json.

func (*PatchAgenticApplicationNotFound) Encode

Encode encodes PatchAgenticApplicationNotFound as json.

func (*PatchAgenticApplicationNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PatchAgenticApplicationNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PatchAgenticApplicationNotFound) Validate

func (s *PatchAgenticApplicationNotFound) Validate() error

type PatchAgenticApplicationParams

type PatchAgenticApplicationParams struct {
	// The unique identifier of the resource.
	ID string
}

PatchAgenticApplicationParams is parameters of patchAgenticApplication operation.

type PatchAgenticApplicationRes

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

type PatchAgenticApplicationUnauthorized

type PatchAgenticApplicationUnauthorized Error

func (*PatchAgenticApplicationUnauthorized) Decode

Decode decodes PatchAgenticApplicationUnauthorized from json.

func (*PatchAgenticApplicationUnauthorized) Encode

Encode encodes PatchAgenticApplicationUnauthorized as json.

func (*PatchAgenticApplicationUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PatchAgenticApplicationUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PatchAgenticApplicationUnauthorized) Validate

type PatchOperation

type PatchOperation struct {
	// The operation to perform.
	Op PatchOperationOp `json:"op"`
	// The attribute path to operate on.
	Path OptString `json:"path"`
	// The value to use for the operation.
	Value jx.Raw `json:"value"`
}

A single SCIM PATCH operation. Ref: #/components/schemas/PatchOperation

func (*PatchOperation) Decode

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

Decode decodes PatchOperation from json.

func (*PatchOperation) Encode

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

Encode implements json.Marshaler.

func (*PatchOperation) GetOp

func (s *PatchOperation) GetOp() PatchOperationOp

GetOp returns the value of Op.

func (*PatchOperation) GetPath

func (s *PatchOperation) GetPath() OptString

GetPath returns the value of Path.

func (*PatchOperation) GetValue

func (s *PatchOperation) GetValue() jx.Raw

GetValue returns the value of Value.

func (*PatchOperation) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PatchOperation) SetOp

func (s *PatchOperation) SetOp(val PatchOperationOp)

SetOp sets the value of Op.

func (*PatchOperation) SetPath

func (s *PatchOperation) SetPath(val OptString)

SetPath sets the value of Path.

func (*PatchOperation) SetValue

func (s *PatchOperation) SetValue(val jx.Raw)

SetValue sets the value of Value.

func (*PatchOperation) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PatchOperation) Validate

func (s *PatchOperation) Validate() error

type PatchOperationOp

type PatchOperationOp string

The operation to perform.

const (
	PatchOperationOpAdd     PatchOperationOp = "add"
	PatchOperationOpRemove  PatchOperationOp = "remove"
	PatchOperationOpReplace PatchOperationOp = "replace"
)

func (PatchOperationOp) AllValues

func (PatchOperationOp) AllValues() []PatchOperationOp

AllValues returns all PatchOperationOp values.

func (*PatchOperationOp) Decode

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

Decode decodes PatchOperationOp from json.

func (PatchOperationOp) Encode

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

Encode encodes PatchOperationOp as json.

func (PatchOperationOp) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (PatchOperationOp) MarshalText

func (s PatchOperationOp) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PatchOperationOp) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PatchOperationOp) UnmarshalText

func (s *PatchOperationOp) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PatchOperationOp) Validate

func (s PatchOperationOp) Validate() error

type PatchRequest

type PatchRequest struct {
	Schemas []string `json:"schemas"`
	// The list of patch operations to perform.
	Operations []PatchOperation `json:"Operations"`
}

SCIM PATCH request. Ref: #/components/schemas/PatchRequest

func (*PatchRequest) Decode

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

Decode decodes PatchRequest from json.

func (*PatchRequest) Encode

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

Encode implements json.Marshaler.

func (*PatchRequest) GetOperations

func (s *PatchRequest) GetOperations() []PatchOperation

GetOperations returns the value of Operations.

func (*PatchRequest) GetSchemas

func (s *PatchRequest) GetSchemas() []string

GetSchemas returns the value of Schemas.

func (*PatchRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PatchRequest) SetOperations

func (s *PatchRequest) SetOperations(val []PatchOperation)

SetOperations sets the value of Operations.

func (*PatchRequest) SetSchemas

func (s *PatchRequest) SetSchemas(val []string)

SetSchemas sets the value of Schemas.

func (*PatchRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PatchRequest) Validate

func (s *PatchRequest) Validate() error

type Protocol

type Protocol struct {
	// The type of protocol.
	Type OptProtocolType `json:"type"`
	// The URL of the specification document for this protocol.
	SpecificationUrl OptURI `json:"specificationUrl"`
}

A communication protocol supported by an agent. Ref: #/components/schemas/Protocol

func (*Protocol) Decode

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

Decode decodes Protocol from json.

func (*Protocol) Encode

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

Encode implements json.Marshaler.

func (*Protocol) GetSpecificationUrl

func (s *Protocol) GetSpecificationUrl() OptURI

GetSpecificationUrl returns the value of SpecificationUrl.

func (*Protocol) GetType

func (s *Protocol) GetType() OptProtocolType

GetType returns the value of Type.

func (*Protocol) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Protocol) SetSpecificationUrl

func (s *Protocol) SetSpecificationUrl(val OptURI)

SetSpecificationUrl sets the value of SpecificationUrl.

func (*Protocol) SetType

func (s *Protocol) SetType(val OptProtocolType)

SetType sets the value of Type.

func (*Protocol) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Protocol) Validate

func (s *Protocol) Validate() error

type ProtocolType

type ProtocolType string

The type of protocol.

const (
	ProtocolTypeA2A       ProtocolType = "A2A"
	ProtocolTypeOpenAPI   ProtocolType = "OpenAPI"
	ProtocolTypeMCPServer ProtocolType = "MCP-Server"
)

func (ProtocolType) AllValues

func (ProtocolType) AllValues() []ProtocolType

AllValues returns all ProtocolType values.

func (*ProtocolType) Decode

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

Decode decodes ProtocolType from json.

func (ProtocolType) Encode

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

Encode encodes ProtocolType as json.

func (ProtocolType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (ProtocolType) MarshalText

func (s ProtocolType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ProtocolType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProtocolType) UnmarshalText

func (s *ProtocolType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ProtocolType) Validate

func (s ProtocolType) Validate() error

type Reference

type Reference struct {
	// The identifier of the referenced resource.
	Value OptString `json:"value"`
	// The URI of the referenced resource.
	Ref OptURI `json:"$ref"`
	// A human-readable name for the referenced resource.
	Display OptString `json:"display"`
}

A reference to another SCIM resource. Ref: #/components/schemas/Reference

func (*Reference) Decode

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

Decode decodes Reference from json.

func (*Reference) Encode

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

Encode implements json.Marshaler.

func (*Reference) GetDisplay

func (s *Reference) GetDisplay() OptString

GetDisplay returns the value of Display.

func (*Reference) GetRef

func (s *Reference) GetRef() OptURI

GetRef returns the value of Ref.

func (*Reference) GetValue

func (s *Reference) GetValue() OptString

GetValue returns the value of Value.

func (*Reference) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Reference) SetDisplay

func (s *Reference) SetDisplay(val OptString)

SetDisplay sets the value of Display.

func (*Reference) SetRef

func (s *Reference) SetRef(val OptURI)

SetRef sets the value of Ref.

func (*Reference) SetValue

func (s *Reference) SetValue(val OptString)

SetValue sets the value of Value.

func (*Reference) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ReplaceAgentBadRequest

type ReplaceAgentBadRequest Error

func (*ReplaceAgentBadRequest) Decode

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

Decode decodes ReplaceAgentBadRequest from json.

func (*ReplaceAgentBadRequest) Encode

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

Encode encodes ReplaceAgentBadRequest as json.

func (*ReplaceAgentBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ReplaceAgentBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReplaceAgentBadRequest) Validate

func (s *ReplaceAgentBadRequest) Validate() error

type ReplaceAgentConflict

type ReplaceAgentConflict Error

func (*ReplaceAgentConflict) Decode

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

Decode decodes ReplaceAgentConflict from json.

func (*ReplaceAgentConflict) Encode

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

Encode encodes ReplaceAgentConflict as json.

func (*ReplaceAgentConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ReplaceAgentConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReplaceAgentConflict) Validate

func (s *ReplaceAgentConflict) Validate() error

type ReplaceAgentForbidden

type ReplaceAgentForbidden Error

func (*ReplaceAgentForbidden) Decode

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

Decode decodes ReplaceAgentForbidden from json.

func (*ReplaceAgentForbidden) Encode

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

Encode encodes ReplaceAgentForbidden as json.

func (*ReplaceAgentForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ReplaceAgentForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReplaceAgentForbidden) Validate

func (s *ReplaceAgentForbidden) Validate() error

type ReplaceAgentInternalServerError

type ReplaceAgentInternalServerError Error

func (*ReplaceAgentInternalServerError) Decode

Decode decodes ReplaceAgentInternalServerError from json.

func (*ReplaceAgentInternalServerError) Encode

Encode encodes ReplaceAgentInternalServerError as json.

func (*ReplaceAgentInternalServerError) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ReplaceAgentInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReplaceAgentInternalServerError) Validate

func (s *ReplaceAgentInternalServerError) Validate() error

type ReplaceAgentNotFound

type ReplaceAgentNotFound Error

func (*ReplaceAgentNotFound) Decode

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

Decode decodes ReplaceAgentNotFound from json.

func (*ReplaceAgentNotFound) Encode

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

Encode encodes ReplaceAgentNotFound as json.

func (*ReplaceAgentNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ReplaceAgentNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReplaceAgentNotFound) Validate

func (s *ReplaceAgentNotFound) Validate() error

type ReplaceAgentParams

type ReplaceAgentParams struct {
	// The unique identifier of the resource.
	ID string
}

ReplaceAgentParams is parameters of replaceAgent operation.

type ReplaceAgentRes

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

type ReplaceAgentUnauthorized

type ReplaceAgentUnauthorized Error

func (*ReplaceAgentUnauthorized) Decode

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

Decode decodes ReplaceAgentUnauthorized from json.

func (*ReplaceAgentUnauthorized) Encode

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

Encode encodes ReplaceAgentUnauthorized as json.

func (*ReplaceAgentUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ReplaceAgentUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReplaceAgentUnauthorized) Validate

func (s *ReplaceAgentUnauthorized) Validate() error

type ReplaceAgenticApplicationBadRequest

type ReplaceAgenticApplicationBadRequest Error

func (*ReplaceAgenticApplicationBadRequest) Decode

Decode decodes ReplaceAgenticApplicationBadRequest from json.

func (*ReplaceAgenticApplicationBadRequest) Encode

Encode encodes ReplaceAgenticApplicationBadRequest as json.

func (*ReplaceAgenticApplicationBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ReplaceAgenticApplicationBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReplaceAgenticApplicationBadRequest) Validate

type ReplaceAgenticApplicationConflict

type ReplaceAgenticApplicationConflict Error

func (*ReplaceAgenticApplicationConflict) Decode

Decode decodes ReplaceAgenticApplicationConflict from json.

func (*ReplaceAgenticApplicationConflict) Encode

Encode encodes ReplaceAgenticApplicationConflict as json.

func (*ReplaceAgenticApplicationConflict) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ReplaceAgenticApplicationConflict) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReplaceAgenticApplicationConflict) Validate

type ReplaceAgenticApplicationForbidden

type ReplaceAgenticApplicationForbidden Error

func (*ReplaceAgenticApplicationForbidden) Decode

Decode decodes ReplaceAgenticApplicationForbidden from json.

func (*ReplaceAgenticApplicationForbidden) Encode

Encode encodes ReplaceAgenticApplicationForbidden as json.

func (*ReplaceAgenticApplicationForbidden) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ReplaceAgenticApplicationForbidden) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReplaceAgenticApplicationForbidden) Validate

type ReplaceAgenticApplicationInternalServerError

type ReplaceAgenticApplicationInternalServerError Error

func (*ReplaceAgenticApplicationInternalServerError) Decode

Decode decodes ReplaceAgenticApplicationInternalServerError from json.

func (*ReplaceAgenticApplicationInternalServerError) Encode

Encode encodes ReplaceAgenticApplicationInternalServerError as json.

func (*ReplaceAgenticApplicationInternalServerError) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ReplaceAgenticApplicationInternalServerError) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReplaceAgenticApplicationInternalServerError) Validate

type ReplaceAgenticApplicationNotFound

type ReplaceAgenticApplicationNotFound Error

func (*ReplaceAgenticApplicationNotFound) Decode

Decode decodes ReplaceAgenticApplicationNotFound from json.

func (*ReplaceAgenticApplicationNotFound) Encode

Encode encodes ReplaceAgenticApplicationNotFound as json.

func (*ReplaceAgenticApplicationNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ReplaceAgenticApplicationNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReplaceAgenticApplicationNotFound) Validate

type ReplaceAgenticApplicationParams

type ReplaceAgenticApplicationParams struct {
	// The unique identifier of the resource.
	ID string
}

ReplaceAgenticApplicationParams is parameters of replaceAgenticApplication operation.

type ReplaceAgenticApplicationRes

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

type ReplaceAgenticApplicationUnauthorized

type ReplaceAgenticApplicationUnauthorized Error

func (*ReplaceAgenticApplicationUnauthorized) Decode

Decode decodes ReplaceAgenticApplicationUnauthorized from json.

func (*ReplaceAgenticApplicationUnauthorized) Encode

Encode encodes ReplaceAgenticApplicationUnauthorized as json.

func (*ReplaceAgenticApplicationUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ReplaceAgenticApplicationUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReplaceAgenticApplicationUnauthorized) Validate

type Role

type Role struct {
	// The value of the role.
	Value OptString `json:"value"`
	// A human-readable name for the role.
	Display OptString `json:"display"`
	// A label indicating the role's function.
	Type OptString `json:"type"`
	// Whether this is the primary role.
	Primary OptBool `json:"primary"`
}

A role assigned to an agent. Ref: #/components/schemas/Role

func (*Role) Decode

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

Decode decodes Role from json.

func (*Role) Encode

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

Encode implements json.Marshaler.

func (*Role) GetDisplay

func (s *Role) GetDisplay() OptString

GetDisplay returns the value of Display.

func (*Role) GetPrimary

func (s *Role) GetPrimary() OptBool

GetPrimary returns the value of Primary.

func (*Role) GetType

func (s *Role) GetType() OptString

GetType returns the value of Type.

func (*Role) GetValue

func (s *Role) GetValue() OptString

GetValue returns the value of Value.

func (*Role) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Role) SetDisplay

func (s *Role) SetDisplay(val OptString)

SetDisplay sets the value of Display.

func (*Role) SetPrimary

func (s *Role) SetPrimary(val OptBool)

SetPrimary sets the value of Primary.

func (*Role) SetType

func (s *Role) SetType(val OptString)

SetType sets the value of Type.

func (*Role) SetValue

func (s *Role) SetValue(val OptString)

SetValue sets the value of Value.

func (*Role) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

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 SecurityHandler

type SecurityHandler interface {
	// HandleBearerAuth handles bearerAuth security.
	// OAuth 2.0 Bearer Token.
	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.
	// OAuth 2.0 Bearer Token.
	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 ServiceProviderConfig

type ServiceProviderConfig struct {
	Schemas []string `json:"schemas"`
	// URI for the service provider's documentation.
	DocumentationUri      OptURI                                           `json:"documentationUri"`
	Patch                 OptServiceProviderConfigPatch                    `json:"patch"`
	Bulk                  OptServiceProviderConfigBulk                     `json:"bulk"`
	Filter                OptServiceProviderConfigFilter                   `json:"filter"`
	ChangePassword        OptServiceProviderConfigChangePassword           `json:"changePassword"`
	Sort                  OptServiceProviderConfigSort                     `json:"sort"`
	Etag                  OptServiceProviderConfigEtag                     `json:"etag"`
	AuthenticationSchemes []ServiceProviderConfigAuthenticationSchemesItem `json:"authenticationSchemes"`
	AgentExtension        OptAgentExtensionConfig                          `json:"agentExtension"`
	Meta                  OptMeta                                          `json:"meta"`
}

SCIM Service Provider Configuration with Agent Extension support. Ref: #/components/schemas/ServiceProviderConfig

func (*ServiceProviderConfig) Decode

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

Decode decodes ServiceProviderConfig from json.

func (*ServiceProviderConfig) Encode

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

Encode implements json.Marshaler.

func (*ServiceProviderConfig) GetAgentExtension

func (s *ServiceProviderConfig) GetAgentExtension() OptAgentExtensionConfig

GetAgentExtension returns the value of AgentExtension.

func (*ServiceProviderConfig) GetAuthenticationSchemes

GetAuthenticationSchemes returns the value of AuthenticationSchemes.

func (*ServiceProviderConfig) GetBulk

GetBulk returns the value of Bulk.

func (*ServiceProviderConfig) GetChangePassword

GetChangePassword returns the value of ChangePassword.

func (*ServiceProviderConfig) GetDocumentationUri

func (s *ServiceProviderConfig) GetDocumentationUri() OptURI

GetDocumentationUri returns the value of DocumentationUri.

func (*ServiceProviderConfig) GetEtag

GetEtag returns the value of Etag.

func (*ServiceProviderConfig) GetFilter

GetFilter returns the value of Filter.

func (*ServiceProviderConfig) GetMeta

func (s *ServiceProviderConfig) GetMeta() OptMeta

GetMeta returns the value of Meta.

func (*ServiceProviderConfig) GetPatch

GetPatch returns the value of Patch.

func (*ServiceProviderConfig) GetSchemas

func (s *ServiceProviderConfig) GetSchemas() []string

GetSchemas returns the value of Schemas.

func (*ServiceProviderConfig) GetSort

GetSort returns the value of Sort.

func (*ServiceProviderConfig) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ServiceProviderConfig) SetAgentExtension

func (s *ServiceProviderConfig) SetAgentExtension(val OptAgentExtensionConfig)

SetAgentExtension sets the value of AgentExtension.

func (*ServiceProviderConfig) SetAuthenticationSchemes

func (s *ServiceProviderConfig) SetAuthenticationSchemes(val []ServiceProviderConfigAuthenticationSchemesItem)

SetAuthenticationSchemes sets the value of AuthenticationSchemes.

func (*ServiceProviderConfig) SetBulk

SetBulk sets the value of Bulk.

func (*ServiceProviderConfig) SetChangePassword

SetChangePassword sets the value of ChangePassword.

func (*ServiceProviderConfig) SetDocumentationUri

func (s *ServiceProviderConfig) SetDocumentationUri(val OptURI)

SetDocumentationUri sets the value of DocumentationUri.

func (*ServiceProviderConfig) SetEtag

SetEtag sets the value of Etag.

func (*ServiceProviderConfig) SetFilter

SetFilter sets the value of Filter.

func (*ServiceProviderConfig) SetMeta

func (s *ServiceProviderConfig) SetMeta(val OptMeta)

SetMeta sets the value of Meta.

func (*ServiceProviderConfig) SetPatch

SetPatch sets the value of Patch.

func (*ServiceProviderConfig) SetSchemas

func (s *ServiceProviderConfig) SetSchemas(val []string)

SetSchemas sets the value of Schemas.

func (*ServiceProviderConfig) SetSort

SetSort sets the value of Sort.

func (*ServiceProviderConfig) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ServiceProviderConfigAuthenticationSchemesItem

type ServiceProviderConfigAuthenticationSchemesItem struct {
	Type             OptString `json:"type"`
	Name             OptString `json:"name"`
	Description      OptString `json:"description"`
	SpecUri          OptURI    `json:"specUri"`
	DocumentationUri OptURI    `json:"documentationUri"`
}

func (*ServiceProviderConfigAuthenticationSchemesItem) Decode

Decode decodes ServiceProviderConfigAuthenticationSchemesItem from json.

func (*ServiceProviderConfigAuthenticationSchemesItem) Encode

Encode implements json.Marshaler.

func (*ServiceProviderConfigAuthenticationSchemesItem) GetDescription

GetDescription returns the value of Description.

func (*ServiceProviderConfigAuthenticationSchemesItem) GetDocumentationUri

func (s *ServiceProviderConfigAuthenticationSchemesItem) GetDocumentationUri() OptURI

GetDocumentationUri returns the value of DocumentationUri.

func (*ServiceProviderConfigAuthenticationSchemesItem) GetName

GetName returns the value of Name.

func (*ServiceProviderConfigAuthenticationSchemesItem) GetSpecUri

GetSpecUri returns the value of SpecUri.

func (*ServiceProviderConfigAuthenticationSchemesItem) GetType

GetType returns the value of Type.

func (*ServiceProviderConfigAuthenticationSchemesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ServiceProviderConfigAuthenticationSchemesItem) SetDescription

SetDescription sets the value of Description.

func (*ServiceProviderConfigAuthenticationSchemesItem) SetDocumentationUri

func (s *ServiceProviderConfigAuthenticationSchemesItem) SetDocumentationUri(val OptURI)

SetDocumentationUri sets the value of DocumentationUri.

func (*ServiceProviderConfigAuthenticationSchemesItem) SetName

SetName sets the value of Name.

func (*ServiceProviderConfigAuthenticationSchemesItem) SetSpecUri

SetSpecUri sets the value of SpecUri.

func (*ServiceProviderConfigAuthenticationSchemesItem) SetType

SetType sets the value of Type.

func (*ServiceProviderConfigAuthenticationSchemesItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type ServiceProviderConfigBulk

type ServiceProviderConfigBulk struct {
	Supported      OptBool `json:"supported"`
	MaxOperations  OptInt  `json:"maxOperations"`
	MaxPayloadSize OptInt  `json:"maxPayloadSize"`
}

func (*ServiceProviderConfigBulk) Decode

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

Decode decodes ServiceProviderConfigBulk from json.

func (*ServiceProviderConfigBulk) Encode

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

Encode implements json.Marshaler.

func (*ServiceProviderConfigBulk) GetMaxOperations

func (s *ServiceProviderConfigBulk) GetMaxOperations() OptInt

GetMaxOperations returns the value of MaxOperations.

func (*ServiceProviderConfigBulk) GetMaxPayloadSize

func (s *ServiceProviderConfigBulk) GetMaxPayloadSize() OptInt

GetMaxPayloadSize returns the value of MaxPayloadSize.

func (*ServiceProviderConfigBulk) GetSupported

func (s *ServiceProviderConfigBulk) GetSupported() OptBool

GetSupported returns the value of Supported.

func (*ServiceProviderConfigBulk) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ServiceProviderConfigBulk) SetMaxOperations

func (s *ServiceProviderConfigBulk) SetMaxOperations(val OptInt)

SetMaxOperations sets the value of MaxOperations.

func (*ServiceProviderConfigBulk) SetMaxPayloadSize

func (s *ServiceProviderConfigBulk) SetMaxPayloadSize(val OptInt)

SetMaxPayloadSize sets the value of MaxPayloadSize.

func (*ServiceProviderConfigBulk) SetSupported

func (s *ServiceProviderConfigBulk) SetSupported(val OptBool)

SetSupported sets the value of Supported.

func (*ServiceProviderConfigBulk) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ServiceProviderConfigChangePassword

type ServiceProviderConfigChangePassword struct {
	Supported OptBool `json:"supported"`
}

func (*ServiceProviderConfigChangePassword) Decode

Decode decodes ServiceProviderConfigChangePassword from json.

func (*ServiceProviderConfigChangePassword) Encode

Encode implements json.Marshaler.

func (*ServiceProviderConfigChangePassword) GetSupported

func (s *ServiceProviderConfigChangePassword) GetSupported() OptBool

GetSupported returns the value of Supported.

func (*ServiceProviderConfigChangePassword) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ServiceProviderConfigChangePassword) SetSupported

func (s *ServiceProviderConfigChangePassword) SetSupported(val OptBool)

SetSupported sets the value of Supported.

func (*ServiceProviderConfigChangePassword) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ServiceProviderConfigEtag

type ServiceProviderConfigEtag struct {
	Supported OptBool `json:"supported"`
}

func (*ServiceProviderConfigEtag) Decode

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

Decode decodes ServiceProviderConfigEtag from json.

func (*ServiceProviderConfigEtag) Encode

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

Encode implements json.Marshaler.

func (*ServiceProviderConfigEtag) GetSupported

func (s *ServiceProviderConfigEtag) GetSupported() OptBool

GetSupported returns the value of Supported.

func (*ServiceProviderConfigEtag) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ServiceProviderConfigEtag) SetSupported

func (s *ServiceProviderConfigEtag) SetSupported(val OptBool)

SetSupported sets the value of Supported.

func (*ServiceProviderConfigEtag) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ServiceProviderConfigFilter

type ServiceProviderConfigFilter struct {
	Supported  OptBool `json:"supported"`
	MaxResults OptInt  `json:"maxResults"`
}

func (*ServiceProviderConfigFilter) Decode

Decode decodes ServiceProviderConfigFilter from json.

func (*ServiceProviderConfigFilter) Encode

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

Encode implements json.Marshaler.

func (*ServiceProviderConfigFilter) GetMaxResults

func (s *ServiceProviderConfigFilter) GetMaxResults() OptInt

GetMaxResults returns the value of MaxResults.

func (*ServiceProviderConfigFilter) GetSupported

func (s *ServiceProviderConfigFilter) GetSupported() OptBool

GetSupported returns the value of Supported.

func (*ServiceProviderConfigFilter) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ServiceProviderConfigFilter) SetMaxResults

func (s *ServiceProviderConfigFilter) SetMaxResults(val OptInt)

SetMaxResults sets the value of MaxResults.

func (*ServiceProviderConfigFilter) SetSupported

func (s *ServiceProviderConfigFilter) SetSupported(val OptBool)

SetSupported sets the value of Supported.

func (*ServiceProviderConfigFilter) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ServiceProviderConfigPatch

type ServiceProviderConfigPatch struct {
	Supported OptBool `json:"supported"`
}

func (*ServiceProviderConfigPatch) Decode

Decode decodes ServiceProviderConfigPatch from json.

func (*ServiceProviderConfigPatch) Encode

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

Encode implements json.Marshaler.

func (*ServiceProviderConfigPatch) GetSupported

func (s *ServiceProviderConfigPatch) GetSupported() OptBool

GetSupported returns the value of Supported.

func (*ServiceProviderConfigPatch) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ServiceProviderConfigPatch) SetSupported

func (s *ServiceProviderConfigPatch) SetSupported(val OptBool)

SetSupported sets the value of Supported.

func (*ServiceProviderConfigPatch) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ServiceProviderConfigSort

type ServiceProviderConfigSort struct {
	Supported OptBool `json:"supported"`
}

func (*ServiceProviderConfigSort) Decode

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

Decode decodes ServiceProviderConfigSort from json.

func (*ServiceProviderConfigSort) Encode

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

Encode implements json.Marshaler.

func (*ServiceProviderConfigSort) GetSupported

func (s *ServiceProviderConfigSort) GetSupported() OptBool

GetSupported returns the value of Supported.

func (*ServiceProviderConfigSort) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ServiceProviderConfigSort) SetSupported

func (s *ServiceProviderConfigSort) SetSupported(val OptBool)

SetSupported sets the value of Supported.

func (*ServiceProviderConfigSort) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type SortOrder

type SortOrder string
const (
	SortOrderAscending  SortOrder = "ascending"
	SortOrderDescending SortOrder = "descending"
)

func (SortOrder) AllValues

func (SortOrder) AllValues() []SortOrder

AllValues returns all SortOrder values.

func (SortOrder) MarshalText

func (s SortOrder) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SortOrder) UnmarshalText

func (s *SortOrder) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SortOrder) Validate

func (s SortOrder) Validate() error

type UnimplementedHandler

type UnimplementedHandler struct{}

UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.

func (UnimplementedHandler) CreateAgent

func (UnimplementedHandler) CreateAgent(ctx context.Context, req *AgentCreate) (r CreateAgentRes, _ error)

CreateAgent implements createAgent operation.

Create a new agent resource.

POST /Agents

func (UnimplementedHandler) CreateAgenticApplication

CreateAgenticApplication implements createAgenticApplication operation.

Create a new agentic application resource.

POST /AgenticApplications

func (UnimplementedHandler) DeleteAgent

DeleteAgent implements deleteAgent operation.

Delete an existing agent resource.

DELETE /Agents/{id}

func (UnimplementedHandler) DeleteAgenticApplication

DeleteAgenticApplication implements deleteAgenticApplication operation.

Delete an existing agentic application resource.

DELETE /AgenticApplications/{id}

func (UnimplementedHandler) GetAgent

func (UnimplementedHandler) GetAgent(ctx context.Context, params GetAgentParams) (r GetAgentRes, _ error)

GetAgent implements getAgent operation.

Retrieve a single agent by its unique identifier.

GET /Agents/{id}

func (UnimplementedHandler) GetAgenticApplication

GetAgenticApplication implements getAgenticApplication operation.

Retrieve a single agentic application by its unique identifier.

GET /AgenticApplications/{id}

func (UnimplementedHandler) GetServiceProviderConfig

func (UnimplementedHandler) GetServiceProviderConfig(ctx context.Context) (r GetServiceProviderConfigRes, _ error)

GetServiceProviderConfig implements getServiceProviderConfig operation.

Retrieve the service provider configuration including agent extension support.

GET /ServiceProviderConfig

func (UnimplementedHandler) ListAgenticApplications

ListAgenticApplications implements listAgenticApplications operation.

Retrieve a list of agentic applications. Supports SCIM filtering on name, externalId, and applicationUrls.value.

GET /AgenticApplications

func (UnimplementedHandler) ListAgents

ListAgents implements listAgents operation.

Retrieve a list of agents. Supports SCIM filtering on name and externalId.

GET /Agents

func (UnimplementedHandler) PatchAgent

PatchAgent implements patchAgent operation.

Partially update an existing agent resource using SCIM PATCH operations.

PATCH /Agents/{id}

func (UnimplementedHandler) PatchAgenticApplication

PatchAgenticApplication implements patchAgenticApplication operation.

Partially update an existing agentic application resource using SCIM PATCH operations.

PATCH /AgenticApplications/{id}

func (UnimplementedHandler) ReplaceAgent

ReplaceAgent implements replaceAgent operation.

Replace an existing agent resource entirely.

PUT /Agents/{id}

func (UnimplementedHandler) ReplaceAgenticApplication

ReplaceAgenticApplication implements replaceAgenticApplication operation.

Replace an existing agentic application resource entirely.

PUT /AgenticApplications/{id}

type X509Certificate

type X509Certificate struct {
	// The DER-encoded X.509 certificate, base64 encoded.
	Value []byte `json:"value"`
	// A human-readable name for the certificate.
	Display OptString `json:"display"`
	// A label indicating the certificate's function.
	Type OptString `json:"type"`
	// Whether this is the primary certificate.
	Primary OptBool `json:"primary"`
}

An X.509 certificate. Ref: #/components/schemas/X509Certificate

func (*X509Certificate) Decode

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

Decode decodes X509Certificate from json.

func (*X509Certificate) Encode

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

Encode implements json.Marshaler.

func (*X509Certificate) GetDisplay

func (s *X509Certificate) GetDisplay() OptString

GetDisplay returns the value of Display.

func (*X509Certificate) GetPrimary

func (s *X509Certificate) GetPrimary() OptBool

GetPrimary returns the value of Primary.

func (*X509Certificate) GetType

func (s *X509Certificate) GetType() OptString

GetType returns the value of Type.

func (*X509Certificate) GetValue

func (s *X509Certificate) GetValue() []byte

GetValue returns the value of Value.

func (*X509Certificate) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*X509Certificate) SetDisplay

func (s *X509Certificate) SetDisplay(val OptString)

SetDisplay sets the value of Display.

func (*X509Certificate) SetPrimary

func (s *X509Certificate) SetPrimary(val OptBool)

SetPrimary sets the value of Primary.

func (*X509Certificate) SetType

func (s *X509Certificate) SetType(val OptString)

SetType sets the value of Type.

func (*X509Certificate) SetValue

func (s *X509Certificate) SetValue(val []byte)

SetValue sets the value of Value.

func (*X509Certificate) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

Jump to

Keyboard shortcuts

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