Documentation
¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- func GetRolesForApiKeyAuth(operation string) []string
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type ApiKeyAuth
- type AttachToolToPalNotFound
- type AttachToolToPalOK
- type AttachToolToPalParams
- type AttachToolToPalReq
- func (s *AttachToolToPalReq) Decode(d *jx.Decoder) error
- func (s *AttachToolToPalReq) Encode(e *jx.Encoder)
- func (s *AttachToolToPalReq) GetToolID() string
- func (s *AttachToolToPalReq) MarshalJSON() ([]byte, error)
- func (s *AttachToolToPalReq) SetToolID(val string)
- func (s *AttachToolToPalReq) UnmarshalJSON(data []byte) error
- type AttachToolToPalRes
- type AttachToolToPalUnauthorized
- type Client
- func (c *Client) AttachToolToPal(ctx context.Context, request *AttachToolToPalReq, params AttachToolToPalParams) (AttachToolToPalRes, error)
- func (c *Client) CreateConversation(ctx context.Context, request *CreateConversationRequest) (CreateConversationRes, error)
- func (c *Client) CreateDeployment(ctx context.Context, request *CreateDeploymentRequest) (CreateDeploymentRes, error)
- func (c *Client) CreateDocument(ctx context.Context, request *CreateDocumentRequest) (CreateDocumentRes, error)
- func (c *Client) CreateFace(ctx context.Context, request *CreateFaceRequest) (CreateFaceRes, error)
- func (c *Client) CreateGuardrail(ctx context.Context, request *CreateGuardrailRequest) (CreateGuardrailRes, error)
- func (c *Client) CreateObjectives(ctx context.Context, request *CreateObjectivesRequest) (CreateObjectivesRes, error)
- func (c *Client) CreatePal(ctx context.Context, request *CreatePalRequest) (CreatePalRes, error)
- func (c *Client) CreateTool(ctx context.Context, request *CreateToolRequest) (CreateToolRes, error)
- func (c *Client) CreateVideo(ctx context.Context, request *CreateVideoRequest) (CreateVideoRes, error)
- func (c *Client) DeleteConversation(ctx context.Context, params DeleteConversationParams) (DeleteConversationRes, error)
- func (c *Client) DeleteDeployment(ctx context.Context, params DeleteDeploymentParams) (DeleteDeploymentRes, error)
- func (c *Client) DeleteDocument(ctx context.Context, params DeleteDocumentParams) (DeleteDocumentRes, error)
- func (c *Client) DeleteFace(ctx context.Context, params DeleteFaceParams) (DeleteFaceRes, error)
- func (c *Client) DeleteGuardrail(ctx context.Context, params DeleteGuardrailParams) (DeleteGuardrailRes, error)
- func (c *Client) DeleteObjectives(ctx context.Context, params DeleteObjectivesParams) (DeleteObjectivesRes, error)
- func (c *Client) DeletePal(ctx context.Context, params DeletePalParams) (DeletePalRes, error)
- func (c *Client) DeleteTool(ctx context.Context, params DeleteToolParams) (DeleteToolRes, error)
- func (c *Client) DeleteVideo(ctx context.Context, params DeleteVideoParams) (DeleteVideoRes, error)
- func (c *Client) EndConversation(ctx context.Context, params EndConversationParams) (EndConversationRes, error)
- func (c *Client) GetConversation(ctx context.Context, params GetConversationParams) (GetConversationRes, error)
- func (c *Client) GetDeployment(ctx context.Context, params GetDeploymentParams) (GetDeploymentRes, error)
- func (c *Client) GetDocument(ctx context.Context, params GetDocumentParams) (GetDocumentRes, error)
- func (c *Client) GetFace(ctx context.Context, params GetFaceParams) (GetFaceRes, error)
- func (c *Client) GetGuardrail(ctx context.Context, params GetGuardrailParams) (GetGuardrailRes, error)
- func (c *Client) GetObjectives(ctx context.Context, params GetObjectivesParams) (GetObjectivesRes, error)
- func (c *Client) GetPal(ctx context.Context, params GetPalParams) (GetPalRes, error)
- func (c *Client) GetTool(ctx context.Context, params GetToolParams) (GetToolRes, error)
- func (c *Client) GetVideo(ctx context.Context, params GetVideoParams) (GetVideoRes, error)
- func (c *Client) ListConversations(ctx context.Context, params ListConversationsParams) (ListConversationsRes, error)
- func (c *Client) ListDeployments(ctx context.Context, params ListDeploymentsParams) (ListDeploymentsRes, error)
- func (c *Client) ListDocuments(ctx context.Context, params ListDocumentsParams) (ListDocumentsRes, error)
- func (c *Client) ListFaces(ctx context.Context, params ListFacesParams) (ListFacesRes, error)
- func (c *Client) ListGuardrails(ctx context.Context, params ListGuardrailsParams) (ListGuardrailsRes, error)
- func (c *Client) ListObjectives(ctx context.Context, params ListObjectivesParams) (ListObjectivesRes, error)
- func (c *Client) ListPals(ctx context.Context, params ListPalsParams) (ListPalsRes, error)
- func (c *Client) ListTools(ctx context.Context, params ListToolsParams) (ListToolsRes, error)
- func (c *Client) ListVideos(ctx context.Context, params ListVideosParams) (ListVideosRes, error)
- func (c *Client) ListVoices(ctx context.Context, params ListVoicesParams) (ListVoicesRes, error)
- func (c *Client) RenameFace(ctx context.Context, request *RenameFaceReq, params RenameFaceParams) (RenameFaceRes, error)
- func (c *Client) RenameVideo(ctx context.Context, request *RenameVideoReq, params RenameVideoParams) (RenameVideoRes, error)
- func (c *Client) UpdateDeployment(ctx context.Context, request *UpdateDeploymentRequest, ...) (UpdateDeploymentRes, error)
- func (c *Client) UpdateDocument(ctx context.Context, request *UpdateDocumentRequest, ...) (UpdateDocumentRes, error)
- func (c *Client) UpdateGuardrail(ctx context.Context, request *UpdateGuardrailRequest, ...) (UpdateGuardrailRes, error)
- func (c *Client) UpdateObjectives(ctx context.Context, request *UpdateObjectivesRequest, ...) (UpdateObjectivesRes, error)
- func (c *Client) UpdatePal(ctx context.Context, request *UpdatePalRequest, params UpdatePalParams) (UpdatePalRes, error)
- func (c *Client) UpdateTool(ctx context.Context, request *UpdateToolRequest, params UpdateToolParams) (UpdateToolRes, error)
- type ClientOption
- type Conversation
- func (s *Conversation) Decode(d *jx.Decoder) error
- func (s *Conversation) Encode(e *jx.Encoder)
- func (s *Conversation) GetConversationID() OptString
- func (s *Conversation) GetConversationName() OptString
- func (s *Conversation) GetConversationURL() OptURI
- func (s *Conversation) GetCreatedAt() OptTimestamp
- func (s *Conversation) GetEndedAt() OptTimestamp
- func (s *Conversation) GetFaceID() OptString
- func (s *Conversation) GetPalID() OptString
- func (s *Conversation) GetStatus() OptConversationStatus
- func (s *Conversation) MarshalJSON() ([]byte, error)
- func (s *Conversation) SetConversationID(val OptString)
- func (s *Conversation) SetConversationName(val OptString)
- func (s *Conversation) SetConversationURL(val OptURI)
- func (s *Conversation) SetCreatedAt(val OptTimestamp)
- func (s *Conversation) SetEndedAt(val OptTimestamp)
- func (s *Conversation) SetFaceID(val OptString)
- func (s *Conversation) SetPalID(val OptString)
- func (s *Conversation) SetStatus(val OptConversationStatus)
- func (s *Conversation) UnmarshalJSON(data []byte) error
- func (s *Conversation) Validate() error
- type ConversationProperties
- func (s *ConversationProperties) Decode(d *jx.Decoder) error
- func (s *ConversationProperties) Encode(e *jx.Encoder)
- func (s *ConversationProperties) GetApplyGreenscreen() OptBool
- func (s *ConversationProperties) GetEnableClosedCaptions() OptBool
- func (s *ConversationProperties) GetEnableRecording() OptBool
- func (s *ConversationProperties) GetLanguage() OptString
- func (s *ConversationProperties) GetLivekitRoomToken() OptString
- func (s *ConversationProperties) GetLivekitWsURL() OptString
- func (s *ConversationProperties) GetMaxCallDuration() OptInt
- func (s *ConversationProperties) MarshalJSON() ([]byte, error)
- func (s *ConversationProperties) SetApplyGreenscreen(val OptBool)
- func (s *ConversationProperties) SetEnableClosedCaptions(val OptBool)
- func (s *ConversationProperties) SetEnableRecording(val OptBool)
- func (s *ConversationProperties) SetLanguage(val OptString)
- func (s *ConversationProperties) SetLivekitRoomToken(val OptString)
- func (s *ConversationProperties) SetLivekitWsURL(val OptString)
- func (s *ConversationProperties) SetMaxCallDuration(val OptInt)
- func (s *ConversationProperties) UnmarshalJSON(data []byte) error
- type ConversationStatus
- func (ConversationStatus) AllValues() []ConversationStatus
- func (s *ConversationStatus) Decode(d *jx.Decoder) error
- func (s ConversationStatus) Encode(e *jx.Encoder)
- func (s ConversationStatus) MarshalJSON() ([]byte, error)
- func (s ConversationStatus) MarshalText() ([]byte, error)
- func (s *ConversationStatus) UnmarshalJSON(data []byte) error
- func (s *ConversationStatus) UnmarshalText(data []byte) error
- func (s ConversationStatus) Validate() error
- type ConversationalFlowLayer
- func (s *ConversationalFlowLayer) Decode(d *jx.Decoder) error
- func (s *ConversationalFlowLayer) Encode(e *jx.Encoder)
- func (s *ConversationalFlowLayer) GetInterruptibility() OptString
- func (s *ConversationalFlowLayer) GetTurnTakingEnabled() OptBool
- func (s *ConversationalFlowLayer) GetWakePhrases() []string
- func (s *ConversationalFlowLayer) MarshalJSON() ([]byte, error)
- func (s *ConversationalFlowLayer) SetInterruptibility(val OptString)
- func (s *ConversationalFlowLayer) SetTurnTakingEnabled(val OptBool)
- func (s *ConversationalFlowLayer) SetWakePhrases(val []string)
- func (s *ConversationalFlowLayer) UnmarshalJSON(data []byte) error
- type CreateConversationBadRequest
- type CreateConversationRequest
- func (s *CreateConversationRequest) Decode(d *jx.Decoder) error
- func (s *CreateConversationRequest) Encode(e *jx.Encoder)
- func (s *CreateConversationRequest) GetAudioOnly() OptBool
- func (s *CreateConversationRequest) GetCallbackURL() OptURI
- func (s *CreateConversationRequest) GetConversationName() OptString
- func (s *CreateConversationRequest) GetConversationalContext() OptString
- func (s *CreateConversationRequest) GetCustomGreeting() OptString
- func (s *CreateConversationRequest) GetDocumentIds() []string
- func (s *CreateConversationRequest) GetDocumentTags() []string
- func (s *CreateConversationRequest) GetExtraPayload() OptCreateConversationRequestExtraPayload
- func (s *CreateConversationRequest) GetFaceID() string
- func (s *CreateConversationRequest) GetMeetingURL() OptString
- func (s *CreateConversationRequest) GetMemoryStores() []string
- func (s *CreateConversationRequest) GetPalID() string
- func (s *CreateConversationRequest) GetProperties() OptConversationProperties
- func (s *CreateConversationRequest) GetRequireAuth() OptBool
- func (s *CreateConversationRequest) MarshalJSON() ([]byte, error)
- func (s *CreateConversationRequest) SetAudioOnly(val OptBool)
- func (s *CreateConversationRequest) SetCallbackURL(val OptURI)
- func (s *CreateConversationRequest) SetConversationName(val OptString)
- func (s *CreateConversationRequest) SetConversationalContext(val OptString)
- func (s *CreateConversationRequest) SetCustomGreeting(val OptString)
- func (s *CreateConversationRequest) SetDocumentIds(val []string)
- func (s *CreateConversationRequest) SetDocumentTags(val []string)
- func (s *CreateConversationRequest) SetExtraPayload(val OptCreateConversationRequestExtraPayload)
- func (s *CreateConversationRequest) SetFaceID(val string)
- func (s *CreateConversationRequest) SetMeetingURL(val OptString)
- func (s *CreateConversationRequest) SetMemoryStores(val []string)
- func (s *CreateConversationRequest) SetPalID(val string)
- func (s *CreateConversationRequest) SetProperties(val OptConversationProperties)
- func (s *CreateConversationRequest) SetRequireAuth(val OptBool)
- func (s *CreateConversationRequest) UnmarshalJSON(data []byte) error
- type CreateConversationRequestExtraPayload
- func (s *CreateConversationRequestExtraPayload) Decode(d *jx.Decoder) error
- func (s CreateConversationRequestExtraPayload) Encode(e *jx.Encoder)
- func (s CreateConversationRequestExtraPayload) MarshalJSON() ([]byte, error)
- func (s *CreateConversationRequestExtraPayload) UnmarshalJSON(data []byte) error
- type CreateConversationRes
- type CreateConversationResponse
- func (s *CreateConversationResponse) Decode(d *jx.Decoder) error
- func (s *CreateConversationResponse) Encode(e *jx.Encoder)
- func (s *CreateConversationResponse) GetConversationID() OptString
- func (s *CreateConversationResponse) GetConversationURL() OptURI
- func (s *CreateConversationResponse) GetMeetingToken() OptString
- func (s *CreateConversationResponse) GetStatus() OptCreateConversationResponseStatus
- func (s *CreateConversationResponse) MarshalJSON() ([]byte, error)
- func (s *CreateConversationResponse) SetConversationID(val OptString)
- func (s *CreateConversationResponse) SetConversationURL(val OptURI)
- func (s *CreateConversationResponse) SetMeetingToken(val OptString)
- func (s *CreateConversationResponse) SetStatus(val OptCreateConversationResponseStatus)
- func (s *CreateConversationResponse) UnmarshalJSON(data []byte) error
- func (s *CreateConversationResponse) Validate() error
- type CreateConversationResponseStatus
- func (CreateConversationResponseStatus) AllValues() []CreateConversationResponseStatus
- func (s *CreateConversationResponseStatus) Decode(d *jx.Decoder) error
- func (s CreateConversationResponseStatus) Encode(e *jx.Encoder)
- func (s CreateConversationResponseStatus) MarshalJSON() ([]byte, error)
- func (s CreateConversationResponseStatus) MarshalText() ([]byte, error)
- func (s *CreateConversationResponseStatus) UnmarshalJSON(data []byte) error
- func (s *CreateConversationResponseStatus) UnmarshalText(data []byte) error
- func (s CreateConversationResponseStatus) Validate() error
- type CreateConversationTooManyRequests
- type CreateConversationUnauthorized
- type CreateDeploymentBadRequest
- type CreateDeploymentRequest
- func (s *CreateDeploymentRequest) Decode(d *jx.Decoder) error
- func (s *CreateDeploymentRequest) Encode(e *jx.Encoder)
- func (s *CreateDeploymentRequest) GetAllowedOrigins() []string
- func (s *CreateDeploymentRequest) GetChannel() CreateDeploymentRequestChannel
- func (s *CreateDeploymentRequest) GetCustomization() OptCreateDeploymentRequestCustomization
- func (s *CreateDeploymentRequest) GetLimits() OptCreateDeploymentRequestLimits
- func (s *CreateDeploymentRequest) GetName() OptString
- func (s *CreateDeploymentRequest) GetPalID() string
- func (s *CreateDeploymentRequest) GetPassword() OptString
- func (s *CreateDeploymentRequest) MarshalJSON() ([]byte, error)
- func (s *CreateDeploymentRequest) SetAllowedOrigins(val []string)
- func (s *CreateDeploymentRequest) SetChannel(val CreateDeploymentRequestChannel)
- func (s *CreateDeploymentRequest) SetCustomization(val OptCreateDeploymentRequestCustomization)
- func (s *CreateDeploymentRequest) SetLimits(val OptCreateDeploymentRequestLimits)
- func (s *CreateDeploymentRequest) SetName(val OptString)
- func (s *CreateDeploymentRequest) SetPalID(val string)
- func (s *CreateDeploymentRequest) SetPassword(val OptString)
- func (s *CreateDeploymentRequest) UnmarshalJSON(data []byte) error
- func (s *CreateDeploymentRequest) Validate() error
- type CreateDeploymentRequestChannel
- func (CreateDeploymentRequestChannel) AllValues() []CreateDeploymentRequestChannel
- func (s *CreateDeploymentRequestChannel) Decode(d *jx.Decoder) error
- func (s CreateDeploymentRequestChannel) Encode(e *jx.Encoder)
- func (s CreateDeploymentRequestChannel) MarshalJSON() ([]byte, error)
- func (s CreateDeploymentRequestChannel) MarshalText() ([]byte, error)
- func (s *CreateDeploymentRequestChannel) UnmarshalJSON(data []byte) error
- func (s *CreateDeploymentRequestChannel) UnmarshalText(data []byte) error
- func (s CreateDeploymentRequestChannel) Validate() error
- type CreateDeploymentRequestCustomization
- type CreateDeploymentRequestLimits
- func (s *CreateDeploymentRequestLimits) Decode(d *jx.Decoder) error
- func (s *CreateDeploymentRequestLimits) Encode(e *jx.Encoder)
- func (s *CreateDeploymentRequestLimits) GetMaxCalls() OptInt
- func (s *CreateDeploymentRequestLimits) GetMaxDuration() OptInt
- func (s *CreateDeploymentRequestLimits) MarshalJSON() ([]byte, error)
- func (s *CreateDeploymentRequestLimits) SetMaxCalls(val OptInt)
- func (s *CreateDeploymentRequestLimits) SetMaxDuration(val OptInt)
- func (s *CreateDeploymentRequestLimits) UnmarshalJSON(data []byte) error
- type CreateDeploymentRes
- type CreateDeploymentUnauthorized
- type CreateDocumentBadRequest
- type CreateDocumentRequest
- func (s *CreateDocumentRequest) Decode(d *jx.Decoder) error
- func (s *CreateDocumentRequest) Encode(e *jx.Encoder)
- func (s *CreateDocumentRequest) GetCallbackURL() OptURI
- func (s *CreateDocumentRequest) GetCrawl() OptCreateDocumentRequestCrawl
- func (s *CreateDocumentRequest) GetDocumentName() OptString
- func (s *CreateDocumentRequest) GetDocumentURL() url.URL
- func (s *CreateDocumentRequest) GetTags() []string
- func (s *CreateDocumentRequest) MarshalJSON() ([]byte, error)
- func (s *CreateDocumentRequest) SetCallbackURL(val OptURI)
- func (s *CreateDocumentRequest) SetCrawl(val OptCreateDocumentRequestCrawl)
- func (s *CreateDocumentRequest) SetDocumentName(val OptString)
- func (s *CreateDocumentRequest) SetDocumentURL(val url.URL)
- func (s *CreateDocumentRequest) SetTags(val []string)
- func (s *CreateDocumentRequest) UnmarshalJSON(data []byte) error
- func (s *CreateDocumentRequest) Validate() error
- type CreateDocumentRequestCrawl
- func (s *CreateDocumentRequestCrawl) Decode(d *jx.Decoder) error
- func (s *CreateDocumentRequestCrawl) Encode(e *jx.Encoder)
- func (s *CreateDocumentRequestCrawl) GetDepth() OptInt
- func (s *CreateDocumentRequestCrawl) GetMaxPages() OptInt
- func (s *CreateDocumentRequestCrawl) MarshalJSON() ([]byte, error)
- func (s *CreateDocumentRequestCrawl) SetDepth(val OptInt)
- func (s *CreateDocumentRequestCrawl) SetMaxPages(val OptInt)
- func (s *CreateDocumentRequestCrawl) UnmarshalJSON(data []byte) error
- func (s *CreateDocumentRequestCrawl) Validate() error
- type CreateDocumentRes
- type CreateDocumentResponse
- func (s *CreateDocumentResponse) Decode(d *jx.Decoder) error
- func (s *CreateDocumentResponse) Encode(e *jx.Encoder)
- func (s *CreateDocumentResponse) GetCreatedAt() OptTimestamp
- func (s *CreateDocumentResponse) GetDocumentID() OptString
- func (s *CreateDocumentResponse) GetStatus() OptCreateDocumentResponseStatus
- func (s *CreateDocumentResponse) MarshalJSON() ([]byte, error)
- func (s *CreateDocumentResponse) SetCreatedAt(val OptTimestamp)
- func (s *CreateDocumentResponse) SetDocumentID(val OptString)
- func (s *CreateDocumentResponse) SetStatus(val OptCreateDocumentResponseStatus)
- func (s *CreateDocumentResponse) UnmarshalJSON(data []byte) error
- func (s *CreateDocumentResponse) Validate() error
- type CreateDocumentResponseStatus
- func (CreateDocumentResponseStatus) AllValues() []CreateDocumentResponseStatus
- func (s *CreateDocumentResponseStatus) Decode(d *jx.Decoder) error
- func (s CreateDocumentResponseStatus) Encode(e *jx.Encoder)
- func (s CreateDocumentResponseStatus) MarshalJSON() ([]byte, error)
- func (s CreateDocumentResponseStatus) MarshalText() ([]byte, error)
- func (s *CreateDocumentResponseStatus) UnmarshalJSON(data []byte) error
- func (s *CreateDocumentResponseStatus) UnmarshalText(data []byte) error
- func (s CreateDocumentResponseStatus) Validate() error
- type CreateDocumentUnauthorized
- type CreateFaceBadRequest
- type CreateFaceRequest
- func (s *CreateFaceRequest) Decode(d *jx.Decoder) error
- func (s *CreateFaceRequest) Encode(e *jx.Encoder)
- func (s *CreateFaceRequest) GetAutoFixTrainingImage() OptBool
- func (s *CreateFaceRequest) GetCallbackURL() OptURI
- func (s *CreateFaceRequest) GetFaceName() OptString
- func (s *CreateFaceRequest) GetModelName() OptString
- func (s *CreateFaceRequest) GetProperties() OptCreateFaceRequestProperties
- func (s *CreateFaceRequest) GetTrainImageURL() OptURI
- func (s *CreateFaceRequest) GetTrainVideoURL() OptURI
- func (s *CreateFaceRequest) GetVoiceName() OptString
- func (s *CreateFaceRequest) MarshalJSON() ([]byte, error)
- func (s *CreateFaceRequest) SetAutoFixTrainingImage(val OptBool)
- func (s *CreateFaceRequest) SetCallbackURL(val OptURI)
- func (s *CreateFaceRequest) SetFaceName(val OptString)
- func (s *CreateFaceRequest) SetModelName(val OptString)
- func (s *CreateFaceRequest) SetProperties(val OptCreateFaceRequestProperties)
- func (s *CreateFaceRequest) SetTrainImageURL(val OptURI)
- func (s *CreateFaceRequest) SetTrainVideoURL(val OptURI)
- func (s *CreateFaceRequest) SetVoiceName(val OptString)
- func (s *CreateFaceRequest) UnmarshalJSON(data []byte) error
- type CreateFaceRequestProperties
- func (s *CreateFaceRequestProperties) Decode(d *jx.Decoder) error
- func (s *CreateFaceRequestProperties) Encode(e *jx.Encoder)
- func (s *CreateFaceRequestProperties) GetBackgroundGreenScreen() OptBool
- func (s *CreateFaceRequestProperties) MarshalJSON() ([]byte, error)
- func (s *CreateFaceRequestProperties) SetBackgroundGreenScreen(val OptBool)
- func (s *CreateFaceRequestProperties) UnmarshalJSON(data []byte) error
- type CreateFaceRes
- type CreateFaceResponse
- func (s *CreateFaceResponse) Decode(d *jx.Decoder) error
- func (s *CreateFaceResponse) Encode(e *jx.Encoder)
- func (s *CreateFaceResponse) GetFaceID() OptString
- func (s *CreateFaceResponse) GetStatus() OptCreateFaceResponseStatus
- func (s *CreateFaceResponse) MarshalJSON() ([]byte, error)
- func (s *CreateFaceResponse) SetFaceID(val OptString)
- func (s *CreateFaceResponse) SetStatus(val OptCreateFaceResponseStatus)
- func (s *CreateFaceResponse) UnmarshalJSON(data []byte) error
- func (s *CreateFaceResponse) Validate() error
- type CreateFaceResponseStatus
- func (CreateFaceResponseStatus) AllValues() []CreateFaceResponseStatus
- func (s *CreateFaceResponseStatus) Decode(d *jx.Decoder) error
- func (s CreateFaceResponseStatus) Encode(e *jx.Encoder)
- func (s CreateFaceResponseStatus) MarshalJSON() ([]byte, error)
- func (s CreateFaceResponseStatus) MarshalText() ([]byte, error)
- func (s *CreateFaceResponseStatus) UnmarshalJSON(data []byte) error
- func (s *CreateFaceResponseStatus) UnmarshalText(data []byte) error
- func (s CreateFaceResponseStatus) Validate() error
- type CreateFaceUnauthorized
- type CreateGuardrailBadRequest
- type CreateGuardrailRequest
- func (s *CreateGuardrailRequest) Decode(d *jx.Decoder) error
- func (s *CreateGuardrailRequest) Encode(e *jx.Encoder)
- func (s *CreateGuardrailRequest) GetAppMessage() OptBool
- func (s *CreateGuardrailRequest) GetCallbackURL() OptURI
- func (s *CreateGuardrailRequest) GetGuardrailName() string
- func (s *CreateGuardrailRequest) GetGuardrailPrompt() string
- func (s *CreateGuardrailRequest) GetModality() OptCreateGuardrailRequestModality
- func (s *CreateGuardrailRequest) GetTags() []string
- func (s *CreateGuardrailRequest) MarshalJSON() ([]byte, error)
- func (s *CreateGuardrailRequest) SetAppMessage(val OptBool)
- func (s *CreateGuardrailRequest) SetCallbackURL(val OptURI)
- func (s *CreateGuardrailRequest) SetGuardrailName(val string)
- func (s *CreateGuardrailRequest) SetGuardrailPrompt(val string)
- func (s *CreateGuardrailRequest) SetModality(val OptCreateGuardrailRequestModality)
- func (s *CreateGuardrailRequest) SetTags(val []string)
- func (s *CreateGuardrailRequest) UnmarshalJSON(data []byte) error
- func (s *CreateGuardrailRequest) Validate() error
- type CreateGuardrailRequestModality
- func (CreateGuardrailRequestModality) AllValues() []CreateGuardrailRequestModality
- func (s *CreateGuardrailRequestModality) Decode(d *jx.Decoder) error
- func (s CreateGuardrailRequestModality) Encode(e *jx.Encoder)
- func (s CreateGuardrailRequestModality) MarshalJSON() ([]byte, error)
- func (s CreateGuardrailRequestModality) MarshalText() ([]byte, error)
- func (s *CreateGuardrailRequestModality) UnmarshalJSON(data []byte) error
- func (s *CreateGuardrailRequestModality) UnmarshalText(data []byte) error
- func (s CreateGuardrailRequestModality) Validate() error
- type CreateGuardrailRes
- type CreateGuardrailUnauthorized
- type CreateObjectivesBadRequest
- type CreateObjectivesRequest
- func (s *CreateObjectivesRequest) Decode(d *jx.Decoder) error
- func (s *CreateObjectivesRequest) Encode(e *jx.Encoder)
- func (s *CreateObjectivesRequest) GetObjectives() []ObjectiveItem
- func (s *CreateObjectivesRequest) MarshalJSON() ([]byte, error)
- func (s *CreateObjectivesRequest) SetObjectives(val []ObjectiveItem)
- func (s *CreateObjectivesRequest) UnmarshalJSON(data []byte) error
- func (s *CreateObjectivesRequest) Validate() error
- type CreateObjectivesRes
- type CreateObjectivesResponse
- func (s *CreateObjectivesResponse) Decode(d *jx.Decoder) error
- func (s *CreateObjectivesResponse) Encode(e *jx.Encoder)
- func (s *CreateObjectivesResponse) GetCreatedAt() OptTimestamp
- func (s *CreateObjectivesResponse) GetObjectivesID() OptString
- func (s *CreateObjectivesResponse) GetStatus() OptString
- func (s *CreateObjectivesResponse) MarshalJSON() ([]byte, error)
- func (s *CreateObjectivesResponse) SetCreatedAt(val OptTimestamp)
- func (s *CreateObjectivesResponse) SetObjectivesID(val OptString)
- func (s *CreateObjectivesResponse) SetStatus(val OptString)
- func (s *CreateObjectivesResponse) UnmarshalJSON(data []byte) error
- type CreateObjectivesUnauthorized
- type CreatePalBadRequest
- type CreatePalRequest
- func (s *CreatePalRequest) Decode(d *jx.Decoder) error
- func (s *CreatePalRequest) Encode(e *jx.Encoder)
- func (s *CreatePalRequest) GetDefaultFaceID() string
- func (s *CreatePalRequest) GetDocumentIds() []string
- func (s *CreatePalRequest) GetDocumentTags() []string
- func (s *CreatePalRequest) GetGuardrailIds() []string
- func (s *CreatePalRequest) GetGuardrailTags() []string
- func (s *CreatePalRequest) GetLayers() OptPalLayers
- func (s *CreatePalRequest) GetObjectivesID() OptString
- func (s *CreatePalRequest) GetPalName() string
- func (s *CreatePalRequest) GetPipelineMode() OptCreatePalRequestPipelineMode
- func (s *CreatePalRequest) GetSystemPrompt() OptString
- func (s *CreatePalRequest) MarshalJSON() ([]byte, error)
- func (s *CreatePalRequest) SetDefaultFaceID(val string)
- func (s *CreatePalRequest) SetDocumentIds(val []string)
- func (s *CreatePalRequest) SetDocumentTags(val []string)
- func (s *CreatePalRequest) SetGuardrailIds(val []string)
- func (s *CreatePalRequest) SetGuardrailTags(val []string)
- func (s *CreatePalRequest) SetLayers(val OptPalLayers)
- func (s *CreatePalRequest) SetObjectivesID(val OptString)
- func (s *CreatePalRequest) SetPalName(val string)
- func (s *CreatePalRequest) SetPipelineMode(val OptCreatePalRequestPipelineMode)
- func (s *CreatePalRequest) SetSystemPrompt(val OptString)
- func (s *CreatePalRequest) UnmarshalJSON(data []byte) error
- func (s *CreatePalRequest) Validate() error
- type CreatePalRequestPipelineMode
- func (CreatePalRequestPipelineMode) AllValues() []CreatePalRequestPipelineMode
- func (s *CreatePalRequestPipelineMode) Decode(d *jx.Decoder) error
- func (s CreatePalRequestPipelineMode) Encode(e *jx.Encoder)
- func (s CreatePalRequestPipelineMode) MarshalJSON() ([]byte, error)
- func (s CreatePalRequestPipelineMode) MarshalText() ([]byte, error)
- func (s *CreatePalRequestPipelineMode) UnmarshalJSON(data []byte) error
- func (s *CreatePalRequestPipelineMode) UnmarshalText(data []byte) error
- func (s CreatePalRequestPipelineMode) Validate() error
- type CreatePalRes
- type CreatePalResponse
- func (s *CreatePalResponse) Decode(d *jx.Decoder) error
- func (s *CreatePalResponse) Encode(e *jx.Encoder)
- func (s *CreatePalResponse) GetPalID() OptString
- func (s *CreatePalResponse) MarshalJSON() ([]byte, error)
- func (s *CreatePalResponse) SetPalID(val OptString)
- func (s *CreatePalResponse) UnmarshalJSON(data []byte) error
- type CreatePalUnauthorized
- type CreateToolBadRequest
- type CreateToolRequest
- func (s *CreateToolRequest) Decode(d *jx.Decoder) error
- func (s *CreateToolRequest) Encode(e *jx.Encoder)
- func (s *CreateToolRequest) GetDelivery() OptCreateToolRequestDelivery
- func (s *CreateToolRequest) GetDescription() string
- func (s *CreateToolRequest) GetName() string
- func (s *CreateToolRequest) GetOnCall() OptCreateToolRequestOnCall
- func (s *CreateToolRequest) GetOnResolve() OptCreateToolRequestOnResolve
- func (s *CreateToolRequest) GetOrigin() OptCreateToolRequestOrigin
- func (s *CreateToolRequest) GetParameters() OptCreateToolRequestParameters
- func (s *CreateToolRequest) GetStaticFiller() OptString
- func (s *CreateToolRequest) GetTags() []string
- func (s *CreateToolRequest) GetTriggerType() OptCreateToolRequestTriggerType
- func (s *CreateToolRequest) MarshalJSON() ([]byte, error)
- func (s *CreateToolRequest) SetDelivery(val OptCreateToolRequestDelivery)
- func (s *CreateToolRequest) SetDescription(val string)
- func (s *CreateToolRequest) SetName(val string)
- func (s *CreateToolRequest) SetOnCall(val OptCreateToolRequestOnCall)
- func (s *CreateToolRequest) SetOnResolve(val OptCreateToolRequestOnResolve)
- func (s *CreateToolRequest) SetOrigin(val OptCreateToolRequestOrigin)
- func (s *CreateToolRequest) SetParameters(val OptCreateToolRequestParameters)
- func (s *CreateToolRequest) SetStaticFiller(val OptString)
- func (s *CreateToolRequest) SetTags(val []string)
- func (s *CreateToolRequest) SetTriggerType(val OptCreateToolRequestTriggerType)
- func (s *CreateToolRequest) UnmarshalJSON(data []byte) error
- func (s *CreateToolRequest) Validate() error
- type CreateToolRequestDelivery
- func (s *CreateToolRequestDelivery) Decode(d *jx.Decoder) error
- func (s *CreateToolRequestDelivery) Encode(e *jx.Encoder)
- func (s *CreateToolRequestDelivery) GetAPI() OptCreateToolRequestDeliveryAPI
- func (s *CreateToolRequestDelivery) GetAppMessage() OptBool
- func (s *CreateToolRequestDelivery) MarshalJSON() ([]byte, error)
- func (s *CreateToolRequestDelivery) SetAPI(val OptCreateToolRequestDeliveryAPI)
- func (s *CreateToolRequestDelivery) SetAppMessage(val OptBool)
- func (s *CreateToolRequestDelivery) UnmarshalJSON(data []byte) error
- func (s *CreateToolRequestDelivery) Validate() error
- type CreateToolRequestDeliveryAPI
- func (s *CreateToolRequestDeliveryAPI) Decode(d *jx.Decoder) error
- func (s *CreateToolRequestDeliveryAPI) Encode(e *jx.Encoder)
- func (s *CreateToolRequestDeliveryAPI) GetAuthToken() OptString
- func (s *CreateToolRequestDeliveryAPI) GetAuthType() OptCreateToolRequestDeliveryAPIAuthType
- func (s *CreateToolRequestDeliveryAPI) GetHeaders() OptCreateToolRequestDeliveryAPIHeaders
- func (s *CreateToolRequestDeliveryAPI) GetURL() OptURI
- func (s *CreateToolRequestDeliveryAPI) MarshalJSON() ([]byte, error)
- func (s *CreateToolRequestDeliveryAPI) SetAuthToken(val OptString)
- func (s *CreateToolRequestDeliveryAPI) SetAuthType(val OptCreateToolRequestDeliveryAPIAuthType)
- func (s *CreateToolRequestDeliveryAPI) SetHeaders(val OptCreateToolRequestDeliveryAPIHeaders)
- func (s *CreateToolRequestDeliveryAPI) SetURL(val OptURI)
- func (s *CreateToolRequestDeliveryAPI) UnmarshalJSON(data []byte) error
- func (s *CreateToolRequestDeliveryAPI) Validate() error
- type CreateToolRequestDeliveryAPIAuthType
- func (CreateToolRequestDeliveryAPIAuthType) AllValues() []CreateToolRequestDeliveryAPIAuthType
- func (s *CreateToolRequestDeliveryAPIAuthType) Decode(d *jx.Decoder) error
- func (s CreateToolRequestDeliveryAPIAuthType) Encode(e *jx.Encoder)
- func (s CreateToolRequestDeliveryAPIAuthType) MarshalJSON() ([]byte, error)
- func (s CreateToolRequestDeliveryAPIAuthType) MarshalText() ([]byte, error)
- func (s *CreateToolRequestDeliveryAPIAuthType) UnmarshalJSON(data []byte) error
- func (s *CreateToolRequestDeliveryAPIAuthType) UnmarshalText(data []byte) error
- func (s CreateToolRequestDeliveryAPIAuthType) Validate() error
- type CreateToolRequestDeliveryAPIHeaders
- type CreateToolRequestOnCall
- func (CreateToolRequestOnCall) AllValues() []CreateToolRequestOnCall
- func (s *CreateToolRequestOnCall) Decode(d *jx.Decoder) error
- func (s CreateToolRequestOnCall) Encode(e *jx.Encoder)
- func (s CreateToolRequestOnCall) MarshalJSON() ([]byte, error)
- func (s CreateToolRequestOnCall) MarshalText() ([]byte, error)
- func (s *CreateToolRequestOnCall) UnmarshalJSON(data []byte) error
- func (s *CreateToolRequestOnCall) UnmarshalText(data []byte) error
- func (s CreateToolRequestOnCall) Validate() error
- type CreateToolRequestOnResolve
- func (CreateToolRequestOnResolve) AllValues() []CreateToolRequestOnResolve
- func (s *CreateToolRequestOnResolve) Decode(d *jx.Decoder) error
- func (s CreateToolRequestOnResolve) Encode(e *jx.Encoder)
- func (s CreateToolRequestOnResolve) MarshalJSON() ([]byte, error)
- func (s CreateToolRequestOnResolve) MarshalText() ([]byte, error)
- func (s *CreateToolRequestOnResolve) UnmarshalJSON(data []byte) error
- func (s *CreateToolRequestOnResolve) UnmarshalText(data []byte) error
- func (s CreateToolRequestOnResolve) Validate() error
- type CreateToolRequestOrigin
- func (CreateToolRequestOrigin) AllValues() []CreateToolRequestOrigin
- func (s *CreateToolRequestOrigin) Decode(d *jx.Decoder) error
- func (s CreateToolRequestOrigin) Encode(e *jx.Encoder)
- func (s CreateToolRequestOrigin) MarshalJSON() ([]byte, error)
- func (s CreateToolRequestOrigin) MarshalText() ([]byte, error)
- func (s *CreateToolRequestOrigin) UnmarshalJSON(data []byte) error
- func (s *CreateToolRequestOrigin) UnmarshalText(data []byte) error
- func (s CreateToolRequestOrigin) Validate() error
- type CreateToolRequestParameters
- type CreateToolRequestTriggerType
- func (CreateToolRequestTriggerType) AllValues() []CreateToolRequestTriggerType
- func (s *CreateToolRequestTriggerType) Decode(d *jx.Decoder) error
- func (s CreateToolRequestTriggerType) Encode(e *jx.Encoder)
- func (s CreateToolRequestTriggerType) MarshalJSON() ([]byte, error)
- func (s CreateToolRequestTriggerType) MarshalText() ([]byte, error)
- func (s *CreateToolRequestTriggerType) UnmarshalJSON(data []byte) error
- func (s *CreateToolRequestTriggerType) UnmarshalText(data []byte) error
- func (s CreateToolRequestTriggerType) Validate() error
- type CreateToolRes
- type CreateToolUnauthorized
- type CreateVideoBadRequest
- type CreateVideoRequest
- func (s *CreateVideoRequest) Decode(d *jx.Decoder) error
- func (s *CreateVideoRequest) Encode(e *jx.Encoder)
- func (s *CreateVideoRequest) GetAudioURL() OptURI
- func (s *CreateVideoRequest) GetBackgroundSourceURL() OptURI
- func (s *CreateVideoRequest) GetBackgroundURL() OptURI
- func (s *CreateVideoRequest) GetCallbackURL() OptURI
- func (s *CreateVideoRequest) GetFast() OptBool
- func (s *CreateVideoRequest) GetProperties() OptCreateVideoRequestProperties
- func (s *CreateVideoRequest) GetReplicaID() string
- func (s *CreateVideoRequest) GetScript() OptString
- func (s *CreateVideoRequest) GetTransparentBackground() OptBool
- func (s *CreateVideoRequest) GetVideoName() OptString
- func (s *CreateVideoRequest) GetWatermarkImageURL() OptURI
- func (s *CreateVideoRequest) MarshalJSON() ([]byte, error)
- func (s *CreateVideoRequest) SetAudioURL(val OptURI)
- func (s *CreateVideoRequest) SetBackgroundSourceURL(val OptURI)
- func (s *CreateVideoRequest) SetBackgroundURL(val OptURI)
- func (s *CreateVideoRequest) SetCallbackURL(val OptURI)
- func (s *CreateVideoRequest) SetFast(val OptBool)
- func (s *CreateVideoRequest) SetProperties(val OptCreateVideoRequestProperties)
- func (s *CreateVideoRequest) SetReplicaID(val string)
- func (s *CreateVideoRequest) SetScript(val OptString)
- func (s *CreateVideoRequest) SetTransparentBackground(val OptBool)
- func (s *CreateVideoRequest) SetVideoName(val OptString)
- func (s *CreateVideoRequest) SetWatermarkImageURL(val OptURI)
- func (s *CreateVideoRequest) UnmarshalJSON(data []byte) error
- func (s *CreateVideoRequest) Validate() error
- type CreateVideoRequestProperties
- func (s *CreateVideoRequestProperties) Decode(d *jx.Decoder) error
- func (s *CreateVideoRequestProperties) Encode(e *jx.Encoder)
- func (s *CreateVideoRequestProperties) GetBackgroundScrollDepth() OptCreateVideoRequestPropertiesBackgroundScrollDepth
- func (s *CreateVideoRequestProperties) GetBackgroundScrollReturn() OptCreateVideoRequestPropertiesBackgroundScrollReturn
- func (s *CreateVideoRequestProperties) GetBackgroundScrollType() OptCreateVideoRequestPropertiesBackgroundScrollType
- func (s *CreateVideoRequestProperties) GetStartWithWave() OptBool
- func (s *CreateVideoRequestProperties) MarshalJSON() ([]byte, error)
- func (s *CreateVideoRequestProperties) SetBackgroundScrollDepth(val OptCreateVideoRequestPropertiesBackgroundScrollDepth)
- func (s *CreateVideoRequestProperties) SetBackgroundScrollReturn(val OptCreateVideoRequestPropertiesBackgroundScrollReturn)
- func (s *CreateVideoRequestProperties) SetBackgroundScrollType(val OptCreateVideoRequestPropertiesBackgroundScrollType)
- func (s *CreateVideoRequestProperties) SetStartWithWave(val OptBool)
- func (s *CreateVideoRequestProperties) UnmarshalJSON(data []byte) error
- func (s *CreateVideoRequestProperties) Validate() error
- type CreateVideoRequestPropertiesBackgroundScrollDepth
- func (CreateVideoRequestPropertiesBackgroundScrollDepth) AllValues() []CreateVideoRequestPropertiesBackgroundScrollDepth
- func (s *CreateVideoRequestPropertiesBackgroundScrollDepth) Decode(d *jx.Decoder) error
- func (s CreateVideoRequestPropertiesBackgroundScrollDepth) Encode(e *jx.Encoder)
- func (s CreateVideoRequestPropertiesBackgroundScrollDepth) MarshalJSON() ([]byte, error)
- func (s CreateVideoRequestPropertiesBackgroundScrollDepth) MarshalText() ([]byte, error)
- func (s *CreateVideoRequestPropertiesBackgroundScrollDepth) UnmarshalJSON(data []byte) error
- func (s *CreateVideoRequestPropertiesBackgroundScrollDepth) UnmarshalText(data []byte) error
- func (s CreateVideoRequestPropertiesBackgroundScrollDepth) Validate() error
- type CreateVideoRequestPropertiesBackgroundScrollReturn
- func (CreateVideoRequestPropertiesBackgroundScrollReturn) AllValues() []CreateVideoRequestPropertiesBackgroundScrollReturn
- func (s *CreateVideoRequestPropertiesBackgroundScrollReturn) Decode(d *jx.Decoder) error
- func (s CreateVideoRequestPropertiesBackgroundScrollReturn) Encode(e *jx.Encoder)
- func (s CreateVideoRequestPropertiesBackgroundScrollReturn) MarshalJSON() ([]byte, error)
- func (s CreateVideoRequestPropertiesBackgroundScrollReturn) MarshalText() ([]byte, error)
- func (s *CreateVideoRequestPropertiesBackgroundScrollReturn) UnmarshalJSON(data []byte) error
- func (s *CreateVideoRequestPropertiesBackgroundScrollReturn) UnmarshalText(data []byte) error
- func (s CreateVideoRequestPropertiesBackgroundScrollReturn) Validate() error
- type CreateVideoRequestPropertiesBackgroundScrollType
- func (CreateVideoRequestPropertiesBackgroundScrollType) AllValues() []CreateVideoRequestPropertiesBackgroundScrollType
- func (s *CreateVideoRequestPropertiesBackgroundScrollType) Decode(d *jx.Decoder) error
- func (s CreateVideoRequestPropertiesBackgroundScrollType) Encode(e *jx.Encoder)
- func (s CreateVideoRequestPropertiesBackgroundScrollType) MarshalJSON() ([]byte, error)
- func (s CreateVideoRequestPropertiesBackgroundScrollType) MarshalText() ([]byte, error)
- func (s *CreateVideoRequestPropertiesBackgroundScrollType) UnmarshalJSON(data []byte) error
- func (s *CreateVideoRequestPropertiesBackgroundScrollType) UnmarshalText(data []byte) error
- func (s CreateVideoRequestPropertiesBackgroundScrollType) Validate() error
- type CreateVideoRes
- type CreateVideoResponse
- func (s *CreateVideoResponse) Decode(d *jx.Decoder) error
- func (s *CreateVideoResponse) Encode(e *jx.Encoder)
- func (s *CreateVideoResponse) GetCreatedAt() OptTimestamp
- func (s *CreateVideoResponse) GetHostedURL() OptURI
- func (s *CreateVideoResponse) GetStatus() OptCreateVideoResponseStatus
- func (s *CreateVideoResponse) GetVideoID() OptString
- func (s *CreateVideoResponse) GetVideoName() OptString
- func (s *CreateVideoResponse) MarshalJSON() ([]byte, error)
- func (s *CreateVideoResponse) SetCreatedAt(val OptTimestamp)
- func (s *CreateVideoResponse) SetHostedURL(val OptURI)
- func (s *CreateVideoResponse) SetStatus(val OptCreateVideoResponseStatus)
- func (s *CreateVideoResponse) SetVideoID(val OptString)
- func (s *CreateVideoResponse) SetVideoName(val OptString)
- func (s *CreateVideoResponse) UnmarshalJSON(data []byte) error
- func (s *CreateVideoResponse) Validate() error
- type CreateVideoResponseStatus
- func (CreateVideoResponseStatus) AllValues() []CreateVideoResponseStatus
- func (s *CreateVideoResponseStatus) Decode(d *jx.Decoder) error
- func (s CreateVideoResponseStatus) Encode(e *jx.Encoder)
- func (s CreateVideoResponseStatus) MarshalJSON() ([]byte, error)
- func (s CreateVideoResponseStatus) MarshalText() ([]byte, error)
- func (s *CreateVideoResponseStatus) UnmarshalJSON(data []byte) error
- func (s *CreateVideoResponseStatus) UnmarshalText(data []byte) error
- func (s CreateVideoResponseStatus) Validate() error
- type CreateVideoUnauthorized
- type DeleteConversationNoContent
- type DeleteConversationNotFound
- type DeleteConversationParams
- type DeleteConversationRes
- type DeleteConversationUnauthorized
- type DeleteDeploymentNoContent
- type DeleteDeploymentNotFound
- type DeleteDeploymentParams
- type DeleteDeploymentRes
- type DeleteDeploymentUnauthorized
- type DeleteDocumentNoContent
- type DeleteDocumentNotFound
- type DeleteDocumentParams
- type DeleteDocumentRes
- type DeleteDocumentUnauthorized
- type DeleteFaceNoContent
- type DeleteFaceNotFound
- type DeleteFaceParams
- type DeleteFaceRes
- type DeleteFaceUnauthorized
- type DeleteGuardrailNoContent
- type DeleteGuardrailNotFound
- type DeleteGuardrailParams
- type DeleteGuardrailRes
- type DeleteGuardrailUnauthorized
- type DeleteObjectivesNoContent
- type DeleteObjectivesNotFound
- type DeleteObjectivesParams
- type DeleteObjectivesRes
- type DeleteObjectivesUnauthorized
- type DeletePalNoContent
- type DeletePalNotFound
- type DeletePalParams
- type DeletePalRes
- type DeletePalUnauthorized
- type DeleteToolNoContent
- type DeleteToolNotFound
- type DeleteToolParams
- type DeleteToolRes
- type DeleteToolUnauthorized
- type DeleteVideoNoContent
- type DeleteVideoNotFound
- type DeleteVideoParams
- type DeleteVideoRes
- type DeleteVideoUnauthorized
- type Deployment
- func (s *Deployment) Decode(d *jx.Decoder) error
- func (s *Deployment) Encode(e *jx.Encoder)
- func (s *Deployment) GetAllowedOrigins() []string
- func (s *Deployment) GetChannel() OptString
- func (s *Deployment) GetCreatedAt() OptTimestamp
- func (s *Deployment) GetCustomization() OptDeploymentCustomization
- func (s *Deployment) GetDeploymentID() OptString
- func (s *Deployment) GetHasPassword() OptBool
- func (s *Deployment) GetLimits() *DeploymentLimits
- func (s *Deployment) GetName() OptString
- func (s *Deployment) GetPalID() OptString
- func (s *Deployment) GetStatus() OptString
- func (s *Deployment) GetThumbnailImageURL() OptURI
- func (s *Deployment) GetThumbnailVideoURL() OptURI
- func (s *Deployment) GetUpdatedAt() OptTimestamp
- func (s *Deployment) GetUsageToday() OptInt
- func (s *Deployment) GetUsageTotal() OptInt
- func (s *Deployment) MarshalJSON() ([]byte, error)
- func (s *Deployment) SetAllowedOrigins(val []string)
- func (s *Deployment) SetChannel(val OptString)
- func (s *Deployment) SetCreatedAt(val OptTimestamp)
- func (s *Deployment) SetCustomization(val OptDeploymentCustomization)
- func (s *Deployment) SetDeploymentID(val OptString)
- func (s *Deployment) SetHasPassword(val OptBool)
- func (s *Deployment) SetLimits(val *DeploymentLimits)
- func (s *Deployment) SetName(val OptString)
- func (s *Deployment) SetPalID(val OptString)
- func (s *Deployment) SetStatus(val OptString)
- func (s *Deployment) SetThumbnailImageURL(val OptURI)
- func (s *Deployment) SetThumbnailVideoURL(val OptURI)
- func (s *Deployment) SetUpdatedAt(val OptTimestamp)
- func (s *Deployment) SetUsageToday(val OptInt)
- func (s *Deployment) SetUsageTotal(val OptInt)
- func (s *Deployment) UnmarshalJSON(data []byte) error
- type DeploymentCustomization
- type DeploymentLimits
- type Document
- func (s *Document) Decode(d *jx.Decoder) error
- func (s *Document) Encode(e *jx.Encoder)
- func (s *Document) GetCrawlConfig() *DocumentCrawlConfig
- func (s *Document) GetCrawledUrls() []string
- func (s *Document) GetCreatedAt() OptTimestamp
- func (s *Document) GetDocumentID() OptString
- func (s *Document) GetDocumentName() OptString
- func (s *Document) GetDocumentURL() OptString
- func (s *Document) GetErrorMessage() OptString
- func (s *Document) GetLastCrawledAt() OptTimestamp
- func (s *Document) GetProgress() OptFloat64
- func (s *Document) GetStatus() OptDocumentStatus
- func (s *Document) GetTags() []string
- func (s *Document) GetUpdatedAt() OptTimestamp
- func (s *Document) MarshalJSON() ([]byte, error)
- func (s *Document) SetCrawlConfig(val *DocumentCrawlConfig)
- func (s *Document) SetCrawledUrls(val []string)
- func (s *Document) SetCreatedAt(val OptTimestamp)
- func (s *Document) SetDocumentID(val OptString)
- func (s *Document) SetDocumentName(val OptString)
- func (s *Document) SetDocumentURL(val OptString)
- func (s *Document) SetErrorMessage(val OptString)
- func (s *Document) SetLastCrawledAt(val OptTimestamp)
- func (s *Document) SetProgress(val OptFloat64)
- func (s *Document) SetStatus(val OptDocumentStatus)
- func (s *Document) SetTags(val []string)
- func (s *Document) SetUpdatedAt(val OptTimestamp)
- func (s *Document) UnmarshalJSON(data []byte) error
- func (s *Document) Validate() error
- type DocumentCrawlConfig
- type DocumentStatus
- func (DocumentStatus) AllValues() []DocumentStatus
- func (s *DocumentStatus) Decode(d *jx.Decoder) error
- func (s DocumentStatus) Encode(e *jx.Encoder)
- func (s DocumentStatus) MarshalJSON() ([]byte, error)
- func (s DocumentStatus) MarshalText() ([]byte, error)
- func (s *DocumentStatus) UnmarshalJSON(data []byte) error
- func (s *DocumentStatus) UnmarshalText(data []byte) error
- func (s DocumentStatus) Validate() error
- type EndConversationNotFound
- type EndConversationOK
- type EndConversationParams
- type EndConversationRes
- type EndConversationUnauthorized
- type Error
- func (s *Error) Decode(d *jx.Decoder) error
- func (s *Error) Encode(e *jx.Encoder)
- func (s *Error) GetError() OptString
- func (s *Error) GetMessage() OptString
- func (s *Error) MarshalJSON() ([]byte, error)
- func (s *Error) SetError(val OptString)
- func (s *Error) SetMessage(val OptString)
- func (s *Error) UnmarshalJSON(data []byte) error
- type ErrorHandler
- type Face
- func (s *Face) Decode(d *jx.Decoder) error
- func (s *Face) Encode(e *jx.Encoder)
- func (s *Face) GetCreatedAt() OptTimestamp
- func (s *Face) GetErrorMessage() OptString
- func (s *Face) GetFaceID() OptString
- func (s *Face) GetFaceName() OptString
- func (s *Face) GetStatus() OptFaceStatus
- func (s *Face) GetTrainingProgress() OptString
- func (s *Face) GetUpdatedAt() OptTimestamp
- func (s *Face) MarshalJSON() ([]byte, error)
- func (s *Face) SetCreatedAt(val OptTimestamp)
- func (s *Face) SetErrorMessage(val OptString)
- func (s *Face) SetFaceID(val OptString)
- func (s *Face) SetFaceName(val OptString)
- func (s *Face) SetStatus(val OptFaceStatus)
- func (s *Face) SetTrainingProgress(val OptString)
- func (s *Face) SetUpdatedAt(val OptTimestamp)
- func (s *Face) UnmarshalJSON(data []byte) error
- func (s *Face) Validate() error
- type FaceStatus
- func (FaceStatus) AllValues() []FaceStatus
- func (s *FaceStatus) Decode(d *jx.Decoder) error
- func (s FaceStatus) Encode(e *jx.Encoder)
- func (s FaceStatus) MarshalJSON() ([]byte, error)
- func (s FaceStatus) MarshalText() ([]byte, error)
- func (s *FaceStatus) UnmarshalJSON(data []byte) error
- func (s *FaceStatus) UnmarshalText(data []byte) error
- func (s FaceStatus) Validate() error
- type GetConversationNotFound
- type GetConversationParams
- type GetConversationRes
- type GetConversationUnauthorized
- type GetDeploymentNotFound
- type GetDeploymentParams
- type GetDeploymentRes
- type GetDeploymentUnauthorized
- type GetDocumentNotFound
- type GetDocumentParams
- type GetDocumentRes
- type GetDocumentUnauthorized
- type GetFaceNotFound
- type GetFaceParams
- type GetFaceRes
- type GetFaceUnauthorized
- type GetGuardrailNotFound
- type GetGuardrailParams
- type GetGuardrailRes
- type GetGuardrailUnauthorized
- type GetObjectivesNotFound
- type GetObjectivesParams
- type GetObjectivesRes
- type GetObjectivesUnauthorized
- type GetPalNotFound
- type GetPalParams
- type GetPalRes
- type GetPalUnauthorized
- type GetToolNotFound
- type GetToolParams
- type GetToolRes
- type GetToolUnauthorized
- type GetVideoNotFound
- type GetVideoParams
- type GetVideoRes
- type GetVideoUnauthorized
- type Guardrail
- func (s *Guardrail) Decode(d *jx.Decoder) error
- func (s *Guardrail) Encode(e *jx.Encoder)
- func (s *Guardrail) GetAppMessage() OptBool
- func (s *Guardrail) GetCallbackURL() OptString
- func (s *Guardrail) GetCreatedAt() OptTimestamp
- func (s *Guardrail) GetGuardrailName() OptString
- func (s *Guardrail) GetGuardrailPrompt() OptString
- func (s *Guardrail) GetModality() OptString
- func (s *Guardrail) GetTags() []string
- func (s *Guardrail) GetUUID() OptString
- func (s *Guardrail) GetUpdatedAt() OptTimestamp
- func (s *Guardrail) MarshalJSON() ([]byte, error)
- func (s *Guardrail) SetAppMessage(val OptBool)
- func (s *Guardrail) SetCallbackURL(val OptString)
- func (s *Guardrail) SetCreatedAt(val OptTimestamp)
- func (s *Guardrail) SetGuardrailName(val OptString)
- func (s *Guardrail) SetGuardrailPrompt(val OptString)
- func (s *Guardrail) SetModality(val OptString)
- func (s *Guardrail) SetTags(val []string)
- func (s *Guardrail) SetUUID(val OptString)
- func (s *Guardrail) SetUpdatedAt(val OptTimestamp)
- func (s *Guardrail) UnmarshalJSON(data []byte) error
- type Handler
- type Invoker
- type Labeler
- type ListConversationsParams
- type ListConversationsRes
- type ListConversationsResponse
- func (s *ListConversationsResponse) Decode(d *jx.Decoder) error
- func (s *ListConversationsResponse) Encode(e *jx.Encoder)
- func (s *ListConversationsResponse) GetData() []Conversation
- func (s *ListConversationsResponse) GetLimit() OptInt
- func (s *ListConversationsResponse) GetPage() OptInt
- func (s *ListConversationsResponse) GetTotalCount() OptInt
- func (s *ListConversationsResponse) MarshalJSON() ([]byte, error)
- func (s *ListConversationsResponse) SetData(val []Conversation)
- func (s *ListConversationsResponse) SetLimit(val OptInt)
- func (s *ListConversationsResponse) SetPage(val OptInt)
- func (s *ListConversationsResponse) SetTotalCount(val OptInt)
- func (s *ListConversationsResponse) UnmarshalJSON(data []byte) error
- func (s *ListConversationsResponse) Validate() error
- type ListDeploymentsParams
- type ListDeploymentsRes
- type ListDeploymentsResponse
- func (s *ListDeploymentsResponse) Decode(d *jx.Decoder) error
- func (s *ListDeploymentsResponse) Encode(e *jx.Encoder)
- func (s *ListDeploymentsResponse) GetData() []Deployment
- func (s *ListDeploymentsResponse) GetLimit() OptInt
- func (s *ListDeploymentsResponse) GetPage() OptInt
- func (s *ListDeploymentsResponse) GetTotalCount() OptInt
- func (s *ListDeploymentsResponse) MarshalJSON() ([]byte, error)
- func (s *ListDeploymentsResponse) SetData(val []Deployment)
- func (s *ListDeploymentsResponse) SetLimit(val OptInt)
- func (s *ListDeploymentsResponse) SetPage(val OptInt)
- func (s *ListDeploymentsResponse) SetTotalCount(val OptInt)
- func (s *ListDeploymentsResponse) UnmarshalJSON(data []byte) error
- type ListDocumentsParams
- type ListDocumentsRes
- type ListDocumentsResponse
- func (s *ListDocumentsResponse) Decode(d *jx.Decoder) error
- func (s *ListDocumentsResponse) Encode(e *jx.Encoder)
- func (s *ListDocumentsResponse) GetData() []Document
- func (s *ListDocumentsResponse) GetLimit() OptInt
- func (s *ListDocumentsResponse) GetPage() OptInt
- func (s *ListDocumentsResponse) GetTotalCount() OptInt
- func (s *ListDocumentsResponse) MarshalJSON() ([]byte, error)
- func (s *ListDocumentsResponse) SetData(val []Document)
- func (s *ListDocumentsResponse) SetLimit(val OptInt)
- func (s *ListDocumentsResponse) SetPage(val OptInt)
- func (s *ListDocumentsResponse) SetTotalCount(val OptInt)
- func (s *ListDocumentsResponse) UnmarshalJSON(data []byte) error
- func (s *ListDocumentsResponse) Validate() error
- type ListFacesParams
- type ListFacesRes
- type ListFacesResponse
- func (s *ListFacesResponse) Decode(d *jx.Decoder) error
- func (s *ListFacesResponse) Encode(e *jx.Encoder)
- func (s *ListFacesResponse) GetData() []Face
- func (s *ListFacesResponse) GetLimit() OptInt
- func (s *ListFacesResponse) GetPage() OptInt
- func (s *ListFacesResponse) GetTotalCount() OptInt
- func (s *ListFacesResponse) MarshalJSON() ([]byte, error)
- func (s *ListFacesResponse) SetData(val []Face)
- func (s *ListFacesResponse) SetLimit(val OptInt)
- func (s *ListFacesResponse) SetPage(val OptInt)
- func (s *ListFacesResponse) SetTotalCount(val OptInt)
- func (s *ListFacesResponse) UnmarshalJSON(data []byte) error
- func (s *ListFacesResponse) Validate() error
- type ListGuardrailsParams
- type ListGuardrailsRes
- type ListGuardrailsResponse
- func (s *ListGuardrailsResponse) Decode(d *jx.Decoder) error
- func (s *ListGuardrailsResponse) Encode(e *jx.Encoder)
- func (s *ListGuardrailsResponse) GetData() []Guardrail
- func (s *ListGuardrailsResponse) GetLimit() OptInt
- func (s *ListGuardrailsResponse) GetPage() OptInt
- func (s *ListGuardrailsResponse) GetTotalCount() OptInt
- func (s *ListGuardrailsResponse) MarshalJSON() ([]byte, error)
- func (s *ListGuardrailsResponse) SetData(val []Guardrail)
- func (s *ListGuardrailsResponse) SetLimit(val OptInt)
- func (s *ListGuardrailsResponse) SetPage(val OptInt)
- func (s *ListGuardrailsResponse) SetTotalCount(val OptInt)
- func (s *ListGuardrailsResponse) UnmarshalJSON(data []byte) error
- type ListObjectivesParams
- type ListObjectivesRes
- type ListObjectivesResponse
- func (s *ListObjectivesResponse) Decode(d *jx.Decoder) error
- func (s *ListObjectivesResponse) Encode(e *jx.Encoder)
- func (s *ListObjectivesResponse) GetData() []Objectives
- func (s *ListObjectivesResponse) GetLimit() OptInt
- func (s *ListObjectivesResponse) GetPage() OptInt
- func (s *ListObjectivesResponse) GetTotalCount() OptInt
- func (s *ListObjectivesResponse) MarshalJSON() ([]byte, error)
- func (s *ListObjectivesResponse) SetData(val []Objectives)
- func (s *ListObjectivesResponse) SetLimit(val OptInt)
- func (s *ListObjectivesResponse) SetPage(val OptInt)
- func (s *ListObjectivesResponse) SetTotalCount(val OptInt)
- func (s *ListObjectivesResponse) UnmarshalJSON(data []byte) error
- func (s *ListObjectivesResponse) Validate() error
- type ListPalsParams
- type ListPalsRes
- type ListPalsResponse
- func (s *ListPalsResponse) Decode(d *jx.Decoder) error
- func (s *ListPalsResponse) Encode(e *jx.Encoder)
- func (s *ListPalsResponse) GetData() []Pal
- func (s *ListPalsResponse) GetLimit() OptInt
- func (s *ListPalsResponse) GetPage() OptInt
- func (s *ListPalsResponse) GetTotalCount() OptInt
- func (s *ListPalsResponse) MarshalJSON() ([]byte, error)
- func (s *ListPalsResponse) SetData(val []Pal)
- func (s *ListPalsResponse) SetLimit(val OptInt)
- func (s *ListPalsResponse) SetPage(val OptInt)
- func (s *ListPalsResponse) SetTotalCount(val OptInt)
- func (s *ListPalsResponse) UnmarshalJSON(data []byte) error
- func (s *ListPalsResponse) Validate() error
- type ListToolsParams
- type ListToolsRes
- type ListToolsResponse
- func (s *ListToolsResponse) Decode(d *jx.Decoder) error
- func (s *ListToolsResponse) Encode(e *jx.Encoder)
- func (s *ListToolsResponse) GetData() []Tool
- func (s *ListToolsResponse) GetLimit() OptInt
- func (s *ListToolsResponse) GetPage() OptInt
- func (s *ListToolsResponse) GetTotalCount() OptInt
- func (s *ListToolsResponse) MarshalJSON() ([]byte, error)
- func (s *ListToolsResponse) SetData(val []Tool)
- func (s *ListToolsResponse) SetLimit(val OptInt)
- func (s *ListToolsResponse) SetPage(val OptInt)
- func (s *ListToolsResponse) SetTotalCount(val OptInt)
- func (s *ListToolsResponse) UnmarshalJSON(data []byte) error
- type ListVideosParams
- type ListVideosRes
- type ListVideosResponse
- func (s *ListVideosResponse) Decode(d *jx.Decoder) error
- func (s *ListVideosResponse) Encode(e *jx.Encoder)
- func (s *ListVideosResponse) GetData() []Video
- func (s *ListVideosResponse) GetLimit() OptInt
- func (s *ListVideosResponse) GetPage() OptInt
- func (s *ListVideosResponse) GetTotalCount() OptInt
- func (s *ListVideosResponse) MarshalJSON() ([]byte, error)
- func (s *ListVideosResponse) SetData(val []Video)
- func (s *ListVideosResponse) SetLimit(val OptInt)
- func (s *ListVideosResponse) SetPage(val OptInt)
- func (s *ListVideosResponse) SetTotalCount(val OptInt)
- func (s *ListVideosResponse) UnmarshalJSON(data []byte) error
- func (s *ListVideosResponse) Validate() error
- type ListVoicesParams
- type ListVoicesRes
- type ListVoicesResponse
- func (s *ListVoicesResponse) Decode(d *jx.Decoder) error
- func (s *ListVoicesResponse) Encode(e *jx.Encoder)
- func (s *ListVoicesResponse) GetData() []Voice
- func (s *ListVoicesResponse) GetLimit() OptInt
- func (s *ListVoicesResponse) GetPage() OptInt
- func (s *ListVoicesResponse) GetTotalCount() OptInt
- func (s *ListVoicesResponse) MarshalJSON() ([]byte, error)
- func (s *ListVoicesResponse) SetData(val []Voice)
- func (s *ListVoicesResponse) SetLimit(val OptInt)
- func (s *ListVoicesResponse) SetPage(val OptInt)
- func (s *ListVoicesResponse) SetTotalCount(val OptInt)
- func (s *ListVoicesResponse) UnmarshalJSON(data []byte) error
- type ListVoicesSort
- type LlmLayer
- func (s *LlmLayer) Decode(d *jx.Decoder) error
- func (s *LlmLayer) Encode(e *jx.Encoder)
- func (s *LlmLayer) GetAPIKey() OptString
- func (s *LlmLayer) GetBaseURL() OptString
- func (s *LlmLayer) GetExtraBody() OptLlmLayerExtraBody
- func (s *LlmLayer) GetModel() OptString
- func (s *LlmLayer) MarshalJSON() ([]byte, error)
- func (s *LlmLayer) SetAPIKey(val OptString)
- func (s *LlmLayer) SetBaseURL(val OptString)
- func (s *LlmLayer) SetExtraBody(val OptLlmLayerExtraBody)
- func (s *LlmLayer) SetModel(val OptString)
- func (s *LlmLayer) UnmarshalJSON(data []byte) error
- func (s *LlmLayer) Validate() error
- type LlmLayerExtraBody
- func (s *LlmLayerExtraBody) Decode(d *jx.Decoder) error
- func (s *LlmLayerExtraBody) Encode(e *jx.Encoder)
- func (s *LlmLayerExtraBody) GetTemperature() OptFloat64
- func (s *LlmLayerExtraBody) GetTopP() OptFloat64
- func (s *LlmLayerExtraBody) MarshalJSON() ([]byte, error)
- func (s *LlmLayerExtraBody) SetTemperature(val OptFloat64)
- func (s *LlmLayerExtraBody) SetTopP(val OptFloat64)
- func (s *LlmLayerExtraBody) UnmarshalJSON(data []byte) error
- func (s *LlmLayerExtraBody) Validate() error
- type Middleware
- type ObjectiveItem
- func (s *ObjectiveItem) Decode(d *jx.Decoder) error
- func (s *ObjectiveItem) Encode(e *jx.Encoder)
- func (s *ObjectiveItem) GetCallbackURL() OptURI
- func (s *ObjectiveItem) GetConfirmationMode() OptObjectiveItemConfirmationMode
- func (s *ObjectiveItem) GetModality() OptObjectiveItemModality
- func (s *ObjectiveItem) GetNextConditionalObjectives() OptObjectiveItemNextConditionalObjectives
- func (s *ObjectiveItem) GetNextRequiredObjective() OptString
- func (s *ObjectiveItem) GetObjectiveName() string
- func (s *ObjectiveItem) GetObjectivePrompt() string
- func (s *ObjectiveItem) GetOutputVariables() []string
- func (s *ObjectiveItem) MarshalJSON() ([]byte, error)
- func (s *ObjectiveItem) SetCallbackURL(val OptURI)
- func (s *ObjectiveItem) SetConfirmationMode(val OptObjectiveItemConfirmationMode)
- func (s *ObjectiveItem) SetModality(val OptObjectiveItemModality)
- func (s *ObjectiveItem) SetNextConditionalObjectives(val OptObjectiveItemNextConditionalObjectives)
- func (s *ObjectiveItem) SetNextRequiredObjective(val OptString)
- func (s *ObjectiveItem) SetObjectiveName(val string)
- func (s *ObjectiveItem) SetObjectivePrompt(val string)
- func (s *ObjectiveItem) SetOutputVariables(val []string)
- func (s *ObjectiveItem) UnmarshalJSON(data []byte) error
- func (s *ObjectiveItem) Validate() error
- type ObjectiveItemConfirmationMode
- func (ObjectiveItemConfirmationMode) AllValues() []ObjectiveItemConfirmationMode
- func (s *ObjectiveItemConfirmationMode) Decode(d *jx.Decoder) error
- func (s ObjectiveItemConfirmationMode) Encode(e *jx.Encoder)
- func (s ObjectiveItemConfirmationMode) MarshalJSON() ([]byte, error)
- func (s ObjectiveItemConfirmationMode) MarshalText() ([]byte, error)
- func (s *ObjectiveItemConfirmationMode) UnmarshalJSON(data []byte) error
- func (s *ObjectiveItemConfirmationMode) UnmarshalText(data []byte) error
- func (s ObjectiveItemConfirmationMode) Validate() error
- type ObjectiveItemModality
- func (ObjectiveItemModality) AllValues() []ObjectiveItemModality
- func (s *ObjectiveItemModality) Decode(d *jx.Decoder) error
- func (s ObjectiveItemModality) Encode(e *jx.Encoder)
- func (s ObjectiveItemModality) MarshalJSON() ([]byte, error)
- func (s ObjectiveItemModality) MarshalText() ([]byte, error)
- func (s *ObjectiveItemModality) UnmarshalJSON(data []byte) error
- func (s *ObjectiveItemModality) UnmarshalText(data []byte) error
- func (s ObjectiveItemModality) Validate() error
- type ObjectiveItemNextConditionalObjectives
- func (s *ObjectiveItemNextConditionalObjectives) Decode(d *jx.Decoder) error
- func (s ObjectiveItemNextConditionalObjectives) Encode(e *jx.Encoder)
- func (s ObjectiveItemNextConditionalObjectives) MarshalJSON() ([]byte, error)
- func (s *ObjectiveItemNextConditionalObjectives) UnmarshalJSON(data []byte) error
- type Objectives
- func (s *Objectives) Decode(d *jx.Decoder) error
- func (s *Objectives) Encode(e *jx.Encoder)
- func (s *Objectives) GetCreatedAt() OptTimestamp
- func (s *Objectives) GetObjectives() []ObjectiveItem
- func (s *Objectives) GetObjectivesID() OptString
- func (s *Objectives) GetUpdatedAt() OptTimestamp
- func (s *Objectives) MarshalJSON() ([]byte, error)
- func (s *Objectives) SetCreatedAt(val OptTimestamp)
- func (s *Objectives) SetObjectives(val []ObjectiveItem)
- func (s *Objectives) SetObjectivesID(val OptString)
- func (s *Objectives) SetUpdatedAt(val OptTimestamp)
- func (s *Objectives) UnmarshalJSON(data []byte) error
- func (s *Objectives) Validate() error
- type OperationName
- type OptBool
- func (o *OptBool) Decode(d *jx.Decoder) error
- func (o OptBool) Encode(e *jx.Encoder)
- func (o OptBool) Get() (v bool, ok bool)
- func (o OptBool) IsSet() bool
- func (s OptBool) MarshalJSON() ([]byte, error)
- func (o OptBool) Or(d bool) bool
- func (o *OptBool) Reset()
- func (o *OptBool) SetTo(v bool)
- func (s *OptBool) UnmarshalJSON(data []byte) error
- type OptConversationProperties
- func (o *OptConversationProperties) Decode(d *jx.Decoder) error
- func (o OptConversationProperties) Encode(e *jx.Encoder)
- func (o OptConversationProperties) Get() (v ConversationProperties, ok bool)
- func (o OptConversationProperties) IsSet() bool
- func (s OptConversationProperties) MarshalJSON() ([]byte, error)
- func (o OptConversationProperties) Or(d ConversationProperties) ConversationProperties
- func (o *OptConversationProperties) Reset()
- func (o *OptConversationProperties) SetTo(v ConversationProperties)
- func (s *OptConversationProperties) UnmarshalJSON(data []byte) error
- type OptConversationStatus
- func (o *OptConversationStatus) Decode(d *jx.Decoder) error
- func (o OptConversationStatus) Encode(e *jx.Encoder)
- func (o OptConversationStatus) Get() (v ConversationStatus, ok bool)
- func (o OptConversationStatus) IsSet() bool
- func (s OptConversationStatus) MarshalJSON() ([]byte, error)
- func (o OptConversationStatus) Or(d ConversationStatus) ConversationStatus
- func (o *OptConversationStatus) Reset()
- func (o *OptConversationStatus) SetTo(v ConversationStatus)
- func (s *OptConversationStatus) UnmarshalJSON(data []byte) error
- type OptConversationalFlowLayer
- func (o *OptConversationalFlowLayer) Decode(d *jx.Decoder) error
- func (o OptConversationalFlowLayer) Encode(e *jx.Encoder)
- func (o OptConversationalFlowLayer) Get() (v ConversationalFlowLayer, ok bool)
- func (o OptConversationalFlowLayer) IsSet() bool
- func (s OptConversationalFlowLayer) MarshalJSON() ([]byte, error)
- func (o OptConversationalFlowLayer) Or(d ConversationalFlowLayer) ConversationalFlowLayer
- func (o *OptConversationalFlowLayer) Reset()
- func (o *OptConversationalFlowLayer) SetTo(v ConversationalFlowLayer)
- func (s *OptConversationalFlowLayer) UnmarshalJSON(data []byte) error
- type OptCreateConversationRequestExtraPayload
- func (o *OptCreateConversationRequestExtraPayload) Decode(d *jx.Decoder) error
- func (o OptCreateConversationRequestExtraPayload) Encode(e *jx.Encoder)
- func (o OptCreateConversationRequestExtraPayload) Get() (v CreateConversationRequestExtraPayload, ok bool)
- func (o OptCreateConversationRequestExtraPayload) IsSet() bool
- func (s OptCreateConversationRequestExtraPayload) MarshalJSON() ([]byte, error)
- func (o OptCreateConversationRequestExtraPayload) Or(d CreateConversationRequestExtraPayload) CreateConversationRequestExtraPayload
- func (o *OptCreateConversationRequestExtraPayload) Reset()
- func (o *OptCreateConversationRequestExtraPayload) SetTo(v CreateConversationRequestExtraPayload)
- func (s *OptCreateConversationRequestExtraPayload) UnmarshalJSON(data []byte) error
- type OptCreateConversationResponseStatus
- func (o *OptCreateConversationResponseStatus) Decode(d *jx.Decoder) error
- func (o OptCreateConversationResponseStatus) Encode(e *jx.Encoder)
- func (o OptCreateConversationResponseStatus) Get() (v CreateConversationResponseStatus, ok bool)
- func (o OptCreateConversationResponseStatus) IsSet() bool
- func (s OptCreateConversationResponseStatus) MarshalJSON() ([]byte, error)
- func (o OptCreateConversationResponseStatus) Or(d CreateConversationResponseStatus) CreateConversationResponseStatus
- func (o *OptCreateConversationResponseStatus) Reset()
- func (o *OptCreateConversationResponseStatus) SetTo(v CreateConversationResponseStatus)
- func (s *OptCreateConversationResponseStatus) UnmarshalJSON(data []byte) error
- type OptCreateDeploymentRequestCustomization
- func (o *OptCreateDeploymentRequestCustomization) Decode(d *jx.Decoder) error
- func (o OptCreateDeploymentRequestCustomization) Encode(e *jx.Encoder)
- func (o OptCreateDeploymentRequestCustomization) Get() (v CreateDeploymentRequestCustomization, ok bool)
- func (o OptCreateDeploymentRequestCustomization) IsSet() bool
- func (s OptCreateDeploymentRequestCustomization) MarshalJSON() ([]byte, error)
- func (o OptCreateDeploymentRequestCustomization) Or(d CreateDeploymentRequestCustomization) CreateDeploymentRequestCustomization
- func (o *OptCreateDeploymentRequestCustomization) Reset()
- func (o *OptCreateDeploymentRequestCustomization) SetTo(v CreateDeploymentRequestCustomization)
- func (s *OptCreateDeploymentRequestCustomization) UnmarshalJSON(data []byte) error
- type OptCreateDeploymentRequestLimits
- func (o *OptCreateDeploymentRequestLimits) Decode(d *jx.Decoder) error
- func (o OptCreateDeploymentRequestLimits) Encode(e *jx.Encoder)
- func (o OptCreateDeploymentRequestLimits) Get() (v CreateDeploymentRequestLimits, ok bool)
- func (o OptCreateDeploymentRequestLimits) IsSet() bool
- func (s OptCreateDeploymentRequestLimits) MarshalJSON() ([]byte, error)
- func (o OptCreateDeploymentRequestLimits) Or(d CreateDeploymentRequestLimits) CreateDeploymentRequestLimits
- func (o *OptCreateDeploymentRequestLimits) Reset()
- func (o *OptCreateDeploymentRequestLimits) SetTo(v CreateDeploymentRequestLimits)
- func (s *OptCreateDeploymentRequestLimits) UnmarshalJSON(data []byte) error
- type OptCreateDocumentRequestCrawl
- func (o *OptCreateDocumentRequestCrawl) Decode(d *jx.Decoder) error
- func (o OptCreateDocumentRequestCrawl) Encode(e *jx.Encoder)
- func (o OptCreateDocumentRequestCrawl) Get() (v CreateDocumentRequestCrawl, ok bool)
- func (o OptCreateDocumentRequestCrawl) IsSet() bool
- func (s OptCreateDocumentRequestCrawl) MarshalJSON() ([]byte, error)
- func (o OptCreateDocumentRequestCrawl) Or(d CreateDocumentRequestCrawl) CreateDocumentRequestCrawl
- func (o *OptCreateDocumentRequestCrawl) Reset()
- func (o *OptCreateDocumentRequestCrawl) SetTo(v CreateDocumentRequestCrawl)
- func (s *OptCreateDocumentRequestCrawl) UnmarshalJSON(data []byte) error
- type OptCreateDocumentResponseStatus
- func (o *OptCreateDocumentResponseStatus) Decode(d *jx.Decoder) error
- func (o OptCreateDocumentResponseStatus) Encode(e *jx.Encoder)
- func (o OptCreateDocumentResponseStatus) Get() (v CreateDocumentResponseStatus, ok bool)
- func (o OptCreateDocumentResponseStatus) IsSet() bool
- func (s OptCreateDocumentResponseStatus) MarshalJSON() ([]byte, error)
- func (o OptCreateDocumentResponseStatus) Or(d CreateDocumentResponseStatus) CreateDocumentResponseStatus
- func (o *OptCreateDocumentResponseStatus) Reset()
- func (o *OptCreateDocumentResponseStatus) SetTo(v CreateDocumentResponseStatus)
- func (s *OptCreateDocumentResponseStatus) UnmarshalJSON(data []byte) error
- type OptCreateFaceRequestProperties
- func (o *OptCreateFaceRequestProperties) Decode(d *jx.Decoder) error
- func (o OptCreateFaceRequestProperties) Encode(e *jx.Encoder)
- func (o OptCreateFaceRequestProperties) Get() (v CreateFaceRequestProperties, ok bool)
- func (o OptCreateFaceRequestProperties) IsSet() bool
- func (s OptCreateFaceRequestProperties) MarshalJSON() ([]byte, error)
- func (o OptCreateFaceRequestProperties) Or(d CreateFaceRequestProperties) CreateFaceRequestProperties
- func (o *OptCreateFaceRequestProperties) Reset()
- func (o *OptCreateFaceRequestProperties) SetTo(v CreateFaceRequestProperties)
- func (s *OptCreateFaceRequestProperties) UnmarshalJSON(data []byte) error
- type OptCreateFaceResponseStatus
- func (o *OptCreateFaceResponseStatus) Decode(d *jx.Decoder) error
- func (o OptCreateFaceResponseStatus) Encode(e *jx.Encoder)
- func (o OptCreateFaceResponseStatus) Get() (v CreateFaceResponseStatus, ok bool)
- func (o OptCreateFaceResponseStatus) IsSet() bool
- func (s OptCreateFaceResponseStatus) MarshalJSON() ([]byte, error)
- func (o OptCreateFaceResponseStatus) Or(d CreateFaceResponseStatus) CreateFaceResponseStatus
- func (o *OptCreateFaceResponseStatus) Reset()
- func (o *OptCreateFaceResponseStatus) SetTo(v CreateFaceResponseStatus)
- func (s *OptCreateFaceResponseStatus) UnmarshalJSON(data []byte) error
- type OptCreateGuardrailRequestModality
- func (o *OptCreateGuardrailRequestModality) Decode(d *jx.Decoder) error
- func (o OptCreateGuardrailRequestModality) Encode(e *jx.Encoder)
- func (o OptCreateGuardrailRequestModality) Get() (v CreateGuardrailRequestModality, ok bool)
- func (o OptCreateGuardrailRequestModality) IsSet() bool
- func (s OptCreateGuardrailRequestModality) MarshalJSON() ([]byte, error)
- func (o OptCreateGuardrailRequestModality) Or(d CreateGuardrailRequestModality) CreateGuardrailRequestModality
- func (o *OptCreateGuardrailRequestModality) Reset()
- func (o *OptCreateGuardrailRequestModality) SetTo(v CreateGuardrailRequestModality)
- func (s *OptCreateGuardrailRequestModality) UnmarshalJSON(data []byte) error
- type OptCreatePalRequestPipelineMode
- func (o *OptCreatePalRequestPipelineMode) Decode(d *jx.Decoder) error
- func (o OptCreatePalRequestPipelineMode) Encode(e *jx.Encoder)
- func (o OptCreatePalRequestPipelineMode) Get() (v CreatePalRequestPipelineMode, ok bool)
- func (o OptCreatePalRequestPipelineMode) IsSet() bool
- func (s OptCreatePalRequestPipelineMode) MarshalJSON() ([]byte, error)
- func (o OptCreatePalRequestPipelineMode) Or(d CreatePalRequestPipelineMode) CreatePalRequestPipelineMode
- func (o *OptCreatePalRequestPipelineMode) Reset()
- func (o *OptCreatePalRequestPipelineMode) SetTo(v CreatePalRequestPipelineMode)
- func (s *OptCreatePalRequestPipelineMode) UnmarshalJSON(data []byte) error
- type OptCreateToolRequestDelivery
- func (o *OptCreateToolRequestDelivery) Decode(d *jx.Decoder) error
- func (o OptCreateToolRequestDelivery) Encode(e *jx.Encoder)
- func (o OptCreateToolRequestDelivery) Get() (v CreateToolRequestDelivery, ok bool)
- func (o OptCreateToolRequestDelivery) IsSet() bool
- func (s OptCreateToolRequestDelivery) MarshalJSON() ([]byte, error)
- func (o OptCreateToolRequestDelivery) Or(d CreateToolRequestDelivery) CreateToolRequestDelivery
- func (o *OptCreateToolRequestDelivery) Reset()
- func (o *OptCreateToolRequestDelivery) SetTo(v CreateToolRequestDelivery)
- func (s *OptCreateToolRequestDelivery) UnmarshalJSON(data []byte) error
- type OptCreateToolRequestDeliveryAPI
- func (o *OptCreateToolRequestDeliveryAPI) Decode(d *jx.Decoder) error
- func (o OptCreateToolRequestDeliveryAPI) Encode(e *jx.Encoder)
- func (o OptCreateToolRequestDeliveryAPI) Get() (v CreateToolRequestDeliveryAPI, ok bool)
- func (o OptCreateToolRequestDeliveryAPI) IsSet() bool
- func (s OptCreateToolRequestDeliveryAPI) MarshalJSON() ([]byte, error)
- func (o OptCreateToolRequestDeliveryAPI) Or(d CreateToolRequestDeliveryAPI) CreateToolRequestDeliveryAPI
- func (o *OptCreateToolRequestDeliveryAPI) Reset()
- func (o *OptCreateToolRequestDeliveryAPI) SetTo(v CreateToolRequestDeliveryAPI)
- func (s *OptCreateToolRequestDeliveryAPI) UnmarshalJSON(data []byte) error
- type OptCreateToolRequestDeliveryAPIAuthType
- func (o *OptCreateToolRequestDeliveryAPIAuthType) Decode(d *jx.Decoder) error
- func (o OptCreateToolRequestDeliveryAPIAuthType) Encode(e *jx.Encoder)
- func (o OptCreateToolRequestDeliveryAPIAuthType) Get() (v CreateToolRequestDeliveryAPIAuthType, ok bool)
- func (o OptCreateToolRequestDeliveryAPIAuthType) IsSet() bool
- func (s OptCreateToolRequestDeliveryAPIAuthType) MarshalJSON() ([]byte, error)
- func (o OptCreateToolRequestDeliveryAPIAuthType) Or(d CreateToolRequestDeliveryAPIAuthType) CreateToolRequestDeliveryAPIAuthType
- func (o *OptCreateToolRequestDeliveryAPIAuthType) Reset()
- func (o *OptCreateToolRequestDeliveryAPIAuthType) SetTo(v CreateToolRequestDeliveryAPIAuthType)
- func (s *OptCreateToolRequestDeliveryAPIAuthType) UnmarshalJSON(data []byte) error
- type OptCreateToolRequestDeliveryAPIHeaders
- func (o *OptCreateToolRequestDeliveryAPIHeaders) Decode(d *jx.Decoder) error
- func (o OptCreateToolRequestDeliveryAPIHeaders) Encode(e *jx.Encoder)
- func (o OptCreateToolRequestDeliveryAPIHeaders) Get() (v CreateToolRequestDeliveryAPIHeaders, ok bool)
- func (o OptCreateToolRequestDeliveryAPIHeaders) IsSet() bool
- func (s OptCreateToolRequestDeliveryAPIHeaders) MarshalJSON() ([]byte, error)
- func (o OptCreateToolRequestDeliveryAPIHeaders) Or(d CreateToolRequestDeliveryAPIHeaders) CreateToolRequestDeliveryAPIHeaders
- func (o *OptCreateToolRequestDeliveryAPIHeaders) Reset()
- func (o *OptCreateToolRequestDeliveryAPIHeaders) SetTo(v CreateToolRequestDeliveryAPIHeaders)
- func (s *OptCreateToolRequestDeliveryAPIHeaders) UnmarshalJSON(data []byte) error
- type OptCreateToolRequestOnCall
- func (o *OptCreateToolRequestOnCall) Decode(d *jx.Decoder) error
- func (o OptCreateToolRequestOnCall) Encode(e *jx.Encoder)
- func (o OptCreateToolRequestOnCall) Get() (v CreateToolRequestOnCall, ok bool)
- func (o OptCreateToolRequestOnCall) IsSet() bool
- func (s OptCreateToolRequestOnCall) MarshalJSON() ([]byte, error)
- func (o OptCreateToolRequestOnCall) Or(d CreateToolRequestOnCall) CreateToolRequestOnCall
- func (o *OptCreateToolRequestOnCall) Reset()
- func (o *OptCreateToolRequestOnCall) SetTo(v CreateToolRequestOnCall)
- func (s *OptCreateToolRequestOnCall) UnmarshalJSON(data []byte) error
- type OptCreateToolRequestOnResolve
- func (o *OptCreateToolRequestOnResolve) Decode(d *jx.Decoder) error
- func (o OptCreateToolRequestOnResolve) Encode(e *jx.Encoder)
- func (o OptCreateToolRequestOnResolve) Get() (v CreateToolRequestOnResolve, ok bool)
- func (o OptCreateToolRequestOnResolve) IsSet() bool
- func (s OptCreateToolRequestOnResolve) MarshalJSON() ([]byte, error)
- func (o OptCreateToolRequestOnResolve) Or(d CreateToolRequestOnResolve) CreateToolRequestOnResolve
- func (o *OptCreateToolRequestOnResolve) Reset()
- func (o *OptCreateToolRequestOnResolve) SetTo(v CreateToolRequestOnResolve)
- func (s *OptCreateToolRequestOnResolve) UnmarshalJSON(data []byte) error
- type OptCreateToolRequestOrigin
- func (o *OptCreateToolRequestOrigin) Decode(d *jx.Decoder) error
- func (o OptCreateToolRequestOrigin) Encode(e *jx.Encoder)
- func (o OptCreateToolRequestOrigin) Get() (v CreateToolRequestOrigin, ok bool)
- func (o OptCreateToolRequestOrigin) IsSet() bool
- func (s OptCreateToolRequestOrigin) MarshalJSON() ([]byte, error)
- func (o OptCreateToolRequestOrigin) Or(d CreateToolRequestOrigin) CreateToolRequestOrigin
- func (o *OptCreateToolRequestOrigin) Reset()
- func (o *OptCreateToolRequestOrigin) SetTo(v CreateToolRequestOrigin)
- func (s *OptCreateToolRequestOrigin) UnmarshalJSON(data []byte) error
- type OptCreateToolRequestParameters
- func (o *OptCreateToolRequestParameters) Decode(d *jx.Decoder) error
- func (o OptCreateToolRequestParameters) Encode(e *jx.Encoder)
- func (o OptCreateToolRequestParameters) Get() (v CreateToolRequestParameters, ok bool)
- func (o OptCreateToolRequestParameters) IsSet() bool
- func (s OptCreateToolRequestParameters) MarshalJSON() ([]byte, error)
- func (o OptCreateToolRequestParameters) Or(d CreateToolRequestParameters) CreateToolRequestParameters
- func (o *OptCreateToolRequestParameters) Reset()
- func (o *OptCreateToolRequestParameters) SetTo(v CreateToolRequestParameters)
- func (s *OptCreateToolRequestParameters) UnmarshalJSON(data []byte) error
- type OptCreateToolRequestTriggerType
- func (o *OptCreateToolRequestTriggerType) Decode(d *jx.Decoder) error
- func (o OptCreateToolRequestTriggerType) Encode(e *jx.Encoder)
- func (o OptCreateToolRequestTriggerType) Get() (v CreateToolRequestTriggerType, ok bool)
- func (o OptCreateToolRequestTriggerType) IsSet() bool
- func (s OptCreateToolRequestTriggerType) MarshalJSON() ([]byte, error)
- func (o OptCreateToolRequestTriggerType) Or(d CreateToolRequestTriggerType) CreateToolRequestTriggerType
- func (o *OptCreateToolRequestTriggerType) Reset()
- func (o *OptCreateToolRequestTriggerType) SetTo(v CreateToolRequestTriggerType)
- func (s *OptCreateToolRequestTriggerType) UnmarshalJSON(data []byte) error
- type OptCreateVideoRequestProperties
- func (o *OptCreateVideoRequestProperties) Decode(d *jx.Decoder) error
- func (o OptCreateVideoRequestProperties) Encode(e *jx.Encoder)
- func (o OptCreateVideoRequestProperties) Get() (v CreateVideoRequestProperties, ok bool)
- func (o OptCreateVideoRequestProperties) IsSet() bool
- func (s OptCreateVideoRequestProperties) MarshalJSON() ([]byte, error)
- func (o OptCreateVideoRequestProperties) Or(d CreateVideoRequestProperties) CreateVideoRequestProperties
- func (o *OptCreateVideoRequestProperties) Reset()
- func (o *OptCreateVideoRequestProperties) SetTo(v CreateVideoRequestProperties)
- func (s *OptCreateVideoRequestProperties) UnmarshalJSON(data []byte) error
- type OptCreateVideoRequestPropertiesBackgroundScrollDepth
- func (o *OptCreateVideoRequestPropertiesBackgroundScrollDepth) Decode(d *jx.Decoder) error
- func (o OptCreateVideoRequestPropertiesBackgroundScrollDepth) Encode(e *jx.Encoder)
- func (o OptCreateVideoRequestPropertiesBackgroundScrollDepth) Get() (v CreateVideoRequestPropertiesBackgroundScrollDepth, ok bool)
- func (o OptCreateVideoRequestPropertiesBackgroundScrollDepth) IsSet() bool
- func (s OptCreateVideoRequestPropertiesBackgroundScrollDepth) MarshalJSON() ([]byte, error)
- func (o OptCreateVideoRequestPropertiesBackgroundScrollDepth) Or(d CreateVideoRequestPropertiesBackgroundScrollDepth) CreateVideoRequestPropertiesBackgroundScrollDepth
- func (o *OptCreateVideoRequestPropertiesBackgroundScrollDepth) Reset()
- func (o *OptCreateVideoRequestPropertiesBackgroundScrollDepth) SetTo(v CreateVideoRequestPropertiesBackgroundScrollDepth)
- func (s *OptCreateVideoRequestPropertiesBackgroundScrollDepth) UnmarshalJSON(data []byte) error
- type OptCreateVideoRequestPropertiesBackgroundScrollReturn
- func (o *OptCreateVideoRequestPropertiesBackgroundScrollReturn) Decode(d *jx.Decoder) error
- func (o OptCreateVideoRequestPropertiesBackgroundScrollReturn) Encode(e *jx.Encoder)
- func (o OptCreateVideoRequestPropertiesBackgroundScrollReturn) Get() (v CreateVideoRequestPropertiesBackgroundScrollReturn, ok bool)
- func (o OptCreateVideoRequestPropertiesBackgroundScrollReturn) IsSet() bool
- func (s OptCreateVideoRequestPropertiesBackgroundScrollReturn) MarshalJSON() ([]byte, error)
- func (o OptCreateVideoRequestPropertiesBackgroundScrollReturn) Or(d CreateVideoRequestPropertiesBackgroundScrollReturn) CreateVideoRequestPropertiesBackgroundScrollReturn
- func (o *OptCreateVideoRequestPropertiesBackgroundScrollReturn) Reset()
- func (o *OptCreateVideoRequestPropertiesBackgroundScrollReturn) SetTo(v CreateVideoRequestPropertiesBackgroundScrollReturn)
- func (s *OptCreateVideoRequestPropertiesBackgroundScrollReturn) UnmarshalJSON(data []byte) error
- type OptCreateVideoRequestPropertiesBackgroundScrollType
- func (o *OptCreateVideoRequestPropertiesBackgroundScrollType) Decode(d *jx.Decoder) error
- func (o OptCreateVideoRequestPropertiesBackgroundScrollType) Encode(e *jx.Encoder)
- func (o OptCreateVideoRequestPropertiesBackgroundScrollType) Get() (v CreateVideoRequestPropertiesBackgroundScrollType, ok bool)
- func (o OptCreateVideoRequestPropertiesBackgroundScrollType) IsSet() bool
- func (s OptCreateVideoRequestPropertiesBackgroundScrollType) MarshalJSON() ([]byte, error)
- func (o OptCreateVideoRequestPropertiesBackgroundScrollType) Or(d CreateVideoRequestPropertiesBackgroundScrollType) CreateVideoRequestPropertiesBackgroundScrollType
- func (o *OptCreateVideoRequestPropertiesBackgroundScrollType) Reset()
- func (o *OptCreateVideoRequestPropertiesBackgroundScrollType) SetTo(v CreateVideoRequestPropertiesBackgroundScrollType)
- func (s *OptCreateVideoRequestPropertiesBackgroundScrollType) UnmarshalJSON(data []byte) error
- type OptCreateVideoResponseStatus
- func (o *OptCreateVideoResponseStatus) Decode(d *jx.Decoder) error
- func (o OptCreateVideoResponseStatus) Encode(e *jx.Encoder)
- func (o OptCreateVideoResponseStatus) Get() (v CreateVideoResponseStatus, ok bool)
- func (o OptCreateVideoResponseStatus) IsSet() bool
- func (s OptCreateVideoResponseStatus) MarshalJSON() ([]byte, error)
- func (o OptCreateVideoResponseStatus) Or(d CreateVideoResponseStatus) CreateVideoResponseStatus
- func (o *OptCreateVideoResponseStatus) Reset()
- func (o *OptCreateVideoResponseStatus) SetTo(v CreateVideoResponseStatus)
- func (s *OptCreateVideoResponseStatus) UnmarshalJSON(data []byte) error
- type OptDeploymentCustomization
- func (o *OptDeploymentCustomization) Decode(d *jx.Decoder) error
- func (o OptDeploymentCustomization) Encode(e *jx.Encoder)
- func (o OptDeploymentCustomization) Get() (v DeploymentCustomization, ok bool)
- func (o OptDeploymentCustomization) IsSet() bool
- func (s OptDeploymentCustomization) MarshalJSON() ([]byte, error)
- func (o OptDeploymentCustomization) Or(d DeploymentCustomization) DeploymentCustomization
- func (o *OptDeploymentCustomization) Reset()
- func (o *OptDeploymentCustomization) SetTo(v DeploymentCustomization)
- func (s *OptDeploymentCustomization) UnmarshalJSON(data []byte) error
- type OptDocumentStatus
- func (o *OptDocumentStatus) Decode(d *jx.Decoder) error
- func (o OptDocumentStatus) Encode(e *jx.Encoder)
- func (o OptDocumentStatus) Get() (v DocumentStatus, ok bool)
- func (o OptDocumentStatus) IsSet() bool
- func (s OptDocumentStatus) MarshalJSON() ([]byte, error)
- func (o OptDocumentStatus) Or(d DocumentStatus) DocumentStatus
- func (o *OptDocumentStatus) Reset()
- func (o *OptDocumentStatus) SetTo(v DocumentStatus)
- func (s *OptDocumentStatus) UnmarshalJSON(data []byte) error
- type OptFaceStatus
- func (o *OptFaceStatus) Decode(d *jx.Decoder) error
- func (o OptFaceStatus) Encode(e *jx.Encoder)
- func (o OptFaceStatus) Get() (v FaceStatus, ok bool)
- func (o OptFaceStatus) IsSet() bool
- func (s OptFaceStatus) MarshalJSON() ([]byte, error)
- func (o OptFaceStatus) Or(d FaceStatus) FaceStatus
- func (o *OptFaceStatus) Reset()
- func (o *OptFaceStatus) SetTo(v FaceStatus)
- func (s *OptFaceStatus) UnmarshalJSON(data []byte) error
- type OptFloat64
- func (o *OptFloat64) Decode(d *jx.Decoder) error
- func (o OptFloat64) Encode(e *jx.Encoder)
- func (o OptFloat64) Get() (v float64, ok bool)
- func (o OptFloat64) IsSet() bool
- func (s OptFloat64) MarshalJSON() ([]byte, error)
- func (o OptFloat64) Or(d float64) float64
- func (o *OptFloat64) Reset()
- func (o *OptFloat64) SetTo(v float64)
- func (s *OptFloat64) UnmarshalJSON(data []byte) error
- type OptInt
- func (o *OptInt) Decode(d *jx.Decoder) error
- func (o OptInt) Encode(e *jx.Encoder)
- func (o OptInt) Get() (v int, ok bool)
- func (o OptInt) IsSet() bool
- func (s OptInt) MarshalJSON() ([]byte, error)
- func (o OptInt) Or(d int) int
- func (o *OptInt) Reset()
- func (o *OptInt) SetTo(v int)
- func (s *OptInt) UnmarshalJSON(data []byte) error
- type OptListVoicesSort
- type OptLlmLayer
- func (o *OptLlmLayer) Decode(d *jx.Decoder) error
- func (o OptLlmLayer) Encode(e *jx.Encoder)
- func (o OptLlmLayer) Get() (v LlmLayer, ok bool)
- func (o OptLlmLayer) IsSet() bool
- func (s OptLlmLayer) MarshalJSON() ([]byte, error)
- func (o OptLlmLayer) Or(d LlmLayer) LlmLayer
- func (o *OptLlmLayer) Reset()
- func (o *OptLlmLayer) SetTo(v LlmLayer)
- func (s *OptLlmLayer) UnmarshalJSON(data []byte) error
- type OptLlmLayerExtraBody
- func (o *OptLlmLayerExtraBody) Decode(d *jx.Decoder) error
- func (o OptLlmLayerExtraBody) Encode(e *jx.Encoder)
- func (o OptLlmLayerExtraBody) Get() (v LlmLayerExtraBody, ok bool)
- func (o OptLlmLayerExtraBody) IsSet() bool
- func (s OptLlmLayerExtraBody) MarshalJSON() ([]byte, error)
- func (o OptLlmLayerExtraBody) Or(d LlmLayerExtraBody) LlmLayerExtraBody
- func (o *OptLlmLayerExtraBody) Reset()
- func (o *OptLlmLayerExtraBody) SetTo(v LlmLayerExtraBody)
- func (s *OptLlmLayerExtraBody) UnmarshalJSON(data []byte) error
- type OptObjectiveItemConfirmationMode
- func (o *OptObjectiveItemConfirmationMode) Decode(d *jx.Decoder) error
- func (o OptObjectiveItemConfirmationMode) Encode(e *jx.Encoder)
- func (o OptObjectiveItemConfirmationMode) Get() (v ObjectiveItemConfirmationMode, ok bool)
- func (o OptObjectiveItemConfirmationMode) IsSet() bool
- func (s OptObjectiveItemConfirmationMode) MarshalJSON() ([]byte, error)
- func (o OptObjectiveItemConfirmationMode) Or(d ObjectiveItemConfirmationMode) ObjectiveItemConfirmationMode
- func (o *OptObjectiveItemConfirmationMode) Reset()
- func (o *OptObjectiveItemConfirmationMode) SetTo(v ObjectiveItemConfirmationMode)
- func (s *OptObjectiveItemConfirmationMode) UnmarshalJSON(data []byte) error
- type OptObjectiveItemModality
- func (o *OptObjectiveItemModality) Decode(d *jx.Decoder) error
- func (o OptObjectiveItemModality) Encode(e *jx.Encoder)
- func (o OptObjectiveItemModality) Get() (v ObjectiveItemModality, ok bool)
- func (o OptObjectiveItemModality) IsSet() bool
- func (s OptObjectiveItemModality) MarshalJSON() ([]byte, error)
- func (o OptObjectiveItemModality) Or(d ObjectiveItemModality) ObjectiveItemModality
- func (o *OptObjectiveItemModality) Reset()
- func (o *OptObjectiveItemModality) SetTo(v ObjectiveItemModality)
- func (s *OptObjectiveItemModality) UnmarshalJSON(data []byte) error
- type OptObjectiveItemNextConditionalObjectives
- func (o *OptObjectiveItemNextConditionalObjectives) Decode(d *jx.Decoder) error
- func (o OptObjectiveItemNextConditionalObjectives) Encode(e *jx.Encoder)
- func (o OptObjectiveItemNextConditionalObjectives) Get() (v ObjectiveItemNextConditionalObjectives, ok bool)
- func (o OptObjectiveItemNextConditionalObjectives) IsSet() bool
- func (s OptObjectiveItemNextConditionalObjectives) MarshalJSON() ([]byte, error)
- func (o OptObjectiveItemNextConditionalObjectives) Or(d ObjectiveItemNextConditionalObjectives) ObjectiveItemNextConditionalObjectives
- func (o *OptObjectiveItemNextConditionalObjectives) Reset()
- func (o *OptObjectiveItemNextConditionalObjectives) SetTo(v ObjectiveItemNextConditionalObjectives)
- func (s *OptObjectiveItemNextConditionalObjectives) UnmarshalJSON(data []byte) error
- type OptPalLayers
- func (o *OptPalLayers) Decode(d *jx.Decoder) error
- func (o OptPalLayers) Encode(e *jx.Encoder)
- func (o OptPalLayers) Get() (v PalLayers, ok bool)
- func (o OptPalLayers) IsSet() bool
- func (s OptPalLayers) MarshalJSON() ([]byte, error)
- func (o OptPalLayers) Or(d PalLayers) PalLayers
- func (o *OptPalLayers) Reset()
- func (o *OptPalLayers) SetTo(v PalLayers)
- func (s *OptPalLayers) UnmarshalJSON(data []byte) error
- type OptPerceptionLayer
- func (o *OptPerceptionLayer) Decode(d *jx.Decoder) error
- func (o OptPerceptionLayer) Encode(e *jx.Encoder)
- func (o OptPerceptionLayer) Get() (v PerceptionLayer, ok bool)
- func (o OptPerceptionLayer) IsSet() bool
- func (s OptPerceptionLayer) MarshalJSON() ([]byte, error)
- func (o OptPerceptionLayer) Or(d PerceptionLayer) PerceptionLayer
- func (o *OptPerceptionLayer) Reset()
- func (o *OptPerceptionLayer) SetTo(v PerceptionLayer)
- func (s *OptPerceptionLayer) UnmarshalJSON(data []byte) error
- type OptPerceptionLayerPerceptionModel
- func (o *OptPerceptionLayerPerceptionModel) Decode(d *jx.Decoder) error
- func (o OptPerceptionLayerPerceptionModel) Encode(e *jx.Encoder)
- func (o OptPerceptionLayerPerceptionModel) Get() (v PerceptionLayerPerceptionModel, ok bool)
- func (o OptPerceptionLayerPerceptionModel) IsSet() bool
- func (s OptPerceptionLayerPerceptionModel) MarshalJSON() ([]byte, error)
- func (o OptPerceptionLayerPerceptionModel) Or(d PerceptionLayerPerceptionModel) PerceptionLayerPerceptionModel
- func (o *OptPerceptionLayerPerceptionModel) Reset()
- func (o *OptPerceptionLayerPerceptionModel) SetTo(v PerceptionLayerPerceptionModel)
- func (s *OptPerceptionLayerPerceptionModel) UnmarshalJSON(data []byte) error
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- type OptSttLayer
- func (o *OptSttLayer) Decode(d *jx.Decoder) error
- func (o OptSttLayer) Encode(e *jx.Encoder)
- func (o OptSttLayer) Get() (v SttLayer, ok bool)
- func (o OptSttLayer) IsSet() bool
- func (s OptSttLayer) MarshalJSON() ([]byte, error)
- func (o OptSttLayer) Or(d SttLayer) SttLayer
- func (o *OptSttLayer) Reset()
- func (o *OptSttLayer) SetTo(v SttLayer)
- func (s *OptSttLayer) UnmarshalJSON(data []byte) error
- type OptTimestamp
- func (o *OptTimestamp) Decode(d *jx.Decoder) error
- func (o OptTimestamp) Encode(e *jx.Encoder)
- func (o OptTimestamp) Get() (v Timestamp, ok bool)
- func (o OptTimestamp) IsSet() bool
- func (s OptTimestamp) MarshalJSON() ([]byte, error)
- func (o OptTimestamp) Or(d Timestamp) Timestamp
- func (o *OptTimestamp) Reset()
- func (o *OptTimestamp) SetTo(v Timestamp)
- func (s *OptTimestamp) UnmarshalJSON(data []byte) error
- type OptToolParameters
- func (o *OptToolParameters) Decode(d *jx.Decoder) error
- func (o OptToolParameters) Encode(e *jx.Encoder)
- func (o OptToolParameters) Get() (v ToolParameters, ok bool)
- func (o OptToolParameters) IsSet() bool
- func (s OptToolParameters) MarshalJSON() ([]byte, error)
- func (o OptToolParameters) Or(d ToolParameters) ToolParameters
- func (o *OptToolParameters) Reset()
- func (o *OptToolParameters) SetTo(v ToolParameters)
- func (s *OptToolParameters) UnmarshalJSON(data []byte) error
- type OptTransportLayer
- func (o *OptTransportLayer) Decode(d *jx.Decoder) error
- func (o OptTransportLayer) Encode(e *jx.Encoder)
- func (o OptTransportLayer) Get() (v TransportLayer, ok bool)
- func (o OptTransportLayer) IsSet() bool
- func (s OptTransportLayer) MarshalJSON() ([]byte, error)
- func (o OptTransportLayer) Or(d TransportLayer) TransportLayer
- func (o *OptTransportLayer) Reset()
- func (o *OptTransportLayer) SetTo(v TransportLayer)
- func (s *OptTransportLayer) UnmarshalJSON(data []byte) error
- type OptTtsLayer
- func (o *OptTtsLayer) Decode(d *jx.Decoder) error
- func (o OptTtsLayer) Encode(e *jx.Encoder)
- func (o OptTtsLayer) Get() (v TtsLayer, ok bool)
- func (o OptTtsLayer) IsSet() bool
- func (s OptTtsLayer) MarshalJSON() ([]byte, error)
- func (o OptTtsLayer) Or(d TtsLayer) TtsLayer
- func (o *OptTtsLayer) Reset()
- func (o *OptTtsLayer) SetTo(v TtsLayer)
- func (s *OptTtsLayer) UnmarshalJSON(data []byte) error
- type OptTtsLayerVoiceSettings
- func (o *OptTtsLayerVoiceSettings) Decode(d *jx.Decoder) error
- func (o OptTtsLayerVoiceSettings) Encode(e *jx.Encoder)
- func (o OptTtsLayerVoiceSettings) Get() (v TtsLayerVoiceSettings, ok bool)
- func (o OptTtsLayerVoiceSettings) IsSet() bool
- func (s OptTtsLayerVoiceSettings) MarshalJSON() ([]byte, error)
- func (o OptTtsLayerVoiceSettings) Or(d TtsLayerVoiceSettings) TtsLayerVoiceSettings
- func (o *OptTtsLayerVoiceSettings) Reset()
- func (o *OptTtsLayerVoiceSettings) SetTo(v TtsLayerVoiceSettings)
- func (s *OptTtsLayerVoiceSettings) UnmarshalJSON(data []byte) error
- type OptURI
- func (o *OptURI) Decode(d *jx.Decoder) error
- func (o OptURI) Encode(e *jx.Encoder)
- func (o OptURI) Get() (v url.URL, ok bool)
- func (o OptURI) IsSet() bool
- func (s OptURI) MarshalJSON() ([]byte, error)
- func (o OptURI) Or(d url.URL) url.URL
- func (o *OptURI) Reset()
- func (o *OptURI) SetTo(v url.URL)
- func (s *OptURI) UnmarshalJSON(data []byte) error
- type OptUpdateDeploymentRequestCustomization
- func (o *OptUpdateDeploymentRequestCustomization) Decode(d *jx.Decoder) error
- func (o OptUpdateDeploymentRequestCustomization) Encode(e *jx.Encoder)
- func (o OptUpdateDeploymentRequestCustomization) Get() (v UpdateDeploymentRequestCustomization, ok bool)
- func (o OptUpdateDeploymentRequestCustomization) IsSet() bool
- func (s OptUpdateDeploymentRequestCustomization) MarshalJSON() ([]byte, error)
- func (o OptUpdateDeploymentRequestCustomization) Or(d UpdateDeploymentRequestCustomization) UpdateDeploymentRequestCustomization
- func (o *OptUpdateDeploymentRequestCustomization) Reset()
- func (o *OptUpdateDeploymentRequestCustomization) SetTo(v UpdateDeploymentRequestCustomization)
- func (s *OptUpdateDeploymentRequestCustomization) UnmarshalJSON(data []byte) error
- type OptUpdateToolRequestParameters
- func (o *OptUpdateToolRequestParameters) Decode(d *jx.Decoder) error
- func (o OptUpdateToolRequestParameters) Encode(e *jx.Encoder)
- func (o OptUpdateToolRequestParameters) Get() (v UpdateToolRequestParameters, ok bool)
- func (o OptUpdateToolRequestParameters) IsSet() bool
- func (s OptUpdateToolRequestParameters) MarshalJSON() ([]byte, error)
- func (o OptUpdateToolRequestParameters) Or(d UpdateToolRequestParameters) UpdateToolRequestParameters
- func (o *OptUpdateToolRequestParameters) Reset()
- func (o *OptUpdateToolRequestParameters) SetTo(v UpdateToolRequestParameters)
- func (s *OptUpdateToolRequestParameters) UnmarshalJSON(data []byte) error
- type OptVideoStatus
- func (o *OptVideoStatus) Decode(d *jx.Decoder) error
- func (o OptVideoStatus) Encode(e *jx.Encoder)
- func (o OptVideoStatus) Get() (v VideoStatus, ok bool)
- func (o OptVideoStatus) IsSet() bool
- func (s OptVideoStatus) MarshalJSON() ([]byte, error)
- func (o OptVideoStatus) Or(d VideoStatus) VideoStatus
- func (o *OptVideoStatus) Reset()
- func (o *OptVideoStatus) SetTo(v VideoStatus)
- func (s *OptVideoStatus) UnmarshalJSON(data []byte) error
- type Option
- type Pal
- func (s *Pal) Decode(d *jx.Decoder) error
- func (s *Pal) Encode(e *jx.Encoder)
- func (s *Pal) GetConferencingEmail() OptString
- func (s *Pal) GetCreatedAt() OptTimestamp
- func (s *Pal) GetDefaultFaceID() OptString
- func (s *Pal) GetDocumentIds() []string
- func (s *Pal) GetDocumentTags() []string
- func (s *Pal) GetLayers() OptPalLayers
- func (s *Pal) GetPalID() OptString
- func (s *Pal) GetPalName() OptString
- func (s *Pal) GetPipelineMode() OptString
- func (s *Pal) GetSystemPrompt() OptString
- func (s *Pal) GetUpdatedAt() OptTimestamp
- func (s *Pal) MarshalJSON() ([]byte, error)
- func (s *Pal) SetConferencingEmail(val OptString)
- func (s *Pal) SetCreatedAt(val OptTimestamp)
- func (s *Pal) SetDefaultFaceID(val OptString)
- func (s *Pal) SetDocumentIds(val []string)
- func (s *Pal) SetDocumentTags(val []string)
- func (s *Pal) SetLayers(val OptPalLayers)
- func (s *Pal) SetPalID(val OptString)
- func (s *Pal) SetPalName(val OptString)
- func (s *Pal) SetPipelineMode(val OptString)
- func (s *Pal) SetSystemPrompt(val OptString)
- func (s *Pal) SetUpdatedAt(val OptTimestamp)
- func (s *Pal) UnmarshalJSON(data []byte) error
- func (s *Pal) Validate() error
- type PalLayers
- func (s *PalLayers) Decode(d *jx.Decoder) error
- func (s *PalLayers) Encode(e *jx.Encoder)
- func (s *PalLayers) GetConversationalFlow() OptConversationalFlowLayer
- func (s *PalLayers) GetLlm() OptLlmLayer
- func (s *PalLayers) GetPerception() OptPerceptionLayer
- func (s *PalLayers) GetStt() OptSttLayer
- func (s *PalLayers) GetTransport() OptTransportLayer
- func (s *PalLayers) GetTts() OptTtsLayer
- func (s *PalLayers) MarshalJSON() ([]byte, error)
- func (s *PalLayers) SetConversationalFlow(val OptConversationalFlowLayer)
- func (s *PalLayers) SetLlm(val OptLlmLayer)
- func (s *PalLayers) SetPerception(val OptPerceptionLayer)
- func (s *PalLayers) SetStt(val OptSttLayer)
- func (s *PalLayers) SetTransport(val OptTransportLayer)
- func (s *PalLayers) SetTts(val OptTtsLayer)
- func (s *PalLayers) UnmarshalJSON(data []byte) error
- func (s *PalLayers) Validate() error
- type PerceptionLayer
- func (s *PerceptionLayer) Decode(d *jx.Decoder) error
- func (s *PerceptionLayer) Encode(e *jx.Encoder)
- func (s *PerceptionLayer) GetAudioAwarenessQueries() []string
- func (s *PerceptionLayer) GetPerceptionModel() OptPerceptionLayerPerceptionModel
- func (s *PerceptionLayer) GetVisualAwarenessQueries() []string
- func (s *PerceptionLayer) MarshalJSON() ([]byte, error)
- func (s *PerceptionLayer) SetAudioAwarenessQueries(val []string)
- func (s *PerceptionLayer) SetPerceptionModel(val OptPerceptionLayerPerceptionModel)
- func (s *PerceptionLayer) SetVisualAwarenessQueries(val []string)
- func (s *PerceptionLayer) UnmarshalJSON(data []byte) error
- func (s *PerceptionLayer) Validate() error
- type PerceptionLayerPerceptionModel
- func (PerceptionLayerPerceptionModel) AllValues() []PerceptionLayerPerceptionModel
- func (s *PerceptionLayerPerceptionModel) Decode(d *jx.Decoder) error
- func (s PerceptionLayerPerceptionModel) Encode(e *jx.Encoder)
- func (s PerceptionLayerPerceptionModel) MarshalJSON() ([]byte, error)
- func (s PerceptionLayerPerceptionModel) MarshalText() ([]byte, error)
- func (s *PerceptionLayerPerceptionModel) UnmarshalJSON(data []byte) error
- func (s *PerceptionLayerPerceptionModel) UnmarshalText(data []byte) error
- func (s PerceptionLayerPerceptionModel) Validate() error
- type RenameFaceNotFound
- type RenameFaceOK
- type RenameFaceParams
- type RenameFaceReq
- func (s *RenameFaceReq) Decode(d *jx.Decoder) error
- func (s *RenameFaceReq) Encode(e *jx.Encoder)
- func (s *RenameFaceReq) GetFaceName() string
- func (s *RenameFaceReq) MarshalJSON() ([]byte, error)
- func (s *RenameFaceReq) SetFaceName(val string)
- func (s *RenameFaceReq) UnmarshalJSON(data []byte) error
- type RenameFaceRes
- type RenameFaceUnauthorized
- type RenameVideoNotFound
- type RenameVideoOK
- type RenameVideoParams
- type RenameVideoReq
- func (s *RenameVideoReq) Decode(d *jx.Decoder) error
- func (s *RenameVideoReq) Encode(e *jx.Encoder)
- func (s *RenameVideoReq) GetVideoName() string
- func (s *RenameVideoReq) MarshalJSON() ([]byte, error)
- func (s *RenameVideoReq) SetVideoName(val string)
- func (s *RenameVideoReq) UnmarshalJSON(data []byte) error
- type RenameVideoRes
- type RenameVideoUnauthorized
- type Route
- type SecurityHandler
- type SecuritySource
- type Server
- type ServerOption
- func WithErrorHandler(h ErrorHandler) ServerOption
- func WithMaxMultipartMemory(max int64) ServerOption
- func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
- func WithMiddleware(m ...Middleware) ServerOption
- func WithNotFound(notFound http.HandlerFunc) ServerOption
- func WithPathPrefix(prefix string) ServerOption
- type SttLayer
- func (s *SttLayer) Decode(d *jx.Decoder) error
- func (s *SttLayer) Encode(e *jx.Encoder)
- func (s *SttLayer) GetHotwords() OptString
- func (s *SttLayer) GetSttEngine() OptString
- func (s *SttLayer) MarshalJSON() ([]byte, error)
- func (s *SttLayer) SetHotwords(val OptString)
- func (s *SttLayer) SetSttEngine(val OptString)
- func (s *SttLayer) UnmarshalJSON(data []byte) error
- type Timestamp
- type Tool
- func (s *Tool) Decode(d *jx.Decoder) error
- func (s *Tool) Encode(e *jx.Encoder)
- func (s *Tool) GetCreatedAt() OptTimestamp
- func (s *Tool) GetDelivery() *ToolDelivery
- func (s *Tool) GetDescription() OptString
- func (s *Tool) GetName() OptString
- func (s *Tool) GetOnCall() OptString
- func (s *Tool) GetOnResolve() OptString
- func (s *Tool) GetOrigin() OptString
- func (s *Tool) GetParameters() OptToolParameters
- func (s *Tool) GetTags() []string
- func (s *Tool) GetToolID() OptString
- func (s *Tool) GetTriggerType() OptString
- func (s *Tool) GetUpdatedAt() OptTimestamp
- func (s *Tool) MarshalJSON() ([]byte, error)
- func (s *Tool) SetCreatedAt(val OptTimestamp)
- func (s *Tool) SetDelivery(val *ToolDelivery)
- func (s *Tool) SetDescription(val OptString)
- func (s *Tool) SetName(val OptString)
- func (s *Tool) SetOnCall(val OptString)
- func (s *Tool) SetOnResolve(val OptString)
- func (s *Tool) SetOrigin(val OptString)
- func (s *Tool) SetParameters(val OptToolParameters)
- func (s *Tool) SetTags(val []string)
- func (s *Tool) SetToolID(val OptString)
- func (s *Tool) SetTriggerType(val OptString)
- func (s *Tool) SetUpdatedAt(val OptTimestamp)
- func (s *Tool) UnmarshalJSON(data []byte) error
- type ToolDelivery
- type ToolParameters
- type TransportLayer
- func (s *TransportLayer) Decode(d *jx.Decoder) error
- func (s *TransportLayer) Encode(e *jx.Encoder)
- func (s *TransportLayer) GetTransportType() OptString
- func (s *TransportLayer) MarshalJSON() ([]byte, error)
- func (s *TransportLayer) SetTransportType(val OptString)
- func (s *TransportLayer) UnmarshalJSON(data []byte) error
- type TtsLayer
- func (s *TtsLayer) Decode(d *jx.Decoder) error
- func (s *TtsLayer) Encode(e *jx.Encoder)
- func (s *TtsLayer) GetExternalVoiceID() OptString
- func (s *TtsLayer) GetTtsEngine() OptString
- func (s *TtsLayer) GetTtsModelName() OptString
- func (s *TtsLayer) GetVoiceSettings() OptTtsLayerVoiceSettings
- func (s *TtsLayer) MarshalJSON() ([]byte, error)
- func (s *TtsLayer) SetExternalVoiceID(val OptString)
- func (s *TtsLayer) SetTtsEngine(val OptString)
- func (s *TtsLayer) SetTtsModelName(val OptString)
- func (s *TtsLayer) SetVoiceSettings(val OptTtsLayerVoiceSettings)
- func (s *TtsLayer) UnmarshalJSON(data []byte) error
- type TtsLayerVoiceSettings
- type UnimplementedHandler
- func (UnimplementedHandler) AttachToolToPal(ctx context.Context, req *AttachToolToPalReq, params AttachToolToPalParams) (r AttachToolToPalRes, _ error)
- func (UnimplementedHandler) CreateConversation(ctx context.Context, req *CreateConversationRequest) (r CreateConversationRes, _ error)
- func (UnimplementedHandler) CreateDeployment(ctx context.Context, req *CreateDeploymentRequest) (r CreateDeploymentRes, _ error)
- func (UnimplementedHandler) CreateDocument(ctx context.Context, req *CreateDocumentRequest) (r CreateDocumentRes, _ error)
- func (UnimplementedHandler) CreateFace(ctx context.Context, req *CreateFaceRequest) (r CreateFaceRes, _ error)
- func (UnimplementedHandler) CreateGuardrail(ctx context.Context, req *CreateGuardrailRequest) (r CreateGuardrailRes, _ error)
- func (UnimplementedHandler) CreateObjectives(ctx context.Context, req *CreateObjectivesRequest) (r CreateObjectivesRes, _ error)
- func (UnimplementedHandler) CreatePal(ctx context.Context, req *CreatePalRequest) (r CreatePalRes, _ error)
- func (UnimplementedHandler) CreateTool(ctx context.Context, req *CreateToolRequest) (r CreateToolRes, _ error)
- func (UnimplementedHandler) CreateVideo(ctx context.Context, req *CreateVideoRequest) (r CreateVideoRes, _ error)
- func (UnimplementedHandler) DeleteConversation(ctx context.Context, params DeleteConversationParams) (r DeleteConversationRes, _ error)
- func (UnimplementedHandler) DeleteDeployment(ctx context.Context, params DeleteDeploymentParams) (r DeleteDeploymentRes, _ error)
- func (UnimplementedHandler) DeleteDocument(ctx context.Context, params DeleteDocumentParams) (r DeleteDocumentRes, _ error)
- func (UnimplementedHandler) DeleteFace(ctx context.Context, params DeleteFaceParams) (r DeleteFaceRes, _ error)
- func (UnimplementedHandler) DeleteGuardrail(ctx context.Context, params DeleteGuardrailParams) (r DeleteGuardrailRes, _ error)
- func (UnimplementedHandler) DeleteObjectives(ctx context.Context, params DeleteObjectivesParams) (r DeleteObjectivesRes, _ error)
- func (UnimplementedHandler) DeletePal(ctx context.Context, params DeletePalParams) (r DeletePalRes, _ error)
- func (UnimplementedHandler) DeleteTool(ctx context.Context, params DeleteToolParams) (r DeleteToolRes, _ error)
- func (UnimplementedHandler) DeleteVideo(ctx context.Context, params DeleteVideoParams) (r DeleteVideoRes, _ error)
- func (UnimplementedHandler) EndConversation(ctx context.Context, params EndConversationParams) (r EndConversationRes, _ error)
- func (UnimplementedHandler) GetConversation(ctx context.Context, params GetConversationParams) (r GetConversationRes, _ error)
- func (UnimplementedHandler) GetDeployment(ctx context.Context, params GetDeploymentParams) (r GetDeploymentRes, _ error)
- func (UnimplementedHandler) GetDocument(ctx context.Context, params GetDocumentParams) (r GetDocumentRes, _ error)
- func (UnimplementedHandler) GetFace(ctx context.Context, params GetFaceParams) (r GetFaceRes, _ error)
- func (UnimplementedHandler) GetGuardrail(ctx context.Context, params GetGuardrailParams) (r GetGuardrailRes, _ error)
- func (UnimplementedHandler) GetObjectives(ctx context.Context, params GetObjectivesParams) (r GetObjectivesRes, _ error)
- func (UnimplementedHandler) GetPal(ctx context.Context, params GetPalParams) (r GetPalRes, _ error)
- func (UnimplementedHandler) GetTool(ctx context.Context, params GetToolParams) (r GetToolRes, _ error)
- func (UnimplementedHandler) GetVideo(ctx context.Context, params GetVideoParams) (r GetVideoRes, _ error)
- func (UnimplementedHandler) ListConversations(ctx context.Context, params ListConversationsParams) (r ListConversationsRes, _ error)
- func (UnimplementedHandler) ListDeployments(ctx context.Context, params ListDeploymentsParams) (r ListDeploymentsRes, _ error)
- func (UnimplementedHandler) ListDocuments(ctx context.Context, params ListDocumentsParams) (r ListDocumentsRes, _ error)
- func (UnimplementedHandler) ListFaces(ctx context.Context, params ListFacesParams) (r ListFacesRes, _ error)
- func (UnimplementedHandler) ListGuardrails(ctx context.Context, params ListGuardrailsParams) (r ListGuardrailsRes, _ error)
- func (UnimplementedHandler) ListObjectives(ctx context.Context, params ListObjectivesParams) (r ListObjectivesRes, _ error)
- func (UnimplementedHandler) ListPals(ctx context.Context, params ListPalsParams) (r ListPalsRes, _ error)
- func (UnimplementedHandler) ListTools(ctx context.Context, params ListToolsParams) (r ListToolsRes, _ error)
- func (UnimplementedHandler) ListVideos(ctx context.Context, params ListVideosParams) (r ListVideosRes, _ error)
- func (UnimplementedHandler) ListVoices(ctx context.Context, params ListVoicesParams) (r ListVoicesRes, _ error)
- func (UnimplementedHandler) RenameFace(ctx context.Context, req *RenameFaceReq, params RenameFaceParams) (r RenameFaceRes, _ error)
- func (UnimplementedHandler) RenameVideo(ctx context.Context, req *RenameVideoReq, params RenameVideoParams) (r RenameVideoRes, _ error)
- func (UnimplementedHandler) UpdateDeployment(ctx context.Context, req *UpdateDeploymentRequest, ...) (r UpdateDeploymentRes, _ error)
- func (UnimplementedHandler) UpdateDocument(ctx context.Context, req *UpdateDocumentRequest, params UpdateDocumentParams) (r UpdateDocumentRes, _ error)
- func (UnimplementedHandler) UpdateGuardrail(ctx context.Context, req *UpdateGuardrailRequest, params UpdateGuardrailParams) (r UpdateGuardrailRes, _ error)
- func (UnimplementedHandler) UpdateObjectives(ctx context.Context, req *UpdateObjectivesRequest, ...) (r UpdateObjectivesRes, _ error)
- func (UnimplementedHandler) UpdatePal(ctx context.Context, req *UpdatePalRequest, params UpdatePalParams) (r UpdatePalRes, _ error)
- func (UnimplementedHandler) UpdateTool(ctx context.Context, req *UpdateToolRequest, params UpdateToolParams) (r UpdateToolRes, _ error)
- type UpdateDeploymentNotFound
- type UpdateDeploymentParams
- type UpdateDeploymentRequest
- func (s *UpdateDeploymentRequest) Decode(d *jx.Decoder) error
- func (s *UpdateDeploymentRequest) Encode(e *jx.Encoder)
- func (s *UpdateDeploymentRequest) GetAllowedOrigins() []string
- func (s *UpdateDeploymentRequest) GetCustomization() OptUpdateDeploymentRequestCustomization
- func (s *UpdateDeploymentRequest) GetLimits() *UpdateDeploymentRequestLimits
- func (s *UpdateDeploymentRequest) GetName() OptString
- func (s *UpdateDeploymentRequest) GetPassword() OptString
- func (s *UpdateDeploymentRequest) MarshalJSON() ([]byte, error)
- func (s *UpdateDeploymentRequest) SetAllowedOrigins(val []string)
- func (s *UpdateDeploymentRequest) SetCustomization(val OptUpdateDeploymentRequestCustomization)
- func (s *UpdateDeploymentRequest) SetLimits(val *UpdateDeploymentRequestLimits)
- func (s *UpdateDeploymentRequest) SetName(val OptString)
- func (s *UpdateDeploymentRequest) SetPassword(val OptString)
- func (s *UpdateDeploymentRequest) UnmarshalJSON(data []byte) error
- type UpdateDeploymentRequestCustomization
- type UpdateDeploymentRequestLimits
- type UpdateDeploymentRes
- type UpdateDeploymentUnauthorized
- type UpdateDocumentNotFound
- type UpdateDocumentParams
- type UpdateDocumentRequest
- func (s *UpdateDocumentRequest) Decode(d *jx.Decoder) error
- func (s *UpdateDocumentRequest) Encode(e *jx.Encoder)
- func (s *UpdateDocumentRequest) GetDocumentName() OptString
- func (s *UpdateDocumentRequest) GetTags() []string
- func (s *UpdateDocumentRequest) MarshalJSON() ([]byte, error)
- func (s *UpdateDocumentRequest) SetDocumentName(val OptString)
- func (s *UpdateDocumentRequest) SetTags(val []string)
- func (s *UpdateDocumentRequest) UnmarshalJSON(data []byte) error
- type UpdateDocumentRes
- type UpdateDocumentUnauthorized
- type UpdateGuardrailNotFound
- type UpdateGuardrailParams
- type UpdateGuardrailRequest
- func (s *UpdateGuardrailRequest) Decode(d *jx.Decoder) error
- func (s *UpdateGuardrailRequest) Encode(e *jx.Encoder)
- func (s *UpdateGuardrailRequest) GetAppMessage() OptBool
- func (s *UpdateGuardrailRequest) GetCallbackURL() OptString
- func (s *UpdateGuardrailRequest) GetGuardrailName() OptString
- func (s *UpdateGuardrailRequest) GetGuardrailPrompt() OptString
- func (s *UpdateGuardrailRequest) GetModality() OptString
- func (s *UpdateGuardrailRequest) GetTags() []string
- func (s *UpdateGuardrailRequest) MarshalJSON() ([]byte, error)
- func (s *UpdateGuardrailRequest) SetAppMessage(val OptBool)
- func (s *UpdateGuardrailRequest) SetCallbackURL(val OptString)
- func (s *UpdateGuardrailRequest) SetGuardrailName(val OptString)
- func (s *UpdateGuardrailRequest) SetGuardrailPrompt(val OptString)
- func (s *UpdateGuardrailRequest) SetModality(val OptString)
- func (s *UpdateGuardrailRequest) SetTags(val []string)
- func (s *UpdateGuardrailRequest) UnmarshalJSON(data []byte) error
- type UpdateGuardrailRes
- type UpdateGuardrailUnauthorized
- type UpdateObjectivesNotFound
- type UpdateObjectivesParams
- type UpdateObjectivesRequest
- func (s *UpdateObjectivesRequest) Decode(d *jx.Decoder) error
- func (s *UpdateObjectivesRequest) Encode(e *jx.Encoder)
- func (s *UpdateObjectivesRequest) GetObjectives() []ObjectiveItem
- func (s *UpdateObjectivesRequest) MarshalJSON() ([]byte, error)
- func (s *UpdateObjectivesRequest) SetObjectives(val []ObjectiveItem)
- func (s *UpdateObjectivesRequest) UnmarshalJSON(data []byte) error
- func (s *UpdateObjectivesRequest) Validate() error
- type UpdateObjectivesRes
- type UpdateObjectivesUnauthorized
- type UpdatePalNotFound
- type UpdatePalParams
- type UpdatePalRequest
- func (s *UpdatePalRequest) Decode(d *jx.Decoder) error
- func (s *UpdatePalRequest) Encode(e *jx.Encoder)
- func (s *UpdatePalRequest) GetDefaultFaceID() OptString
- func (s *UpdatePalRequest) GetDocumentIds() []string
- func (s *UpdatePalRequest) GetDocumentTags() []string
- func (s *UpdatePalRequest) GetGuardrailIds() []string
- func (s *UpdatePalRequest) GetLayers() OptPalLayers
- func (s *UpdatePalRequest) GetPalName() OptString
- func (s *UpdatePalRequest) GetSystemPrompt() OptString
- func (s *UpdatePalRequest) MarshalJSON() ([]byte, error)
- func (s *UpdatePalRequest) SetDefaultFaceID(val OptString)
- func (s *UpdatePalRequest) SetDocumentIds(val []string)
- func (s *UpdatePalRequest) SetDocumentTags(val []string)
- func (s *UpdatePalRequest) SetGuardrailIds(val []string)
- func (s *UpdatePalRequest) SetLayers(val OptPalLayers)
- func (s *UpdatePalRequest) SetPalName(val OptString)
- func (s *UpdatePalRequest) SetSystemPrompt(val OptString)
- func (s *UpdatePalRequest) UnmarshalJSON(data []byte) error
- func (s *UpdatePalRequest) Validate() error
- type UpdatePalRes
- type UpdatePalUnauthorized
- type UpdateToolNotFound
- type UpdateToolParams
- type UpdateToolRequest
- func (s *UpdateToolRequest) Decode(d *jx.Decoder) error
- func (s *UpdateToolRequest) Encode(e *jx.Encoder)
- func (s *UpdateToolRequest) GetDelivery() *UpdateToolRequestDelivery
- func (s *UpdateToolRequest) GetDescription() OptString
- func (s *UpdateToolRequest) GetName() OptString
- func (s *UpdateToolRequest) GetOnCall() OptString
- func (s *UpdateToolRequest) GetOnResolve() OptString
- func (s *UpdateToolRequest) GetParameters() OptUpdateToolRequestParameters
- func (s *UpdateToolRequest) GetTags() []string
- func (s *UpdateToolRequest) GetTriggerType() OptString
- func (s *UpdateToolRequest) MarshalJSON() ([]byte, error)
- func (s *UpdateToolRequest) SetDelivery(val *UpdateToolRequestDelivery)
- func (s *UpdateToolRequest) SetDescription(val OptString)
- func (s *UpdateToolRequest) SetName(val OptString)
- func (s *UpdateToolRequest) SetOnCall(val OptString)
- func (s *UpdateToolRequest) SetOnResolve(val OptString)
- func (s *UpdateToolRequest) SetParameters(val OptUpdateToolRequestParameters)
- func (s *UpdateToolRequest) SetTags(val []string)
- func (s *UpdateToolRequest) SetTriggerType(val OptString)
- func (s *UpdateToolRequest) UnmarshalJSON(data []byte) error
- type UpdateToolRequestDelivery
- type UpdateToolRequestParameters
- type UpdateToolRes
- type UpdateToolUnauthorized
- type Video
- func (s *Video) Decode(d *jx.Decoder) error
- func (s *Video) Encode(e *jx.Encoder)
- func (s *Video) GetCreatedAt() OptTimestamp
- func (s *Video) GetDownloadURL() OptURI
- func (s *Video) GetHostedURL() OptURI
- func (s *Video) GetStatus() OptVideoStatus
- func (s *Video) GetStreamURL() OptURI
- func (s *Video) GetUpdatedAt() OptTimestamp
- func (s *Video) GetVideoID() OptString
- func (s *Video) GetVideoName() OptString
- func (s *Video) MarshalJSON() ([]byte, error)
- func (s *Video) SetCreatedAt(val OptTimestamp)
- func (s *Video) SetDownloadURL(val OptURI)
- func (s *Video) SetHostedURL(val OptURI)
- func (s *Video) SetStatus(val OptVideoStatus)
- func (s *Video) SetStreamURL(val OptURI)
- func (s *Video) SetUpdatedAt(val OptTimestamp)
- func (s *Video) SetVideoID(val OptString)
- func (s *Video) SetVideoName(val OptString)
- func (s *Video) UnmarshalJSON(data []byte) error
- func (s *Video) Validate() error
- type VideoStatus
- func (VideoStatus) AllValues() []VideoStatus
- func (s *VideoStatus) Decode(d *jx.Decoder) error
- func (s VideoStatus) Encode(e *jx.Encoder)
- func (s VideoStatus) MarshalJSON() ([]byte, error)
- func (s VideoStatus) MarshalText() ([]byte, error)
- func (s *VideoStatus) UnmarshalJSON(data []byte) error
- func (s *VideoStatus) UnmarshalText(data []byte) error
- func (s VideoStatus) Validate() error
- type Voice
- func (s *Voice) Decode(d *jx.Decoder) error
- func (s *Voice) Encode(e *jx.Encoder)
- func (s *Voice) GetAudioURL() OptURI
- func (s *Voice) GetFaceID() OptString
- func (s *Voice) GetTags() []VoiceTagsItem
- func (s *Voice) GetVoiceName() OptString
- func (s *Voice) MarshalJSON() ([]byte, error)
- func (s *Voice) SetAudioURL(val OptURI)
- func (s *Voice) SetFaceID(val OptString)
- func (s *Voice) SetTags(val []VoiceTagsItem)
- func (s *Voice) SetVoiceName(val OptString)
- func (s *Voice) UnmarshalJSON(data []byte) error
- type VoiceTagsItem
- func (s *VoiceTagsItem) Decode(d *jx.Decoder) error
- func (s *VoiceTagsItem) Encode(e *jx.Encoder)
- func (s *VoiceTagsItem) GetTagName() OptString
- func (s *VoiceTagsItem) MarshalJSON() ([]byte, error)
- func (s *VoiceTagsItem) SetTagName(val OptString)
- func (s *VoiceTagsItem) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRolesForApiKeyAuth ¶
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.
Types ¶
type ApiKeyAuth ¶
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 ¶
func (s *AttachToolToPalUnauthorized) Decode(d *jx.Decoder) error
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) 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 ¶
func (s *CreateConversationBadRequest) Decode(d *jx.Decoder) error
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 ¶
func (s *CreateConversationRequest) GetExtraPayload() OptCreateConversationRequestExtraPayload
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 ¶
func (s *CreateConversationRequest) GetProperties() OptConversationProperties
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 ¶
func (s *CreateConversationRequest) SetExtraPayload(val OptCreateConversationRequestExtraPayload)
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 ¶
func (s *CreateConversationRequest) SetProperties(val OptConversationProperties)
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 ¶
Additional custom fields.
func (*CreateConversationRequestExtraPayload) Decode ¶
func (s *CreateConversationRequestExtraPayload) Decode(d *jx.Decoder) error
Decode decodes CreateConversationRequestExtraPayload from json.
func (CreateConversationRequestExtraPayload) Encode ¶
func (s CreateConversationRequestExtraPayload) Encode(e *jx.Encoder)
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 ¶
func (s *CreateConversationResponse) Decode(d *jx.Decoder) error
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 ¶
func (s *CreateConversationResponse) GetStatus() OptCreateConversationResponseStatus
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 ¶
func (s *CreateConversationResponse) SetStatus(val OptCreateConversationResponseStatus)
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 ¶
func (CreateConversationResponseStatus) AllValues() []CreateConversationResponseStatus
AllValues returns all CreateConversationResponseStatus values.
func (*CreateConversationResponseStatus) Decode ¶
func (s *CreateConversationResponseStatus) Decode(d *jx.Decoder) error
Decode decodes CreateConversationResponseStatus from json.
func (CreateConversationResponseStatus) Encode ¶
func (s CreateConversationResponseStatus) Encode(e *jx.Encoder)
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 ¶
func (s CreateConversationResponseStatus) Validate() error
type CreateConversationTooManyRequests ¶
type CreateConversationTooManyRequests Error
func (*CreateConversationTooManyRequests) Decode ¶
func (s *CreateConversationTooManyRequests) Decode(d *jx.Decoder) error
Decode decodes CreateConversationTooManyRequests from json.
func (*CreateConversationTooManyRequests) Encode ¶
func (s *CreateConversationTooManyRequests) Encode(e *jx.Encoder)
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 ¶
func (s *CreateConversationUnauthorized) Decode(d *jx.Decoder) error
Decode decodes CreateConversationUnauthorized from json.
func (*CreateConversationUnauthorized) Encode ¶
func (s *CreateConversationUnauthorized) Encode(e *jx.Encoder)
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 ¶
func (s *CreateDeploymentBadRequest) Decode(d *jx.Decoder) error
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 ¶
func (s *CreateDeploymentRequest) GetChannel() CreateDeploymentRequestChannel
GetChannel returns the value of Channel.
func (*CreateDeploymentRequest) GetCustomization ¶
func (s *CreateDeploymentRequest) GetCustomization() OptCreateDeploymentRequestCustomization
GetCustomization returns the value of Customization.
func (*CreateDeploymentRequest) GetLimits ¶
func (s *CreateDeploymentRequest) GetLimits() OptCreateDeploymentRequestLimits
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 ¶
func (s *CreateDeploymentRequest) SetChannel(val CreateDeploymentRequestChannel)
SetChannel sets the value of Channel.
func (*CreateDeploymentRequest) SetCustomization ¶
func (s *CreateDeploymentRequest) SetCustomization(val OptCreateDeploymentRequestCustomization)
SetCustomization sets the value of Customization.
func (*CreateDeploymentRequest) SetLimits ¶
func (s *CreateDeploymentRequest) SetLimits(val OptCreateDeploymentRequestLimits)
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 ¶
func (CreateDeploymentRequestChannel) AllValues() []CreateDeploymentRequestChannel
AllValues returns all CreateDeploymentRequestChannel values.
func (*CreateDeploymentRequestChannel) Decode ¶
func (s *CreateDeploymentRequestChannel) Decode(d *jx.Decoder) error
Decode decodes CreateDeploymentRequestChannel from json.
func (CreateDeploymentRequestChannel) Encode ¶
func (s CreateDeploymentRequestChannel) Encode(e *jx.Encoder)
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 ¶
func (s CreateDeploymentRequestChannel) Validate() error
type CreateDeploymentRequestCustomization ¶
Visual and conversation settings.
func (*CreateDeploymentRequestCustomization) Decode ¶
func (s *CreateDeploymentRequestCustomization) Decode(d *jx.Decoder) error
Decode decodes CreateDeploymentRequestCustomization from json.
func (CreateDeploymentRequestCustomization) Encode ¶
func (s CreateDeploymentRequestCustomization) Encode(e *jx.Encoder)
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 ¶
func (s *CreateDeploymentRequestLimits) Decode(d *jx.Decoder) error
Decode decodes CreateDeploymentRequestLimits from json.
func (*CreateDeploymentRequestLimits) Encode ¶
func (s *CreateDeploymentRequestLimits) Encode(e *jx.Encoder)
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 ¶
func (s *CreateDeploymentUnauthorized) Decode(d *jx.Decoder) error
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 ¶
func (s *CreateDocumentRequest) GetCrawl() OptCreateDocumentRequestCrawl
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 ¶
func (s *CreateDocumentRequest) SetCrawl(val OptCreateDocumentRequestCrawl)
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 ¶
func (s *CreateDocumentRequestCrawl) Decode(d *jx.Decoder) error
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 ¶
func (s *CreateDocumentResponse) GetStatus() OptCreateDocumentResponseStatus
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 ¶
func (s *CreateDocumentResponse) SetStatus(val OptCreateDocumentResponseStatus)
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 ¶
func (CreateDocumentResponseStatus) AllValues() []CreateDocumentResponseStatus
AllValues returns all CreateDocumentResponseStatus values.
func (*CreateDocumentResponseStatus) Decode ¶
func (s *CreateDocumentResponseStatus) Decode(d *jx.Decoder) error
Decode decodes CreateDocumentResponseStatus from json.
func (CreateDocumentResponseStatus) Encode ¶
func (s CreateDocumentResponseStatus) Encode(e *jx.Encoder)
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 ¶
func (s *CreateDocumentUnauthorized) Decode(d *jx.Decoder) error
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 ¶
func (s *CreateFaceRequest) GetProperties() OptCreateFaceRequestProperties
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 ¶
func (s *CreateFaceRequestProperties) Decode(d *jx.Decoder) error
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 ¶
func (s *CreateFaceResponse) GetStatus() OptCreateFaceResponseStatus
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 ¶
func (s *CreateFaceResponse) SetStatus(val OptCreateFaceResponseStatus)
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 ¶
func (CreateFaceResponseStatus) AllValues() []CreateFaceResponseStatus
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 ¶
func (s *CreateGuardrailRequest) GetModality() OptCreateGuardrailRequestModality
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 ¶
func (s *CreateGuardrailRequest) SetModality(val OptCreateGuardrailRequestModality)
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 ¶
func (CreateGuardrailRequestModality) AllValues() []CreateGuardrailRequestModality
AllValues returns all CreateGuardrailRequestModality values.
func (*CreateGuardrailRequestModality) Decode ¶
func (s *CreateGuardrailRequestModality) Decode(d *jx.Decoder) error
Decode decodes CreateGuardrailRequestModality from json.
func (CreateGuardrailRequestModality) Encode ¶
func (s CreateGuardrailRequestModality) Encode(e *jx.Encoder)
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 ¶
func (s CreateGuardrailRequestModality) Validate() error
type CreateGuardrailRes ¶
type CreateGuardrailRes interface {
// contains filtered or unexported methods
}
type CreateGuardrailUnauthorized ¶
type CreateGuardrailUnauthorized Error
func (*CreateGuardrailUnauthorized) Decode ¶
func (s *CreateGuardrailUnauthorized) Decode(d *jx.Decoder) error
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 ¶
func (s *CreateObjectivesBadRequest) Decode(d *jx.Decoder) error
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 ¶
func (s *CreateObjectivesUnauthorized) Decode(d *jx.Decoder) error
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 ¶
func (s *CreatePalRequest) GetPipelineMode() OptCreatePalRequestPipelineMode
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 ¶
func (CreatePalRequestPipelineMode) AllValues() []CreatePalRequestPipelineMode
AllValues returns all CreatePalRequestPipelineMode values.
func (*CreatePalRequestPipelineMode) Decode ¶
func (s *CreatePalRequestPipelineMode) Decode(d *jx.Decoder) error
Decode decodes CreatePalRequestPipelineMode from json.
func (CreatePalRequestPipelineMode) Encode ¶
func (s CreatePalRequestPipelineMode) Encode(e *jx.Encoder)
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 ¶
func (s *CreateToolRequest) GetDelivery() OptCreateToolRequestDelivery
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 ¶
func (s *CreateToolRequest) GetOnCall() OptCreateToolRequestOnCall
GetOnCall returns the value of OnCall.
func (*CreateToolRequest) GetOnResolve ¶
func (s *CreateToolRequest) GetOnResolve() OptCreateToolRequestOnResolve
GetOnResolve returns the value of OnResolve.
func (*CreateToolRequest) GetOrigin ¶
func (s *CreateToolRequest) GetOrigin() OptCreateToolRequestOrigin
GetOrigin returns the value of Origin.
func (*CreateToolRequest) GetParameters ¶
func (s *CreateToolRequest) GetParameters() OptCreateToolRequestParameters
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 ¶
func (s *CreateToolRequest) GetTriggerType() OptCreateToolRequestTriggerType
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 ¶
func (s *CreateToolRequest) SetOnCall(val OptCreateToolRequestOnCall)
SetOnCall sets the value of OnCall.
func (*CreateToolRequest) SetOnResolve ¶
func (s *CreateToolRequest) SetOnResolve(val OptCreateToolRequestOnResolve)
SetOnResolve sets the value of OnResolve.
func (*CreateToolRequest) SetOrigin ¶
func (s *CreateToolRequest) SetOrigin(val OptCreateToolRequestOrigin)
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 ¶
func (s *CreateToolRequestDelivery) GetAPI() OptCreateToolRequestDeliveryAPI
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 ¶
func (s *CreateToolRequestDelivery) SetAPI(val OptCreateToolRequestDeliveryAPI)
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 ¶
func (s *CreateToolRequestDeliveryAPI) Decode(d *jx.Decoder) error
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 ¶
func (s *CreateToolRequestDeliveryAPI) GetAuthType() OptCreateToolRequestDeliveryAPIAuthType
GetAuthType returns the value of AuthType.
func (*CreateToolRequestDeliveryAPI) GetHeaders ¶
func (s *CreateToolRequestDeliveryAPI) GetHeaders() OptCreateToolRequestDeliveryAPIHeaders
GetHeaders returns the value of Headers.
func (*CreateToolRequestDeliveryAPI) GetURL ¶
func (s *CreateToolRequestDeliveryAPI) GetURL() OptURI
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 ¶
func (s *CreateToolRequestDeliveryAPI) SetAuthType(val OptCreateToolRequestDeliveryAPIAuthType)
SetAuthType sets the value of AuthType.
func (*CreateToolRequestDeliveryAPI) SetHeaders ¶
func (s *CreateToolRequestDeliveryAPI) SetHeaders(val OptCreateToolRequestDeliveryAPIHeaders)
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 ¶
func (CreateToolRequestDeliveryAPIAuthType) AllValues() []CreateToolRequestDeliveryAPIAuthType
AllValues returns all CreateToolRequestDeliveryAPIAuthType values.
func (*CreateToolRequestDeliveryAPIAuthType) Decode ¶
func (s *CreateToolRequestDeliveryAPIAuthType) Decode(d *jx.Decoder) error
Decode decodes CreateToolRequestDeliveryAPIAuthType from json.
func (CreateToolRequestDeliveryAPIAuthType) Encode ¶
func (s CreateToolRequestDeliveryAPIAuthType) Encode(e *jx.Encoder)
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 ¶
func (s CreateToolRequestDeliveryAPIAuthType) Validate() error
type CreateToolRequestDeliveryAPIHeaders ¶
func (*CreateToolRequestDeliveryAPIHeaders) Decode ¶
func (s *CreateToolRequestDeliveryAPIHeaders) Decode(d *jx.Decoder) error
Decode decodes CreateToolRequestDeliveryAPIHeaders from json.
func (CreateToolRequestDeliveryAPIHeaders) Encode ¶
func (s CreateToolRequestDeliveryAPIHeaders) Encode(e *jx.Encoder)
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 ¶
func (CreateToolRequestOnCall) AllValues() []CreateToolRequestOnCall
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 ¶
func (CreateToolRequestOnResolve) AllValues() []CreateToolRequestOnResolve
AllValues returns all CreateToolRequestOnResolve values.
func (*CreateToolRequestOnResolve) Decode ¶
func (s *CreateToolRequestOnResolve) Decode(d *jx.Decoder) error
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 ¶
func (CreateToolRequestOrigin) AllValues() []CreateToolRequestOrigin
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 ¶
JSON Schema for tool arguments.
func (*CreateToolRequestParameters) Decode ¶
func (s *CreateToolRequestParameters) Decode(d *jx.Decoder) error
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 ¶
func (CreateToolRequestTriggerType) AllValues() []CreateToolRequestTriggerType
AllValues returns all CreateToolRequestTriggerType values.
func (*CreateToolRequestTriggerType) Decode ¶
func (s *CreateToolRequestTriggerType) Decode(d *jx.Decoder) error
Decode decodes CreateToolRequestTriggerType from json.
func (CreateToolRequestTriggerType) Encode ¶
func (s CreateToolRequestTriggerType) Encode(e *jx.Encoder)
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 ¶
func (s *CreateVideoRequest) GetProperties() OptCreateVideoRequestProperties
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 ¶
func (s *CreateVideoRequest) SetProperties(val OptCreateVideoRequestProperties)
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 ¶
func (s *CreateVideoRequestProperties) Decode(d *jx.Decoder) error
Decode decodes CreateVideoRequestProperties from json.
func (*CreateVideoRequestProperties) Encode ¶
func (s *CreateVideoRequestProperties) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateVideoRequestProperties) GetBackgroundScrollDepth ¶
func (s *CreateVideoRequestProperties) GetBackgroundScrollDepth() OptCreateVideoRequestPropertiesBackgroundScrollDepth
GetBackgroundScrollDepth returns the value of BackgroundScrollDepth.
func (*CreateVideoRequestProperties) GetBackgroundScrollReturn ¶
func (s *CreateVideoRequestProperties) GetBackgroundScrollReturn() OptCreateVideoRequestPropertiesBackgroundScrollReturn
GetBackgroundScrollReturn returns the value of BackgroundScrollReturn.
func (*CreateVideoRequestProperties) GetBackgroundScrollType ¶
func (s *CreateVideoRequestProperties) GetBackgroundScrollType() OptCreateVideoRequestPropertiesBackgroundScrollType
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 ¶
func (s *CreateVideoRequestProperties) SetBackgroundScrollDepth(val OptCreateVideoRequestPropertiesBackgroundScrollDepth)
SetBackgroundScrollDepth sets the value of BackgroundScrollDepth.
func (*CreateVideoRequestProperties) SetBackgroundScrollReturn ¶
func (s *CreateVideoRequestProperties) SetBackgroundScrollReturn(val OptCreateVideoRequestPropertiesBackgroundScrollReturn)
SetBackgroundScrollReturn sets the value of BackgroundScrollReturn.
func (*CreateVideoRequestProperties) SetBackgroundScrollType ¶
func (s *CreateVideoRequestProperties) SetBackgroundScrollType(val OptCreateVideoRequestPropertiesBackgroundScrollType)
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 ¶
func (CreateVideoRequestPropertiesBackgroundScrollDepth) AllValues() []CreateVideoRequestPropertiesBackgroundScrollDepth
AllValues returns all CreateVideoRequestPropertiesBackgroundScrollDepth values.
func (*CreateVideoRequestPropertiesBackgroundScrollDepth) Decode ¶
func (s *CreateVideoRequestPropertiesBackgroundScrollDepth) Decode(d *jx.Decoder) error
Decode decodes CreateVideoRequestPropertiesBackgroundScrollDepth from json.
func (CreateVideoRequestPropertiesBackgroundScrollDepth) Encode ¶
func (s CreateVideoRequestPropertiesBackgroundScrollDepth) Encode(e *jx.Encoder)
Encode encodes CreateVideoRequestPropertiesBackgroundScrollDepth as json.
func (CreateVideoRequestPropertiesBackgroundScrollDepth) MarshalJSON ¶
func (s CreateVideoRequestPropertiesBackgroundScrollDepth) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreateVideoRequestPropertiesBackgroundScrollDepth) MarshalText ¶
func (s CreateVideoRequestPropertiesBackgroundScrollDepth) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreateVideoRequestPropertiesBackgroundScrollDepth) UnmarshalJSON ¶
func (s *CreateVideoRequestPropertiesBackgroundScrollDepth) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateVideoRequestPropertiesBackgroundScrollDepth) UnmarshalText ¶
func (s *CreateVideoRequestPropertiesBackgroundScrollDepth) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CreateVideoRequestPropertiesBackgroundScrollDepth) Validate ¶
func (s CreateVideoRequestPropertiesBackgroundScrollDepth) Validate() error
type CreateVideoRequestPropertiesBackgroundScrollReturn ¶
type CreateVideoRequestPropertiesBackgroundScrollReturn string
const ( CreateVideoRequestPropertiesBackgroundScrollReturnReturn CreateVideoRequestPropertiesBackgroundScrollReturn = "return" CreateVideoRequestPropertiesBackgroundScrollReturnHalt CreateVideoRequestPropertiesBackgroundScrollReturn = "halt" )
func (CreateVideoRequestPropertiesBackgroundScrollReturn) AllValues ¶
func (CreateVideoRequestPropertiesBackgroundScrollReturn) AllValues() []CreateVideoRequestPropertiesBackgroundScrollReturn
AllValues returns all CreateVideoRequestPropertiesBackgroundScrollReturn values.
func (*CreateVideoRequestPropertiesBackgroundScrollReturn) Decode ¶
func (s *CreateVideoRequestPropertiesBackgroundScrollReturn) Decode(d *jx.Decoder) error
Decode decodes CreateVideoRequestPropertiesBackgroundScrollReturn from json.
func (CreateVideoRequestPropertiesBackgroundScrollReturn) Encode ¶
func (s CreateVideoRequestPropertiesBackgroundScrollReturn) Encode(e *jx.Encoder)
Encode encodes CreateVideoRequestPropertiesBackgroundScrollReturn as json.
func (CreateVideoRequestPropertiesBackgroundScrollReturn) MarshalJSON ¶
func (s CreateVideoRequestPropertiesBackgroundScrollReturn) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreateVideoRequestPropertiesBackgroundScrollReturn) MarshalText ¶
func (s CreateVideoRequestPropertiesBackgroundScrollReturn) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreateVideoRequestPropertiesBackgroundScrollReturn) UnmarshalJSON ¶
func (s *CreateVideoRequestPropertiesBackgroundScrollReturn) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateVideoRequestPropertiesBackgroundScrollReturn) UnmarshalText ¶
func (s *CreateVideoRequestPropertiesBackgroundScrollReturn) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CreateVideoRequestPropertiesBackgroundScrollReturn) Validate ¶
func (s CreateVideoRequestPropertiesBackgroundScrollReturn) Validate() error
type CreateVideoRequestPropertiesBackgroundScrollType ¶
type CreateVideoRequestPropertiesBackgroundScrollType string
const ( CreateVideoRequestPropertiesBackgroundScrollTypeHuman CreateVideoRequestPropertiesBackgroundScrollType = "human" CreateVideoRequestPropertiesBackgroundScrollTypeSmooth CreateVideoRequestPropertiesBackgroundScrollType = "smooth" )
func (CreateVideoRequestPropertiesBackgroundScrollType) AllValues ¶
func (CreateVideoRequestPropertiesBackgroundScrollType) AllValues() []CreateVideoRequestPropertiesBackgroundScrollType
AllValues returns all CreateVideoRequestPropertiesBackgroundScrollType values.
func (*CreateVideoRequestPropertiesBackgroundScrollType) Decode ¶
func (s *CreateVideoRequestPropertiesBackgroundScrollType) Decode(d *jx.Decoder) error
Decode decodes CreateVideoRequestPropertiesBackgroundScrollType from json.
func (CreateVideoRequestPropertiesBackgroundScrollType) Encode ¶
func (s CreateVideoRequestPropertiesBackgroundScrollType) Encode(e *jx.Encoder)
Encode encodes CreateVideoRequestPropertiesBackgroundScrollType as json.
func (CreateVideoRequestPropertiesBackgroundScrollType) MarshalJSON ¶
func (s CreateVideoRequestPropertiesBackgroundScrollType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreateVideoRequestPropertiesBackgroundScrollType) MarshalText ¶
func (s CreateVideoRequestPropertiesBackgroundScrollType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreateVideoRequestPropertiesBackgroundScrollType) UnmarshalJSON ¶
func (s *CreateVideoRequestPropertiesBackgroundScrollType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateVideoRequestPropertiesBackgroundScrollType) UnmarshalText ¶
func (s *CreateVideoRequestPropertiesBackgroundScrollType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CreateVideoRequestPropertiesBackgroundScrollType) Validate ¶
func (s CreateVideoRequestPropertiesBackgroundScrollType) Validate() error
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 ¶
func (s *CreateVideoResponse) GetStatus() OptCreateVideoResponseStatus
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 ¶
func (s *CreateVideoResponse) SetStatus(val OptCreateVideoResponseStatus)
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 ¶
func (CreateVideoResponseStatus) AllValues() []CreateVideoResponseStatus
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 ¶
func (s *DeleteConversationNotFound) Decode(d *jx.Decoder) error
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 ¶
func (s *DeleteConversationUnauthorized) Decode(d *jx.Decoder) error
Decode decodes DeleteConversationUnauthorized from json.
func (*DeleteConversationUnauthorized) Encode ¶
func (s *DeleteConversationUnauthorized) Encode(e *jx.Encoder)
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 ¶
func (s *DeleteDeploymentUnauthorized) Decode(d *jx.Decoder) error
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 ¶
func (s *DeleteDocumentUnauthorized) Decode(d *jx.Decoder) error
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 ¶
func (s *DeleteGuardrailUnauthorized) Decode(d *jx.Decoder) error
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 ¶
func (s *DeleteObjectivesUnauthorized) Decode(d *jx.Decoder) error
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 ¶
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) GetCrawlConfig ¶
func (s *Document) GetCrawlConfig() *DocumentCrawlConfig
GetCrawlConfig returns the value of CrawlConfig.
func (*Document) GetCrawledUrls ¶
GetCrawledUrls returns the value of CrawledUrls.
func (*Document) GetCreatedAt ¶
func (s *Document) GetCreatedAt() OptTimestamp
GetCreatedAt returns the value of CreatedAt.
func (*Document) GetDocumentID ¶
GetDocumentID returns the value of DocumentID.
func (*Document) GetDocumentName ¶
GetDocumentName returns the value of DocumentName.
func (*Document) GetDocumentURL ¶
GetDocumentURL returns the value of DocumentURL.
func (*Document) GetErrorMessage ¶
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) GetUpdatedAt ¶
func (s *Document) GetUpdatedAt() OptTimestamp
GetUpdatedAt returns the value of UpdatedAt.
func (*Document) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Document) SetCrawlConfig ¶
func (s *Document) SetCrawlConfig(val *DocumentCrawlConfig)
SetCrawlConfig sets the value of CrawlConfig.
func (*Document) SetCrawledUrls ¶
SetCrawledUrls sets the value of CrawledUrls.
func (*Document) SetCreatedAt ¶
func (s *Document) SetCreatedAt(val OptTimestamp)
SetCreatedAt sets the value of CreatedAt.
func (*Document) SetDocumentID ¶
SetDocumentID sets the value of DocumentID.
func (*Document) SetDocumentName ¶
SetDocumentName sets the value of DocumentName.
func (*Document) SetDocumentURL ¶
SetDocumentURL sets the value of DocumentURL.
func (*Document) SetErrorMessage ¶
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) SetUpdatedAt ¶
func (s *Document) SetUpdatedAt(val OptTimestamp)
SetUpdatedAt sets the value of UpdatedAt.
func (*Document) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (s *EndConversationUnauthorized) Decode(d *jx.Decoder) error
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 ¶
Ref: #/components/schemas/Error
func (*Error) GetMessage ¶
GetMessage returns the value of Message.
func (*Error) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Error) SetMessage ¶
SetMessage sets the value of Message.
func (*Error) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) GetCreatedAt ¶
func (s *Face) GetCreatedAt() OptTimestamp
GetCreatedAt returns the value of CreatedAt.
func (*Face) GetErrorMessage ¶
GetErrorMessage returns the value of ErrorMessage.
func (*Face) GetFaceName ¶
GetFaceName returns the value of FaceName.
func (*Face) GetStatus ¶
func (s *Face) GetStatus() OptFaceStatus
GetStatus returns the value of Status.
func (*Face) GetTrainingProgress ¶
GetTrainingProgress returns the value of TrainingProgress.
func (*Face) GetUpdatedAt ¶
func (s *Face) GetUpdatedAt() OptTimestamp
GetUpdatedAt returns the value of UpdatedAt.
func (*Face) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Face) SetCreatedAt ¶
func (s *Face) SetCreatedAt(val OptTimestamp)
SetCreatedAt sets the value of CreatedAt.
func (*Face) SetErrorMessage ¶
SetErrorMessage sets the value of ErrorMessage.
func (*Face) SetFaceName ¶
SetFaceName sets the value of FaceName.
func (*Face) SetStatus ¶
func (s *Face) SetStatus(val OptFaceStatus)
SetStatus sets the value of Status.
func (*Face) SetTrainingProgress ¶
SetTrainingProgress sets the value of TrainingProgress.
func (*Face) SetUpdatedAt ¶
func (s *Face) SetUpdatedAt(val OptTimestamp)
SetUpdatedAt sets the value of UpdatedAt.
func (*Face) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (s *GetConversationUnauthorized) Decode(d *jx.Decoder) error
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 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) GetAppMessage ¶
GetAppMessage returns the value of AppMessage.
func (*Guardrail) GetCallbackURL ¶
GetCallbackURL returns the value of CallbackURL.
func (*Guardrail) GetCreatedAt ¶
func (s *Guardrail) GetCreatedAt() OptTimestamp
GetCreatedAt returns the value of CreatedAt.
func (*Guardrail) GetGuardrailName ¶
GetGuardrailName returns the value of GuardrailName.
func (*Guardrail) GetGuardrailPrompt ¶
GetGuardrailPrompt returns the value of GuardrailPrompt.
func (*Guardrail) GetModality ¶
GetModality returns the value of Modality.
func (*Guardrail) GetUpdatedAt ¶
func (s *Guardrail) GetUpdatedAt() OptTimestamp
GetUpdatedAt returns the value of UpdatedAt.
func (*Guardrail) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Guardrail) SetAppMessage ¶
SetAppMessage sets the value of AppMessage.
func (*Guardrail) SetCallbackURL ¶
SetCallbackURL sets the value of CallbackURL.
func (*Guardrail) SetCreatedAt ¶
func (s *Guardrail) SetCreatedAt(val OptTimestamp)
SetCreatedAt sets the value of CreatedAt.
func (*Guardrail) SetGuardrailName ¶
SetGuardrailName sets the value of GuardrailName.
func (*Guardrail) SetGuardrailPrompt ¶
SetGuardrailPrompt sets the value of GuardrailPrompt.
func (*Guardrail) SetModality ¶
SetModality sets the value of Modality.
func (*Guardrail) SetUpdatedAt ¶
func (s *Guardrail) SetUpdatedAt(val OptTimestamp)
SetUpdatedAt sets the value of UpdatedAt.
func (*Guardrail) UnmarshalJSON ¶
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 ¶
LabelerFromContext retrieves the Labeler from the provided context, if present.
If no Labeler was found in the provided context a new, empty Labeler is returned and the second return value is false. In this case it is safe to use the Labeler but any attributes added to it will not be used.
func (*Labeler) AttributeSet ¶
AttributeSet returns the attributes added to the Labeler as an attribute.Set.
type 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) GetBaseURL ¶
GetBaseURL returns the value of BaseURL.
func (*LlmLayer) GetExtraBody ¶
func (s *LlmLayer) GetExtraBody() OptLlmLayerExtraBody
GetExtraBody returns the value of ExtraBody.
func (*LlmLayer) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*LlmLayer) SetBaseURL ¶
SetBaseURL sets the value of BaseURL.
func (*LlmLayer) SetExtraBody ¶
func (s *LlmLayer) SetExtraBody(val OptLlmLayerExtraBody)
SetExtraBody sets the value of ExtraBody.
func (*LlmLayer) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 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 ¶
func (ObjectiveItemConfirmationMode) AllValues() []ObjectiveItemConfirmationMode
AllValues returns all ObjectiveItemConfirmationMode values.
func (*ObjectiveItemConfirmationMode) Decode ¶
func (s *ObjectiveItemConfirmationMode) Decode(d *jx.Decoder) error
Decode decodes ObjectiveItemConfirmationMode from json.
func (ObjectiveItemConfirmationMode) Encode ¶
func (s ObjectiveItemConfirmationMode) Encode(e *jx.Encoder)
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 ¶
func (ObjectiveItemModality) AllValues() []ObjectiveItemModality
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 ¶
Conditional branching.
func (*ObjectiveItemNextConditionalObjectives) Decode ¶
func (s *ObjectiveItemNextConditionalObjectives) Decode(d *jx.Decoder) error
Decode decodes ObjectiveItemNextConditionalObjectives from json.
func (ObjectiveItemNextConditionalObjectives) Encode ¶
func (s ObjectiveItemNextConditionalObjectives) Encode(e *jx.Encoder)
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 ¶
OptBool is optional bool.
func NewOptBool ¶
NewOptBool returns new OptBool with value set to v.
func (OptBool) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptBool) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type 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 ¶
func (o OptConversationProperties) Get() (v ConversationProperties, ok bool)
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) Reset ¶
func (o *OptConversationProperties) Reset()
Reset unsets value.
func (*OptConversationProperties) SetTo ¶
func (o *OptConversationProperties) SetTo(v ConversationProperties)
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 ¶
func (o OptConversationStatus) Get() (v ConversationStatus, ok bool)
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 ¶
func (o OptConversationStatus) Or(d ConversationStatus) ConversationStatus
Or returns value if set, or given parameter if does not.
func (*OptConversationStatus) SetTo ¶
func (o *OptConversationStatus) SetTo(v ConversationStatus)
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 ¶
func (o *OptConversationalFlowLayer) Decode(d *jx.Decoder) error
Decode decodes ConversationalFlowLayer from json.
func (OptConversationalFlowLayer) Encode ¶
func (o OptConversationalFlowLayer) Encode(e *jx.Encoder)
Encode encodes ConversationalFlowLayer as json.
func (OptConversationalFlowLayer) Get ¶
func (o OptConversationalFlowLayer) Get() (v ConversationalFlowLayer, ok bool)
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) Reset ¶
func (o *OptConversationalFlowLayer) Reset()
Reset unsets value.
func (*OptConversationalFlowLayer) SetTo ¶
func (o *OptConversationalFlowLayer) SetTo(v ConversationalFlowLayer)
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 ¶
func (o *OptCreateConversationRequestExtraPayload) Decode(d *jx.Decoder) error
Decode decodes CreateConversationRequestExtraPayload from json.
func (OptCreateConversationRequestExtraPayload) Encode ¶
func (o OptCreateConversationRequestExtraPayload) Encode(e *jx.Encoder)
Encode encodes CreateConversationRequestExtraPayload as json.
func (OptCreateConversationRequestExtraPayload) Get ¶
func (o OptCreateConversationRequestExtraPayload) Get() (v CreateConversationRequestExtraPayload, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateConversationRequestExtraPayload) IsSet ¶
func (o OptCreateConversationRequestExtraPayload) IsSet() bool
IsSet returns true if OptCreateConversationRequestExtraPayload was set.
func (OptCreateConversationRequestExtraPayload) MarshalJSON ¶
func (s OptCreateConversationRequestExtraPayload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateConversationRequestExtraPayload) Or ¶
func (o OptCreateConversationRequestExtraPayload) Or(d CreateConversationRequestExtraPayload) CreateConversationRequestExtraPayload
Or returns value if set, or given parameter if does not.
func (*OptCreateConversationRequestExtraPayload) Reset ¶
func (o *OptCreateConversationRequestExtraPayload) Reset()
Reset unsets value.
func (*OptCreateConversationRequestExtraPayload) SetTo ¶
func (o *OptCreateConversationRequestExtraPayload) SetTo(v CreateConversationRequestExtraPayload)
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 ¶
func (o *OptCreateConversationResponseStatus) Decode(d *jx.Decoder) error
Decode decodes CreateConversationResponseStatus from json.
func (OptCreateConversationResponseStatus) Encode ¶
func (o OptCreateConversationResponseStatus) Encode(e *jx.Encoder)
Encode encodes CreateConversationResponseStatus as json.
func (OptCreateConversationResponseStatus) Get ¶
func (o OptCreateConversationResponseStatus) Get() (v CreateConversationResponseStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateConversationResponseStatus) IsSet ¶
func (o OptCreateConversationResponseStatus) IsSet() bool
IsSet returns true if OptCreateConversationResponseStatus was set.
func (OptCreateConversationResponseStatus) MarshalJSON ¶
func (s OptCreateConversationResponseStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateConversationResponseStatus) Or ¶
func (o OptCreateConversationResponseStatus) Or(d CreateConversationResponseStatus) CreateConversationResponseStatus
Or returns value if set, or given parameter if does not.
func (*OptCreateConversationResponseStatus) Reset ¶
func (o *OptCreateConversationResponseStatus) Reset()
Reset unsets value.
func (*OptCreateConversationResponseStatus) SetTo ¶
func (o *OptCreateConversationResponseStatus) SetTo(v CreateConversationResponseStatus)
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 ¶
func (o *OptCreateDeploymentRequestCustomization) Decode(d *jx.Decoder) error
Decode decodes CreateDeploymentRequestCustomization from json.
func (OptCreateDeploymentRequestCustomization) Encode ¶
func (o OptCreateDeploymentRequestCustomization) Encode(e *jx.Encoder)
Encode encodes CreateDeploymentRequestCustomization as json.
func (OptCreateDeploymentRequestCustomization) Get ¶
func (o OptCreateDeploymentRequestCustomization) Get() (v CreateDeploymentRequestCustomization, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateDeploymentRequestCustomization) IsSet ¶
func (o OptCreateDeploymentRequestCustomization) IsSet() bool
IsSet returns true if OptCreateDeploymentRequestCustomization was set.
func (OptCreateDeploymentRequestCustomization) MarshalJSON ¶
func (s OptCreateDeploymentRequestCustomization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateDeploymentRequestCustomization) Or ¶
func (o OptCreateDeploymentRequestCustomization) Or(d CreateDeploymentRequestCustomization) CreateDeploymentRequestCustomization
Or returns value if set, or given parameter if does not.
func (*OptCreateDeploymentRequestCustomization) Reset ¶
func (o *OptCreateDeploymentRequestCustomization) Reset()
Reset unsets value.
func (*OptCreateDeploymentRequestCustomization) SetTo ¶
func (o *OptCreateDeploymentRequestCustomization) SetTo(v CreateDeploymentRequestCustomization)
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 ¶
func (o *OptCreateDeploymentRequestLimits) Decode(d *jx.Decoder) error
Decode decodes CreateDeploymentRequestLimits from json.
func (OptCreateDeploymentRequestLimits) Encode ¶
func (o OptCreateDeploymentRequestLimits) Encode(e *jx.Encoder)
Encode encodes CreateDeploymentRequestLimits as json.
func (OptCreateDeploymentRequestLimits) Get ¶
func (o OptCreateDeploymentRequestLimits) Get() (v CreateDeploymentRequestLimits, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateDeploymentRequestLimits) IsSet ¶
func (o OptCreateDeploymentRequestLimits) IsSet() bool
IsSet returns true if OptCreateDeploymentRequestLimits was set.
func (OptCreateDeploymentRequestLimits) MarshalJSON ¶
func (s OptCreateDeploymentRequestLimits) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateDeploymentRequestLimits) Or ¶
func (o OptCreateDeploymentRequestLimits) Or(d CreateDeploymentRequestLimits) CreateDeploymentRequestLimits
Or returns value if set, or given parameter if does not.
func (*OptCreateDeploymentRequestLimits) Reset ¶
func (o *OptCreateDeploymentRequestLimits) Reset()
Reset unsets value.
func (*OptCreateDeploymentRequestLimits) SetTo ¶
func (o *OptCreateDeploymentRequestLimits) SetTo(v CreateDeploymentRequestLimits)
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 ¶
func (o *OptCreateDocumentRequestCrawl) Decode(d *jx.Decoder) error
Decode decodes CreateDocumentRequestCrawl from json.
func (OptCreateDocumentRequestCrawl) Encode ¶
func (o OptCreateDocumentRequestCrawl) Encode(e *jx.Encoder)
Encode encodes CreateDocumentRequestCrawl as json.
func (OptCreateDocumentRequestCrawl) Get ¶
func (o OptCreateDocumentRequestCrawl) Get() (v CreateDocumentRequestCrawl, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateDocumentRequestCrawl) IsSet ¶
func (o OptCreateDocumentRequestCrawl) IsSet() bool
IsSet returns true if OptCreateDocumentRequestCrawl was set.
func (OptCreateDocumentRequestCrawl) MarshalJSON ¶
func (s OptCreateDocumentRequestCrawl) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptCreateDocumentRequestCrawl) Reset ¶
func (o *OptCreateDocumentRequestCrawl) Reset()
Reset unsets value.
func (*OptCreateDocumentRequestCrawl) SetTo ¶
func (o *OptCreateDocumentRequestCrawl) SetTo(v CreateDocumentRequestCrawl)
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 ¶
func (o *OptCreateDocumentResponseStatus) Decode(d *jx.Decoder) error
Decode decodes CreateDocumentResponseStatus from json.
func (OptCreateDocumentResponseStatus) Encode ¶
func (o OptCreateDocumentResponseStatus) Encode(e *jx.Encoder)
Encode encodes CreateDocumentResponseStatus as json.
func (OptCreateDocumentResponseStatus) Get ¶
func (o OptCreateDocumentResponseStatus) Get() (v CreateDocumentResponseStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateDocumentResponseStatus) IsSet ¶
func (o OptCreateDocumentResponseStatus) IsSet() bool
IsSet returns true if OptCreateDocumentResponseStatus was set.
func (OptCreateDocumentResponseStatus) MarshalJSON ¶
func (s OptCreateDocumentResponseStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateDocumentResponseStatus) Or ¶
func (o OptCreateDocumentResponseStatus) Or(d CreateDocumentResponseStatus) CreateDocumentResponseStatus
Or returns value if set, or given parameter if does not.
func (*OptCreateDocumentResponseStatus) Reset ¶
func (o *OptCreateDocumentResponseStatus) Reset()
Reset unsets value.
func (*OptCreateDocumentResponseStatus) SetTo ¶
func (o *OptCreateDocumentResponseStatus) SetTo(v CreateDocumentResponseStatus)
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 ¶
func (o *OptCreateFaceRequestProperties) Decode(d *jx.Decoder) error
Decode decodes CreateFaceRequestProperties from json.
func (OptCreateFaceRequestProperties) Encode ¶
func (o OptCreateFaceRequestProperties) Encode(e *jx.Encoder)
Encode encodes CreateFaceRequestProperties as json.
func (OptCreateFaceRequestProperties) Get ¶
func (o OptCreateFaceRequestProperties) Get() (v CreateFaceRequestProperties, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateFaceRequestProperties) IsSet ¶
func (o OptCreateFaceRequestProperties) IsSet() bool
IsSet returns true if OptCreateFaceRequestProperties was set.
func (OptCreateFaceRequestProperties) MarshalJSON ¶
func (s OptCreateFaceRequestProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateFaceRequestProperties) Or ¶
func (o OptCreateFaceRequestProperties) Or(d CreateFaceRequestProperties) CreateFaceRequestProperties
Or returns value if set, or given parameter if does not.
func (*OptCreateFaceRequestProperties) Reset ¶
func (o *OptCreateFaceRequestProperties) Reset()
Reset unsets value.
func (*OptCreateFaceRequestProperties) SetTo ¶
func (o *OptCreateFaceRequestProperties) SetTo(v CreateFaceRequestProperties)
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 ¶
func (o *OptCreateFaceResponseStatus) Decode(d *jx.Decoder) error
Decode decodes CreateFaceResponseStatus from json.
func (OptCreateFaceResponseStatus) Encode ¶
func (o OptCreateFaceResponseStatus) Encode(e *jx.Encoder)
Encode encodes CreateFaceResponseStatus as json.
func (OptCreateFaceResponseStatus) Get ¶
func (o OptCreateFaceResponseStatus) Get() (v CreateFaceResponseStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateFaceResponseStatus) IsSet ¶
func (o OptCreateFaceResponseStatus) IsSet() bool
IsSet returns true if OptCreateFaceResponseStatus was set.
func (OptCreateFaceResponseStatus) MarshalJSON ¶
func (s OptCreateFaceResponseStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptCreateFaceResponseStatus) Reset ¶
func (o *OptCreateFaceResponseStatus) Reset()
Reset unsets value.
func (*OptCreateFaceResponseStatus) SetTo ¶
func (o *OptCreateFaceResponseStatus) SetTo(v CreateFaceResponseStatus)
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 ¶
func (o *OptCreateGuardrailRequestModality) Decode(d *jx.Decoder) error
Decode decodes CreateGuardrailRequestModality from json.
func (OptCreateGuardrailRequestModality) Encode ¶
func (o OptCreateGuardrailRequestModality) Encode(e *jx.Encoder)
Encode encodes CreateGuardrailRequestModality as json.
func (OptCreateGuardrailRequestModality) Get ¶
func (o OptCreateGuardrailRequestModality) Get() (v CreateGuardrailRequestModality, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateGuardrailRequestModality) IsSet ¶
func (o OptCreateGuardrailRequestModality) IsSet() bool
IsSet returns true if OptCreateGuardrailRequestModality was set.
func (OptCreateGuardrailRequestModality) MarshalJSON ¶
func (s OptCreateGuardrailRequestModality) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateGuardrailRequestModality) Or ¶
func (o OptCreateGuardrailRequestModality) Or(d CreateGuardrailRequestModality) CreateGuardrailRequestModality
Or returns value if set, or given parameter if does not.
func (*OptCreateGuardrailRequestModality) Reset ¶
func (o *OptCreateGuardrailRequestModality) Reset()
Reset unsets value.
func (*OptCreateGuardrailRequestModality) SetTo ¶
func (o *OptCreateGuardrailRequestModality) SetTo(v CreateGuardrailRequestModality)
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 ¶
func (o *OptCreatePalRequestPipelineMode) Decode(d *jx.Decoder) error
Decode decodes CreatePalRequestPipelineMode from json.
func (OptCreatePalRequestPipelineMode) Encode ¶
func (o OptCreatePalRequestPipelineMode) Encode(e *jx.Encoder)
Encode encodes CreatePalRequestPipelineMode as json.
func (OptCreatePalRequestPipelineMode) Get ¶
func (o OptCreatePalRequestPipelineMode) Get() (v CreatePalRequestPipelineMode, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreatePalRequestPipelineMode) IsSet ¶
func (o OptCreatePalRequestPipelineMode) IsSet() bool
IsSet returns true if OptCreatePalRequestPipelineMode was set.
func (OptCreatePalRequestPipelineMode) MarshalJSON ¶
func (s OptCreatePalRequestPipelineMode) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreatePalRequestPipelineMode) Or ¶
func (o OptCreatePalRequestPipelineMode) Or(d CreatePalRequestPipelineMode) CreatePalRequestPipelineMode
Or returns value if set, or given parameter if does not.
func (*OptCreatePalRequestPipelineMode) Reset ¶
func (o *OptCreatePalRequestPipelineMode) Reset()
Reset unsets value.
func (*OptCreatePalRequestPipelineMode) SetTo ¶
func (o *OptCreatePalRequestPipelineMode) SetTo(v CreatePalRequestPipelineMode)
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 ¶
func (o *OptCreateToolRequestDelivery) Decode(d *jx.Decoder) error
Decode decodes CreateToolRequestDelivery from json.
func (OptCreateToolRequestDelivery) Encode ¶
func (o OptCreateToolRequestDelivery) Encode(e *jx.Encoder)
Encode encodes CreateToolRequestDelivery as json.
func (OptCreateToolRequestDelivery) Get ¶
func (o OptCreateToolRequestDelivery) Get() (v CreateToolRequestDelivery, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateToolRequestDelivery) IsSet ¶
func (o OptCreateToolRequestDelivery) IsSet() bool
IsSet returns true if OptCreateToolRequestDelivery was set.
func (OptCreateToolRequestDelivery) MarshalJSON ¶
func (s OptCreateToolRequestDelivery) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptCreateToolRequestDelivery) Reset ¶
func (o *OptCreateToolRequestDelivery) Reset()
Reset unsets value.
func (*OptCreateToolRequestDelivery) SetTo ¶
func (o *OptCreateToolRequestDelivery) SetTo(v CreateToolRequestDelivery)
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 ¶
func (o *OptCreateToolRequestDeliveryAPI) Decode(d *jx.Decoder) error
Decode decodes CreateToolRequestDeliveryAPI from json.
func (OptCreateToolRequestDeliveryAPI) Encode ¶
func (o OptCreateToolRequestDeliveryAPI) Encode(e *jx.Encoder)
Encode encodes CreateToolRequestDeliveryAPI as json.
func (OptCreateToolRequestDeliveryAPI) Get ¶
func (o OptCreateToolRequestDeliveryAPI) Get() (v CreateToolRequestDeliveryAPI, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateToolRequestDeliveryAPI) IsSet ¶
func (o OptCreateToolRequestDeliveryAPI) IsSet() bool
IsSet returns true if OptCreateToolRequestDeliveryAPI was set.
func (OptCreateToolRequestDeliveryAPI) MarshalJSON ¶
func (s OptCreateToolRequestDeliveryAPI) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateToolRequestDeliveryAPI) Or ¶
func (o OptCreateToolRequestDeliveryAPI) Or(d CreateToolRequestDeliveryAPI) CreateToolRequestDeliveryAPI
Or returns value if set, or given parameter if does not.
func (*OptCreateToolRequestDeliveryAPI) Reset ¶
func (o *OptCreateToolRequestDeliveryAPI) Reset()
Reset unsets value.
func (*OptCreateToolRequestDeliveryAPI) SetTo ¶
func (o *OptCreateToolRequestDeliveryAPI) SetTo(v CreateToolRequestDeliveryAPI)
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 ¶
func (o *OptCreateToolRequestDeliveryAPIAuthType) Decode(d *jx.Decoder) error
Decode decodes CreateToolRequestDeliveryAPIAuthType from json.
func (OptCreateToolRequestDeliveryAPIAuthType) Encode ¶
func (o OptCreateToolRequestDeliveryAPIAuthType) Encode(e *jx.Encoder)
Encode encodes CreateToolRequestDeliveryAPIAuthType as json.
func (OptCreateToolRequestDeliveryAPIAuthType) Get ¶
func (o OptCreateToolRequestDeliveryAPIAuthType) Get() (v CreateToolRequestDeliveryAPIAuthType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateToolRequestDeliveryAPIAuthType) IsSet ¶
func (o OptCreateToolRequestDeliveryAPIAuthType) IsSet() bool
IsSet returns true if OptCreateToolRequestDeliveryAPIAuthType was set.
func (OptCreateToolRequestDeliveryAPIAuthType) MarshalJSON ¶
func (s OptCreateToolRequestDeliveryAPIAuthType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateToolRequestDeliveryAPIAuthType) Or ¶
func (o OptCreateToolRequestDeliveryAPIAuthType) Or(d CreateToolRequestDeliveryAPIAuthType) CreateToolRequestDeliveryAPIAuthType
Or returns value if set, or given parameter if does not.
func (*OptCreateToolRequestDeliveryAPIAuthType) Reset ¶
func (o *OptCreateToolRequestDeliveryAPIAuthType) Reset()
Reset unsets value.
func (*OptCreateToolRequestDeliveryAPIAuthType) SetTo ¶
func (o *OptCreateToolRequestDeliveryAPIAuthType) SetTo(v CreateToolRequestDeliveryAPIAuthType)
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 ¶
func (o *OptCreateToolRequestDeliveryAPIHeaders) Decode(d *jx.Decoder) error
Decode decodes CreateToolRequestDeliveryAPIHeaders from json.
func (OptCreateToolRequestDeliveryAPIHeaders) Encode ¶
func (o OptCreateToolRequestDeliveryAPIHeaders) Encode(e *jx.Encoder)
Encode encodes CreateToolRequestDeliveryAPIHeaders as json.
func (OptCreateToolRequestDeliveryAPIHeaders) Get ¶
func (o OptCreateToolRequestDeliveryAPIHeaders) Get() (v CreateToolRequestDeliveryAPIHeaders, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateToolRequestDeliveryAPIHeaders) IsSet ¶
func (o OptCreateToolRequestDeliveryAPIHeaders) IsSet() bool
IsSet returns true if OptCreateToolRequestDeliveryAPIHeaders was set.
func (OptCreateToolRequestDeliveryAPIHeaders) MarshalJSON ¶
func (s OptCreateToolRequestDeliveryAPIHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateToolRequestDeliveryAPIHeaders) Or ¶
func (o OptCreateToolRequestDeliveryAPIHeaders) Or(d CreateToolRequestDeliveryAPIHeaders) CreateToolRequestDeliveryAPIHeaders
Or returns value if set, or given parameter if does not.
func (*OptCreateToolRequestDeliveryAPIHeaders) Reset ¶
func (o *OptCreateToolRequestDeliveryAPIHeaders) Reset()
Reset unsets value.
func (*OptCreateToolRequestDeliveryAPIHeaders) SetTo ¶
func (o *OptCreateToolRequestDeliveryAPIHeaders) SetTo(v CreateToolRequestDeliveryAPIHeaders)
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 ¶
func (o *OptCreateToolRequestOnCall) Decode(d *jx.Decoder) error
Decode decodes CreateToolRequestOnCall from json.
func (OptCreateToolRequestOnCall) Encode ¶
func (o OptCreateToolRequestOnCall) Encode(e *jx.Encoder)
Encode encodes CreateToolRequestOnCall as json.
func (OptCreateToolRequestOnCall) Get ¶
func (o OptCreateToolRequestOnCall) Get() (v CreateToolRequestOnCall, ok bool)
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) Reset ¶
func (o *OptCreateToolRequestOnCall) Reset()
Reset unsets value.
func (*OptCreateToolRequestOnCall) SetTo ¶
func (o *OptCreateToolRequestOnCall) SetTo(v CreateToolRequestOnCall)
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 ¶
func (o *OptCreateToolRequestOnResolve) Decode(d *jx.Decoder) error
Decode decodes CreateToolRequestOnResolve from json.
func (OptCreateToolRequestOnResolve) Encode ¶
func (o OptCreateToolRequestOnResolve) Encode(e *jx.Encoder)
Encode encodes CreateToolRequestOnResolve as json.
func (OptCreateToolRequestOnResolve) Get ¶
func (o OptCreateToolRequestOnResolve) Get() (v CreateToolRequestOnResolve, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateToolRequestOnResolve) IsSet ¶
func (o OptCreateToolRequestOnResolve) IsSet() bool
IsSet returns true if OptCreateToolRequestOnResolve was set.
func (OptCreateToolRequestOnResolve) MarshalJSON ¶
func (s OptCreateToolRequestOnResolve) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptCreateToolRequestOnResolve) Reset ¶
func (o *OptCreateToolRequestOnResolve) Reset()
Reset unsets value.
func (*OptCreateToolRequestOnResolve) SetTo ¶
func (o *OptCreateToolRequestOnResolve) SetTo(v CreateToolRequestOnResolve)
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 ¶
func (o *OptCreateToolRequestOrigin) Decode(d *jx.Decoder) error
Decode decodes CreateToolRequestOrigin from json.
func (OptCreateToolRequestOrigin) Encode ¶
func (o OptCreateToolRequestOrigin) Encode(e *jx.Encoder)
Encode encodes CreateToolRequestOrigin as json.
func (OptCreateToolRequestOrigin) Get ¶
func (o OptCreateToolRequestOrigin) Get() (v CreateToolRequestOrigin, ok bool)
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) Reset ¶
func (o *OptCreateToolRequestOrigin) Reset()
Reset unsets value.
func (*OptCreateToolRequestOrigin) SetTo ¶
func (o *OptCreateToolRequestOrigin) SetTo(v CreateToolRequestOrigin)
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 ¶
func (o *OptCreateToolRequestParameters) Decode(d *jx.Decoder) error
Decode decodes CreateToolRequestParameters from json.
func (OptCreateToolRequestParameters) Encode ¶
func (o OptCreateToolRequestParameters) Encode(e *jx.Encoder)
Encode encodes CreateToolRequestParameters as json.
func (OptCreateToolRequestParameters) Get ¶
func (o OptCreateToolRequestParameters) Get() (v CreateToolRequestParameters, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateToolRequestParameters) IsSet ¶
func (o OptCreateToolRequestParameters) IsSet() bool
IsSet returns true if OptCreateToolRequestParameters was set.
func (OptCreateToolRequestParameters) MarshalJSON ¶
func (s OptCreateToolRequestParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateToolRequestParameters) Or ¶
func (o OptCreateToolRequestParameters) Or(d CreateToolRequestParameters) CreateToolRequestParameters
Or returns value if set, or given parameter if does not.
func (*OptCreateToolRequestParameters) Reset ¶
func (o *OptCreateToolRequestParameters) Reset()
Reset unsets value.
func (*OptCreateToolRequestParameters) SetTo ¶
func (o *OptCreateToolRequestParameters) SetTo(v CreateToolRequestParameters)
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 ¶
func (o *OptCreateToolRequestTriggerType) Decode(d *jx.Decoder) error
Decode decodes CreateToolRequestTriggerType from json.
func (OptCreateToolRequestTriggerType) Encode ¶
func (o OptCreateToolRequestTriggerType) Encode(e *jx.Encoder)
Encode encodes CreateToolRequestTriggerType as json.
func (OptCreateToolRequestTriggerType) Get ¶
func (o OptCreateToolRequestTriggerType) Get() (v CreateToolRequestTriggerType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateToolRequestTriggerType) IsSet ¶
func (o OptCreateToolRequestTriggerType) IsSet() bool
IsSet returns true if OptCreateToolRequestTriggerType was set.
func (OptCreateToolRequestTriggerType) MarshalJSON ¶
func (s OptCreateToolRequestTriggerType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateToolRequestTriggerType) Or ¶
func (o OptCreateToolRequestTriggerType) Or(d CreateToolRequestTriggerType) CreateToolRequestTriggerType
Or returns value if set, or given parameter if does not.
func (*OptCreateToolRequestTriggerType) Reset ¶
func (o *OptCreateToolRequestTriggerType) Reset()
Reset unsets value.
func (*OptCreateToolRequestTriggerType) SetTo ¶
func (o *OptCreateToolRequestTriggerType) SetTo(v CreateToolRequestTriggerType)
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 ¶
func (o *OptCreateVideoRequestProperties) Decode(d *jx.Decoder) error
Decode decodes CreateVideoRequestProperties from json.
func (OptCreateVideoRequestProperties) Encode ¶
func (o OptCreateVideoRequestProperties) Encode(e *jx.Encoder)
Encode encodes CreateVideoRequestProperties as json.
func (OptCreateVideoRequestProperties) Get ¶
func (o OptCreateVideoRequestProperties) Get() (v CreateVideoRequestProperties, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateVideoRequestProperties) IsSet ¶
func (o OptCreateVideoRequestProperties) IsSet() bool
IsSet returns true if OptCreateVideoRequestProperties was set.
func (OptCreateVideoRequestProperties) MarshalJSON ¶
func (s OptCreateVideoRequestProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateVideoRequestProperties) Or ¶
func (o OptCreateVideoRequestProperties) Or(d CreateVideoRequestProperties) CreateVideoRequestProperties
Or returns value if set, or given parameter if does not.
func (*OptCreateVideoRequestProperties) Reset ¶
func (o *OptCreateVideoRequestProperties) Reset()
Reset unsets value.
func (*OptCreateVideoRequestProperties) SetTo ¶
func (o *OptCreateVideoRequestProperties) SetTo(v CreateVideoRequestProperties)
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 ¶
func NewOptCreateVideoRequestPropertiesBackgroundScrollDepth(v CreateVideoRequestPropertiesBackgroundScrollDepth) OptCreateVideoRequestPropertiesBackgroundScrollDepth
NewOptCreateVideoRequestPropertiesBackgroundScrollDepth returns new OptCreateVideoRequestPropertiesBackgroundScrollDepth with value set to v.
func (*OptCreateVideoRequestPropertiesBackgroundScrollDepth) Decode ¶
func (o *OptCreateVideoRequestPropertiesBackgroundScrollDepth) Decode(d *jx.Decoder) error
Decode decodes CreateVideoRequestPropertiesBackgroundScrollDepth from json.
func (OptCreateVideoRequestPropertiesBackgroundScrollDepth) Encode ¶
func (o OptCreateVideoRequestPropertiesBackgroundScrollDepth) Encode(e *jx.Encoder)
Encode encodes CreateVideoRequestPropertiesBackgroundScrollDepth as json.
func (OptCreateVideoRequestPropertiesBackgroundScrollDepth) Get ¶
func (o OptCreateVideoRequestPropertiesBackgroundScrollDepth) Get() (v CreateVideoRequestPropertiesBackgroundScrollDepth, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateVideoRequestPropertiesBackgroundScrollDepth) IsSet ¶
func (o OptCreateVideoRequestPropertiesBackgroundScrollDepth) IsSet() bool
IsSet returns true if OptCreateVideoRequestPropertiesBackgroundScrollDepth was set.
func (OptCreateVideoRequestPropertiesBackgroundScrollDepth) MarshalJSON ¶
func (s OptCreateVideoRequestPropertiesBackgroundScrollDepth) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateVideoRequestPropertiesBackgroundScrollDepth) Or ¶
func (o OptCreateVideoRequestPropertiesBackgroundScrollDepth) Or(d CreateVideoRequestPropertiesBackgroundScrollDepth) CreateVideoRequestPropertiesBackgroundScrollDepth
Or returns value if set, or given parameter if does not.
func (*OptCreateVideoRequestPropertiesBackgroundScrollDepth) Reset ¶
func (o *OptCreateVideoRequestPropertiesBackgroundScrollDepth) Reset()
Reset unsets value.
func (*OptCreateVideoRequestPropertiesBackgroundScrollDepth) SetTo ¶
func (o *OptCreateVideoRequestPropertiesBackgroundScrollDepth) SetTo(v CreateVideoRequestPropertiesBackgroundScrollDepth)
SetTo sets value to v.
func (*OptCreateVideoRequestPropertiesBackgroundScrollDepth) UnmarshalJSON ¶
func (s *OptCreateVideoRequestPropertiesBackgroundScrollDepth) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCreateVideoRequestPropertiesBackgroundScrollReturn ¶
type OptCreateVideoRequestPropertiesBackgroundScrollReturn struct {
Value CreateVideoRequestPropertiesBackgroundScrollReturn
Set bool
}
OptCreateVideoRequestPropertiesBackgroundScrollReturn is optional CreateVideoRequestPropertiesBackgroundScrollReturn.
func NewOptCreateVideoRequestPropertiesBackgroundScrollReturn ¶
func NewOptCreateVideoRequestPropertiesBackgroundScrollReturn(v CreateVideoRequestPropertiesBackgroundScrollReturn) OptCreateVideoRequestPropertiesBackgroundScrollReturn
NewOptCreateVideoRequestPropertiesBackgroundScrollReturn returns new OptCreateVideoRequestPropertiesBackgroundScrollReturn with value set to v.
func (*OptCreateVideoRequestPropertiesBackgroundScrollReturn) Decode ¶
func (o *OptCreateVideoRequestPropertiesBackgroundScrollReturn) Decode(d *jx.Decoder) error
Decode decodes CreateVideoRequestPropertiesBackgroundScrollReturn from json.
func (OptCreateVideoRequestPropertiesBackgroundScrollReturn) Encode ¶
func (o OptCreateVideoRequestPropertiesBackgroundScrollReturn) Encode(e *jx.Encoder)
Encode encodes CreateVideoRequestPropertiesBackgroundScrollReturn as json.
func (OptCreateVideoRequestPropertiesBackgroundScrollReturn) Get ¶
func (o OptCreateVideoRequestPropertiesBackgroundScrollReturn) Get() (v CreateVideoRequestPropertiesBackgroundScrollReturn, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateVideoRequestPropertiesBackgroundScrollReturn) IsSet ¶
func (o OptCreateVideoRequestPropertiesBackgroundScrollReturn) IsSet() bool
IsSet returns true if OptCreateVideoRequestPropertiesBackgroundScrollReturn was set.
func (OptCreateVideoRequestPropertiesBackgroundScrollReturn) MarshalJSON ¶
func (s OptCreateVideoRequestPropertiesBackgroundScrollReturn) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateVideoRequestPropertiesBackgroundScrollReturn) Or ¶
func (o OptCreateVideoRequestPropertiesBackgroundScrollReturn) Or(d CreateVideoRequestPropertiesBackgroundScrollReturn) CreateVideoRequestPropertiesBackgroundScrollReturn
Or returns value if set, or given parameter if does not.
func (*OptCreateVideoRequestPropertiesBackgroundScrollReturn) Reset ¶
func (o *OptCreateVideoRequestPropertiesBackgroundScrollReturn) Reset()
Reset unsets value.
func (*OptCreateVideoRequestPropertiesBackgroundScrollReturn) SetTo ¶
func (o *OptCreateVideoRequestPropertiesBackgroundScrollReturn) SetTo(v CreateVideoRequestPropertiesBackgroundScrollReturn)
SetTo sets value to v.
func (*OptCreateVideoRequestPropertiesBackgroundScrollReturn) UnmarshalJSON ¶
func (s *OptCreateVideoRequestPropertiesBackgroundScrollReturn) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptCreateVideoRequestPropertiesBackgroundScrollType) Decode(d *jx.Decoder) error
Decode decodes CreateVideoRequestPropertiesBackgroundScrollType from json.
func (OptCreateVideoRequestPropertiesBackgroundScrollType) Encode ¶
func (o OptCreateVideoRequestPropertiesBackgroundScrollType) Encode(e *jx.Encoder)
Encode encodes CreateVideoRequestPropertiesBackgroundScrollType as json.
func (OptCreateVideoRequestPropertiesBackgroundScrollType) Get ¶
func (o OptCreateVideoRequestPropertiesBackgroundScrollType) Get() (v CreateVideoRequestPropertiesBackgroundScrollType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateVideoRequestPropertiesBackgroundScrollType) IsSet ¶
func (o OptCreateVideoRequestPropertiesBackgroundScrollType) IsSet() bool
IsSet returns true if OptCreateVideoRequestPropertiesBackgroundScrollType was set.
func (OptCreateVideoRequestPropertiesBackgroundScrollType) MarshalJSON ¶
func (s OptCreateVideoRequestPropertiesBackgroundScrollType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateVideoRequestPropertiesBackgroundScrollType) Or ¶
func (o OptCreateVideoRequestPropertiesBackgroundScrollType) Or(d CreateVideoRequestPropertiesBackgroundScrollType) CreateVideoRequestPropertiesBackgroundScrollType
Or returns value if set, or given parameter if does not.
func (*OptCreateVideoRequestPropertiesBackgroundScrollType) Reset ¶
func (o *OptCreateVideoRequestPropertiesBackgroundScrollType) Reset()
Reset unsets value.
func (*OptCreateVideoRequestPropertiesBackgroundScrollType) SetTo ¶
func (o *OptCreateVideoRequestPropertiesBackgroundScrollType) SetTo(v CreateVideoRequestPropertiesBackgroundScrollType)
SetTo sets value to v.
func (*OptCreateVideoRequestPropertiesBackgroundScrollType) UnmarshalJSON ¶
func (s *OptCreateVideoRequestPropertiesBackgroundScrollType) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptCreateVideoResponseStatus) Decode(d *jx.Decoder) error
Decode decodes CreateVideoResponseStatus from json.
func (OptCreateVideoResponseStatus) Encode ¶
func (o OptCreateVideoResponseStatus) Encode(e *jx.Encoder)
Encode encodes CreateVideoResponseStatus as json.
func (OptCreateVideoResponseStatus) Get ¶
func (o OptCreateVideoResponseStatus) Get() (v CreateVideoResponseStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateVideoResponseStatus) IsSet ¶
func (o OptCreateVideoResponseStatus) IsSet() bool
IsSet returns true if OptCreateVideoResponseStatus was set.
func (OptCreateVideoResponseStatus) MarshalJSON ¶
func (s OptCreateVideoResponseStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptCreateVideoResponseStatus) Reset ¶
func (o *OptCreateVideoResponseStatus) Reset()
Reset unsets value.
func (*OptCreateVideoResponseStatus) SetTo ¶
func (o *OptCreateVideoResponseStatus) SetTo(v CreateVideoResponseStatus)
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 ¶
func (o *OptDeploymentCustomization) Decode(d *jx.Decoder) error
Decode decodes DeploymentCustomization from json.
func (OptDeploymentCustomization) Encode ¶
func (o OptDeploymentCustomization) Encode(e *jx.Encoder)
Encode encodes DeploymentCustomization as json.
func (OptDeploymentCustomization) Get ¶
func (o OptDeploymentCustomization) Get() (v DeploymentCustomization, ok bool)
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) Reset ¶
func (o *OptDeploymentCustomization) Reset()
Reset unsets value.
func (*OptDeploymentCustomization) SetTo ¶
func (o *OptDeploymentCustomization) SetTo(v DeploymentCustomization)
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 ¶
func (o OptDocumentStatus) Or(d DocumentStatus) DocumentStatus
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptFaceStatus) Or(d FaceStatus) FaceStatus
Or returns value if set, or given parameter if does not.
func (*OptFaceStatus) UnmarshalJSON ¶
func (s *OptFaceStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFloat64 ¶
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) UnmarshalJSON ¶
func (s *OptFloat64) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt ¶
OptInt is optional int.
func (OptInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt) UnmarshalJSON ¶
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 ¶
func (o OptListVoicesSort) Or(d ListVoicesSort) ListVoicesSort
Or returns value if set, or given parameter if does not.
func (*OptListVoicesSort) SetTo ¶
func (o *OptListVoicesSort) SetTo(v ListVoicesSort)
SetTo sets value to v.
type OptLlmLayer ¶
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) 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 ¶
func (o OptLlmLayerExtraBody) Get() (v LlmLayerExtraBody, ok bool)
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 ¶
func (o OptLlmLayerExtraBody) Or(d LlmLayerExtraBody) LlmLayerExtraBody
Or returns value if set, or given parameter if does not.
func (*OptLlmLayerExtraBody) SetTo ¶
func (o *OptLlmLayerExtraBody) SetTo(v LlmLayerExtraBody)
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 ¶
func (o *OptObjectiveItemConfirmationMode) Decode(d *jx.Decoder) error
Decode decodes ObjectiveItemConfirmationMode from json.
func (OptObjectiveItemConfirmationMode) Encode ¶
func (o OptObjectiveItemConfirmationMode) Encode(e *jx.Encoder)
Encode encodes ObjectiveItemConfirmationMode as json.
func (OptObjectiveItemConfirmationMode) Get ¶
func (o OptObjectiveItemConfirmationMode) Get() (v ObjectiveItemConfirmationMode, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptObjectiveItemConfirmationMode) IsSet ¶
func (o OptObjectiveItemConfirmationMode) IsSet() bool
IsSet returns true if OptObjectiveItemConfirmationMode was set.
func (OptObjectiveItemConfirmationMode) MarshalJSON ¶
func (s OptObjectiveItemConfirmationMode) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptObjectiveItemConfirmationMode) Or ¶
func (o OptObjectiveItemConfirmationMode) Or(d ObjectiveItemConfirmationMode) ObjectiveItemConfirmationMode
Or returns value if set, or given parameter if does not.
func (*OptObjectiveItemConfirmationMode) Reset ¶
func (o *OptObjectiveItemConfirmationMode) Reset()
Reset unsets value.
func (*OptObjectiveItemConfirmationMode) SetTo ¶
func (o *OptObjectiveItemConfirmationMode) SetTo(v ObjectiveItemConfirmationMode)
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 ¶
func (o OptObjectiveItemModality) Get() (v ObjectiveItemModality, ok bool)
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 ¶
func (o OptObjectiveItemModality) Or(d ObjectiveItemModality) ObjectiveItemModality
Or returns value if set, or given parameter if does not.
func (*OptObjectiveItemModality) Reset ¶
func (o *OptObjectiveItemModality) Reset()
Reset unsets value.
func (*OptObjectiveItemModality) SetTo ¶
func (o *OptObjectiveItemModality) SetTo(v ObjectiveItemModality)
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 ¶
func (o *OptObjectiveItemNextConditionalObjectives) Decode(d *jx.Decoder) error
Decode decodes ObjectiveItemNextConditionalObjectives from json.
func (OptObjectiveItemNextConditionalObjectives) Encode ¶
func (o OptObjectiveItemNextConditionalObjectives) Encode(e *jx.Encoder)
Encode encodes ObjectiveItemNextConditionalObjectives as json.
func (OptObjectiveItemNextConditionalObjectives) Get ¶
func (o OptObjectiveItemNextConditionalObjectives) Get() (v ObjectiveItemNextConditionalObjectives, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptObjectiveItemNextConditionalObjectives) IsSet ¶
func (o OptObjectiveItemNextConditionalObjectives) IsSet() bool
IsSet returns true if OptObjectiveItemNextConditionalObjectives was set.
func (OptObjectiveItemNextConditionalObjectives) MarshalJSON ¶
func (s OptObjectiveItemNextConditionalObjectives) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptObjectiveItemNextConditionalObjectives) Or ¶
func (o OptObjectiveItemNextConditionalObjectives) Or(d ObjectiveItemNextConditionalObjectives) ObjectiveItemNextConditionalObjectives
Or returns value if set, or given parameter if does not.
func (*OptObjectiveItemNextConditionalObjectives) Reset ¶
func (o *OptObjectiveItemNextConditionalObjectives) Reset()
Reset unsets value.
func (*OptObjectiveItemNextConditionalObjectives) SetTo ¶
func (o *OptObjectiveItemNextConditionalObjectives) SetTo(v ObjectiveItemNextConditionalObjectives)
SetTo sets value to v.
func (*OptObjectiveItemNextConditionalObjectives) UnmarshalJSON ¶
func (s *OptObjectiveItemNextConditionalObjectives) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPalLayers ¶
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 ¶
func (o OptPalLayers) Or(d PalLayers) PalLayers
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptPerceptionLayer) Or(d PerceptionLayer) PerceptionLayer
Or returns value if set, or given parameter if does not.
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 ¶
func (o *OptPerceptionLayerPerceptionModel) Decode(d *jx.Decoder) error
Decode decodes PerceptionLayerPerceptionModel from json.
func (OptPerceptionLayerPerceptionModel) Encode ¶
func (o OptPerceptionLayerPerceptionModel) Encode(e *jx.Encoder)
Encode encodes PerceptionLayerPerceptionModel as json.
func (OptPerceptionLayerPerceptionModel) Get ¶
func (o OptPerceptionLayerPerceptionModel) Get() (v PerceptionLayerPerceptionModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPerceptionLayerPerceptionModel) IsSet ¶
func (o OptPerceptionLayerPerceptionModel) IsSet() bool
IsSet returns true if OptPerceptionLayerPerceptionModel was set.
func (OptPerceptionLayerPerceptionModel) MarshalJSON ¶
func (s OptPerceptionLayerPerceptionModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPerceptionLayerPerceptionModel) Or ¶
func (o OptPerceptionLayerPerceptionModel) Or(d PerceptionLayerPerceptionModel) PerceptionLayerPerceptionModel
Or returns value if set, or given parameter if does not.
func (*OptPerceptionLayerPerceptionModel) Reset ¶
func (o *OptPerceptionLayerPerceptionModel) Reset()
Reset unsets value.
func (*OptPerceptionLayerPerceptionModel) SetTo ¶
func (o *OptPerceptionLayerPerceptionModel) SetTo(v PerceptionLayerPerceptionModel)
SetTo sets value to v.
func (*OptPerceptionLayerPerceptionModel) UnmarshalJSON ¶
func (s *OptPerceptionLayerPerceptionModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptSttLayer ¶
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) UnmarshalJSON ¶
func (s *OptSttLayer) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptTimestamp ¶
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 ¶
func (o OptTimestamp) Or(d Timestamp) Timestamp
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptToolParameters) Or(d ToolParameters) ToolParameters
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptTransportLayer) Or(d TransportLayer) TransportLayer
Or returns value if set, or given parameter if does not.
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 ¶
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) 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 ¶
func (o OptTtsLayerVoiceSettings) Get() (v TtsLayerVoiceSettings, ok bool)
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 ¶
func (o OptTtsLayerVoiceSettings) Or(d TtsLayerVoiceSettings) TtsLayerVoiceSettings
Or returns value if set, or given parameter if does not.
func (*OptTtsLayerVoiceSettings) Reset ¶
func (o *OptTtsLayerVoiceSettings) Reset()
Reset unsets value.
func (*OptTtsLayerVoiceSettings) SetTo ¶
func (o *OptTtsLayerVoiceSettings) SetTo(v TtsLayerVoiceSettings)
SetTo sets value to v.
func (*OptTtsLayerVoiceSettings) UnmarshalJSON ¶
func (s *OptTtsLayerVoiceSettings) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptURI ¶
OptURI is optional url.URL.
func (OptURI) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptURI) UnmarshalJSON ¶
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 ¶
func (o *OptUpdateDeploymentRequestCustomization) Decode(d *jx.Decoder) error
Decode decodes UpdateDeploymentRequestCustomization from json.
func (OptUpdateDeploymentRequestCustomization) Encode ¶
func (o OptUpdateDeploymentRequestCustomization) Encode(e *jx.Encoder)
Encode encodes UpdateDeploymentRequestCustomization as json.
func (OptUpdateDeploymentRequestCustomization) Get ¶
func (o OptUpdateDeploymentRequestCustomization) Get() (v UpdateDeploymentRequestCustomization, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUpdateDeploymentRequestCustomization) IsSet ¶
func (o OptUpdateDeploymentRequestCustomization) IsSet() bool
IsSet returns true if OptUpdateDeploymentRequestCustomization was set.
func (OptUpdateDeploymentRequestCustomization) MarshalJSON ¶
func (s OptUpdateDeploymentRequestCustomization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUpdateDeploymentRequestCustomization) Or ¶
func (o OptUpdateDeploymentRequestCustomization) Or(d UpdateDeploymentRequestCustomization) UpdateDeploymentRequestCustomization
Or returns value if set, or given parameter if does not.
func (*OptUpdateDeploymentRequestCustomization) Reset ¶
func (o *OptUpdateDeploymentRequestCustomization) Reset()
Reset unsets value.
func (*OptUpdateDeploymentRequestCustomization) SetTo ¶
func (o *OptUpdateDeploymentRequestCustomization) SetTo(v UpdateDeploymentRequestCustomization)
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 ¶
func (o *OptUpdateToolRequestParameters) Decode(d *jx.Decoder) error
Decode decodes UpdateToolRequestParameters from json.
func (OptUpdateToolRequestParameters) Encode ¶
func (o OptUpdateToolRequestParameters) Encode(e *jx.Encoder)
Encode encodes UpdateToolRequestParameters as json.
func (OptUpdateToolRequestParameters) Get ¶
func (o OptUpdateToolRequestParameters) Get() (v UpdateToolRequestParameters, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUpdateToolRequestParameters) IsSet ¶
func (o OptUpdateToolRequestParameters) IsSet() bool
IsSet returns true if OptUpdateToolRequestParameters was set.
func (OptUpdateToolRequestParameters) MarshalJSON ¶
func (s OptUpdateToolRequestParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUpdateToolRequestParameters) Or ¶
func (o OptUpdateToolRequestParameters) Or(d UpdateToolRequestParameters) UpdateToolRequestParameters
Or returns value if set, or given parameter if does not.
func (*OptUpdateToolRequestParameters) Reset ¶
func (o *OptUpdateToolRequestParameters) Reset()
Reset unsets value.
func (*OptUpdateToolRequestParameters) SetTo ¶
func (o *OptUpdateToolRequestParameters) SetTo(v UpdateToolRequestParameters)
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 ¶
func (o OptVideoStatus) Or(d VideoStatus) VideoStatus
Or returns value if set, or given parameter if does not.
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 ¶
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) GetConferencingEmail ¶
GetConferencingEmail returns the value of ConferencingEmail.
func (*Pal) GetCreatedAt ¶
func (s *Pal) GetCreatedAt() OptTimestamp
GetCreatedAt returns the value of CreatedAt.
func (*Pal) GetDefaultFaceID ¶
GetDefaultFaceID returns the value of DefaultFaceID.
func (*Pal) GetDocumentIds ¶
GetDocumentIds returns the value of DocumentIds.
func (*Pal) GetDocumentTags ¶
GetDocumentTags returns the value of DocumentTags.
func (*Pal) GetLayers ¶
func (s *Pal) GetLayers() OptPalLayers
GetLayers returns the value of Layers.
func (*Pal) GetPalName ¶
GetPalName returns the value of PalName.
func (*Pal) GetPipelineMode ¶
GetPipelineMode returns the value of PipelineMode.
func (*Pal) GetSystemPrompt ¶
GetSystemPrompt returns the value of SystemPrompt.
func (*Pal) GetUpdatedAt ¶
func (s *Pal) GetUpdatedAt() OptTimestamp
GetUpdatedAt returns the value of UpdatedAt.
func (*Pal) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Pal) SetConferencingEmail ¶
SetConferencingEmail sets the value of ConferencingEmail.
func (*Pal) SetCreatedAt ¶
func (s *Pal) SetCreatedAt(val OptTimestamp)
SetCreatedAt sets the value of CreatedAt.
func (*Pal) SetDefaultFaceID ¶
SetDefaultFaceID sets the value of DefaultFaceID.
func (*Pal) SetDocumentIds ¶
SetDocumentIds sets the value of DocumentIds.
func (*Pal) SetDocumentTags ¶
SetDocumentTags sets the value of DocumentTags.
func (*Pal) SetLayers ¶
func (s *Pal) SetLayers(val OptPalLayers)
SetLayers sets the value of Layers.
func (*Pal) SetPalName ¶
SetPalName sets the value of PalName.
func (*Pal) SetPipelineMode ¶
SetPipelineMode sets the value of PipelineMode.
func (*Pal) SetSystemPrompt ¶
SetSystemPrompt sets the value of SystemPrompt.
func (*Pal) SetUpdatedAt ¶
func (s *Pal) SetUpdatedAt(val OptTimestamp)
SetUpdatedAt sets the value of UpdatedAt.
func (*Pal) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) 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 ¶
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 ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (PerceptionLayerPerceptionModel) AllValues() []PerceptionLayerPerceptionModel
AllValues returns all PerceptionLayerPerceptionModel values.
func (*PerceptionLayerPerceptionModel) Decode ¶
func (s *PerceptionLayerPerceptionModel) Decode(d *jx.Decoder) error
Decode decodes PerceptionLayerPerceptionModel from json.
func (PerceptionLayerPerceptionModel) Encode ¶
func (s PerceptionLayerPerceptionModel) Encode(e *jx.Encoder)
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 ¶
func (s PerceptionLayerPerceptionModel) Validate() error
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 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) OperationGroup ¶
OperationGroup returns the x-ogen-operation-group value.
func (Route) OperationID ¶
OperationID returns OpenAPI operationId.
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.
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) GetHotwords ¶
GetHotwords returns the value of Hotwords.
func (*SttLayer) GetSttEngine ¶
GetSttEngine returns the value of SttEngine.
func (*SttLayer) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*SttLayer) SetHotwords ¶
SetHotwords sets the value of Hotwords.
func (*SttLayer) SetSttEngine ¶
SetSttEngine sets the value of SttEngine.
func (*SttLayer) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Timestamp ¶
func (Timestamp) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Timestamp) UnmarshalJSON ¶
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) 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 ¶
GetDescription returns the value of Description.
func (*Tool) GetOnResolve ¶
GetOnResolve returns the value of OnResolve.
func (*Tool) GetParameters ¶
func (s *Tool) GetParameters() OptToolParameters
GetParameters returns the value of Parameters.
func (*Tool) GetTriggerType ¶
GetTriggerType returns the value of TriggerType.
func (*Tool) GetUpdatedAt ¶
func (s *Tool) GetUpdatedAt() OptTimestamp
GetUpdatedAt returns the value of UpdatedAt.
func (*Tool) MarshalJSON ¶
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 ¶
SetDescription sets the value of Description.
func (*Tool) SetOnResolve ¶
SetOnResolve sets the value of OnResolve.
func (*Tool) SetParameters ¶
func (s *Tool) SetParameters(val OptToolParameters)
SetParameters sets the value of Parameters.
func (*Tool) SetTriggerType ¶
SetTriggerType sets the value of TriggerType.
func (*Tool) SetUpdatedAt ¶
func (s *Tool) SetUpdatedAt(val OptTimestamp)
SetUpdatedAt sets the value of UpdatedAt.
func (*Tool) UnmarshalJSON ¶
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 ¶
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) GetExternalVoiceID ¶
GetExternalVoiceID returns the value of ExternalVoiceID.
func (*TtsLayer) GetTtsEngine ¶
GetTtsEngine returns the value of TtsEngine.
func (*TtsLayer) GetTtsModelName ¶
GetTtsModelName returns the value of TtsModelName.
func (*TtsLayer) GetVoiceSettings ¶
func (s *TtsLayer) GetVoiceSettings() OptTtsLayerVoiceSettings
GetVoiceSettings returns the value of VoiceSettings.
func (*TtsLayer) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*TtsLayer) SetExternalVoiceID ¶
SetExternalVoiceID sets the value of ExternalVoiceID.
func (*TtsLayer) SetTtsEngine ¶
SetTtsEngine sets the value of TtsEngine.
func (*TtsLayer) SetTtsModelName ¶
SetTtsModelName sets the value of TtsModelName.
func (*TtsLayer) SetVoiceSettings ¶
func (s *TtsLayer) SetVoiceSettings(val OptTtsLayerVoiceSettings)
SetVoiceSettings sets the value of VoiceSettings.
func (*TtsLayer) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type TtsLayerVoiceSettings ¶
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 ¶
func (UnimplementedHandler) AttachToolToPal(ctx context.Context, req *AttachToolToPalReq, params AttachToolToPalParams) (r AttachToolToPalRes, _ error)
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 ¶
func (UnimplementedHandler) CreateConversation(ctx context.Context, req *CreateConversationRequest) (r CreateConversationRes, _ 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
func (UnimplementedHandler) CreateDeployment ¶
func (UnimplementedHandler) CreateDeployment(ctx context.Context, req *CreateDeploymentRequest) (r CreateDeploymentRes, _ error)
CreateDeployment implements createDeployment operation.
Creates a distribution channel for a PAL (widget, embed, or landing page).
POST /v2/deployments
func (UnimplementedHandler) CreateDocument ¶
func (UnimplementedHandler) CreateDocument(ctx context.Context, req *CreateDocumentRequest) (r CreateDocumentRes, _ 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
func (UnimplementedHandler) CreateFace ¶
func (UnimplementedHandler) CreateFace(ctx context.Context, req *CreateFaceRequest) (r CreateFaceRes, _ 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
func (UnimplementedHandler) CreateGuardrail ¶
func (UnimplementedHandler) CreateGuardrail(ctx context.Context, req *CreateGuardrailRequest) (r CreateGuardrailRes, _ error)
CreateGuardrail implements createGuardrail operation.
Creates a behavioral boundary for PAL conversations.
POST /v2/guardrails
func (UnimplementedHandler) CreateObjectives ¶
func (UnimplementedHandler) CreateObjectives(ctx context.Context, req *CreateObjectivesRequest) (r CreateObjectivesRes, _ error)
CreateObjectives implements createObjectives operation.
Creates measurable goals for PAL conversations.
POST /v2/objectives
func (UnimplementedHandler) CreatePal ¶
func (UnimplementedHandler) CreatePal(ctx context.Context, req *CreatePalRequest) (r CreatePalRes, _ error)
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 ¶
func (UnimplementedHandler) CreateTool(ctx context.Context, req *CreateToolRequest) (r CreateToolRes, _ error)
CreateTool implements createTool operation.
Creates a function calling tool that can be attached to PALs.
POST /v2/tools
func (UnimplementedHandler) CreateVideo ¶
func (UnimplementedHandler) CreateVideo(ctx context.Context, req *CreateVideoRequest) (r CreateVideoRes, _ error)
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 ¶
func (UnimplementedHandler) DeleteConversation(ctx context.Context, params DeleteConversationParams) (r DeleteConversationRes, _ error)
DeleteConversation implements deleteConversation operation.
Delete a conversation.
DELETE /v2/conversations/{conversation_id}
func (UnimplementedHandler) DeleteDeployment ¶
func (UnimplementedHandler) DeleteDeployment(ctx context.Context, params DeleteDeploymentParams) (r DeleteDeploymentRes, _ error)
DeleteDeployment implements deleteDeployment operation.
Delete a deployment.
DELETE /v2/deployments/{deployment_id}
func (UnimplementedHandler) DeleteDocument ¶
func (UnimplementedHandler) DeleteDocument(ctx context.Context, params DeleteDocumentParams) (r DeleteDocumentRes, _ error)
DeleteDocument implements deleteDocument operation.
Delete a document.
DELETE /v2/documents/{document_id}
func (UnimplementedHandler) DeleteFace ¶
func (UnimplementedHandler) DeleteFace(ctx context.Context, params DeleteFaceParams) (r DeleteFaceRes, _ error)
DeleteFace implements deleteFace operation.
Delete a face.
DELETE /v2/faces/{face_id}
func (UnimplementedHandler) DeleteGuardrail ¶
func (UnimplementedHandler) DeleteGuardrail(ctx context.Context, params DeleteGuardrailParams) (r DeleteGuardrailRes, _ error)
DeleteGuardrail implements deleteGuardrail operation.
Delete a guardrail.
DELETE /v2/guardrails/{guardrail_id}
func (UnimplementedHandler) DeleteObjectives ¶
func (UnimplementedHandler) DeleteObjectives(ctx context.Context, params DeleteObjectivesParams) (r DeleteObjectivesRes, _ error)
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 ¶
func (UnimplementedHandler) DeleteTool(ctx context.Context, params DeleteToolParams) (r DeleteToolRes, _ error)
DeleteTool implements deleteTool operation.
Delete a tool.
DELETE /v2/tools/{tool_id}
func (UnimplementedHandler) DeleteVideo ¶
func (UnimplementedHandler) DeleteVideo(ctx context.Context, params DeleteVideoParams) (r DeleteVideoRes, _ error)
DeleteVideo implements deleteVideo operation.
Delete a video.
DELETE /v2/videos/{video_id}
func (UnimplementedHandler) EndConversation ¶
func (UnimplementedHandler) EndConversation(ctx context.Context, params EndConversationParams) (r EndConversationRes, _ error)
EndConversation implements endConversation operation.
Gracefully ends an active conversation session.
POST /v2/conversations/{conversation_id}/end
func (UnimplementedHandler) GetConversation ¶
func (UnimplementedHandler) GetConversation(ctx context.Context, params GetConversationParams) (r GetConversationRes, _ error)
GetConversation implements getConversation operation.
Get a conversation.
GET /v2/conversations/{conversation_id}
func (UnimplementedHandler) GetDeployment ¶
func (UnimplementedHandler) GetDeployment(ctx context.Context, params GetDeploymentParams) (r GetDeploymentRes, _ error)
GetDeployment implements getDeployment operation.
Get a deployment.
GET /v2/deployments/{deployment_id}
func (UnimplementedHandler) GetDocument ¶
func (UnimplementedHandler) GetDocument(ctx context.Context, params GetDocumentParams) (r GetDocumentRes, _ error)
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 ¶
func (UnimplementedHandler) GetGuardrail(ctx context.Context, params GetGuardrailParams) (r GetGuardrailRes, _ error)
GetGuardrail implements getGuardrail operation.
Get a guardrail.
GET /v2/guardrails/{guardrail_id}
func (UnimplementedHandler) GetObjectives ¶
func (UnimplementedHandler) GetObjectives(ctx context.Context, params GetObjectivesParams) (r GetObjectivesRes, _ error)
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 ¶
func (UnimplementedHandler) ListConversations(ctx context.Context, params ListConversationsParams) (r ListConversationsRes, _ error)
ListConversations implements listConversations operation.
List all conversations.
GET /v2/conversations
func (UnimplementedHandler) ListDeployments ¶
func (UnimplementedHandler) ListDeployments(ctx context.Context, params ListDeploymentsParams) (r ListDeploymentsRes, _ error)
ListDeployments implements listDeployments operation.
List all deployments.
GET /v2/deployments
func (UnimplementedHandler) ListDocuments ¶
func (UnimplementedHandler) ListDocuments(ctx context.Context, params ListDocumentsParams) (r ListDocumentsRes, _ error)
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 ¶
func (UnimplementedHandler) ListGuardrails(ctx context.Context, params ListGuardrailsParams) (r ListGuardrailsRes, _ error)
ListGuardrails implements listGuardrails operation.
List all guardrails.
GET /v2/guardrails
func (UnimplementedHandler) ListObjectives ¶
func (UnimplementedHandler) ListObjectives(ctx context.Context, params ListObjectivesParams) (r ListObjectivesRes, _ error)
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 ¶
func (UnimplementedHandler) ListVideos(ctx context.Context, params ListVideosParams) (r ListVideosRes, _ error)
ListVideos implements listVideos operation.
List all videos.
GET /v2/videos
func (UnimplementedHandler) ListVoices ¶
func (UnimplementedHandler) ListVoices(ctx context.Context, params ListVoicesParams) (r ListVoicesRes, _ error)
ListVoices implements listVoices operation.
Lists stock voices available for image-to-face training.
GET /v2/voices
func (UnimplementedHandler) RenameFace ¶
func (UnimplementedHandler) RenameFace(ctx context.Context, req *RenameFaceReq, params RenameFaceParams) (r RenameFaceRes, _ error)
RenameFace implements renameFace operation.
Rename a face.
PATCH /v2/faces/{face_id}/name
func (UnimplementedHandler) RenameVideo ¶
func (UnimplementedHandler) RenameVideo(ctx context.Context, req *RenameVideoReq, params RenameVideoParams) (r RenameVideoRes, _ error)
RenameVideo implements renameVideo operation.
Rename a video.
PATCH /v2/videos/{video_id}/name
func (UnimplementedHandler) UpdateDeployment ¶
func (UnimplementedHandler) UpdateDeployment(ctx context.Context, req *UpdateDeploymentRequest, params UpdateDeploymentParams) (r UpdateDeploymentRes, _ error)
UpdateDeployment implements updateDeployment operation.
Update a deployment.
PATCH /v2/deployments/{deployment_id}
func (UnimplementedHandler) UpdateDocument ¶
func (UnimplementedHandler) UpdateDocument(ctx context.Context, req *UpdateDocumentRequest, params UpdateDocumentParams) (r UpdateDocumentRes, _ error)
UpdateDocument implements updateDocument operation.
Update document metadata.
PATCH /v2/documents/{document_id}
func (UnimplementedHandler) UpdateGuardrail ¶
func (UnimplementedHandler) UpdateGuardrail(ctx context.Context, req *UpdateGuardrailRequest, params UpdateGuardrailParams) (r UpdateGuardrailRes, _ error)
UpdateGuardrail implements updateGuardrail operation.
Update a guardrail.
PATCH /v2/guardrails/{guardrail_id}
func (UnimplementedHandler) UpdateObjectives ¶
func (UnimplementedHandler) UpdateObjectives(ctx context.Context, req *UpdateObjectivesRequest, params UpdateObjectivesParams) (r UpdateObjectivesRes, _ error)
UpdateObjectives implements updateObjectives operation.
Update objectives.
PATCH /v2/objectives/{objectives_id}
func (UnimplementedHandler) UpdatePal ¶
func (UnimplementedHandler) UpdatePal(ctx context.Context, req *UpdatePalRequest, params UpdatePalParams) (r UpdatePalRes, _ error)
UpdatePal implements updatePal operation.
Update a PAL.
PATCH /v2/pals/{pal_id}
func (UnimplementedHandler) UpdateTool ¶
func (UnimplementedHandler) UpdateTool(ctx context.Context, req *UpdateToolRequest, params UpdateToolParams) (r UpdateToolRes, _ error)
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 ¶
func (s *UpdateDeploymentRequest) GetCustomization() OptUpdateDeploymentRequestCustomization
GetCustomization returns the value of Customization.
func (*UpdateDeploymentRequest) GetLimits ¶
func (s *UpdateDeploymentRequest) GetLimits() *UpdateDeploymentRequestLimits
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 ¶
func (s *UpdateDeploymentRequest) SetCustomization(val OptUpdateDeploymentRequestCustomization)
SetCustomization sets the value of Customization.
func (*UpdateDeploymentRequest) SetLimits ¶
func (s *UpdateDeploymentRequest) SetLimits(val *UpdateDeploymentRequestLimits)
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 ¶
func (*UpdateDeploymentRequestCustomization) Decode ¶
func (s *UpdateDeploymentRequestCustomization) Decode(d *jx.Decoder) error
Decode decodes UpdateDeploymentRequestCustomization from json.
func (UpdateDeploymentRequestCustomization) Encode ¶
func (s UpdateDeploymentRequestCustomization) Encode(e *jx.Encoder)
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 ¶
func (s *UpdateDeploymentRequestLimits) Decode(d *jx.Decoder) error
Decode decodes UpdateDeploymentRequestLimits from json.
func (*UpdateDeploymentRequestLimits) Encode ¶
func (s *UpdateDeploymentRequestLimits) Encode(e *jx.Encoder)
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 ¶
func (s *UpdateDeploymentUnauthorized) Decode(d *jx.Decoder) error
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 ¶
func (s *UpdateDocumentUnauthorized) Decode(d *jx.Decoder) error
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 ¶
func (s *UpdateGuardrailUnauthorized) Decode(d *jx.Decoder) error
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 ¶
func (s *UpdateObjectivesUnauthorized) Decode(d *jx.Decoder) error
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 ¶
func (s *UpdateToolRequest) GetParameters() OptUpdateToolRequestParameters
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 ¶
func (*UpdateToolRequestParameters) Decode ¶
func (s *UpdateToolRequestParameters) Decode(d *jx.Decoder) error
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) GetCreatedAt ¶
func (s *Video) GetCreatedAt() OptTimestamp
GetCreatedAt returns the value of CreatedAt.
func (*Video) GetDownloadURL ¶
GetDownloadURL returns the value of DownloadURL.
func (*Video) GetHostedURL ¶
GetHostedURL returns the value of HostedURL.
func (*Video) GetStatus ¶
func (s *Video) GetStatus() OptVideoStatus
GetStatus returns the value of Status.
func (*Video) GetStreamURL ¶
GetStreamURL returns the value of StreamURL.
func (*Video) GetUpdatedAt ¶
func (s *Video) GetUpdatedAt() OptTimestamp
GetUpdatedAt returns the value of UpdatedAt.
func (*Video) GetVideoID ¶
GetVideoID returns the value of VideoID.
func (*Video) GetVideoName ¶
GetVideoName returns the value of VideoName.
func (*Video) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Video) SetCreatedAt ¶
func (s *Video) SetCreatedAt(val OptTimestamp)
SetCreatedAt sets the value of CreatedAt.
func (*Video) SetDownloadURL ¶
SetDownloadURL sets the value of DownloadURL.
func (*Video) SetHostedURL ¶
SetHostedURL sets the value of HostedURL.
func (*Video) SetStatus ¶
func (s *Video) SetStatus(val OptVideoStatus)
SetStatus sets the value of Status.
func (*Video) SetStreamURL ¶
SetStreamURL sets the value of StreamURL.
func (*Video) SetUpdatedAt ¶
func (s *Video) SetUpdatedAt(val OptTimestamp)
SetUpdatedAt sets the value of UpdatedAt.
func (*Video) SetVideoID ¶
SetVideoID sets the value of VideoID.
func (*Video) SetVideoName ¶
SetVideoName sets the value of VideoName.
func (*Video) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) GetAudioURL ¶
GetAudioURL returns the value of AudioURL.
func (*Voice) GetTags ¶
func (s *Voice) GetTags() []VoiceTagsItem
GetTags returns the value of Tags.
func (*Voice) GetVoiceName ¶
GetVoiceName returns the value of VoiceName.
func (*Voice) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Voice) SetAudioURL ¶
SetAudioURL sets the value of AudioURL.
func (*Voice) SetTags ¶
func (s *Voice) SetTags(val []VoiceTagsItem)
SetTags sets the value of Tags.
func (*Voice) SetVoiceName ¶
SetVoiceName sets the value of VoiceName.
func (*Voice) UnmarshalJSON ¶
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.
Source Files
¶
- oas_cfg_gen.go
- oas_client_gen.go
- oas_defaults_gen.go
- oas_handlers_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_labeler_gen.go
- oas_middleware_gen.go
- oas_operations_gen.go
- oas_parameters_gen.go
- oas_request_decoders_gen.go
- oas_request_encoders_gen.go
- oas_response_decoders_gen.go
- oas_response_encoders_gen.go
- oas_router_gen.go
- oas_schemas_gen.go
- oas_security_gen.go
- oas_server_gen.go
- oas_unimplemented_gen.go
- oas_validators_gen.go