api

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: MIT Imports: 28 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 GetRolesForApiKeyAuth

func GetRolesForApiKeyAuth(operation string) []string

GetRolesForApiKeyAuth 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 := GetRolesForApiKeyAuth(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 ApiKeyAuth

type ApiKeyAuth struct {
	APIKey string
	Roles  []string
}

func (*ApiKeyAuth) GetAPIKey

func (s *ApiKeyAuth) GetAPIKey() string

GetAPIKey returns the value of APIKey.

func (*ApiKeyAuth) GetRoles

func (s *ApiKeyAuth) GetRoles() []string

GetRoles returns the value of Roles.

func (*ApiKeyAuth) SetAPIKey

func (s *ApiKeyAuth) SetAPIKey(val string)

SetAPIKey sets the value of APIKey.

func (*ApiKeyAuth) SetRoles

func (s *ApiKeyAuth) SetRoles(val []string)

SetRoles sets the value of Roles.

type AttachToolToPalNotFound

type AttachToolToPalNotFound Error

func (*AttachToolToPalNotFound) Decode

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

Decode decodes AttachToolToPalNotFound from json.

func (*AttachToolToPalNotFound) Encode

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

Encode encodes AttachToolToPalNotFound as json.

func (*AttachToolToPalNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AttachToolToPalNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AttachToolToPalOK

type AttachToolToPalOK struct{}

AttachToolToPalOK is response for AttachToolToPal operation.

type AttachToolToPalParams

type AttachToolToPalParams struct {
	// Unique PAL identifier.
	PalID string
}

AttachToolToPalParams is parameters of attachToolToPal operation.

type AttachToolToPalReq

type AttachToolToPalReq struct {
	// The ID of the tool to attach.
	ToolID string `json:"tool_id"`
}

func (*AttachToolToPalReq) Decode

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

Decode decodes AttachToolToPalReq from json.

func (*AttachToolToPalReq) Encode

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

Encode implements json.Marshaler.

func (*AttachToolToPalReq) GetToolID

func (s *AttachToolToPalReq) GetToolID() string

GetToolID returns the value of ToolID.

func (*AttachToolToPalReq) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AttachToolToPalReq) SetToolID

func (s *AttachToolToPalReq) SetToolID(val string)

SetToolID sets the value of ToolID.

func (*AttachToolToPalReq) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AttachToolToPalRes

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

type AttachToolToPalUnauthorized

type AttachToolToPalUnauthorized Error

func (*AttachToolToPalUnauthorized) Decode

Decode decodes AttachToolToPalUnauthorized from json.

func (*AttachToolToPalUnauthorized) Encode

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

Encode encodes AttachToolToPalUnauthorized as json.

func (*AttachToolToPalUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AttachToolToPalUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

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

func (c *Client) AttachToolToPal(ctx context.Context, request *AttachToolToPalReq, params AttachToolToPalParams) (AttachToolToPalRes, error)

AttachToolToPal invokes attachToolToPal operation.

Attaches an existing tool to a PAL. Maximum 50 tools per PAL.

POST /v2/pals/{pal_id}/tools

func (*Client) CreateConversation

func (c *Client) CreateConversation(ctx context.Context, request *CreateConversationRequest) (CreateConversationRes, error)

CreateConversation invokes createConversation operation.

Creates a new real-time conversation session with a PAL. The conversation URL can be used to join the video call.

POST /v2/conversations

func (*Client) CreateDeployment

func (c *Client) CreateDeployment(ctx context.Context, request *CreateDeploymentRequest) (CreateDeploymentRes, error)

CreateDeployment invokes createDeployment operation.

Creates a distribution channel for a PAL (widget, embed, or landing page).

POST /v2/deployments

func (*Client) CreateDocument

func (c *Client) CreateDocument(ctx context.Context, request *CreateDocumentRequest) (CreateDocumentRes, error)

CreateDocument invokes createDocument operation.

Uploads a document to the knowledge base. Supported formats: PDF, TXT, DOCX, DOC, PNG, JPG, PPTX, CSV, XLSX (max 50MB).

POST /v2/documents

func (*Client) CreateFace

func (c *Client) CreateFace(ctx context.Context, request *CreateFaceRequest) (CreateFaceRes, error)

CreateFace invokes createFace operation.

Creates a new face by training on a video or image. Training is asynchronous - use the callback_url or poll the face status.

POST /v2/faces

func (*Client) CreateGuardrail

func (c *Client) CreateGuardrail(ctx context.Context, request *CreateGuardrailRequest) (CreateGuardrailRes, error)

CreateGuardrail invokes createGuardrail operation.

Creates a behavioral boundary for PAL conversations.

POST /v2/guardrails

func (*Client) CreateObjectives

func (c *Client) CreateObjectives(ctx context.Context, request *CreateObjectivesRequest) (CreateObjectivesRes, error)

CreateObjectives invokes createObjectives operation.

Creates measurable goals for PAL conversations.

POST /v2/objectives

func (*Client) CreatePal

func (c *Client) CreatePal(ctx context.Context, request *CreatePalRequest) (CreatePalRes, error)

CreatePal invokes createPal operation.

Creates a new PAL (Personality AI Layer) that defines the avatar's behavior, knowledge, and configuration.

POST /v2/pals

func (*Client) CreateTool

func (c *Client) CreateTool(ctx context.Context, request *CreateToolRequest) (CreateToolRes, error)

CreateTool invokes createTool operation.

Creates a function calling tool that can be attached to PALs.

POST /v2/tools

func (*Client) CreateVideo

func (c *Client) CreateVideo(ctx context.Context, request *CreateVideoRequest) (CreateVideoRes, error)

CreateVideo invokes createVideo operation.

Creates a new video using a face and script or audio. Video generation is asynchronous.

POST /v2/videos

func (*Client) DeleteConversation

func (c *Client) DeleteConversation(ctx context.Context, params DeleteConversationParams) (DeleteConversationRes, error)

DeleteConversation invokes deleteConversation operation.

Delete a conversation.

DELETE /v2/conversations/{conversation_id}

func (*Client) DeleteDeployment

func (c *Client) DeleteDeployment(ctx context.Context, params DeleteDeploymentParams) (DeleteDeploymentRes, error)

DeleteDeployment invokes deleteDeployment operation.

Delete a deployment.

DELETE /v2/deployments/{deployment_id}

func (*Client) DeleteDocument

func (c *Client) DeleteDocument(ctx context.Context, params DeleteDocumentParams) (DeleteDocumentRes, error)

DeleteDocument invokes deleteDocument operation.

Delete a document.

DELETE /v2/documents/{document_id}

func (*Client) DeleteFace

func (c *Client) DeleteFace(ctx context.Context, params DeleteFaceParams) (DeleteFaceRes, error)

DeleteFace invokes deleteFace operation.

Delete a face.

DELETE /v2/faces/{face_id}

func (*Client) DeleteGuardrail

func (c *Client) DeleteGuardrail(ctx context.Context, params DeleteGuardrailParams) (DeleteGuardrailRes, error)

DeleteGuardrail invokes deleteGuardrail operation.

Delete a guardrail.

DELETE /v2/guardrails/{guardrail_id}

func (*Client) DeleteObjectives

func (c *Client) DeleteObjectives(ctx context.Context, params DeleteObjectivesParams) (DeleteObjectivesRes, error)

DeleteObjectives invokes deleteObjectives operation.

Delete objectives.

DELETE /v2/objectives/{objectives_id}

func (*Client) DeletePal

func (c *Client) DeletePal(ctx context.Context, params DeletePalParams) (DeletePalRes, error)

DeletePal invokes deletePal operation.

Delete a PAL.

DELETE /v2/pals/{pal_id}

func (*Client) DeleteTool

func (c *Client) DeleteTool(ctx context.Context, params DeleteToolParams) (DeleteToolRes, error)

DeleteTool invokes deleteTool operation.

Delete a tool.

DELETE /v2/tools/{tool_id}

func (*Client) DeleteVideo

func (c *Client) DeleteVideo(ctx context.Context, params DeleteVideoParams) (DeleteVideoRes, error)

DeleteVideo invokes deleteVideo operation.

Delete a video.

DELETE /v2/videos/{video_id}

func (*Client) EndConversation

func (c *Client) EndConversation(ctx context.Context, params EndConversationParams) (EndConversationRes, error)

EndConversation invokes endConversation operation.

Gracefully ends an active conversation session.

POST /v2/conversations/{conversation_id}/end

func (*Client) GetConversation

func (c *Client) GetConversation(ctx context.Context, params GetConversationParams) (GetConversationRes, error)

GetConversation invokes getConversation operation.

Get a conversation.

GET /v2/conversations/{conversation_id}

func (*Client) GetDeployment

func (c *Client) GetDeployment(ctx context.Context, params GetDeploymentParams) (GetDeploymentRes, error)

GetDeployment invokes getDeployment operation.

Get a deployment.

GET /v2/deployments/{deployment_id}

func (*Client) GetDocument

func (c *Client) GetDocument(ctx context.Context, params GetDocumentParams) (GetDocumentRes, error)

GetDocument invokes getDocument operation.

Get a document.

GET /v2/documents/{document_id}

func (*Client) GetFace

func (c *Client) GetFace(ctx context.Context, params GetFaceParams) (GetFaceRes, error)

GetFace invokes getFace operation.

Get a face.

GET /v2/faces/{face_id}

func (*Client) GetGuardrail

func (c *Client) GetGuardrail(ctx context.Context, params GetGuardrailParams) (GetGuardrailRes, error)

GetGuardrail invokes getGuardrail operation.

Get a guardrail.

GET /v2/guardrails/{guardrail_id}

func (*Client) GetObjectives

func (c *Client) GetObjectives(ctx context.Context, params GetObjectivesParams) (GetObjectivesRes, error)

GetObjectives invokes getObjectives operation.

Get objectives.

GET /v2/objectives/{objectives_id}

func (*Client) GetPal

func (c *Client) GetPal(ctx context.Context, params GetPalParams) (GetPalRes, error)

GetPal invokes getPal operation.

Get a PAL.

GET /v2/pals/{pal_id}

func (*Client) GetTool

func (c *Client) GetTool(ctx context.Context, params GetToolParams) (GetToolRes, error)

GetTool invokes getTool operation.

Get a tool.

GET /v2/tools/{tool_id}

func (*Client) GetVideo

func (c *Client) GetVideo(ctx context.Context, params GetVideoParams) (GetVideoRes, error)

GetVideo invokes getVideo operation.

Get a video.

GET /v2/videos/{video_id}

func (*Client) ListConversations

func (c *Client) ListConversations(ctx context.Context, params ListConversationsParams) (ListConversationsRes, error)

ListConversations invokes listConversations operation.

List all conversations.

GET /v2/conversations

func (*Client) ListDeployments

func (c *Client) ListDeployments(ctx context.Context, params ListDeploymentsParams) (ListDeploymentsRes, error)

ListDeployments invokes listDeployments operation.

List all deployments.

GET /v2/deployments

func (*Client) ListDocuments

func (c *Client) ListDocuments(ctx context.Context, params ListDocumentsParams) (ListDocumentsRes, error)

ListDocuments invokes listDocuments operation.

List all documents.

GET /v2/documents

func (*Client) ListFaces

func (c *Client) ListFaces(ctx context.Context, params ListFacesParams) (ListFacesRes, error)

ListFaces invokes listFaces operation.

List all faces.

GET /v2/faces

func (*Client) ListGuardrails

func (c *Client) ListGuardrails(ctx context.Context, params ListGuardrailsParams) (ListGuardrailsRes, error)

ListGuardrails invokes listGuardrails operation.

List all guardrails.

GET /v2/guardrails

func (*Client) ListObjectives

func (c *Client) ListObjectives(ctx context.Context, params ListObjectivesParams) (ListObjectivesRes, error)

ListObjectives invokes listObjectives operation.

List all objectives.

GET /v2/objectives

func (*Client) ListPals

func (c *Client) ListPals(ctx context.Context, params ListPalsParams) (ListPalsRes, error)

ListPals invokes listPals operation.

List all PALs.

GET /v2/pals

func (*Client) ListTools

func (c *Client) ListTools(ctx context.Context, params ListToolsParams) (ListToolsRes, error)

ListTools invokes listTools operation.

List all tools.

GET /v2/tools

func (*Client) ListVideos

func (c *Client) ListVideos(ctx context.Context, params ListVideosParams) (ListVideosRes, error)

ListVideos invokes listVideos operation.

List all videos.

GET /v2/videos

func (*Client) ListVoices

func (c *Client) ListVoices(ctx context.Context, params ListVoicesParams) (ListVoicesRes, error)

ListVoices invokes listVoices operation.

Lists stock voices available for image-to-face training.

GET /v2/voices

func (*Client) RenameFace

func (c *Client) RenameFace(ctx context.Context, request *RenameFaceReq, params RenameFaceParams) (RenameFaceRes, error)

RenameFace invokes renameFace operation.

Rename a face.

PATCH /v2/faces/{face_id}/name

func (*Client) RenameVideo

func (c *Client) RenameVideo(ctx context.Context, request *RenameVideoReq, params RenameVideoParams) (RenameVideoRes, error)

RenameVideo invokes renameVideo operation.

Rename a video.

PATCH /v2/videos/{video_id}/name

func (*Client) UpdateDeployment

func (c *Client) UpdateDeployment(ctx context.Context, request *UpdateDeploymentRequest, params UpdateDeploymentParams) (UpdateDeploymentRes, error)

UpdateDeployment invokes updateDeployment operation.

Update a deployment.

PATCH /v2/deployments/{deployment_id}

func (*Client) UpdateDocument

func (c *Client) UpdateDocument(ctx context.Context, request *UpdateDocumentRequest, params UpdateDocumentParams) (UpdateDocumentRes, error)

UpdateDocument invokes updateDocument operation.

Update document metadata.

PATCH /v2/documents/{document_id}

func (*Client) UpdateGuardrail

func (c *Client) UpdateGuardrail(ctx context.Context, request *UpdateGuardrailRequest, params UpdateGuardrailParams) (UpdateGuardrailRes, error)

UpdateGuardrail invokes updateGuardrail operation.

Update a guardrail.

PATCH /v2/guardrails/{guardrail_id}

func (*Client) UpdateObjectives

func (c *Client) UpdateObjectives(ctx context.Context, request *UpdateObjectivesRequest, params UpdateObjectivesParams) (UpdateObjectivesRes, error)

UpdateObjectives invokes updateObjectives operation.

Update objectives.

PATCH /v2/objectives/{objectives_id}

func (*Client) UpdatePal

func (c *Client) UpdatePal(ctx context.Context, request *UpdatePalRequest, params UpdatePalParams) (UpdatePalRes, error)

UpdatePal invokes updatePal operation.

Update a PAL.

PATCH /v2/pals/{pal_id}

func (*Client) UpdateTool

func (c *Client) UpdateTool(ctx context.Context, request *UpdateToolRequest, params UpdateToolParams) (UpdateToolRes, error)

UpdateTool invokes updateTool operation.

Update a tool.

PATCH /v2/tools/{tool_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 Conversation

type Conversation struct {
	ConversationID   OptString             `json:"conversation_id"`
	ConversationName OptString             `json:"conversation_name"`
	ConversationURL  OptURI                `json:"conversation_url"`
	Status           OptConversationStatus `json:"status"`
	PalID            OptString             `json:"pal_id"`
	FaceID           OptString             `json:"face_id"`
	CreatedAt        OptTimestamp          `json:"created_at"`
	EndedAt          OptTimestamp          `json:"ended_at"`
}

Ref: #/components/schemas/Conversation

func (*Conversation) Decode

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

Decode decodes Conversation from json.

func (*Conversation) Encode

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

Encode implements json.Marshaler.

func (*Conversation) GetConversationID

func (s *Conversation) GetConversationID() OptString

GetConversationID returns the value of ConversationID.

func (*Conversation) GetConversationName

func (s *Conversation) GetConversationName() OptString

GetConversationName returns the value of ConversationName.

func (*Conversation) GetConversationURL

func (s *Conversation) GetConversationURL() OptURI

GetConversationURL returns the value of ConversationURL.

func (*Conversation) GetCreatedAt

func (s *Conversation) GetCreatedAt() OptTimestamp

GetCreatedAt returns the value of CreatedAt.

func (*Conversation) GetEndedAt

func (s *Conversation) GetEndedAt() OptTimestamp

GetEndedAt returns the value of EndedAt.

func (*Conversation) GetFaceID

func (s *Conversation) GetFaceID() OptString

GetFaceID returns the value of FaceID.

func (*Conversation) GetPalID

func (s *Conversation) GetPalID() OptString

GetPalID returns the value of PalID.

func (*Conversation) GetStatus

func (s *Conversation) GetStatus() OptConversationStatus

GetStatus returns the value of Status.

func (*Conversation) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Conversation) SetConversationID

func (s *Conversation) SetConversationID(val OptString)

SetConversationID sets the value of ConversationID.

func (*Conversation) SetConversationName

func (s *Conversation) SetConversationName(val OptString)

SetConversationName sets the value of ConversationName.

func (*Conversation) SetConversationURL

func (s *Conversation) SetConversationURL(val OptURI)

SetConversationURL sets the value of ConversationURL.

func (*Conversation) SetCreatedAt

func (s *Conversation) SetCreatedAt(val OptTimestamp)

SetCreatedAt sets the value of CreatedAt.

func (*Conversation) SetEndedAt

func (s *Conversation) SetEndedAt(val OptTimestamp)

SetEndedAt sets the value of EndedAt.

func (*Conversation) SetFaceID

func (s *Conversation) SetFaceID(val OptString)

SetFaceID sets the value of FaceID.

func (*Conversation) SetPalID

func (s *Conversation) SetPalID(val OptString)

SetPalID sets the value of PalID.

func (*Conversation) SetStatus

func (s *Conversation) SetStatus(val OptConversationStatus)

SetStatus sets the value of Status.

func (*Conversation) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Conversation) Validate

func (s *Conversation) Validate() error

type ConversationProperties

type ConversationProperties struct {
	// Timeout in seconds.
	MaxCallDuration OptInt `json:"max_call_duration"`
	// Language code or "multilingual" for auto-detect.
	Language             OptString `json:"language"`
	EnableRecording      OptBool   `json:"enable_recording"`
	EnableClosedCaptions OptBool   `json:"enable_closed_captions"`
	ApplyGreenscreen     OptBool   `json:"apply_greenscreen"`
	// LiveKit WebSocket URL for custom transport.
	LivekitWsURL OptString `json:"livekit_ws_url"`
	// LiveKit JWT token for custom transport.
	LivekitRoomToken OptString `json:"livekit_room_token"`
}

Ref: #/components/schemas/ConversationProperties

func (*ConversationProperties) Decode

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

Decode decodes ConversationProperties from json.

func (*ConversationProperties) Encode

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

Encode implements json.Marshaler.

func (*ConversationProperties) GetApplyGreenscreen

func (s *ConversationProperties) GetApplyGreenscreen() OptBool

GetApplyGreenscreen returns the value of ApplyGreenscreen.

func (*ConversationProperties) GetEnableClosedCaptions

func (s *ConversationProperties) GetEnableClosedCaptions() OptBool

GetEnableClosedCaptions returns the value of EnableClosedCaptions.

func (*ConversationProperties) GetEnableRecording

func (s *ConversationProperties) GetEnableRecording() OptBool

GetEnableRecording returns the value of EnableRecording.

func (*ConversationProperties) GetLanguage

func (s *ConversationProperties) GetLanguage() OptString

GetLanguage returns the value of Language.

func (*ConversationProperties) GetLivekitRoomToken

func (s *ConversationProperties) GetLivekitRoomToken() OptString

GetLivekitRoomToken returns the value of LivekitRoomToken.

func (*ConversationProperties) GetLivekitWsURL

func (s *ConversationProperties) GetLivekitWsURL() OptString

GetLivekitWsURL returns the value of LivekitWsURL.

func (*ConversationProperties) GetMaxCallDuration

func (s *ConversationProperties) GetMaxCallDuration() OptInt

GetMaxCallDuration returns the value of MaxCallDuration.

func (*ConversationProperties) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationProperties) SetApplyGreenscreen

func (s *ConversationProperties) SetApplyGreenscreen(val OptBool)

SetApplyGreenscreen sets the value of ApplyGreenscreen.

func (*ConversationProperties) SetEnableClosedCaptions

func (s *ConversationProperties) SetEnableClosedCaptions(val OptBool)

SetEnableClosedCaptions sets the value of EnableClosedCaptions.

func (*ConversationProperties) SetEnableRecording

func (s *ConversationProperties) SetEnableRecording(val OptBool)

SetEnableRecording sets the value of EnableRecording.

func (*ConversationProperties) SetLanguage

func (s *ConversationProperties) SetLanguage(val OptString)

SetLanguage sets the value of Language.

func (*ConversationProperties) SetLivekitRoomToken

func (s *ConversationProperties) SetLivekitRoomToken(val OptString)

SetLivekitRoomToken sets the value of LivekitRoomToken.

func (*ConversationProperties) SetLivekitWsURL

func (s *ConversationProperties) SetLivekitWsURL(val OptString)

SetLivekitWsURL sets the value of LivekitWsURL.

func (*ConversationProperties) SetMaxCallDuration

func (s *ConversationProperties) SetMaxCallDuration(val OptInt)

SetMaxCallDuration sets the value of MaxCallDuration.

func (*ConversationProperties) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationStatus

type ConversationStatus string
const (
	ConversationStatusActive ConversationStatus = "active"
	ConversationStatusEnded  ConversationStatus = "ended"
)

func (ConversationStatus) AllValues

func (ConversationStatus) AllValues() []ConversationStatus

AllValues returns all ConversationStatus values.

func (*ConversationStatus) Decode

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

Decode decodes ConversationStatus from json.

func (ConversationStatus) Encode

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

Encode encodes ConversationStatus as json.

func (ConversationStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (ConversationStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ConversationStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationStatus) Validate

func (s ConversationStatus) Validate() error

type ConversationalFlowLayer

type ConversationalFlowLayer struct {
	TurnTakingEnabled OptBool   `json:"turn_taking_enabled"`
	Interruptibility  OptString `json:"interruptibility"`
	WakePhrases       []string  `json:"wake_phrases"`
}

Ref: #/components/schemas/ConversationalFlowLayer

func (*ConversationalFlowLayer) Decode

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

Decode decodes ConversationalFlowLayer from json.

func (*ConversationalFlowLayer) Encode

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

Encode implements json.Marshaler.

func (*ConversationalFlowLayer) GetInterruptibility

func (s *ConversationalFlowLayer) GetInterruptibility() OptString

GetInterruptibility returns the value of Interruptibility.

func (*ConversationalFlowLayer) GetTurnTakingEnabled

func (s *ConversationalFlowLayer) GetTurnTakingEnabled() OptBool

GetTurnTakingEnabled returns the value of TurnTakingEnabled.

func (*ConversationalFlowLayer) GetWakePhrases

func (s *ConversationalFlowLayer) GetWakePhrases() []string

GetWakePhrases returns the value of WakePhrases.

func (*ConversationalFlowLayer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationalFlowLayer) SetInterruptibility

func (s *ConversationalFlowLayer) SetInterruptibility(val OptString)

SetInterruptibility sets the value of Interruptibility.

func (*ConversationalFlowLayer) SetTurnTakingEnabled

func (s *ConversationalFlowLayer) SetTurnTakingEnabled(val OptBool)

SetTurnTakingEnabled sets the value of TurnTakingEnabled.

func (*ConversationalFlowLayer) SetWakePhrases

func (s *ConversationalFlowLayer) SetWakePhrases(val []string)

SetWakePhrases sets the value of WakePhrases.

func (*ConversationalFlowLayer) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateConversationBadRequest

type CreateConversationBadRequest Error

func (*CreateConversationBadRequest) Decode

Decode decodes CreateConversationBadRequest from json.

func (*CreateConversationBadRequest) Encode

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

Encode encodes CreateConversationBadRequest as json.

func (*CreateConversationBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateConversationBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateConversationRequest

type CreateConversationRequest struct {
	// PAL to use for the conversation.
	PalID string `json:"pal_id"`
	// Face to use for the conversation.
	FaceID string `json:"face_id"`
	// Optional name for the conversation.
	ConversationName OptString                 `json:"conversation_name"`
	Properties       OptConversationProperties `json:"properties"`
	// Additional context for the conversation.
	ConversationalContext OptString `json:"conversational_context"`
	// Custom greeting message.
	CustomGreeting OptString `json:"custom_greeting"`
	// Voice-only mode (no video).
	AudioOnly OptBool `json:"audio_only"`
	// Google Meet URL to join.
	MeetingURL OptString `json:"meeting_url"`
	// Webhook URL for conversation events.
	CallbackURL OptURI `json:"callback_url"`
	// Require authentication to join.
	RequireAuth OptBool `json:"require_auth"`
	// Memory store IDs for persistent context.
	MemoryStores []string `json:"memory_stores"`
	// Knowledge base document IDs.
	DocumentIds []string `json:"document_ids"`
	// Document category filters.
	DocumentTags []string `json:"document_tags"`
	// Additional custom fields.
	ExtraPayload OptCreateConversationRequestExtraPayload `json:"extra_payload"`
}

Ref: #/components/schemas/CreateConversationRequest

func (*CreateConversationRequest) Decode

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

Decode decodes CreateConversationRequest from json.

func (*CreateConversationRequest) Encode

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

Encode implements json.Marshaler.

func (*CreateConversationRequest) GetAudioOnly

func (s *CreateConversationRequest) GetAudioOnly() OptBool

GetAudioOnly returns the value of AudioOnly.

func (*CreateConversationRequest) GetCallbackURL

func (s *CreateConversationRequest) GetCallbackURL() OptURI

GetCallbackURL returns the value of CallbackURL.

func (*CreateConversationRequest) GetConversationName

func (s *CreateConversationRequest) GetConversationName() OptString

GetConversationName returns the value of ConversationName.

func (*CreateConversationRequest) GetConversationalContext

func (s *CreateConversationRequest) GetConversationalContext() OptString

GetConversationalContext returns the value of ConversationalContext.

func (*CreateConversationRequest) GetCustomGreeting

func (s *CreateConversationRequest) GetCustomGreeting() OptString

GetCustomGreeting returns the value of CustomGreeting.

func (*CreateConversationRequest) GetDocumentIds

func (s *CreateConversationRequest) GetDocumentIds() []string

GetDocumentIds returns the value of DocumentIds.

func (*CreateConversationRequest) GetDocumentTags

func (s *CreateConversationRequest) GetDocumentTags() []string

GetDocumentTags returns the value of DocumentTags.

func (*CreateConversationRequest) GetExtraPayload

GetExtraPayload returns the value of ExtraPayload.

func (*CreateConversationRequest) GetFaceID

func (s *CreateConversationRequest) GetFaceID() string

GetFaceID returns the value of FaceID.

func (*CreateConversationRequest) GetMeetingURL

func (s *CreateConversationRequest) GetMeetingURL() OptString

GetMeetingURL returns the value of MeetingURL.

func (*CreateConversationRequest) GetMemoryStores

func (s *CreateConversationRequest) GetMemoryStores() []string

GetMemoryStores returns the value of MemoryStores.

func (*CreateConversationRequest) GetPalID

func (s *CreateConversationRequest) GetPalID() string

GetPalID returns the value of PalID.

func (*CreateConversationRequest) GetProperties

GetProperties returns the value of Properties.

func (*CreateConversationRequest) GetRequireAuth

func (s *CreateConversationRequest) GetRequireAuth() OptBool

GetRequireAuth returns the value of RequireAuth.

func (*CreateConversationRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateConversationRequest) SetAudioOnly

func (s *CreateConversationRequest) SetAudioOnly(val OptBool)

SetAudioOnly sets the value of AudioOnly.

func (*CreateConversationRequest) SetCallbackURL

func (s *CreateConversationRequest) SetCallbackURL(val OptURI)

SetCallbackURL sets the value of CallbackURL.

func (*CreateConversationRequest) SetConversationName

func (s *CreateConversationRequest) SetConversationName(val OptString)

SetConversationName sets the value of ConversationName.

func (*CreateConversationRequest) SetConversationalContext

func (s *CreateConversationRequest) SetConversationalContext(val OptString)

SetConversationalContext sets the value of ConversationalContext.

func (*CreateConversationRequest) SetCustomGreeting

func (s *CreateConversationRequest) SetCustomGreeting(val OptString)

SetCustomGreeting sets the value of CustomGreeting.

func (*CreateConversationRequest) SetDocumentIds

func (s *CreateConversationRequest) SetDocumentIds(val []string)

SetDocumentIds sets the value of DocumentIds.

func (*CreateConversationRequest) SetDocumentTags

func (s *CreateConversationRequest) SetDocumentTags(val []string)

SetDocumentTags sets the value of DocumentTags.

func (*CreateConversationRequest) SetExtraPayload

SetExtraPayload sets the value of ExtraPayload.

func (*CreateConversationRequest) SetFaceID

func (s *CreateConversationRequest) SetFaceID(val string)

SetFaceID sets the value of FaceID.

func (*CreateConversationRequest) SetMeetingURL

func (s *CreateConversationRequest) SetMeetingURL(val OptString)

SetMeetingURL sets the value of MeetingURL.

func (*CreateConversationRequest) SetMemoryStores

func (s *CreateConversationRequest) SetMemoryStores(val []string)

SetMemoryStores sets the value of MemoryStores.

func (*CreateConversationRequest) SetPalID

func (s *CreateConversationRequest) SetPalID(val string)

SetPalID sets the value of PalID.

func (*CreateConversationRequest) SetProperties

SetProperties sets the value of Properties.

func (*CreateConversationRequest) SetRequireAuth

func (s *CreateConversationRequest) SetRequireAuth(val OptBool)

SetRequireAuth sets the value of RequireAuth.

func (*CreateConversationRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateConversationRequestExtraPayload

type CreateConversationRequestExtraPayload map[string]jx.Raw

Additional custom fields.

func (*CreateConversationRequestExtraPayload) Decode

Decode decodes CreateConversationRequestExtraPayload from json.

func (CreateConversationRequestExtraPayload) Encode

Encode implements json.Marshaler.

func (CreateConversationRequestExtraPayload) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateConversationRequestExtraPayload) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateConversationRes

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

type CreateConversationResponse

type CreateConversationResponse struct {
	ConversationID  OptString                           `json:"conversation_id"`
	ConversationURL OptURI                              `json:"conversation_url"`
	Status          OptCreateConversationResponseStatus `json:"status"`
	// Auth token if require_auth was true.
	MeetingToken OptString `json:"meeting_token"`
}

Ref: #/components/schemas/CreateConversationResponse

func (*CreateConversationResponse) Decode

Decode decodes CreateConversationResponse from json.

func (*CreateConversationResponse) Encode

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

Encode implements json.Marshaler.

func (*CreateConversationResponse) GetConversationID

func (s *CreateConversationResponse) GetConversationID() OptString

GetConversationID returns the value of ConversationID.

func (*CreateConversationResponse) GetConversationURL

func (s *CreateConversationResponse) GetConversationURL() OptURI

GetConversationURL returns the value of ConversationURL.

func (*CreateConversationResponse) GetMeetingToken

func (s *CreateConversationResponse) GetMeetingToken() OptString

GetMeetingToken returns the value of MeetingToken.

func (*CreateConversationResponse) GetStatus

GetStatus returns the value of Status.

func (*CreateConversationResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateConversationResponse) SetConversationID

func (s *CreateConversationResponse) SetConversationID(val OptString)

SetConversationID sets the value of ConversationID.

func (*CreateConversationResponse) SetConversationURL

func (s *CreateConversationResponse) SetConversationURL(val OptURI)

SetConversationURL sets the value of ConversationURL.

func (*CreateConversationResponse) SetMeetingToken

func (s *CreateConversationResponse) SetMeetingToken(val OptString)

SetMeetingToken sets the value of MeetingToken.

func (*CreateConversationResponse) SetStatus

SetStatus sets the value of Status.

func (*CreateConversationResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateConversationResponse) Validate

func (s *CreateConversationResponse) Validate() error

type CreateConversationResponseStatus

type CreateConversationResponseStatus string
const (
	CreateConversationResponseStatusActive CreateConversationResponseStatus = "active"
	CreateConversationResponseStatusEnded  CreateConversationResponseStatus = "ended"
)

func (CreateConversationResponseStatus) AllValues

AllValues returns all CreateConversationResponseStatus values.

func (*CreateConversationResponseStatus) Decode

Decode decodes CreateConversationResponseStatus from json.

func (CreateConversationResponseStatus) Encode

Encode encodes CreateConversationResponseStatus as json.

func (CreateConversationResponseStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateConversationResponseStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateConversationResponseStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateConversationResponseStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateConversationResponseStatus) Validate

type CreateConversationTooManyRequests

type CreateConversationTooManyRequests Error

func (*CreateConversationTooManyRequests) Decode

Decode decodes CreateConversationTooManyRequests from json.

func (*CreateConversationTooManyRequests) Encode

Encode encodes CreateConversationTooManyRequests as json.

func (*CreateConversationTooManyRequests) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateConversationTooManyRequests) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateConversationUnauthorized

type CreateConversationUnauthorized Error

func (*CreateConversationUnauthorized) Decode

Decode decodes CreateConversationUnauthorized from json.

func (*CreateConversationUnauthorized) Encode

Encode encodes CreateConversationUnauthorized as json.

func (*CreateConversationUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateConversationUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateDeploymentBadRequest

type CreateDeploymentBadRequest Error

func (*CreateDeploymentBadRequest) Decode

Decode decodes CreateDeploymentBadRequest from json.

func (*CreateDeploymentBadRequest) Encode

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

Encode encodes CreateDeploymentBadRequest as json.

func (*CreateDeploymentBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateDeploymentBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateDeploymentRequest

type CreateDeploymentRequest struct {
	PalID   string                         `json:"pal_id"`
	Channel CreateDeploymentRequestChannel `json:"channel"`
	Name    OptString                      `json:"name"`
	// Access restriction.
	Password OptString `json:"password"`
	// Visual and conversation settings.
	Customization OptCreateDeploymentRequestCustomization `json:"customization"`
	Limits        OptCreateDeploymentRequestLimits        `json:"limits"`
	// Origins for widget/embed.
	AllowedOrigins []string `json:"allowed_origins"`
}

Ref: #/components/schemas/CreateDeploymentRequest

func (*CreateDeploymentRequest) Decode

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

Decode decodes CreateDeploymentRequest from json.

func (*CreateDeploymentRequest) Encode

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

Encode implements json.Marshaler.

func (*CreateDeploymentRequest) GetAllowedOrigins

func (s *CreateDeploymentRequest) GetAllowedOrigins() []string

GetAllowedOrigins returns the value of AllowedOrigins.

func (*CreateDeploymentRequest) GetChannel

GetChannel returns the value of Channel.

func (*CreateDeploymentRequest) GetCustomization

GetCustomization returns the value of Customization.

func (*CreateDeploymentRequest) GetLimits

GetLimits returns the value of Limits.

func (*CreateDeploymentRequest) GetName

func (s *CreateDeploymentRequest) GetName() OptString

GetName returns the value of Name.

func (*CreateDeploymentRequest) GetPalID

func (s *CreateDeploymentRequest) GetPalID() string

GetPalID returns the value of PalID.

func (*CreateDeploymentRequest) GetPassword

func (s *CreateDeploymentRequest) GetPassword() OptString

GetPassword returns the value of Password.

func (*CreateDeploymentRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateDeploymentRequest) SetAllowedOrigins

func (s *CreateDeploymentRequest) SetAllowedOrigins(val []string)

SetAllowedOrigins sets the value of AllowedOrigins.

func (*CreateDeploymentRequest) SetChannel

SetChannel sets the value of Channel.

func (*CreateDeploymentRequest) SetCustomization

SetCustomization sets the value of Customization.

func (*CreateDeploymentRequest) SetLimits

SetLimits sets the value of Limits.

func (*CreateDeploymentRequest) SetName

func (s *CreateDeploymentRequest) SetName(val OptString)

SetName sets the value of Name.

func (*CreateDeploymentRequest) SetPalID

func (s *CreateDeploymentRequest) SetPalID(val string)

SetPalID sets the value of PalID.

func (*CreateDeploymentRequest) SetPassword

func (s *CreateDeploymentRequest) SetPassword(val OptString)

SetPassword sets the value of Password.

func (*CreateDeploymentRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateDeploymentRequest) Validate

func (s *CreateDeploymentRequest) Validate() error

type CreateDeploymentRequestChannel

type CreateDeploymentRequestChannel string
const (
	CreateDeploymentRequestChannelWidget      CreateDeploymentRequestChannel = "widget"
	CreateDeploymentRequestChannelEmbed       CreateDeploymentRequestChannel = "embed"
	CreateDeploymentRequestChannelLandingPage CreateDeploymentRequestChannel = "landing-page"
)

func (CreateDeploymentRequestChannel) AllValues

AllValues returns all CreateDeploymentRequestChannel values.

func (*CreateDeploymentRequestChannel) Decode

Decode decodes CreateDeploymentRequestChannel from json.

func (CreateDeploymentRequestChannel) Encode

Encode encodes CreateDeploymentRequestChannel as json.

func (CreateDeploymentRequestChannel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateDeploymentRequestChannel) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateDeploymentRequestChannel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateDeploymentRequestChannel) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateDeploymentRequestChannel) Validate

type CreateDeploymentRequestCustomization

type CreateDeploymentRequestCustomization map[string]jx.Raw

Visual and conversation settings.

func (*CreateDeploymentRequestCustomization) Decode

Decode decodes CreateDeploymentRequestCustomization from json.

func (CreateDeploymentRequestCustomization) Encode

Encode implements json.Marshaler.

func (CreateDeploymentRequestCustomization) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateDeploymentRequestCustomization) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateDeploymentRequestLimits

type CreateDeploymentRequestLimits struct {
	MaxCalls    OptInt `json:"max_calls"`
	MaxDuration OptInt `json:"max_duration"`
}

func (*CreateDeploymentRequestLimits) Decode

Decode decodes CreateDeploymentRequestLimits from json.

func (*CreateDeploymentRequestLimits) Encode

Encode implements json.Marshaler.

func (*CreateDeploymentRequestLimits) GetMaxCalls

func (s *CreateDeploymentRequestLimits) GetMaxCalls() OptInt

GetMaxCalls returns the value of MaxCalls.

func (*CreateDeploymentRequestLimits) GetMaxDuration

func (s *CreateDeploymentRequestLimits) GetMaxDuration() OptInt

GetMaxDuration returns the value of MaxDuration.

func (*CreateDeploymentRequestLimits) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateDeploymentRequestLimits) SetMaxCalls

func (s *CreateDeploymentRequestLimits) SetMaxCalls(val OptInt)

SetMaxCalls sets the value of MaxCalls.

func (*CreateDeploymentRequestLimits) SetMaxDuration

func (s *CreateDeploymentRequestLimits) SetMaxDuration(val OptInt)

SetMaxDuration sets the value of MaxDuration.

func (*CreateDeploymentRequestLimits) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateDeploymentRes

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

type CreateDeploymentUnauthorized

type CreateDeploymentUnauthorized Error

func (*CreateDeploymentUnauthorized) Decode

Decode decodes CreateDeploymentUnauthorized from json.

func (*CreateDeploymentUnauthorized) Encode

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

Encode encodes CreateDeploymentUnauthorized as json.

func (*CreateDeploymentUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateDeploymentUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateDocumentBadRequest

type CreateDocumentBadRequest Error

func (*CreateDocumentBadRequest) Decode

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

Decode decodes CreateDocumentBadRequest from json.

func (*CreateDocumentBadRequest) Encode

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

Encode encodes CreateDocumentBadRequest as json.

func (*CreateDocumentBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateDocumentBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateDocumentRequest

type CreateDocumentRequest struct {
	// File URL or website to crawl.
	DocumentURL  url.URL                       `json:"document_url"`
	DocumentName OptString                     `json:"document_name"`
	CallbackURL  OptURI                        `json:"callback_url"`
	Tags         []string                      `json:"tags"`
	Crawl        OptCreateDocumentRequestCrawl `json:"crawl"`
}

Ref: #/components/schemas/CreateDocumentRequest

func (*CreateDocumentRequest) Decode

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

Decode decodes CreateDocumentRequest from json.

func (*CreateDocumentRequest) Encode

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

Encode implements json.Marshaler.

func (*CreateDocumentRequest) GetCallbackURL

func (s *CreateDocumentRequest) GetCallbackURL() OptURI

GetCallbackURL returns the value of CallbackURL.

func (*CreateDocumentRequest) GetCrawl

GetCrawl returns the value of Crawl.

func (*CreateDocumentRequest) GetDocumentName

func (s *CreateDocumentRequest) GetDocumentName() OptString

GetDocumentName returns the value of DocumentName.

func (*CreateDocumentRequest) GetDocumentURL

func (s *CreateDocumentRequest) GetDocumentURL() url.URL

GetDocumentURL returns the value of DocumentURL.

func (*CreateDocumentRequest) GetTags

func (s *CreateDocumentRequest) GetTags() []string

GetTags returns the value of Tags.

func (*CreateDocumentRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateDocumentRequest) SetCallbackURL

func (s *CreateDocumentRequest) SetCallbackURL(val OptURI)

SetCallbackURL sets the value of CallbackURL.

func (*CreateDocumentRequest) SetCrawl

SetCrawl sets the value of Crawl.

func (*CreateDocumentRequest) SetDocumentName

func (s *CreateDocumentRequest) SetDocumentName(val OptString)

SetDocumentName sets the value of DocumentName.

func (*CreateDocumentRequest) SetDocumentURL

func (s *CreateDocumentRequest) SetDocumentURL(val url.URL)

SetDocumentURL sets the value of DocumentURL.

func (*CreateDocumentRequest) SetTags

func (s *CreateDocumentRequest) SetTags(val []string)

SetTags sets the value of Tags.

func (*CreateDocumentRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateDocumentRequest) Validate

func (s *CreateDocumentRequest) Validate() error

type CreateDocumentRequestCrawl

type CreateDocumentRequestCrawl struct {
	// Link levels to crawl.
	Depth    OptInt `json:"depth"`
	MaxPages OptInt `json:"max_pages"`
}

func (*CreateDocumentRequestCrawl) Decode

Decode decodes CreateDocumentRequestCrawl from json.

func (*CreateDocumentRequestCrawl) Encode

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

Encode implements json.Marshaler.

func (*CreateDocumentRequestCrawl) GetDepth

func (s *CreateDocumentRequestCrawl) GetDepth() OptInt

GetDepth returns the value of Depth.

func (*CreateDocumentRequestCrawl) GetMaxPages

func (s *CreateDocumentRequestCrawl) GetMaxPages() OptInt

GetMaxPages returns the value of MaxPages.

func (*CreateDocumentRequestCrawl) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateDocumentRequestCrawl) SetDepth

func (s *CreateDocumentRequestCrawl) SetDepth(val OptInt)

SetDepth sets the value of Depth.

func (*CreateDocumentRequestCrawl) SetMaxPages

func (s *CreateDocumentRequestCrawl) SetMaxPages(val OptInt)

SetMaxPages sets the value of MaxPages.

func (*CreateDocumentRequestCrawl) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateDocumentRequestCrawl) Validate

func (s *CreateDocumentRequestCrawl) Validate() error

type CreateDocumentRes

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

type CreateDocumentResponse

type CreateDocumentResponse struct {
	DocumentID OptString                       `json:"document_id"`
	Status     OptCreateDocumentResponseStatus `json:"status"`
	CreatedAt  OptTimestamp                    `json:"created_at"`
}

Ref: #/components/schemas/CreateDocumentResponse

func (*CreateDocumentResponse) Decode

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

Decode decodes CreateDocumentResponse from json.

func (*CreateDocumentResponse) Encode

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

Encode implements json.Marshaler.

func (*CreateDocumentResponse) GetCreatedAt

func (s *CreateDocumentResponse) GetCreatedAt() OptTimestamp

GetCreatedAt returns the value of CreatedAt.

func (*CreateDocumentResponse) GetDocumentID

func (s *CreateDocumentResponse) GetDocumentID() OptString

GetDocumentID returns the value of DocumentID.

func (*CreateDocumentResponse) GetStatus

GetStatus returns the value of Status.

func (*CreateDocumentResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateDocumentResponse) SetCreatedAt

func (s *CreateDocumentResponse) SetCreatedAt(val OptTimestamp)

SetCreatedAt sets the value of CreatedAt.

func (*CreateDocumentResponse) SetDocumentID

func (s *CreateDocumentResponse) SetDocumentID(val OptString)

SetDocumentID sets the value of DocumentID.

func (*CreateDocumentResponse) SetStatus

SetStatus sets the value of Status.

func (*CreateDocumentResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateDocumentResponse) Validate

func (s *CreateDocumentResponse) Validate() error

type CreateDocumentResponseStatus

type CreateDocumentResponseStatus string
const (
	CreateDocumentResponseStatusStarted    CreateDocumentResponseStatus = "started"
	CreateDocumentResponseStatusProcessing CreateDocumentResponseStatus = "processing"
	CreateDocumentResponseStatusReady      CreateDocumentResponseStatus = "ready"
	CreateDocumentResponseStatusError      CreateDocumentResponseStatus = "error"
	CreateDocumentResponseStatusRecrawling CreateDocumentResponseStatus = "recrawling"
)

func (CreateDocumentResponseStatus) AllValues

AllValues returns all CreateDocumentResponseStatus values.

func (*CreateDocumentResponseStatus) Decode

Decode decodes CreateDocumentResponseStatus from json.

func (CreateDocumentResponseStatus) Encode

Encode encodes CreateDocumentResponseStatus as json.

func (CreateDocumentResponseStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateDocumentResponseStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateDocumentResponseStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateDocumentResponseStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateDocumentResponseStatus) Validate

func (s CreateDocumentResponseStatus) Validate() error

type CreateDocumentUnauthorized

type CreateDocumentUnauthorized Error

func (*CreateDocumentUnauthorized) Decode

Decode decodes CreateDocumentUnauthorized from json.

func (*CreateDocumentUnauthorized) Encode

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

Encode encodes CreateDocumentUnauthorized as json.

func (*CreateDocumentUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateDocumentUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateFaceBadRequest

type CreateFaceBadRequest Error

func (*CreateFaceBadRequest) Decode

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

Decode decodes CreateFaceBadRequest from json.

func (*CreateFaceBadRequest) Encode

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

Encode encodes CreateFaceBadRequest as json.

func (*CreateFaceBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateFaceBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateFaceRequest

type CreateFaceRequest struct {
	// Name for the face.
	FaceName OptString `json:"face_name"`
	// Video URL for training (presigned S3 or direct download).
	TrainVideoURL OptURI `json:"train_video_url"`
	// Image URL for training (alternative to video).
	TrainImageURL OptURI `json:"train_image_url"`
	// Stock voice slug (required for image training).
	VoiceName OptString `json:"voice_name"`
	// Model version.
	ModelName OptString `json:"model_name"`
	// Auto-adjust image quality.
	AutoFixTrainingImage OptBool `json:"auto_fix_training_image"`
	// Webhook for training completion.
	CallbackURL OptURI                         `json:"callback_url"`
	Properties  OptCreateFaceRequestProperties `json:"properties"`
}

Ref: #/components/schemas/CreateFaceRequest

func (*CreateFaceRequest) Decode

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

Decode decodes CreateFaceRequest from json.

func (*CreateFaceRequest) Encode

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

Encode implements json.Marshaler.

func (*CreateFaceRequest) GetAutoFixTrainingImage

func (s *CreateFaceRequest) GetAutoFixTrainingImage() OptBool

GetAutoFixTrainingImage returns the value of AutoFixTrainingImage.

func (*CreateFaceRequest) GetCallbackURL

func (s *CreateFaceRequest) GetCallbackURL() OptURI

GetCallbackURL returns the value of CallbackURL.

func (*CreateFaceRequest) GetFaceName

func (s *CreateFaceRequest) GetFaceName() OptString

GetFaceName returns the value of FaceName.

func (*CreateFaceRequest) GetModelName

func (s *CreateFaceRequest) GetModelName() OptString

GetModelName returns the value of ModelName.

func (*CreateFaceRequest) GetProperties

GetProperties returns the value of Properties.

func (*CreateFaceRequest) GetTrainImageURL

func (s *CreateFaceRequest) GetTrainImageURL() OptURI

GetTrainImageURL returns the value of TrainImageURL.

func (*CreateFaceRequest) GetTrainVideoURL

func (s *CreateFaceRequest) GetTrainVideoURL() OptURI

GetTrainVideoURL returns the value of TrainVideoURL.

func (*CreateFaceRequest) GetVoiceName

func (s *CreateFaceRequest) GetVoiceName() OptString

GetVoiceName returns the value of VoiceName.

func (*CreateFaceRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateFaceRequest) SetAutoFixTrainingImage

func (s *CreateFaceRequest) SetAutoFixTrainingImage(val OptBool)

SetAutoFixTrainingImage sets the value of AutoFixTrainingImage.

func (*CreateFaceRequest) SetCallbackURL

func (s *CreateFaceRequest) SetCallbackURL(val OptURI)

SetCallbackURL sets the value of CallbackURL.

func (*CreateFaceRequest) SetFaceName

func (s *CreateFaceRequest) SetFaceName(val OptString)

SetFaceName sets the value of FaceName.

func (*CreateFaceRequest) SetModelName

func (s *CreateFaceRequest) SetModelName(val OptString)

SetModelName sets the value of ModelName.

func (*CreateFaceRequest) SetProperties

func (s *CreateFaceRequest) SetProperties(val OptCreateFaceRequestProperties)

SetProperties sets the value of Properties.

func (*CreateFaceRequest) SetTrainImageURL

func (s *CreateFaceRequest) SetTrainImageURL(val OptURI)

SetTrainImageURL sets the value of TrainImageURL.

func (*CreateFaceRequest) SetTrainVideoURL

func (s *CreateFaceRequest) SetTrainVideoURL(val OptURI)

SetTrainVideoURL sets the value of TrainVideoURL.

func (*CreateFaceRequest) SetVoiceName

func (s *CreateFaceRequest) SetVoiceName(val OptString)

SetVoiceName sets the value of VoiceName.

func (*CreateFaceRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateFaceRequestProperties

type CreateFaceRequestProperties struct {
	BackgroundGreenScreen OptBool `json:"background_green_screen"`
}

func (*CreateFaceRequestProperties) Decode

Decode decodes CreateFaceRequestProperties from json.

func (*CreateFaceRequestProperties) Encode

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

Encode implements json.Marshaler.

func (*CreateFaceRequestProperties) GetBackgroundGreenScreen

func (s *CreateFaceRequestProperties) GetBackgroundGreenScreen() OptBool

GetBackgroundGreenScreen returns the value of BackgroundGreenScreen.

func (*CreateFaceRequestProperties) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateFaceRequestProperties) SetBackgroundGreenScreen

func (s *CreateFaceRequestProperties) SetBackgroundGreenScreen(val OptBool)

SetBackgroundGreenScreen sets the value of BackgroundGreenScreen.

func (*CreateFaceRequestProperties) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateFaceRes

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

type CreateFaceResponse

type CreateFaceResponse struct {
	FaceID OptString                   `json:"face_id"`
	Status OptCreateFaceResponseStatus `json:"status"`
}

Ref: #/components/schemas/CreateFaceResponse

func (*CreateFaceResponse) Decode

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

Decode decodes CreateFaceResponse from json.

func (*CreateFaceResponse) Encode

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

Encode implements json.Marshaler.

func (*CreateFaceResponse) GetFaceID

func (s *CreateFaceResponse) GetFaceID() OptString

GetFaceID returns the value of FaceID.

func (*CreateFaceResponse) GetStatus

GetStatus returns the value of Status.

func (*CreateFaceResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateFaceResponse) SetFaceID

func (s *CreateFaceResponse) SetFaceID(val OptString)

SetFaceID sets the value of FaceID.

func (*CreateFaceResponse) SetStatus

SetStatus sets the value of Status.

func (*CreateFaceResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateFaceResponse) Validate

func (s *CreateFaceResponse) Validate() error

type CreateFaceResponseStatus

type CreateFaceResponseStatus string
const (
	CreateFaceResponseStatusStarted   CreateFaceResponseStatus = "started"
	CreateFaceResponseStatusCompleted CreateFaceResponseStatus = "completed"
	CreateFaceResponseStatusError     CreateFaceResponseStatus = "error"
)

func (CreateFaceResponseStatus) AllValues

AllValues returns all CreateFaceResponseStatus values.

func (*CreateFaceResponseStatus) Decode

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

Decode decodes CreateFaceResponseStatus from json.

func (CreateFaceResponseStatus) Encode

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

Encode encodes CreateFaceResponseStatus as json.

func (CreateFaceResponseStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateFaceResponseStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateFaceResponseStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateFaceResponseStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateFaceResponseStatus) Validate

func (s CreateFaceResponseStatus) Validate() error

type CreateFaceUnauthorized

type CreateFaceUnauthorized Error

func (*CreateFaceUnauthorized) Decode

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

Decode decodes CreateFaceUnauthorized from json.

func (*CreateFaceUnauthorized) Encode

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

Encode encodes CreateFaceUnauthorized as json.

func (*CreateFaceUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateFaceUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateGuardrailBadRequest

type CreateGuardrailBadRequest Error

func (*CreateGuardrailBadRequest) Decode

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

Decode decodes CreateGuardrailBadRequest from json.

func (*CreateGuardrailBadRequest) Encode

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

Encode encodes CreateGuardrailBadRequest as json.

func (*CreateGuardrailBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateGuardrailBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateGuardrailRequest

type CreateGuardrailRequest struct {
	GuardrailName string `json:"guardrail_name"`
	// Behavioral boundary definition.
	GuardrailPrompt string                            `json:"guardrail_prompt"`
	Modality        OptCreateGuardrailRequestModality `json:"modality"`
	CallbackURL     OptURI                            `json:"callback_url"`
	Tags            []string                          `json:"tags"`
	// Enable real-time events when triggered.
	AppMessage OptBool `json:"app_message"`
}

Ref: #/components/schemas/CreateGuardrailRequest

func (*CreateGuardrailRequest) Decode

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

Decode decodes CreateGuardrailRequest from json.

func (*CreateGuardrailRequest) Encode

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

Encode implements json.Marshaler.

func (*CreateGuardrailRequest) GetAppMessage

func (s *CreateGuardrailRequest) GetAppMessage() OptBool

GetAppMessage returns the value of AppMessage.

func (*CreateGuardrailRequest) GetCallbackURL

func (s *CreateGuardrailRequest) GetCallbackURL() OptURI

GetCallbackURL returns the value of CallbackURL.

func (*CreateGuardrailRequest) GetGuardrailName

func (s *CreateGuardrailRequest) GetGuardrailName() string

GetGuardrailName returns the value of GuardrailName.

func (*CreateGuardrailRequest) GetGuardrailPrompt

func (s *CreateGuardrailRequest) GetGuardrailPrompt() string

GetGuardrailPrompt returns the value of GuardrailPrompt.

func (*CreateGuardrailRequest) GetModality

GetModality returns the value of Modality.

func (*CreateGuardrailRequest) GetTags

func (s *CreateGuardrailRequest) GetTags() []string

GetTags returns the value of Tags.

func (*CreateGuardrailRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateGuardrailRequest) SetAppMessage

func (s *CreateGuardrailRequest) SetAppMessage(val OptBool)

SetAppMessage sets the value of AppMessage.

func (*CreateGuardrailRequest) SetCallbackURL

func (s *CreateGuardrailRequest) SetCallbackURL(val OptURI)

SetCallbackURL sets the value of CallbackURL.

func (*CreateGuardrailRequest) SetGuardrailName

func (s *CreateGuardrailRequest) SetGuardrailName(val string)

SetGuardrailName sets the value of GuardrailName.

func (*CreateGuardrailRequest) SetGuardrailPrompt

func (s *CreateGuardrailRequest) SetGuardrailPrompt(val string)

SetGuardrailPrompt sets the value of GuardrailPrompt.

func (*CreateGuardrailRequest) SetModality

SetModality sets the value of Modality.

func (*CreateGuardrailRequest) SetTags

func (s *CreateGuardrailRequest) SetTags(val []string)

SetTags sets the value of Tags.

func (*CreateGuardrailRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateGuardrailRequest) Validate

func (s *CreateGuardrailRequest) Validate() error

type CreateGuardrailRequestModality

type CreateGuardrailRequestModality string
const (
	CreateGuardrailRequestModalityVerbal CreateGuardrailRequestModality = "verbal"
	CreateGuardrailRequestModalityVisual CreateGuardrailRequestModality = "visual"
)

func (CreateGuardrailRequestModality) AllValues

AllValues returns all CreateGuardrailRequestModality values.

func (*CreateGuardrailRequestModality) Decode

Decode decodes CreateGuardrailRequestModality from json.

func (CreateGuardrailRequestModality) Encode

Encode encodes CreateGuardrailRequestModality as json.

func (CreateGuardrailRequestModality) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateGuardrailRequestModality) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateGuardrailRequestModality) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateGuardrailRequestModality) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateGuardrailRequestModality) Validate

type CreateGuardrailRes

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

type CreateGuardrailUnauthorized

type CreateGuardrailUnauthorized Error

func (*CreateGuardrailUnauthorized) Decode

Decode decodes CreateGuardrailUnauthorized from json.

func (*CreateGuardrailUnauthorized) Encode

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

Encode encodes CreateGuardrailUnauthorized as json.

func (*CreateGuardrailUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateGuardrailUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateObjectivesBadRequest

type CreateObjectivesBadRequest Error

func (*CreateObjectivesBadRequest) Decode

Decode decodes CreateObjectivesBadRequest from json.

func (*CreateObjectivesBadRequest) Encode

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

Encode encodes CreateObjectivesBadRequest as json.

func (*CreateObjectivesBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateObjectivesBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateObjectivesRequest

type CreateObjectivesRequest struct {
	Objectives []ObjectiveItem `json:"objectives"`
}

Ref: #/components/schemas/CreateObjectivesRequest

func (*CreateObjectivesRequest) Decode

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

Decode decodes CreateObjectivesRequest from json.

func (*CreateObjectivesRequest) Encode

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

Encode implements json.Marshaler.

func (*CreateObjectivesRequest) GetObjectives

func (s *CreateObjectivesRequest) GetObjectives() []ObjectiveItem

GetObjectives returns the value of Objectives.

func (*CreateObjectivesRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateObjectivesRequest) SetObjectives

func (s *CreateObjectivesRequest) SetObjectives(val []ObjectiveItem)

SetObjectives sets the value of Objectives.

func (*CreateObjectivesRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateObjectivesRequest) Validate

func (s *CreateObjectivesRequest) Validate() error

type CreateObjectivesRes

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

type CreateObjectivesResponse

type CreateObjectivesResponse struct {
	ObjectivesID OptString    `json:"objectives_id"`
	Status       OptString    `json:"status"`
	CreatedAt    OptTimestamp `json:"created_at"`
}

Ref: #/components/schemas/CreateObjectivesResponse

func (*CreateObjectivesResponse) Decode

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

Decode decodes CreateObjectivesResponse from json.

func (*CreateObjectivesResponse) Encode

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

Encode implements json.Marshaler.

func (*CreateObjectivesResponse) GetCreatedAt

func (s *CreateObjectivesResponse) GetCreatedAt() OptTimestamp

GetCreatedAt returns the value of CreatedAt.

func (*CreateObjectivesResponse) GetObjectivesID

func (s *CreateObjectivesResponse) GetObjectivesID() OptString

GetObjectivesID returns the value of ObjectivesID.

func (*CreateObjectivesResponse) GetStatus

func (s *CreateObjectivesResponse) GetStatus() OptString

GetStatus returns the value of Status.

func (*CreateObjectivesResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateObjectivesResponse) SetCreatedAt

func (s *CreateObjectivesResponse) SetCreatedAt(val OptTimestamp)

SetCreatedAt sets the value of CreatedAt.

func (*CreateObjectivesResponse) SetObjectivesID

func (s *CreateObjectivesResponse) SetObjectivesID(val OptString)

SetObjectivesID sets the value of ObjectivesID.

func (*CreateObjectivesResponse) SetStatus

func (s *CreateObjectivesResponse) SetStatus(val OptString)

SetStatus sets the value of Status.

func (*CreateObjectivesResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateObjectivesUnauthorized

type CreateObjectivesUnauthorized Error

func (*CreateObjectivesUnauthorized) Decode

Decode decodes CreateObjectivesUnauthorized from json.

func (*CreateObjectivesUnauthorized) Encode

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

Encode encodes CreateObjectivesUnauthorized as json.

func (*CreateObjectivesUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateObjectivesUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreatePalBadRequest

type CreatePalBadRequest Error

func (*CreatePalBadRequest) Decode

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

Decode decodes CreatePalBadRequest from json.

func (*CreatePalBadRequest) Encode

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

Encode encodes CreatePalBadRequest as json.

func (*CreatePalBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreatePalBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreatePalRequest

type CreatePalRequest struct {
	// Name for the PAL.
	PalName string `json:"pal_name"`
	// Default face for this PAL.
	DefaultFaceID string `json:"default_face_id"`
	// LLM system instructions (required unless pipeline_mode is echo).
	SystemPrompt OptString `json:"system_prompt"`
	// Processing mode.
	PipelineMode OptCreatePalRequestPipelineMode `json:"pipeline_mode"`
	// Knowledge base document IDs.
	DocumentIds []string `json:"document_ids"`
	// Document category tags.
	DocumentTags []string `json:"document_tags"`
	// Objectives configuration ID.
	ObjectivesID OptString `json:"objectives_id"`
	// Guardrail IDs to apply.
	GuardrailIds []string `json:"guardrail_ids"`
	// Guardrail category tags.
	GuardrailTags []string     `json:"guardrail_tags"`
	Layers        OptPalLayers `json:"layers"`
}

Ref: #/components/schemas/CreatePalRequest

func (*CreatePalRequest) Decode

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

Decode decodes CreatePalRequest from json.

func (*CreatePalRequest) Encode

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

Encode implements json.Marshaler.

func (*CreatePalRequest) GetDefaultFaceID

func (s *CreatePalRequest) GetDefaultFaceID() string

GetDefaultFaceID returns the value of DefaultFaceID.

func (*CreatePalRequest) GetDocumentIds

func (s *CreatePalRequest) GetDocumentIds() []string

GetDocumentIds returns the value of DocumentIds.

func (*CreatePalRequest) GetDocumentTags

func (s *CreatePalRequest) GetDocumentTags() []string

GetDocumentTags returns the value of DocumentTags.

func (*CreatePalRequest) GetGuardrailIds

func (s *CreatePalRequest) GetGuardrailIds() []string

GetGuardrailIds returns the value of GuardrailIds.

func (*CreatePalRequest) GetGuardrailTags

func (s *CreatePalRequest) GetGuardrailTags() []string

GetGuardrailTags returns the value of GuardrailTags.

func (*CreatePalRequest) GetLayers

func (s *CreatePalRequest) GetLayers() OptPalLayers

GetLayers returns the value of Layers.

func (*CreatePalRequest) GetObjectivesID

func (s *CreatePalRequest) GetObjectivesID() OptString

GetObjectivesID returns the value of ObjectivesID.

func (*CreatePalRequest) GetPalName

func (s *CreatePalRequest) GetPalName() string

GetPalName returns the value of PalName.

func (*CreatePalRequest) GetPipelineMode

GetPipelineMode returns the value of PipelineMode.

func (*CreatePalRequest) GetSystemPrompt

func (s *CreatePalRequest) GetSystemPrompt() OptString

GetSystemPrompt returns the value of SystemPrompt.

func (*CreatePalRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreatePalRequest) SetDefaultFaceID

func (s *CreatePalRequest) SetDefaultFaceID(val string)

SetDefaultFaceID sets the value of DefaultFaceID.

func (*CreatePalRequest) SetDocumentIds

func (s *CreatePalRequest) SetDocumentIds(val []string)

SetDocumentIds sets the value of DocumentIds.

func (*CreatePalRequest) SetDocumentTags

func (s *CreatePalRequest) SetDocumentTags(val []string)

SetDocumentTags sets the value of DocumentTags.

func (*CreatePalRequest) SetGuardrailIds

func (s *CreatePalRequest) SetGuardrailIds(val []string)

SetGuardrailIds sets the value of GuardrailIds.

func (*CreatePalRequest) SetGuardrailTags

func (s *CreatePalRequest) SetGuardrailTags(val []string)

SetGuardrailTags sets the value of GuardrailTags.

func (*CreatePalRequest) SetLayers

func (s *CreatePalRequest) SetLayers(val OptPalLayers)

SetLayers sets the value of Layers.

func (*CreatePalRequest) SetObjectivesID

func (s *CreatePalRequest) SetObjectivesID(val OptString)

SetObjectivesID sets the value of ObjectivesID.

func (*CreatePalRequest) SetPalName

func (s *CreatePalRequest) SetPalName(val string)

SetPalName sets the value of PalName.

func (*CreatePalRequest) SetPipelineMode

func (s *CreatePalRequest) SetPipelineMode(val OptCreatePalRequestPipelineMode)

SetPipelineMode sets the value of PipelineMode.

func (*CreatePalRequest) SetSystemPrompt

func (s *CreatePalRequest) SetSystemPrompt(val OptString)

SetSystemPrompt sets the value of SystemPrompt.

func (*CreatePalRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreatePalRequest) Validate

func (s *CreatePalRequest) Validate() error

type CreatePalRequestPipelineMode

type CreatePalRequestPipelineMode string

Processing mode.

const (
	CreatePalRequestPipelineModeFull CreatePalRequestPipelineMode = "full"
	CreatePalRequestPipelineModeEcho CreatePalRequestPipelineMode = "echo"
)

func (CreatePalRequestPipelineMode) AllValues

AllValues returns all CreatePalRequestPipelineMode values.

func (*CreatePalRequestPipelineMode) Decode

Decode decodes CreatePalRequestPipelineMode from json.

func (CreatePalRequestPipelineMode) Encode

Encode encodes CreatePalRequestPipelineMode as json.

func (CreatePalRequestPipelineMode) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreatePalRequestPipelineMode) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreatePalRequestPipelineMode) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreatePalRequestPipelineMode) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreatePalRequestPipelineMode) Validate

func (s CreatePalRequestPipelineMode) Validate() error

type CreatePalRes

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

type CreatePalResponse

type CreatePalResponse struct {
	PalID OptString `json:"pal_id"`
}

Ref: #/components/schemas/CreatePalResponse

func (*CreatePalResponse) Decode

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

Decode decodes CreatePalResponse from json.

func (*CreatePalResponse) Encode

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

Encode implements json.Marshaler.

func (*CreatePalResponse) GetPalID

func (s *CreatePalResponse) GetPalID() OptString

GetPalID returns the value of PalID.

func (*CreatePalResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreatePalResponse) SetPalID

func (s *CreatePalResponse) SetPalID(val OptString)

SetPalID sets the value of PalID.

func (*CreatePalResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreatePalUnauthorized

type CreatePalUnauthorized Error

func (*CreatePalUnauthorized) Decode

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

Decode decodes CreatePalUnauthorized from json.

func (*CreatePalUnauthorized) Encode

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

Encode encodes CreatePalUnauthorized as json.

func (*CreatePalUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreatePalUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateToolBadRequest

type CreateToolBadRequest Error

func (*CreateToolBadRequest) Decode

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

Decode decodes CreateToolBadRequest from json.

func (*CreateToolBadRequest) Encode

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

Encode encodes CreateToolBadRequest as json.

func (*CreateToolBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateToolBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateToolRequest

type CreateToolRequest struct {
	// Function identifier.
	Name string `json:"name"`
	// Natural language explanation.
	Description string `json:"description"`
	// JSON Schema for tool arguments.
	Parameters  OptCreateToolRequestParameters  `json:"parameters"`
	Delivery    OptCreateToolRequestDelivery    `json:"delivery"`
	TriggerType OptCreateToolRequestTriggerType `json:"trigger_type"`
	Origin      OptCreateToolRequestOrigin      `json:"origin"`
	OnCall      OptCreateToolRequestOnCall      `json:"on_call"`
	OnResolve   OptCreateToolRequestOnResolve   `json:"on_resolve"`
	// Required if on_call is static_filler.
	StaticFiller OptString `json:"static_filler"`
	Tags         []string  `json:"tags"`
}

Ref: #/components/schemas/CreateToolRequest

func (*CreateToolRequest) Decode

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

Decode decodes CreateToolRequest from json.

func (*CreateToolRequest) Encode

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

Encode implements json.Marshaler.

func (*CreateToolRequest) GetDelivery

GetDelivery returns the value of Delivery.

func (*CreateToolRequest) GetDescription

func (s *CreateToolRequest) GetDescription() string

GetDescription returns the value of Description.

func (*CreateToolRequest) GetName

func (s *CreateToolRequest) GetName() string

GetName returns the value of Name.

func (*CreateToolRequest) GetOnCall

GetOnCall returns the value of OnCall.

func (*CreateToolRequest) GetOnResolve

GetOnResolve returns the value of OnResolve.

func (*CreateToolRequest) GetOrigin

GetOrigin returns the value of Origin.

func (*CreateToolRequest) GetParameters

GetParameters returns the value of Parameters.

func (*CreateToolRequest) GetStaticFiller

func (s *CreateToolRequest) GetStaticFiller() OptString

GetStaticFiller returns the value of StaticFiller.

func (*CreateToolRequest) GetTags

func (s *CreateToolRequest) GetTags() []string

GetTags returns the value of Tags.

func (*CreateToolRequest) GetTriggerType

GetTriggerType returns the value of TriggerType.

func (*CreateToolRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateToolRequest) SetDelivery

func (s *CreateToolRequest) SetDelivery(val OptCreateToolRequestDelivery)

SetDelivery sets the value of Delivery.

func (*CreateToolRequest) SetDescription

func (s *CreateToolRequest) SetDescription(val string)

SetDescription sets the value of Description.

func (*CreateToolRequest) SetName

func (s *CreateToolRequest) SetName(val string)

SetName sets the value of Name.

func (*CreateToolRequest) SetOnCall

SetOnCall sets the value of OnCall.

func (*CreateToolRequest) SetOnResolve

func (s *CreateToolRequest) SetOnResolve(val OptCreateToolRequestOnResolve)

SetOnResolve sets the value of OnResolve.

func (*CreateToolRequest) SetOrigin

SetOrigin sets the value of Origin.

func (*CreateToolRequest) SetParameters

func (s *CreateToolRequest) SetParameters(val OptCreateToolRequestParameters)

SetParameters sets the value of Parameters.

func (*CreateToolRequest) SetStaticFiller

func (s *CreateToolRequest) SetStaticFiller(val OptString)

SetStaticFiller sets the value of StaticFiller.

func (*CreateToolRequest) SetTags

func (s *CreateToolRequest) SetTags(val []string)

SetTags sets the value of Tags.

func (*CreateToolRequest) SetTriggerType

func (s *CreateToolRequest) SetTriggerType(val OptCreateToolRequestTriggerType)

SetTriggerType sets the value of TriggerType.

func (*CreateToolRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateToolRequest) Validate

func (s *CreateToolRequest) Validate() error

type CreateToolRequestDelivery

type CreateToolRequestDelivery struct {
	AppMessage OptBool                         `json:"app_message"`
	API        OptCreateToolRequestDeliveryAPI `json:"api"`
}

func (*CreateToolRequestDelivery) Decode

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

Decode decodes CreateToolRequestDelivery from json.

func (*CreateToolRequestDelivery) Encode

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

Encode implements json.Marshaler.

func (*CreateToolRequestDelivery) GetAPI

GetAPI returns the value of API.

func (*CreateToolRequestDelivery) GetAppMessage

func (s *CreateToolRequestDelivery) GetAppMessage() OptBool

GetAppMessage returns the value of AppMessage.

func (*CreateToolRequestDelivery) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateToolRequestDelivery) SetAPI

SetAPI sets the value of API.

func (*CreateToolRequestDelivery) SetAppMessage

func (s *CreateToolRequestDelivery) SetAppMessage(val OptBool)

SetAppMessage sets the value of AppMessage.

func (*CreateToolRequestDelivery) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateToolRequestDelivery) Validate

func (s *CreateToolRequestDelivery) Validate() error

type CreateToolRequestDeliveryAPI

type CreateToolRequestDeliveryAPI struct {
	URL       OptURI                                  `json:"url"`
	AuthType  OptCreateToolRequestDeliveryAPIAuthType `json:"auth_type"`
	AuthToken OptString                               `json:"auth_token"`
	Headers   OptCreateToolRequestDeliveryAPIHeaders  `json:"headers"`
}

func (*CreateToolRequestDeliveryAPI) Decode

Decode decodes CreateToolRequestDeliveryAPI from json.

func (*CreateToolRequestDeliveryAPI) Encode

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

Encode implements json.Marshaler.

func (*CreateToolRequestDeliveryAPI) GetAuthToken

func (s *CreateToolRequestDeliveryAPI) GetAuthToken() OptString

GetAuthToken returns the value of AuthToken.

func (*CreateToolRequestDeliveryAPI) GetAuthType

GetAuthType returns the value of AuthType.

func (*CreateToolRequestDeliveryAPI) GetHeaders

GetHeaders returns the value of Headers.

func (*CreateToolRequestDeliveryAPI) GetURL

GetURL returns the value of URL.

func (*CreateToolRequestDeliveryAPI) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateToolRequestDeliveryAPI) SetAuthToken

func (s *CreateToolRequestDeliveryAPI) SetAuthToken(val OptString)

SetAuthToken sets the value of AuthToken.

func (*CreateToolRequestDeliveryAPI) SetAuthType

SetAuthType sets the value of AuthType.

func (*CreateToolRequestDeliveryAPI) SetHeaders

SetHeaders sets the value of Headers.

func (*CreateToolRequestDeliveryAPI) SetURL

func (s *CreateToolRequestDeliveryAPI) SetURL(val OptURI)

SetURL sets the value of URL.

func (*CreateToolRequestDeliveryAPI) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateToolRequestDeliveryAPI) Validate

func (s *CreateToolRequestDeliveryAPI) Validate() error

type CreateToolRequestDeliveryAPIAuthType

type CreateToolRequestDeliveryAPIAuthType string
const (
	CreateToolRequestDeliveryAPIAuthTypeBearer CreateToolRequestDeliveryAPIAuthType = "bearer"
	CreateToolRequestDeliveryAPIAuthTypeBasic  CreateToolRequestDeliveryAPIAuthType = "basic"
	CreateToolRequestDeliveryAPIAuthTypeAPIKey CreateToolRequestDeliveryAPIAuthType = "api_key"
	CreateToolRequestDeliveryAPIAuthTypeHmac   CreateToolRequestDeliveryAPIAuthType = "hmac"
	CreateToolRequestDeliveryAPIAuthTypeOAuth2 CreateToolRequestDeliveryAPIAuthType = "oauth2"
)

func (CreateToolRequestDeliveryAPIAuthType) AllValues

AllValues returns all CreateToolRequestDeliveryAPIAuthType values.

func (*CreateToolRequestDeliveryAPIAuthType) Decode

Decode decodes CreateToolRequestDeliveryAPIAuthType from json.

func (CreateToolRequestDeliveryAPIAuthType) Encode

Encode encodes CreateToolRequestDeliveryAPIAuthType as json.

func (CreateToolRequestDeliveryAPIAuthType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateToolRequestDeliveryAPIAuthType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateToolRequestDeliveryAPIAuthType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateToolRequestDeliveryAPIAuthType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateToolRequestDeliveryAPIAuthType) Validate

type CreateToolRequestDeliveryAPIHeaders

type CreateToolRequestDeliveryAPIHeaders map[string]string

func (*CreateToolRequestDeliveryAPIHeaders) Decode

Decode decodes CreateToolRequestDeliveryAPIHeaders from json.

func (CreateToolRequestDeliveryAPIHeaders) Encode

Encode implements json.Marshaler.

func (CreateToolRequestDeliveryAPIHeaders) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateToolRequestDeliveryAPIHeaders) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateToolRequestOnCall

type CreateToolRequestOnCall string
const (
	CreateToolRequestOnCallGenerateFiller CreateToolRequestOnCall = "generate_filler"
	CreateToolRequestOnCallStaticFiller   CreateToolRequestOnCall = "static_filler"
	CreateToolRequestOnCallSilent         CreateToolRequestOnCall = "silent"
	CreateToolRequestOnCallPassthrough    CreateToolRequestOnCall = "passthrough"
)

func (CreateToolRequestOnCall) AllValues

AllValues returns all CreateToolRequestOnCall values.

func (*CreateToolRequestOnCall) Decode

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

Decode decodes CreateToolRequestOnCall from json.

func (CreateToolRequestOnCall) Encode

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

Encode encodes CreateToolRequestOnCall as json.

func (CreateToolRequestOnCall) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateToolRequestOnCall) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateToolRequestOnCall) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateToolRequestOnCall) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateToolRequestOnCall) Validate

func (s CreateToolRequestOnCall) Validate() error

type CreateToolRequestOnResolve

type CreateToolRequestOnResolve string
const (
	CreateToolRequestOnResolveGenerateResponse CreateToolRequestOnResolve = "generate_response"
	CreateToolRequestOnResolveResponseInResult CreateToolRequestOnResolve = "response_in_result"
	CreateToolRequestOnResolveAddToContext     CreateToolRequestOnResolve = "add_to_context"
	CreateToolRequestOnResolveFireAndForget    CreateToolRequestOnResolve = "fire_and_forget"
)

func (CreateToolRequestOnResolve) AllValues

AllValues returns all CreateToolRequestOnResolve values.

func (*CreateToolRequestOnResolve) Decode

Decode decodes CreateToolRequestOnResolve from json.

func (CreateToolRequestOnResolve) Encode

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

Encode encodes CreateToolRequestOnResolve as json.

func (CreateToolRequestOnResolve) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateToolRequestOnResolve) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateToolRequestOnResolve) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateToolRequestOnResolve) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateToolRequestOnResolve) Validate

func (s CreateToolRequestOnResolve) Validate() error

type CreateToolRequestOrigin

type CreateToolRequestOrigin string
const (
	CreateToolRequestOriginLlm    CreateToolRequestOrigin = "llm"
	CreateToolRequestOriginVision CreateToolRequestOrigin = "vision"
	CreateToolRequestOriginAudio  CreateToolRequestOrigin = "audio"
)

func (CreateToolRequestOrigin) AllValues

AllValues returns all CreateToolRequestOrigin values.

func (*CreateToolRequestOrigin) Decode

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

Decode decodes CreateToolRequestOrigin from json.

func (CreateToolRequestOrigin) Encode

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

Encode encodes CreateToolRequestOrigin as json.

func (CreateToolRequestOrigin) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateToolRequestOrigin) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateToolRequestOrigin) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateToolRequestOrigin) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateToolRequestOrigin) Validate

func (s CreateToolRequestOrigin) Validate() error

type CreateToolRequestParameters

type CreateToolRequestParameters map[string]jx.Raw

JSON Schema for tool arguments.

func (*CreateToolRequestParameters) Decode

Decode decodes CreateToolRequestParameters from json.

func (CreateToolRequestParameters) Encode

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

Encode implements json.Marshaler.

func (CreateToolRequestParameters) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateToolRequestParameters) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateToolRequestTriggerType

type CreateToolRequestTriggerType string
const (
	CreateToolRequestTriggerTypeInCall   CreateToolRequestTriggerType = "in_call"
	CreateToolRequestTriggerTypePostCall CreateToolRequestTriggerType = "post_call"
)

func (CreateToolRequestTriggerType) AllValues

AllValues returns all CreateToolRequestTriggerType values.

func (*CreateToolRequestTriggerType) Decode

Decode decodes CreateToolRequestTriggerType from json.

func (CreateToolRequestTriggerType) Encode

Encode encodes CreateToolRequestTriggerType as json.

func (CreateToolRequestTriggerType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateToolRequestTriggerType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateToolRequestTriggerType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateToolRequestTriggerType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateToolRequestTriggerType) Validate

func (s CreateToolRequestTriggerType) Validate() error

type CreateToolRes

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

type CreateToolUnauthorized

type CreateToolUnauthorized Error

func (*CreateToolUnauthorized) Decode

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

Decode decodes CreateToolUnauthorized from json.

func (*CreateToolUnauthorized) Encode

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

Encode encodes CreateToolUnauthorized as json.

func (*CreateToolUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateToolUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateVideoBadRequest

type CreateVideoBadRequest Error

func (*CreateVideoBadRequest) Decode

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

Decode decodes CreateVideoBadRequest from json.

func (*CreateVideoBadRequest) Encode

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

Encode encodes CreateVideoBadRequest as json.

func (*CreateVideoBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateVideoBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateVideoRequest

type CreateVideoRequest struct {
	// Face ID to use (legacy name, maps to face_id).
	ReplicaID string `json:"replica_id"`
	// Text for audio generation.
	Script OptString `json:"script"`
	// Link to audio file (.wav or .mp3).
	AudioURL  OptURI    `json:"audio_url"`
	VideoName OptString `json:"video_name"`
	// Website URL to record as background.
	BackgroundURL OptURI `json:"background_url"`
	// Direct video file link for background.
	BackgroundSourceURL OptURI `json:"background_source_url"`
	CallbackURL         OptURI `json:"callback_url"`
	// Faster generation (disables some features).
	Fast OptBool `json:"fast"`
	// WebM with transparency (requires fast=true).
	TransparentBackground OptBool                         `json:"transparent_background"`
	WatermarkImageURL     OptURI                          `json:"watermark_image_url"`
	Properties            OptCreateVideoRequestProperties `json:"properties"`
}

Ref: #/components/schemas/CreateVideoRequest

func (*CreateVideoRequest) Decode

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

Decode decodes CreateVideoRequest from json.

func (*CreateVideoRequest) Encode

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

Encode implements json.Marshaler.

func (*CreateVideoRequest) GetAudioURL

func (s *CreateVideoRequest) GetAudioURL() OptURI

GetAudioURL returns the value of AudioURL.

func (*CreateVideoRequest) GetBackgroundSourceURL

func (s *CreateVideoRequest) GetBackgroundSourceURL() OptURI

GetBackgroundSourceURL returns the value of BackgroundSourceURL.

func (*CreateVideoRequest) GetBackgroundURL

func (s *CreateVideoRequest) GetBackgroundURL() OptURI

GetBackgroundURL returns the value of BackgroundURL.

func (*CreateVideoRequest) GetCallbackURL

func (s *CreateVideoRequest) GetCallbackURL() OptURI

GetCallbackURL returns the value of CallbackURL.

func (*CreateVideoRequest) GetFast

func (s *CreateVideoRequest) GetFast() OptBool

GetFast returns the value of Fast.

func (*CreateVideoRequest) GetProperties

GetProperties returns the value of Properties.

func (*CreateVideoRequest) GetReplicaID

func (s *CreateVideoRequest) GetReplicaID() string

GetReplicaID returns the value of ReplicaID.

func (*CreateVideoRequest) GetScript

func (s *CreateVideoRequest) GetScript() OptString

GetScript returns the value of Script.

func (*CreateVideoRequest) GetTransparentBackground

func (s *CreateVideoRequest) GetTransparentBackground() OptBool

GetTransparentBackground returns the value of TransparentBackground.

func (*CreateVideoRequest) GetVideoName

func (s *CreateVideoRequest) GetVideoName() OptString

GetVideoName returns the value of VideoName.

func (*CreateVideoRequest) GetWatermarkImageURL

func (s *CreateVideoRequest) GetWatermarkImageURL() OptURI

GetWatermarkImageURL returns the value of WatermarkImageURL.

func (*CreateVideoRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateVideoRequest) SetAudioURL

func (s *CreateVideoRequest) SetAudioURL(val OptURI)

SetAudioURL sets the value of AudioURL.

func (*CreateVideoRequest) SetBackgroundSourceURL

func (s *CreateVideoRequest) SetBackgroundSourceURL(val OptURI)

SetBackgroundSourceURL sets the value of BackgroundSourceURL.

func (*CreateVideoRequest) SetBackgroundURL

func (s *CreateVideoRequest) SetBackgroundURL(val OptURI)

SetBackgroundURL sets the value of BackgroundURL.

func (*CreateVideoRequest) SetCallbackURL

func (s *CreateVideoRequest) SetCallbackURL(val OptURI)

SetCallbackURL sets the value of CallbackURL.

func (*CreateVideoRequest) SetFast

func (s *CreateVideoRequest) SetFast(val OptBool)

SetFast sets the value of Fast.

func (*CreateVideoRequest) SetProperties

SetProperties sets the value of Properties.

func (*CreateVideoRequest) SetReplicaID

func (s *CreateVideoRequest) SetReplicaID(val string)

SetReplicaID sets the value of ReplicaID.

func (*CreateVideoRequest) SetScript

func (s *CreateVideoRequest) SetScript(val OptString)

SetScript sets the value of Script.

func (*CreateVideoRequest) SetTransparentBackground

func (s *CreateVideoRequest) SetTransparentBackground(val OptBool)

SetTransparentBackground sets the value of TransparentBackground.

func (*CreateVideoRequest) SetVideoName

func (s *CreateVideoRequest) SetVideoName(val OptString)

SetVideoName sets the value of VideoName.

func (*CreateVideoRequest) SetWatermarkImageURL

func (s *CreateVideoRequest) SetWatermarkImageURL(val OptURI)

SetWatermarkImageURL sets the value of WatermarkImageURL.

func (*CreateVideoRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateVideoRequest) Validate

func (s *CreateVideoRequest) Validate() error

type CreateVideoRequestProperties

type CreateVideoRequestProperties struct {
	BackgroundScrollType   OptCreateVideoRequestPropertiesBackgroundScrollType   `json:"background_scroll_type"`
	BackgroundScrollDepth  OptCreateVideoRequestPropertiesBackgroundScrollDepth  `json:"background_scroll_depth"`
	BackgroundScrollReturn OptCreateVideoRequestPropertiesBackgroundScrollReturn `json:"background_scroll_return"`
	StartWithWave          OptBool                                               `json:"start_with_wave"`
}

func (*CreateVideoRequestProperties) Decode

Decode decodes CreateVideoRequestProperties from json.

func (*CreateVideoRequestProperties) Encode

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

Encode implements json.Marshaler.

func (*CreateVideoRequestProperties) GetBackgroundScrollDepth

GetBackgroundScrollDepth returns the value of BackgroundScrollDepth.

func (*CreateVideoRequestProperties) GetBackgroundScrollReturn

GetBackgroundScrollReturn returns the value of BackgroundScrollReturn.

func (*CreateVideoRequestProperties) GetBackgroundScrollType

GetBackgroundScrollType returns the value of BackgroundScrollType.

func (*CreateVideoRequestProperties) GetStartWithWave

func (s *CreateVideoRequestProperties) GetStartWithWave() OptBool

GetStartWithWave returns the value of StartWithWave.

func (*CreateVideoRequestProperties) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateVideoRequestProperties) SetBackgroundScrollDepth

SetBackgroundScrollDepth sets the value of BackgroundScrollDepth.

func (*CreateVideoRequestProperties) SetBackgroundScrollReturn

SetBackgroundScrollReturn sets the value of BackgroundScrollReturn.

func (*CreateVideoRequestProperties) SetBackgroundScrollType

SetBackgroundScrollType sets the value of BackgroundScrollType.

func (*CreateVideoRequestProperties) SetStartWithWave

func (s *CreateVideoRequestProperties) SetStartWithWave(val OptBool)

SetStartWithWave sets the value of StartWithWave.

func (*CreateVideoRequestProperties) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateVideoRequestProperties) Validate

func (s *CreateVideoRequestProperties) Validate() error

type CreateVideoRequestPropertiesBackgroundScrollDepth

type CreateVideoRequestPropertiesBackgroundScrollDepth string
const (
	CreateVideoRequestPropertiesBackgroundScrollDepthMiddle CreateVideoRequestPropertiesBackgroundScrollDepth = "middle"
	CreateVideoRequestPropertiesBackgroundScrollDepthBottom CreateVideoRequestPropertiesBackgroundScrollDepth = "bottom"
)

func (CreateVideoRequestPropertiesBackgroundScrollDepth) AllValues

AllValues returns all CreateVideoRequestPropertiesBackgroundScrollDepth values.

func (*CreateVideoRequestPropertiesBackgroundScrollDepth) Decode

Decode decodes CreateVideoRequestPropertiesBackgroundScrollDepth from json.

func (CreateVideoRequestPropertiesBackgroundScrollDepth) Encode

Encode encodes CreateVideoRequestPropertiesBackgroundScrollDepth as json.

func (CreateVideoRequestPropertiesBackgroundScrollDepth) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (CreateVideoRequestPropertiesBackgroundScrollDepth) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*CreateVideoRequestPropertiesBackgroundScrollDepth) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateVideoRequestPropertiesBackgroundScrollDepth) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateVideoRequestPropertiesBackgroundScrollDepth) Validate

type CreateVideoRequestPropertiesBackgroundScrollReturn

type CreateVideoRequestPropertiesBackgroundScrollReturn string
const (
	CreateVideoRequestPropertiesBackgroundScrollReturnReturn CreateVideoRequestPropertiesBackgroundScrollReturn = "return"
	CreateVideoRequestPropertiesBackgroundScrollReturnHalt   CreateVideoRequestPropertiesBackgroundScrollReturn = "halt"
)

func (CreateVideoRequestPropertiesBackgroundScrollReturn) AllValues

AllValues returns all CreateVideoRequestPropertiesBackgroundScrollReturn values.

func (*CreateVideoRequestPropertiesBackgroundScrollReturn) Decode

Decode decodes CreateVideoRequestPropertiesBackgroundScrollReturn from json.

func (CreateVideoRequestPropertiesBackgroundScrollReturn) Encode

Encode encodes CreateVideoRequestPropertiesBackgroundScrollReturn as json.

func (CreateVideoRequestPropertiesBackgroundScrollReturn) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (CreateVideoRequestPropertiesBackgroundScrollReturn) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*CreateVideoRequestPropertiesBackgroundScrollReturn) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateVideoRequestPropertiesBackgroundScrollReturn) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateVideoRequestPropertiesBackgroundScrollReturn) Validate

type CreateVideoRequestPropertiesBackgroundScrollType

type CreateVideoRequestPropertiesBackgroundScrollType string
const (
	CreateVideoRequestPropertiesBackgroundScrollTypeHuman  CreateVideoRequestPropertiesBackgroundScrollType = "human"
	CreateVideoRequestPropertiesBackgroundScrollTypeSmooth CreateVideoRequestPropertiesBackgroundScrollType = "smooth"
)

func (CreateVideoRequestPropertiesBackgroundScrollType) AllValues

AllValues returns all CreateVideoRequestPropertiesBackgroundScrollType values.

func (*CreateVideoRequestPropertiesBackgroundScrollType) Decode

Decode decodes CreateVideoRequestPropertiesBackgroundScrollType from json.

func (CreateVideoRequestPropertiesBackgroundScrollType) Encode

Encode encodes CreateVideoRequestPropertiesBackgroundScrollType as json.

func (CreateVideoRequestPropertiesBackgroundScrollType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (CreateVideoRequestPropertiesBackgroundScrollType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*CreateVideoRequestPropertiesBackgroundScrollType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateVideoRequestPropertiesBackgroundScrollType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateVideoRequestPropertiesBackgroundScrollType) Validate

type CreateVideoRes

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

type CreateVideoResponse

type CreateVideoResponse struct {
	VideoID   OptString                    `json:"video_id"`
	VideoName OptString                    `json:"video_name"`
	Status    OptCreateVideoResponseStatus `json:"status"`
	HostedURL OptURI                       `json:"hosted_url"`
	CreatedAt OptTimestamp                 `json:"created_at"`
}

Ref: #/components/schemas/CreateVideoResponse

func (*CreateVideoResponse) Decode

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

Decode decodes CreateVideoResponse from json.

func (*CreateVideoResponse) Encode

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

Encode implements json.Marshaler.

func (*CreateVideoResponse) GetCreatedAt

func (s *CreateVideoResponse) GetCreatedAt() OptTimestamp

GetCreatedAt returns the value of CreatedAt.

func (*CreateVideoResponse) GetHostedURL

func (s *CreateVideoResponse) GetHostedURL() OptURI

GetHostedURL returns the value of HostedURL.

func (*CreateVideoResponse) GetStatus

GetStatus returns the value of Status.

func (*CreateVideoResponse) GetVideoID

func (s *CreateVideoResponse) GetVideoID() OptString

GetVideoID returns the value of VideoID.

func (*CreateVideoResponse) GetVideoName

func (s *CreateVideoResponse) GetVideoName() OptString

GetVideoName returns the value of VideoName.

func (*CreateVideoResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateVideoResponse) SetCreatedAt

func (s *CreateVideoResponse) SetCreatedAt(val OptTimestamp)

SetCreatedAt sets the value of CreatedAt.

func (*CreateVideoResponse) SetHostedURL

func (s *CreateVideoResponse) SetHostedURL(val OptURI)

SetHostedURL sets the value of HostedURL.

func (*CreateVideoResponse) SetStatus

SetStatus sets the value of Status.

func (*CreateVideoResponse) SetVideoID

func (s *CreateVideoResponse) SetVideoID(val OptString)

SetVideoID sets the value of VideoID.

func (*CreateVideoResponse) SetVideoName

func (s *CreateVideoResponse) SetVideoName(val OptString)

SetVideoName sets the value of VideoName.

func (*CreateVideoResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateVideoResponse) Validate

func (s *CreateVideoResponse) Validate() error

type CreateVideoResponseStatus

type CreateVideoResponseStatus string
const (
	CreateVideoResponseStatusQueued     CreateVideoResponseStatus = "queued"
	CreateVideoResponseStatusGenerating CreateVideoResponseStatus = "generating"
	CreateVideoResponseStatusReady      CreateVideoResponseStatus = "ready"
	CreateVideoResponseStatusDeleted    CreateVideoResponseStatus = "deleted"
	CreateVideoResponseStatusError      CreateVideoResponseStatus = "error"
)

func (CreateVideoResponseStatus) AllValues

AllValues returns all CreateVideoResponseStatus values.

func (*CreateVideoResponseStatus) Decode

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

Decode decodes CreateVideoResponseStatus from json.

func (CreateVideoResponseStatus) Encode

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

Encode encodes CreateVideoResponseStatus as json.

func (CreateVideoResponseStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateVideoResponseStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreateVideoResponseStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateVideoResponseStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateVideoResponseStatus) Validate

func (s CreateVideoResponseStatus) Validate() error

type CreateVideoUnauthorized

type CreateVideoUnauthorized Error

func (*CreateVideoUnauthorized) Decode

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

Decode decodes CreateVideoUnauthorized from json.

func (*CreateVideoUnauthorized) Encode

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

Encode encodes CreateVideoUnauthorized as json.

func (*CreateVideoUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateVideoUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteConversationNoContent

type DeleteConversationNoContent struct{}

DeleteConversationNoContent is response for DeleteConversation operation.

type DeleteConversationNotFound

type DeleteConversationNotFound Error

func (*DeleteConversationNotFound) Decode

Decode decodes DeleteConversationNotFound from json.

func (*DeleteConversationNotFound) Encode

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

Encode encodes DeleteConversationNotFound as json.

func (*DeleteConversationNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteConversationNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteConversationParams

type DeleteConversationParams struct {
	// Unique conversation identifier.
	ConversationID string
}

DeleteConversationParams is parameters of deleteConversation operation.

type DeleteConversationRes

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

type DeleteConversationUnauthorized

type DeleteConversationUnauthorized Error

func (*DeleteConversationUnauthorized) Decode

Decode decodes DeleteConversationUnauthorized from json.

func (*DeleteConversationUnauthorized) Encode

Encode encodes DeleteConversationUnauthorized as json.

func (*DeleteConversationUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteConversationUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteDeploymentNoContent

type DeleteDeploymentNoContent struct{}

DeleteDeploymentNoContent is response for DeleteDeployment operation.

type DeleteDeploymentNotFound

type DeleteDeploymentNotFound Error

func (*DeleteDeploymentNotFound) Decode

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

Decode decodes DeleteDeploymentNotFound from json.

func (*DeleteDeploymentNotFound) Encode

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

Encode encodes DeleteDeploymentNotFound as json.

func (*DeleteDeploymentNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteDeploymentNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteDeploymentParams

type DeleteDeploymentParams struct {
	// Unique deployment identifier.
	DeploymentID string
}

DeleteDeploymentParams is parameters of deleteDeployment operation.

type DeleteDeploymentRes

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

type DeleteDeploymentUnauthorized

type DeleteDeploymentUnauthorized Error

func (*DeleteDeploymentUnauthorized) Decode

Decode decodes DeleteDeploymentUnauthorized from json.

func (*DeleteDeploymentUnauthorized) Encode

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

Encode encodes DeleteDeploymentUnauthorized as json.

func (*DeleteDeploymentUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteDeploymentUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteDocumentNoContent

type DeleteDocumentNoContent struct{}

DeleteDocumentNoContent is response for DeleteDocument operation.

type DeleteDocumentNotFound

type DeleteDocumentNotFound Error

func (*DeleteDocumentNotFound) Decode

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

Decode decodes DeleteDocumentNotFound from json.

func (*DeleteDocumentNotFound) Encode

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

Encode encodes DeleteDocumentNotFound as json.

func (*DeleteDocumentNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteDocumentNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteDocumentParams

type DeleteDocumentParams struct {
	// Unique document identifier.
	DocumentID string
}

DeleteDocumentParams is parameters of deleteDocument operation.

type DeleteDocumentRes

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

type DeleteDocumentUnauthorized

type DeleteDocumentUnauthorized Error

func (*DeleteDocumentUnauthorized) Decode

Decode decodes DeleteDocumentUnauthorized from json.

func (*DeleteDocumentUnauthorized) Encode

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

Encode encodes DeleteDocumentUnauthorized as json.

func (*DeleteDocumentUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteDocumentUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteFaceNoContent

type DeleteFaceNoContent struct{}

DeleteFaceNoContent is response for DeleteFace operation.

type DeleteFaceNotFound

type DeleteFaceNotFound Error

func (*DeleteFaceNotFound) Decode

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

Decode decodes DeleteFaceNotFound from json.

func (*DeleteFaceNotFound) Encode

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

Encode encodes DeleteFaceNotFound as json.

func (*DeleteFaceNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteFaceNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteFaceParams

type DeleteFaceParams struct {
	// Unique face identifier.
	FaceID string
}

DeleteFaceParams is parameters of deleteFace operation.

type DeleteFaceRes

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

type DeleteFaceUnauthorized

type DeleteFaceUnauthorized Error

func (*DeleteFaceUnauthorized) Decode

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

Decode decodes DeleteFaceUnauthorized from json.

func (*DeleteFaceUnauthorized) Encode

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

Encode encodes DeleteFaceUnauthorized as json.

func (*DeleteFaceUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteFaceUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteGuardrailNoContent

type DeleteGuardrailNoContent struct{}

DeleteGuardrailNoContent is response for DeleteGuardrail operation.

type DeleteGuardrailNotFound

type DeleteGuardrailNotFound Error

func (*DeleteGuardrailNotFound) Decode

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

Decode decodes DeleteGuardrailNotFound from json.

func (*DeleteGuardrailNotFound) Encode

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

Encode encodes DeleteGuardrailNotFound as json.

func (*DeleteGuardrailNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteGuardrailNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteGuardrailParams

type DeleteGuardrailParams struct {
	// Unique guardrail identifier.
	GuardrailID string
}

DeleteGuardrailParams is parameters of deleteGuardrail operation.

type DeleteGuardrailRes

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

type DeleteGuardrailUnauthorized

type DeleteGuardrailUnauthorized Error

func (*DeleteGuardrailUnauthorized) Decode

Decode decodes DeleteGuardrailUnauthorized from json.

func (*DeleteGuardrailUnauthorized) Encode

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

Encode encodes DeleteGuardrailUnauthorized as json.

func (*DeleteGuardrailUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteGuardrailUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteObjectivesNoContent

type DeleteObjectivesNoContent struct{}

DeleteObjectivesNoContent is response for DeleteObjectives operation.

type DeleteObjectivesNotFound

type DeleteObjectivesNotFound Error

func (*DeleteObjectivesNotFound) Decode

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

Decode decodes DeleteObjectivesNotFound from json.

func (*DeleteObjectivesNotFound) Encode

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

Encode encodes DeleteObjectivesNotFound as json.

func (*DeleteObjectivesNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteObjectivesNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteObjectivesParams

type DeleteObjectivesParams struct {
	// Unique objectives identifier.
	ObjectivesID string
}

DeleteObjectivesParams is parameters of deleteObjectives operation.

type DeleteObjectivesRes

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

type DeleteObjectivesUnauthorized

type DeleteObjectivesUnauthorized Error

func (*DeleteObjectivesUnauthorized) Decode

Decode decodes DeleteObjectivesUnauthorized from json.

func (*DeleteObjectivesUnauthorized) Encode

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

Encode encodes DeleteObjectivesUnauthorized as json.

func (*DeleteObjectivesUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteObjectivesUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeletePalNoContent

type DeletePalNoContent struct{}

DeletePalNoContent is response for DeletePal operation.

type DeletePalNotFound

type DeletePalNotFound Error

func (*DeletePalNotFound) Decode

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

Decode decodes DeletePalNotFound from json.

func (*DeletePalNotFound) Encode

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

Encode encodes DeletePalNotFound as json.

func (*DeletePalNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeletePalNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeletePalParams

type DeletePalParams struct {
	// Unique PAL identifier.
	PalID string
}

DeletePalParams is parameters of deletePal operation.

type DeletePalRes

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

type DeletePalUnauthorized

type DeletePalUnauthorized Error

func (*DeletePalUnauthorized) Decode

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

Decode decodes DeletePalUnauthorized from json.

func (*DeletePalUnauthorized) Encode

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

Encode encodes DeletePalUnauthorized as json.

func (*DeletePalUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeletePalUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteToolNoContent

type DeleteToolNoContent struct{}

DeleteToolNoContent is response for DeleteTool operation.

type DeleteToolNotFound

type DeleteToolNotFound Error

func (*DeleteToolNotFound) Decode

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

Decode decodes DeleteToolNotFound from json.

func (*DeleteToolNotFound) Encode

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

Encode encodes DeleteToolNotFound as json.

func (*DeleteToolNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteToolNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteToolParams

type DeleteToolParams struct {
	// Unique tool identifier.
	ToolID string
}

DeleteToolParams is parameters of deleteTool operation.

type DeleteToolRes

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

type DeleteToolUnauthorized

type DeleteToolUnauthorized Error

func (*DeleteToolUnauthorized) Decode

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

Decode decodes DeleteToolUnauthorized from json.

func (*DeleteToolUnauthorized) Encode

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

Encode encodes DeleteToolUnauthorized as json.

func (*DeleteToolUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteToolUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteVideoNoContent

type DeleteVideoNoContent struct{}

DeleteVideoNoContent is response for DeleteVideo operation.

type DeleteVideoNotFound

type DeleteVideoNotFound Error

func (*DeleteVideoNotFound) Decode

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

Decode decodes DeleteVideoNotFound from json.

func (*DeleteVideoNotFound) Encode

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

Encode encodes DeleteVideoNotFound as json.

func (*DeleteVideoNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteVideoNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteVideoParams

type DeleteVideoParams struct {
	// Unique video identifier.
	VideoID string
}

DeleteVideoParams is parameters of deleteVideo operation.

type DeleteVideoRes

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

type DeleteVideoUnauthorized

type DeleteVideoUnauthorized Error

func (*DeleteVideoUnauthorized) Decode

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

Decode decodes DeleteVideoUnauthorized from json.

func (*DeleteVideoUnauthorized) Encode

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

Encode encodes DeleteVideoUnauthorized as json.

func (*DeleteVideoUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteVideoUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Deployment

type Deployment struct {
	DeploymentID      OptString                  `json:"deployment_id"`
	PalID             OptString                  `json:"pal_id"`
	Channel           OptString                  `json:"channel"`
	Status            OptString                  `json:"status"`
	Name              OptString                  `json:"name"`
	HasPassword       OptBool                    `json:"has_password"`
	Customization     OptDeploymentCustomization `json:"customization"`
	ThumbnailVideoURL OptURI                     `json:"thumbnail_video_url"`
	ThumbnailImageURL OptURI                     `json:"thumbnail_image_url"`
	Limits            *DeploymentLimits          `json:"limits"`
	AllowedOrigins    []string                   `json:"allowed_origins"`
	UsageTotal        OptInt                     `json:"usage_total"`
	UsageToday        OptInt                     `json:"usage_today"`
	CreatedAt         OptTimestamp               `json:"created_at"`
	UpdatedAt         OptTimestamp               `json:"updated_at"`
}

Ref: #/components/schemas/Deployment

func (*Deployment) Decode

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

Decode decodes Deployment from json.

func (*Deployment) Encode

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

Encode implements json.Marshaler.

func (*Deployment) GetAllowedOrigins

func (s *Deployment) GetAllowedOrigins() []string

GetAllowedOrigins returns the value of AllowedOrigins.

func (*Deployment) GetChannel

func (s *Deployment) GetChannel() OptString

GetChannel returns the value of Channel.

func (*Deployment) GetCreatedAt

func (s *Deployment) GetCreatedAt() OptTimestamp

GetCreatedAt returns the value of CreatedAt.

func (*Deployment) GetCustomization

func (s *Deployment) GetCustomization() OptDeploymentCustomization

GetCustomization returns the value of Customization.

func (*Deployment) GetDeploymentID

func (s *Deployment) GetDeploymentID() OptString

GetDeploymentID returns the value of DeploymentID.

func (*Deployment) GetHasPassword

func (s *Deployment) GetHasPassword() OptBool

GetHasPassword returns the value of HasPassword.

func (*Deployment) GetLimits

func (s *Deployment) GetLimits() *DeploymentLimits

GetLimits returns the value of Limits.

func (*Deployment) GetName

func (s *Deployment) GetName() OptString

GetName returns the value of Name.

func (*Deployment) GetPalID

func (s *Deployment) GetPalID() OptString

GetPalID returns the value of PalID.

func (*Deployment) GetStatus

func (s *Deployment) GetStatus() OptString

GetStatus returns the value of Status.

func (*Deployment) GetThumbnailImageURL

func (s *Deployment) GetThumbnailImageURL() OptURI

GetThumbnailImageURL returns the value of ThumbnailImageURL.

func (*Deployment) GetThumbnailVideoURL

func (s *Deployment) GetThumbnailVideoURL() OptURI

GetThumbnailVideoURL returns the value of ThumbnailVideoURL.

func (*Deployment) GetUpdatedAt

func (s *Deployment) GetUpdatedAt() OptTimestamp

GetUpdatedAt returns the value of UpdatedAt.

func (*Deployment) GetUsageToday

func (s *Deployment) GetUsageToday() OptInt

GetUsageToday returns the value of UsageToday.

func (*Deployment) GetUsageTotal

func (s *Deployment) GetUsageTotal() OptInt

GetUsageTotal returns the value of UsageTotal.

func (*Deployment) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Deployment) SetAllowedOrigins

func (s *Deployment) SetAllowedOrigins(val []string)

SetAllowedOrigins sets the value of AllowedOrigins.

func (*Deployment) SetChannel

func (s *Deployment) SetChannel(val OptString)

SetChannel sets the value of Channel.

func (*Deployment) SetCreatedAt

func (s *Deployment) SetCreatedAt(val OptTimestamp)

SetCreatedAt sets the value of CreatedAt.

func (*Deployment) SetCustomization

func (s *Deployment) SetCustomization(val OptDeploymentCustomization)

SetCustomization sets the value of Customization.

func (*Deployment) SetDeploymentID

func (s *Deployment) SetDeploymentID(val OptString)

SetDeploymentID sets the value of DeploymentID.

func (*Deployment) SetHasPassword

func (s *Deployment) SetHasPassword(val OptBool)

SetHasPassword sets the value of HasPassword.

func (*Deployment) SetLimits

func (s *Deployment) SetLimits(val *DeploymentLimits)

SetLimits sets the value of Limits.

func (*Deployment) SetName

func (s *Deployment) SetName(val OptString)

SetName sets the value of Name.

func (*Deployment) SetPalID

func (s *Deployment) SetPalID(val OptString)

SetPalID sets the value of PalID.

func (*Deployment) SetStatus

func (s *Deployment) SetStatus(val OptString)

SetStatus sets the value of Status.

func (*Deployment) SetThumbnailImageURL

func (s *Deployment) SetThumbnailImageURL(val OptURI)

SetThumbnailImageURL sets the value of ThumbnailImageURL.

func (*Deployment) SetThumbnailVideoURL

func (s *Deployment) SetThumbnailVideoURL(val OptURI)

SetThumbnailVideoURL sets the value of ThumbnailVideoURL.

func (*Deployment) SetUpdatedAt

func (s *Deployment) SetUpdatedAt(val OptTimestamp)

SetUpdatedAt sets the value of UpdatedAt.

func (*Deployment) SetUsageToday

func (s *Deployment) SetUsageToday(val OptInt)

SetUsageToday sets the value of UsageToday.

func (*Deployment) SetUsageTotal

func (s *Deployment) SetUsageTotal(val OptInt)

SetUsageTotal sets the value of UsageTotal.

func (*Deployment) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeploymentCustomization

type DeploymentCustomization map[string]jx.Raw

func (*DeploymentCustomization) Decode

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

Decode decodes DeploymentCustomization from json.

func (DeploymentCustomization) Encode

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

Encode implements json.Marshaler.

func (DeploymentCustomization) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeploymentCustomization) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeploymentLimits

type DeploymentLimits struct{}

func (*DeploymentLimits) Decode

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

Decode decodes DeploymentLimits from json.

func (*DeploymentLimits) Encode

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

Encode implements json.Marshaler.

func (*DeploymentLimits) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeploymentLimits) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Document

type Document struct {
	DocumentID    OptString            `json:"document_id"`
	DocumentName  OptString            `json:"document_name"`
	DocumentURL   OptString            `json:"document_url"`
	Status        OptDocumentStatus    `json:"status"`
	Progress      OptFloat64           `json:"progress"`
	ErrorMessage  OptString            `json:"error_message"`
	Tags          []string             `json:"tags"`
	CrawlConfig   *DocumentCrawlConfig `json:"crawl_config"`
	CrawledUrls   []string             `json:"crawled_urls"`
	CreatedAt     OptTimestamp         `json:"created_at"`
	UpdatedAt     OptTimestamp         `json:"updated_at"`
	LastCrawledAt OptTimestamp         `json:"last_crawled_at"`
}

Ref: #/components/schemas/Document

func (*Document) Decode

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

Decode decodes Document from json.

func (*Document) Encode

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

Encode implements json.Marshaler.

func (*Document) GetCrawlConfig

func (s *Document) GetCrawlConfig() *DocumentCrawlConfig

GetCrawlConfig returns the value of CrawlConfig.

func (*Document) GetCrawledUrls

func (s *Document) GetCrawledUrls() []string

GetCrawledUrls returns the value of CrawledUrls.

func (*Document) GetCreatedAt

func (s *Document) GetCreatedAt() OptTimestamp

GetCreatedAt returns the value of CreatedAt.

func (*Document) GetDocumentID

func (s *Document) GetDocumentID() OptString

GetDocumentID returns the value of DocumentID.

func (*Document) GetDocumentName

func (s *Document) GetDocumentName() OptString

GetDocumentName returns the value of DocumentName.

func (*Document) GetDocumentURL

func (s *Document) GetDocumentURL() OptString

GetDocumentURL returns the value of DocumentURL.

func (*Document) GetErrorMessage

func (s *Document) GetErrorMessage() OptString

GetErrorMessage returns the value of ErrorMessage.

func (*Document) GetLastCrawledAt

func (s *Document) GetLastCrawledAt() OptTimestamp

GetLastCrawledAt returns the value of LastCrawledAt.

func (*Document) GetProgress

func (s *Document) GetProgress() OptFloat64

GetProgress returns the value of Progress.

func (*Document) GetStatus

func (s *Document) GetStatus() OptDocumentStatus

GetStatus returns the value of Status.

func (*Document) GetTags

func (s *Document) GetTags() []string

GetTags returns the value of Tags.

func (*Document) GetUpdatedAt

func (s *Document) GetUpdatedAt() OptTimestamp

GetUpdatedAt returns the value of UpdatedAt.

func (*Document) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Document) SetCrawlConfig

func (s *Document) SetCrawlConfig(val *DocumentCrawlConfig)

SetCrawlConfig sets the value of CrawlConfig.

func (*Document) SetCrawledUrls

func (s *Document) SetCrawledUrls(val []string)

SetCrawledUrls sets the value of CrawledUrls.

func (*Document) SetCreatedAt

func (s *Document) SetCreatedAt(val OptTimestamp)

SetCreatedAt sets the value of CreatedAt.

func (*Document) SetDocumentID

func (s *Document) SetDocumentID(val OptString)

SetDocumentID sets the value of DocumentID.

func (*Document) SetDocumentName

func (s *Document) SetDocumentName(val OptString)

SetDocumentName sets the value of DocumentName.

func (*Document) SetDocumentURL

func (s *Document) SetDocumentURL(val OptString)

SetDocumentURL sets the value of DocumentURL.

func (*Document) SetErrorMessage

func (s *Document) SetErrorMessage(val OptString)

SetErrorMessage sets the value of ErrorMessage.

func (*Document) SetLastCrawledAt

func (s *Document) SetLastCrawledAt(val OptTimestamp)

SetLastCrawledAt sets the value of LastCrawledAt.

func (*Document) SetProgress

func (s *Document) SetProgress(val OptFloat64)

SetProgress sets the value of Progress.

func (*Document) SetStatus

func (s *Document) SetStatus(val OptDocumentStatus)

SetStatus sets the value of Status.

func (*Document) SetTags

func (s *Document) SetTags(val []string)

SetTags sets the value of Tags.

func (*Document) SetUpdatedAt

func (s *Document) SetUpdatedAt(val OptTimestamp)

SetUpdatedAt sets the value of UpdatedAt.

func (*Document) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Document) Validate

func (s *Document) Validate() error

type DocumentCrawlConfig

type DocumentCrawlConfig struct{}

func (*DocumentCrawlConfig) Decode

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

Decode decodes DocumentCrawlConfig from json.

func (*DocumentCrawlConfig) Encode

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

Encode implements json.Marshaler.

func (*DocumentCrawlConfig) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DocumentCrawlConfig) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DocumentStatus

type DocumentStatus string
const (
	DocumentStatusStarted    DocumentStatus = "started"
	DocumentStatusProcessing DocumentStatus = "processing"
	DocumentStatusReady      DocumentStatus = "ready"
	DocumentStatusError      DocumentStatus = "error"
	DocumentStatusRecrawling DocumentStatus = "recrawling"
)

func (DocumentStatus) AllValues

func (DocumentStatus) AllValues() []DocumentStatus

AllValues returns all DocumentStatus values.

func (*DocumentStatus) Decode

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

Decode decodes DocumentStatus from json.

func (DocumentStatus) Encode

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

Encode encodes DocumentStatus as json.

func (DocumentStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (DocumentStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DocumentStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DocumentStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DocumentStatus) Validate

func (s DocumentStatus) Validate() error

type EndConversationNotFound

type EndConversationNotFound Error

func (*EndConversationNotFound) Decode

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

Decode decodes EndConversationNotFound from json.

func (*EndConversationNotFound) Encode

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

Encode encodes EndConversationNotFound as json.

func (*EndConversationNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*EndConversationNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EndConversationOK

type EndConversationOK struct{}

EndConversationOK is response for EndConversation operation.

type EndConversationParams

type EndConversationParams struct {
	// Unique conversation identifier.
	ConversationID string
}

EndConversationParams is parameters of endConversation operation.

type EndConversationRes

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

type EndConversationUnauthorized

type EndConversationUnauthorized Error

func (*EndConversationUnauthorized) Decode

Decode decodes EndConversationUnauthorized from json.

func (*EndConversationUnauthorized) Encode

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

Encode encodes EndConversationUnauthorized as json.

func (*EndConversationUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*EndConversationUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Error

type Error struct {
	Error   OptString `json:"error"`
	Message OptString `json:"message"`
}

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

func (s *Error) GetError() OptString

GetError returns the value of Error.

func (*Error) GetMessage

func (s *Error) GetMessage() OptString

GetMessage returns the value of Message.

func (*Error) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Error) SetError

func (s *Error) SetError(val OptString)

SetError sets the value of Error.

func (*Error) SetMessage

func (s *Error) SetMessage(val OptString)

SetMessage sets the value of Message.

func (*Error) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ErrorHandler

type ErrorHandler = ogenerrors.ErrorHandler

ErrorHandler is error handler.

type Face

type Face struct {
	FaceID   OptString     `json:"face_id"`
	FaceName OptString     `json:"face_name"`
	Status   OptFaceStatus `json:"status"`
	// Training progress percentage as string.
	TrainingProgress OptString    `json:"training_progress"`
	ErrorMessage     OptString    `json:"error_message"`
	CreatedAt        OptTimestamp `json:"created_at"`
	UpdatedAt        OptTimestamp `json:"updated_at"`
}

Ref: #/components/schemas/Face

func (*Face) Decode

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

Decode decodes Face from json.

func (*Face) Encode

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

Encode implements json.Marshaler.

func (*Face) GetCreatedAt

func (s *Face) GetCreatedAt() OptTimestamp

GetCreatedAt returns the value of CreatedAt.

func (*Face) GetErrorMessage

func (s *Face) GetErrorMessage() OptString

GetErrorMessage returns the value of ErrorMessage.

func (*Face) GetFaceID

func (s *Face) GetFaceID() OptString

GetFaceID returns the value of FaceID.

func (*Face) GetFaceName

func (s *Face) GetFaceName() OptString

GetFaceName returns the value of FaceName.

func (*Face) GetStatus

func (s *Face) GetStatus() OptFaceStatus

GetStatus returns the value of Status.

func (*Face) GetTrainingProgress

func (s *Face) GetTrainingProgress() OptString

GetTrainingProgress returns the value of TrainingProgress.

func (*Face) GetUpdatedAt

func (s *Face) GetUpdatedAt() OptTimestamp

GetUpdatedAt returns the value of UpdatedAt.

func (*Face) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Face) SetCreatedAt

func (s *Face) SetCreatedAt(val OptTimestamp)

SetCreatedAt sets the value of CreatedAt.

func (*Face) SetErrorMessage

func (s *Face) SetErrorMessage(val OptString)

SetErrorMessage sets the value of ErrorMessage.

func (*Face) SetFaceID

func (s *Face) SetFaceID(val OptString)

SetFaceID sets the value of FaceID.

func (*Face) SetFaceName

func (s *Face) SetFaceName(val OptString)

SetFaceName sets the value of FaceName.

func (*Face) SetStatus

func (s *Face) SetStatus(val OptFaceStatus)

SetStatus sets the value of Status.

func (*Face) SetTrainingProgress

func (s *Face) SetTrainingProgress(val OptString)

SetTrainingProgress sets the value of TrainingProgress.

func (*Face) SetUpdatedAt

func (s *Face) SetUpdatedAt(val OptTimestamp)

SetUpdatedAt sets the value of UpdatedAt.

func (*Face) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Face) Validate

func (s *Face) Validate() error

type FaceStatus

type FaceStatus string
const (
	FaceStatusStarted    FaceStatus = "started"
	FaceStatusProcessing FaceStatus = "processing"
	FaceStatusCompleted  FaceStatus = "completed"
	FaceStatusError      FaceStatus = "error"
)

func (FaceStatus) AllValues

func (FaceStatus) AllValues() []FaceStatus

AllValues returns all FaceStatus values.

func (*FaceStatus) Decode

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

Decode decodes FaceStatus from json.

func (FaceStatus) Encode

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

Encode encodes FaceStatus as json.

func (FaceStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (FaceStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*FaceStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FaceStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (FaceStatus) Validate

func (s FaceStatus) Validate() error

type GetConversationNotFound

type GetConversationNotFound Error

func (*GetConversationNotFound) Decode

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

Decode decodes GetConversationNotFound from json.

func (*GetConversationNotFound) Encode

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

Encode encodes GetConversationNotFound as json.

func (*GetConversationNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetConversationNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetConversationParams

type GetConversationParams struct {
	// Unique conversation identifier.
	ConversationID string
}

GetConversationParams is parameters of getConversation operation.

type GetConversationRes

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

type GetConversationUnauthorized

type GetConversationUnauthorized Error

func (*GetConversationUnauthorized) Decode

Decode decodes GetConversationUnauthorized from json.

func (*GetConversationUnauthorized) Encode

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

Encode encodes GetConversationUnauthorized as json.

func (*GetConversationUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetConversationUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetDeploymentNotFound

type GetDeploymentNotFound Error

func (*GetDeploymentNotFound) Decode

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

Decode decodes GetDeploymentNotFound from json.

func (*GetDeploymentNotFound) Encode

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

Encode encodes GetDeploymentNotFound as json.

func (*GetDeploymentNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetDeploymentNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetDeploymentParams

type GetDeploymentParams struct {
	// Unique deployment identifier.
	DeploymentID string
}

GetDeploymentParams is parameters of getDeployment operation.

type GetDeploymentRes

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

type GetDeploymentUnauthorized

type GetDeploymentUnauthorized Error

func (*GetDeploymentUnauthorized) Decode

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

Decode decodes GetDeploymentUnauthorized from json.

func (*GetDeploymentUnauthorized) Encode

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

Encode encodes GetDeploymentUnauthorized as json.

func (*GetDeploymentUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetDeploymentUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetDocumentNotFound

type GetDocumentNotFound Error

func (*GetDocumentNotFound) Decode

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

Decode decodes GetDocumentNotFound from json.

func (*GetDocumentNotFound) Encode

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

Encode encodes GetDocumentNotFound as json.

func (*GetDocumentNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetDocumentNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetDocumentParams

type GetDocumentParams struct {
	// Unique document identifier.
	DocumentID string
}

GetDocumentParams is parameters of getDocument operation.

type GetDocumentRes

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

type GetDocumentUnauthorized

type GetDocumentUnauthorized Error

func (*GetDocumentUnauthorized) Decode

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

Decode decodes GetDocumentUnauthorized from json.

func (*GetDocumentUnauthorized) Encode

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

Encode encodes GetDocumentUnauthorized as json.

func (*GetDocumentUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetDocumentUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetFaceNotFound

type GetFaceNotFound Error

func (*GetFaceNotFound) Decode

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

Decode decodes GetFaceNotFound from json.

func (*GetFaceNotFound) Encode

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

Encode encodes GetFaceNotFound as json.

func (*GetFaceNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetFaceNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetFaceParams

type GetFaceParams struct {
	// Unique face identifier.
	FaceID string
}

GetFaceParams is parameters of getFace operation.

type GetFaceRes

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

type GetFaceUnauthorized

type GetFaceUnauthorized Error

func (*GetFaceUnauthorized) Decode

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

Decode decodes GetFaceUnauthorized from json.

func (*GetFaceUnauthorized) Encode

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

Encode encodes GetFaceUnauthorized as json.

func (*GetFaceUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetFaceUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetGuardrailNotFound

type GetGuardrailNotFound Error

func (*GetGuardrailNotFound) Decode

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

Decode decodes GetGuardrailNotFound from json.

func (*GetGuardrailNotFound) Encode

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

Encode encodes GetGuardrailNotFound as json.

func (*GetGuardrailNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetGuardrailNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetGuardrailParams

type GetGuardrailParams struct {
	// Unique guardrail identifier.
	GuardrailID string
}

GetGuardrailParams is parameters of getGuardrail operation.

type GetGuardrailRes

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

type GetGuardrailUnauthorized

type GetGuardrailUnauthorized Error

func (*GetGuardrailUnauthorized) Decode

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

Decode decodes GetGuardrailUnauthorized from json.

func (*GetGuardrailUnauthorized) Encode

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

Encode encodes GetGuardrailUnauthorized as json.

func (*GetGuardrailUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetGuardrailUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetObjectivesNotFound

type GetObjectivesNotFound Error

func (*GetObjectivesNotFound) Decode

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

Decode decodes GetObjectivesNotFound from json.

func (*GetObjectivesNotFound) Encode

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

Encode encodes GetObjectivesNotFound as json.

func (*GetObjectivesNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetObjectivesNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetObjectivesParams

type GetObjectivesParams struct {
	// Unique objectives identifier.
	ObjectivesID string
}

GetObjectivesParams is parameters of getObjectives operation.

type GetObjectivesRes

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

type GetObjectivesUnauthorized

type GetObjectivesUnauthorized Error

func (*GetObjectivesUnauthorized) Decode

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

Decode decodes GetObjectivesUnauthorized from json.

func (*GetObjectivesUnauthorized) Encode

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

Encode encodes GetObjectivesUnauthorized as json.

func (*GetObjectivesUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetObjectivesUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetPalNotFound

type GetPalNotFound Error

func (*GetPalNotFound) Decode

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

Decode decodes GetPalNotFound from json.

func (*GetPalNotFound) Encode

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

Encode encodes GetPalNotFound as json.

func (*GetPalNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetPalNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetPalParams

type GetPalParams struct {
	// Unique PAL identifier.
	PalID string
}

GetPalParams is parameters of getPal operation.

type GetPalRes

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

type GetPalUnauthorized

type GetPalUnauthorized Error

func (*GetPalUnauthorized) Decode

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

Decode decodes GetPalUnauthorized from json.

func (*GetPalUnauthorized) Encode

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

Encode encodes GetPalUnauthorized as json.

func (*GetPalUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetPalUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetToolNotFound

type GetToolNotFound Error

func (*GetToolNotFound) Decode

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

Decode decodes GetToolNotFound from json.

func (*GetToolNotFound) Encode

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

Encode encodes GetToolNotFound as json.

func (*GetToolNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetToolNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetToolParams

type GetToolParams struct {
	// Unique tool identifier.
	ToolID string
}

GetToolParams is parameters of getTool operation.

type GetToolRes

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

type GetToolUnauthorized

type GetToolUnauthorized Error

func (*GetToolUnauthorized) Decode

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

Decode decodes GetToolUnauthorized from json.

func (*GetToolUnauthorized) Encode

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

Encode encodes GetToolUnauthorized as json.

func (*GetToolUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetToolUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetVideoNotFound

type GetVideoNotFound Error

func (*GetVideoNotFound) Decode

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

Decode decodes GetVideoNotFound from json.

func (*GetVideoNotFound) Encode

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

Encode encodes GetVideoNotFound as json.

func (*GetVideoNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetVideoNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetVideoParams

type GetVideoParams struct {
	// Unique video identifier.
	VideoID string
}

GetVideoParams is parameters of getVideo operation.

type GetVideoRes

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

type GetVideoUnauthorized

type GetVideoUnauthorized Error

func (*GetVideoUnauthorized) Decode

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

Decode decodes GetVideoUnauthorized from json.

func (*GetVideoUnauthorized) Encode

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

Encode encodes GetVideoUnauthorized as json.

func (*GetVideoUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetVideoUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Guardrail

type Guardrail struct {
	UUID            OptString    `json:"uuid"`
	GuardrailName   OptString    `json:"guardrail_name"`
	GuardrailPrompt OptString    `json:"guardrail_prompt"`
	Modality        OptString    `json:"modality"`
	CallbackURL     OptString    `json:"callback_url"`
	Tags            []string     `json:"tags"`
	AppMessage      OptBool      `json:"app_message"`
	CreatedAt       OptTimestamp `json:"created_at"`
	UpdatedAt       OptTimestamp `json:"updated_at"`
}

Ref: #/components/schemas/Guardrail

func (*Guardrail) Decode

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

Decode decodes Guardrail from json.

func (*Guardrail) Encode

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

Encode implements json.Marshaler.

func (*Guardrail) GetAppMessage

func (s *Guardrail) GetAppMessage() OptBool

GetAppMessage returns the value of AppMessage.

func (*Guardrail) GetCallbackURL

func (s *Guardrail) GetCallbackURL() OptString

GetCallbackURL returns the value of CallbackURL.

func (*Guardrail) GetCreatedAt

func (s *Guardrail) GetCreatedAt() OptTimestamp

GetCreatedAt returns the value of CreatedAt.

func (*Guardrail) GetGuardrailName

func (s *Guardrail) GetGuardrailName() OptString

GetGuardrailName returns the value of GuardrailName.

func (*Guardrail) GetGuardrailPrompt

func (s *Guardrail) GetGuardrailPrompt() OptString

GetGuardrailPrompt returns the value of GuardrailPrompt.

func (*Guardrail) GetModality

func (s *Guardrail) GetModality() OptString

GetModality returns the value of Modality.

func (*Guardrail) GetTags

func (s *Guardrail) GetTags() []string

GetTags returns the value of Tags.

func (*Guardrail) GetUUID

func (s *Guardrail) GetUUID() OptString

GetUUID returns the value of UUID.

func (*Guardrail) GetUpdatedAt

func (s *Guardrail) GetUpdatedAt() OptTimestamp

GetUpdatedAt returns the value of UpdatedAt.

func (*Guardrail) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Guardrail) SetAppMessage

func (s *Guardrail) SetAppMessage(val OptBool)

SetAppMessage sets the value of AppMessage.

func (*Guardrail) SetCallbackURL

func (s *Guardrail) SetCallbackURL(val OptString)

SetCallbackURL sets the value of CallbackURL.

func (*Guardrail) SetCreatedAt

func (s *Guardrail) SetCreatedAt(val OptTimestamp)

SetCreatedAt sets the value of CreatedAt.

func (*Guardrail) SetGuardrailName

func (s *Guardrail) SetGuardrailName(val OptString)

SetGuardrailName sets the value of GuardrailName.

func (*Guardrail) SetGuardrailPrompt

func (s *Guardrail) SetGuardrailPrompt(val OptString)

SetGuardrailPrompt sets the value of GuardrailPrompt.

func (*Guardrail) SetModality

func (s *Guardrail) SetModality(val OptString)

SetModality sets the value of Modality.

func (*Guardrail) SetTags

func (s *Guardrail) SetTags(val []string)

SetTags sets the value of Tags.

func (*Guardrail) SetUUID

func (s *Guardrail) SetUUID(val OptString)

SetUUID sets the value of UUID.

func (*Guardrail) SetUpdatedAt

func (s *Guardrail) SetUpdatedAt(val OptTimestamp)

SetUpdatedAt sets the value of UpdatedAt.

func (*Guardrail) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Handler

type Handler interface {
	// AttachToolToPal implements attachToolToPal operation.
	//
	// Attaches an existing tool to a PAL. Maximum 50 tools per PAL.
	//
	// POST /v2/pals/{pal_id}/tools
	AttachToolToPal(ctx context.Context, req *AttachToolToPalReq, params AttachToolToPalParams) (AttachToolToPalRes, error)
	// CreateConversation implements createConversation operation.
	//
	// Creates a new real-time conversation session with a PAL.
	// The conversation URL can be used to join the video call.
	//
	// POST /v2/conversations
	CreateConversation(ctx context.Context, req *CreateConversationRequest) (CreateConversationRes, error)
	// CreateDeployment implements createDeployment operation.
	//
	// Creates a distribution channel for a PAL (widget, embed, or landing page).
	//
	// POST /v2/deployments
	CreateDeployment(ctx context.Context, req *CreateDeploymentRequest) (CreateDeploymentRes, error)
	// CreateDocument implements createDocument operation.
	//
	// Uploads a document to the knowledge base.
	// Supported formats: PDF, TXT, DOCX, DOC, PNG, JPG, PPTX, CSV, XLSX (max 50MB).
	//
	// POST /v2/documents
	CreateDocument(ctx context.Context, req *CreateDocumentRequest) (CreateDocumentRes, error)
	// CreateFace implements createFace operation.
	//
	// Creates a new face by training on a video or image.
	// Training is asynchronous - use the callback_url or poll the face status.
	//
	// POST /v2/faces
	CreateFace(ctx context.Context, req *CreateFaceRequest) (CreateFaceRes, error)
	// CreateGuardrail implements createGuardrail operation.
	//
	// Creates a behavioral boundary for PAL conversations.
	//
	// POST /v2/guardrails
	CreateGuardrail(ctx context.Context, req *CreateGuardrailRequest) (CreateGuardrailRes, error)
	// CreateObjectives implements createObjectives operation.
	//
	// Creates measurable goals for PAL conversations.
	//
	// POST /v2/objectives
	CreateObjectives(ctx context.Context, req *CreateObjectivesRequest) (CreateObjectivesRes, error)
	// CreatePal implements createPal operation.
	//
	// Creates a new PAL (Personality AI Layer) that defines the avatar's
	// behavior, knowledge, and configuration.
	//
	// POST /v2/pals
	CreatePal(ctx context.Context, req *CreatePalRequest) (CreatePalRes, error)
	// CreateTool implements createTool operation.
	//
	// Creates a function calling tool that can be attached to PALs.
	//
	// POST /v2/tools
	CreateTool(ctx context.Context, req *CreateToolRequest) (CreateToolRes, error)
	// CreateVideo implements createVideo operation.
	//
	// Creates a new video using a face and script or audio.
	// Video generation is asynchronous.
	//
	// POST /v2/videos
	CreateVideo(ctx context.Context, req *CreateVideoRequest) (CreateVideoRes, error)
	// DeleteConversation implements deleteConversation operation.
	//
	// Delete a conversation.
	//
	// DELETE /v2/conversations/{conversation_id}
	DeleteConversation(ctx context.Context, params DeleteConversationParams) (DeleteConversationRes, error)
	// DeleteDeployment implements deleteDeployment operation.
	//
	// Delete a deployment.
	//
	// DELETE /v2/deployments/{deployment_id}
	DeleteDeployment(ctx context.Context, params DeleteDeploymentParams) (DeleteDeploymentRes, error)
	// DeleteDocument implements deleteDocument operation.
	//
	// Delete a document.
	//
	// DELETE /v2/documents/{document_id}
	DeleteDocument(ctx context.Context, params DeleteDocumentParams) (DeleteDocumentRes, error)
	// DeleteFace implements deleteFace operation.
	//
	// Delete a face.
	//
	// DELETE /v2/faces/{face_id}
	DeleteFace(ctx context.Context, params DeleteFaceParams) (DeleteFaceRes, error)
	// DeleteGuardrail implements deleteGuardrail operation.
	//
	// Delete a guardrail.
	//
	// DELETE /v2/guardrails/{guardrail_id}
	DeleteGuardrail(ctx context.Context, params DeleteGuardrailParams) (DeleteGuardrailRes, error)
	// DeleteObjectives implements deleteObjectives operation.
	//
	// Delete objectives.
	//
	// DELETE /v2/objectives/{objectives_id}
	DeleteObjectives(ctx context.Context, params DeleteObjectivesParams) (DeleteObjectivesRes, error)
	// DeletePal implements deletePal operation.
	//
	// Delete a PAL.
	//
	// DELETE /v2/pals/{pal_id}
	DeletePal(ctx context.Context, params DeletePalParams) (DeletePalRes, error)
	// DeleteTool implements deleteTool operation.
	//
	// Delete a tool.
	//
	// DELETE /v2/tools/{tool_id}
	DeleteTool(ctx context.Context, params DeleteToolParams) (DeleteToolRes, error)
	// DeleteVideo implements deleteVideo operation.
	//
	// Delete a video.
	//
	// DELETE /v2/videos/{video_id}
	DeleteVideo(ctx context.Context, params DeleteVideoParams) (DeleteVideoRes, error)
	// EndConversation implements endConversation operation.
	//
	// Gracefully ends an active conversation session.
	//
	// POST /v2/conversations/{conversation_id}/end
	EndConversation(ctx context.Context, params EndConversationParams) (EndConversationRes, error)
	// GetConversation implements getConversation operation.
	//
	// Get a conversation.
	//
	// GET /v2/conversations/{conversation_id}
	GetConversation(ctx context.Context, params GetConversationParams) (GetConversationRes, error)
	// GetDeployment implements getDeployment operation.
	//
	// Get a deployment.
	//
	// GET /v2/deployments/{deployment_id}
	GetDeployment(ctx context.Context, params GetDeploymentParams) (GetDeploymentRes, error)
	// GetDocument implements getDocument operation.
	//
	// Get a document.
	//
	// GET /v2/documents/{document_id}
	GetDocument(ctx context.Context, params GetDocumentParams) (GetDocumentRes, error)
	// GetFace implements getFace operation.
	//
	// Get a face.
	//
	// GET /v2/faces/{face_id}
	GetFace(ctx context.Context, params GetFaceParams) (GetFaceRes, error)
	// GetGuardrail implements getGuardrail operation.
	//
	// Get a guardrail.
	//
	// GET /v2/guardrails/{guardrail_id}
	GetGuardrail(ctx context.Context, params GetGuardrailParams) (GetGuardrailRes, error)
	// GetObjectives implements getObjectives operation.
	//
	// Get objectives.
	//
	// GET /v2/objectives/{objectives_id}
	GetObjectives(ctx context.Context, params GetObjectivesParams) (GetObjectivesRes, error)
	// GetPal implements getPal operation.
	//
	// Get a PAL.
	//
	// GET /v2/pals/{pal_id}
	GetPal(ctx context.Context, params GetPalParams) (GetPalRes, error)
	// GetTool implements getTool operation.
	//
	// Get a tool.
	//
	// GET /v2/tools/{tool_id}
	GetTool(ctx context.Context, params GetToolParams) (GetToolRes, error)
	// GetVideo implements getVideo operation.
	//
	// Get a video.
	//
	// GET /v2/videos/{video_id}
	GetVideo(ctx context.Context, params GetVideoParams) (GetVideoRes, error)
	// ListConversations implements listConversations operation.
	//
	// List all conversations.
	//
	// GET /v2/conversations
	ListConversations(ctx context.Context, params ListConversationsParams) (ListConversationsRes, error)
	// ListDeployments implements listDeployments operation.
	//
	// List all deployments.
	//
	// GET /v2/deployments
	ListDeployments(ctx context.Context, params ListDeploymentsParams) (ListDeploymentsRes, error)
	// ListDocuments implements listDocuments operation.
	//
	// List all documents.
	//
	// GET /v2/documents
	ListDocuments(ctx context.Context, params ListDocumentsParams) (ListDocumentsRes, error)
	// ListFaces implements listFaces operation.
	//
	// List all faces.
	//
	// GET /v2/faces
	ListFaces(ctx context.Context, params ListFacesParams) (ListFacesRes, error)
	// ListGuardrails implements listGuardrails operation.
	//
	// List all guardrails.
	//
	// GET /v2/guardrails
	ListGuardrails(ctx context.Context, params ListGuardrailsParams) (ListGuardrailsRes, error)
	// ListObjectives implements listObjectives operation.
	//
	// List all objectives.
	//
	// GET /v2/objectives
	ListObjectives(ctx context.Context, params ListObjectivesParams) (ListObjectivesRes, error)
	// ListPals implements listPals operation.
	//
	// List all PALs.
	//
	// GET /v2/pals
	ListPals(ctx context.Context, params ListPalsParams) (ListPalsRes, error)
	// ListTools implements listTools operation.
	//
	// List all tools.
	//
	// GET /v2/tools
	ListTools(ctx context.Context, params ListToolsParams) (ListToolsRes, error)
	// ListVideos implements listVideos operation.
	//
	// List all videos.
	//
	// GET /v2/videos
	ListVideos(ctx context.Context, params ListVideosParams) (ListVideosRes, error)
	// ListVoices implements listVoices operation.
	//
	// Lists stock voices available for image-to-face training.
	//
	// GET /v2/voices
	ListVoices(ctx context.Context, params ListVoicesParams) (ListVoicesRes, error)
	// RenameFace implements renameFace operation.
	//
	// Rename a face.
	//
	// PATCH /v2/faces/{face_id}/name
	RenameFace(ctx context.Context, req *RenameFaceReq, params RenameFaceParams) (RenameFaceRes, error)
	// RenameVideo implements renameVideo operation.
	//
	// Rename a video.
	//
	// PATCH /v2/videos/{video_id}/name
	RenameVideo(ctx context.Context, req *RenameVideoReq, params RenameVideoParams) (RenameVideoRes, error)
	// UpdateDeployment implements updateDeployment operation.
	//
	// Update a deployment.
	//
	// PATCH /v2/deployments/{deployment_id}
	UpdateDeployment(ctx context.Context, req *UpdateDeploymentRequest, params UpdateDeploymentParams) (UpdateDeploymentRes, error)
	// UpdateDocument implements updateDocument operation.
	//
	// Update document metadata.
	//
	// PATCH /v2/documents/{document_id}
	UpdateDocument(ctx context.Context, req *UpdateDocumentRequest, params UpdateDocumentParams) (UpdateDocumentRes, error)
	// UpdateGuardrail implements updateGuardrail operation.
	//
	// Update a guardrail.
	//
	// PATCH /v2/guardrails/{guardrail_id}
	UpdateGuardrail(ctx context.Context, req *UpdateGuardrailRequest, params UpdateGuardrailParams) (UpdateGuardrailRes, error)
	// UpdateObjectives implements updateObjectives operation.
	//
	// Update objectives.
	//
	// PATCH /v2/objectives/{objectives_id}
	UpdateObjectives(ctx context.Context, req *UpdateObjectivesRequest, params UpdateObjectivesParams) (UpdateObjectivesRes, error)
	// UpdatePal implements updatePal operation.
	//
	// Update a PAL.
	//
	// PATCH /v2/pals/{pal_id}
	UpdatePal(ctx context.Context, req *UpdatePalRequest, params UpdatePalParams) (UpdatePalRes, error)
	// UpdateTool implements updateTool operation.
	//
	// Update a tool.
	//
	// PATCH /v2/tools/{tool_id}
	UpdateTool(ctx context.Context, req *UpdateToolRequest, params UpdateToolParams) (UpdateToolRes, error)
}

Handler handles operations described by OpenAPI v3 specification.

type Invoker

type Invoker interface {
	// AttachToolToPal invokes attachToolToPal operation.
	//
	// Attaches an existing tool to a PAL. Maximum 50 tools per PAL.
	//
	// POST /v2/pals/{pal_id}/tools
	AttachToolToPal(ctx context.Context, request *AttachToolToPalReq, params AttachToolToPalParams) (AttachToolToPalRes, error)
	// CreateConversation invokes createConversation operation.
	//
	// Creates a new real-time conversation session with a PAL.
	// The conversation URL can be used to join the video call.
	//
	// POST /v2/conversations
	CreateConversation(ctx context.Context, request *CreateConversationRequest) (CreateConversationRes, error)
	// CreateDeployment invokes createDeployment operation.
	//
	// Creates a distribution channel for a PAL (widget, embed, or landing page).
	//
	// POST /v2/deployments
	CreateDeployment(ctx context.Context, request *CreateDeploymentRequest) (CreateDeploymentRes, error)
	// CreateDocument invokes createDocument operation.
	//
	// Uploads a document to the knowledge base.
	// Supported formats: PDF, TXT, DOCX, DOC, PNG, JPG, PPTX, CSV, XLSX (max 50MB).
	//
	// POST /v2/documents
	CreateDocument(ctx context.Context, request *CreateDocumentRequest) (CreateDocumentRes, error)
	// CreateFace invokes createFace operation.
	//
	// Creates a new face by training on a video or image.
	// Training is asynchronous - use the callback_url or poll the face status.
	//
	// POST /v2/faces
	CreateFace(ctx context.Context, request *CreateFaceRequest) (CreateFaceRes, error)
	// CreateGuardrail invokes createGuardrail operation.
	//
	// Creates a behavioral boundary for PAL conversations.
	//
	// POST /v2/guardrails
	CreateGuardrail(ctx context.Context, request *CreateGuardrailRequest) (CreateGuardrailRes, error)
	// CreateObjectives invokes createObjectives operation.
	//
	// Creates measurable goals for PAL conversations.
	//
	// POST /v2/objectives
	CreateObjectives(ctx context.Context, request *CreateObjectivesRequest) (CreateObjectivesRes, error)
	// CreatePal invokes createPal operation.
	//
	// Creates a new PAL (Personality AI Layer) that defines the avatar's
	// behavior, knowledge, and configuration.
	//
	// POST /v2/pals
	CreatePal(ctx context.Context, request *CreatePalRequest) (CreatePalRes, error)
	// CreateTool invokes createTool operation.
	//
	// Creates a function calling tool that can be attached to PALs.
	//
	// POST /v2/tools
	CreateTool(ctx context.Context, request *CreateToolRequest) (CreateToolRes, error)
	// CreateVideo invokes createVideo operation.
	//
	// Creates a new video using a face and script or audio.
	// Video generation is asynchronous.
	//
	// POST /v2/videos
	CreateVideo(ctx context.Context, request *CreateVideoRequest) (CreateVideoRes, error)
	// DeleteConversation invokes deleteConversation operation.
	//
	// Delete a conversation.
	//
	// DELETE /v2/conversations/{conversation_id}
	DeleteConversation(ctx context.Context, params DeleteConversationParams) (DeleteConversationRes, error)
	// DeleteDeployment invokes deleteDeployment operation.
	//
	// Delete a deployment.
	//
	// DELETE /v2/deployments/{deployment_id}
	DeleteDeployment(ctx context.Context, params DeleteDeploymentParams) (DeleteDeploymentRes, error)
	// DeleteDocument invokes deleteDocument operation.
	//
	// Delete a document.
	//
	// DELETE /v2/documents/{document_id}
	DeleteDocument(ctx context.Context, params DeleteDocumentParams) (DeleteDocumentRes, error)
	// DeleteFace invokes deleteFace operation.
	//
	// Delete a face.
	//
	// DELETE /v2/faces/{face_id}
	DeleteFace(ctx context.Context, params DeleteFaceParams) (DeleteFaceRes, error)
	// DeleteGuardrail invokes deleteGuardrail operation.
	//
	// Delete a guardrail.
	//
	// DELETE /v2/guardrails/{guardrail_id}
	DeleteGuardrail(ctx context.Context, params DeleteGuardrailParams) (DeleteGuardrailRes, error)
	// DeleteObjectives invokes deleteObjectives operation.
	//
	// Delete objectives.
	//
	// DELETE /v2/objectives/{objectives_id}
	DeleteObjectives(ctx context.Context, params DeleteObjectivesParams) (DeleteObjectivesRes, error)
	// DeletePal invokes deletePal operation.
	//
	// Delete a PAL.
	//
	// DELETE /v2/pals/{pal_id}
	DeletePal(ctx context.Context, params DeletePalParams) (DeletePalRes, error)
	// DeleteTool invokes deleteTool operation.
	//
	// Delete a tool.
	//
	// DELETE /v2/tools/{tool_id}
	DeleteTool(ctx context.Context, params DeleteToolParams) (DeleteToolRes, error)
	// DeleteVideo invokes deleteVideo operation.
	//
	// Delete a video.
	//
	// DELETE /v2/videos/{video_id}
	DeleteVideo(ctx context.Context, params DeleteVideoParams) (DeleteVideoRes, error)
	// EndConversation invokes endConversation operation.
	//
	// Gracefully ends an active conversation session.
	//
	// POST /v2/conversations/{conversation_id}/end
	EndConversation(ctx context.Context, params EndConversationParams) (EndConversationRes, error)
	// GetConversation invokes getConversation operation.
	//
	// Get a conversation.
	//
	// GET /v2/conversations/{conversation_id}
	GetConversation(ctx context.Context, params GetConversationParams) (GetConversationRes, error)
	// GetDeployment invokes getDeployment operation.
	//
	// Get a deployment.
	//
	// GET /v2/deployments/{deployment_id}
	GetDeployment(ctx context.Context, params GetDeploymentParams) (GetDeploymentRes, error)
	// GetDocument invokes getDocument operation.
	//
	// Get a document.
	//
	// GET /v2/documents/{document_id}
	GetDocument(ctx context.Context, params GetDocumentParams) (GetDocumentRes, error)
	// GetFace invokes getFace operation.
	//
	// Get a face.
	//
	// GET /v2/faces/{face_id}
	GetFace(ctx context.Context, params GetFaceParams) (GetFaceRes, error)
	// GetGuardrail invokes getGuardrail operation.
	//
	// Get a guardrail.
	//
	// GET /v2/guardrails/{guardrail_id}
	GetGuardrail(ctx context.Context, params GetGuardrailParams) (GetGuardrailRes, error)
	// GetObjectives invokes getObjectives operation.
	//
	// Get objectives.
	//
	// GET /v2/objectives/{objectives_id}
	GetObjectives(ctx context.Context, params GetObjectivesParams) (GetObjectivesRes, error)
	// GetPal invokes getPal operation.
	//
	// Get a PAL.
	//
	// GET /v2/pals/{pal_id}
	GetPal(ctx context.Context, params GetPalParams) (GetPalRes, error)
	// GetTool invokes getTool operation.
	//
	// Get a tool.
	//
	// GET /v2/tools/{tool_id}
	GetTool(ctx context.Context, params GetToolParams) (GetToolRes, error)
	// GetVideo invokes getVideo operation.
	//
	// Get a video.
	//
	// GET /v2/videos/{video_id}
	GetVideo(ctx context.Context, params GetVideoParams) (GetVideoRes, error)
	// ListConversations invokes listConversations operation.
	//
	// List all conversations.
	//
	// GET /v2/conversations
	ListConversations(ctx context.Context, params ListConversationsParams) (ListConversationsRes, error)
	// ListDeployments invokes listDeployments operation.
	//
	// List all deployments.
	//
	// GET /v2/deployments
	ListDeployments(ctx context.Context, params ListDeploymentsParams) (ListDeploymentsRes, error)
	// ListDocuments invokes listDocuments operation.
	//
	// List all documents.
	//
	// GET /v2/documents
	ListDocuments(ctx context.Context, params ListDocumentsParams) (ListDocumentsRes, error)
	// ListFaces invokes listFaces operation.
	//
	// List all faces.
	//
	// GET /v2/faces
	ListFaces(ctx context.Context, params ListFacesParams) (ListFacesRes, error)
	// ListGuardrails invokes listGuardrails operation.
	//
	// List all guardrails.
	//
	// GET /v2/guardrails
	ListGuardrails(ctx context.Context, params ListGuardrailsParams) (ListGuardrailsRes, error)
	// ListObjectives invokes listObjectives operation.
	//
	// List all objectives.
	//
	// GET /v2/objectives
	ListObjectives(ctx context.Context, params ListObjectivesParams) (ListObjectivesRes, error)
	// ListPals invokes listPals operation.
	//
	// List all PALs.
	//
	// GET /v2/pals
	ListPals(ctx context.Context, params ListPalsParams) (ListPalsRes, error)
	// ListTools invokes listTools operation.
	//
	// List all tools.
	//
	// GET /v2/tools
	ListTools(ctx context.Context, params ListToolsParams) (ListToolsRes, error)
	// ListVideos invokes listVideos operation.
	//
	// List all videos.
	//
	// GET /v2/videos
	ListVideos(ctx context.Context, params ListVideosParams) (ListVideosRes, error)
	// ListVoices invokes listVoices operation.
	//
	// Lists stock voices available for image-to-face training.
	//
	// GET /v2/voices
	ListVoices(ctx context.Context, params ListVoicesParams) (ListVoicesRes, error)
	// RenameFace invokes renameFace operation.
	//
	// Rename a face.
	//
	// PATCH /v2/faces/{face_id}/name
	RenameFace(ctx context.Context, request *RenameFaceReq, params RenameFaceParams) (RenameFaceRes, error)
	// RenameVideo invokes renameVideo operation.
	//
	// Rename a video.
	//
	// PATCH /v2/videos/{video_id}/name
	RenameVideo(ctx context.Context, request *RenameVideoReq, params RenameVideoParams) (RenameVideoRes, error)
	// UpdateDeployment invokes updateDeployment operation.
	//
	// Update a deployment.
	//
	// PATCH /v2/deployments/{deployment_id}
	UpdateDeployment(ctx context.Context, request *UpdateDeploymentRequest, params UpdateDeploymentParams) (UpdateDeploymentRes, error)
	// UpdateDocument invokes updateDocument operation.
	//
	// Update document metadata.
	//
	// PATCH /v2/documents/{document_id}
	UpdateDocument(ctx context.Context, request *UpdateDocumentRequest, params UpdateDocumentParams) (UpdateDocumentRes, error)
	// UpdateGuardrail invokes updateGuardrail operation.
	//
	// Update a guardrail.
	//
	// PATCH /v2/guardrails/{guardrail_id}
	UpdateGuardrail(ctx context.Context, request *UpdateGuardrailRequest, params UpdateGuardrailParams) (UpdateGuardrailRes, error)
	// UpdateObjectives invokes updateObjectives operation.
	//
	// Update objectives.
	//
	// PATCH /v2/objectives/{objectives_id}
	UpdateObjectives(ctx context.Context, request *UpdateObjectivesRequest, params UpdateObjectivesParams) (UpdateObjectivesRes, error)
	// UpdatePal invokes updatePal operation.
	//
	// Update a PAL.
	//
	// PATCH /v2/pals/{pal_id}
	UpdatePal(ctx context.Context, request *UpdatePalRequest, params UpdatePalParams) (UpdatePalRes, error)
	// UpdateTool invokes updateTool operation.
	//
	// Update a tool.
	//
	// PATCH /v2/tools/{tool_id}
	UpdateTool(ctx context.Context, request *UpdateToolRequest, params UpdateToolParams) (UpdateToolRes, 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 ListConversationsParams

type ListConversationsParams struct {
	// Maximum number of items to return.
	Limit OptInt `json:",omitempty,omitzero"`
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
}

ListConversationsParams is parameters of listConversations operation.

type ListConversationsRes

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

type ListConversationsResponse

type ListConversationsResponse struct {
	Data       []Conversation `json:"data"`
	TotalCount OptInt         `json:"total_count"`
	Page       OptInt         `json:"page"`
	Limit      OptInt         `json:"limit"`
}

Ref: #/components/schemas/ListConversationsResponse

func (*ListConversationsResponse) Decode

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

Decode decodes ListConversationsResponse from json.

func (*ListConversationsResponse) Encode

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

Encode implements json.Marshaler.

func (*ListConversationsResponse) GetData

func (s *ListConversationsResponse) GetData() []Conversation

GetData returns the value of Data.

func (*ListConversationsResponse) GetLimit

func (s *ListConversationsResponse) GetLimit() OptInt

GetLimit returns the value of Limit.

func (*ListConversationsResponse) GetPage

func (s *ListConversationsResponse) GetPage() OptInt

GetPage returns the value of Page.

func (*ListConversationsResponse) GetTotalCount

func (s *ListConversationsResponse) GetTotalCount() OptInt

GetTotalCount returns the value of TotalCount.

func (*ListConversationsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListConversationsResponse) SetData

func (s *ListConversationsResponse) SetData(val []Conversation)

SetData sets the value of Data.

func (*ListConversationsResponse) SetLimit

func (s *ListConversationsResponse) SetLimit(val OptInt)

SetLimit sets the value of Limit.

func (*ListConversationsResponse) SetPage

func (s *ListConversationsResponse) SetPage(val OptInt)

SetPage sets the value of Page.

func (*ListConversationsResponse) SetTotalCount

func (s *ListConversationsResponse) SetTotalCount(val OptInt)

SetTotalCount sets the value of TotalCount.

func (*ListConversationsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListConversationsResponse) Validate

func (s *ListConversationsResponse) Validate() error

type ListDeploymentsParams

type ListDeploymentsParams struct {
	// Maximum number of items to return.
	Limit OptInt `json:",omitempty,omitzero"`
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
}

ListDeploymentsParams is parameters of listDeployments operation.

type ListDeploymentsRes

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

type ListDeploymentsResponse

type ListDeploymentsResponse struct {
	Data       []Deployment `json:"data"`
	TotalCount OptInt       `json:"total_count"`
	Page       OptInt       `json:"page"`
	Limit      OptInt       `json:"limit"`
}

Ref: #/components/schemas/ListDeploymentsResponse

func (*ListDeploymentsResponse) Decode

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

Decode decodes ListDeploymentsResponse from json.

func (*ListDeploymentsResponse) Encode

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

Encode implements json.Marshaler.

func (*ListDeploymentsResponse) GetData

func (s *ListDeploymentsResponse) GetData() []Deployment

GetData returns the value of Data.

func (*ListDeploymentsResponse) GetLimit

func (s *ListDeploymentsResponse) GetLimit() OptInt

GetLimit returns the value of Limit.

func (*ListDeploymentsResponse) GetPage

func (s *ListDeploymentsResponse) GetPage() OptInt

GetPage returns the value of Page.

func (*ListDeploymentsResponse) GetTotalCount

func (s *ListDeploymentsResponse) GetTotalCount() OptInt

GetTotalCount returns the value of TotalCount.

func (*ListDeploymentsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListDeploymentsResponse) SetData

func (s *ListDeploymentsResponse) SetData(val []Deployment)

SetData sets the value of Data.

func (*ListDeploymentsResponse) SetLimit

func (s *ListDeploymentsResponse) SetLimit(val OptInt)

SetLimit sets the value of Limit.

func (*ListDeploymentsResponse) SetPage

func (s *ListDeploymentsResponse) SetPage(val OptInt)

SetPage sets the value of Page.

func (*ListDeploymentsResponse) SetTotalCount

func (s *ListDeploymentsResponse) SetTotalCount(val OptInt)

SetTotalCount sets the value of TotalCount.

func (*ListDeploymentsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListDocumentsParams

type ListDocumentsParams struct {
	// Maximum number of items to return.
	Limit OptInt `json:",omitempty,omitzero"`
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
}

ListDocumentsParams is parameters of listDocuments operation.

type ListDocumentsRes

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

type ListDocumentsResponse

type ListDocumentsResponse struct {
	Data       []Document `json:"data"`
	TotalCount OptInt     `json:"total_count"`
	Page       OptInt     `json:"page"`
	Limit      OptInt     `json:"limit"`
}

Ref: #/components/schemas/ListDocumentsResponse

func (*ListDocumentsResponse) Decode

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

Decode decodes ListDocumentsResponse from json.

func (*ListDocumentsResponse) Encode

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

Encode implements json.Marshaler.

func (*ListDocumentsResponse) GetData

func (s *ListDocumentsResponse) GetData() []Document

GetData returns the value of Data.

func (*ListDocumentsResponse) GetLimit

func (s *ListDocumentsResponse) GetLimit() OptInt

GetLimit returns the value of Limit.

func (*ListDocumentsResponse) GetPage

func (s *ListDocumentsResponse) GetPage() OptInt

GetPage returns the value of Page.

func (*ListDocumentsResponse) GetTotalCount

func (s *ListDocumentsResponse) GetTotalCount() OptInt

GetTotalCount returns the value of TotalCount.

func (*ListDocumentsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListDocumentsResponse) SetData

func (s *ListDocumentsResponse) SetData(val []Document)

SetData sets the value of Data.

func (*ListDocumentsResponse) SetLimit

func (s *ListDocumentsResponse) SetLimit(val OptInt)

SetLimit sets the value of Limit.

func (*ListDocumentsResponse) SetPage

func (s *ListDocumentsResponse) SetPage(val OptInt)

SetPage sets the value of Page.

func (*ListDocumentsResponse) SetTotalCount

func (s *ListDocumentsResponse) SetTotalCount(val OptInt)

SetTotalCount sets the value of TotalCount.

func (*ListDocumentsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListDocumentsResponse) Validate

func (s *ListDocumentsResponse) Validate() error

type ListFacesParams

type ListFacesParams struct {
	// Maximum number of items to return.
	Limit OptInt `json:",omitempty,omitzero"`
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
}

ListFacesParams is parameters of listFaces operation.

type ListFacesRes

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

type ListFacesResponse

type ListFacesResponse struct {
	Data       []Face `json:"data"`
	TotalCount OptInt `json:"total_count"`
	Page       OptInt `json:"page"`
	Limit      OptInt `json:"limit"`
}

Ref: #/components/schemas/ListFacesResponse

func (*ListFacesResponse) Decode

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

Decode decodes ListFacesResponse from json.

func (*ListFacesResponse) Encode

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

Encode implements json.Marshaler.

func (*ListFacesResponse) GetData

func (s *ListFacesResponse) GetData() []Face

GetData returns the value of Data.

func (*ListFacesResponse) GetLimit

func (s *ListFacesResponse) GetLimit() OptInt

GetLimit returns the value of Limit.

func (*ListFacesResponse) GetPage

func (s *ListFacesResponse) GetPage() OptInt

GetPage returns the value of Page.

func (*ListFacesResponse) GetTotalCount

func (s *ListFacesResponse) GetTotalCount() OptInt

GetTotalCount returns the value of TotalCount.

func (*ListFacesResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListFacesResponse) SetData

func (s *ListFacesResponse) SetData(val []Face)

SetData sets the value of Data.

func (*ListFacesResponse) SetLimit

func (s *ListFacesResponse) SetLimit(val OptInt)

SetLimit sets the value of Limit.

func (*ListFacesResponse) SetPage

func (s *ListFacesResponse) SetPage(val OptInt)

SetPage sets the value of Page.

func (*ListFacesResponse) SetTotalCount

func (s *ListFacesResponse) SetTotalCount(val OptInt)

SetTotalCount sets the value of TotalCount.

func (*ListFacesResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListFacesResponse) Validate

func (s *ListFacesResponse) Validate() error

type ListGuardrailsParams

type ListGuardrailsParams struct {
	// Maximum number of items to return.
	Limit OptInt `json:",omitempty,omitzero"`
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
}

ListGuardrailsParams is parameters of listGuardrails operation.

type ListGuardrailsRes

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

type ListGuardrailsResponse

type ListGuardrailsResponse struct {
	Data       []Guardrail `json:"data"`
	TotalCount OptInt      `json:"total_count"`
	Page       OptInt      `json:"page"`
	Limit      OptInt      `json:"limit"`
}

Ref: #/components/schemas/ListGuardrailsResponse

func (*ListGuardrailsResponse) Decode

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

Decode decodes ListGuardrailsResponse from json.

func (*ListGuardrailsResponse) Encode

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

Encode implements json.Marshaler.

func (*ListGuardrailsResponse) GetData

func (s *ListGuardrailsResponse) GetData() []Guardrail

GetData returns the value of Data.

func (*ListGuardrailsResponse) GetLimit

func (s *ListGuardrailsResponse) GetLimit() OptInt

GetLimit returns the value of Limit.

func (*ListGuardrailsResponse) GetPage

func (s *ListGuardrailsResponse) GetPage() OptInt

GetPage returns the value of Page.

func (*ListGuardrailsResponse) GetTotalCount

func (s *ListGuardrailsResponse) GetTotalCount() OptInt

GetTotalCount returns the value of TotalCount.

func (*ListGuardrailsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListGuardrailsResponse) SetData

func (s *ListGuardrailsResponse) SetData(val []Guardrail)

SetData sets the value of Data.

func (*ListGuardrailsResponse) SetLimit

func (s *ListGuardrailsResponse) SetLimit(val OptInt)

SetLimit sets the value of Limit.

func (*ListGuardrailsResponse) SetPage

func (s *ListGuardrailsResponse) SetPage(val OptInt)

SetPage sets the value of Page.

func (*ListGuardrailsResponse) SetTotalCount

func (s *ListGuardrailsResponse) SetTotalCount(val OptInt)

SetTotalCount sets the value of TotalCount.

func (*ListGuardrailsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListObjectivesParams

type ListObjectivesParams struct {
	// Maximum number of items to return.
	Limit OptInt `json:",omitempty,omitzero"`
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
}

ListObjectivesParams is parameters of listObjectives operation.

type ListObjectivesRes

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

type ListObjectivesResponse

type ListObjectivesResponse struct {
	Data       []Objectives `json:"data"`
	TotalCount OptInt       `json:"total_count"`
	Page       OptInt       `json:"page"`
	Limit      OptInt       `json:"limit"`
}

Ref: #/components/schemas/ListObjectivesResponse

func (*ListObjectivesResponse) Decode

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

Decode decodes ListObjectivesResponse from json.

func (*ListObjectivesResponse) Encode

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

Encode implements json.Marshaler.

func (*ListObjectivesResponse) GetData

func (s *ListObjectivesResponse) GetData() []Objectives

GetData returns the value of Data.

func (*ListObjectivesResponse) GetLimit

func (s *ListObjectivesResponse) GetLimit() OptInt

GetLimit returns the value of Limit.

func (*ListObjectivesResponse) GetPage

func (s *ListObjectivesResponse) GetPage() OptInt

GetPage returns the value of Page.

func (*ListObjectivesResponse) GetTotalCount

func (s *ListObjectivesResponse) GetTotalCount() OptInt

GetTotalCount returns the value of TotalCount.

func (*ListObjectivesResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListObjectivesResponse) SetData

func (s *ListObjectivesResponse) SetData(val []Objectives)

SetData sets the value of Data.

func (*ListObjectivesResponse) SetLimit

func (s *ListObjectivesResponse) SetLimit(val OptInt)

SetLimit sets the value of Limit.

func (*ListObjectivesResponse) SetPage

func (s *ListObjectivesResponse) SetPage(val OptInt)

SetPage sets the value of Page.

func (*ListObjectivesResponse) SetTotalCount

func (s *ListObjectivesResponse) SetTotalCount(val OptInt)

SetTotalCount sets the value of TotalCount.

func (*ListObjectivesResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListObjectivesResponse) Validate

func (s *ListObjectivesResponse) Validate() error

type ListPalsParams

type ListPalsParams struct {
	// Maximum number of items to return.
	Limit OptInt `json:",omitempty,omitzero"`
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
}

ListPalsParams is parameters of listPals operation.

type ListPalsRes

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

type ListPalsResponse

type ListPalsResponse struct {
	Data       []Pal  `json:"data"`
	TotalCount OptInt `json:"total_count"`
	Page       OptInt `json:"page"`
	Limit      OptInt `json:"limit"`
}

Ref: #/components/schemas/ListPalsResponse

func (*ListPalsResponse) Decode

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

Decode decodes ListPalsResponse from json.

func (*ListPalsResponse) Encode

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

Encode implements json.Marshaler.

func (*ListPalsResponse) GetData

func (s *ListPalsResponse) GetData() []Pal

GetData returns the value of Data.

func (*ListPalsResponse) GetLimit

func (s *ListPalsResponse) GetLimit() OptInt

GetLimit returns the value of Limit.

func (*ListPalsResponse) GetPage

func (s *ListPalsResponse) GetPage() OptInt

GetPage returns the value of Page.

func (*ListPalsResponse) GetTotalCount

func (s *ListPalsResponse) GetTotalCount() OptInt

GetTotalCount returns the value of TotalCount.

func (*ListPalsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListPalsResponse) SetData

func (s *ListPalsResponse) SetData(val []Pal)

SetData sets the value of Data.

func (*ListPalsResponse) SetLimit

func (s *ListPalsResponse) SetLimit(val OptInt)

SetLimit sets the value of Limit.

func (*ListPalsResponse) SetPage

func (s *ListPalsResponse) SetPage(val OptInt)

SetPage sets the value of Page.

func (*ListPalsResponse) SetTotalCount

func (s *ListPalsResponse) SetTotalCount(val OptInt)

SetTotalCount sets the value of TotalCount.

func (*ListPalsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListPalsResponse) Validate

func (s *ListPalsResponse) Validate() error

type ListToolsParams

type ListToolsParams struct {
	// Maximum number of items to return.
	Limit OptInt `json:",omitempty,omitzero"`
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
}

ListToolsParams is parameters of listTools operation.

type ListToolsRes

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

type ListToolsResponse

type ListToolsResponse struct {
	Data       []Tool `json:"data"`
	TotalCount OptInt `json:"total_count"`
	Page       OptInt `json:"page"`
	Limit      OptInt `json:"limit"`
}

Ref: #/components/schemas/ListToolsResponse

func (*ListToolsResponse) Decode

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

Decode decodes ListToolsResponse from json.

func (*ListToolsResponse) Encode

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

Encode implements json.Marshaler.

func (*ListToolsResponse) GetData

func (s *ListToolsResponse) GetData() []Tool

GetData returns the value of Data.

func (*ListToolsResponse) GetLimit

func (s *ListToolsResponse) GetLimit() OptInt

GetLimit returns the value of Limit.

func (*ListToolsResponse) GetPage

func (s *ListToolsResponse) GetPage() OptInt

GetPage returns the value of Page.

func (*ListToolsResponse) GetTotalCount

func (s *ListToolsResponse) GetTotalCount() OptInt

GetTotalCount returns the value of TotalCount.

func (*ListToolsResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListToolsResponse) SetData

func (s *ListToolsResponse) SetData(val []Tool)

SetData sets the value of Data.

func (*ListToolsResponse) SetLimit

func (s *ListToolsResponse) SetLimit(val OptInt)

SetLimit sets the value of Limit.

func (*ListToolsResponse) SetPage

func (s *ListToolsResponse) SetPage(val OptInt)

SetPage sets the value of Page.

func (*ListToolsResponse) SetTotalCount

func (s *ListToolsResponse) SetTotalCount(val OptInt)

SetTotalCount sets the value of TotalCount.

func (*ListToolsResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListVideosParams

type ListVideosParams struct {
	// Maximum number of items to return.
	Limit OptInt `json:",omitempty,omitzero"`
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
}

ListVideosParams is parameters of listVideos operation.

type ListVideosRes

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

type ListVideosResponse

type ListVideosResponse struct {
	Data       []Video `json:"data"`
	TotalCount OptInt  `json:"total_count"`
	Page       OptInt  `json:"page"`
	Limit      OptInt  `json:"limit"`
}

Ref: #/components/schemas/ListVideosResponse

func (*ListVideosResponse) Decode

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

Decode decodes ListVideosResponse from json.

func (*ListVideosResponse) Encode

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

Encode implements json.Marshaler.

func (*ListVideosResponse) GetData

func (s *ListVideosResponse) GetData() []Video

GetData returns the value of Data.

func (*ListVideosResponse) GetLimit

func (s *ListVideosResponse) GetLimit() OptInt

GetLimit returns the value of Limit.

func (*ListVideosResponse) GetPage

func (s *ListVideosResponse) GetPage() OptInt

GetPage returns the value of Page.

func (*ListVideosResponse) GetTotalCount

func (s *ListVideosResponse) GetTotalCount() OptInt

GetTotalCount returns the value of TotalCount.

func (*ListVideosResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListVideosResponse) SetData

func (s *ListVideosResponse) SetData(val []Video)

SetData sets the value of Data.

func (*ListVideosResponse) SetLimit

func (s *ListVideosResponse) SetLimit(val OptInt)

SetLimit sets the value of Limit.

func (*ListVideosResponse) SetPage

func (s *ListVideosResponse) SetPage(val OptInt)

SetPage sets the value of Page.

func (*ListVideosResponse) SetTotalCount

func (s *ListVideosResponse) SetTotalCount(val OptInt)

SetTotalCount sets the value of TotalCount.

func (*ListVideosResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListVideosResponse) Validate

func (s *ListVideosResponse) Validate() error

type ListVoicesParams

type ListVoicesParams struct {
	// Maximum number of items to return.
	Limit OptInt `json:",omitempty,omitzero"`
	// Page number.
	Page OptInt `json:",omitempty,omitzero"`
	// Search by voice name (case-insensitive substring match).
	Search OptString `json:",omitempty,omitzero"`
	// Sort order.
	Sort OptListVoicesSort `json:",omitempty,omitzero"`
	// Filter by tag (case-insensitive).
	Tag OptString `json:",omitempty,omitzero"`
}

ListVoicesParams is parameters of listVoices operation.

type ListVoicesRes

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

type ListVoicesResponse

type ListVoicesResponse struct {
	Data       []Voice `json:"data"`
	TotalCount OptInt  `json:"total_count"`
	Page       OptInt  `json:"page"`
	Limit      OptInt  `json:"limit"`
}

Ref: #/components/schemas/ListVoicesResponse

func (*ListVoicesResponse) Decode

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

Decode decodes ListVoicesResponse from json.

func (*ListVoicesResponse) Encode

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

Encode implements json.Marshaler.

func (*ListVoicesResponse) GetData

func (s *ListVoicesResponse) GetData() []Voice

GetData returns the value of Data.

func (*ListVoicesResponse) GetLimit

func (s *ListVoicesResponse) GetLimit() OptInt

GetLimit returns the value of Limit.

func (*ListVoicesResponse) GetPage

func (s *ListVoicesResponse) GetPage() OptInt

GetPage returns the value of Page.

func (*ListVoicesResponse) GetTotalCount

func (s *ListVoicesResponse) GetTotalCount() OptInt

GetTotalCount returns the value of TotalCount.

func (*ListVoicesResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ListVoicesResponse) SetData

func (s *ListVoicesResponse) SetData(val []Voice)

SetData sets the value of Data.

func (*ListVoicesResponse) SetLimit

func (s *ListVoicesResponse) SetLimit(val OptInt)

SetLimit sets the value of Limit.

func (*ListVoicesResponse) SetPage

func (s *ListVoicesResponse) SetPage(val OptInt)

SetPage sets the value of Page.

func (*ListVoicesResponse) SetTotalCount

func (s *ListVoicesResponse) SetTotalCount(val OptInt)

SetTotalCount sets the value of TotalCount.

func (*ListVoicesResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListVoicesSort

type ListVoicesSort string
const (
	ListVoicesSortAsc  ListVoicesSort = "asc"
	ListVoicesSortDesc ListVoicesSort = "desc"
)

func (ListVoicesSort) AllValues

func (ListVoicesSort) AllValues() []ListVoicesSort

AllValues returns all ListVoicesSort values.

func (ListVoicesSort) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ListVoicesSort) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ListVoicesSort) Validate

func (s ListVoicesSort) Validate() error

type LlmLayer

type LlmLayer struct {
	Model     OptString            `json:"model"`
	BaseURL   OptString            `json:"base_url"`
	APIKey    OptString            `json:"api_key"`
	ExtraBody OptLlmLayerExtraBody `json:"extra_body"`
}

Ref: #/components/schemas/LlmLayer

func (*LlmLayer) Decode

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

Decode decodes LlmLayer from json.

func (*LlmLayer) Encode

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

Encode implements json.Marshaler.

func (*LlmLayer) GetAPIKey

func (s *LlmLayer) GetAPIKey() OptString

GetAPIKey returns the value of APIKey.

func (*LlmLayer) GetBaseURL

func (s *LlmLayer) GetBaseURL() OptString

GetBaseURL returns the value of BaseURL.

func (*LlmLayer) GetExtraBody

func (s *LlmLayer) GetExtraBody() OptLlmLayerExtraBody

GetExtraBody returns the value of ExtraBody.

func (*LlmLayer) GetModel

func (s *LlmLayer) GetModel() OptString

GetModel returns the value of Model.

func (*LlmLayer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*LlmLayer) SetAPIKey

func (s *LlmLayer) SetAPIKey(val OptString)

SetAPIKey sets the value of APIKey.

func (*LlmLayer) SetBaseURL

func (s *LlmLayer) SetBaseURL(val OptString)

SetBaseURL sets the value of BaseURL.

func (*LlmLayer) SetExtraBody

func (s *LlmLayer) SetExtraBody(val OptLlmLayerExtraBody)

SetExtraBody sets the value of ExtraBody.

func (*LlmLayer) SetModel

func (s *LlmLayer) SetModel(val OptString)

SetModel sets the value of Model.

func (*LlmLayer) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LlmLayer) Validate

func (s *LlmLayer) Validate() error

type LlmLayerExtraBody

type LlmLayerExtraBody struct {
	Temperature OptFloat64 `json:"temperature"`
	TopP        OptFloat64 `json:"top_p"`
}

func (*LlmLayerExtraBody) Decode

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

Decode decodes LlmLayerExtraBody from json.

func (*LlmLayerExtraBody) Encode

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

Encode implements json.Marshaler.

func (*LlmLayerExtraBody) GetTemperature

func (s *LlmLayerExtraBody) GetTemperature() OptFloat64

GetTemperature returns the value of Temperature.

func (*LlmLayerExtraBody) GetTopP

func (s *LlmLayerExtraBody) GetTopP() OptFloat64

GetTopP returns the value of TopP.

func (*LlmLayerExtraBody) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*LlmLayerExtraBody) SetTemperature

func (s *LlmLayerExtraBody) SetTemperature(val OptFloat64)

SetTemperature sets the value of Temperature.

func (*LlmLayerExtraBody) SetTopP

func (s *LlmLayerExtraBody) SetTopP(val OptFloat64)

SetTopP sets the value of TopP.

func (*LlmLayerExtraBody) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LlmLayerExtraBody) Validate

func (s *LlmLayerExtraBody) Validate() error

type Middleware

type Middleware = middleware.Middleware

Middleware is middleware type.

type ObjectiveItem

type ObjectiveItem struct {
	// No spaces allowed.
	ObjectiveName string `json:"objective_name"`
	// Goal definition.
	ObjectivePrompt  string                           `json:"objective_prompt"`
	ConfirmationMode OptObjectiveItemConfirmationMode `json:"confirmation_mode"`
	// Variables to extract.
	OutputVariables []string                 `json:"output_variables"`
	Modality        OptObjectiveItemModality `json:"modality"`
	// Conditional branching.
	NextConditionalObjectives OptObjectiveItemNextConditionalObjectives `json:"next_conditional_objectives"`
	// Required next objective.
	NextRequiredObjective OptString `json:"next_required_objective"`
	CallbackURL           OptURI    `json:"callback_url"`
}

Ref: #/components/schemas/ObjectiveItem

func (*ObjectiveItem) Decode

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

Decode decodes ObjectiveItem from json.

func (*ObjectiveItem) Encode

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

Encode implements json.Marshaler.

func (*ObjectiveItem) GetCallbackURL

func (s *ObjectiveItem) GetCallbackURL() OptURI

GetCallbackURL returns the value of CallbackURL.

func (*ObjectiveItem) GetConfirmationMode

func (s *ObjectiveItem) GetConfirmationMode() OptObjectiveItemConfirmationMode

GetConfirmationMode returns the value of ConfirmationMode.

func (*ObjectiveItem) GetModality

func (s *ObjectiveItem) GetModality() OptObjectiveItemModality

GetModality returns the value of Modality.

func (*ObjectiveItem) GetNextConditionalObjectives

func (s *ObjectiveItem) GetNextConditionalObjectives() OptObjectiveItemNextConditionalObjectives

GetNextConditionalObjectives returns the value of NextConditionalObjectives.

func (*ObjectiveItem) GetNextRequiredObjective

func (s *ObjectiveItem) GetNextRequiredObjective() OptString

GetNextRequiredObjective returns the value of NextRequiredObjective.

func (*ObjectiveItem) GetObjectiveName

func (s *ObjectiveItem) GetObjectiveName() string

GetObjectiveName returns the value of ObjectiveName.

func (*ObjectiveItem) GetObjectivePrompt

func (s *ObjectiveItem) GetObjectivePrompt() string

GetObjectivePrompt returns the value of ObjectivePrompt.

func (*ObjectiveItem) GetOutputVariables

func (s *ObjectiveItem) GetOutputVariables() []string

GetOutputVariables returns the value of OutputVariables.

func (*ObjectiveItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ObjectiveItem) SetCallbackURL

func (s *ObjectiveItem) SetCallbackURL(val OptURI)

SetCallbackURL sets the value of CallbackURL.

func (*ObjectiveItem) SetConfirmationMode

func (s *ObjectiveItem) SetConfirmationMode(val OptObjectiveItemConfirmationMode)

SetConfirmationMode sets the value of ConfirmationMode.

func (*ObjectiveItem) SetModality

func (s *ObjectiveItem) SetModality(val OptObjectiveItemModality)

SetModality sets the value of Modality.

func (*ObjectiveItem) SetNextConditionalObjectives

func (s *ObjectiveItem) SetNextConditionalObjectives(val OptObjectiveItemNextConditionalObjectives)

SetNextConditionalObjectives sets the value of NextConditionalObjectives.

func (*ObjectiveItem) SetNextRequiredObjective

func (s *ObjectiveItem) SetNextRequiredObjective(val OptString)

SetNextRequiredObjective sets the value of NextRequiredObjective.

func (*ObjectiveItem) SetObjectiveName

func (s *ObjectiveItem) SetObjectiveName(val string)

SetObjectiveName sets the value of ObjectiveName.

func (*ObjectiveItem) SetObjectivePrompt

func (s *ObjectiveItem) SetObjectivePrompt(val string)

SetObjectivePrompt sets the value of ObjectivePrompt.

func (*ObjectiveItem) SetOutputVariables

func (s *ObjectiveItem) SetOutputVariables(val []string)

SetOutputVariables sets the value of OutputVariables.

func (*ObjectiveItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ObjectiveItem) Validate

func (s *ObjectiveItem) Validate() error

type ObjectiveItemConfirmationMode

type ObjectiveItemConfirmationMode string
const (
	ObjectiveItemConfirmationModeAuto   ObjectiveItemConfirmationMode = "auto"
	ObjectiveItemConfirmationModeManual ObjectiveItemConfirmationMode = "manual"
)

func (ObjectiveItemConfirmationMode) AllValues

AllValues returns all ObjectiveItemConfirmationMode values.

func (*ObjectiveItemConfirmationMode) Decode

Decode decodes ObjectiveItemConfirmationMode from json.

func (ObjectiveItemConfirmationMode) Encode

Encode encodes ObjectiveItemConfirmationMode as json.

func (ObjectiveItemConfirmationMode) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (ObjectiveItemConfirmationMode) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ObjectiveItemConfirmationMode) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ObjectiveItemConfirmationMode) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ObjectiveItemConfirmationMode) Validate

func (s ObjectiveItemConfirmationMode) Validate() error

type ObjectiveItemModality

type ObjectiveItemModality string
const (
	ObjectiveItemModalityVerbal ObjectiveItemModality = "verbal"
	ObjectiveItemModalityVisual ObjectiveItemModality = "visual"
)

func (ObjectiveItemModality) AllValues

AllValues returns all ObjectiveItemModality values.

func (*ObjectiveItemModality) Decode

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

Decode decodes ObjectiveItemModality from json.

func (ObjectiveItemModality) Encode

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

Encode encodes ObjectiveItemModality as json.

func (ObjectiveItemModality) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (ObjectiveItemModality) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ObjectiveItemModality) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ObjectiveItemModality) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ObjectiveItemModality) Validate

func (s ObjectiveItemModality) Validate() error

type ObjectiveItemNextConditionalObjectives

type ObjectiveItemNextConditionalObjectives map[string]string

Conditional branching.

func (*ObjectiveItemNextConditionalObjectives) Decode

Decode decodes ObjectiveItemNextConditionalObjectives from json.

func (ObjectiveItemNextConditionalObjectives) Encode

Encode implements json.Marshaler.

func (ObjectiveItemNextConditionalObjectives) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ObjectiveItemNextConditionalObjectives) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Objectives

type Objectives struct {
	ObjectivesID OptString       `json:"objectives_id"`
	Objectives   []ObjectiveItem `json:"objectives"`
	CreatedAt    OptTimestamp    `json:"created_at"`
	UpdatedAt    OptTimestamp    `json:"updated_at"`
}

Ref: #/components/schemas/Objectives

func (*Objectives) Decode

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

Decode decodes Objectives from json.

func (*Objectives) Encode

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

Encode implements json.Marshaler.

func (*Objectives) GetCreatedAt

func (s *Objectives) GetCreatedAt() OptTimestamp

GetCreatedAt returns the value of CreatedAt.

func (*Objectives) GetObjectives

func (s *Objectives) GetObjectives() []ObjectiveItem

GetObjectives returns the value of Objectives.

func (*Objectives) GetObjectivesID

func (s *Objectives) GetObjectivesID() OptString

GetObjectivesID returns the value of ObjectivesID.

func (*Objectives) GetUpdatedAt

func (s *Objectives) GetUpdatedAt() OptTimestamp

GetUpdatedAt returns the value of UpdatedAt.

func (*Objectives) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Objectives) SetCreatedAt

func (s *Objectives) SetCreatedAt(val OptTimestamp)

SetCreatedAt sets the value of CreatedAt.

func (*Objectives) SetObjectives

func (s *Objectives) SetObjectives(val []ObjectiveItem)

SetObjectives sets the value of Objectives.

func (*Objectives) SetObjectivesID

func (s *Objectives) SetObjectivesID(val OptString)

SetObjectivesID sets the value of ObjectivesID.

func (*Objectives) SetUpdatedAt

func (s *Objectives) SetUpdatedAt(val OptTimestamp)

SetUpdatedAt sets the value of UpdatedAt.

func (*Objectives) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Objectives) Validate

func (s *Objectives) Validate() error

type OperationName

type OperationName = string

OperationName is the ogen operation name

const (
	AttachToolToPalOperation    OperationName = "AttachToolToPal"
	CreateConversationOperation OperationName = "CreateConversation"
	CreateDeploymentOperation   OperationName = "CreateDeployment"
	CreateDocumentOperation     OperationName = "CreateDocument"
	CreateFaceOperation         OperationName = "CreateFace"
	CreateGuardrailOperation    OperationName = "CreateGuardrail"
	CreateObjectivesOperation   OperationName = "CreateObjectives"
	CreatePalOperation          OperationName = "CreatePal"
	CreateToolOperation         OperationName = "CreateTool"
	CreateVideoOperation        OperationName = "CreateVideo"
	DeleteConversationOperation OperationName = "DeleteConversation"
	DeleteDeploymentOperation   OperationName = "DeleteDeployment"
	DeleteDocumentOperation     OperationName = "DeleteDocument"
	DeleteFaceOperation         OperationName = "DeleteFace"
	DeleteGuardrailOperation    OperationName = "DeleteGuardrail"
	DeleteObjectivesOperation   OperationName = "DeleteObjectives"
	DeletePalOperation          OperationName = "DeletePal"
	DeleteToolOperation         OperationName = "DeleteTool"
	DeleteVideoOperation        OperationName = "DeleteVideo"
	EndConversationOperation    OperationName = "EndConversation"
	GetConversationOperation    OperationName = "GetConversation"
	GetDeploymentOperation      OperationName = "GetDeployment"
	GetDocumentOperation        OperationName = "GetDocument"
	GetFaceOperation            OperationName = "GetFace"
	GetGuardrailOperation       OperationName = "GetGuardrail"
	GetObjectivesOperation      OperationName = "GetObjectives"
	GetPalOperation             OperationName = "GetPal"
	GetToolOperation            OperationName = "GetTool"
	GetVideoOperation           OperationName = "GetVideo"
	ListConversationsOperation  OperationName = "ListConversations"
	ListDeploymentsOperation    OperationName = "ListDeployments"
	ListDocumentsOperation      OperationName = "ListDocuments"
	ListFacesOperation          OperationName = "ListFaces"
	ListGuardrailsOperation     OperationName = "ListGuardrails"
	ListObjectivesOperation     OperationName = "ListObjectives"
	ListPalsOperation           OperationName = "ListPals"
	ListToolsOperation          OperationName = "ListTools"
	ListVideosOperation         OperationName = "ListVideos"
	ListVoicesOperation         OperationName = "ListVoices"
	RenameFaceOperation         OperationName = "RenameFace"
	RenameVideoOperation        OperationName = "RenameVideo"
	UpdateDeploymentOperation   OperationName = "UpdateDeployment"
	UpdateDocumentOperation     OperationName = "UpdateDocument"
	UpdateGuardrailOperation    OperationName = "UpdateGuardrail"
	UpdateObjectivesOperation   OperationName = "UpdateObjectives"
	UpdatePalOperation          OperationName = "UpdatePal"
	UpdateToolOperation         OperationName = "UpdateTool"
)

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 OptConversationProperties

type OptConversationProperties struct {
	Value ConversationProperties
	Set   bool
}

OptConversationProperties is optional ConversationProperties.

func NewOptConversationProperties

func NewOptConversationProperties(v ConversationProperties) OptConversationProperties

NewOptConversationProperties returns new OptConversationProperties with value set to v.

func (*OptConversationProperties) Decode

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

Decode decodes ConversationProperties from json.

func (OptConversationProperties) Encode

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

Encode encodes ConversationProperties as json.

func (OptConversationProperties) Get

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

func (OptConversationProperties) IsSet

func (o OptConversationProperties) IsSet() bool

IsSet returns true if OptConversationProperties was set.

func (OptConversationProperties) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptConversationProperties) Or

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

func (*OptConversationProperties) Reset

func (o *OptConversationProperties) Reset()

Reset unsets value.

func (*OptConversationProperties) SetTo

SetTo sets value to v.

func (*OptConversationProperties) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationStatus

type OptConversationStatus struct {
	Value ConversationStatus
	Set   bool
}

OptConversationStatus is optional ConversationStatus.

func NewOptConversationStatus

func NewOptConversationStatus(v ConversationStatus) OptConversationStatus

NewOptConversationStatus returns new OptConversationStatus with value set to v.

func (*OptConversationStatus) Decode

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

Decode decodes ConversationStatus from json.

func (OptConversationStatus) Encode

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

Encode encodes ConversationStatus as json.

func (OptConversationStatus) Get

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

func (OptConversationStatus) IsSet

func (o OptConversationStatus) IsSet() bool

IsSet returns true if OptConversationStatus was set.

func (OptConversationStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptConversationStatus) Or

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

func (*OptConversationStatus) Reset

func (o *OptConversationStatus) Reset()

Reset unsets value.

func (*OptConversationStatus) SetTo

SetTo sets value to v.

func (*OptConversationStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationalFlowLayer

type OptConversationalFlowLayer struct {
	Value ConversationalFlowLayer
	Set   bool
}

OptConversationalFlowLayer is optional ConversationalFlowLayer.

func NewOptConversationalFlowLayer

func NewOptConversationalFlowLayer(v ConversationalFlowLayer) OptConversationalFlowLayer

NewOptConversationalFlowLayer returns new OptConversationalFlowLayer with value set to v.

func (*OptConversationalFlowLayer) Decode

Decode decodes ConversationalFlowLayer from json.

func (OptConversationalFlowLayer) Encode

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

Encode encodes ConversationalFlowLayer as json.

func (OptConversationalFlowLayer) Get

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

func (OptConversationalFlowLayer) IsSet

func (o OptConversationalFlowLayer) IsSet() bool

IsSet returns true if OptConversationalFlowLayer was set.

func (OptConversationalFlowLayer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptConversationalFlowLayer) Or

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

func (*OptConversationalFlowLayer) Reset

func (o *OptConversationalFlowLayer) Reset()

Reset unsets value.

func (*OptConversationalFlowLayer) SetTo

SetTo sets value to v.

func (*OptConversationalFlowLayer) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateConversationRequestExtraPayload

type OptCreateConversationRequestExtraPayload struct {
	Value CreateConversationRequestExtraPayload
	Set   bool
}

OptCreateConversationRequestExtraPayload is optional CreateConversationRequestExtraPayload.

func NewOptCreateConversationRequestExtraPayload

func NewOptCreateConversationRequestExtraPayload(v CreateConversationRequestExtraPayload) OptCreateConversationRequestExtraPayload

NewOptCreateConversationRequestExtraPayload returns new OptCreateConversationRequestExtraPayload with value set to v.

func (*OptCreateConversationRequestExtraPayload) Decode

Decode decodes CreateConversationRequestExtraPayload from json.

func (OptCreateConversationRequestExtraPayload) Encode

Encode encodes CreateConversationRequestExtraPayload as json.

func (OptCreateConversationRequestExtraPayload) Get

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

func (OptCreateConversationRequestExtraPayload) IsSet

IsSet returns true if OptCreateConversationRequestExtraPayload was set.

func (OptCreateConversationRequestExtraPayload) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptCreateConversationRequestExtraPayload) Or

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

func (*OptCreateConversationRequestExtraPayload) Reset

Reset unsets value.

func (*OptCreateConversationRequestExtraPayload) SetTo

SetTo sets value to v.

func (*OptCreateConversationRequestExtraPayload) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateConversationResponseStatus

type OptCreateConversationResponseStatus struct {
	Value CreateConversationResponseStatus
	Set   bool
}

OptCreateConversationResponseStatus is optional CreateConversationResponseStatus.

func NewOptCreateConversationResponseStatus

func NewOptCreateConversationResponseStatus(v CreateConversationResponseStatus) OptCreateConversationResponseStatus

NewOptCreateConversationResponseStatus returns new OptCreateConversationResponseStatus with value set to v.

func (*OptCreateConversationResponseStatus) Decode

Decode decodes CreateConversationResponseStatus from json.

func (OptCreateConversationResponseStatus) Encode

Encode encodes CreateConversationResponseStatus as json.

func (OptCreateConversationResponseStatus) Get

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

func (OptCreateConversationResponseStatus) IsSet

IsSet returns true if OptCreateConversationResponseStatus was set.

func (OptCreateConversationResponseStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateConversationResponseStatus) Or

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

func (*OptCreateConversationResponseStatus) Reset

Reset unsets value.

func (*OptCreateConversationResponseStatus) SetTo

SetTo sets value to v.

func (*OptCreateConversationResponseStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateDeploymentRequestCustomization

type OptCreateDeploymentRequestCustomization struct {
	Value CreateDeploymentRequestCustomization
	Set   bool
}

OptCreateDeploymentRequestCustomization is optional CreateDeploymentRequestCustomization.

func NewOptCreateDeploymentRequestCustomization

func NewOptCreateDeploymentRequestCustomization(v CreateDeploymentRequestCustomization) OptCreateDeploymentRequestCustomization

NewOptCreateDeploymentRequestCustomization returns new OptCreateDeploymentRequestCustomization with value set to v.

func (*OptCreateDeploymentRequestCustomization) Decode

Decode decodes CreateDeploymentRequestCustomization from json.

func (OptCreateDeploymentRequestCustomization) Encode

Encode encodes CreateDeploymentRequestCustomization as json.

func (OptCreateDeploymentRequestCustomization) Get

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

func (OptCreateDeploymentRequestCustomization) IsSet

IsSet returns true if OptCreateDeploymentRequestCustomization was set.

func (OptCreateDeploymentRequestCustomization) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateDeploymentRequestCustomization) Or

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

func (*OptCreateDeploymentRequestCustomization) Reset

Reset unsets value.

func (*OptCreateDeploymentRequestCustomization) SetTo

SetTo sets value to v.

func (*OptCreateDeploymentRequestCustomization) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateDeploymentRequestLimits

type OptCreateDeploymentRequestLimits struct {
	Value CreateDeploymentRequestLimits
	Set   bool
}

OptCreateDeploymentRequestLimits is optional CreateDeploymentRequestLimits.

func NewOptCreateDeploymentRequestLimits

func NewOptCreateDeploymentRequestLimits(v CreateDeploymentRequestLimits) OptCreateDeploymentRequestLimits

NewOptCreateDeploymentRequestLimits returns new OptCreateDeploymentRequestLimits with value set to v.

func (*OptCreateDeploymentRequestLimits) Decode

Decode decodes CreateDeploymentRequestLimits from json.

func (OptCreateDeploymentRequestLimits) Encode

Encode encodes CreateDeploymentRequestLimits as json.

func (OptCreateDeploymentRequestLimits) Get

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

func (OptCreateDeploymentRequestLimits) IsSet

IsSet returns true if OptCreateDeploymentRequestLimits was set.

func (OptCreateDeploymentRequestLimits) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateDeploymentRequestLimits) Or

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

func (*OptCreateDeploymentRequestLimits) Reset

Reset unsets value.

func (*OptCreateDeploymentRequestLimits) SetTo

SetTo sets value to v.

func (*OptCreateDeploymentRequestLimits) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateDocumentRequestCrawl

type OptCreateDocumentRequestCrawl struct {
	Value CreateDocumentRequestCrawl
	Set   bool
}

OptCreateDocumentRequestCrawl is optional CreateDocumentRequestCrawl.

func NewOptCreateDocumentRequestCrawl

func NewOptCreateDocumentRequestCrawl(v CreateDocumentRequestCrawl) OptCreateDocumentRequestCrawl

NewOptCreateDocumentRequestCrawl returns new OptCreateDocumentRequestCrawl with value set to v.

func (*OptCreateDocumentRequestCrawl) Decode

Decode decodes CreateDocumentRequestCrawl from json.

func (OptCreateDocumentRequestCrawl) Encode

Encode encodes CreateDocumentRequestCrawl as json.

func (OptCreateDocumentRequestCrawl) Get

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

func (OptCreateDocumentRequestCrawl) IsSet

IsSet returns true if OptCreateDocumentRequestCrawl was set.

func (OptCreateDocumentRequestCrawl) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateDocumentRequestCrawl) Or

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

func (*OptCreateDocumentRequestCrawl) Reset

func (o *OptCreateDocumentRequestCrawl) Reset()

Reset unsets value.

func (*OptCreateDocumentRequestCrawl) SetTo

SetTo sets value to v.

func (*OptCreateDocumentRequestCrawl) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateDocumentResponseStatus

type OptCreateDocumentResponseStatus struct {
	Value CreateDocumentResponseStatus
	Set   bool
}

OptCreateDocumentResponseStatus is optional CreateDocumentResponseStatus.

func NewOptCreateDocumentResponseStatus

func NewOptCreateDocumentResponseStatus(v CreateDocumentResponseStatus) OptCreateDocumentResponseStatus

NewOptCreateDocumentResponseStatus returns new OptCreateDocumentResponseStatus with value set to v.

func (*OptCreateDocumentResponseStatus) Decode

Decode decodes CreateDocumentResponseStatus from json.

func (OptCreateDocumentResponseStatus) Encode

Encode encodes CreateDocumentResponseStatus as json.

func (OptCreateDocumentResponseStatus) Get

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

func (OptCreateDocumentResponseStatus) IsSet

IsSet returns true if OptCreateDocumentResponseStatus was set.

func (OptCreateDocumentResponseStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateDocumentResponseStatus) Or

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

func (*OptCreateDocumentResponseStatus) Reset

Reset unsets value.

func (*OptCreateDocumentResponseStatus) SetTo

SetTo sets value to v.

func (*OptCreateDocumentResponseStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateFaceRequestProperties

type OptCreateFaceRequestProperties struct {
	Value CreateFaceRequestProperties
	Set   bool
}

OptCreateFaceRequestProperties is optional CreateFaceRequestProperties.

func NewOptCreateFaceRequestProperties

func NewOptCreateFaceRequestProperties(v CreateFaceRequestProperties) OptCreateFaceRequestProperties

NewOptCreateFaceRequestProperties returns new OptCreateFaceRequestProperties with value set to v.

func (*OptCreateFaceRequestProperties) Decode

Decode decodes CreateFaceRequestProperties from json.

func (OptCreateFaceRequestProperties) Encode

Encode encodes CreateFaceRequestProperties as json.

func (OptCreateFaceRequestProperties) Get

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

func (OptCreateFaceRequestProperties) IsSet

IsSet returns true if OptCreateFaceRequestProperties was set.

func (OptCreateFaceRequestProperties) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateFaceRequestProperties) Or

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

func (*OptCreateFaceRequestProperties) Reset

func (o *OptCreateFaceRequestProperties) Reset()

Reset unsets value.

func (*OptCreateFaceRequestProperties) SetTo

SetTo sets value to v.

func (*OptCreateFaceRequestProperties) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateFaceResponseStatus

type OptCreateFaceResponseStatus struct {
	Value CreateFaceResponseStatus
	Set   bool
}

OptCreateFaceResponseStatus is optional CreateFaceResponseStatus.

func NewOptCreateFaceResponseStatus

func NewOptCreateFaceResponseStatus(v CreateFaceResponseStatus) OptCreateFaceResponseStatus

NewOptCreateFaceResponseStatus returns new OptCreateFaceResponseStatus with value set to v.

func (*OptCreateFaceResponseStatus) Decode

Decode decodes CreateFaceResponseStatus from json.

func (OptCreateFaceResponseStatus) Encode

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

Encode encodes CreateFaceResponseStatus as json.

func (OptCreateFaceResponseStatus) Get

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

func (OptCreateFaceResponseStatus) IsSet

IsSet returns true if OptCreateFaceResponseStatus was set.

func (OptCreateFaceResponseStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateFaceResponseStatus) Or

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

func (*OptCreateFaceResponseStatus) Reset

func (o *OptCreateFaceResponseStatus) Reset()

Reset unsets value.

func (*OptCreateFaceResponseStatus) SetTo

SetTo sets value to v.

func (*OptCreateFaceResponseStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateGuardrailRequestModality

type OptCreateGuardrailRequestModality struct {
	Value CreateGuardrailRequestModality
	Set   bool
}

OptCreateGuardrailRequestModality is optional CreateGuardrailRequestModality.

func NewOptCreateGuardrailRequestModality

func NewOptCreateGuardrailRequestModality(v CreateGuardrailRequestModality) OptCreateGuardrailRequestModality

NewOptCreateGuardrailRequestModality returns new OptCreateGuardrailRequestModality with value set to v.

func (*OptCreateGuardrailRequestModality) Decode

Decode decodes CreateGuardrailRequestModality from json.

func (OptCreateGuardrailRequestModality) Encode

Encode encodes CreateGuardrailRequestModality as json.

func (OptCreateGuardrailRequestModality) Get

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

func (OptCreateGuardrailRequestModality) IsSet

IsSet returns true if OptCreateGuardrailRequestModality was set.

func (OptCreateGuardrailRequestModality) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateGuardrailRequestModality) Or

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

func (*OptCreateGuardrailRequestModality) Reset

Reset unsets value.

func (*OptCreateGuardrailRequestModality) SetTo

SetTo sets value to v.

func (*OptCreateGuardrailRequestModality) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreatePalRequestPipelineMode

type OptCreatePalRequestPipelineMode struct {
	Value CreatePalRequestPipelineMode
	Set   bool
}

OptCreatePalRequestPipelineMode is optional CreatePalRequestPipelineMode.

func NewOptCreatePalRequestPipelineMode

func NewOptCreatePalRequestPipelineMode(v CreatePalRequestPipelineMode) OptCreatePalRequestPipelineMode

NewOptCreatePalRequestPipelineMode returns new OptCreatePalRequestPipelineMode with value set to v.

func (*OptCreatePalRequestPipelineMode) Decode

Decode decodes CreatePalRequestPipelineMode from json.

func (OptCreatePalRequestPipelineMode) Encode

Encode encodes CreatePalRequestPipelineMode as json.

func (OptCreatePalRequestPipelineMode) Get

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

func (OptCreatePalRequestPipelineMode) IsSet

IsSet returns true if OptCreatePalRequestPipelineMode was set.

func (OptCreatePalRequestPipelineMode) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreatePalRequestPipelineMode) Or

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

func (*OptCreatePalRequestPipelineMode) Reset

Reset unsets value.

func (*OptCreatePalRequestPipelineMode) SetTo

SetTo sets value to v.

func (*OptCreatePalRequestPipelineMode) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateToolRequestDelivery

type OptCreateToolRequestDelivery struct {
	Value CreateToolRequestDelivery
	Set   bool
}

OptCreateToolRequestDelivery is optional CreateToolRequestDelivery.

func NewOptCreateToolRequestDelivery

func NewOptCreateToolRequestDelivery(v CreateToolRequestDelivery) OptCreateToolRequestDelivery

NewOptCreateToolRequestDelivery returns new OptCreateToolRequestDelivery with value set to v.

func (*OptCreateToolRequestDelivery) Decode

Decode decodes CreateToolRequestDelivery from json.

func (OptCreateToolRequestDelivery) Encode

Encode encodes CreateToolRequestDelivery as json.

func (OptCreateToolRequestDelivery) Get

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

func (OptCreateToolRequestDelivery) IsSet

IsSet returns true if OptCreateToolRequestDelivery was set.

func (OptCreateToolRequestDelivery) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateToolRequestDelivery) Or

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

func (*OptCreateToolRequestDelivery) Reset

func (o *OptCreateToolRequestDelivery) Reset()

Reset unsets value.

func (*OptCreateToolRequestDelivery) SetTo

SetTo sets value to v.

func (*OptCreateToolRequestDelivery) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateToolRequestDeliveryAPI

type OptCreateToolRequestDeliveryAPI struct {
	Value CreateToolRequestDeliveryAPI
	Set   bool
}

OptCreateToolRequestDeliveryAPI is optional CreateToolRequestDeliveryAPI.

func NewOptCreateToolRequestDeliveryAPI

func NewOptCreateToolRequestDeliveryAPI(v CreateToolRequestDeliveryAPI) OptCreateToolRequestDeliveryAPI

NewOptCreateToolRequestDeliveryAPI returns new OptCreateToolRequestDeliveryAPI with value set to v.

func (*OptCreateToolRequestDeliveryAPI) Decode

Decode decodes CreateToolRequestDeliveryAPI from json.

func (OptCreateToolRequestDeliveryAPI) Encode

Encode encodes CreateToolRequestDeliveryAPI as json.

func (OptCreateToolRequestDeliveryAPI) Get

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

func (OptCreateToolRequestDeliveryAPI) IsSet

IsSet returns true if OptCreateToolRequestDeliveryAPI was set.

func (OptCreateToolRequestDeliveryAPI) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateToolRequestDeliveryAPI) Or

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

func (*OptCreateToolRequestDeliveryAPI) Reset

Reset unsets value.

func (*OptCreateToolRequestDeliveryAPI) SetTo

SetTo sets value to v.

func (*OptCreateToolRequestDeliveryAPI) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateToolRequestDeliveryAPIAuthType

type OptCreateToolRequestDeliveryAPIAuthType struct {
	Value CreateToolRequestDeliveryAPIAuthType
	Set   bool
}

OptCreateToolRequestDeliveryAPIAuthType is optional CreateToolRequestDeliveryAPIAuthType.

func NewOptCreateToolRequestDeliveryAPIAuthType

func NewOptCreateToolRequestDeliveryAPIAuthType(v CreateToolRequestDeliveryAPIAuthType) OptCreateToolRequestDeliveryAPIAuthType

NewOptCreateToolRequestDeliveryAPIAuthType returns new OptCreateToolRequestDeliveryAPIAuthType with value set to v.

func (*OptCreateToolRequestDeliveryAPIAuthType) Decode

Decode decodes CreateToolRequestDeliveryAPIAuthType from json.

func (OptCreateToolRequestDeliveryAPIAuthType) Encode

Encode encodes CreateToolRequestDeliveryAPIAuthType as json.

func (OptCreateToolRequestDeliveryAPIAuthType) Get

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

func (OptCreateToolRequestDeliveryAPIAuthType) IsSet

IsSet returns true if OptCreateToolRequestDeliveryAPIAuthType was set.

func (OptCreateToolRequestDeliveryAPIAuthType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateToolRequestDeliveryAPIAuthType) Or

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

func (*OptCreateToolRequestDeliveryAPIAuthType) Reset

Reset unsets value.

func (*OptCreateToolRequestDeliveryAPIAuthType) SetTo

SetTo sets value to v.

func (*OptCreateToolRequestDeliveryAPIAuthType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateToolRequestDeliveryAPIHeaders

type OptCreateToolRequestDeliveryAPIHeaders struct {
	Value CreateToolRequestDeliveryAPIHeaders
	Set   bool
}

OptCreateToolRequestDeliveryAPIHeaders is optional CreateToolRequestDeliveryAPIHeaders.

func NewOptCreateToolRequestDeliveryAPIHeaders

func NewOptCreateToolRequestDeliveryAPIHeaders(v CreateToolRequestDeliveryAPIHeaders) OptCreateToolRequestDeliveryAPIHeaders

NewOptCreateToolRequestDeliveryAPIHeaders returns new OptCreateToolRequestDeliveryAPIHeaders with value set to v.

func (*OptCreateToolRequestDeliveryAPIHeaders) Decode

Decode decodes CreateToolRequestDeliveryAPIHeaders from json.

func (OptCreateToolRequestDeliveryAPIHeaders) Encode

Encode encodes CreateToolRequestDeliveryAPIHeaders as json.

func (OptCreateToolRequestDeliveryAPIHeaders) Get

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

func (OptCreateToolRequestDeliveryAPIHeaders) IsSet

IsSet returns true if OptCreateToolRequestDeliveryAPIHeaders was set.

func (OptCreateToolRequestDeliveryAPIHeaders) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateToolRequestDeliveryAPIHeaders) Or

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

func (*OptCreateToolRequestDeliveryAPIHeaders) Reset

Reset unsets value.

func (*OptCreateToolRequestDeliveryAPIHeaders) SetTo

SetTo sets value to v.

func (*OptCreateToolRequestDeliveryAPIHeaders) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateToolRequestOnCall

type OptCreateToolRequestOnCall struct {
	Value CreateToolRequestOnCall
	Set   bool
}

OptCreateToolRequestOnCall is optional CreateToolRequestOnCall.

func NewOptCreateToolRequestOnCall

func NewOptCreateToolRequestOnCall(v CreateToolRequestOnCall) OptCreateToolRequestOnCall

NewOptCreateToolRequestOnCall returns new OptCreateToolRequestOnCall with value set to v.

func (*OptCreateToolRequestOnCall) Decode

Decode decodes CreateToolRequestOnCall from json.

func (OptCreateToolRequestOnCall) Encode

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

Encode encodes CreateToolRequestOnCall as json.

func (OptCreateToolRequestOnCall) Get

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

func (OptCreateToolRequestOnCall) IsSet

func (o OptCreateToolRequestOnCall) IsSet() bool

IsSet returns true if OptCreateToolRequestOnCall was set.

func (OptCreateToolRequestOnCall) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateToolRequestOnCall) Or

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

func (*OptCreateToolRequestOnCall) Reset

func (o *OptCreateToolRequestOnCall) Reset()

Reset unsets value.

func (*OptCreateToolRequestOnCall) SetTo

SetTo sets value to v.

func (*OptCreateToolRequestOnCall) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateToolRequestOnResolve

type OptCreateToolRequestOnResolve struct {
	Value CreateToolRequestOnResolve
	Set   bool
}

OptCreateToolRequestOnResolve is optional CreateToolRequestOnResolve.

func NewOptCreateToolRequestOnResolve

func NewOptCreateToolRequestOnResolve(v CreateToolRequestOnResolve) OptCreateToolRequestOnResolve

NewOptCreateToolRequestOnResolve returns new OptCreateToolRequestOnResolve with value set to v.

func (*OptCreateToolRequestOnResolve) Decode

Decode decodes CreateToolRequestOnResolve from json.

func (OptCreateToolRequestOnResolve) Encode

Encode encodes CreateToolRequestOnResolve as json.

func (OptCreateToolRequestOnResolve) Get

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

func (OptCreateToolRequestOnResolve) IsSet

IsSet returns true if OptCreateToolRequestOnResolve was set.

func (OptCreateToolRequestOnResolve) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateToolRequestOnResolve) Or

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

func (*OptCreateToolRequestOnResolve) Reset

func (o *OptCreateToolRequestOnResolve) Reset()

Reset unsets value.

func (*OptCreateToolRequestOnResolve) SetTo

SetTo sets value to v.

func (*OptCreateToolRequestOnResolve) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateToolRequestOrigin

type OptCreateToolRequestOrigin struct {
	Value CreateToolRequestOrigin
	Set   bool
}

OptCreateToolRequestOrigin is optional CreateToolRequestOrigin.

func NewOptCreateToolRequestOrigin

func NewOptCreateToolRequestOrigin(v CreateToolRequestOrigin) OptCreateToolRequestOrigin

NewOptCreateToolRequestOrigin returns new OptCreateToolRequestOrigin with value set to v.

func (*OptCreateToolRequestOrigin) Decode

Decode decodes CreateToolRequestOrigin from json.

func (OptCreateToolRequestOrigin) Encode

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

Encode encodes CreateToolRequestOrigin as json.

func (OptCreateToolRequestOrigin) Get

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

func (OptCreateToolRequestOrigin) IsSet

func (o OptCreateToolRequestOrigin) IsSet() bool

IsSet returns true if OptCreateToolRequestOrigin was set.

func (OptCreateToolRequestOrigin) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateToolRequestOrigin) Or

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

func (*OptCreateToolRequestOrigin) Reset

func (o *OptCreateToolRequestOrigin) Reset()

Reset unsets value.

func (*OptCreateToolRequestOrigin) SetTo

SetTo sets value to v.

func (*OptCreateToolRequestOrigin) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateToolRequestParameters

type OptCreateToolRequestParameters struct {
	Value CreateToolRequestParameters
	Set   bool
}

OptCreateToolRequestParameters is optional CreateToolRequestParameters.

func NewOptCreateToolRequestParameters

func NewOptCreateToolRequestParameters(v CreateToolRequestParameters) OptCreateToolRequestParameters

NewOptCreateToolRequestParameters returns new OptCreateToolRequestParameters with value set to v.

func (*OptCreateToolRequestParameters) Decode

Decode decodes CreateToolRequestParameters from json.

func (OptCreateToolRequestParameters) Encode

Encode encodes CreateToolRequestParameters as json.

func (OptCreateToolRequestParameters) Get

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

func (OptCreateToolRequestParameters) IsSet

IsSet returns true if OptCreateToolRequestParameters was set.

func (OptCreateToolRequestParameters) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateToolRequestParameters) Or

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

func (*OptCreateToolRequestParameters) Reset

func (o *OptCreateToolRequestParameters) Reset()

Reset unsets value.

func (*OptCreateToolRequestParameters) SetTo

SetTo sets value to v.

func (*OptCreateToolRequestParameters) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateToolRequestTriggerType

type OptCreateToolRequestTriggerType struct {
	Value CreateToolRequestTriggerType
	Set   bool
}

OptCreateToolRequestTriggerType is optional CreateToolRequestTriggerType.

func NewOptCreateToolRequestTriggerType

func NewOptCreateToolRequestTriggerType(v CreateToolRequestTriggerType) OptCreateToolRequestTriggerType

NewOptCreateToolRequestTriggerType returns new OptCreateToolRequestTriggerType with value set to v.

func (*OptCreateToolRequestTriggerType) Decode

Decode decodes CreateToolRequestTriggerType from json.

func (OptCreateToolRequestTriggerType) Encode

Encode encodes CreateToolRequestTriggerType as json.

func (OptCreateToolRequestTriggerType) Get

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

func (OptCreateToolRequestTriggerType) IsSet

IsSet returns true if OptCreateToolRequestTriggerType was set.

func (OptCreateToolRequestTriggerType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateToolRequestTriggerType) Or

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

func (*OptCreateToolRequestTriggerType) Reset

Reset unsets value.

func (*OptCreateToolRequestTriggerType) SetTo

SetTo sets value to v.

func (*OptCreateToolRequestTriggerType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateVideoRequestProperties

type OptCreateVideoRequestProperties struct {
	Value CreateVideoRequestProperties
	Set   bool
}

OptCreateVideoRequestProperties is optional CreateVideoRequestProperties.

func NewOptCreateVideoRequestProperties

func NewOptCreateVideoRequestProperties(v CreateVideoRequestProperties) OptCreateVideoRequestProperties

NewOptCreateVideoRequestProperties returns new OptCreateVideoRequestProperties with value set to v.

func (*OptCreateVideoRequestProperties) Decode

Decode decodes CreateVideoRequestProperties from json.

func (OptCreateVideoRequestProperties) Encode

Encode encodes CreateVideoRequestProperties as json.

func (OptCreateVideoRequestProperties) Get

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

func (OptCreateVideoRequestProperties) IsSet

IsSet returns true if OptCreateVideoRequestProperties was set.

func (OptCreateVideoRequestProperties) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateVideoRequestProperties) Or

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

func (*OptCreateVideoRequestProperties) Reset

Reset unsets value.

func (*OptCreateVideoRequestProperties) SetTo

SetTo sets value to v.

func (*OptCreateVideoRequestProperties) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateVideoRequestPropertiesBackgroundScrollDepth

type OptCreateVideoRequestPropertiesBackgroundScrollDepth struct {
	Value CreateVideoRequestPropertiesBackgroundScrollDepth
	Set   bool
}

OptCreateVideoRequestPropertiesBackgroundScrollDepth is optional CreateVideoRequestPropertiesBackgroundScrollDepth.

func NewOptCreateVideoRequestPropertiesBackgroundScrollDepth

NewOptCreateVideoRequestPropertiesBackgroundScrollDepth returns new OptCreateVideoRequestPropertiesBackgroundScrollDepth with value set to v.

func (*OptCreateVideoRequestPropertiesBackgroundScrollDepth) Decode

Decode decodes CreateVideoRequestPropertiesBackgroundScrollDepth from json.

func (OptCreateVideoRequestPropertiesBackgroundScrollDepth) Encode

Encode encodes CreateVideoRequestPropertiesBackgroundScrollDepth as json.

func (OptCreateVideoRequestPropertiesBackgroundScrollDepth) Get

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

func (OptCreateVideoRequestPropertiesBackgroundScrollDepth) IsSet

IsSet returns true if OptCreateVideoRequestPropertiesBackgroundScrollDepth was set.

func (OptCreateVideoRequestPropertiesBackgroundScrollDepth) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptCreateVideoRequestPropertiesBackgroundScrollDepth) Or

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

func (*OptCreateVideoRequestPropertiesBackgroundScrollDepth) Reset

Reset unsets value.

func (*OptCreateVideoRequestPropertiesBackgroundScrollDepth) SetTo

SetTo sets value to v.

func (*OptCreateVideoRequestPropertiesBackgroundScrollDepth) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateVideoRequestPropertiesBackgroundScrollReturn

type OptCreateVideoRequestPropertiesBackgroundScrollReturn struct {
	Value CreateVideoRequestPropertiesBackgroundScrollReturn
	Set   bool
}

OptCreateVideoRequestPropertiesBackgroundScrollReturn is optional CreateVideoRequestPropertiesBackgroundScrollReturn.

func NewOptCreateVideoRequestPropertiesBackgroundScrollReturn

NewOptCreateVideoRequestPropertiesBackgroundScrollReturn returns new OptCreateVideoRequestPropertiesBackgroundScrollReturn with value set to v.

func (*OptCreateVideoRequestPropertiesBackgroundScrollReturn) Decode

Decode decodes CreateVideoRequestPropertiesBackgroundScrollReturn from json.

func (OptCreateVideoRequestPropertiesBackgroundScrollReturn) Encode

Encode encodes CreateVideoRequestPropertiesBackgroundScrollReturn as json.

func (OptCreateVideoRequestPropertiesBackgroundScrollReturn) Get

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

func (OptCreateVideoRequestPropertiesBackgroundScrollReturn) IsSet

IsSet returns true if OptCreateVideoRequestPropertiesBackgroundScrollReturn was set.

func (OptCreateVideoRequestPropertiesBackgroundScrollReturn) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptCreateVideoRequestPropertiesBackgroundScrollReturn) Or

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

func (*OptCreateVideoRequestPropertiesBackgroundScrollReturn) Reset

Reset unsets value.

func (*OptCreateVideoRequestPropertiesBackgroundScrollReturn) SetTo

SetTo sets value to v.

func (*OptCreateVideoRequestPropertiesBackgroundScrollReturn) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateVideoRequestPropertiesBackgroundScrollType

type OptCreateVideoRequestPropertiesBackgroundScrollType struct {
	Value CreateVideoRequestPropertiesBackgroundScrollType
	Set   bool
}

OptCreateVideoRequestPropertiesBackgroundScrollType is optional CreateVideoRequestPropertiesBackgroundScrollType.

func NewOptCreateVideoRequestPropertiesBackgroundScrollType

func NewOptCreateVideoRequestPropertiesBackgroundScrollType(v CreateVideoRequestPropertiesBackgroundScrollType) OptCreateVideoRequestPropertiesBackgroundScrollType

NewOptCreateVideoRequestPropertiesBackgroundScrollType returns new OptCreateVideoRequestPropertiesBackgroundScrollType with value set to v.

func (*OptCreateVideoRequestPropertiesBackgroundScrollType) Decode

Decode decodes CreateVideoRequestPropertiesBackgroundScrollType from json.

func (OptCreateVideoRequestPropertiesBackgroundScrollType) Encode

Encode encodes CreateVideoRequestPropertiesBackgroundScrollType as json.

func (OptCreateVideoRequestPropertiesBackgroundScrollType) Get

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

func (OptCreateVideoRequestPropertiesBackgroundScrollType) IsSet

IsSet returns true if OptCreateVideoRequestPropertiesBackgroundScrollType was set.

func (OptCreateVideoRequestPropertiesBackgroundScrollType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptCreateVideoRequestPropertiesBackgroundScrollType) Or

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

func (*OptCreateVideoRequestPropertiesBackgroundScrollType) Reset

Reset unsets value.

func (*OptCreateVideoRequestPropertiesBackgroundScrollType) SetTo

SetTo sets value to v.

func (*OptCreateVideoRequestPropertiesBackgroundScrollType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateVideoResponseStatus

type OptCreateVideoResponseStatus struct {
	Value CreateVideoResponseStatus
	Set   bool
}

OptCreateVideoResponseStatus is optional CreateVideoResponseStatus.

func NewOptCreateVideoResponseStatus

func NewOptCreateVideoResponseStatus(v CreateVideoResponseStatus) OptCreateVideoResponseStatus

NewOptCreateVideoResponseStatus returns new OptCreateVideoResponseStatus with value set to v.

func (*OptCreateVideoResponseStatus) Decode

Decode decodes CreateVideoResponseStatus from json.

func (OptCreateVideoResponseStatus) Encode

Encode encodes CreateVideoResponseStatus as json.

func (OptCreateVideoResponseStatus) Get

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

func (OptCreateVideoResponseStatus) IsSet

IsSet returns true if OptCreateVideoResponseStatus was set.

func (OptCreateVideoResponseStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCreateVideoResponseStatus) Or

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

func (*OptCreateVideoResponseStatus) Reset

func (o *OptCreateVideoResponseStatus) Reset()

Reset unsets value.

func (*OptCreateVideoResponseStatus) SetTo

SetTo sets value to v.

func (*OptCreateVideoResponseStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDeploymentCustomization

type OptDeploymentCustomization struct {
	Value DeploymentCustomization
	Set   bool
}

OptDeploymentCustomization is optional DeploymentCustomization.

func NewOptDeploymentCustomization

func NewOptDeploymentCustomization(v DeploymentCustomization) OptDeploymentCustomization

NewOptDeploymentCustomization returns new OptDeploymentCustomization with value set to v.

func (*OptDeploymentCustomization) Decode

Decode decodes DeploymentCustomization from json.

func (OptDeploymentCustomization) Encode

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

Encode encodes DeploymentCustomization as json.

func (OptDeploymentCustomization) Get

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

func (OptDeploymentCustomization) IsSet

func (o OptDeploymentCustomization) IsSet() bool

IsSet returns true if OptDeploymentCustomization was set.

func (OptDeploymentCustomization) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptDeploymentCustomization) Or

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

func (*OptDeploymentCustomization) Reset

func (o *OptDeploymentCustomization) Reset()

Reset unsets value.

func (*OptDeploymentCustomization) SetTo

SetTo sets value to v.

func (*OptDeploymentCustomization) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDocumentStatus

type OptDocumentStatus struct {
	Value DocumentStatus
	Set   bool
}

OptDocumentStatus is optional DocumentStatus.

func NewOptDocumentStatus

func NewOptDocumentStatus(v DocumentStatus) OptDocumentStatus

NewOptDocumentStatus returns new OptDocumentStatus with value set to v.

func (*OptDocumentStatus) Decode

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

Decode decodes DocumentStatus from json.

func (OptDocumentStatus) Encode

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

Encode encodes DocumentStatus as json.

func (OptDocumentStatus) Get

func (o OptDocumentStatus) Get() (v DocumentStatus, ok bool)

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

func (OptDocumentStatus) IsSet

func (o OptDocumentStatus) IsSet() bool

IsSet returns true if OptDocumentStatus was set.

func (OptDocumentStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptDocumentStatus) Or

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

func (*OptDocumentStatus) Reset

func (o *OptDocumentStatus) Reset()

Reset unsets value.

func (*OptDocumentStatus) SetTo

func (o *OptDocumentStatus) SetTo(v DocumentStatus)

SetTo sets value to v.

func (*OptDocumentStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFaceStatus

type OptFaceStatus struct {
	Value FaceStatus
	Set   bool
}

OptFaceStatus is optional FaceStatus.

func NewOptFaceStatus

func NewOptFaceStatus(v FaceStatus) OptFaceStatus

NewOptFaceStatus returns new OptFaceStatus with value set to v.

func (*OptFaceStatus) Decode

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

Decode decodes FaceStatus from json.

func (OptFaceStatus) Encode

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

Encode encodes FaceStatus as json.

func (OptFaceStatus) Get

func (o OptFaceStatus) Get() (v FaceStatus, ok bool)

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

func (OptFaceStatus) IsSet

func (o OptFaceStatus) IsSet() bool

IsSet returns true if OptFaceStatus was set.

func (OptFaceStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptFaceStatus) Or

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

func (*OptFaceStatus) Reset

func (o *OptFaceStatus) Reset()

Reset unsets value.

func (*OptFaceStatus) SetTo

func (o *OptFaceStatus) SetTo(v FaceStatus)

SetTo sets value to v.

func (*OptFaceStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFloat64

type OptFloat64 struct {
	Value float64
	Set   bool
}

OptFloat64 is optional float64.

func NewOptFloat64

func NewOptFloat64(v float64) OptFloat64

NewOptFloat64 returns new OptFloat64 with value set to v.

func (*OptFloat64) Decode

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

Decode decodes float64 from json.

func (OptFloat64) Encode

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

Encode encodes float64 as json.

func (OptFloat64) Get

func (o OptFloat64) Get() (v float64, ok bool)

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

func (OptFloat64) IsSet

func (o OptFloat64) IsSet() bool

IsSet returns true if OptFloat64 was set.

func (OptFloat64) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptFloat64) Or

func (o OptFloat64) Or(d float64) float64

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

func (*OptFloat64) Reset

func (o *OptFloat64) Reset()

Reset unsets value.

func (*OptFloat64) SetTo

func (o *OptFloat64) SetTo(v float64)

SetTo sets value to v.

func (*OptFloat64) UnmarshalJSON

func (s *OptFloat64) 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 OptListVoicesSort

type OptListVoicesSort struct {
	Value ListVoicesSort
	Set   bool
}

OptListVoicesSort is optional ListVoicesSort.

func NewOptListVoicesSort

func NewOptListVoicesSort(v ListVoicesSort) OptListVoicesSort

NewOptListVoicesSort returns new OptListVoicesSort with value set to v.

func (OptListVoicesSort) Get

func (o OptListVoicesSort) Get() (v ListVoicesSort, ok bool)

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

func (OptListVoicesSort) IsSet

func (o OptListVoicesSort) IsSet() bool

IsSet returns true if OptListVoicesSort was set.

func (OptListVoicesSort) Or

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

func (*OptListVoicesSort) Reset

func (o *OptListVoicesSort) Reset()

Reset unsets value.

func (*OptListVoicesSort) SetTo

func (o *OptListVoicesSort) SetTo(v ListVoicesSort)

SetTo sets value to v.

type OptLlmLayer

type OptLlmLayer struct {
	Value LlmLayer
	Set   bool
}

OptLlmLayer is optional LlmLayer.

func NewOptLlmLayer

func NewOptLlmLayer(v LlmLayer) OptLlmLayer

NewOptLlmLayer returns new OptLlmLayer with value set to v.

func (*OptLlmLayer) Decode

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

Decode decodes LlmLayer from json.

func (OptLlmLayer) Encode

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

Encode encodes LlmLayer as json.

func (OptLlmLayer) Get

func (o OptLlmLayer) Get() (v LlmLayer, ok bool)

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

func (OptLlmLayer) IsSet

func (o OptLlmLayer) IsSet() bool

IsSet returns true if OptLlmLayer was set.

func (OptLlmLayer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptLlmLayer) Or

func (o OptLlmLayer) Or(d LlmLayer) LlmLayer

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

func (*OptLlmLayer) Reset

func (o *OptLlmLayer) Reset()

Reset unsets value.

func (*OptLlmLayer) SetTo

func (o *OptLlmLayer) SetTo(v LlmLayer)

SetTo sets value to v.

func (*OptLlmLayer) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptLlmLayerExtraBody

type OptLlmLayerExtraBody struct {
	Value LlmLayerExtraBody
	Set   bool
}

OptLlmLayerExtraBody is optional LlmLayerExtraBody.

func NewOptLlmLayerExtraBody

func NewOptLlmLayerExtraBody(v LlmLayerExtraBody) OptLlmLayerExtraBody

NewOptLlmLayerExtraBody returns new OptLlmLayerExtraBody with value set to v.

func (*OptLlmLayerExtraBody) Decode

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

Decode decodes LlmLayerExtraBody from json.

func (OptLlmLayerExtraBody) Encode

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

Encode encodes LlmLayerExtraBody as json.

func (OptLlmLayerExtraBody) Get

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

func (OptLlmLayerExtraBody) IsSet

func (o OptLlmLayerExtraBody) IsSet() bool

IsSet returns true if OptLlmLayerExtraBody was set.

func (OptLlmLayerExtraBody) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptLlmLayerExtraBody) Or

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

func (*OptLlmLayerExtraBody) Reset

func (o *OptLlmLayerExtraBody) Reset()

Reset unsets value.

func (*OptLlmLayerExtraBody) SetTo

SetTo sets value to v.

func (*OptLlmLayerExtraBody) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptObjectiveItemConfirmationMode

type OptObjectiveItemConfirmationMode struct {
	Value ObjectiveItemConfirmationMode
	Set   bool
}

OptObjectiveItemConfirmationMode is optional ObjectiveItemConfirmationMode.

func NewOptObjectiveItemConfirmationMode

func NewOptObjectiveItemConfirmationMode(v ObjectiveItemConfirmationMode) OptObjectiveItemConfirmationMode

NewOptObjectiveItemConfirmationMode returns new OptObjectiveItemConfirmationMode with value set to v.

func (*OptObjectiveItemConfirmationMode) Decode

Decode decodes ObjectiveItemConfirmationMode from json.

func (OptObjectiveItemConfirmationMode) Encode

Encode encodes ObjectiveItemConfirmationMode as json.

func (OptObjectiveItemConfirmationMode) Get

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

func (OptObjectiveItemConfirmationMode) IsSet

IsSet returns true if OptObjectiveItemConfirmationMode was set.

func (OptObjectiveItemConfirmationMode) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptObjectiveItemConfirmationMode) Or

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

func (*OptObjectiveItemConfirmationMode) Reset

Reset unsets value.

func (*OptObjectiveItemConfirmationMode) SetTo

SetTo sets value to v.

func (*OptObjectiveItemConfirmationMode) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptObjectiveItemModality

type OptObjectiveItemModality struct {
	Value ObjectiveItemModality
	Set   bool
}

OptObjectiveItemModality is optional ObjectiveItemModality.

func NewOptObjectiveItemModality

func NewOptObjectiveItemModality(v ObjectiveItemModality) OptObjectiveItemModality

NewOptObjectiveItemModality returns new OptObjectiveItemModality with value set to v.

func (*OptObjectiveItemModality) Decode

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

Decode decodes ObjectiveItemModality from json.

func (OptObjectiveItemModality) Encode

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

Encode encodes ObjectiveItemModality as json.

func (OptObjectiveItemModality) Get

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

func (OptObjectiveItemModality) IsSet

func (o OptObjectiveItemModality) IsSet() bool

IsSet returns true if OptObjectiveItemModality was set.

func (OptObjectiveItemModality) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptObjectiveItemModality) Or

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

func (*OptObjectiveItemModality) Reset

func (o *OptObjectiveItemModality) Reset()

Reset unsets value.

func (*OptObjectiveItemModality) SetTo

SetTo sets value to v.

func (*OptObjectiveItemModality) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptObjectiveItemNextConditionalObjectives

type OptObjectiveItemNextConditionalObjectives struct {
	Value ObjectiveItemNextConditionalObjectives
	Set   bool
}

OptObjectiveItemNextConditionalObjectives is optional ObjectiveItemNextConditionalObjectives.

func NewOptObjectiveItemNextConditionalObjectives

func NewOptObjectiveItemNextConditionalObjectives(v ObjectiveItemNextConditionalObjectives) OptObjectiveItemNextConditionalObjectives

NewOptObjectiveItemNextConditionalObjectives returns new OptObjectiveItemNextConditionalObjectives with value set to v.

func (*OptObjectiveItemNextConditionalObjectives) Decode

Decode decodes ObjectiveItemNextConditionalObjectives from json.

func (OptObjectiveItemNextConditionalObjectives) Encode

Encode encodes ObjectiveItemNextConditionalObjectives as json.

func (OptObjectiveItemNextConditionalObjectives) Get

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

func (OptObjectiveItemNextConditionalObjectives) IsSet

IsSet returns true if OptObjectiveItemNextConditionalObjectives was set.

func (OptObjectiveItemNextConditionalObjectives) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptObjectiveItemNextConditionalObjectives) Or

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

func (*OptObjectiveItemNextConditionalObjectives) Reset

Reset unsets value.

func (*OptObjectiveItemNextConditionalObjectives) SetTo

SetTo sets value to v.

func (*OptObjectiveItemNextConditionalObjectives) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPalLayers

type OptPalLayers struct {
	Value PalLayers
	Set   bool
}

OptPalLayers is optional PalLayers.

func NewOptPalLayers

func NewOptPalLayers(v PalLayers) OptPalLayers

NewOptPalLayers returns new OptPalLayers with value set to v.

func (*OptPalLayers) Decode

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

Decode decodes PalLayers from json.

func (OptPalLayers) Encode

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

Encode encodes PalLayers as json.

func (OptPalLayers) Get

func (o OptPalLayers) Get() (v PalLayers, ok bool)

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

func (OptPalLayers) IsSet

func (o OptPalLayers) IsSet() bool

IsSet returns true if OptPalLayers was set.

func (OptPalLayers) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptPalLayers) Or

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

func (*OptPalLayers) Reset

func (o *OptPalLayers) Reset()

Reset unsets value.

func (*OptPalLayers) SetTo

func (o *OptPalLayers) SetTo(v PalLayers)

SetTo sets value to v.

func (*OptPalLayers) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPerceptionLayer

type OptPerceptionLayer struct {
	Value PerceptionLayer
	Set   bool
}

OptPerceptionLayer is optional PerceptionLayer.

func NewOptPerceptionLayer

func NewOptPerceptionLayer(v PerceptionLayer) OptPerceptionLayer

NewOptPerceptionLayer returns new OptPerceptionLayer with value set to v.

func (*OptPerceptionLayer) Decode

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

Decode decodes PerceptionLayer from json.

func (OptPerceptionLayer) Encode

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

Encode encodes PerceptionLayer as json.

func (OptPerceptionLayer) Get

func (o OptPerceptionLayer) Get() (v PerceptionLayer, ok bool)

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

func (OptPerceptionLayer) IsSet

func (o OptPerceptionLayer) IsSet() bool

IsSet returns true if OptPerceptionLayer was set.

func (OptPerceptionLayer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptPerceptionLayer) Or

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

func (*OptPerceptionLayer) Reset

func (o *OptPerceptionLayer) Reset()

Reset unsets value.

func (*OptPerceptionLayer) SetTo

func (o *OptPerceptionLayer) SetTo(v PerceptionLayer)

SetTo sets value to v.

func (*OptPerceptionLayer) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPerceptionLayerPerceptionModel

type OptPerceptionLayerPerceptionModel struct {
	Value PerceptionLayerPerceptionModel
	Set   bool
}

OptPerceptionLayerPerceptionModel is optional PerceptionLayerPerceptionModel.

func NewOptPerceptionLayerPerceptionModel

func NewOptPerceptionLayerPerceptionModel(v PerceptionLayerPerceptionModel) OptPerceptionLayerPerceptionModel

NewOptPerceptionLayerPerceptionModel returns new OptPerceptionLayerPerceptionModel with value set to v.

func (*OptPerceptionLayerPerceptionModel) Decode

Decode decodes PerceptionLayerPerceptionModel from json.

func (OptPerceptionLayerPerceptionModel) Encode

Encode encodes PerceptionLayerPerceptionModel as json.

func (OptPerceptionLayerPerceptionModel) Get

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

func (OptPerceptionLayerPerceptionModel) IsSet

IsSet returns true if OptPerceptionLayerPerceptionModel was set.

func (OptPerceptionLayerPerceptionModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptPerceptionLayerPerceptionModel) Or

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

func (*OptPerceptionLayerPerceptionModel) Reset

Reset unsets value.

func (*OptPerceptionLayerPerceptionModel) SetTo

SetTo sets value to v.

func (*OptPerceptionLayerPerceptionModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

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 OptSttLayer

type OptSttLayer struct {
	Value SttLayer
	Set   bool
}

OptSttLayer is optional SttLayer.

func NewOptSttLayer

func NewOptSttLayer(v SttLayer) OptSttLayer

NewOptSttLayer returns new OptSttLayer with value set to v.

func (*OptSttLayer) Decode

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

Decode decodes SttLayer from json.

func (OptSttLayer) Encode

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

Encode encodes SttLayer as json.

func (OptSttLayer) Get

func (o OptSttLayer) Get() (v SttLayer, ok bool)

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

func (OptSttLayer) IsSet

func (o OptSttLayer) IsSet() bool

IsSet returns true if OptSttLayer was set.

func (OptSttLayer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptSttLayer) Or

func (o OptSttLayer) Or(d SttLayer) SttLayer

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

func (*OptSttLayer) Reset

func (o *OptSttLayer) Reset()

Reset unsets value.

func (*OptSttLayer) SetTo

func (o *OptSttLayer) SetTo(v SttLayer)

SetTo sets value to v.

func (*OptSttLayer) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTimestamp

type OptTimestamp struct {
	Value Timestamp
	Set   bool
}

OptTimestamp is optional Timestamp.

func NewOptTimestamp

func NewOptTimestamp(v Timestamp) OptTimestamp

NewOptTimestamp returns new OptTimestamp with value set to v.

func (*OptTimestamp) Decode

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

Decode decodes Timestamp from json.

func (OptTimestamp) Encode

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

Encode encodes Timestamp as json.

func (OptTimestamp) Get

func (o OptTimestamp) Get() (v Timestamp, ok bool)

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

func (OptTimestamp) IsSet

func (o OptTimestamp) IsSet() bool

IsSet returns true if OptTimestamp was set.

func (OptTimestamp) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptTimestamp) Or

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

func (*OptTimestamp) Reset

func (o *OptTimestamp) Reset()

Reset unsets value.

func (*OptTimestamp) SetTo

func (o *OptTimestamp) SetTo(v Timestamp)

SetTo sets value to v.

func (*OptTimestamp) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptToolParameters

type OptToolParameters struct {
	Value ToolParameters
	Set   bool
}

OptToolParameters is optional ToolParameters.

func NewOptToolParameters

func NewOptToolParameters(v ToolParameters) OptToolParameters

NewOptToolParameters returns new OptToolParameters with value set to v.

func (*OptToolParameters) Decode

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

Decode decodes ToolParameters from json.

func (OptToolParameters) Encode

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

Encode encodes ToolParameters as json.

func (OptToolParameters) Get

func (o OptToolParameters) Get() (v ToolParameters, ok bool)

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

func (OptToolParameters) IsSet

func (o OptToolParameters) IsSet() bool

IsSet returns true if OptToolParameters was set.

func (OptToolParameters) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptToolParameters) Or

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

func (*OptToolParameters) Reset

func (o *OptToolParameters) Reset()

Reset unsets value.

func (*OptToolParameters) SetTo

func (o *OptToolParameters) SetTo(v ToolParameters)

SetTo sets value to v.

func (*OptToolParameters) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTransportLayer

type OptTransportLayer struct {
	Value TransportLayer
	Set   bool
}

OptTransportLayer is optional TransportLayer.

func NewOptTransportLayer

func NewOptTransportLayer(v TransportLayer) OptTransportLayer

NewOptTransportLayer returns new OptTransportLayer with value set to v.

func (*OptTransportLayer) Decode

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

Decode decodes TransportLayer from json.

func (OptTransportLayer) Encode

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

Encode encodes TransportLayer as json.

func (OptTransportLayer) Get

func (o OptTransportLayer) Get() (v TransportLayer, ok bool)

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

func (OptTransportLayer) IsSet

func (o OptTransportLayer) IsSet() bool

IsSet returns true if OptTransportLayer was set.

func (OptTransportLayer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptTransportLayer) Or

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

func (*OptTransportLayer) Reset

func (o *OptTransportLayer) Reset()

Reset unsets value.

func (*OptTransportLayer) SetTo

func (o *OptTransportLayer) SetTo(v TransportLayer)

SetTo sets value to v.

func (*OptTransportLayer) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTtsLayer

type OptTtsLayer struct {
	Value TtsLayer
	Set   bool
}

OptTtsLayer is optional TtsLayer.

func NewOptTtsLayer

func NewOptTtsLayer(v TtsLayer) OptTtsLayer

NewOptTtsLayer returns new OptTtsLayer with value set to v.

func (*OptTtsLayer) Decode

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

Decode decodes TtsLayer from json.

func (OptTtsLayer) Encode

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

Encode encodes TtsLayer as json.

func (OptTtsLayer) Get

func (o OptTtsLayer) Get() (v TtsLayer, ok bool)

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

func (OptTtsLayer) IsSet

func (o OptTtsLayer) IsSet() bool

IsSet returns true if OptTtsLayer was set.

func (OptTtsLayer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptTtsLayer) Or

func (o OptTtsLayer) Or(d TtsLayer) TtsLayer

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

func (*OptTtsLayer) Reset

func (o *OptTtsLayer) Reset()

Reset unsets value.

func (*OptTtsLayer) SetTo

func (o *OptTtsLayer) SetTo(v TtsLayer)

SetTo sets value to v.

func (*OptTtsLayer) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTtsLayerVoiceSettings

type OptTtsLayerVoiceSettings struct {
	Value TtsLayerVoiceSettings
	Set   bool
}

OptTtsLayerVoiceSettings is optional TtsLayerVoiceSettings.

func NewOptTtsLayerVoiceSettings

func NewOptTtsLayerVoiceSettings(v TtsLayerVoiceSettings) OptTtsLayerVoiceSettings

NewOptTtsLayerVoiceSettings returns new OptTtsLayerVoiceSettings with value set to v.

func (*OptTtsLayerVoiceSettings) Decode

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

Decode decodes TtsLayerVoiceSettings from json.

func (OptTtsLayerVoiceSettings) Encode

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

Encode encodes TtsLayerVoiceSettings as json.

func (OptTtsLayerVoiceSettings) Get

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

func (OptTtsLayerVoiceSettings) IsSet

func (o OptTtsLayerVoiceSettings) IsSet() bool

IsSet returns true if OptTtsLayerVoiceSettings was set.

func (OptTtsLayerVoiceSettings) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptTtsLayerVoiceSettings) Or

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

func (*OptTtsLayerVoiceSettings) Reset

func (o *OptTtsLayerVoiceSettings) Reset()

Reset unsets value.

func (*OptTtsLayerVoiceSettings) SetTo

SetTo sets value to v.

func (*OptTtsLayerVoiceSettings) UnmarshalJSON

func (s *OptTtsLayerVoiceSettings) 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 OptUpdateDeploymentRequestCustomization

type OptUpdateDeploymentRequestCustomization struct {
	Value UpdateDeploymentRequestCustomization
	Set   bool
}

OptUpdateDeploymentRequestCustomization is optional UpdateDeploymentRequestCustomization.

func NewOptUpdateDeploymentRequestCustomization

func NewOptUpdateDeploymentRequestCustomization(v UpdateDeploymentRequestCustomization) OptUpdateDeploymentRequestCustomization

NewOptUpdateDeploymentRequestCustomization returns new OptUpdateDeploymentRequestCustomization with value set to v.

func (*OptUpdateDeploymentRequestCustomization) Decode

Decode decodes UpdateDeploymentRequestCustomization from json.

func (OptUpdateDeploymentRequestCustomization) Encode

Encode encodes UpdateDeploymentRequestCustomization as json.

func (OptUpdateDeploymentRequestCustomization) Get

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

func (OptUpdateDeploymentRequestCustomization) IsSet

IsSet returns true if OptUpdateDeploymentRequestCustomization was set.

func (OptUpdateDeploymentRequestCustomization) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptUpdateDeploymentRequestCustomization) Or

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

func (*OptUpdateDeploymentRequestCustomization) Reset

Reset unsets value.

func (*OptUpdateDeploymentRequestCustomization) SetTo

SetTo sets value to v.

func (*OptUpdateDeploymentRequestCustomization) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUpdateToolRequestParameters

type OptUpdateToolRequestParameters struct {
	Value UpdateToolRequestParameters
	Set   bool
}

OptUpdateToolRequestParameters is optional UpdateToolRequestParameters.

func NewOptUpdateToolRequestParameters

func NewOptUpdateToolRequestParameters(v UpdateToolRequestParameters) OptUpdateToolRequestParameters

NewOptUpdateToolRequestParameters returns new OptUpdateToolRequestParameters with value set to v.

func (*OptUpdateToolRequestParameters) Decode

Decode decodes UpdateToolRequestParameters from json.

func (OptUpdateToolRequestParameters) Encode

Encode encodes UpdateToolRequestParameters as json.

func (OptUpdateToolRequestParameters) Get

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

func (OptUpdateToolRequestParameters) IsSet

IsSet returns true if OptUpdateToolRequestParameters was set.

func (OptUpdateToolRequestParameters) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptUpdateToolRequestParameters) Or

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

func (*OptUpdateToolRequestParameters) Reset

func (o *OptUpdateToolRequestParameters) Reset()

Reset unsets value.

func (*OptUpdateToolRequestParameters) SetTo

SetTo sets value to v.

func (*OptUpdateToolRequestParameters) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptVideoStatus

type OptVideoStatus struct {
	Value VideoStatus
	Set   bool
}

OptVideoStatus is optional VideoStatus.

func NewOptVideoStatus

func NewOptVideoStatus(v VideoStatus) OptVideoStatus

NewOptVideoStatus returns new OptVideoStatus with value set to v.

func (*OptVideoStatus) Decode

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

Decode decodes VideoStatus from json.

func (OptVideoStatus) Encode

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

Encode encodes VideoStatus as json.

func (OptVideoStatus) Get

func (o OptVideoStatus) Get() (v VideoStatus, ok bool)

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

func (OptVideoStatus) IsSet

func (o OptVideoStatus) IsSet() bool

IsSet returns true if OptVideoStatus was set.

func (OptVideoStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptVideoStatus) Or

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

func (*OptVideoStatus) Reset

func (o *OptVideoStatus) Reset()

Reset unsets value.

func (*OptVideoStatus) SetTo

func (o *OptVideoStatus) SetTo(v VideoStatus)

SetTo sets value to v.

func (*OptVideoStatus) UnmarshalJSON

func (s *OptVideoStatus) 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 Pal

type Pal struct {
	PalID             OptString    `json:"pal_id"`
	PalName           OptString    `json:"pal_name"`
	DefaultFaceID     OptString    `json:"default_face_id"`
	SystemPrompt      OptString    `json:"system_prompt"`
	PipelineMode      OptString    `json:"pipeline_mode"`
	DocumentIds       []string     `json:"document_ids"`
	DocumentTags      []string     `json:"document_tags"`
	Layers            OptPalLayers `json:"layers"`
	ConferencingEmail OptString    `json:"conferencing_email"`
	CreatedAt         OptTimestamp `json:"created_at"`
	UpdatedAt         OptTimestamp `json:"updated_at"`
}

Ref: #/components/schemas/Pal

func (*Pal) Decode

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

Decode decodes Pal from json.

func (*Pal) Encode

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

Encode implements json.Marshaler.

func (*Pal) GetConferencingEmail

func (s *Pal) GetConferencingEmail() OptString

GetConferencingEmail returns the value of ConferencingEmail.

func (*Pal) GetCreatedAt

func (s *Pal) GetCreatedAt() OptTimestamp

GetCreatedAt returns the value of CreatedAt.

func (*Pal) GetDefaultFaceID

func (s *Pal) GetDefaultFaceID() OptString

GetDefaultFaceID returns the value of DefaultFaceID.

func (*Pal) GetDocumentIds

func (s *Pal) GetDocumentIds() []string

GetDocumentIds returns the value of DocumentIds.

func (*Pal) GetDocumentTags

func (s *Pal) GetDocumentTags() []string

GetDocumentTags returns the value of DocumentTags.

func (*Pal) GetLayers

func (s *Pal) GetLayers() OptPalLayers

GetLayers returns the value of Layers.

func (*Pal) GetPalID

func (s *Pal) GetPalID() OptString

GetPalID returns the value of PalID.

func (*Pal) GetPalName

func (s *Pal) GetPalName() OptString

GetPalName returns the value of PalName.

func (*Pal) GetPipelineMode

func (s *Pal) GetPipelineMode() OptString

GetPipelineMode returns the value of PipelineMode.

func (*Pal) GetSystemPrompt

func (s *Pal) GetSystemPrompt() OptString

GetSystemPrompt returns the value of SystemPrompt.

func (*Pal) GetUpdatedAt

func (s *Pal) GetUpdatedAt() OptTimestamp

GetUpdatedAt returns the value of UpdatedAt.

func (*Pal) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Pal) SetConferencingEmail

func (s *Pal) SetConferencingEmail(val OptString)

SetConferencingEmail sets the value of ConferencingEmail.

func (*Pal) SetCreatedAt

func (s *Pal) SetCreatedAt(val OptTimestamp)

SetCreatedAt sets the value of CreatedAt.

func (*Pal) SetDefaultFaceID

func (s *Pal) SetDefaultFaceID(val OptString)

SetDefaultFaceID sets the value of DefaultFaceID.

func (*Pal) SetDocumentIds

func (s *Pal) SetDocumentIds(val []string)

SetDocumentIds sets the value of DocumentIds.

func (*Pal) SetDocumentTags

func (s *Pal) SetDocumentTags(val []string)

SetDocumentTags sets the value of DocumentTags.

func (*Pal) SetLayers

func (s *Pal) SetLayers(val OptPalLayers)

SetLayers sets the value of Layers.

func (*Pal) SetPalID

func (s *Pal) SetPalID(val OptString)

SetPalID sets the value of PalID.

func (*Pal) SetPalName

func (s *Pal) SetPalName(val OptString)

SetPalName sets the value of PalName.

func (*Pal) SetPipelineMode

func (s *Pal) SetPipelineMode(val OptString)

SetPipelineMode sets the value of PipelineMode.

func (*Pal) SetSystemPrompt

func (s *Pal) SetSystemPrompt(val OptString)

SetSystemPrompt sets the value of SystemPrompt.

func (*Pal) SetUpdatedAt

func (s *Pal) SetUpdatedAt(val OptTimestamp)

SetUpdatedAt sets the value of UpdatedAt.

func (*Pal) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Pal) Validate

func (s *Pal) Validate() error

type PalLayers

type PalLayers struct {
	Perception         OptPerceptionLayer         `json:"perception"`
	Stt                OptSttLayer                `json:"stt"`
	ConversationalFlow OptConversationalFlowLayer `json:"conversational_flow"`
	Llm                OptLlmLayer                `json:"llm"`
	Tts                OptTtsLayer                `json:"tts"`
	Transport          OptTransportLayer          `json:"transport"`
}

Ref: #/components/schemas/PalLayers

func (*PalLayers) Decode

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

Decode decodes PalLayers from json.

func (*PalLayers) Encode

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

Encode implements json.Marshaler.

func (*PalLayers) GetConversationalFlow

func (s *PalLayers) GetConversationalFlow() OptConversationalFlowLayer

GetConversationalFlow returns the value of ConversationalFlow.

func (*PalLayers) GetLlm

func (s *PalLayers) GetLlm() OptLlmLayer

GetLlm returns the value of Llm.

func (*PalLayers) GetPerception

func (s *PalLayers) GetPerception() OptPerceptionLayer

GetPerception returns the value of Perception.

func (*PalLayers) GetStt

func (s *PalLayers) GetStt() OptSttLayer

GetStt returns the value of Stt.

func (*PalLayers) GetTransport

func (s *PalLayers) GetTransport() OptTransportLayer

GetTransport returns the value of Transport.

func (*PalLayers) GetTts

func (s *PalLayers) GetTts() OptTtsLayer

GetTts returns the value of Tts.

func (*PalLayers) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PalLayers) SetConversationalFlow

func (s *PalLayers) SetConversationalFlow(val OptConversationalFlowLayer)

SetConversationalFlow sets the value of ConversationalFlow.

func (*PalLayers) SetLlm

func (s *PalLayers) SetLlm(val OptLlmLayer)

SetLlm sets the value of Llm.

func (*PalLayers) SetPerception

func (s *PalLayers) SetPerception(val OptPerceptionLayer)

SetPerception sets the value of Perception.

func (*PalLayers) SetStt

func (s *PalLayers) SetStt(val OptSttLayer)

SetStt sets the value of Stt.

func (*PalLayers) SetTransport

func (s *PalLayers) SetTransport(val OptTransportLayer)

SetTransport sets the value of Transport.

func (*PalLayers) SetTts

func (s *PalLayers) SetTts(val OptTtsLayer)

SetTts sets the value of Tts.

func (*PalLayers) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PalLayers) Validate

func (s *PalLayers) Validate() error

type PerceptionLayer

type PerceptionLayer struct {
	PerceptionModel        OptPerceptionLayerPerceptionModel `json:"perception_model"`
	VisualAwarenessQueries []string                          `json:"visual_awareness_queries"`
	AudioAwarenessQueries  []string                          `json:"audio_awareness_queries"`
}

Ref: #/components/schemas/PerceptionLayer

func (*PerceptionLayer) Decode

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

Decode decodes PerceptionLayer from json.

func (*PerceptionLayer) Encode

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

Encode implements json.Marshaler.

func (*PerceptionLayer) GetAudioAwarenessQueries

func (s *PerceptionLayer) GetAudioAwarenessQueries() []string

GetAudioAwarenessQueries returns the value of AudioAwarenessQueries.

func (*PerceptionLayer) GetPerceptionModel

func (s *PerceptionLayer) GetPerceptionModel() OptPerceptionLayerPerceptionModel

GetPerceptionModel returns the value of PerceptionModel.

func (*PerceptionLayer) GetVisualAwarenessQueries

func (s *PerceptionLayer) GetVisualAwarenessQueries() []string

GetVisualAwarenessQueries returns the value of VisualAwarenessQueries.

func (*PerceptionLayer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*PerceptionLayer) SetAudioAwarenessQueries

func (s *PerceptionLayer) SetAudioAwarenessQueries(val []string)

SetAudioAwarenessQueries sets the value of AudioAwarenessQueries.

func (*PerceptionLayer) SetPerceptionModel

func (s *PerceptionLayer) SetPerceptionModel(val OptPerceptionLayerPerceptionModel)

SetPerceptionModel sets the value of PerceptionModel.

func (*PerceptionLayer) SetVisualAwarenessQueries

func (s *PerceptionLayer) SetVisualAwarenessQueries(val []string)

SetVisualAwarenessQueries sets the value of VisualAwarenessQueries.

func (*PerceptionLayer) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PerceptionLayer) Validate

func (s *PerceptionLayer) Validate() error

type PerceptionLayerPerceptionModel

type PerceptionLayerPerceptionModel string
const (
	PerceptionLayerPerceptionModelRaven1 PerceptionLayerPerceptionModel = "raven-1"
	PerceptionLayerPerceptionModelRaven0 PerceptionLayerPerceptionModel = "raven-0"
	PerceptionLayerPerceptionModelOff    PerceptionLayerPerceptionModel = "off"
)

func (PerceptionLayerPerceptionModel) AllValues

AllValues returns all PerceptionLayerPerceptionModel values.

func (*PerceptionLayerPerceptionModel) Decode

Decode decodes PerceptionLayerPerceptionModel from json.

func (PerceptionLayerPerceptionModel) Encode

Encode encodes PerceptionLayerPerceptionModel as json.

func (PerceptionLayerPerceptionModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (PerceptionLayerPerceptionModel) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*PerceptionLayerPerceptionModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PerceptionLayerPerceptionModel) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (PerceptionLayerPerceptionModel) Validate

type RenameFaceNotFound

type RenameFaceNotFound Error

func (*RenameFaceNotFound) Decode

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

Decode decodes RenameFaceNotFound from json.

func (*RenameFaceNotFound) Encode

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

Encode encodes RenameFaceNotFound as json.

func (*RenameFaceNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*RenameFaceNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type RenameFaceOK

type RenameFaceOK struct{}

RenameFaceOK is response for RenameFace operation.

type RenameFaceParams

type RenameFaceParams struct {
	// Unique face identifier.
	FaceID string
}

RenameFaceParams is parameters of renameFace operation.

type RenameFaceReq

type RenameFaceReq struct {
	FaceName string `json:"face_name"`
}

func (*RenameFaceReq) Decode

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

Decode decodes RenameFaceReq from json.

func (*RenameFaceReq) Encode

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

Encode implements json.Marshaler.

func (*RenameFaceReq) GetFaceName

func (s *RenameFaceReq) GetFaceName() string

GetFaceName returns the value of FaceName.

func (*RenameFaceReq) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*RenameFaceReq) SetFaceName

func (s *RenameFaceReq) SetFaceName(val string)

SetFaceName sets the value of FaceName.

func (*RenameFaceReq) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type RenameFaceRes

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

type RenameFaceUnauthorized

type RenameFaceUnauthorized Error

func (*RenameFaceUnauthorized) Decode

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

Decode decodes RenameFaceUnauthorized from json.

func (*RenameFaceUnauthorized) Encode

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

Encode encodes RenameFaceUnauthorized as json.

func (*RenameFaceUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*RenameFaceUnauthorized) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type RenameVideoNotFound

type RenameVideoNotFound Error

func (*RenameVideoNotFound) Decode

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

Decode decodes RenameVideoNotFound from json.

func (*RenameVideoNotFound) Encode

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

Encode encodes RenameVideoNotFound as json.

func (*RenameVideoNotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*RenameVideoNotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type RenameVideoOK

type RenameVideoOK struct{}

RenameVideoOK is response for RenameVideo operation.

type RenameVideoParams

type RenameVideoParams struct {
	// Unique video identifier.
	VideoID string
}

RenameVideoParams is parameters of renameVideo operation.

type RenameVideoReq

type RenameVideoReq struct {
	VideoName string `json:"video_name"`
}

func (*RenameVideoReq) Decode

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

Decode decodes RenameVideoReq from json.

func (*RenameVideoReq) Encode

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

Encode implements json.Marshaler.

func (*RenameVideoReq) GetVideoName

func (s *RenameVideoReq) GetVideoName() string

GetVideoName returns the value of VideoName.

func (*RenameVideoReq) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*RenameVideoReq) SetVideoName

func (s *RenameVideoReq) SetVideoName(val string)

SetVideoName sets the value of VideoName.

func (*RenameVideoReq) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type RenameVideoRes

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

type RenameVideoUnauthorized

type RenameVideoUnauthorized Error

func (*RenameVideoUnauthorized) Decode

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

Decode decodes RenameVideoUnauthorized from json.

func (*RenameVideoUnauthorized) Encode

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

Encode encodes RenameVideoUnauthorized as json.

func (*RenameVideoUnauthorized) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*RenameVideoUnauthorized) UnmarshalJSON

func (s *RenameVideoUnauthorized) 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 {
	// HandleApiKeyAuth handles ApiKeyAuth security.
	// Tavus API key.
	HandleApiKeyAuth(ctx context.Context, operationName OperationName, t ApiKeyAuth) (context.Context, error)
}

SecurityHandler is handler for security parameters.

type SecuritySource

type SecuritySource interface {
	// ApiKeyAuth provides ApiKeyAuth security value.
	// Tavus API key.
	ApiKeyAuth(ctx context.Context, operationName OperationName) (ApiKeyAuth, 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 SttLayer

type SttLayer struct {
	SttEngine OptString `json:"stt_engine"`
	// Comma-separated hotwords or JSON array string.
	Hotwords OptString `json:"hotwords"`
}

Ref: #/components/schemas/SttLayer

func (*SttLayer) Decode

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

Decode decodes SttLayer from json.

func (*SttLayer) Encode

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

Encode implements json.Marshaler.

func (*SttLayer) GetHotwords

func (s *SttLayer) GetHotwords() OptString

GetHotwords returns the value of Hotwords.

func (*SttLayer) GetSttEngine

func (s *SttLayer) GetSttEngine() OptString

GetSttEngine returns the value of SttEngine.

func (*SttLayer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*SttLayer) SetHotwords

func (s *SttLayer) SetHotwords(val OptString)

SetHotwords sets the value of Hotwords.

func (*SttLayer) SetSttEngine

func (s *SttLayer) SetSttEngine(val OptString)

SetSttEngine sets the value of SttEngine.

func (*SttLayer) UnmarshalJSON

func (s *SttLayer) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Timestamp

type Timestamp time.Time

func (*Timestamp) Decode

func (s *Timestamp) Decode(d *jx.Decoder) error

Decode decodes Timestamp from json.

func (Timestamp) Encode

func (s Timestamp) Encode(e *jx.Encoder)

Encode encodes Timestamp as json.

func (Timestamp) MarshalJSON

func (s Timestamp) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Timestamp) UnmarshalJSON

func (s *Timestamp) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Tool

type Tool struct {
	ToolID      OptString         `json:"tool_id"`
	Name        OptString         `json:"name"`
	Description OptString         `json:"description"`
	Parameters  OptToolParameters `json:"parameters"`
	Delivery    *ToolDelivery     `json:"delivery"`
	TriggerType OptString         `json:"trigger_type"`
	Origin      OptString         `json:"origin"`
	OnCall      OptString         `json:"on_call"`
	OnResolve   OptString         `json:"on_resolve"`
	Tags        []string          `json:"tags"`
	CreatedAt   OptTimestamp      `json:"created_at"`
	UpdatedAt   OptTimestamp      `json:"updated_at"`
}

Ref: #/components/schemas/Tool

func (*Tool) Decode

func (s *Tool) Decode(d *jx.Decoder) error

Decode decodes Tool from json.

func (*Tool) Encode

func (s *Tool) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Tool) GetCreatedAt

func (s *Tool) GetCreatedAt() OptTimestamp

GetCreatedAt returns the value of CreatedAt.

func (*Tool) GetDelivery

func (s *Tool) GetDelivery() *ToolDelivery

GetDelivery returns the value of Delivery.

func (*Tool) GetDescription

func (s *Tool) GetDescription() OptString

GetDescription returns the value of Description.

func (*Tool) GetName

func (s *Tool) GetName() OptString

GetName returns the value of Name.

func (*Tool) GetOnCall

func (s *Tool) GetOnCall() OptString

GetOnCall returns the value of OnCall.

func (*Tool) GetOnResolve

func (s *Tool) GetOnResolve() OptString

GetOnResolve returns the value of OnResolve.

func (*Tool) GetOrigin

func (s *Tool) GetOrigin() OptString

GetOrigin returns the value of Origin.

func (*Tool) GetParameters

func (s *Tool) GetParameters() OptToolParameters

GetParameters returns the value of Parameters.

func (*Tool) GetTags

func (s *Tool) GetTags() []string

GetTags returns the value of Tags.

func (*Tool) GetToolID

func (s *Tool) GetToolID() OptString

GetToolID returns the value of ToolID.

func (*Tool) GetTriggerType

func (s *Tool) GetTriggerType() OptString

GetTriggerType returns the value of TriggerType.

func (*Tool) GetUpdatedAt

func (s *Tool) GetUpdatedAt() OptTimestamp

GetUpdatedAt returns the value of UpdatedAt.

func (*Tool) MarshalJSON

func (s *Tool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Tool) SetCreatedAt

func (s *Tool) SetCreatedAt(val OptTimestamp)

SetCreatedAt sets the value of CreatedAt.

func (*Tool) SetDelivery

func (s *Tool) SetDelivery(val *ToolDelivery)

SetDelivery sets the value of Delivery.

func (*Tool) SetDescription

func (s *Tool) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Tool) SetName

func (s *Tool) SetName(val OptString)

SetName sets the value of Name.

func (*Tool) SetOnCall

func (s *Tool) SetOnCall(val OptString)

SetOnCall sets the value of OnCall.

func (*Tool) SetOnResolve

func (s *Tool) SetOnResolve(val OptString)

SetOnResolve sets the value of OnResolve.

func (*Tool) SetOrigin

func (s *Tool) SetOrigin(val OptString)

SetOrigin sets the value of Origin.

func (*Tool) SetParameters

func (s *Tool) SetParameters(val OptToolParameters)

SetParameters sets the value of Parameters.

func (*Tool) SetTags

func (s *Tool) SetTags(val []string)

SetTags sets the value of Tags.

func (*Tool) SetToolID

func (s *Tool) SetToolID(val OptString)

SetToolID sets the value of ToolID.

func (*Tool) SetTriggerType

func (s *Tool) SetTriggerType(val OptString)

SetTriggerType sets the value of TriggerType.

func (*Tool) SetUpdatedAt

func (s *Tool) SetUpdatedAt(val OptTimestamp)

SetUpdatedAt sets the value of UpdatedAt.

func (*Tool) UnmarshalJSON

func (s *Tool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ToolDelivery

type ToolDelivery struct{}

func (*ToolDelivery) Decode

func (s *ToolDelivery) Decode(d *jx.Decoder) error

Decode decodes ToolDelivery from json.

func (*ToolDelivery) Encode

func (s *ToolDelivery) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ToolDelivery) MarshalJSON

func (s *ToolDelivery) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ToolDelivery) UnmarshalJSON

func (s *ToolDelivery) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ToolParameters

type ToolParameters map[string]jx.Raw

func (*ToolParameters) Decode

func (s *ToolParameters) Decode(d *jx.Decoder) error

Decode decodes ToolParameters from json.

func (ToolParameters) Encode

func (s ToolParameters) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (ToolParameters) MarshalJSON

func (s ToolParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ToolParameters) UnmarshalJSON

func (s *ToolParameters) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TransportLayer

type TransportLayer struct {
	// Transport type (e.g., livekit, daily).
	TransportType OptString `json:"transport_type"`
}

Ref: #/components/schemas/TransportLayer

func (*TransportLayer) Decode

func (s *TransportLayer) Decode(d *jx.Decoder) error

Decode decodes TransportLayer from json.

func (*TransportLayer) Encode

func (s *TransportLayer) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TransportLayer) GetTransportType

func (s *TransportLayer) GetTransportType() OptString

GetTransportType returns the value of TransportType.

func (*TransportLayer) MarshalJSON

func (s *TransportLayer) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransportLayer) SetTransportType

func (s *TransportLayer) SetTransportType(val OptString)

SetTransportType sets the value of TransportType.

func (*TransportLayer) UnmarshalJSON

func (s *TransportLayer) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TtsLayer

type TtsLayer struct {
	TtsEngine       OptString                `json:"tts_engine"`
	ExternalVoiceID OptString                `json:"external_voice_id"`
	TtsModelName    OptString                `json:"tts_model_name"`
	VoiceSettings   OptTtsLayerVoiceSettings `json:"voice_settings"`
}

Ref: #/components/schemas/TtsLayer

func (*TtsLayer) Decode

func (s *TtsLayer) Decode(d *jx.Decoder) error

Decode decodes TtsLayer from json.

func (*TtsLayer) Encode

func (s *TtsLayer) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TtsLayer) GetExternalVoiceID

func (s *TtsLayer) GetExternalVoiceID() OptString

GetExternalVoiceID returns the value of ExternalVoiceID.

func (*TtsLayer) GetTtsEngine

func (s *TtsLayer) GetTtsEngine() OptString

GetTtsEngine returns the value of TtsEngine.

func (*TtsLayer) GetTtsModelName

func (s *TtsLayer) GetTtsModelName() OptString

GetTtsModelName returns the value of TtsModelName.

func (*TtsLayer) GetVoiceSettings

func (s *TtsLayer) GetVoiceSettings() OptTtsLayerVoiceSettings

GetVoiceSettings returns the value of VoiceSettings.

func (*TtsLayer) MarshalJSON

func (s *TtsLayer) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TtsLayer) SetExternalVoiceID

func (s *TtsLayer) SetExternalVoiceID(val OptString)

SetExternalVoiceID sets the value of ExternalVoiceID.

func (*TtsLayer) SetTtsEngine

func (s *TtsLayer) SetTtsEngine(val OptString)

SetTtsEngine sets the value of TtsEngine.

func (*TtsLayer) SetTtsModelName

func (s *TtsLayer) SetTtsModelName(val OptString)

SetTtsModelName sets the value of TtsModelName.

func (*TtsLayer) SetVoiceSettings

func (s *TtsLayer) SetVoiceSettings(val OptTtsLayerVoiceSettings)

SetVoiceSettings sets the value of VoiceSettings.

func (*TtsLayer) UnmarshalJSON

func (s *TtsLayer) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TtsLayerVoiceSettings

type TtsLayerVoiceSettings map[string]jx.Raw

func (*TtsLayerVoiceSettings) Decode

func (s *TtsLayerVoiceSettings) Decode(d *jx.Decoder) error

Decode decodes TtsLayerVoiceSettings from json.

func (TtsLayerVoiceSettings) Encode

func (s TtsLayerVoiceSettings) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (TtsLayerVoiceSettings) MarshalJSON

func (s TtsLayerVoiceSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TtsLayerVoiceSettings) UnmarshalJSON

func (s *TtsLayerVoiceSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UnimplementedHandler

type UnimplementedHandler struct{}

UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.

func (UnimplementedHandler) AttachToolToPal

AttachToolToPal implements attachToolToPal operation.

Attaches an existing tool to a PAL. Maximum 50 tools per PAL.

POST /v2/pals/{pal_id}/tools

func (UnimplementedHandler) CreateConversation

CreateConversation implements createConversation operation.

Creates a new real-time conversation session with a PAL. The conversation URL can be used to join the video call.

POST /v2/conversations

func (UnimplementedHandler) CreateDeployment

CreateDeployment implements createDeployment operation.

Creates a distribution channel for a PAL (widget, embed, or landing page).

POST /v2/deployments

func (UnimplementedHandler) CreateDocument

CreateDocument implements createDocument operation.

Uploads a document to the knowledge base. Supported formats: PDF, TXT, DOCX, DOC, PNG, JPG, PPTX, CSV, XLSX (max 50MB).

POST /v2/documents

func (UnimplementedHandler) CreateFace

CreateFace implements createFace operation.

Creates a new face by training on a video or image. Training is asynchronous - use the callback_url or poll the face status.

POST /v2/faces

func (UnimplementedHandler) CreateGuardrail

CreateGuardrail implements createGuardrail operation.

Creates a behavioral boundary for PAL conversations.

POST /v2/guardrails

func (UnimplementedHandler) CreateObjectives

CreateObjectives implements createObjectives operation.

Creates measurable goals for PAL conversations.

POST /v2/objectives

func (UnimplementedHandler) CreatePal

CreatePal implements createPal operation.

Creates a new PAL (Personality AI Layer) that defines the avatar's behavior, knowledge, and configuration.

POST /v2/pals

func (UnimplementedHandler) CreateTool

CreateTool implements createTool operation.

Creates a function calling tool that can be attached to PALs.

POST /v2/tools

func (UnimplementedHandler) CreateVideo

CreateVideo implements createVideo operation.

Creates a new video using a face and script or audio. Video generation is asynchronous.

POST /v2/videos

func (UnimplementedHandler) DeleteConversation

DeleteConversation implements deleteConversation operation.

Delete a conversation.

DELETE /v2/conversations/{conversation_id}

func (UnimplementedHandler) DeleteDeployment

DeleteDeployment implements deleteDeployment operation.

Delete a deployment.

DELETE /v2/deployments/{deployment_id}

func (UnimplementedHandler) DeleteDocument

DeleteDocument implements deleteDocument operation.

Delete a document.

DELETE /v2/documents/{document_id}

func (UnimplementedHandler) DeleteFace

DeleteFace implements deleteFace operation.

Delete a face.

DELETE /v2/faces/{face_id}

func (UnimplementedHandler) DeleteGuardrail

DeleteGuardrail implements deleteGuardrail operation.

Delete a guardrail.

DELETE /v2/guardrails/{guardrail_id}

func (UnimplementedHandler) DeleteObjectives

DeleteObjectives implements deleteObjectives operation.

Delete objectives.

DELETE /v2/objectives/{objectives_id}

func (UnimplementedHandler) DeletePal

func (UnimplementedHandler) DeletePal(ctx context.Context, params DeletePalParams) (r DeletePalRes, _ error)

DeletePal implements deletePal operation.

Delete a PAL.

DELETE /v2/pals/{pal_id}

func (UnimplementedHandler) DeleteTool

DeleteTool implements deleteTool operation.

Delete a tool.

DELETE /v2/tools/{tool_id}

func (UnimplementedHandler) DeleteVideo

DeleteVideo implements deleteVideo operation.

Delete a video.

DELETE /v2/videos/{video_id}

func (UnimplementedHandler) EndConversation

EndConversation implements endConversation operation.

Gracefully ends an active conversation session.

POST /v2/conversations/{conversation_id}/end

func (UnimplementedHandler) GetConversation

GetConversation implements getConversation operation.

Get a conversation.

GET /v2/conversations/{conversation_id}

func (UnimplementedHandler) GetDeployment

GetDeployment implements getDeployment operation.

Get a deployment.

GET /v2/deployments/{deployment_id}

func (UnimplementedHandler) GetDocument

GetDocument implements getDocument operation.

Get a document.

GET /v2/documents/{document_id}

func (UnimplementedHandler) GetFace

func (UnimplementedHandler) GetFace(ctx context.Context, params GetFaceParams) (r GetFaceRes, _ error)

GetFace implements getFace operation.

Get a face.

GET /v2/faces/{face_id}

func (UnimplementedHandler) GetGuardrail

GetGuardrail implements getGuardrail operation.

Get a guardrail.

GET /v2/guardrails/{guardrail_id}

func (UnimplementedHandler) GetObjectives

GetObjectives implements getObjectives operation.

Get objectives.

GET /v2/objectives/{objectives_id}

func (UnimplementedHandler) GetPal

func (UnimplementedHandler) GetPal(ctx context.Context, params GetPalParams) (r GetPalRes, _ error)

GetPal implements getPal operation.

Get a PAL.

GET /v2/pals/{pal_id}

func (UnimplementedHandler) GetTool

func (UnimplementedHandler) GetTool(ctx context.Context, params GetToolParams) (r GetToolRes, _ error)

GetTool implements getTool operation.

Get a tool.

GET /v2/tools/{tool_id}

func (UnimplementedHandler) GetVideo

func (UnimplementedHandler) GetVideo(ctx context.Context, params GetVideoParams) (r GetVideoRes, _ error)

GetVideo implements getVideo operation.

Get a video.

GET /v2/videos/{video_id}

func (UnimplementedHandler) ListConversations

ListConversations implements listConversations operation.

List all conversations.

GET /v2/conversations

func (UnimplementedHandler) ListDeployments

ListDeployments implements listDeployments operation.

List all deployments.

GET /v2/deployments

func (UnimplementedHandler) ListDocuments

ListDocuments implements listDocuments operation.

List all documents.

GET /v2/documents

func (UnimplementedHandler) ListFaces

func (UnimplementedHandler) ListFaces(ctx context.Context, params ListFacesParams) (r ListFacesRes, _ error)

ListFaces implements listFaces operation.

List all faces.

GET /v2/faces

func (UnimplementedHandler) ListGuardrails

ListGuardrails implements listGuardrails operation.

List all guardrails.

GET /v2/guardrails

func (UnimplementedHandler) ListObjectives

ListObjectives implements listObjectives operation.

List all objectives.

GET /v2/objectives

func (UnimplementedHandler) ListPals

func (UnimplementedHandler) ListPals(ctx context.Context, params ListPalsParams) (r ListPalsRes, _ error)

ListPals implements listPals operation.

List all PALs.

GET /v2/pals

func (UnimplementedHandler) ListTools

func (UnimplementedHandler) ListTools(ctx context.Context, params ListToolsParams) (r ListToolsRes, _ error)

ListTools implements listTools operation.

List all tools.

GET /v2/tools

func (UnimplementedHandler) ListVideos

ListVideos implements listVideos operation.

List all videos.

GET /v2/videos

func (UnimplementedHandler) ListVoices

ListVoices implements listVoices operation.

Lists stock voices available for image-to-face training.

GET /v2/voices

func (UnimplementedHandler) RenameFace

RenameFace implements renameFace operation.

Rename a face.

PATCH /v2/faces/{face_id}/name

func (UnimplementedHandler) RenameVideo

RenameVideo implements renameVideo operation.

Rename a video.

PATCH /v2/videos/{video_id}/name

func (UnimplementedHandler) UpdateDeployment

UpdateDeployment implements updateDeployment operation.

Update a deployment.

PATCH /v2/deployments/{deployment_id}

func (UnimplementedHandler) UpdateDocument

UpdateDocument implements updateDocument operation.

Update document metadata.

PATCH /v2/documents/{document_id}

func (UnimplementedHandler) UpdateGuardrail

UpdateGuardrail implements updateGuardrail operation.

Update a guardrail.

PATCH /v2/guardrails/{guardrail_id}

func (UnimplementedHandler) UpdateObjectives

UpdateObjectives implements updateObjectives operation.

Update objectives.

PATCH /v2/objectives/{objectives_id}

func (UnimplementedHandler) UpdatePal

UpdatePal implements updatePal operation.

Update a PAL.

PATCH /v2/pals/{pal_id}

func (UnimplementedHandler) UpdateTool

UpdateTool implements updateTool operation.

Update a tool.

PATCH /v2/tools/{tool_id}

type UpdateDeploymentNotFound

type UpdateDeploymentNotFound Error

func (*UpdateDeploymentNotFound) Decode

func (s *UpdateDeploymentNotFound) Decode(d *jx.Decoder) error

Decode decodes UpdateDeploymentNotFound from json.

func (*UpdateDeploymentNotFound) Encode

func (s *UpdateDeploymentNotFound) Encode(e *jx.Encoder)

Encode encodes UpdateDeploymentNotFound as json.

func (*UpdateDeploymentNotFound) MarshalJSON

func (s *UpdateDeploymentNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateDeploymentNotFound) UnmarshalJSON

func (s *UpdateDeploymentNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateDeploymentParams

type UpdateDeploymentParams struct {
	// Unique deployment identifier.
	DeploymentID string
}

UpdateDeploymentParams is parameters of updateDeployment operation.

type UpdateDeploymentRequest

type UpdateDeploymentRequest struct {
	Name           OptString                               `json:"name"`
	Password       OptString                               `json:"password"`
	Customization  OptUpdateDeploymentRequestCustomization `json:"customization"`
	Limits         *UpdateDeploymentRequestLimits          `json:"limits"`
	AllowedOrigins []string                                `json:"allowed_origins"`
}

Ref: #/components/schemas/UpdateDeploymentRequest

func (*UpdateDeploymentRequest) Decode

func (s *UpdateDeploymentRequest) Decode(d *jx.Decoder) error

Decode decodes UpdateDeploymentRequest from json.

func (*UpdateDeploymentRequest) Encode

func (s *UpdateDeploymentRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateDeploymentRequest) GetAllowedOrigins

func (s *UpdateDeploymentRequest) GetAllowedOrigins() []string

GetAllowedOrigins returns the value of AllowedOrigins.

func (*UpdateDeploymentRequest) GetCustomization

GetCustomization returns the value of Customization.

func (*UpdateDeploymentRequest) GetLimits

GetLimits returns the value of Limits.

func (*UpdateDeploymentRequest) GetName

func (s *UpdateDeploymentRequest) GetName() OptString

GetName returns the value of Name.

func (*UpdateDeploymentRequest) GetPassword

func (s *UpdateDeploymentRequest) GetPassword() OptString

GetPassword returns the value of Password.

func (*UpdateDeploymentRequest) MarshalJSON

func (s *UpdateDeploymentRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateDeploymentRequest) SetAllowedOrigins

func (s *UpdateDeploymentRequest) SetAllowedOrigins(val []string)

SetAllowedOrigins sets the value of AllowedOrigins.

func (*UpdateDeploymentRequest) SetCustomization

SetCustomization sets the value of Customization.

func (*UpdateDeploymentRequest) SetLimits

SetLimits sets the value of Limits.

func (*UpdateDeploymentRequest) SetName

func (s *UpdateDeploymentRequest) SetName(val OptString)

SetName sets the value of Name.

func (*UpdateDeploymentRequest) SetPassword

func (s *UpdateDeploymentRequest) SetPassword(val OptString)

SetPassword sets the value of Password.

func (*UpdateDeploymentRequest) UnmarshalJSON

func (s *UpdateDeploymentRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateDeploymentRequestCustomization

type UpdateDeploymentRequestCustomization map[string]jx.Raw

func (*UpdateDeploymentRequestCustomization) Decode

Decode decodes UpdateDeploymentRequestCustomization from json.

func (UpdateDeploymentRequestCustomization) Encode

Encode implements json.Marshaler.

func (UpdateDeploymentRequestCustomization) MarshalJSON

func (s UpdateDeploymentRequestCustomization) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateDeploymentRequestCustomization) UnmarshalJSON

func (s *UpdateDeploymentRequestCustomization) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateDeploymentRequestLimits

type UpdateDeploymentRequestLimits struct{}

func (*UpdateDeploymentRequestLimits) Decode

Decode decodes UpdateDeploymentRequestLimits from json.

func (*UpdateDeploymentRequestLimits) Encode

Encode implements json.Marshaler.

func (*UpdateDeploymentRequestLimits) MarshalJSON

func (s *UpdateDeploymentRequestLimits) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateDeploymentRequestLimits) UnmarshalJSON

func (s *UpdateDeploymentRequestLimits) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateDeploymentRes

type UpdateDeploymentRes interface {
	// contains filtered or unexported methods
}

type UpdateDeploymentUnauthorized

type UpdateDeploymentUnauthorized Error

func (*UpdateDeploymentUnauthorized) Decode

Decode decodes UpdateDeploymentUnauthorized from json.

func (*UpdateDeploymentUnauthorized) Encode

func (s *UpdateDeploymentUnauthorized) Encode(e *jx.Encoder)

Encode encodes UpdateDeploymentUnauthorized as json.

func (*UpdateDeploymentUnauthorized) MarshalJSON

func (s *UpdateDeploymentUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateDeploymentUnauthorized) UnmarshalJSON

func (s *UpdateDeploymentUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateDocumentNotFound

type UpdateDocumentNotFound Error

func (*UpdateDocumentNotFound) Decode

func (s *UpdateDocumentNotFound) Decode(d *jx.Decoder) error

Decode decodes UpdateDocumentNotFound from json.

func (*UpdateDocumentNotFound) Encode

func (s *UpdateDocumentNotFound) Encode(e *jx.Encoder)

Encode encodes UpdateDocumentNotFound as json.

func (*UpdateDocumentNotFound) MarshalJSON

func (s *UpdateDocumentNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateDocumentNotFound) UnmarshalJSON

func (s *UpdateDocumentNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateDocumentParams

type UpdateDocumentParams struct {
	// Unique document identifier.
	DocumentID string
}

UpdateDocumentParams is parameters of updateDocument operation.

type UpdateDocumentRequest

type UpdateDocumentRequest struct {
	DocumentName OptString `json:"document_name"`
	Tags         []string  `json:"tags"`
}

Ref: #/components/schemas/UpdateDocumentRequest

func (*UpdateDocumentRequest) Decode

func (s *UpdateDocumentRequest) Decode(d *jx.Decoder) error

Decode decodes UpdateDocumentRequest from json.

func (*UpdateDocumentRequest) Encode

func (s *UpdateDocumentRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateDocumentRequest) GetDocumentName

func (s *UpdateDocumentRequest) GetDocumentName() OptString

GetDocumentName returns the value of DocumentName.

func (*UpdateDocumentRequest) GetTags

func (s *UpdateDocumentRequest) GetTags() []string

GetTags returns the value of Tags.

func (*UpdateDocumentRequest) MarshalJSON

func (s *UpdateDocumentRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateDocumentRequest) SetDocumentName

func (s *UpdateDocumentRequest) SetDocumentName(val OptString)

SetDocumentName sets the value of DocumentName.

func (*UpdateDocumentRequest) SetTags

func (s *UpdateDocumentRequest) SetTags(val []string)

SetTags sets the value of Tags.

func (*UpdateDocumentRequest) UnmarshalJSON

func (s *UpdateDocumentRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateDocumentRes

type UpdateDocumentRes interface {
	// contains filtered or unexported methods
}

type UpdateDocumentUnauthorized

type UpdateDocumentUnauthorized Error

func (*UpdateDocumentUnauthorized) Decode

Decode decodes UpdateDocumentUnauthorized from json.

func (*UpdateDocumentUnauthorized) Encode

func (s *UpdateDocumentUnauthorized) Encode(e *jx.Encoder)

Encode encodes UpdateDocumentUnauthorized as json.

func (*UpdateDocumentUnauthorized) MarshalJSON

func (s *UpdateDocumentUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateDocumentUnauthorized) UnmarshalJSON

func (s *UpdateDocumentUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateGuardrailNotFound

type UpdateGuardrailNotFound Error

func (*UpdateGuardrailNotFound) Decode

func (s *UpdateGuardrailNotFound) Decode(d *jx.Decoder) error

Decode decodes UpdateGuardrailNotFound from json.

func (*UpdateGuardrailNotFound) Encode

func (s *UpdateGuardrailNotFound) Encode(e *jx.Encoder)

Encode encodes UpdateGuardrailNotFound as json.

func (*UpdateGuardrailNotFound) MarshalJSON

func (s *UpdateGuardrailNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateGuardrailNotFound) UnmarshalJSON

func (s *UpdateGuardrailNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateGuardrailParams

type UpdateGuardrailParams struct {
	// Unique guardrail identifier.
	GuardrailID string
}

UpdateGuardrailParams is parameters of updateGuardrail operation.

type UpdateGuardrailRequest

type UpdateGuardrailRequest struct {
	GuardrailName   OptString `json:"guardrail_name"`
	GuardrailPrompt OptString `json:"guardrail_prompt"`
	Modality        OptString `json:"modality"`
	CallbackURL     OptString `json:"callback_url"`
	Tags            []string  `json:"tags"`
	AppMessage      OptBool   `json:"app_message"`
}

Ref: #/components/schemas/UpdateGuardrailRequest

func (*UpdateGuardrailRequest) Decode

func (s *UpdateGuardrailRequest) Decode(d *jx.Decoder) error

Decode decodes UpdateGuardrailRequest from json.

func (*UpdateGuardrailRequest) Encode

func (s *UpdateGuardrailRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateGuardrailRequest) GetAppMessage

func (s *UpdateGuardrailRequest) GetAppMessage() OptBool

GetAppMessage returns the value of AppMessage.

func (*UpdateGuardrailRequest) GetCallbackURL

func (s *UpdateGuardrailRequest) GetCallbackURL() OptString

GetCallbackURL returns the value of CallbackURL.

func (*UpdateGuardrailRequest) GetGuardrailName

func (s *UpdateGuardrailRequest) GetGuardrailName() OptString

GetGuardrailName returns the value of GuardrailName.

func (*UpdateGuardrailRequest) GetGuardrailPrompt

func (s *UpdateGuardrailRequest) GetGuardrailPrompt() OptString

GetGuardrailPrompt returns the value of GuardrailPrompt.

func (*UpdateGuardrailRequest) GetModality

func (s *UpdateGuardrailRequest) GetModality() OptString

GetModality returns the value of Modality.

func (*UpdateGuardrailRequest) GetTags

func (s *UpdateGuardrailRequest) GetTags() []string

GetTags returns the value of Tags.

func (*UpdateGuardrailRequest) MarshalJSON

func (s *UpdateGuardrailRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateGuardrailRequest) SetAppMessage

func (s *UpdateGuardrailRequest) SetAppMessage(val OptBool)

SetAppMessage sets the value of AppMessage.

func (*UpdateGuardrailRequest) SetCallbackURL

func (s *UpdateGuardrailRequest) SetCallbackURL(val OptString)

SetCallbackURL sets the value of CallbackURL.

func (*UpdateGuardrailRequest) SetGuardrailName

func (s *UpdateGuardrailRequest) SetGuardrailName(val OptString)

SetGuardrailName sets the value of GuardrailName.

func (*UpdateGuardrailRequest) SetGuardrailPrompt

func (s *UpdateGuardrailRequest) SetGuardrailPrompt(val OptString)

SetGuardrailPrompt sets the value of GuardrailPrompt.

func (*UpdateGuardrailRequest) SetModality

func (s *UpdateGuardrailRequest) SetModality(val OptString)

SetModality sets the value of Modality.

func (*UpdateGuardrailRequest) SetTags

func (s *UpdateGuardrailRequest) SetTags(val []string)

SetTags sets the value of Tags.

func (*UpdateGuardrailRequest) UnmarshalJSON

func (s *UpdateGuardrailRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateGuardrailRes

type UpdateGuardrailRes interface {
	// contains filtered or unexported methods
}

type UpdateGuardrailUnauthorized

type UpdateGuardrailUnauthorized Error

func (*UpdateGuardrailUnauthorized) Decode

Decode decodes UpdateGuardrailUnauthorized from json.

func (*UpdateGuardrailUnauthorized) Encode

func (s *UpdateGuardrailUnauthorized) Encode(e *jx.Encoder)

Encode encodes UpdateGuardrailUnauthorized as json.

func (*UpdateGuardrailUnauthorized) MarshalJSON

func (s *UpdateGuardrailUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateGuardrailUnauthorized) UnmarshalJSON

func (s *UpdateGuardrailUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateObjectivesNotFound

type UpdateObjectivesNotFound Error

func (*UpdateObjectivesNotFound) Decode

func (s *UpdateObjectivesNotFound) Decode(d *jx.Decoder) error

Decode decodes UpdateObjectivesNotFound from json.

func (*UpdateObjectivesNotFound) Encode

func (s *UpdateObjectivesNotFound) Encode(e *jx.Encoder)

Encode encodes UpdateObjectivesNotFound as json.

func (*UpdateObjectivesNotFound) MarshalJSON

func (s *UpdateObjectivesNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateObjectivesNotFound) UnmarshalJSON

func (s *UpdateObjectivesNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateObjectivesParams

type UpdateObjectivesParams struct {
	// Unique objectives identifier.
	ObjectivesID string
}

UpdateObjectivesParams is parameters of updateObjectives operation.

type UpdateObjectivesRequest

type UpdateObjectivesRequest struct {
	Objectives []ObjectiveItem `json:"objectives"`
}

Ref: #/components/schemas/UpdateObjectivesRequest

func (*UpdateObjectivesRequest) Decode

func (s *UpdateObjectivesRequest) Decode(d *jx.Decoder) error

Decode decodes UpdateObjectivesRequest from json.

func (*UpdateObjectivesRequest) Encode

func (s *UpdateObjectivesRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateObjectivesRequest) GetObjectives

func (s *UpdateObjectivesRequest) GetObjectives() []ObjectiveItem

GetObjectives returns the value of Objectives.

func (*UpdateObjectivesRequest) MarshalJSON

func (s *UpdateObjectivesRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateObjectivesRequest) SetObjectives

func (s *UpdateObjectivesRequest) SetObjectives(val []ObjectiveItem)

SetObjectives sets the value of Objectives.

func (*UpdateObjectivesRequest) UnmarshalJSON

func (s *UpdateObjectivesRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateObjectivesRequest) Validate

func (s *UpdateObjectivesRequest) Validate() error

type UpdateObjectivesRes

type UpdateObjectivesRes interface {
	// contains filtered or unexported methods
}

type UpdateObjectivesUnauthorized

type UpdateObjectivesUnauthorized Error

func (*UpdateObjectivesUnauthorized) Decode

Decode decodes UpdateObjectivesUnauthorized from json.

func (*UpdateObjectivesUnauthorized) Encode

func (s *UpdateObjectivesUnauthorized) Encode(e *jx.Encoder)

Encode encodes UpdateObjectivesUnauthorized as json.

func (*UpdateObjectivesUnauthorized) MarshalJSON

func (s *UpdateObjectivesUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateObjectivesUnauthorized) UnmarshalJSON

func (s *UpdateObjectivesUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdatePalNotFound

type UpdatePalNotFound Error

func (*UpdatePalNotFound) Decode

func (s *UpdatePalNotFound) Decode(d *jx.Decoder) error

Decode decodes UpdatePalNotFound from json.

func (*UpdatePalNotFound) Encode

func (s *UpdatePalNotFound) Encode(e *jx.Encoder)

Encode encodes UpdatePalNotFound as json.

func (*UpdatePalNotFound) MarshalJSON

func (s *UpdatePalNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdatePalNotFound) UnmarshalJSON

func (s *UpdatePalNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdatePalParams

type UpdatePalParams struct {
	// Unique PAL identifier.
	PalID string
}

UpdatePalParams is parameters of updatePal operation.

type UpdatePalRequest

type UpdatePalRequest struct {
	PalName       OptString    `json:"pal_name"`
	DefaultFaceID OptString    `json:"default_face_id"`
	SystemPrompt  OptString    `json:"system_prompt"`
	DocumentIds   []string     `json:"document_ids"`
	DocumentTags  []string     `json:"document_tags"`
	GuardrailIds  []string     `json:"guardrail_ids"`
	Layers        OptPalLayers `json:"layers"`
}

Ref: #/components/schemas/UpdatePalRequest

func (*UpdatePalRequest) Decode

func (s *UpdatePalRequest) Decode(d *jx.Decoder) error

Decode decodes UpdatePalRequest from json.

func (*UpdatePalRequest) Encode

func (s *UpdatePalRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdatePalRequest) GetDefaultFaceID

func (s *UpdatePalRequest) GetDefaultFaceID() OptString

GetDefaultFaceID returns the value of DefaultFaceID.

func (*UpdatePalRequest) GetDocumentIds

func (s *UpdatePalRequest) GetDocumentIds() []string

GetDocumentIds returns the value of DocumentIds.

func (*UpdatePalRequest) GetDocumentTags

func (s *UpdatePalRequest) GetDocumentTags() []string

GetDocumentTags returns the value of DocumentTags.

func (*UpdatePalRequest) GetGuardrailIds

func (s *UpdatePalRequest) GetGuardrailIds() []string

GetGuardrailIds returns the value of GuardrailIds.

func (*UpdatePalRequest) GetLayers

func (s *UpdatePalRequest) GetLayers() OptPalLayers

GetLayers returns the value of Layers.

func (*UpdatePalRequest) GetPalName

func (s *UpdatePalRequest) GetPalName() OptString

GetPalName returns the value of PalName.

func (*UpdatePalRequest) GetSystemPrompt

func (s *UpdatePalRequest) GetSystemPrompt() OptString

GetSystemPrompt returns the value of SystemPrompt.

func (*UpdatePalRequest) MarshalJSON

func (s *UpdatePalRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdatePalRequest) SetDefaultFaceID

func (s *UpdatePalRequest) SetDefaultFaceID(val OptString)

SetDefaultFaceID sets the value of DefaultFaceID.

func (*UpdatePalRequest) SetDocumentIds

func (s *UpdatePalRequest) SetDocumentIds(val []string)

SetDocumentIds sets the value of DocumentIds.

func (*UpdatePalRequest) SetDocumentTags

func (s *UpdatePalRequest) SetDocumentTags(val []string)

SetDocumentTags sets the value of DocumentTags.

func (*UpdatePalRequest) SetGuardrailIds

func (s *UpdatePalRequest) SetGuardrailIds(val []string)

SetGuardrailIds sets the value of GuardrailIds.

func (*UpdatePalRequest) SetLayers

func (s *UpdatePalRequest) SetLayers(val OptPalLayers)

SetLayers sets the value of Layers.

func (*UpdatePalRequest) SetPalName

func (s *UpdatePalRequest) SetPalName(val OptString)

SetPalName sets the value of PalName.

func (*UpdatePalRequest) SetSystemPrompt

func (s *UpdatePalRequest) SetSystemPrompt(val OptString)

SetSystemPrompt sets the value of SystemPrompt.

func (*UpdatePalRequest) UnmarshalJSON

func (s *UpdatePalRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdatePalRequest) Validate

func (s *UpdatePalRequest) Validate() error

type UpdatePalRes

type UpdatePalRes interface {
	// contains filtered or unexported methods
}

type UpdatePalUnauthorized

type UpdatePalUnauthorized Error

func (*UpdatePalUnauthorized) Decode

func (s *UpdatePalUnauthorized) Decode(d *jx.Decoder) error

Decode decodes UpdatePalUnauthorized from json.

func (*UpdatePalUnauthorized) Encode

func (s *UpdatePalUnauthorized) Encode(e *jx.Encoder)

Encode encodes UpdatePalUnauthorized as json.

func (*UpdatePalUnauthorized) MarshalJSON

func (s *UpdatePalUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdatePalUnauthorized) UnmarshalJSON

func (s *UpdatePalUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateToolNotFound

type UpdateToolNotFound Error

func (*UpdateToolNotFound) Decode

func (s *UpdateToolNotFound) Decode(d *jx.Decoder) error

Decode decodes UpdateToolNotFound from json.

func (*UpdateToolNotFound) Encode

func (s *UpdateToolNotFound) Encode(e *jx.Encoder)

Encode encodes UpdateToolNotFound as json.

func (*UpdateToolNotFound) MarshalJSON

func (s *UpdateToolNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateToolNotFound) UnmarshalJSON

func (s *UpdateToolNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateToolParams

type UpdateToolParams struct {
	// Unique tool identifier.
	ToolID string
}

UpdateToolParams is parameters of updateTool operation.

type UpdateToolRequest

type UpdateToolRequest struct {
	Name        OptString                      `json:"name"`
	Description OptString                      `json:"description"`
	Parameters  OptUpdateToolRequestParameters `json:"parameters"`
	Delivery    *UpdateToolRequestDelivery     `json:"delivery"`
	TriggerType OptString                      `json:"trigger_type"`
	OnCall      OptString                      `json:"on_call"`
	OnResolve   OptString                      `json:"on_resolve"`
	Tags        []string                       `json:"tags"`
}

Ref: #/components/schemas/UpdateToolRequest

func (*UpdateToolRequest) Decode

func (s *UpdateToolRequest) Decode(d *jx.Decoder) error

Decode decodes UpdateToolRequest from json.

func (*UpdateToolRequest) Encode

func (s *UpdateToolRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateToolRequest) GetDelivery

func (s *UpdateToolRequest) GetDelivery() *UpdateToolRequestDelivery

GetDelivery returns the value of Delivery.

func (*UpdateToolRequest) GetDescription

func (s *UpdateToolRequest) GetDescription() OptString

GetDescription returns the value of Description.

func (*UpdateToolRequest) GetName

func (s *UpdateToolRequest) GetName() OptString

GetName returns the value of Name.

func (*UpdateToolRequest) GetOnCall

func (s *UpdateToolRequest) GetOnCall() OptString

GetOnCall returns the value of OnCall.

func (*UpdateToolRequest) GetOnResolve

func (s *UpdateToolRequest) GetOnResolve() OptString

GetOnResolve returns the value of OnResolve.

func (*UpdateToolRequest) GetParameters

GetParameters returns the value of Parameters.

func (*UpdateToolRequest) GetTags

func (s *UpdateToolRequest) GetTags() []string

GetTags returns the value of Tags.

func (*UpdateToolRequest) GetTriggerType

func (s *UpdateToolRequest) GetTriggerType() OptString

GetTriggerType returns the value of TriggerType.

func (*UpdateToolRequest) MarshalJSON

func (s *UpdateToolRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateToolRequest) SetDelivery

func (s *UpdateToolRequest) SetDelivery(val *UpdateToolRequestDelivery)

SetDelivery sets the value of Delivery.

func (*UpdateToolRequest) SetDescription

func (s *UpdateToolRequest) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*UpdateToolRequest) SetName

func (s *UpdateToolRequest) SetName(val OptString)

SetName sets the value of Name.

func (*UpdateToolRequest) SetOnCall

func (s *UpdateToolRequest) SetOnCall(val OptString)

SetOnCall sets the value of OnCall.

func (*UpdateToolRequest) SetOnResolve

func (s *UpdateToolRequest) SetOnResolve(val OptString)

SetOnResolve sets the value of OnResolve.

func (*UpdateToolRequest) SetParameters

func (s *UpdateToolRequest) SetParameters(val OptUpdateToolRequestParameters)

SetParameters sets the value of Parameters.

func (*UpdateToolRequest) SetTags

func (s *UpdateToolRequest) SetTags(val []string)

SetTags sets the value of Tags.

func (*UpdateToolRequest) SetTriggerType

func (s *UpdateToolRequest) SetTriggerType(val OptString)

SetTriggerType sets the value of TriggerType.

func (*UpdateToolRequest) UnmarshalJSON

func (s *UpdateToolRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateToolRequestDelivery

type UpdateToolRequestDelivery struct{}

func (*UpdateToolRequestDelivery) Decode

func (s *UpdateToolRequestDelivery) Decode(d *jx.Decoder) error

Decode decodes UpdateToolRequestDelivery from json.

func (*UpdateToolRequestDelivery) Encode

func (s *UpdateToolRequestDelivery) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateToolRequestDelivery) MarshalJSON

func (s *UpdateToolRequestDelivery) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateToolRequestDelivery) UnmarshalJSON

func (s *UpdateToolRequestDelivery) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateToolRequestParameters

type UpdateToolRequestParameters map[string]jx.Raw

func (*UpdateToolRequestParameters) Decode

Decode decodes UpdateToolRequestParameters from json.

func (UpdateToolRequestParameters) Encode

func (s UpdateToolRequestParameters) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (UpdateToolRequestParameters) MarshalJSON

func (s UpdateToolRequestParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateToolRequestParameters) UnmarshalJSON

func (s *UpdateToolRequestParameters) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateToolRes

type UpdateToolRes interface {
	// contains filtered or unexported methods
}

type UpdateToolUnauthorized

type UpdateToolUnauthorized Error

func (*UpdateToolUnauthorized) Decode

func (s *UpdateToolUnauthorized) Decode(d *jx.Decoder) error

Decode decodes UpdateToolUnauthorized from json.

func (*UpdateToolUnauthorized) Encode

func (s *UpdateToolUnauthorized) Encode(e *jx.Encoder)

Encode encodes UpdateToolUnauthorized as json.

func (*UpdateToolUnauthorized) MarshalJSON

func (s *UpdateToolUnauthorized) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateToolUnauthorized) UnmarshalJSON

func (s *UpdateToolUnauthorized) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Video

type Video struct {
	VideoID     OptString      `json:"video_id"`
	VideoName   OptString      `json:"video_name"`
	Status      OptVideoStatus `json:"status"`
	DownloadURL OptURI         `json:"download_url"`
	StreamURL   OptURI         `json:"stream_url"`
	HostedURL   OptURI         `json:"hosted_url"`
	CreatedAt   OptTimestamp   `json:"created_at"`
	UpdatedAt   OptTimestamp   `json:"updated_at"`
}

Ref: #/components/schemas/Video

func (*Video) Decode

func (s *Video) Decode(d *jx.Decoder) error

Decode decodes Video from json.

func (*Video) Encode

func (s *Video) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Video) GetCreatedAt

func (s *Video) GetCreatedAt() OptTimestamp

GetCreatedAt returns the value of CreatedAt.

func (*Video) GetDownloadURL

func (s *Video) GetDownloadURL() OptURI

GetDownloadURL returns the value of DownloadURL.

func (*Video) GetHostedURL

func (s *Video) GetHostedURL() OptURI

GetHostedURL returns the value of HostedURL.

func (*Video) GetStatus

func (s *Video) GetStatus() OptVideoStatus

GetStatus returns the value of Status.

func (*Video) GetStreamURL

func (s *Video) GetStreamURL() OptURI

GetStreamURL returns the value of StreamURL.

func (*Video) GetUpdatedAt

func (s *Video) GetUpdatedAt() OptTimestamp

GetUpdatedAt returns the value of UpdatedAt.

func (*Video) GetVideoID

func (s *Video) GetVideoID() OptString

GetVideoID returns the value of VideoID.

func (*Video) GetVideoName

func (s *Video) GetVideoName() OptString

GetVideoName returns the value of VideoName.

func (*Video) MarshalJSON

func (s *Video) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Video) SetCreatedAt

func (s *Video) SetCreatedAt(val OptTimestamp)

SetCreatedAt sets the value of CreatedAt.

func (*Video) SetDownloadURL

func (s *Video) SetDownloadURL(val OptURI)

SetDownloadURL sets the value of DownloadURL.

func (*Video) SetHostedURL

func (s *Video) SetHostedURL(val OptURI)

SetHostedURL sets the value of HostedURL.

func (*Video) SetStatus

func (s *Video) SetStatus(val OptVideoStatus)

SetStatus sets the value of Status.

func (*Video) SetStreamURL

func (s *Video) SetStreamURL(val OptURI)

SetStreamURL sets the value of StreamURL.

func (*Video) SetUpdatedAt

func (s *Video) SetUpdatedAt(val OptTimestamp)

SetUpdatedAt sets the value of UpdatedAt.

func (*Video) SetVideoID

func (s *Video) SetVideoID(val OptString)

SetVideoID sets the value of VideoID.

func (*Video) SetVideoName

func (s *Video) SetVideoName(val OptString)

SetVideoName sets the value of VideoName.

func (*Video) UnmarshalJSON

func (s *Video) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Video) Validate

func (s *Video) Validate() error

type VideoStatus

type VideoStatus string
const (
	VideoStatusQueued     VideoStatus = "queued"
	VideoStatusGenerating VideoStatus = "generating"
	VideoStatusReady      VideoStatus = "ready"
	VideoStatusDeleted    VideoStatus = "deleted"
	VideoStatusError      VideoStatus = "error"
)

func (VideoStatus) AllValues

func (VideoStatus) AllValues() []VideoStatus

AllValues returns all VideoStatus values.

func (*VideoStatus) Decode

func (s *VideoStatus) Decode(d *jx.Decoder) error

Decode decodes VideoStatus from json.

func (VideoStatus) Encode

func (s VideoStatus) Encode(e *jx.Encoder)

Encode encodes VideoStatus as json.

func (VideoStatus) MarshalJSON

func (s VideoStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (VideoStatus) MarshalText

func (s VideoStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*VideoStatus) UnmarshalJSON

func (s *VideoStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VideoStatus) UnmarshalText

func (s *VideoStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (VideoStatus) Validate

func (s VideoStatus) Validate() error

type Voice

type Voice struct {
	// Voice slug identifier.
	VoiceName OptString       `json:"voice_name"`
	FaceID    OptString       `json:"face_id"`
	AudioURL  OptURI          `json:"audio_url"`
	Tags      []VoiceTagsItem `json:"tags"`
}

Ref: #/components/schemas/Voice

func (*Voice) Decode

func (s *Voice) Decode(d *jx.Decoder) error

Decode decodes Voice from json.

func (*Voice) Encode

func (s *Voice) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Voice) GetAudioURL

func (s *Voice) GetAudioURL() OptURI

GetAudioURL returns the value of AudioURL.

func (*Voice) GetFaceID

func (s *Voice) GetFaceID() OptString

GetFaceID returns the value of FaceID.

func (*Voice) GetTags

func (s *Voice) GetTags() []VoiceTagsItem

GetTags returns the value of Tags.

func (*Voice) GetVoiceName

func (s *Voice) GetVoiceName() OptString

GetVoiceName returns the value of VoiceName.

func (*Voice) MarshalJSON

func (s *Voice) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Voice) SetAudioURL

func (s *Voice) SetAudioURL(val OptURI)

SetAudioURL sets the value of AudioURL.

func (*Voice) SetFaceID

func (s *Voice) SetFaceID(val OptString)

SetFaceID sets the value of FaceID.

func (*Voice) SetTags

func (s *Voice) SetTags(val []VoiceTagsItem)

SetTags sets the value of Tags.

func (*Voice) SetVoiceName

func (s *Voice) SetVoiceName(val OptString)

SetVoiceName sets the value of VoiceName.

func (*Voice) UnmarshalJSON

func (s *Voice) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type VoiceTagsItem

type VoiceTagsItem struct {
	TagName OptString `json:"tag_name"`
}

func (*VoiceTagsItem) Decode

func (s *VoiceTagsItem) Decode(d *jx.Decoder) error

Decode decodes VoiceTagsItem from json.

func (*VoiceTagsItem) Encode

func (s *VoiceTagsItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VoiceTagsItem) GetTagName

func (s *VoiceTagsItem) GetTagName() OptString

GetTagName returns the value of TagName.

func (*VoiceTagsItem) MarshalJSON

func (s *VoiceTagsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoiceTagsItem) SetTagName

func (s *VoiceTagsItem) SetTagName(val OptString)

SetTagName sets the value of TagName.

func (*VoiceTagsItem) UnmarshalJSON

func (s *VoiceTagsItem) 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