api

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: MIT Imports: 29 Imported by: 0

Documentation

Overview

Code generated by ogen, DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithServerURL

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

WithServerURL sets context key to override server URL.

Types

type AddDocumentationToKnowledgeBaseParams

type AddDocumentationToKnowledgeBaseParams struct {
	AgentID OptString `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

AddDocumentationToKnowledgeBaseParams is parameters of add_documentation_to_knowledge_base operation.

type AddDocumentationToKnowledgeBaseRes

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

type AddFromFileParams

type AddFromFileParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

AddFromFileParams is parameters of add_from_file operation.

type AddFromFileRes

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

type AddKnowledgeBaseResponseModel

type AddKnowledgeBaseResponseModel struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

Ref: #/components/schemas/AddKnowledgeBaseResponseModel

func (*AddKnowledgeBaseResponseModel) Decode

Decode decodes AddKnowledgeBaseResponseModel from json.

func (*AddKnowledgeBaseResponseModel) Encode

Encode implements json.Marshaler.

func (*AddKnowledgeBaseResponseModel) GetID

GetID returns the value of ID.

func (*AddKnowledgeBaseResponseModel) GetName

GetName returns the value of Name.

func (*AddKnowledgeBaseResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddKnowledgeBaseResponseModel) SetID

func (s *AddKnowledgeBaseResponseModel) SetID(val string)

SetID sets the value of ID.

func (*AddKnowledgeBaseResponseModel) SetName

func (s *AddKnowledgeBaseResponseModel) SetName(val string)

SetName sets the value of Name.

func (*AddKnowledgeBaseResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AddLanguageParams

type AddLanguageParams struct {
	// ID of the dubbing project.
	DubbingID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

AddLanguageParams is parameters of add_language operation.

type AddLanguageRes

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

type AddMemberParams

type AddMemberParams struct {
	// The ID of the target group.
	GroupID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

AddMemberParams is parameters of add_member operation.

type AddMemberRes

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

type AddProjectParams

type AddProjectParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

AddProjectParams is parameters of add_project operation.

type AddProjectRes

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

type AddProjectResponseModel

type AddProjectResponseModel struct {
	Project ProjectResponseModel `json:"project"`
}

Ref: #/components/schemas/AddProjectResponseModel

func (*AddProjectResponseModel) Decode

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

Decode decodes AddProjectResponseModel from json.

func (*AddProjectResponseModel) Encode

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

Encode implements json.Marshaler.

func (*AddProjectResponseModel) GetProject

GetProject returns the value of Project.

func (*AddProjectResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddProjectResponseModel) SetProject

func (s *AddProjectResponseModel) SetProject(val ProjectResponseModel)

SetProject sets the value of Project.

func (*AddProjectResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AddProjectResponseModel) Validate

func (s *AddProjectResponseModel) Validate() error

type AddPronunciationDictionaryResponseModel

type AddPronunciationDictionaryResponseModel struct {
	// The user ID of the creator of the pronunciation dictionary.
	CreatedBy string `json:"created_by"`
	// The creation time of the pronunciation dictionary in Unix timestamp.
	CreationTimeUnix int `json:"creation_time_unix"`
	// The description of the pronunciation dictionary.
	Description OptNilString `json:"description"`
	// The ID of the created pronunciation dictionary.
	ID string `json:"id"`
	// The name of the created pronunciation dictionary.
	Name string `json:"name"`
	// The permission on the resource of the pronunciation dictionary.
	PermissionOnResource NilAddPronunciationDictionaryResponseModelPermissionOnResource `json:"permission_on_resource"`
	// The ID of the created pronunciation dictionary version.
	VersionID string `json:"version_id"`
	// The number of rules in the version of the pronunciation dictionary.
	VersionRulesNum int `json:"version_rules_num"`
}

Ref: #/components/schemas/AddPronunciationDictionaryResponseModel

func (*AddPronunciationDictionaryResponseModel) Decode

Decode decodes AddPronunciationDictionaryResponseModel from json.

func (*AddPronunciationDictionaryResponseModel) Encode

Encode implements json.Marshaler.

func (*AddPronunciationDictionaryResponseModel) GetCreatedBy

GetCreatedBy returns the value of CreatedBy.

func (*AddPronunciationDictionaryResponseModel) GetCreationTimeUnix

func (s *AddPronunciationDictionaryResponseModel) GetCreationTimeUnix() int

GetCreationTimeUnix returns the value of CreationTimeUnix.

func (*AddPronunciationDictionaryResponseModel) GetDescription

GetDescription returns the value of Description.

func (*AddPronunciationDictionaryResponseModel) GetID

GetID returns the value of ID.

func (*AddPronunciationDictionaryResponseModel) GetName

GetName returns the value of Name.

func (*AddPronunciationDictionaryResponseModel) GetPermissionOnResource

GetPermissionOnResource returns the value of PermissionOnResource.

func (*AddPronunciationDictionaryResponseModel) GetVersionID

GetVersionID returns the value of VersionID.

func (*AddPronunciationDictionaryResponseModel) GetVersionRulesNum

func (s *AddPronunciationDictionaryResponseModel) GetVersionRulesNum() int

GetVersionRulesNum returns the value of VersionRulesNum.

func (*AddPronunciationDictionaryResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddPronunciationDictionaryResponseModel) SetCreatedBy

func (s *AddPronunciationDictionaryResponseModel) SetCreatedBy(val string)

SetCreatedBy sets the value of CreatedBy.

func (*AddPronunciationDictionaryResponseModel) SetCreationTimeUnix

func (s *AddPronunciationDictionaryResponseModel) SetCreationTimeUnix(val int)

SetCreationTimeUnix sets the value of CreationTimeUnix.

func (*AddPronunciationDictionaryResponseModel) SetDescription

SetDescription sets the value of Description.

func (*AddPronunciationDictionaryResponseModel) SetID

SetID sets the value of ID.

func (*AddPronunciationDictionaryResponseModel) SetName

SetName sets the value of Name.

func (*AddPronunciationDictionaryResponseModel) SetPermissionOnResource

SetPermissionOnResource sets the value of PermissionOnResource.

func (*AddPronunciationDictionaryResponseModel) SetVersionID

func (s *AddPronunciationDictionaryResponseModel) SetVersionID(val string)

SetVersionID sets the value of VersionID.

func (*AddPronunciationDictionaryResponseModel) SetVersionRulesNum

func (s *AddPronunciationDictionaryResponseModel) SetVersionRulesNum(val int)

SetVersionRulesNum sets the value of VersionRulesNum.

func (*AddPronunciationDictionaryResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AddPronunciationDictionaryResponseModel) Validate

type AddPronunciationDictionaryResponseModelPermissionOnResource

type AddPronunciationDictionaryResponseModelPermissionOnResource string

The permission on the resource of the pronunciation dictionary.

const (
	AddPronunciationDictionaryResponseModelPermissionOnResourceAdmin     AddPronunciationDictionaryResponseModelPermissionOnResource = "admin"
	AddPronunciationDictionaryResponseModelPermissionOnResourceEditor    AddPronunciationDictionaryResponseModelPermissionOnResource = "editor"
	AddPronunciationDictionaryResponseModelPermissionOnResourceCommenter AddPronunciationDictionaryResponseModelPermissionOnResource = "commenter"
	AddPronunciationDictionaryResponseModelPermissionOnResourceViewer    AddPronunciationDictionaryResponseModelPermissionOnResource = "viewer"
)

func (AddPronunciationDictionaryResponseModelPermissionOnResource) AllValues

AllValues returns all AddPronunciationDictionaryResponseModelPermissionOnResource values.

func (*AddPronunciationDictionaryResponseModelPermissionOnResource) Decode

Decode decodes AddPronunciationDictionaryResponseModelPermissionOnResource from json.

func (AddPronunciationDictionaryResponseModelPermissionOnResource) Encode

Encode encodes AddPronunciationDictionaryResponseModelPermissionOnResource as json.

func (AddPronunciationDictionaryResponseModelPermissionOnResource) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (AddPronunciationDictionaryResponseModelPermissionOnResource) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*AddPronunciationDictionaryResponseModelPermissionOnResource) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AddPronunciationDictionaryResponseModelPermissionOnResource) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (AddPronunciationDictionaryResponseModelPermissionOnResource) Validate

type AddPvcVoiceSamplesOKApplicationJSON

type AddPvcVoiceSamplesOKApplicationJSON []SampleResponseModel

func (*AddPvcVoiceSamplesOKApplicationJSON) Decode

Decode decodes AddPvcVoiceSamplesOKApplicationJSON from json.

func (AddPvcVoiceSamplesOKApplicationJSON) Encode

Encode encodes AddPvcVoiceSamplesOKApplicationJSON as json.

func (AddPvcVoiceSamplesOKApplicationJSON) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddPvcVoiceSamplesOKApplicationJSON) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AddPvcVoiceSamplesOKApplicationJSON) Validate

type AddPvcVoiceSamplesParams

type AddPvcVoiceSamplesParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

AddPvcVoiceSamplesParams is parameters of add_pvc_voice_samples operation.

type AddPvcVoiceSamplesRes

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

type AddSharingVoiceParams

type AddSharingVoiceParams struct {
	// Public user ID used to publicly identify ElevenLabs users.
	PublicUserID string
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

AddSharingVoiceParams is parameters of add_sharing_voice operation.

type AddSharingVoiceRes

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

type AddVoiceIVCResponseModel

type AddVoiceIVCResponseModel struct {
	// Whether the voice requires verification.
	RequiresVerification bool `json:"requires_verification"`
	// The ID of the newly created voice.
	VoiceID string `json:"voice_id"`
}

Ref: #/components/schemas/AddVoiceIVCResponseModel

func (*AddVoiceIVCResponseModel) Decode

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

Decode decodes AddVoiceIVCResponseModel from json.

func (*AddVoiceIVCResponseModel) Encode

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

Encode implements json.Marshaler.

func (*AddVoiceIVCResponseModel) GetRequiresVerification

func (s *AddVoiceIVCResponseModel) GetRequiresVerification() bool

GetRequiresVerification returns the value of RequiresVerification.

func (*AddVoiceIVCResponseModel) GetVoiceID

func (s *AddVoiceIVCResponseModel) GetVoiceID() string

GetVoiceID returns the value of VoiceID.

func (*AddVoiceIVCResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddVoiceIVCResponseModel) SetRequiresVerification

func (s *AddVoiceIVCResponseModel) SetRequiresVerification(val bool)

SetRequiresVerification sets the value of RequiresVerification.

func (*AddVoiceIVCResponseModel) SetVoiceID

func (s *AddVoiceIVCResponseModel) SetVoiceID(val string)

SetVoiceID sets the value of VoiceID.

func (*AddVoiceIVCResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AddVoiceParams

type AddVoiceParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

AddVoiceParams is parameters of add_voice operation.

type AddVoiceRes

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

type AddVoiceResponseModel

type AddVoiceResponseModel struct {
	// The ID of the voice.
	VoiceID string `json:"voice_id"`
}

Ref: #/components/schemas/AddVoiceResponseModel

func (*AddVoiceResponseModel) Decode

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

Decode decodes AddVoiceResponseModel from json.

func (*AddVoiceResponseModel) Encode

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

Encode implements json.Marshaler.

func (*AddVoiceResponseModel) GetVoiceID

func (s *AddVoiceResponseModel) GetVoiceID() string

GetVoiceID returns the value of VoiceID.

func (*AddVoiceResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddVoiceResponseModel) SetVoiceID

func (s *AddVoiceResponseModel) SetVoiceID(val string)

SetVoiceID sets the value of VoiceID.

func (*AddVoiceResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AddWorkspaceGroupMemberResponseModel

type AddWorkspaceGroupMemberResponseModel struct {
	// The status of the workspace group member addition request. If the request was successful, the
	// status will be 'ok'. Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/AddWorkspaceGroupMemberResponseModel

func (*AddWorkspaceGroupMemberResponseModel) Decode

Decode decodes AddWorkspaceGroupMemberResponseModel from json.

func (*AddWorkspaceGroupMemberResponseModel) Encode

Encode implements json.Marshaler.

func (*AddWorkspaceGroupMemberResponseModel) GetStatus

GetStatus returns the value of Status.

func (*AddWorkspaceGroupMemberResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddWorkspaceGroupMemberResponseModel) SetStatus

func (s *AddWorkspaceGroupMemberResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*AddWorkspaceGroupMemberResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AddWorkspaceInviteResponseModel

type AddWorkspaceInviteResponseModel struct {
	// The status of the workspace invite request. If the request was successful, the status will be 'ok'.
	//  Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/AddWorkspaceInviteResponseModel

func (*AddWorkspaceInviteResponseModel) Decode

Decode decodes AddWorkspaceInviteResponseModel from json.

func (*AddWorkspaceInviteResponseModel) Encode

Encode implements json.Marshaler.

func (*AddWorkspaceInviteResponseModel) GetStatus

func (s *AddWorkspaceInviteResponseModel) GetStatus() string

GetStatus returns the value of Status.

func (*AddWorkspaceInviteResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AddWorkspaceInviteResponseModel) SetStatus

func (s *AddWorkspaceInviteResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*AddWorkspaceInviteResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AdditionalFormatResponseModel

type AdditionalFormatResponseModel struct {
	// The content of the additional format.
	Content string `json:"content"`
	// The content type of the additional format.
	ContentType string `json:"content_type"`
	// The file extension of the additional format.
	FileExtension string `json:"file_extension"`
	// Whether the content is base64 encoded.
	IsBase64Encoded bool `json:"is_base64_encoded"`
	// The requested format.
	RequestedFormat string `json:"requested_format"`
}

Ref: #/components/schemas/AdditionalFormatResponseModel

func (*AdditionalFormatResponseModel) Decode

Decode decodes AdditionalFormatResponseModel from json.

func (*AdditionalFormatResponseModel) Encode

Encode implements json.Marshaler.

func (*AdditionalFormatResponseModel) GetContent

func (s *AdditionalFormatResponseModel) GetContent() string

GetContent returns the value of Content.

func (*AdditionalFormatResponseModel) GetContentType

func (s *AdditionalFormatResponseModel) GetContentType() string

GetContentType returns the value of ContentType.

func (*AdditionalFormatResponseModel) GetFileExtension

func (s *AdditionalFormatResponseModel) GetFileExtension() string

GetFileExtension returns the value of FileExtension.

func (*AdditionalFormatResponseModel) GetIsBase64Encoded

func (s *AdditionalFormatResponseModel) GetIsBase64Encoded() bool

GetIsBase64Encoded returns the value of IsBase64Encoded.

func (*AdditionalFormatResponseModel) GetRequestedFormat

func (s *AdditionalFormatResponseModel) GetRequestedFormat() string

GetRequestedFormat returns the value of RequestedFormat.

func (*AdditionalFormatResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AdditionalFormatResponseModel) SetContent

func (s *AdditionalFormatResponseModel) SetContent(val string)

SetContent sets the value of Content.

func (*AdditionalFormatResponseModel) SetContentType

func (s *AdditionalFormatResponseModel) SetContentType(val string)

SetContentType sets the value of ContentType.

func (*AdditionalFormatResponseModel) SetFileExtension

func (s *AdditionalFormatResponseModel) SetFileExtension(val string)

SetFileExtension sets the value of FileExtension.

func (*AdditionalFormatResponseModel) SetIsBase64Encoded

func (s *AdditionalFormatResponseModel) SetIsBase64Encoded(val bool)

SetIsBase64Encoded sets the value of IsBase64Encoded.

func (*AdditionalFormatResponseModel) SetRequestedFormat

func (s *AdditionalFormatResponseModel) SetRequestedFormat(val string)

SetRequestedFormat sets the value of RequestedFormat.

func (*AdditionalFormatResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AdditionalFormats

type AdditionalFormats []ExportOptions

func (*AdditionalFormats) Decode

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

Decode decodes AdditionalFormats from json.

func (AdditionalFormats) Encode

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

Encode encodes AdditionalFormats as json.

func (AdditionalFormats) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AdditionalFormats) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AdditionalFormats) Validate

func (s AdditionalFormats) Validate() error

type AgentConfigOverrideInput

type AgentConfigOverrideInput struct {
	// If non-empty, the first message the agent will say. If empty, the agent waits for the user to
	// start the discussion.
	FirstMessage OptNilString `json:"first_message"`
	// Language of the agent - used for ASR and TTS.
	Language OptNilString `json:"language"`
	// The prompt for the agent.
	Prompt OptPromptAgentAPIModelOverride `json:"prompt"`
}

Ref: #/components/schemas/AgentConfigOverride-Input

func (*AgentConfigOverrideInput) Decode

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

Decode decodes AgentConfigOverrideInput from json.

func (*AgentConfigOverrideInput) Encode

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

Encode implements json.Marshaler.

func (*AgentConfigOverrideInput) GetFirstMessage

func (s *AgentConfigOverrideInput) GetFirstMessage() OptNilString

GetFirstMessage returns the value of FirstMessage.

func (*AgentConfigOverrideInput) GetLanguage

func (s *AgentConfigOverrideInput) GetLanguage() OptNilString

GetLanguage returns the value of Language.

func (*AgentConfigOverrideInput) GetPrompt

GetPrompt returns the value of Prompt.

func (*AgentConfigOverrideInput) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AgentConfigOverrideInput) SetFirstMessage

func (s *AgentConfigOverrideInput) SetFirstMessage(val OptNilString)

SetFirstMessage sets the value of FirstMessage.

func (*AgentConfigOverrideInput) SetLanguage

func (s *AgentConfigOverrideInput) SetLanguage(val OptNilString)

SetLanguage sets the value of Language.

func (*AgentConfigOverrideInput) SetPrompt

SetPrompt sets the value of Prompt.

func (*AgentConfigOverrideInput) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AgentConfigOverrideInput) Validate

func (s *AgentConfigOverrideInput) Validate() error

type AgentConfigOverrideOutput

type AgentConfigOverrideOutput struct {
	// If non-empty, the first message the agent will say. If empty, the agent waits for the user to
	// start the discussion.
	FirstMessage OptNilString `json:"first_message"`
	// Language of the agent - used for ASR and TTS.
	Language OptNilString `json:"language"`
	// The prompt for the agent.
	Prompt OptPromptAgentAPIModelOverride `json:"prompt"`
}

Ref: #/components/schemas/AgentConfigOverride-Output

func (*AgentConfigOverrideOutput) Decode

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

Decode decodes AgentConfigOverrideOutput from json.

func (*AgentConfigOverrideOutput) Encode

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

Encode implements json.Marshaler.

func (*AgentConfigOverrideOutput) GetFirstMessage

func (s *AgentConfigOverrideOutput) GetFirstMessage() OptNilString

GetFirstMessage returns the value of FirstMessage.

func (*AgentConfigOverrideOutput) GetLanguage

func (s *AgentConfigOverrideOutput) GetLanguage() OptNilString

GetLanguage returns the value of Language.

func (*AgentConfigOverrideOutput) GetPrompt

GetPrompt returns the value of Prompt.

func (*AgentConfigOverrideOutput) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AgentConfigOverrideOutput) SetFirstMessage

func (s *AgentConfigOverrideOutput) SetFirstMessage(val OptNilString)

SetFirstMessage sets the value of FirstMessage.

func (*AgentConfigOverrideOutput) SetLanguage

func (s *AgentConfigOverrideOutput) SetLanguage(val OptNilString)

SetLanguage sets the value of Language.

func (*AgentConfigOverrideOutput) SetPrompt

SetPrompt sets the value of Prompt.

func (*AgentConfigOverrideOutput) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AgentConfigOverrideOutput) Validate

func (s *AgentConfigOverrideOutput) Validate() error

type AgentDefinitionSource

type AgentDefinitionSource string

Ref: #/components/schemas/AgentDefinitionSource

const (
	AgentDefinitionSourceCli      AgentDefinitionSource = "cli"
	AgentDefinitionSourceUI       AgentDefinitionSource = "ui"
	AgentDefinitionSourceAPI      AgentDefinitionSource = "api"
	AgentDefinitionSourceTemplate AgentDefinitionSource = "template"
	AgentDefinitionSourceUnknown  AgentDefinitionSource = "unknown"
)

func (AgentDefinitionSource) AllValues

AllValues returns all AgentDefinitionSource values.

func (*AgentDefinitionSource) Decode

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

Decode decodes AgentDefinitionSource from json.

func (AgentDefinitionSource) Encode

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

Encode encodes AgentDefinitionSource as json.

func (AgentDefinitionSource) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AgentDefinitionSource) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AgentDefinitionSource) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AgentDefinitionSource) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AgentDefinitionSource) Validate

func (s AgentDefinitionSource) Validate() error

type AgentFailureResponseExample

type AgentFailureResponseExample struct {
	Response string                          `json:"response"`
	Type     AgentFailureResponseExampleType `json:"type"`
}

Ref: #/components/schemas/AgentFailureResponseExample

func (*AgentFailureResponseExample) Decode

Decode decodes AgentFailureResponseExample from json.

func (*AgentFailureResponseExample) Encode

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

Encode implements json.Marshaler.

func (*AgentFailureResponseExample) GetResponse

func (s *AgentFailureResponseExample) GetResponse() string

GetResponse returns the value of Response.

func (*AgentFailureResponseExample) GetType

GetType returns the value of Type.

func (*AgentFailureResponseExample) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AgentFailureResponseExample) SetResponse

func (s *AgentFailureResponseExample) SetResponse(val string)

SetResponse sets the value of Response.

func (*AgentFailureResponseExample) SetType

SetType sets the value of Type.

func (*AgentFailureResponseExample) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AgentFailureResponseExample) Validate

func (s *AgentFailureResponseExample) Validate() error

type AgentFailureResponseExampleType

type AgentFailureResponseExampleType string
const (
	AgentFailureResponseExampleTypeFailure AgentFailureResponseExampleType = "failure"
)

func (AgentFailureResponseExampleType) AllValues

AllValues returns all AgentFailureResponseExampleType values.

func (*AgentFailureResponseExampleType) Decode

Decode decodes AgentFailureResponseExampleType from json.

func (AgentFailureResponseExampleType) Encode

Encode encodes AgentFailureResponseExampleType as json.

func (AgentFailureResponseExampleType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AgentFailureResponseExampleType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AgentFailureResponseExampleType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AgentFailureResponseExampleType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AgentFailureResponseExampleType) Validate

type AgentMetadata

type AgentMetadata struct {
	AgentID        string       `json:"agent_id"`
	BranchID       OptNilString `json:"branch_id"`
	WorkflowNodeID OptNilString `json:"workflow_node_id"`
}

Ref: #/components/schemas/AgentMetadata

func (*AgentMetadata) Decode

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

Decode decodes AgentMetadata from json.

func (*AgentMetadata) Encode

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

Encode implements json.Marshaler.

func (*AgentMetadata) GetAgentID

func (s *AgentMetadata) GetAgentID() string

GetAgentID returns the value of AgentID.

func (*AgentMetadata) GetBranchID

func (s *AgentMetadata) GetBranchID() OptNilString

GetBranchID returns the value of BranchID.

func (*AgentMetadata) GetWorkflowNodeID

func (s *AgentMetadata) GetWorkflowNodeID() OptNilString

GetWorkflowNodeID returns the value of WorkflowNodeID.

func (*AgentMetadata) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AgentMetadata) SetAgentID

func (s *AgentMetadata) SetAgentID(val string)

SetAgentID sets the value of AgentID.

func (*AgentMetadata) SetBranchID

func (s *AgentMetadata) SetBranchID(val OptNilString)

SetBranchID sets the value of BranchID.

func (*AgentMetadata) SetWorkflowNodeID

func (s *AgentMetadata) SetWorkflowNodeID(val OptNilString)

SetWorkflowNodeID sets the value of WorkflowNodeID.

func (*AgentMetadata) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AgentSortBy

type AgentSortBy string

Ref: #/components/schemas/AgentSortBy

const (
	AgentSortByName      AgentSortBy = "name"
	AgentSortByCreatedAt AgentSortBy = "created_at"
)

func (AgentSortBy) AllValues

func (AgentSortBy) AllValues() []AgentSortBy

AllValues returns all AgentSortBy values.

func (AgentSortBy) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AgentSortBy) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AgentSortBy) Validate

func (s AgentSortBy) Validate() error

type AgentSuccessfulResponseExample

type AgentSuccessfulResponseExample struct {
	Response string                             `json:"response"`
	Type     AgentSuccessfulResponseExampleType `json:"type"`
}

Ref: #/components/schemas/AgentSuccessfulResponseExample

func (*AgentSuccessfulResponseExample) Decode

Decode decodes AgentSuccessfulResponseExample from json.

func (*AgentSuccessfulResponseExample) Encode

Encode implements json.Marshaler.

func (*AgentSuccessfulResponseExample) GetResponse

func (s *AgentSuccessfulResponseExample) GetResponse() string

GetResponse returns the value of Response.

func (*AgentSuccessfulResponseExample) GetType

GetType returns the value of Type.

func (*AgentSuccessfulResponseExample) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AgentSuccessfulResponseExample) SetResponse

func (s *AgentSuccessfulResponseExample) SetResponse(val string)

SetResponse sets the value of Response.

func (*AgentSuccessfulResponseExample) SetType

SetType sets the value of Type.

func (*AgentSuccessfulResponseExample) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AgentSuccessfulResponseExample) Validate

func (s *AgentSuccessfulResponseExample) Validate() error

type AgentSuccessfulResponseExampleType

type AgentSuccessfulResponseExampleType string
const (
	AgentSuccessfulResponseExampleTypeSuccess AgentSuccessfulResponseExampleType = "success"
)

func (AgentSuccessfulResponseExampleType) AllValues

AllValues returns all AgentSuccessfulResponseExampleType values.

func (*AgentSuccessfulResponseExampleType) Decode

Decode decodes AgentSuccessfulResponseExampleType from json.

func (AgentSuccessfulResponseExampleType) Encode

Encode encodes AgentSuccessfulResponseExampleType as json.

func (AgentSuccessfulResponseExampleType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AgentSuccessfulResponseExampleType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AgentSuccessfulResponseExampleType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AgentSuccessfulResponseExampleType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AgentSuccessfulResponseExampleType) Validate

type AgentSummaryResponseModel

type AgentSummaryResponseModel struct {
	// The access information of the agent.
	AccessInfo ResourceAccessInfo `json:"access_info"`
	// The ID of the agent.
	AgentID string `json:"agent_id"`
	// Whether the agent is archived.
	Archived OptBool `json:"archived"`
	// The creation time of the agent in unix seconds.
	CreatedAtUnixSecs int `json:"created_at_unix_secs"`
	// The time of the most recent call in unix seconds, null if no calls have been made.
	LastCallTimeUnixSecs OptNilInt `json:"last_call_time_unix_secs"`
	// The name of the agent.
	Name string `json:"name"`
	// Agent tags used to categorize the agent.
	Tags []string `json:"tags"`
}

Ref: #/components/schemas/AgentSummaryResponseModel

func (*AgentSummaryResponseModel) Decode

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

Decode decodes AgentSummaryResponseModel from json.

func (*AgentSummaryResponseModel) Encode

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

Encode implements json.Marshaler.

func (*AgentSummaryResponseModel) GetAccessInfo

func (s *AgentSummaryResponseModel) GetAccessInfo() ResourceAccessInfo

GetAccessInfo returns the value of AccessInfo.

func (*AgentSummaryResponseModel) GetAgentID

func (s *AgentSummaryResponseModel) GetAgentID() string

GetAgentID returns the value of AgentID.

func (*AgentSummaryResponseModel) GetArchived

func (s *AgentSummaryResponseModel) GetArchived() OptBool

GetArchived returns the value of Archived.

func (*AgentSummaryResponseModel) GetCreatedAtUnixSecs

func (s *AgentSummaryResponseModel) GetCreatedAtUnixSecs() int

GetCreatedAtUnixSecs returns the value of CreatedAtUnixSecs.

func (*AgentSummaryResponseModel) GetLastCallTimeUnixSecs

func (s *AgentSummaryResponseModel) GetLastCallTimeUnixSecs() OptNilInt

GetLastCallTimeUnixSecs returns the value of LastCallTimeUnixSecs.

func (*AgentSummaryResponseModel) GetName

func (s *AgentSummaryResponseModel) GetName() string

GetName returns the value of Name.

func (*AgentSummaryResponseModel) GetTags

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

GetTags returns the value of Tags.

func (*AgentSummaryResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AgentSummaryResponseModel) SetAccessInfo

func (s *AgentSummaryResponseModel) SetAccessInfo(val ResourceAccessInfo)

SetAccessInfo sets the value of AccessInfo.

func (*AgentSummaryResponseModel) SetAgentID

func (s *AgentSummaryResponseModel) SetAgentID(val string)

SetAgentID sets the value of AgentID.

func (*AgentSummaryResponseModel) SetArchived

func (s *AgentSummaryResponseModel) SetArchived(val OptBool)

SetArchived sets the value of Archived.

func (*AgentSummaryResponseModel) SetCreatedAtUnixSecs

func (s *AgentSummaryResponseModel) SetCreatedAtUnixSecs(val int)

SetCreatedAtUnixSecs sets the value of CreatedAtUnixSecs.

func (*AgentSummaryResponseModel) SetLastCallTimeUnixSecs

func (s *AgentSummaryResponseModel) SetLastCallTimeUnixSecs(val OptNilInt)

SetLastCallTimeUnixSecs sets the value of LastCallTimeUnixSecs.

func (*AgentSummaryResponseModel) SetName

func (s *AgentSummaryResponseModel) SetName(val string)

SetName sets the value of Name.

func (*AgentSummaryResponseModel) SetTags

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

SetTags sets the value of Tags.

func (*AgentSummaryResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AgentSummaryResponseModel) Validate

func (s *AgentSummaryResponseModel) Validate() error

type AsyncConversationMetadata

type AsyncConversationMetadata struct {
	DeliveryError      OptNilString                            `json:"delivery_error"`
	DeliveryStatus     AsyncConversationMetadataDeliveryStatus `json:"delivery_status"`
	DeliveryTimestamp  int                                     `json:"delivery_timestamp"`
	ExternalID         string                                  `json:"external_id"`
	ExternalSystem     string                                  `json:"external_system"`
	LastRetryTimestamp OptNilInt                               `json:"last_retry_timestamp"`
	RetryCount         OptInt                                  `json:"retry_count"`
}

Metadata for async conversation delivery (Zendesk, Slack, etc.). Ref: #/components/schemas/AsyncConversationMetadata

func (*AsyncConversationMetadata) Decode

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

Decode decodes AsyncConversationMetadata from json.

func (*AsyncConversationMetadata) Encode

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

Encode implements json.Marshaler.

func (*AsyncConversationMetadata) GetDeliveryError

func (s *AsyncConversationMetadata) GetDeliveryError() OptNilString

GetDeliveryError returns the value of DeliveryError.

func (*AsyncConversationMetadata) GetDeliveryStatus

GetDeliveryStatus returns the value of DeliveryStatus.

func (*AsyncConversationMetadata) GetDeliveryTimestamp

func (s *AsyncConversationMetadata) GetDeliveryTimestamp() int

GetDeliveryTimestamp returns the value of DeliveryTimestamp.

func (*AsyncConversationMetadata) GetExternalID

func (s *AsyncConversationMetadata) GetExternalID() string

GetExternalID returns the value of ExternalID.

func (*AsyncConversationMetadata) GetExternalSystem

func (s *AsyncConversationMetadata) GetExternalSystem() string

GetExternalSystem returns the value of ExternalSystem.

func (*AsyncConversationMetadata) GetLastRetryTimestamp

func (s *AsyncConversationMetadata) GetLastRetryTimestamp() OptNilInt

GetLastRetryTimestamp returns the value of LastRetryTimestamp.

func (*AsyncConversationMetadata) GetRetryCount

func (s *AsyncConversationMetadata) GetRetryCount() OptInt

GetRetryCount returns the value of RetryCount.

func (*AsyncConversationMetadata) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AsyncConversationMetadata) SetDeliveryError

func (s *AsyncConversationMetadata) SetDeliveryError(val OptNilString)

SetDeliveryError sets the value of DeliveryError.

func (*AsyncConversationMetadata) SetDeliveryStatus

SetDeliveryStatus sets the value of DeliveryStatus.

func (*AsyncConversationMetadata) SetDeliveryTimestamp

func (s *AsyncConversationMetadata) SetDeliveryTimestamp(val int)

SetDeliveryTimestamp sets the value of DeliveryTimestamp.

func (*AsyncConversationMetadata) SetExternalID

func (s *AsyncConversationMetadata) SetExternalID(val string)

SetExternalID sets the value of ExternalID.

func (*AsyncConversationMetadata) SetExternalSystem

func (s *AsyncConversationMetadata) SetExternalSystem(val string)

SetExternalSystem sets the value of ExternalSystem.

func (*AsyncConversationMetadata) SetLastRetryTimestamp

func (s *AsyncConversationMetadata) SetLastRetryTimestamp(val OptNilInt)

SetLastRetryTimestamp sets the value of LastRetryTimestamp.

func (*AsyncConversationMetadata) SetRetryCount

func (s *AsyncConversationMetadata) SetRetryCount(val OptInt)

SetRetryCount sets the value of RetryCount.

func (*AsyncConversationMetadata) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AsyncConversationMetadata) Validate

func (s *AsyncConversationMetadata) Validate() error

type AsyncConversationMetadataDeliveryStatus

type AsyncConversationMetadataDeliveryStatus string
const (
	AsyncConversationMetadataDeliveryStatusPending AsyncConversationMetadataDeliveryStatus = "pending"
	AsyncConversationMetadataDeliveryStatusSuccess AsyncConversationMetadataDeliveryStatus = "success"
	AsyncConversationMetadataDeliveryStatusFailed  AsyncConversationMetadataDeliveryStatus = "failed"
)

func (AsyncConversationMetadataDeliveryStatus) AllValues

AllValues returns all AsyncConversationMetadataDeliveryStatus values.

func (*AsyncConversationMetadataDeliveryStatus) Decode

Decode decodes AsyncConversationMetadataDeliveryStatus from json.

func (AsyncConversationMetadataDeliveryStatus) Encode

Encode encodes AsyncConversationMetadataDeliveryStatus as json.

func (AsyncConversationMetadataDeliveryStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AsyncConversationMetadataDeliveryStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AsyncConversationMetadataDeliveryStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AsyncConversationMetadataDeliveryStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AsyncConversationMetadataDeliveryStatus) Validate

type AudioIsolationOK

type AudioIsolationOK struct {
	Data io.Reader
}

func (AudioIsolationOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type AudioIsolationParams

type AudioIsolationParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

AudioIsolationParams is parameters of audio_isolation operation.

type AudioIsolationRes

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

type AudioIsolationStreamOK

type AudioIsolationStreamOK struct {
	Data io.Reader
}

func (AudioIsolationStreamOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type AudioIsolationStreamParams

type AudioIsolationStreamParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

AudioIsolationStreamParams is parameters of audio_isolation_stream operation.

type AudioIsolationStreamRes

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

type AudioNativeCreateProjectResponseModel

type AudioNativeCreateProjectResponseModel struct {
	// Whether the project is currently being converted.
	Converting bool `json:"converting"`
	// The HTML snippet to embed the Audio Native player.
	HTMLSnippet string `json:"html_snippet"`
	// The ID of the created Audio Native project.
	ProjectID string `json:"project_id"`
}

Ref: #/components/schemas/AudioNativeCreateProjectResponseModel

func (*AudioNativeCreateProjectResponseModel) Decode

Decode decodes AudioNativeCreateProjectResponseModel from json.

func (*AudioNativeCreateProjectResponseModel) Encode

Encode implements json.Marshaler.

func (*AudioNativeCreateProjectResponseModel) GetConverting

func (s *AudioNativeCreateProjectResponseModel) GetConverting() bool

GetConverting returns the value of Converting.

func (*AudioNativeCreateProjectResponseModel) GetHTMLSnippet

func (s *AudioNativeCreateProjectResponseModel) GetHTMLSnippet() string

GetHTMLSnippet returns the value of HTMLSnippet.

func (*AudioNativeCreateProjectResponseModel) GetProjectID

GetProjectID returns the value of ProjectID.

func (*AudioNativeCreateProjectResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AudioNativeCreateProjectResponseModel) SetConverting

func (s *AudioNativeCreateProjectResponseModel) SetConverting(val bool)

SetConverting sets the value of Converting.

func (*AudioNativeCreateProjectResponseModel) SetHTMLSnippet

func (s *AudioNativeCreateProjectResponseModel) SetHTMLSnippet(val string)

SetHTMLSnippet sets the value of HTMLSnippet.

func (*AudioNativeCreateProjectResponseModel) SetProjectID

func (s *AudioNativeCreateProjectResponseModel) SetProjectID(val string)

SetProjectID sets the value of ProjectID.

func (*AudioNativeCreateProjectResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AudioNativeEditContentResponseModel

type AudioNativeEditContentResponseModel struct {
	// Whether the project is currently being converted.
	Converting bool `json:"converting"`
	// The HTML snippet to embed the Audio Native player.
	HTMLSnippet string `json:"html_snippet"`
	// The ID of the project.
	ProjectID string `json:"project_id"`
	// Whether the project is currently being published.
	Publishing bool `json:"publishing"`
}

Ref: #/components/schemas/AudioNativeEditContentResponseModel

func (*AudioNativeEditContentResponseModel) Decode

Decode decodes AudioNativeEditContentResponseModel from json.

func (*AudioNativeEditContentResponseModel) Encode

Encode implements json.Marshaler.

func (*AudioNativeEditContentResponseModel) GetConverting

func (s *AudioNativeEditContentResponseModel) GetConverting() bool

GetConverting returns the value of Converting.

func (*AudioNativeEditContentResponseModel) GetHTMLSnippet

func (s *AudioNativeEditContentResponseModel) GetHTMLSnippet() string

GetHTMLSnippet returns the value of HTMLSnippet.

func (*AudioNativeEditContentResponseModel) GetProjectID

func (s *AudioNativeEditContentResponseModel) GetProjectID() string

GetProjectID returns the value of ProjectID.

func (*AudioNativeEditContentResponseModel) GetPublishing

func (s *AudioNativeEditContentResponseModel) GetPublishing() bool

GetPublishing returns the value of Publishing.

func (*AudioNativeEditContentResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AudioNativeEditContentResponseModel) SetConverting

func (s *AudioNativeEditContentResponseModel) SetConverting(val bool)

SetConverting sets the value of Converting.

func (*AudioNativeEditContentResponseModel) SetHTMLSnippet

func (s *AudioNativeEditContentResponseModel) SetHTMLSnippet(val string)

SetHTMLSnippet sets the value of HTMLSnippet.

func (*AudioNativeEditContentResponseModel) SetProjectID

func (s *AudioNativeEditContentResponseModel) SetProjectID(val string)

SetProjectID sets the value of ProjectID.

func (*AudioNativeEditContentResponseModel) SetPublishing

func (s *AudioNativeEditContentResponseModel) SetPublishing(val bool)

SetPublishing sets the value of Publishing.

func (*AudioNativeEditContentResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AudioNativeProjectSettingsResponseModel

type AudioNativeProjectSettingsResponseModel struct {
	// The path of the audio file.
	AudioPath OptNilString `json:"audio_path"`
	// The URL of the audio file.
	AudioURL OptNilString `json:"audio_url"`
	// The author of the project.
	Author string `json:"author"`
	// The background color of the project.
	BackgroundColor string `json:"background_color"`
	// The image of the project.
	Image string `json:"image"`
	// The sessionization of the project. Specifies for how many minutes to persist the session across
	// page reloads.
	Sessionization int `json:"sessionization"`
	// Whether the project is small.
	Small bool `json:"small"`
	// Current state of the project.
	Status OptAudioNativeProjectSettingsResponseModelStatus `json:"status"`
	// The text color of the project.
	TextColor string `json:"text_color"`
	// The title of the project.
	Title string `json:"title"`
}

Ref: #/components/schemas/AudioNativeProjectSettingsResponseModel

func (*AudioNativeProjectSettingsResponseModel) Decode

Decode decodes AudioNativeProjectSettingsResponseModel from json.

func (*AudioNativeProjectSettingsResponseModel) Encode

Encode implements json.Marshaler.

func (*AudioNativeProjectSettingsResponseModel) GetAudioPath

GetAudioPath returns the value of AudioPath.

func (*AudioNativeProjectSettingsResponseModel) GetAudioURL

GetAudioURL returns the value of AudioURL.

func (*AudioNativeProjectSettingsResponseModel) GetAuthor

GetAuthor returns the value of Author.

func (*AudioNativeProjectSettingsResponseModel) GetBackgroundColor

func (s *AudioNativeProjectSettingsResponseModel) GetBackgroundColor() string

GetBackgroundColor returns the value of BackgroundColor.

func (*AudioNativeProjectSettingsResponseModel) GetImage

GetImage returns the value of Image.

func (*AudioNativeProjectSettingsResponseModel) GetSessionization

func (s *AudioNativeProjectSettingsResponseModel) GetSessionization() int

GetSessionization returns the value of Sessionization.

func (*AudioNativeProjectSettingsResponseModel) GetSmall

GetSmall returns the value of Small.

func (*AudioNativeProjectSettingsResponseModel) GetStatus

GetStatus returns the value of Status.

func (*AudioNativeProjectSettingsResponseModel) GetTextColor

GetTextColor returns the value of TextColor.

func (*AudioNativeProjectSettingsResponseModel) GetTitle

GetTitle returns the value of Title.

func (*AudioNativeProjectSettingsResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AudioNativeProjectSettingsResponseModel) SetAudioPath

SetAudioPath sets the value of AudioPath.

func (*AudioNativeProjectSettingsResponseModel) SetAudioURL

SetAudioURL sets the value of AudioURL.

func (*AudioNativeProjectSettingsResponseModel) SetAuthor

SetAuthor sets the value of Author.

func (*AudioNativeProjectSettingsResponseModel) SetBackgroundColor

func (s *AudioNativeProjectSettingsResponseModel) SetBackgroundColor(val string)

SetBackgroundColor sets the value of BackgroundColor.

func (*AudioNativeProjectSettingsResponseModel) SetImage

SetImage sets the value of Image.

func (*AudioNativeProjectSettingsResponseModel) SetSessionization

func (s *AudioNativeProjectSettingsResponseModel) SetSessionization(val int)

SetSessionization sets the value of Sessionization.

func (*AudioNativeProjectSettingsResponseModel) SetSmall

SetSmall sets the value of Small.

func (*AudioNativeProjectSettingsResponseModel) SetStatus

SetStatus sets the value of Status.

func (*AudioNativeProjectSettingsResponseModel) SetTextColor

func (s *AudioNativeProjectSettingsResponseModel) SetTextColor(val string)

SetTextColor sets the value of TextColor.

func (*AudioNativeProjectSettingsResponseModel) SetTitle

SetTitle sets the value of Title.

func (*AudioNativeProjectSettingsResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AudioNativeProjectSettingsResponseModel) Validate

type AudioNativeProjectSettingsResponseModelStatus

type AudioNativeProjectSettingsResponseModelStatus string

Current state of the project.

const (
	AudioNativeProjectSettingsResponseModelStatusProcessing AudioNativeProjectSettingsResponseModelStatus = "processing"
	AudioNativeProjectSettingsResponseModelStatusReady      AudioNativeProjectSettingsResponseModelStatus = "ready"
)

func (AudioNativeProjectSettingsResponseModelStatus) AllValues

AllValues returns all AudioNativeProjectSettingsResponseModelStatus values.

func (*AudioNativeProjectSettingsResponseModelStatus) Decode

Decode decodes AudioNativeProjectSettingsResponseModelStatus from json.

func (AudioNativeProjectSettingsResponseModelStatus) Encode

Encode encodes AudioNativeProjectSettingsResponseModelStatus as json.

func (AudioNativeProjectSettingsResponseModelStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (AudioNativeProjectSettingsResponseModelStatus) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*AudioNativeProjectSettingsResponseModelStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AudioNativeProjectSettingsResponseModelStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AudioNativeProjectSettingsResponseModelStatus) Validate

type AudioNativeProjectUpdateContentEndpointParams

type AudioNativeProjectUpdateContentEndpointParams struct {
	// The ID of the Studio project.
	ProjectID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

AudioNativeProjectUpdateContentEndpointParams is parameters of audio_native_project_update_content_endpoint operation.

type AudioNativeProjectUpdateContentEndpointRes

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

type AudioWithTimestampsAndVoiceSegmentsResponseModel

type AudioWithTimestampsAndVoiceSegmentsResponseModel struct {
	// Timestamp information for each character in the original text.
	Alignment OptCharacterAlignmentResponseModel `json:"alignment"`
	// Base64 encoded audio data.
	AudioBase64 string `json:"audio_base64"`
	// Timestamp information for each character in the normalized text.
	NormalizedAlignment OptCharacterAlignmentResponseModel `json:"normalized_alignment"`
	// Voice segments for the audio.
	VoiceSegments []VoiceSegment `json:"voice_segments"`
}

Ref: #/components/schemas/AudioWithTimestampsAndVoiceSegmentsResponseModel

func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) Decode

Decode decodes AudioWithTimestampsAndVoiceSegmentsResponseModel from json.

func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) Encode

Encode implements json.Marshaler.

func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) GetAlignment

GetAlignment returns the value of Alignment.

func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) GetAudioBase64

GetAudioBase64 returns the value of AudioBase64.

func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) GetNormalizedAlignment

GetNormalizedAlignment returns the value of NormalizedAlignment.

func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) GetVoiceSegments

GetVoiceSegments returns the value of VoiceSegments.

func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) SetAlignment

SetAlignment sets the value of Alignment.

func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) SetAudioBase64

SetAudioBase64 sets the value of AudioBase64.

func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) SetNormalizedAlignment

SetNormalizedAlignment sets the value of NormalizedAlignment.

func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) SetVoiceSegments

SetVoiceSegments sets the value of VoiceSegments.

func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) Validate

type AudioWithTimestampsResponseModel

type AudioWithTimestampsResponseModel struct {
	// Timestamp information for each character in the original text.
	Alignment OptCharacterAlignmentResponseModel `json:"alignment"`
	// Base64 encoded audio data.
	AudioBase64 string `json:"audio_base64"`
	// Timestamp information for each character in the normalized text.
	NormalizedAlignment OptCharacterAlignmentResponseModel `json:"normalized_alignment"`
}

Ref: #/components/schemas/AudioWithTimestampsResponseModel

func (*AudioWithTimestampsResponseModel) Decode

Decode decodes AudioWithTimestampsResponseModel from json.

func (*AudioWithTimestampsResponseModel) Encode

Encode implements json.Marshaler.

func (*AudioWithTimestampsResponseModel) GetAlignment

GetAlignment returns the value of Alignment.

func (*AudioWithTimestampsResponseModel) GetAudioBase64

func (s *AudioWithTimestampsResponseModel) GetAudioBase64() string

GetAudioBase64 returns the value of AudioBase64.

func (*AudioWithTimestampsResponseModel) GetNormalizedAlignment

GetNormalizedAlignment returns the value of NormalizedAlignment.

func (*AudioWithTimestampsResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AudioWithTimestampsResponseModel) SetAlignment

SetAlignment sets the value of Alignment.

func (*AudioWithTimestampsResponseModel) SetAudioBase64

func (s *AudioWithTimestampsResponseModel) SetAudioBase64(val string)

SetAudioBase64 sets the value of AudioBase64.

func (*AudioWithTimestampsResponseModel) SetNormalizedAlignment

SetNormalizedAlignment sets the value of NormalizedAlignment.

func (*AudioWithTimestampsResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AudioWithTimestampsResponseModel) Validate

type AuthorizationMethod

type AuthorizationMethod string

Ref: #/components/schemas/AuthorizationMethod

const (
	AuthorizationMethodInvalid             AuthorizationMethod = "invalid"
	AuthorizationMethodPublic              AuthorizationMethod = "public"
	AuthorizationMethodAuthorizationHeader AuthorizationMethod = "authorization_header"
	AuthorizationMethodSignedURL           AuthorizationMethod = "signed_url"
	AuthorizationMethodShareableLink       AuthorizationMethod = "shareable_link"
	AuthorizationMethodLivekitToken        AuthorizationMethod = "livekit_token"
	AuthorizationMethodLivekitTokenWebsite AuthorizationMethod = "livekit_token_website"
	AuthorizationMethodGenesysAPIKey       AuthorizationMethod = "genesys_api_key"
	AuthorizationMethodWhatsapp            AuthorizationMethod = "whatsapp"
)

func (AuthorizationMethod) AllValues

AllValues returns all AuthorizationMethod values.

func (*AuthorizationMethod) Decode

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

Decode decodes AuthorizationMethod from json.

func (AuthorizationMethod) Encode

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

Encode encodes AuthorizationMethod as json.

func (AuthorizationMethod) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AuthorizationMethod) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AuthorizationMethod) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AuthorizationMethod) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AuthorizationMethod) Validate

func (s AuthorizationMethod) Validate() error

type BatchCallDetailedResponse

type BatchCallDetailedResponse struct {
	AgentID              string                               `json:"agent_id"`
	AgentName            string                               `json:"agent_name"`
	CreatedAtUnix        int                                  `json:"created_at_unix"`
	ID                   string                               `json:"id"`
	LastUpdatedAtUnix    int                                  `json:"last_updated_at_unix"`
	Name                 string                               `json:"name"`
	PhoneNumberID        OptNilString                         `json:"phone_number_id"`
	PhoneProvider        OptTelephonyProvider                 `json:"phone_provider"`
	Recipients           []OutboundCallRecipientResponseModel `json:"recipients"`
	RetryCount           OptInt                               `json:"retry_count"`
	ScheduledTimeUnix    int                                  `json:"scheduled_time_unix"`
	Status               BatchCallStatus                      `json:"status"`
	TotalCallsDispatched int                                  `json:"total_calls_dispatched"`
	TotalCallsScheduled  int                                  `json:"total_calls_scheduled"`
	WhatsappParams       OptBatchCallWhatsAppParams           `json:"whatsapp_params"`
}

Detailed response model for a batch call including all recipients. Ref: #/components/schemas/BatchCallDetailedResponse

func (*BatchCallDetailedResponse) Decode

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

Decode decodes BatchCallDetailedResponse from json.

func (*BatchCallDetailedResponse) Encode

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

Encode implements json.Marshaler.

func (*BatchCallDetailedResponse) GetAgentID

func (s *BatchCallDetailedResponse) GetAgentID() string

GetAgentID returns the value of AgentID.

func (*BatchCallDetailedResponse) GetAgentName

func (s *BatchCallDetailedResponse) GetAgentName() string

GetAgentName returns the value of AgentName.

func (*BatchCallDetailedResponse) GetCreatedAtUnix

func (s *BatchCallDetailedResponse) GetCreatedAtUnix() int

GetCreatedAtUnix returns the value of CreatedAtUnix.

func (*BatchCallDetailedResponse) GetID

func (s *BatchCallDetailedResponse) GetID() string

GetID returns the value of ID.

func (*BatchCallDetailedResponse) GetLastUpdatedAtUnix

func (s *BatchCallDetailedResponse) GetLastUpdatedAtUnix() int

GetLastUpdatedAtUnix returns the value of LastUpdatedAtUnix.

func (*BatchCallDetailedResponse) GetName

func (s *BatchCallDetailedResponse) GetName() string

GetName returns the value of Name.

func (*BatchCallDetailedResponse) GetPhoneNumberID

func (s *BatchCallDetailedResponse) GetPhoneNumberID() OptNilString

GetPhoneNumberID returns the value of PhoneNumberID.

func (*BatchCallDetailedResponse) GetPhoneProvider

func (s *BatchCallDetailedResponse) GetPhoneProvider() OptTelephonyProvider

GetPhoneProvider returns the value of PhoneProvider.

func (*BatchCallDetailedResponse) GetRecipients

GetRecipients returns the value of Recipients.

func (*BatchCallDetailedResponse) GetRetryCount

func (s *BatchCallDetailedResponse) GetRetryCount() OptInt

GetRetryCount returns the value of RetryCount.

func (*BatchCallDetailedResponse) GetScheduledTimeUnix

func (s *BatchCallDetailedResponse) GetScheduledTimeUnix() int

GetScheduledTimeUnix returns the value of ScheduledTimeUnix.

func (*BatchCallDetailedResponse) GetStatus

GetStatus returns the value of Status.

func (*BatchCallDetailedResponse) GetTotalCallsDispatched

func (s *BatchCallDetailedResponse) GetTotalCallsDispatched() int

GetTotalCallsDispatched returns the value of TotalCallsDispatched.

func (*BatchCallDetailedResponse) GetTotalCallsScheduled

func (s *BatchCallDetailedResponse) GetTotalCallsScheduled() int

GetTotalCallsScheduled returns the value of TotalCallsScheduled.

func (*BatchCallDetailedResponse) GetWhatsappParams

GetWhatsappParams returns the value of WhatsappParams.

func (*BatchCallDetailedResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BatchCallDetailedResponse) SetAgentID

func (s *BatchCallDetailedResponse) SetAgentID(val string)

SetAgentID sets the value of AgentID.

func (*BatchCallDetailedResponse) SetAgentName

func (s *BatchCallDetailedResponse) SetAgentName(val string)

SetAgentName sets the value of AgentName.

func (*BatchCallDetailedResponse) SetCreatedAtUnix

func (s *BatchCallDetailedResponse) SetCreatedAtUnix(val int)

SetCreatedAtUnix sets the value of CreatedAtUnix.

func (*BatchCallDetailedResponse) SetID

func (s *BatchCallDetailedResponse) SetID(val string)

SetID sets the value of ID.

func (*BatchCallDetailedResponse) SetLastUpdatedAtUnix

func (s *BatchCallDetailedResponse) SetLastUpdatedAtUnix(val int)

SetLastUpdatedAtUnix sets the value of LastUpdatedAtUnix.

func (*BatchCallDetailedResponse) SetName

func (s *BatchCallDetailedResponse) SetName(val string)

SetName sets the value of Name.

func (*BatchCallDetailedResponse) SetPhoneNumberID

func (s *BatchCallDetailedResponse) SetPhoneNumberID(val OptNilString)

SetPhoneNumberID sets the value of PhoneNumberID.

func (*BatchCallDetailedResponse) SetPhoneProvider

func (s *BatchCallDetailedResponse) SetPhoneProvider(val OptTelephonyProvider)

SetPhoneProvider sets the value of PhoneProvider.

func (*BatchCallDetailedResponse) SetRecipients

SetRecipients sets the value of Recipients.

func (*BatchCallDetailedResponse) SetRetryCount

func (s *BatchCallDetailedResponse) SetRetryCount(val OptInt)

SetRetryCount sets the value of RetryCount.

func (*BatchCallDetailedResponse) SetScheduledTimeUnix

func (s *BatchCallDetailedResponse) SetScheduledTimeUnix(val int)

SetScheduledTimeUnix sets the value of ScheduledTimeUnix.

func (*BatchCallDetailedResponse) SetStatus

func (s *BatchCallDetailedResponse) SetStatus(val BatchCallStatus)

SetStatus sets the value of Status.

func (*BatchCallDetailedResponse) SetTotalCallsDispatched

func (s *BatchCallDetailedResponse) SetTotalCallsDispatched(val int)

SetTotalCallsDispatched sets the value of TotalCallsDispatched.

func (*BatchCallDetailedResponse) SetTotalCallsScheduled

func (s *BatchCallDetailedResponse) SetTotalCallsScheduled(val int)

SetTotalCallsScheduled sets the value of TotalCallsScheduled.

func (*BatchCallDetailedResponse) SetWhatsappParams

func (s *BatchCallDetailedResponse) SetWhatsappParams(val OptBatchCallWhatsAppParams)

SetWhatsappParams sets the value of WhatsappParams.

func (*BatchCallDetailedResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BatchCallDetailedResponse) Validate

func (s *BatchCallDetailedResponse) Validate() error

type BatchCallRecipientStatus

type BatchCallRecipientStatus string

Ref: #/components/schemas/BatchCallRecipientStatus

const (
	BatchCallRecipientStatusPending    BatchCallRecipientStatus = "pending"
	BatchCallRecipientStatusInitiated  BatchCallRecipientStatus = "initiated"
	BatchCallRecipientStatusInProgress BatchCallRecipientStatus = "in_progress"
	BatchCallRecipientStatusCompleted  BatchCallRecipientStatus = "completed"
	BatchCallRecipientStatusFailed     BatchCallRecipientStatus = "failed"
	BatchCallRecipientStatusCancelled  BatchCallRecipientStatus = "cancelled"
	BatchCallRecipientStatusVoicemail  BatchCallRecipientStatus = "voicemail"
)

func (BatchCallRecipientStatus) AllValues

AllValues returns all BatchCallRecipientStatus values.

func (*BatchCallRecipientStatus) Decode

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

Decode decodes BatchCallRecipientStatus from json.

func (BatchCallRecipientStatus) Encode

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

Encode encodes BatchCallRecipientStatus as json.

func (BatchCallRecipientStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (BatchCallRecipientStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*BatchCallRecipientStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BatchCallRecipientStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (BatchCallRecipientStatus) Validate

func (s BatchCallRecipientStatus) Validate() error

type BatchCallResponse

type BatchCallResponse struct {
	AgentID              string                     `json:"agent_id"`
	AgentName            string                     `json:"agent_name"`
	CreatedAtUnix        int                        `json:"created_at_unix"`
	ID                   string                     `json:"id"`
	LastUpdatedAtUnix    int                        `json:"last_updated_at_unix"`
	Name                 string                     `json:"name"`
	PhoneNumberID        OptNilString               `json:"phone_number_id"`
	PhoneProvider        OptTelephonyProvider       `json:"phone_provider"`
	RetryCount           OptInt                     `json:"retry_count"`
	ScheduledTimeUnix    int                        `json:"scheduled_time_unix"`
	Status               BatchCallStatus            `json:"status"`
	TotalCallsDispatched int                        `json:"total_calls_dispatched"`
	TotalCallsScheduled  int                        `json:"total_calls_scheduled"`
	WhatsappParams       OptBatchCallWhatsAppParams `json:"whatsapp_params"`
}

Ref: #/components/schemas/BatchCallResponse

func (*BatchCallResponse) Decode

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

Decode decodes BatchCallResponse from json.

func (*BatchCallResponse) Encode

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

Encode implements json.Marshaler.

func (*BatchCallResponse) GetAgentID

func (s *BatchCallResponse) GetAgentID() string

GetAgentID returns the value of AgentID.

func (*BatchCallResponse) GetAgentName

func (s *BatchCallResponse) GetAgentName() string

GetAgentName returns the value of AgentName.

func (*BatchCallResponse) GetCreatedAtUnix

func (s *BatchCallResponse) GetCreatedAtUnix() int

GetCreatedAtUnix returns the value of CreatedAtUnix.

func (*BatchCallResponse) GetID

func (s *BatchCallResponse) GetID() string

GetID returns the value of ID.

func (*BatchCallResponse) GetLastUpdatedAtUnix

func (s *BatchCallResponse) GetLastUpdatedAtUnix() int

GetLastUpdatedAtUnix returns the value of LastUpdatedAtUnix.

func (*BatchCallResponse) GetName

func (s *BatchCallResponse) GetName() string

GetName returns the value of Name.

func (*BatchCallResponse) GetPhoneNumberID

func (s *BatchCallResponse) GetPhoneNumberID() OptNilString

GetPhoneNumberID returns the value of PhoneNumberID.

func (*BatchCallResponse) GetPhoneProvider

func (s *BatchCallResponse) GetPhoneProvider() OptTelephonyProvider

GetPhoneProvider returns the value of PhoneProvider.

func (*BatchCallResponse) GetRetryCount

func (s *BatchCallResponse) GetRetryCount() OptInt

GetRetryCount returns the value of RetryCount.

func (*BatchCallResponse) GetScheduledTimeUnix

func (s *BatchCallResponse) GetScheduledTimeUnix() int

GetScheduledTimeUnix returns the value of ScheduledTimeUnix.

func (*BatchCallResponse) GetStatus

func (s *BatchCallResponse) GetStatus() BatchCallStatus

GetStatus returns the value of Status.

func (*BatchCallResponse) GetTotalCallsDispatched

func (s *BatchCallResponse) GetTotalCallsDispatched() int

GetTotalCallsDispatched returns the value of TotalCallsDispatched.

func (*BatchCallResponse) GetTotalCallsScheduled

func (s *BatchCallResponse) GetTotalCallsScheduled() int

GetTotalCallsScheduled returns the value of TotalCallsScheduled.

func (*BatchCallResponse) GetWhatsappParams

func (s *BatchCallResponse) GetWhatsappParams() OptBatchCallWhatsAppParams

GetWhatsappParams returns the value of WhatsappParams.

func (*BatchCallResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BatchCallResponse) SetAgentID

func (s *BatchCallResponse) SetAgentID(val string)

SetAgentID sets the value of AgentID.

func (*BatchCallResponse) SetAgentName

func (s *BatchCallResponse) SetAgentName(val string)

SetAgentName sets the value of AgentName.

func (*BatchCallResponse) SetCreatedAtUnix

func (s *BatchCallResponse) SetCreatedAtUnix(val int)

SetCreatedAtUnix sets the value of CreatedAtUnix.

func (*BatchCallResponse) SetID

func (s *BatchCallResponse) SetID(val string)

SetID sets the value of ID.

func (*BatchCallResponse) SetLastUpdatedAtUnix

func (s *BatchCallResponse) SetLastUpdatedAtUnix(val int)

SetLastUpdatedAtUnix sets the value of LastUpdatedAtUnix.

func (*BatchCallResponse) SetName

func (s *BatchCallResponse) SetName(val string)

SetName sets the value of Name.

func (*BatchCallResponse) SetPhoneNumberID

func (s *BatchCallResponse) SetPhoneNumberID(val OptNilString)

SetPhoneNumberID sets the value of PhoneNumberID.

func (*BatchCallResponse) SetPhoneProvider

func (s *BatchCallResponse) SetPhoneProvider(val OptTelephonyProvider)

SetPhoneProvider sets the value of PhoneProvider.

func (*BatchCallResponse) SetRetryCount

func (s *BatchCallResponse) SetRetryCount(val OptInt)

SetRetryCount sets the value of RetryCount.

func (*BatchCallResponse) SetScheduledTimeUnix

func (s *BatchCallResponse) SetScheduledTimeUnix(val int)

SetScheduledTimeUnix sets the value of ScheduledTimeUnix.

func (*BatchCallResponse) SetStatus

func (s *BatchCallResponse) SetStatus(val BatchCallStatus)

SetStatus sets the value of Status.

func (*BatchCallResponse) SetTotalCallsDispatched

func (s *BatchCallResponse) SetTotalCallsDispatched(val int)

SetTotalCallsDispatched sets the value of TotalCallsDispatched.

func (*BatchCallResponse) SetTotalCallsScheduled

func (s *BatchCallResponse) SetTotalCallsScheduled(val int)

SetTotalCallsScheduled sets the value of TotalCallsScheduled.

func (*BatchCallResponse) SetWhatsappParams

func (s *BatchCallResponse) SetWhatsappParams(val OptBatchCallWhatsAppParams)

SetWhatsappParams sets the value of WhatsappParams.

func (*BatchCallResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BatchCallResponse) Validate

func (s *BatchCallResponse) Validate() error

type BatchCallStatus

type BatchCallStatus string

Ref: #/components/schemas/BatchCallStatus

const (
	BatchCallStatusPending    BatchCallStatus = "pending"
	BatchCallStatusInProgress BatchCallStatus = "in_progress"
	BatchCallStatusCompleted  BatchCallStatus = "completed"
	BatchCallStatusFailed     BatchCallStatus = "failed"
	BatchCallStatusCancelled  BatchCallStatus = "cancelled"
)

func (BatchCallStatus) AllValues

func (BatchCallStatus) AllValues() []BatchCallStatus

AllValues returns all BatchCallStatus values.

func (*BatchCallStatus) Decode

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

Decode decodes BatchCallStatus from json.

func (BatchCallStatus) Encode

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

Encode encodes BatchCallStatus as json.

func (BatchCallStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (BatchCallStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*BatchCallStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BatchCallStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (BatchCallStatus) Validate

func (s BatchCallStatus) Validate() error

type BatchCallWhatsAppParams

type BatchCallWhatsAppParams struct {
	WhatsappCallPermissionRequestTemplateLanguageCode string       `json:"whatsapp_call_permission_request_template_language_code"`
	WhatsappCallPermissionRequestTemplateName         string       `json:"whatsapp_call_permission_request_template_name"`
	WhatsappPhoneNumberID                             OptNilString `json:"whatsapp_phone_number_id"`
}

Ref: #/components/schemas/BatchCallWhatsAppParams

func (*BatchCallWhatsAppParams) Decode

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

Decode decodes BatchCallWhatsAppParams from json.

func (*BatchCallWhatsAppParams) Encode

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

Encode implements json.Marshaler.

func (*BatchCallWhatsAppParams) GetWhatsappCallPermissionRequestTemplateLanguageCode

func (s *BatchCallWhatsAppParams) GetWhatsappCallPermissionRequestTemplateLanguageCode() string

GetWhatsappCallPermissionRequestTemplateLanguageCode returns the value of WhatsappCallPermissionRequestTemplateLanguageCode.

func (*BatchCallWhatsAppParams) GetWhatsappCallPermissionRequestTemplateName

func (s *BatchCallWhatsAppParams) GetWhatsappCallPermissionRequestTemplateName() string

GetWhatsappCallPermissionRequestTemplateName returns the value of WhatsappCallPermissionRequestTemplateName.

func (*BatchCallWhatsAppParams) GetWhatsappPhoneNumberID

func (s *BatchCallWhatsAppParams) GetWhatsappPhoneNumberID() OptNilString

GetWhatsappPhoneNumberID returns the value of WhatsappPhoneNumberID.

func (*BatchCallWhatsAppParams) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BatchCallWhatsAppParams) SetWhatsappCallPermissionRequestTemplateLanguageCode

func (s *BatchCallWhatsAppParams) SetWhatsappCallPermissionRequestTemplateLanguageCode(val string)

SetWhatsappCallPermissionRequestTemplateLanguageCode sets the value of WhatsappCallPermissionRequestTemplateLanguageCode.

func (*BatchCallWhatsAppParams) SetWhatsappCallPermissionRequestTemplateName

func (s *BatchCallWhatsAppParams) SetWhatsappCallPermissionRequestTemplateName(val string)

SetWhatsappCallPermissionRequestTemplateName sets the value of WhatsappCallPermissionRequestTemplateName.

func (*BatchCallWhatsAppParams) SetWhatsappPhoneNumberID

func (s *BatchCallWhatsAppParams) SetWhatsappPhoneNumberID(val OptNilString)

SetWhatsappPhoneNumberID sets the value of WhatsappPhoneNumberID.

func (*BatchCallWhatsAppParams) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BatchFailureResponseModel

type BatchFailureResponseModel struct {
	ErrorCode    int                             `json:"error_code"`
	ErrorMessage string                          `json:"error_message"`
	ErrorStatus  string                          `json:"error_status"`
	Status       BatchFailureResponseModelStatus `json:"status"`
}

Ref: #/components/schemas/BatchFailureResponseModel

func (*BatchFailureResponseModel) Decode

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

Decode decodes BatchFailureResponseModel from json.

func (*BatchFailureResponseModel) Encode

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

Encode implements json.Marshaler.

func (*BatchFailureResponseModel) GetErrorCode

func (s *BatchFailureResponseModel) GetErrorCode() int

GetErrorCode returns the value of ErrorCode.

func (*BatchFailureResponseModel) GetErrorMessage

func (s *BatchFailureResponseModel) GetErrorMessage() string

GetErrorMessage returns the value of ErrorMessage.

func (*BatchFailureResponseModel) GetErrorStatus

func (s *BatchFailureResponseModel) GetErrorStatus() string

GetErrorStatus returns the value of ErrorStatus.

func (*BatchFailureResponseModel) GetStatus

GetStatus returns the value of Status.

func (*BatchFailureResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BatchFailureResponseModel) SetErrorCode

func (s *BatchFailureResponseModel) SetErrorCode(val int)

SetErrorCode sets the value of ErrorCode.

func (*BatchFailureResponseModel) SetErrorMessage

func (s *BatchFailureResponseModel) SetErrorMessage(val string)

SetErrorMessage sets the value of ErrorMessage.

func (*BatchFailureResponseModel) SetErrorStatus

func (s *BatchFailureResponseModel) SetErrorStatus(val string)

SetErrorStatus sets the value of ErrorStatus.

func (*BatchFailureResponseModel) SetStatus

SetStatus sets the value of Status.

func (*BatchFailureResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BatchFailureResponseModel) Validate

func (s *BatchFailureResponseModel) Validate() error

type BatchFailureResponseModelStatus

type BatchFailureResponseModelStatus string
const (
	BatchFailureResponseModelStatusFailure BatchFailureResponseModelStatus = "failure"
)

func (BatchFailureResponseModelStatus) AllValues

AllValues returns all BatchFailureResponseModelStatus values.

func (*BatchFailureResponseModelStatus) Decode

Decode decodes BatchFailureResponseModelStatus from json.

func (BatchFailureResponseModelStatus) Encode

Encode encodes BatchFailureResponseModelStatus as json.

func (BatchFailureResponseModelStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (BatchFailureResponseModelStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*BatchFailureResponseModelStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BatchFailureResponseModelStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (BatchFailureResponseModelStatus) Validate

type BillingPeriod

type BillingPeriod string

Ref: #/components/schemas/BillingPeriod

const (
	BillingPeriodMonthlyPeriod BillingPeriod = "monthly_period"
	BillingPeriod3MonthPeriod  BillingPeriod = "3_month_period"
	BillingPeriod6MonthPeriod  BillingPeriod = "6_month_period"
	BillingPeriodAnnualPeriod  BillingPeriod = "annual_period"
)

func (BillingPeriod) AllValues

func (BillingPeriod) AllValues() []BillingPeriod

AllValues returns all BillingPeriod values.

func (*BillingPeriod) Decode

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

Decode decodes BillingPeriod from json.

func (BillingPeriod) Encode

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

Encode encodes BillingPeriod as json.

func (BillingPeriod) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (BillingPeriod) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*BillingPeriod) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BillingPeriod) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (BillingPeriod) Validate

func (s BillingPeriod) Validate() error

type BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost

type BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost struct {
	// The Target language.
	Language NilString `json:"language"`
}

Ref: #/components/schemas/Body_Add_a_language_to_the_resource_v1_dubbing_resource__dubbing_id__language_post

func (*BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) Decode

Decode decodes BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost from json.

func (*BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) Encode

Encode implements json.Marshaler.

func (*BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) GetLanguage

GetLanguage returns the value of Language.

func (*BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) SetLanguage

SetLanguage sets the value of Language.

func (*BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart

type BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart struct {
	// A description of the pronunciation dictionary, used for identification only.
	Description OptNilString `json:"description"`
	// A lexicon .pls file which we will use to initialize the project with.
	File OptNilString `json:"file"`
	// The name of the pronunciation dictionary, used for identification only.
	Name string `json:"name"`
	// Should be one of 'admin', 'editor' or 'viewer'. If not provided, defaults to no access.
	WorkspaceAccess OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess `json:"workspace_access"`
}

Ref: #/components/schemas/Body_Add_a_pronunciation_dictionary_v1_pronunciation_dictionaries_add_from_file_post

func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) GetDescription

GetDescription returns the value of Description.

func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) GetFile

GetFile returns the value of File.

func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) GetName

GetName returns the value of Name.

func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) GetWorkspaceAccess

GetWorkspaceAccess returns the value of WorkspaceAccess.

func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) SetDescription

SetDescription sets the value of Description.

func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) SetFile

SetFile sets the value of File.

func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) SetName

SetName sets the value of Name.

func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) SetWorkspaceAccess

SetWorkspaceAccess sets the value of WorkspaceAccess.

func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) Validate

type BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess

type BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess string

Should be one of 'admin', 'editor' or 'viewer'. If not provided, defaults to no access.

const (
	BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccessAdmin     BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess = "admin"
	BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccessEditor    BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess = "editor"
	BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccessCommenter BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess = "commenter"
	BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccessViewer    BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess = "viewer"
)

func (BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) AllValues

AllValues returns all BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess values.

func (BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) Validate

type BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost

type BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost struct {
	// The email of the target workspace member.
	Email string `json:"email"`
}

Ref: #/components/schemas/Body_Add_member_to_user_group_v1_workspace_groups__group_id__members_post

func (*BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) Decode

Decode decodes BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost from json.

func (*BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) Encode

Encode implements json.Marshaler.

func (*BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) GetEmail

GetEmail returns the value of Email.

func (*BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) SetEmail

SetEmail sets the value of Email.

func (*BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart

type BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart struct {
	// Audio files used to create the voice.
	Files []ht.MultipartFile `json:"files"`
	// If set will remove background noise for voice samples using our audio isolation model. If the
	// samples do not include background noise, it can make the quality worse.
	RemoveBackgroundNoise OptBool `json:"remove_background_noise"`
}

Ref: #/components/schemas/Body_Add_samples_to_PVC_voice_v1_voices_pvc__voice_id__samples_post

func (*BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart) GetFiles

GetFiles returns the value of Files.

func (*BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart) GetRemoveBackgroundNoise

GetRemoveBackgroundNoise returns the value of RemoveBackgroundNoise.

func (*BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart) SetFiles

SetFiles sets the value of Files.

func (*BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart) SetRemoveBackgroundNoise

SetRemoveBackgroundNoise sets the value of RemoveBackgroundNoise.

type BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost

type BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost struct {
	// The name that identifies this voice. This will be displayed in the dropdown of the website.
	NewName string `json:"new_name"`
}

Ref: #/components/schemas/Body_Add_shared_voice_v1_voices_add__public_user_id___voice_id__post

func (*BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) Decode

Decode decodes BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost from json.

func (*BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) Encode

Encode implements json.Marshaler.

func (*BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) GetNewName

GetNewName returns the value of NewName.

func (*BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) SetNewName

SetNewName sets the value of NewName.

func (*BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart

type BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart struct {
	// Documentation that the agent will have access to in order to interact with users.
	File OptMultipartFile `json:"file"`
	// A custom, human-readable name for the document.
	Name OptNilString `json:"name"`
	// URL to a page of documentation that the agent will have access to in order to interact with users.
	URL OptString `json:"url"`
}

Ref: #/components/schemas/Body_Add_to_knowledge_base_v1_convai_knowledge_base_post

func (*BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) GetFile

GetFile returns the value of File.

func (*BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) GetName

GetName returns the value of Name.

func (*BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) GetURL

GetURL returns the value of URL.

func (*BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) SetFile

SetFile sets the value of File.

func (*BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) SetName

SetName sets the value of Name.

func (*BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) SetURL

SetURL sets the value of URL.

func (*BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) Validate

type BodyAddVoiceV1VoicesAddPostMultipart

type BodyAddVoiceV1VoicesAddPostMultipart struct {
	// A description of the voice.
	Description OptNilString `json:"description"`
	// A list of file paths to audio recordings intended for voice cloning.
	Files []ht.MultipartFile `json:"files"`
	// Serialized labels dictionary for the voice.
	Labels OptNilString `json:"labels"`
	// The name that identifies this voice. This will be displayed in the dropdown of the website.
	Name string `json:"name"`
	// If set will remove background noise for voice samples using our audio isolation model. If the
	// samples do not include background noise, it can make the quality worse.
	RemoveBackgroundNoise OptBool `json:"remove_background_noise"`
}

Ref: #/components/schemas/Body_Add_voice_v1_voices_add_post

func (*BodyAddVoiceV1VoicesAddPostMultipart) GetDescription

GetDescription returns the value of Description.

func (*BodyAddVoiceV1VoicesAddPostMultipart) GetFiles

GetFiles returns the value of Files.

func (*BodyAddVoiceV1VoicesAddPostMultipart) GetLabels

GetLabels returns the value of Labels.

func (*BodyAddVoiceV1VoicesAddPostMultipart) GetName

GetName returns the value of Name.

func (*BodyAddVoiceV1VoicesAddPostMultipart) GetRemoveBackgroundNoise

func (s *BodyAddVoiceV1VoicesAddPostMultipart) GetRemoveBackgroundNoise() OptBool

GetRemoveBackgroundNoise returns the value of RemoveBackgroundNoise.

func (*BodyAddVoiceV1VoicesAddPostMultipart) SetDescription

func (s *BodyAddVoiceV1VoicesAddPostMultipart) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*BodyAddVoiceV1VoicesAddPostMultipart) SetFiles

SetFiles sets the value of Files.

func (*BodyAddVoiceV1VoicesAddPostMultipart) SetLabels

SetLabels sets the value of Labels.

func (*BodyAddVoiceV1VoicesAddPostMultipart) SetName

SetName sets the value of Name.

func (*BodyAddVoiceV1VoicesAddPostMultipart) SetRemoveBackgroundNoise

func (s *BodyAddVoiceV1VoicesAddPostMultipart) SetRemoveBackgroundNoise(val OptBool)

SetRemoveBackgroundNoise sets the value of RemoveBackgroundNoise.

type BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart

type BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart struct {
	// The audio file from which vocals/speech will be isolated from.
	Audio ht.MultipartFile `json:"audio"`
	// The format of input audio. Options are 'pcm_s16le_16' or 'other' For `pcm_s16le_16`, the input
	// audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte
	// order. Latency will be lower than with passing an encoded waveform.
	FileFormat OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat `json:"file_format"`
}

Ref: #/components/schemas/Body_Audio_Isolation_Stream_v1_audio_isolation_stream_post

func (*BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) GetAudio

GetAudio returns the value of Audio.

func (*BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) GetFileFormat

GetFileFormat returns the value of FileFormat.

func (*BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) SetAudio

SetAudio sets the value of Audio.

func (*BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) SetFileFormat

SetFileFormat sets the value of FileFormat.

func (*BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) Validate

type BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat

type BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat string

The format of input audio. Options are 'pcm_s16le_16' or 'other' For `pcm_s16le_16`, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte order. Latency will be lower than with passing an encoded waveform.

const (
	BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormatPcmS16le16 BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat = "pcm_s16le_16"
	BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormatOther      BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat = "other"
)

func (BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) AllValues

AllValues returns all BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat values.

func (BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) Validate

type BodyAudioIsolationV1AudioIsolationPostMultipart

type BodyAudioIsolationV1AudioIsolationPostMultipart struct {
	// The audio file from which vocals/speech will be isolated from.
	Audio ht.MultipartFile `json:"audio"`
	// The format of input audio. Options are 'pcm_s16le_16' or 'other' For `pcm_s16le_16`, the input
	// audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte
	// order. Latency will be lower than with passing an encoded waveform.
	FileFormat OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat `json:"file_format"`
	// Optional preview image base64 for tracking this generation.
	PreviewB64 OptNilString `json:"preview_b64"`
}

Ref: #/components/schemas/Body_Audio_Isolation_v1_audio_isolation_post

func (*BodyAudioIsolationV1AudioIsolationPostMultipart) GetAudio

GetAudio returns the value of Audio.

func (*BodyAudioIsolationV1AudioIsolationPostMultipart) GetFileFormat

GetFileFormat returns the value of FileFormat.

func (*BodyAudioIsolationV1AudioIsolationPostMultipart) GetPreviewB64

GetPreviewB64 returns the value of PreviewB64.

func (*BodyAudioIsolationV1AudioIsolationPostMultipart) SetAudio

SetAudio sets the value of Audio.

func (*BodyAudioIsolationV1AudioIsolationPostMultipart) SetFileFormat

SetFileFormat sets the value of FileFormat.

func (*BodyAudioIsolationV1AudioIsolationPostMultipart) SetPreviewB64

SetPreviewB64 sets the value of PreviewB64.

func (*BodyAudioIsolationV1AudioIsolationPostMultipart) Validate

type BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat

type BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat string

The format of input audio. Options are 'pcm_s16le_16' or 'other' For `pcm_s16le_16`, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte order. Latency will be lower than with passing an encoded waveform.

const (
	BodyAudioIsolationV1AudioIsolationPostMultipartFileFormatPcmS16le16 BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat = "pcm_s16le_16"
	BodyAudioIsolationV1AudioIsolationPostMultipartFileFormatOther      BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat = "other"
)

func (BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) AllValues

AllValues returns all BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat values.

func (BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) Validate

type BodyComposeMusicV1MusicPost

type BodyComposeMusicV1MusicPost struct {
	// A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`.
	CompositionPlan OptMusicPrompt `json:"composition_plan"`
	// The ID of the finetune to use for the generation.
	FinetuneID OptNilString `json:"finetune_id"`
	// If true, guarantees that the generated song will be instrumental. If false, the song may or may
	// not be instrumental depending on the `prompt`. Can only be used with `prompt`.
	ForceInstrumental OptBool `json:"force_instrumental"`
	// The model to use for the generation.
	ModelID OptBodyComposeMusicV1MusicPostModelID `json:"model_id"`
	// The length of the song to generate in milliseconds. Used only in conjunction with `prompt`. Must
	// be between 3000ms and 600000ms. Optional - if not provided, the model will choose a length based
	// on the prompt.
	MusicLengthMs OptNilInt `json:"music_length_ms"`
	// A music prompt. Deprecated. Use `composition_plan` instead.
	MusicPrompt OptMusicPrompt `json:"music_prompt"`
	// A simple text prompt to generate a song from. Cannot be used in conjunction with
	// `composition_plan`.
	Prompt OptNilString `json:"prompt"`
	// Controls how strictly section durations in the `composition_plan` are enforced. Only used with
	// `composition_plan`. When set to true, the model will precisely respect each section's
	// `duration_ms` from the plan. When set to false, the model may adjust individual section durations
	// which will generally lead to better generation quality and improved latency, while always
	// preserving the total song duration from the plan.
	RespectSectionsDurations OptBool `json:"respect_sections_durations"`
	// The seed to use for the generation.
	Seed OptNilInt `json:"seed"`
	// Whether to sign the generated song with C2PA. Applicable only for mp3 files.
	SignWithC2pa OptBool `json:"sign_with_c2pa"`
	// Whether to store the generated song for inpainting. Only available to enterprise clients with
	// access to the inpainting API.
	StoreForInpainting OptBool `json:"store_for_inpainting"`
}

Ref: #/components/schemas/Body_Compose_music_v1_music_post

func (*BodyComposeMusicV1MusicPost) Decode

Decode decodes BodyComposeMusicV1MusicPost from json.

func (*BodyComposeMusicV1MusicPost) Encode

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

Encode implements json.Marshaler.

func (*BodyComposeMusicV1MusicPost) GetCompositionPlan

func (s *BodyComposeMusicV1MusicPost) GetCompositionPlan() OptMusicPrompt

GetCompositionPlan returns the value of CompositionPlan.

func (*BodyComposeMusicV1MusicPost) GetFinetuneID

func (s *BodyComposeMusicV1MusicPost) GetFinetuneID() OptNilString

GetFinetuneID returns the value of FinetuneID.

func (*BodyComposeMusicV1MusicPost) GetForceInstrumental

func (s *BodyComposeMusicV1MusicPost) GetForceInstrumental() OptBool

GetForceInstrumental returns the value of ForceInstrumental.

func (*BodyComposeMusicV1MusicPost) GetModelID

GetModelID returns the value of ModelID.

func (*BodyComposeMusicV1MusicPost) GetMusicLengthMs

func (s *BodyComposeMusicV1MusicPost) GetMusicLengthMs() OptNilInt

GetMusicLengthMs returns the value of MusicLengthMs.

func (*BodyComposeMusicV1MusicPost) GetMusicPrompt

func (s *BodyComposeMusicV1MusicPost) GetMusicPrompt() OptMusicPrompt

GetMusicPrompt returns the value of MusicPrompt.

func (*BodyComposeMusicV1MusicPost) GetPrompt

GetPrompt returns the value of Prompt.

func (*BodyComposeMusicV1MusicPost) GetRespectSectionsDurations

func (s *BodyComposeMusicV1MusicPost) GetRespectSectionsDurations() OptBool

GetRespectSectionsDurations returns the value of RespectSectionsDurations.

func (*BodyComposeMusicV1MusicPost) GetSeed

GetSeed returns the value of Seed.

func (*BodyComposeMusicV1MusicPost) GetSignWithC2pa

func (s *BodyComposeMusicV1MusicPost) GetSignWithC2pa() OptBool

GetSignWithC2pa returns the value of SignWithC2pa.

func (*BodyComposeMusicV1MusicPost) GetStoreForInpainting

func (s *BodyComposeMusicV1MusicPost) GetStoreForInpainting() OptBool

GetStoreForInpainting returns the value of StoreForInpainting.

func (*BodyComposeMusicV1MusicPost) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BodyComposeMusicV1MusicPost) SetCompositionPlan

func (s *BodyComposeMusicV1MusicPost) SetCompositionPlan(val OptMusicPrompt)

SetCompositionPlan sets the value of CompositionPlan.

func (*BodyComposeMusicV1MusicPost) SetFinetuneID

func (s *BodyComposeMusicV1MusicPost) SetFinetuneID(val OptNilString)

SetFinetuneID sets the value of FinetuneID.

func (*BodyComposeMusicV1MusicPost) SetForceInstrumental

func (s *BodyComposeMusicV1MusicPost) SetForceInstrumental(val OptBool)

SetForceInstrumental sets the value of ForceInstrumental.

func (*BodyComposeMusicV1MusicPost) SetModelID

SetModelID sets the value of ModelID.

func (*BodyComposeMusicV1MusicPost) SetMusicLengthMs

func (s *BodyComposeMusicV1MusicPost) SetMusicLengthMs(val OptNilInt)

SetMusicLengthMs sets the value of MusicLengthMs.

func (*BodyComposeMusicV1MusicPost) SetMusicPrompt

func (s *BodyComposeMusicV1MusicPost) SetMusicPrompt(val OptMusicPrompt)

SetMusicPrompt sets the value of MusicPrompt.

func (*BodyComposeMusicV1MusicPost) SetPrompt

func (s *BodyComposeMusicV1MusicPost) SetPrompt(val OptNilString)

SetPrompt sets the value of Prompt.

func (*BodyComposeMusicV1MusicPost) SetRespectSectionsDurations

func (s *BodyComposeMusicV1MusicPost) SetRespectSectionsDurations(val OptBool)

SetRespectSectionsDurations sets the value of RespectSectionsDurations.

func (*BodyComposeMusicV1MusicPost) SetSeed

func (s *BodyComposeMusicV1MusicPost) SetSeed(val OptNilInt)

SetSeed sets the value of Seed.

func (*BodyComposeMusicV1MusicPost) SetSignWithC2pa

func (s *BodyComposeMusicV1MusicPost) SetSignWithC2pa(val OptBool)

SetSignWithC2pa sets the value of SignWithC2pa.

func (*BodyComposeMusicV1MusicPost) SetStoreForInpainting

func (s *BodyComposeMusicV1MusicPost) SetStoreForInpainting(val OptBool)

SetStoreForInpainting sets the value of StoreForInpainting.

func (*BodyComposeMusicV1MusicPost) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyComposeMusicV1MusicPost) Validate

func (s *BodyComposeMusicV1MusicPost) Validate() error

type BodyComposeMusicV1MusicPostModelID

type BodyComposeMusicV1MusicPostModelID string

The model to use for the generation.

const (
	BodyComposeMusicV1MusicPostModelIDMusicV1 BodyComposeMusicV1MusicPostModelID = "music_v1"
)

func (BodyComposeMusicV1MusicPostModelID) AllValues

AllValues returns all BodyComposeMusicV1MusicPostModelID values.

func (*BodyComposeMusicV1MusicPostModelID) Decode

Decode decodes BodyComposeMusicV1MusicPostModelID from json.

func (BodyComposeMusicV1MusicPostModelID) Encode

Encode encodes BodyComposeMusicV1MusicPostModelID as json.

func (BodyComposeMusicV1MusicPostModelID) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (BodyComposeMusicV1MusicPostModelID) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*BodyComposeMusicV1MusicPostModelID) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyComposeMusicV1MusicPostModelID) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyComposeMusicV1MusicPostModelID) Validate

type BodyComposeMusicWithADetailedResponseV1MusicDetailedPost

type BodyComposeMusicWithADetailedResponseV1MusicDetailedPost struct {
	// A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`.
	CompositionPlan OptMusicPrompt `json:"composition_plan"`
	// The ID of the finetune to use for the generation.
	FinetuneID OptNilString `json:"finetune_id"`
	// If true, guarantees that the generated song will be instrumental. If false, the song may or may
	// not be instrumental depending on the `prompt`. Can only be used with `prompt`.
	ForceInstrumental OptBool `json:"force_instrumental"`
	// The model to use for the generation.
	ModelID OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID `json:"model_id"`
	// The length of the song to generate in milliseconds. Used only in conjunction with `prompt`. Must
	// be between 3000ms and 600000ms. Optional - if not provided, the model will choose a length based
	// on the prompt.
	MusicLengthMs OptNilInt `json:"music_length_ms"`
	// A music prompt. Deprecated. Use `composition_plan` instead.
	MusicPrompt OptMusicPrompt `json:"music_prompt"`
	// A simple text prompt to generate a song from. Cannot be used in conjunction with
	// `composition_plan`.
	Prompt OptNilString `json:"prompt"`
	// The seed to use for the generation.
	Seed OptNilInt `json:"seed"`
	// Whether to sign the generated song with C2PA. Applicable only for mp3 files.
	SignWithC2pa OptBool `json:"sign_with_c2pa"`
	// Whether to store the generated song for inpainting. Only available to enterprise clients with
	// access to the inpainting API.
	StoreForInpainting OptBool `json:"store_for_inpainting"`
	// Whether to return the timestamps of the words in the generated song.
	WithTimestamps OptBool `json:"with_timestamps"`
}

Ref: #/components/schemas/Body_Compose_Music_with_a_detailed_response_v1_music_detailed_post

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Decode

Decode decodes BodyComposeMusicWithADetailedResponseV1MusicDetailedPost from json.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Encode

Encode implements json.Marshaler.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetCompositionPlan

GetCompositionPlan returns the value of CompositionPlan.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetFinetuneID

GetFinetuneID returns the value of FinetuneID.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetForceInstrumental

GetForceInstrumental returns the value of ForceInstrumental.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetModelID

GetModelID returns the value of ModelID.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetMusicLengthMs

GetMusicLengthMs returns the value of MusicLengthMs.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetMusicPrompt

GetMusicPrompt returns the value of MusicPrompt.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetPrompt

GetPrompt returns the value of Prompt.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetSeed

GetSeed returns the value of Seed.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetSignWithC2pa

GetSignWithC2pa returns the value of SignWithC2pa.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetStoreForInpainting

GetStoreForInpainting returns the value of StoreForInpainting.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetWithTimestamps

GetWithTimestamps returns the value of WithTimestamps.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetCompositionPlan

SetCompositionPlan sets the value of CompositionPlan.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetFinetuneID

SetFinetuneID sets the value of FinetuneID.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetForceInstrumental

SetForceInstrumental sets the value of ForceInstrumental.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetModelID

SetModelID sets the value of ModelID.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetMusicLengthMs

SetMusicLengthMs sets the value of MusicLengthMs.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetMusicPrompt

SetMusicPrompt sets the value of MusicPrompt.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetPrompt

SetPrompt sets the value of Prompt.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetSeed

SetSeed sets the value of Seed.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetSignWithC2pa

SetSignWithC2pa sets the value of SignWithC2pa.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetStoreForInpainting

SetStoreForInpainting sets the value of StoreForInpainting.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetWithTimestamps

SetWithTimestamps sets the value of WithTimestamps.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Validate

type BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID

type BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID string

The model to use for the generation.

const (
	BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelIDMusicV1 BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID = "music_v1"
)

func (BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) AllValues

AllValues returns all BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID values.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Decode

Decode decodes BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID from json.

func (BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Encode

Encode encodes BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID as json.

func (BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Validate

type BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost

type BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost struct {
	// List of requested RAG indexes.
	Items []GetOrCreateRAGIndexRequestModel `json:"items"`
}

Ref: #/components/schemas/Body_Compute_RAG_indexes_in_batch_v1_convai_knowledge_base_rag_index_post

func (*BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) Decode

Decode decodes BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost from json.

func (*BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) Encode

Encode implements json.Marshaler.

func (*BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) GetItems

GetItems returns the value of Items.

func (*BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) SetItems

SetItems sets the value of Items.

func (*BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) Validate

type BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost

type BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost struct {
	// Name to attribute to this speaker.
	SpeakerName OptNilString `json:"speaker_name"`
	// Either the identifier of a voice from the ElevenLabs voice library, or one of ['track-clone',
	// 'clip-clone'].
	VoiceID OptNilString `json:"voice_id"`
	// For models that support it, the voice similarity value to use. This will default to 1.0, with a
	// valid range of [0.0, 1.0].
	VoiceSimilarity OptNilFloat64 `json:"voice_similarity"`
	// For models that support it, the voice similarity value to use. This will default to 0.65, with a
	// valid range of [0.0, 1.0].
	VoiceStability OptNilFloat64 `json:"voice_stability"`
	// For models that support it, the voice style value to use. This will default to 1.0, with a valid
	// range of [0.0, 1.0].
	VoiceStyle OptNilFloat64 `json:"voice_style"`
}

Ref: #/components/schemas/Body_Create_a_new_speaker_v1_dubbing_resource__dubbing_id__speaker_post

func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Decode

Decode decodes BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost from json.

func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Encode

Encode implements json.Marshaler.

func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetSpeakerName

GetSpeakerName returns the value of SpeakerName.

func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetVoiceID

GetVoiceID returns the value of VoiceID.

func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetVoiceSimilarity

GetVoiceSimilarity returns the value of VoiceSimilarity.

func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetVoiceStability

GetVoiceStability returns the value of VoiceStability.

func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetVoiceStyle

GetVoiceStyle returns the value of VoiceStyle.

func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetSpeakerName

SetSpeakerName sets the value of SpeakerName.

func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetVoiceID

SetVoiceID sets the value of VoiceID.

func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetVoiceSimilarity

SetVoiceSimilarity sets the value of VoiceSimilarity.

func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetVoiceStability

SetVoiceStability sets the value of VoiceStability.

func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetVoiceStyle

SetVoiceStyle sets the value of VoiceStyle.

func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Validate

type BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost

type BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost struct {
	// The generated_voice_id to create, call POST /v1/text-to-voice/create-previews and fetch the
	// generated_voice_id from the response header if don't have one yet.
	GeneratedVoiceID string `json:"generated_voice_id"`
	// Optional, metadata to add to the created voice. Defaults to None.
	Labels OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels `json:"labels"`
	// List of voice ids that the user has played but not selected. Used for RLHF.
	PlayedNotSelectedVoiceIds OptNilStringArray `json:"played_not_selected_voice_ids"`
	// Description to use for the created voice.
	VoiceDescription string `json:"voice_description"`
	// Name to use for the created voice.
	VoiceName string `json:"voice_name"`
}

Ref: #/components/schemas/Body_Create_a_new_voice_from_voice_preview_v1_text_to_voice_post

func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) Decode

Decode decodes BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost from json.

func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) Encode

Encode implements json.Marshaler.

func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetGeneratedVoiceID

GetGeneratedVoiceID returns the value of GeneratedVoiceID.

func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetLabels

GetLabels returns the value of Labels.

func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetPlayedNotSelectedVoiceIds

GetPlayedNotSelectedVoiceIds returns the value of PlayedNotSelectedVoiceIds.

func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetVoiceDescription

GetVoiceDescription returns the value of VoiceDescription.

func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetVoiceName

GetVoiceName returns the value of VoiceName.

func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetGeneratedVoiceID

SetGeneratedVoiceID sets the value of GeneratedVoiceID.

func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetLabels

SetLabels sets the value of Labels.

func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetPlayedNotSelectedVoiceIds

func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetPlayedNotSelectedVoiceIds(val OptNilStringArray)

SetPlayedNotSelectedVoiceIds sets the value of PlayedNotSelectedVoiceIds.

func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetVoiceDescription

SetVoiceDescription sets the value of VoiceDescription.

func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetVoiceName

SetVoiceName sets the value of VoiceName.

func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) Validate

type BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels

type BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels map[string]string

Optional, metadata to add to the created voice. Defaults to None.

func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Decode

Decode decodes BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels from json.

func (BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Encode

Encode implements json.Marshaler.

func (BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost

type BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost struct {
	// The generated_voice_id to create, call POST /v1/text-to-voice/create-previews and fetch the
	// generated_voice_id from the response header if don't have one yet.
	GeneratedVoiceID string `json:"generated_voice_id"`
	// Optional, metadata to add to the created voice. Defaults to None.
	Labels OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels `json:"labels"`
	// List of voice ids that the user has played but not selected. Used for RLHF.
	PlayedNotSelectedVoiceIds OptNilStringArray `json:"played_not_selected_voice_ids"`
	// Description to use for the created voice.
	VoiceDescription string `json:"voice_description"`
	// Name to use for the created voice.
	VoiceName string `json:"voice_name"`
}

Ref: #/components/schemas/Body_Create_a_previously_generated_voice_v1_voice_generation_create_voice_post

func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) Decode

Decode decodes BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost from json.

func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) Encode

Encode implements json.Marshaler.

func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetGeneratedVoiceID

GetGeneratedVoiceID returns the value of GeneratedVoiceID.

func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetLabels

GetLabels returns the value of Labels.

func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetPlayedNotSelectedVoiceIds

GetPlayedNotSelectedVoiceIds returns the value of PlayedNotSelectedVoiceIds.

func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetVoiceDescription

GetVoiceDescription returns the value of VoiceDescription.

func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetVoiceName

GetVoiceName returns the value of VoiceName.

func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetGeneratedVoiceID

SetGeneratedVoiceID sets the value of GeneratedVoiceID.

func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetLabels

SetLabels sets the value of Labels.

func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetPlayedNotSelectedVoiceIds

SetPlayedNotSelectedVoiceIds sets the value of PlayedNotSelectedVoiceIds.

func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetVoiceDescription

SetVoiceDescription sets the value of VoiceDescription.

func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetVoiceName

SetVoiceName sets the value of VoiceName.

func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) Validate

type BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels

type BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels map[string]string

Optional, metadata to add to the created voice. Defaults to None.

func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Decode

Decode decodes BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels from json.

func (BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Encode

Encode implements json.Marshaler.

func (BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart

type BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart struct {
	// Documentation that the agent will have access to in order to interact with users.
	File ht.MultipartFile `json:"file"`
	// A custom, human-readable name for the document.
	Name OptNilString `json:"name"`
	// If set, the created document or folder will be placed inside the given folder.
	ParentFolderID OptNilString `json:"parent_folder_id"`
}

Ref: #/components/schemas/Body_Create_file_document_v1_convai_knowledge_base_file_post

func (*BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) GetFile

GetFile returns the value of File.

func (*BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) GetName

GetName returns the value of Name.

func (*BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) GetParentFolderID

GetParentFolderID returns the value of ParentFolderID.

func (*BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) SetFile

SetFile sets the value of File.

func (*BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) SetName

SetName sets the value of Name.

func (*BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) SetParentFolderID

SetParentFolderID sets the value of ParentFolderID.

func (*BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) Validate

type BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart

type BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart struct {
	// If true, the file will be streamed to the server and processed in chunks. This is useful for large
	// files that cannot be loaded into memory. The default is false.
	EnabledSpooledFile OptBool `json:"enabled_spooled_file"`
	// The file to align. All major audio formats are supported. The file size must be less than 1GB.
	File ht.MultipartFile `json:"file"`
	// The text to align with the audio. The input text can be in any format, however diarization is not
	// supported at this time.
	Text string `json:"text"`
}

Ref: #/components/schemas/Body_Create_forced_alignment_v1_forced_alignment_post

func (*BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) GetEnabledSpooledFile

GetEnabledSpooledFile returns the value of EnabledSpooledFile.

func (*BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) GetFile

GetFile returns the value of File.

func (*BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) GetText

GetText returns the value of Text.

func (*BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) SetEnabledSpooledFile

SetEnabledSpooledFile sets the value of EnabledSpooledFile.

func (*BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) SetFile

SetFile sets the value of File.

func (*BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) SetText

SetText sets the value of Text.

type BodyCreatePVCVoiceV1VoicesPvcPost

type BodyCreatePVCVoiceV1VoicesPvcPost struct {
	// Description to use for the created voice.
	Description OptNilString `json:"description"`
	// Serialized labels dictionary for the voice.
	Labels OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels `json:"labels"`
	// Language used in the samples.
	Language string `json:"language"`
	// The name that identifies this voice. This will be displayed in the dropdown of the website.
	Name string `json:"name"`
}

Ref: #/components/schemas/Body_Create_PVC_voice_v1_voices_pvc_post

func (*BodyCreatePVCVoiceV1VoicesPvcPost) Decode

Decode decodes BodyCreatePVCVoiceV1VoicesPvcPost from json.

func (*BodyCreatePVCVoiceV1VoicesPvcPost) Encode

Encode implements json.Marshaler.

func (*BodyCreatePVCVoiceV1VoicesPvcPost) GetDescription

func (s *BodyCreatePVCVoiceV1VoicesPvcPost) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*BodyCreatePVCVoiceV1VoicesPvcPost) GetLabels

GetLabels returns the value of Labels.

func (*BodyCreatePVCVoiceV1VoicesPvcPost) GetLanguage

func (s *BodyCreatePVCVoiceV1VoicesPvcPost) GetLanguage() string

GetLanguage returns the value of Language.

func (*BodyCreatePVCVoiceV1VoicesPvcPost) GetName

GetName returns the value of Name.

func (*BodyCreatePVCVoiceV1VoicesPvcPost) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BodyCreatePVCVoiceV1VoicesPvcPost) SetDescription

func (s *BodyCreatePVCVoiceV1VoicesPvcPost) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*BodyCreatePVCVoiceV1VoicesPvcPost) SetLabels

SetLabels sets the value of Labels.

func (*BodyCreatePVCVoiceV1VoicesPvcPost) SetLanguage

func (s *BodyCreatePVCVoiceV1VoicesPvcPost) SetLanguage(val string)

SetLanguage sets the value of Language.

func (*BodyCreatePVCVoiceV1VoicesPvcPost) SetName

func (s *BodyCreatePVCVoiceV1VoicesPvcPost) SetName(val string)

SetName sets the value of Name.

func (*BodyCreatePVCVoiceV1VoicesPvcPost) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyCreatePVCVoiceV1VoicesPvcPost) Validate

type BodyCreatePVCVoiceV1VoicesPvcPostLabels

type BodyCreatePVCVoiceV1VoicesPvcPostLabels map[string]string

Serialized labels dictionary for the voice.

func (*BodyCreatePVCVoiceV1VoicesPvcPostLabels) Decode

Decode decodes BodyCreatePVCVoiceV1VoicesPvcPostLabels from json.

func (BodyCreatePVCVoiceV1VoicesPvcPostLabels) Encode

Encode implements json.Marshaler.

func (BodyCreatePVCVoiceV1VoicesPvcPostLabels) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BodyCreatePVCVoiceV1VoicesPvcPostLabels) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost

type BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost struct {
	// This will automatically mark text in this project for reconversion when the new dictionary applies
	// or the old one no longer does.
	InvalidateAffectedText OptBool `json:"invalidate_affected_text"`
	// A list of pronunciation dictionary locators (pronunciation_dictionary_id, version_id) encoded as a
	// list of JSON strings for pronunciation dictionaries to be applied to the text. A list of json
	// encoded strings is required as adding projects may occur through formData as opposed to jsonBody.
	// To specify multiple dictionaries use multiple --form lines in your curl, such as --form
	// 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"Vmd4Zor6fplcA7WrINey\",
	// \"version_id\":\"hRPaxjlTdR7wFMhV4w0b\"}"' --form
	// 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"JzWtcGQMJ6bnlWwyMo7e\",
	// \"version_id\":\"lbmwxiLu4q6txYxgdZqn\"}"'.
	PronunciationDictionaryLocators []PronunciationDictionaryVersionLocatorDBModel `json:"pronunciation_dictionary_locators"`
}

Ref: #/components/schemas/Body_Create_Pronunciation_Dictionaries_v1_studio_projects__project_id__pronunciation_dictionaries_post

func (*BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) Decode

Decode decodes BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost from json.

func (*BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) Encode

Encode implements json.Marshaler.

func (*BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) GetInvalidateAffectedText

GetInvalidateAffectedText returns the value of InvalidateAffectedText.

func (*BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) GetPronunciationDictionaryLocators

GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.

func (*BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) SetInvalidateAffectedText

SetInvalidateAffectedText sets the value of InvalidateAffectedText.

func (*BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) SetPronunciationDictionaryLocators

SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.

func (*BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) Validate

type BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost

type BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost struct {
	// The character limit of the XI API key. If provided this will limit the usage of this api key to n
	// characters per month where n is the chosen value. Requests that incur charges will fail after
	// reaching this monthly limit.
	CharacterLimit OptNilInt `json:"character_limit"`
	Name           string    `json:"name"`
	// The permissions of the XI API.
	Permissions BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions `json:"permissions"`
}

Ref: #/components/schemas/Body_create_service_account_api_key_v1_service_accounts__service_account_user_id__api_keys_post

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) Decode

Decode decodes BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost from json.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) Encode

Encode implements json.Marshaler.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) GetCharacterLimit

GetCharacterLimit returns the value of CharacterLimit.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) GetName

GetName returns the value of Name.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) GetPermissions

GetPermissions returns the value of Permissions.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) SetCharacterLimit

SetCharacterLimit sets the value of CharacterLimit.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) SetName

SetName sets the value of Name.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) SetPermissions

SetPermissions sets the value of Permissions.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) Validate

type BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions

type BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions struct {
	Type                                                                                                BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissionsType // switch on this field
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArray []BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1          BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1
}

The permissions of the XI API. BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions represents sum type.

func NewBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArrayBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions

func NewBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArrayBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions(v []BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions

NewBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArrayBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions returns new BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions from []BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item.

func NewBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions

func NewBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions(v BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions

NewBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions returns new BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions from BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) Decode

Decode decodes BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions from json.

func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) Encode

Encode encodes BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions as json.

func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) GetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArray

func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) GetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArray() (v []BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item, ok bool)

GetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArray returns []BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item and true boolean if BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions is []BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item.

func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) GetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1

GetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1 returns BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1 and true boolean if BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions is BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1.

func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) IsBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArray

func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) IsBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArray() bool

IsBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArray reports whether BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions is []BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item.

func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) IsBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1

func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) IsBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1() bool

IsBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1 reports whether BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions is BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1.

func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) SetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArray

SetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArray sets BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions to []BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) SetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1

SetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1 sets BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions to BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) Validate

type BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item

type BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item string
const (
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemTextToSpeech                   BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "text_to_speech"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemSpeechToSpeech                 BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "speech_to_speech"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemSpeechToText                   BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "speech_to_text"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemModelsRead                     BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "models_read"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemModelsWrite                    BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "models_write"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemVoicesRead                     BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "voices_read"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemVoicesWrite                    BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "voices_write"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemSpeechHistoryRead              BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "speech_history_read"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemSpeechHistoryWrite             BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "speech_history_write"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemSoundGeneration                BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "sound_generation"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemAudioIsolation                 BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "audio_isolation"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemVoiceGeneration                BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "voice_generation"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemDubbingRead                    BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "dubbing_read"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemDubbingWrite                   BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "dubbing_write"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemPronunciationDictionariesRead  BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "pronunciation_dictionaries_read"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemPronunciationDictionariesWrite BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "pronunciation_dictionaries_write"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemUserRead                       BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "user_read"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemUserWrite                      BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "user_write"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemProjectsRead                   BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "projects_read"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemProjectsWrite                  BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "projects_write"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemAudioNativeRead                BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "audio_native_read"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemAudioNativeWrite               BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "audio_native_write"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemWorkspaceRead                  BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "workspace_read"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemWorkspaceWrite                 BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "workspace_write"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemForcedAlignment                BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "forced_alignment"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemConvaiRead                     BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "convai_read"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemConvaiWrite                    BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "convai_write"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemMusicGeneration                BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item = "music_generation"
)

func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) AllValues

AllValues returns all BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item values.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) Decode

Decode decodes BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item from json.

func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) Encode

Encode encodes BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item as json.

func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) Validate

type BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1

type BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1 string
const (
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1All BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1 = "all"
)

func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) AllValues

AllValues returns all BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1 values.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) Decode

Decode decodes BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1 from json.

func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) Encode

Encode encodes BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1 as json.

func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) Validate

type BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissionsType

type BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissionsType string

BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissionsType is oneOf type of BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions.

const (
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArrayBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissionsType = "[]BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item"
	BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions          BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissionsType = "BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1"
)

Possible values for BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissionsType.

type BodyCreateStudioProjectV1StudioProjectsPostMultipart

type BodyCreateStudioProjectV1StudioProjectsPostMultipart struct {
	// [Deprecated] When the Studio project is downloaded, should the returned audio have postprocessing
	// in order to make it compliant with audiobook normalized volume requirements.
	AcxVolumeNormalization OptBool `json:"acx_volume_normalization"`
	// This parameter controls text normalization with four modes: 'auto', 'on', 'apply_english' and
	// 'off'.
	// When set to 'auto', the system will automatically decide whether to apply text normalization
	// (e.g., spelling out numbers). With 'on', text normalization will always be applied, while
	// with 'off', it will be skipped. 'apply_english' is the same as 'on' but will assume that text is
	// in English.
	ApplyTextNormalization OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization `json:"apply_text_normalization"`
	// An optional name of the author of the Studio project, this will be added as metadata to the mp3
	// file on Studio project or chapter download.
	Author OptNilString `json:"author"`
	// [Alpha Feature] Whether automatically assign voices to phrases in the create Project.
	AutoAssignVoices OptNilBool `json:"auto_assign_voices"`
	// Whether to auto convert the Studio project to audio or not.
	AutoConvert OptBool `json:"auto_convert"`
	// A url that will be called by our service when the Studio project is converted. Request will
	// contain a json blob containing the status of the conversion
	// Messages:
	// 1. When project was converted successfully:
	// {
	// type: "project_conversion_status",
	// event_timestamp: 1234567890,
	// data: {
	// request_id: "1234567890",
	// project_id: "21m00Tcm4TlvDq8ikWAM",
	// conversion_status: "success",
	// project_snapshot_id: "22m00Tcm4TlvDq8ikMAT",
	// error_details: None,
	// }
	// }
	// 2. When project conversion failed:
	// {
	// type: "project_conversion_status",
	// event_timestamp: 1234567890,
	// data: {
	// request_id: "1234567890",
	// project_id: "21m00Tcm4TlvDq8ikWAM",
	// conversion_status: "error",
	// project_snapshot_id: None,
	// error_details: "Error details if conversion failed"
	// }
	// }
	// 3. When chapter was converted successfully:
	// {
	// type: "chapter_conversion_status",
	// event_timestamp: 1234567890,
	// data: {
	// request_id: "1234567890",
	// project_id: "21m00Tcm4TlvDq8ikWAM",
	// chapter_id: "22m00Tcm4TlvDq8ikMAT",
	// conversion_status: "success",
	// chapter_snapshot_id: "23m00Tcm4TlvDq8ikMAV",
	// error_details: None,
	// }
	// }
	// 4. When chapter conversion failed:
	// {
	// type: "chapter_conversion_status",
	// event_timestamp: 1234567890,
	// data: {
	// request_id: "1234567890",
	// project_id: "21m00Tcm4TlvDq8ikWAM",
	// chapter_id: "22m00Tcm4TlvDq8ikMAT",
	// conversion_status: "error",
	// chapter_snapshot_id: None,
	// error_details: "Error details if conversion failed"
	// }
	// }.
	CallbackURL OptNilString `json:"callback_url"`
	// An optional content type of the Studio project.
	ContentType OptNilString `json:"content_type"`
	// The ID of the model to be used for this Studio project, you can query GET /v1/models to list all
	// available models.
	DefaultModelID OptNilString `json:"default_model_id"`
	// The voice_id that corresponds to the default voice used for new paragraphs.
	DefaultParagraphVoiceID OptNilString `json:"default_paragraph_voice_id"`
	// The voice_id that corresponds to the default voice used for new titles.
	DefaultTitleVoiceID OptNilString `json:"default_title_voice_id"`
	// An optional description of the Studio project.
	Description OptNilString `json:"description"`
	// An optional specification of whether the content of this Studio project is fiction.
	Fiction OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction `json:"fiction"`
	// An optional content to initialize the Studio project with. If this is set, 'from_url' and
	// 'from_document' must be null. If neither 'from_url', 'from_document', 'from_content' are provided
	// we will initialize the Studio project as blank.
	// Example:
	// [{"name": "Chapter A", "blocks": [{"sub_type": "p", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0",
	// "text": "A", "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "B", "type":
	// "tts_node"}]}, {"sub_type": "h1", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0", "text": "C",
	// "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "D", "type": "tts_node"}]}]},
	// {"name": "Chapter B", "blocks": [{"sub_type": "p", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0",
	// "text": "E", "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "F", "type":
	// "tts_node"}]}, {"sub_type": "h2", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0", "text": "G",
	// "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "H", "type": "tts_node"}]}]}].
	FromContentJSON OptString `json:"from_content_json"`
	// An optional .epub, .pdf, .txt or similar file can be provided. If provided, we will initialize the
	// Studio project with its content. If this is set, 'from_url' and 'from_content' must be null. If
	// neither 'from_url', 'from_document', 'from_content' are provided we will initialize the Studio
	// project as blank.
	FromDocument OptNilString `json:"from_document"`
	// An optional URL from which we will extract content to initialize the Studio project. If this is
	// set, 'from_url' and 'from_content' must be null. If neither 'from_url', 'from_document',
	// 'from_content' are provided we will initialize the Studio project as blank.
	FromURL OptNilString `json:"from_url"`
	// An optional list of genres associated with the Studio project.
	Genres []string `json:"genres"`
	// An optional ISBN number of the Studio project you want to create, this will be added as metadata
	// to the mp3 file on Studio project or chapter download.
	IsbnNumber OptNilString `json:"isbn_number"`
	// An optional language of the Studio project. Two-letter language code (ISO 639-1).
	Language OptNilString `json:"language"`
	// An optional specification of whether this Studio project contains mature content.
	MatureContent OptNilBool `json:"mature_content"`
	// The name of the Studio project, used for identification only.
	Name string `json:"name"`
	// An optional original publication date of the Studio project, in the format YYYY-MM-DD or YYYY.
	OriginalPublicationDate OptNilString `json:"original_publication_date"`
	// A list of pronunciation dictionary locators (pronunciation_dictionary_id, version_id) encoded as a
	// list of JSON strings for pronunciation dictionaries to be applied to the text. A list of json
	// encoded strings is required as adding projects may occur through formData as opposed to jsonBody.
	// To specify multiple dictionaries use multiple --form lines in your curl, such as --form
	// 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"Vmd4Zor6fplcA7WrINey\",
	// \"version_id\":\"hRPaxjlTdR7wFMhV4w0b\"}"' --form
	// 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"JzWtcGQMJ6bnlWwyMo7e\",
	// \"version_id\":\"lbmwxiLu4q6txYxgdZqn\"}"'.
	PronunciationDictionaryLocators []string `json:"pronunciation_dictionary_locators"`
	// Output quality of the generated audio. Must be one of:
	// standard - standard output format, 128kbps with 44.1kHz sample rate.
	// high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our
	// side.
	// ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on
	// our side.
	// ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest
	// improvements on our side in a fully lossless format.
	QualityPreset OptString `json:"quality_preset"`
	// The type of Studio project to create.
	SourceType OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType `json:"source_type"`
	// An optional target audience of the Studio project.
	TargetAudience OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience `json:"target_audience"`
	// An optional name of the author of the Studio project, this will be added as metadata to the mp3
	// file on Studio project or chapter download.
	Title OptNilString `json:"title"`
	// Optional voice settings overrides for the project, encoded as a list of JSON strings.
	// Example:
	// ["{\"voice_id\": \"21m00Tcm4TlvDq8ikWAM\", \"stability\": 0.7, \"similarity_boost\": 0.8,
	// \"style\": 0.5, \"speed\": 1.0, \"use_speaker_boost\": true}"].
	VoiceSettings []string `json:"voice_settings"`
	// When the Studio project is downloaded, should the returned audio have postprocessing in order to
	// make it compliant with audiobook normalized volume requirements.
	VolumeNormalization OptBool `json:"volume_normalization"`
}

Ref: #/components/schemas/Body_Create_Studio_project_v1_studio_projects_post

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetAcxVolumeNormalization

func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetAcxVolumeNormalization() OptBool

GetAcxVolumeNormalization returns the value of AcxVolumeNormalization.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetApplyTextNormalization

GetApplyTextNormalization returns the value of ApplyTextNormalization.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetAuthor

GetAuthor returns the value of Author.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetAutoAssignVoices

GetAutoAssignVoices returns the value of AutoAssignVoices.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetAutoConvert

GetAutoConvert returns the value of AutoConvert.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetCallbackURL

GetCallbackURL returns the value of CallbackURL.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetContentType

GetContentType returns the value of ContentType.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetDefaultModelID

GetDefaultModelID returns the value of DefaultModelID.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetDefaultParagraphVoiceID

GetDefaultParagraphVoiceID returns the value of DefaultParagraphVoiceID.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetDefaultTitleVoiceID

GetDefaultTitleVoiceID returns the value of DefaultTitleVoiceID.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetDescription

GetDescription returns the value of Description.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetFiction

GetFiction returns the value of Fiction.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetFromContentJSON

GetFromContentJSON returns the value of FromContentJSON.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetFromDocument

GetFromDocument returns the value of FromDocument.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetFromURL

GetFromURL returns the value of FromURL.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetGenres

GetGenres returns the value of Genres.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetIsbnNumber

GetIsbnNumber returns the value of IsbnNumber.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetLanguage

GetLanguage returns the value of Language.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetMatureContent

GetMatureContent returns the value of MatureContent.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetName

GetName returns the value of Name.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetOriginalPublicationDate

GetOriginalPublicationDate returns the value of OriginalPublicationDate.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetPronunciationDictionaryLocators

func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetPronunciationDictionaryLocators() []string

GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetQualityPreset

GetQualityPreset returns the value of QualityPreset.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetSourceType

GetSourceType returns the value of SourceType.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetTargetAudience

GetTargetAudience returns the value of TargetAudience.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetTitle

GetTitle returns the value of Title.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetVoiceSettings

GetVoiceSettings returns the value of VoiceSettings.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetVolumeNormalization

GetVolumeNormalization returns the value of VolumeNormalization.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetAcxVolumeNormalization

func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetAcxVolumeNormalization(val OptBool)

SetAcxVolumeNormalization sets the value of AcxVolumeNormalization.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetApplyTextNormalization

SetApplyTextNormalization sets the value of ApplyTextNormalization.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetAuthor

SetAuthor sets the value of Author.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetAutoAssignVoices

SetAutoAssignVoices sets the value of AutoAssignVoices.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetAutoConvert

SetAutoConvert sets the value of AutoConvert.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetCallbackURL

SetCallbackURL sets the value of CallbackURL.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetContentType

SetContentType sets the value of ContentType.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetDefaultModelID

SetDefaultModelID sets the value of DefaultModelID.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetDefaultParagraphVoiceID

func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetDefaultParagraphVoiceID(val OptNilString)

SetDefaultParagraphVoiceID sets the value of DefaultParagraphVoiceID.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetDefaultTitleVoiceID

SetDefaultTitleVoiceID sets the value of DefaultTitleVoiceID.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetDescription

SetDescription sets the value of Description.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetFiction

SetFiction sets the value of Fiction.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetFromContentJSON

SetFromContentJSON sets the value of FromContentJSON.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetFromDocument

SetFromDocument sets the value of FromDocument.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetFromURL

SetFromURL sets the value of FromURL.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetGenres

SetGenres sets the value of Genres.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetIsbnNumber

SetIsbnNumber sets the value of IsbnNumber.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetLanguage

SetLanguage sets the value of Language.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetMatureContent

SetMatureContent sets the value of MatureContent.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetName

SetName sets the value of Name.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetOriginalPublicationDate

func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetOriginalPublicationDate(val OptNilString)

SetOriginalPublicationDate sets the value of OriginalPublicationDate.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetPronunciationDictionaryLocators

func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetPronunciationDictionaryLocators(val []string)

SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetQualityPreset

SetQualityPreset sets the value of QualityPreset.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetSourceType

SetSourceType sets the value of SourceType.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetTargetAudience

SetTargetAudience sets the value of TargetAudience.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetTitle

SetTitle sets the value of Title.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetVoiceSettings

SetVoiceSettings sets the value of VoiceSettings.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetVolumeNormalization

func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetVolumeNormalization(val OptBool)

SetVolumeNormalization sets the value of VolumeNormalization.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) Validate

type BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization

type BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization string

This parameter controls text normalization with four modes: 'auto', 'on', 'apply_english' and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. 'apply_english' is the same as 'on' but will assume that text is in English.

const (
	BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalizationAuto         BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization = "auto"
	BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalizationOn           BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization = "on"
	BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalizationOff          BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization = "off"
	BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalizationApplyEnglish BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization = "apply_english"
)

func (BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) AllValues

AllValues returns all BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization values.

func (BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) Validate

type BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction

type BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction string

An optional specification of whether the content of this Studio project is fiction.

const (
	BodyCreateStudioProjectV1StudioProjectsPostMultipartFictionFiction    BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction = "fiction"
	BodyCreateStudioProjectV1StudioProjectsPostMultipartFictionNonFiction BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction = "non-fiction"
)

func (BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) AllValues

AllValues returns all BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction values.

func (BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) Validate

type BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType

type BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType string

The type of Studio project to create.

const (
	BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceTypeBlank      BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType = "blank"
	BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceTypeBook       BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType = "book"
	BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceTypeArticle    BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType = "article"
	BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceTypeGenfm      BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType = "genfm"
	BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceTypeVideo      BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType = "video"
	BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceTypeScreenplay BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType = "screenplay"
)

func (BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) AllValues

AllValues returns all BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType values.

func (BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) Validate

type BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience

type BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience string

An optional target audience of the Studio project.

const (
	BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudienceChildren   BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience = "children"
	BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudienceYoungAdult BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience = "young adult"
	BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudienceAdult      BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience = "adult"
	BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudienceAllAges    BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience = "all ages"
)

func (BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) AllValues

AllValues returns all BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience values.

func (BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) Validate

type BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost

type BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost struct {
	// A custom, human-readable name for the document.
	Name OptNilString `json:"name"`
	// If set, the created document or folder will be placed inside the given folder.
	ParentFolderID OptNilString `json:"parent_folder_id"`
	// Text content to be added to the knowledge base.
	Text string `json:"text"`
}

Ref: #/components/schemas/Body_Create_text_document_v1_convai_knowledge_base_text_post

func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) Decode

Decode decodes BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost from json.

func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) Encode

Encode implements json.Marshaler.

func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) GetName

GetName returns the value of Name.

func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) GetParentFolderID

GetParentFolderID returns the value of ParentFolderID.

func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) GetText

GetText returns the value of Text.

func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) SetName

SetName sets the value of Name.

func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) SetParentFolderID

SetParentFolderID sets the value of ParentFolderID.

func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) SetText

SetText sets the value of Text.

func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) Validate

type BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost

type BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost struct {
	// A custom, human-readable name for the document.
	Name OptNilString `json:"name"`
	// If set, the created document or folder will be placed inside the given folder.
	ParentFolderID OptNilString `json:"parent_folder_id"`
	// URL to a page of documentation that the agent will have access to in order to interact with users.
	URL string `json:"url"`
}

Ref: #/components/schemas/Body_Create_URL_document_v1_convai_knowledge_base_url_post

func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) Decode

Decode decodes BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost from json.

func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) Encode

Encode implements json.Marshaler.

func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) GetName

GetName returns the value of Name.

func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) GetParentFolderID

GetParentFolderID returns the value of ParentFolderID.

func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) GetURL

GetURL returns the value of URL.

func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) SetName

SetName sets the value of Name.

func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) SetParentFolderID

SetParentFolderID sets the value of ParentFolderID.

func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) SetURL

SetURL sets the value of URL.

func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) Validate

type BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost

type BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost struct {
	// Webhook settings object containing auth_type and corresponding configuration.
	Settings WebhookHMACSettings `json:"settings"`
}

Ref: #/components/schemas/Body_Create_workspace_webhook_v1_workspace_webhooks_post

func (*BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) Decode

Decode decodes BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost from json.

func (*BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) Encode

Encode implements json.Marshaler.

func (*BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) GetSettings

GetSettings returns the value of Settings.

func (*BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) SetSettings

SetSettings sets the value of Settings.

func (*BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) Validate

type BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart

type BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart struct {
	// This parameter controls text normalization with four modes: 'auto', 'on', 'apply_english' and
	// 'off'.
	// When set to 'auto', the system will automatically decide whether to apply text normalization
	// (e.g., spelling out numbers). With 'on', text normalization will always be applied, while
	// with 'off', it will be skipped. 'apply_english' is the same as 'on' but will assume that text is
	// in English.
	ApplyTextNormalization OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization `json:"apply_text_normalization"`
	// Author used in the player and inserted at the start of the uploaded article. If not provided, the
	// default author set in the Player settings is used.
	Author OptNilString `json:"author"`
	// Whether to auto convert the project to audio or not.
	AutoConvert OptBool `json:"auto_convert"`
	// Background color used in the player. If not provided, default background color set in the Player
	// settings is used.
	BackgroundColor OptNilString `json:"background_color"`
	// Either txt or HTML input file containing the article content. HTML should be formatted as follows
	// '<html><body><div><p>Your content</p><h3>More of your
	// content</h3><p>Some more of your content</p></div></body><
	// /html>'.
	File OptMultipartFile `json:"file"`
	// (Deprecated) Image URL used in the player. If not provided, default image set in the Player
	// settings is used.
	//
	// Deprecated: schema marks this property as deprecated.
	Image OptNilString `json:"image"`
	// TTS Model ID used in the player. If not provided, default model ID set in the Player settings is
	// used.
	ModelID OptNilString `json:"model_id"`
	// Project name.
	Name string `json:"name"`
	// A list of pronunciation dictionary locators (pronunciation_dictionary_id, version_id) encoded as a
	// list of JSON strings for pronunciation dictionaries to be applied to the text. A list of json
	// encoded strings is required as adding projects may occur through formData as opposed to jsonBody.
	// To specify multiple dictionaries use multiple --form lines in your curl, such as --form
	// 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"Vmd4Zor6fplcA7WrINey\",
	// \"version_id\":\"hRPaxjlTdR7wFMhV4w0b\"}"' --form
	// 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"JzWtcGQMJ6bnlWwyMo7e\",
	// \"version_id\":\"lbmwxiLu4q6txYxgdZqn\"}"'.
	PronunciationDictionaryLocators []string `json:"pronunciation_dictionary_locators"`
	// (Deprecated) Specifies for how many minutes to persist the session across page reloads. If not
	// provided, default sessionization set in the Player settings is used.
	//
	// Deprecated: schema marks this property as deprecated.
	Sessionization OptInt `json:"sessionization"`
	// (Deprecated) Whether to use small player or not. If not provided, default value set in the Player
	// settings is used.
	//
	// Deprecated: schema marks this property as deprecated.
	Small OptBool `json:"small"`
	// Text color used in the player. If not provided, default text color set in the Player settings is
	// used.
	TextColor OptNilString `json:"text_color"`
	// Title used in the player and inserted at the top of the uploaded article. If not provided, the
	// default title set in the Player settings is used.
	Title OptNilString `json:"title"`
	// Voice ID used to voice the content. If not provided, default voice ID set in the Player settings
	// is used.
	VoiceID OptNilString `json:"voice_id"`
}

Ref: #/components/schemas/Body_Creates_Audio_Native_enabled_project__v1_audio_native_post

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetApplyTextNormalization

GetApplyTextNormalization returns the value of ApplyTextNormalization.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetAuthor

GetAuthor returns the value of Author.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetAutoConvert

GetAutoConvert returns the value of AutoConvert.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetBackgroundColor

GetBackgroundColor returns the value of BackgroundColor.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetFile

GetFile returns the value of File.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetImage

GetImage returns the value of Image.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetModelID

GetModelID returns the value of ModelID.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetName

GetName returns the value of Name.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetPronunciationDictionaryLocators

func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetPronunciationDictionaryLocators() []string

GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetSessionization

GetSessionization returns the value of Sessionization.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetSmall

GetSmall returns the value of Small.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetTextColor

GetTextColor returns the value of TextColor.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetTitle

GetTitle returns the value of Title.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetVoiceID

GetVoiceID returns the value of VoiceID.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetApplyTextNormalization

SetApplyTextNormalization sets the value of ApplyTextNormalization.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetAuthor

SetAuthor sets the value of Author.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetAutoConvert

SetAutoConvert sets the value of AutoConvert.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetBackgroundColor

SetBackgroundColor sets the value of BackgroundColor.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetFile

SetFile sets the value of File.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetImage

SetImage sets the value of Image.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetModelID

SetModelID sets the value of ModelID.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetName

SetName sets the value of Name.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetPronunciationDictionaryLocators

func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetPronunciationDictionaryLocators(val []string)

SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetSessionization

SetSessionization sets the value of Sessionization.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetSmall

SetSmall sets the value of Small.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetTextColor

SetTextColor sets the value of TextColor.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetTitle

SetTitle sets the value of Title.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetVoiceID

SetVoiceID sets the value of VoiceID.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) Validate

type BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization

type BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization string

This parameter controls text normalization with four modes: 'auto', 'on', 'apply_english' and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. 'apply_english' is the same as 'on' but will assume that text is in English.

const (
	BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalizationAuto         BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization = "auto"
	BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalizationOn           BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization = "on"
	BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalizationOff          BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization = "off"
	BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalizationApplyEnglish BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization = "apply_english"
)

func (BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) AllValues

AllValues returns all BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization values.

func (BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) Validate

type BodyDeleteExistingInvitationV1WorkspaceInvitesDelete

type BodyDeleteExistingInvitationV1WorkspaceInvitesDelete struct {
	// The email of the customer.
	Email string `json:"email"`
}

Ref: #/components/schemas/Body_Delete_existing_invitation_v1_workspace_invites_delete

func (*BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) Decode

Decode decodes BodyDeleteExistingInvitationV1WorkspaceInvitesDelete from json.

func (*BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) Encode

Encode implements json.Marshaler.

func (*BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) GetEmail

GetEmail returns the value of Email.

func (*BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) SetEmail

SetEmail sets the value of Email.

func (*BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost

type BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost struct {
	// The email of the target workspace member.
	Email string `json:"email"`
}

Ref: #/components/schemas/Body_Delete_member_from_user_group_v1_workspace_groups__group_id__members_remove_post

func (*BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) Decode

Decode decodes BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost from json.

func (*BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) Encode

Encode implements json.Marshaler.

func (*BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) GetEmail

GetEmail returns the value of Email.

func (*BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) SetEmail

SetEmail sets the value of Email.

func (*BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type BodyDownloadHistoryItemsV1HistoryDownloadPost

type BodyDownloadHistoryItemsV1HistoryDownloadPost struct {
	// A list of history items to download, you can get IDs of history items and other metadata using the
	// GET https://api.elevenlabs.io/v1/history endpoint.
	HistoryItemIds []string `json:"history_item_ids"`
	// Output format to transcode the audio file, can be wav or default.
	OutputFormat OptNilString `json:"output_format"`
}

Ref: #/components/schemas/Body_Download_history_items_v1_history_download_post

func (*BodyDownloadHistoryItemsV1HistoryDownloadPost) Decode

Decode decodes BodyDownloadHistoryItemsV1HistoryDownloadPost from json.

func (*BodyDownloadHistoryItemsV1HistoryDownloadPost) Encode

Encode implements json.Marshaler.

func (*BodyDownloadHistoryItemsV1HistoryDownloadPost) GetHistoryItemIds

func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) GetHistoryItemIds() []string

GetHistoryItemIds returns the value of HistoryItemIds.

func (*BodyDownloadHistoryItemsV1HistoryDownloadPost) GetOutputFormat

GetOutputFormat returns the value of OutputFormat.

func (*BodyDownloadHistoryItemsV1HistoryDownloadPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyDownloadHistoryItemsV1HistoryDownloadPost) SetHistoryItemIds

func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) SetHistoryItemIds(val []string)

SetHistoryItemIds sets the value of HistoryItemIds.

func (*BodyDownloadHistoryItemsV1HistoryDownloadPost) SetOutputFormat

SetOutputFormat sets the value of OutputFormat.

func (*BodyDownloadHistoryItemsV1HistoryDownloadPost) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyDownloadHistoryItemsV1HistoryDownloadPost) Validate

type BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart

type BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart struct {
	// For use only with csv input.
	BackgroundAudioFile OptNilString `json:"background_audio_file"`
	// CSV file containing transcription/translation metadata.
	CsvFile OptNilString `json:"csv_file"`
	// Frames per second to use when parsing a CSV file for dubbing. If not provided, FPS will be
	// inferred from timecodes.
	CsvFps OptNilFloat64 `json:"csv_fps"`
	// Instead of using a voice clone in dubbing, use a similar voice from the ElevenLabs Voice Library.
	// Voices used from the library will contribute towards a workspace's custom voices limit, and if
	// there aren't enough available slots the dub will fail. Using this feature requires the caller to
	// have the 'add_voice_from_voice_library' permission on their workspace to access new voices.
	DisableVoiceCloning OptBool `json:"disable_voice_cloning"`
	// An advanced setting. Whether to drop background audio from the final dub. This can improve dub
	// quality where it's known that audio shouldn't have a background track such as for speeches or
	// monologues.
	DropBackgroundAudio OptBool `json:"drop_background_audio"`
	// Whether to prepare dub for edits in dubbing studio or edits as a dubbing resource.
	DubbingStudio OptBool `json:"dubbing_studio"`
	// End time of the source video/audio file.
	EndTime OptNilInt `json:"end_time"`
	// A list of file paths to audio recordings intended for voice cloning.
	File OptNilString `json:"file"`
	// For use only with csv input.
	ForegroundAudioFile OptNilString `json:"foreground_audio_file"`
	// Whether to use the highest resolution available.
	HighestResolution OptBool `json:"highest_resolution"`
	// The mode in which to run this Dubbing job. Defaults to automatic, use manual if specifically
	// providing a CSV transcript to use.
	Mode OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode `json:"mode"`
	// Name of the dubbing project.
	Name OptNilString `json:"name"`
	// Number of speakers to use for the dubbing. Set to 0 to automatically detect the number of speakers.
	NumSpeakers OptInt `json:"num_speakers"`
	// Source language. Expects a valid iso639-1 or iso639-3 language code.
	SourceLang OptString `json:"source_lang"`
	// URL of the source video/audio file.
	SourceURL OptNilString `json:"source_url"`
	// Start time of the source video/audio file.
	StartTime OptNilInt `json:"start_time"`
	// [Experimental] An accent to apply when selecting voices from the library and to use to inform
	// translation of the dialect to prefer.
	TargetAccent OptNilString `json:"target_accent"`
	// The Target language to dub the content into. Expects a valid iso639-1 or iso639-3 language code.
	TargetLang OptNilString `json:"target_lang"`
	// [BETA] Whether transcripts should have profanities censored with the words '[censored]'.
	UseProfanityFilter OptNilBool `json:"use_profanity_filter"`
	// Whether to apply watermark to the output video.
	Watermark OptBool `json:"watermark"`
}

Ref: #/components/schemas/Body_Dub_a_video_or_an_audio_file_v1_dubbing_post

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetBackgroundAudioFile

GetBackgroundAudioFile returns the value of BackgroundAudioFile.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetCsvFile

GetCsvFile returns the value of CsvFile.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetCsvFps

GetCsvFps returns the value of CsvFps.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetDisableVoiceCloning

func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetDisableVoiceCloning() OptBool

GetDisableVoiceCloning returns the value of DisableVoiceCloning.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetDropBackgroundAudio

func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetDropBackgroundAudio() OptBool

GetDropBackgroundAudio returns the value of DropBackgroundAudio.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetDubbingStudio

GetDubbingStudio returns the value of DubbingStudio.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetEndTime

GetEndTime returns the value of EndTime.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetFile

GetFile returns the value of File.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetForegroundAudioFile

GetForegroundAudioFile returns the value of ForegroundAudioFile.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetHighestResolution

GetHighestResolution returns the value of HighestResolution.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetMode

GetMode returns the value of Mode.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetName

GetName returns the value of Name.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetNumSpeakers

GetNumSpeakers returns the value of NumSpeakers.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetSourceLang

GetSourceLang returns the value of SourceLang.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetSourceURL

GetSourceURL returns the value of SourceURL.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetStartTime

GetStartTime returns the value of StartTime.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetTargetAccent

GetTargetAccent returns the value of TargetAccent.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetTargetLang

GetTargetLang returns the value of TargetLang.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetUseProfanityFilter

GetUseProfanityFilter returns the value of UseProfanityFilter.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetWatermark

GetWatermark returns the value of Watermark.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetBackgroundAudioFile

func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetBackgroundAudioFile(val OptNilString)

SetBackgroundAudioFile sets the value of BackgroundAudioFile.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetCsvFile

SetCsvFile sets the value of CsvFile.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetCsvFps

SetCsvFps sets the value of CsvFps.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetDisableVoiceCloning

func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetDisableVoiceCloning(val OptBool)

SetDisableVoiceCloning sets the value of DisableVoiceCloning.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetDropBackgroundAudio

func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetDropBackgroundAudio(val OptBool)

SetDropBackgroundAudio sets the value of DropBackgroundAudio.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetDubbingStudio

SetDubbingStudio sets the value of DubbingStudio.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetEndTime

SetEndTime sets the value of EndTime.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetFile

SetFile sets the value of File.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetForegroundAudioFile

func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetForegroundAudioFile(val OptNilString)

SetForegroundAudioFile sets the value of ForegroundAudioFile.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetHighestResolution

func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetHighestResolution(val OptBool)

SetHighestResolution sets the value of HighestResolution.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetMode

SetMode sets the value of Mode.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetName

SetName sets the value of Name.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetNumSpeakers

SetNumSpeakers sets the value of NumSpeakers.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetSourceLang

SetSourceLang sets the value of SourceLang.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetSourceURL

SetSourceURL sets the value of SourceURL.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetStartTime

SetStartTime sets the value of StartTime.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetTargetAccent

SetTargetAccent sets the value of TargetAccent.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetTargetLang

SetTargetLang sets the value of TargetLang.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetUseProfanityFilter

func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetUseProfanityFilter(val OptNilBool)

SetUseProfanityFilter sets the value of UseProfanityFilter.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetWatermark

SetWatermark sets the value of Watermark.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) Validate

type BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode

type BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode string

The mode in which to run this Dubbing job. Defaults to automatic, use manual if specifically providing a CSV transcript to use.

const (
	BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartModeAutomatic BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode = "automatic"
	BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartModeManual    BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode = "manual"
)

func (BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) AllValues

AllValues returns all BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode values.

func (BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) Validate

type BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost

type BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost struct {
	// Dub only these languages for each segment.
	Languages []string `json:"languages"`
	// Dub only this list of segments.
	Segments []string `json:"segments"`
}

Ref: #/components/schemas/Body_Dubs_all_or_some_segments_and_languages_v1_dubbing_resource__dubbing_id__dub_post

func (*BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) Decode

Decode decodes BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost from json.

func (*BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) Encode

Encode implements json.Marshaler.

func (*BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) GetLanguages

GetLanguages returns the value of Languages.

func (*BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) GetSegments

GetSegments returns the value of Segments.

func (*BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) SetLanguages

SetLanguages sets the value of Languages.

func (*BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) SetSegments

SetSegments sets the value of Segments.

func (*BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) Validate

type BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost

type BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost struct {
	// A name to make the agent easier to find.
	Name OptNilString `json:"name"`
}

Ref: #/components/schemas/Body_Duplicate_Agent_v1_convai_agents__agent_id__duplicate_post

func (*BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Decode

Decode decodes BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost from json.

func (*BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Encode

Encode implements json.Marshaler.

func (*BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) GetName

GetName returns the value of Name.

func (*BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) SetName

SetName sets the value of Name.

func (*BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type BodyEditPVCVoiceV1VoicesPvcVoiceIDPost

type BodyEditPVCVoiceV1VoicesPvcVoiceIDPost struct {
	// Description to use for the created voice.
	Description OptNilString `json:"description"`
	// Serialized labels dictionary for the voice.
	Labels OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels `json:"labels"`
	// Language used in the samples.
	Language OptString `json:"language"`
	// The name that identifies this voice. This will be displayed in the dropdown of the website.
	Name OptString `json:"name"`
}

Ref: #/components/schemas/Body_Edit_PVC_voice_v1_voices_pvc__voice_id__post

func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Decode

Decode decodes BodyEditPVCVoiceV1VoicesPvcVoiceIDPost from json.

func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Encode

Encode implements json.Marshaler.

func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) GetDescription

GetDescription returns the value of Description.

func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) GetLabels

GetLabels returns the value of Labels.

func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) GetLanguage

GetLanguage returns the value of Language.

func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) GetName

GetName returns the value of Name.

func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetDescription

SetDescription sets the value of Description.

func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetLabels

SetLabels sets the value of Labels.

func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetLanguage

SetLanguage sets the value of Language.

func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetName

SetName sets the value of Name.

func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Validate

type BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels

type BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels map[string]string

Serialized labels dictionary for the voice.

func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Decode

Decode decodes BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels from json.

func (BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Encode

Encode implements json.Marshaler.

func (BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch

type BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch struct {
	// The character limit of the XI API key. If provided this will limit the usage of this api key to n
	// characters per month where n is the chosen value. Requests that incur charges will fail after
	// reaching this monthly limit.
	CharacterLimit OptNilInt `json:"character_limit"`
	// Whether to enable or disable the API key.
	IsEnabled bool `json:"is_enabled"`
	// The name of the XI API key to use (used for identification purposes only).
	Name string `json:"name"`
	// The permissions of the XI API.
	Permissions BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions `json:"permissions"`
}

Ref: #/components/schemas/Body_edit_service_account_api_key_v1_service_accounts__service_account_user_id__api_keys__api_key_id__patch

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) Decode

Decode decodes BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch from json.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) Encode

Encode implements json.Marshaler.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) GetCharacterLimit

GetCharacterLimit returns the value of CharacterLimit.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) GetIsEnabled

GetIsEnabled returns the value of IsEnabled.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) GetName

GetName returns the value of Name.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) GetPermissions

GetPermissions returns the value of Permissions.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) SetCharacterLimit

SetCharacterLimit sets the value of CharacterLimit.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) SetIsEnabled

SetIsEnabled sets the value of IsEnabled.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) SetName

SetName sets the value of Name.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) SetPermissions

SetPermissions sets the value of Permissions.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) Validate

type BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions

type BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions struct {
	Type                                                                                                       BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissionsType // switch on this field
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArray []BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1          BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1
}

The permissions of the XI API. BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions represents sum type.

func NewBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArrayBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions

func NewBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArrayBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions(v []BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions

NewBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArrayBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions returns new BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions from []BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item.

func NewBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions

func NewBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions(v BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions

NewBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions returns new BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions from BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) Decode

Decode decodes BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions from json.

func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) Encode

Encode encodes BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions as json.

func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) GetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArray

func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) GetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArray() (v []BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item, ok bool)

GetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArray returns []BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item and true boolean if BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions is []BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item.

func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) GetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1

GetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1 returns BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1 and true boolean if BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions is BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1.

func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) IsBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArray

func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) IsBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArray() bool

IsBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArray reports whether BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions is []BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item.

func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) IsBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1

func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) IsBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1() bool

IsBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1 reports whether BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions is BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1.

func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) SetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArray

SetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArray sets BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions to []BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) SetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1

SetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1 sets BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions to BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) Validate

type BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item

type BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item string
const (
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemTextToSpeech                   BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "text_to_speech"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemSpeechToSpeech                 BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "speech_to_speech"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemSpeechToText                   BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "speech_to_text"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemModelsRead                     BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "models_read"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemModelsWrite                    BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "models_write"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemVoicesRead                     BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "voices_read"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemVoicesWrite                    BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "voices_write"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemSpeechHistoryRead              BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "speech_history_read"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemSpeechHistoryWrite             BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "speech_history_write"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemSoundGeneration                BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "sound_generation"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemAudioIsolation                 BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "audio_isolation"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemVoiceGeneration                BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "voice_generation"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemDubbingRead                    BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "dubbing_read"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemDubbingWrite                   BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "dubbing_write"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemPronunciationDictionariesRead  BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "pronunciation_dictionaries_read"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemPronunciationDictionariesWrite BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "pronunciation_dictionaries_write"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemUserRead                       BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "user_read"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemUserWrite                      BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "user_write"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemProjectsRead                   BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "projects_read"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemProjectsWrite                  BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "projects_write"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemAudioNativeRead                BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "audio_native_read"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemAudioNativeWrite               BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "audio_native_write"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemWorkspaceRead                  BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "workspace_read"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemWorkspaceWrite                 BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "workspace_write"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemForcedAlignment                BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "forced_alignment"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemConvaiRead                     BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "convai_read"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemConvaiWrite                    BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "convai_write"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemMusicGeneration                BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item = "music_generation"
)

func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) AllValues

AllValues returns all BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item values.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) Decode

Decode decodes BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item from json.

func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) Encode

Encode encodes BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item as json.

func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) Validate

type BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1

type BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1 string
const (
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1All BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1 = "all"
)

func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) AllValues

AllValues returns all BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1 values.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) Decode

Decode decodes BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1 from json.

func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) Encode

Encode encodes BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1 as json.

func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) Validate

type BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissionsType

type BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissionsType string

BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissionsType is oneOf type of BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions.

const (
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArrayBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissionsType = "[]BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item"
	BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions          BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissionsType = "BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1"
)

Possible values for BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissionsType.

type BodyEditVoiceV1VoicesVoiceIDEditPostMultipart

type BodyEditVoiceV1VoicesVoiceIDEditPostMultipart struct {
	// A description of the voice.
	Description OptNilString `json:"description"`
	// Audio files to add to the voice.
	Files []ht.MultipartFile `json:"files"`
	// Serialized labels dictionary for the voice.
	Labels OptNilString `json:"labels"`
	// The name that identifies this voice. This will be displayed in the dropdown of the website.
	Name string `json:"name"`
	// If set will remove background noise for voice samples using our audio isolation model. If the
	// samples do not include background noise, it can make the quality worse.
	RemoveBackgroundNoise OptBool `json:"remove_background_noise"`
}

Ref: #/components/schemas/Body_Edit_voice_v1_voices__voice_id__edit_post

func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetDescription

GetDescription returns the value of Description.

func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetFiles

GetFiles returns the value of Files.

func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetLabels

GetLabels returns the value of Labels.

func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetName

GetName returns the value of Name.

func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetRemoveBackgroundNoise

func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetRemoveBackgroundNoise() OptBool

GetRemoveBackgroundNoise returns the value of RemoveBackgroundNoise.

func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetDescription

SetDescription sets the value of Description.

func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetFiles

SetFiles sets the value of Files.

func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetLabels

SetLabels sets the value of Labels.

func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetName

SetName sets the value of Name.

func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetRemoveBackgroundNoise

func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetRemoveBackgroundNoise(val OptBool)

SetRemoveBackgroundNoise sets the value of RemoveBackgroundNoise.

type BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost

type BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost struct {
	// Category code corresponding to the accent of the generated voice. Possible values: british,
	// american, african, australian, indian.
	Accent string `json:"accent"`
	// The strength of the accent of the generated voice. Has to be between 0.3 and 2.0.
	AccentStrength float64 `json:"accent_strength"`
	// Category code corresponding to the age of the generated voice. Possible values: young, middle_aged,
	//  old.
	Age BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge `json:"age"`
	// Category code corresponding to the gender of the generated voice. Possible values: female, male.
	Gender BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender `json:"gender"`
	// Text to generate, text length has to be between 100 and 1000.
	Text string `json:"text"`
}

Ref: #/components/schemas/Body_Generate_a_random_voice_v1_voice_generation_generate_voice_post

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) Decode

Decode decodes BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost from json.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) Encode

Encode implements json.Marshaler.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetAccent

GetAccent returns the value of Accent.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetAccentStrength

GetAccentStrength returns the value of AccentStrength.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetAge

GetAge returns the value of Age.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetGender

GetGender returns the value of Gender.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetText

GetText returns the value of Text.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetAccent

SetAccent sets the value of Accent.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetAccentStrength

SetAccentStrength sets the value of AccentStrength.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetAge

SetAge sets the value of Age.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetGender

SetGender sets the value of Gender.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetText

SetText sets the value of Text.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) Validate

type BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge

type BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge string

Category code corresponding to the age of the generated voice. Possible values: young, middle_aged,

old.
const (
	BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAgeYoung      BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge = "young"
	BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAgeMiddleAged BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge = "middle_aged"
	BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAgeOld        BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge = "old"
)

func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) AllValues

AllValues returns all BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge values.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) Decode

Decode decodes BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge from json.

func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) Encode

Encode encodes BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge as json.

func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) Validate

type BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender

type BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender string

Category code corresponding to the gender of the generated voice. Possible values: female, male.

const (
	BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGenderFemale BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender = "female"
	BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGenderMale   BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender = "male"
)

func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) AllValues

AllValues returns all BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender values.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) Decode

Decode decodes BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender from json.

func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) Encode

Encode encodes BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender as json.

func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) Validate

type BodyGenerateCompositionPlanV1MusicPlanPost

type BodyGenerateCompositionPlanV1MusicPlanPost struct {
	// The model to use for the generation.
	ModelID OptBodyGenerateCompositionPlanV1MusicPlanPostModelID `json:"model_id"`
	// The length of the composition plan to generate in milliseconds. Must be between 3000ms and
	// 600000ms. Optional - if not provided, the model will choose a length based on the prompt.
	MusicLengthMs OptNilInt `json:"music_length_ms"`
	// A simple text prompt to compose a plan from.
	Prompt string `json:"prompt"`
	// An optional composition plan to use as a source for the new composition plan.
	SourceCompositionPlan OptMusicPrompt `json:"source_composition_plan"`
}

Ref: #/components/schemas/Body_Generate_composition_plan_v1_music_plan_post

func (*BodyGenerateCompositionPlanV1MusicPlanPost) Decode

Decode decodes BodyGenerateCompositionPlanV1MusicPlanPost from json.

func (*BodyGenerateCompositionPlanV1MusicPlanPost) Encode

Encode implements json.Marshaler.

func (*BodyGenerateCompositionPlanV1MusicPlanPost) GetModelID

GetModelID returns the value of ModelID.

func (*BodyGenerateCompositionPlanV1MusicPlanPost) GetMusicLengthMs

GetMusicLengthMs returns the value of MusicLengthMs.

func (*BodyGenerateCompositionPlanV1MusicPlanPost) GetPrompt

GetPrompt returns the value of Prompt.

func (*BodyGenerateCompositionPlanV1MusicPlanPost) GetSourceCompositionPlan

func (s *BodyGenerateCompositionPlanV1MusicPlanPost) GetSourceCompositionPlan() OptMusicPrompt

GetSourceCompositionPlan returns the value of SourceCompositionPlan.

func (*BodyGenerateCompositionPlanV1MusicPlanPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyGenerateCompositionPlanV1MusicPlanPost) SetModelID

SetModelID sets the value of ModelID.

func (*BodyGenerateCompositionPlanV1MusicPlanPost) SetMusicLengthMs

func (s *BodyGenerateCompositionPlanV1MusicPlanPost) SetMusicLengthMs(val OptNilInt)

SetMusicLengthMs sets the value of MusicLengthMs.

func (*BodyGenerateCompositionPlanV1MusicPlanPost) SetPrompt

SetPrompt sets the value of Prompt.

func (*BodyGenerateCompositionPlanV1MusicPlanPost) SetSourceCompositionPlan

func (s *BodyGenerateCompositionPlanV1MusicPlanPost) SetSourceCompositionPlan(val OptMusicPrompt)

SetSourceCompositionPlan sets the value of SourceCompositionPlan.

func (*BodyGenerateCompositionPlanV1MusicPlanPost) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyGenerateCompositionPlanV1MusicPlanPost) Validate

type BodyGenerateCompositionPlanV1MusicPlanPostModelID

type BodyGenerateCompositionPlanV1MusicPlanPostModelID string

The model to use for the generation.

const (
	BodyGenerateCompositionPlanV1MusicPlanPostModelIDMusicV1 BodyGenerateCompositionPlanV1MusicPlanPostModelID = "music_v1"
)

func (BodyGenerateCompositionPlanV1MusicPlanPostModelID) AllValues

AllValues returns all BodyGenerateCompositionPlanV1MusicPlanPostModelID values.

func (*BodyGenerateCompositionPlanV1MusicPlanPostModelID) Decode

Decode decodes BodyGenerateCompositionPlanV1MusicPlanPostModelID from json.

func (BodyGenerateCompositionPlanV1MusicPlanPostModelID) Encode

Encode encodes BodyGenerateCompositionPlanV1MusicPlanPostModelID as json.

func (BodyGenerateCompositionPlanV1MusicPlanPostModelID) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyGenerateCompositionPlanV1MusicPlanPostModelID) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyGenerateCompositionPlanV1MusicPlanPostModelID) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyGenerateCompositionPlanV1MusicPlanPostModelID) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyGenerateCompositionPlanV1MusicPlanPostModelID) Validate

type BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart

type BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart struct {
	AudioFile OptMultipartFile `json:"audio_file"`
	// Threshold for voice similarity between provided sample and library voices. Values range from 0 to
	// 2. The smaller the value the more similar voices will be returned.
	SimilarityThreshold OptNilFloat64 `json:"similarity_threshold"`
	// Number of most similar voices to return. If similarity_threshold is provided, less than this
	// number of voices may be returned. Values range from 1 to 100.
	TopK OptNilInt `json:"top_k"`
}

Ref: #/components/schemas/Body_Get_similar_library_voices_v1_similar_voices_post

func (*BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) GetAudioFile

GetAudioFile returns the value of AudioFile.

func (*BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) GetSimilarityThreshold

GetSimilarityThreshold returns the value of SimilarityThreshold.

func (*BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) GetTopK

GetTopK returns the value of TopK.

func (*BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) SetAudioFile

SetAudioFile sets the value of AudioFile.

func (*BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) SetSimilarityThreshold

SetSimilarityThreshold sets the value of SimilarityThreshold.

func (*BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) SetTopK

SetTopK sets the value of TopK.

func (*BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) Validate

type BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost

type BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost struct {
	AgentID                          string                                          `json:"agent_id"`
	AgentPhoneNumberID               string                                          `json:"agent_phone_number_id"`
	ConversationInitiationClientData OptConversationInitiationClientDataRequestInput `json:"conversation_initiation_client_data"`
	ToNumber                         string                                          `json:"to_number"`
}

Ref: #/components/schemas/Body_Handle_an_outbound_call_via_SIP_trunk_v1_convai_sip_trunk_outbound_call_post

func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) Decode

Decode decodes BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost from json.

func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) Encode

Encode implements json.Marshaler.

func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) GetAgentID

GetAgentID returns the value of AgentID.

func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) GetAgentPhoneNumberID

GetAgentPhoneNumberID returns the value of AgentPhoneNumberID.

func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) GetConversationInitiationClientData

GetConversationInitiationClientData returns the value of ConversationInitiationClientData.

func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) GetToNumber

GetToNumber returns the value of ToNumber.

func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) SetAgentID

SetAgentID sets the value of AgentID.

func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) SetAgentPhoneNumberID

SetAgentPhoneNumberID sets the value of AgentPhoneNumberID.

func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) SetConversationInitiationClientData

SetConversationInitiationClientData sets the value of ConversationInitiationClientData.

func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) SetToNumber

SetToNumber sets the value of ToNumber.

func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) Validate

type BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost

type BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost struct {
	AgentID                          string                                          `json:"agent_id"`
	AgentPhoneNumberID               string                                          `json:"agent_phone_number_id"`
	ConversationInitiationClientData OptConversationInitiationClientDataRequestInput `json:"conversation_initiation_client_data"`
	ToNumber                         string                                          `json:"to_number"`
}

Ref: #/components/schemas/Body_Handle_an_outbound_call_via_Twilio_v1_convai_twilio_outbound_call_post

func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) Decode

Decode decodes BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost from json.

func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) Encode

Encode implements json.Marshaler.

func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) GetAgentID

GetAgentID returns the value of AgentID.

func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) GetAgentPhoneNumberID

GetAgentPhoneNumberID returns the value of AgentPhoneNumberID.

func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) GetConversationInitiationClientData

GetConversationInitiationClientData returns the value of ConversationInitiationClientData.

func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) GetToNumber

GetToNumber returns the value of ToNumber.

func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) SetAgentID

SetAgentID sets the value of AgentID.

func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) SetAgentPhoneNumberID

SetAgentPhoneNumberID sets the value of AgentPhoneNumberID.

func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) SetConversationInitiationClientData

SetConversationInitiationClientData sets the value of ConversationInitiationClientData.

func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) SetToNumber

SetToNumber sets the value of ToNumber.

func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) Validate

type BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost

type BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost struct {
	// The email of the customer.
	Emails []string `json:"emails"`
	// The group ids of the user.
	GroupIds OptNilStringArray `json:"group_ids"`
}

Ref: #/components/schemas/Body_Invite_multiple_users_v1_workspace_invites_add_bulk_post

func (*BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) Decode

Decode decodes BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost from json.

func (*BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) Encode

Encode implements json.Marshaler.

func (*BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) GetEmails

GetEmails returns the value of Emails.

func (*BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) GetGroupIds

GetGroupIds returns the value of GroupIds.

func (*BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) SetEmails

SetEmails sets the value of Emails.

func (*BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) SetGroupIds

SetGroupIds sets the value of GroupIds.

func (*BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) Validate

type BodyInviteUserV1WorkspaceInvitesAddPost

type BodyInviteUserV1WorkspaceInvitesAddPost struct {
	// The email of the customer.
	Email string `json:"email"`
	// The group ids of the user.
	GroupIds OptNilStringArray `json:"group_ids"`
	// The workspace permission of the user.
	WorkspacePermission OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission `json:"workspace_permission"`
}

Ref: #/components/schemas/Body_Invite_user_v1_workspace_invites_add_post

func (*BodyInviteUserV1WorkspaceInvitesAddPost) Decode

Decode decodes BodyInviteUserV1WorkspaceInvitesAddPost from json.

func (*BodyInviteUserV1WorkspaceInvitesAddPost) Encode

Encode implements json.Marshaler.

func (*BodyInviteUserV1WorkspaceInvitesAddPost) GetEmail

GetEmail returns the value of Email.

func (*BodyInviteUserV1WorkspaceInvitesAddPost) GetGroupIds

GetGroupIds returns the value of GroupIds.

func (*BodyInviteUserV1WorkspaceInvitesAddPost) GetWorkspacePermission

GetWorkspacePermission returns the value of WorkspacePermission.

func (*BodyInviteUserV1WorkspaceInvitesAddPost) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BodyInviteUserV1WorkspaceInvitesAddPost) SetEmail

SetEmail sets the value of Email.

func (*BodyInviteUserV1WorkspaceInvitesAddPost) SetGroupIds

SetGroupIds sets the value of GroupIds.

func (*BodyInviteUserV1WorkspaceInvitesAddPost) SetWorkspacePermission

SetWorkspacePermission sets the value of WorkspacePermission.

func (*BodyInviteUserV1WorkspaceInvitesAddPost) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyInviteUserV1WorkspaceInvitesAddPost) Validate

type BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission

type BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission string

The workspace permission of the user.

const (
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionExternal                BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "external"
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionAdmin                   BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "admin"
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionWorkspaceAdmin          BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "workspace_admin"
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionWorkspaceMember         BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "workspace_member"
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionSupportL1               BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "support_l1"
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionSupportL2               BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "support_l2"
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionModerator               BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "moderator"
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionSales                   BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "sales"
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionVoiceMixer              BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "voice_mixer"
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionVoiceAdmin              BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "voice_admin"
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionConvaiAdmin             BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "convai_admin"
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionEnterpriseViewer        BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "enterprise_viewer"
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionQualityCheckAdmin       BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "quality_check_admin"
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionWorkspaceMigrationAdmin BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "workspace_migration_admin"
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionHumanReviewer           BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "human_reviewer"
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionProductionsAdmin        BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "productions_admin"
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionSupport                 BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "support"
	BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermissionInternal                BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission = "internal"
)

func (BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) AllValues

AllValues returns all BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission values.

func (*BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Decode

Decode decodes BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission from json.

func (BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Encode

Encode encodes BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission as json.

func (BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Validate

type BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost

type BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost struct {
	AgentID                                           string                                          `json:"agent_id"`
	ConversationInitiationClientData                  OptConversationInitiationClientDataRequestInput `json:"conversation_initiation_client_data"`
	WhatsappCallPermissionRequestTemplateLanguageCode string                                          `json:"whatsapp_call_permission_request_template_language_code"`
	WhatsappCallPermissionRequestTemplateName         string                                          `json:"whatsapp_call_permission_request_template_name"`
	WhatsappPhoneNumberID                             string                                          `json:"whatsapp_phone_number_id"`
	WhatsappUserID                                    string                                          `json:"whatsapp_user_id"`
}

Ref: #/components/schemas/Body_Make_an_outbound_call_via_WhatsApp_v1_convai_whatsapp_outbound_call_post

func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) Decode

Decode decodes BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost from json.

func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) Encode

Encode implements json.Marshaler.

func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetAgentID

GetAgentID returns the value of AgentID.

func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetConversationInitiationClientData

GetConversationInitiationClientData returns the value of ConversationInitiationClientData.

func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetWhatsappCallPermissionRequestTemplateLanguageCode

func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetWhatsappCallPermissionRequestTemplateLanguageCode() string

GetWhatsappCallPermissionRequestTemplateLanguageCode returns the value of WhatsappCallPermissionRequestTemplateLanguageCode.

func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetWhatsappCallPermissionRequestTemplateName

func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetWhatsappCallPermissionRequestTemplateName() string

GetWhatsappCallPermissionRequestTemplateName returns the value of WhatsappCallPermissionRequestTemplateName.

func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetWhatsappPhoneNumberID

GetWhatsappPhoneNumberID returns the value of WhatsappPhoneNumberID.

func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetWhatsappUserID

GetWhatsappUserID returns the value of WhatsappUserID.

func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetAgentID

SetAgentID sets the value of AgentID.

func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetConversationInitiationClientData

SetConversationInitiationClientData sets the value of ConversationInitiationClientData.

func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetWhatsappCallPermissionRequestTemplateLanguageCode

func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetWhatsappCallPermissionRequestTemplateLanguageCode(val string)

SetWhatsappCallPermissionRequestTemplateLanguageCode sets the value of WhatsappCallPermissionRequestTemplateLanguageCode.

func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetWhatsappCallPermissionRequestTemplateName

func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetWhatsappCallPermissionRequestTemplateName(val string)

SetWhatsappCallPermissionRequestTemplateName sets the value of WhatsappCallPermissionRequestTemplateName.

func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetWhatsappPhoneNumberID

SetWhatsappPhoneNumberID sets the value of WhatsappPhoneNumberID.

func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetWhatsappUserID

SetWhatsappUserID sets the value of WhatsappUserID.

func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) Validate

type BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost

type BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost struct {
	SegmentIds []string `json:"segment_ids"`
	SpeakerID  string   `json:"speaker_id"`
}

Ref: #/components/schemas/Body_Move_segments_between_speakers_v1_dubbing_resource__dubbing_id__migrate_segments_post

func (*BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) Decode

Decode decodes BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost from json.

func (*BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) Encode

Encode implements json.Marshaler.

func (*BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) GetSegmentIds

GetSegmentIds returns the value of SegmentIds.

func (*BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) GetSpeakerID

GetSpeakerID returns the value of SpeakerID.

func (*BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) SetSegmentIds

SetSegmentIds sets the value of SegmentIds.

func (*BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) SetSpeakerID

SetSpeakerID sets the value of SpeakerID.

func (*BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) Validate

type BodyPostAgentAvatarV1ConvaiAgentsAgentIDAvatarPostMultipart

type BodyPostAgentAvatarV1ConvaiAgentsAgentIDAvatarPostMultipart struct {
	// An image file to be used as the agent's avatar.
	AvatarFile ht.MultipartFile `json:"avatar_file"`
}

Ref: #/components/schemas/Body_Post_Agent_avatar_v1_convai_agents__agent_id__avatar_post

func (*BodyPostAgentAvatarV1ConvaiAgentsAgentIDAvatarPostMultipart) GetAvatarFile

GetAvatarFile returns the value of AvatarFile.

func (*BodyPostAgentAvatarV1ConvaiAgentsAgentIDAvatarPostMultipart) SetAvatarFile

SetAvatarFile sets the value of AvatarFile.

type BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost

type BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost struct {
	AgentID                          string                                                                          `json:"agent_id"`
	ConversationInitiationClientData OptConversationInitiationClientDataRequestInput                                 `json:"conversation_initiation_client_data"`
	Direction                        OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection `json:"direction"`
	FromNumber                       string                                                                          `json:"from_number"`
	ToNumber                         string                                                                          `json:"to_number"`
}

Ref: #/components/schemas/Body_Register_a_Twilio_call_and_return_TwiML_v1_convai_twilio_register_call_post

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) Decode

Decode decodes BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost from json.

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) Encode

Encode implements json.Marshaler.

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetAgentID

GetAgentID returns the value of AgentID.

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetConversationInitiationClientData

GetConversationInitiationClientData returns the value of ConversationInitiationClientData.

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetDirection

GetDirection returns the value of Direction.

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetFromNumber

GetFromNumber returns the value of FromNumber.

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetToNumber

GetToNumber returns the value of ToNumber.

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetAgentID

SetAgentID sets the value of AgentID.

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetConversationInitiationClientData

SetConversationInitiationClientData sets the value of ConversationInitiationClientData.

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetDirection

SetDirection sets the value of Direction.

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetFromNumber

SetFromNumber sets the value of FromNumber.

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetToNumber

SetToNumber sets the value of ToNumber.

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) Validate

type BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection

type BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection string
const (
	BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirectionInbound  BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection = "inbound"
	BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirectionOutbound BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection = "outbound"
)

func (BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) AllValues

AllValues returns all BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection values.

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Decode

Decode decodes BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection from json.

func (BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Encode

Encode encodes BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection as json.

func (BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Validate

type BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost

type BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost struct {
	// List of strings to remove from the pronunciation dictionary.
	RuleStrings []string `json:"rule_strings"`
}

Ref: #/components/schemas/Body_Remove_rules_from_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__remove_rules_post

func (*BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) Decode

Decode decodes BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost from json.

func (*BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) Encode

Encode implements json.Marshaler.

func (*BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) GetRuleStrings

GetRuleStrings returns the value of RuleStrings.

func (*BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) SetRuleStrings

SetRuleStrings sets the value of RuleStrings.

func (*BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) Validate

type BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart

type BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart struct {
	// Extra text to be used in the manual verification process.
	ExtraText OptNilString `json:"extra_text"`
	// Verification documents.
	Files []ht.MultipartFile `json:"files"`
}

Ref: #/components/schemas/Body_Request_manual_verification_v1_voices_pvc__voice_id__verification_post

func (*BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart) GetExtraText

GetExtraText returns the value of ExtraText.

func (*BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart) GetFiles

GetFiles returns the value of Files.

func (*BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart) SetExtraText

SetExtraText sets the value of ExtraText.

func (*BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart) SetFiles

SetFiles sets the value of Files.

type BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost

type BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost struct {
	// The model ID to use for the conversion.
	ModelID OptNilString `json:"model_id"`
}

Ref: #/components/schemas/Body_Run_PVC_training_v1_voices_pvc__voice_id__train_post

func (*BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Decode

Decode decodes BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost from json.

func (*BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Encode

Encode implements json.Marshaler.

func (*BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) GetModelID

GetModelID returns the value of ModelID.

func (*BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) SetModelID

SetModelID sets the value of ModelID.

func (*BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost

type BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost struct {
	// The ID of the target group. To target the permissions principals have by default on this resource,
	// use the value 'default'.
	GroupID OptNilString `json:"group_id"`
	// Resource type of the target resource.
	ResourceType WorkspaceResourceType `json:"resource_type"`
	// Role to update the target principal with.
	Role BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole `json:"role"`
	// The email of the user or service account.
	UserEmail OptNilString `json:"user_email"`
	// The ID of the target workspace API key. This isn't the same as the key itself that would you pass
	// in the header for authentication. Workspace admins can find this in the workspace settings UI.
	WorkspaceAPIKeyID OptNilString `json:"workspace_api_key_id"`
}

Ref: #/components/schemas/Body_Share_workspace_resource_v1_workspace_resources__resource_id__share_post

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) Decode

Decode decodes BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost from json.

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) Encode

Encode implements json.Marshaler.

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetGroupID

GetGroupID returns the value of GroupID.

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetResourceType

GetResourceType returns the value of ResourceType.

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetRole

GetRole returns the value of Role.

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetUserEmail

GetUserEmail returns the value of UserEmail.

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetWorkspaceAPIKeyID

GetWorkspaceAPIKeyID returns the value of WorkspaceAPIKeyID.

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetGroupID

SetGroupID sets the value of GroupID.

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetResourceType

SetResourceType sets the value of ResourceType.

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetRole

SetRole sets the value of Role.

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetUserEmail

SetUserEmail sets the value of UserEmail.

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetWorkspaceAPIKeyID

SetWorkspaceAPIKeyID sets the value of WorkspaceAPIKeyID.

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) Validate

type BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole

type BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole string

Role to update the target principal with.

const (
	BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRoleAdmin     BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole = "admin"
	BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRoleEditor    BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole = "editor"
	BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRoleCommenter BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole = "commenter"
	BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRoleViewer    BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole = "viewer"
)

func (BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) AllValues

AllValues returns all BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole values.

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) Decode

Decode decodes BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole from json.

func (BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) Encode

Encode encodes BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole as json.

func (BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) Validate

type BodySoundGenerationV1SoundGenerationPost

type BodySoundGenerationV1SoundGenerationPost struct {
	// The duration of the sound which will be generated in seconds. Must be at least 0.5 and at most 30.
	// If set to None we will guess the optimal duration using the prompt. Defaults to None.
	DurationSeconds OptNilFloat64 `json:"duration_seconds"`
	// Whether to create a sound effect that loops smoothly. Only available for the
	// 'eleven_text_to_sound_v2 model'.
	Loop OptBool `json:"loop"`
	// The model ID to use for the sound generation.
	ModelID OptString `json:"model_id"`
	// A higher prompt influence makes your generation follow the prompt more closely while also making
	// generations less variable. Must be a value between 0 and 1. Defaults to 0.3.
	PromptInfluence OptNilFloat64 `json:"prompt_influence"`
	// The text that will get converted into a sound effect.
	Text string `json:"text"`
}

Ref: #/components/schemas/Body_Sound_Generation_v1_sound_generation_post

func (*BodySoundGenerationV1SoundGenerationPost) Decode

Decode decodes BodySoundGenerationV1SoundGenerationPost from json.

func (*BodySoundGenerationV1SoundGenerationPost) Encode

Encode implements json.Marshaler.

func (*BodySoundGenerationV1SoundGenerationPost) GetDurationSeconds

GetDurationSeconds returns the value of DurationSeconds.

func (*BodySoundGenerationV1SoundGenerationPost) GetLoop

GetLoop returns the value of Loop.

func (*BodySoundGenerationV1SoundGenerationPost) GetModelID

GetModelID returns the value of ModelID.

func (*BodySoundGenerationV1SoundGenerationPost) GetPromptInfluence

GetPromptInfluence returns the value of PromptInfluence.

func (*BodySoundGenerationV1SoundGenerationPost) GetText

GetText returns the value of Text.

func (*BodySoundGenerationV1SoundGenerationPost) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BodySoundGenerationV1SoundGenerationPost) SetDurationSeconds

func (s *BodySoundGenerationV1SoundGenerationPost) SetDurationSeconds(val OptNilFloat64)

SetDurationSeconds sets the value of DurationSeconds.

func (*BodySoundGenerationV1SoundGenerationPost) SetLoop

SetLoop sets the value of Loop.

func (*BodySoundGenerationV1SoundGenerationPost) SetModelID

SetModelID sets the value of ModelID.

func (*BodySoundGenerationV1SoundGenerationPost) SetPromptInfluence

func (s *BodySoundGenerationV1SoundGenerationPost) SetPromptInfluence(val OptNilFloat64)

SetPromptInfluence sets the value of PromptInfluence.

func (*BodySoundGenerationV1SoundGenerationPost) SetText

SetText sets the value of Text.

func (*BodySoundGenerationV1SoundGenerationPost) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodySoundGenerationV1SoundGenerationPost) Validate

type BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart

type BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart struct {
	// The audio file which holds the content and emotion that will control the generated speech.
	Audio ht.MultipartFile `json:"audio"`
	// The format of input audio. Options are 'pcm_s16le_16' or 'other' For `pcm_s16le_16`, the input
	// audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte
	// order. Latency will be lower than with passing an encoded waveform.
	FileFormat OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat `json:"file_format"`
	// Identifier of the model that will be used, you can query them using GET /v1/models. The model
	// needs to have support for speech to speech, you can check this using the can_do_voice_conversion
	// property.
	ModelID OptString `json:"model_id"`
	// If set, will remove the background noise from your audio input using our audio isolation model.
	// Only applies to Voice Changer.
	RemoveBackgroundNoise OptBool `json:"remove_background_noise"`
	// If specified, our system will make a best effort to sample deterministically, such that repeated
	// requests with the same seed and parameters should return the same result. Determinism is not
	// guaranteed. Must be integer between 0 and 4294967295.
	Seed OptNilInt `json:"seed"`
	// Voice settings overriding stored settings for the given voice. They are applied only on the given
	// request. Needs to be send as a JSON encoded string.
	VoiceSettings OptNilString `json:"voice_settings"`
}

Ref: #/components/schemas/Body_Speech_to_Speech_Streaming_v1_speech_to_speech__voice_id__stream_post

func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetAudio

GetAudio returns the value of Audio.

func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetFileFormat

GetFileFormat returns the value of FileFormat.

func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetModelID

GetModelID returns the value of ModelID.

func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetRemoveBackgroundNoise

GetRemoveBackgroundNoise returns the value of RemoveBackgroundNoise.

func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetSeed

GetSeed returns the value of Seed.

func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetVoiceSettings

GetVoiceSettings returns the value of VoiceSettings.

func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetAudio

SetAudio sets the value of Audio.

func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetFileFormat

SetFileFormat sets the value of FileFormat.

func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetModelID

SetModelID sets the value of ModelID.

func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetRemoveBackgroundNoise

SetRemoveBackgroundNoise sets the value of RemoveBackgroundNoise.

func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetSeed

SetSeed sets the value of Seed.

func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetVoiceSettings

SetVoiceSettings sets the value of VoiceSettings.

func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) Validate

type BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat

type BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat string

The format of input audio. Options are 'pcm_s16le_16' or 'other' For `pcm_s16le_16`, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte order. Latency will be lower than with passing an encoded waveform.

const (
	BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormatPcmS16le16 BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat = "pcm_s16le_16"
	BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormatOther      BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat = "other"
)

func (BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) AllValues

AllValues returns all BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat values.

func (BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) Validate

type BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart

type BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart struct {
	// The audio file which holds the content and emotion that will control the generated speech.
	Audio ht.MultipartFile `json:"audio"`
	// The format of input audio. Options are 'pcm_s16le_16' or 'other' For `pcm_s16le_16`, the input
	// audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte
	// order. Latency will be lower than with passing an encoded waveform.
	FileFormat OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat `json:"file_format"`
	// Identifier of the model that will be used, you can query them using GET /v1/models. The model
	// needs to have support for speech to speech, you can check this using the can_do_voice_conversion
	// property.
	ModelID OptString `json:"model_id"`
	// If set, will remove the background noise from your audio input using our audio isolation model.
	// Only applies to Voice Changer.
	RemoveBackgroundNoise OptBool `json:"remove_background_noise"`
	// If specified, our system will make a best effort to sample deterministically, such that repeated
	// requests with the same seed and parameters should return the same result. Determinism is not
	// guaranteed. Must be integer between 0 and 4294967295.
	Seed OptNilInt `json:"seed"`
	// Voice settings overriding stored settings for the given voice. They are applied only on the given
	// request. Needs to be send as a JSON encoded string.
	VoiceSettings OptNilString `json:"voice_settings"`
}

Ref: #/components/schemas/Body_Speech_to_Speech_v1_speech_to_speech__voice_id__post

func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetAudio

GetAudio returns the value of Audio.

func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetFileFormat

GetFileFormat returns the value of FileFormat.

func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetModelID

GetModelID returns the value of ModelID.

func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetRemoveBackgroundNoise

GetRemoveBackgroundNoise returns the value of RemoveBackgroundNoise.

func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetSeed

GetSeed returns the value of Seed.

func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetVoiceSettings

GetVoiceSettings returns the value of VoiceSettings.

func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetAudio

SetAudio sets the value of Audio.

func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetFileFormat

SetFileFormat sets the value of FileFormat.

func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetModelID

SetModelID sets the value of ModelID.

func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetRemoveBackgroundNoise

func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetRemoveBackgroundNoise(val OptBool)

SetRemoveBackgroundNoise sets the value of RemoveBackgroundNoise.

func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetSeed

SetSeed sets the value of Seed.

func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetVoiceSettings

SetVoiceSettings sets the value of VoiceSettings.

func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) Validate

type BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat

type BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat string

The format of input audio. Options are 'pcm_s16le_16' or 'other' For `pcm_s16le_16`, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte order. Latency will be lower than with passing an encoded waveform.

const (
	BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormatPcmS16le16 BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat = "pcm_s16le_16"
	BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormatOther      BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat = "other"
)

func (BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) AllValues

AllValues returns all BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat values.

func (BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) Validate

type BodySpeechToTextV1SpeechToTextPostMultipart

type BodySpeechToTextV1SpeechToTextPostMultipart struct {
	// A list of additional formats to export the transcript to.
	AdditionalFormats AdditionalFormats `json:"additional_formats"`
	// The HTTPS URL of the file to transcribe. Exactly one of the file or cloud_storage_url parameters
	// must be provided. The file must be accessible via HTTPS and the file size must be less than 2GB.
	// Any valid HTTPS URL is accepted, including URLs from cloud storage providers (AWS S3, Google Cloud
	// Storage, Cloudflare R2, etc.), CDNs, or any other HTTPS source. URLs can be pre-signed or include
	// authentication tokens in query parameters.
	CloudStorageURL OptNilString `json:"cloud_storage_url"`
	// Diarization threshold to apply during speaker diarization. A higher value means there will be a
	// lower chance of one speaker being diarized as two different speakers but also a higher chance of
	// two different speakers being diarized as one speaker (less total speakers predicted). A low value
	// means there will be a higher chance of one speaker being diarized as two different speakers but
	// also a lower chance of two different speakers being diarized as one speaker (more total speakers
	// predicted). Can only be set when diarize=True and num_speakers=None. Defaults to None, in which
	// case we will choose a threshold based on the model_id (0.22 usually).
	DiarizationThreshold OptNilFloat64 `json:"diarization_threshold"`
	// Whether to annotate which speaker is currently talking in the uploaded file.
	Diarize OptBool `json:"diarize"`
	// The file to transcribe. All major audio and video formats are supported. Exactly one of the file
	// or cloud_storage_url parameters must be provided. The file size must be less than 3.0GB.
	File OptNilString `json:"file"`
	// The format of input audio. Options are 'pcm_s16le_16' or 'other' For `pcm_s16le_16`, the input
	// audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte
	// order. Latency will be lower than with passing an encoded waveform.
	FileFormat OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat `json:"file_format"`
	// An ISO-639-1 or ISO-639-3 language_code corresponding to the language of the audio file. Can
	// sometimes improve transcription performance if known beforehand. Defaults to null, in this case
	// the language is predicted automatically.
	LanguageCode OptNilString `json:"language_code"`
	// The ID of the model to use for transcription, currently only 'scribe_v1' and
	// 'scribe_v1_experimental' are available.
	ModelID string `json:"model_id"`
	// The maximum amount of speakers talking in the uploaded file. Can help with predicting who speaks
	// when. The maximum amount of speakers that can be predicted is 32. Defaults to null, in this case
	// the amount of speakers is set to the maximum value the model supports.
	NumSpeakers OptNilInt `json:"num_speakers"`
	// If specified, our system will make a best effort to sample deterministically, such that repeated
	// requests with the same seed and parameters should return the same result. Determinism is not
	// guaranteed. Must be an integer between 0 and 2147483647.
	Seed OptNilInt `json:"seed"`
	// Whether to tag audio events like (laughter), (footsteps), etc. in the transcription.
	TagAudioEvents OptBool `json:"tag_audio_events"`
	// Controls the randomness of the transcription output. Accepts values between 0.0 and 2.0, where
	// higher values result in more diverse and less deterministic results. If omitted, we will use a
	// temperature based on the model you selected which is usually 0.
	Temperature OptNilFloat64 `json:"temperature"`
	// The granularity of the timestamps in the transcription. 'word' provides word-level timestamps and
	// 'character' provides character-level timestamps per word.
	TimestampsGranularity OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity `json:"timestamps_granularity"`
	// Whether the audio file contains multiple channels where each channel contains a single speaker.
	// When enabled, each channel will be transcribed independently and the results will be combined.
	// Each word in the response will include a 'channel_index' field indicating which channel it was
	// spoken on. A maximum of 5 channels is supported.
	UseMultiChannel OptBool `json:"use_multi_channel"`
	// Whether to send the transcription result to configured speech-to-text webhooks.  If set the
	// request will return early without the transcription, which will be delivered later via webhook.
	Webhook OptBool `json:"webhook"`
	// Optional specific webhook ID to send the transcription result to. Only valid when webhook is set
	// to true. If not provided, transcription will be sent to all configured speech-to-text webhooks.
	WebhookID OptNilString `json:"webhook_id"`
	// Optional metadata to be included in the webhook response. This should be a JSON string
	// representing an object with a maximum depth of 2 levels and maximum size of 16KB. Useful for
	// tracking internal IDs, job references, or other contextual information.
	WebhookMetadata OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata `json:"webhook_metadata"`
}

Ref: #/components/schemas/Body_Speech_to_Text_v1_speech_to_text_post

func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetAdditionalFormats

GetAdditionalFormats returns the value of AdditionalFormats.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetCloudStorageURL

GetCloudStorageURL returns the value of CloudStorageURL.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetDiarizationThreshold

func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetDiarizationThreshold() OptNilFloat64

GetDiarizationThreshold returns the value of DiarizationThreshold.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetDiarize

GetDiarize returns the value of Diarize.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetFile

GetFile returns the value of File.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetFileFormat

GetFileFormat returns the value of FileFormat.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetLanguageCode

GetLanguageCode returns the value of LanguageCode.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetModelID

GetModelID returns the value of ModelID.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetNumSpeakers

GetNumSpeakers returns the value of NumSpeakers.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetSeed

GetSeed returns the value of Seed.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetTagAudioEvents

GetTagAudioEvents returns the value of TagAudioEvents.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetTemperature

GetTemperature returns the value of Temperature.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetTimestampsGranularity

GetTimestampsGranularity returns the value of TimestampsGranularity.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetUseMultiChannel

func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetUseMultiChannel() OptBool

GetUseMultiChannel returns the value of UseMultiChannel.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetWebhook

GetWebhook returns the value of Webhook.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetWebhookID

GetWebhookID returns the value of WebhookID.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetWebhookMetadata

GetWebhookMetadata returns the value of WebhookMetadata.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetAdditionalFormats

SetAdditionalFormats sets the value of AdditionalFormats.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetCloudStorageURL

func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetCloudStorageURL(val OptNilString)

SetCloudStorageURL sets the value of CloudStorageURL.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetDiarizationThreshold

func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetDiarizationThreshold(val OptNilFloat64)

SetDiarizationThreshold sets the value of DiarizationThreshold.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetDiarize

SetDiarize sets the value of Diarize.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetFile

SetFile sets the value of File.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetFileFormat

SetFileFormat sets the value of FileFormat.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetLanguageCode

SetLanguageCode sets the value of LanguageCode.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetModelID

SetModelID sets the value of ModelID.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetNumSpeakers

SetNumSpeakers sets the value of NumSpeakers.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetSeed

SetSeed sets the value of Seed.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetTagAudioEvents

func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetTagAudioEvents(val OptBool)

SetTagAudioEvents sets the value of TagAudioEvents.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetTemperature

SetTemperature sets the value of Temperature.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetTimestampsGranularity

SetTimestampsGranularity sets the value of TimestampsGranularity.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetUseMultiChannel

func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetUseMultiChannel(val OptBool)

SetUseMultiChannel sets the value of UseMultiChannel.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetWebhook

SetWebhook sets the value of Webhook.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetWebhookID

SetWebhookID sets the value of WebhookID.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetWebhookMetadata

SetWebhookMetadata sets the value of WebhookMetadata.

func (*BodySpeechToTextV1SpeechToTextPostMultipart) Validate

type BodySpeechToTextV1SpeechToTextPostMultipartFileFormat

type BodySpeechToTextV1SpeechToTextPostMultipartFileFormat string

The format of input audio. Options are 'pcm_s16le_16' or 'other' For `pcm_s16le_16`, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte order. Latency will be lower than with passing an encoded waveform.

const (
	BodySpeechToTextV1SpeechToTextPostMultipartFileFormatPcmS16le16 BodySpeechToTextV1SpeechToTextPostMultipartFileFormat = "pcm_s16le_16"
	BodySpeechToTextV1SpeechToTextPostMultipartFileFormatOther      BodySpeechToTextV1SpeechToTextPostMultipartFileFormat = "other"
)

func (BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) AllValues

AllValues returns all BodySpeechToTextV1SpeechToTextPostMultipartFileFormat values.

func (BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) Validate

type BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity

type BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity string

The granularity of the timestamps in the transcription. 'word' provides word-level timestamps and 'character' provides character-level timestamps per word.

const (
	BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularityNone      BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity = "none"
	BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularityWord      BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity = "word"
	BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularityCharacter BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity = "character"
)

func (BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) AllValues

AllValues returns all BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity values.

func (BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) Validate

type BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata

type BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata struct {
	Type                                                        BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadataType // switch on this field
	String                                                      string
	BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1 BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1
}

Optional metadata to be included in the webhook response. This should be a JSON string representing an object with a maximum depth of 2 levels and maximum size of 16KB. Useful for tracking internal IDs, job references, or other contextual information. BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata represents sum type.

func NewBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata

func NewBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata(v BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata

NewBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata returns new BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata from BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1.

func NewStringBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata

func NewStringBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata(v string) BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata

NewStringBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata returns new BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata from string.

func (*BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Decode

Decode decodes BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata from json.

func (BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Encode

Encode encodes BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata as json.

func (BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) GetBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1

func (s BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) GetBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1() (v BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1, ok bool)

GetBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1 returns BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1 and true boolean if BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata is BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1.

func (BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) GetString

GetString returns string and true boolean if BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata is string.

func (BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) IsBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1

func (s BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) IsBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1() bool

IsBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1 reports whether BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata is BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1.

func (BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) IsString

IsString reports whether BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata is string.

func (BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) SetBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1

func (s *BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) SetBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1(v BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1)

SetBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1 sets BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata to BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1.

func (*BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) SetString

SetString sets BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata to string.

func (*BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1

type BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1 struct{}

func (*BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) Decode

Decode decodes BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1 from json.

func (*BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) Encode

Encode implements json.Marshaler.

func (*BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadataType

type BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadataType string

BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadataType is oneOf type of BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata.

const (
	StringBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata                                                      BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadataType = "string"
	BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadataType = "BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1"
)

Possible values for BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadataType.

type BodyStemSeparationV1MusicStemSeparationPostMultipart

type BodyStemSeparationV1MusicStemSeparationPostMultipart struct {
	// The audio file to separate into stems.
	File ht.MultipartFile `json:"file"`
	// Whether to sign the generated song with C2PA. Applicable only for mp3 files.
	SignWithC2pa OptBool `json:"sign_with_c2pa"`
	// The id of the stem variation to use.
	StemVariationID OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID `json:"stem_variation_id"`
}

Ref: #/components/schemas/Body_Stem_separation_v1_music_stem_separation_post

func (*BodyStemSeparationV1MusicStemSeparationPostMultipart) GetFile

GetFile returns the value of File.

func (*BodyStemSeparationV1MusicStemSeparationPostMultipart) GetSignWithC2pa

GetSignWithC2pa returns the value of SignWithC2pa.

func (*BodyStemSeparationV1MusicStemSeparationPostMultipart) GetStemVariationID

GetStemVariationID returns the value of StemVariationID.

func (*BodyStemSeparationV1MusicStemSeparationPostMultipart) SetFile

SetFile sets the value of File.

func (*BodyStemSeparationV1MusicStemSeparationPostMultipart) SetSignWithC2pa

SetSignWithC2pa sets the value of SignWithC2pa.

func (*BodyStemSeparationV1MusicStemSeparationPostMultipart) SetStemVariationID

SetStemVariationID sets the value of StemVariationID.

func (*BodyStemSeparationV1MusicStemSeparationPostMultipart) Validate

type BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID

type BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID string

The id of the stem variation to use.

const (
	BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationIDTwoStemsV1 BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID = "two_stems_v1"
	BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationIDSixStemsV1 BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID = "six_stems_v1"
)

func (BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) AllValues

AllValues returns all BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID values.

func (BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) Validate

type BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost

type BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost struct {
	// Whether to convert the audio to mpeg format.
	ConvertToMpeg OptBool `json:"convert_to_mpeg"`
}

Ref: #/components/schemas/Body_Stream_chapter_audio_v1_studio_projects__project_id__chapters__chapter_id__snapshots__chapter_snapshot_id__stream_post

func (*BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Decode

Decode decodes BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost from json.

func (*BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Encode

Encode implements json.Marshaler.

func (*BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) GetConvertToMpeg

GetConvertToMpeg returns the value of ConvertToMpeg.

func (*BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) SetConvertToMpeg

SetConvertToMpeg sets the value of ConvertToMpeg.

func (*BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type BodyStreamComposedMusicV1MusicStreamPost

type BodyStreamComposedMusicV1MusicStreamPost struct {
	// A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`.
	CompositionPlan OptMusicPrompt `json:"composition_plan"`
	// The ID of the finetune to use for the generation.
	FinetuneID OptNilString `json:"finetune_id"`
	// If true, guarantees that the generated song will be instrumental. If false, the song may or may
	// not be instrumental depending on the `prompt`. Can only be used with `prompt`.
	ForceInstrumental OptBool `json:"force_instrumental"`
	// The model to use for the generation.
	ModelID OptBodyStreamComposedMusicV1MusicStreamPostModelID `json:"model_id"`
	// The length of the song to generate in milliseconds. Used only in conjunction with `prompt`. Must
	// be between 3000ms and 600000ms. Optional - if not provided, the model will choose a length based
	// on the prompt.
	MusicLengthMs OptNilInt `json:"music_length_ms"`
	// A music prompt. Deprecated. Use `composition_plan` instead.
	MusicPrompt OptMusicPrompt `json:"music_prompt"`
	// A simple text prompt to generate a song from. Cannot be used in conjunction with
	// `composition_plan`.
	Prompt OptNilString `json:"prompt"`
	// The seed to use for the generation.
	Seed OptNilInt `json:"seed"`
	// Whether to store the generated song for inpainting. Only available to enterprise clients with
	// access to the inpainting API.
	StoreForInpainting OptBool `json:"store_for_inpainting"`
}

Ref: #/components/schemas/Body_Stream_composed_music_v1_music_stream_post

func (*BodyStreamComposedMusicV1MusicStreamPost) Decode

Decode decodes BodyStreamComposedMusicV1MusicStreamPost from json.

func (*BodyStreamComposedMusicV1MusicStreamPost) Encode

Encode implements json.Marshaler.

func (*BodyStreamComposedMusicV1MusicStreamPost) GetCompositionPlan

GetCompositionPlan returns the value of CompositionPlan.

func (*BodyStreamComposedMusicV1MusicStreamPost) GetFinetuneID

GetFinetuneID returns the value of FinetuneID.

func (*BodyStreamComposedMusicV1MusicStreamPost) GetForceInstrumental

func (s *BodyStreamComposedMusicV1MusicStreamPost) GetForceInstrumental() OptBool

GetForceInstrumental returns the value of ForceInstrumental.

func (*BodyStreamComposedMusicV1MusicStreamPost) GetModelID

GetModelID returns the value of ModelID.

func (*BodyStreamComposedMusicV1MusicStreamPost) GetMusicLengthMs

GetMusicLengthMs returns the value of MusicLengthMs.

func (*BodyStreamComposedMusicV1MusicStreamPost) GetMusicPrompt

GetMusicPrompt returns the value of MusicPrompt.

func (*BodyStreamComposedMusicV1MusicStreamPost) GetPrompt

GetPrompt returns the value of Prompt.

func (*BodyStreamComposedMusicV1MusicStreamPost) GetSeed

GetSeed returns the value of Seed.

func (*BodyStreamComposedMusicV1MusicStreamPost) GetStoreForInpainting

func (s *BodyStreamComposedMusicV1MusicStreamPost) GetStoreForInpainting() OptBool

GetStoreForInpainting returns the value of StoreForInpainting.

func (*BodyStreamComposedMusicV1MusicStreamPost) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BodyStreamComposedMusicV1MusicStreamPost) SetCompositionPlan

func (s *BodyStreamComposedMusicV1MusicStreamPost) SetCompositionPlan(val OptMusicPrompt)

SetCompositionPlan sets the value of CompositionPlan.

func (*BodyStreamComposedMusicV1MusicStreamPost) SetFinetuneID

SetFinetuneID sets the value of FinetuneID.

func (*BodyStreamComposedMusicV1MusicStreamPost) SetForceInstrumental

func (s *BodyStreamComposedMusicV1MusicStreamPost) SetForceInstrumental(val OptBool)

SetForceInstrumental sets the value of ForceInstrumental.

func (*BodyStreamComposedMusicV1MusicStreamPost) SetModelID

SetModelID sets the value of ModelID.

func (*BodyStreamComposedMusicV1MusicStreamPost) SetMusicLengthMs

func (s *BodyStreamComposedMusicV1MusicStreamPost) SetMusicLengthMs(val OptNilInt)

SetMusicLengthMs sets the value of MusicLengthMs.

func (*BodyStreamComposedMusicV1MusicStreamPost) SetMusicPrompt

SetMusicPrompt sets the value of MusicPrompt.

func (*BodyStreamComposedMusicV1MusicStreamPost) SetPrompt

SetPrompt sets the value of Prompt.

func (*BodyStreamComposedMusicV1MusicStreamPost) SetSeed

SetSeed sets the value of Seed.

func (*BodyStreamComposedMusicV1MusicStreamPost) SetStoreForInpainting

func (s *BodyStreamComposedMusicV1MusicStreamPost) SetStoreForInpainting(val OptBool)

SetStoreForInpainting sets the value of StoreForInpainting.

func (*BodyStreamComposedMusicV1MusicStreamPost) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyStreamComposedMusicV1MusicStreamPost) Validate

type BodyStreamComposedMusicV1MusicStreamPostModelID

type BodyStreamComposedMusicV1MusicStreamPostModelID string

The model to use for the generation.

const (
	BodyStreamComposedMusicV1MusicStreamPostModelIDMusicV1 BodyStreamComposedMusicV1MusicStreamPostModelID = "music_v1"
)

func (BodyStreamComposedMusicV1MusicStreamPostModelID) AllValues

AllValues returns all BodyStreamComposedMusicV1MusicStreamPostModelID values.

func (*BodyStreamComposedMusicV1MusicStreamPostModelID) Decode

Decode decodes BodyStreamComposedMusicV1MusicStreamPostModelID from json.

func (BodyStreamComposedMusicV1MusicStreamPostModelID) Encode

Encode encodes BodyStreamComposedMusicV1MusicStreamPostModelID as json.

func (BodyStreamComposedMusicV1MusicStreamPostModelID) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyStreamComposedMusicV1MusicStreamPostModelID) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyStreamComposedMusicV1MusicStreamPostModelID) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyStreamComposedMusicV1MusicStreamPostModelID) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyStreamComposedMusicV1MusicStreamPostModelID) Validate

type BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost

type BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost struct {
	// Whether to convert the audio to mpeg format.
	ConvertToMpeg OptBool `json:"convert_to_mpeg"`
}

Ref: #/components/schemas/Body_Stream_Studio_project_audio_v1_studio_projects__project_id__snapshots__project_snapshot_id__stream_post

func (*BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Decode

Decode decodes BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost from json.

func (*BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Encode

Encode implements json.Marshaler.

func (*BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) GetConvertToMpeg

GetConvertToMpeg returns the value of ConvertToMpeg.

func (*BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) SetConvertToMpeg

SetConvertToMpeg sets the value of ConvertToMpeg.

func (*BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost

type BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost struct {
	AgentID            string                     `json:"agent_id"`
	AgentPhoneNumberID OptNilString               `json:"agent_phone_number_id"`
	CallName           string                     `json:"call_name"`
	Recipients         []OutboundCallRecipient    `json:"recipients"`
	ScheduledTimeUnix  OptNilInt                  `json:"scheduled_time_unix"`
	WhatsappParams     OptBatchCallWhatsAppParams `json:"whatsapp_params"`
}

Ref: #/components/schemas/Body_Submit_a_batch_call_request__v1_convai_batch_calling_submit_post

func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) Decode

Decode decodes BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost from json.

func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) Encode

Encode implements json.Marshaler.

func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetAgentID

GetAgentID returns the value of AgentID.

func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetAgentPhoneNumberID

GetAgentPhoneNumberID returns the value of AgentPhoneNumberID.

func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetCallName

GetCallName returns the value of CallName.

func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetRecipients

GetRecipients returns the value of Recipients.

func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetScheduledTimeUnix

GetScheduledTimeUnix returns the value of ScheduledTimeUnix.

func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetWhatsappParams

GetWhatsappParams returns the value of WhatsappParams.

func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetAgentID

SetAgentID sets the value of AgentID.

func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetAgentPhoneNumberID

SetAgentPhoneNumberID sets the value of AgentPhoneNumberID.

func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetCallName

SetCallName sets the value of CallName.

func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetRecipients

SetRecipients sets the value of Recipients.

func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetScheduledTimeUnix

SetScheduledTimeUnix sets the value of ScheduledTimeUnix.

func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetWhatsappParams

SetWhatsappParams sets the value of WhatsappParams.

func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) Validate

type BodyTextToDialogueFullWithTimestamps

type BodyTextToDialogueFullWithTimestamps struct {
	// This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to
	// 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling
	// out numbers). With 'on', text normalization will always be applied, while with 'off', it will be
	// skipped.
	ApplyTextNormalization OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization `json:"apply_text_normalization"`
	// A list of dialogue inputs, each containing text and a voice ID which will be converted into speech.
	Inputs []DialogueInput `json:"inputs"`
	// Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the
	// model does not support provided language code, an error will be returned.
	LanguageCode OptNilString `json:"language_code"`
	// Identifier of the model that will be used, you can query them using GET /v1/models. The model
	// needs to have support for text to speech, you can check this using the can_do_text_to_speech
	// property.
	ModelID OptString `json:"model_id"`
	// A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will
	// be applied in order. You may have up to 3 locators per request.
	PronunciationDictionaryLocators OptNilPronunciationDictionaryVersionLocatorRequestModelArray `json:"pronunciation_dictionary_locators"`
	// If specified, our system will make a best effort to sample deterministically, such that repeated
	// requests with the same seed and parameters should return the same result. Determinism is not
	// guaranteed. Must be integer between 0 and 4294967295.
	Seed OptNilInt `json:"seed"`
	// Settings controlling the dialogue generation.
	Settings OptModelSettingsResponseModel `json:"settings"`
}

Ref: #/components/schemas/Body_text_to_dialogue_full_with_timestamps

func (*BodyTextToDialogueFullWithTimestamps) Decode

Decode decodes BodyTextToDialogueFullWithTimestamps from json.

func (*BodyTextToDialogueFullWithTimestamps) Encode

Encode implements json.Marshaler.

func (*BodyTextToDialogueFullWithTimestamps) GetApplyTextNormalization

GetApplyTextNormalization returns the value of ApplyTextNormalization.

func (*BodyTextToDialogueFullWithTimestamps) GetInputs

GetInputs returns the value of Inputs.

func (*BodyTextToDialogueFullWithTimestamps) GetLanguageCode

GetLanguageCode returns the value of LanguageCode.

func (*BodyTextToDialogueFullWithTimestamps) GetModelID

GetModelID returns the value of ModelID.

func (*BodyTextToDialogueFullWithTimestamps) GetPronunciationDictionaryLocators

GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.

func (*BodyTextToDialogueFullWithTimestamps) GetSeed

GetSeed returns the value of Seed.

func (*BodyTextToDialogueFullWithTimestamps) GetSettings

GetSettings returns the value of Settings.

func (*BodyTextToDialogueFullWithTimestamps) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BodyTextToDialogueFullWithTimestamps) SetApplyTextNormalization

SetApplyTextNormalization sets the value of ApplyTextNormalization.

func (*BodyTextToDialogueFullWithTimestamps) SetInputs

SetInputs sets the value of Inputs.

func (*BodyTextToDialogueFullWithTimestamps) SetLanguageCode

func (s *BodyTextToDialogueFullWithTimestamps) SetLanguageCode(val OptNilString)

SetLanguageCode sets the value of LanguageCode.

func (*BodyTextToDialogueFullWithTimestamps) SetModelID

SetModelID sets the value of ModelID.

func (*BodyTextToDialogueFullWithTimestamps) SetPronunciationDictionaryLocators

SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.

func (*BodyTextToDialogueFullWithTimestamps) SetSeed

SetSeed sets the value of Seed.

func (*BodyTextToDialogueFullWithTimestamps) SetSettings

SetSettings sets the value of Settings.

func (*BodyTextToDialogueFullWithTimestamps) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTextToDialogueFullWithTimestamps) Validate

type BodyTextToDialogueFullWithTimestampsApplyTextNormalization

type BodyTextToDialogueFullWithTimestampsApplyTextNormalization string

This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.

const (
	BodyTextToDialogueFullWithTimestampsApplyTextNormalizationAuto BodyTextToDialogueFullWithTimestampsApplyTextNormalization = "auto"
	BodyTextToDialogueFullWithTimestampsApplyTextNormalizationOn   BodyTextToDialogueFullWithTimestampsApplyTextNormalization = "on"
	BodyTextToDialogueFullWithTimestampsApplyTextNormalizationOff  BodyTextToDialogueFullWithTimestampsApplyTextNormalization = "off"
)

func (BodyTextToDialogueFullWithTimestampsApplyTextNormalization) AllValues

AllValues returns all BodyTextToDialogueFullWithTimestampsApplyTextNormalization values.

func (*BodyTextToDialogueFullWithTimestampsApplyTextNormalization) Decode

Decode decodes BodyTextToDialogueFullWithTimestampsApplyTextNormalization from json.

func (BodyTextToDialogueFullWithTimestampsApplyTextNormalization) Encode

Encode encodes BodyTextToDialogueFullWithTimestampsApplyTextNormalization as json.

func (BodyTextToDialogueFullWithTimestampsApplyTextNormalization) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyTextToDialogueFullWithTimestampsApplyTextNormalization) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyTextToDialogueFullWithTimestampsApplyTextNormalization) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTextToDialogueFullWithTimestampsApplyTextNormalization) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyTextToDialogueFullWithTimestampsApplyTextNormalization) Validate

type BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost

type BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost struct {
	// This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to
	// 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling
	// out numbers). With 'on', text normalization will always be applied, while with 'off', it will be
	// skipped.
	ApplyTextNormalization OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization `json:"apply_text_normalization"`
	// A list of dialogue inputs, each containing text and a voice ID which will be converted into speech.
	Inputs []DialogueInput `json:"inputs"`
	// Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the
	// model does not support provided language code, an error will be returned.
	LanguageCode OptNilString `json:"language_code"`
	// Identifier of the model that will be used, you can query them using GET /v1/models. The model
	// needs to have support for text to speech, you can check this using the can_do_text_to_speech
	// property.
	ModelID OptString `json:"model_id"`
	// A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will
	// be applied in order. You may have up to 3 locators per request.
	PronunciationDictionaryLocators OptNilPronunciationDictionaryVersionLocatorRequestModelArray `json:"pronunciation_dictionary_locators"`
	// If specified, our system will make a best effort to sample deterministically, such that repeated
	// requests with the same seed and parameters should return the same result. Determinism is not
	// guaranteed. Must be integer between 0 and 4294967295.
	Seed OptNilInt `json:"seed"`
	// Settings controlling the dialogue generation.
	Settings OptModelSettingsResponseModel `json:"settings"`
}

Ref: #/components/schemas/Body_Text_to_dialogue__multi_voice__streaming_v1_text_to_dialogue_stream_post

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) Decode

Decode decodes BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost from json.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) Encode

Encode implements json.Marshaler.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetApplyTextNormalization

GetApplyTextNormalization returns the value of ApplyTextNormalization.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetInputs

GetInputs returns the value of Inputs.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetLanguageCode

GetLanguageCode returns the value of LanguageCode.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetModelID

GetModelID returns the value of ModelID.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetPronunciationDictionaryLocators

GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetSeed

GetSeed returns the value of Seed.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetSettings

GetSettings returns the value of Settings.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetApplyTextNormalization

SetApplyTextNormalization sets the value of ApplyTextNormalization.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetInputs

SetInputs sets the value of Inputs.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetLanguageCode

SetLanguageCode sets the value of LanguageCode.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetModelID

SetModelID sets the value of ModelID.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetPronunciationDictionaryLocators

SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetSeed

SetSeed sets the value of Seed.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetSettings

SetSettings sets the value of Settings.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) Validate

type BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization

type BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization string

This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.

const (
	BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalizationAuto BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization = "auto"
	BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalizationOn   BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization = "on"
	BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalizationOff  BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization = "off"
)

func (BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) AllValues

AllValues returns all BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization values.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Decode

Decode decodes BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization from json.

func (BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Encode

Encode encodes BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization as json.

func (BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Validate

type BodyTextToDialogueMultiVoiceV1TextToDialoguePost

type BodyTextToDialogueMultiVoiceV1TextToDialoguePost struct {
	// This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to
	// 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling
	// out numbers). With 'on', text normalization will always be applied, while with 'off', it will be
	// skipped.
	ApplyTextNormalization OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization `json:"apply_text_normalization"`
	// A list of dialogue inputs, each containing text and a voice ID which will be converted into speech.
	Inputs []DialogueInput `json:"inputs"`
	// Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the
	// model does not support provided language code, an error will be returned.
	LanguageCode OptNilString `json:"language_code"`
	// Identifier of the model that will be used, you can query them using GET /v1/models. The model
	// needs to have support for text to speech, you can check this using the can_do_text_to_speech
	// property.
	ModelID OptString `json:"model_id"`
	// A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will
	// be applied in order. You may have up to 3 locators per request.
	PronunciationDictionaryLocators OptNilPronunciationDictionaryVersionLocatorRequestModelArray `json:"pronunciation_dictionary_locators"`
	// If specified, our system will make a best effort to sample deterministically, such that repeated
	// requests with the same seed and parameters should return the same result. Determinism is not
	// guaranteed. Must be integer between 0 and 4294967295.
	Seed OptNilInt `json:"seed"`
	// Settings controlling the dialogue generation.
	Settings OptModelSettingsResponseModel `json:"settings"`
}

Ref: #/components/schemas/Body_Text_to_dialogue__multi_voice__v1_text_to_dialogue_post

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) Decode

Decode decodes BodyTextToDialogueMultiVoiceV1TextToDialoguePost from json.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) Encode

Encode implements json.Marshaler.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetApplyTextNormalization

GetApplyTextNormalization returns the value of ApplyTextNormalization.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetInputs

GetInputs returns the value of Inputs.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetLanguageCode

GetLanguageCode returns the value of LanguageCode.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetModelID

GetModelID returns the value of ModelID.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetPronunciationDictionaryLocators

GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetSeed

GetSeed returns the value of Seed.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetSettings

GetSettings returns the value of Settings.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetApplyTextNormalization

SetApplyTextNormalization sets the value of ApplyTextNormalization.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetInputs

SetInputs sets the value of Inputs.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetLanguageCode

SetLanguageCode sets the value of LanguageCode.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetModelID

SetModelID sets the value of ModelID.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetPronunciationDictionaryLocators

SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetSeed

SetSeed sets the value of Seed.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetSettings

SetSettings sets the value of Settings.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) Validate

type BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization

type BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization string

This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.

const (
	BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalizationAuto BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization = "auto"
	BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalizationOn   BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization = "on"
	BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalizationOff  BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization = "off"
)

func (BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) AllValues

AllValues returns all BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization values.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Decode

Decode decodes BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization from json.

func (BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Encode

Encode encodes BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization as json.

func (BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Validate

type BodyTextToDialogueStreamWithTimestamps

type BodyTextToDialogueStreamWithTimestamps struct {
	// This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to
	// 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling
	// out numbers). With 'on', text normalization will always be applied, while with 'off', it will be
	// skipped.
	ApplyTextNormalization OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization `json:"apply_text_normalization"`
	// A list of dialogue inputs, each containing text and a voice ID which will be converted into speech.
	Inputs []DialogueInput `json:"inputs"`
	// Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the
	// model does not support provided language code, an error will be returned.
	LanguageCode OptNilString `json:"language_code"`
	// Identifier of the model that will be used, you can query them using GET /v1/models. The model
	// needs to have support for text to speech, you can check this using the can_do_text_to_speech
	// property.
	ModelID OptString `json:"model_id"`
	// A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will
	// be applied in order. You may have up to 3 locators per request.
	PronunciationDictionaryLocators OptNilPronunciationDictionaryVersionLocatorRequestModelArray `json:"pronunciation_dictionary_locators"`
	// If specified, our system will make a best effort to sample deterministically, such that repeated
	// requests with the same seed and parameters should return the same result. Determinism is not
	// guaranteed. Must be integer between 0 and 4294967295.
	Seed OptNilInt `json:"seed"`
	// Settings controlling the dialogue generation.
	Settings OptModelSettingsResponseModel `json:"settings"`
}

Ref: #/components/schemas/Body_text_to_dialogue_stream_with_timestamps

func (*BodyTextToDialogueStreamWithTimestamps) Decode

Decode decodes BodyTextToDialogueStreamWithTimestamps from json.

func (*BodyTextToDialogueStreamWithTimestamps) Encode

Encode implements json.Marshaler.

func (*BodyTextToDialogueStreamWithTimestamps) GetApplyTextNormalization

GetApplyTextNormalization returns the value of ApplyTextNormalization.

func (*BodyTextToDialogueStreamWithTimestamps) GetInputs

GetInputs returns the value of Inputs.

func (*BodyTextToDialogueStreamWithTimestamps) GetLanguageCode

GetLanguageCode returns the value of LanguageCode.

func (*BodyTextToDialogueStreamWithTimestamps) GetModelID

GetModelID returns the value of ModelID.

func (*BodyTextToDialogueStreamWithTimestamps) GetPronunciationDictionaryLocators

GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.

func (*BodyTextToDialogueStreamWithTimestamps) GetSeed

GetSeed returns the value of Seed.

func (*BodyTextToDialogueStreamWithTimestamps) GetSettings

GetSettings returns the value of Settings.

func (*BodyTextToDialogueStreamWithTimestamps) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BodyTextToDialogueStreamWithTimestamps) SetApplyTextNormalization

SetApplyTextNormalization sets the value of ApplyTextNormalization.

func (*BodyTextToDialogueStreamWithTimestamps) SetInputs

SetInputs sets the value of Inputs.

func (*BodyTextToDialogueStreamWithTimestamps) SetLanguageCode

func (s *BodyTextToDialogueStreamWithTimestamps) SetLanguageCode(val OptNilString)

SetLanguageCode sets the value of LanguageCode.

func (*BodyTextToDialogueStreamWithTimestamps) SetModelID

SetModelID sets the value of ModelID.

func (*BodyTextToDialogueStreamWithTimestamps) SetPronunciationDictionaryLocators

SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.

func (*BodyTextToDialogueStreamWithTimestamps) SetSeed

SetSeed sets the value of Seed.

func (*BodyTextToDialogueStreamWithTimestamps) SetSettings

SetSettings sets the value of Settings.

func (*BodyTextToDialogueStreamWithTimestamps) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTextToDialogueStreamWithTimestamps) Validate

type BodyTextToDialogueStreamWithTimestampsApplyTextNormalization

type BodyTextToDialogueStreamWithTimestampsApplyTextNormalization string

This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.

const (
	BodyTextToDialogueStreamWithTimestampsApplyTextNormalizationAuto BodyTextToDialogueStreamWithTimestampsApplyTextNormalization = "auto"
	BodyTextToDialogueStreamWithTimestampsApplyTextNormalizationOn   BodyTextToDialogueStreamWithTimestampsApplyTextNormalization = "on"
	BodyTextToDialogueStreamWithTimestampsApplyTextNormalizationOff  BodyTextToDialogueStreamWithTimestampsApplyTextNormalization = "off"
)

func (BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) AllValues

AllValues returns all BodyTextToDialogueStreamWithTimestampsApplyTextNormalization values.

func (*BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Decode

Decode decodes BodyTextToDialogueStreamWithTimestampsApplyTextNormalization from json.

func (BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Encode

Encode encodes BodyTextToDialogueStreamWithTimestampsApplyTextNormalization as json.

func (BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Validate

type BodyTextToSpeechFull

type BodyTextToSpeechFull struct {
	// This parameter controls language text normalization. This helps with proper pronunciation of text
	// in some supported languages. WARNING: This parameter can heavily increase the latency of the
	// request. Currently only supported for Japanese.
	ApplyLanguageTextNormalization OptBool `json:"apply_language_text_normalization"`
	// This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to
	// 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling
	// out numbers). With 'on', text normalization will always be applied, while with 'off', it will be
	// skipped.
	ApplyTextNormalization OptBodyTextToSpeechFullApplyTextNormalization `json:"apply_text_normalization"`
	// Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the
	// model does not support provided language code, an error will be returned.
	LanguageCode OptNilString `json:"language_code"`
	// Identifier of the model that will be used, you can query them using GET /v1/models. The model
	// needs to have support for text to speech, you can check this using the can_do_text_to_speech
	// property.
	ModelID OptString `json:"model_id"`
	// A list of request_id of the samples that come after this generation. next_request_ids is
	// especially useful for maintaining the speech's continuity when regenerating a sample that has had
	// some audio quality issues. For example, if you have generated 3 speech clips, and you want to
	// improve clip 2, passing the request id of clip 3 as a next_request_id (and that of clip 1 as a
	// previous_request_id) will help maintain natural flow in the combined speech. The results will be
	// best when the same model is used across the generations. In case both next_text and
	// next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.
	NextRequestIds OptNilStringArray `json:"next_request_ids"`
	// The text that comes after the text of the current request. Can be used to improve the speech's
	// continuity when concatenating together multiple generations or to influence the speech's
	// continuity in the current generation.
	NextText OptNilString `json:"next_text"`
	// A list of request_id of the samples that were generated before this generation. Can be used to
	// improve the speech's continuity when splitting up a large task into multiple requests. The results
	// will be best when the same model is used across the generations. In case both previous_text and
	// previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be
	// send.
	PreviousRequestIds OptNilStringArray `json:"previous_request_ids"`
	// The text that came before the text of the current request. Can be used to improve the speech's
	// continuity when concatenating together multiple generations or to influence the speech's
	// continuity in the current generation.
	PreviousText OptNilString `json:"previous_text"`
	// A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will
	// be applied in order. You may have up to 3 locators per request.
	PronunciationDictionaryLocators OptNilPronunciationDictionaryVersionLocatorRequestModelArray `json:"pronunciation_dictionary_locators"`
	// If specified, our system will make a best effort to sample deterministically, such that repeated
	// requests with the same seed and parameters should return the same result. Determinism is not
	// guaranteed. Must be integer between 0 and 4294967295.
	Seed OptNilInt `json:"seed"`
	// The text that will get converted into speech.
	Text string `json:"text"`
	// If true, we won't use PVC version of the voice for the generation but the IVC version. This is a
	// temporary workaround for higher latency in PVC versions.
	//
	// Deprecated: schema marks this property as deprecated.
	UsePvcAsIvc OptBool `json:"use_pvc_as_ivc"`
	// Voice settings overriding stored settings for the given voice. They are applied only on the given
	// request.
	VoiceSettings OptVoiceSettingsResponseModel `json:"voice_settings"`
}

Ref: #/components/schemas/Body_text_to_speech_full

func (*BodyTextToSpeechFull) Decode

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

Decode decodes BodyTextToSpeechFull from json.

func (*BodyTextToSpeechFull) Encode

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

Encode implements json.Marshaler.

func (*BodyTextToSpeechFull) GetApplyLanguageTextNormalization

func (s *BodyTextToSpeechFull) GetApplyLanguageTextNormalization() OptBool

GetApplyLanguageTextNormalization returns the value of ApplyLanguageTextNormalization.

func (*BodyTextToSpeechFull) GetApplyTextNormalization

GetApplyTextNormalization returns the value of ApplyTextNormalization.

func (*BodyTextToSpeechFull) GetLanguageCode

func (s *BodyTextToSpeechFull) GetLanguageCode() OptNilString

GetLanguageCode returns the value of LanguageCode.

func (*BodyTextToSpeechFull) GetModelID

func (s *BodyTextToSpeechFull) GetModelID() OptString

GetModelID returns the value of ModelID.

func (*BodyTextToSpeechFull) GetNextRequestIds

func (s *BodyTextToSpeechFull) GetNextRequestIds() OptNilStringArray

GetNextRequestIds returns the value of NextRequestIds.

func (*BodyTextToSpeechFull) GetNextText

func (s *BodyTextToSpeechFull) GetNextText() OptNilString

GetNextText returns the value of NextText.

func (*BodyTextToSpeechFull) GetPreviousRequestIds

func (s *BodyTextToSpeechFull) GetPreviousRequestIds() OptNilStringArray

GetPreviousRequestIds returns the value of PreviousRequestIds.

func (*BodyTextToSpeechFull) GetPreviousText

func (s *BodyTextToSpeechFull) GetPreviousText() OptNilString

GetPreviousText returns the value of PreviousText.

func (*BodyTextToSpeechFull) GetPronunciationDictionaryLocators

GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.

func (*BodyTextToSpeechFull) GetSeed

func (s *BodyTextToSpeechFull) GetSeed() OptNilInt

GetSeed returns the value of Seed.

func (*BodyTextToSpeechFull) GetText

func (s *BodyTextToSpeechFull) GetText() string

GetText returns the value of Text.

func (*BodyTextToSpeechFull) GetUsePvcAsIvc

func (s *BodyTextToSpeechFull) GetUsePvcAsIvc() OptBool

GetUsePvcAsIvc returns the value of UsePvcAsIvc.

func (*BodyTextToSpeechFull) GetVoiceSettings

GetVoiceSettings returns the value of VoiceSettings.

func (*BodyTextToSpeechFull) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BodyTextToSpeechFull) SetApplyLanguageTextNormalization

func (s *BodyTextToSpeechFull) SetApplyLanguageTextNormalization(val OptBool)

SetApplyLanguageTextNormalization sets the value of ApplyLanguageTextNormalization.

func (*BodyTextToSpeechFull) SetApplyTextNormalization

func (s *BodyTextToSpeechFull) SetApplyTextNormalization(val OptBodyTextToSpeechFullApplyTextNormalization)

SetApplyTextNormalization sets the value of ApplyTextNormalization.

func (*BodyTextToSpeechFull) SetLanguageCode

func (s *BodyTextToSpeechFull) SetLanguageCode(val OptNilString)

SetLanguageCode sets the value of LanguageCode.

func (*BodyTextToSpeechFull) SetModelID

func (s *BodyTextToSpeechFull) SetModelID(val OptString)

SetModelID sets the value of ModelID.

func (*BodyTextToSpeechFull) SetNextRequestIds

func (s *BodyTextToSpeechFull) SetNextRequestIds(val OptNilStringArray)

SetNextRequestIds sets the value of NextRequestIds.

func (*BodyTextToSpeechFull) SetNextText

func (s *BodyTextToSpeechFull) SetNextText(val OptNilString)

SetNextText sets the value of NextText.

func (*BodyTextToSpeechFull) SetPreviousRequestIds

func (s *BodyTextToSpeechFull) SetPreviousRequestIds(val OptNilStringArray)

SetPreviousRequestIds sets the value of PreviousRequestIds.

func (*BodyTextToSpeechFull) SetPreviousText

func (s *BodyTextToSpeechFull) SetPreviousText(val OptNilString)

SetPreviousText sets the value of PreviousText.

func (*BodyTextToSpeechFull) SetPronunciationDictionaryLocators

SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.

func (*BodyTextToSpeechFull) SetSeed

func (s *BodyTextToSpeechFull) SetSeed(val OptNilInt)

SetSeed sets the value of Seed.

func (*BodyTextToSpeechFull) SetText

func (s *BodyTextToSpeechFull) SetText(val string)

SetText sets the value of Text.

func (*BodyTextToSpeechFull) SetUsePvcAsIvc

func (s *BodyTextToSpeechFull) SetUsePvcAsIvc(val OptBool)

SetUsePvcAsIvc sets the value of UsePvcAsIvc.

func (*BodyTextToSpeechFull) SetVoiceSettings

func (s *BodyTextToSpeechFull) SetVoiceSettings(val OptVoiceSettingsResponseModel)

SetVoiceSettings sets the value of VoiceSettings.

func (*BodyTextToSpeechFull) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTextToSpeechFull) Validate

func (s *BodyTextToSpeechFull) Validate() error

type BodyTextToSpeechFullApplyTextNormalization

type BodyTextToSpeechFullApplyTextNormalization string

This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.

const (
	BodyTextToSpeechFullApplyTextNormalizationAuto BodyTextToSpeechFullApplyTextNormalization = "auto"
	BodyTextToSpeechFullApplyTextNormalizationOn   BodyTextToSpeechFullApplyTextNormalization = "on"
	BodyTextToSpeechFullApplyTextNormalizationOff  BodyTextToSpeechFullApplyTextNormalization = "off"
)

func (BodyTextToSpeechFullApplyTextNormalization) AllValues

AllValues returns all BodyTextToSpeechFullApplyTextNormalization values.

func (*BodyTextToSpeechFullApplyTextNormalization) Decode

Decode decodes BodyTextToSpeechFullApplyTextNormalization from json.

func (BodyTextToSpeechFullApplyTextNormalization) Encode

Encode encodes BodyTextToSpeechFullApplyTextNormalization as json.

func (BodyTextToSpeechFullApplyTextNormalization) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyTextToSpeechFullApplyTextNormalization) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyTextToSpeechFullApplyTextNormalization) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTextToSpeechFullApplyTextNormalization) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyTextToSpeechFullApplyTextNormalization) Validate

type BodyTextToSpeechFullWithTimestamps

type BodyTextToSpeechFullWithTimestamps struct {
	// This parameter controls language text normalization. This helps with proper pronunciation of text
	// in some supported languages. WARNING: This parameter can heavily increase the latency of the
	// request. Currently only supported for Japanese.
	ApplyLanguageTextNormalization OptBool `json:"apply_language_text_normalization"`
	// This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to
	// 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling
	// out numbers). With 'on', text normalization will always be applied, while with 'off', it will be
	// skipped.
	ApplyTextNormalization OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization `json:"apply_text_normalization"`
	// Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the
	// model does not support provided language code, an error will be returned.
	LanguageCode OptNilString `json:"language_code"`
	// Identifier of the model that will be used, you can query them using GET /v1/models. The model
	// needs to have support for text to speech, you can check this using the can_do_text_to_speech
	// property.
	ModelID OptString `json:"model_id"`
	// A list of request_id of the samples that come after this generation. next_request_ids is
	// especially useful for maintaining the speech's continuity when regenerating a sample that has had
	// some audio quality issues. For example, if you have generated 3 speech clips, and you want to
	// improve clip 2, passing the request id of clip 3 as a next_request_id (and that of clip 1 as a
	// previous_request_id) will help maintain natural flow in the combined speech. The results will be
	// best when the same model is used across the generations. In case both next_text and
	// next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.
	NextRequestIds []string `json:"next_request_ids"`
	// The text that comes after the text of the current request. Can be used to improve the speech's
	// continuity when concatenating together multiple generations or to influence the speech's
	// continuity in the current generation.
	NextText OptNilString `json:"next_text"`
	// A list of request_id of the samples that were generated before this generation. Can be used to
	// improve the speech's continuity when splitting up a large task into multiple requests. The results
	// will be best when the same model is used across the generations. In case both previous_text and
	// previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be
	// send.
	PreviousRequestIds []string `json:"previous_request_ids"`
	// The text that came before the text of the current request. Can be used to improve the speech's
	// continuity when concatenating together multiple generations or to influence the speech's
	// continuity in the current generation.
	PreviousText OptNilString `json:"previous_text"`
	// A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will
	// be applied in order. You may have up to 3 locators per request.
	PronunciationDictionaryLocators []PronunciationDictionaryVersionLocatorRequestModel `json:"pronunciation_dictionary_locators"`
	// If specified, our system will make a best effort to sample deterministically, such that repeated
	// requests with the same seed and parameters should return the same result. Determinism is not
	// guaranteed. Must be integer between 0 and 4294967295.
	Seed OptNilInt `json:"seed"`
	// The text that will get converted into speech.
	Text string `json:"text"`
	// If true, we won't use PVC version of the voice for the generation but the IVC version. This is a
	// temporary workaround for higher latency in PVC versions.
	//
	// Deprecated: schema marks this property as deprecated.
	UsePvcAsIvc OptBool `json:"use_pvc_as_ivc"`
	// Voice settings overriding stored settings for the given voice. They are applied only on the given
	// request.
	VoiceSettings OptVoiceSettingsResponseModel `json:"voice_settings"`
}

Ref: #/components/schemas/Body_text_to_speech_full_with_timestamps

func (*BodyTextToSpeechFullWithTimestamps) Decode

Decode decodes BodyTextToSpeechFullWithTimestamps from json.

func (*BodyTextToSpeechFullWithTimestamps) Encode

Encode implements json.Marshaler.

func (*BodyTextToSpeechFullWithTimestamps) GetApplyLanguageTextNormalization

func (s *BodyTextToSpeechFullWithTimestamps) GetApplyLanguageTextNormalization() OptBool

GetApplyLanguageTextNormalization returns the value of ApplyLanguageTextNormalization.

func (*BodyTextToSpeechFullWithTimestamps) GetApplyTextNormalization

GetApplyTextNormalization returns the value of ApplyTextNormalization.

func (*BodyTextToSpeechFullWithTimestamps) GetLanguageCode

func (s *BodyTextToSpeechFullWithTimestamps) GetLanguageCode() OptNilString

GetLanguageCode returns the value of LanguageCode.

func (*BodyTextToSpeechFullWithTimestamps) GetModelID

GetModelID returns the value of ModelID.

func (*BodyTextToSpeechFullWithTimestamps) GetNextRequestIds

func (s *BodyTextToSpeechFullWithTimestamps) GetNextRequestIds() []string

GetNextRequestIds returns the value of NextRequestIds.

func (*BodyTextToSpeechFullWithTimestamps) GetNextText

GetNextText returns the value of NextText.

func (*BodyTextToSpeechFullWithTimestamps) GetPreviousRequestIds

func (s *BodyTextToSpeechFullWithTimestamps) GetPreviousRequestIds() []string

GetPreviousRequestIds returns the value of PreviousRequestIds.

func (*BodyTextToSpeechFullWithTimestamps) GetPreviousText

func (s *BodyTextToSpeechFullWithTimestamps) GetPreviousText() OptNilString

GetPreviousText returns the value of PreviousText.

func (*BodyTextToSpeechFullWithTimestamps) GetPronunciationDictionaryLocators

GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.

func (*BodyTextToSpeechFullWithTimestamps) GetSeed

GetSeed returns the value of Seed.

func (*BodyTextToSpeechFullWithTimestamps) GetText

GetText returns the value of Text.

func (*BodyTextToSpeechFullWithTimestamps) GetUsePvcAsIvc

func (s *BodyTextToSpeechFullWithTimestamps) GetUsePvcAsIvc() OptBool

GetUsePvcAsIvc returns the value of UsePvcAsIvc.

func (*BodyTextToSpeechFullWithTimestamps) GetVoiceSettings

GetVoiceSettings returns the value of VoiceSettings.

func (*BodyTextToSpeechFullWithTimestamps) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BodyTextToSpeechFullWithTimestamps) SetApplyLanguageTextNormalization

func (s *BodyTextToSpeechFullWithTimestamps) SetApplyLanguageTextNormalization(val OptBool)

SetApplyLanguageTextNormalization sets the value of ApplyLanguageTextNormalization.

func (*BodyTextToSpeechFullWithTimestamps) SetApplyTextNormalization

SetApplyTextNormalization sets the value of ApplyTextNormalization.

func (*BodyTextToSpeechFullWithTimestamps) SetLanguageCode

func (s *BodyTextToSpeechFullWithTimestamps) SetLanguageCode(val OptNilString)

SetLanguageCode sets the value of LanguageCode.

func (*BodyTextToSpeechFullWithTimestamps) SetModelID

func (s *BodyTextToSpeechFullWithTimestamps) SetModelID(val OptString)

SetModelID sets the value of ModelID.

func (*BodyTextToSpeechFullWithTimestamps) SetNextRequestIds

func (s *BodyTextToSpeechFullWithTimestamps) SetNextRequestIds(val []string)

SetNextRequestIds sets the value of NextRequestIds.

func (*BodyTextToSpeechFullWithTimestamps) SetNextText

SetNextText sets the value of NextText.

func (*BodyTextToSpeechFullWithTimestamps) SetPreviousRequestIds

func (s *BodyTextToSpeechFullWithTimestamps) SetPreviousRequestIds(val []string)

SetPreviousRequestIds sets the value of PreviousRequestIds.

func (*BodyTextToSpeechFullWithTimestamps) SetPreviousText

func (s *BodyTextToSpeechFullWithTimestamps) SetPreviousText(val OptNilString)

SetPreviousText sets the value of PreviousText.

func (*BodyTextToSpeechFullWithTimestamps) SetPronunciationDictionaryLocators

SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.

func (*BodyTextToSpeechFullWithTimestamps) SetSeed

SetSeed sets the value of Seed.

func (*BodyTextToSpeechFullWithTimestamps) SetText

SetText sets the value of Text.

func (*BodyTextToSpeechFullWithTimestamps) SetUsePvcAsIvc

func (s *BodyTextToSpeechFullWithTimestamps) SetUsePvcAsIvc(val OptBool)

SetUsePvcAsIvc sets the value of UsePvcAsIvc.

func (*BodyTextToSpeechFullWithTimestamps) SetVoiceSettings

SetVoiceSettings sets the value of VoiceSettings.

func (*BodyTextToSpeechFullWithTimestamps) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTextToSpeechFullWithTimestamps) Validate

type BodyTextToSpeechFullWithTimestampsApplyTextNormalization

type BodyTextToSpeechFullWithTimestampsApplyTextNormalization string

This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.

const (
	BodyTextToSpeechFullWithTimestampsApplyTextNormalizationAuto BodyTextToSpeechFullWithTimestampsApplyTextNormalization = "auto"
	BodyTextToSpeechFullWithTimestampsApplyTextNormalizationOn   BodyTextToSpeechFullWithTimestampsApplyTextNormalization = "on"
	BodyTextToSpeechFullWithTimestampsApplyTextNormalizationOff  BodyTextToSpeechFullWithTimestampsApplyTextNormalization = "off"
)

func (BodyTextToSpeechFullWithTimestampsApplyTextNormalization) AllValues

AllValues returns all BodyTextToSpeechFullWithTimestampsApplyTextNormalization values.

func (*BodyTextToSpeechFullWithTimestampsApplyTextNormalization) Decode

Decode decodes BodyTextToSpeechFullWithTimestampsApplyTextNormalization from json.

func (BodyTextToSpeechFullWithTimestampsApplyTextNormalization) Encode

Encode encodes BodyTextToSpeechFullWithTimestampsApplyTextNormalization as json.

func (BodyTextToSpeechFullWithTimestampsApplyTextNormalization) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyTextToSpeechFullWithTimestampsApplyTextNormalization) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyTextToSpeechFullWithTimestampsApplyTextNormalization) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTextToSpeechFullWithTimestampsApplyTextNormalization) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyTextToSpeechFullWithTimestampsApplyTextNormalization) Validate

type BodyTextToSpeechStream

type BodyTextToSpeechStream struct {
	// This parameter controls language text normalization. This helps with proper pronunciation of text
	// in some supported languages. WARNING: This parameter can heavily increase the latency of the
	// request. Currently only supported for Japanese.
	ApplyLanguageTextNormalization OptBool `json:"apply_language_text_normalization"`
	// This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to
	// 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling
	// out numbers). With 'on', text normalization will always be applied, while with 'off', it will be
	// skipped.
	ApplyTextNormalization OptBodyTextToSpeechStreamApplyTextNormalization `json:"apply_text_normalization"`
	// Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the
	// model does not support provided language code, an error will be returned.
	LanguageCode OptNilString `json:"language_code"`
	// Identifier of the model that will be used, you can query them using GET /v1/models. The model
	// needs to have support for text to speech, you can check this using the can_do_text_to_speech
	// property.
	ModelID OptString `json:"model_id"`
	// A list of request_id of the samples that come after this generation. next_request_ids is
	// especially useful for maintaining the speech's continuity when regenerating a sample that has had
	// some audio quality issues. For example, if you have generated 3 speech clips, and you want to
	// improve clip 2, passing the request id of clip 3 as a next_request_id (and that of clip 1 as a
	// previous_request_id) will help maintain natural flow in the combined speech. The results will be
	// best when the same model is used across the generations. In case both next_text and
	// next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.
	NextRequestIds OptNilStringArray `json:"next_request_ids"`
	// The text that comes after the text of the current request. Can be used to improve the speech's
	// continuity when concatenating together multiple generations or to influence the speech's
	// continuity in the current generation.
	NextText OptNilString `json:"next_text"`
	// A list of request_id of the samples that were generated before this generation. Can be used to
	// improve the speech's continuity when splitting up a large task into multiple requests. The results
	// will be best when the same model is used across the generations. In case both previous_text and
	// previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be
	// send.
	PreviousRequestIds OptNilStringArray `json:"previous_request_ids"`
	// The text that came before the text of the current request. Can be used to improve the speech's
	// continuity when concatenating together multiple generations or to influence the speech's
	// continuity in the current generation.
	PreviousText OptNilString `json:"previous_text"`
	// A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will
	// be applied in order. You may have up to 3 locators per request.
	PronunciationDictionaryLocators OptNilPronunciationDictionaryVersionLocatorRequestModelArray `json:"pronunciation_dictionary_locators"`
	// If specified, our system will make a best effort to sample deterministically, such that repeated
	// requests with the same seed and parameters should return the same result. Determinism is not
	// guaranteed. Must be integer between 0 and 4294967295.
	Seed OptNilInt `json:"seed"`
	// The text that will get converted into speech.
	Text string `json:"text"`
	// If true, we won't use PVC version of the voice for the generation but the IVC version. This is a
	// temporary workaround for higher latency in PVC versions.
	//
	// Deprecated: schema marks this property as deprecated.
	UsePvcAsIvc OptBool `json:"use_pvc_as_ivc"`
	// Voice settings overriding stored settings for the given voice. They are applied only on the given
	// request.
	VoiceSettings OptVoiceSettingsResponseModel `json:"voice_settings"`
}

Ref: #/components/schemas/Body_text_to_speech_stream

func (*BodyTextToSpeechStream) Decode

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

Decode decodes BodyTextToSpeechStream from json.

func (*BodyTextToSpeechStream) Encode

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

Encode implements json.Marshaler.

func (*BodyTextToSpeechStream) GetApplyLanguageTextNormalization

func (s *BodyTextToSpeechStream) GetApplyLanguageTextNormalization() OptBool

GetApplyLanguageTextNormalization returns the value of ApplyLanguageTextNormalization.

func (*BodyTextToSpeechStream) GetApplyTextNormalization

GetApplyTextNormalization returns the value of ApplyTextNormalization.

func (*BodyTextToSpeechStream) GetLanguageCode

func (s *BodyTextToSpeechStream) GetLanguageCode() OptNilString

GetLanguageCode returns the value of LanguageCode.

func (*BodyTextToSpeechStream) GetModelID

func (s *BodyTextToSpeechStream) GetModelID() OptString

GetModelID returns the value of ModelID.

func (*BodyTextToSpeechStream) GetNextRequestIds

func (s *BodyTextToSpeechStream) GetNextRequestIds() OptNilStringArray

GetNextRequestIds returns the value of NextRequestIds.

func (*BodyTextToSpeechStream) GetNextText

func (s *BodyTextToSpeechStream) GetNextText() OptNilString

GetNextText returns the value of NextText.

func (*BodyTextToSpeechStream) GetPreviousRequestIds

func (s *BodyTextToSpeechStream) GetPreviousRequestIds() OptNilStringArray

GetPreviousRequestIds returns the value of PreviousRequestIds.

func (*BodyTextToSpeechStream) GetPreviousText

func (s *BodyTextToSpeechStream) GetPreviousText() OptNilString

GetPreviousText returns the value of PreviousText.

func (*BodyTextToSpeechStream) GetPronunciationDictionaryLocators

GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.

func (*BodyTextToSpeechStream) GetSeed

func (s *BodyTextToSpeechStream) GetSeed() OptNilInt

GetSeed returns the value of Seed.

func (*BodyTextToSpeechStream) GetText

func (s *BodyTextToSpeechStream) GetText() string

GetText returns the value of Text.

func (*BodyTextToSpeechStream) GetUsePvcAsIvc

func (s *BodyTextToSpeechStream) GetUsePvcAsIvc() OptBool

GetUsePvcAsIvc returns the value of UsePvcAsIvc.

func (*BodyTextToSpeechStream) GetVoiceSettings

GetVoiceSettings returns the value of VoiceSettings.

func (*BodyTextToSpeechStream) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BodyTextToSpeechStream) SetApplyLanguageTextNormalization

func (s *BodyTextToSpeechStream) SetApplyLanguageTextNormalization(val OptBool)

SetApplyLanguageTextNormalization sets the value of ApplyLanguageTextNormalization.

func (*BodyTextToSpeechStream) SetApplyTextNormalization

SetApplyTextNormalization sets the value of ApplyTextNormalization.

func (*BodyTextToSpeechStream) SetLanguageCode

func (s *BodyTextToSpeechStream) SetLanguageCode(val OptNilString)

SetLanguageCode sets the value of LanguageCode.

func (*BodyTextToSpeechStream) SetModelID

func (s *BodyTextToSpeechStream) SetModelID(val OptString)

SetModelID sets the value of ModelID.

func (*BodyTextToSpeechStream) SetNextRequestIds

func (s *BodyTextToSpeechStream) SetNextRequestIds(val OptNilStringArray)

SetNextRequestIds sets the value of NextRequestIds.

func (*BodyTextToSpeechStream) SetNextText

func (s *BodyTextToSpeechStream) SetNextText(val OptNilString)

SetNextText sets the value of NextText.

func (*BodyTextToSpeechStream) SetPreviousRequestIds

func (s *BodyTextToSpeechStream) SetPreviousRequestIds(val OptNilStringArray)

SetPreviousRequestIds sets the value of PreviousRequestIds.

func (*BodyTextToSpeechStream) SetPreviousText

func (s *BodyTextToSpeechStream) SetPreviousText(val OptNilString)

SetPreviousText sets the value of PreviousText.

func (*BodyTextToSpeechStream) SetPronunciationDictionaryLocators

SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.

func (*BodyTextToSpeechStream) SetSeed

func (s *BodyTextToSpeechStream) SetSeed(val OptNilInt)

SetSeed sets the value of Seed.

func (*BodyTextToSpeechStream) SetText

func (s *BodyTextToSpeechStream) SetText(val string)

SetText sets the value of Text.

func (*BodyTextToSpeechStream) SetUsePvcAsIvc

func (s *BodyTextToSpeechStream) SetUsePvcAsIvc(val OptBool)

SetUsePvcAsIvc sets the value of UsePvcAsIvc.

func (*BodyTextToSpeechStream) SetVoiceSettings

func (s *BodyTextToSpeechStream) SetVoiceSettings(val OptVoiceSettingsResponseModel)

SetVoiceSettings sets the value of VoiceSettings.

func (*BodyTextToSpeechStream) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTextToSpeechStream) Validate

func (s *BodyTextToSpeechStream) Validate() error

type BodyTextToSpeechStreamApplyTextNormalization

type BodyTextToSpeechStreamApplyTextNormalization string

This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.

const (
	BodyTextToSpeechStreamApplyTextNormalizationAuto BodyTextToSpeechStreamApplyTextNormalization = "auto"
	BodyTextToSpeechStreamApplyTextNormalizationOn   BodyTextToSpeechStreamApplyTextNormalization = "on"
	BodyTextToSpeechStreamApplyTextNormalizationOff  BodyTextToSpeechStreamApplyTextNormalization = "off"
)

func (BodyTextToSpeechStreamApplyTextNormalization) AllValues

AllValues returns all BodyTextToSpeechStreamApplyTextNormalization values.

func (*BodyTextToSpeechStreamApplyTextNormalization) Decode

Decode decodes BodyTextToSpeechStreamApplyTextNormalization from json.

func (BodyTextToSpeechStreamApplyTextNormalization) Encode

Encode encodes BodyTextToSpeechStreamApplyTextNormalization as json.

func (BodyTextToSpeechStreamApplyTextNormalization) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyTextToSpeechStreamApplyTextNormalization) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyTextToSpeechStreamApplyTextNormalization) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTextToSpeechStreamApplyTextNormalization) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyTextToSpeechStreamApplyTextNormalization) Validate

type BodyTextToSpeechStreamWithTimestamps

type BodyTextToSpeechStreamWithTimestamps struct {
	// This parameter controls language text normalization. This helps with proper pronunciation of text
	// in some supported languages. WARNING: This parameter can heavily increase the latency of the
	// request. Currently only supported for Japanese.
	ApplyLanguageTextNormalization OptBool `json:"apply_language_text_normalization"`
	// This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to
	// 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling
	// out numbers). With 'on', text normalization will always be applied, while with 'off', it will be
	// skipped.
	ApplyTextNormalization OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization `json:"apply_text_normalization"`
	// Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the
	// model does not support provided language code, an error will be returned.
	LanguageCode OptNilString `json:"language_code"`
	// Identifier of the model that will be used, you can query them using GET /v1/models. The model
	// needs to have support for text to speech, you can check this using the can_do_text_to_speech
	// property.
	ModelID OptString `json:"model_id"`
	// A list of request_id of the samples that come after this generation. next_request_ids is
	// especially useful for maintaining the speech's continuity when regenerating a sample that has had
	// some audio quality issues. For example, if you have generated 3 speech clips, and you want to
	// improve clip 2, passing the request id of clip 3 as a next_request_id (and that of clip 1 as a
	// previous_request_id) will help maintain natural flow in the combined speech. The results will be
	// best when the same model is used across the generations. In case both next_text and
	// next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.
	NextRequestIds OptNilStringArray `json:"next_request_ids"`
	// The text that comes after the text of the current request. Can be used to improve the speech's
	// continuity when concatenating together multiple generations or to influence the speech's
	// continuity in the current generation.
	NextText OptNilString `json:"next_text"`
	// A list of request_id of the samples that were generated before this generation. Can be used to
	// improve the speech's continuity when splitting up a large task into multiple requests. The results
	// will be best when the same model is used across the generations. In case both previous_text and
	// previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be
	// send.
	PreviousRequestIds OptNilStringArray `json:"previous_request_ids"`
	// The text that came before the text of the current request. Can be used to improve the speech's
	// continuity when concatenating together multiple generations or to influence the speech's
	// continuity in the current generation.
	PreviousText OptNilString `json:"previous_text"`
	// A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will
	// be applied in order. You may have up to 3 locators per request.
	PronunciationDictionaryLocators OptNilPronunciationDictionaryVersionLocatorRequestModelArray `json:"pronunciation_dictionary_locators"`
	// If specified, our system will make a best effort to sample deterministically, such that repeated
	// requests with the same seed and parameters should return the same result. Determinism is not
	// guaranteed. Must be integer between 0 and 4294967295.
	Seed OptNilInt `json:"seed"`
	// The text that will get converted into speech.
	Text string `json:"text"`
	// If true, we won't use PVC version of the voice for the generation but the IVC version. This is a
	// temporary workaround for higher latency in PVC versions.
	//
	// Deprecated: schema marks this property as deprecated.
	UsePvcAsIvc OptBool `json:"use_pvc_as_ivc"`
	// Voice settings overriding stored settings for the given voice. They are applied only on the given
	// request.
	VoiceSettings OptVoiceSettingsResponseModel `json:"voice_settings"`
}

Ref: #/components/schemas/Body_text_to_speech_stream_with_timestamps

func (*BodyTextToSpeechStreamWithTimestamps) Decode

Decode decodes BodyTextToSpeechStreamWithTimestamps from json.

func (*BodyTextToSpeechStreamWithTimestamps) Encode

Encode implements json.Marshaler.

func (*BodyTextToSpeechStreamWithTimestamps) GetApplyLanguageTextNormalization

func (s *BodyTextToSpeechStreamWithTimestamps) GetApplyLanguageTextNormalization() OptBool

GetApplyLanguageTextNormalization returns the value of ApplyLanguageTextNormalization.

func (*BodyTextToSpeechStreamWithTimestamps) GetApplyTextNormalization

GetApplyTextNormalization returns the value of ApplyTextNormalization.

func (*BodyTextToSpeechStreamWithTimestamps) GetLanguageCode

GetLanguageCode returns the value of LanguageCode.

func (*BodyTextToSpeechStreamWithTimestamps) GetModelID

GetModelID returns the value of ModelID.

func (*BodyTextToSpeechStreamWithTimestamps) GetNextRequestIds

GetNextRequestIds returns the value of NextRequestIds.

func (*BodyTextToSpeechStreamWithTimestamps) GetNextText

GetNextText returns the value of NextText.

func (*BodyTextToSpeechStreamWithTimestamps) GetPreviousRequestIds

func (s *BodyTextToSpeechStreamWithTimestamps) GetPreviousRequestIds() OptNilStringArray

GetPreviousRequestIds returns the value of PreviousRequestIds.

func (*BodyTextToSpeechStreamWithTimestamps) GetPreviousText

GetPreviousText returns the value of PreviousText.

func (*BodyTextToSpeechStreamWithTimestamps) GetPronunciationDictionaryLocators

GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.

func (*BodyTextToSpeechStreamWithTimestamps) GetSeed

GetSeed returns the value of Seed.

func (*BodyTextToSpeechStreamWithTimestamps) GetText

GetText returns the value of Text.

func (*BodyTextToSpeechStreamWithTimestamps) GetUsePvcAsIvc

func (s *BodyTextToSpeechStreamWithTimestamps) GetUsePvcAsIvc() OptBool

GetUsePvcAsIvc returns the value of UsePvcAsIvc.

func (*BodyTextToSpeechStreamWithTimestamps) GetVoiceSettings

GetVoiceSettings returns the value of VoiceSettings.

func (*BodyTextToSpeechStreamWithTimestamps) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BodyTextToSpeechStreamWithTimestamps) SetApplyLanguageTextNormalization

func (s *BodyTextToSpeechStreamWithTimestamps) SetApplyLanguageTextNormalization(val OptBool)

SetApplyLanguageTextNormalization sets the value of ApplyLanguageTextNormalization.

func (*BodyTextToSpeechStreamWithTimestamps) SetApplyTextNormalization

SetApplyTextNormalization sets the value of ApplyTextNormalization.

func (*BodyTextToSpeechStreamWithTimestamps) SetLanguageCode

func (s *BodyTextToSpeechStreamWithTimestamps) SetLanguageCode(val OptNilString)

SetLanguageCode sets the value of LanguageCode.

func (*BodyTextToSpeechStreamWithTimestamps) SetModelID

SetModelID sets the value of ModelID.

func (*BodyTextToSpeechStreamWithTimestamps) SetNextRequestIds

func (s *BodyTextToSpeechStreamWithTimestamps) SetNextRequestIds(val OptNilStringArray)

SetNextRequestIds sets the value of NextRequestIds.

func (*BodyTextToSpeechStreamWithTimestamps) SetNextText

SetNextText sets the value of NextText.

func (*BodyTextToSpeechStreamWithTimestamps) SetPreviousRequestIds

func (s *BodyTextToSpeechStreamWithTimestamps) SetPreviousRequestIds(val OptNilStringArray)

SetPreviousRequestIds sets the value of PreviousRequestIds.

func (*BodyTextToSpeechStreamWithTimestamps) SetPreviousText

func (s *BodyTextToSpeechStreamWithTimestamps) SetPreviousText(val OptNilString)

SetPreviousText sets the value of PreviousText.

func (*BodyTextToSpeechStreamWithTimestamps) SetPronunciationDictionaryLocators

SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.

func (*BodyTextToSpeechStreamWithTimestamps) SetSeed

SetSeed sets the value of Seed.

func (*BodyTextToSpeechStreamWithTimestamps) SetText

SetText sets the value of Text.

func (*BodyTextToSpeechStreamWithTimestamps) SetUsePvcAsIvc

func (s *BodyTextToSpeechStreamWithTimestamps) SetUsePvcAsIvc(val OptBool)

SetUsePvcAsIvc sets the value of UsePvcAsIvc.

func (*BodyTextToSpeechStreamWithTimestamps) SetVoiceSettings

SetVoiceSettings sets the value of VoiceSettings.

func (*BodyTextToSpeechStreamWithTimestamps) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTextToSpeechStreamWithTimestamps) Validate

type BodyTextToSpeechStreamWithTimestampsApplyTextNormalization

type BodyTextToSpeechStreamWithTimestampsApplyTextNormalization string

This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.

const (
	BodyTextToSpeechStreamWithTimestampsApplyTextNormalizationAuto BodyTextToSpeechStreamWithTimestampsApplyTextNormalization = "auto"
	BodyTextToSpeechStreamWithTimestampsApplyTextNormalizationOn   BodyTextToSpeechStreamWithTimestampsApplyTextNormalization = "on"
	BodyTextToSpeechStreamWithTimestampsApplyTextNormalizationOff  BodyTextToSpeechStreamWithTimestampsApplyTextNormalization = "off"
)

func (BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) AllValues

AllValues returns all BodyTextToSpeechStreamWithTimestampsApplyTextNormalization values.

func (*BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Decode

Decode decodes BodyTextToSpeechStreamWithTimestampsApplyTextNormalization from json.

func (BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Encode

Encode encodes BodyTextToSpeechStreamWithTimestampsApplyTextNormalization as json.

func (BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Validate

type BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost

type BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost struct {
	// Transcribe this specific list of segments.
	Segments []string `json:"segments"`
}

Ref: #/components/schemas/Body_Transcribes_segments_v1_dubbing_resource__dubbing_id__transcribe_post

func (*BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) Decode

Decode decodes BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost from json.

func (*BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) Encode

Encode implements json.Marshaler.

func (*BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) GetSegments

GetSegments returns the value of Segments.

func (*BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) SetSegments

SetSegments sets the value of Segments.

func (*BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) Validate

type BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost

type BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost struct {
	// Translate only these languages for each segment.
	Languages []string `json:"languages"`
	// Translate only this list of segments.
	Segments []string `json:"segments"`
}

Ref: #/components/schemas/Body_Translates_all_or_some_segments_and_languages_v1_dubbing_resource__dubbing_id__translate_post

func (*BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) Decode

Decode decodes BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost from json.

func (*BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) Encode

Encode implements json.Marshaler.

func (*BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) GetLanguages

GetLanguages returns the value of Languages.

func (*BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) GetSegments

GetSegments returns the value of Segments.

func (*BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) SetLanguages

SetLanguages sets the value of Languages.

func (*BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) SetSegments

SetSegments sets the value of Segments.

func (*BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) Validate

type BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost

type BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost struct {
	// The ID of the target group. To target the permissions principals have by default on this resource,
	// use the value 'default'.
	GroupID OptNilString `json:"group_id"`
	// Resource type of the target resource.
	ResourceType WorkspaceResourceType `json:"resource_type"`
	// The email of the user or service account.
	UserEmail OptNilString `json:"user_email"`
	// The ID of the target workspace API key. This isn't the same as the key itself that would you pass
	// in the header for authentication. Workspace admins can find this in the workspace settings UI.
	WorkspaceAPIKeyID OptNilString `json:"workspace_api_key_id"`
}

Ref: #/components/schemas/Body_Unshare_workspace_resource_v1_workspace_resources__resource_id__unshare_post

func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) Decode

Decode decodes BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost from json.

func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) Encode

Encode implements json.Marshaler.

func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) GetGroupID

GetGroupID returns the value of GroupID.

func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) GetResourceType

GetResourceType returns the value of ResourceType.

func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) GetUserEmail

GetUserEmail returns the value of UserEmail.

func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) GetWorkspaceAPIKeyID

GetWorkspaceAPIKeyID returns the value of WorkspaceAPIKeyID.

func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) SetGroupID

SetGroupID sets the value of GroupID.

func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) SetResourceType

SetResourceType sets the value of ResourceType.

func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) SetUserEmail

SetUserEmail sets the value of UserEmail.

func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) SetWorkspaceAPIKeyID

SetWorkspaceAPIKeyID sets the value of WorkspaceAPIKeyID.

func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) Validate

type BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart

type BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart struct {
	// Whether to auto convert the project to audio or not.
	AutoConvert OptBool `json:"auto_convert"`
	// Whether to auto publish the new project snapshot after it's converted.
	AutoPublish OptBool `json:"auto_publish"`
	// Either txt or HTML input file containing the article content. HTML should be formatted as follows
	// '<html><body><div><p>Your content</p><h5>More of your
	// content</h5><p>Some more of your content</p></div></body><
	// /html>'.
	File OptMultipartFile `json:"file"`
}

Ref: #/components/schemas/Body_Update_audio_native_Project_content_v1_audio_native__project_id__content_post

func (*BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) GetAutoConvert

GetAutoConvert returns the value of AutoConvert.

func (*BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) GetAutoPublish

GetAutoPublish returns the value of AutoPublish.

func (*BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) GetFile

GetFile returns the value of File.

func (*BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) SetAutoConvert

SetAutoConvert sets the value of AutoConvert.

func (*BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) SetAutoPublish

SetAutoPublish sets the value of AutoPublish.

func (*BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) SetFile

SetFile sets the value of File.

type BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch

type BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch struct {
	// A custom, human-readable name for the document.
	Name string `json:"name"`
}

Ref: #/components/schemas/Body_Update_document_v1_convai_knowledge_base__documentation_id__patch

func (*BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) Decode

Decode decodes BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch from json.

func (*BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) Encode

Encode implements json.Marshaler.

func (*BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) GetName

GetName returns the value of Name.

func (*BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) SetName

SetName sets the value of Name.

func (*BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) Validate

type BodyUpdateMemberV1WorkspaceMembersPost

type BodyUpdateMemberV1WorkspaceMembersPost struct {
	// Email of the target user.
	Email string `json:"email"`
	// Whether to lock or unlock the user account.
	IsLocked OptNilBool `json:"is_locked"`
	// Role dictating permissions in the workspace.
	WorkspaceRole OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole `json:"workspace_role"`
}

Ref: #/components/schemas/Body_Update_member_v1_workspace_members_post

func (*BodyUpdateMemberV1WorkspaceMembersPost) Decode

Decode decodes BodyUpdateMemberV1WorkspaceMembersPost from json.

func (*BodyUpdateMemberV1WorkspaceMembersPost) Encode

Encode implements json.Marshaler.

func (*BodyUpdateMemberV1WorkspaceMembersPost) GetEmail

GetEmail returns the value of Email.

func (*BodyUpdateMemberV1WorkspaceMembersPost) GetIsLocked

GetIsLocked returns the value of IsLocked.

func (*BodyUpdateMemberV1WorkspaceMembersPost) GetWorkspaceRole

GetWorkspaceRole returns the value of WorkspaceRole.

func (*BodyUpdateMemberV1WorkspaceMembersPost) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BodyUpdateMemberV1WorkspaceMembersPost) SetEmail

SetEmail sets the value of Email.

func (*BodyUpdateMemberV1WorkspaceMembersPost) SetIsLocked

SetIsLocked sets the value of IsLocked.

func (*BodyUpdateMemberV1WorkspaceMembersPost) SetWorkspaceRole

SetWorkspaceRole sets the value of WorkspaceRole.

func (*BodyUpdateMemberV1WorkspaceMembersPost) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyUpdateMemberV1WorkspaceMembersPost) Validate

type BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole

type BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole string

Role dictating permissions in the workspace.

const (
	BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRoleWorkspaceAdmin  BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole = "workspace_admin"
	BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRoleWorkspaceMember BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole = "workspace_member"
)

func (BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) AllValues

AllValues returns all BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole values.

func (*BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Decode

Decode decodes BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole from json.

func (BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Encode

Encode encodes BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole as json.

func (BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Validate

type BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch

type BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch struct {
	// Languages to apply these changes to. If empty, will apply to all languages.
	Languages OptNilStringArray `json:"languages"`
	// Name to attribute to this speaker.
	SpeakerName OptNilString `json:"speaker_name"`
	// Either the identifier of a voice from the ElevenLabs voice library, or one of ['track-clone',
	// 'clip-clone'].
	VoiceID OptNilString `json:"voice_id"`
	// For models that support it, the voice similarity value to use. This will default to 1.0, with a
	// valid range of [0.0, 1.0].
	VoiceSimilarity OptNilFloat64 `json:"voice_similarity"`
	// For models that support it, the voice similarity value to use. This will default to 0.65, with a
	// valid range of [0.0, 1.0].
	VoiceStability OptNilFloat64 `json:"voice_stability"`
	// For models that support it, the voice style value to use. This will default to 1.0, with a valid
	// range of [0.0, 1.0].
	VoiceStyle OptNilFloat64 `json:"voice_style"`
}

Ref: #/components/schemas/Body_Update_metadata_for_a_speaker_v1_dubbing_resource__dubbing_id__speaker__speaker_id__patch

func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Decode

Decode decodes BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch from json.

func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Encode

Encode implements json.Marshaler.

func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetLanguages

GetLanguages returns the value of Languages.

func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetSpeakerName

GetSpeakerName returns the value of SpeakerName.

func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetVoiceID

GetVoiceID returns the value of VoiceID.

func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetVoiceSimilarity

GetVoiceSimilarity returns the value of VoiceSimilarity.

func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetVoiceStability

GetVoiceStability returns the value of VoiceStability.

func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetVoiceStyle

GetVoiceStyle returns the value of VoiceStyle.

func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetLanguages

SetLanguages sets the value of Languages.

func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetSpeakerName

SetSpeakerName sets the value of SpeakerName.

func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetVoiceID

SetVoiceID sets the value of VoiceID.

func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetVoiceSimilarity

SetVoiceSimilarity sets the value of VoiceSimilarity.

func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetVoiceStability

SetVoiceStability sets the value of VoiceStability.

func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetVoiceStyle

SetVoiceStyle sets the value of VoiceStyle.

func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Validate

type BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost

type BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost struct {
	// The name of the audio file to be used for PVC training.
	FileName OptNilString `json:"file_name"`
	// If set will remove background noise for voice samples using our audio isolation model. If the
	// samples do not include background noise, it can make the quality worse.
	RemoveBackgroundNoise OptBool `json:"remove_background_noise"`
	// Speaker IDs to be used for PVC training. Make sure you send all the speaker IDs you want to use
	// for PVC training in one request because the last request will override the previous ones.
	SelectedSpeakerIds OptNilStringArray `json:"selected_speaker_ids"`
	// The end time of the audio to be used for PVC training. Time should be in milliseconds.
	TrimEndTime OptNilInt `json:"trim_end_time"`
	// The start time of the audio to be used for PVC training. Time should be in milliseconds.
	TrimStartTime OptNilInt `json:"trim_start_time"`
}

Ref: #/components/schemas/Body_Update_PVC_voice_sample_v1_voices_pvc__voice_id__samples__sample_id__post

func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Decode

Decode decodes BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost from json.

func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Encode

Encode implements json.Marshaler.

func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetFileName

GetFileName returns the value of FileName.

func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetRemoveBackgroundNoise

GetRemoveBackgroundNoise returns the value of RemoveBackgroundNoise.

func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetSelectedSpeakerIds

GetSelectedSpeakerIds returns the value of SelectedSpeakerIds.

func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetTrimEndTime

GetTrimEndTime returns the value of TrimEndTime.

func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetTrimStartTime

GetTrimStartTime returns the value of TrimStartTime.

func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetFileName

SetFileName sets the value of FileName.

func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetRemoveBackgroundNoise

SetRemoveBackgroundNoise sets the value of RemoveBackgroundNoise.

func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetSelectedSpeakerIds

SetSelectedSpeakerIds sets the value of SelectedSpeakerIds.

func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetTrimEndTime

SetTrimEndTime sets the value of TrimEndTime.

func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetTrimStartTime

SetTrimStartTime sets the value of TrimStartTime.

func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Validate

type BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch

type BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch struct {
	// The name of the pronunciation dictionary, used for identification only.
	Archived OptBool `json:"archived"`
	// The name of the pronunciation dictionary, used for identification only.
	Name OptString `json:"name"`
}

Ref: #/components/schemas/Body_Update_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__patch

func (*BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Decode

Decode decodes BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch from json.

func (*BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Encode

Encode implements json.Marshaler.

func (*BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) GetArchived

GetArchived returns the value of Archived.

func (*BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) GetName

GetName returns the value of Name.

func (*BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) SetArchived

SetArchived sets the value of Archived.

func (*BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) SetName

SetName sets the value of Name.

func (*BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart

type BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart struct {
	// Whether to auto convert the Studio project to audio or not.
	AutoConvert OptBool `json:"auto_convert"`
	// An optional content to initialize the Studio project with. If this is set, 'from_url' and
	// 'from_document' must be null. If neither 'from_url', 'from_document', 'from_content' are provided
	// we will initialize the Studio project as blank.
	// Example:
	// [{"name": "Chapter A", "blocks": [{"sub_type": "p", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0",
	// "text": "A", "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "B", "type":
	// "tts_node"}]}, {"sub_type": "h1", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0", "text": "C",
	// "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "D", "type": "tts_node"}]}]},
	// {"name": "Chapter B", "blocks": [{"sub_type": "p", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0",
	// "text": "E", "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "F", "type":
	// "tts_node"}]}, {"sub_type": "h2", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0", "text": "G",
	// "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "H", "type": "tts_node"}]}]}].
	FromContentJSON OptString `json:"from_content_json"`
	// An optional .epub, .pdf, .txt or similar file can be provided. If provided, we will initialize the
	// Studio project with its content. If this is set, 'from_url' and 'from_content' must be null. If
	// neither 'from_url', 'from_document', 'from_content' are provided we will initialize the Studio
	// project as blank.
	FromDocument OptNilString `json:"from_document"`
	// An optional URL from which we will extract content to initialize the Studio project. If this is
	// set, 'from_url' and 'from_content' must be null. If neither 'from_url', 'from_document',
	// 'from_content' are provided we will initialize the Studio project as blank.
	FromURL OptNilString `json:"from_url"`
}

Ref: #/components/schemas/Body_Update_Studio_project_content_v1_studio_projects__project_id__content_post

func (*BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) GetAutoConvert

GetAutoConvert returns the value of AutoConvert.

func (*BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) GetFromContentJSON

GetFromContentJSON returns the value of FromContentJSON.

func (*BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) GetFromDocument

GetFromDocument returns the value of FromDocument.

func (*BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) GetFromURL

GetFromURL returns the value of FromURL.

func (*BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetAutoConvert

SetAutoConvert sets the value of AutoConvert.

func (*BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetFromContentJSON

SetFromContentJSON sets the value of FromContentJSON.

func (*BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetFromDocument

SetFromDocument sets the value of FromDocument.

func (*BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetFromURL

SetFromURL sets the value of FromURL.

type BodyUpdateStudioProjectV1StudioProjectsProjectIDPost

type BodyUpdateStudioProjectV1StudioProjectsProjectIDPost struct {
	// An optional name of the author of the Studio project, this will be added as metadata to the mp3
	// file on Studio project or chapter download.
	Author OptNilString `json:"author"`
	// The voice_id that corresponds to the default voice used for new paragraphs.
	DefaultParagraphVoiceID string `json:"default_paragraph_voice_id"`
	// The voice_id that corresponds to the default voice used for new titles.
	DefaultTitleVoiceID string `json:"default_title_voice_id"`
	// An optional ISBN number of the Studio project you want to create, this will be added as metadata
	// to the mp3 file on Studio project or chapter download.
	IsbnNumber OptNilString `json:"isbn_number"`
	// The name of the Studio project, used for identification only.
	Name string `json:"name"`
	// An optional name of the author of the Studio project, this will be added as metadata to the mp3
	// file on Studio project or chapter download.
	Title OptNilString `json:"title"`
	// When the Studio project is downloaded, should the returned audio have postprocessing in order to
	// make it compliant with audiobook normalized volume requirements.
	VolumeNormalization OptBool `json:"volume_normalization"`
}

Ref: #/components/schemas/Body_Update_Studio_project_v1_studio_projects__project_id__post

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) Decode

Decode decodes BodyUpdateStudioProjectV1StudioProjectsProjectIDPost from json.

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) Encode

Encode implements json.Marshaler.

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetAuthor

GetAuthor returns the value of Author.

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetDefaultParagraphVoiceID

func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetDefaultParagraphVoiceID() string

GetDefaultParagraphVoiceID returns the value of DefaultParagraphVoiceID.

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetDefaultTitleVoiceID

GetDefaultTitleVoiceID returns the value of DefaultTitleVoiceID.

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetIsbnNumber

GetIsbnNumber returns the value of IsbnNumber.

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetName

GetName returns the value of Name.

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetTitle

GetTitle returns the value of Title.

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetVolumeNormalization

GetVolumeNormalization returns the value of VolumeNormalization.

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetAuthor

SetAuthor sets the value of Author.

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetDefaultParagraphVoiceID

func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetDefaultParagraphVoiceID(val string)

SetDefaultParagraphVoiceID sets the value of DefaultParagraphVoiceID.

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetDefaultTitleVoiceID

func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetDefaultTitleVoiceID(val string)

SetDefaultTitleVoiceID sets the value of DefaultTitleVoiceID.

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetIsbnNumber

SetIsbnNumber sets the value of IsbnNumber.

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetName

SetName sets the value of Name.

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetTitle

SetTitle sets the value of Title.

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetVolumeNormalization

func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetVolumeNormalization(val OptBool)

SetVolumeNormalization sets the value of VolumeNormalization.

func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch

type BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch struct {
	// Whether to disable or enable the webhook.
	IsDisabled bool `json:"is_disabled"`
	// The display name of the webhook (used for display purposes only).
	Name string `json:"name"`
}

Ref: #/components/schemas/Body_Update_workspace_webhook_v1_workspace_webhooks__webhook_id__patch

func (*BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) Decode

Decode decodes BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch from json.

func (*BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) Encode

Encode implements json.Marshaler.

func (*BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) GetIsDisabled

GetIsDisabled returns the value of IsDisabled.

func (*BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) GetName

GetName returns the value of Name.

func (*BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) SetIsDisabled

SetIsDisabled sets the value of IsDisabled.

func (*BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) SetName

SetName sets the value of Name.

func (*BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type BodyVerifyPVCVoiceCaptchaV1VoicesPvcVoiceIDCaptchaPostMultipart

type BodyVerifyPVCVoiceCaptchaV1VoicesPvcVoiceIDCaptchaPostMultipart struct {
	// Audio recording of the user.
	Recording ht.MultipartFile `json:"recording"`
}

Ref: #/components/schemas/Body_Verify_PVC_voice_captcha_v1_voices_pvc__voice_id__captcha_post

func (*BodyVerifyPVCVoiceCaptchaV1VoicesPvcVoiceIDCaptchaPostMultipart) GetRecording

GetRecording returns the value of Recording.

func (*BodyVerifyPVCVoiceCaptchaV1VoicesPvcVoiceIDCaptchaPostMultipart) SetRecording

SetRecording sets the value of Recording.

type BreakdownTypes

type BreakdownTypes string

How to break down the information. Cannot be "user" or "api_key" if include_workspace_metrics is False. Ref: #/components/schemas/BreakdownTypes

const (
	BreakdownTypesNone                 BreakdownTypes = "none"
	BreakdownTypesVoice                BreakdownTypes = "voice"
	BreakdownTypesVoiceMultiplier      BreakdownTypes = "voice_multiplier"
	BreakdownTypesUser                 BreakdownTypes = "user"
	BreakdownTypesGroups               BreakdownTypes = "groups"
	BreakdownTypesAPIKeys              BreakdownTypes = "api_keys"
	BreakdownTypesAllAPIKeys           BreakdownTypes = "all_api_keys"
	BreakdownTypesProductType          BreakdownTypes = "product_type"
	BreakdownTypesModel                BreakdownTypes = "model"
	BreakdownTypesResource             BreakdownTypes = "resource"
	BreakdownTypesRequestQueue         BreakdownTypes = "request_queue"
	BreakdownTypesRegion               BreakdownTypes = "region"
	BreakdownTypesSubresourceID        BreakdownTypes = "subresource_id"
	BreakdownTypesReportingWorkspaceID BreakdownTypes = "reporting_workspace_id"
	BreakdownTypesHasAPIKey            BreakdownTypes = "has_api_key"
	BreakdownTypesRequestSource        BreakdownTypes = "request_source"
)

func (BreakdownTypes) AllValues

func (BreakdownTypes) AllValues() []BreakdownTypes

AllValues returns all BreakdownTypes values.

func (BreakdownTypes) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*BreakdownTypes) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (BreakdownTypes) Validate

func (s BreakdownTypes) Validate() error

type CancelBatchCallParams

type CancelBatchCallParams struct {
	BatchID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

CancelBatchCallParams is parameters of cancel_batch_call operation.

type CancelBatchCallRes

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

type CaptionStyleCharacterAnimationModel

type CaptionStyleCharacterAnimationModel struct {
	EnterType CaptionStyleCharacterAnimationModelEnterType `json:"enter_type"`
	ExitType  CaptionStyleCharacterAnimationModelExitType  `json:"exit_type"`
}

Ref: #/components/schemas/CaptionStyleCharacterAnimationModel

func (*CaptionStyleCharacterAnimationModel) Decode

Decode decodes CaptionStyleCharacterAnimationModel from json.

func (*CaptionStyleCharacterAnimationModel) Encode

Encode implements json.Marshaler.

func (*CaptionStyleCharacterAnimationModel) GetEnterType

GetEnterType returns the value of EnterType.

func (*CaptionStyleCharacterAnimationModel) GetExitType

GetExitType returns the value of ExitType.

func (*CaptionStyleCharacterAnimationModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CaptionStyleCharacterAnimationModel) SetEnterType

SetEnterType sets the value of EnterType.

func (*CaptionStyleCharacterAnimationModel) SetExitType

SetExitType sets the value of ExitType.

func (*CaptionStyleCharacterAnimationModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CaptionStyleCharacterAnimationModel) Validate

type CaptionStyleCharacterAnimationModelEnterType

type CaptionStyleCharacterAnimationModelEnterType string
const (
	CaptionStyleCharacterAnimationModelEnterTypeNone CaptionStyleCharacterAnimationModelEnterType = "none"
	CaptionStyleCharacterAnimationModelEnterTypeFade CaptionStyleCharacterAnimationModelEnterType = "fade"
)

func (CaptionStyleCharacterAnimationModelEnterType) AllValues

AllValues returns all CaptionStyleCharacterAnimationModelEnterType values.

func (*CaptionStyleCharacterAnimationModelEnterType) Decode

Decode decodes CaptionStyleCharacterAnimationModelEnterType from json.

func (CaptionStyleCharacterAnimationModelEnterType) Encode

Encode encodes CaptionStyleCharacterAnimationModelEnterType as json.

func (CaptionStyleCharacterAnimationModelEnterType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (CaptionStyleCharacterAnimationModelEnterType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*CaptionStyleCharacterAnimationModelEnterType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CaptionStyleCharacterAnimationModelEnterType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CaptionStyleCharacterAnimationModelEnterType) Validate

type CaptionStyleCharacterAnimationModelExitType

type CaptionStyleCharacterAnimationModelExitType string
const (
	CaptionStyleCharacterAnimationModelExitTypeNone CaptionStyleCharacterAnimationModelExitType = "none"
	CaptionStyleCharacterAnimationModelExitTypeFade CaptionStyleCharacterAnimationModelExitType = "fade"
)

func (CaptionStyleCharacterAnimationModelExitType) AllValues

AllValues returns all CaptionStyleCharacterAnimationModelExitType values.

func (*CaptionStyleCharacterAnimationModelExitType) Decode

Decode decodes CaptionStyleCharacterAnimationModelExitType from json.

func (CaptionStyleCharacterAnimationModelExitType) Encode

Encode encodes CaptionStyleCharacterAnimationModelExitType as json.

func (CaptionStyleCharacterAnimationModelExitType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (CaptionStyleCharacterAnimationModelExitType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*CaptionStyleCharacterAnimationModelExitType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CaptionStyleCharacterAnimationModelExitType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CaptionStyleCharacterAnimationModelExitType) Validate

type CaptionStyleHorizontalPlacementModel

type CaptionStyleHorizontalPlacementModel struct {
	Align        CaptionStyleHorizontalPlacementModelAlign `json:"align"`
	TranslatePct float64                                   `json:"translate_pct"`
}

Ref: #/components/schemas/CaptionStyleHorizontalPlacementModel

func (*CaptionStyleHorizontalPlacementModel) Decode

Decode decodes CaptionStyleHorizontalPlacementModel from json.

func (*CaptionStyleHorizontalPlacementModel) Encode

Encode implements json.Marshaler.

func (*CaptionStyleHorizontalPlacementModel) GetAlign

GetAlign returns the value of Align.

func (*CaptionStyleHorizontalPlacementModel) GetTranslatePct

func (s *CaptionStyleHorizontalPlacementModel) GetTranslatePct() float64

GetTranslatePct returns the value of TranslatePct.

func (*CaptionStyleHorizontalPlacementModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CaptionStyleHorizontalPlacementModel) SetAlign

SetAlign sets the value of Align.

func (*CaptionStyleHorizontalPlacementModel) SetTranslatePct

func (s *CaptionStyleHorizontalPlacementModel) SetTranslatePct(val float64)

SetTranslatePct sets the value of TranslatePct.

func (*CaptionStyleHorizontalPlacementModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CaptionStyleHorizontalPlacementModel) Validate

type CaptionStyleHorizontalPlacementModelAlign

type CaptionStyleHorizontalPlacementModelAlign string
const (
	CaptionStyleHorizontalPlacementModelAlignLeft   CaptionStyleHorizontalPlacementModelAlign = "left"
	CaptionStyleHorizontalPlacementModelAlignCenter CaptionStyleHorizontalPlacementModelAlign = "center"
	CaptionStyleHorizontalPlacementModelAlignRight  CaptionStyleHorizontalPlacementModelAlign = "right"
)

func (CaptionStyleHorizontalPlacementModelAlign) AllValues

AllValues returns all CaptionStyleHorizontalPlacementModelAlign values.

func (*CaptionStyleHorizontalPlacementModelAlign) Decode

Decode decodes CaptionStyleHorizontalPlacementModelAlign from json.

func (CaptionStyleHorizontalPlacementModelAlign) Encode

Encode encodes CaptionStyleHorizontalPlacementModelAlign as json.

func (CaptionStyleHorizontalPlacementModelAlign) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (CaptionStyleHorizontalPlacementModelAlign) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*CaptionStyleHorizontalPlacementModelAlign) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CaptionStyleHorizontalPlacementModelAlign) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CaptionStyleHorizontalPlacementModelAlign) Validate

type CaptionStyleModel

type CaptionStyleModel struct {
	AutoBreakEnabled              OptNilBool                              `json:"auto_break_enabled"`
	BackgroundColor               OptNilString                            `json:"background_color"`
	BackgroundEnabled             OptNilBool                              `json:"background_enabled"`
	BackgroundOpacity             OptNilFloat64                           `json:"background_opacity"`
	CharacterAnimation            OptCaptionStyleCharacterAnimationModel  `json:"character_animation"`
	HorizontalPlacement           OptCaptionStyleHorizontalPlacementModel `json:"horizontal_placement"`
	MaxLinesPerSection            OptNilInt                               `json:"max_lines_per_section"`
	MaxWordsPerLine               OptNilInt                               `json:"max_words_per_line"`
	SectionAnimation              OptCaptionStyleSectionAnimationModel    `json:"section_animation"`
	Template                      OptCaptionStyleTemplateModel            `json:"template"`
	TextAlign                     OptNilCaptionStyleModelTextAlign        `json:"text_align"`
	TextColor                     OptNilString                            `json:"text_color"`
	TextFont                      OptNilString                            `json:"text_font"`
	TextScale                     OptNilFloat64                           `json:"text_scale"`
	TextStyle                     OptNilCaptionStyleModelTextStyle        `json:"text_style"`
	TextWeight                    OptNilCaptionStyleModelTextWeight       `json:"text_weight"`
	VerticalPlacement             OptCaptionStyleVerticalPlacementModel   `json:"vertical_placement"`
	WidthPct                      OptNilFloat64                           `json:"width_pct"`
	WordAnimation                 OptCaptionStyleWordAnimationModel       `json:"word_animation"`
	WordHighlightsBackgroundColor OptNilString                            `json:"word_highlights_background_color"`
	WordHighlightsColor           OptNilString                            `json:"word_highlights_color"`
	WordHighlightsEnabled         OptNilBool                              `json:"word_highlights_enabled"`
	WordHighlightsOpacity         OptNilFloat64                           `json:"word_highlights_opacity"`
}

Ref: #/components/schemas/CaptionStyleModel

func (*CaptionStyleModel) Decode

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

Decode decodes CaptionStyleModel from json.

func (*CaptionStyleModel) Encode

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

Encode implements json.Marshaler.

func (*CaptionStyleModel) GetAutoBreakEnabled

func (s *CaptionStyleModel) GetAutoBreakEnabled() OptNilBool

GetAutoBreakEnabled returns the value of AutoBreakEnabled.

func (*CaptionStyleModel) GetBackgroundColor

func (s *CaptionStyleModel) GetBackgroundColor() OptNilString

GetBackgroundColor returns the value of BackgroundColor.

func (*CaptionStyleModel) GetBackgroundEnabled

func (s *CaptionStyleModel) GetBackgroundEnabled() OptNilBool

GetBackgroundEnabled returns the value of BackgroundEnabled.

func (*CaptionStyleModel) GetBackgroundOpacity

func (s *CaptionStyleModel) GetBackgroundOpacity() OptNilFloat64

GetBackgroundOpacity returns the value of BackgroundOpacity.

func (*CaptionStyleModel) GetCharacterAnimation

func (s *CaptionStyleModel) GetCharacterAnimation() OptCaptionStyleCharacterAnimationModel

GetCharacterAnimation returns the value of CharacterAnimation.

func (*CaptionStyleModel) GetHorizontalPlacement

func (s *CaptionStyleModel) GetHorizontalPlacement() OptCaptionStyleHorizontalPlacementModel

GetHorizontalPlacement returns the value of HorizontalPlacement.

func (*CaptionStyleModel) GetMaxLinesPerSection

func (s *CaptionStyleModel) GetMaxLinesPerSection() OptNilInt

GetMaxLinesPerSection returns the value of MaxLinesPerSection.

func (*CaptionStyleModel) GetMaxWordsPerLine

func (s *CaptionStyleModel) GetMaxWordsPerLine() OptNilInt

GetMaxWordsPerLine returns the value of MaxWordsPerLine.

func (*CaptionStyleModel) GetSectionAnimation

GetSectionAnimation returns the value of SectionAnimation.

func (*CaptionStyleModel) GetTemplate

GetTemplate returns the value of Template.

func (*CaptionStyleModel) GetTextAlign

GetTextAlign returns the value of TextAlign.

func (*CaptionStyleModel) GetTextColor

func (s *CaptionStyleModel) GetTextColor() OptNilString

GetTextColor returns the value of TextColor.

func (*CaptionStyleModel) GetTextFont

func (s *CaptionStyleModel) GetTextFont() OptNilString

GetTextFont returns the value of TextFont.

func (*CaptionStyleModel) GetTextScale

func (s *CaptionStyleModel) GetTextScale() OptNilFloat64

GetTextScale returns the value of TextScale.

func (*CaptionStyleModel) GetTextStyle

GetTextStyle returns the value of TextStyle.

func (*CaptionStyleModel) GetTextWeight

GetTextWeight returns the value of TextWeight.

func (*CaptionStyleModel) GetVerticalPlacement

func (s *CaptionStyleModel) GetVerticalPlacement() OptCaptionStyleVerticalPlacementModel

GetVerticalPlacement returns the value of VerticalPlacement.

func (*CaptionStyleModel) GetWidthPct

func (s *CaptionStyleModel) GetWidthPct() OptNilFloat64

GetWidthPct returns the value of WidthPct.

func (*CaptionStyleModel) GetWordAnimation

GetWordAnimation returns the value of WordAnimation.

func (*CaptionStyleModel) GetWordHighlightsBackgroundColor

func (s *CaptionStyleModel) GetWordHighlightsBackgroundColor() OptNilString

GetWordHighlightsBackgroundColor returns the value of WordHighlightsBackgroundColor.

func (*CaptionStyleModel) GetWordHighlightsColor

func (s *CaptionStyleModel) GetWordHighlightsColor() OptNilString

GetWordHighlightsColor returns the value of WordHighlightsColor.

func (*CaptionStyleModel) GetWordHighlightsEnabled

func (s *CaptionStyleModel) GetWordHighlightsEnabled() OptNilBool

GetWordHighlightsEnabled returns the value of WordHighlightsEnabled.

func (*CaptionStyleModel) GetWordHighlightsOpacity

func (s *CaptionStyleModel) GetWordHighlightsOpacity() OptNilFloat64

GetWordHighlightsOpacity returns the value of WordHighlightsOpacity.

func (*CaptionStyleModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CaptionStyleModel) SetAutoBreakEnabled

func (s *CaptionStyleModel) SetAutoBreakEnabled(val OptNilBool)

SetAutoBreakEnabled sets the value of AutoBreakEnabled.

func (*CaptionStyleModel) SetBackgroundColor

func (s *CaptionStyleModel) SetBackgroundColor(val OptNilString)

SetBackgroundColor sets the value of BackgroundColor.

func (*CaptionStyleModel) SetBackgroundEnabled

func (s *CaptionStyleModel) SetBackgroundEnabled(val OptNilBool)

SetBackgroundEnabled sets the value of BackgroundEnabled.

func (*CaptionStyleModel) SetBackgroundOpacity

func (s *CaptionStyleModel) SetBackgroundOpacity(val OptNilFloat64)

SetBackgroundOpacity sets the value of BackgroundOpacity.

func (*CaptionStyleModel) SetCharacterAnimation

func (s *CaptionStyleModel) SetCharacterAnimation(val OptCaptionStyleCharacterAnimationModel)

SetCharacterAnimation sets the value of CharacterAnimation.

func (*CaptionStyleModel) SetHorizontalPlacement

func (s *CaptionStyleModel) SetHorizontalPlacement(val OptCaptionStyleHorizontalPlacementModel)

SetHorizontalPlacement sets the value of HorizontalPlacement.

func (*CaptionStyleModel) SetMaxLinesPerSection

func (s *CaptionStyleModel) SetMaxLinesPerSection(val OptNilInt)

SetMaxLinesPerSection sets the value of MaxLinesPerSection.

func (*CaptionStyleModel) SetMaxWordsPerLine

func (s *CaptionStyleModel) SetMaxWordsPerLine(val OptNilInt)

SetMaxWordsPerLine sets the value of MaxWordsPerLine.

func (*CaptionStyleModel) SetSectionAnimation

func (s *CaptionStyleModel) SetSectionAnimation(val OptCaptionStyleSectionAnimationModel)

SetSectionAnimation sets the value of SectionAnimation.

func (*CaptionStyleModel) SetTemplate

func (s *CaptionStyleModel) SetTemplate(val OptCaptionStyleTemplateModel)

SetTemplate sets the value of Template.

func (*CaptionStyleModel) SetTextAlign

SetTextAlign sets the value of TextAlign.

func (*CaptionStyleModel) SetTextColor

func (s *CaptionStyleModel) SetTextColor(val OptNilString)

SetTextColor sets the value of TextColor.

func (*CaptionStyleModel) SetTextFont

func (s *CaptionStyleModel) SetTextFont(val OptNilString)

SetTextFont sets the value of TextFont.

func (*CaptionStyleModel) SetTextScale

func (s *CaptionStyleModel) SetTextScale(val OptNilFloat64)

SetTextScale sets the value of TextScale.

func (*CaptionStyleModel) SetTextStyle

SetTextStyle sets the value of TextStyle.

func (*CaptionStyleModel) SetTextWeight

SetTextWeight sets the value of TextWeight.

func (*CaptionStyleModel) SetVerticalPlacement

func (s *CaptionStyleModel) SetVerticalPlacement(val OptCaptionStyleVerticalPlacementModel)

SetVerticalPlacement sets the value of VerticalPlacement.

func (*CaptionStyleModel) SetWidthPct

func (s *CaptionStyleModel) SetWidthPct(val OptNilFloat64)

SetWidthPct sets the value of WidthPct.

func (*CaptionStyleModel) SetWordAnimation

func (s *CaptionStyleModel) SetWordAnimation(val OptCaptionStyleWordAnimationModel)

SetWordAnimation sets the value of WordAnimation.

func (*CaptionStyleModel) SetWordHighlightsBackgroundColor

func (s *CaptionStyleModel) SetWordHighlightsBackgroundColor(val OptNilString)

SetWordHighlightsBackgroundColor sets the value of WordHighlightsBackgroundColor.

func (*CaptionStyleModel) SetWordHighlightsColor

func (s *CaptionStyleModel) SetWordHighlightsColor(val OptNilString)

SetWordHighlightsColor sets the value of WordHighlightsColor.

func (*CaptionStyleModel) SetWordHighlightsEnabled

func (s *CaptionStyleModel) SetWordHighlightsEnabled(val OptNilBool)

SetWordHighlightsEnabled sets the value of WordHighlightsEnabled.

func (*CaptionStyleModel) SetWordHighlightsOpacity

func (s *CaptionStyleModel) SetWordHighlightsOpacity(val OptNilFloat64)

SetWordHighlightsOpacity sets the value of WordHighlightsOpacity.

func (*CaptionStyleModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CaptionStyleModel) Validate

func (s *CaptionStyleModel) Validate() error

type CaptionStyleModelTextAlign

type CaptionStyleModelTextAlign string
const (
	CaptionStyleModelTextAlignStart  CaptionStyleModelTextAlign = "start"
	CaptionStyleModelTextAlignCenter CaptionStyleModelTextAlign = "center"
	CaptionStyleModelTextAlignEnd    CaptionStyleModelTextAlign = "end"
)

func (CaptionStyleModelTextAlign) AllValues

AllValues returns all CaptionStyleModelTextAlign values.

func (*CaptionStyleModelTextAlign) Decode

Decode decodes CaptionStyleModelTextAlign from json.

func (CaptionStyleModelTextAlign) Encode

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

Encode encodes CaptionStyleModelTextAlign as json.

func (CaptionStyleModelTextAlign) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CaptionStyleModelTextAlign) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CaptionStyleModelTextAlign) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CaptionStyleModelTextAlign) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CaptionStyleModelTextAlign) Validate

func (s CaptionStyleModelTextAlign) Validate() error

type CaptionStyleModelTextStyle

type CaptionStyleModelTextStyle string
const (
	CaptionStyleModelTextStyleNormal CaptionStyleModelTextStyle = "normal"
	CaptionStyleModelTextStyleItalic CaptionStyleModelTextStyle = "italic"
)

func (CaptionStyleModelTextStyle) AllValues

AllValues returns all CaptionStyleModelTextStyle values.

func (*CaptionStyleModelTextStyle) Decode

Decode decodes CaptionStyleModelTextStyle from json.

func (CaptionStyleModelTextStyle) Encode

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

Encode encodes CaptionStyleModelTextStyle as json.

func (CaptionStyleModelTextStyle) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CaptionStyleModelTextStyle) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CaptionStyleModelTextStyle) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CaptionStyleModelTextStyle) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CaptionStyleModelTextStyle) Validate

func (s CaptionStyleModelTextStyle) Validate() error

type CaptionStyleModelTextWeight

type CaptionStyleModelTextWeight string
const (
	CaptionStyleModelTextWeightNormal CaptionStyleModelTextWeight = "normal"
	CaptionStyleModelTextWeightBold   CaptionStyleModelTextWeight = "bold"
)

func (CaptionStyleModelTextWeight) AllValues

AllValues returns all CaptionStyleModelTextWeight values.

func (*CaptionStyleModelTextWeight) Decode

Decode decodes CaptionStyleModelTextWeight from json.

func (CaptionStyleModelTextWeight) Encode

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

Encode encodes CaptionStyleModelTextWeight as json.

func (CaptionStyleModelTextWeight) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CaptionStyleModelTextWeight) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CaptionStyleModelTextWeight) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CaptionStyleModelTextWeight) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CaptionStyleModelTextWeight) Validate

func (s CaptionStyleModelTextWeight) Validate() error

type CaptionStyleSectionAnimationModel

type CaptionStyleSectionAnimationModel struct {
	EnterType CaptionStyleSectionAnimationModelEnterType `json:"enter_type"`
	ExitType  CaptionStyleSectionAnimationModelExitType  `json:"exit_type"`
}

Ref: #/components/schemas/CaptionStyleSectionAnimationModel

func (*CaptionStyleSectionAnimationModel) Decode

Decode decodes CaptionStyleSectionAnimationModel from json.

func (*CaptionStyleSectionAnimationModel) Encode

Encode implements json.Marshaler.

func (*CaptionStyleSectionAnimationModel) GetEnterType

GetEnterType returns the value of EnterType.

func (*CaptionStyleSectionAnimationModel) GetExitType

GetExitType returns the value of ExitType.

func (*CaptionStyleSectionAnimationModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CaptionStyleSectionAnimationModel) SetEnterType

SetEnterType sets the value of EnterType.

func (*CaptionStyleSectionAnimationModel) SetExitType

SetExitType sets the value of ExitType.

func (*CaptionStyleSectionAnimationModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CaptionStyleSectionAnimationModel) Validate

type CaptionStyleSectionAnimationModelEnterType

type CaptionStyleSectionAnimationModelEnterType string
const (
	CaptionStyleSectionAnimationModelEnterTypeNone  CaptionStyleSectionAnimationModelEnterType = "none"
	CaptionStyleSectionAnimationModelEnterTypeFade  CaptionStyleSectionAnimationModelEnterType = "fade"
	CaptionStyleSectionAnimationModelEnterTypeScale CaptionStyleSectionAnimationModelEnterType = "scale"
)

func (CaptionStyleSectionAnimationModelEnterType) AllValues

AllValues returns all CaptionStyleSectionAnimationModelEnterType values.

func (*CaptionStyleSectionAnimationModelEnterType) Decode

Decode decodes CaptionStyleSectionAnimationModelEnterType from json.

func (CaptionStyleSectionAnimationModelEnterType) Encode

Encode encodes CaptionStyleSectionAnimationModelEnterType as json.

func (CaptionStyleSectionAnimationModelEnterType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (CaptionStyleSectionAnimationModelEnterType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*CaptionStyleSectionAnimationModelEnterType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CaptionStyleSectionAnimationModelEnterType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CaptionStyleSectionAnimationModelEnterType) Validate

type CaptionStyleSectionAnimationModelExitType

type CaptionStyleSectionAnimationModelExitType string
const (
	CaptionStyleSectionAnimationModelExitTypeNone  CaptionStyleSectionAnimationModelExitType = "none"
	CaptionStyleSectionAnimationModelExitTypeFade  CaptionStyleSectionAnimationModelExitType = "fade"
	CaptionStyleSectionAnimationModelExitTypeScale CaptionStyleSectionAnimationModelExitType = "scale"
)

func (CaptionStyleSectionAnimationModelExitType) AllValues

AllValues returns all CaptionStyleSectionAnimationModelExitType values.

func (*CaptionStyleSectionAnimationModelExitType) Decode

Decode decodes CaptionStyleSectionAnimationModelExitType from json.

func (CaptionStyleSectionAnimationModelExitType) Encode

Encode encodes CaptionStyleSectionAnimationModelExitType as json.

func (CaptionStyleSectionAnimationModelExitType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (CaptionStyleSectionAnimationModelExitType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*CaptionStyleSectionAnimationModelExitType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CaptionStyleSectionAnimationModelExitType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CaptionStyleSectionAnimationModelExitType) Validate

type CaptionStyleTemplateModel

type CaptionStyleTemplateModel struct {
	Key             string  `json:"key"`
	Label           string  `json:"label"`
	RequiresHighFps OptBool `json:"requires_high_fps"`
}

Ref: #/components/schemas/CaptionStyleTemplateModel

func (*CaptionStyleTemplateModel) Decode

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

Decode decodes CaptionStyleTemplateModel from json.

func (*CaptionStyleTemplateModel) Encode

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

Encode implements json.Marshaler.

func (*CaptionStyleTemplateModel) GetKey

func (s *CaptionStyleTemplateModel) GetKey() string

GetKey returns the value of Key.

func (*CaptionStyleTemplateModel) GetLabel

func (s *CaptionStyleTemplateModel) GetLabel() string

GetLabel returns the value of Label.

func (*CaptionStyleTemplateModel) GetRequiresHighFps

func (s *CaptionStyleTemplateModel) GetRequiresHighFps() OptBool

GetRequiresHighFps returns the value of RequiresHighFps.

func (*CaptionStyleTemplateModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CaptionStyleTemplateModel) SetKey

func (s *CaptionStyleTemplateModel) SetKey(val string)

SetKey sets the value of Key.

func (*CaptionStyleTemplateModel) SetLabel

func (s *CaptionStyleTemplateModel) SetLabel(val string)

SetLabel sets the value of Label.

func (*CaptionStyleTemplateModel) SetRequiresHighFps

func (s *CaptionStyleTemplateModel) SetRequiresHighFps(val OptBool)

SetRequiresHighFps sets the value of RequiresHighFps.

func (*CaptionStyleTemplateModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CaptionStyleVerticalPlacementModel

type CaptionStyleVerticalPlacementModel struct {
	Align        CaptionStyleVerticalPlacementModelAlign `json:"align"`
	TranslatePct float64                                 `json:"translate_pct"`
}

Ref: #/components/schemas/CaptionStyleVerticalPlacementModel

func (*CaptionStyleVerticalPlacementModel) Decode

Decode decodes CaptionStyleVerticalPlacementModel from json.

func (*CaptionStyleVerticalPlacementModel) Encode

Encode implements json.Marshaler.

func (*CaptionStyleVerticalPlacementModel) GetAlign

GetAlign returns the value of Align.

func (*CaptionStyleVerticalPlacementModel) GetTranslatePct

func (s *CaptionStyleVerticalPlacementModel) GetTranslatePct() float64

GetTranslatePct returns the value of TranslatePct.

func (*CaptionStyleVerticalPlacementModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CaptionStyleVerticalPlacementModel) SetAlign

SetAlign sets the value of Align.

func (*CaptionStyleVerticalPlacementModel) SetTranslatePct

func (s *CaptionStyleVerticalPlacementModel) SetTranslatePct(val float64)

SetTranslatePct sets the value of TranslatePct.

func (*CaptionStyleVerticalPlacementModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CaptionStyleVerticalPlacementModel) Validate

type CaptionStyleVerticalPlacementModelAlign

type CaptionStyleVerticalPlacementModelAlign string
const (
	CaptionStyleVerticalPlacementModelAlignTop    CaptionStyleVerticalPlacementModelAlign = "top"
	CaptionStyleVerticalPlacementModelAlignCenter CaptionStyleVerticalPlacementModelAlign = "center"
	CaptionStyleVerticalPlacementModelAlignBottom CaptionStyleVerticalPlacementModelAlign = "bottom"
)

func (CaptionStyleVerticalPlacementModelAlign) AllValues

AllValues returns all CaptionStyleVerticalPlacementModelAlign values.

func (*CaptionStyleVerticalPlacementModelAlign) Decode

Decode decodes CaptionStyleVerticalPlacementModelAlign from json.

func (CaptionStyleVerticalPlacementModelAlign) Encode

Encode encodes CaptionStyleVerticalPlacementModelAlign as json.

func (CaptionStyleVerticalPlacementModelAlign) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CaptionStyleVerticalPlacementModelAlign) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CaptionStyleVerticalPlacementModelAlign) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CaptionStyleVerticalPlacementModelAlign) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CaptionStyleVerticalPlacementModelAlign) Validate

type CaptionStyleWordAnimationModel

type CaptionStyleWordAnimationModel struct {
	EnterType CaptionStyleWordAnimationModelEnterType `json:"enter_type"`
	ExitType  CaptionStyleWordAnimationModelExitType  `json:"exit_type"`
}

Ref: #/components/schemas/CaptionStyleWordAnimationModel

func (*CaptionStyleWordAnimationModel) Decode

Decode decodes CaptionStyleWordAnimationModel from json.

func (*CaptionStyleWordAnimationModel) Encode

Encode implements json.Marshaler.

func (*CaptionStyleWordAnimationModel) GetEnterType

GetEnterType returns the value of EnterType.

func (*CaptionStyleWordAnimationModel) GetExitType

GetExitType returns the value of ExitType.

func (*CaptionStyleWordAnimationModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CaptionStyleWordAnimationModel) SetEnterType

SetEnterType sets the value of EnterType.

func (*CaptionStyleWordAnimationModel) SetExitType

SetExitType sets the value of ExitType.

func (*CaptionStyleWordAnimationModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CaptionStyleWordAnimationModel) Validate

func (s *CaptionStyleWordAnimationModel) Validate() error

type CaptionStyleWordAnimationModelEnterType

type CaptionStyleWordAnimationModelEnterType string
const (
	CaptionStyleWordAnimationModelEnterTypeNone  CaptionStyleWordAnimationModelEnterType = "none"
	CaptionStyleWordAnimationModelEnterTypeFade  CaptionStyleWordAnimationModelEnterType = "fade"
	CaptionStyleWordAnimationModelEnterTypeScale CaptionStyleWordAnimationModelEnterType = "scale"
)

func (CaptionStyleWordAnimationModelEnterType) AllValues

AllValues returns all CaptionStyleWordAnimationModelEnterType values.

func (*CaptionStyleWordAnimationModelEnterType) Decode

Decode decodes CaptionStyleWordAnimationModelEnterType from json.

func (CaptionStyleWordAnimationModelEnterType) Encode

Encode encodes CaptionStyleWordAnimationModelEnterType as json.

func (CaptionStyleWordAnimationModelEnterType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CaptionStyleWordAnimationModelEnterType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CaptionStyleWordAnimationModelEnterType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CaptionStyleWordAnimationModelEnterType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CaptionStyleWordAnimationModelEnterType) Validate

type CaptionStyleWordAnimationModelExitType

type CaptionStyleWordAnimationModelExitType string
const (
	CaptionStyleWordAnimationModelExitTypeNone  CaptionStyleWordAnimationModelExitType = "none"
	CaptionStyleWordAnimationModelExitTypeFade  CaptionStyleWordAnimationModelExitType = "fade"
	CaptionStyleWordAnimationModelExitTypeScale CaptionStyleWordAnimationModelExitType = "scale"
)

func (CaptionStyleWordAnimationModelExitType) AllValues

AllValues returns all CaptionStyleWordAnimationModelExitType values.

func (*CaptionStyleWordAnimationModelExitType) Decode

Decode decodes CaptionStyleWordAnimationModelExitType from json.

func (CaptionStyleWordAnimationModelExitType) Encode

Encode encodes CaptionStyleWordAnimationModelExitType as json.

func (CaptionStyleWordAnimationModelExitType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CaptionStyleWordAnimationModelExitType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CaptionStyleWordAnimationModelExitType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CaptionStyleWordAnimationModelExitType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CaptionStyleWordAnimationModelExitType) Validate

type ChapterResponseModel

type ChapterResponseModel struct {
	// Whether the chapter can be downloaded.
	CanBeDownloaded bool `json:"can_be_downloaded"`
	// The ID of the chapter.
	ChapterID string `json:"chapter_id"`
	// The conversion progress of the chapter.
	ConversionProgress OptNilFloat64 `json:"conversion_progress"`
	// Whether the chapter has a video.
	HasVideo OptNilBool `json:"has_video"`
	// The last conversion date of the chapter.
	LastConversionDateUnix OptNilInt `json:"last_conversion_date_unix"`
	// The last conversion error of the chapter.
	LastConversionError OptNilString `json:"last_conversion_error"`
	// The name of the chapter.
	Name string `json:"name"`
	// The state of the chapter.
	State ChapterResponseModelState `json:"state"`
	// The statistics of the chapter.
	Statistics OptChapterStatisticsResponseModel `json:"statistics"`
	// List of voice ids used by the chapter.
	VoiceIds OptNilStringArray `json:"voice_ids"`
}

Ref: #/components/schemas/ChapterResponseModel

func (*ChapterResponseModel) Decode

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

Decode decodes ChapterResponseModel from json.

func (*ChapterResponseModel) Encode

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

Encode implements json.Marshaler.

func (*ChapterResponseModel) GetCanBeDownloaded

func (s *ChapterResponseModel) GetCanBeDownloaded() bool

GetCanBeDownloaded returns the value of CanBeDownloaded.

func (*ChapterResponseModel) GetChapterID

func (s *ChapterResponseModel) GetChapterID() string

GetChapterID returns the value of ChapterID.

func (*ChapterResponseModel) GetConversionProgress

func (s *ChapterResponseModel) GetConversionProgress() OptNilFloat64

GetConversionProgress returns the value of ConversionProgress.

func (*ChapterResponseModel) GetHasVideo

func (s *ChapterResponseModel) GetHasVideo() OptNilBool

GetHasVideo returns the value of HasVideo.

func (*ChapterResponseModel) GetLastConversionDateUnix

func (s *ChapterResponseModel) GetLastConversionDateUnix() OptNilInt

GetLastConversionDateUnix returns the value of LastConversionDateUnix.

func (*ChapterResponseModel) GetLastConversionError

func (s *ChapterResponseModel) GetLastConversionError() OptNilString

GetLastConversionError returns the value of LastConversionError.

func (*ChapterResponseModel) GetName

func (s *ChapterResponseModel) GetName() string

GetName returns the value of Name.

func (*ChapterResponseModel) GetState

GetState returns the value of State.

func (*ChapterResponseModel) GetStatistics

GetStatistics returns the value of Statistics.

func (*ChapterResponseModel) GetVoiceIds

func (s *ChapterResponseModel) GetVoiceIds() OptNilStringArray

GetVoiceIds returns the value of VoiceIds.

func (*ChapterResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChapterResponseModel) SetCanBeDownloaded

func (s *ChapterResponseModel) SetCanBeDownloaded(val bool)

SetCanBeDownloaded sets the value of CanBeDownloaded.

func (*ChapterResponseModel) SetChapterID

func (s *ChapterResponseModel) SetChapterID(val string)

SetChapterID sets the value of ChapterID.

func (*ChapterResponseModel) SetConversionProgress

func (s *ChapterResponseModel) SetConversionProgress(val OptNilFloat64)

SetConversionProgress sets the value of ConversionProgress.

func (*ChapterResponseModel) SetHasVideo

func (s *ChapterResponseModel) SetHasVideo(val OptNilBool)

SetHasVideo sets the value of HasVideo.

func (*ChapterResponseModel) SetLastConversionDateUnix

func (s *ChapterResponseModel) SetLastConversionDateUnix(val OptNilInt)

SetLastConversionDateUnix sets the value of LastConversionDateUnix.

func (*ChapterResponseModel) SetLastConversionError

func (s *ChapterResponseModel) SetLastConversionError(val OptNilString)

SetLastConversionError sets the value of LastConversionError.

func (*ChapterResponseModel) SetName

func (s *ChapterResponseModel) SetName(val string)

SetName sets the value of Name.

func (*ChapterResponseModel) SetState

SetState sets the value of State.

func (*ChapterResponseModel) SetStatistics

SetStatistics sets the value of Statistics.

func (*ChapterResponseModel) SetVoiceIds

func (s *ChapterResponseModel) SetVoiceIds(val OptNilStringArray)

SetVoiceIds sets the value of VoiceIds.

func (*ChapterResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ChapterResponseModel) Validate

func (s *ChapterResponseModel) Validate() error

type ChapterResponseModelState

type ChapterResponseModelState string

The state of the chapter.

const (
	ChapterResponseModelStateDefault    ChapterResponseModelState = "default"
	ChapterResponseModelStateConverting ChapterResponseModelState = "converting"
)

func (ChapterResponseModelState) AllValues

AllValues returns all ChapterResponseModelState values.

func (*ChapterResponseModelState) Decode

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

Decode decodes ChapterResponseModelState from json.

func (ChapterResponseModelState) Encode

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

Encode encodes ChapterResponseModelState as json.

func (ChapterResponseModelState) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (ChapterResponseModelState) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ChapterResponseModelState) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ChapterResponseModelState) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ChapterResponseModelState) Validate

func (s ChapterResponseModelState) Validate() error

type ChapterSnapshotExtendedResponseModel

type ChapterSnapshotExtendedResponseModel struct {
	// The ID of the chapter.
	ChapterID string `json:"chapter_id"`
	// The ID of the chapter snapshot.
	ChapterSnapshotID   string                    `json:"chapter_snapshot_id"`
	CharacterAlignments []CharacterAlignmentModel `json:"character_alignments"`
	// The creation date of the chapter snapshot.
	CreatedAtUnix int `json:"created_at_unix"`
	// The name of the chapter snapshot.
	Name string `json:"name"`
	// The ID of the project.
	ProjectID string `json:"project_id"`
}

Ref: #/components/schemas/ChapterSnapshotExtendedResponseModel

func (*ChapterSnapshotExtendedResponseModel) Decode

Decode decodes ChapterSnapshotExtendedResponseModel from json.

func (*ChapterSnapshotExtendedResponseModel) Encode

Encode implements json.Marshaler.

func (*ChapterSnapshotExtendedResponseModel) GetChapterID

func (s *ChapterSnapshotExtendedResponseModel) GetChapterID() string

GetChapterID returns the value of ChapterID.

func (*ChapterSnapshotExtendedResponseModel) GetChapterSnapshotID

func (s *ChapterSnapshotExtendedResponseModel) GetChapterSnapshotID() string

GetChapterSnapshotID returns the value of ChapterSnapshotID.

func (*ChapterSnapshotExtendedResponseModel) GetCharacterAlignments

func (s *ChapterSnapshotExtendedResponseModel) GetCharacterAlignments() []CharacterAlignmentModel

GetCharacterAlignments returns the value of CharacterAlignments.

func (*ChapterSnapshotExtendedResponseModel) GetCreatedAtUnix

func (s *ChapterSnapshotExtendedResponseModel) GetCreatedAtUnix() int

GetCreatedAtUnix returns the value of CreatedAtUnix.

func (*ChapterSnapshotExtendedResponseModel) GetName

GetName returns the value of Name.

func (*ChapterSnapshotExtendedResponseModel) GetProjectID

func (s *ChapterSnapshotExtendedResponseModel) GetProjectID() string

GetProjectID returns the value of ProjectID.

func (*ChapterSnapshotExtendedResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChapterSnapshotExtendedResponseModel) SetChapterID

func (s *ChapterSnapshotExtendedResponseModel) SetChapterID(val string)

SetChapterID sets the value of ChapterID.

func (*ChapterSnapshotExtendedResponseModel) SetChapterSnapshotID

func (s *ChapterSnapshotExtendedResponseModel) SetChapterSnapshotID(val string)

SetChapterSnapshotID sets the value of ChapterSnapshotID.

func (*ChapterSnapshotExtendedResponseModel) SetCharacterAlignments

func (s *ChapterSnapshotExtendedResponseModel) SetCharacterAlignments(val []CharacterAlignmentModel)

SetCharacterAlignments sets the value of CharacterAlignments.

func (*ChapterSnapshotExtendedResponseModel) SetCreatedAtUnix

func (s *ChapterSnapshotExtendedResponseModel) SetCreatedAtUnix(val int)

SetCreatedAtUnix sets the value of CreatedAtUnix.

func (*ChapterSnapshotExtendedResponseModel) SetName

SetName sets the value of Name.

func (*ChapterSnapshotExtendedResponseModel) SetProjectID

func (s *ChapterSnapshotExtendedResponseModel) SetProjectID(val string)

SetProjectID sets the value of ProjectID.

func (*ChapterSnapshotExtendedResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ChapterSnapshotExtendedResponseModel) Validate

type ChapterSnapshotResponseModel

type ChapterSnapshotResponseModel struct {
	// The ID of the chapter.
	ChapterID string `json:"chapter_id"`
	// The ID of the chapter snapshot.
	ChapterSnapshotID string `json:"chapter_snapshot_id"`
	// The creation date of the chapter snapshot.
	CreatedAtUnix int `json:"created_at_unix"`
	// The name of the chapter snapshot.
	Name string `json:"name"`
	// The ID of the project.
	ProjectID string `json:"project_id"`
}

Ref: #/components/schemas/ChapterSnapshotResponseModel

func (*ChapterSnapshotResponseModel) Decode

Decode decodes ChapterSnapshotResponseModel from json.

func (*ChapterSnapshotResponseModel) Encode

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

Encode implements json.Marshaler.

func (*ChapterSnapshotResponseModel) GetChapterID

func (s *ChapterSnapshotResponseModel) GetChapterID() string

GetChapterID returns the value of ChapterID.

func (*ChapterSnapshotResponseModel) GetChapterSnapshotID

func (s *ChapterSnapshotResponseModel) GetChapterSnapshotID() string

GetChapterSnapshotID returns the value of ChapterSnapshotID.

func (*ChapterSnapshotResponseModel) GetCreatedAtUnix

func (s *ChapterSnapshotResponseModel) GetCreatedAtUnix() int

GetCreatedAtUnix returns the value of CreatedAtUnix.

func (*ChapterSnapshotResponseModel) GetName

func (s *ChapterSnapshotResponseModel) GetName() string

GetName returns the value of Name.

func (*ChapterSnapshotResponseModel) GetProjectID

func (s *ChapterSnapshotResponseModel) GetProjectID() string

GetProjectID returns the value of ProjectID.

func (*ChapterSnapshotResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChapterSnapshotResponseModel) SetChapterID

func (s *ChapterSnapshotResponseModel) SetChapterID(val string)

SetChapterID sets the value of ChapterID.

func (*ChapterSnapshotResponseModel) SetChapterSnapshotID

func (s *ChapterSnapshotResponseModel) SetChapterSnapshotID(val string)

SetChapterSnapshotID sets the value of ChapterSnapshotID.

func (*ChapterSnapshotResponseModel) SetCreatedAtUnix

func (s *ChapterSnapshotResponseModel) SetCreatedAtUnix(val int)

SetCreatedAtUnix sets the value of CreatedAtUnix.

func (*ChapterSnapshotResponseModel) SetName

func (s *ChapterSnapshotResponseModel) SetName(val string)

SetName sets the value of Name.

func (*ChapterSnapshotResponseModel) SetProjectID

func (s *ChapterSnapshotResponseModel) SetProjectID(val string)

SetProjectID sets the value of ProjectID.

func (*ChapterSnapshotResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ChapterSnapshotsResponseModel

type ChapterSnapshotsResponseModel struct {
	// List of chapter snapshots.
	Snapshots []ChapterSnapshotResponseModel `json:"snapshots"`
}

Ref: #/components/schemas/ChapterSnapshotsResponseModel

func (*ChapterSnapshotsResponseModel) Decode

Decode decodes ChapterSnapshotsResponseModel from json.

func (*ChapterSnapshotsResponseModel) Encode

Encode implements json.Marshaler.

func (*ChapterSnapshotsResponseModel) GetSnapshots

GetSnapshots returns the value of Snapshots.

func (*ChapterSnapshotsResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChapterSnapshotsResponseModel) SetSnapshots

SetSnapshots sets the value of Snapshots.

func (*ChapterSnapshotsResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ChapterSnapshotsResponseModel) Validate

func (s *ChapterSnapshotsResponseModel) Validate() error

type ChapterStatisticsResponseModel

type ChapterStatisticsResponseModel struct {
	// The number of converted characters.
	CharactersConverted int `json:"characters_converted"`
	// The number of unconverted characters.
	CharactersUnconverted int `json:"characters_unconverted"`
	// The number of converted paragraphs.
	ParagraphsConverted int `json:"paragraphs_converted"`
	// The number of unconverted paragraphs.
	ParagraphsUnconverted int `json:"paragraphs_unconverted"`
}

Ref: #/components/schemas/ChapterStatisticsResponseModel

func (*ChapterStatisticsResponseModel) Decode

Decode decodes ChapterStatisticsResponseModel from json.

func (*ChapterStatisticsResponseModel) Encode

Encode implements json.Marshaler.

func (*ChapterStatisticsResponseModel) GetCharactersConverted

func (s *ChapterStatisticsResponseModel) GetCharactersConverted() int

GetCharactersConverted returns the value of CharactersConverted.

func (*ChapterStatisticsResponseModel) GetCharactersUnconverted

func (s *ChapterStatisticsResponseModel) GetCharactersUnconverted() int

GetCharactersUnconverted returns the value of CharactersUnconverted.

func (*ChapterStatisticsResponseModel) GetParagraphsConverted

func (s *ChapterStatisticsResponseModel) GetParagraphsConverted() int

GetParagraphsConverted returns the value of ParagraphsConverted.

func (*ChapterStatisticsResponseModel) GetParagraphsUnconverted

func (s *ChapterStatisticsResponseModel) GetParagraphsUnconverted() int

GetParagraphsUnconverted returns the value of ParagraphsUnconverted.

func (*ChapterStatisticsResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChapterStatisticsResponseModel) SetCharactersConverted

func (s *ChapterStatisticsResponseModel) SetCharactersConverted(val int)

SetCharactersConverted sets the value of CharactersConverted.

func (*ChapterStatisticsResponseModel) SetCharactersUnconverted

func (s *ChapterStatisticsResponseModel) SetCharactersUnconverted(val int)

SetCharactersUnconverted sets the value of CharactersUnconverted.

func (*ChapterStatisticsResponseModel) SetParagraphsConverted

func (s *ChapterStatisticsResponseModel) SetParagraphsConverted(val int)

SetParagraphsConverted sets the value of ParagraphsConverted.

func (*ChapterStatisticsResponseModel) SetParagraphsUnconverted

func (s *ChapterStatisticsResponseModel) SetParagraphsUnconverted(val int)

SetParagraphsUnconverted sets the value of ParagraphsUnconverted.

func (*ChapterStatisticsResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CharacterAlignmentModel

type CharacterAlignmentModel struct {
	CharacterEndTimesSeconds   []float64 `json:"character_end_times_seconds"`
	CharacterStartTimesSeconds []float64 `json:"character_start_times_seconds"`
	Characters                 []string  `json:"characters"`
}

Ref: #/components/schemas/CharacterAlignmentModel

func (*CharacterAlignmentModel) Decode

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

Decode decodes CharacterAlignmentModel from json.

func (*CharacterAlignmentModel) Encode

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

Encode implements json.Marshaler.

func (*CharacterAlignmentModel) GetCharacterEndTimesSeconds

func (s *CharacterAlignmentModel) GetCharacterEndTimesSeconds() []float64

GetCharacterEndTimesSeconds returns the value of CharacterEndTimesSeconds.

func (*CharacterAlignmentModel) GetCharacterStartTimesSeconds

func (s *CharacterAlignmentModel) GetCharacterStartTimesSeconds() []float64

GetCharacterStartTimesSeconds returns the value of CharacterStartTimesSeconds.

func (*CharacterAlignmentModel) GetCharacters

func (s *CharacterAlignmentModel) GetCharacters() []string

GetCharacters returns the value of Characters.

func (*CharacterAlignmentModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CharacterAlignmentModel) SetCharacterEndTimesSeconds

func (s *CharacterAlignmentModel) SetCharacterEndTimesSeconds(val []float64)

SetCharacterEndTimesSeconds sets the value of CharacterEndTimesSeconds.

func (*CharacterAlignmentModel) SetCharacterStartTimesSeconds

func (s *CharacterAlignmentModel) SetCharacterStartTimesSeconds(val []float64)

SetCharacterStartTimesSeconds sets the value of CharacterStartTimesSeconds.

func (*CharacterAlignmentModel) SetCharacters

func (s *CharacterAlignmentModel) SetCharacters(val []string)

SetCharacters sets the value of Characters.

func (*CharacterAlignmentModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CharacterAlignmentModel) Validate

func (s *CharacterAlignmentModel) Validate() error

type CharacterAlignmentResponseModel

type CharacterAlignmentResponseModel struct {
	CharacterEndTimesSeconds   []float64 `json:"character_end_times_seconds"`
	CharacterStartTimesSeconds []float64 `json:"character_start_times_seconds"`
	Characters                 []string  `json:"characters"`
}

Ref: #/components/schemas/CharacterAlignmentResponseModel

func (*CharacterAlignmentResponseModel) Decode

Decode decodes CharacterAlignmentResponseModel from json.

func (*CharacterAlignmentResponseModel) Encode

Encode implements json.Marshaler.

func (*CharacterAlignmentResponseModel) GetCharacterEndTimesSeconds

func (s *CharacterAlignmentResponseModel) GetCharacterEndTimesSeconds() []float64

GetCharacterEndTimesSeconds returns the value of CharacterEndTimesSeconds.

func (*CharacterAlignmentResponseModel) GetCharacterStartTimesSeconds

func (s *CharacterAlignmentResponseModel) GetCharacterStartTimesSeconds() []float64

GetCharacterStartTimesSeconds returns the value of CharacterStartTimesSeconds.

func (*CharacterAlignmentResponseModel) GetCharacters

func (s *CharacterAlignmentResponseModel) GetCharacters() []string

GetCharacters returns the value of Characters.

func (*CharacterAlignmentResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CharacterAlignmentResponseModel) SetCharacterEndTimesSeconds

func (s *CharacterAlignmentResponseModel) SetCharacterEndTimesSeconds(val []float64)

SetCharacterEndTimesSeconds sets the value of CharacterEndTimesSeconds.

func (*CharacterAlignmentResponseModel) SetCharacterStartTimesSeconds

func (s *CharacterAlignmentResponseModel) SetCharacterStartTimesSeconds(val []float64)

SetCharacterStartTimesSeconds sets the value of CharacterStartTimesSeconds.

func (*CharacterAlignmentResponseModel) SetCharacters

func (s *CharacterAlignmentResponseModel) SetCharacters(val []string)

SetCharacters sets the value of Characters.

func (*CharacterAlignmentResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CharacterAlignmentResponseModel) Validate

func (s *CharacterAlignmentResponseModel) Validate() error

type CharacterRefreshPeriod

type CharacterRefreshPeriod string

Ref: #/components/schemas/CharacterRefreshPeriod

const (
	CharacterRefreshPeriodMonthlyPeriod CharacterRefreshPeriod = "monthly_period"
	CharacterRefreshPeriod3MonthPeriod  CharacterRefreshPeriod = "3_month_period"
	CharacterRefreshPeriod6MonthPeriod  CharacterRefreshPeriod = "6_month_period"
	CharacterRefreshPeriodAnnualPeriod  CharacterRefreshPeriod = "annual_period"
)

func (CharacterRefreshPeriod) AllValues

AllValues returns all CharacterRefreshPeriod values.

func (*CharacterRefreshPeriod) Decode

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

Decode decodes CharacterRefreshPeriod from json.

func (CharacterRefreshPeriod) Encode

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

Encode encodes CharacterRefreshPeriod as json.

func (CharacterRefreshPeriod) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CharacterRefreshPeriod) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CharacterRefreshPeriod) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CharacterRefreshPeriod) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CharacterRefreshPeriod) Validate

func (s CharacterRefreshPeriod) Validate() error

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client implements OAS client.

func NewClient

func NewClient(serverURL string, opts ...ClientOption) (*Client, error)

NewClient initializes new Client defined by OAS.

func (*Client) AddDocumentationToKnowledgeBase deprecated

AddDocumentationToKnowledgeBase invokes add_documentation_to_knowledge_base operation.

Uploads a file or reference a webpage to use as part of the shared knowledge base.

Deprecated: schema marks this operation as deprecated.

POST /v1/convai/knowledge-base

func (*Client) AddFromFile

AddFromFile invokes add_from_file operation.

Creates a new pronunciation dictionary from a lexicon .PLS file.

POST /v1/pronunciation-dictionaries/add-from-file

func (*Client) AddLanguage

AddLanguage invokes add_language operation.

Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not automatically generate transcripts/translations/audio.

POST /v1/dubbing/resource/{dubbing_id}/language

func (*Client) AddMember

AddMember invokes add_member operation.

Adds a member of your workspace to the specified group. This endpoint may only be called by workspace administrators.

POST /v1/workspace/groups/{group_id}/members

func (*Client) AddProject

AddProject invokes add_project operation.

Creates a new Studio project, it can be either initialized as blank, from a document or from a URL.

POST /v1/studio/projects

func (*Client) AddPvcVoiceSamples

AddPvcVoiceSamples invokes add_pvc_voice_samples operation.

Add audio samples to a PVC voice.

POST /v1/voices/pvc/{voice_id}/samples

func (*Client) AddSharingVoice

AddSharingVoice invokes add_sharing_voice operation.

Add a shared voice to your collection of voices.

POST /v1/voices/add/{public_user_id}/{voice_id}

func (*Client) AddVoice

AddVoice invokes add_voice operation.

Add a new voice to your collection of voices in VoiceLab.

POST /v1/voices/add

func (*Client) AudioIsolation

AudioIsolation invokes audio_isolation operation.

Removes background noise from audio.

POST /v1/audio-isolation

func (*Client) AudioIsolationStream

AudioIsolationStream invokes audio_isolation_stream operation.

Removes background noise from audio and streams the result.

POST /v1/audio-isolation/stream

func (*Client) AudioNativeProjectUpdateContentEndpoint

AudioNativeProjectUpdateContentEndpoint invokes audio_native_project_update_content_endpoint operation.

Updates content for the specific AudioNative Project.

POST /v1/audio-native/{project_id}/content

func (*Client) CancelBatchCall

func (c *Client) CancelBatchCall(ctx context.Context, params CancelBatchCallParams) (CancelBatchCallRes, error)

CancelBatchCall invokes cancel_batch_call operation.

Cancel a running batch call and set all recipients to cancelled status.

POST /v1/convai/batch-calling/{batch_id}/cancel

func (*Client) ComposeDetailed

ComposeDetailed invokes compose_detailed operation.

Compose a song from a prompt or a composition plan.

POST /v1/music/detailed

func (*Client) ComposePlan

ComposePlan invokes compose_plan operation.

Generate a composition plan from a prompt.

POST /v1/music/plan

func (*Client) ConvertChapterEndpoint

func (c *Client) ConvertChapterEndpoint(ctx context.Context, params ConvertChapterEndpointParams) (ConvertChapterEndpointRes, error)

ConvertChapterEndpoint invokes convert_chapter_endpoint operation.

Starts conversion of a specific chapter.

POST /v1/studio/projects/{project_id}/chapters/{chapter_id}/convert

func (*Client) ConvertProjectEndpoint

func (c *Client) ConvertProjectEndpoint(ctx context.Context, params ConvertProjectEndpointParams) (ConvertProjectEndpointRes, error)

ConvertProjectEndpoint invokes convert_project_endpoint operation.

Starts conversion of a Studio project and all of its chapters.

POST /v1/studio/projects/{project_id}/convert

func (*Client) CreateAgentResponseTestRoute

CreateAgentResponseTestRoute invokes create_agent_response_test_route operation.

Creates a new agent response test.

POST /v1/convai/agent-testing/create

func (*Client) CreateAudioNativeProject

CreateAudioNativeProject invokes create_audio_native_project operation.

Creates Audio Native enabled project, optionally starts conversion and returns project ID and embeddable HTML snippet.

POST /v1/audio-native

func (*Client) CreateBatchCall

CreateBatchCall invokes create_batch_call operation.

Submit a batch call request to schedule calls for multiple recipients.

POST /v1/convai/batch-calling/submit

func (*Client) CreateClip

func (c *Client) CreateClip(ctx context.Context, request *SegmentCreatePayload, params CreateClipParams) (CreateClipRes, error)

CreateClip invokes create_clip operation.

Creates a new segment in dubbing resource with a start and end time for the speaker in every available language. Does not automatically generate transcripts/translations/audio.

POST /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}/segment

func (*Client) CreateDubbing

CreateDubbing invokes create_dubbing operation.

Dubs a provided audio or video file into given language.

POST /v1/dubbing

func (*Client) CreateFileDocumentRoute

CreateFileDocumentRoute invokes create_file_document_route operation.

Create a knowledge base document generated form the uploaded file.

POST /v1/convai/knowledge-base/file

func (*Client) CreatePvcVoice

CreatePvcVoice invokes create_pvc_voice operation.

Creates a new PVC voice with metadata but no samples.

POST /v1/voices/pvc

func (*Client) CreateSecretRoute

CreateSecretRoute invokes create_secret_route operation.

Create a new secret for the workspace.

POST /v1/convai/secrets

func (*Client) CreateServiceAccountAPIKey

CreateServiceAccountAPIKey invokes create_service_account_api_key operation.

Create a new API key for a service account.

POST /v1/service-accounts/{service_account_user_id}/api-keys

func (*Client) CreateSpeaker

CreateSpeaker invokes create_speaker operation.

Create A New Speaker.

POST /v1/dubbing/resource/{dubbing_id}/speaker

func (*Client) CreateTextDocumentRoute

CreateTextDocumentRoute invokes create_text_document_route operation.

Create a knowledge base document containing the provided text.

POST /v1/convai/knowledge-base/text

func (*Client) CreateURLDocumentRoute

CreateURLDocumentRoute invokes create_url_document_route operation.

Create a knowledge base document generated by scraping the given webpage.

POST /v1/convai/knowledge-base/url

func (*Client) CreateVoice

CreateVoice invokes create_voice operation.

Create a voice from previously generated voice preview. This endpoint should be called after you fetched a generated_voice_id using POST /v1/text-to-voice/design or POST /v1/text-to-voice/:voice_id/remix.

POST /v1/text-to-voice

func (*Client) CreateVoiceOld

CreateVoiceOld invokes create_voice_old operation.

Create a previously generated voice. This endpoint should be called after you fetched a generated_voice_id using /v1/voice-generation/generate-voice.

POST /v1/voice-generation/create-voice

func (*Client) CreateWorkspaceWebhookRoute

CreateWorkspaceWebhookRoute invokes create_workspace_webhook_route operation.

Create a new webhook for the workspace with the specified authentication type.

POST /v1/workspace/webhooks

func (*Client) DeleteAgentRoute

func (c *Client) DeleteAgentRoute(ctx context.Context, params DeleteAgentRouteParams) (DeleteAgentRouteRes, error)

DeleteAgentRoute invokes delete_agent_route operation.

Delete an agent.

DELETE /v1/convai/agents/{agent_id}

func (*Client) DeleteChapterEndpoint

func (c *Client) DeleteChapterEndpoint(ctx context.Context, params DeleteChapterEndpointParams) (DeleteChapterEndpointRes, error)

DeleteChapterEndpoint invokes delete_chapter_endpoint operation.

Deletes a chapter.

DELETE /v1/studio/projects/{project_id}/chapters/{chapter_id}

func (*Client) DeleteChatResponseTestRoute

func (c *Client) DeleteChatResponseTestRoute(ctx context.Context, params DeleteChatResponseTestRouteParams) (DeleteChatResponseTestRouteRes, error)

DeleteChatResponseTestRoute invokes delete_chat_response_test_route operation.

Deletes an agent response test by ID.

DELETE /v1/convai/agent-testing/{test_id}

func (*Client) DeleteConversationRoute

func (c *Client) DeleteConversationRoute(ctx context.Context, params DeleteConversationRouteParams) (DeleteConversationRouteRes, error)

DeleteConversationRoute invokes delete_conversation_route operation.

Delete a particular conversation.

DELETE /v1/convai/conversations/{conversation_id}

func (*Client) DeleteDubbing

func (c *Client) DeleteDubbing(ctx context.Context, params DeleteDubbingParams) (DeleteDubbingRes, error)

DeleteDubbing invokes delete_dubbing operation.

Deletes a dubbing project.

DELETE /v1/dubbing/{dubbing_id}

func (*Client) DeleteInvite

DeleteInvite invokes delete_invite operation.

Invalidates an existing email invitation. The invitation will still show up in the inbox it has been delivered to, but activating it to join the workspace won't work. This endpoint may only be called by workspace administrators.

DELETE /v1/workspace/invites

func (*Client) DeleteKnowledgeBaseDocument

func (c *Client) DeleteKnowledgeBaseDocument(ctx context.Context, params DeleteKnowledgeBaseDocumentParams) (DeleteKnowledgeBaseDocumentRes, error)

DeleteKnowledgeBaseDocument invokes delete_knowledge_base_document operation.

Delete a document from the knowledge base.

DELETE /v1/convai/knowledge-base/{documentation_id}

func (*Client) DeleteMcpServerRoute

func (c *Client) DeleteMcpServerRoute(ctx context.Context, params DeleteMcpServerRouteParams) (DeleteMcpServerRouteRes, error)

DeleteMcpServerRoute invokes delete_mcp_server_route operation.

Delete a specific MCP server configuration from the workspace.

DELETE /v1/convai/mcp-servers/{mcp_server_id}

func (*Client) DeletePhoneNumberRoute

func (c *Client) DeletePhoneNumberRoute(ctx context.Context, params DeletePhoneNumberRouteParams) (DeletePhoneNumberRouteRes, error)

DeletePhoneNumberRoute invokes delete_phone_number_route operation.

Delete Phone Number by ID.

DELETE /v1/convai/phone-numbers/{phone_number_id}

func (*Client) DeleteProject

func (c *Client) DeleteProject(ctx context.Context, params DeleteProjectParams) (DeleteProjectRes, error)

DeleteProject invokes delete_project operation.

Deletes a Studio project.

DELETE /v1/studio/projects/{project_id}

func (*Client) DeletePvcVoiceSample

func (c *Client) DeletePvcVoiceSample(ctx context.Context, params DeletePvcVoiceSampleParams) (DeletePvcVoiceSampleRes, error)

DeletePvcVoiceSample invokes delete_pvc_voice_sample operation.

Delete a sample from a PVC voice.

DELETE /v1/voices/pvc/{voice_id}/samples/{sample_id}

func (*Client) DeleteRagIndex

func (c *Client) DeleteRagIndex(ctx context.Context, params DeleteRagIndexParams) (DeleteRagIndexRes, error)

DeleteRagIndex invokes delete_rag_index operation.

Delete RAG index for the knowledgebase document.

DELETE /v1/convai/knowledge-base/{documentation_id}/rag-index/{rag_index_id}

func (*Client) DeleteSample

func (c *Client) DeleteSample(ctx context.Context, params DeleteSampleParams) (DeleteSampleRes, error)

DeleteSample invokes delete_sample operation.

Removes a sample by its ID.

DELETE /v1/voices/{voice_id}/samples/{sample_id}

func (*Client) DeleteSecretRoute

func (c *Client) DeleteSecretRoute(ctx context.Context, params DeleteSecretRouteParams) (DeleteSecretRouteRes, error)

DeleteSecretRoute invokes delete_secret_route operation.

Delete a workspace secret if it's not in use.

DELETE /v1/convai/secrets/{secret_id}

func (*Client) DeleteSegment

func (c *Client) DeleteSegment(ctx context.Context, params DeleteSegmentParams) (DeleteSegmentRes, error)

DeleteSegment invokes delete_segment operation.

Deletes a single segment from the dubbing.

DELETE /v1/dubbing/resource/{dubbing_id}/segment/{segment_id}

func (*Client) DeleteServiceAccountAPIKey

func (c *Client) DeleteServiceAccountAPIKey(ctx context.Context, params DeleteServiceAccountAPIKeyParams) (DeleteServiceAccountAPIKeyRes, error)

DeleteServiceAccountAPIKey invokes delete_service_account_api_key operation.

Delete an existing API key for a service account.

DELETE /v1/service-accounts/{service_account_user_id}/api-keys/{api_key_id}

func (*Client) DeleteSpeechHistoryItem

func (c *Client) DeleteSpeechHistoryItem(ctx context.Context, params DeleteSpeechHistoryItemParams) (DeleteSpeechHistoryItemRes, error)

DeleteSpeechHistoryItem invokes delete_speech_history_item operation.

Delete a history item by its ID.

DELETE /v1/history/{history_item_id}

func (*Client) DeleteToolRoute

func (c *Client) DeleteToolRoute(ctx context.Context, params DeleteToolRouteParams) (DeleteToolRouteRes, error)

DeleteToolRoute invokes delete_tool_route operation.

Delete tool from the workspace.

DELETE /v1/convai/tools/{tool_id}

func (*Client) DeleteTranscriptByID

func (c *Client) DeleteTranscriptByID(ctx context.Context, params DeleteTranscriptByIDParams) (DeleteTranscriptByIDRes, error)

DeleteTranscriptByID invokes delete_transcript_by_id operation.

Delete a previously generated transcript by its ID.

DELETE /v1/speech-to-text/transcripts/{transcription_id}

func (*Client) DeleteVoice

func (c *Client) DeleteVoice(ctx context.Context, params DeleteVoiceParams) (DeleteVoiceRes, error)

DeleteVoice invokes delete_voice operation.

Deletes a voice by its ID.

DELETE /v1/voices/{voice_id}

func (*Client) DeleteWhatsappAccount

func (c *Client) DeleteWhatsappAccount(ctx context.Context, params DeleteWhatsappAccountParams) (DeleteWhatsappAccountRes, error)

DeleteWhatsappAccount invokes delete_whatsapp_account operation.

Delete a WhatsApp account.

DELETE /v1/convai/whatsapp-accounts/{phone_number_id}

func (*Client) DeleteWorkspaceWebhookRoute

func (c *Client) DeleteWorkspaceWebhookRoute(ctx context.Context, params DeleteWorkspaceWebhookRouteParams) (DeleteWorkspaceWebhookRouteRes, error)

DeleteWorkspaceWebhookRoute invokes delete_workspace_webhook_route operation.

Delete the specified workspace webhook.

DELETE /v1/workspace/webhooks/{webhook_id}

func (*Client) DownloadSpeechHistoryItems

DownloadSpeechHistoryItems invokes download_speech_history_items operation.

Download one or more history items. If one history item ID is provided, we will return a single audio file. If more than one history item IDs are provided, we will provide the history items packed into a .zip file.

POST /v1/history/download

func (*Client) Dub

Dub invokes dub operation.

Regenerate the dubs for either the entire resource or the specified segments/languages. Will automatically transcribe and translate any missing transcriptions and translations.

POST /v1/dubbing/resource/{dubbing_id}/dub

func (*Client) DuplicateAgentRoute

DuplicateAgentRoute invokes duplicate_agent_route operation.

Create a new agent by duplicating an existing one.

POST /v1/convai/agents/{agent_id}/duplicate

func (*Client) EditProject

EditProject invokes edit_project operation.

Updates the specified Studio project by setting the values of the parameters passed.

POST /v1/studio/projects/{project_id}

func (*Client) EditProjectContent

EditProjectContent invokes edit_project_content operation.

Updates Studio project content.

POST /v1/studio/projects/{project_id}/content

func (*Client) EditPvcVoice

EditPvcVoice invokes edit_pvc_voice operation.

Edit PVC voice metadata.

POST /v1/voices/pvc/{voice_id}

func (*Client) EditPvcVoiceSample

EditPvcVoiceSample invokes edit_pvc_voice_sample operation.

Update a PVC voice sample - apply noise removal, select speaker, change trim times or file name.

POST /v1/voices/pvc/{voice_id}/samples/{sample_id}

func (*Client) EditServiceAccountAPIKey

EditServiceAccountAPIKey invokes edit_service_account_api_key operation.

Update an existing API key for a service account.

PATCH /v1/service-accounts/{service_account_user_id}/api-keys/{api_key_id}

func (*Client) EditVoice

EditVoice invokes edit_voice operation.

Edit a voice created by you.

POST /v1/voices/{voice_id}/edit

func (*Client) EditVoiceSettings

EditVoiceSettings invokes edit_voice_settings operation.

Edit your settings for a specific voice. "similarity_boost" corresponds to "Clarity + Similarity Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app.

POST /v1/voices/{voice_id}/settings/edit

func (*Client) EditWorkspaceWebhookRoute

EditWorkspaceWebhookRoute invokes edit_workspace_webhook_route operation.

Update the specified workspace webhook.

PATCH /v1/workspace/webhooks/{webhook_id}

func (*Client) ForcedAlignment

ForcedAlignment invokes forced_alignment operation.

Force align an audio file to text. Use this endpoint to get the timing information for each character and word in an audio file based on a provided text transcript.

POST /v1/forced-alignment

func (*Client) Generate

Generate invokes generate operation.

Compose a song from a prompt or a composition plan.

POST /v1/music

func (*Client) GenerateRandomVoice

GenerateRandomVoice invokes generate_random_voice operation.

Generate a random voice based on parameters. This method returns a generated_voice_id in the response header, and a sample of the voice in the body. If you like the generated voice call /v1/voice-generation/create-voice with the generated_voice_id to create the voice.

POST /v1/voice-generation/generate-voice

func (*Client) GetAgentKnowledgeBaseSize

func (c *Client) GetAgentKnowledgeBaseSize(ctx context.Context, params GetAgentKnowledgeBaseSizeParams) (GetAgentKnowledgeBaseSizeRes, error)

GetAgentKnowledgeBaseSize invokes get_agent_knowledge_base_size operation.

Returns the number of pages in the agent's knowledge base.

GET /v1/convai/agent/{agent_id}/knowledge-base/size

func (*Client) GetAgentKnowledgeBaseSummariesRoute

GetAgentKnowledgeBaseSummariesRoute invokes get_agent_knowledge_base_summaries_route operation.

Gets multiple knowledge base document summaries by their IDs.

GET /v1/convai/knowledge-base/summaries

func (*Client) GetAgentLinkRoute

func (c *Client) GetAgentLinkRoute(ctx context.Context, params GetAgentLinkRouteParams) (GetAgentLinkRouteRes, error)

GetAgentLinkRoute invokes get_agent_link_route operation.

Get the current link used to share the agent with others.

GET /v1/convai/agents/{agent_id}/link

func (*Client) GetAgentLlmExpectedCostCalculation

GetAgentLlmExpectedCostCalculation invokes get_agent_llm_expected_cost_calculation operation.

Calculates expected number of LLM tokens needed for the specified agent.

POST /v1/convai/agent/{agent_id}/llm-usage/calculate

func (*Client) GetAgentResponseTestRoute

func (c *Client) GetAgentResponseTestRoute(ctx context.Context, params GetAgentResponseTestRouteParams) (GetAgentResponseTestRouteRes, error)

GetAgentResponseTestRoute invokes get_agent_response_test_route operation.

Gets an agent response test by ID.

GET /v1/convai/agent-testing/{test_id}

func (*Client) GetAgentResponseTestsSummariesRoute

GetAgentResponseTestsSummariesRoute invokes get_agent_response_tests_summaries_route operation.

Gets multiple agent response tests by their IDs. Returns a dictionary mapping test IDs to test summaries.

POST /v1/convai/agent-testing/summaries

func (*Client) GetAgentsRoute

func (c *Client) GetAgentsRoute(ctx context.Context, params GetAgentsRouteParams) (GetAgentsRouteRes, error)

GetAgentsRoute invokes get_agents_route operation.

Returns a list of your agents and their metadata.

GET /v1/convai/agents

func (*Client) GetAudioFromSample

func (c *Client) GetAudioFromSample(ctx context.Context, params GetAudioFromSampleParams) (GetAudioFromSampleRes, error)

GetAudioFromSample invokes get_audio_from_sample operation.

Returns the audio corresponding to a sample attached to a voice.

GET /v1/voices/{voice_id}/samples/{sample_id}/audio

func (*Client) GetAudioFullFromSpeechHistoryItem

func (c *Client) GetAudioFullFromSpeechHistoryItem(ctx context.Context, params GetAudioFullFromSpeechHistoryItemParams) (GetAudioFullFromSpeechHistoryItemRes, error)

GetAudioFullFromSpeechHistoryItem invokes get_audio_full_from_speech_history_item operation.

Returns the audio of an history item.

GET /v1/history/{history_item_id}/audio

func (*Client) GetAudioNativeProjectSettingsEndpoint

GetAudioNativeProjectSettingsEndpoint invokes get_audio_native_project_settings_endpoint operation.

Get player settings for the specific project.

GET /v1/audio-native/{project_id}/settings

func (*Client) GetBatchCall

func (c *Client) GetBatchCall(ctx context.Context, params GetBatchCallParams) (GetBatchCallRes, error)

GetBatchCall invokes get_batch_call operation.

Get detailed information about a batch call including all recipients.

GET /v1/convai/batch-calling/{batch_id}

func (*Client) GetChapterSnapshotEndpoint

func (c *Client) GetChapterSnapshotEndpoint(ctx context.Context, params GetChapterSnapshotEndpointParams) (GetChapterSnapshotEndpointRes, error)

GetChapterSnapshotEndpoint invokes get_chapter_snapshot_endpoint operation.

Returns the chapter snapshot.

GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id}

func (*Client) GetChapterSnapshots

func (c *Client) GetChapterSnapshots(ctx context.Context, params GetChapterSnapshotsParams) (GetChapterSnapshotsRes, error)

GetChapterSnapshots invokes get_chapter_snapshots operation.

Gets information about all the snapshots of a chapter. Each snapshot can be downloaded as audio. Whenever a chapter is converted a snapshot will automatically be created.

GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots

func (*Client) GetChapters

func (c *Client) GetChapters(ctx context.Context, params GetChaptersParams) (GetChaptersRes, error)

GetChapters invokes get_chapters operation.

Returns a list of a Studio project's chapters.

GET /v1/studio/projects/{project_id}/chapters

func (*Client) GetConversationAudioRoute

func (c *Client) GetConversationAudioRoute(ctx context.Context, params GetConversationAudioRouteParams) (GetConversationAudioRouteRes, error)

GetConversationAudioRoute invokes get_conversation_audio_route operation.

Get the audio recording of a particular conversation.

GET /v1/convai/conversations/{conversation_id}/audio

func (*Client) GetConversationHistoriesRoute

func (c *Client) GetConversationHistoriesRoute(ctx context.Context, params GetConversationHistoriesRouteParams) (GetConversationHistoriesRouteRes, error)

GetConversationHistoriesRoute invokes get_conversation_histories_route operation.

Get all conversations of agents that user owns. With option to restrict to a specific agent.

GET /v1/convai/conversations

func (*Client) GetConversationHistoryRoute

func (c *Client) GetConversationHistoryRoute(ctx context.Context, params GetConversationHistoryRouteParams) (GetConversationHistoryRouteRes, error)

GetConversationHistoryRoute invokes get_conversation_history_route operation.

Get the details of a particular conversation.

GET /v1/convai/conversations/{conversation_id}

func (c *Client) GetConversationSignedLink(ctx context.Context, params GetConversationSignedLinkParams) (GetConversationSignedLinkRes, error)

GetConversationSignedLink invokes get_conversation_signed_link operation.

Get a signed url to start a conversation with an agent with an agent that requires authorization.

GET /v1/convai/conversation/get-signed-url

func (*Client) GetDashboardSettingsRoute

func (c *Client) GetDashboardSettingsRoute(ctx context.Context, params GetDashboardSettingsRouteParams) (GetDashboardSettingsRouteRes, error)

GetDashboardSettingsRoute invokes get_dashboard_settings_route operation.

Retrieve Convai dashboard settings for the workspace.

GET /v1/convai/settings/dashboard

func (*Client) GetDocumentationChunkFromKnowledgeBase

GetDocumentationChunkFromKnowledgeBase invokes get_documentation_chunk_from_knowledge_base operation.

Get details about a specific documentation part used by RAG.

GET /v1/convai/knowledge-base/{documentation_id}/chunk/{chunk_id}

func (*Client) GetDocumentationFromKnowledgeBase

func (c *Client) GetDocumentationFromKnowledgeBase(ctx context.Context, params GetDocumentationFromKnowledgeBaseParams) (GetDocumentationFromKnowledgeBaseRes, error)

GetDocumentationFromKnowledgeBase invokes get_documentation_from_knowledge_base operation.

Get details about a specific documentation making up the agent's knowledge base.

GET /v1/convai/knowledge-base/{documentation_id}

func (*Client) GetDubbedFile

func (c *Client) GetDubbedFile(ctx context.Context, params GetDubbedFileParams) (GetDubbedFileRes, error)

GetDubbedFile invokes get_dubbed_file operation.

Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resource render endpoint as this endpoint only returns the original automatic dub result.

GET /v1/dubbing/{dubbing_id}/audio/{language_code}

func (*Client) GetDubbedMetadata

func (c *Client) GetDubbedMetadata(ctx context.Context, params GetDubbedMetadataParams) (GetDubbedMetadataRes, error)

GetDubbedMetadata invokes get_dubbed_metadata operation.

Returns metadata about a dubbing project, including whether it's still in progress or not.

GET /v1/dubbing/{dubbing_id}

func (*Client) GetDubbedTranscriptFile

func (c *Client) GetDubbedTranscriptFile(ctx context.Context, params GetDubbedTranscriptFileParams) (GetDubbedTranscriptFileRes, error)

GetDubbedTranscriptFile invokes get_dubbed_transcript_file operation.

Returns transcript for the dub as an SRT or WEBVTT file.

GET /v1/dubbing/{dubbing_id}/transcript/{language_code}

func (*Client) GetDubbingResource

func (c *Client) GetDubbingResource(ctx context.Context, params GetDubbingResourceParams) (GetDubbingResourceRes, error)

GetDubbingResource invokes get_dubbing_resource operation.

Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the dubbing resource.

GET /v1/dubbing/resource/{dubbing_id}

func (*Client) GetGenerateVoiceParameters

func (c *Client) GetGenerateVoiceParameters(ctx context.Context) (*VoiceGenerationParameterResponseModel, error)

GetGenerateVoiceParameters invokes get_generate_voice_parameters operation.

Get possible parameters for the /v1/voice-generation/generate-voice endpoint.

GET /v1/voice-generation/generate-voice/parameters

func (*Client) GetKnowledgeBaseContent

func (c *Client) GetKnowledgeBaseContent(ctx context.Context, params GetKnowledgeBaseContentParams) (GetKnowledgeBaseContentRes, error)

GetKnowledgeBaseContent invokes get_knowledge_base_content operation.

Get the entire content of a document from the knowledge base.

GET /v1/convai/knowledge-base/{documentation_id}/content

func (*Client) GetKnowledgeBaseDependentAgents

func (c *Client) GetKnowledgeBaseDependentAgents(ctx context.Context, params GetKnowledgeBaseDependentAgentsParams) (GetKnowledgeBaseDependentAgentsRes, error)

GetKnowledgeBaseDependentAgents invokes get_knowledge_base_dependent_agents operation.

Get a list of agents depending on this knowledge base document.

GET /v1/convai/knowledge-base/{documentation_id}/dependent-agents

func (*Client) GetKnowledgeBaseListRoute

func (c *Client) GetKnowledgeBaseListRoute(ctx context.Context, params GetKnowledgeBaseListRouteParams) (GetKnowledgeBaseListRouteRes, error)

GetKnowledgeBaseListRoute invokes get_knowledge_base_list_route operation.

Get a list of available knowledge base documents.

GET /v1/convai/knowledge-base

func (*Client) GetLibraryVoices

func (c *Client) GetLibraryVoices(ctx context.Context, params GetLibraryVoicesParams) (GetLibraryVoicesRes, error)

GetLibraryVoices invokes get_library_voices operation.

Retrieves a list of shared voices.

GET /v1/shared-voices

func (*Client) GetLiveCount

func (c *Client) GetLiveCount(ctx context.Context, params GetLiveCountParams) (GetLiveCountRes, error)

GetLiveCount invokes get_live_count operation.

Get the live count of the ongoing conversations.

GET /v1/convai/analytics/live-count

func (*Client) GetLivekitToken

func (c *Client) GetLivekitToken(ctx context.Context, params GetLivekitTokenParams) (GetLivekitTokenRes, error)

GetLivekitToken invokes get_livekit_token operation.

Get a WebRTC session token for real-time communication.

GET /v1/convai/conversation/token

func (*Client) GetMcpToolConfigOverrideRoute

func (c *Client) GetMcpToolConfigOverrideRoute(ctx context.Context, params GetMcpToolConfigOverrideRouteParams) (GetMcpToolConfigOverrideRouteRes, error)

GetMcpToolConfigOverrideRoute invokes get_mcp_tool_config_override_route operation.

Retrieve configuration overrides for a specific MCP tool.

GET /v1/convai/mcp-servers/{mcp_server_id}/tool-configs/{tool_name}

func (*Client) GetModels

func (c *Client) GetModels(ctx context.Context, params GetModelsParams) (GetModelsRes, error)

GetModels invokes get_models operation.

Gets a list of available models.

GET /v1/models

func (*Client) GetOrCreateRagIndexes

GetOrCreateRagIndexes invokes get_or_create_rag_indexes operation.

Retrieves and/or creates RAG indexes for multiple knowledge base documents in a single request.

POST /v1/convai/knowledge-base/rag-index

func (*Client) GetPhoneNumberRoute

func (c *Client) GetPhoneNumberRoute(ctx context.Context, params GetPhoneNumberRouteParams) (GetPhoneNumberRouteRes, error)

GetPhoneNumberRoute invokes get_phone_number_route operation.

Retrieve Phone Number details by ID.

GET /v1/convai/phone-numbers/{phone_number_id}

func (*Client) GetProjectSnapshotEndpoint

func (c *Client) GetProjectSnapshotEndpoint(ctx context.Context, params GetProjectSnapshotEndpointParams) (GetProjectSnapshotEndpointRes, error)

GetProjectSnapshotEndpoint invokes get_project_snapshot_endpoint operation.

Returns the project snapshot.

GET /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}

func (*Client) GetProjectSnapshots

func (c *Client) GetProjectSnapshots(ctx context.Context, params GetProjectSnapshotsParams) (GetProjectSnapshotsRes, error)

GetProjectSnapshots invokes get_project_snapshots operation.

Retrieves a list of snapshots for a Studio project.

GET /v1/studio/projects/{project_id}/snapshots

func (*Client) GetProjects

func (c *Client) GetProjects(ctx context.Context, params GetProjectsParams) (GetProjectsRes, error)

GetProjects invokes get_projects operation.

Returns a list of your Studio projects with metadata.

GET /v1/studio/projects

func (*Client) GetPronunciationDictionariesMetadata

GetPronunciationDictionariesMetadata invokes get_pronunciation_dictionaries_metadata operation.

Get a list of the pronunciation dictionaries you have access to and their metadata.

GET /v1/pronunciation-dictionaries

func (*Client) GetPronunciationDictionaryMetadata

func (c *Client) GetPronunciationDictionaryMetadata(ctx context.Context, params GetPronunciationDictionaryMetadataParams) (GetPronunciationDictionaryMetadataRes, error)

GetPronunciationDictionaryMetadata invokes get_pronunciation_dictionary_metadata operation.

Get metadata for a pronunciation dictionary.

GET /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}

func (*Client) GetPronunciationDictionaryVersionPls

GetPronunciationDictionaryVersionPls invokes get_pronunciation_dictionary_version_pls operation.

Get a PLS file with a pronunciation dictionary version rules.

GET /v1/pronunciation-dictionaries/{dictionary_id}/{version_id}/download

func (*Client) GetPublicLlmExpectedCostCalculation

func (c *Client) GetPublicLlmExpectedCostCalculation(ctx context.Context, request *LLMUsageCalculatorPublicRequestModel) (GetPublicLlmExpectedCostCalculationRes, error)

GetPublicLlmExpectedCostCalculation invokes get_public_llm_expected_cost_calculation operation.

Returns a list of LLM models and the expected cost for using them based on the provided values.

POST /v1/convai/llm-usage/calculate

func (*Client) GetPvcSampleAudio

func (c *Client) GetPvcSampleAudio(ctx context.Context, params GetPvcSampleAudioParams) (GetPvcSampleAudioRes, error)

GetPvcSampleAudio invokes get_pvc_sample_audio operation.

Retrieve the first 30 seconds of voice sample audio with or without noise removal.

GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/audio

func (*Client) GetPvcSampleSpeakers

func (c *Client) GetPvcSampleSpeakers(ctx context.Context, params GetPvcSampleSpeakersParams) (GetPvcSampleSpeakersRes, error)

GetPvcSampleSpeakers invokes get_pvc_sample_speakers operation.

Retrieve the status of the speaker separation process and the list of detected speakers if complete.

GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/speakers

func (*Client) GetPvcSampleVisualWaveform

func (c *Client) GetPvcSampleVisualWaveform(ctx context.Context, params GetPvcSampleVisualWaveformParams) (GetPvcSampleVisualWaveformRes, error)

GetPvcSampleVisualWaveform invokes get_pvc_sample_visual_waveform operation.

Retrieve the visual waveform of a voice sample.

GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/waveform

func (*Client) GetPvcVoiceCaptcha

func (c *Client) GetPvcVoiceCaptcha(ctx context.Context, params GetPvcVoiceCaptchaParams) (GetPvcVoiceCaptchaRes, error)

GetPvcVoiceCaptcha invokes get_pvc_voice_captcha operation.

Get captcha for PVC voice verification.

GET /v1/voices/pvc/{voice_id}/captcha

func (*Client) GetRagIndexOverview

func (c *Client) GetRagIndexOverview(ctx context.Context, params GetRagIndexOverviewParams) (GetRagIndexOverviewRes, error)

GetRagIndexOverview invokes get_rag_index_overview operation.

Provides total size and other information of RAG indexes used by knowledgebase documents.

GET /v1/convai/knowledge-base/rag-index

func (*Client) GetRagIndexes

func (c *Client) GetRagIndexes(ctx context.Context, params GetRagIndexesParams) (GetRagIndexesRes, error)

GetRagIndexes invokes get_rag_indexes operation.

Provides information about all RAG indexes of the specified knowledgebase document.

GET /v1/convai/knowledge-base/{documentation_id}/rag-index

func (*Client) GetResourceMetadata

func (c *Client) GetResourceMetadata(ctx context.Context, params GetResourceMetadataParams) (GetResourceMetadataRes, error)

GetResourceMetadata invokes get_resource_metadata operation.

Gets the metadata of a resource by ID.

GET /v1/workspace/resources/{resource_id}

func (*Client) GetSecretsRoute

func (c *Client) GetSecretsRoute(ctx context.Context, params GetSecretsRouteParams) (GetSecretsRouteRes, error)

GetSecretsRoute invokes get_secrets_route operation.

Get all workspace secrets for the user.

GET /v1/convai/secrets

func (*Client) GetServiceAccountAPIKeysRoute

func (c *Client) GetServiceAccountAPIKeysRoute(ctx context.Context, params GetServiceAccountAPIKeysRouteParams) (GetServiceAccountAPIKeysRouteRes, error)

GetServiceAccountAPIKeysRoute invokes get_service_account_api_keys_route operation.

Get all API keys for a service account.

GET /v1/service-accounts/{service_account_user_id}/api-keys

func (*Client) GetSettingsRoute

func (c *Client) GetSettingsRoute(ctx context.Context, params GetSettingsRouteParams) (GetSettingsRouteRes, error)

GetSettingsRoute invokes get_settings_route operation.

Retrieve Convai settings for the workspace.

GET /v1/convai/settings

func (*Client) GetSignedURLDeprecated deprecated

func (c *Client) GetSignedURLDeprecated(ctx context.Context, params GetSignedURLDeprecatedParams) (GetSignedURLDeprecatedRes, error)

GetSignedURLDeprecated invokes get_signed_url_deprecated operation.

Get a signed url to start a conversation with an agent with an agent that requires authorization.

Deprecated: schema marks this operation as deprecated.

GET /v1/convai/conversation/get_signed_url

func (*Client) GetSimilarLibraryVoices

GetSimilarLibraryVoices invokes get_similar_library_voices operation.

Returns a list of shared voices similar to the provided audio sample. If neither similarity_threshold nor top_k is provided, we will apply default values.

POST /v1/similar-voices

func (*Client) GetSimilarVoicesForSpeaker

func (c *Client) GetSimilarVoicesForSpeaker(ctx context.Context, params GetSimilarVoicesForSpeakerParams) (GetSimilarVoicesForSpeakerRes, error)

GetSimilarVoicesForSpeaker invokes get_similar_voices_for_speaker operation.

Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, where possible, a sample audio recording.

GET /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}/similar-voices

func (*Client) GetSingleUseToken

func (c *Client) GetSingleUseToken(ctx context.Context, params GetSingleUseTokenParams) (GetSingleUseTokenRes, error)

GetSingleUseToken invokes get_single_use_token operation.

Generate a time limited single-use token with embedded authentication for frontend clients.

POST /v1/single-use-token/{token_type}

func (*Client) GetSpeakerAudio

func (c *Client) GetSpeakerAudio(ctx context.Context, params GetSpeakerAudioParams) (GetSpeakerAudioRes, error)

GetSpeakerAudio invokes get_speaker_audio operation.

Retrieve the separated audio for a specific speaker.

GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/speakers/{speaker_id}/audio

func (*Client) GetSpeechHistory

func (c *Client) GetSpeechHistory(ctx context.Context, params GetSpeechHistoryParams) (GetSpeechHistoryRes, error)

GetSpeechHistory invokes get_speech_history operation.

Returns a list of your generated audio.

GET /v1/history

func (*Client) GetSpeechHistoryItemByID

func (c *Client) GetSpeechHistoryItemByID(ctx context.Context, params GetSpeechHistoryItemByIDParams) (GetSpeechHistoryItemByIDRes, error)

GetSpeechHistoryItemByID invokes get_speech_history_item_by_id operation.

Retrieves a history item.

GET /v1/history/{history_item_id}

func (*Client) GetTestInvocationRoute

func (c *Client) GetTestInvocationRoute(ctx context.Context, params GetTestInvocationRouteParams) (GetTestInvocationRouteRes, error)

GetTestInvocationRoute invokes get_test_invocation_route operation.

Gets a test invocation by ID.

GET /v1/convai/test-invocations/{test_invocation_id}

func (*Client) GetToolDependentAgentsRoute

func (c *Client) GetToolDependentAgentsRoute(ctx context.Context, params GetToolDependentAgentsRouteParams) (GetToolDependentAgentsRouteRes, error)

GetToolDependentAgentsRoute invokes get_tool_dependent_agents_route operation.

Get a list of agents depending on this tool.

GET /v1/convai/tools/{tool_id}/dependent-agents

func (*Client) GetTranscriptByID

func (c *Client) GetTranscriptByID(ctx context.Context, params GetTranscriptByIDParams) (GetTranscriptByIDRes, error)

GetTranscriptByID invokes get_transcript_by_id operation.

Retrieve a previously generated transcript by its ID.

GET /v1/speech-to-text/transcripts/{transcription_id}

func (*Client) GetUserInfo

func (c *Client) GetUserInfo(ctx context.Context, params GetUserInfoParams) (GetUserInfoRes, error)

GetUserInfo invokes get_user_info operation.

Gets information about the user.

GET /v1/user

func (*Client) GetUserVoicesV2

func (c *Client) GetUserVoicesV2(ctx context.Context, params GetUserVoicesV2Params) (GetUserVoicesV2Res, error)

GetUserVoicesV2 invokes get_user_voices_v2 operation.

Gets a list of all available voices for a user with search, filtering and pagination.

GET /v2/voices

func (*Client) GetVoiceByID

func (c *Client) GetVoiceByID(ctx context.Context, params GetVoiceByIDParams) (GetVoiceByIDRes, error)

GetVoiceByID invokes get_voice_by_id operation.

Returns metadata about a specific voice.

GET /v1/voices/{voice_id}

func (*Client) GetVoiceSettings

func (c *Client) GetVoiceSettings(ctx context.Context, params GetVoiceSettingsParams) (GetVoiceSettingsRes, error)

GetVoiceSettings invokes get_voice_settings operation.

Returns the settings for a specific voice. "similarity_boost" corresponds to"Clarity + Similarity Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app.

GET /v1/voices/{voice_id}/settings

func (*Client) GetVoiceSettingsDefault

func (c *Client) GetVoiceSettingsDefault(ctx context.Context) (*VoiceSettingsResponseModel, error)

GetVoiceSettingsDefault invokes get_voice_settings_default operation.

Gets the default settings for voices. "similarity_boost" corresponds to"Clarity + Similarity Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app.

GET /v1/voices/settings/default

func (*Client) GetVoices

func (c *Client) GetVoices(ctx context.Context, params GetVoicesParams) (GetVoicesRes, error)

GetVoices invokes get_voices operation.

Returns a list of all available voices for a user.

GET /v1/voices

func (*Client) GetWhatsappAccount

func (c *Client) GetWhatsappAccount(ctx context.Context, params GetWhatsappAccountParams) (GetWhatsappAccountRes, error)

GetWhatsappAccount invokes get_whatsapp_account operation.

Get a WhatsApp account.

GET /v1/convai/whatsapp-accounts/{phone_number_id}

func (*Client) GetWorkspaceBatchCalls

func (c *Client) GetWorkspaceBatchCalls(ctx context.Context, params GetWorkspaceBatchCallsParams) (GetWorkspaceBatchCallsRes, error)

GetWorkspaceBatchCalls invokes get_workspace_batch_calls operation.

Get all batch calls for the current workspace.

GET /v1/convai/batch-calling/workspace

func (*Client) GetWorkspaceServiceAccounts

func (c *Client) GetWorkspaceServiceAccounts(ctx context.Context, params GetWorkspaceServiceAccountsParams) (GetWorkspaceServiceAccountsRes, error)

GetWorkspaceServiceAccounts invokes get_workspace_service_accounts operation.

List all service accounts in the workspace.

GET /v1/service-accounts

func (*Client) GetWorkspaceWebhooksRoute

func (c *Client) GetWorkspaceWebhooksRoute(ctx context.Context, params GetWorkspaceWebhooksRouteParams) (GetWorkspaceWebhooksRouteRes, error)

GetWorkspaceWebhooksRoute invokes get_workspace_webhooks_route operation.

List all webhooks for a workspace.

GET /v1/workspace/webhooks

func (*Client) HandleSipTrunkOutboundCall

HandleSipTrunkOutboundCall invokes handle_sip_trunk_outbound_call operation.

Handle an outbound call via SIP trunk.

POST /v1/convai/sip-trunk/outbound-call

func (*Client) HandleTwilioOutboundCall

HandleTwilioOutboundCall invokes handle_twilio_outbound_call operation.

Handle an outbound call via Twilio.

POST /v1/convai/twilio/outbound-call

func (*Client) ImportWhatsappAccount

ImportWhatsappAccount invokes import_whatsapp_account operation.

Import a WhatsApp account.

POST /v1/convai/whatsapp-accounts

func (*Client) InviteUser

InviteUser invokes invite_user operation.

Sends an email invitation to join your workspace to the provided email. If the user doesn't have an account they will be prompted to create one. If the user accepts this invite they will be added as a user to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace administrators. If the user is already in the workspace a 400 error will be returned.

POST /v1/workspace/invites/add

func (*Client) InviteUsersBulk

InviteUsersBulk invokes invite_users_bulk operation.

Sends email invitations to join your workspace to the provided emails. Requires all email addresses to be part of a verified domain. If the users don't have an account they will be prompted to create one. If the users accept these invites they will be added as users to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace administrators.

POST /v1/workspace/invites/add-bulk

func (*Client) ListChatResponseTestsRoute

func (c *Client) ListChatResponseTestsRoute(ctx context.Context, params ListChatResponseTestsRouteParams) (ListChatResponseTestsRouteRes, error)

ListChatResponseTestsRoute invokes list_chat_response_tests_route operation.

Lists all agent response tests with pagination support and optional search filtering.

GET /v1/convai/agent-testing

func (*Client) ListDubs

func (c *Client) ListDubs(ctx context.Context, params ListDubsParams) (ListDubsRes, error)

ListDubs invokes list_dubs operation.

List the dubs you have access to.

GET /v1/dubbing

func (*Client) ListMcpServerToolsRoute

func (c *Client) ListMcpServerToolsRoute(ctx context.Context, params ListMcpServerToolsRouteParams) (ListMcpServerToolsRouteRes, error)

ListMcpServerToolsRoute invokes list_mcp_server_tools_route operation.

Retrieve all tools available for a specific MCP server configuration.

GET /v1/convai/mcp-servers/{mcp_server_id}/tools

func (*Client) ListPhoneNumbersRoute

func (c *Client) ListPhoneNumbersRoute(ctx context.Context, params ListPhoneNumbersRouteParams) (ListPhoneNumbersRouteRes, error)

ListPhoneNumbersRoute invokes list_phone_numbers_route operation.

Retrieve all Phone Numbers.

GET /v1/convai/phone-numbers

func (*Client) ListTestInvocationsRoute

func (c *Client) ListTestInvocationsRoute(ctx context.Context, params ListTestInvocationsRouteParams) (ListTestInvocationsRouteRes, error)

ListTestInvocationsRoute invokes list_test_invocations_route operation.

Lists all test invocations with pagination support and optional search filtering.

GET /v1/convai/test-invocations

func (*Client) ListWhatsappAccounts

func (c *Client) ListWhatsappAccounts(ctx context.Context, params ListWhatsappAccountsParams) (ListWhatsappAccountsRes, error)

ListWhatsappAccounts invokes list_whatsapp_accounts operation.

List all WhatsApp accounts.

GET /v1/convai/whatsapp-accounts

func (*Client) MigrateSegments

MigrateSegments invokes migrate_segments operation.

Change the attribution of one or more segments to a different speaker.

POST /v1/dubbing/resource/{dubbing_id}/migrate-segments

func (*Client) PatchPronunciationDictionary

PatchPronunciationDictionary invokes patch_pronunciation_dictionary operation.

Partially update the pronunciation dictionary without changing the version.

PATCH /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}

func (*Client) PostAgentAvatarRoute

PostAgentAvatarRoute invokes post_agent_avatar_route operation.

Sets the avatar for an agent displayed in the widget.

POST /v1/convai/agents/{agent_id}/avatar

func (*Client) PostConversationFeedbackRoute

PostConversationFeedbackRoute invokes post_conversation_feedback_route operation.

Send the feedback for the given conversation.

POST /v1/convai/conversations/{conversation_id}/feedback

func (*Client) RagIndexStatus

func (c *Client) RagIndexStatus(ctx context.Context, request *RAGIndexRequestModel, params RagIndexStatusParams) (RagIndexStatusRes, error)

RagIndexStatus invokes rag_index_status operation.

In case the document is not RAG indexed, it triggers rag indexing task, otherwise it just returns the current status.

POST /v1/convai/knowledge-base/{documentation_id}/rag-index

func (*Client) RedirectToMintlify

func (c *Client) RedirectToMintlify(ctx context.Context) (jx.Raw, error)

RedirectToMintlify invokes redirect_to_mintlify operation.

Redirect To Mintlify.

GET /docs

func (*Client) RegisterTwilioCall

RegisterTwilioCall invokes register_twilio_call operation.

Register a Twilio call and return TwiML to connect the call.

POST /v1/convai/twilio/register-call

func (*Client) RemoveMember

RemoveMember invokes remove_member operation.

Removes a member from the specified group. This endpoint may only be called by workspace administrators.

POST /v1/workspace/groups/{group_id}/members/remove

func (*Client) RemoveRules

RemoveRules invokes remove_rules operation.

Remove rules from the pronunciation dictionary.

POST /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/remove-rules

func (*Client) RequestPvcManualVerification

RequestPvcManualVerification invokes request_pvc_manual_verification operation.

Request manual verification for a PVC voice.

POST /v1/voices/pvc/{voice_id}/verification

func (*Client) RetryBatchCall

func (c *Client) RetryBatchCall(ctx context.Context, params RetryBatchCallParams) (RetryBatchCallRes, error)

RetryBatchCall invokes retry_batch_call operation.

Retry a batch call, calling failed and no-response recipients again.

POST /v1/convai/batch-calling/{batch_id}/retry

func (*Client) RunPvcVoiceTraining

RunPvcVoiceTraining invokes run_pvc_voice_training operation.

Start PVC training process for a voice.

POST /v1/voices/pvc/{voice_id}/train

func (*Client) SearchGroups

func (c *Client) SearchGroups(ctx context.Context, params SearchGroupsParams) (SearchGroupsRes, error)

SearchGroups invokes search_groups operation.

Searches for user groups in the workspace. Multiple or no groups may be returned.

GET /v1/workspace/groups/search

func (*Client) SeparateSongStems

SeparateSongStems invokes separate_song_stems operation.

Separate an audio file into individual stems. This endpoint might have high latency, depending on the length of the audio file.

POST /v1/music/stem-separation

func (*Client) ShareResourceEndpoint

ShareResourceEndpoint invokes share_resource_endpoint operation.

Grants a role on a workspace resource to a user or a group. It overrides any existing role this user/service account/group/workspace api key has on the resource. To target a user or service account, pass only the user email. The user must be in your workspace. To target a group, pass only the group id. To target a workspace api key, pass the api key id. The resource will be shared with the service account associated with the api key. You must have admin access to the resource to share it.

POST /v1/workspace/resources/{resource_id}/share

func (*Client) SoundGeneration

SoundGeneration invokes sound_generation operation.

Turn text into sound effects for your videos, voice-overs or video games using the most advanced sound effects models in the world.

POST /v1/sound-generation

func (*Client) SpeechToSpeechFull

SpeechToSpeechFull invokes speech_to_speech_full operation.

Transform audio from one voice to another. Maintain full control over emotion, timing and delivery.

POST /v1/speech-to-speech/{voice_id}

func (*Client) SpeechToSpeechStream

SpeechToSpeechStream invokes speech_to_speech_stream operation.

Stream audio from one voice to another. Maintain full control over emotion, timing and delivery.

POST /v1/speech-to-speech/{voice_id}/stream

func (*Client) SpeechToText

SpeechToText invokes speech_to_text operation.

Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks. When use_multi_channel is true and the provided audio has multiple channels, a 'transcripts' object with separate transcripts for each channel is returned. Otherwise, returns a single transcript. The optional webhook_metadata parameter allows you to attach custom data that will be included in webhook responses for request correlation and tracking.

POST /v1/speech-to-text

func (*Client) StartSpeakerSeparation

func (c *Client) StartSpeakerSeparation(ctx context.Context, params StartSpeakerSeparationParams) (StartSpeakerSeparationRes, error)

StartSpeakerSeparation invokes start_speaker_separation operation.

Start speaker separation process for a sample.

POST /v1/voices/pvc/{voice_id}/samples/{sample_id}/separate-speakers

func (*Client) StreamChapterSnapshotAudio

StreamChapterSnapshotAudio invokes stream_chapter_snapshot_audio operation.

Stream the audio from a chapter snapshot. Use `GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots` to return the snapshots of a chapter.

POST /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id}/stream

func (*Client) StreamCompose

StreamCompose invokes stream_compose operation.

Stream a composed song from a prompt or a composition plan.

POST /v1/music/stream

func (*Client) StreamProjectSnapshotArchiveEndpoint

StreamProjectSnapshotArchiveEndpoint invokes stream_project_snapshot_archive_endpoint operation.

Returns a compressed archive of the Studio project's audio.

POST /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}/archive

func (*Client) StreamProjectSnapshotAudioEndpoint

StreamProjectSnapshotAudioEndpoint invokes stream_project_snapshot_audio_endpoint operation.

Stream the audio from a Studio project snapshot.

POST /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}/stream

func (*Client) TextToDialogue

TextToDialogue invokes text_to_dialogue operation.

Converts a list of text and voice ID pairs into speech (dialogue) and returns audio.

POST /v1/text-to-dialogue

func (*Client) TextToDialogueFullWithTimestamps

TextToDialogueFullWithTimestamps invokes text_to_dialogue_full_with_timestamps operation.

Generate dialogue from text with precise character-level timing information for audio-text synchronization.

POST /v1/text-to-dialogue/with-timestamps

func (*Client) TextToDialogueStream

TextToDialogueStream invokes text_to_dialogue_stream operation.

Converts a list of text and voice ID pairs into speech (dialogue) and returns an audio stream.

POST /v1/text-to-dialogue/stream

func (*Client) TextToDialogueStreamWithTimestamps

TextToDialogueStreamWithTimestamps invokes text_to_dialogue_stream_with_timestamps operation.

Converts a list of text and voice ID pairs into speech (dialogue) and returns a stream of JSON blobs containing audio as a base64 encoded string and timestamps.

POST /v1/text-to-dialogue/stream/with-timestamps

func (*Client) TextToSpeechFull

func (c *Client) TextToSpeechFull(ctx context.Context, request *BodyTextToSpeechFull, params TextToSpeechFullParams) (TextToSpeechFullRes, error)

TextToSpeechFull invokes text_to_speech_full operation.

Converts text into speech using a voice of your choice and returns audio.

POST /v1/text-to-speech/{voice_id}

func (*Client) TextToSpeechFullWithTimestamps

TextToSpeechFullWithTimestamps invokes text_to_speech_full_with_timestamps operation.

Generate speech from text with precise character-level timing information for audio-text synchronization.

POST /v1/text-to-speech/{voice_id}/with-timestamps

func (*Client) TextToSpeechStream

func (c *Client) TextToSpeechStream(ctx context.Context, request *BodyTextToSpeechStream, params TextToSpeechStreamParams) (TextToSpeechStreamRes, error)

TextToSpeechStream invokes text_to_speech_stream operation.

Converts text into speech using a voice of your choice and returns audio as an audio stream.

POST /v1/text-to-speech/{voice_id}/stream

func (*Client) TextToSpeechStreamWithTimestamps

TextToSpeechStreamWithTimestamps invokes text_to_speech_stream_with_timestamps operation.

Converts text into speech using a voice of your choice and returns a stream of JSONs containing audio as a base64 encoded string together with information on when which character was spoken.

POST /v1/text-to-speech/{voice_id}/stream/with-timestamps

func (*Client) TextToVoice

func (c *Client) TextToVoice(ctx context.Context, request *VoicePreviewsRequestModel, params TextToVoiceParams) (TextToVoiceRes, error)

TextToVoice invokes text_to_voice operation.

Generate a custom voice based on voice description. This method returns a list of voice previews. Each preview has a generated_voice_id and a sample of the voice as base64 encoded mp3 audio. If you like the a voice previewand want to create the voice call /v1/text-to-voice/create-voice-from-preview with the generated_voice_id to create the voice.

POST /v1/text-to-voice/create-previews

func (*Client) TextToVoiceDesign

func (c *Client) TextToVoiceDesign(ctx context.Context, request *VoiceDesignRequestModel, params TextToVoiceDesignParams) (TextToVoiceDesignRes, error)

TextToVoiceDesign invokes text_to_voice_design operation.

Design a voice via a prompt. This method returns a list of voice previews. Each preview has a generated_voice_id and a sample of the voice as base64 encoded mp3 audio. To create a voice use the generated_voice_id of the preferred preview with the /v1/text-to-voice endpoint.

POST /v1/text-to-voice/design

func (*Client) TextToVoicePreviewStream

func (c *Client) TextToVoicePreviewStream(ctx context.Context, params TextToVoicePreviewStreamParams) (TextToVoicePreviewStreamRes, error)

TextToVoicePreviewStream invokes text_to_voice_preview_stream operation.

Stream a voice preview that was created via the /v1/text-to-voice/design endpoint.

GET /v1/text-to-voice/{generated_voice_id}/stream

func (*Client) TextToVoiceRemix

func (c *Client) TextToVoiceRemix(ctx context.Context, request *VoiceRemixRequestModel, params TextToVoiceRemixParams) (TextToVoiceRemixRes, error)

TextToVoiceRemix invokes text_to_voice_remix operation.

Remix an existing voice via a prompt. This method returns a list of voice previews. Each preview has a generated_voice_id and a sample of the voice as base64 encoded mp3 audio. To create a voice use the generated_voice_id of the preferred preview with the /v1/text-to-voice endpoint.

POST /v1/text-to-voice/{voice_id}/remix

func (*Client) Transcribe

Transcribe invokes transcribe operation.

Regenerate the transcriptions for the specified segments. Does not automatically regenerate translations or dubs.

POST /v1/dubbing/resource/{dubbing_id}/transcribe

func (*Client) Translate

Translate invokes translate operation.

Regenerate the translations for either the entire resource or the specified segments/languages. Will automatically transcribe missing transcriptions. Will not automatically regenerate the dubs.

POST /v1/dubbing/resource/{dubbing_id}/translate

func (*Client) UnshareResourceEndpoint

UnshareResourceEndpoint invokes unshare_resource_endpoint operation.

Removes any existing role on a workspace resource from a user, service account, group or workspace api key. To target a user or service account, pass only the user email. The user must be in your workspace. To target a group, pass only the group id. To target a workspace api key, pass the api key id. The resource will be unshared from the service account associated with the api key. You must have admin access to the resource to unshare it. You cannot remove permissions from the user who created the resource.

POST /v1/workspace/resources/{resource_id}/unshare

func (*Client) UpdateAgentResponseTestRoute

UpdateAgentResponseTestRoute invokes update_agent_response_test_route operation.

Updates an agent response test by ID.

PUT /v1/convai/agent-testing/{test_id}

func (*Client) UpdateDashboardSettingsRoute

UpdateDashboardSettingsRoute invokes update_dashboard_settings_route operation.

Update Convai dashboard settings for the workspace.

PATCH /v1/convai/settings/dashboard

func (*Client) UpdateDocumentRoute

UpdateDocumentRoute invokes update_document_route operation.

Update the name of a document.

PATCH /v1/convai/knowledge-base/{documentation_id}

func (*Client) UpdatePhoneNumberRoute

UpdatePhoneNumberRoute invokes update_phone_number_route operation.

Update assigned agent of a phone number.

PATCH /v1/convai/phone-numbers/{phone_number_id}

func (*Client) UpdatePronunciationDictionaries

UpdatePronunciationDictionaries invokes update_pronunciation_dictionaries operation.

Create a set of pronunciation dictionaries acting on a project. This will automatically mark text within this project as requiring reconverting where the new dictionary would apply or the old one no longer does.

POST /v1/studio/projects/{project_id}/pronunciation-dictionaries

func (*Client) UpdateSecretRoute

UpdateSecretRoute invokes update_secret_route operation.

Update an existing secret for the workspace.

PATCH /v1/convai/secrets/{secret_id}

func (*Client) UpdateSegmentLanguage

func (c *Client) UpdateSegmentLanguage(ctx context.Context, request *SegmentUpdatePayload, params UpdateSegmentLanguageParams) (UpdateSegmentLanguageRes, error)

UpdateSegmentLanguage invokes update_segment_language operation.

Modifies a single segment with new text and/or start/end times. Will update the values for only a specific language of a segment. Does not automatically regenerate the dub.

PATCH /v1/dubbing/resource/{dubbing_id}/segment/{segment_id}/{language}

func (*Client) UpdateSettingsRoute

UpdateSettingsRoute invokes update_settings_route operation.

Update Convai settings for the workspace.

PATCH /v1/convai/settings

func (*Client) UpdateSpeaker

UpdateSpeaker invokes update_speaker operation.

Amend the metadata associated with a speaker, such as their voice. Both voice cloning and using voices from the ElevenLabs library are supported.

PATCH /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}

func (*Client) UpdateWhatsappAccount

UpdateWhatsappAccount invokes update_whatsapp_account operation.

Update a WhatsApp account.

PATCH /v1/convai/whatsapp-accounts/{phone_number_id}

func (*Client) UpdateWorkspaceMember

UpdateWorkspaceMember invokes update_workspace_member operation.

Updates attributes of a workspace member. Apart from the email identifier, all parameters will remain unchanged unless specified. This endpoint may only be called by workspace administrators.

POST /v1/workspace/members

func (*Client) UsageCharacters

func (c *Client) UsageCharacters(ctx context.Context, params UsageCharactersParams) (UsageCharactersRes, error)

UsageCharacters invokes usage_characters operation.

Returns the usage metrics for the current user or the entire workspace they are part of. The response provides a time axis based on the specified aggregation interval (default: day), with usage values for each interval along that axis. Usage is broken down by the selected breakdown type. For example, breakdown type "voice" will return the usage of each voice for each interval along the time axis.

GET /v1/usage/character-stats

func (*Client) VerifyPvcVoiceCaptcha

VerifyPvcVoiceCaptcha invokes verify_pvc_voice_captcha operation.

Submit captcha verification for PVC voice.

POST /v1/voices/pvc/{voice_id}/captcha

func (*Client) WhatsappOutboundCall

WhatsappOutboundCall invokes whatsapp_outbound_call operation.

Make an outbound call via WhatsApp.

POST /v1/convai/whatsapp/outbound-call

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 ComposeDetailedOK

type ComposeDetailedOK struct {
	Data io.Reader
}

Raw multipart/mixed response data that clients must parse. Contains two parts separated by boundary: 1) application/json part with composition_plan and song_metadata 2) audio/* part with binary audio data and Content-Disposition header.

func (ComposeDetailedOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type ComposeDetailedOKHeaders

type ComposeDetailedOKHeaders struct {
	SongID   OptString
	Response ComposeDetailedOK
}

ComposeDetailedOKHeaders wraps ComposeDetailedOK with response headers.

func (*ComposeDetailedOKHeaders) GetResponse

GetResponse returns the value of Response.

func (*ComposeDetailedOKHeaders) GetSongID

func (s *ComposeDetailedOKHeaders) GetSongID() OptString

GetSongID returns the value of SongID.

func (*ComposeDetailedOKHeaders) SetResponse

func (s *ComposeDetailedOKHeaders) SetResponse(val ComposeDetailedOK)

SetResponse sets the value of Response.

func (*ComposeDetailedOKHeaders) SetSongID

func (s *ComposeDetailedOKHeaders) SetSongID(val OptString)

SetSongID sets the value of SongID.

type ComposeDetailedOutputFormat

type ComposeDetailedOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	ComposeDetailedOutputFormatMp32205032   ComposeDetailedOutputFormat = "mp3_22050_32"
	ComposeDetailedOutputFormatMp32400048   ComposeDetailedOutputFormat = "mp3_24000_48"
	ComposeDetailedOutputFormatMp34410032   ComposeDetailedOutputFormat = "mp3_44100_32"
	ComposeDetailedOutputFormatMp34410064   ComposeDetailedOutputFormat = "mp3_44100_64"
	ComposeDetailedOutputFormatMp34410096   ComposeDetailedOutputFormat = "mp3_44100_96"
	ComposeDetailedOutputFormatMp344100128  ComposeDetailedOutputFormat = "mp3_44100_128"
	ComposeDetailedOutputFormatMp344100192  ComposeDetailedOutputFormat = "mp3_44100_192"
	ComposeDetailedOutputFormatPcm8000      ComposeDetailedOutputFormat = "pcm_8000"
	ComposeDetailedOutputFormatPcm16000     ComposeDetailedOutputFormat = "pcm_16000"
	ComposeDetailedOutputFormatPcm22050     ComposeDetailedOutputFormat = "pcm_22050"
	ComposeDetailedOutputFormatPcm24000     ComposeDetailedOutputFormat = "pcm_24000"
	ComposeDetailedOutputFormatPcm32000     ComposeDetailedOutputFormat = "pcm_32000"
	ComposeDetailedOutputFormatPcm44100     ComposeDetailedOutputFormat = "pcm_44100"
	ComposeDetailedOutputFormatPcm48000     ComposeDetailedOutputFormat = "pcm_48000"
	ComposeDetailedOutputFormatUlaw8000     ComposeDetailedOutputFormat = "ulaw_8000"
	ComposeDetailedOutputFormatAlaw8000     ComposeDetailedOutputFormat = "alaw_8000"
	ComposeDetailedOutputFormatOpus4800032  ComposeDetailedOutputFormat = "opus_48000_32"
	ComposeDetailedOutputFormatOpus4800064  ComposeDetailedOutputFormat = "opus_48000_64"
	ComposeDetailedOutputFormatOpus4800096  ComposeDetailedOutputFormat = "opus_48000_96"
	ComposeDetailedOutputFormatOpus48000128 ComposeDetailedOutputFormat = "opus_48000_128"
	ComposeDetailedOutputFormatOpus48000192 ComposeDetailedOutputFormat = "opus_48000_192"
)

func (ComposeDetailedOutputFormat) AllValues

AllValues returns all ComposeDetailedOutputFormat values.

func (ComposeDetailedOutputFormat) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ComposeDetailedOutputFormat) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ComposeDetailedOutputFormat) Validate

func (s ComposeDetailedOutputFormat) Validate() error

type ComposeDetailedParams

type ComposeDetailedParams struct {
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptComposeDetailedOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

ComposeDetailedParams is parameters of compose_detailed operation.

type ComposeDetailedRes

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

type ComposePlanParams

type ComposePlanParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

ComposePlanParams is parameters of compose_plan operation.

type ComposePlanRes

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

type ConvAISecretLocator

type ConvAISecretLocator struct {
	SecretID string `json:"secret_id"`
}

Used to reference a secret from the agent's secret store. Ref: #/components/schemas/ConvAISecretLocator

func (*ConvAISecretLocator) Decode

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

Decode decodes ConvAISecretLocator from json.

func (*ConvAISecretLocator) Encode

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

Encode implements json.Marshaler.

func (*ConvAISecretLocator) GetSecretID

func (s *ConvAISecretLocator) GetSecretID() string

GetSecretID returns the value of SecretID.

func (*ConvAISecretLocator) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConvAISecretLocator) SetSecretID

func (s *ConvAISecretLocator) SetSecretID(val string)

SetSecretID sets the value of SecretID.

func (*ConvAISecretLocator) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConvAIStoredSecretDependencies

type ConvAIStoredSecretDependencies struct {
	Agents       []ConvAIStoredSecretDependenciesAgentsItem `json:"agents"`
	Others       []SecretDependencyType                     `json:"others"`
	PhoneNumbers []DependentPhoneNumberIdentifier           `json:"phone_numbers"`
	Tools        []ConvAIStoredSecretDependenciesToolsItem  `json:"tools"`
}

Ref: #/components/schemas/ConvAIStoredSecretDependencies

func (*ConvAIStoredSecretDependencies) Decode

Decode decodes ConvAIStoredSecretDependencies from json.

func (*ConvAIStoredSecretDependencies) Encode

Encode implements json.Marshaler.

func (*ConvAIStoredSecretDependencies) GetAgents

GetAgents returns the value of Agents.

func (*ConvAIStoredSecretDependencies) GetOthers

GetOthers returns the value of Others.

func (*ConvAIStoredSecretDependencies) GetPhoneNumbers

GetPhoneNumbers returns the value of PhoneNumbers.

func (*ConvAIStoredSecretDependencies) GetTools

GetTools returns the value of Tools.

func (*ConvAIStoredSecretDependencies) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConvAIStoredSecretDependencies) SetAgents

SetAgents sets the value of Agents.

func (*ConvAIStoredSecretDependencies) SetOthers

SetOthers sets the value of Others.

func (*ConvAIStoredSecretDependencies) SetPhoneNumbers

SetPhoneNumbers sets the value of PhoneNumbers.

func (*ConvAIStoredSecretDependencies) SetTools

SetTools sets the value of Tools.

func (*ConvAIStoredSecretDependencies) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConvAIStoredSecretDependencies) Validate

func (s *ConvAIStoredSecretDependencies) Validate() error

type ConvAIStoredSecretDependenciesAgentsItem

type ConvAIStoredSecretDependenciesAgentsItem struct {
	Type                              ConvAIStoredSecretDependenciesAgentsItemType // switch on this field
	DependentAvailableAgentIdentifier DependentAvailableAgentIdentifier
	DependentUnknownAgentIdentifier   DependentUnknownAgentIdentifier
}

ConvAIStoredSecretDependenciesAgentsItem represents sum type.

func NewDependentAvailableAgentIdentifierConvAIStoredSecretDependenciesAgentsItem

func NewDependentAvailableAgentIdentifierConvAIStoredSecretDependenciesAgentsItem(v DependentAvailableAgentIdentifier) ConvAIStoredSecretDependenciesAgentsItem

NewDependentAvailableAgentIdentifierConvAIStoredSecretDependenciesAgentsItem returns new ConvAIStoredSecretDependenciesAgentsItem from DependentAvailableAgentIdentifier.

func NewDependentUnknownAgentIdentifierConvAIStoredSecretDependenciesAgentsItem

func NewDependentUnknownAgentIdentifierConvAIStoredSecretDependenciesAgentsItem(v DependentUnknownAgentIdentifier) ConvAIStoredSecretDependenciesAgentsItem

NewDependentUnknownAgentIdentifierConvAIStoredSecretDependenciesAgentsItem returns new ConvAIStoredSecretDependenciesAgentsItem from DependentUnknownAgentIdentifier.

func (*ConvAIStoredSecretDependenciesAgentsItem) Decode

Decode decodes ConvAIStoredSecretDependenciesAgentsItem from json.

func (ConvAIStoredSecretDependenciesAgentsItem) Encode

Encode encodes ConvAIStoredSecretDependenciesAgentsItem as json.

func (ConvAIStoredSecretDependenciesAgentsItem) GetDependentAvailableAgentIdentifier

func (s ConvAIStoredSecretDependenciesAgentsItem) GetDependentAvailableAgentIdentifier() (v DependentAvailableAgentIdentifier, ok bool)

GetDependentAvailableAgentIdentifier returns DependentAvailableAgentIdentifier and true boolean if ConvAIStoredSecretDependenciesAgentsItem is DependentAvailableAgentIdentifier.

func (ConvAIStoredSecretDependenciesAgentsItem) GetDependentUnknownAgentIdentifier

func (s ConvAIStoredSecretDependenciesAgentsItem) GetDependentUnknownAgentIdentifier() (v DependentUnknownAgentIdentifier, ok bool)

GetDependentUnknownAgentIdentifier returns DependentUnknownAgentIdentifier and true boolean if ConvAIStoredSecretDependenciesAgentsItem is DependentUnknownAgentIdentifier.

func (ConvAIStoredSecretDependenciesAgentsItem) IsDependentAvailableAgentIdentifier

func (s ConvAIStoredSecretDependenciesAgentsItem) IsDependentAvailableAgentIdentifier() bool

IsDependentAvailableAgentIdentifier reports whether ConvAIStoredSecretDependenciesAgentsItem is DependentAvailableAgentIdentifier.

func (ConvAIStoredSecretDependenciesAgentsItem) IsDependentUnknownAgentIdentifier

func (s ConvAIStoredSecretDependenciesAgentsItem) IsDependentUnknownAgentIdentifier() bool

IsDependentUnknownAgentIdentifier reports whether ConvAIStoredSecretDependenciesAgentsItem is DependentUnknownAgentIdentifier.

func (ConvAIStoredSecretDependenciesAgentsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConvAIStoredSecretDependenciesAgentsItem) SetDependentAvailableAgentIdentifier

func (s *ConvAIStoredSecretDependenciesAgentsItem) SetDependentAvailableAgentIdentifier(v DependentAvailableAgentIdentifier)

SetDependentAvailableAgentIdentifier sets ConvAIStoredSecretDependenciesAgentsItem to DependentAvailableAgentIdentifier.

func (*ConvAIStoredSecretDependenciesAgentsItem) SetDependentUnknownAgentIdentifier

func (s *ConvAIStoredSecretDependenciesAgentsItem) SetDependentUnknownAgentIdentifier(v DependentUnknownAgentIdentifier)

SetDependentUnknownAgentIdentifier sets ConvAIStoredSecretDependenciesAgentsItem to DependentUnknownAgentIdentifier.

func (*ConvAIStoredSecretDependenciesAgentsItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConvAIStoredSecretDependenciesAgentsItem) Validate

type ConvAIStoredSecretDependenciesAgentsItemType

type ConvAIStoredSecretDependenciesAgentsItemType string

ConvAIStoredSecretDependenciesAgentsItemType is oneOf type of ConvAIStoredSecretDependenciesAgentsItem.

const (
	DependentAvailableAgentIdentifierConvAIStoredSecretDependenciesAgentsItem ConvAIStoredSecretDependenciesAgentsItemType = "available"
	DependentUnknownAgentIdentifierConvAIStoredSecretDependenciesAgentsItem   ConvAIStoredSecretDependenciesAgentsItemType = "unknown"
)

Possible values for ConvAIStoredSecretDependenciesAgentsItemType.

type ConvAIStoredSecretDependenciesToolsItem

type ConvAIStoredSecretDependenciesToolsItem struct {
	Type                             ConvAIStoredSecretDependenciesToolsItemType // switch on this field
	DependentAvailableToolIdentifier DependentAvailableToolIdentifier
	DependentUnknownToolIdentifier   DependentUnknownToolIdentifier
}

ConvAIStoredSecretDependenciesToolsItem represents sum type.

func NewDependentAvailableToolIdentifierConvAIStoredSecretDependenciesToolsItem

func NewDependentAvailableToolIdentifierConvAIStoredSecretDependenciesToolsItem(v DependentAvailableToolIdentifier) ConvAIStoredSecretDependenciesToolsItem

NewDependentAvailableToolIdentifierConvAIStoredSecretDependenciesToolsItem returns new ConvAIStoredSecretDependenciesToolsItem from DependentAvailableToolIdentifier.

func NewDependentUnknownToolIdentifierConvAIStoredSecretDependenciesToolsItem

func NewDependentUnknownToolIdentifierConvAIStoredSecretDependenciesToolsItem(v DependentUnknownToolIdentifier) ConvAIStoredSecretDependenciesToolsItem

NewDependentUnknownToolIdentifierConvAIStoredSecretDependenciesToolsItem returns new ConvAIStoredSecretDependenciesToolsItem from DependentUnknownToolIdentifier.

func (*ConvAIStoredSecretDependenciesToolsItem) Decode

Decode decodes ConvAIStoredSecretDependenciesToolsItem from json.

func (ConvAIStoredSecretDependenciesToolsItem) Encode

Encode encodes ConvAIStoredSecretDependenciesToolsItem as json.

func (ConvAIStoredSecretDependenciesToolsItem) GetDependentAvailableToolIdentifier

func (s ConvAIStoredSecretDependenciesToolsItem) GetDependentAvailableToolIdentifier() (v DependentAvailableToolIdentifier, ok bool)

GetDependentAvailableToolIdentifier returns DependentAvailableToolIdentifier and true boolean if ConvAIStoredSecretDependenciesToolsItem is DependentAvailableToolIdentifier.

func (ConvAIStoredSecretDependenciesToolsItem) GetDependentUnknownToolIdentifier

func (s ConvAIStoredSecretDependenciesToolsItem) GetDependentUnknownToolIdentifier() (v DependentUnknownToolIdentifier, ok bool)

GetDependentUnknownToolIdentifier returns DependentUnknownToolIdentifier and true boolean if ConvAIStoredSecretDependenciesToolsItem is DependentUnknownToolIdentifier.

func (ConvAIStoredSecretDependenciesToolsItem) IsDependentAvailableToolIdentifier

func (s ConvAIStoredSecretDependenciesToolsItem) IsDependentAvailableToolIdentifier() bool

IsDependentAvailableToolIdentifier reports whether ConvAIStoredSecretDependenciesToolsItem is DependentAvailableToolIdentifier.

func (ConvAIStoredSecretDependenciesToolsItem) IsDependentUnknownToolIdentifier

func (s ConvAIStoredSecretDependenciesToolsItem) IsDependentUnknownToolIdentifier() bool

IsDependentUnknownToolIdentifier reports whether ConvAIStoredSecretDependenciesToolsItem is DependentUnknownToolIdentifier.

func (ConvAIStoredSecretDependenciesToolsItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConvAIStoredSecretDependenciesToolsItem) SetDependentAvailableToolIdentifier

func (s *ConvAIStoredSecretDependenciesToolsItem) SetDependentAvailableToolIdentifier(v DependentAvailableToolIdentifier)

SetDependentAvailableToolIdentifier sets ConvAIStoredSecretDependenciesToolsItem to DependentAvailableToolIdentifier.

func (*ConvAIStoredSecretDependenciesToolsItem) SetDependentUnknownToolIdentifier

func (s *ConvAIStoredSecretDependenciesToolsItem) SetDependentUnknownToolIdentifier(v DependentUnknownToolIdentifier)

SetDependentUnknownToolIdentifier sets ConvAIStoredSecretDependenciesToolsItem to DependentUnknownToolIdentifier.

func (*ConvAIStoredSecretDependenciesToolsItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConvAIStoredSecretDependenciesToolsItem) Validate

type ConvAIStoredSecretDependenciesToolsItemType

type ConvAIStoredSecretDependenciesToolsItemType string

ConvAIStoredSecretDependenciesToolsItemType is oneOf type of ConvAIStoredSecretDependenciesToolsItem.

const (
	DependentAvailableToolIdentifierConvAIStoredSecretDependenciesToolsItem ConvAIStoredSecretDependenciesToolsItemType = "available"
	DependentUnknownToolIdentifierConvAIStoredSecretDependenciesToolsItem   ConvAIStoredSecretDependenciesToolsItemType = "unknown"
)

Possible values for ConvAIStoredSecretDependenciesToolsItemType.

type ConvAIWebhooks

type ConvAIWebhooks struct {
	// List of event types to send via webhook. Options: transcript, audio, call_initiation_failure.
	Events            []WebhookEventType `json:"events"`
	PostCallWebhookID OptNilString       `json:"post_call_webhook_id"`
	// DEPRECATED: Use 'events' field instead. Whether to send audio data with post-call webhooks for
	// ConvAI conversations.
	//
	// Deprecated: schema marks this property as deprecated.
	SendAudio OptNilBool `json:"send_audio"`
}

Ref: #/components/schemas/ConvAIWebhooks

func (*ConvAIWebhooks) Decode

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

Decode decodes ConvAIWebhooks from json.

func (*ConvAIWebhooks) Encode

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

Encode implements json.Marshaler.

func (*ConvAIWebhooks) GetEvents

func (s *ConvAIWebhooks) GetEvents() []WebhookEventType

GetEvents returns the value of Events.

func (*ConvAIWebhooks) GetPostCallWebhookID

func (s *ConvAIWebhooks) GetPostCallWebhookID() OptNilString

GetPostCallWebhookID returns the value of PostCallWebhookID.

func (*ConvAIWebhooks) GetSendAudio

func (s *ConvAIWebhooks) GetSendAudio() OptNilBool

GetSendAudio returns the value of SendAudio.

func (*ConvAIWebhooks) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConvAIWebhooks) SetEvents

func (s *ConvAIWebhooks) SetEvents(val []WebhookEventType)

SetEvents sets the value of Events.

func (*ConvAIWebhooks) SetPostCallWebhookID

func (s *ConvAIWebhooks) SetPostCallWebhookID(val OptNilString)

SetPostCallWebhookID sets the value of PostCallWebhookID.

func (*ConvAIWebhooks) SetSendAudio

func (s *ConvAIWebhooks) SetSendAudio(val OptNilBool)

SetSendAudio sets the value of SendAudio.

func (*ConvAIWebhooks) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConvAIWebhooks) Validate

func (s *ConvAIWebhooks) Validate() error

type ConvAIWorkspaceStoredSecretConfig

type ConvAIWorkspaceStoredSecretConfig struct {
	Name     string                                `json:"name"`
	SecretID string                                `json:"secret_id"`
	Type     ConvAIWorkspaceStoredSecretConfigType `json:"type"`
	UsedBy   ConvAIStoredSecretDependencies        `json:"used_by"`
}

Ref: #/components/schemas/ConvAIWorkspaceStoredSecretConfig

func (*ConvAIWorkspaceStoredSecretConfig) Decode

Decode decodes ConvAIWorkspaceStoredSecretConfig from json.

func (*ConvAIWorkspaceStoredSecretConfig) Encode

Encode implements json.Marshaler.

func (*ConvAIWorkspaceStoredSecretConfig) GetName

GetName returns the value of Name.

func (*ConvAIWorkspaceStoredSecretConfig) GetSecretID

func (s *ConvAIWorkspaceStoredSecretConfig) GetSecretID() string

GetSecretID returns the value of SecretID.

func (*ConvAIWorkspaceStoredSecretConfig) GetType

GetType returns the value of Type.

func (*ConvAIWorkspaceStoredSecretConfig) GetUsedBy

GetUsedBy returns the value of UsedBy.

func (*ConvAIWorkspaceStoredSecretConfig) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConvAIWorkspaceStoredSecretConfig) SetName

func (s *ConvAIWorkspaceStoredSecretConfig) SetName(val string)

SetName sets the value of Name.

func (*ConvAIWorkspaceStoredSecretConfig) SetSecretID

func (s *ConvAIWorkspaceStoredSecretConfig) SetSecretID(val string)

SetSecretID sets the value of SecretID.

func (*ConvAIWorkspaceStoredSecretConfig) SetType

SetType sets the value of Type.

func (*ConvAIWorkspaceStoredSecretConfig) SetUsedBy

SetUsedBy sets the value of UsedBy.

func (*ConvAIWorkspaceStoredSecretConfig) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConvAIWorkspaceStoredSecretConfig) Validate

type ConvAIWorkspaceStoredSecretConfigType

type ConvAIWorkspaceStoredSecretConfigType string
const (
	ConvAIWorkspaceStoredSecretConfigTypeStored ConvAIWorkspaceStoredSecretConfigType = "stored"
)

func (ConvAIWorkspaceStoredSecretConfigType) AllValues

AllValues returns all ConvAIWorkspaceStoredSecretConfigType values.

func (*ConvAIWorkspaceStoredSecretConfigType) Decode

Decode decodes ConvAIWorkspaceStoredSecretConfigType from json.

func (ConvAIWorkspaceStoredSecretConfigType) Encode

Encode encodes ConvAIWorkspaceStoredSecretConfigType as json.

func (ConvAIWorkspaceStoredSecretConfigType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (ConvAIWorkspaceStoredSecretConfigType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ConvAIWorkspaceStoredSecretConfigType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConvAIWorkspaceStoredSecretConfigType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ConvAIWorkspaceStoredSecretConfigType) Validate

type ConversationChargingCommonModel

type ConversationChargingCommonModel struct {
	CallCharge             OptNilInt           `json:"call_charge"`
	DevDiscount            OptBool             `json:"dev_discount"`
	FreeLlmDollarsConsumed OptFloat64          `json:"free_llm_dollars_consumed"`
	FreeMinutesConsumed    OptFloat64          `json:"free_minutes_consumed"`
	IsBurst                OptBool             `json:"is_burst"`
	LlmCharge              OptNilInt           `json:"llm_charge"`
	LlmPrice               OptNilFloat64       `json:"llm_price"`
	LlmUsage               OptLLMCategoryUsage `json:"llm_usage"`
	Tier                   OptNilString        `json:"tier"`
}

Ref: #/components/schemas/ConversationChargingCommonModel

func (*ConversationChargingCommonModel) Decode

Decode decodes ConversationChargingCommonModel from json.

func (*ConversationChargingCommonModel) Encode

Encode implements json.Marshaler.

func (*ConversationChargingCommonModel) GetCallCharge

func (s *ConversationChargingCommonModel) GetCallCharge() OptNilInt

GetCallCharge returns the value of CallCharge.

func (*ConversationChargingCommonModel) GetDevDiscount

func (s *ConversationChargingCommonModel) GetDevDiscount() OptBool

GetDevDiscount returns the value of DevDiscount.

func (*ConversationChargingCommonModel) GetFreeLlmDollarsConsumed

func (s *ConversationChargingCommonModel) GetFreeLlmDollarsConsumed() OptFloat64

GetFreeLlmDollarsConsumed returns the value of FreeLlmDollarsConsumed.

func (*ConversationChargingCommonModel) GetFreeMinutesConsumed

func (s *ConversationChargingCommonModel) GetFreeMinutesConsumed() OptFloat64

GetFreeMinutesConsumed returns the value of FreeMinutesConsumed.

func (*ConversationChargingCommonModel) GetIsBurst

func (s *ConversationChargingCommonModel) GetIsBurst() OptBool

GetIsBurst returns the value of IsBurst.

func (*ConversationChargingCommonModel) GetLlmCharge

func (s *ConversationChargingCommonModel) GetLlmCharge() OptNilInt

GetLlmCharge returns the value of LlmCharge.

func (*ConversationChargingCommonModel) GetLlmPrice

GetLlmPrice returns the value of LlmPrice.

func (*ConversationChargingCommonModel) GetLlmUsage

GetLlmUsage returns the value of LlmUsage.

func (*ConversationChargingCommonModel) GetTier

GetTier returns the value of Tier.

func (*ConversationChargingCommonModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationChargingCommonModel) SetCallCharge

func (s *ConversationChargingCommonModel) SetCallCharge(val OptNilInt)

SetCallCharge sets the value of CallCharge.

func (*ConversationChargingCommonModel) SetDevDiscount

func (s *ConversationChargingCommonModel) SetDevDiscount(val OptBool)

SetDevDiscount sets the value of DevDiscount.

func (*ConversationChargingCommonModel) SetFreeLlmDollarsConsumed

func (s *ConversationChargingCommonModel) SetFreeLlmDollarsConsumed(val OptFloat64)

SetFreeLlmDollarsConsumed sets the value of FreeLlmDollarsConsumed.

func (*ConversationChargingCommonModel) SetFreeMinutesConsumed

func (s *ConversationChargingCommonModel) SetFreeMinutesConsumed(val OptFloat64)

SetFreeMinutesConsumed sets the value of FreeMinutesConsumed.

func (*ConversationChargingCommonModel) SetIsBurst

func (s *ConversationChargingCommonModel) SetIsBurst(val OptBool)

SetIsBurst sets the value of IsBurst.

func (*ConversationChargingCommonModel) SetLlmCharge

func (s *ConversationChargingCommonModel) SetLlmCharge(val OptNilInt)

SetLlmCharge sets the value of LlmCharge.

func (*ConversationChargingCommonModel) SetLlmPrice

func (s *ConversationChargingCommonModel) SetLlmPrice(val OptNilFloat64)

SetLlmPrice sets the value of LlmPrice.

func (*ConversationChargingCommonModel) SetLlmUsage

SetLlmUsage sets the value of LlmUsage.

func (*ConversationChargingCommonModel) SetTier

SetTier sets the value of Tier.

func (*ConversationChargingCommonModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationChargingCommonModel) Validate

func (s *ConversationChargingCommonModel) Validate() error

type ConversationConfigClientOverrideInput

type ConversationConfigClientOverrideInput struct {
	// Agent specific configuration.
	Agent OptAgentConfigOverrideInput `json:"agent"`
	// Configuration for conversational events.
	Conversation OptConversationConfigOverride `json:"conversation"`
	// Configuration for conversational text to speech.
	Tts OptTTSConversationalConfigOverride `json:"tts"`
	// Configuration for turn detection.
	Turn OptTurnConfigOverride `json:"turn"`
}

Ref: #/components/schemas/ConversationConfigClientOverride-Input

func (*ConversationConfigClientOverrideInput) Decode

Decode decodes ConversationConfigClientOverrideInput from json.

func (*ConversationConfigClientOverrideInput) Encode

Encode implements json.Marshaler.

func (*ConversationConfigClientOverrideInput) GetAgent

GetAgent returns the value of Agent.

func (*ConversationConfigClientOverrideInput) GetConversation

GetConversation returns the value of Conversation.

func (*ConversationConfigClientOverrideInput) GetTts

GetTts returns the value of Tts.

func (*ConversationConfigClientOverrideInput) GetTurn

GetTurn returns the value of Turn.

func (*ConversationConfigClientOverrideInput) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationConfigClientOverrideInput) SetAgent

SetAgent sets the value of Agent.

func (*ConversationConfigClientOverrideInput) SetConversation

SetConversation sets the value of Conversation.

func (*ConversationConfigClientOverrideInput) SetTts

SetTts sets the value of Tts.

func (*ConversationConfigClientOverrideInput) SetTurn

SetTurn sets the value of Turn.

func (*ConversationConfigClientOverrideInput) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationConfigClientOverrideInput) Validate

type ConversationConfigClientOverrideOutput

type ConversationConfigClientOverrideOutput struct {
	// Agent specific configuration.
	Agent OptAgentConfigOverrideOutput `json:"agent"`
	// Configuration for conversational events.
	Conversation OptConversationConfigOverride `json:"conversation"`
	// Configuration for conversational text to speech.
	Tts OptTTSConversationalConfigOverride `json:"tts"`
	// Configuration for turn detection.
	Turn OptTurnConfigOverride `json:"turn"`
}

Ref: #/components/schemas/ConversationConfigClientOverride-Output

func (*ConversationConfigClientOverrideOutput) Decode

Decode decodes ConversationConfigClientOverrideOutput from json.

func (*ConversationConfigClientOverrideOutput) Encode

Encode implements json.Marshaler.

func (*ConversationConfigClientOverrideOutput) GetAgent

GetAgent returns the value of Agent.

func (*ConversationConfigClientOverrideOutput) GetConversation

GetConversation returns the value of Conversation.

func (*ConversationConfigClientOverrideOutput) GetTts

GetTts returns the value of Tts.

func (*ConversationConfigClientOverrideOutput) GetTurn

GetTurn returns the value of Turn.

func (*ConversationConfigClientOverrideOutput) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationConfigClientOverrideOutput) SetAgent

SetAgent sets the value of Agent.

func (*ConversationConfigClientOverrideOutput) SetConversation

SetConversation sets the value of Conversation.

func (*ConversationConfigClientOverrideOutput) SetTts

SetTts sets the value of Tts.

func (*ConversationConfigClientOverrideOutput) SetTurn

SetTurn sets the value of Turn.

func (*ConversationConfigClientOverrideOutput) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationConfigClientOverrideOutput) Validate

type ConversationConfigOverride

type ConversationConfigOverride struct {
	// If enabled audio will not be processed and only text will be used, use to avoid audio pricing.
	TextOnly OptNilBool `json:"text_only"`
}

Ref: #/components/schemas/ConversationConfigOverride

func (*ConversationConfigOverride) Decode

Decode decodes ConversationConfigOverride from json.

func (*ConversationConfigOverride) Encode

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

Encode implements json.Marshaler.

func (*ConversationConfigOverride) GetTextOnly

func (s *ConversationConfigOverride) GetTextOnly() OptNilBool

GetTextOnly returns the value of TextOnly.

func (*ConversationConfigOverride) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationConfigOverride) SetTextOnly

func (s *ConversationConfigOverride) SetTextOnly(val OptNilBool)

SetTextOnly sets the value of TextOnly.

func (*ConversationConfigOverride) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationDeletionSettings

type ConversationDeletionSettings struct {
	DeleteAudio                     OptBool   `json:"delete_audio"`
	DeleteTranscriptAndPii          OptBool   `json:"delete_transcript_and_pii"`
	DeletedAudioAtTimeUnixSecs      OptNilInt `json:"deleted_audio_at_time_unix_secs"`
	DeletedLogsAtTimeUnixSecs       OptNilInt `json:"deleted_logs_at_time_unix_secs"`
	DeletedTranscriptAtTimeUnixSecs OptNilInt `json:"deleted_transcript_at_time_unix_secs"`
	DeletionTimeUnixSecs            OptNilInt `json:"deletion_time_unix_secs"`
}

Ref: #/components/schemas/ConversationDeletionSettings

func (*ConversationDeletionSettings) Decode

Decode decodes ConversationDeletionSettings from json.

func (*ConversationDeletionSettings) Encode

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

Encode implements json.Marshaler.

func (*ConversationDeletionSettings) GetDeleteAudio

func (s *ConversationDeletionSettings) GetDeleteAudio() OptBool

GetDeleteAudio returns the value of DeleteAudio.

func (*ConversationDeletionSettings) GetDeleteTranscriptAndPii

func (s *ConversationDeletionSettings) GetDeleteTranscriptAndPii() OptBool

GetDeleteTranscriptAndPii returns the value of DeleteTranscriptAndPii.

func (*ConversationDeletionSettings) GetDeletedAudioAtTimeUnixSecs

func (s *ConversationDeletionSettings) GetDeletedAudioAtTimeUnixSecs() OptNilInt

GetDeletedAudioAtTimeUnixSecs returns the value of DeletedAudioAtTimeUnixSecs.

func (*ConversationDeletionSettings) GetDeletedLogsAtTimeUnixSecs

func (s *ConversationDeletionSettings) GetDeletedLogsAtTimeUnixSecs() OptNilInt

GetDeletedLogsAtTimeUnixSecs returns the value of DeletedLogsAtTimeUnixSecs.

func (*ConversationDeletionSettings) GetDeletedTranscriptAtTimeUnixSecs

func (s *ConversationDeletionSettings) GetDeletedTranscriptAtTimeUnixSecs() OptNilInt

GetDeletedTranscriptAtTimeUnixSecs returns the value of DeletedTranscriptAtTimeUnixSecs.

func (*ConversationDeletionSettings) GetDeletionTimeUnixSecs

func (s *ConversationDeletionSettings) GetDeletionTimeUnixSecs() OptNilInt

GetDeletionTimeUnixSecs returns the value of DeletionTimeUnixSecs.

func (*ConversationDeletionSettings) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationDeletionSettings) SetDeleteAudio

func (s *ConversationDeletionSettings) SetDeleteAudio(val OptBool)

SetDeleteAudio sets the value of DeleteAudio.

func (*ConversationDeletionSettings) SetDeleteTranscriptAndPii

func (s *ConversationDeletionSettings) SetDeleteTranscriptAndPii(val OptBool)

SetDeleteTranscriptAndPii sets the value of DeleteTranscriptAndPii.

func (*ConversationDeletionSettings) SetDeletedAudioAtTimeUnixSecs

func (s *ConversationDeletionSettings) SetDeletedAudioAtTimeUnixSecs(val OptNilInt)

SetDeletedAudioAtTimeUnixSecs sets the value of DeletedAudioAtTimeUnixSecs.

func (*ConversationDeletionSettings) SetDeletedLogsAtTimeUnixSecs

func (s *ConversationDeletionSettings) SetDeletedLogsAtTimeUnixSecs(val OptNilInt)

SetDeletedLogsAtTimeUnixSecs sets the value of DeletedLogsAtTimeUnixSecs.

func (*ConversationDeletionSettings) SetDeletedTranscriptAtTimeUnixSecs

func (s *ConversationDeletionSettings) SetDeletedTranscriptAtTimeUnixSecs(val OptNilInt)

SetDeletedTranscriptAtTimeUnixSecs sets the value of DeletedTranscriptAtTimeUnixSecs.

func (*ConversationDeletionSettings) SetDeletionTimeUnixSecs

func (s *ConversationDeletionSettings) SetDeletionTimeUnixSecs(val OptNilInt)

SetDeletionTimeUnixSecs sets the value of DeletionTimeUnixSecs.

func (*ConversationDeletionSettings) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationFeedbackRequestModel

type ConversationFeedbackRequestModel struct {
	// Either 'like' or 'dislike' to indicate the feedback for the conversation.
	Feedback OptUserFeedbackScore `json:"feedback"`
}

Ref: #/components/schemas/ConversationFeedbackRequestModel

func (*ConversationFeedbackRequestModel) Decode

Decode decodes ConversationFeedbackRequestModel from json.

func (*ConversationFeedbackRequestModel) Encode

Encode implements json.Marshaler.

func (*ConversationFeedbackRequestModel) GetFeedback

GetFeedback returns the value of Feedback.

func (*ConversationFeedbackRequestModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationFeedbackRequestModel) SetFeedback

SetFeedback sets the value of Feedback.

func (*ConversationFeedbackRequestModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationFeedbackRequestModel) Validate

type ConversationFeedbackType

type ConversationFeedbackType string

Ref: #/components/schemas/ConversationFeedbackType

const (
	ConversationFeedbackTypeThumbs ConversationFeedbackType = "thumbs"
	ConversationFeedbackTypeRating ConversationFeedbackType = "rating"
)

func (ConversationFeedbackType) AllValues

AllValues returns all ConversationFeedbackType values.

func (*ConversationFeedbackType) Decode

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

Decode decodes ConversationFeedbackType from json.

func (ConversationFeedbackType) Encode

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

Encode encodes ConversationFeedbackType as json.

func (ConversationFeedbackType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (ConversationFeedbackType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ConversationFeedbackType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationFeedbackType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationFeedbackType) Validate

func (s ConversationFeedbackType) Validate() error

type ConversationHistoryAnalysisCommonModel

type ConversationHistoryAnalysisCommonModel struct {
	CallSuccessful            EvaluationSuccessResult                                            `json:"call_successful"`
	CallSummaryTitle          OptNilString                                                       `json:"call_summary_title"`
	DataCollectionResults     OptConversationHistoryAnalysisCommonModelDataCollectionResults     `json:"data_collection_results"`
	EvaluationCriteriaResults OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults `json:"evaluation_criteria_results"`
	TranscriptSummary         string                                                             `json:"transcript_summary"`
}

Ref: #/components/schemas/ConversationHistoryAnalysisCommonModel

func (*ConversationHistoryAnalysisCommonModel) Decode

Decode decodes ConversationHistoryAnalysisCommonModel from json.

func (*ConversationHistoryAnalysisCommonModel) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryAnalysisCommonModel) GetCallSuccessful

GetCallSuccessful returns the value of CallSuccessful.

func (*ConversationHistoryAnalysisCommonModel) GetCallSummaryTitle

func (s *ConversationHistoryAnalysisCommonModel) GetCallSummaryTitle() OptNilString

GetCallSummaryTitle returns the value of CallSummaryTitle.

func (*ConversationHistoryAnalysisCommonModel) GetDataCollectionResults

GetDataCollectionResults returns the value of DataCollectionResults.

func (*ConversationHistoryAnalysisCommonModel) GetEvaluationCriteriaResults

GetEvaluationCriteriaResults returns the value of EvaluationCriteriaResults.

func (*ConversationHistoryAnalysisCommonModel) GetTranscriptSummary

func (s *ConversationHistoryAnalysisCommonModel) GetTranscriptSummary() string

GetTranscriptSummary returns the value of TranscriptSummary.

func (*ConversationHistoryAnalysisCommonModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryAnalysisCommonModel) SetCallSuccessful

SetCallSuccessful sets the value of CallSuccessful.

func (*ConversationHistoryAnalysisCommonModel) SetCallSummaryTitle

func (s *ConversationHistoryAnalysisCommonModel) SetCallSummaryTitle(val OptNilString)

SetCallSummaryTitle sets the value of CallSummaryTitle.

func (*ConversationHistoryAnalysisCommonModel) SetDataCollectionResults

SetDataCollectionResults sets the value of DataCollectionResults.

func (*ConversationHistoryAnalysisCommonModel) SetEvaluationCriteriaResults

SetEvaluationCriteriaResults sets the value of EvaluationCriteriaResults.

func (*ConversationHistoryAnalysisCommonModel) SetTranscriptSummary

func (s *ConversationHistoryAnalysisCommonModel) SetTranscriptSummary(val string)

SetTranscriptSummary sets the value of TranscriptSummary.

func (*ConversationHistoryAnalysisCommonModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryAnalysisCommonModel) Validate

type ConversationHistoryAnalysisCommonModelDataCollectionResults

type ConversationHistoryAnalysisCommonModelDataCollectionResults map[string]DataCollectionResultCommonModel

func (*ConversationHistoryAnalysisCommonModelDataCollectionResults) Decode

Decode decodes ConversationHistoryAnalysisCommonModelDataCollectionResults from json.

func (ConversationHistoryAnalysisCommonModelDataCollectionResults) Encode

Encode implements json.Marshaler.

func (ConversationHistoryAnalysisCommonModelDataCollectionResults) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryAnalysisCommonModelDataCollectionResults) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConversationHistoryAnalysisCommonModelDataCollectionResults) Validate

type ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults

type ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults map[string]ConversationHistoryEvaluationCriteriaResultCommonModel

func (*ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Decode

Decode decodes ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults from json.

func (ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Encode

Encode implements json.Marshaler.

func (ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Validate

type ConversationHistoryBatchCallModel

type ConversationHistoryBatchCallModel struct {
	BatchCallID          string `json:"batch_call_id"`
	BatchCallRecipientID string `json:"batch_call_recipient_id"`
}

Ref: #/components/schemas/ConversationHistoryBatchCallModel

func (*ConversationHistoryBatchCallModel) Decode

Decode decodes ConversationHistoryBatchCallModel from json.

func (*ConversationHistoryBatchCallModel) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryBatchCallModel) GetBatchCallID

func (s *ConversationHistoryBatchCallModel) GetBatchCallID() string

GetBatchCallID returns the value of BatchCallID.

func (*ConversationHistoryBatchCallModel) GetBatchCallRecipientID

func (s *ConversationHistoryBatchCallModel) GetBatchCallRecipientID() string

GetBatchCallRecipientID returns the value of BatchCallRecipientID.

func (*ConversationHistoryBatchCallModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryBatchCallModel) SetBatchCallID

func (s *ConversationHistoryBatchCallModel) SetBatchCallID(val string)

SetBatchCallID sets the value of BatchCallID.

func (*ConversationHistoryBatchCallModel) SetBatchCallRecipientID

func (s *ConversationHistoryBatchCallModel) SetBatchCallRecipientID(val string)

SetBatchCallRecipientID sets the value of BatchCallRecipientID.

func (*ConversationHistoryBatchCallModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationHistoryElevenAssistantCommonModel

type ConversationHistoryElevenAssistantCommonModel struct {
	IsElevenAssistant OptBool `json:"is_eleven_assistant"`
}

Ref: #/components/schemas/ConversationHistoryElevenAssistantCommonModel

func (*ConversationHistoryElevenAssistantCommonModel) Decode

Decode decodes ConversationHistoryElevenAssistantCommonModel from json.

func (*ConversationHistoryElevenAssistantCommonModel) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryElevenAssistantCommonModel) GetIsElevenAssistant

func (s *ConversationHistoryElevenAssistantCommonModel) GetIsElevenAssistant() OptBool

GetIsElevenAssistant returns the value of IsElevenAssistant.

func (*ConversationHistoryElevenAssistantCommonModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryElevenAssistantCommonModel) SetIsElevenAssistant

func (s *ConversationHistoryElevenAssistantCommonModel) SetIsElevenAssistant(val OptBool)

SetIsElevenAssistant sets the value of IsElevenAssistant.

func (*ConversationHistoryElevenAssistantCommonModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationHistoryErrorCommonModel

type ConversationHistoryErrorCommonModel struct {
	Code   int          `json:"code"`
	Reason OptNilString `json:"reason"`
}

Ref: #/components/schemas/ConversationHistoryErrorCommonModel

func (*ConversationHistoryErrorCommonModel) Decode

Decode decodes ConversationHistoryErrorCommonModel from json.

func (*ConversationHistoryErrorCommonModel) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryErrorCommonModel) GetCode

GetCode returns the value of Code.

func (*ConversationHistoryErrorCommonModel) GetReason

GetReason returns the value of Reason.

func (*ConversationHistoryErrorCommonModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryErrorCommonModel) SetCode

func (s *ConversationHistoryErrorCommonModel) SetCode(val int)

SetCode sets the value of Code.

func (*ConversationHistoryErrorCommonModel) SetReason

SetReason sets the value of Reason.

func (*ConversationHistoryErrorCommonModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationHistoryEvaluationCriteriaResultCommonModel

type ConversationHistoryEvaluationCriteriaResultCommonModel struct {
	CriteriaID string                  `json:"criteria_id"`
	Rationale  string                  `json:"rationale"`
	Result     EvaluationSuccessResult `json:"result"`
}

Ref: #/components/schemas/ConversationHistoryEvaluationCriteriaResultCommonModel

func (*ConversationHistoryEvaluationCriteriaResultCommonModel) Decode

Decode decodes ConversationHistoryEvaluationCriteriaResultCommonModel from json.

func (*ConversationHistoryEvaluationCriteriaResultCommonModel) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryEvaluationCriteriaResultCommonModel) GetCriteriaID

GetCriteriaID returns the value of CriteriaID.

func (*ConversationHistoryEvaluationCriteriaResultCommonModel) GetRationale

GetRationale returns the value of Rationale.

func (*ConversationHistoryEvaluationCriteriaResultCommonModel) GetResult

GetResult returns the value of Result.

func (*ConversationHistoryEvaluationCriteriaResultCommonModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryEvaluationCriteriaResultCommonModel) SetCriteriaID

SetCriteriaID sets the value of CriteriaID.

func (*ConversationHistoryEvaluationCriteriaResultCommonModel) SetRationale

SetRationale sets the value of Rationale.

func (*ConversationHistoryEvaluationCriteriaResultCommonModel) SetResult

SetResult sets the value of Result.

func (*ConversationHistoryEvaluationCriteriaResultCommonModel) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryEvaluationCriteriaResultCommonModel) Validate

type ConversationHistoryFeedbackCommonModel

type ConversationHistoryFeedbackCommonModel struct {
	Comment      OptNilString                `json:"comment"`
	Dislikes     OptInt                      `json:"dislikes"`
	Likes        OptInt                      `json:"likes"`
	OverallScore OptUserFeedbackScore        `json:"overall_score"`
	Rating       OptNilInt                   `json:"rating"`
	Type         OptConversationFeedbackType `json:"type"`
}

Ref: #/components/schemas/ConversationHistoryFeedbackCommonModel

func (*ConversationHistoryFeedbackCommonModel) Decode

Decode decodes ConversationHistoryFeedbackCommonModel from json.

func (*ConversationHistoryFeedbackCommonModel) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryFeedbackCommonModel) GetComment

GetComment returns the value of Comment.

func (*ConversationHistoryFeedbackCommonModel) GetDislikes

GetDislikes returns the value of Dislikes.

func (*ConversationHistoryFeedbackCommonModel) GetLikes

GetLikes returns the value of Likes.

func (*ConversationHistoryFeedbackCommonModel) GetOverallScore

GetOverallScore returns the value of OverallScore.

func (*ConversationHistoryFeedbackCommonModel) GetRating

GetRating returns the value of Rating.

func (*ConversationHistoryFeedbackCommonModel) GetType

GetType returns the value of Type.

func (*ConversationHistoryFeedbackCommonModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryFeedbackCommonModel) SetComment

SetComment sets the value of Comment.

func (*ConversationHistoryFeedbackCommonModel) SetDislikes

func (s *ConversationHistoryFeedbackCommonModel) SetDislikes(val OptInt)

SetDislikes sets the value of Dislikes.

func (*ConversationHistoryFeedbackCommonModel) SetLikes

SetLikes sets the value of Likes.

func (*ConversationHistoryFeedbackCommonModel) SetOverallScore

SetOverallScore sets the value of OverallScore.

func (*ConversationHistoryFeedbackCommonModel) SetRating

SetRating sets the value of Rating.

func (*ConversationHistoryFeedbackCommonModel) SetType

SetType sets the value of Type.

func (*ConversationHistoryFeedbackCommonModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryFeedbackCommonModel) Validate

type ConversationHistoryMetadataCommonModel

type ConversationHistoryMetadataCommonModel struct {
	AcceptedTimeUnixSecs                OptNilInt                                                  `json:"accepted_time_unix_secs"`
	AgentCreatedFrom                    OptAgentDefinitionSource                                   `json:"agent_created_from"`
	AgentLastUpdatedFrom                OptAgentDefinitionSource                                   `json:"agent_last_updated_from"`
	AsyncMetadata                       OptAsyncConversationMetadata                               `json:"async_metadata"`
	AuthorizationMethod                 OptAuthorizationMethod                                     `json:"authorization_method"`
	BatchCall                           OptConversationHistoryBatchCallModel                       `json:"batch_call"`
	CallDurationSecs                    int                                                        `json:"call_duration_secs"`
	Charging                            OptConversationChargingCommonModel                         `json:"charging"`
	ConversationInitiationSource        OptConversationInitiationSource                            `json:"conversation_initiation_source"`
	ConversationInitiationSourceVersion OptNilString                                               `json:"conversation_initiation_source_version"`
	Cost                                OptNilInt                                                  `json:"cost"`
	DeletionSettings                    OptConversationDeletionSettings                            `json:"deletion_settings"`
	ElevenAssistant                     OptConversationHistoryElevenAssistantCommonModel           `json:"eleven_assistant"`
	Error                               OptConversationHistoryErrorCommonModel                     `json:"error"`
	FeaturesUsage                       OptFeaturesUsageCommonModel                                `json:"features_usage"`
	Feedback                            OptConversationHistoryFeedbackCommonModel                  `json:"feedback"`
	InitiationTrigger                   OptConversationHistoryMetadataCommonModelInitiationTrigger `json:"initiation_trigger"`
	InitiatorID                         OptNilString                                               `json:"initiator_id"`
	MainLanguage                        OptNilString                                               `json:"main_language"`
	PhoneCall                           OptNilConversationHistoryMetadataCommonModelPhoneCall      `json:"phone_call"`
	RagUsage                            OptConversationHistoryRagUsageCommonModel                  `json:"rag_usage"`
	StartTimeUnixSecs                   int                                                        `json:"start_time_unix_secs"`
	TerminationReason                   OptString                                                  `json:"termination_reason"`
	TextOnly                            OptBool                                                    `json:"text_only"`
	Timezone                            OptNilString                                               `json:"timezone"`
	Warnings                            []string                                                   `json:"warnings"`
	Whatsapp                            OptWhatsAppConversationInfo                                `json:"whatsapp"`
}

Ref: #/components/schemas/ConversationHistoryMetadataCommonModel

func (*ConversationHistoryMetadataCommonModel) Decode

Decode decodes ConversationHistoryMetadataCommonModel from json.

func (*ConversationHistoryMetadataCommonModel) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryMetadataCommonModel) GetAcceptedTimeUnixSecs

func (s *ConversationHistoryMetadataCommonModel) GetAcceptedTimeUnixSecs() OptNilInt

GetAcceptedTimeUnixSecs returns the value of AcceptedTimeUnixSecs.

func (*ConversationHistoryMetadataCommonModel) GetAgentCreatedFrom

GetAgentCreatedFrom returns the value of AgentCreatedFrom.

func (*ConversationHistoryMetadataCommonModel) GetAgentLastUpdatedFrom

GetAgentLastUpdatedFrom returns the value of AgentLastUpdatedFrom.

func (*ConversationHistoryMetadataCommonModel) GetAsyncMetadata

GetAsyncMetadata returns the value of AsyncMetadata.

func (*ConversationHistoryMetadataCommonModel) GetAuthorizationMethod

GetAuthorizationMethod returns the value of AuthorizationMethod.

func (*ConversationHistoryMetadataCommonModel) GetBatchCall

GetBatchCall returns the value of BatchCall.

func (*ConversationHistoryMetadataCommonModel) GetCallDurationSecs

func (s *ConversationHistoryMetadataCommonModel) GetCallDurationSecs() int

GetCallDurationSecs returns the value of CallDurationSecs.

func (*ConversationHistoryMetadataCommonModel) GetCharging

GetCharging returns the value of Charging.

func (*ConversationHistoryMetadataCommonModel) GetConversationInitiationSource

func (s *ConversationHistoryMetadataCommonModel) GetConversationInitiationSource() OptConversationInitiationSource

GetConversationInitiationSource returns the value of ConversationInitiationSource.

func (*ConversationHistoryMetadataCommonModel) GetConversationInitiationSourceVersion

func (s *ConversationHistoryMetadataCommonModel) GetConversationInitiationSourceVersion() OptNilString

GetConversationInitiationSourceVersion returns the value of ConversationInitiationSourceVersion.

func (*ConversationHistoryMetadataCommonModel) GetCost

GetCost returns the value of Cost.

func (*ConversationHistoryMetadataCommonModel) GetDeletionSettings

GetDeletionSettings returns the value of DeletionSettings.

func (*ConversationHistoryMetadataCommonModel) GetElevenAssistant

GetElevenAssistant returns the value of ElevenAssistant.

func (*ConversationHistoryMetadataCommonModel) GetError

GetError returns the value of Error.

func (*ConversationHistoryMetadataCommonModel) GetFeaturesUsage

GetFeaturesUsage returns the value of FeaturesUsage.

func (*ConversationHistoryMetadataCommonModel) GetFeedback

GetFeedback returns the value of Feedback.

func (*ConversationHistoryMetadataCommonModel) GetInitiationTrigger

GetInitiationTrigger returns the value of InitiationTrigger.

func (*ConversationHistoryMetadataCommonModel) GetInitiatorID

GetInitiatorID returns the value of InitiatorID.

func (*ConversationHistoryMetadataCommonModel) GetMainLanguage

GetMainLanguage returns the value of MainLanguage.

func (*ConversationHistoryMetadataCommonModel) GetPhoneCall

GetPhoneCall returns the value of PhoneCall.

func (*ConversationHistoryMetadataCommonModel) GetRagUsage

GetRagUsage returns the value of RagUsage.

func (*ConversationHistoryMetadataCommonModel) GetStartTimeUnixSecs

func (s *ConversationHistoryMetadataCommonModel) GetStartTimeUnixSecs() int

GetStartTimeUnixSecs returns the value of StartTimeUnixSecs.

func (*ConversationHistoryMetadataCommonModel) GetTerminationReason

func (s *ConversationHistoryMetadataCommonModel) GetTerminationReason() OptString

GetTerminationReason returns the value of TerminationReason.

func (*ConversationHistoryMetadataCommonModel) GetTextOnly

GetTextOnly returns the value of TextOnly.

func (*ConversationHistoryMetadataCommonModel) GetTimezone

GetTimezone returns the value of Timezone.

func (*ConversationHistoryMetadataCommonModel) GetWarnings

GetWarnings returns the value of Warnings.

func (*ConversationHistoryMetadataCommonModel) GetWhatsapp

GetWhatsapp returns the value of Whatsapp.

func (*ConversationHistoryMetadataCommonModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryMetadataCommonModel) SetAcceptedTimeUnixSecs

func (s *ConversationHistoryMetadataCommonModel) SetAcceptedTimeUnixSecs(val OptNilInt)

SetAcceptedTimeUnixSecs sets the value of AcceptedTimeUnixSecs.

func (*ConversationHistoryMetadataCommonModel) SetAgentCreatedFrom

SetAgentCreatedFrom sets the value of AgentCreatedFrom.

func (*ConversationHistoryMetadataCommonModel) SetAgentLastUpdatedFrom

func (s *ConversationHistoryMetadataCommonModel) SetAgentLastUpdatedFrom(val OptAgentDefinitionSource)

SetAgentLastUpdatedFrom sets the value of AgentLastUpdatedFrom.

func (*ConversationHistoryMetadataCommonModel) SetAsyncMetadata

SetAsyncMetadata sets the value of AsyncMetadata.

func (*ConversationHistoryMetadataCommonModel) SetAuthorizationMethod

func (s *ConversationHistoryMetadataCommonModel) SetAuthorizationMethod(val OptAuthorizationMethod)

SetAuthorizationMethod sets the value of AuthorizationMethod.

func (*ConversationHistoryMetadataCommonModel) SetBatchCall

SetBatchCall sets the value of BatchCall.

func (*ConversationHistoryMetadataCommonModel) SetCallDurationSecs

func (s *ConversationHistoryMetadataCommonModel) SetCallDurationSecs(val int)

SetCallDurationSecs sets the value of CallDurationSecs.

func (*ConversationHistoryMetadataCommonModel) SetCharging

SetCharging sets the value of Charging.

func (*ConversationHistoryMetadataCommonModel) SetConversationInitiationSource

func (s *ConversationHistoryMetadataCommonModel) SetConversationInitiationSource(val OptConversationInitiationSource)

SetConversationInitiationSource sets the value of ConversationInitiationSource.

func (*ConversationHistoryMetadataCommonModel) SetConversationInitiationSourceVersion

func (s *ConversationHistoryMetadataCommonModel) SetConversationInitiationSourceVersion(val OptNilString)

SetConversationInitiationSourceVersion sets the value of ConversationInitiationSourceVersion.

func (*ConversationHistoryMetadataCommonModel) SetCost

SetCost sets the value of Cost.

func (*ConversationHistoryMetadataCommonModel) SetDeletionSettings

SetDeletionSettings sets the value of DeletionSettings.

func (*ConversationHistoryMetadataCommonModel) SetElevenAssistant

SetElevenAssistant sets the value of ElevenAssistant.

func (*ConversationHistoryMetadataCommonModel) SetError

SetError sets the value of Error.

func (*ConversationHistoryMetadataCommonModel) SetFeaturesUsage

SetFeaturesUsage sets the value of FeaturesUsage.

func (*ConversationHistoryMetadataCommonModel) SetFeedback

SetFeedback sets the value of Feedback.

func (*ConversationHistoryMetadataCommonModel) SetInitiationTrigger

SetInitiationTrigger sets the value of InitiationTrigger.

func (*ConversationHistoryMetadataCommonModel) SetInitiatorID

SetInitiatorID sets the value of InitiatorID.

func (*ConversationHistoryMetadataCommonModel) SetMainLanguage

func (s *ConversationHistoryMetadataCommonModel) SetMainLanguage(val OptNilString)

SetMainLanguage sets the value of MainLanguage.

func (*ConversationHistoryMetadataCommonModel) SetPhoneCall

SetPhoneCall sets the value of PhoneCall.

func (*ConversationHistoryMetadataCommonModel) SetRagUsage

SetRagUsage sets the value of RagUsage.

func (*ConversationHistoryMetadataCommonModel) SetStartTimeUnixSecs

func (s *ConversationHistoryMetadataCommonModel) SetStartTimeUnixSecs(val int)

SetStartTimeUnixSecs sets the value of StartTimeUnixSecs.

func (*ConversationHistoryMetadataCommonModel) SetTerminationReason

func (s *ConversationHistoryMetadataCommonModel) SetTerminationReason(val OptString)

SetTerminationReason sets the value of TerminationReason.

func (*ConversationHistoryMetadataCommonModel) SetTextOnly

func (s *ConversationHistoryMetadataCommonModel) SetTextOnly(val OptBool)

SetTextOnly sets the value of TextOnly.

func (*ConversationHistoryMetadataCommonModel) SetTimezone

SetTimezone sets the value of Timezone.

func (*ConversationHistoryMetadataCommonModel) SetWarnings

func (s *ConversationHistoryMetadataCommonModel) SetWarnings(val []string)

SetWarnings sets the value of Warnings.

func (*ConversationHistoryMetadataCommonModel) SetWhatsapp

SetWhatsapp sets the value of Whatsapp.

func (*ConversationHistoryMetadataCommonModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryMetadataCommonModel) Validate

type ConversationHistoryMetadataCommonModelInitiationTrigger

type ConversationHistoryMetadataCommonModelInitiationTrigger struct {
	Type                                 ConversationHistoryMetadataCommonModelInitiationTriggerType // switch on this field
	DefaultConversationInitiationTrigger DefaultConversationInitiationTrigger
	ZendeskConversationInitiationTrigger ZendeskConversationInitiationTrigger
}

ConversationHistoryMetadataCommonModelInitiationTrigger represents sum type.

func NewDefaultConversationInitiationTriggerConversationHistoryMetadataCommonModelInitiationTrigger

func NewDefaultConversationInitiationTriggerConversationHistoryMetadataCommonModelInitiationTrigger(v DefaultConversationInitiationTrigger) ConversationHistoryMetadataCommonModelInitiationTrigger

NewDefaultConversationInitiationTriggerConversationHistoryMetadataCommonModelInitiationTrigger returns new ConversationHistoryMetadataCommonModelInitiationTrigger from DefaultConversationInitiationTrigger.

func NewZendeskConversationInitiationTriggerConversationHistoryMetadataCommonModelInitiationTrigger

func NewZendeskConversationInitiationTriggerConversationHistoryMetadataCommonModelInitiationTrigger(v ZendeskConversationInitiationTrigger) ConversationHistoryMetadataCommonModelInitiationTrigger

NewZendeskConversationInitiationTriggerConversationHistoryMetadataCommonModelInitiationTrigger returns new ConversationHistoryMetadataCommonModelInitiationTrigger from ZendeskConversationInitiationTrigger.

func (*ConversationHistoryMetadataCommonModelInitiationTrigger) Decode

Decode decodes ConversationHistoryMetadataCommonModelInitiationTrigger from json.

func (ConversationHistoryMetadataCommonModelInitiationTrigger) Encode

Encode encodes ConversationHistoryMetadataCommonModelInitiationTrigger as json.

func (ConversationHistoryMetadataCommonModelInitiationTrigger) GetDefaultConversationInitiationTrigger

GetDefaultConversationInitiationTrigger returns DefaultConversationInitiationTrigger and true boolean if ConversationHistoryMetadataCommonModelInitiationTrigger is DefaultConversationInitiationTrigger.

func (ConversationHistoryMetadataCommonModelInitiationTrigger) GetZendeskConversationInitiationTrigger

GetZendeskConversationInitiationTrigger returns ZendeskConversationInitiationTrigger and true boolean if ConversationHistoryMetadataCommonModelInitiationTrigger is ZendeskConversationInitiationTrigger.

func (ConversationHistoryMetadataCommonModelInitiationTrigger) IsDefaultConversationInitiationTrigger

func (s ConversationHistoryMetadataCommonModelInitiationTrigger) IsDefaultConversationInitiationTrigger() bool

IsDefaultConversationInitiationTrigger reports whether ConversationHistoryMetadataCommonModelInitiationTrigger is DefaultConversationInitiationTrigger.

func (ConversationHistoryMetadataCommonModelInitiationTrigger) IsZendeskConversationInitiationTrigger

func (s ConversationHistoryMetadataCommonModelInitiationTrigger) IsZendeskConversationInitiationTrigger() bool

IsZendeskConversationInitiationTrigger reports whether ConversationHistoryMetadataCommonModelInitiationTrigger is ZendeskConversationInitiationTrigger.

func (ConversationHistoryMetadataCommonModelInitiationTrigger) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryMetadataCommonModelInitiationTrigger) SetDefaultConversationInitiationTrigger

SetDefaultConversationInitiationTrigger sets ConversationHistoryMetadataCommonModelInitiationTrigger to DefaultConversationInitiationTrigger.

func (*ConversationHistoryMetadataCommonModelInitiationTrigger) SetZendeskConversationInitiationTrigger

SetZendeskConversationInitiationTrigger sets ConversationHistoryMetadataCommonModelInitiationTrigger to ZendeskConversationInitiationTrigger.

func (*ConversationHistoryMetadataCommonModelInitiationTrigger) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConversationHistoryMetadataCommonModelInitiationTrigger) Validate

type ConversationHistoryMetadataCommonModelInitiationTriggerType

type ConversationHistoryMetadataCommonModelInitiationTriggerType string

ConversationHistoryMetadataCommonModelInitiationTriggerType is oneOf type of ConversationHistoryMetadataCommonModelInitiationTrigger.

const (
	DefaultConversationInitiationTriggerConversationHistoryMetadataCommonModelInitiationTrigger ConversationHistoryMetadataCommonModelInitiationTriggerType = "default"
	ZendeskConversationInitiationTriggerConversationHistoryMetadataCommonModelInitiationTrigger ConversationHistoryMetadataCommonModelInitiationTriggerType = "zendesk"
)

Possible values for ConversationHistoryMetadataCommonModelInitiationTriggerType.

type ConversationHistoryMetadataCommonModelPhoneCall

type ConversationHistoryMetadataCommonModelPhoneCall struct {
	Type                                         ConversationHistoryMetadataCommonModelPhoneCallType // switch on this field
	ConversationHistoryTwilioPhoneCallModel      ConversationHistoryTwilioPhoneCallModel
	ConversationHistorySIPTrunkingPhoneCallModel ConversationHistorySIPTrunkingPhoneCallModel
}

ConversationHistoryMetadataCommonModelPhoneCall represents sum type.

func NewConversationHistorySIPTrunkingPhoneCallModelConversationHistoryMetadataCommonModelPhoneCall

func NewConversationHistorySIPTrunkingPhoneCallModelConversationHistoryMetadataCommonModelPhoneCall(v ConversationHistorySIPTrunkingPhoneCallModel) ConversationHistoryMetadataCommonModelPhoneCall

NewConversationHistorySIPTrunkingPhoneCallModelConversationHistoryMetadataCommonModelPhoneCall returns new ConversationHistoryMetadataCommonModelPhoneCall from ConversationHistorySIPTrunkingPhoneCallModel.

func NewConversationHistoryTwilioPhoneCallModelConversationHistoryMetadataCommonModelPhoneCall

func NewConversationHistoryTwilioPhoneCallModelConversationHistoryMetadataCommonModelPhoneCall(v ConversationHistoryTwilioPhoneCallModel) ConversationHistoryMetadataCommonModelPhoneCall

NewConversationHistoryTwilioPhoneCallModelConversationHistoryMetadataCommonModelPhoneCall returns new ConversationHistoryMetadataCommonModelPhoneCall from ConversationHistoryTwilioPhoneCallModel.

func (*ConversationHistoryMetadataCommonModelPhoneCall) Decode

Decode decodes ConversationHistoryMetadataCommonModelPhoneCall from json.

func (ConversationHistoryMetadataCommonModelPhoneCall) Encode

Encode encodes ConversationHistoryMetadataCommonModelPhoneCall as json.

func (ConversationHistoryMetadataCommonModelPhoneCall) GetConversationHistorySIPTrunkingPhoneCallModel

func (s ConversationHistoryMetadataCommonModelPhoneCall) GetConversationHistorySIPTrunkingPhoneCallModel() (v ConversationHistorySIPTrunkingPhoneCallModel, ok bool)

GetConversationHistorySIPTrunkingPhoneCallModel returns ConversationHistorySIPTrunkingPhoneCallModel and true boolean if ConversationHistoryMetadataCommonModelPhoneCall is ConversationHistorySIPTrunkingPhoneCallModel.

func (ConversationHistoryMetadataCommonModelPhoneCall) GetConversationHistoryTwilioPhoneCallModel

func (s ConversationHistoryMetadataCommonModelPhoneCall) GetConversationHistoryTwilioPhoneCallModel() (v ConversationHistoryTwilioPhoneCallModel, ok bool)

GetConversationHistoryTwilioPhoneCallModel returns ConversationHistoryTwilioPhoneCallModel and true boolean if ConversationHistoryMetadataCommonModelPhoneCall is ConversationHistoryTwilioPhoneCallModel.

func (ConversationHistoryMetadataCommonModelPhoneCall) IsConversationHistorySIPTrunkingPhoneCallModel

func (s ConversationHistoryMetadataCommonModelPhoneCall) IsConversationHistorySIPTrunkingPhoneCallModel() bool

IsConversationHistorySIPTrunkingPhoneCallModel reports whether ConversationHistoryMetadataCommonModelPhoneCall is ConversationHistorySIPTrunkingPhoneCallModel.

func (ConversationHistoryMetadataCommonModelPhoneCall) IsConversationHistoryTwilioPhoneCallModel

func (s ConversationHistoryMetadataCommonModelPhoneCall) IsConversationHistoryTwilioPhoneCallModel() bool

IsConversationHistoryTwilioPhoneCallModel reports whether ConversationHistoryMetadataCommonModelPhoneCall is ConversationHistoryTwilioPhoneCallModel.

func (ConversationHistoryMetadataCommonModelPhoneCall) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryMetadataCommonModelPhoneCall) SetConversationHistorySIPTrunkingPhoneCallModel

func (s *ConversationHistoryMetadataCommonModelPhoneCall) SetConversationHistorySIPTrunkingPhoneCallModel(v ConversationHistorySIPTrunkingPhoneCallModel)

SetConversationHistorySIPTrunkingPhoneCallModel sets ConversationHistoryMetadataCommonModelPhoneCall to ConversationHistorySIPTrunkingPhoneCallModel.

func (*ConversationHistoryMetadataCommonModelPhoneCall) SetConversationHistoryTwilioPhoneCallModel

func (s *ConversationHistoryMetadataCommonModelPhoneCall) SetConversationHistoryTwilioPhoneCallModel(v ConversationHistoryTwilioPhoneCallModel)

SetConversationHistoryTwilioPhoneCallModel sets ConversationHistoryMetadataCommonModelPhoneCall to ConversationHistoryTwilioPhoneCallModel.

func (*ConversationHistoryMetadataCommonModelPhoneCall) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConversationHistoryMetadataCommonModelPhoneCall) Validate

type ConversationHistoryMetadataCommonModelPhoneCallType

type ConversationHistoryMetadataCommonModelPhoneCallType string

ConversationHistoryMetadataCommonModelPhoneCallType is oneOf type of ConversationHistoryMetadataCommonModelPhoneCall.

const (
	ConversationHistoryTwilioPhoneCallModelConversationHistoryMetadataCommonModelPhoneCall      ConversationHistoryMetadataCommonModelPhoneCallType = "twilio"
	ConversationHistorySIPTrunkingPhoneCallModelConversationHistoryMetadataCommonModelPhoneCall ConversationHistoryMetadataCommonModelPhoneCallType = "sip_trunking"
)

Possible values for ConversationHistoryMetadataCommonModelPhoneCallType.

type ConversationHistoryMultivoiceMessageModel

type ConversationHistoryMultivoiceMessageModel struct {
	Parts []ConversationHistoryMultivoiceMessagePartModel `json:"parts"`
}

Represents a message from a multi-voice agent. Ref: #/components/schemas/ConversationHistoryMultivoiceMessageModel

func (*ConversationHistoryMultivoiceMessageModel) Decode

Decode decodes ConversationHistoryMultivoiceMessageModel from json.

func (*ConversationHistoryMultivoiceMessageModel) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryMultivoiceMessageModel) GetParts

GetParts returns the value of Parts.

func (*ConversationHistoryMultivoiceMessageModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryMultivoiceMessageModel) SetParts

SetParts sets the value of Parts.

func (*ConversationHistoryMultivoiceMessageModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryMultivoiceMessageModel) Validate

type ConversationHistoryMultivoiceMessagePartModel

type ConversationHistoryMultivoiceMessagePartModel struct {
	Text           string    `json:"text"`
	TimeInCallSecs NilInt    `json:"time_in_call_secs"`
	VoiceLabel     NilString `json:"voice_label"`
}

Represents a single voice part of a multi-voice message. Ref: #/components/schemas/ConversationHistoryMultivoiceMessagePartModel

func (*ConversationHistoryMultivoiceMessagePartModel) Decode

Decode decodes ConversationHistoryMultivoiceMessagePartModel from json.

func (*ConversationHistoryMultivoiceMessagePartModel) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryMultivoiceMessagePartModel) GetText

GetText returns the value of Text.

func (*ConversationHistoryMultivoiceMessagePartModel) GetTimeInCallSecs

GetTimeInCallSecs returns the value of TimeInCallSecs.

func (*ConversationHistoryMultivoiceMessagePartModel) GetVoiceLabel

GetVoiceLabel returns the value of VoiceLabel.

func (*ConversationHistoryMultivoiceMessagePartModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryMultivoiceMessagePartModel) SetText

SetText sets the value of Text.

func (*ConversationHistoryMultivoiceMessagePartModel) SetTimeInCallSecs

func (s *ConversationHistoryMultivoiceMessagePartModel) SetTimeInCallSecs(val NilInt)

SetTimeInCallSecs sets the value of TimeInCallSecs.

func (*ConversationHistoryMultivoiceMessagePartModel) SetVoiceLabel

SetVoiceLabel sets the value of VoiceLabel.

func (*ConversationHistoryMultivoiceMessagePartModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationHistoryRagUsageCommonModel

type ConversationHistoryRagUsageCommonModel struct {
	EmbeddingModel string `json:"embedding_model"`
	UsageCount     int    `json:"usage_count"`
}

Ref: #/components/schemas/ConversationHistoryRagUsageCommonModel

func (*ConversationHistoryRagUsageCommonModel) Decode

Decode decodes ConversationHistoryRagUsageCommonModel from json.

func (*ConversationHistoryRagUsageCommonModel) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryRagUsageCommonModel) GetEmbeddingModel

func (s *ConversationHistoryRagUsageCommonModel) GetEmbeddingModel() string

GetEmbeddingModel returns the value of EmbeddingModel.

func (*ConversationHistoryRagUsageCommonModel) GetUsageCount

func (s *ConversationHistoryRagUsageCommonModel) GetUsageCount() int

GetUsageCount returns the value of UsageCount.

func (*ConversationHistoryRagUsageCommonModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryRagUsageCommonModel) SetEmbeddingModel

func (s *ConversationHistoryRagUsageCommonModel) SetEmbeddingModel(val string)

SetEmbeddingModel sets the value of EmbeddingModel.

func (*ConversationHistoryRagUsageCommonModel) SetUsageCount

func (s *ConversationHistoryRagUsageCommonModel) SetUsageCount(val int)

SetUsageCount sets the value of UsageCount.

func (*ConversationHistoryRagUsageCommonModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationHistorySIPTrunkingPhoneCallModel

type ConversationHistorySIPTrunkingPhoneCallModel struct {
	AgentNumber    string                                                `json:"agent_number"`
	CallSid        string                                                `json:"call_sid"`
	Direction      ConversationHistorySIPTrunkingPhoneCallModelDirection `json:"direction"`
	ExternalNumber string                                                `json:"external_number"`
	PhoneNumberID  string                                                `json:"phone_number_id"`
	Type           ConversationHistorySIPTrunkingPhoneCallModelType      `json:"type"`
}

Ref: #/components/schemas/ConversationHistorySIPTrunkingPhoneCallModel

func (*ConversationHistorySIPTrunkingPhoneCallModel) Decode

Decode decodes ConversationHistorySIPTrunkingPhoneCallModel from json.

func (*ConversationHistorySIPTrunkingPhoneCallModel) Encode

Encode implements json.Marshaler.

func (*ConversationHistorySIPTrunkingPhoneCallModel) GetAgentNumber

GetAgentNumber returns the value of AgentNumber.

func (*ConversationHistorySIPTrunkingPhoneCallModel) GetCallSid

GetCallSid returns the value of CallSid.

func (*ConversationHistorySIPTrunkingPhoneCallModel) GetDirection

GetDirection returns the value of Direction.

func (*ConversationHistorySIPTrunkingPhoneCallModel) GetExternalNumber

GetExternalNumber returns the value of ExternalNumber.

func (*ConversationHistorySIPTrunkingPhoneCallModel) GetPhoneNumberID

GetPhoneNumberID returns the value of PhoneNumberID.

func (*ConversationHistorySIPTrunkingPhoneCallModel) GetType

GetType returns the value of Type.

func (*ConversationHistorySIPTrunkingPhoneCallModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistorySIPTrunkingPhoneCallModel) SetAgentNumber

SetAgentNumber sets the value of AgentNumber.

func (*ConversationHistorySIPTrunkingPhoneCallModel) SetCallSid

SetCallSid sets the value of CallSid.

func (*ConversationHistorySIPTrunkingPhoneCallModel) SetDirection

SetDirection sets the value of Direction.

func (*ConversationHistorySIPTrunkingPhoneCallModel) SetExternalNumber

func (s *ConversationHistorySIPTrunkingPhoneCallModel) SetExternalNumber(val string)

SetExternalNumber sets the value of ExternalNumber.

func (*ConversationHistorySIPTrunkingPhoneCallModel) SetPhoneNumberID

func (s *ConversationHistorySIPTrunkingPhoneCallModel) SetPhoneNumberID(val string)

SetPhoneNumberID sets the value of PhoneNumberID.

func (*ConversationHistorySIPTrunkingPhoneCallModel) SetType

SetType sets the value of Type.

func (*ConversationHistorySIPTrunkingPhoneCallModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistorySIPTrunkingPhoneCallModel) Validate

type ConversationHistorySIPTrunkingPhoneCallModelDirection

type ConversationHistorySIPTrunkingPhoneCallModelDirection string
const (
	ConversationHistorySIPTrunkingPhoneCallModelDirectionInbound  ConversationHistorySIPTrunkingPhoneCallModelDirection = "inbound"
	ConversationHistorySIPTrunkingPhoneCallModelDirectionOutbound ConversationHistorySIPTrunkingPhoneCallModelDirection = "outbound"
)

func (ConversationHistorySIPTrunkingPhoneCallModelDirection) AllValues

AllValues returns all ConversationHistorySIPTrunkingPhoneCallModelDirection values.

func (*ConversationHistorySIPTrunkingPhoneCallModelDirection) Decode

Decode decodes ConversationHistorySIPTrunkingPhoneCallModelDirection from json.

func (ConversationHistorySIPTrunkingPhoneCallModelDirection) Encode

Encode encodes ConversationHistorySIPTrunkingPhoneCallModelDirection as json.

func (ConversationHistorySIPTrunkingPhoneCallModelDirection) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationHistorySIPTrunkingPhoneCallModelDirection) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationHistorySIPTrunkingPhoneCallModelDirection) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistorySIPTrunkingPhoneCallModelDirection) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationHistorySIPTrunkingPhoneCallModelDirection) Validate

type ConversationHistorySIPTrunkingPhoneCallModelType

type ConversationHistorySIPTrunkingPhoneCallModelType string
const (
	ConversationHistorySIPTrunkingPhoneCallModelTypeSipTrunking ConversationHistorySIPTrunkingPhoneCallModelType = "sip_trunking"
)

func (ConversationHistorySIPTrunkingPhoneCallModelType) AllValues

AllValues returns all ConversationHistorySIPTrunkingPhoneCallModelType values.

func (*ConversationHistorySIPTrunkingPhoneCallModelType) Decode

Decode decodes ConversationHistorySIPTrunkingPhoneCallModelType from json.

func (ConversationHistorySIPTrunkingPhoneCallModelType) Encode

Encode encodes ConversationHistorySIPTrunkingPhoneCallModelType as json.

func (ConversationHistorySIPTrunkingPhoneCallModelType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationHistorySIPTrunkingPhoneCallModelType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationHistorySIPTrunkingPhoneCallModelType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistorySIPTrunkingPhoneCallModelType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationHistorySIPTrunkingPhoneCallModelType) Validate

type ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel

type ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel struct {
	CredentialID            string                                                                       `json:"credential_id"`
	DynamicVariableUpdates  []DynamicVariableUpdateCommonModel                                           `json:"dynamic_variable_updates"`
	IntegrationConnectionID string                                                                       `json:"integration_connection_id"`
	IntegrationID           string                                                                       `json:"integration_id"`
	IsError                 bool                                                                         `json:"is_error"`
	RequestID               string                                                                       `json:"request_id"`
	ResultValue             string                                                                       `json:"result_value"`
	ToolHasBeenCalled       bool                                                                         `json:"tool_has_been_called"`
	ToolLatencySecs         OptFloat64                                                                   `json:"tool_latency_secs"`
	ToolName                string                                                                       `json:"tool_name"`
	Type                    ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType `json:"type"`
}

Ref: #/components/schemas/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) Decode

Decode decodes ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel from json.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetCredentialID

GetCredentialID returns the value of CredentialID.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetDynamicVariableUpdates

GetDynamicVariableUpdates returns the value of DynamicVariableUpdates.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetIntegrationConnectionID

GetIntegrationConnectionID returns the value of IntegrationConnectionID.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetIntegrationID

GetIntegrationID returns the value of IntegrationID.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetIsError

GetIsError returns the value of IsError.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetRequestID

GetRequestID returns the value of RequestID.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetResultValue

GetResultValue returns the value of ResultValue.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetToolHasBeenCalled

GetToolHasBeenCalled returns the value of ToolHasBeenCalled.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetToolLatencySecs

GetToolLatencySecs returns the value of ToolLatencySecs.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetToolName

GetToolName returns the value of ToolName.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetType

GetType returns the value of Type.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetCredentialID

SetCredentialID sets the value of CredentialID.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetDynamicVariableUpdates

SetDynamicVariableUpdates sets the value of DynamicVariableUpdates.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetIntegrationConnectionID

SetIntegrationConnectionID sets the value of IntegrationConnectionID.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetIntegrationID

SetIntegrationID sets the value of IntegrationID.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetIsError

SetIsError sets the value of IsError.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetRequestID

SetRequestID sets the value of RequestID.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetResultValue

SetResultValue sets the value of ResultValue.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetToolHasBeenCalled

SetToolHasBeenCalled sets the value of ToolHasBeenCalled.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetToolLatencySecs

SetToolLatencySecs sets the value of ToolLatencySecs.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetToolName

SetToolName sets the value of ToolName.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetType

SetType sets the value of Type.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) Validate

type ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType

type ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType string
const (
	ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelTypeAPIIntegrationWebhook ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType = "api_integration_webhook"
)

func (ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) AllValues

AllValues returns all ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType values.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) Decode

Decode decodes ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType from json.

func (ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) Encode

Encode encodes ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType as json.

func (ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) Validate

type ConversationHistoryTranscriptCommonModelInput

type ConversationHistoryTranscriptCommonModelInput struct {
	AgentMetadata           OptAgentMetadata                                                `json:"agent_metadata"`
	ConversationTurnMetrics OptConversationTurnMetrics                                      `json:"conversation_turn_metrics"`
	Feedback                OptUserFeedback                                                 `json:"feedback"`
	Interrupted             OptBool                                                         `json:"interrupted"`
	LlmOverride             OptNilString                                                    `json:"llm_override"`
	LlmUsage                OptLLMUsageInput                                                `json:"llm_usage"`
	Message                 OptNilString                                                    `json:"message"`
	MultivoiceMessage       OptConversationHistoryMultivoiceMessageModel                    `json:"multivoice_message"`
	OriginalMessage         OptNilString                                                    `json:"original_message"`
	RagRetrievalInfo        OptRagRetrievalInfo                                             `json:"rag_retrieval_info"`
	Role                    ConversationHistoryTranscriptCommonModelInputRole               `json:"role"`
	SourceMedium            OptNilConversationHistoryTranscriptCommonModelInputSourceMedium `json:"source_medium"`
	TimeInCallSecs          int                                                             `json:"time_in_call_secs"`
	ToolCalls               []ConversationHistoryTranscriptToolCallCommonModelInput         `json:"tool_calls"`
	ToolResults             []ConversationHistoryTranscriptCommonModelInputToolResultsItem  `json:"tool_results"`
}

Ref: #/components/schemas/ConversationHistoryTranscriptCommonModel-Input

func (*ConversationHistoryTranscriptCommonModelInput) Decode

Decode decodes ConversationHistoryTranscriptCommonModelInput from json.

func (*ConversationHistoryTranscriptCommonModelInput) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryTranscriptCommonModelInput) GetAgentMetadata

GetAgentMetadata returns the value of AgentMetadata.

func (*ConversationHistoryTranscriptCommonModelInput) GetConversationTurnMetrics

GetConversationTurnMetrics returns the value of ConversationTurnMetrics.

func (*ConversationHistoryTranscriptCommonModelInput) GetFeedback

GetFeedback returns the value of Feedback.

func (*ConversationHistoryTranscriptCommonModelInput) GetInterrupted

GetInterrupted returns the value of Interrupted.

func (*ConversationHistoryTranscriptCommonModelInput) GetLlmOverride

GetLlmOverride returns the value of LlmOverride.

func (*ConversationHistoryTranscriptCommonModelInput) GetLlmUsage

GetLlmUsage returns the value of LlmUsage.

func (*ConversationHistoryTranscriptCommonModelInput) GetMessage

GetMessage returns the value of Message.

func (*ConversationHistoryTranscriptCommonModelInput) GetMultivoiceMessage

GetMultivoiceMessage returns the value of MultivoiceMessage.

func (*ConversationHistoryTranscriptCommonModelInput) GetOriginalMessage

GetOriginalMessage returns the value of OriginalMessage.

func (*ConversationHistoryTranscriptCommonModelInput) GetRagRetrievalInfo

GetRagRetrievalInfo returns the value of RagRetrievalInfo.

func (*ConversationHistoryTranscriptCommonModelInput) GetRole

GetRole returns the value of Role.

func (*ConversationHistoryTranscriptCommonModelInput) GetSourceMedium

GetSourceMedium returns the value of SourceMedium.

func (*ConversationHistoryTranscriptCommonModelInput) GetTimeInCallSecs

func (s *ConversationHistoryTranscriptCommonModelInput) GetTimeInCallSecs() int

GetTimeInCallSecs returns the value of TimeInCallSecs.

func (*ConversationHistoryTranscriptCommonModelInput) GetToolCalls

GetToolCalls returns the value of ToolCalls.

func (*ConversationHistoryTranscriptCommonModelInput) GetToolResults

GetToolResults returns the value of ToolResults.

func (*ConversationHistoryTranscriptCommonModelInput) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptCommonModelInput) SetAgentMetadata

SetAgentMetadata sets the value of AgentMetadata.

func (*ConversationHistoryTranscriptCommonModelInput) SetConversationTurnMetrics

SetConversationTurnMetrics sets the value of ConversationTurnMetrics.

func (*ConversationHistoryTranscriptCommonModelInput) SetFeedback

SetFeedback sets the value of Feedback.

func (*ConversationHistoryTranscriptCommonModelInput) SetInterrupted

SetInterrupted sets the value of Interrupted.

func (*ConversationHistoryTranscriptCommonModelInput) SetLlmOverride

SetLlmOverride sets the value of LlmOverride.

func (*ConversationHistoryTranscriptCommonModelInput) SetLlmUsage

SetLlmUsage sets the value of LlmUsage.

func (*ConversationHistoryTranscriptCommonModelInput) SetMessage

SetMessage sets the value of Message.

func (*ConversationHistoryTranscriptCommonModelInput) SetMultivoiceMessage

SetMultivoiceMessage sets the value of MultivoiceMessage.

func (*ConversationHistoryTranscriptCommonModelInput) SetOriginalMessage

SetOriginalMessage sets the value of OriginalMessage.

func (*ConversationHistoryTranscriptCommonModelInput) SetRagRetrievalInfo

SetRagRetrievalInfo sets the value of RagRetrievalInfo.

func (*ConversationHistoryTranscriptCommonModelInput) SetRole

SetRole sets the value of Role.

func (*ConversationHistoryTranscriptCommonModelInput) SetSourceMedium

SetSourceMedium sets the value of SourceMedium.

func (*ConversationHistoryTranscriptCommonModelInput) SetTimeInCallSecs

func (s *ConversationHistoryTranscriptCommonModelInput) SetTimeInCallSecs(val int)

SetTimeInCallSecs sets the value of TimeInCallSecs.

func (*ConversationHistoryTranscriptCommonModelInput) SetToolCalls

SetToolCalls sets the value of ToolCalls.

func (*ConversationHistoryTranscriptCommonModelInput) SetToolResults

SetToolResults sets the value of ToolResults.

func (*ConversationHistoryTranscriptCommonModelInput) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptCommonModelInput) Validate

type ConversationHistoryTranscriptCommonModelInputRole

type ConversationHistoryTranscriptCommonModelInputRole string
const (
	ConversationHistoryTranscriptCommonModelInputRoleUser  ConversationHistoryTranscriptCommonModelInputRole = "user"
	ConversationHistoryTranscriptCommonModelInputRoleAgent ConversationHistoryTranscriptCommonModelInputRole = "agent"
)

func (ConversationHistoryTranscriptCommonModelInputRole) AllValues

AllValues returns all ConversationHistoryTranscriptCommonModelInputRole values.

func (*ConversationHistoryTranscriptCommonModelInputRole) Decode

Decode decodes ConversationHistoryTranscriptCommonModelInputRole from json.

func (ConversationHistoryTranscriptCommonModelInputRole) Encode

Encode encodes ConversationHistoryTranscriptCommonModelInputRole as json.

func (ConversationHistoryTranscriptCommonModelInputRole) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationHistoryTranscriptCommonModelInputRole) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationHistoryTranscriptCommonModelInputRole) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptCommonModelInputRole) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationHistoryTranscriptCommonModelInputRole) Validate

type ConversationHistoryTranscriptCommonModelInputSourceMedium

type ConversationHistoryTranscriptCommonModelInputSourceMedium string
const (
	ConversationHistoryTranscriptCommonModelInputSourceMediumAudio ConversationHistoryTranscriptCommonModelInputSourceMedium = "audio"
	ConversationHistoryTranscriptCommonModelInputSourceMediumText  ConversationHistoryTranscriptCommonModelInputSourceMedium = "text"
)

func (ConversationHistoryTranscriptCommonModelInputSourceMedium) AllValues

AllValues returns all ConversationHistoryTranscriptCommonModelInputSourceMedium values.

func (*ConversationHistoryTranscriptCommonModelInputSourceMedium) Decode

Decode decodes ConversationHistoryTranscriptCommonModelInputSourceMedium from json.

func (ConversationHistoryTranscriptCommonModelInputSourceMedium) Encode

Encode encodes ConversationHistoryTranscriptCommonModelInputSourceMedium as json.

func (ConversationHistoryTranscriptCommonModelInputSourceMedium) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationHistoryTranscriptCommonModelInputSourceMedium) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationHistoryTranscriptCommonModelInputSourceMedium) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptCommonModelInputSourceMedium) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationHistoryTranscriptCommonModelInputSourceMedium) Validate

type ConversationHistoryTranscriptCommonModelInputToolResultsItem

type ConversationHistoryTranscriptCommonModelInputToolResultsItem struct {
	Type                                                                     ConversationHistoryTranscriptCommonModelInputToolResultsItemType // switch on this field
	ConversationHistoryTranscriptOtherToolsResultCommonModel                 ConversationHistoryTranscriptOtherToolsResultCommonModel
	ConversationHistoryTranscriptSystemToolResultCommonModel                 ConversationHistoryTranscriptSystemToolResultCommonModel
	ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel
	ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput         ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput
}

ConversationHistoryTranscriptCommonModelInputToolResultsItem represents sum type.

func NewConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelConversationHistoryTranscriptCommonModelInputToolResultsItem

func NewConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelConversationHistoryTranscriptCommonModelInputToolResultsItem(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) ConversationHistoryTranscriptCommonModelInputToolResultsItem

NewConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelConversationHistoryTranscriptCommonModelInputToolResultsItem returns new ConversationHistoryTranscriptCommonModelInputToolResultsItem from ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.

func NewConversationHistoryTranscriptOtherToolsResultCommonModelConversationHistoryTranscriptCommonModelInputToolResultsItem

func NewConversationHistoryTranscriptOtherToolsResultCommonModelConversationHistoryTranscriptCommonModelInputToolResultsItem(v ConversationHistoryTranscriptOtherToolsResultCommonModel) ConversationHistoryTranscriptCommonModelInputToolResultsItem

NewConversationHistoryTranscriptOtherToolsResultCommonModelConversationHistoryTranscriptCommonModelInputToolResultsItem returns new ConversationHistoryTranscriptCommonModelInputToolResultsItem from ConversationHistoryTranscriptOtherToolsResultCommonModel.

func NewConversationHistoryTranscriptSystemToolResultCommonModelConversationHistoryTranscriptCommonModelInputToolResultsItem

func NewConversationHistoryTranscriptSystemToolResultCommonModelConversationHistoryTranscriptCommonModelInputToolResultsItem(v ConversationHistoryTranscriptSystemToolResultCommonModel) ConversationHistoryTranscriptCommonModelInputToolResultsItem

NewConversationHistoryTranscriptSystemToolResultCommonModelConversationHistoryTranscriptCommonModelInputToolResultsItem returns new ConversationHistoryTranscriptCommonModelInputToolResultsItem from ConversationHistoryTranscriptSystemToolResultCommonModel.

func NewConversationHistoryTranscriptWorkflowToolsResultCommonModelInputConversationHistoryTranscriptCommonModelInputToolResultsItem

func NewConversationHistoryTranscriptWorkflowToolsResultCommonModelInputConversationHistoryTranscriptCommonModelInputToolResultsItem(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) ConversationHistoryTranscriptCommonModelInputToolResultsItem

NewConversationHistoryTranscriptWorkflowToolsResultCommonModelInputConversationHistoryTranscriptCommonModelInputToolResultsItem returns new ConversationHistoryTranscriptCommonModelInputToolResultsItem from ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.

func (*ConversationHistoryTranscriptCommonModelInputToolResultsItem) Decode

Decode decodes ConversationHistoryTranscriptCommonModelInputToolResultsItem from json.

func (ConversationHistoryTranscriptCommonModelInputToolResultsItem) Encode

Encode encodes ConversationHistoryTranscriptCommonModelInputToolResultsItem as json.

func (ConversationHistoryTranscriptCommonModelInputToolResultsItem) GetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel

func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) GetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel() (v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel, ok bool)

GetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel returns ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel and true boolean if ConversationHistoryTranscriptCommonModelInputToolResultsItem is ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.

func (ConversationHistoryTranscriptCommonModelInputToolResultsItem) GetConversationHistoryTranscriptOtherToolsResultCommonModel

func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) GetConversationHistoryTranscriptOtherToolsResultCommonModel() (v ConversationHistoryTranscriptOtherToolsResultCommonModel, ok bool)

GetConversationHistoryTranscriptOtherToolsResultCommonModel returns ConversationHistoryTranscriptOtherToolsResultCommonModel and true boolean if ConversationHistoryTranscriptCommonModelInputToolResultsItem is ConversationHistoryTranscriptOtherToolsResultCommonModel.

func (ConversationHistoryTranscriptCommonModelInputToolResultsItem) GetConversationHistoryTranscriptSystemToolResultCommonModel

func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) GetConversationHistoryTranscriptSystemToolResultCommonModel() (v ConversationHistoryTranscriptSystemToolResultCommonModel, ok bool)

GetConversationHistoryTranscriptSystemToolResultCommonModel returns ConversationHistoryTranscriptSystemToolResultCommonModel and true boolean if ConversationHistoryTranscriptCommonModelInputToolResultsItem is ConversationHistoryTranscriptSystemToolResultCommonModel.

func (ConversationHistoryTranscriptCommonModelInputToolResultsItem) GetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput

func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) GetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput() (v ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput, ok bool)

GetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput returns ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput and true boolean if ConversationHistoryTranscriptCommonModelInputToolResultsItem is ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.

func (ConversationHistoryTranscriptCommonModelInputToolResultsItem) IsConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel

func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) IsConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel() bool

IsConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel reports whether ConversationHistoryTranscriptCommonModelInputToolResultsItem is ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.

func (ConversationHistoryTranscriptCommonModelInputToolResultsItem) IsConversationHistoryTranscriptOtherToolsResultCommonModel

func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) IsConversationHistoryTranscriptOtherToolsResultCommonModel() bool

IsConversationHistoryTranscriptOtherToolsResultCommonModel reports whether ConversationHistoryTranscriptCommonModelInputToolResultsItem is ConversationHistoryTranscriptOtherToolsResultCommonModel.

func (ConversationHistoryTranscriptCommonModelInputToolResultsItem) IsConversationHistoryTranscriptSystemToolResultCommonModel

func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) IsConversationHistoryTranscriptSystemToolResultCommonModel() bool

IsConversationHistoryTranscriptSystemToolResultCommonModel reports whether ConversationHistoryTranscriptCommonModelInputToolResultsItem is ConversationHistoryTranscriptSystemToolResultCommonModel.

func (ConversationHistoryTranscriptCommonModelInputToolResultsItem) IsConversationHistoryTranscriptWorkflowToolsResultCommonModelInput

func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) IsConversationHistoryTranscriptWorkflowToolsResultCommonModelInput() bool

IsConversationHistoryTranscriptWorkflowToolsResultCommonModelInput reports whether ConversationHistoryTranscriptCommonModelInputToolResultsItem is ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.

func (ConversationHistoryTranscriptCommonModelInputToolResultsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel

func (s *ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel)

SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel sets ConversationHistoryTranscriptCommonModelInputToolResultsItem to ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.

func (*ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptOtherToolsResultCommonModel

SetConversationHistoryTranscriptOtherToolsResultCommonModel sets ConversationHistoryTranscriptCommonModelInputToolResultsItem to ConversationHistoryTranscriptOtherToolsResultCommonModel.

func (*ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptSystemToolResultCommonModel

SetConversationHistoryTranscriptSystemToolResultCommonModel sets ConversationHistoryTranscriptCommonModelInputToolResultsItem to ConversationHistoryTranscriptSystemToolResultCommonModel.

func (*ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput

func (s *ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput)

SetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput sets ConversationHistoryTranscriptCommonModelInputToolResultsItem to ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.

func (*ConversationHistoryTranscriptCommonModelInputToolResultsItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConversationHistoryTranscriptCommonModelInputToolResultsItem) Validate

type ConversationHistoryTranscriptCommonModelInputToolResultsItemType

type ConversationHistoryTranscriptCommonModelInputToolResultsItemType string

ConversationHistoryTranscriptCommonModelInputToolResultsItemType is oneOf type of ConversationHistoryTranscriptCommonModelInputToolResultsItem.

const (
	ConversationHistoryTranscriptOtherToolsResultCommonModelConversationHistoryTranscriptCommonModelInputToolResultsItem                 ConversationHistoryTranscriptCommonModelInputToolResultsItemType = "ConversationHistoryTranscriptOtherToolsResultCommonModel"
	ConversationHistoryTranscriptSystemToolResultCommonModelConversationHistoryTranscriptCommonModelInputToolResultsItem                 ConversationHistoryTranscriptCommonModelInputToolResultsItemType = "ConversationHistoryTranscriptSystemToolResultCommonModel"
	ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelConversationHistoryTranscriptCommonModelInputToolResultsItem ConversationHistoryTranscriptCommonModelInputToolResultsItemType = "ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel"
	ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputConversationHistoryTranscriptCommonModelInputToolResultsItem         ConversationHistoryTranscriptCommonModelInputToolResultsItemType = "ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput"
)

Possible values for ConversationHistoryTranscriptCommonModelInputToolResultsItemType.

type ConversationHistoryTranscriptCommonModelOutput

type ConversationHistoryTranscriptCommonModelOutput struct {
	AgentMetadata           OptAgentMetadata                                                 `json:"agent_metadata"`
	ConversationTurnMetrics OptConversationTurnMetrics                                       `json:"conversation_turn_metrics"`
	Feedback                OptUserFeedback                                                  `json:"feedback"`
	Interrupted             OptBool                                                          `json:"interrupted"`
	LlmOverride             OptNilString                                                     `json:"llm_override"`
	LlmUsage                OptLLMUsageOutput                                                `json:"llm_usage"`
	Message                 OptNilString                                                     `json:"message"`
	MultivoiceMessage       OptConversationHistoryMultivoiceMessageModel                     `json:"multivoice_message"`
	OriginalMessage         OptNilString                                                     `json:"original_message"`
	RagRetrievalInfo        OptRagRetrievalInfo                                              `json:"rag_retrieval_info"`
	Role                    ConversationHistoryTranscriptCommonModelOutputRole               `json:"role"`
	SourceMedium            OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium `json:"source_medium"`
	TimeInCallSecs          int                                                              `json:"time_in_call_secs"`
	ToolCalls               []ConversationHistoryTranscriptToolCallCommonModelOutput         `json:"tool_calls"`
	ToolResults             []ConversationHistoryTranscriptCommonModelOutputToolResultsItem  `json:"tool_results"`
}

Ref: #/components/schemas/ConversationHistoryTranscriptCommonModel-Output

func (*ConversationHistoryTranscriptCommonModelOutput) Decode

Decode decodes ConversationHistoryTranscriptCommonModelOutput from json.

func (*ConversationHistoryTranscriptCommonModelOutput) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryTranscriptCommonModelOutput) GetAgentMetadata

GetAgentMetadata returns the value of AgentMetadata.

func (*ConversationHistoryTranscriptCommonModelOutput) GetConversationTurnMetrics

GetConversationTurnMetrics returns the value of ConversationTurnMetrics.

func (*ConversationHistoryTranscriptCommonModelOutput) GetFeedback

GetFeedback returns the value of Feedback.

func (*ConversationHistoryTranscriptCommonModelOutput) GetInterrupted

GetInterrupted returns the value of Interrupted.

func (*ConversationHistoryTranscriptCommonModelOutput) GetLlmOverride

GetLlmOverride returns the value of LlmOverride.

func (*ConversationHistoryTranscriptCommonModelOutput) GetLlmUsage

GetLlmUsage returns the value of LlmUsage.

func (*ConversationHistoryTranscriptCommonModelOutput) GetMessage

GetMessage returns the value of Message.

func (*ConversationHistoryTranscriptCommonModelOutput) GetMultivoiceMessage

GetMultivoiceMessage returns the value of MultivoiceMessage.

func (*ConversationHistoryTranscriptCommonModelOutput) GetOriginalMessage

GetOriginalMessage returns the value of OriginalMessage.

func (*ConversationHistoryTranscriptCommonModelOutput) GetRagRetrievalInfo

GetRagRetrievalInfo returns the value of RagRetrievalInfo.

func (*ConversationHistoryTranscriptCommonModelOutput) GetRole

GetRole returns the value of Role.

func (*ConversationHistoryTranscriptCommonModelOutput) GetSourceMedium

GetSourceMedium returns the value of SourceMedium.

func (*ConversationHistoryTranscriptCommonModelOutput) GetTimeInCallSecs

func (s *ConversationHistoryTranscriptCommonModelOutput) GetTimeInCallSecs() int

GetTimeInCallSecs returns the value of TimeInCallSecs.

func (*ConversationHistoryTranscriptCommonModelOutput) GetToolCalls

GetToolCalls returns the value of ToolCalls.

func (*ConversationHistoryTranscriptCommonModelOutput) GetToolResults

GetToolResults returns the value of ToolResults.

func (*ConversationHistoryTranscriptCommonModelOutput) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptCommonModelOutput) SetAgentMetadata

SetAgentMetadata sets the value of AgentMetadata.

func (*ConversationHistoryTranscriptCommonModelOutput) SetConversationTurnMetrics

SetConversationTurnMetrics sets the value of ConversationTurnMetrics.

func (*ConversationHistoryTranscriptCommonModelOutput) SetFeedback

SetFeedback sets the value of Feedback.

func (*ConversationHistoryTranscriptCommonModelOutput) SetInterrupted

SetInterrupted sets the value of Interrupted.

func (*ConversationHistoryTranscriptCommonModelOutput) SetLlmOverride

SetLlmOverride sets the value of LlmOverride.

func (*ConversationHistoryTranscriptCommonModelOutput) SetLlmUsage

SetLlmUsage sets the value of LlmUsage.

func (*ConversationHistoryTranscriptCommonModelOutput) SetMessage

SetMessage sets the value of Message.

func (*ConversationHistoryTranscriptCommonModelOutput) SetMultivoiceMessage

SetMultivoiceMessage sets the value of MultivoiceMessage.

func (*ConversationHistoryTranscriptCommonModelOutput) SetOriginalMessage

SetOriginalMessage sets the value of OriginalMessage.

func (*ConversationHistoryTranscriptCommonModelOutput) SetRagRetrievalInfo

SetRagRetrievalInfo sets the value of RagRetrievalInfo.

func (*ConversationHistoryTranscriptCommonModelOutput) SetRole

SetRole sets the value of Role.

func (*ConversationHistoryTranscriptCommonModelOutput) SetSourceMedium

SetSourceMedium sets the value of SourceMedium.

func (*ConversationHistoryTranscriptCommonModelOutput) SetTimeInCallSecs

func (s *ConversationHistoryTranscriptCommonModelOutput) SetTimeInCallSecs(val int)

SetTimeInCallSecs sets the value of TimeInCallSecs.

func (*ConversationHistoryTranscriptCommonModelOutput) SetToolCalls

SetToolCalls sets the value of ToolCalls.

func (*ConversationHistoryTranscriptCommonModelOutput) SetToolResults

SetToolResults sets the value of ToolResults.

func (*ConversationHistoryTranscriptCommonModelOutput) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptCommonModelOutput) Validate

type ConversationHistoryTranscriptCommonModelOutputRole

type ConversationHistoryTranscriptCommonModelOutputRole string
const (
	ConversationHistoryTranscriptCommonModelOutputRoleUser  ConversationHistoryTranscriptCommonModelOutputRole = "user"
	ConversationHistoryTranscriptCommonModelOutputRoleAgent ConversationHistoryTranscriptCommonModelOutputRole = "agent"
)

func (ConversationHistoryTranscriptCommonModelOutputRole) AllValues

AllValues returns all ConversationHistoryTranscriptCommonModelOutputRole values.

func (*ConversationHistoryTranscriptCommonModelOutputRole) Decode

Decode decodes ConversationHistoryTranscriptCommonModelOutputRole from json.

func (ConversationHistoryTranscriptCommonModelOutputRole) Encode

Encode encodes ConversationHistoryTranscriptCommonModelOutputRole as json.

func (ConversationHistoryTranscriptCommonModelOutputRole) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationHistoryTranscriptCommonModelOutputRole) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationHistoryTranscriptCommonModelOutputRole) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptCommonModelOutputRole) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationHistoryTranscriptCommonModelOutputRole) Validate

type ConversationHistoryTranscriptCommonModelOutputSourceMedium

type ConversationHistoryTranscriptCommonModelOutputSourceMedium string
const (
	ConversationHistoryTranscriptCommonModelOutputSourceMediumAudio ConversationHistoryTranscriptCommonModelOutputSourceMedium = "audio"
	ConversationHistoryTranscriptCommonModelOutputSourceMediumText  ConversationHistoryTranscriptCommonModelOutputSourceMedium = "text"
)

func (ConversationHistoryTranscriptCommonModelOutputSourceMedium) AllValues

AllValues returns all ConversationHistoryTranscriptCommonModelOutputSourceMedium values.

func (*ConversationHistoryTranscriptCommonModelOutputSourceMedium) Decode

Decode decodes ConversationHistoryTranscriptCommonModelOutputSourceMedium from json.

func (ConversationHistoryTranscriptCommonModelOutputSourceMedium) Encode

Encode encodes ConversationHistoryTranscriptCommonModelOutputSourceMedium as json.

func (ConversationHistoryTranscriptCommonModelOutputSourceMedium) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationHistoryTranscriptCommonModelOutputSourceMedium) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationHistoryTranscriptCommonModelOutputSourceMedium) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptCommonModelOutputSourceMedium) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationHistoryTranscriptCommonModelOutputSourceMedium) Validate

type ConversationHistoryTranscriptCommonModelOutputToolResultsItem

type ConversationHistoryTranscriptCommonModelOutputToolResultsItem struct {
	Type                                                                     ConversationHistoryTranscriptCommonModelOutputToolResultsItemType // switch on this field
	ConversationHistoryTranscriptOtherToolsResultCommonModel                 ConversationHistoryTranscriptOtherToolsResultCommonModel
	ConversationHistoryTranscriptSystemToolResultCommonModel                 ConversationHistoryTranscriptSystemToolResultCommonModel
	ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel
	ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput        ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput
}

ConversationHistoryTranscriptCommonModelOutputToolResultsItem represents sum type.

func NewConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelConversationHistoryTranscriptCommonModelOutputToolResultsItem

func NewConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelConversationHistoryTranscriptCommonModelOutputToolResultsItem(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) ConversationHistoryTranscriptCommonModelOutputToolResultsItem

NewConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelConversationHistoryTranscriptCommonModelOutputToolResultsItem returns new ConversationHistoryTranscriptCommonModelOutputToolResultsItem from ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.

func NewConversationHistoryTranscriptOtherToolsResultCommonModelConversationHistoryTranscriptCommonModelOutputToolResultsItem

func NewConversationHistoryTranscriptOtherToolsResultCommonModelConversationHistoryTranscriptCommonModelOutputToolResultsItem(v ConversationHistoryTranscriptOtherToolsResultCommonModel) ConversationHistoryTranscriptCommonModelOutputToolResultsItem

NewConversationHistoryTranscriptOtherToolsResultCommonModelConversationHistoryTranscriptCommonModelOutputToolResultsItem returns new ConversationHistoryTranscriptCommonModelOutputToolResultsItem from ConversationHistoryTranscriptOtherToolsResultCommonModel.

func NewConversationHistoryTranscriptSystemToolResultCommonModelConversationHistoryTranscriptCommonModelOutputToolResultsItem

func NewConversationHistoryTranscriptSystemToolResultCommonModelConversationHistoryTranscriptCommonModelOutputToolResultsItem(v ConversationHistoryTranscriptSystemToolResultCommonModel) ConversationHistoryTranscriptCommonModelOutputToolResultsItem

NewConversationHistoryTranscriptSystemToolResultCommonModelConversationHistoryTranscriptCommonModelOutputToolResultsItem returns new ConversationHistoryTranscriptCommonModelOutputToolResultsItem from ConversationHistoryTranscriptSystemToolResultCommonModel.

func NewConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputConversationHistoryTranscriptCommonModelOutputToolResultsItem

func NewConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputConversationHistoryTranscriptCommonModelOutputToolResultsItem(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) ConversationHistoryTranscriptCommonModelOutputToolResultsItem

NewConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputConversationHistoryTranscriptCommonModelOutputToolResultsItem returns new ConversationHistoryTranscriptCommonModelOutputToolResultsItem from ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.

func (*ConversationHistoryTranscriptCommonModelOutputToolResultsItem) Decode

Decode decodes ConversationHistoryTranscriptCommonModelOutputToolResultsItem from json.

func (ConversationHistoryTranscriptCommonModelOutputToolResultsItem) Encode

Encode encodes ConversationHistoryTranscriptCommonModelOutputToolResultsItem as json.

func (ConversationHistoryTranscriptCommonModelOutputToolResultsItem) GetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel

func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) GetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel() (v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel, ok bool)

GetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel returns ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel and true boolean if ConversationHistoryTranscriptCommonModelOutputToolResultsItem is ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.

func (ConversationHistoryTranscriptCommonModelOutputToolResultsItem) GetConversationHistoryTranscriptOtherToolsResultCommonModel

func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) GetConversationHistoryTranscriptOtherToolsResultCommonModel() (v ConversationHistoryTranscriptOtherToolsResultCommonModel, ok bool)

GetConversationHistoryTranscriptOtherToolsResultCommonModel returns ConversationHistoryTranscriptOtherToolsResultCommonModel and true boolean if ConversationHistoryTranscriptCommonModelOutputToolResultsItem is ConversationHistoryTranscriptOtherToolsResultCommonModel.

func (ConversationHistoryTranscriptCommonModelOutputToolResultsItem) GetConversationHistoryTranscriptSystemToolResultCommonModel

func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) GetConversationHistoryTranscriptSystemToolResultCommonModel() (v ConversationHistoryTranscriptSystemToolResultCommonModel, ok bool)

GetConversationHistoryTranscriptSystemToolResultCommonModel returns ConversationHistoryTranscriptSystemToolResultCommonModel and true boolean if ConversationHistoryTranscriptCommonModelOutputToolResultsItem is ConversationHistoryTranscriptSystemToolResultCommonModel.

func (ConversationHistoryTranscriptCommonModelOutputToolResultsItem) GetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput

func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) GetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput() (v ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput, ok bool)

GetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput returns ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput and true boolean if ConversationHistoryTranscriptCommonModelOutputToolResultsItem is ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.

func (ConversationHistoryTranscriptCommonModelOutputToolResultsItem) IsConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel

func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) IsConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel() bool

IsConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel reports whether ConversationHistoryTranscriptCommonModelOutputToolResultsItem is ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.

func (ConversationHistoryTranscriptCommonModelOutputToolResultsItem) IsConversationHistoryTranscriptOtherToolsResultCommonModel

func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) IsConversationHistoryTranscriptOtherToolsResultCommonModel() bool

IsConversationHistoryTranscriptOtherToolsResultCommonModel reports whether ConversationHistoryTranscriptCommonModelOutputToolResultsItem is ConversationHistoryTranscriptOtherToolsResultCommonModel.

func (ConversationHistoryTranscriptCommonModelOutputToolResultsItem) IsConversationHistoryTranscriptSystemToolResultCommonModel

func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) IsConversationHistoryTranscriptSystemToolResultCommonModel() bool

IsConversationHistoryTranscriptSystemToolResultCommonModel reports whether ConversationHistoryTranscriptCommonModelOutputToolResultsItem is ConversationHistoryTranscriptSystemToolResultCommonModel.

func (ConversationHistoryTranscriptCommonModelOutputToolResultsItem) IsConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput

func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) IsConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput() bool

IsConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput reports whether ConversationHistoryTranscriptCommonModelOutputToolResultsItem is ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.

func (ConversationHistoryTranscriptCommonModelOutputToolResultsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel

func (s *ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel)

SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel sets ConversationHistoryTranscriptCommonModelOutputToolResultsItem to ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.

func (*ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptOtherToolsResultCommonModel

SetConversationHistoryTranscriptOtherToolsResultCommonModel sets ConversationHistoryTranscriptCommonModelOutputToolResultsItem to ConversationHistoryTranscriptOtherToolsResultCommonModel.

func (*ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptSystemToolResultCommonModel

SetConversationHistoryTranscriptSystemToolResultCommonModel sets ConversationHistoryTranscriptCommonModelOutputToolResultsItem to ConversationHistoryTranscriptSystemToolResultCommonModel.

func (*ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput

func (s *ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput)

SetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput sets ConversationHistoryTranscriptCommonModelOutputToolResultsItem to ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.

func (*ConversationHistoryTranscriptCommonModelOutputToolResultsItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConversationHistoryTranscriptCommonModelOutputToolResultsItem) Validate

type ConversationHistoryTranscriptCommonModelOutputToolResultsItemType

type ConversationHistoryTranscriptCommonModelOutputToolResultsItemType string

ConversationHistoryTranscriptCommonModelOutputToolResultsItemType is oneOf type of ConversationHistoryTranscriptCommonModelOutputToolResultsItem.

const (
	ConversationHistoryTranscriptOtherToolsResultCommonModelConversationHistoryTranscriptCommonModelOutputToolResultsItem                 ConversationHistoryTranscriptCommonModelOutputToolResultsItemType = "ConversationHistoryTranscriptOtherToolsResultCommonModel"
	ConversationHistoryTranscriptSystemToolResultCommonModelConversationHistoryTranscriptCommonModelOutputToolResultsItem                 ConversationHistoryTranscriptCommonModelOutputToolResultsItemType = "ConversationHistoryTranscriptSystemToolResultCommonModel"
	ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelConversationHistoryTranscriptCommonModelOutputToolResultsItem ConversationHistoryTranscriptCommonModelOutputToolResultsItemType = "ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel"
	ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputConversationHistoryTranscriptCommonModelOutputToolResultsItem        ConversationHistoryTranscriptCommonModelOutputToolResultsItemType = "ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput"
)

Possible values for ConversationHistoryTranscriptCommonModelOutputToolResultsItemType.

type ConversationHistoryTranscriptOtherToolsResultCommonModel

type ConversationHistoryTranscriptOtherToolsResultCommonModel struct {
	DynamicVariableUpdates []DynamicVariableUpdateCommonModel                                 `json:"dynamic_variable_updates"`
	IsError                bool                                                               `json:"is_error"`
	RequestID              string                                                             `json:"request_id"`
	ResultValue            string                                                             `json:"result_value"`
	ToolHasBeenCalled      bool                                                               `json:"tool_has_been_called"`
	ToolLatencySecs        OptFloat64                                                         `json:"tool_latency_secs"`
	ToolName               string                                                             `json:"tool_name"`
	Type                   OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType `json:"type"`
}

Ref: #/components/schemas/ConversationHistoryTranscriptOtherToolsResultCommonModel

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) Decode

Decode decodes ConversationHistoryTranscriptOtherToolsResultCommonModel from json.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) GetDynamicVariableUpdates

GetDynamicVariableUpdates returns the value of DynamicVariableUpdates.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) GetIsError

GetIsError returns the value of IsError.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) GetRequestID

GetRequestID returns the value of RequestID.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) GetResultValue

GetResultValue returns the value of ResultValue.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) GetToolHasBeenCalled

GetToolHasBeenCalled returns the value of ToolHasBeenCalled.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) GetToolLatencySecs

GetToolLatencySecs returns the value of ToolLatencySecs.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) GetToolName

GetToolName returns the value of ToolName.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) GetType

GetType returns the value of Type.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) SetDynamicVariableUpdates

SetDynamicVariableUpdates sets the value of DynamicVariableUpdates.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) SetIsError

SetIsError sets the value of IsError.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) SetRequestID

SetRequestID sets the value of RequestID.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) SetResultValue

SetResultValue sets the value of ResultValue.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) SetToolHasBeenCalled

SetToolHasBeenCalled sets the value of ToolHasBeenCalled.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) SetToolLatencySecs

SetToolLatencySecs sets the value of ToolLatencySecs.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) SetToolName

SetToolName sets the value of ToolName.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) SetType

SetType sets the value of Type.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) Validate

type ConversationHistoryTranscriptOtherToolsResultCommonModelType

type ConversationHistoryTranscriptOtherToolsResultCommonModelType string
const (
	ConversationHistoryTranscriptOtherToolsResultCommonModelTypeClient  ConversationHistoryTranscriptOtherToolsResultCommonModelType = "client"
	ConversationHistoryTranscriptOtherToolsResultCommonModelTypeWebhook ConversationHistoryTranscriptOtherToolsResultCommonModelType = "webhook"
	ConversationHistoryTranscriptOtherToolsResultCommonModelTypeMcp     ConversationHistoryTranscriptOtherToolsResultCommonModelType = "mcp"
)

func (ConversationHistoryTranscriptOtherToolsResultCommonModelType) AllValues

AllValues returns all ConversationHistoryTranscriptOtherToolsResultCommonModelType values.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModelType) Decode

Decode decodes ConversationHistoryTranscriptOtherToolsResultCommonModelType from json.

func (ConversationHistoryTranscriptOtherToolsResultCommonModelType) Encode

Encode encodes ConversationHistoryTranscriptOtherToolsResultCommonModelType as json.

func (ConversationHistoryTranscriptOtherToolsResultCommonModelType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationHistoryTranscriptOtherToolsResultCommonModelType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModelType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptOtherToolsResultCommonModelType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationHistoryTranscriptOtherToolsResultCommonModelType) Validate

type ConversationHistoryTranscriptSystemToolResultCommonModel

type ConversationHistoryTranscriptSystemToolResultCommonModel struct {
	DynamicVariableUpdates []DynamicVariableUpdateCommonModel                                   `json:"dynamic_variable_updates"`
	IsError                bool                                                                 `json:"is_error"`
	RequestID              string                                                               `json:"request_id"`
	Result                 OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult `json:"result"`
	ResultValue            string                                                               `json:"result_value"`
	ToolHasBeenCalled      bool                                                                 `json:"tool_has_been_called"`
	ToolLatencySecs        OptFloat64                                                           `json:"tool_latency_secs"`
	ToolName               string                                                               `json:"tool_name"`
	Type                   ConversationHistoryTranscriptSystemToolResultCommonModelType         `json:"type"`
}

Ref: #/components/schemas/ConversationHistoryTranscriptSystemToolResultCommonModel

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) Decode

Decode decodes ConversationHistoryTranscriptSystemToolResultCommonModel from json.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetDynamicVariableUpdates

GetDynamicVariableUpdates returns the value of DynamicVariableUpdates.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetIsError

GetIsError returns the value of IsError.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetRequestID

GetRequestID returns the value of RequestID.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetResult

GetResult returns the value of Result.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetResultValue

GetResultValue returns the value of ResultValue.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetToolHasBeenCalled

GetToolHasBeenCalled returns the value of ToolHasBeenCalled.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetToolLatencySecs

GetToolLatencySecs returns the value of ToolLatencySecs.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetToolName

GetToolName returns the value of ToolName.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetType

GetType returns the value of Type.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetDynamicVariableUpdates

SetDynamicVariableUpdates sets the value of DynamicVariableUpdates.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetIsError

SetIsError sets the value of IsError.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetRequestID

SetRequestID sets the value of RequestID.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetResult

SetResult sets the value of Result.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetResultValue

SetResultValue sets the value of ResultValue.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetToolHasBeenCalled

SetToolHasBeenCalled sets the value of ToolHasBeenCalled.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetToolLatencySecs

SetToolLatencySecs sets the value of ToolLatencySecs.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetToolName

SetToolName sets the value of ToolName.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetType

SetType sets the value of Type.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptSystemToolResultCommonModel) Validate

type ConversationHistoryTranscriptSystemToolResultCommonModelResult

type ConversationHistoryTranscriptSystemToolResultCommonModelResult struct {
	Type                                     ConversationHistoryTranscriptSystemToolResultCommonModelResultType // switch on this field
	EndCallToolResultModel                   EndCallToolResultModel
	LanguageDetectionToolResultModel         LanguageDetectionToolResultModel
	TransferToAgentToolResultSuccessModel    TransferToAgentToolResultSuccessModel
	TransferToAgentToolResultErrorModel      TransferToAgentToolResultErrorModel
	TransferToNumberResultTwilioSuccessModel TransferToNumberResultTwilioSuccessModel
	TransferToNumberResultSipSuccessModel    TransferToNumberResultSipSuccessModel
	TransferToNumberResultErrorModel         TransferToNumberResultErrorModel
	SkipTurnToolResponseModel                SkipTurnToolResponseModel
	PlayDTMFResultSuccessModel               PlayDTMFResultSuccessModel
	PlayDTMFResultErrorModel                 PlayDTMFResultErrorModel
	VoiceMailDetectionResultSuccessModel     VoiceMailDetectionResultSuccessModel
	TestToolResultModel                      TestToolResultModel
}

ConversationHistoryTranscriptSystemToolResultCommonModelResult represents sum type.

func NewEndCallToolResultModelConversationHistoryTranscriptSystemToolResultCommonModelResult

func NewEndCallToolResultModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v EndCallToolResultModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult

NewEndCallToolResultModelConversationHistoryTranscriptSystemToolResultCommonModelResult returns new ConversationHistoryTranscriptSystemToolResultCommonModelResult from EndCallToolResultModel.

func NewLanguageDetectionToolResultModelConversationHistoryTranscriptSystemToolResultCommonModelResult

func NewLanguageDetectionToolResultModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v LanguageDetectionToolResultModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult

NewLanguageDetectionToolResultModelConversationHistoryTranscriptSystemToolResultCommonModelResult returns new ConversationHistoryTranscriptSystemToolResultCommonModelResult from LanguageDetectionToolResultModel.

func NewPlayDTMFResultErrorModelConversationHistoryTranscriptSystemToolResultCommonModelResult

func NewPlayDTMFResultErrorModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v PlayDTMFResultErrorModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult

NewPlayDTMFResultErrorModelConversationHistoryTranscriptSystemToolResultCommonModelResult returns new ConversationHistoryTranscriptSystemToolResultCommonModelResult from PlayDTMFResultErrorModel.

func NewPlayDTMFResultSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult

func NewPlayDTMFResultSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v PlayDTMFResultSuccessModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult

NewPlayDTMFResultSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult returns new ConversationHistoryTranscriptSystemToolResultCommonModelResult from PlayDTMFResultSuccessModel.

func NewSkipTurnToolResponseModelConversationHistoryTranscriptSystemToolResultCommonModelResult

func NewSkipTurnToolResponseModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v SkipTurnToolResponseModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult

NewSkipTurnToolResponseModelConversationHistoryTranscriptSystemToolResultCommonModelResult returns new ConversationHistoryTranscriptSystemToolResultCommonModelResult from SkipTurnToolResponseModel.

func NewTestToolResultModelConversationHistoryTranscriptSystemToolResultCommonModelResult

func NewTestToolResultModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v TestToolResultModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult

NewTestToolResultModelConversationHistoryTranscriptSystemToolResultCommonModelResult returns new ConversationHistoryTranscriptSystemToolResultCommonModelResult from TestToolResultModel.

func NewTransferToAgentToolResultErrorModelConversationHistoryTranscriptSystemToolResultCommonModelResult

func NewTransferToAgentToolResultErrorModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v TransferToAgentToolResultErrorModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult

NewTransferToAgentToolResultErrorModelConversationHistoryTranscriptSystemToolResultCommonModelResult returns new ConversationHistoryTranscriptSystemToolResultCommonModelResult from TransferToAgentToolResultErrorModel.

func NewTransferToAgentToolResultSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult

func NewTransferToAgentToolResultSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v TransferToAgentToolResultSuccessModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult

NewTransferToAgentToolResultSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult returns new ConversationHistoryTranscriptSystemToolResultCommonModelResult from TransferToAgentToolResultSuccessModel.

func NewTransferToNumberResultErrorModelConversationHistoryTranscriptSystemToolResultCommonModelResult

func NewTransferToNumberResultErrorModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v TransferToNumberResultErrorModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult

NewTransferToNumberResultErrorModelConversationHistoryTranscriptSystemToolResultCommonModelResult returns new ConversationHistoryTranscriptSystemToolResultCommonModelResult from TransferToNumberResultErrorModel.

func NewTransferToNumberResultSipSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult

func NewTransferToNumberResultSipSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v TransferToNumberResultSipSuccessModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult

NewTransferToNumberResultSipSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult returns new ConversationHistoryTranscriptSystemToolResultCommonModelResult from TransferToNumberResultSipSuccessModel.

func NewTransferToNumberResultTwilioSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult

func NewTransferToNumberResultTwilioSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v TransferToNumberResultTwilioSuccessModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult

NewTransferToNumberResultTwilioSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult returns new ConversationHistoryTranscriptSystemToolResultCommonModelResult from TransferToNumberResultTwilioSuccessModel.

func NewVoiceMailDetectionResultSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult

func NewVoiceMailDetectionResultSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v VoiceMailDetectionResultSuccessModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult

NewVoiceMailDetectionResultSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult returns new ConversationHistoryTranscriptSystemToolResultCommonModelResult from VoiceMailDetectionResultSuccessModel.

func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) Decode

Decode decodes ConversationHistoryTranscriptSystemToolResultCommonModelResult from json.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) Encode

Encode encodes ConversationHistoryTranscriptSystemToolResultCommonModelResult as json.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetEndCallToolResultModel

GetEndCallToolResultModel returns EndCallToolResultModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is EndCallToolResultModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetLanguageDetectionToolResultModel

GetLanguageDetectionToolResultModel returns LanguageDetectionToolResultModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is LanguageDetectionToolResultModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetPlayDTMFResultErrorModel

GetPlayDTMFResultErrorModel returns PlayDTMFResultErrorModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is PlayDTMFResultErrorModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetPlayDTMFResultSuccessModel

GetPlayDTMFResultSuccessModel returns PlayDTMFResultSuccessModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is PlayDTMFResultSuccessModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetSkipTurnToolResponseModel

GetSkipTurnToolResponseModel returns SkipTurnToolResponseModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is SkipTurnToolResponseModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTestToolResultModel

GetTestToolResultModel returns TestToolResultModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is TestToolResultModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToAgentToolResultErrorModel

GetTransferToAgentToolResultErrorModel returns TransferToAgentToolResultErrorModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is TransferToAgentToolResultErrorModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToAgentToolResultSuccessModel

GetTransferToAgentToolResultSuccessModel returns TransferToAgentToolResultSuccessModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is TransferToAgentToolResultSuccessModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToNumberResultErrorModel

GetTransferToNumberResultErrorModel returns TransferToNumberResultErrorModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is TransferToNumberResultErrorModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToNumberResultSipSuccessModel

GetTransferToNumberResultSipSuccessModel returns TransferToNumberResultSipSuccessModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is TransferToNumberResultSipSuccessModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToNumberResultTwilioSuccessModel

GetTransferToNumberResultTwilioSuccessModel returns TransferToNumberResultTwilioSuccessModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is TransferToNumberResultTwilioSuccessModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetVoiceMailDetectionResultSuccessModel

GetVoiceMailDetectionResultSuccessModel returns VoiceMailDetectionResultSuccessModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is VoiceMailDetectionResultSuccessModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsEndCallToolResultModel

IsEndCallToolResultModel reports whether ConversationHistoryTranscriptSystemToolResultCommonModelResult is EndCallToolResultModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsLanguageDetectionToolResultModel

func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsLanguageDetectionToolResultModel() bool

IsLanguageDetectionToolResultModel reports whether ConversationHistoryTranscriptSystemToolResultCommonModelResult is LanguageDetectionToolResultModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsPlayDTMFResultErrorModel

IsPlayDTMFResultErrorModel reports whether ConversationHistoryTranscriptSystemToolResultCommonModelResult is PlayDTMFResultErrorModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsPlayDTMFResultSuccessModel

IsPlayDTMFResultSuccessModel reports whether ConversationHistoryTranscriptSystemToolResultCommonModelResult is PlayDTMFResultSuccessModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsSkipTurnToolResponseModel

IsSkipTurnToolResponseModel reports whether ConversationHistoryTranscriptSystemToolResultCommonModelResult is SkipTurnToolResponseModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTestToolResultModel

IsTestToolResultModel reports whether ConversationHistoryTranscriptSystemToolResultCommonModelResult is TestToolResultModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTransferToAgentToolResultErrorModel

func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTransferToAgentToolResultErrorModel() bool

IsTransferToAgentToolResultErrorModel reports whether ConversationHistoryTranscriptSystemToolResultCommonModelResult is TransferToAgentToolResultErrorModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTransferToAgentToolResultSuccessModel

func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTransferToAgentToolResultSuccessModel() bool

IsTransferToAgentToolResultSuccessModel reports whether ConversationHistoryTranscriptSystemToolResultCommonModelResult is TransferToAgentToolResultSuccessModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTransferToNumberResultErrorModel

func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTransferToNumberResultErrorModel() bool

IsTransferToNumberResultErrorModel reports whether ConversationHistoryTranscriptSystemToolResultCommonModelResult is TransferToNumberResultErrorModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTransferToNumberResultSipSuccessModel

func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTransferToNumberResultSipSuccessModel() bool

IsTransferToNumberResultSipSuccessModel reports whether ConversationHistoryTranscriptSystemToolResultCommonModelResult is TransferToNumberResultSipSuccessModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTransferToNumberResultTwilioSuccessModel

func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTransferToNumberResultTwilioSuccessModel() bool

IsTransferToNumberResultTwilioSuccessModel reports whether ConversationHistoryTranscriptSystemToolResultCommonModelResult is TransferToNumberResultTwilioSuccessModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsVoiceMailDetectionResultSuccessModel

func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsVoiceMailDetectionResultSuccessModel() bool

IsVoiceMailDetectionResultSuccessModel reports whether ConversationHistoryTranscriptSystemToolResultCommonModelResult is VoiceMailDetectionResultSuccessModel.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetEndCallToolResultModel

SetEndCallToolResultModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to EndCallToolResultModel.

func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetLanguageDetectionToolResultModel

SetLanguageDetectionToolResultModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to LanguageDetectionToolResultModel.

func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetPlayDTMFResultErrorModel

SetPlayDTMFResultErrorModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to PlayDTMFResultErrorModel.

func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetPlayDTMFResultSuccessModel

SetPlayDTMFResultSuccessModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to PlayDTMFResultSuccessModel.

func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetSkipTurnToolResponseModel

SetSkipTurnToolResponseModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to SkipTurnToolResponseModel.

func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTestToolResultModel

SetTestToolResultModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to TestToolResultModel.

func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToAgentToolResultErrorModel

SetTransferToAgentToolResultErrorModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to TransferToAgentToolResultErrorModel.

func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToAgentToolResultSuccessModel

SetTransferToAgentToolResultSuccessModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to TransferToAgentToolResultSuccessModel.

func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToNumberResultErrorModel

SetTransferToNumberResultErrorModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to TransferToNumberResultErrorModel.

func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToNumberResultSipSuccessModel

SetTransferToNumberResultSipSuccessModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to TransferToNumberResultSipSuccessModel.

func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToNumberResultTwilioSuccessModel

SetTransferToNumberResultTwilioSuccessModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to TransferToNumberResultTwilioSuccessModel.

func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetVoiceMailDetectionResultSuccessModel

SetVoiceMailDetectionResultSuccessModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to VoiceMailDetectionResultSuccessModel.

func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) Validate

type ConversationHistoryTranscriptSystemToolResultCommonModelResultType

type ConversationHistoryTranscriptSystemToolResultCommonModelResultType string

ConversationHistoryTranscriptSystemToolResultCommonModelResultType is oneOf type of ConversationHistoryTranscriptSystemToolResultCommonModelResult.

const (
	EndCallToolResultModelConversationHistoryTranscriptSystemToolResultCommonModelResult                   ConversationHistoryTranscriptSystemToolResultCommonModelResultType = "end_call_success"
	LanguageDetectionToolResultModelConversationHistoryTranscriptSystemToolResultCommonModelResult         ConversationHistoryTranscriptSystemToolResultCommonModelResultType = "language_detection_success"
	TransferToAgentToolResultSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult    ConversationHistoryTranscriptSystemToolResultCommonModelResultType = "transfer_to_agent_success"
	TransferToAgentToolResultErrorModelConversationHistoryTranscriptSystemToolResultCommonModelResult      ConversationHistoryTranscriptSystemToolResultCommonModelResultType = "transfer_to_agent_error"
	TransferToNumberResultTwilioSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult ConversationHistoryTranscriptSystemToolResultCommonModelResultType = "transfer_to_number_twilio_success"
	TransferToNumberResultSipSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult    ConversationHistoryTranscriptSystemToolResultCommonModelResultType = "transfer_to_number_sip_success"
	TransferToNumberResultErrorModelConversationHistoryTranscriptSystemToolResultCommonModelResult         ConversationHistoryTranscriptSystemToolResultCommonModelResultType = "transfer_to_number_error"
	SkipTurnToolResponseModelConversationHistoryTranscriptSystemToolResultCommonModelResult                ConversationHistoryTranscriptSystemToolResultCommonModelResultType = "skip_turn_success"
	PlayDTMFResultSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult               ConversationHistoryTranscriptSystemToolResultCommonModelResultType = "play_dtmf_success"
	PlayDTMFResultErrorModelConversationHistoryTranscriptSystemToolResultCommonModelResult                 ConversationHistoryTranscriptSystemToolResultCommonModelResultType = "play_dtmf_error"
	VoiceMailDetectionResultSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult     ConversationHistoryTranscriptSystemToolResultCommonModelResultType = "voicemail_detection_success"
	TestToolResultModelConversationHistoryTranscriptSystemToolResultCommonModelResult                      ConversationHistoryTranscriptSystemToolResultCommonModelResultType = "testing_tool_result"
)

Possible values for ConversationHistoryTranscriptSystemToolResultCommonModelResultType.

type ConversationHistoryTranscriptSystemToolResultCommonModelType

type ConversationHistoryTranscriptSystemToolResultCommonModelType string
const (
	ConversationHistoryTranscriptSystemToolResultCommonModelTypeSystem ConversationHistoryTranscriptSystemToolResultCommonModelType = "system"
)

func (ConversationHistoryTranscriptSystemToolResultCommonModelType) AllValues

AllValues returns all ConversationHistoryTranscriptSystemToolResultCommonModelType values.

func (*ConversationHistoryTranscriptSystemToolResultCommonModelType) Decode

Decode decodes ConversationHistoryTranscriptSystemToolResultCommonModelType from json.

func (ConversationHistoryTranscriptSystemToolResultCommonModelType) Encode

Encode encodes ConversationHistoryTranscriptSystemToolResultCommonModelType as json.

func (ConversationHistoryTranscriptSystemToolResultCommonModelType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationHistoryTranscriptSystemToolResultCommonModelType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationHistoryTranscriptSystemToolResultCommonModelType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptSystemToolResultCommonModelType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationHistoryTranscriptSystemToolResultCommonModelType) Validate

type ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails

type ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails struct {
	CredentialID            string                                                                   `json:"credential_id"`
	IntegrationConnectionID string                                                                   `json:"integration_connection_id"`
	IntegrationID           string                                                                   `json:"integration_id"`
	Type                    OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType `json:"type"`
	WebhookDetails          ConversationHistoryTranscriptToolCallWebhookDetails                      `json:"webhook_details"`
}

Ref: #/components/schemas/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) Decode

Decode decodes ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails from json.

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetCredentialID

GetCredentialID returns the value of CredentialID.

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetIntegrationConnectionID

GetIntegrationConnectionID returns the value of IntegrationConnectionID.

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetIntegrationID

GetIntegrationID returns the value of IntegrationID.

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetType

GetType returns the value of Type.

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetWebhookDetails

GetWebhookDetails returns the value of WebhookDetails.

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetCredentialID

SetCredentialID sets the value of CredentialID.

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetIntegrationConnectionID

SetIntegrationConnectionID sets the value of IntegrationConnectionID.

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetIntegrationID

SetIntegrationID sets the value of IntegrationID.

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetType

SetType sets the value of Type.

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetWebhookDetails

SetWebhookDetails sets the value of WebhookDetails.

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) Validate

type ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType

type ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType string
const (
	ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsTypeAPIIntegrationWebhook ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType = "api_integration_webhook"
)

func (ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) AllValues

AllValues returns all ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType values.

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Decode

Decode decodes ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType from json.

func (ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Encode

Encode encodes ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType as json.

func (ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Validate

type ConversationHistoryTranscriptToolCallClientDetails

type ConversationHistoryTranscriptToolCallClientDetails struct {
	Parameters string                                                    `json:"parameters"`
	Type       OptConversationHistoryTranscriptToolCallClientDetailsType `json:"type"`
}

Ref: #/components/schemas/ConversationHistoryTranscriptToolCallClientDetails

func (*ConversationHistoryTranscriptToolCallClientDetails) Decode

Decode decodes ConversationHistoryTranscriptToolCallClientDetails from json.

func (*ConversationHistoryTranscriptToolCallClientDetails) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryTranscriptToolCallClientDetails) GetParameters

GetParameters returns the value of Parameters.

func (*ConversationHistoryTranscriptToolCallClientDetails) GetType

GetType returns the value of Type.

func (*ConversationHistoryTranscriptToolCallClientDetails) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptToolCallClientDetails) SetParameters

SetParameters sets the value of Parameters.

func (*ConversationHistoryTranscriptToolCallClientDetails) SetType

SetType sets the value of Type.

func (*ConversationHistoryTranscriptToolCallClientDetails) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptToolCallClientDetails) Validate

type ConversationHistoryTranscriptToolCallClientDetailsType

type ConversationHistoryTranscriptToolCallClientDetailsType string
const (
	ConversationHistoryTranscriptToolCallClientDetailsTypeClient ConversationHistoryTranscriptToolCallClientDetailsType = "client"
)

func (ConversationHistoryTranscriptToolCallClientDetailsType) AllValues

AllValues returns all ConversationHistoryTranscriptToolCallClientDetailsType values.

func (*ConversationHistoryTranscriptToolCallClientDetailsType) Decode

Decode decodes ConversationHistoryTranscriptToolCallClientDetailsType from json.

func (ConversationHistoryTranscriptToolCallClientDetailsType) Encode

Encode encodes ConversationHistoryTranscriptToolCallClientDetailsType as json.

func (ConversationHistoryTranscriptToolCallClientDetailsType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationHistoryTranscriptToolCallClientDetailsType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationHistoryTranscriptToolCallClientDetailsType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptToolCallClientDetailsType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationHistoryTranscriptToolCallClientDetailsType) Validate

type ConversationHistoryTranscriptToolCallCommonModelInput

type ConversationHistoryTranscriptToolCallCommonModelInput struct {
	ParamsAsJSON      string                                                                 `json:"params_as_json"`
	RequestID         string                                                                 `json:"request_id"`
	ToolDetails       OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails `json:"tool_details"`
	ToolHasBeenCalled bool                                                                   `json:"tool_has_been_called"`
	ToolName          string                                                                 `json:"tool_name"`
	Type              OptToolType                                                            `json:"type"`
}

Ref: #/components/schemas/ConversationHistoryTranscriptToolCallCommonModel-Input

func (*ConversationHistoryTranscriptToolCallCommonModelInput) Decode

Decode decodes ConversationHistoryTranscriptToolCallCommonModelInput from json.

func (*ConversationHistoryTranscriptToolCallCommonModelInput) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryTranscriptToolCallCommonModelInput) GetParamsAsJSON

GetParamsAsJSON returns the value of ParamsAsJSON.

func (*ConversationHistoryTranscriptToolCallCommonModelInput) GetRequestID

GetRequestID returns the value of RequestID.

func (*ConversationHistoryTranscriptToolCallCommonModelInput) GetToolDetails

GetToolDetails returns the value of ToolDetails.

func (*ConversationHistoryTranscriptToolCallCommonModelInput) GetToolHasBeenCalled

GetToolHasBeenCalled returns the value of ToolHasBeenCalled.

func (*ConversationHistoryTranscriptToolCallCommonModelInput) GetToolName

GetToolName returns the value of ToolName.

func (*ConversationHistoryTranscriptToolCallCommonModelInput) GetType

GetType returns the value of Type.

func (*ConversationHistoryTranscriptToolCallCommonModelInput) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptToolCallCommonModelInput) SetParamsAsJSON

SetParamsAsJSON sets the value of ParamsAsJSON.

func (*ConversationHistoryTranscriptToolCallCommonModelInput) SetRequestID

SetRequestID sets the value of RequestID.

func (*ConversationHistoryTranscriptToolCallCommonModelInput) SetToolDetails

SetToolDetails sets the value of ToolDetails.

func (*ConversationHistoryTranscriptToolCallCommonModelInput) SetToolHasBeenCalled

func (s *ConversationHistoryTranscriptToolCallCommonModelInput) SetToolHasBeenCalled(val bool)

SetToolHasBeenCalled sets the value of ToolHasBeenCalled.

func (*ConversationHistoryTranscriptToolCallCommonModelInput) SetToolName

SetToolName sets the value of ToolName.

func (*ConversationHistoryTranscriptToolCallCommonModelInput) SetType

SetType sets the value of Type.

func (*ConversationHistoryTranscriptToolCallCommonModelInput) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptToolCallCommonModelInput) Validate

type ConversationHistoryTranscriptToolCallCommonModelInputToolDetails

type ConversationHistoryTranscriptToolCallCommonModelInputToolDetails struct {
	Type                                                              ConversationHistoryTranscriptToolCallCommonModelInputToolDetailsType // switch on this field
	ConversationHistoryTranscriptToolCallWebhookDetails               ConversationHistoryTranscriptToolCallWebhookDetails
	ConversationHistoryTranscriptToolCallClientDetails                ConversationHistoryTranscriptToolCallClientDetails
	ConversationHistoryTranscriptToolCallMCPDetails                   ConversationHistoryTranscriptToolCallMCPDetails
	ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails
}

ConversationHistoryTranscriptToolCallCommonModelInputToolDetails represents sum type.

func NewConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails

func NewConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails(v ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) ConversationHistoryTranscriptToolCallCommonModelInputToolDetails

NewConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails returns new ConversationHistoryTranscriptToolCallCommonModelInputToolDetails from ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.

func NewConversationHistoryTranscriptToolCallClientDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails

func NewConversationHistoryTranscriptToolCallClientDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails(v ConversationHistoryTranscriptToolCallClientDetails) ConversationHistoryTranscriptToolCallCommonModelInputToolDetails

NewConversationHistoryTranscriptToolCallClientDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails returns new ConversationHistoryTranscriptToolCallCommonModelInputToolDetails from ConversationHistoryTranscriptToolCallClientDetails.

func NewConversationHistoryTranscriptToolCallMCPDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails

func NewConversationHistoryTranscriptToolCallMCPDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails(v ConversationHistoryTranscriptToolCallMCPDetails) ConversationHistoryTranscriptToolCallCommonModelInputToolDetails

NewConversationHistoryTranscriptToolCallMCPDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails returns new ConversationHistoryTranscriptToolCallCommonModelInputToolDetails from ConversationHistoryTranscriptToolCallMCPDetails.

func NewConversationHistoryTranscriptToolCallWebhookDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails

func NewConversationHistoryTranscriptToolCallWebhookDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails(v ConversationHistoryTranscriptToolCallWebhookDetails) ConversationHistoryTranscriptToolCallCommonModelInputToolDetails

NewConversationHistoryTranscriptToolCallWebhookDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails returns new ConversationHistoryTranscriptToolCallCommonModelInputToolDetails from ConversationHistoryTranscriptToolCallWebhookDetails.

func (*ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Decode

Decode decodes ConversationHistoryTranscriptToolCallCommonModelInputToolDetails from json.

func (ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Encode

Encode encodes ConversationHistoryTranscriptToolCallCommonModelInputToolDetails as json.

func (ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) GetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails

func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) GetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails() (v ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails, ok bool)

GetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails returns ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails and true boolean if ConversationHistoryTranscriptToolCallCommonModelInputToolDetails is ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.

func (ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) GetConversationHistoryTranscriptToolCallClientDetails

GetConversationHistoryTranscriptToolCallClientDetails returns ConversationHistoryTranscriptToolCallClientDetails and true boolean if ConversationHistoryTranscriptToolCallCommonModelInputToolDetails is ConversationHistoryTranscriptToolCallClientDetails.

func (ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) GetConversationHistoryTranscriptToolCallMCPDetails

GetConversationHistoryTranscriptToolCallMCPDetails returns ConversationHistoryTranscriptToolCallMCPDetails and true boolean if ConversationHistoryTranscriptToolCallCommonModelInputToolDetails is ConversationHistoryTranscriptToolCallMCPDetails.

func (ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) GetConversationHistoryTranscriptToolCallWebhookDetails

GetConversationHistoryTranscriptToolCallWebhookDetails returns ConversationHistoryTranscriptToolCallWebhookDetails and true boolean if ConversationHistoryTranscriptToolCallCommonModelInputToolDetails is ConversationHistoryTranscriptToolCallWebhookDetails.

func (ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails

func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails() bool

IsConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails reports whether ConversationHistoryTranscriptToolCallCommonModelInputToolDetails is ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.

func (ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsConversationHistoryTranscriptToolCallClientDetails

func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsConversationHistoryTranscriptToolCallClientDetails() bool

IsConversationHistoryTranscriptToolCallClientDetails reports whether ConversationHistoryTranscriptToolCallCommonModelInputToolDetails is ConversationHistoryTranscriptToolCallClientDetails.

func (ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsConversationHistoryTranscriptToolCallMCPDetails

func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsConversationHistoryTranscriptToolCallMCPDetails() bool

IsConversationHistoryTranscriptToolCallMCPDetails reports whether ConversationHistoryTranscriptToolCallCommonModelInputToolDetails is ConversationHistoryTranscriptToolCallMCPDetails.

func (ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsConversationHistoryTranscriptToolCallWebhookDetails

func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsConversationHistoryTranscriptToolCallWebhookDetails() bool

IsConversationHistoryTranscriptToolCallWebhookDetails reports whether ConversationHistoryTranscriptToolCallCommonModelInputToolDetails is ConversationHistoryTranscriptToolCallWebhookDetails.

func (ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails

SetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails sets ConversationHistoryTranscriptToolCallCommonModelInputToolDetails to ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.

func (*ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetConversationHistoryTranscriptToolCallClientDetails

SetConversationHistoryTranscriptToolCallClientDetails sets ConversationHistoryTranscriptToolCallCommonModelInputToolDetails to ConversationHistoryTranscriptToolCallClientDetails.

func (*ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetConversationHistoryTranscriptToolCallMCPDetails

SetConversationHistoryTranscriptToolCallMCPDetails sets ConversationHistoryTranscriptToolCallCommonModelInputToolDetails to ConversationHistoryTranscriptToolCallMCPDetails.

func (*ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetConversationHistoryTranscriptToolCallWebhookDetails

SetConversationHistoryTranscriptToolCallWebhookDetails sets ConversationHistoryTranscriptToolCallCommonModelInputToolDetails to ConversationHistoryTranscriptToolCallWebhookDetails.

func (*ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Validate

type ConversationHistoryTranscriptToolCallCommonModelInputToolDetailsType

type ConversationHistoryTranscriptToolCallCommonModelInputToolDetailsType string

ConversationHistoryTranscriptToolCallCommonModelInputToolDetailsType is oneOf type of ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.

const (
	ConversationHistoryTranscriptToolCallWebhookDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails               ConversationHistoryTranscriptToolCallCommonModelInputToolDetailsType = "webhook"
	ConversationHistoryTranscriptToolCallClientDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails                ConversationHistoryTranscriptToolCallCommonModelInputToolDetailsType = "client"
	ConversationHistoryTranscriptToolCallMCPDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails                   ConversationHistoryTranscriptToolCallCommonModelInputToolDetailsType = "mcp"
	ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails ConversationHistoryTranscriptToolCallCommonModelInputToolDetailsType = "api_integration_webhook"
)

Possible values for ConversationHistoryTranscriptToolCallCommonModelInputToolDetailsType.

type ConversationHistoryTranscriptToolCallCommonModelOutput

type ConversationHistoryTranscriptToolCallCommonModelOutput struct {
	ParamsAsJSON      string                                                                  `json:"params_as_json"`
	RequestID         string                                                                  `json:"request_id"`
	ToolDetails       OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails `json:"tool_details"`
	ToolHasBeenCalled bool                                                                    `json:"tool_has_been_called"`
	ToolName          string                                                                  `json:"tool_name"`
	Type              OptToolType                                                             `json:"type"`
}

Ref: #/components/schemas/ConversationHistoryTranscriptToolCallCommonModel-Output

func (*ConversationHistoryTranscriptToolCallCommonModelOutput) Decode

Decode decodes ConversationHistoryTranscriptToolCallCommonModelOutput from json.

func (*ConversationHistoryTranscriptToolCallCommonModelOutput) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryTranscriptToolCallCommonModelOutput) GetParamsAsJSON

GetParamsAsJSON returns the value of ParamsAsJSON.

func (*ConversationHistoryTranscriptToolCallCommonModelOutput) GetRequestID

GetRequestID returns the value of RequestID.

func (*ConversationHistoryTranscriptToolCallCommonModelOutput) GetToolDetails

GetToolDetails returns the value of ToolDetails.

func (*ConversationHistoryTranscriptToolCallCommonModelOutput) GetToolHasBeenCalled

GetToolHasBeenCalled returns the value of ToolHasBeenCalled.

func (*ConversationHistoryTranscriptToolCallCommonModelOutput) GetToolName

GetToolName returns the value of ToolName.

func (*ConversationHistoryTranscriptToolCallCommonModelOutput) GetType

GetType returns the value of Type.

func (*ConversationHistoryTranscriptToolCallCommonModelOutput) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptToolCallCommonModelOutput) SetParamsAsJSON

SetParamsAsJSON sets the value of ParamsAsJSON.

func (*ConversationHistoryTranscriptToolCallCommonModelOutput) SetRequestID

SetRequestID sets the value of RequestID.

func (*ConversationHistoryTranscriptToolCallCommonModelOutput) SetToolDetails

SetToolDetails sets the value of ToolDetails.

func (*ConversationHistoryTranscriptToolCallCommonModelOutput) SetToolHasBeenCalled

func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) SetToolHasBeenCalled(val bool)

SetToolHasBeenCalled sets the value of ToolHasBeenCalled.

func (*ConversationHistoryTranscriptToolCallCommonModelOutput) SetToolName

SetToolName sets the value of ToolName.

func (*ConversationHistoryTranscriptToolCallCommonModelOutput) SetType

SetType sets the value of Type.

func (*ConversationHistoryTranscriptToolCallCommonModelOutput) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptToolCallCommonModelOutput) Validate

type ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails

type ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails struct {
	Type                                                              ConversationHistoryTranscriptToolCallCommonModelOutputToolDetailsType // switch on this field
	ConversationHistoryTranscriptToolCallWebhookDetails               ConversationHistoryTranscriptToolCallWebhookDetails
	ConversationHistoryTranscriptToolCallClientDetails                ConversationHistoryTranscriptToolCallClientDetails
	ConversationHistoryTranscriptToolCallMCPDetails                   ConversationHistoryTranscriptToolCallMCPDetails
	ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails
}

ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails represents sum type.

func NewConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails

func NewConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails(v ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails

NewConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails returns new ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails from ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.

func NewConversationHistoryTranscriptToolCallClientDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails

func NewConversationHistoryTranscriptToolCallClientDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails(v ConversationHistoryTranscriptToolCallClientDetails) ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails

NewConversationHistoryTranscriptToolCallClientDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails returns new ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails from ConversationHistoryTranscriptToolCallClientDetails.

func NewConversationHistoryTranscriptToolCallMCPDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails

func NewConversationHistoryTranscriptToolCallMCPDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails(v ConversationHistoryTranscriptToolCallMCPDetails) ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails

NewConversationHistoryTranscriptToolCallMCPDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails returns new ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails from ConversationHistoryTranscriptToolCallMCPDetails.

func NewConversationHistoryTranscriptToolCallWebhookDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails

func NewConversationHistoryTranscriptToolCallWebhookDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails(v ConversationHistoryTranscriptToolCallWebhookDetails) ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails

NewConversationHistoryTranscriptToolCallWebhookDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails returns new ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails from ConversationHistoryTranscriptToolCallWebhookDetails.

func (*ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Decode

Decode decodes ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails from json.

func (ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Encode

Encode encodes ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails as json.

func (ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) GetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails

func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) GetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails() (v ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails, ok bool)

GetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails returns ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails and true boolean if ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails is ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.

func (ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) GetConversationHistoryTranscriptToolCallClientDetails

GetConversationHistoryTranscriptToolCallClientDetails returns ConversationHistoryTranscriptToolCallClientDetails and true boolean if ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails is ConversationHistoryTranscriptToolCallClientDetails.

func (ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) GetConversationHistoryTranscriptToolCallMCPDetails

GetConversationHistoryTranscriptToolCallMCPDetails returns ConversationHistoryTranscriptToolCallMCPDetails and true boolean if ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails is ConversationHistoryTranscriptToolCallMCPDetails.

func (ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) GetConversationHistoryTranscriptToolCallWebhookDetails

GetConversationHistoryTranscriptToolCallWebhookDetails returns ConversationHistoryTranscriptToolCallWebhookDetails and true boolean if ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails is ConversationHistoryTranscriptToolCallWebhookDetails.

func (ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails

func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails() bool

IsConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails reports whether ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails is ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.

func (ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsConversationHistoryTranscriptToolCallClientDetails

func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsConversationHistoryTranscriptToolCallClientDetails() bool

IsConversationHistoryTranscriptToolCallClientDetails reports whether ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails is ConversationHistoryTranscriptToolCallClientDetails.

func (ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsConversationHistoryTranscriptToolCallMCPDetails

func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsConversationHistoryTranscriptToolCallMCPDetails() bool

IsConversationHistoryTranscriptToolCallMCPDetails reports whether ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails is ConversationHistoryTranscriptToolCallMCPDetails.

func (ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsConversationHistoryTranscriptToolCallWebhookDetails

func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsConversationHistoryTranscriptToolCallWebhookDetails() bool

IsConversationHistoryTranscriptToolCallWebhookDetails reports whether ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails is ConversationHistoryTranscriptToolCallWebhookDetails.

func (ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails

SetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails sets ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails to ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.

func (*ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetConversationHistoryTranscriptToolCallClientDetails

SetConversationHistoryTranscriptToolCallClientDetails sets ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails to ConversationHistoryTranscriptToolCallClientDetails.

func (*ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetConversationHistoryTranscriptToolCallMCPDetails

SetConversationHistoryTranscriptToolCallMCPDetails sets ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails to ConversationHistoryTranscriptToolCallMCPDetails.

func (*ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetConversationHistoryTranscriptToolCallWebhookDetails

SetConversationHistoryTranscriptToolCallWebhookDetails sets ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails to ConversationHistoryTranscriptToolCallWebhookDetails.

func (*ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Validate

type ConversationHistoryTranscriptToolCallCommonModelOutputToolDetailsType

type ConversationHistoryTranscriptToolCallCommonModelOutputToolDetailsType string

ConversationHistoryTranscriptToolCallCommonModelOutputToolDetailsType is oneOf type of ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.

const (
	ConversationHistoryTranscriptToolCallWebhookDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails               ConversationHistoryTranscriptToolCallCommonModelOutputToolDetailsType = "webhook"
	ConversationHistoryTranscriptToolCallClientDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails                ConversationHistoryTranscriptToolCallCommonModelOutputToolDetailsType = "client"
	ConversationHistoryTranscriptToolCallMCPDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails                   ConversationHistoryTranscriptToolCallCommonModelOutputToolDetailsType = "mcp"
	ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails ConversationHistoryTranscriptToolCallCommonModelOutputToolDetailsType = "api_integration_webhook"
)

Possible values for ConversationHistoryTranscriptToolCallCommonModelOutputToolDetailsType.

type ConversationHistoryTranscriptToolCallMCPDetails

type ConversationHistoryTranscriptToolCallMCPDetails struct {
	ApprovalPolicy     string                                                       `json:"approval_policy"`
	IntegrationType    string                                                       `json:"integration_type"`
	McpServerID        string                                                       `json:"mcp_server_id"`
	McpServerName      string                                                       `json:"mcp_server_name"`
	McpToolDescription OptString                                                    `json:"mcp_tool_description"`
	McpToolName        OptString                                                    `json:"mcp_tool_name"`
	Parameters         OptConversationHistoryTranscriptToolCallMCPDetailsParameters `json:"parameters"`
	RequiresApproval   OptBool                                                      `json:"requires_approval"`
	Type               OptConversationHistoryTranscriptToolCallMCPDetailsType       `json:"type"`
}

Ref: #/components/schemas/ConversationHistoryTranscriptToolCallMCPDetails

func (*ConversationHistoryTranscriptToolCallMCPDetails) Decode

Decode decodes ConversationHistoryTranscriptToolCallMCPDetails from json.

func (*ConversationHistoryTranscriptToolCallMCPDetails) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryTranscriptToolCallMCPDetails) GetApprovalPolicy

GetApprovalPolicy returns the value of ApprovalPolicy.

func (*ConversationHistoryTranscriptToolCallMCPDetails) GetIntegrationType

GetIntegrationType returns the value of IntegrationType.

func (*ConversationHistoryTranscriptToolCallMCPDetails) GetMcpServerID

GetMcpServerID returns the value of McpServerID.

func (*ConversationHistoryTranscriptToolCallMCPDetails) GetMcpServerName

GetMcpServerName returns the value of McpServerName.

func (*ConversationHistoryTranscriptToolCallMCPDetails) GetMcpToolDescription

GetMcpToolDescription returns the value of McpToolDescription.

func (*ConversationHistoryTranscriptToolCallMCPDetails) GetMcpToolName

GetMcpToolName returns the value of McpToolName.

func (*ConversationHistoryTranscriptToolCallMCPDetails) GetParameters

GetParameters returns the value of Parameters.

func (*ConversationHistoryTranscriptToolCallMCPDetails) GetRequiresApproval

GetRequiresApproval returns the value of RequiresApproval.

func (*ConversationHistoryTranscriptToolCallMCPDetails) GetType

GetType returns the value of Type.

func (*ConversationHistoryTranscriptToolCallMCPDetails) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptToolCallMCPDetails) SetApprovalPolicy

func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetApprovalPolicy(val string)

SetApprovalPolicy sets the value of ApprovalPolicy.

func (*ConversationHistoryTranscriptToolCallMCPDetails) SetIntegrationType

func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetIntegrationType(val string)

SetIntegrationType sets the value of IntegrationType.

func (*ConversationHistoryTranscriptToolCallMCPDetails) SetMcpServerID

SetMcpServerID sets the value of McpServerID.

func (*ConversationHistoryTranscriptToolCallMCPDetails) SetMcpServerName

SetMcpServerName sets the value of McpServerName.

func (*ConversationHistoryTranscriptToolCallMCPDetails) SetMcpToolDescription

func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetMcpToolDescription(val OptString)

SetMcpToolDescription sets the value of McpToolDescription.

func (*ConversationHistoryTranscriptToolCallMCPDetails) SetMcpToolName

SetMcpToolName sets the value of McpToolName.

func (*ConversationHistoryTranscriptToolCallMCPDetails) SetParameters

SetParameters sets the value of Parameters.

func (*ConversationHistoryTranscriptToolCallMCPDetails) SetRequiresApproval

func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetRequiresApproval(val OptBool)

SetRequiresApproval sets the value of RequiresApproval.

func (*ConversationHistoryTranscriptToolCallMCPDetails) SetType

SetType sets the value of Type.

func (*ConversationHistoryTranscriptToolCallMCPDetails) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptToolCallMCPDetails) Validate

type ConversationHistoryTranscriptToolCallMCPDetailsParameters

type ConversationHistoryTranscriptToolCallMCPDetailsParameters map[string]string

func (*ConversationHistoryTranscriptToolCallMCPDetailsParameters) Decode

Decode decodes ConversationHistoryTranscriptToolCallMCPDetailsParameters from json.

func (ConversationHistoryTranscriptToolCallMCPDetailsParameters) Encode

Encode implements json.Marshaler.

func (ConversationHistoryTranscriptToolCallMCPDetailsParameters) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptToolCallMCPDetailsParameters) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationHistoryTranscriptToolCallMCPDetailsType

type ConversationHistoryTranscriptToolCallMCPDetailsType string
const (
	ConversationHistoryTranscriptToolCallMCPDetailsTypeMcp ConversationHistoryTranscriptToolCallMCPDetailsType = "mcp"
)

func (ConversationHistoryTranscriptToolCallMCPDetailsType) AllValues

AllValues returns all ConversationHistoryTranscriptToolCallMCPDetailsType values.

func (*ConversationHistoryTranscriptToolCallMCPDetailsType) Decode

Decode decodes ConversationHistoryTranscriptToolCallMCPDetailsType from json.

func (ConversationHistoryTranscriptToolCallMCPDetailsType) Encode

Encode encodes ConversationHistoryTranscriptToolCallMCPDetailsType as json.

func (ConversationHistoryTranscriptToolCallMCPDetailsType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationHistoryTranscriptToolCallMCPDetailsType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationHistoryTranscriptToolCallMCPDetailsType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptToolCallMCPDetailsType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationHistoryTranscriptToolCallMCPDetailsType) Validate

type ConversationHistoryTranscriptToolCallWebhookDetails

type ConversationHistoryTranscriptToolCallWebhookDetails struct {
	Body        OptNilString                                                      `json:"body"`
	Headers     OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders     `json:"headers"`
	Method      string                                                            `json:"method"`
	PathParams  OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams  `json:"path_params"`
	QueryParams OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams `json:"query_params"`
	Type        OptConversationHistoryTranscriptToolCallWebhookDetailsType        `json:"type"`
	URL         string                                                            `json:"url"`
}

Ref: #/components/schemas/ConversationHistoryTranscriptToolCallWebhookDetails

func (*ConversationHistoryTranscriptToolCallWebhookDetails) Decode

Decode decodes ConversationHistoryTranscriptToolCallWebhookDetails from json.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) GetBody

GetBody returns the value of Body.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) GetHeaders

GetHeaders returns the value of Headers.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) GetMethod

GetMethod returns the value of Method.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) GetPathParams

GetPathParams returns the value of PathParams.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) GetQueryParams

GetQueryParams returns the value of QueryParams.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) GetType

GetType returns the value of Type.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) GetURL

GetURL returns the value of URL.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) SetBody

SetBody sets the value of Body.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) SetHeaders

SetHeaders sets the value of Headers.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) SetMethod

SetMethod sets the value of Method.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) SetPathParams

SetPathParams sets the value of PathParams.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) SetQueryParams

SetQueryParams sets the value of QueryParams.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) SetType

SetType sets the value of Type.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) SetURL

SetURL sets the value of URL.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptToolCallWebhookDetails) Validate

type ConversationHistoryTranscriptToolCallWebhookDetailsHeaders

type ConversationHistoryTranscriptToolCallWebhookDetailsHeaders map[string]string

func (*ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Decode

Decode decodes ConversationHistoryTranscriptToolCallWebhookDetailsHeaders from json.

func (ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Encode

Encode implements json.Marshaler.

func (ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationHistoryTranscriptToolCallWebhookDetailsPathParams

type ConversationHistoryTranscriptToolCallWebhookDetailsPathParams map[string]string

func (*ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Decode

Decode decodes ConversationHistoryTranscriptToolCallWebhookDetailsPathParams from json.

func (ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Encode

Encode implements json.Marshaler.

func (ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams

type ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams map[string]string

func (*ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Decode

Decode decodes ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams from json.

func (ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Encode

Encode implements json.Marshaler.

func (ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationHistoryTranscriptToolCallWebhookDetailsType

type ConversationHistoryTranscriptToolCallWebhookDetailsType string
const (
	ConversationHistoryTranscriptToolCallWebhookDetailsTypeWebhook ConversationHistoryTranscriptToolCallWebhookDetailsType = "webhook"
)

func (ConversationHistoryTranscriptToolCallWebhookDetailsType) AllValues

AllValues returns all ConversationHistoryTranscriptToolCallWebhookDetailsType values.

func (*ConversationHistoryTranscriptToolCallWebhookDetailsType) Decode

Decode decodes ConversationHistoryTranscriptToolCallWebhookDetailsType from json.

func (ConversationHistoryTranscriptToolCallWebhookDetailsType) Encode

Encode encodes ConversationHistoryTranscriptToolCallWebhookDetailsType as json.

func (ConversationHistoryTranscriptToolCallWebhookDetailsType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationHistoryTranscriptToolCallWebhookDetailsType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationHistoryTranscriptToolCallWebhookDetailsType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptToolCallWebhookDetailsType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationHistoryTranscriptToolCallWebhookDetailsType) Validate

type ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput

type ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput struct {
	DynamicVariableUpdates []DynamicVariableUpdateCommonModel                                   `json:"dynamic_variable_updates"`
	IsError                bool                                                                 `json:"is_error"`
	RequestID              string                                                               `json:"request_id"`
	Result                 OptWorkflowToolResponseModelInput                                    `json:"result"`
	ResultValue            string                                                               `json:"result_value"`
	ToolHasBeenCalled      bool                                                                 `json:"tool_has_been_called"`
	ToolLatencySecs        OptFloat64                                                           `json:"tool_latency_secs"`
	ToolName               string                                                               `json:"tool_name"`
	Type                   ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType `json:"type"`
}

Ref: #/components/schemas/ConversationHistoryTranscriptWorkflowToolsResultCommonModel-Input

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) Decode

Decode decodes ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput from json.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetDynamicVariableUpdates

GetDynamicVariableUpdates returns the value of DynamicVariableUpdates.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetIsError

GetIsError returns the value of IsError.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetRequestID

GetRequestID returns the value of RequestID.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetResult

GetResult returns the value of Result.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetResultValue

GetResultValue returns the value of ResultValue.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetToolHasBeenCalled

GetToolHasBeenCalled returns the value of ToolHasBeenCalled.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetToolLatencySecs

GetToolLatencySecs returns the value of ToolLatencySecs.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetToolName

GetToolName returns the value of ToolName.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetType

GetType returns the value of Type.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetDynamicVariableUpdates

SetDynamicVariableUpdates sets the value of DynamicVariableUpdates.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetIsError

SetIsError sets the value of IsError.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetRequestID

SetRequestID sets the value of RequestID.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetResult

SetResult sets the value of Result.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetResultValue

SetResultValue sets the value of ResultValue.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetToolHasBeenCalled

SetToolHasBeenCalled sets the value of ToolHasBeenCalled.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetToolLatencySecs

SetToolLatencySecs sets the value of ToolLatencySecs.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetToolName

SetToolName sets the value of ToolName.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetType

SetType sets the value of Type.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) Validate

type ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType

type ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType string
const (
	ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputTypeWorkflow ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType = "workflow"
)

func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) AllValues

AllValues returns all ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType values.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) Decode

Decode decodes ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType from json.

func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) Encode

Encode encodes ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType as json.

func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) Validate

type ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput

type ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput struct {
	DynamicVariableUpdates []DynamicVariableUpdateCommonModel                                    `json:"dynamic_variable_updates"`
	IsError                bool                                                                  `json:"is_error"`
	RequestID              string                                                                `json:"request_id"`
	Result                 OptWorkflowToolResponseModelOutput                                    `json:"result"`
	ResultValue            string                                                                `json:"result_value"`
	ToolHasBeenCalled      bool                                                                  `json:"tool_has_been_called"`
	ToolLatencySecs        OptFloat64                                                            `json:"tool_latency_secs"`
	ToolName               string                                                                `json:"tool_name"`
	Type                   ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType `json:"type"`
}

Ref: #/components/schemas/ConversationHistoryTranscriptWorkflowToolsResultCommonModel-Output

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) Decode

Decode decodes ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput from json.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetDynamicVariableUpdates

GetDynamicVariableUpdates returns the value of DynamicVariableUpdates.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetIsError

GetIsError returns the value of IsError.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetRequestID

GetRequestID returns the value of RequestID.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetResult

GetResult returns the value of Result.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetResultValue

GetResultValue returns the value of ResultValue.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetToolHasBeenCalled

GetToolHasBeenCalled returns the value of ToolHasBeenCalled.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetToolLatencySecs

GetToolLatencySecs returns the value of ToolLatencySecs.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetToolName

GetToolName returns the value of ToolName.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetType

GetType returns the value of Type.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetDynamicVariableUpdates

SetDynamicVariableUpdates sets the value of DynamicVariableUpdates.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetIsError

SetIsError sets the value of IsError.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetRequestID

SetRequestID sets the value of RequestID.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetResult

SetResult sets the value of Result.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetResultValue

SetResultValue sets the value of ResultValue.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetToolHasBeenCalled

SetToolHasBeenCalled sets the value of ToolHasBeenCalled.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetToolLatencySecs

SetToolLatencySecs sets the value of ToolLatencySecs.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetToolName

SetToolName sets the value of ToolName.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetType

SetType sets the value of Type.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) Validate

type ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType

type ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType string
const (
	ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputTypeWorkflow ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType = "workflow"
)

func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) AllValues

AllValues returns all ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType values.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) Decode

Decode decodes ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType from json.

func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) Encode

Encode encodes ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType as json.

func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) Validate

type ConversationHistoryTwilioPhoneCallModel

type ConversationHistoryTwilioPhoneCallModel struct {
	AgentNumber    string                                           `json:"agent_number"`
	CallSid        string                                           `json:"call_sid"`
	Direction      ConversationHistoryTwilioPhoneCallModelDirection `json:"direction"`
	ExternalNumber string                                           `json:"external_number"`
	PhoneNumberID  string                                           `json:"phone_number_id"`
	StreamSid      string                                           `json:"stream_sid"`
	Type           ConversationHistoryTwilioPhoneCallModelType      `json:"type"`
}

Ref: #/components/schemas/ConversationHistoryTwilioPhoneCallModel

func (*ConversationHistoryTwilioPhoneCallModel) Decode

Decode decodes ConversationHistoryTwilioPhoneCallModel from json.

func (*ConversationHistoryTwilioPhoneCallModel) Encode

Encode implements json.Marshaler.

func (*ConversationHistoryTwilioPhoneCallModel) GetAgentNumber

func (s *ConversationHistoryTwilioPhoneCallModel) GetAgentNumber() string

GetAgentNumber returns the value of AgentNumber.

func (*ConversationHistoryTwilioPhoneCallModel) GetCallSid

GetCallSid returns the value of CallSid.

func (*ConversationHistoryTwilioPhoneCallModel) GetDirection

GetDirection returns the value of Direction.

func (*ConversationHistoryTwilioPhoneCallModel) GetExternalNumber

func (s *ConversationHistoryTwilioPhoneCallModel) GetExternalNumber() string

GetExternalNumber returns the value of ExternalNumber.

func (*ConversationHistoryTwilioPhoneCallModel) GetPhoneNumberID

func (s *ConversationHistoryTwilioPhoneCallModel) GetPhoneNumberID() string

GetPhoneNumberID returns the value of PhoneNumberID.

func (*ConversationHistoryTwilioPhoneCallModel) GetStreamSid

GetStreamSid returns the value of StreamSid.

func (*ConversationHistoryTwilioPhoneCallModel) GetType

GetType returns the value of Type.

func (*ConversationHistoryTwilioPhoneCallModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationHistoryTwilioPhoneCallModel) SetAgentNumber

func (s *ConversationHistoryTwilioPhoneCallModel) SetAgentNumber(val string)

SetAgentNumber sets the value of AgentNumber.

func (*ConversationHistoryTwilioPhoneCallModel) SetCallSid

SetCallSid sets the value of CallSid.

func (*ConversationHistoryTwilioPhoneCallModel) SetDirection

SetDirection sets the value of Direction.

func (*ConversationHistoryTwilioPhoneCallModel) SetExternalNumber

func (s *ConversationHistoryTwilioPhoneCallModel) SetExternalNumber(val string)

SetExternalNumber sets the value of ExternalNumber.

func (*ConversationHistoryTwilioPhoneCallModel) SetPhoneNumberID

func (s *ConversationHistoryTwilioPhoneCallModel) SetPhoneNumberID(val string)

SetPhoneNumberID sets the value of PhoneNumberID.

func (*ConversationHistoryTwilioPhoneCallModel) SetStreamSid

func (s *ConversationHistoryTwilioPhoneCallModel) SetStreamSid(val string)

SetStreamSid sets the value of StreamSid.

func (*ConversationHistoryTwilioPhoneCallModel) SetType

SetType sets the value of Type.

func (*ConversationHistoryTwilioPhoneCallModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTwilioPhoneCallModel) Validate

type ConversationHistoryTwilioPhoneCallModelDirection

type ConversationHistoryTwilioPhoneCallModelDirection string
const (
	ConversationHistoryTwilioPhoneCallModelDirectionInbound  ConversationHistoryTwilioPhoneCallModelDirection = "inbound"
	ConversationHistoryTwilioPhoneCallModelDirectionOutbound ConversationHistoryTwilioPhoneCallModelDirection = "outbound"
)

func (ConversationHistoryTwilioPhoneCallModelDirection) AllValues

AllValues returns all ConversationHistoryTwilioPhoneCallModelDirection values.

func (*ConversationHistoryTwilioPhoneCallModelDirection) Decode

Decode decodes ConversationHistoryTwilioPhoneCallModelDirection from json.

func (ConversationHistoryTwilioPhoneCallModelDirection) Encode

Encode encodes ConversationHistoryTwilioPhoneCallModelDirection as json.

func (ConversationHistoryTwilioPhoneCallModelDirection) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationHistoryTwilioPhoneCallModelDirection) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationHistoryTwilioPhoneCallModelDirection) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTwilioPhoneCallModelDirection) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationHistoryTwilioPhoneCallModelDirection) Validate

type ConversationHistoryTwilioPhoneCallModelType

type ConversationHistoryTwilioPhoneCallModelType string
const (
	ConversationHistoryTwilioPhoneCallModelTypeTwilio ConversationHistoryTwilioPhoneCallModelType = "twilio"
)

func (ConversationHistoryTwilioPhoneCallModelType) AllValues

AllValues returns all ConversationHistoryTwilioPhoneCallModelType values.

func (*ConversationHistoryTwilioPhoneCallModelType) Decode

Decode decodes ConversationHistoryTwilioPhoneCallModelType from json.

func (ConversationHistoryTwilioPhoneCallModelType) Encode

Encode encodes ConversationHistoryTwilioPhoneCallModelType as json.

func (ConversationHistoryTwilioPhoneCallModelType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationHistoryTwilioPhoneCallModelType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationHistoryTwilioPhoneCallModelType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationHistoryTwilioPhoneCallModelType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationHistoryTwilioPhoneCallModelType) Validate

type ConversationInitiationClientDataInternal

type ConversationInitiationClientDataInternal struct {
	ConversationConfigOverride OptConversationConfigClientOverrideOutput                   `json:"conversation_config_override"`
	CustomLlmExtraBody         *ConversationInitiationClientDataInternalCustomLlmExtraBody `json:"custom_llm_extra_body"`
	DynamicVariables           OptConversationInitiationClientDataInternalDynamicVariables `json:"dynamic_variables"`
	SourceInfo                 OptConversationInitiationSourceInfo                         `json:"source_info"`
	// ID of the end user participating in this conversation (for agent owner's user identification).
	UserID OptNilString `json:"user_id"`
}

Ref: #/components/schemas/ConversationInitiationClientDataInternal

func (*ConversationInitiationClientDataInternal) Decode

Decode decodes ConversationInitiationClientDataInternal from json.

func (*ConversationInitiationClientDataInternal) Encode

Encode implements json.Marshaler.

func (*ConversationInitiationClientDataInternal) GetConversationConfigOverride

GetConversationConfigOverride returns the value of ConversationConfigOverride.

func (*ConversationInitiationClientDataInternal) GetCustomLlmExtraBody

GetCustomLlmExtraBody returns the value of CustomLlmExtraBody.

func (*ConversationInitiationClientDataInternal) GetDynamicVariables

GetDynamicVariables returns the value of DynamicVariables.

func (*ConversationInitiationClientDataInternal) GetSourceInfo

GetSourceInfo returns the value of SourceInfo.

func (*ConversationInitiationClientDataInternal) GetUserID

GetUserID returns the value of UserID.

func (*ConversationInitiationClientDataInternal) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationInitiationClientDataInternal) SetConversationConfigOverride

SetConversationConfigOverride sets the value of ConversationConfigOverride.

func (*ConversationInitiationClientDataInternal) SetCustomLlmExtraBody

SetCustomLlmExtraBody sets the value of CustomLlmExtraBody.

func (*ConversationInitiationClientDataInternal) SetDynamicVariables

SetDynamicVariables sets the value of DynamicVariables.

func (*ConversationInitiationClientDataInternal) SetSourceInfo

SetSourceInfo sets the value of SourceInfo.

func (*ConversationInitiationClientDataInternal) SetUserID

SetUserID sets the value of UserID.

func (*ConversationInitiationClientDataInternal) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationInitiationClientDataInternal) Validate

type ConversationInitiationClientDataInternalCustomLlmExtraBody

type ConversationInitiationClientDataInternalCustomLlmExtraBody struct{}

func (*ConversationInitiationClientDataInternalCustomLlmExtraBody) Decode

Decode decodes ConversationInitiationClientDataInternalCustomLlmExtraBody from json.

func (*ConversationInitiationClientDataInternalCustomLlmExtraBody) Encode

Encode implements json.Marshaler.

func (*ConversationInitiationClientDataInternalCustomLlmExtraBody) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationInitiationClientDataInternalCustomLlmExtraBody) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationInitiationClientDataInternalDynamicVariables

type ConversationInitiationClientDataInternalDynamicVariables map[string]NilConversationInitiationClientDataInternalDynamicVariablesItem

func (*ConversationInitiationClientDataInternalDynamicVariables) Decode

Decode decodes ConversationInitiationClientDataInternalDynamicVariables from json.

func (ConversationInitiationClientDataInternalDynamicVariables) Encode

Encode implements json.Marshaler.

func (ConversationInitiationClientDataInternalDynamicVariables) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationInitiationClientDataInternalDynamicVariables) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConversationInitiationClientDataInternalDynamicVariables) Validate

type ConversationInitiationClientDataInternalDynamicVariablesItem

type ConversationInitiationClientDataInternalDynamicVariablesItem struct {
	Type    ConversationInitiationClientDataInternalDynamicVariablesItemType // switch on this field
	String  string
	Float64 float64
	Int     int
	Bool    bool
}

ConversationInitiationClientDataInternalDynamicVariablesItem represents sum type.

func NewBoolConversationInitiationClientDataInternalDynamicVariablesItem

func NewBoolConversationInitiationClientDataInternalDynamicVariablesItem(v bool) ConversationInitiationClientDataInternalDynamicVariablesItem

NewBoolConversationInitiationClientDataInternalDynamicVariablesItem returns new ConversationInitiationClientDataInternalDynamicVariablesItem from bool.

func NewFloat64ConversationInitiationClientDataInternalDynamicVariablesItem

func NewFloat64ConversationInitiationClientDataInternalDynamicVariablesItem(v float64) ConversationInitiationClientDataInternalDynamicVariablesItem

NewFloat64ConversationInitiationClientDataInternalDynamicVariablesItem returns new ConversationInitiationClientDataInternalDynamicVariablesItem from float64.

func NewIntConversationInitiationClientDataInternalDynamicVariablesItem

func NewIntConversationInitiationClientDataInternalDynamicVariablesItem(v int) ConversationInitiationClientDataInternalDynamicVariablesItem

NewIntConversationInitiationClientDataInternalDynamicVariablesItem returns new ConversationInitiationClientDataInternalDynamicVariablesItem from int.

func NewStringConversationInitiationClientDataInternalDynamicVariablesItem

func NewStringConversationInitiationClientDataInternalDynamicVariablesItem(v string) ConversationInitiationClientDataInternalDynamicVariablesItem

NewStringConversationInitiationClientDataInternalDynamicVariablesItem returns new ConversationInitiationClientDataInternalDynamicVariablesItem from string.

func (*ConversationInitiationClientDataInternalDynamicVariablesItem) Decode

Decode decodes ConversationInitiationClientDataInternalDynamicVariablesItem from json.

func (ConversationInitiationClientDataInternalDynamicVariablesItem) Encode

Encode encodes ConversationInitiationClientDataInternalDynamicVariablesItem as json.

func (ConversationInitiationClientDataInternalDynamicVariablesItem) GetBool

GetBool returns bool and true boolean if ConversationInitiationClientDataInternalDynamicVariablesItem is bool.

func (ConversationInitiationClientDataInternalDynamicVariablesItem) GetFloat64

GetFloat64 returns float64 and true boolean if ConversationInitiationClientDataInternalDynamicVariablesItem is float64.

func (ConversationInitiationClientDataInternalDynamicVariablesItem) GetInt

GetInt returns int and true boolean if ConversationInitiationClientDataInternalDynamicVariablesItem is int.

func (ConversationInitiationClientDataInternalDynamicVariablesItem) GetString

GetString returns string and true boolean if ConversationInitiationClientDataInternalDynamicVariablesItem is string.

func (ConversationInitiationClientDataInternalDynamicVariablesItem) IsBool

IsBool reports whether ConversationInitiationClientDataInternalDynamicVariablesItem is bool.

func (ConversationInitiationClientDataInternalDynamicVariablesItem) IsFloat64

IsFloat64 reports whether ConversationInitiationClientDataInternalDynamicVariablesItem is float64.

func (ConversationInitiationClientDataInternalDynamicVariablesItem) IsInt

IsInt reports whether ConversationInitiationClientDataInternalDynamicVariablesItem is int.

func (ConversationInitiationClientDataInternalDynamicVariablesItem) IsString

IsString reports whether ConversationInitiationClientDataInternalDynamicVariablesItem is string.

func (ConversationInitiationClientDataInternalDynamicVariablesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationInitiationClientDataInternalDynamicVariablesItem) SetBool

SetBool sets ConversationInitiationClientDataInternalDynamicVariablesItem to bool.

func (*ConversationInitiationClientDataInternalDynamicVariablesItem) SetFloat64

SetFloat64 sets ConversationInitiationClientDataInternalDynamicVariablesItem to float64.

func (*ConversationInitiationClientDataInternalDynamicVariablesItem) SetInt

SetInt sets ConversationInitiationClientDataInternalDynamicVariablesItem to int.

func (*ConversationInitiationClientDataInternalDynamicVariablesItem) SetString

SetString sets ConversationInitiationClientDataInternalDynamicVariablesItem to string.

func (*ConversationInitiationClientDataInternalDynamicVariablesItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConversationInitiationClientDataInternalDynamicVariablesItem) Validate

type ConversationInitiationClientDataInternalDynamicVariablesItemType

type ConversationInitiationClientDataInternalDynamicVariablesItemType string

ConversationInitiationClientDataInternalDynamicVariablesItemType is oneOf type of ConversationInitiationClientDataInternalDynamicVariablesItem.

const (
	StringConversationInitiationClientDataInternalDynamicVariablesItem  ConversationInitiationClientDataInternalDynamicVariablesItemType = "string"
	Float64ConversationInitiationClientDataInternalDynamicVariablesItem ConversationInitiationClientDataInternalDynamicVariablesItemType = "float64"
	IntConversationInitiationClientDataInternalDynamicVariablesItem     ConversationInitiationClientDataInternalDynamicVariablesItemType = "int"
	BoolConversationInitiationClientDataInternalDynamicVariablesItem    ConversationInitiationClientDataInternalDynamicVariablesItemType = "bool"
)

Possible values for ConversationInitiationClientDataInternalDynamicVariablesItemType.

type ConversationInitiationClientDataRequestInput

type ConversationInitiationClientDataRequestInput struct {
	ConversationConfigOverride OptConversationConfigClientOverrideInput                        `json:"conversation_config_override"`
	CustomLlmExtraBody         *ConversationInitiationClientDataRequestInputCustomLlmExtraBody `json:"custom_llm_extra_body"`
	DynamicVariables           OptConversationInitiationClientDataRequestInputDynamicVariables `json:"dynamic_variables"`
	SourceInfo                 OptConversationInitiationSourceInfo                             `json:"source_info"`
	// ID of the end user participating in this conversation (for agent owner's user identification).
	UserID OptNilString `json:"user_id"`
}

Ref: #/components/schemas/ConversationInitiationClientDataRequest-Input

func (*ConversationInitiationClientDataRequestInput) Decode

Decode decodes ConversationInitiationClientDataRequestInput from json.

func (*ConversationInitiationClientDataRequestInput) Encode

Encode implements json.Marshaler.

func (*ConversationInitiationClientDataRequestInput) GetConversationConfigOverride

GetConversationConfigOverride returns the value of ConversationConfigOverride.

func (*ConversationInitiationClientDataRequestInput) GetCustomLlmExtraBody

GetCustomLlmExtraBody returns the value of CustomLlmExtraBody.

func (*ConversationInitiationClientDataRequestInput) GetDynamicVariables

GetDynamicVariables returns the value of DynamicVariables.

func (*ConversationInitiationClientDataRequestInput) GetSourceInfo

GetSourceInfo returns the value of SourceInfo.

func (*ConversationInitiationClientDataRequestInput) GetUserID

GetUserID returns the value of UserID.

func (*ConversationInitiationClientDataRequestInput) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationInitiationClientDataRequestInput) SetConversationConfigOverride

SetConversationConfigOverride sets the value of ConversationConfigOverride.

func (*ConversationInitiationClientDataRequestInput) SetCustomLlmExtraBody

SetCustomLlmExtraBody sets the value of CustomLlmExtraBody.

func (*ConversationInitiationClientDataRequestInput) SetDynamicVariables

SetDynamicVariables sets the value of DynamicVariables.

func (*ConversationInitiationClientDataRequestInput) SetSourceInfo

SetSourceInfo sets the value of SourceInfo.

func (*ConversationInitiationClientDataRequestInput) SetUserID

SetUserID sets the value of UserID.

func (*ConversationInitiationClientDataRequestInput) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationInitiationClientDataRequestInput) Validate

type ConversationInitiationClientDataRequestInputCustomLlmExtraBody

type ConversationInitiationClientDataRequestInputCustomLlmExtraBody struct{}

func (*ConversationInitiationClientDataRequestInputCustomLlmExtraBody) Decode

Decode decodes ConversationInitiationClientDataRequestInputCustomLlmExtraBody from json.

func (*ConversationInitiationClientDataRequestInputCustomLlmExtraBody) Encode

Encode implements json.Marshaler.

func (*ConversationInitiationClientDataRequestInputCustomLlmExtraBody) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationInitiationClientDataRequestInputCustomLlmExtraBody) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationInitiationClientDataRequestInputDynamicVariables

type ConversationInitiationClientDataRequestInputDynamicVariables map[string]NilConversationInitiationClientDataRequestInputDynamicVariablesItem

func (*ConversationInitiationClientDataRequestInputDynamicVariables) Decode

Decode decodes ConversationInitiationClientDataRequestInputDynamicVariables from json.

func (ConversationInitiationClientDataRequestInputDynamicVariables) Encode

Encode implements json.Marshaler.

func (ConversationInitiationClientDataRequestInputDynamicVariables) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationInitiationClientDataRequestInputDynamicVariables) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConversationInitiationClientDataRequestInputDynamicVariables) Validate

type ConversationInitiationClientDataRequestInputDynamicVariablesItem

type ConversationInitiationClientDataRequestInputDynamicVariablesItem struct {
	Type    ConversationInitiationClientDataRequestInputDynamicVariablesItemType // switch on this field
	String  string
	Float64 float64
	Int     int
	Bool    bool
}

ConversationInitiationClientDataRequestInputDynamicVariablesItem represents sum type.

func NewBoolConversationInitiationClientDataRequestInputDynamicVariablesItem

func NewBoolConversationInitiationClientDataRequestInputDynamicVariablesItem(v bool) ConversationInitiationClientDataRequestInputDynamicVariablesItem

NewBoolConversationInitiationClientDataRequestInputDynamicVariablesItem returns new ConversationInitiationClientDataRequestInputDynamicVariablesItem from bool.

func NewFloat64ConversationInitiationClientDataRequestInputDynamicVariablesItem

func NewFloat64ConversationInitiationClientDataRequestInputDynamicVariablesItem(v float64) ConversationInitiationClientDataRequestInputDynamicVariablesItem

NewFloat64ConversationInitiationClientDataRequestInputDynamicVariablesItem returns new ConversationInitiationClientDataRequestInputDynamicVariablesItem from float64.

func NewIntConversationInitiationClientDataRequestInputDynamicVariablesItem

func NewIntConversationInitiationClientDataRequestInputDynamicVariablesItem(v int) ConversationInitiationClientDataRequestInputDynamicVariablesItem

NewIntConversationInitiationClientDataRequestInputDynamicVariablesItem returns new ConversationInitiationClientDataRequestInputDynamicVariablesItem from int.

func NewStringConversationInitiationClientDataRequestInputDynamicVariablesItem

func NewStringConversationInitiationClientDataRequestInputDynamicVariablesItem(v string) ConversationInitiationClientDataRequestInputDynamicVariablesItem

NewStringConversationInitiationClientDataRequestInputDynamicVariablesItem returns new ConversationInitiationClientDataRequestInputDynamicVariablesItem from string.

func (*ConversationInitiationClientDataRequestInputDynamicVariablesItem) Decode

Decode decodes ConversationInitiationClientDataRequestInputDynamicVariablesItem from json.

func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) Encode

Encode encodes ConversationInitiationClientDataRequestInputDynamicVariablesItem as json.

func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) GetBool

GetBool returns bool and true boolean if ConversationInitiationClientDataRequestInputDynamicVariablesItem is bool.

func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) GetFloat64

GetFloat64 returns float64 and true boolean if ConversationInitiationClientDataRequestInputDynamicVariablesItem is float64.

func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) GetInt

GetInt returns int and true boolean if ConversationInitiationClientDataRequestInputDynamicVariablesItem is int.

func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) GetString

GetString returns string and true boolean if ConversationInitiationClientDataRequestInputDynamicVariablesItem is string.

func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) IsBool

IsBool reports whether ConversationInitiationClientDataRequestInputDynamicVariablesItem is bool.

func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) IsFloat64

IsFloat64 reports whether ConversationInitiationClientDataRequestInputDynamicVariablesItem is float64.

func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) IsInt

IsInt reports whether ConversationInitiationClientDataRequestInputDynamicVariablesItem is int.

func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) IsString

IsString reports whether ConversationInitiationClientDataRequestInputDynamicVariablesItem is string.

func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationInitiationClientDataRequestInputDynamicVariablesItem) SetBool

SetBool sets ConversationInitiationClientDataRequestInputDynamicVariablesItem to bool.

func (*ConversationInitiationClientDataRequestInputDynamicVariablesItem) SetFloat64

SetFloat64 sets ConversationInitiationClientDataRequestInputDynamicVariablesItem to float64.

func (*ConversationInitiationClientDataRequestInputDynamicVariablesItem) SetInt

SetInt sets ConversationInitiationClientDataRequestInputDynamicVariablesItem to int.

func (*ConversationInitiationClientDataRequestInputDynamicVariablesItem) SetString

SetString sets ConversationInitiationClientDataRequestInputDynamicVariablesItem to string.

func (*ConversationInitiationClientDataRequestInputDynamicVariablesItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) Validate

type ConversationInitiationClientDataRequestInputDynamicVariablesItemType

type ConversationInitiationClientDataRequestInputDynamicVariablesItemType string

ConversationInitiationClientDataRequestInputDynamicVariablesItemType is oneOf type of ConversationInitiationClientDataRequestInputDynamicVariablesItem.

const (
	StringConversationInitiationClientDataRequestInputDynamicVariablesItem  ConversationInitiationClientDataRequestInputDynamicVariablesItemType = "string"
	Float64ConversationInitiationClientDataRequestInputDynamicVariablesItem ConversationInitiationClientDataRequestInputDynamicVariablesItemType = "float64"
	IntConversationInitiationClientDataRequestInputDynamicVariablesItem     ConversationInitiationClientDataRequestInputDynamicVariablesItemType = "int"
	BoolConversationInitiationClientDataRequestInputDynamicVariablesItem    ConversationInitiationClientDataRequestInputDynamicVariablesItemType = "bool"
)

Possible values for ConversationInitiationClientDataRequestInputDynamicVariablesItemType.

type ConversationInitiationClientDataRequestOutput

type ConversationInitiationClientDataRequestOutput struct {
	ConversationConfigOverride OptConversationConfigClientOverrideOutput                        `json:"conversation_config_override"`
	CustomLlmExtraBody         *ConversationInitiationClientDataRequestOutputCustomLlmExtraBody `json:"custom_llm_extra_body"`
	DynamicVariables           OptConversationInitiationClientDataRequestOutputDynamicVariables `json:"dynamic_variables"`
	SourceInfo                 OptConversationInitiationSourceInfo                              `json:"source_info"`
	// ID of the end user participating in this conversation (for agent owner's user identification).
	UserID OptNilString `json:"user_id"`
}

Ref: #/components/schemas/ConversationInitiationClientDataRequest-Output

func (*ConversationInitiationClientDataRequestOutput) Decode

Decode decodes ConversationInitiationClientDataRequestOutput from json.

func (*ConversationInitiationClientDataRequestOutput) Encode

Encode implements json.Marshaler.

func (*ConversationInitiationClientDataRequestOutput) GetConversationConfigOverride

GetConversationConfigOverride returns the value of ConversationConfigOverride.

func (*ConversationInitiationClientDataRequestOutput) GetCustomLlmExtraBody

GetCustomLlmExtraBody returns the value of CustomLlmExtraBody.

func (*ConversationInitiationClientDataRequestOutput) GetDynamicVariables

GetDynamicVariables returns the value of DynamicVariables.

func (*ConversationInitiationClientDataRequestOutput) GetSourceInfo

GetSourceInfo returns the value of SourceInfo.

func (*ConversationInitiationClientDataRequestOutput) GetUserID

GetUserID returns the value of UserID.

func (*ConversationInitiationClientDataRequestOutput) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationInitiationClientDataRequestOutput) SetConversationConfigOverride

SetConversationConfigOverride sets the value of ConversationConfigOverride.

func (*ConversationInitiationClientDataRequestOutput) SetCustomLlmExtraBody

SetCustomLlmExtraBody sets the value of CustomLlmExtraBody.

func (*ConversationInitiationClientDataRequestOutput) SetDynamicVariables

SetDynamicVariables sets the value of DynamicVariables.

func (*ConversationInitiationClientDataRequestOutput) SetSourceInfo

SetSourceInfo sets the value of SourceInfo.

func (*ConversationInitiationClientDataRequestOutput) SetUserID

SetUserID sets the value of UserID.

func (*ConversationInitiationClientDataRequestOutput) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationInitiationClientDataRequestOutput) Validate

type ConversationInitiationClientDataRequestOutputCustomLlmExtraBody

type ConversationInitiationClientDataRequestOutputCustomLlmExtraBody struct{}

func (*ConversationInitiationClientDataRequestOutputCustomLlmExtraBody) Decode

Decode decodes ConversationInitiationClientDataRequestOutputCustomLlmExtraBody from json.

func (*ConversationInitiationClientDataRequestOutputCustomLlmExtraBody) Encode

Encode implements json.Marshaler.

func (*ConversationInitiationClientDataRequestOutputCustomLlmExtraBody) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationInitiationClientDataRequestOutputCustomLlmExtraBody) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationInitiationClientDataRequestOutputDynamicVariables

type ConversationInitiationClientDataRequestOutputDynamicVariables map[string]NilConversationInitiationClientDataRequestOutputDynamicVariablesItem

func (*ConversationInitiationClientDataRequestOutputDynamicVariables) Decode

Decode decodes ConversationInitiationClientDataRequestOutputDynamicVariables from json.

func (ConversationInitiationClientDataRequestOutputDynamicVariables) Encode

Encode implements json.Marshaler.

func (ConversationInitiationClientDataRequestOutputDynamicVariables) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationInitiationClientDataRequestOutputDynamicVariables) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConversationInitiationClientDataRequestOutputDynamicVariables) Validate

type ConversationInitiationClientDataRequestOutputDynamicVariablesItem

type ConversationInitiationClientDataRequestOutputDynamicVariablesItem struct {
	Type    ConversationInitiationClientDataRequestOutputDynamicVariablesItemType // switch on this field
	String  string
	Float64 float64
	Int     int
	Bool    bool
}

ConversationInitiationClientDataRequestOutputDynamicVariablesItem represents sum type.

func NewBoolConversationInitiationClientDataRequestOutputDynamicVariablesItem

func NewBoolConversationInitiationClientDataRequestOutputDynamicVariablesItem(v bool) ConversationInitiationClientDataRequestOutputDynamicVariablesItem

NewBoolConversationInitiationClientDataRequestOutputDynamicVariablesItem returns new ConversationInitiationClientDataRequestOutputDynamicVariablesItem from bool.

func NewFloat64ConversationInitiationClientDataRequestOutputDynamicVariablesItem

func NewFloat64ConversationInitiationClientDataRequestOutputDynamicVariablesItem(v float64) ConversationInitiationClientDataRequestOutputDynamicVariablesItem

NewFloat64ConversationInitiationClientDataRequestOutputDynamicVariablesItem returns new ConversationInitiationClientDataRequestOutputDynamicVariablesItem from float64.

func NewIntConversationInitiationClientDataRequestOutputDynamicVariablesItem

func NewIntConversationInitiationClientDataRequestOutputDynamicVariablesItem(v int) ConversationInitiationClientDataRequestOutputDynamicVariablesItem

NewIntConversationInitiationClientDataRequestOutputDynamicVariablesItem returns new ConversationInitiationClientDataRequestOutputDynamicVariablesItem from int.

func NewStringConversationInitiationClientDataRequestOutputDynamicVariablesItem

func NewStringConversationInitiationClientDataRequestOutputDynamicVariablesItem(v string) ConversationInitiationClientDataRequestOutputDynamicVariablesItem

NewStringConversationInitiationClientDataRequestOutputDynamicVariablesItem returns new ConversationInitiationClientDataRequestOutputDynamicVariablesItem from string.

func (*ConversationInitiationClientDataRequestOutputDynamicVariablesItem) Decode

Decode decodes ConversationInitiationClientDataRequestOutputDynamicVariablesItem from json.

func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) Encode

Encode encodes ConversationInitiationClientDataRequestOutputDynamicVariablesItem as json.

func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) GetBool

GetBool returns bool and true boolean if ConversationInitiationClientDataRequestOutputDynamicVariablesItem is bool.

func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) GetFloat64

GetFloat64 returns float64 and true boolean if ConversationInitiationClientDataRequestOutputDynamicVariablesItem is float64.

func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) GetInt

GetInt returns int and true boolean if ConversationInitiationClientDataRequestOutputDynamicVariablesItem is int.

func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) GetString

GetString returns string and true boolean if ConversationInitiationClientDataRequestOutputDynamicVariablesItem is string.

func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsBool

IsBool reports whether ConversationInitiationClientDataRequestOutputDynamicVariablesItem is bool.

func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsFloat64

IsFloat64 reports whether ConversationInitiationClientDataRequestOutputDynamicVariablesItem is float64.

func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsInt

IsInt reports whether ConversationInitiationClientDataRequestOutputDynamicVariablesItem is int.

func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsString

IsString reports whether ConversationInitiationClientDataRequestOutputDynamicVariablesItem is string.

func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetBool

SetBool sets ConversationInitiationClientDataRequestOutputDynamicVariablesItem to bool.

func (*ConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetFloat64

SetFloat64 sets ConversationInitiationClientDataRequestOutputDynamicVariablesItem to float64.

func (*ConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetInt

SetInt sets ConversationInitiationClientDataRequestOutputDynamicVariablesItem to int.

func (*ConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetString

SetString sets ConversationInitiationClientDataRequestOutputDynamicVariablesItem to string.

func (*ConversationInitiationClientDataRequestOutputDynamicVariablesItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) Validate

type ConversationInitiationClientDataRequestOutputDynamicVariablesItemType

type ConversationInitiationClientDataRequestOutputDynamicVariablesItemType string

ConversationInitiationClientDataRequestOutputDynamicVariablesItemType is oneOf type of ConversationInitiationClientDataRequestOutputDynamicVariablesItem.

const (
	StringConversationInitiationClientDataRequestOutputDynamicVariablesItem  ConversationInitiationClientDataRequestOutputDynamicVariablesItemType = "string"
	Float64ConversationInitiationClientDataRequestOutputDynamicVariablesItem ConversationInitiationClientDataRequestOutputDynamicVariablesItemType = "float64"
	IntConversationInitiationClientDataRequestOutputDynamicVariablesItem     ConversationInitiationClientDataRequestOutputDynamicVariablesItemType = "int"
	BoolConversationInitiationClientDataRequestOutputDynamicVariablesItem    ConversationInitiationClientDataRequestOutputDynamicVariablesItemType = "bool"
)

Possible values for ConversationInitiationClientDataRequestOutputDynamicVariablesItemType.

type ConversationInitiationClientDataWebhook

type ConversationInitiationClientDataWebhook struct {
	// The headers to send with the webhook request.
	RequestHeaders ConversationInitiationClientDataWebhookRequestHeaders `json:"request_headers"`
	// The URL to send the webhook to.
	URL string `json:"url"`
}

Ref: #/components/schemas/ConversationInitiationClientDataWebhook

func (*ConversationInitiationClientDataWebhook) Decode

Decode decodes ConversationInitiationClientDataWebhook from json.

func (*ConversationInitiationClientDataWebhook) Encode

Encode implements json.Marshaler.

func (*ConversationInitiationClientDataWebhook) GetRequestHeaders

GetRequestHeaders returns the value of RequestHeaders.

func (*ConversationInitiationClientDataWebhook) GetURL

GetURL returns the value of URL.

func (*ConversationInitiationClientDataWebhook) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationInitiationClientDataWebhook) SetRequestHeaders

SetRequestHeaders sets the value of RequestHeaders.

func (*ConversationInitiationClientDataWebhook) SetURL

SetURL sets the value of URL.

func (*ConversationInitiationClientDataWebhook) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationInitiationClientDataWebhookRequestHeaders

type ConversationInitiationClientDataWebhookRequestHeaders map[string]ConversationInitiationClientDataWebhookRequestHeadersItem

The headers to send with the webhook request.

func (*ConversationInitiationClientDataWebhookRequestHeaders) Decode

Decode decodes ConversationInitiationClientDataWebhookRequestHeaders from json.

func (ConversationInitiationClientDataWebhookRequestHeaders) Encode

Encode implements json.Marshaler.

func (ConversationInitiationClientDataWebhookRequestHeaders) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationInitiationClientDataWebhookRequestHeaders) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationInitiationClientDataWebhookRequestHeadersItem

type ConversationInitiationClientDataWebhookRequestHeadersItem struct {
	Type                ConversationInitiationClientDataWebhookRequestHeadersItemType // switch on this field
	String              string
	ConvAISecretLocator ConvAISecretLocator
}

ConversationInitiationClientDataWebhookRequestHeadersItem represents sum type.

func NewConvAISecretLocatorConversationInitiationClientDataWebhookRequestHeadersItem

func NewConvAISecretLocatorConversationInitiationClientDataWebhookRequestHeadersItem(v ConvAISecretLocator) ConversationInitiationClientDataWebhookRequestHeadersItem

NewConvAISecretLocatorConversationInitiationClientDataWebhookRequestHeadersItem returns new ConversationInitiationClientDataWebhookRequestHeadersItem from ConvAISecretLocator.

func NewStringConversationInitiationClientDataWebhookRequestHeadersItem

func NewStringConversationInitiationClientDataWebhookRequestHeadersItem(v string) ConversationInitiationClientDataWebhookRequestHeadersItem

NewStringConversationInitiationClientDataWebhookRequestHeadersItem returns new ConversationInitiationClientDataWebhookRequestHeadersItem from string.

func (*ConversationInitiationClientDataWebhookRequestHeadersItem) Decode

Decode decodes ConversationInitiationClientDataWebhookRequestHeadersItem from json.

func (ConversationInitiationClientDataWebhookRequestHeadersItem) Encode

Encode encodes ConversationInitiationClientDataWebhookRequestHeadersItem as json.

func (ConversationInitiationClientDataWebhookRequestHeadersItem) GetConvAISecretLocator

GetConvAISecretLocator returns ConvAISecretLocator and true boolean if ConversationInitiationClientDataWebhookRequestHeadersItem is ConvAISecretLocator.

func (ConversationInitiationClientDataWebhookRequestHeadersItem) GetString

GetString returns string and true boolean if ConversationInitiationClientDataWebhookRequestHeadersItem is string.

func (ConversationInitiationClientDataWebhookRequestHeadersItem) IsConvAISecretLocator

IsConvAISecretLocator reports whether ConversationInitiationClientDataWebhookRequestHeadersItem is ConvAISecretLocator.

func (ConversationInitiationClientDataWebhookRequestHeadersItem) IsString

IsString reports whether ConversationInitiationClientDataWebhookRequestHeadersItem is string.

func (ConversationInitiationClientDataWebhookRequestHeadersItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ConversationInitiationClientDataWebhookRequestHeadersItem) SetConvAISecretLocator

SetConvAISecretLocator sets ConversationInitiationClientDataWebhookRequestHeadersItem to ConvAISecretLocator.

func (*ConversationInitiationClientDataWebhookRequestHeadersItem) SetString

SetString sets ConversationInitiationClientDataWebhookRequestHeadersItem to string.

func (*ConversationInitiationClientDataWebhookRequestHeadersItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationInitiationClientDataWebhookRequestHeadersItemType

type ConversationInitiationClientDataWebhookRequestHeadersItemType string

ConversationInitiationClientDataWebhookRequestHeadersItemType is oneOf type of ConversationInitiationClientDataWebhookRequestHeadersItem.

const (
	StringConversationInitiationClientDataWebhookRequestHeadersItem              ConversationInitiationClientDataWebhookRequestHeadersItemType = "string"
	ConvAISecretLocatorConversationInitiationClientDataWebhookRequestHeadersItem ConversationInitiationClientDataWebhookRequestHeadersItemType = "ConvAISecretLocator"
)

Possible values for ConversationInitiationClientDataWebhookRequestHeadersItemType.

type ConversationInitiationSource

type ConversationInitiationSource string

Enum representing the possible sources for conversation initiation. Ref: #/components/schemas/ConversationInitiationSource

const (
	ConversationInitiationSourceUnknown        ConversationInitiationSource = "unknown"
	ConversationInitiationSourceAndroidSdk     ConversationInitiationSource = "android_sdk"
	ConversationInitiationSourceNodeJsSdk      ConversationInitiationSource = "node_js_sdk"
	ConversationInitiationSourceReactNativeSdk ConversationInitiationSource = "react_native_sdk"
	ConversationInitiationSourceReactSdk       ConversationInitiationSource = "react_sdk"
	ConversationInitiationSourceJsSdk          ConversationInitiationSource = "js_sdk"
	ConversationInitiationSourcePythonSdk      ConversationInitiationSource = "python_sdk"
	ConversationInitiationSourceWidget         ConversationInitiationSource = "widget"
	ConversationInitiationSourceSipTrunk       ConversationInitiationSource = "sip_trunk"
	ConversationInitiationSourceTwilio         ConversationInitiationSource = "twilio"
	ConversationInitiationSourceGenesys        ConversationInitiationSource = "genesys"
	ConversationInitiationSourceSwiftSdk       ConversationInitiationSource = "swift_sdk"
	ConversationInitiationSourceWhatsapp       ConversationInitiationSource = "whatsapp"
	ConversationInitiationSourceFlutterSdk     ConversationInitiationSource = "flutter_sdk"
)

func (ConversationInitiationSource) AllValues

AllValues returns all ConversationInitiationSource values.

func (*ConversationInitiationSource) Decode

Decode decodes ConversationInitiationSource from json.

func (ConversationInitiationSource) Encode

Encode encodes ConversationInitiationSource as json.

func (ConversationInitiationSource) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (ConversationInitiationSource) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ConversationInitiationSource) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationInitiationSource) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationInitiationSource) Validate

func (s ConversationInitiationSource) Validate() error

type ConversationInitiationSourceInfo

type ConversationInitiationSourceInfo struct {
	// Source of the conversation initiation.
	Source OptConversationInitiationSource `json:"source"`
	// The SDK version number.
	Version OptNilString `json:"version"`
}

Information about the source of conversation initiation. Ref: #/components/schemas/ConversationInitiationSourceInfo

func (*ConversationInitiationSourceInfo) Decode

Decode decodes ConversationInitiationSourceInfo from json.

func (*ConversationInitiationSourceInfo) Encode

Encode implements json.Marshaler.

func (*ConversationInitiationSourceInfo) GetSource

GetSource returns the value of Source.

func (*ConversationInitiationSourceInfo) GetVersion

GetVersion returns the value of Version.

func (*ConversationInitiationSourceInfo) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationInitiationSourceInfo) SetSource

SetSource sets the value of Source.

func (*ConversationInitiationSourceInfo) SetVersion

SetVersion sets the value of Version.

func (*ConversationInitiationSourceInfo) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationInitiationSourceInfo) Validate

type ConversationSignedUrlResponseModel

type ConversationSignedUrlResponseModel struct {
	SignedURL string `json:"signed_url"`
}

Ref: #/components/schemas/ConversationSignedUrlResponseModel

func (*ConversationSignedUrlResponseModel) Decode

Decode decodes ConversationSignedUrlResponseModel from json.

func (*ConversationSignedUrlResponseModel) Encode

Encode implements json.Marshaler.

func (*ConversationSignedUrlResponseModel) GetSignedURL

func (s *ConversationSignedUrlResponseModel) GetSignedURL() string

GetSignedURL returns the value of SignedURL.

func (*ConversationSignedUrlResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationSignedUrlResponseModel) SetSignedURL

func (s *ConversationSignedUrlResponseModel) SetSignedURL(val string)

SetSignedURL sets the value of SignedURL.

func (*ConversationSignedUrlResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConversationSummaryResponseModel

type ConversationSummaryResponseModel struct {
	AgentID           string                                          `json:"agent_id"`
	AgentName         OptNilString                                    `json:"agent_name"`
	BranchID          OptNilString                                    `json:"branch_id"`
	CallDurationSecs  int                                             `json:"call_duration_secs"`
	CallSuccessful    EvaluationSuccessResult                         `json:"call_successful"`
	CallSummaryTitle  OptNilString                                    `json:"call_summary_title"`
	ConversationID    string                                          `json:"conversation_id"`
	Direction         OptNilConversationSummaryResponseModelDirection `json:"direction"`
	MessageCount      int                                             `json:"message_count"`
	Rating            OptNilFloat64                                   `json:"rating"`
	StartTimeUnixSecs int                                             `json:"start_time_unix_secs"`
	Status            ConversationSummaryResponseModelStatus          `json:"status"`
	TranscriptSummary OptNilString                                    `json:"transcript_summary"`
}

Ref: #/components/schemas/ConversationSummaryResponseModel

func (*ConversationSummaryResponseModel) Decode

Decode decodes ConversationSummaryResponseModel from json.

func (*ConversationSummaryResponseModel) Encode

Encode implements json.Marshaler.

func (*ConversationSummaryResponseModel) GetAgentID

func (s *ConversationSummaryResponseModel) GetAgentID() string

GetAgentID returns the value of AgentID.

func (*ConversationSummaryResponseModel) GetAgentName

GetAgentName returns the value of AgentName.

func (*ConversationSummaryResponseModel) GetBranchID

GetBranchID returns the value of BranchID.

func (*ConversationSummaryResponseModel) GetCallDurationSecs

func (s *ConversationSummaryResponseModel) GetCallDurationSecs() int

GetCallDurationSecs returns the value of CallDurationSecs.

func (*ConversationSummaryResponseModel) GetCallSuccessful

GetCallSuccessful returns the value of CallSuccessful.

func (*ConversationSummaryResponseModel) GetCallSummaryTitle

func (s *ConversationSummaryResponseModel) GetCallSummaryTitle() OptNilString

GetCallSummaryTitle returns the value of CallSummaryTitle.

func (*ConversationSummaryResponseModel) GetConversationID

func (s *ConversationSummaryResponseModel) GetConversationID() string

GetConversationID returns the value of ConversationID.

func (*ConversationSummaryResponseModel) GetDirection

GetDirection returns the value of Direction.

func (*ConversationSummaryResponseModel) GetMessageCount

func (s *ConversationSummaryResponseModel) GetMessageCount() int

GetMessageCount returns the value of MessageCount.

func (*ConversationSummaryResponseModel) GetRating

GetRating returns the value of Rating.

func (*ConversationSummaryResponseModel) GetStartTimeUnixSecs

func (s *ConversationSummaryResponseModel) GetStartTimeUnixSecs() int

GetStartTimeUnixSecs returns the value of StartTimeUnixSecs.

func (*ConversationSummaryResponseModel) GetStatus

GetStatus returns the value of Status.

func (*ConversationSummaryResponseModel) GetTranscriptSummary

func (s *ConversationSummaryResponseModel) GetTranscriptSummary() OptNilString

GetTranscriptSummary returns the value of TranscriptSummary.

func (*ConversationSummaryResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationSummaryResponseModel) SetAgentID

func (s *ConversationSummaryResponseModel) SetAgentID(val string)

SetAgentID sets the value of AgentID.

func (*ConversationSummaryResponseModel) SetAgentName

func (s *ConversationSummaryResponseModel) SetAgentName(val OptNilString)

SetAgentName sets the value of AgentName.

func (*ConversationSummaryResponseModel) SetBranchID

func (s *ConversationSummaryResponseModel) SetBranchID(val OptNilString)

SetBranchID sets the value of BranchID.

func (*ConversationSummaryResponseModel) SetCallDurationSecs

func (s *ConversationSummaryResponseModel) SetCallDurationSecs(val int)

SetCallDurationSecs sets the value of CallDurationSecs.

func (*ConversationSummaryResponseModel) SetCallSuccessful

SetCallSuccessful sets the value of CallSuccessful.

func (*ConversationSummaryResponseModel) SetCallSummaryTitle

func (s *ConversationSummaryResponseModel) SetCallSummaryTitle(val OptNilString)

SetCallSummaryTitle sets the value of CallSummaryTitle.

func (*ConversationSummaryResponseModel) SetConversationID

func (s *ConversationSummaryResponseModel) SetConversationID(val string)

SetConversationID sets the value of ConversationID.

func (*ConversationSummaryResponseModel) SetDirection

SetDirection sets the value of Direction.

func (*ConversationSummaryResponseModel) SetMessageCount

func (s *ConversationSummaryResponseModel) SetMessageCount(val int)

SetMessageCount sets the value of MessageCount.

func (*ConversationSummaryResponseModel) SetRating

SetRating sets the value of Rating.

func (*ConversationSummaryResponseModel) SetStartTimeUnixSecs

func (s *ConversationSummaryResponseModel) SetStartTimeUnixSecs(val int)

SetStartTimeUnixSecs sets the value of StartTimeUnixSecs.

func (*ConversationSummaryResponseModel) SetStatus

SetStatus sets the value of Status.

func (*ConversationSummaryResponseModel) SetTranscriptSummary

func (s *ConversationSummaryResponseModel) SetTranscriptSummary(val OptNilString)

SetTranscriptSummary sets the value of TranscriptSummary.

func (*ConversationSummaryResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationSummaryResponseModel) Validate

type ConversationSummaryResponseModelDirection

type ConversationSummaryResponseModelDirection string
const (
	ConversationSummaryResponseModelDirectionInbound  ConversationSummaryResponseModelDirection = "inbound"
	ConversationSummaryResponseModelDirectionOutbound ConversationSummaryResponseModelDirection = "outbound"
)

func (ConversationSummaryResponseModelDirection) AllValues

AllValues returns all ConversationSummaryResponseModelDirection values.

func (*ConversationSummaryResponseModelDirection) Decode

Decode decodes ConversationSummaryResponseModelDirection from json.

func (ConversationSummaryResponseModelDirection) Encode

Encode encodes ConversationSummaryResponseModelDirection as json.

func (ConversationSummaryResponseModelDirection) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ConversationSummaryResponseModelDirection) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ConversationSummaryResponseModelDirection) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationSummaryResponseModelDirection) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationSummaryResponseModelDirection) Validate

type ConversationSummaryResponseModelStatus

type ConversationSummaryResponseModelStatus string
const (
	ConversationSummaryResponseModelStatusInitiated  ConversationSummaryResponseModelStatus = "initiated"
	ConversationSummaryResponseModelStatusInProgress ConversationSummaryResponseModelStatus = "in-progress"
	ConversationSummaryResponseModelStatusProcessing ConversationSummaryResponseModelStatus = "processing"
	ConversationSummaryResponseModelStatusDone       ConversationSummaryResponseModelStatus = "done"
	ConversationSummaryResponseModelStatusFailed     ConversationSummaryResponseModelStatus = "failed"
)

func (ConversationSummaryResponseModelStatus) AllValues

AllValues returns all ConversationSummaryResponseModelStatus values.

func (*ConversationSummaryResponseModelStatus) Decode

Decode decodes ConversationSummaryResponseModelStatus from json.

func (ConversationSummaryResponseModelStatus) Encode

Encode encodes ConversationSummaryResponseModelStatus as json.

func (ConversationSummaryResponseModelStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (ConversationSummaryResponseModelStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ConversationSummaryResponseModelStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationSummaryResponseModelStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationSummaryResponseModelStatus) Validate

type ConversationTokenDBModel

type ConversationTokenDBModel struct {
	// The ID of the agent.
	AgentID string `json:"agent_id"`
	// The ID of the conversation.
	ConversationID OptNilString `json:"conversation_id"`
	// The token for the agent.
	ConversationToken string `json:"conversation_token"`
	// The expiration time of the token in unix seconds.
	ExpirationTimeUnixSecs OptNilInt `json:"expiration_time_unix_secs"`
	// The purpose of the token.
	Purpose OptConversationTokenPurpose `json:"purpose"`
	// The user ID of the entity who requested the token.
	TokenRequesterUserID OptNilString `json:"token_requester_user_id"`
}

Ref: #/components/schemas/ConversationTokenDBModel

func (*ConversationTokenDBModel) Decode

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

Decode decodes ConversationTokenDBModel from json.

func (*ConversationTokenDBModel) Encode

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

Encode implements json.Marshaler.

func (*ConversationTokenDBModel) GetAgentID

func (s *ConversationTokenDBModel) GetAgentID() string

GetAgentID returns the value of AgentID.

func (*ConversationTokenDBModel) GetConversationID

func (s *ConversationTokenDBModel) GetConversationID() OptNilString

GetConversationID returns the value of ConversationID.

func (*ConversationTokenDBModel) GetConversationToken

func (s *ConversationTokenDBModel) GetConversationToken() string

GetConversationToken returns the value of ConversationToken.

func (*ConversationTokenDBModel) GetExpirationTimeUnixSecs

func (s *ConversationTokenDBModel) GetExpirationTimeUnixSecs() OptNilInt

GetExpirationTimeUnixSecs returns the value of ExpirationTimeUnixSecs.

func (*ConversationTokenDBModel) GetPurpose

GetPurpose returns the value of Purpose.

func (*ConversationTokenDBModel) GetTokenRequesterUserID

func (s *ConversationTokenDBModel) GetTokenRequesterUserID() OptNilString

GetTokenRequesterUserID returns the value of TokenRequesterUserID.

func (*ConversationTokenDBModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationTokenDBModel) SetAgentID

func (s *ConversationTokenDBModel) SetAgentID(val string)

SetAgentID sets the value of AgentID.

func (*ConversationTokenDBModel) SetConversationID

func (s *ConversationTokenDBModel) SetConversationID(val OptNilString)

SetConversationID sets the value of ConversationID.

func (*ConversationTokenDBModel) SetConversationToken

func (s *ConversationTokenDBModel) SetConversationToken(val string)

SetConversationToken sets the value of ConversationToken.

func (*ConversationTokenDBModel) SetExpirationTimeUnixSecs

func (s *ConversationTokenDBModel) SetExpirationTimeUnixSecs(val OptNilInt)

SetExpirationTimeUnixSecs sets the value of ExpirationTimeUnixSecs.

func (*ConversationTokenDBModel) SetPurpose

SetPurpose sets the value of Purpose.

func (*ConversationTokenDBModel) SetTokenRequesterUserID

func (s *ConversationTokenDBModel) SetTokenRequesterUserID(val OptNilString)

SetTokenRequesterUserID sets the value of TokenRequesterUserID.

func (*ConversationTokenDBModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationTokenDBModel) Validate

func (s *ConversationTokenDBModel) Validate() error

type ConversationTokenPurpose

type ConversationTokenPurpose string

Ref: #/components/schemas/ConversationTokenPurpose

const (
	ConversationTokenPurposeSignedURL     ConversationTokenPurpose = "signed_url"
	ConversationTokenPurposeShareableLink ConversationTokenPurpose = "shareable_link"
)

func (ConversationTokenPurpose) AllValues

AllValues returns all ConversationTokenPurpose values.

func (*ConversationTokenPurpose) Decode

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

Decode decodes ConversationTokenPurpose from json.

func (ConversationTokenPurpose) Encode

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

Encode encodes ConversationTokenPurpose as json.

func (ConversationTokenPurpose) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (ConversationTokenPurpose) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ConversationTokenPurpose) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationTokenPurpose) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ConversationTokenPurpose) Validate

func (s ConversationTokenPurpose) Validate() error

type ConversationTurnMetrics

type ConversationTurnMetrics struct {
	Metrics OptConversationTurnMetricsMetrics `json:"metrics"`
}

Ref: #/components/schemas/ConversationTurnMetrics

func (*ConversationTurnMetrics) Decode

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

Decode decodes ConversationTurnMetrics from json.

func (*ConversationTurnMetrics) Encode

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

Encode implements json.Marshaler.

func (*ConversationTurnMetrics) GetMetrics

GetMetrics returns the value of Metrics.

func (*ConversationTurnMetrics) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationTurnMetrics) SetMetrics

SetMetrics sets the value of Metrics.

func (*ConversationTurnMetrics) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConversationTurnMetrics) Validate

func (s *ConversationTurnMetrics) Validate() error

type ConversationTurnMetricsMetrics

type ConversationTurnMetricsMetrics map[string]MetricRecord

func (*ConversationTurnMetricsMetrics) Decode

Decode decodes ConversationTurnMetricsMetrics from json.

func (ConversationTurnMetricsMetrics) Encode

Encode implements json.Marshaler.

func (ConversationTurnMetricsMetrics) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConversationTurnMetricsMetrics) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConversationTurnMetricsMetrics) Validate

type ConvertChapterEndpointParams

type ConvertChapterEndpointParams struct {
	// The ID of the Studio project.
	ProjectID string
	// The ID of the chapter.
	ChapterID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

ConvertChapterEndpointParams is parameters of convert_chapter_endpoint operation.

type ConvertChapterEndpointRes

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

type ConvertChapterResponseModel

type ConvertChapterResponseModel struct {
	// The status of the studio chapter conversion request. If the request was successful, the status
	// will be 'ok'. Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/ConvertChapterResponseModel

func (*ConvertChapterResponseModel) Decode

Decode decodes ConvertChapterResponseModel from json.

func (*ConvertChapterResponseModel) Encode

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

Encode implements json.Marshaler.

func (*ConvertChapterResponseModel) GetStatus

func (s *ConvertChapterResponseModel) GetStatus() string

GetStatus returns the value of Status.

func (*ConvertChapterResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConvertChapterResponseModel) SetStatus

func (s *ConvertChapterResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*ConvertChapterResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ConvertProjectEndpointParams

type ConvertProjectEndpointParams struct {
	// The ID of the Studio project.
	ProjectID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

ConvertProjectEndpointParams is parameters of convert_project_endpoint operation.

type ConvertProjectEndpointRes

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

type ConvertProjectResponseModel

type ConvertProjectResponseModel struct {
	// The status of the studio project conversion request. If the request was successful, the status
	// will be 'ok'. Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/ConvertProjectResponseModel

func (*ConvertProjectResponseModel) Decode

Decode decodes ConvertProjectResponseModel from json.

func (*ConvertProjectResponseModel) Encode

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

Encode implements json.Marshaler.

func (*ConvertProjectResponseModel) GetStatus

func (s *ConvertProjectResponseModel) GetStatus() string

GetStatus returns the value of Status.

func (*ConvertProjectResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConvertProjectResponseModel) SetStatus

func (s *ConvertProjectResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*ConvertProjectResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateAgentResponseModel

type CreateAgentResponseModel struct {
	// ID of the created agent.
	AgentID string `json:"agent_id"`
}

Ref: #/components/schemas/CreateAgentResponseModel

func (*CreateAgentResponseModel) Decode

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

Decode decodes CreateAgentResponseModel from json.

func (*CreateAgentResponseModel) Encode

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

Encode implements json.Marshaler.

func (*CreateAgentResponseModel) GetAgentID

func (s *CreateAgentResponseModel) GetAgentID() string

GetAgentID returns the value of AgentID.

func (*CreateAgentResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateAgentResponseModel) SetAgentID

func (s *CreateAgentResponseModel) SetAgentID(val string)

SetAgentID sets the value of AgentID.

func (*CreateAgentResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateAgentResponseTestRouteParams

type CreateAgentResponseTestRouteParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

CreateAgentResponseTestRouteParams is parameters of create_agent_response_test_route operation.

type CreateAgentResponseTestRouteRes

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

type CreateAudioNativeProjectParams

type CreateAudioNativeProjectParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

CreateAudioNativeProjectParams is parameters of create_audio_native_project operation.

type CreateAudioNativeProjectRes

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

type CreateBatchCallParams

type CreateBatchCallParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

CreateBatchCallParams is parameters of create_batch_call operation.

type CreateBatchCallRes

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

type CreateClipParams

type CreateClipParams struct {
	// ID of the dubbing project.
	DubbingID string
	// ID of the speaker.
	SpeakerID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

CreateClipParams is parameters of create_clip operation.

type CreateClipRes

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

type CreateDubbingParams

type CreateDubbingParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

CreateDubbingParams is parameters of create_dubbing operation.

type CreateDubbingRes

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

type CreateFileDocumentRouteParams

type CreateFileDocumentRouteParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

CreateFileDocumentRouteParams is parameters of create_file_document_route operation.

type CreateFileDocumentRouteRes

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

type CreatePronunciationDictionaryResponseModel

type CreatePronunciationDictionaryResponseModel struct {
	// The status of the create pronunciation dictionary request. If the request was successful, the
	// status will be 'ok'. Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/CreatePronunciationDictionaryResponseModel

func (*CreatePronunciationDictionaryResponseModel) Decode

Decode decodes CreatePronunciationDictionaryResponseModel from json.

func (*CreatePronunciationDictionaryResponseModel) Encode

Encode implements json.Marshaler.

func (*CreatePronunciationDictionaryResponseModel) GetStatus

GetStatus returns the value of Status.

func (*CreatePronunciationDictionaryResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*CreatePronunciationDictionaryResponseModel) SetStatus

SetStatus sets the value of Status.

func (*CreatePronunciationDictionaryResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreatePvcVoiceParams

type CreatePvcVoiceParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

CreatePvcVoiceParams is parameters of create_pvc_voice operation.

type CreatePvcVoiceRes

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

type CreateSecretRouteParams

type CreateSecretRouteParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

CreateSecretRouteParams is parameters of create_secret_route operation.

type CreateSecretRouteRes

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

type CreateServiceAccountAPIKeyParams

type CreateServiceAccountAPIKeyParams struct {
	ServiceAccountUserID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

CreateServiceAccountAPIKeyParams is parameters of create_service_account_api_key operation.

type CreateServiceAccountAPIKeyRes

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

type CreateSpeakerParams

type CreateSpeakerParams struct {
	// ID of the dubbing project.
	DubbingID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

CreateSpeakerParams is parameters of create_speaker operation.

type CreateSpeakerRes

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

type CreateTextDocumentRouteParams

type CreateTextDocumentRouteParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

CreateTextDocumentRouteParams is parameters of create_text_document_route operation.

type CreateTextDocumentRouteRes

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

type CreateURLDocumentRouteParams

type CreateURLDocumentRouteParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

CreateURLDocumentRouteParams is parameters of create_url_document_route operation.

type CreateURLDocumentRouteRes

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

type CreateUnitTestRequest

type CreateUnitTestRequest struct {
	ChatHistory []ConversationHistoryTranscriptCommonModelInput `json:"chat_history"`
	// Dynamic variables to replace in the agent config during testing.
	DynamicVariables OptCreateUnitTestRequestDynamicVariables `json:"dynamic_variables"`
	// Non-empty list of example responses that should be considered failures.
	FailureExamples []AgentFailureResponseExample `json:"failure_examples"`
	// Metadata of a conversation this test was created from (if applicable).
	FromConversationMetadata OptTestFromConversationMetadataInput `json:"from_conversation_metadata"`
	Name                     string                               `json:"name"`
	// A prompt that evaluates whether the agent's response is successful. Should return True or False.
	SuccessCondition string `json:"success_condition"`
	// Non-empty list of example responses that should be considered successful.
	SuccessExamples []AgentSuccessfulResponseExample `json:"success_examples"`
	// How to evaluate the agent's tool call (if any). If empty, the tool call is not evaluated.
	ToolCallParameters OptUnitTestToolCallEvaluationModelInput `json:"tool_call_parameters"`
	Type               OptUnitTestCommonModelType              `json:"type"`
}

Ref: #/components/schemas/CreateUnitTestRequest

func (*CreateUnitTestRequest) Decode

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

Decode decodes CreateUnitTestRequest from json.

func (*CreateUnitTestRequest) Encode

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

Encode implements json.Marshaler.

func (*CreateUnitTestRequest) GetChatHistory

GetChatHistory returns the value of ChatHistory.

func (*CreateUnitTestRequest) GetDynamicVariables

GetDynamicVariables returns the value of DynamicVariables.

func (*CreateUnitTestRequest) GetFailureExamples

func (s *CreateUnitTestRequest) GetFailureExamples() []AgentFailureResponseExample

GetFailureExamples returns the value of FailureExamples.

func (*CreateUnitTestRequest) GetFromConversationMetadata

func (s *CreateUnitTestRequest) GetFromConversationMetadata() OptTestFromConversationMetadataInput

GetFromConversationMetadata returns the value of FromConversationMetadata.

func (*CreateUnitTestRequest) GetName

func (s *CreateUnitTestRequest) GetName() string

GetName returns the value of Name.

func (*CreateUnitTestRequest) GetSuccessCondition

func (s *CreateUnitTestRequest) GetSuccessCondition() string

GetSuccessCondition returns the value of SuccessCondition.

func (*CreateUnitTestRequest) GetSuccessExamples

func (s *CreateUnitTestRequest) GetSuccessExamples() []AgentSuccessfulResponseExample

GetSuccessExamples returns the value of SuccessExamples.

func (*CreateUnitTestRequest) GetToolCallParameters

GetToolCallParameters returns the value of ToolCallParameters.

func (*CreateUnitTestRequest) GetType

GetType returns the value of Type.

func (*CreateUnitTestRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateUnitTestRequest) SetChatHistory

SetChatHistory sets the value of ChatHistory.

func (*CreateUnitTestRequest) SetDynamicVariables

SetDynamicVariables sets the value of DynamicVariables.

func (*CreateUnitTestRequest) SetFailureExamples

func (s *CreateUnitTestRequest) SetFailureExamples(val []AgentFailureResponseExample)

SetFailureExamples sets the value of FailureExamples.

func (*CreateUnitTestRequest) SetFromConversationMetadata

func (s *CreateUnitTestRequest) SetFromConversationMetadata(val OptTestFromConversationMetadataInput)

SetFromConversationMetadata sets the value of FromConversationMetadata.

func (*CreateUnitTestRequest) SetName

func (s *CreateUnitTestRequest) SetName(val string)

SetName sets the value of Name.

func (*CreateUnitTestRequest) SetSuccessCondition

func (s *CreateUnitTestRequest) SetSuccessCondition(val string)

SetSuccessCondition sets the value of SuccessCondition.

func (*CreateUnitTestRequest) SetSuccessExamples

func (s *CreateUnitTestRequest) SetSuccessExamples(val []AgentSuccessfulResponseExample)

SetSuccessExamples sets the value of SuccessExamples.

func (*CreateUnitTestRequest) SetToolCallParameters

func (s *CreateUnitTestRequest) SetToolCallParameters(val OptUnitTestToolCallEvaluationModelInput)

SetToolCallParameters sets the value of ToolCallParameters.

func (*CreateUnitTestRequest) SetType

SetType sets the value of Type.

func (*CreateUnitTestRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateUnitTestRequest) Validate

func (s *CreateUnitTestRequest) Validate() error

type CreateUnitTestRequestDynamicVariables

type CreateUnitTestRequestDynamicVariables map[string]NilCreateUnitTestRequestDynamicVariablesItem

Dynamic variables to replace in the agent config during testing.

func (*CreateUnitTestRequestDynamicVariables) Decode

Decode decodes CreateUnitTestRequestDynamicVariables from json.

func (CreateUnitTestRequestDynamicVariables) Encode

Encode implements json.Marshaler.

func (CreateUnitTestRequestDynamicVariables) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateUnitTestRequestDynamicVariables) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (CreateUnitTestRequestDynamicVariables) Validate

type CreateUnitTestRequestDynamicVariablesItem

type CreateUnitTestRequestDynamicVariablesItem struct {
	Type    CreateUnitTestRequestDynamicVariablesItemType // switch on this field
	String  string
	Float64 float64
	Int     int
	Bool    bool
}

CreateUnitTestRequestDynamicVariablesItem represents sum type.

func NewBoolCreateUnitTestRequestDynamicVariablesItem

func NewBoolCreateUnitTestRequestDynamicVariablesItem(v bool) CreateUnitTestRequestDynamicVariablesItem

NewBoolCreateUnitTestRequestDynamicVariablesItem returns new CreateUnitTestRequestDynamicVariablesItem from bool.

func NewFloat64CreateUnitTestRequestDynamicVariablesItem

func NewFloat64CreateUnitTestRequestDynamicVariablesItem(v float64) CreateUnitTestRequestDynamicVariablesItem

NewFloat64CreateUnitTestRequestDynamicVariablesItem returns new CreateUnitTestRequestDynamicVariablesItem from float64.

func NewIntCreateUnitTestRequestDynamicVariablesItem

func NewIntCreateUnitTestRequestDynamicVariablesItem(v int) CreateUnitTestRequestDynamicVariablesItem

NewIntCreateUnitTestRequestDynamicVariablesItem returns new CreateUnitTestRequestDynamicVariablesItem from int.

func NewStringCreateUnitTestRequestDynamicVariablesItem

func NewStringCreateUnitTestRequestDynamicVariablesItem(v string) CreateUnitTestRequestDynamicVariablesItem

NewStringCreateUnitTestRequestDynamicVariablesItem returns new CreateUnitTestRequestDynamicVariablesItem from string.

func (*CreateUnitTestRequestDynamicVariablesItem) Decode

Decode decodes CreateUnitTestRequestDynamicVariablesItem from json.

func (CreateUnitTestRequestDynamicVariablesItem) Encode

Encode encodes CreateUnitTestRequestDynamicVariablesItem as json.

func (CreateUnitTestRequestDynamicVariablesItem) GetBool

GetBool returns bool and true boolean if CreateUnitTestRequestDynamicVariablesItem is bool.

func (CreateUnitTestRequestDynamicVariablesItem) GetFloat64

GetFloat64 returns float64 and true boolean if CreateUnitTestRequestDynamicVariablesItem is float64.

func (CreateUnitTestRequestDynamicVariablesItem) GetInt

GetInt returns int and true boolean if CreateUnitTestRequestDynamicVariablesItem is int.

func (CreateUnitTestRequestDynamicVariablesItem) GetString

GetString returns string and true boolean if CreateUnitTestRequestDynamicVariablesItem is string.

func (CreateUnitTestRequestDynamicVariablesItem) IsBool

IsBool reports whether CreateUnitTestRequestDynamicVariablesItem is bool.

func (CreateUnitTestRequestDynamicVariablesItem) IsFloat64

IsFloat64 reports whether CreateUnitTestRequestDynamicVariablesItem is float64.

func (CreateUnitTestRequestDynamicVariablesItem) IsInt

IsInt reports whether CreateUnitTestRequestDynamicVariablesItem is int.

func (CreateUnitTestRequestDynamicVariablesItem) IsString

IsString reports whether CreateUnitTestRequestDynamicVariablesItem is string.

func (CreateUnitTestRequestDynamicVariablesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*CreateUnitTestRequestDynamicVariablesItem) SetBool

SetBool sets CreateUnitTestRequestDynamicVariablesItem to bool.

func (*CreateUnitTestRequestDynamicVariablesItem) SetFloat64

SetFloat64 sets CreateUnitTestRequestDynamicVariablesItem to float64.

func (*CreateUnitTestRequestDynamicVariablesItem) SetInt

SetInt sets CreateUnitTestRequestDynamicVariablesItem to int.

func (*CreateUnitTestRequestDynamicVariablesItem) SetString

SetString sets CreateUnitTestRequestDynamicVariablesItem to string.

func (*CreateUnitTestRequestDynamicVariablesItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (CreateUnitTestRequestDynamicVariablesItem) Validate

type CreateUnitTestRequestDynamicVariablesItemType

type CreateUnitTestRequestDynamicVariablesItemType string

CreateUnitTestRequestDynamicVariablesItemType is oneOf type of CreateUnitTestRequestDynamicVariablesItem.

const (
	StringCreateUnitTestRequestDynamicVariablesItem  CreateUnitTestRequestDynamicVariablesItemType = "string"
	Float64CreateUnitTestRequestDynamicVariablesItem CreateUnitTestRequestDynamicVariablesItemType = "float64"
	IntCreateUnitTestRequestDynamicVariablesItem     CreateUnitTestRequestDynamicVariablesItemType = "int"
	BoolCreateUnitTestRequestDynamicVariablesItem    CreateUnitTestRequestDynamicVariablesItemType = "bool"
)

Possible values for CreateUnitTestRequestDynamicVariablesItemType.

type CreateUnitTestResponseModel

type CreateUnitTestResponseModel struct {
	ID string `json:"id"`
}

Ref: #/components/schemas/CreateUnitTestResponseModel

func (*CreateUnitTestResponseModel) Decode

Decode decodes CreateUnitTestResponseModel from json.

func (*CreateUnitTestResponseModel) Encode

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

Encode implements json.Marshaler.

func (*CreateUnitTestResponseModel) GetID

GetID returns the value of ID.

func (*CreateUnitTestResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateUnitTestResponseModel) SetID

func (s *CreateUnitTestResponseModel) SetID(val string)

SetID sets the value of ID.

func (*CreateUnitTestResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateVoiceOldParams

type CreateVoiceOldParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

CreateVoiceOldParams is parameters of create_voice_old operation.

type CreateVoiceOldRes

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

type CreateVoiceParams

type CreateVoiceParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

CreateVoiceParams is parameters of create_voice operation.

type CreateVoiceRes

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

type CreateWorkspaceWebhookRouteParams

type CreateWorkspaceWebhookRouteParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

CreateWorkspaceWebhookRouteParams is parameters of create_workspace_webhook_route operation.

type CreateWorkspaceWebhookRouteRes

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

type DashboardCallSuccessChartModel

type DashboardCallSuccessChartModel struct {
	Name string                                `json:"name"`
	Type OptDashboardCallSuccessChartModelType `json:"type"`
}

Ref: #/components/schemas/DashboardCallSuccessChartModel

func (*DashboardCallSuccessChartModel) Decode

Decode decodes DashboardCallSuccessChartModel from json.

func (*DashboardCallSuccessChartModel) Encode

Encode implements json.Marshaler.

func (*DashboardCallSuccessChartModel) GetName

GetName returns the value of Name.

func (*DashboardCallSuccessChartModel) GetType

GetType returns the value of Type.

func (*DashboardCallSuccessChartModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DashboardCallSuccessChartModel) SetName

func (s *DashboardCallSuccessChartModel) SetName(val string)

SetName sets the value of Name.

func (*DashboardCallSuccessChartModel) SetType

SetType sets the value of Type.

func (*DashboardCallSuccessChartModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DashboardCallSuccessChartModel) Validate

func (s *DashboardCallSuccessChartModel) Validate() error

type DashboardCallSuccessChartModelType

type DashboardCallSuccessChartModelType string
const (
	DashboardCallSuccessChartModelTypeCallSuccess DashboardCallSuccessChartModelType = "call_success"
)

func (DashboardCallSuccessChartModelType) AllValues

AllValues returns all DashboardCallSuccessChartModelType values.

func (*DashboardCallSuccessChartModelType) Decode

Decode decodes DashboardCallSuccessChartModelType from json.

func (DashboardCallSuccessChartModelType) Encode

Encode encodes DashboardCallSuccessChartModelType as json.

func (DashboardCallSuccessChartModelType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (DashboardCallSuccessChartModelType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DashboardCallSuccessChartModelType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DashboardCallSuccessChartModelType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DashboardCallSuccessChartModelType) Validate

type DashboardCriteriaChartModel

type DashboardCriteriaChartModel struct {
	CriteriaID string                             `json:"criteria_id"`
	Name       string                             `json:"name"`
	Type       OptDashboardCriteriaChartModelType `json:"type"`
}

Ref: #/components/schemas/DashboardCriteriaChartModel

func (*DashboardCriteriaChartModel) Decode

Decode decodes DashboardCriteriaChartModel from json.

func (*DashboardCriteriaChartModel) Encode

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

Encode implements json.Marshaler.

func (*DashboardCriteriaChartModel) GetCriteriaID

func (s *DashboardCriteriaChartModel) GetCriteriaID() string

GetCriteriaID returns the value of CriteriaID.

func (*DashboardCriteriaChartModel) GetName

func (s *DashboardCriteriaChartModel) GetName() string

GetName returns the value of Name.

func (*DashboardCriteriaChartModel) GetType

GetType returns the value of Type.

func (*DashboardCriteriaChartModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DashboardCriteriaChartModel) SetCriteriaID

func (s *DashboardCriteriaChartModel) SetCriteriaID(val string)

SetCriteriaID sets the value of CriteriaID.

func (*DashboardCriteriaChartModel) SetName

func (s *DashboardCriteriaChartModel) SetName(val string)

SetName sets the value of Name.

func (*DashboardCriteriaChartModel) SetType

SetType sets the value of Type.

func (*DashboardCriteriaChartModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DashboardCriteriaChartModel) Validate

func (s *DashboardCriteriaChartModel) Validate() error

type DashboardCriteriaChartModelType

type DashboardCriteriaChartModelType string
const (
	DashboardCriteriaChartModelTypeCriteria DashboardCriteriaChartModelType = "criteria"
)

func (DashboardCriteriaChartModelType) AllValues

AllValues returns all DashboardCriteriaChartModelType values.

func (*DashboardCriteriaChartModelType) Decode

Decode decodes DashboardCriteriaChartModelType from json.

func (DashboardCriteriaChartModelType) Encode

Encode encodes DashboardCriteriaChartModelType as json.

func (DashboardCriteriaChartModelType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (DashboardCriteriaChartModelType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DashboardCriteriaChartModelType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DashboardCriteriaChartModelType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DashboardCriteriaChartModelType) Validate

type DashboardDataCollectionChartModel

type DashboardDataCollectionChartModel struct {
	DataCollectionID string                                   `json:"data_collection_id"`
	Name             string                                   `json:"name"`
	Type             OptDashboardDataCollectionChartModelType `json:"type"`
}

Ref: #/components/schemas/DashboardDataCollectionChartModel

func (*DashboardDataCollectionChartModel) Decode

Decode decodes DashboardDataCollectionChartModel from json.

func (*DashboardDataCollectionChartModel) Encode

Encode implements json.Marshaler.

func (*DashboardDataCollectionChartModel) GetDataCollectionID

func (s *DashboardDataCollectionChartModel) GetDataCollectionID() string

GetDataCollectionID returns the value of DataCollectionID.

func (*DashboardDataCollectionChartModel) GetName

GetName returns the value of Name.

func (*DashboardDataCollectionChartModel) GetType

GetType returns the value of Type.

func (*DashboardDataCollectionChartModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DashboardDataCollectionChartModel) SetDataCollectionID

func (s *DashboardDataCollectionChartModel) SetDataCollectionID(val string)

SetDataCollectionID sets the value of DataCollectionID.

func (*DashboardDataCollectionChartModel) SetName

func (s *DashboardDataCollectionChartModel) SetName(val string)

SetName sets the value of Name.

func (*DashboardDataCollectionChartModel) SetType

SetType sets the value of Type.

func (*DashboardDataCollectionChartModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DashboardDataCollectionChartModel) Validate

type DashboardDataCollectionChartModelType

type DashboardDataCollectionChartModelType string
const (
	DashboardDataCollectionChartModelTypeDataCollection DashboardDataCollectionChartModelType = "data_collection"
)

func (DashboardDataCollectionChartModelType) AllValues

AllValues returns all DashboardDataCollectionChartModelType values.

func (*DashboardDataCollectionChartModelType) Decode

Decode decodes DashboardDataCollectionChartModelType from json.

func (DashboardDataCollectionChartModelType) Encode

Encode encodes DashboardDataCollectionChartModelType as json.

func (DashboardDataCollectionChartModelType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (DashboardDataCollectionChartModelType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DashboardDataCollectionChartModelType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DashboardDataCollectionChartModelType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DashboardDataCollectionChartModelType) Validate

type DataCollectionResultCommonModel

type DataCollectionResultCommonModel struct {
	DataCollectionID string                       `json:"data_collection_id"`
	JSONSchema       OptLiteralJsonSchemaProperty `json:"json_schema"`
	Rationale        string                       `json:"rationale"`
	Value            jx.Raw                       `json:"value"`
}

Ref: #/components/schemas/DataCollectionResultCommonModel

func (*DataCollectionResultCommonModel) Decode

Decode decodes DataCollectionResultCommonModel from json.

func (*DataCollectionResultCommonModel) Encode

Encode implements json.Marshaler.

func (*DataCollectionResultCommonModel) GetDataCollectionID

func (s *DataCollectionResultCommonModel) GetDataCollectionID() string

GetDataCollectionID returns the value of DataCollectionID.

func (*DataCollectionResultCommonModel) GetJSONSchema

GetJSONSchema returns the value of JSONSchema.

func (*DataCollectionResultCommonModel) GetRationale

func (s *DataCollectionResultCommonModel) GetRationale() string

GetRationale returns the value of Rationale.

func (*DataCollectionResultCommonModel) GetValue

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

GetValue returns the value of Value.

func (*DataCollectionResultCommonModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DataCollectionResultCommonModel) SetDataCollectionID

func (s *DataCollectionResultCommonModel) SetDataCollectionID(val string)

SetDataCollectionID sets the value of DataCollectionID.

func (*DataCollectionResultCommonModel) SetJSONSchema

SetJSONSchema sets the value of JSONSchema.

func (*DataCollectionResultCommonModel) SetRationale

func (s *DataCollectionResultCommonModel) SetRationale(val string)

SetRationale sets the value of Rationale.

func (*DataCollectionResultCommonModel) SetValue

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

SetValue sets the value of Value.

func (*DataCollectionResultCommonModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DataCollectionResultCommonModel) Validate

func (s *DataCollectionResultCommonModel) Validate() error

type DefaultConversationInitiationTrigger

type DefaultConversationInitiationTrigger struct {
	TriggerType OptDefaultConversationInitiationTriggerTriggerType `json:"trigger_type"`
}

Default trigger for standard conversation initiation. Ref: #/components/schemas/DefaultConversationInitiationTrigger

func (*DefaultConversationInitiationTrigger) Decode

Decode decodes DefaultConversationInitiationTrigger from json.

func (*DefaultConversationInitiationTrigger) Encode

Encode implements json.Marshaler.

func (*DefaultConversationInitiationTrigger) GetTriggerType

GetTriggerType returns the value of TriggerType.

func (*DefaultConversationInitiationTrigger) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DefaultConversationInitiationTrigger) SetTriggerType

SetTriggerType sets the value of TriggerType.

func (*DefaultConversationInitiationTrigger) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DefaultConversationInitiationTrigger) Validate

type DefaultConversationInitiationTriggerTriggerType

type DefaultConversationInitiationTriggerTriggerType string
const (
	DefaultConversationInitiationTriggerTriggerTypeDefault DefaultConversationInitiationTriggerTriggerType = "default"
)

func (DefaultConversationInitiationTriggerTriggerType) AllValues

AllValues returns all DefaultConversationInitiationTriggerTriggerType values.

func (*DefaultConversationInitiationTriggerTriggerType) Decode

Decode decodes DefaultConversationInitiationTriggerTriggerType from json.

func (DefaultConversationInitiationTriggerTriggerType) Encode

Encode encodes DefaultConversationInitiationTriggerTriggerType as json.

func (DefaultConversationInitiationTriggerTriggerType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (DefaultConversationInitiationTriggerTriggerType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*DefaultConversationInitiationTriggerTriggerType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DefaultConversationInitiationTriggerTriggerType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (DefaultConversationInitiationTriggerTriggerType) Validate

type DeleteAgentRouteNoContent

type DeleteAgentRouteNoContent struct{}

DeleteAgentRouteNoContent is response for DeleteAgentRoute operation.

type DeleteAgentRouteOK

type DeleteAgentRouteOK struct{}

DeleteAgentRouteOK is response for DeleteAgentRoute operation.

type DeleteAgentRouteParams

type DeleteAgentRouteParams struct {
	// The id of an agent. This is returned on agent creation.
	AgentID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteAgentRouteParams is parameters of delete_agent_route operation.

type DeleteAgentRouteRes

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

type DeleteChapterEndpointParams

type DeleteChapterEndpointParams struct {
	// The ID of the Studio project.
	ProjectID string
	// The ID of the chapter.
	ChapterID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteChapterEndpointParams is parameters of delete_chapter_endpoint operation.

type DeleteChapterEndpointRes

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

type DeleteChapterResponseModel

type DeleteChapterResponseModel struct {
	// The status of the studio chapter deletion request. If the request was successful, the status will
	// be 'ok'. Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/DeleteChapterResponseModel

func (*DeleteChapterResponseModel) Decode

Decode decodes DeleteChapterResponseModel from json.

func (*DeleteChapterResponseModel) Encode

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

Encode implements json.Marshaler.

func (*DeleteChapterResponseModel) GetStatus

func (s *DeleteChapterResponseModel) GetStatus() string

GetStatus returns the value of Status.

func (*DeleteChapterResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteChapterResponseModel) SetStatus

func (s *DeleteChapterResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*DeleteChapterResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteChatResponseTestRouteOKApplicationJSON

type DeleteChatResponseTestRouteOKApplicationJSON jx.Raw

func (*DeleteChatResponseTestRouteOKApplicationJSON) Decode

Decode decodes DeleteChatResponseTestRouteOKApplicationJSON from json.

func (DeleteChatResponseTestRouteOKApplicationJSON) Encode

Encode encodes DeleteChatResponseTestRouteOKApplicationJSON as json.

func (DeleteChatResponseTestRouteOKApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*DeleteChatResponseTestRouteOKApplicationJSON) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteChatResponseTestRouteParams

type DeleteChatResponseTestRouteParams struct {
	// The id of a chat response test. This is returned on test creation.
	TestID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteChatResponseTestRouteParams is parameters of delete_chat_response_test_route operation.

type DeleteChatResponseTestRouteRes

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

type DeleteConversationRouteOKApplicationJSON

type DeleteConversationRouteOKApplicationJSON jx.Raw

func (*DeleteConversationRouteOKApplicationJSON) Decode

Decode decodes DeleteConversationRouteOKApplicationJSON from json.

func (DeleteConversationRouteOKApplicationJSON) Encode

Encode encodes DeleteConversationRouteOKApplicationJSON as json.

func (DeleteConversationRouteOKApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*DeleteConversationRouteOKApplicationJSON) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteConversationRouteParams

type DeleteConversationRouteParams struct {
	// The id of the conversation you're taking the action on.
	ConversationID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteConversationRouteParams is parameters of delete_conversation_route operation.

type DeleteConversationRouteRes

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

type DeleteDubbingParams

type DeleteDubbingParams struct {
	// ID of the dubbing project.
	DubbingID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteDubbingParams is parameters of delete_dubbing operation.

type DeleteDubbingRes

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

type DeleteDubbingResponseModel

type DeleteDubbingResponseModel struct {
	// The status of the dubbing project. If the request was successful, the status will be 'ok'.
	// Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/DeleteDubbingResponseModel

func (*DeleteDubbingResponseModel) Decode

Decode decodes DeleteDubbingResponseModel from json.

func (*DeleteDubbingResponseModel) Encode

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

Encode implements json.Marshaler.

func (*DeleteDubbingResponseModel) GetStatus

func (s *DeleteDubbingResponseModel) GetStatus() string

GetStatus returns the value of Status.

func (*DeleteDubbingResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteDubbingResponseModel) SetStatus

func (s *DeleteDubbingResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*DeleteDubbingResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteHistoryItemResponse

type DeleteHistoryItemResponse struct {
	// The status of the deletion request. If the request was successful, the status will be 'ok'.
	// Otherwise an error message with http code 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/DeleteHistoryItemResponse

func (*DeleteHistoryItemResponse) Decode

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

Decode decodes DeleteHistoryItemResponse from json.

func (*DeleteHistoryItemResponse) Encode

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

Encode implements json.Marshaler.

func (*DeleteHistoryItemResponse) GetStatus

func (s *DeleteHistoryItemResponse) GetStatus() string

GetStatus returns the value of Status.

func (*DeleteHistoryItemResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteHistoryItemResponse) SetStatus

func (s *DeleteHistoryItemResponse) SetStatus(val string)

SetStatus sets the value of Status.

func (*DeleteHistoryItemResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteInviteParams

type DeleteInviteParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteInviteParams is parameters of delete_invite operation.

type DeleteInviteRes

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

type DeleteKnowledgeBaseDocumentOKApplicationJSON

type DeleteKnowledgeBaseDocumentOKApplicationJSON jx.Raw

func (*DeleteKnowledgeBaseDocumentOKApplicationJSON) Decode

Decode decodes DeleteKnowledgeBaseDocumentOKApplicationJSON from json.

func (DeleteKnowledgeBaseDocumentOKApplicationJSON) Encode

Encode encodes DeleteKnowledgeBaseDocumentOKApplicationJSON as json.

func (DeleteKnowledgeBaseDocumentOKApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*DeleteKnowledgeBaseDocumentOKApplicationJSON) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteKnowledgeBaseDocumentParams

type DeleteKnowledgeBaseDocumentParams struct {
	// The id of a document from the knowledge base. This is returned on document addition.
	DocumentationID string
	// If set to true, the document will be deleted regardless of whether it is used by any agents and it
	// will be deleted from the dependent agents.
	Force OptBool `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteKnowledgeBaseDocumentParams is parameters of delete_knowledge_base_document operation.

type DeleteKnowledgeBaseDocumentRes

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

type DeleteMcpServerRouteOKApplicationJSON

type DeleteMcpServerRouteOKApplicationJSON jx.Raw

func (*DeleteMcpServerRouteOKApplicationJSON) Decode

Decode decodes DeleteMcpServerRouteOKApplicationJSON from json.

func (DeleteMcpServerRouteOKApplicationJSON) Encode

Encode encodes DeleteMcpServerRouteOKApplicationJSON as json.

func (DeleteMcpServerRouteOKApplicationJSON) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteMcpServerRouteOKApplicationJSON) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteMcpServerRouteParams

type DeleteMcpServerRouteParams struct {
	// ID of the MCP Server.
	McpServerID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteMcpServerRouteParams is parameters of delete_mcp_server_route operation.

type DeleteMcpServerRouteRes

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

type DeletePhoneNumberRouteOKApplicationJSON

type DeletePhoneNumberRouteOKApplicationJSON jx.Raw

func (*DeletePhoneNumberRouteOKApplicationJSON) Decode

Decode decodes DeletePhoneNumberRouteOKApplicationJSON from json.

func (DeletePhoneNumberRouteOKApplicationJSON) Encode

Encode encodes DeletePhoneNumberRouteOKApplicationJSON as json.

func (DeletePhoneNumberRouteOKApplicationJSON) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeletePhoneNumberRouteOKApplicationJSON) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeletePhoneNumberRouteParams

type DeletePhoneNumberRouteParams struct {
	// The id of an agent. This is returned on agent creation.
	PhoneNumberID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeletePhoneNumberRouteParams is parameters of delete_phone_number_route operation.

type DeletePhoneNumberRouteRes

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

type DeleteProjectParams

type DeleteProjectParams struct {
	// The ID of the Studio project.
	ProjectID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteProjectParams is parameters of delete_project operation.

type DeleteProjectRes

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

type DeleteProjectResponseModel

type DeleteProjectResponseModel struct {
	// The status of the studio project deletion request. If the request was successful, the status will
	// be 'ok'. Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/DeleteProjectResponseModel

func (*DeleteProjectResponseModel) Decode

Decode decodes DeleteProjectResponseModel from json.

func (*DeleteProjectResponseModel) Encode

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

Encode implements json.Marshaler.

func (*DeleteProjectResponseModel) GetStatus

func (s *DeleteProjectResponseModel) GetStatus() string

GetStatus returns the value of Status.

func (*DeleteProjectResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteProjectResponseModel) SetStatus

func (s *DeleteProjectResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*DeleteProjectResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeletePvcVoiceSampleParams

type DeletePvcVoiceSampleParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Sample ID to be used.
	SampleID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeletePvcVoiceSampleParams is parameters of delete_pvc_voice_sample operation.

type DeletePvcVoiceSampleRes

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

type DeleteRagIndexParams

type DeleteRagIndexParams struct {
	// The id of a document from the knowledge base. This is returned on document addition.
	DocumentationID string
	// The id of RAG index of document from the knowledge base.
	RagIndexID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteRagIndexParams is parameters of delete_rag_index operation.

type DeleteRagIndexRes

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

type DeleteSampleParams

type DeleteSampleParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Sample ID to be used, you can use GET https://api.elevenlabs.io/v1/voices/{voice_id} to list all
	// the available samples for a voice.
	SampleID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteSampleParams is parameters of delete_sample operation.

type DeleteSampleRes

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

type DeleteSampleResponseModel

type DeleteSampleResponseModel struct {
	// The status of the sample deletion request. If the request was successful, the status will be 'ok'.
	// Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/DeleteSampleResponseModel

func (*DeleteSampleResponseModel) Decode

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

Decode decodes DeleteSampleResponseModel from json.

func (*DeleteSampleResponseModel) Encode

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

Encode implements json.Marshaler.

func (*DeleteSampleResponseModel) GetStatus

func (s *DeleteSampleResponseModel) GetStatus() string

GetStatus returns the value of Status.

func (*DeleteSampleResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteSampleResponseModel) SetStatus

func (s *DeleteSampleResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*DeleteSampleResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteSecretRouteNoContent

type DeleteSecretRouteNoContent struct{}

DeleteSecretRouteNoContent is response for DeleteSecretRoute operation.

type DeleteSecretRouteParams

type DeleteSecretRouteParams struct {
	SecretID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteSecretRouteParams is parameters of delete_secret_route operation.

type DeleteSecretRouteRes

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

type DeleteSegmentParams

type DeleteSegmentParams struct {
	// ID of the dubbing project.
	DubbingID string
	// ID of the segment.
	SegmentID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteSegmentParams is parameters of delete_segment operation.

type DeleteSegmentRes

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

type DeleteServiceAccountAPIKeyOKApplicationJSON

type DeleteServiceAccountAPIKeyOKApplicationJSON jx.Raw

func (*DeleteServiceAccountAPIKeyOKApplicationJSON) Decode

Decode decodes DeleteServiceAccountAPIKeyOKApplicationJSON from json.

func (DeleteServiceAccountAPIKeyOKApplicationJSON) Encode

Encode encodes DeleteServiceAccountAPIKeyOKApplicationJSON as json.

func (DeleteServiceAccountAPIKeyOKApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*DeleteServiceAccountAPIKeyOKApplicationJSON) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteServiceAccountAPIKeyParams

type DeleteServiceAccountAPIKeyParams struct {
	ServiceAccountUserID string
	APIKeyID             string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteServiceAccountAPIKeyParams is parameters of delete_service_account_api_key operation.

type DeleteServiceAccountAPIKeyRes

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

type DeleteSpeechHistoryItemParams

type DeleteSpeechHistoryItemParams struct {
	// History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list
	// of history items and their IDs.
	HistoryItemID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteSpeechHistoryItemParams is parameters of delete_speech_history_item operation.

type DeleteSpeechHistoryItemRes

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

type DeleteToolRouteOKApplicationJSON

type DeleteToolRouteOKApplicationJSON jx.Raw

func (*DeleteToolRouteOKApplicationJSON) Decode

Decode decodes DeleteToolRouteOKApplicationJSON from json.

func (DeleteToolRouteOKApplicationJSON) Encode

Encode encodes DeleteToolRouteOKApplicationJSON as json.

func (DeleteToolRouteOKApplicationJSON) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteToolRouteOKApplicationJSON) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteToolRouteParams

type DeleteToolRouteParams struct {
	// ID of the requested tool.
	ToolID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteToolRouteParams is parameters of delete_tool_route operation.

type DeleteToolRouteRes

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

type DeleteTranscriptByIDOKApplicationJSON

type DeleteTranscriptByIDOKApplicationJSON jx.Raw

func (*DeleteTranscriptByIDOKApplicationJSON) Decode

Decode decodes DeleteTranscriptByIDOKApplicationJSON from json.

func (DeleteTranscriptByIDOKApplicationJSON) Encode

Encode encodes DeleteTranscriptByIDOKApplicationJSON as json.

func (DeleteTranscriptByIDOKApplicationJSON) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteTranscriptByIDOKApplicationJSON) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteTranscriptByIDParams

type DeleteTranscriptByIDParams struct {
	// The unique ID of the transcript to delete.
	TranscriptionID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteTranscriptByIDParams is parameters of delete_transcript_by_id operation.

type DeleteTranscriptByIDRes

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

type DeleteTranscriptByIDUnauthorizedApplicationJSON

type DeleteTranscriptByIDUnauthorizedApplicationJSON jx.Raw

func (*DeleteTranscriptByIDUnauthorizedApplicationJSON) Decode

Decode decodes DeleteTranscriptByIDUnauthorizedApplicationJSON from json.

func (DeleteTranscriptByIDUnauthorizedApplicationJSON) Encode

Encode encodes DeleteTranscriptByIDUnauthorizedApplicationJSON as json.

func (DeleteTranscriptByIDUnauthorizedApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*DeleteTranscriptByIDUnauthorizedApplicationJSON) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteVoiceParams

type DeleteVoiceParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteVoiceParams is parameters of delete_voice operation.

type DeleteVoiceRes

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

type DeleteVoiceResponseModel

type DeleteVoiceResponseModel struct {
	// The status of the voice deletion request. If the request was successful, the status will be 'ok'.
	// Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/DeleteVoiceResponseModel

func (*DeleteVoiceResponseModel) Decode

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

Decode decodes DeleteVoiceResponseModel from json.

func (*DeleteVoiceResponseModel) Encode

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

Encode implements json.Marshaler.

func (*DeleteVoiceResponseModel) GetStatus

func (s *DeleteVoiceResponseModel) GetStatus() string

GetStatus returns the value of Status.

func (*DeleteVoiceResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteVoiceResponseModel) SetStatus

func (s *DeleteVoiceResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*DeleteVoiceResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteVoiceSampleResponseModel

type DeleteVoiceSampleResponseModel struct {
	// The status of the voice sample deletion request. If the request was successful, the status will be
	// 'ok'. Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/DeleteVoiceSampleResponseModel

func (*DeleteVoiceSampleResponseModel) Decode

Decode decodes DeleteVoiceSampleResponseModel from json.

func (*DeleteVoiceSampleResponseModel) Encode

Encode implements json.Marshaler.

func (*DeleteVoiceSampleResponseModel) GetStatus

func (s *DeleteVoiceSampleResponseModel) GetStatus() string

GetStatus returns the value of Status.

func (*DeleteVoiceSampleResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteVoiceSampleResponseModel) SetStatus

func (s *DeleteVoiceSampleResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*DeleteVoiceSampleResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteWhatsappAccountOKApplicationJSON

type DeleteWhatsappAccountOKApplicationJSON jx.Raw

func (*DeleteWhatsappAccountOKApplicationJSON) Decode

Decode decodes DeleteWhatsappAccountOKApplicationJSON from json.

func (DeleteWhatsappAccountOKApplicationJSON) Encode

Encode encodes DeleteWhatsappAccountOKApplicationJSON as json.

func (DeleteWhatsappAccountOKApplicationJSON) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteWhatsappAccountOKApplicationJSON) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteWhatsappAccountParams

type DeleteWhatsappAccountParams struct {
	PhoneNumberID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteWhatsappAccountParams is parameters of delete_whatsapp_account operation.

type DeleteWhatsappAccountRes

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

type DeleteWorkspaceGroupMemberResponseModel

type DeleteWorkspaceGroupMemberResponseModel struct {
	// The status of the workspace group member deletion request. If the request was successful, the
	// status will be 'ok'. Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/DeleteWorkspaceGroupMemberResponseModel

func (*DeleteWorkspaceGroupMemberResponseModel) Decode

Decode decodes DeleteWorkspaceGroupMemberResponseModel from json.

func (*DeleteWorkspaceGroupMemberResponseModel) Encode

Encode implements json.Marshaler.

func (*DeleteWorkspaceGroupMemberResponseModel) GetStatus

GetStatus returns the value of Status.

func (*DeleteWorkspaceGroupMemberResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteWorkspaceGroupMemberResponseModel) SetStatus

SetStatus sets the value of Status.

func (*DeleteWorkspaceGroupMemberResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteWorkspaceInviteResponseModel

type DeleteWorkspaceInviteResponseModel struct {
	// The status of the workspace invite deletion request. If the request was successful, the status
	// will be 'ok'. Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/DeleteWorkspaceInviteResponseModel

func (*DeleteWorkspaceInviteResponseModel) Decode

Decode decodes DeleteWorkspaceInviteResponseModel from json.

func (*DeleteWorkspaceInviteResponseModel) Encode

Encode implements json.Marshaler.

func (*DeleteWorkspaceInviteResponseModel) GetStatus

GetStatus returns the value of Status.

func (*DeleteWorkspaceInviteResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteWorkspaceInviteResponseModel) SetStatus

func (s *DeleteWorkspaceInviteResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*DeleteWorkspaceInviteResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteWorkspaceWebhookResponseModel

type DeleteWorkspaceWebhookResponseModel struct {
	// The status of the workspace webhook deletion request. If the request was successful, the status
	// will be 'ok'. Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/DeleteWorkspaceWebhookResponseModel

func (*DeleteWorkspaceWebhookResponseModel) Decode

Decode decodes DeleteWorkspaceWebhookResponseModel from json.

func (*DeleteWorkspaceWebhookResponseModel) Encode

Encode implements json.Marshaler.

func (*DeleteWorkspaceWebhookResponseModel) GetStatus

GetStatus returns the value of Status.

func (*DeleteWorkspaceWebhookResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DeleteWorkspaceWebhookResponseModel) SetStatus

func (s *DeleteWorkspaceWebhookResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*DeleteWorkspaceWebhookResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteWorkspaceWebhookRouteParams

type DeleteWorkspaceWebhookRouteParams struct {
	// The unique ID for the webhook.
	WebhookID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DeleteWorkspaceWebhookRouteParams is parameters of delete_workspace_webhook_route operation.

type DeleteWorkspaceWebhookRouteRes

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

type DependentAvailableAgentIdentifier

type DependentAvailableAgentIdentifier struct {
	AccessLevel       DependentAvailableAgentIdentifierAccessLevel `json:"access_level"`
	CreatedAtUnixSecs int                                          `json:"created_at_unix_secs"`
	ID                string                                       `json:"id"`
	Name              string                                       `json:"name"`
	// If the agent is a transitive dependent, contains IDs of the resources that the agent depends on
	// directly.
	ReferencedResourceIds []string                                 `json:"referenced_resource_ids"`
	Type                  OptDependentAvailableAgentIdentifierType `json:"type"`
}

Ref: #/components/schemas/DependentAvailableAgentIdentifier

func (*DependentAvailableAgentIdentifier) Decode

Decode decodes DependentAvailableAgentIdentifier from json.

func (*DependentAvailableAgentIdentifier) Encode

Encode implements json.Marshaler.

func (*DependentAvailableAgentIdentifier) GetAccessLevel

GetAccessLevel returns the value of AccessLevel.

func (*DependentAvailableAgentIdentifier) GetCreatedAtUnixSecs

func (s *DependentAvailableAgentIdentifier) GetCreatedAtUnixSecs() int

GetCreatedAtUnixSecs returns the value of CreatedAtUnixSecs.

func (*DependentAvailableAgentIdentifier) GetID

GetID returns the value of ID.

func (*DependentAvailableAgentIdentifier) GetName

GetName returns the value of Name.

func (*DependentAvailableAgentIdentifier) GetReferencedResourceIds

func (s *DependentAvailableAgentIdentifier) GetReferencedResourceIds() []string

GetReferencedResourceIds returns the value of ReferencedResourceIds.

func (*DependentAvailableAgentIdentifier) GetType

GetType returns the value of Type.

func (*DependentAvailableAgentIdentifier) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DependentAvailableAgentIdentifier) SetAccessLevel

SetAccessLevel sets the value of AccessLevel.

func (*DependentAvailableAgentIdentifier) SetCreatedAtUnixSecs

func (s *DependentAvailableAgentIdentifier) SetCreatedAtUnixSecs(val int)

SetCreatedAtUnixSecs sets the value of CreatedAtUnixSecs.

func (*DependentAvailableAgentIdentifier) SetID

SetID sets the value of ID.

func (*DependentAvailableAgentIdentifier) SetName

func (s *DependentAvailableAgentIdentifier) SetName(val string)

SetName sets the value of Name.

func (*DependentAvailableAgentIdentifier) SetReferencedResourceIds

func (s *DependentAvailableAgentIdentifier) SetReferencedResourceIds(val []string)

SetReferencedResourceIds sets the value of ReferencedResourceIds.

func (*DependentAvailableAgentIdentifier) SetType

SetType sets the value of Type.

func (*DependentAvailableAgentIdentifier) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DependentAvailableAgentIdentifier) Validate

type DependentAvailableAgentIdentifierAccessLevel

type DependentAvailableAgentIdentifierAccessLevel string
const (
	DependentAvailableAgentIdentifierAccessLevelAdmin     DependentAvailableAgentIdentifierAccessLevel = "admin"
	DependentAvailableAgentIdentifierAccessLevelEditor    DependentAvailableAgentIdentifierAccessLevel = "editor"
	DependentAvailableAgentIdentifierAccessLevelCommenter DependentAvailableAgentIdentifierAccessLevel = "commenter"
	DependentAvailableAgentIdentifierAccessLevelViewer    DependentAvailableAgentIdentifierAccessLevel = "viewer"
)

func (DependentAvailableAgentIdentifierAccessLevel) AllValues

AllValues returns all DependentAvailableAgentIdentifierAccessLevel values.

func (*DependentAvailableAgentIdentifierAccessLevel) Decode

Decode decodes DependentAvailableAgentIdentifierAccessLevel from json.

func (DependentAvailableAgentIdentifierAccessLevel) Encode

Encode encodes DependentAvailableAgentIdentifierAccessLevel as json.

func (DependentAvailableAgentIdentifierAccessLevel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (DependentAvailableAgentIdentifierAccessLevel) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*DependentAvailableAgentIdentifierAccessLevel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DependentAvailableAgentIdentifierAccessLevel) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DependentAvailableAgentIdentifierAccessLevel) Validate

type DependentAvailableAgentIdentifierType

type DependentAvailableAgentIdentifierType string
const (
	DependentAvailableAgentIdentifierTypeAvailable DependentAvailableAgentIdentifierType = "available"
)

func (DependentAvailableAgentIdentifierType) AllValues

AllValues returns all DependentAvailableAgentIdentifierType values.

func (*DependentAvailableAgentIdentifierType) Decode

Decode decodes DependentAvailableAgentIdentifierType from json.

func (DependentAvailableAgentIdentifierType) Encode

Encode encodes DependentAvailableAgentIdentifierType as json.

func (DependentAvailableAgentIdentifierType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (DependentAvailableAgentIdentifierType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DependentAvailableAgentIdentifierType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DependentAvailableAgentIdentifierType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DependentAvailableAgentIdentifierType) Validate

type DependentAvailableToolIdentifier

type DependentAvailableToolIdentifier struct {
	AccessLevel       DependentAvailableToolIdentifierAccessLevel `json:"access_level"`
	CreatedAtUnixSecs int                                         `json:"created_at_unix_secs"`
	ID                string                                      `json:"id"`
	Name              string                                      `json:"name"`
	Type              OptDependentAvailableToolIdentifierType     `json:"type"`
}

Ref: #/components/schemas/DependentAvailableToolIdentifier

func (*DependentAvailableToolIdentifier) Decode

Decode decodes DependentAvailableToolIdentifier from json.

func (*DependentAvailableToolIdentifier) Encode

Encode implements json.Marshaler.

func (*DependentAvailableToolIdentifier) GetAccessLevel

GetAccessLevel returns the value of AccessLevel.

func (*DependentAvailableToolIdentifier) GetCreatedAtUnixSecs

func (s *DependentAvailableToolIdentifier) GetCreatedAtUnixSecs() int

GetCreatedAtUnixSecs returns the value of CreatedAtUnixSecs.

func (*DependentAvailableToolIdentifier) GetID

GetID returns the value of ID.

func (*DependentAvailableToolIdentifier) GetName

GetName returns the value of Name.

func (*DependentAvailableToolIdentifier) GetType

GetType returns the value of Type.

func (*DependentAvailableToolIdentifier) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DependentAvailableToolIdentifier) SetAccessLevel

SetAccessLevel sets the value of AccessLevel.

func (*DependentAvailableToolIdentifier) SetCreatedAtUnixSecs

func (s *DependentAvailableToolIdentifier) SetCreatedAtUnixSecs(val int)

SetCreatedAtUnixSecs sets the value of CreatedAtUnixSecs.

func (*DependentAvailableToolIdentifier) SetID

SetID sets the value of ID.

func (*DependentAvailableToolIdentifier) SetName

func (s *DependentAvailableToolIdentifier) SetName(val string)

SetName sets the value of Name.

func (*DependentAvailableToolIdentifier) SetType

SetType sets the value of Type.

func (*DependentAvailableToolIdentifier) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DependentAvailableToolIdentifier) Validate

type DependentAvailableToolIdentifierAccessLevel

type DependentAvailableToolIdentifierAccessLevel string
const (
	DependentAvailableToolIdentifierAccessLevelAdmin     DependentAvailableToolIdentifierAccessLevel = "admin"
	DependentAvailableToolIdentifierAccessLevelEditor    DependentAvailableToolIdentifierAccessLevel = "editor"
	DependentAvailableToolIdentifierAccessLevelCommenter DependentAvailableToolIdentifierAccessLevel = "commenter"
	DependentAvailableToolIdentifierAccessLevelViewer    DependentAvailableToolIdentifierAccessLevel = "viewer"
)

func (DependentAvailableToolIdentifierAccessLevel) AllValues

AllValues returns all DependentAvailableToolIdentifierAccessLevel values.

func (*DependentAvailableToolIdentifierAccessLevel) Decode

Decode decodes DependentAvailableToolIdentifierAccessLevel from json.

func (DependentAvailableToolIdentifierAccessLevel) Encode

Encode encodes DependentAvailableToolIdentifierAccessLevel as json.

func (DependentAvailableToolIdentifierAccessLevel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (DependentAvailableToolIdentifierAccessLevel) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*DependentAvailableToolIdentifierAccessLevel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DependentAvailableToolIdentifierAccessLevel) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DependentAvailableToolIdentifierAccessLevel) Validate

type DependentAvailableToolIdentifierType

type DependentAvailableToolIdentifierType string
const (
	DependentAvailableToolIdentifierTypeAvailable DependentAvailableToolIdentifierType = "available"
)

func (DependentAvailableToolIdentifierType) AllValues

AllValues returns all DependentAvailableToolIdentifierType values.

func (*DependentAvailableToolIdentifierType) Decode

Decode decodes DependentAvailableToolIdentifierType from json.

func (DependentAvailableToolIdentifierType) Encode

Encode encodes DependentAvailableToolIdentifierType as json.

func (DependentAvailableToolIdentifierType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (DependentAvailableToolIdentifierType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DependentAvailableToolIdentifierType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DependentAvailableToolIdentifierType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DependentAvailableToolIdentifierType) Validate

type DependentPhoneNumberIdentifier

type DependentPhoneNumberIdentifier struct {
	Label         string            `json:"label"`
	PhoneNumber   string            `json:"phone_number"`
	PhoneNumberID string            `json:"phone_number_id"`
	Provider      TelephonyProvider `json:"provider"`
}

Ref: #/components/schemas/DependentPhoneNumberIdentifier

func (*DependentPhoneNumberIdentifier) Decode

Decode decodes DependentPhoneNumberIdentifier from json.

func (*DependentPhoneNumberIdentifier) Encode

Encode implements json.Marshaler.

func (*DependentPhoneNumberIdentifier) GetLabel

func (s *DependentPhoneNumberIdentifier) GetLabel() string

GetLabel returns the value of Label.

func (*DependentPhoneNumberIdentifier) GetPhoneNumber

func (s *DependentPhoneNumberIdentifier) GetPhoneNumber() string

GetPhoneNumber returns the value of PhoneNumber.

func (*DependentPhoneNumberIdentifier) GetPhoneNumberID

func (s *DependentPhoneNumberIdentifier) GetPhoneNumberID() string

GetPhoneNumberID returns the value of PhoneNumberID.

func (*DependentPhoneNumberIdentifier) GetProvider

GetProvider returns the value of Provider.

func (*DependentPhoneNumberIdentifier) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DependentPhoneNumberIdentifier) SetLabel

func (s *DependentPhoneNumberIdentifier) SetLabel(val string)

SetLabel sets the value of Label.

func (*DependentPhoneNumberIdentifier) SetPhoneNumber

func (s *DependentPhoneNumberIdentifier) SetPhoneNumber(val string)

SetPhoneNumber sets the value of PhoneNumber.

func (*DependentPhoneNumberIdentifier) SetPhoneNumberID

func (s *DependentPhoneNumberIdentifier) SetPhoneNumberID(val string)

SetPhoneNumberID sets the value of PhoneNumberID.

func (*DependentPhoneNumberIdentifier) SetProvider

SetProvider sets the value of Provider.

func (*DependentPhoneNumberIdentifier) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DependentPhoneNumberIdentifier) Validate

func (s *DependentPhoneNumberIdentifier) Validate() error

type DependentUnknownAgentIdentifier

type DependentUnknownAgentIdentifier struct {
	// If the agent is a transitive dependent, contains IDs of the resources that the agent depends on
	// directly.
	ReferencedResourceIds []string                               `json:"referenced_resource_ids"`
	Type                  OptDependentUnknownAgentIdentifierType `json:"type"`
}

A model that represents an agent dependent on a knowledge base/tools to which the user has no direct access. Ref: #/components/schemas/DependentUnknownAgentIdentifier

func (*DependentUnknownAgentIdentifier) Decode

Decode decodes DependentUnknownAgentIdentifier from json.

func (*DependentUnknownAgentIdentifier) Encode

Encode implements json.Marshaler.

func (*DependentUnknownAgentIdentifier) GetReferencedResourceIds

func (s *DependentUnknownAgentIdentifier) GetReferencedResourceIds() []string

GetReferencedResourceIds returns the value of ReferencedResourceIds.

func (*DependentUnknownAgentIdentifier) GetType

GetType returns the value of Type.

func (*DependentUnknownAgentIdentifier) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DependentUnknownAgentIdentifier) SetReferencedResourceIds

func (s *DependentUnknownAgentIdentifier) SetReferencedResourceIds(val []string)

SetReferencedResourceIds sets the value of ReferencedResourceIds.

func (*DependentUnknownAgentIdentifier) SetType

SetType sets the value of Type.

func (*DependentUnknownAgentIdentifier) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DependentUnknownAgentIdentifier) Validate

func (s *DependentUnknownAgentIdentifier) Validate() error

type DependentUnknownAgentIdentifierType

type DependentUnknownAgentIdentifierType string
const (
	DependentUnknownAgentIdentifierTypeUnknown DependentUnknownAgentIdentifierType = "unknown"
)

func (DependentUnknownAgentIdentifierType) AllValues

AllValues returns all DependentUnknownAgentIdentifierType values.

func (*DependentUnknownAgentIdentifierType) Decode

Decode decodes DependentUnknownAgentIdentifierType from json.

func (DependentUnknownAgentIdentifierType) Encode

Encode encodes DependentUnknownAgentIdentifierType as json.

func (DependentUnknownAgentIdentifierType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (DependentUnknownAgentIdentifierType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DependentUnknownAgentIdentifierType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DependentUnknownAgentIdentifierType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DependentUnknownAgentIdentifierType) Validate

type DependentUnknownToolIdentifier

type DependentUnknownToolIdentifier struct {
	Type OptDependentUnknownToolIdentifierType `json:"type"`
}

A model that represents an tool dependent on a knowledge base/tools to which the user has no direct access. Ref: #/components/schemas/DependentUnknownToolIdentifier

func (*DependentUnknownToolIdentifier) Decode

Decode decodes DependentUnknownToolIdentifier from json.

func (*DependentUnknownToolIdentifier) Encode

Encode implements json.Marshaler.

func (*DependentUnknownToolIdentifier) GetType

GetType returns the value of Type.

func (*DependentUnknownToolIdentifier) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DependentUnknownToolIdentifier) SetType

SetType sets the value of Type.

func (*DependentUnknownToolIdentifier) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DependentUnknownToolIdentifier) Validate

func (s *DependentUnknownToolIdentifier) Validate() error

type DependentUnknownToolIdentifierType

type DependentUnknownToolIdentifierType string
const (
	DependentUnknownToolIdentifierTypeUnknown DependentUnknownToolIdentifierType = "unknown"
)

func (DependentUnknownToolIdentifierType) AllValues

AllValues returns all DependentUnknownToolIdentifierType values.

func (*DependentUnknownToolIdentifierType) Decode

Decode decodes DependentUnknownToolIdentifierType from json.

func (DependentUnknownToolIdentifierType) Encode

Encode encodes DependentUnknownToolIdentifierType as json.

func (DependentUnknownToolIdentifierType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (DependentUnknownToolIdentifierType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DependentUnknownToolIdentifierType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DependentUnknownToolIdentifierType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DependentUnknownToolIdentifierType) Validate

type DialogueInput

type DialogueInput struct {
	// The text to be converted into speech.
	Text string `json:"text"`
	// The ID of the voice to be used for the generation.
	VoiceID string `json:"voice_id"`
}

Ref: #/components/schemas/DialogueInput

func (*DialogueInput) Decode

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

Decode decodes DialogueInput from json.

func (*DialogueInput) Encode

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

Encode implements json.Marshaler.

func (*DialogueInput) GetText

func (s *DialogueInput) GetText() string

GetText returns the value of Text.

func (*DialogueInput) GetVoiceID

func (s *DialogueInput) GetVoiceID() string

GetVoiceID returns the value of VoiceID.

func (*DialogueInput) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DialogueInput) SetText

func (s *DialogueInput) SetText(val string)

SetText sets the value of Text.

func (*DialogueInput) SetVoiceID

func (s *DialogueInput) SetVoiceID(val string)

SetVoiceID sets the value of VoiceID.

func (*DialogueInput) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DialogueInputResponseModel

type DialogueInputResponseModel struct {
	// The text of the dialogue input line.
	Text string `json:"text"`
	// The ID of the voice used for this dialogue input line.
	VoiceID string `json:"voice_id"`
	// The name of the voice used for this dialogue input line.
	VoiceName string `json:"voice_name"`
}

Ref: #/components/schemas/DialogueInputResponseModel

func (*DialogueInputResponseModel) Decode

Decode decodes DialogueInputResponseModel from json.

func (*DialogueInputResponseModel) Encode

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

Encode implements json.Marshaler.

func (*DialogueInputResponseModel) GetText

func (s *DialogueInputResponseModel) GetText() string

GetText returns the value of Text.

func (*DialogueInputResponseModel) GetVoiceID

func (s *DialogueInputResponseModel) GetVoiceID() string

GetVoiceID returns the value of VoiceID.

func (*DialogueInputResponseModel) GetVoiceName

func (s *DialogueInputResponseModel) GetVoiceName() string

GetVoiceName returns the value of VoiceName.

func (*DialogueInputResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DialogueInputResponseModel) SetText

func (s *DialogueInputResponseModel) SetText(val string)

SetText sets the value of Text.

func (*DialogueInputResponseModel) SetVoiceID

func (s *DialogueInputResponseModel) SetVoiceID(val string)

SetVoiceID sets the value of VoiceID.

func (*DialogueInputResponseModel) SetVoiceName

func (s *DialogueInputResponseModel) SetVoiceName(val string)

SetVoiceName sets the value of VoiceName.

func (*DialogueInputResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DoDubbingResponseModel

type DoDubbingResponseModel struct {
	// The ID of the dubbing project.
	DubbingID string `json:"dubbing_id"`
	// The expected duration of the dubbing project in seconds.
	ExpectedDurationSec float64 `json:"expected_duration_sec"`
}

Ref: #/components/schemas/DoDubbingResponseModel

func (*DoDubbingResponseModel) Decode

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

Decode decodes DoDubbingResponseModel from json.

func (*DoDubbingResponseModel) Encode

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

Encode implements json.Marshaler.

func (*DoDubbingResponseModel) GetDubbingID

func (s *DoDubbingResponseModel) GetDubbingID() string

GetDubbingID returns the value of DubbingID.

func (*DoDubbingResponseModel) GetExpectedDurationSec

func (s *DoDubbingResponseModel) GetExpectedDurationSec() float64

GetExpectedDurationSec returns the value of ExpectedDurationSec.

func (*DoDubbingResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DoDubbingResponseModel) SetDubbingID

func (s *DoDubbingResponseModel) SetDubbingID(val string)

SetDubbingID sets the value of DubbingID.

func (*DoDubbingResponseModel) SetExpectedDurationSec

func (s *DoDubbingResponseModel) SetExpectedDurationSec(val float64)

SetExpectedDurationSec sets the value of ExpectedDurationSec.

func (*DoDubbingResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DoDubbingResponseModel) Validate

func (s *DoDubbingResponseModel) Validate() error

type DocumentUsageModeEnum

type DocumentUsageModeEnum string

Ref: #/components/schemas/DocumentUsageModeEnum

const (
	DocumentUsageModeEnumPrompt DocumentUsageModeEnum = "prompt"
	DocumentUsageModeEnumAuto   DocumentUsageModeEnum = "auto"
)

func (DocumentUsageModeEnum) AllValues

AllValues returns all DocumentUsageModeEnum values.

func (*DocumentUsageModeEnum) Decode

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

Decode decodes DocumentUsageModeEnum from json.

func (DocumentUsageModeEnum) Encode

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

Encode encodes DocumentUsageModeEnum as json.

func (DocumentUsageModeEnum) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (DocumentUsageModeEnum) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DocumentUsageModeEnum) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DocumentUsageModeEnum) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DocumentUsageModeEnum) Validate

func (s DocumentUsageModeEnum) Validate() error

type DocxExportOptions

type DocxExportOptions struct {
	Format                      DocxExportOptionsFormat `json:"format"`
	IncludeSpeakers             OptBool                 `json:"include_speakers"`
	IncludeTimestamps           OptBool                 `json:"include_timestamps"`
	MaxSegmentChars             OptNilInt               `json:"max_segment_chars"`
	MaxSegmentDurationS         OptNilFloat64           `json:"max_segment_duration_s"`
	SegmentOnSilenceLongerThanS OptNilFloat64           `json:"segment_on_silence_longer_than_s"`
}

Ref: #/components/schemas/DocxExportOptions

func (*DocxExportOptions) Decode

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

Decode decodes DocxExportOptions from json.

func (*DocxExportOptions) Encode

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

Encode implements json.Marshaler.

func (*DocxExportOptions) GetFormat

GetFormat returns the value of Format.

func (*DocxExportOptions) GetIncludeSpeakers

func (s *DocxExportOptions) GetIncludeSpeakers() OptBool

GetIncludeSpeakers returns the value of IncludeSpeakers.

func (*DocxExportOptions) GetIncludeTimestamps

func (s *DocxExportOptions) GetIncludeTimestamps() OptBool

GetIncludeTimestamps returns the value of IncludeTimestamps.

func (*DocxExportOptions) GetMaxSegmentChars

func (s *DocxExportOptions) GetMaxSegmentChars() OptNilInt

GetMaxSegmentChars returns the value of MaxSegmentChars.

func (*DocxExportOptions) GetMaxSegmentDurationS

func (s *DocxExportOptions) GetMaxSegmentDurationS() OptNilFloat64

GetMaxSegmentDurationS returns the value of MaxSegmentDurationS.

func (*DocxExportOptions) GetSegmentOnSilenceLongerThanS

func (s *DocxExportOptions) GetSegmentOnSilenceLongerThanS() OptNilFloat64

GetSegmentOnSilenceLongerThanS returns the value of SegmentOnSilenceLongerThanS.

func (*DocxExportOptions) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DocxExportOptions) SetFormat

func (s *DocxExportOptions) SetFormat(val DocxExportOptionsFormat)

SetFormat sets the value of Format.

func (*DocxExportOptions) SetIncludeSpeakers

func (s *DocxExportOptions) SetIncludeSpeakers(val OptBool)

SetIncludeSpeakers sets the value of IncludeSpeakers.

func (*DocxExportOptions) SetIncludeTimestamps

func (s *DocxExportOptions) SetIncludeTimestamps(val OptBool)

SetIncludeTimestamps sets the value of IncludeTimestamps.

func (*DocxExportOptions) SetMaxSegmentChars

func (s *DocxExportOptions) SetMaxSegmentChars(val OptNilInt)

SetMaxSegmentChars sets the value of MaxSegmentChars.

func (*DocxExportOptions) SetMaxSegmentDurationS

func (s *DocxExportOptions) SetMaxSegmentDurationS(val OptNilFloat64)

SetMaxSegmentDurationS sets the value of MaxSegmentDurationS.

func (*DocxExportOptions) SetSegmentOnSilenceLongerThanS

func (s *DocxExportOptions) SetSegmentOnSilenceLongerThanS(val OptNilFloat64)

SetSegmentOnSilenceLongerThanS sets the value of SegmentOnSilenceLongerThanS.

func (*DocxExportOptions) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DocxExportOptions) Validate

func (s *DocxExportOptions) Validate() error

type DocxExportOptionsFormat

type DocxExportOptionsFormat string
const (
	DocxExportOptionsFormatDocx DocxExportOptionsFormat = "docx"
)

func (DocxExportOptionsFormat) AllValues

AllValues returns all DocxExportOptionsFormat values.

func (*DocxExportOptionsFormat) Decode

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

Decode decodes DocxExportOptionsFormat from json.

func (DocxExportOptionsFormat) Encode

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

Encode encodes DocxExportOptionsFormat as json.

func (DocxExportOptionsFormat) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (DocxExportOptionsFormat) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DocxExportOptionsFormat) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DocxExportOptionsFormat) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DocxExportOptionsFormat) Validate

func (s DocxExportOptionsFormat) Validate() error

type DownloadSpeechHistoryItemsBadRequest

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

func (*DownloadSpeechHistoryItemsBadRequest) Decode

Decode decodes DownloadSpeechHistoryItemsBadRequest from json.

func (*DownloadSpeechHistoryItemsBadRequest) Encode

Encode implements json.Marshaler.

func (*DownloadSpeechHistoryItemsBadRequest) GetError

GetError returns the value of Error.

func (*DownloadSpeechHistoryItemsBadRequest) GetMessage

GetMessage returns the value of Message.

func (*DownloadSpeechHistoryItemsBadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DownloadSpeechHistoryItemsBadRequest) SetError

SetError sets the value of Error.

func (*DownloadSpeechHistoryItemsBadRequest) SetMessage

SetMessage sets the value of Message.

func (*DownloadSpeechHistoryItemsBadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DownloadSpeechHistoryItemsOK

type DownloadSpeechHistoryItemsOK struct {
	Data io.Reader
}

func (DownloadSpeechHistoryItemsOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type DownloadSpeechHistoryItemsParams

type DownloadSpeechHistoryItemsParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DownloadSpeechHistoryItemsParams is parameters of download_speech_history_items operation.

type DownloadSpeechHistoryItemsRes

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

type DubParams

type DubParams struct {
	// ID of the dubbing project.
	DubbingID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DubParams is parameters of dub operation.

type DubRes

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

type DubbedSegment

type DubbedSegment struct {
	AudioStale bool                   `json:"audio_stale"`
	EndTime    float64                `json:"end_time"`
	MediaRef   DubbingMediaReference  `json:"media_ref"`
	StartTime  float64                `json:"start_time"`
	Subtitles  []SegmentSubtitleFrame `json:"subtitles"`
	Text       NilString              `json:"text"`
}

Ref: #/components/schemas/DubbedSegment

func (*DubbedSegment) Decode

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

Decode decodes DubbedSegment from json.

func (*DubbedSegment) Encode

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

Encode implements json.Marshaler.

func (*DubbedSegment) GetAudioStale

func (s *DubbedSegment) GetAudioStale() bool

GetAudioStale returns the value of AudioStale.

func (*DubbedSegment) GetEndTime

func (s *DubbedSegment) GetEndTime() float64

GetEndTime returns the value of EndTime.

func (*DubbedSegment) GetMediaRef

func (s *DubbedSegment) GetMediaRef() DubbingMediaReference

GetMediaRef returns the value of MediaRef.

func (*DubbedSegment) GetStartTime

func (s *DubbedSegment) GetStartTime() float64

GetStartTime returns the value of StartTime.

func (*DubbedSegment) GetSubtitles

func (s *DubbedSegment) GetSubtitles() []SegmentSubtitleFrame

GetSubtitles returns the value of Subtitles.

func (*DubbedSegment) GetText

func (s *DubbedSegment) GetText() NilString

GetText returns the value of Text.

func (*DubbedSegment) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DubbedSegment) SetAudioStale

func (s *DubbedSegment) SetAudioStale(val bool)

SetAudioStale sets the value of AudioStale.

func (*DubbedSegment) SetEndTime

func (s *DubbedSegment) SetEndTime(val float64)

SetEndTime sets the value of EndTime.

func (*DubbedSegment) SetMediaRef

func (s *DubbedSegment) SetMediaRef(val DubbingMediaReference)

SetMediaRef sets the value of MediaRef.

func (*DubbedSegment) SetStartTime

func (s *DubbedSegment) SetStartTime(val float64)

SetStartTime sets the value of StartTime.

func (*DubbedSegment) SetSubtitles

func (s *DubbedSegment) SetSubtitles(val []SegmentSubtitleFrame)

SetSubtitles sets the value of Subtitles.

func (*DubbedSegment) SetText

func (s *DubbedSegment) SetText(val NilString)

SetText sets the value of Text.

func (*DubbedSegment) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DubbedSegment) Validate

func (s *DubbedSegment) Validate() error

type DubbingMediaMetadata

type DubbingMediaMetadata struct {
	// The content type of the media.
	ContentType string `json:"content_type"`
	// The duration of the media in seconds.
	Duration float64 `json:"duration"`
}

Ref: #/components/schemas/DubbingMediaMetadata

func (*DubbingMediaMetadata) Decode

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

Decode decodes DubbingMediaMetadata from json.

func (*DubbingMediaMetadata) Encode

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

Encode implements json.Marshaler.

func (*DubbingMediaMetadata) GetContentType

func (s *DubbingMediaMetadata) GetContentType() string

GetContentType returns the value of ContentType.

func (*DubbingMediaMetadata) GetDuration

func (s *DubbingMediaMetadata) GetDuration() float64

GetDuration returns the value of Duration.

func (*DubbingMediaMetadata) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DubbingMediaMetadata) SetContentType

func (s *DubbingMediaMetadata) SetContentType(val string)

SetContentType sets the value of ContentType.

func (*DubbingMediaMetadata) SetDuration

func (s *DubbingMediaMetadata) SetDuration(val float64)

SetDuration sets the value of Duration.

func (*DubbingMediaMetadata) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DubbingMediaMetadata) Validate

func (s *DubbingMediaMetadata) Validate() error

type DubbingMediaReference

type DubbingMediaReference struct {
	BucketName     string  `json:"bucket_name"`
	ContentType    string  `json:"content_type"`
	DurationSecs   float64 `json:"duration_secs"`
	IsAudio        bool    `json:"is_audio"`
	RandomPathSlug string  `json:"random_path_slug"`
	Src            string  `json:"src"`
	URL            string  `json:"url"`
}

Ref: #/components/schemas/DubbingMediaReference

func (*DubbingMediaReference) Decode

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

Decode decodes DubbingMediaReference from json.

func (*DubbingMediaReference) Encode

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

Encode implements json.Marshaler.

func (*DubbingMediaReference) GetBucketName

func (s *DubbingMediaReference) GetBucketName() string

GetBucketName returns the value of BucketName.

func (*DubbingMediaReference) GetContentType

func (s *DubbingMediaReference) GetContentType() string

GetContentType returns the value of ContentType.

func (*DubbingMediaReference) GetDurationSecs

func (s *DubbingMediaReference) GetDurationSecs() float64

GetDurationSecs returns the value of DurationSecs.

func (*DubbingMediaReference) GetIsAudio

func (s *DubbingMediaReference) GetIsAudio() bool

GetIsAudio returns the value of IsAudio.

func (*DubbingMediaReference) GetRandomPathSlug

func (s *DubbingMediaReference) GetRandomPathSlug() string

GetRandomPathSlug returns the value of RandomPathSlug.

func (*DubbingMediaReference) GetSrc

func (s *DubbingMediaReference) GetSrc() string

GetSrc returns the value of Src.

func (*DubbingMediaReference) GetURL

func (s *DubbingMediaReference) GetURL() string

GetURL returns the value of URL.

func (*DubbingMediaReference) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DubbingMediaReference) SetBucketName

func (s *DubbingMediaReference) SetBucketName(val string)

SetBucketName sets the value of BucketName.

func (*DubbingMediaReference) SetContentType

func (s *DubbingMediaReference) SetContentType(val string)

SetContentType sets the value of ContentType.

func (*DubbingMediaReference) SetDurationSecs

func (s *DubbingMediaReference) SetDurationSecs(val float64)

SetDurationSecs sets the value of DurationSecs.

func (*DubbingMediaReference) SetIsAudio

func (s *DubbingMediaReference) SetIsAudio(val bool)

SetIsAudio sets the value of IsAudio.

func (*DubbingMediaReference) SetRandomPathSlug

func (s *DubbingMediaReference) SetRandomPathSlug(val string)

SetRandomPathSlug sets the value of RandomPathSlug.

func (*DubbingMediaReference) SetSrc

func (s *DubbingMediaReference) SetSrc(val string)

SetSrc sets the value of Src.

func (*DubbingMediaReference) SetURL

func (s *DubbingMediaReference) SetURL(val string)

SetURL sets the value of URL.

func (*DubbingMediaReference) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DubbingMediaReference) Validate

func (s *DubbingMediaReference) Validate() error

type DubbingMetadataPageResponseModel

type DubbingMetadataPageResponseModel struct {
	Dubs       []DubbingMetadataResponse `json:"dubs"`
	HasMore    bool                      `json:"has_more"`
	NextCursor NilString                 `json:"next_cursor"`
}

Ref: #/components/schemas/DubbingMetadataPageResponseModel

func (*DubbingMetadataPageResponseModel) Decode

Decode decodes DubbingMetadataPageResponseModel from json.

func (*DubbingMetadataPageResponseModel) Encode

Encode implements json.Marshaler.

func (*DubbingMetadataPageResponseModel) GetDubs

GetDubs returns the value of Dubs.

func (*DubbingMetadataPageResponseModel) GetHasMore

func (s *DubbingMetadataPageResponseModel) GetHasMore() bool

GetHasMore returns the value of HasMore.

func (*DubbingMetadataPageResponseModel) GetNextCursor

func (s *DubbingMetadataPageResponseModel) GetNextCursor() NilString

GetNextCursor returns the value of NextCursor.

func (*DubbingMetadataPageResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DubbingMetadataPageResponseModel) SetDubs

SetDubs sets the value of Dubs.

func (*DubbingMetadataPageResponseModel) SetHasMore

func (s *DubbingMetadataPageResponseModel) SetHasMore(val bool)

SetHasMore sets the value of HasMore.

func (*DubbingMetadataPageResponseModel) SetNextCursor

func (s *DubbingMetadataPageResponseModel) SetNextCursor(val NilString)

SetNextCursor sets the value of NextCursor.

func (*DubbingMetadataPageResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DubbingMetadataPageResponseModel) Validate

type DubbingMetadataResponse

type DubbingMetadataResponse struct {
	// Timestamp this dub was created.
	CreatedAt time.Time `json:"created_at"`
	// The ID of the dubbing project.
	DubbingID string `json:"dubbing_id"`
	// Whether this dubbing project is editable in Dubbing Studio.
	Editable OptBool `json:"editable"`
	// Optional error message if the dubbing project failed.
	Error OptNilString `json:"error"`
	// The media metadata of the dubbing project.
	MediaMetadata OptDubbingMediaMetadata `json:"media_metadata"`
	// The name of the dubbing project.
	Name string `json:"name"`
	// The status of the dubbing project. Either 'dubbed', 'dubbing', 'failed', or 'cloning'.
	Status string `json:"status"`
	// The target languages of the dubbing project.
	TargetLanguages []string `json:"target_languages"`
}

Ref: #/components/schemas/DubbingMetadataResponse

func (*DubbingMetadataResponse) Decode

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

Decode decodes DubbingMetadataResponse from json.

func (*DubbingMetadataResponse) Encode

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

Encode implements json.Marshaler.

func (*DubbingMetadataResponse) GetCreatedAt

func (s *DubbingMetadataResponse) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*DubbingMetadataResponse) GetDubbingID

func (s *DubbingMetadataResponse) GetDubbingID() string

GetDubbingID returns the value of DubbingID.

func (*DubbingMetadataResponse) GetEditable

func (s *DubbingMetadataResponse) GetEditable() OptBool

GetEditable returns the value of Editable.

func (*DubbingMetadataResponse) GetError

func (s *DubbingMetadataResponse) GetError() OptNilString

GetError returns the value of Error.

func (*DubbingMetadataResponse) GetMediaMetadata

func (s *DubbingMetadataResponse) GetMediaMetadata() OptDubbingMediaMetadata

GetMediaMetadata returns the value of MediaMetadata.

func (*DubbingMetadataResponse) GetName

func (s *DubbingMetadataResponse) GetName() string

GetName returns the value of Name.

func (*DubbingMetadataResponse) GetStatus

func (s *DubbingMetadataResponse) GetStatus() string

GetStatus returns the value of Status.

func (*DubbingMetadataResponse) GetTargetLanguages

func (s *DubbingMetadataResponse) GetTargetLanguages() []string

GetTargetLanguages returns the value of TargetLanguages.

func (*DubbingMetadataResponse) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DubbingMetadataResponse) SetCreatedAt

func (s *DubbingMetadataResponse) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*DubbingMetadataResponse) SetDubbingID

func (s *DubbingMetadataResponse) SetDubbingID(val string)

SetDubbingID sets the value of DubbingID.

func (*DubbingMetadataResponse) SetEditable

func (s *DubbingMetadataResponse) SetEditable(val OptBool)

SetEditable sets the value of Editable.

func (*DubbingMetadataResponse) SetError

func (s *DubbingMetadataResponse) SetError(val OptNilString)

SetError sets the value of Error.

func (*DubbingMetadataResponse) SetMediaMetadata

func (s *DubbingMetadataResponse) SetMediaMetadata(val OptDubbingMediaMetadata)

SetMediaMetadata sets the value of MediaMetadata.

func (*DubbingMetadataResponse) SetName

func (s *DubbingMetadataResponse) SetName(val string)

SetName sets the value of Name.

func (*DubbingMetadataResponse) SetStatus

func (s *DubbingMetadataResponse) SetStatus(val string)

SetStatus sets the value of Status.

func (*DubbingMetadataResponse) SetTargetLanguages

func (s *DubbingMetadataResponse) SetTargetLanguages(val []string)

SetTargetLanguages sets the value of TargetLanguages.

func (*DubbingMetadataResponse) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DubbingMetadataResponse) Validate

func (s *DubbingMetadataResponse) Validate() error

type DubbingResource

type DubbingResource struct {
	Background      DubbingMediaReference          `json:"background"`
	Foreground      DubbingMediaReference          `json:"foreground"`
	ID              string                         `json:"id"`
	Input           DubbingMediaReference          `json:"input"`
	Renders         DubbingResourceRenders         `json:"renders"`
	SourceLanguage  string                         `json:"source_language"`
	SpeakerSegments DubbingResourceSpeakerSegments `json:"speaker_segments"`
	SpeakerTracks   DubbingResourceSpeakerTracks   `json:"speaker_tracks"`
	TargetLanguages []string                       `json:"target_languages"`
	Version         int                            `json:"version"`
}

Ref: #/components/schemas/DubbingResource

func (*DubbingResource) Decode

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

Decode decodes DubbingResource from json.

func (*DubbingResource) Encode

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

Encode implements json.Marshaler.

func (*DubbingResource) GetBackground

func (s *DubbingResource) GetBackground() DubbingMediaReference

GetBackground returns the value of Background.

func (*DubbingResource) GetForeground

func (s *DubbingResource) GetForeground() DubbingMediaReference

GetForeground returns the value of Foreground.

func (*DubbingResource) GetID

func (s *DubbingResource) GetID() string

GetID returns the value of ID.

func (*DubbingResource) GetInput

func (s *DubbingResource) GetInput() DubbingMediaReference

GetInput returns the value of Input.

func (*DubbingResource) GetRenders

func (s *DubbingResource) GetRenders() DubbingResourceRenders

GetRenders returns the value of Renders.

func (*DubbingResource) GetSourceLanguage

func (s *DubbingResource) GetSourceLanguage() string

GetSourceLanguage returns the value of SourceLanguage.

func (*DubbingResource) GetSpeakerSegments

func (s *DubbingResource) GetSpeakerSegments() DubbingResourceSpeakerSegments

GetSpeakerSegments returns the value of SpeakerSegments.

func (*DubbingResource) GetSpeakerTracks

func (s *DubbingResource) GetSpeakerTracks() DubbingResourceSpeakerTracks

GetSpeakerTracks returns the value of SpeakerTracks.

func (*DubbingResource) GetTargetLanguages

func (s *DubbingResource) GetTargetLanguages() []string

GetTargetLanguages returns the value of TargetLanguages.

func (*DubbingResource) GetVersion

func (s *DubbingResource) GetVersion() int

GetVersion returns the value of Version.

func (*DubbingResource) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DubbingResource) SetBackground

func (s *DubbingResource) SetBackground(val DubbingMediaReference)

SetBackground sets the value of Background.

func (*DubbingResource) SetForeground

func (s *DubbingResource) SetForeground(val DubbingMediaReference)

SetForeground sets the value of Foreground.

func (*DubbingResource) SetID

func (s *DubbingResource) SetID(val string)

SetID sets the value of ID.

func (*DubbingResource) SetInput

func (s *DubbingResource) SetInput(val DubbingMediaReference)

SetInput sets the value of Input.

func (*DubbingResource) SetRenders

func (s *DubbingResource) SetRenders(val DubbingResourceRenders)

SetRenders sets the value of Renders.

func (*DubbingResource) SetSourceLanguage

func (s *DubbingResource) SetSourceLanguage(val string)

SetSourceLanguage sets the value of SourceLanguage.

func (*DubbingResource) SetSpeakerSegments

func (s *DubbingResource) SetSpeakerSegments(val DubbingResourceSpeakerSegments)

SetSpeakerSegments sets the value of SpeakerSegments.

func (*DubbingResource) SetSpeakerTracks

func (s *DubbingResource) SetSpeakerTracks(val DubbingResourceSpeakerTracks)

SetSpeakerTracks sets the value of SpeakerTracks.

func (*DubbingResource) SetTargetLanguages

func (s *DubbingResource) SetTargetLanguages(val []string)

SetTargetLanguages sets the value of TargetLanguages.

func (*DubbingResource) SetVersion

func (s *DubbingResource) SetVersion(val int)

SetVersion sets the value of Version.

func (*DubbingResource) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DubbingResource) Validate

func (s *DubbingResource) Validate() error

type DubbingResourceRenders

type DubbingResourceRenders map[string]Render

func (*DubbingResourceRenders) Decode

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

Decode decodes DubbingResourceRenders from json.

func (DubbingResourceRenders) Encode

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

Encode implements json.Marshaler.

func (DubbingResourceRenders) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DubbingResourceRenders) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (DubbingResourceRenders) Validate

func (s DubbingResourceRenders) Validate() error

type DubbingResourceSpeakerSegments

type DubbingResourceSpeakerSegments map[string]SpeakerSegment

func (*DubbingResourceSpeakerSegments) Decode

Decode decodes DubbingResourceSpeakerSegments from json.

func (DubbingResourceSpeakerSegments) Encode

Encode implements json.Marshaler.

func (DubbingResourceSpeakerSegments) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DubbingResourceSpeakerSegments) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (DubbingResourceSpeakerSegments) Validate

type DubbingResourceSpeakerTracks

type DubbingResourceSpeakerTracks map[string]SpeakerTrack

func (*DubbingResourceSpeakerTracks) Decode

Decode decodes DubbingResourceSpeakerTracks from json.

func (DubbingResourceSpeakerTracks) Encode

Encode implements json.Marshaler.

func (DubbingResourceSpeakerTracks) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DubbingResourceSpeakerTracks) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (DubbingResourceSpeakerTracks) Validate

func (s DubbingResourceSpeakerTracks) Validate() error

type DubbingTranscriptCharacter

type DubbingTranscriptCharacter struct {
	EndS   OptFloat64 `json:"end_s"`
	StartS OptFloat64 `json:"start_s"`
	Text   OptString  `json:"text"`
}

Ref: #/components/schemas/DubbingTranscriptCharacter

func (*DubbingTranscriptCharacter) Decode

Decode decodes DubbingTranscriptCharacter from json.

func (*DubbingTranscriptCharacter) Encode

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

Encode implements json.Marshaler.

func (*DubbingTranscriptCharacter) GetEndS

GetEndS returns the value of EndS.

func (*DubbingTranscriptCharacter) GetStartS

func (s *DubbingTranscriptCharacter) GetStartS() OptFloat64

GetStartS returns the value of StartS.

func (*DubbingTranscriptCharacter) GetText

GetText returns the value of Text.

func (*DubbingTranscriptCharacter) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DubbingTranscriptCharacter) SetEndS

func (s *DubbingTranscriptCharacter) SetEndS(val OptFloat64)

SetEndS sets the value of EndS.

func (*DubbingTranscriptCharacter) SetStartS

func (s *DubbingTranscriptCharacter) SetStartS(val OptFloat64)

SetStartS sets the value of StartS.

func (*DubbingTranscriptCharacter) SetText

func (s *DubbingTranscriptCharacter) SetText(val OptString)

SetText sets the value of Text.

func (*DubbingTranscriptCharacter) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DubbingTranscriptCharacter) Validate

func (s *DubbingTranscriptCharacter) Validate() error

type DubbingTranscriptResponseModel

type DubbingTranscriptResponseModel struct {
	Language   string                       `json:"language"`
	Utterances []DubbingTranscriptUtterance `json:"utterances"`
}

Ref: #/components/schemas/DubbingTranscriptResponseModel

func (*DubbingTranscriptResponseModel) Decode

Decode decodes DubbingTranscriptResponseModel from json.

func (*DubbingTranscriptResponseModel) Encode

Encode implements json.Marshaler.

func (*DubbingTranscriptResponseModel) GetLanguage

func (s *DubbingTranscriptResponseModel) GetLanguage() string

GetLanguage returns the value of Language.

func (*DubbingTranscriptResponseModel) GetUtterances

GetUtterances returns the value of Utterances.

func (*DubbingTranscriptResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DubbingTranscriptResponseModel) SetLanguage

func (s *DubbingTranscriptResponseModel) SetLanguage(val string)

SetLanguage sets the value of Language.

func (*DubbingTranscriptResponseModel) SetUtterances

SetUtterances sets the value of Utterances.

func (*DubbingTranscriptResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DubbingTranscriptResponseModel) Validate

func (s *DubbingTranscriptResponseModel) Validate() error

type DubbingTranscriptUtterance

type DubbingTranscriptUtterance struct {
	EndS      OptFloat64              `json:"end_s"`
	SpeakerID OptString               `json:"speaker_id"`
	StartS    OptFloat64              `json:"start_s"`
	Text      OptString               `json:"text"`
	Words     []DubbingTranscriptWord `json:"words"`
}

Ref: #/components/schemas/DubbingTranscriptUtterance

func (*DubbingTranscriptUtterance) Decode

Decode decodes DubbingTranscriptUtterance from json.

func (*DubbingTranscriptUtterance) Encode

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

Encode implements json.Marshaler.

func (*DubbingTranscriptUtterance) GetEndS

GetEndS returns the value of EndS.

func (*DubbingTranscriptUtterance) GetSpeakerID

func (s *DubbingTranscriptUtterance) GetSpeakerID() OptString

GetSpeakerID returns the value of SpeakerID.

func (*DubbingTranscriptUtterance) GetStartS

func (s *DubbingTranscriptUtterance) GetStartS() OptFloat64

GetStartS returns the value of StartS.

func (*DubbingTranscriptUtterance) GetText

GetText returns the value of Text.

func (*DubbingTranscriptUtterance) GetWords

GetWords returns the value of Words.

func (*DubbingTranscriptUtterance) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DubbingTranscriptUtterance) SetEndS

func (s *DubbingTranscriptUtterance) SetEndS(val OptFloat64)

SetEndS sets the value of EndS.

func (*DubbingTranscriptUtterance) SetSpeakerID

func (s *DubbingTranscriptUtterance) SetSpeakerID(val OptString)

SetSpeakerID sets the value of SpeakerID.

func (*DubbingTranscriptUtterance) SetStartS

func (s *DubbingTranscriptUtterance) SetStartS(val OptFloat64)

SetStartS sets the value of StartS.

func (*DubbingTranscriptUtterance) SetText

func (s *DubbingTranscriptUtterance) SetText(val OptString)

SetText sets the value of Text.

func (*DubbingTranscriptUtterance) SetWords

SetWords sets the value of Words.

func (*DubbingTranscriptUtterance) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DubbingTranscriptUtterance) Validate

func (s *DubbingTranscriptUtterance) Validate() error

type DubbingTranscriptWord

type DubbingTranscriptWord struct {
	Characters []DubbingTranscriptCharacter `json:"characters"`
	EndS       OptFloat64                   `json:"end_s"`
	StartS     OptFloat64                   `json:"start_s"`
	Text       OptString                    `json:"text"`
	WordType   OptString                    `json:"word_type"`
}

Ref: #/components/schemas/DubbingTranscriptWord

func (*DubbingTranscriptWord) Decode

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

Decode decodes DubbingTranscriptWord from json.

func (*DubbingTranscriptWord) Encode

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

Encode implements json.Marshaler.

func (*DubbingTranscriptWord) GetCharacters

GetCharacters returns the value of Characters.

func (*DubbingTranscriptWord) GetEndS

func (s *DubbingTranscriptWord) GetEndS() OptFloat64

GetEndS returns the value of EndS.

func (*DubbingTranscriptWord) GetStartS

func (s *DubbingTranscriptWord) GetStartS() OptFloat64

GetStartS returns the value of StartS.

func (*DubbingTranscriptWord) GetText

func (s *DubbingTranscriptWord) GetText() OptString

GetText returns the value of Text.

func (*DubbingTranscriptWord) GetWordType

func (s *DubbingTranscriptWord) GetWordType() OptString

GetWordType returns the value of WordType.

func (*DubbingTranscriptWord) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DubbingTranscriptWord) SetCharacters

func (s *DubbingTranscriptWord) SetCharacters(val []DubbingTranscriptCharacter)

SetCharacters sets the value of Characters.

func (*DubbingTranscriptWord) SetEndS

func (s *DubbingTranscriptWord) SetEndS(val OptFloat64)

SetEndS sets the value of EndS.

func (*DubbingTranscriptWord) SetStartS

func (s *DubbingTranscriptWord) SetStartS(val OptFloat64)

SetStartS sets the value of StartS.

func (*DubbingTranscriptWord) SetText

func (s *DubbingTranscriptWord) SetText(val OptString)

SetText sets the value of Text.

func (*DubbingTranscriptWord) SetWordType

func (s *DubbingTranscriptWord) SetWordType(val OptString)

SetWordType sets the value of WordType.

func (*DubbingTranscriptWord) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DubbingTranscriptWord) Validate

func (s *DubbingTranscriptWord) Validate() error

type DuplicateAgentRouteParams

type DuplicateAgentRouteParams struct {
	// The id of an agent. This is returned on agent creation.
	AgentID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

DuplicateAgentRouteParams is parameters of duplicate_agent_route operation.

type DuplicateAgentRouteRes

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

type DynamicVariableAssignment

type DynamicVariableAssignment struct {
	// The name of the dynamic variable to assign the extracted value to.
	DynamicVariable string `json:"dynamic_variable"`
	// The source to extract the value from. Currently only 'response' is supported.
	Source OptDynamicVariableAssignmentSource `json:"source"`
	// Dot notation path to extract the value from the source (e.g., 'user.name' or 'data.0.id').
	ValuePath string `json:"value_path"`
}

Configuration for extracting values from tool responses and assigning them to dynamic variables. Ref: #/components/schemas/DynamicVariableAssignment

func (*DynamicVariableAssignment) Decode

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

Decode decodes DynamicVariableAssignment from json.

func (*DynamicVariableAssignment) Encode

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

Encode implements json.Marshaler.

func (*DynamicVariableAssignment) GetDynamicVariable

func (s *DynamicVariableAssignment) GetDynamicVariable() string

GetDynamicVariable returns the value of DynamicVariable.

func (*DynamicVariableAssignment) GetSource

GetSource returns the value of Source.

func (*DynamicVariableAssignment) GetValuePath

func (s *DynamicVariableAssignment) GetValuePath() string

GetValuePath returns the value of ValuePath.

func (*DynamicVariableAssignment) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DynamicVariableAssignment) SetDynamicVariable

func (s *DynamicVariableAssignment) SetDynamicVariable(val string)

SetDynamicVariable sets the value of DynamicVariable.

func (*DynamicVariableAssignment) SetSource

SetSource sets the value of Source.

func (*DynamicVariableAssignment) SetValuePath

func (s *DynamicVariableAssignment) SetValuePath(val string)

SetValuePath sets the value of ValuePath.

func (*DynamicVariableAssignment) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DynamicVariableAssignment) Validate

func (s *DynamicVariableAssignment) Validate() error

type DynamicVariableAssignmentSource

type DynamicVariableAssignmentSource string

The source to extract the value from. Currently only 'response' is supported.

const (
	DynamicVariableAssignmentSourceResponse DynamicVariableAssignmentSource = "response"
)

func (DynamicVariableAssignmentSource) AllValues

AllValues returns all DynamicVariableAssignmentSource values.

func (*DynamicVariableAssignmentSource) Decode

Decode decodes DynamicVariableAssignmentSource from json.

func (DynamicVariableAssignmentSource) Encode

Encode encodes DynamicVariableAssignmentSource as json.

func (DynamicVariableAssignmentSource) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (DynamicVariableAssignmentSource) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DynamicVariableAssignmentSource) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DynamicVariableAssignmentSource) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DynamicVariableAssignmentSource) Validate

type DynamicVariableUpdateCommonModel

type DynamicVariableUpdateCommonModel struct {
	NewValue      string    `json:"new_value"`
	OldValue      NilString `json:"old_value"`
	ToolName      string    `json:"tool_name"`
	ToolRequestID string    `json:"tool_request_id"`
	UpdatedAt     float64   `json:"updated_at"`
	VariableName  string    `json:"variable_name"`
}

Tracks a dynamic variable update that occurred during tool execution. Ref: #/components/schemas/DynamicVariableUpdateCommonModel

func (*DynamicVariableUpdateCommonModel) Decode

Decode decodes DynamicVariableUpdateCommonModel from json.

func (*DynamicVariableUpdateCommonModel) Encode

Encode implements json.Marshaler.

func (*DynamicVariableUpdateCommonModel) GetNewValue

func (s *DynamicVariableUpdateCommonModel) GetNewValue() string

GetNewValue returns the value of NewValue.

func (*DynamicVariableUpdateCommonModel) GetOldValue

GetOldValue returns the value of OldValue.

func (*DynamicVariableUpdateCommonModel) GetToolName

func (s *DynamicVariableUpdateCommonModel) GetToolName() string

GetToolName returns the value of ToolName.

func (*DynamicVariableUpdateCommonModel) GetToolRequestID

func (s *DynamicVariableUpdateCommonModel) GetToolRequestID() string

GetToolRequestID returns the value of ToolRequestID.

func (*DynamicVariableUpdateCommonModel) GetUpdatedAt

func (s *DynamicVariableUpdateCommonModel) GetUpdatedAt() float64

GetUpdatedAt returns the value of UpdatedAt.

func (*DynamicVariableUpdateCommonModel) GetVariableName

func (s *DynamicVariableUpdateCommonModel) GetVariableName() string

GetVariableName returns the value of VariableName.

func (*DynamicVariableUpdateCommonModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*DynamicVariableUpdateCommonModel) SetNewValue

func (s *DynamicVariableUpdateCommonModel) SetNewValue(val string)

SetNewValue sets the value of NewValue.

func (*DynamicVariableUpdateCommonModel) SetOldValue

func (s *DynamicVariableUpdateCommonModel) SetOldValue(val NilString)

SetOldValue sets the value of OldValue.

func (*DynamicVariableUpdateCommonModel) SetToolName

func (s *DynamicVariableUpdateCommonModel) SetToolName(val string)

SetToolName sets the value of ToolName.

func (*DynamicVariableUpdateCommonModel) SetToolRequestID

func (s *DynamicVariableUpdateCommonModel) SetToolRequestID(val string)

SetToolRequestID sets the value of ToolRequestID.

func (*DynamicVariableUpdateCommonModel) SetUpdatedAt

func (s *DynamicVariableUpdateCommonModel) SetUpdatedAt(val float64)

SetUpdatedAt sets the value of UpdatedAt.

func (*DynamicVariableUpdateCommonModel) SetVariableName

func (s *DynamicVariableUpdateCommonModel) SetVariableName(val string)

SetVariableName sets the value of VariableName.

func (*DynamicVariableUpdateCommonModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DynamicVariableUpdateCommonModel) Validate

type EditProjectContentParams

type EditProjectContentParams struct {
	// The ID of the Studio project.
	ProjectID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

EditProjectContentParams is parameters of edit_project_content operation.

type EditProjectContentRes

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

type EditProjectParams

type EditProjectParams struct {
	// The ID of the Studio project.
	ProjectID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

EditProjectParams is parameters of edit_project operation.

type EditProjectRes

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

type EditProjectResponseModel

type EditProjectResponseModel struct {
	Project ProjectResponseModel `json:"project"`
}

Ref: #/components/schemas/EditProjectResponseModel

func (*EditProjectResponseModel) Decode

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

Decode decodes EditProjectResponseModel from json.

func (*EditProjectResponseModel) Encode

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

Encode implements json.Marshaler.

func (*EditProjectResponseModel) GetProject

GetProject returns the value of Project.

func (*EditProjectResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*EditProjectResponseModel) SetProject

SetProject sets the value of Project.

func (*EditProjectResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EditProjectResponseModel) Validate

func (s *EditProjectResponseModel) Validate() error

type EditPvcVoiceParams

type EditPvcVoiceParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

EditPvcVoiceParams is parameters of edit_pvc_voice operation.

type EditPvcVoiceRes

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

type EditPvcVoiceSampleParams

type EditPvcVoiceSampleParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Sample ID to be used.
	SampleID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

EditPvcVoiceSampleParams is parameters of edit_pvc_voice_sample operation.

type EditPvcVoiceSampleRes

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

type EditServiceAccountAPIKeyOKApplicationJSON

type EditServiceAccountAPIKeyOKApplicationJSON jx.Raw

func (*EditServiceAccountAPIKeyOKApplicationJSON) Decode

Decode decodes EditServiceAccountAPIKeyOKApplicationJSON from json.

func (EditServiceAccountAPIKeyOKApplicationJSON) Encode

Encode encodes EditServiceAccountAPIKeyOKApplicationJSON as json.

func (EditServiceAccountAPIKeyOKApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*EditServiceAccountAPIKeyOKApplicationJSON) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EditServiceAccountAPIKeyParams

type EditServiceAccountAPIKeyParams struct {
	ServiceAccountUserID string
	APIKeyID             string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

EditServiceAccountAPIKeyParams is parameters of edit_service_account_api_key operation.

type EditServiceAccountAPIKeyRes

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

type EditVoiceParams

type EditVoiceParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

EditVoiceParams is parameters of edit_voice operation.

type EditVoiceRes

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

type EditVoiceResponseModel

type EditVoiceResponseModel struct {
	// The status of the voice edit request. If the request was successful, the status will be 'ok'.
	// Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/EditVoiceResponseModel

func (*EditVoiceResponseModel) Decode

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

Decode decodes EditVoiceResponseModel from json.

func (*EditVoiceResponseModel) Encode

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

Encode implements json.Marshaler.

func (*EditVoiceResponseModel) GetStatus

func (s *EditVoiceResponseModel) GetStatus() string

GetStatus returns the value of Status.

func (*EditVoiceResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*EditVoiceResponseModel) SetStatus

func (s *EditVoiceResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*EditVoiceResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EditVoiceSettingsParams

type EditVoiceSettingsParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

EditVoiceSettingsParams is parameters of edit_voice_settings operation.

type EditVoiceSettingsRes

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

type EditVoiceSettingsResponseModel

type EditVoiceSettingsResponseModel struct {
	// The status of the voice settings edit request. If the request was successful, the status will be
	// 'ok'. Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/EditVoiceSettingsResponseModel

func (*EditVoiceSettingsResponseModel) Decode

Decode decodes EditVoiceSettingsResponseModel from json.

func (*EditVoiceSettingsResponseModel) Encode

Encode implements json.Marshaler.

func (*EditVoiceSettingsResponseModel) GetStatus

func (s *EditVoiceSettingsResponseModel) GetStatus() string

GetStatus returns the value of Status.

func (*EditVoiceSettingsResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*EditVoiceSettingsResponseModel) SetStatus

func (s *EditVoiceSettingsResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*EditVoiceSettingsResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type EditWorkspaceWebhookRouteParams

type EditWorkspaceWebhookRouteParams struct {
	// The unique ID for the webhook.
	WebhookID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

EditWorkspaceWebhookRouteParams is parameters of edit_workspace_webhook_route operation.

type EditWorkspaceWebhookRouteRes

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

type EmbeddingModelEnum

type EmbeddingModelEnum string

Ref: #/components/schemas/EmbeddingModelEnum

const (
	EmbeddingModelEnumE5Mistral7bInstruct         EmbeddingModelEnum = "e5_mistral_7b_instruct"
	EmbeddingModelEnumMultilingualE5LargeInstruct EmbeddingModelEnum = "multilingual_e5_large_instruct"
)

func (EmbeddingModelEnum) AllValues

func (EmbeddingModelEnum) AllValues() []EmbeddingModelEnum

AllValues returns all EmbeddingModelEnum values.

func (*EmbeddingModelEnum) Decode

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

Decode decodes EmbeddingModelEnum from json.

func (EmbeddingModelEnum) Encode

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

Encode encodes EmbeddingModelEnum as json.

func (EmbeddingModelEnum) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (EmbeddingModelEnum) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*EmbeddingModelEnum) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EmbeddingModelEnum) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (EmbeddingModelEnum) Validate

func (s EmbeddingModelEnum) Validate() error

type EndCallToolResultModel

type EndCallToolResultModel struct {
	Message    OptNilString                        `json:"message"`
	Reason     OptNilString                        `json:"reason"`
	ResultType OptEndCallToolResultModelResultType `json:"result_type"`
	Status     OptEndCallToolResultModelStatus     `json:"status"`
}

Ref: #/components/schemas/EndCallToolResultModel

func (*EndCallToolResultModel) Decode

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

Decode decodes EndCallToolResultModel from json.

func (*EndCallToolResultModel) Encode

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

Encode implements json.Marshaler.

func (*EndCallToolResultModel) GetMessage

func (s *EndCallToolResultModel) GetMessage() OptNilString

GetMessage returns the value of Message.

func (*EndCallToolResultModel) GetReason

func (s *EndCallToolResultModel) GetReason() OptNilString

GetReason returns the value of Reason.

func (*EndCallToolResultModel) GetResultType

GetResultType returns the value of ResultType.

func (*EndCallToolResultModel) GetStatus

GetStatus returns the value of Status.

func (*EndCallToolResultModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*EndCallToolResultModel) SetMessage

func (s *EndCallToolResultModel) SetMessage(val OptNilString)

SetMessage sets the value of Message.

func (*EndCallToolResultModel) SetReason

func (s *EndCallToolResultModel) SetReason(val OptNilString)

SetReason sets the value of Reason.

func (*EndCallToolResultModel) SetResultType

SetResultType sets the value of ResultType.

func (*EndCallToolResultModel) SetStatus

SetStatus sets the value of Status.

func (*EndCallToolResultModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EndCallToolResultModel) Validate

func (s *EndCallToolResultModel) Validate() error

type EndCallToolResultModelResultType

type EndCallToolResultModelResultType string
const (
	EndCallToolResultModelResultTypeEndCallSuccess EndCallToolResultModelResultType = "end_call_success"
)

func (EndCallToolResultModelResultType) AllValues

AllValues returns all EndCallToolResultModelResultType values.

func (*EndCallToolResultModelResultType) Decode

Decode decodes EndCallToolResultModelResultType from json.

func (EndCallToolResultModelResultType) Encode

Encode encodes EndCallToolResultModelResultType as json.

func (EndCallToolResultModelResultType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (EndCallToolResultModelResultType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*EndCallToolResultModelResultType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EndCallToolResultModelResultType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (EndCallToolResultModelResultType) Validate

type EndCallToolResultModelStatus

type EndCallToolResultModelStatus string
const (
	EndCallToolResultModelStatusSuccess EndCallToolResultModelStatus = "success"
)

func (EndCallToolResultModelStatus) AllValues

AllValues returns all EndCallToolResultModelStatus values.

func (*EndCallToolResultModelStatus) Decode

Decode decodes EndCallToolResultModelStatus from json.

func (EndCallToolResultModelStatus) Encode

Encode encodes EndCallToolResultModelStatus as json.

func (EndCallToolResultModelStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (EndCallToolResultModelStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*EndCallToolResultModelStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EndCallToolResultModelStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (EndCallToolResultModelStatus) Validate

func (s EndCallToolResultModelStatus) Validate() error

type ErrorHandler

type ErrorHandler = ogenerrors.ErrorHandler

ErrorHandler is error handler.

type EvaluationSuccessResult

type EvaluationSuccessResult string

Ref: #/components/schemas/EvaluationSuccessResult

const (
	EvaluationSuccessResultSuccess EvaluationSuccessResult = "success"
	EvaluationSuccessResultFailure EvaluationSuccessResult = "failure"
	EvaluationSuccessResultUnknown EvaluationSuccessResult = "unknown"
)

func (EvaluationSuccessResult) AllValues

AllValues returns all EvaluationSuccessResult values.

func (*EvaluationSuccessResult) Decode

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

Decode decodes EvaluationSuccessResult from json.

func (EvaluationSuccessResult) Encode

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

Encode encodes EvaluationSuccessResult as json.

func (EvaluationSuccessResult) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (EvaluationSuccessResult) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*EvaluationSuccessResult) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EvaluationSuccessResult) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (EvaluationSuccessResult) Validate

func (s EvaluationSuccessResult) Validate() error

type ExactParameterEvaluationStrategy

type ExactParameterEvaluationStrategy struct {
	// The exact string value that the parameter must match.
	ExpectedValue string                               `json:"expected_value"`
	Type          ExactParameterEvaluationStrategyType `json:"type"`
}

Ref: #/components/schemas/ExactParameterEvaluationStrategy

func (*ExactParameterEvaluationStrategy) Decode

Decode decodes ExactParameterEvaluationStrategy from json.

func (*ExactParameterEvaluationStrategy) Encode

Encode implements json.Marshaler.

func (*ExactParameterEvaluationStrategy) GetExpectedValue

func (s *ExactParameterEvaluationStrategy) GetExpectedValue() string

GetExpectedValue returns the value of ExpectedValue.

func (*ExactParameterEvaluationStrategy) GetType

GetType returns the value of Type.

func (*ExactParameterEvaluationStrategy) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ExactParameterEvaluationStrategy) SetExpectedValue

func (s *ExactParameterEvaluationStrategy) SetExpectedValue(val string)

SetExpectedValue sets the value of ExpectedValue.

func (*ExactParameterEvaluationStrategy) SetType

SetType sets the value of Type.

func (*ExactParameterEvaluationStrategy) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ExactParameterEvaluationStrategy) Validate

type ExactParameterEvaluationStrategyType

type ExactParameterEvaluationStrategyType string
const (
	ExactParameterEvaluationStrategyTypeExact ExactParameterEvaluationStrategyType = "exact"
)

func (ExactParameterEvaluationStrategyType) AllValues

AllValues returns all ExactParameterEvaluationStrategyType values.

func (*ExactParameterEvaluationStrategyType) Decode

Decode decodes ExactParameterEvaluationStrategyType from json.

func (ExactParameterEvaluationStrategyType) Encode

Encode encodes ExactParameterEvaluationStrategyType as json.

func (ExactParameterEvaluationStrategyType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (ExactParameterEvaluationStrategyType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ExactParameterEvaluationStrategyType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ExactParameterEvaluationStrategyType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ExactParameterEvaluationStrategyType) Validate

type ExportOptions

type ExportOptions struct {
	Type                       ExportOptionsType // switch on this field
	SegmentedJsonExportOptions SegmentedJsonExportOptions
	DocxExportOptions          DocxExportOptions
	PdfExportOptions           PdfExportOptions
	TxtExportOptions           TxtExportOptions
	HtmlExportOptions          HtmlExportOptions
	SrtExportOptions           SrtExportOptions
}

Ref: #/components/schemas/ExportOptions ExportOptions represents sum type.

func NewDocxExportOptionsExportOptions

func NewDocxExportOptionsExportOptions(v DocxExportOptions) ExportOptions

NewDocxExportOptionsExportOptions returns new ExportOptions from DocxExportOptions.

func NewHtmlExportOptionsExportOptions

func NewHtmlExportOptionsExportOptions(v HtmlExportOptions) ExportOptions

NewHtmlExportOptionsExportOptions returns new ExportOptions from HtmlExportOptions.

func NewPdfExportOptionsExportOptions

func NewPdfExportOptionsExportOptions(v PdfExportOptions) ExportOptions

NewPdfExportOptionsExportOptions returns new ExportOptions from PdfExportOptions.

func NewSegmentedJsonExportOptionsExportOptions

func NewSegmentedJsonExportOptionsExportOptions(v SegmentedJsonExportOptions) ExportOptions

NewSegmentedJsonExportOptionsExportOptions returns new ExportOptions from SegmentedJsonExportOptions.

func NewSrtExportOptionsExportOptions

func NewSrtExportOptionsExportOptions(v SrtExportOptions) ExportOptions

NewSrtExportOptionsExportOptions returns new ExportOptions from SrtExportOptions.

func NewTxtExportOptionsExportOptions

func NewTxtExportOptionsExportOptions(v TxtExportOptions) ExportOptions

NewTxtExportOptionsExportOptions returns new ExportOptions from TxtExportOptions.

func (*ExportOptions) Decode

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

Decode decodes ExportOptions from json.

func (ExportOptions) Encode

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

Encode encodes ExportOptions as json.

func (ExportOptions) GetDocxExportOptions

func (s ExportOptions) GetDocxExportOptions() (v DocxExportOptions, ok bool)

GetDocxExportOptions returns DocxExportOptions and true boolean if ExportOptions is DocxExportOptions.

func (ExportOptions) GetHtmlExportOptions

func (s ExportOptions) GetHtmlExportOptions() (v HtmlExportOptions, ok bool)

GetHtmlExportOptions returns HtmlExportOptions and true boolean if ExportOptions is HtmlExportOptions.

func (ExportOptions) GetPdfExportOptions

func (s ExportOptions) GetPdfExportOptions() (v PdfExportOptions, ok bool)

GetPdfExportOptions returns PdfExportOptions and true boolean if ExportOptions is PdfExportOptions.

func (ExportOptions) GetSegmentedJsonExportOptions

func (s ExportOptions) GetSegmentedJsonExportOptions() (v SegmentedJsonExportOptions, ok bool)

GetSegmentedJsonExportOptions returns SegmentedJsonExportOptions and true boolean if ExportOptions is SegmentedJsonExportOptions.

func (ExportOptions) GetSrtExportOptions

func (s ExportOptions) GetSrtExportOptions() (v SrtExportOptions, ok bool)

GetSrtExportOptions returns SrtExportOptions and true boolean if ExportOptions is SrtExportOptions.

func (ExportOptions) GetTxtExportOptions

func (s ExportOptions) GetTxtExportOptions() (v TxtExportOptions, ok bool)

GetTxtExportOptions returns TxtExportOptions and true boolean if ExportOptions is TxtExportOptions.

func (ExportOptions) IsDocxExportOptions

func (s ExportOptions) IsDocxExportOptions() bool

IsDocxExportOptions reports whether ExportOptions is DocxExportOptions.

func (ExportOptions) IsHtmlExportOptions

func (s ExportOptions) IsHtmlExportOptions() bool

IsHtmlExportOptions reports whether ExportOptions is HtmlExportOptions.

func (ExportOptions) IsPdfExportOptions

func (s ExportOptions) IsPdfExportOptions() bool

IsPdfExportOptions reports whether ExportOptions is PdfExportOptions.

func (ExportOptions) IsSegmentedJsonExportOptions

func (s ExportOptions) IsSegmentedJsonExportOptions() bool

IsSegmentedJsonExportOptions reports whether ExportOptions is SegmentedJsonExportOptions.

func (ExportOptions) IsSrtExportOptions

func (s ExportOptions) IsSrtExportOptions() bool

IsSrtExportOptions reports whether ExportOptions is SrtExportOptions.

func (ExportOptions) IsTxtExportOptions

func (s ExportOptions) IsTxtExportOptions() bool

IsTxtExportOptions reports whether ExportOptions is TxtExportOptions.

func (ExportOptions) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ExportOptions) SetDocxExportOptions

func (s *ExportOptions) SetDocxExportOptions(v DocxExportOptions)

SetDocxExportOptions sets ExportOptions to DocxExportOptions.

func (*ExportOptions) SetHtmlExportOptions

func (s *ExportOptions) SetHtmlExportOptions(v HtmlExportOptions)

SetHtmlExportOptions sets ExportOptions to HtmlExportOptions.

func (*ExportOptions) SetPdfExportOptions

func (s *ExportOptions) SetPdfExportOptions(v PdfExportOptions)

SetPdfExportOptions sets ExportOptions to PdfExportOptions.

func (*ExportOptions) SetSegmentedJsonExportOptions

func (s *ExportOptions) SetSegmentedJsonExportOptions(v SegmentedJsonExportOptions)

SetSegmentedJsonExportOptions sets ExportOptions to SegmentedJsonExportOptions.

func (*ExportOptions) SetSrtExportOptions

func (s *ExportOptions) SetSrtExportOptions(v SrtExportOptions)

SetSrtExportOptions sets ExportOptions to SrtExportOptions.

func (*ExportOptions) SetTxtExportOptions

func (s *ExportOptions) SetTxtExportOptions(v TxtExportOptions)

SetTxtExportOptions sets ExportOptions to TxtExportOptions.

func (*ExportOptions) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ExportOptions) Validate

func (s ExportOptions) Validate() error

type ExportOptionsType

type ExportOptionsType string

ExportOptionsType is oneOf type of ExportOptions.

const (
	SegmentedJsonExportOptionsExportOptions ExportOptionsType = "segmented_json"
	DocxExportOptionsExportOptions          ExportOptionsType = "docx"
	PdfExportOptionsExportOptions           ExportOptionsType = "pdf"
	TxtExportOptionsExportOptions           ExportOptionsType = "txt"
	HtmlExportOptionsExportOptions          ExportOptionsType = "html"
	SrtExportOptionsExportOptions           ExportOptionsType = "srt"
)

Possible values for ExportOptionsType.

type FeatureStatusCommonModel

type FeatureStatusCommonModel struct {
	Enabled OptBool `json:"enabled"`
	Used    OptBool `json:"used"`
}

Ref: #/components/schemas/FeatureStatusCommonModel

func (*FeatureStatusCommonModel) Decode

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

Decode decodes FeatureStatusCommonModel from json.

func (*FeatureStatusCommonModel) Encode

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

Encode implements json.Marshaler.

func (*FeatureStatusCommonModel) GetEnabled

func (s *FeatureStatusCommonModel) GetEnabled() OptBool

GetEnabled returns the value of Enabled.

func (*FeatureStatusCommonModel) GetUsed

func (s *FeatureStatusCommonModel) GetUsed() OptBool

GetUsed returns the value of Used.

func (*FeatureStatusCommonModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*FeatureStatusCommonModel) SetEnabled

func (s *FeatureStatusCommonModel) SetEnabled(val OptBool)

SetEnabled sets the value of Enabled.

func (*FeatureStatusCommonModel) SetUsed

func (s *FeatureStatusCommonModel) SetUsed(val OptBool)

SetUsed sets the value of Used.

func (*FeatureStatusCommonModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type FeaturesUsageCommonModel

type FeaturesUsageCommonModel struct {
	AgentTesting               OptTestsFeatureUsageCommonModel     `json:"agent_testing"`
	DtmfTones                  OptFeatureStatusCommonModel         `json:"dtmf_tones"`
	ExternalMcpServers         OptFeatureStatusCommonModel         `json:"external_mcp_servers"`
	IsLivekit                  OptBool                             `json:"is_livekit"`
	LanguageDetection          OptFeatureStatusCommonModel         `json:"language_detection"`
	Multivoice                 OptFeatureStatusCommonModel         `json:"multivoice"`
	PiiZrmAgent                OptBool                             `json:"pii_zrm_agent"`
	PiiZrmWorkspace            OptBool                             `json:"pii_zrm_workspace"`
	ToolDynamicVariableUpdates OptFeatureStatusCommonModel         `json:"tool_dynamic_variable_updates"`
	TransferToAgent            OptFeatureStatusCommonModel         `json:"transfer_to_agent"`
	TransferToNumber           OptFeatureStatusCommonModel         `json:"transfer_to_number"`
	Versioning                 OptFeatureStatusCommonModel         `json:"versioning"`
	VoicemailDetection         OptFeatureStatusCommonModel         `json:"voicemail_detection"`
	Workflow                   OptWorkflowFeaturesUsageCommonModel `json:"workflow"`
}

Ref: #/components/schemas/FeaturesUsageCommonModel

func (*FeaturesUsageCommonModel) Decode

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

Decode decodes FeaturesUsageCommonModel from json.

func (*FeaturesUsageCommonModel) Encode

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

Encode implements json.Marshaler.

func (*FeaturesUsageCommonModel) GetAgentTesting

GetAgentTesting returns the value of AgentTesting.

func (*FeaturesUsageCommonModel) GetDtmfTones

GetDtmfTones returns the value of DtmfTones.

func (*FeaturesUsageCommonModel) GetExternalMcpServers

func (s *FeaturesUsageCommonModel) GetExternalMcpServers() OptFeatureStatusCommonModel

GetExternalMcpServers returns the value of ExternalMcpServers.

func (*FeaturesUsageCommonModel) GetIsLivekit

func (s *FeaturesUsageCommonModel) GetIsLivekit() OptBool

GetIsLivekit returns the value of IsLivekit.

func (*FeaturesUsageCommonModel) GetLanguageDetection

func (s *FeaturesUsageCommonModel) GetLanguageDetection() OptFeatureStatusCommonModel

GetLanguageDetection returns the value of LanguageDetection.

func (*FeaturesUsageCommonModel) GetMultivoice

GetMultivoice returns the value of Multivoice.

func (*FeaturesUsageCommonModel) GetPiiZrmAgent

func (s *FeaturesUsageCommonModel) GetPiiZrmAgent() OptBool

GetPiiZrmAgent returns the value of PiiZrmAgent.

func (*FeaturesUsageCommonModel) GetPiiZrmWorkspace

func (s *FeaturesUsageCommonModel) GetPiiZrmWorkspace() OptBool

GetPiiZrmWorkspace returns the value of PiiZrmWorkspace.

func (*FeaturesUsageCommonModel) GetToolDynamicVariableUpdates

func (s *FeaturesUsageCommonModel) GetToolDynamicVariableUpdates() OptFeatureStatusCommonModel

GetToolDynamicVariableUpdates returns the value of ToolDynamicVariableUpdates.

func (*FeaturesUsageCommonModel) GetTransferToAgent

func (s *FeaturesUsageCommonModel) GetTransferToAgent() OptFeatureStatusCommonModel

GetTransferToAgent returns the value of TransferToAgent.

func (*FeaturesUsageCommonModel) GetTransferToNumber

func (s *FeaturesUsageCommonModel) GetTransferToNumber() OptFeatureStatusCommonModel

GetTransferToNumber returns the value of TransferToNumber.

func (*FeaturesUsageCommonModel) GetVersioning

GetVersioning returns the value of Versioning.

func (*FeaturesUsageCommonModel) GetVoicemailDetection

func (s *FeaturesUsageCommonModel) GetVoicemailDetection() OptFeatureStatusCommonModel

GetVoicemailDetection returns the value of VoicemailDetection.

func (*FeaturesUsageCommonModel) GetWorkflow

GetWorkflow returns the value of Workflow.

func (*FeaturesUsageCommonModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*FeaturesUsageCommonModel) SetAgentTesting

SetAgentTesting sets the value of AgentTesting.

func (*FeaturesUsageCommonModel) SetDtmfTones

SetDtmfTones sets the value of DtmfTones.

func (*FeaturesUsageCommonModel) SetExternalMcpServers

func (s *FeaturesUsageCommonModel) SetExternalMcpServers(val OptFeatureStatusCommonModel)

SetExternalMcpServers sets the value of ExternalMcpServers.

func (*FeaturesUsageCommonModel) SetIsLivekit

func (s *FeaturesUsageCommonModel) SetIsLivekit(val OptBool)

SetIsLivekit sets the value of IsLivekit.

func (*FeaturesUsageCommonModel) SetLanguageDetection

func (s *FeaturesUsageCommonModel) SetLanguageDetection(val OptFeatureStatusCommonModel)

SetLanguageDetection sets the value of LanguageDetection.

func (*FeaturesUsageCommonModel) SetMultivoice

SetMultivoice sets the value of Multivoice.

func (*FeaturesUsageCommonModel) SetPiiZrmAgent

func (s *FeaturesUsageCommonModel) SetPiiZrmAgent(val OptBool)

SetPiiZrmAgent sets the value of PiiZrmAgent.

func (*FeaturesUsageCommonModel) SetPiiZrmWorkspace

func (s *FeaturesUsageCommonModel) SetPiiZrmWorkspace(val OptBool)

SetPiiZrmWorkspace sets the value of PiiZrmWorkspace.

func (*FeaturesUsageCommonModel) SetToolDynamicVariableUpdates

func (s *FeaturesUsageCommonModel) SetToolDynamicVariableUpdates(val OptFeatureStatusCommonModel)

SetToolDynamicVariableUpdates sets the value of ToolDynamicVariableUpdates.

func (*FeaturesUsageCommonModel) SetTransferToAgent

func (s *FeaturesUsageCommonModel) SetTransferToAgent(val OptFeatureStatusCommonModel)

SetTransferToAgent sets the value of TransferToAgent.

func (*FeaturesUsageCommonModel) SetTransferToNumber

func (s *FeaturesUsageCommonModel) SetTransferToNumber(val OptFeatureStatusCommonModel)

SetTransferToNumber sets the value of TransferToNumber.

func (*FeaturesUsageCommonModel) SetVersioning

SetVersioning sets the value of Versioning.

func (*FeaturesUsageCommonModel) SetVoicemailDetection

func (s *FeaturesUsageCommonModel) SetVoicemailDetection(val OptFeatureStatusCommonModel)

SetVoicemailDetection sets the value of VoicemailDetection.

func (*FeaturesUsageCommonModel) SetWorkflow

SetWorkflow sets the value of Workflow.

func (*FeaturesUsageCommonModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type FeedbackResponseModel

type FeedbackResponseModel struct {
	// Whether the user thinks the audio quality is good.
	AudioQuality bool `json:"audio_quality"`
	// Whether the user provided emotions.
	Emotions bool `json:"emotions"`
	// The feedback text provided by the user.
	Feedback string `json:"feedback"`
	// Whether the user thinks there are glitches in the audio.
	Glitches bool `json:"glitches"`
	// Whether the user thinks the clone is inaccurate.
	InaccurateClone bool `json:"inaccurate_clone"`
	// Whether the user provided other feedback.
	Other bool `json:"other"`
	// The review status of the item. Defaults to 'not_reviewed'.
	ReviewStatus OptString `json:"review_status"`
	// Whether the user liked the generated item.
	ThumbsUp bool `json:"thumbs_up"`
}

Ref: #/components/schemas/FeedbackResponseModel

func (*FeedbackResponseModel) Decode

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

Decode decodes FeedbackResponseModel from json.

func (*FeedbackResponseModel) Encode

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

Encode implements json.Marshaler.

func (*FeedbackResponseModel) GetAudioQuality

func (s *FeedbackResponseModel) GetAudioQuality() bool

GetAudioQuality returns the value of AudioQuality.

func (*FeedbackResponseModel) GetEmotions

func (s *FeedbackResponseModel) GetEmotions() bool

GetEmotions returns the value of Emotions.

func (*FeedbackResponseModel) GetFeedback

func (s *FeedbackResponseModel) GetFeedback() string

GetFeedback returns the value of Feedback.

func (*FeedbackResponseModel) GetGlitches

func (s *FeedbackResponseModel) GetGlitches() bool

GetGlitches returns the value of Glitches.

func (*FeedbackResponseModel) GetInaccurateClone

func (s *FeedbackResponseModel) GetInaccurateClone() bool

GetInaccurateClone returns the value of InaccurateClone.

func (*FeedbackResponseModel) GetOther

func (s *FeedbackResponseModel) GetOther() bool

GetOther returns the value of Other.

func (*FeedbackResponseModel) GetReviewStatus

func (s *FeedbackResponseModel) GetReviewStatus() OptString

GetReviewStatus returns the value of ReviewStatus.

func (*FeedbackResponseModel) GetThumbsUp

func (s *FeedbackResponseModel) GetThumbsUp() bool

GetThumbsUp returns the value of ThumbsUp.

func (*FeedbackResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*FeedbackResponseModel) SetAudioQuality

func (s *FeedbackResponseModel) SetAudioQuality(val bool)

SetAudioQuality sets the value of AudioQuality.

func (*FeedbackResponseModel) SetEmotions

func (s *FeedbackResponseModel) SetEmotions(val bool)

SetEmotions sets the value of Emotions.

func (*FeedbackResponseModel) SetFeedback

func (s *FeedbackResponseModel) SetFeedback(val string)

SetFeedback sets the value of Feedback.

func (*FeedbackResponseModel) SetGlitches

func (s *FeedbackResponseModel) SetGlitches(val bool)

SetGlitches sets the value of Glitches.

func (*FeedbackResponseModel) SetInaccurateClone

func (s *FeedbackResponseModel) SetInaccurateClone(val bool)

SetInaccurateClone sets the value of InaccurateClone.

func (*FeedbackResponseModel) SetOther

func (s *FeedbackResponseModel) SetOther(val bool)

SetOther sets the value of Other.

func (*FeedbackResponseModel) SetReviewStatus

func (s *FeedbackResponseModel) SetReviewStatus(val OptString)

SetReviewStatus sets the value of ReviewStatus.

func (*FeedbackResponseModel) SetThumbsUp

func (s *FeedbackResponseModel) SetThumbsUp(val bool)

SetThumbsUp sets the value of ThumbsUp.

func (*FeedbackResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type FineTuningResponseModel

type FineTuningResponseModel struct {
	// The duration of the dataset in seconds.
	DatasetDurationSeconds OptNilFloat64 `json:"dataset_duration_seconds"`
	// Whether the user is allowed to fine-tune the voice.
	IsAllowedToFineTune bool `json:"is_allowed_to_fine_tune"`
	// The language of the fine-tuning process.
	Language OptNilString `json:"language"`
	// The manual verification of the fine-tuning process.
	ManualVerification OptManualVerificationResponseModel `json:"manual_verification"`
	// Whether a manual verification was requested for the fine-tuning process.
	ManualVerificationRequested bool `json:"manual_verification_requested"`
	// The maximum number of verification attempts.
	MaxVerificationAttempts OptNilInt `json:"max_verification_attempts"`
	// The message of the fine-tuning process.
	Message OptNilFineTuningResponseModelMessage `json:"message"`
	// The next maximum verification attempts reset time in Unix milliseconds.
	NextMaxVerificationAttemptsResetUnixMs OptNilInt `json:"next_max_verification_attempts_reset_unix_ms"`
	// The progress of the fine-tuning process.
	Progress OptNilFineTuningResponseModelProgress `json:"progress"`
	// List of slice IDs.
	SliceIds OptNilStringArray `json:"slice_ids"`
	// The state of the fine-tuning process for each model.
	State FineTuningResponseModelState `json:"state"`
	// The number of verification attempts.
	VerificationAttempts OptNilVerificationAttemptResponseModelArray `json:"verification_attempts"`
	// The number of verification attempts in the fine-tuning process.
	VerificationAttemptsCount int `json:"verification_attempts_count"`
	// List of verification failures in the fine-tuning process.
	VerificationFailures []string `json:"verification_failures"`
}

Ref: #/components/schemas/FineTuningResponseModel

func (*FineTuningResponseModel) Decode

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

Decode decodes FineTuningResponseModel from json.

func (*FineTuningResponseModel) Encode

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

Encode implements json.Marshaler.

func (*FineTuningResponseModel) GetDatasetDurationSeconds

func (s *FineTuningResponseModel) GetDatasetDurationSeconds() OptNilFloat64

GetDatasetDurationSeconds returns the value of DatasetDurationSeconds.

func (*FineTuningResponseModel) GetIsAllowedToFineTune

func (s *FineTuningResponseModel) GetIsAllowedToFineTune() bool

GetIsAllowedToFineTune returns the value of IsAllowedToFineTune.

func (*FineTuningResponseModel) GetLanguage

func (s *FineTuningResponseModel) GetLanguage() OptNilString

GetLanguage returns the value of Language.

func (*FineTuningResponseModel) GetManualVerification

GetManualVerification returns the value of ManualVerification.

func (*FineTuningResponseModel) GetManualVerificationRequested

func (s *FineTuningResponseModel) GetManualVerificationRequested() bool

GetManualVerificationRequested returns the value of ManualVerificationRequested.

func (*FineTuningResponseModel) GetMaxVerificationAttempts

func (s *FineTuningResponseModel) GetMaxVerificationAttempts() OptNilInt

GetMaxVerificationAttempts returns the value of MaxVerificationAttempts.

func (*FineTuningResponseModel) GetMessage

GetMessage returns the value of Message.

func (*FineTuningResponseModel) GetNextMaxVerificationAttemptsResetUnixMs

func (s *FineTuningResponseModel) GetNextMaxVerificationAttemptsResetUnixMs() OptNilInt

GetNextMaxVerificationAttemptsResetUnixMs returns the value of NextMaxVerificationAttemptsResetUnixMs.

func (*FineTuningResponseModel) GetProgress

GetProgress returns the value of Progress.

func (*FineTuningResponseModel) GetSliceIds

func (s *FineTuningResponseModel) GetSliceIds() OptNilStringArray

GetSliceIds returns the value of SliceIds.

func (*FineTuningResponseModel) GetState

GetState returns the value of State.

func (*FineTuningResponseModel) GetVerificationAttempts

GetVerificationAttempts returns the value of VerificationAttempts.

func (*FineTuningResponseModel) GetVerificationAttemptsCount

func (s *FineTuningResponseModel) GetVerificationAttemptsCount() int

GetVerificationAttemptsCount returns the value of VerificationAttemptsCount.

func (*FineTuningResponseModel) GetVerificationFailures

func (s *FineTuningResponseModel) GetVerificationFailures() []string

GetVerificationFailures returns the value of VerificationFailures.

func (*FineTuningResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*FineTuningResponseModel) SetDatasetDurationSeconds

func (s *FineTuningResponseModel) SetDatasetDurationSeconds(val OptNilFloat64)

SetDatasetDurationSeconds sets the value of DatasetDurationSeconds.

func (*FineTuningResponseModel) SetIsAllowedToFineTune

func (s *FineTuningResponseModel) SetIsAllowedToFineTune(val bool)

SetIsAllowedToFineTune sets the value of IsAllowedToFineTune.

func (*FineTuningResponseModel) SetLanguage

func (s *FineTuningResponseModel) SetLanguage(val OptNilString)

SetLanguage sets the value of Language.

func (*FineTuningResponseModel) SetManualVerification

func (s *FineTuningResponseModel) SetManualVerification(val OptManualVerificationResponseModel)

SetManualVerification sets the value of ManualVerification.

func (*FineTuningResponseModel) SetManualVerificationRequested

func (s *FineTuningResponseModel) SetManualVerificationRequested(val bool)

SetManualVerificationRequested sets the value of ManualVerificationRequested.

func (*FineTuningResponseModel) SetMaxVerificationAttempts

func (s *FineTuningResponseModel) SetMaxVerificationAttempts(val OptNilInt)

SetMaxVerificationAttempts sets the value of MaxVerificationAttempts.

func (*FineTuningResponseModel) SetMessage

SetMessage sets the value of Message.

func (*FineTuningResponseModel) SetNextMaxVerificationAttemptsResetUnixMs

func (s *FineTuningResponseModel) SetNextMaxVerificationAttemptsResetUnixMs(val OptNilInt)

SetNextMaxVerificationAttemptsResetUnixMs sets the value of NextMaxVerificationAttemptsResetUnixMs.

func (*FineTuningResponseModel) SetProgress

SetProgress sets the value of Progress.

func (*FineTuningResponseModel) SetSliceIds

func (s *FineTuningResponseModel) SetSliceIds(val OptNilStringArray)

SetSliceIds sets the value of SliceIds.

func (*FineTuningResponseModel) SetState

SetState sets the value of State.

func (*FineTuningResponseModel) SetVerificationAttempts

SetVerificationAttempts sets the value of VerificationAttempts.

func (*FineTuningResponseModel) SetVerificationAttemptsCount

func (s *FineTuningResponseModel) SetVerificationAttemptsCount(val int)

SetVerificationAttemptsCount sets the value of VerificationAttemptsCount.

func (*FineTuningResponseModel) SetVerificationFailures

func (s *FineTuningResponseModel) SetVerificationFailures(val []string)

SetVerificationFailures sets the value of VerificationFailures.

func (*FineTuningResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FineTuningResponseModel) Validate

func (s *FineTuningResponseModel) Validate() error

type FineTuningResponseModelMessage

type FineTuningResponseModelMessage map[string]string

The message of the fine-tuning process.

func (*FineTuningResponseModelMessage) Decode

Decode decodes FineTuningResponseModelMessage from json.

func (FineTuningResponseModelMessage) Encode

Encode implements json.Marshaler.

func (FineTuningResponseModelMessage) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*FineTuningResponseModelMessage) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type FineTuningResponseModelProgress

type FineTuningResponseModelProgress map[string]float64

The progress of the fine-tuning process.

func (*FineTuningResponseModelProgress) Decode

Decode decodes FineTuningResponseModelProgress from json.

func (FineTuningResponseModelProgress) Encode

Encode implements json.Marshaler.

func (FineTuningResponseModelProgress) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*FineTuningResponseModelProgress) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (FineTuningResponseModelProgress) Validate

type FineTuningResponseModelState

type FineTuningResponseModelState map[string]FineTuningResponseModelStateItem

The state of the fine-tuning process for each model.

func (*FineTuningResponseModelState) Decode

Decode decodes FineTuningResponseModelState from json.

func (FineTuningResponseModelState) Encode

Encode implements json.Marshaler.

func (FineTuningResponseModelState) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*FineTuningResponseModelState) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (FineTuningResponseModelState) Validate

func (s FineTuningResponseModelState) Validate() error

type FineTuningResponseModelStateItem

type FineTuningResponseModelStateItem string
const (
	FineTuningResponseModelStateItemNotStarted FineTuningResponseModelStateItem = "not_started"
	FineTuningResponseModelStateItemQueued     FineTuningResponseModelStateItem = "queued"
	FineTuningResponseModelStateItemFineTuning FineTuningResponseModelStateItem = "fine_tuning"
	FineTuningResponseModelStateItemFineTuned  FineTuningResponseModelStateItem = "fine_tuned"
	FineTuningResponseModelStateItemFailed     FineTuningResponseModelStateItem = "failed"
	FineTuningResponseModelStateItemDelayed    FineTuningResponseModelStateItem = "delayed"
)

func (FineTuningResponseModelStateItem) AllValues

AllValues returns all FineTuningResponseModelStateItem values.

func (*FineTuningResponseModelStateItem) Decode

Decode decodes FineTuningResponseModelStateItem from json.

func (FineTuningResponseModelStateItem) Encode

Encode encodes FineTuningResponseModelStateItem as json.

func (FineTuningResponseModelStateItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (FineTuningResponseModelStateItem) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*FineTuningResponseModelStateItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FineTuningResponseModelStateItem) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (FineTuningResponseModelStateItem) Validate

type ForcedAlignmentCharacterResponseModel

type ForcedAlignmentCharacterResponseModel struct {
	// The end time of the character in seconds.
	End float64 `json:"end"`
	// The start time of the character in seconds.
	Start float64 `json:"start"`
	// The character that was transcribed.
	Text string `json:"text"`
}

Model representing a single character with its timing information from the aligner. Ref: #/components/schemas/ForcedAlignmentCharacterResponseModel

func (*ForcedAlignmentCharacterResponseModel) Decode

Decode decodes ForcedAlignmentCharacterResponseModel from json.

func (*ForcedAlignmentCharacterResponseModel) Encode

Encode implements json.Marshaler.

func (*ForcedAlignmentCharacterResponseModel) GetEnd

GetEnd returns the value of End.

func (*ForcedAlignmentCharacterResponseModel) GetStart

GetStart returns the value of Start.

func (*ForcedAlignmentCharacterResponseModel) GetText

GetText returns the value of Text.

func (*ForcedAlignmentCharacterResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ForcedAlignmentCharacterResponseModel) SetEnd

SetEnd sets the value of End.

func (*ForcedAlignmentCharacterResponseModel) SetStart

SetStart sets the value of Start.

func (*ForcedAlignmentCharacterResponseModel) SetText

SetText sets the value of Text.

func (*ForcedAlignmentCharacterResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ForcedAlignmentCharacterResponseModel) Validate

type ForcedAlignmentParams

type ForcedAlignmentParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

ForcedAlignmentParams is parameters of forced_alignment operation.

type ForcedAlignmentRes

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

type ForcedAlignmentResponseModel

type ForcedAlignmentResponseModel struct {
	// List of characters with their timing information.
	Characters []ForcedAlignmentCharacterResponseModel `json:"characters"`
	// The average alignment loss/confidence score for the entire transcript, calculated from all
	// characters.
	Loss float64 `json:"loss"`
	// List of words with their timing information.
	Words []ForcedAlignmentWordResponseModel `json:"words"`
}

Model representing the response from the aligner service. Ref: #/components/schemas/ForcedAlignmentResponseModel

func (*ForcedAlignmentResponseModel) Decode

Decode decodes ForcedAlignmentResponseModel from json.

func (*ForcedAlignmentResponseModel) Encode

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

Encode implements json.Marshaler.

func (*ForcedAlignmentResponseModel) GetCharacters

GetCharacters returns the value of Characters.

func (*ForcedAlignmentResponseModel) GetLoss

GetLoss returns the value of Loss.

func (*ForcedAlignmentResponseModel) GetWords

GetWords returns the value of Words.

func (*ForcedAlignmentResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ForcedAlignmentResponseModel) SetCharacters

SetCharacters sets the value of Characters.

func (*ForcedAlignmentResponseModel) SetLoss

func (s *ForcedAlignmentResponseModel) SetLoss(val float64)

SetLoss sets the value of Loss.

func (*ForcedAlignmentResponseModel) SetWords

SetWords sets the value of Words.

func (*ForcedAlignmentResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ForcedAlignmentResponseModel) Validate

func (s *ForcedAlignmentResponseModel) Validate() error

type ForcedAlignmentWordResponseModel

type ForcedAlignmentWordResponseModel struct {
	// The end time of the word in seconds.
	End float64 `json:"end"`
	// The average alignment loss/confidence score for this word, calculated from its constituent
	// characters.
	Loss float64 `json:"loss"`
	// The start time of the word in seconds.
	Start float64 `json:"start"`
	// The word that was transcribed.
	Text string `json:"text"`
}

Model representing a single word with its timing information from the aligner. Ref: #/components/schemas/ForcedAlignmentWordResponseModel

func (*ForcedAlignmentWordResponseModel) Decode

Decode decodes ForcedAlignmentWordResponseModel from json.

func (*ForcedAlignmentWordResponseModel) Encode

Encode implements json.Marshaler.

func (*ForcedAlignmentWordResponseModel) GetEnd

GetEnd returns the value of End.

func (*ForcedAlignmentWordResponseModel) GetLoss

GetLoss returns the value of Loss.

func (*ForcedAlignmentWordResponseModel) GetStart

GetStart returns the value of Start.

func (*ForcedAlignmentWordResponseModel) GetText

GetText returns the value of Text.

func (*ForcedAlignmentWordResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ForcedAlignmentWordResponseModel) SetEnd

SetEnd sets the value of End.

func (*ForcedAlignmentWordResponseModel) SetLoss

func (s *ForcedAlignmentWordResponseModel) SetLoss(val float64)

SetLoss sets the value of Loss.

func (*ForcedAlignmentWordResponseModel) SetStart

func (s *ForcedAlignmentWordResponseModel) SetStart(val float64)

SetStart sets the value of Start.

func (*ForcedAlignmentWordResponseModel) SetText

func (s *ForcedAlignmentWordResponseModel) SetText(val string)

SetText sets the value of Text.

func (*ForcedAlignmentWordResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ForcedAlignmentWordResponseModel) Validate

type GenerateOK

type GenerateOK struct {
	Data io.Reader
}

func (GenerateOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GenerateOKHeaders

type GenerateOKHeaders struct {
	ContentType string
	SongID      OptString
	Response    GenerateOK
}

GenerateOKHeaders wraps GenerateOK with response headers.

func (*GenerateOKHeaders) GetContentType

func (s *GenerateOKHeaders) GetContentType() string

GetContentType returns the value of ContentType.

func (*GenerateOKHeaders) GetResponse

func (s *GenerateOKHeaders) GetResponse() GenerateOK

GetResponse returns the value of Response.

func (*GenerateOKHeaders) GetSongID

func (s *GenerateOKHeaders) GetSongID() OptString

GetSongID returns the value of SongID.

func (*GenerateOKHeaders) SetContentType

func (s *GenerateOKHeaders) SetContentType(val string)

SetContentType sets the value of ContentType.

func (*GenerateOKHeaders) SetResponse

func (s *GenerateOKHeaders) SetResponse(val GenerateOK)

SetResponse sets the value of Response.

func (*GenerateOKHeaders) SetSongID

func (s *GenerateOKHeaders) SetSongID(val OptString)

SetSongID sets the value of SongID.

type GenerateOutputFormat

type GenerateOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	GenerateOutputFormatMp32205032   GenerateOutputFormat = "mp3_22050_32"
	GenerateOutputFormatMp32400048   GenerateOutputFormat = "mp3_24000_48"
	GenerateOutputFormatMp34410032   GenerateOutputFormat = "mp3_44100_32"
	GenerateOutputFormatMp34410064   GenerateOutputFormat = "mp3_44100_64"
	GenerateOutputFormatMp34410096   GenerateOutputFormat = "mp3_44100_96"
	GenerateOutputFormatMp344100128  GenerateOutputFormat = "mp3_44100_128"
	GenerateOutputFormatMp344100192  GenerateOutputFormat = "mp3_44100_192"
	GenerateOutputFormatPcm8000      GenerateOutputFormat = "pcm_8000"
	GenerateOutputFormatPcm16000     GenerateOutputFormat = "pcm_16000"
	GenerateOutputFormatPcm22050     GenerateOutputFormat = "pcm_22050"
	GenerateOutputFormatPcm24000     GenerateOutputFormat = "pcm_24000"
	GenerateOutputFormatPcm32000     GenerateOutputFormat = "pcm_32000"
	GenerateOutputFormatPcm44100     GenerateOutputFormat = "pcm_44100"
	GenerateOutputFormatPcm48000     GenerateOutputFormat = "pcm_48000"
	GenerateOutputFormatUlaw8000     GenerateOutputFormat = "ulaw_8000"
	GenerateOutputFormatAlaw8000     GenerateOutputFormat = "alaw_8000"
	GenerateOutputFormatOpus4800032  GenerateOutputFormat = "opus_48000_32"
	GenerateOutputFormatOpus4800064  GenerateOutputFormat = "opus_48000_64"
	GenerateOutputFormatOpus4800096  GenerateOutputFormat = "opus_48000_96"
	GenerateOutputFormatOpus48000128 GenerateOutputFormat = "opus_48000_128"
	GenerateOutputFormatOpus48000192 GenerateOutputFormat = "opus_48000_192"
)

func (GenerateOutputFormat) AllValues

AllValues returns all GenerateOutputFormat values.

func (GenerateOutputFormat) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*GenerateOutputFormat) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (GenerateOutputFormat) Validate

func (s GenerateOutputFormat) Validate() error

type GenerateParams

type GenerateParams struct {
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptGenerateOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GenerateParams is parameters of generate operation.

type GenerateRandomVoiceOK

type GenerateRandomVoiceOK struct {
	Data io.Reader
}

func (GenerateRandomVoiceOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GenerateRandomVoiceParams

type GenerateRandomVoiceParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GenerateRandomVoiceParams is parameters of generate_random_voice operation.

type GenerateRandomVoiceRes

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

type GenerateRes

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

type GetAgentKnowledgeBaseSizeParams

type GetAgentKnowledgeBaseSizeParams struct {
	AgentID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetAgentKnowledgeBaseSizeParams is parameters of get_agent_knowledge_base_size operation.

type GetAgentKnowledgeBaseSizeRes

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

type GetAgentKnowledgeBaseSummariesRouteOK

type GetAgentKnowledgeBaseSummariesRouteOK map[string]GetAgentKnowledgeBaseSummariesRouteOKItem

func (*GetAgentKnowledgeBaseSummariesRouteOK) Decode

Decode decodes GetAgentKnowledgeBaseSummariesRouteOK from json.

func (GetAgentKnowledgeBaseSummariesRouteOK) Encode

Encode implements json.Marshaler.

func (GetAgentKnowledgeBaseSummariesRouteOK) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAgentKnowledgeBaseSummariesRouteOK) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetAgentKnowledgeBaseSummariesRouteOK) Validate

type GetAgentKnowledgeBaseSummariesRouteOKItem

type GetAgentKnowledgeBaseSummariesRouteOKItem struct {
	Type                                             GetAgentKnowledgeBaseSummariesRouteOKItemType // switch on this field
	KnowledgeBaseSummaryBatchSuccessfulResponseModel KnowledgeBaseSummaryBatchSuccessfulResponseModel
	BatchFailureResponseModel                        BatchFailureResponseModel
}

GetAgentKnowledgeBaseSummariesRouteOKItem represents sum type.

func NewBatchFailureResponseModelGetAgentKnowledgeBaseSummariesRouteOKItem

func NewBatchFailureResponseModelGetAgentKnowledgeBaseSummariesRouteOKItem(v BatchFailureResponseModel) GetAgentKnowledgeBaseSummariesRouteOKItem

NewBatchFailureResponseModelGetAgentKnowledgeBaseSummariesRouteOKItem returns new GetAgentKnowledgeBaseSummariesRouteOKItem from BatchFailureResponseModel.

func NewKnowledgeBaseSummaryBatchSuccessfulResponseModelGetAgentKnowledgeBaseSummariesRouteOKItem

func NewKnowledgeBaseSummaryBatchSuccessfulResponseModelGetAgentKnowledgeBaseSummariesRouteOKItem(v KnowledgeBaseSummaryBatchSuccessfulResponseModel) GetAgentKnowledgeBaseSummariesRouteOKItem

NewKnowledgeBaseSummaryBatchSuccessfulResponseModelGetAgentKnowledgeBaseSummariesRouteOKItem returns new GetAgentKnowledgeBaseSummariesRouteOKItem from KnowledgeBaseSummaryBatchSuccessfulResponseModel.

func (*GetAgentKnowledgeBaseSummariesRouteOKItem) Decode

Decode decodes GetAgentKnowledgeBaseSummariesRouteOKItem from json.

func (GetAgentKnowledgeBaseSummariesRouteOKItem) Encode

Encode encodes GetAgentKnowledgeBaseSummariesRouteOKItem as json.

func (GetAgentKnowledgeBaseSummariesRouteOKItem) GetBatchFailureResponseModel

func (s GetAgentKnowledgeBaseSummariesRouteOKItem) GetBatchFailureResponseModel() (v BatchFailureResponseModel, ok bool)

GetBatchFailureResponseModel returns BatchFailureResponseModel and true boolean if GetAgentKnowledgeBaseSummariesRouteOKItem is BatchFailureResponseModel.

func (GetAgentKnowledgeBaseSummariesRouteOKItem) GetKnowledgeBaseSummaryBatchSuccessfulResponseModel

func (s GetAgentKnowledgeBaseSummariesRouteOKItem) GetKnowledgeBaseSummaryBatchSuccessfulResponseModel() (v KnowledgeBaseSummaryBatchSuccessfulResponseModel, ok bool)

GetKnowledgeBaseSummaryBatchSuccessfulResponseModel returns KnowledgeBaseSummaryBatchSuccessfulResponseModel and true boolean if GetAgentKnowledgeBaseSummariesRouteOKItem is KnowledgeBaseSummaryBatchSuccessfulResponseModel.

func (GetAgentKnowledgeBaseSummariesRouteOKItem) IsBatchFailureResponseModel

func (s GetAgentKnowledgeBaseSummariesRouteOKItem) IsBatchFailureResponseModel() bool

IsBatchFailureResponseModel reports whether GetAgentKnowledgeBaseSummariesRouteOKItem is BatchFailureResponseModel.

func (GetAgentKnowledgeBaseSummariesRouteOKItem) IsKnowledgeBaseSummaryBatchSuccessfulResponseModel

func (s GetAgentKnowledgeBaseSummariesRouteOKItem) IsKnowledgeBaseSummaryBatchSuccessfulResponseModel() bool

IsKnowledgeBaseSummaryBatchSuccessfulResponseModel reports whether GetAgentKnowledgeBaseSummariesRouteOKItem is KnowledgeBaseSummaryBatchSuccessfulResponseModel.

func (GetAgentKnowledgeBaseSummariesRouteOKItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetAgentKnowledgeBaseSummariesRouteOKItem) SetBatchFailureResponseModel

func (s *GetAgentKnowledgeBaseSummariesRouteOKItem) SetBatchFailureResponseModel(v BatchFailureResponseModel)

SetBatchFailureResponseModel sets GetAgentKnowledgeBaseSummariesRouteOKItem to BatchFailureResponseModel.

func (*GetAgentKnowledgeBaseSummariesRouteOKItem) SetKnowledgeBaseSummaryBatchSuccessfulResponseModel

func (s *GetAgentKnowledgeBaseSummariesRouteOKItem) SetKnowledgeBaseSummaryBatchSuccessfulResponseModel(v KnowledgeBaseSummaryBatchSuccessfulResponseModel)

SetKnowledgeBaseSummaryBatchSuccessfulResponseModel sets GetAgentKnowledgeBaseSummariesRouteOKItem to KnowledgeBaseSummaryBatchSuccessfulResponseModel.

func (*GetAgentKnowledgeBaseSummariesRouteOKItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetAgentKnowledgeBaseSummariesRouteOKItem) Validate

type GetAgentKnowledgeBaseSummariesRouteOKItemType

type GetAgentKnowledgeBaseSummariesRouteOKItemType string

GetAgentKnowledgeBaseSummariesRouteOKItemType is oneOf type of GetAgentKnowledgeBaseSummariesRouteOKItem.

const (
	KnowledgeBaseSummaryBatchSuccessfulResponseModelGetAgentKnowledgeBaseSummariesRouteOKItem GetAgentKnowledgeBaseSummariesRouteOKItemType = "success"
	BatchFailureResponseModelGetAgentKnowledgeBaseSummariesRouteOKItem                        GetAgentKnowledgeBaseSummariesRouteOKItemType = "failure"
)

Possible values for GetAgentKnowledgeBaseSummariesRouteOKItemType.

type GetAgentKnowledgeBaseSummariesRouteParams

type GetAgentKnowledgeBaseSummariesRouteParams struct {
	// The ids of knowledge base documents.
	DocumentIds []string `json:",omitempty"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetAgentKnowledgeBaseSummariesRouteParams is parameters of get_agent_knowledge_base_summaries_route operation.

type GetAgentKnowledgeBaseSummariesRouteRes

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

type GetAgentKnowledgebaseSizeResponseModel

type GetAgentKnowledgebaseSizeResponseModel struct {
	NumberOfPages float64 `json:"number_of_pages"`
}

Ref: #/components/schemas/GetAgentKnowledgebaseSizeResponseModel

func (*GetAgentKnowledgebaseSizeResponseModel) Decode

Decode decodes GetAgentKnowledgebaseSizeResponseModel from json.

func (*GetAgentKnowledgebaseSizeResponseModel) Encode

Encode implements json.Marshaler.

func (*GetAgentKnowledgebaseSizeResponseModel) GetNumberOfPages

func (s *GetAgentKnowledgebaseSizeResponseModel) GetNumberOfPages() float64

GetNumberOfPages returns the value of NumberOfPages.

func (*GetAgentKnowledgebaseSizeResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAgentKnowledgebaseSizeResponseModel) SetNumberOfPages

func (s *GetAgentKnowledgebaseSizeResponseModel) SetNumberOfPages(val float64)

SetNumberOfPages sets the value of NumberOfPages.

func (*GetAgentKnowledgebaseSizeResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetAgentKnowledgebaseSizeResponseModel) Validate

type GetAgentLinkResponseModel

type GetAgentLinkResponseModel struct {
	// The ID of the agent.
	AgentID string `json:"agent_id"`
	// The token data for the agent.
	Token OptConversationTokenDBModel `json:"token"`
}

Ref: #/components/schemas/GetAgentLinkResponseModel

func (*GetAgentLinkResponseModel) Decode

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

Decode decodes GetAgentLinkResponseModel from json.

func (*GetAgentLinkResponseModel) Encode

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

Encode implements json.Marshaler.

func (*GetAgentLinkResponseModel) GetAgentID

func (s *GetAgentLinkResponseModel) GetAgentID() string

GetAgentID returns the value of AgentID.

func (*GetAgentLinkResponseModel) GetToken

GetToken returns the value of Token.

func (*GetAgentLinkResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAgentLinkResponseModel) SetAgentID

func (s *GetAgentLinkResponseModel) SetAgentID(val string)

SetAgentID sets the value of AgentID.

func (*GetAgentLinkResponseModel) SetToken

SetToken sets the value of Token.

func (*GetAgentLinkResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetAgentLinkResponseModel) Validate

func (s *GetAgentLinkResponseModel) Validate() error

type GetAgentLinkRouteParams

type GetAgentLinkRouteParams struct {
	// The id of an agent. This is returned on agent creation.
	AgentID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetAgentLinkRouteParams is parameters of get_agent_link_route operation.

type GetAgentLinkRouteRes

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

type GetAgentLlmExpectedCostCalculationParams

type GetAgentLlmExpectedCostCalculationParams struct {
	AgentID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetAgentLlmExpectedCostCalculationParams is parameters of get_agent_llm_expected_cost_calculation operation.

type GetAgentLlmExpectedCostCalculationRes

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

type GetAgentResponseTestRouteParams

type GetAgentResponseTestRouteParams struct {
	// The id of a chat response test. This is returned on test creation.
	TestID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetAgentResponseTestRouteParams is parameters of get_agent_response_test_route operation.

type GetAgentResponseTestRouteRes

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

type GetAgentResponseTestsSummariesRouteParams

type GetAgentResponseTestsSummariesRouteParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetAgentResponseTestsSummariesRouteParams is parameters of get_agent_response_tests_summaries_route operation.

type GetAgentResponseTestsSummariesRouteRes

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

type GetAgentsPageResponseModel

type GetAgentsPageResponseModel struct {
	// A list of agents and their metadata.
	Agents []AgentSummaryResponseModel `json:"agents"`
	// Whether there are more agents to paginate through.
	HasMore bool `json:"has_more"`
	// The next cursor to paginate through the agents.
	NextCursor OptNilString `json:"next_cursor"`
}

Ref: #/components/schemas/GetAgentsPageResponseModel

func (*GetAgentsPageResponseModel) Decode

Decode decodes GetAgentsPageResponseModel from json.

func (*GetAgentsPageResponseModel) Encode

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

Encode implements json.Marshaler.

func (*GetAgentsPageResponseModel) GetAgents

GetAgents returns the value of Agents.

func (*GetAgentsPageResponseModel) GetHasMore

func (s *GetAgentsPageResponseModel) GetHasMore() bool

GetHasMore returns the value of HasMore.

func (*GetAgentsPageResponseModel) GetNextCursor

func (s *GetAgentsPageResponseModel) GetNextCursor() OptNilString

GetNextCursor returns the value of NextCursor.

func (*GetAgentsPageResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetAgentsPageResponseModel) SetAgents

SetAgents sets the value of Agents.

func (*GetAgentsPageResponseModel) SetHasMore

func (s *GetAgentsPageResponseModel) SetHasMore(val bool)

SetHasMore sets the value of HasMore.

func (*GetAgentsPageResponseModel) SetNextCursor

func (s *GetAgentsPageResponseModel) SetNextCursor(val OptNilString)

SetNextCursor sets the value of NextCursor.

func (*GetAgentsPageResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetAgentsPageResponseModel) Validate

func (s *GetAgentsPageResponseModel) Validate() error

type GetAgentsRouteParams

type GetAgentsRouteParams struct {
	// How many Agents to return at maximum. Can not exceed 100, defaults to 30.
	PageSize OptInt `json:",omitempty,omitzero"`
	// Search by agents name.
	Search OptNilString `json:",omitempty,omitzero"`
	// Filter agents by archived status.
	Archived OptNilBool `json:",omitempty,omitzero"`
	// If set to true, the endpoint will omit any agents that were shared with you by someone else and
	// include only the ones you own.
	ShowOnlyOwnedAgents OptBool `json:",omitempty,omitzero"`
	// The direction to sort the results.
	SortDirection OptSortDirection `json:",omitempty,omitzero"`
	// The field to sort the results by.
	SortBy OptAgentSortBy `json:",omitempty,omitzero"`
	// Used for fetching next page. Cursor is returned in the response.
	Cursor OptNilString `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetAgentsRouteParams is parameters of get_agents_route operation.

type GetAgentsRouteRes

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

type GetAudioFromSampleOK

type GetAudioFromSampleOK struct {
	Data io.Reader
}

func (GetAudioFromSampleOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GetAudioFromSampleOKHeaders

type GetAudioFromSampleOKHeaders struct {
	ContentType string
	Response    GetAudioFromSampleOK
}

GetAudioFromSampleOKHeaders wraps GetAudioFromSampleOK with response headers.

func (*GetAudioFromSampleOKHeaders) GetContentType

func (s *GetAudioFromSampleOKHeaders) GetContentType() string

GetContentType returns the value of ContentType.

func (*GetAudioFromSampleOKHeaders) GetResponse

GetResponse returns the value of Response.

func (*GetAudioFromSampleOKHeaders) SetContentType

func (s *GetAudioFromSampleOKHeaders) SetContentType(val string)

SetContentType sets the value of ContentType.

func (*GetAudioFromSampleOKHeaders) SetResponse

SetResponse sets the value of Response.

type GetAudioFromSampleParams

type GetAudioFromSampleParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Sample ID to be used, you can use GET https://api.elevenlabs.io/v1/voices/{voice_id} to list all
	// the available samples for a voice.
	SampleID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetAudioFromSampleParams is parameters of get_audio_from_sample operation.

type GetAudioFromSampleRes

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

type GetAudioFullFromSpeechHistoryItemOK

type GetAudioFullFromSpeechHistoryItemOK struct {
	Data io.Reader
}

func (GetAudioFullFromSpeechHistoryItemOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GetAudioFullFromSpeechHistoryItemParams

type GetAudioFullFromSpeechHistoryItemParams struct {
	// History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list
	// of history items and their IDs.
	HistoryItemID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetAudioFullFromSpeechHistoryItemParams is parameters of get_audio_full_from_speech_history_item operation.

type GetAudioFullFromSpeechHistoryItemRes

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

type GetAudioNativeProjectSettingsEndpointParams

type GetAudioNativeProjectSettingsEndpointParams struct {
	// The ID of the Studio project.
	ProjectID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetAudioNativeProjectSettingsEndpointParams is parameters of get_audio_native_project_settings_endpoint operation.

type GetAudioNativeProjectSettingsEndpointRes

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

type GetAudioNativeProjectSettingsResponseModel

type GetAudioNativeProjectSettingsResponseModel struct {
	// Whether the project is enabled.
	Enabled bool `json:"enabled"`
	// The settings of the project.
	Settings OptAudioNativeProjectSettingsResponseModel `json:"settings"`
	// The ID of the latest snapshot of the project.
	SnapshotID OptNilString `json:"snapshot_id"`
}

Ref: #/components/schemas/GetAudioNativeProjectSettingsResponseModel

func (*GetAudioNativeProjectSettingsResponseModel) Decode

Decode decodes GetAudioNativeProjectSettingsResponseModel from json.

func (*GetAudioNativeProjectSettingsResponseModel) Encode

Encode implements json.Marshaler.

func (*GetAudioNativeProjectSettingsResponseModel) GetEnabled

GetEnabled returns the value of Enabled.

func (*GetAudioNativeProjectSettingsResponseModel) GetSettings

GetSettings returns the value of Settings.

func (*GetAudioNativeProjectSettingsResponseModel) GetSnapshotID

GetSnapshotID returns the value of SnapshotID.

func (*GetAudioNativeProjectSettingsResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetAudioNativeProjectSettingsResponseModel) SetEnabled

SetEnabled sets the value of Enabled.

func (*GetAudioNativeProjectSettingsResponseModel) SetSettings

SetSettings sets the value of Settings.

func (*GetAudioNativeProjectSettingsResponseModel) SetSnapshotID

SetSnapshotID sets the value of SnapshotID.

func (*GetAudioNativeProjectSettingsResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetAudioNativeProjectSettingsResponseModel) Validate

type GetBatchCallParams

type GetBatchCallParams struct {
	BatchID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetBatchCallParams is parameters of get_batch_call operation.

type GetBatchCallRes

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

type GetChapterSnapshotEndpointParams

type GetChapterSnapshotEndpointParams struct {
	// The ID of the Studio project.
	ProjectID string
	// The ID of the chapter.
	ChapterID string
	// The ID of the chapter snapshot.
	ChapterSnapshotID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetChapterSnapshotEndpointParams is parameters of get_chapter_snapshot_endpoint operation.

type GetChapterSnapshotEndpointRes

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

type GetChapterSnapshotsParams

type GetChapterSnapshotsParams struct {
	// The ID of the Studio project.
	ProjectID string
	// The ID of the chapter.
	ChapterID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetChapterSnapshotsParams is parameters of get_chapter_snapshots operation.

type GetChapterSnapshotsRes

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

type GetChaptersParams

type GetChaptersParams struct {
	// The ID of the Studio project.
	ProjectID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetChaptersParams is parameters of get_chapters operation.

type GetChaptersRes

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

type GetChaptersResponseModel

type GetChaptersResponseModel struct {
	Chapters []ChapterResponseModel `json:"chapters"`
}

Ref: #/components/schemas/GetChaptersResponseModel

func (*GetChaptersResponseModel) Decode

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

Decode decodes GetChaptersResponseModel from json.

func (*GetChaptersResponseModel) Encode

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

Encode implements json.Marshaler.

func (*GetChaptersResponseModel) GetChapters

GetChapters returns the value of Chapters.

func (*GetChaptersResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetChaptersResponseModel) SetChapters

func (s *GetChaptersResponseModel) SetChapters(val []ChapterResponseModel)

SetChapters sets the value of Chapters.

func (*GetChaptersResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetChaptersResponseModel) Validate

func (s *GetChaptersResponseModel) Validate() error

type GetConvAIDashboardSettingsResponseModel

type GetConvAIDashboardSettingsResponseModel struct {
	Charts []GetConvAIDashboardSettingsResponseModelChartsItem `json:"charts"`
}

Ref: #/components/schemas/GetConvAIDashboardSettingsResponseModel

func (*GetConvAIDashboardSettingsResponseModel) Decode

Decode decodes GetConvAIDashboardSettingsResponseModel from json.

func (*GetConvAIDashboardSettingsResponseModel) Encode

Encode implements json.Marshaler.

func (*GetConvAIDashboardSettingsResponseModel) GetCharts

GetCharts returns the value of Charts.

func (*GetConvAIDashboardSettingsResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetConvAIDashboardSettingsResponseModel) SetCharts

SetCharts sets the value of Charts.

func (*GetConvAIDashboardSettingsResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetConvAIDashboardSettingsResponseModel) Validate

type GetConvAIDashboardSettingsResponseModelChartsItem

type GetConvAIDashboardSettingsResponseModelChartsItem struct {
	Type                              GetConvAIDashboardSettingsResponseModelChartsItemType // switch on this field
	DashboardCallSuccessChartModel    DashboardCallSuccessChartModel
	DashboardCriteriaChartModel       DashboardCriteriaChartModel
	DashboardDataCollectionChartModel DashboardDataCollectionChartModel
}

GetConvAIDashboardSettingsResponseModelChartsItem represents sum type.

func NewDashboardCallSuccessChartModelGetConvAIDashboardSettingsResponseModelChartsItem

func NewDashboardCallSuccessChartModelGetConvAIDashboardSettingsResponseModelChartsItem(v DashboardCallSuccessChartModel) GetConvAIDashboardSettingsResponseModelChartsItem

NewDashboardCallSuccessChartModelGetConvAIDashboardSettingsResponseModelChartsItem returns new GetConvAIDashboardSettingsResponseModelChartsItem from DashboardCallSuccessChartModel.

func NewDashboardCriteriaChartModelGetConvAIDashboardSettingsResponseModelChartsItem

func NewDashboardCriteriaChartModelGetConvAIDashboardSettingsResponseModelChartsItem(v DashboardCriteriaChartModel) GetConvAIDashboardSettingsResponseModelChartsItem

NewDashboardCriteriaChartModelGetConvAIDashboardSettingsResponseModelChartsItem returns new GetConvAIDashboardSettingsResponseModelChartsItem from DashboardCriteriaChartModel.

func NewDashboardDataCollectionChartModelGetConvAIDashboardSettingsResponseModelChartsItem

func NewDashboardDataCollectionChartModelGetConvAIDashboardSettingsResponseModelChartsItem(v DashboardDataCollectionChartModel) GetConvAIDashboardSettingsResponseModelChartsItem

NewDashboardDataCollectionChartModelGetConvAIDashboardSettingsResponseModelChartsItem returns new GetConvAIDashboardSettingsResponseModelChartsItem from DashboardDataCollectionChartModel.

func (*GetConvAIDashboardSettingsResponseModelChartsItem) Decode

Decode decodes GetConvAIDashboardSettingsResponseModelChartsItem from json.

func (GetConvAIDashboardSettingsResponseModelChartsItem) Encode

Encode encodes GetConvAIDashboardSettingsResponseModelChartsItem as json.

func (GetConvAIDashboardSettingsResponseModelChartsItem) GetDashboardCallSuccessChartModel

func (s GetConvAIDashboardSettingsResponseModelChartsItem) GetDashboardCallSuccessChartModel() (v DashboardCallSuccessChartModel, ok bool)

GetDashboardCallSuccessChartModel returns DashboardCallSuccessChartModel and true boolean if GetConvAIDashboardSettingsResponseModelChartsItem is DashboardCallSuccessChartModel.

func (GetConvAIDashboardSettingsResponseModelChartsItem) GetDashboardCriteriaChartModel

func (s GetConvAIDashboardSettingsResponseModelChartsItem) GetDashboardCriteriaChartModel() (v DashboardCriteriaChartModel, ok bool)

GetDashboardCriteriaChartModel returns DashboardCriteriaChartModel and true boolean if GetConvAIDashboardSettingsResponseModelChartsItem is DashboardCriteriaChartModel.

func (GetConvAIDashboardSettingsResponseModelChartsItem) GetDashboardDataCollectionChartModel

func (s GetConvAIDashboardSettingsResponseModelChartsItem) GetDashboardDataCollectionChartModel() (v DashboardDataCollectionChartModel, ok bool)

GetDashboardDataCollectionChartModel returns DashboardDataCollectionChartModel and true boolean if GetConvAIDashboardSettingsResponseModelChartsItem is DashboardDataCollectionChartModel.

func (GetConvAIDashboardSettingsResponseModelChartsItem) IsDashboardCallSuccessChartModel

func (s GetConvAIDashboardSettingsResponseModelChartsItem) IsDashboardCallSuccessChartModel() bool

IsDashboardCallSuccessChartModel reports whether GetConvAIDashboardSettingsResponseModelChartsItem is DashboardCallSuccessChartModel.

func (GetConvAIDashboardSettingsResponseModelChartsItem) IsDashboardCriteriaChartModel

func (s GetConvAIDashboardSettingsResponseModelChartsItem) IsDashboardCriteriaChartModel() bool

IsDashboardCriteriaChartModel reports whether GetConvAIDashboardSettingsResponseModelChartsItem is DashboardCriteriaChartModel.

func (GetConvAIDashboardSettingsResponseModelChartsItem) IsDashboardDataCollectionChartModel

func (s GetConvAIDashboardSettingsResponseModelChartsItem) IsDashboardDataCollectionChartModel() bool

IsDashboardDataCollectionChartModel reports whether GetConvAIDashboardSettingsResponseModelChartsItem is DashboardDataCollectionChartModel.

func (GetConvAIDashboardSettingsResponseModelChartsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetConvAIDashboardSettingsResponseModelChartsItem) SetDashboardCallSuccessChartModel

SetDashboardCallSuccessChartModel sets GetConvAIDashboardSettingsResponseModelChartsItem to DashboardCallSuccessChartModel.

func (*GetConvAIDashboardSettingsResponseModelChartsItem) SetDashboardCriteriaChartModel

SetDashboardCriteriaChartModel sets GetConvAIDashboardSettingsResponseModelChartsItem to DashboardCriteriaChartModel.

func (*GetConvAIDashboardSettingsResponseModelChartsItem) SetDashboardDataCollectionChartModel

SetDashboardDataCollectionChartModel sets GetConvAIDashboardSettingsResponseModelChartsItem to DashboardDataCollectionChartModel.

func (*GetConvAIDashboardSettingsResponseModelChartsItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetConvAIDashboardSettingsResponseModelChartsItem) Validate

type GetConvAIDashboardSettingsResponseModelChartsItemType

type GetConvAIDashboardSettingsResponseModelChartsItemType string

GetConvAIDashboardSettingsResponseModelChartsItemType is oneOf type of GetConvAIDashboardSettingsResponseModelChartsItem.

const (
	DashboardCallSuccessChartModelGetConvAIDashboardSettingsResponseModelChartsItem    GetConvAIDashboardSettingsResponseModelChartsItemType = "call_success"
	DashboardCriteriaChartModelGetConvAIDashboardSettingsResponseModelChartsItem       GetConvAIDashboardSettingsResponseModelChartsItemType = "criteria"
	DashboardDataCollectionChartModelGetConvAIDashboardSettingsResponseModelChartsItem GetConvAIDashboardSettingsResponseModelChartsItemType = "data_collection"
)

Possible values for GetConvAIDashboardSettingsResponseModelChartsItemType.

type GetConvAISettingsResponseModel

type GetConvAISettingsResponseModel struct {
	// Whether the workspace can use MCP servers.
	CanUseMcpServers                        OptBool                                    `json:"can_use_mcp_servers"`
	ConversationInitiationClientDataWebhook OptConversationInitiationClientDataWebhook `json:"conversation_initiation_client_data_webhook"`
	DefaultLivekitStack                     OptLivekitStackType                        `json:"default_livekit_stack"`
	RagRetentionPeriodDays                  OptInt                                     `json:"rag_retention_period_days"`
	Webhooks                                OptConvAIWebhooks                          `json:"webhooks"`
}

Ref: #/components/schemas/GetConvAISettingsResponseModel

func (*GetConvAISettingsResponseModel) Decode

Decode decodes GetConvAISettingsResponseModel from json.

func (*GetConvAISettingsResponseModel) Encode

Encode implements json.Marshaler.

func (*GetConvAISettingsResponseModel) GetCanUseMcpServers

func (s *GetConvAISettingsResponseModel) GetCanUseMcpServers() OptBool

GetCanUseMcpServers returns the value of CanUseMcpServers.

func (*GetConvAISettingsResponseModel) GetConversationInitiationClientDataWebhook

func (s *GetConvAISettingsResponseModel) GetConversationInitiationClientDataWebhook() OptConversationInitiationClientDataWebhook

GetConversationInitiationClientDataWebhook returns the value of ConversationInitiationClientDataWebhook.

func (*GetConvAISettingsResponseModel) GetDefaultLivekitStack

func (s *GetConvAISettingsResponseModel) GetDefaultLivekitStack() OptLivekitStackType

GetDefaultLivekitStack returns the value of DefaultLivekitStack.

func (*GetConvAISettingsResponseModel) GetRagRetentionPeriodDays

func (s *GetConvAISettingsResponseModel) GetRagRetentionPeriodDays() OptInt

GetRagRetentionPeriodDays returns the value of RagRetentionPeriodDays.

func (*GetConvAISettingsResponseModel) GetWebhooks

GetWebhooks returns the value of Webhooks.

func (*GetConvAISettingsResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetConvAISettingsResponseModel) SetCanUseMcpServers

func (s *GetConvAISettingsResponseModel) SetCanUseMcpServers(val OptBool)

SetCanUseMcpServers sets the value of CanUseMcpServers.

func (*GetConvAISettingsResponseModel) SetConversationInitiationClientDataWebhook

func (s *GetConvAISettingsResponseModel) SetConversationInitiationClientDataWebhook(val OptConversationInitiationClientDataWebhook)

SetConversationInitiationClientDataWebhook sets the value of ConversationInitiationClientDataWebhook.

func (*GetConvAISettingsResponseModel) SetDefaultLivekitStack

func (s *GetConvAISettingsResponseModel) SetDefaultLivekitStack(val OptLivekitStackType)

SetDefaultLivekitStack sets the value of DefaultLivekitStack.

func (*GetConvAISettingsResponseModel) SetRagRetentionPeriodDays

func (s *GetConvAISettingsResponseModel) SetRagRetentionPeriodDays(val OptInt)

SetRagRetentionPeriodDays sets the value of RagRetentionPeriodDays.

func (*GetConvAISettingsResponseModel) SetWebhooks

SetWebhooks sets the value of Webhooks.

func (*GetConvAISettingsResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetConvAISettingsResponseModel) Validate

func (s *GetConvAISettingsResponseModel) Validate() error

type GetConversationAudioRouteOK

type GetConversationAudioRouteOK struct {
	Data io.Reader
}

func (GetConversationAudioRouteOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GetConversationAudioRouteParams

type GetConversationAudioRouteParams struct {
	// The id of the conversation you're taking the action on.
	ConversationID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetConversationAudioRouteParams is parameters of get_conversation_audio_route operation.

type GetConversationAudioRouteRes

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

type GetConversationHistoriesRouteParams

type GetConversationHistoriesRouteParams struct {
	// Used for fetching next page. Cursor is returned in the response.
	Cursor OptNilString `json:",omitempty,omitzero"`
	// The id of the agent you're taking the action on.
	AgentID OptNilString `json:",omitempty,omitzero"`
	// The result of the success evaluation.
	CallSuccessful OptEvaluationSuccessResult `json:",omitempty,omitzero"`
	// Unix timestamp (in seconds) to filter conversations up to this start date.
	CallStartBeforeUnix OptNilInt `json:",omitempty,omitzero"`
	// Unix timestamp (in seconds) to filter conversations after to this start date.
	CallStartAfterUnix OptNilInt `json:",omitempty,omitzero"`
	// Minimum call duration in seconds.
	CallDurationMinSecs OptNilInt `json:",omitempty,omitzero"`
	// Maximum call duration in seconds.
	CallDurationMaxSecs OptNilInt `json:",omitempty,omitzero"`
	// Maximum overall rating (1-5).
	RatingMax OptNilInt `json:",omitempty,omitzero"`
	// Minimum overall rating (1-5).
	RatingMin OptNilInt `json:",omitempty,omitzero"`
	// Filter conversations with user feedback comments.
	HasFeedbackComment OptNilBool `json:",omitempty,omitzero"`
	// Filter conversations by the user ID who initiated them.
	UserID OptNilString `json:",omitempty,omitzero"`
	// Evaluation filters. Repeat param. Format: criteria_id:result. Example: eval=value_framing:success.
	EvaluationParams OptNilStringArray `json:",omitempty,omitzero"`
	// Data collection filters. Repeat param. Format: id:op:value where op is one of
	// eq|neq|gt|gte|lt|lte|in|exists|missing. For in, pipe-delimit values.
	DataCollectionParams OptNilStringArray `json:",omitempty,omitzero"`
	// Filter conversations by tool names used during the call.
	ToolNames OptNilStringArray `json:",omitempty,omitzero"`
	// Filter conversations by detected main language (language code).
	MainLanguages OptNilStringArray `json:",omitempty,omitzero"`
	// How many conversations to return at maximum. Can not exceed 100, defaults to 30.
	PageSize OptInt `json:",omitempty,omitzero"`
	// Whether to include transcript summaries in the response.
	SummaryMode OptGetConversationHistoriesRouteSummaryMode `json:",omitempty,omitzero"`
	// Full-text or fuzzy search over transcript messages.
	Search OptNilString `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetConversationHistoriesRouteParams is parameters of get_conversation_histories_route operation.

type GetConversationHistoriesRouteRes

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

type GetConversationHistoriesRouteSummaryMode

type GetConversationHistoriesRouteSummaryMode string

Whether to include transcript summaries in the response.

const (
	GetConversationHistoriesRouteSummaryModeExclude GetConversationHistoriesRouteSummaryMode = "exclude"
	GetConversationHistoriesRouteSummaryModeInclude GetConversationHistoriesRouteSummaryMode = "include"
)

func (GetConversationHistoriesRouteSummaryMode) AllValues

AllValues returns all GetConversationHistoriesRouteSummaryMode values.

func (GetConversationHistoriesRouteSummaryMode) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*GetConversationHistoriesRouteSummaryMode) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (GetConversationHistoriesRouteSummaryMode) Validate

type GetConversationHistoryRouteParams

type GetConversationHistoryRouteParams struct {
	// The id of the conversation you're taking the action on.
	ConversationID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetConversationHistoryRouteParams is parameters of get_conversation_history_route operation.

type GetConversationHistoryRouteRes

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

type GetConversationResponseModel

type GetConversationResponseModel struct {
	AgentID                          string                                           `json:"agent_id"`
	Analysis                         OptConversationHistoryAnalysisCommonModel        `json:"analysis"`
	BranchID                         OptNilString                                     `json:"branch_id"`
	ConversationID                   string                                           `json:"conversation_id"`
	ConversationInitiationClientData OptConversationInitiationClientDataRequestOutput `json:"conversation_initiation_client_data"`
	HasAudio                         bool                                             `json:"has_audio"`
	HasResponseAudio                 bool                                             `json:"has_response_audio"`
	HasUserAudio                     bool                                             `json:"has_user_audio"`
	Metadata                         ConversationHistoryMetadataCommonModel           `json:"metadata"`
	Status                           GetConversationResponseModelStatus               `json:"status"`
	Transcript                       []ConversationHistoryTranscriptCommonModelOutput `json:"transcript"`
	UserID                           OptNilString                                     `json:"user_id"`
}

Ref: #/components/schemas/GetConversationResponseModel

func (*GetConversationResponseModel) Decode

Decode decodes GetConversationResponseModel from json.

func (*GetConversationResponseModel) Encode

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

Encode implements json.Marshaler.

func (*GetConversationResponseModel) GetAgentID

func (s *GetConversationResponseModel) GetAgentID() string

GetAgentID returns the value of AgentID.

func (*GetConversationResponseModel) GetAnalysis

GetAnalysis returns the value of Analysis.

func (*GetConversationResponseModel) GetBranchID

func (s *GetConversationResponseModel) GetBranchID() OptNilString

GetBranchID returns the value of BranchID.

func (*GetConversationResponseModel) GetConversationID

func (s *GetConversationResponseModel) GetConversationID() string

GetConversationID returns the value of ConversationID.

func (*GetConversationResponseModel) GetConversationInitiationClientData

func (s *GetConversationResponseModel) GetConversationInitiationClientData() OptConversationInitiationClientDataRequestOutput

GetConversationInitiationClientData returns the value of ConversationInitiationClientData.

func (*GetConversationResponseModel) GetHasAudio

func (s *GetConversationResponseModel) GetHasAudio() bool

GetHasAudio returns the value of HasAudio.

func (*GetConversationResponseModel) GetHasResponseAudio

func (s *GetConversationResponseModel) GetHasResponseAudio() bool

GetHasResponseAudio returns the value of HasResponseAudio.

func (*GetConversationResponseModel) GetHasUserAudio

func (s *GetConversationResponseModel) GetHasUserAudio() bool

GetHasUserAudio returns the value of HasUserAudio.

func (*GetConversationResponseModel) GetMetadata

GetMetadata returns the value of Metadata.

func (*GetConversationResponseModel) GetStatus

GetStatus returns the value of Status.

func (*GetConversationResponseModel) GetTranscript

GetTranscript returns the value of Transcript.

func (*GetConversationResponseModel) GetUserID

GetUserID returns the value of UserID.

func (*GetConversationResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetConversationResponseModel) SetAgentID

func (s *GetConversationResponseModel) SetAgentID(val string)

SetAgentID sets the value of AgentID.

func (*GetConversationResponseModel) SetAnalysis

SetAnalysis sets the value of Analysis.

func (*GetConversationResponseModel) SetBranchID

func (s *GetConversationResponseModel) SetBranchID(val OptNilString)

SetBranchID sets the value of BranchID.

func (*GetConversationResponseModel) SetConversationID

func (s *GetConversationResponseModel) SetConversationID(val string)

SetConversationID sets the value of ConversationID.

func (*GetConversationResponseModel) SetConversationInitiationClientData

func (s *GetConversationResponseModel) SetConversationInitiationClientData(val OptConversationInitiationClientDataRequestOutput)

SetConversationInitiationClientData sets the value of ConversationInitiationClientData.

func (*GetConversationResponseModel) SetHasAudio

func (s *GetConversationResponseModel) SetHasAudio(val bool)

SetHasAudio sets the value of HasAudio.

func (*GetConversationResponseModel) SetHasResponseAudio

func (s *GetConversationResponseModel) SetHasResponseAudio(val bool)

SetHasResponseAudio sets the value of HasResponseAudio.

func (*GetConversationResponseModel) SetHasUserAudio

func (s *GetConversationResponseModel) SetHasUserAudio(val bool)

SetHasUserAudio sets the value of HasUserAudio.

func (*GetConversationResponseModel) SetMetadata

SetMetadata sets the value of Metadata.

func (*GetConversationResponseModel) SetStatus

SetStatus sets the value of Status.

func (*GetConversationResponseModel) SetTranscript

SetTranscript sets the value of Transcript.

func (*GetConversationResponseModel) SetUserID

func (s *GetConversationResponseModel) SetUserID(val OptNilString)

SetUserID sets the value of UserID.

func (*GetConversationResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetConversationResponseModel) Validate

func (s *GetConversationResponseModel) Validate() error

type GetConversationResponseModelStatus

type GetConversationResponseModelStatus string
const (
	GetConversationResponseModelStatusInitiated  GetConversationResponseModelStatus = "initiated"
	GetConversationResponseModelStatusInProgress GetConversationResponseModelStatus = "in-progress"
	GetConversationResponseModelStatusProcessing GetConversationResponseModelStatus = "processing"
	GetConversationResponseModelStatusDone       GetConversationResponseModelStatus = "done"
	GetConversationResponseModelStatusFailed     GetConversationResponseModelStatus = "failed"
)

func (GetConversationResponseModelStatus) AllValues

AllValues returns all GetConversationResponseModelStatus values.

func (*GetConversationResponseModelStatus) Decode

Decode decodes GetConversationResponseModelStatus from json.

func (GetConversationResponseModelStatus) Encode

Encode encodes GetConversationResponseModelStatus as json.

func (GetConversationResponseModelStatus) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (GetConversationResponseModelStatus) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*GetConversationResponseModelStatus) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetConversationResponseModelStatus) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (GetConversationResponseModelStatus) Validate

type GetConversationSignedLinkParams

type GetConversationSignedLinkParams struct {
	// The id of the agent you're taking the action on.
	AgentID string
	// Whether to include a conversation_id with the response. If included, the conversation_signature
	// cannot be used again.
	IncludeConversationID OptBool `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetConversationSignedLinkParams is parameters of get_conversation_signed_link operation.

type GetConversationSignedLinkRes

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

type GetConversationsPageResponseModel

type GetConversationsPageResponseModel struct {
	Conversations []ConversationSummaryResponseModel `json:"conversations"`
	HasMore       bool                               `json:"has_more"`
	NextCursor    OptNilString                       `json:"next_cursor"`
}

Ref: #/components/schemas/GetConversationsPageResponseModel

func (*GetConversationsPageResponseModel) Decode

Decode decodes GetConversationsPageResponseModel from json.

func (*GetConversationsPageResponseModel) Encode

Encode implements json.Marshaler.

func (*GetConversationsPageResponseModel) GetConversations

GetConversations returns the value of Conversations.

func (*GetConversationsPageResponseModel) GetHasMore

func (s *GetConversationsPageResponseModel) GetHasMore() bool

GetHasMore returns the value of HasMore.

func (*GetConversationsPageResponseModel) GetNextCursor

GetNextCursor returns the value of NextCursor.

func (*GetConversationsPageResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetConversationsPageResponseModel) SetConversations

SetConversations sets the value of Conversations.

func (*GetConversationsPageResponseModel) SetHasMore

func (s *GetConversationsPageResponseModel) SetHasMore(val bool)

SetHasMore sets the value of HasMore.

func (*GetConversationsPageResponseModel) SetNextCursor

func (s *GetConversationsPageResponseModel) SetNextCursor(val OptNilString)

SetNextCursor sets the value of NextCursor.

func (*GetConversationsPageResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetConversationsPageResponseModel) Validate

type GetDashboardSettingsRouteParams

type GetDashboardSettingsRouteParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetDashboardSettingsRouteParams is parameters of get_dashboard_settings_route operation.

type GetDashboardSettingsRouteRes

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

type GetDocumentationChunkFromKnowledgeBaseParams

type GetDocumentationChunkFromKnowledgeBaseParams struct {
	// The id of a document from the knowledge base. This is returned on document addition.
	DocumentationID string
	// The id of a document RAG chunk from the knowledge base.
	ChunkID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetDocumentationChunkFromKnowledgeBaseParams is parameters of get_documentation_chunk_from_knowledge_base operation.

type GetDocumentationChunkFromKnowledgeBaseRes

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

type GetDocumentationFromKnowledgeBaseOK

type GetDocumentationFromKnowledgeBaseOK struct {
	Type                                GetDocumentationFromKnowledgeBaseOKType // switch on this field
	GetKnowledgeBaseURLResponseModel    GetKnowledgeBaseURLResponseModel
	GetKnowledgeBaseFileResponseModel   GetKnowledgeBaseFileResponseModel
	GetKnowledgeBaseTextResponseModel   GetKnowledgeBaseTextResponseModel
	GetKnowledgeBaseFolderResponseModel GetKnowledgeBaseFolderResponseModel
}

GetDocumentationFromKnowledgeBaseOK represents sum type.

func NewGetKnowledgeBaseFileResponseModelGetDocumentationFromKnowledgeBaseOK

func NewGetKnowledgeBaseFileResponseModelGetDocumentationFromKnowledgeBaseOK(v GetKnowledgeBaseFileResponseModel) GetDocumentationFromKnowledgeBaseOK

NewGetKnowledgeBaseFileResponseModelGetDocumentationFromKnowledgeBaseOK returns new GetDocumentationFromKnowledgeBaseOK from GetKnowledgeBaseFileResponseModel.

func NewGetKnowledgeBaseFolderResponseModelGetDocumentationFromKnowledgeBaseOK

func NewGetKnowledgeBaseFolderResponseModelGetDocumentationFromKnowledgeBaseOK(v GetKnowledgeBaseFolderResponseModel) GetDocumentationFromKnowledgeBaseOK

NewGetKnowledgeBaseFolderResponseModelGetDocumentationFromKnowledgeBaseOK returns new GetDocumentationFromKnowledgeBaseOK from GetKnowledgeBaseFolderResponseModel.

func NewGetKnowledgeBaseTextResponseModelGetDocumentationFromKnowledgeBaseOK

func NewGetKnowledgeBaseTextResponseModelGetDocumentationFromKnowledgeBaseOK(v GetKnowledgeBaseTextResponseModel) GetDocumentationFromKnowledgeBaseOK

NewGetKnowledgeBaseTextResponseModelGetDocumentationFromKnowledgeBaseOK returns new GetDocumentationFromKnowledgeBaseOK from GetKnowledgeBaseTextResponseModel.

func NewGetKnowledgeBaseURLResponseModelGetDocumentationFromKnowledgeBaseOK

func NewGetKnowledgeBaseURLResponseModelGetDocumentationFromKnowledgeBaseOK(v GetKnowledgeBaseURLResponseModel) GetDocumentationFromKnowledgeBaseOK

NewGetKnowledgeBaseURLResponseModelGetDocumentationFromKnowledgeBaseOK returns new GetDocumentationFromKnowledgeBaseOK from GetKnowledgeBaseURLResponseModel.

func (*GetDocumentationFromKnowledgeBaseOK) Decode

Decode decodes GetDocumentationFromKnowledgeBaseOK from json.

func (GetDocumentationFromKnowledgeBaseOK) Encode

Encode encodes GetDocumentationFromKnowledgeBaseOK as json.

func (GetDocumentationFromKnowledgeBaseOK) GetGetKnowledgeBaseFileResponseModel

func (s GetDocumentationFromKnowledgeBaseOK) GetGetKnowledgeBaseFileResponseModel() (v GetKnowledgeBaseFileResponseModel, ok bool)

GetGetKnowledgeBaseFileResponseModel returns GetKnowledgeBaseFileResponseModel and true boolean if GetDocumentationFromKnowledgeBaseOK is GetKnowledgeBaseFileResponseModel.

func (GetDocumentationFromKnowledgeBaseOK) GetGetKnowledgeBaseFolderResponseModel

func (s GetDocumentationFromKnowledgeBaseOK) GetGetKnowledgeBaseFolderResponseModel() (v GetKnowledgeBaseFolderResponseModel, ok bool)

GetGetKnowledgeBaseFolderResponseModel returns GetKnowledgeBaseFolderResponseModel and true boolean if GetDocumentationFromKnowledgeBaseOK is GetKnowledgeBaseFolderResponseModel.

func (GetDocumentationFromKnowledgeBaseOK) GetGetKnowledgeBaseTextResponseModel

func (s GetDocumentationFromKnowledgeBaseOK) GetGetKnowledgeBaseTextResponseModel() (v GetKnowledgeBaseTextResponseModel, ok bool)

GetGetKnowledgeBaseTextResponseModel returns GetKnowledgeBaseTextResponseModel and true boolean if GetDocumentationFromKnowledgeBaseOK is GetKnowledgeBaseTextResponseModel.

func (GetDocumentationFromKnowledgeBaseOK) GetGetKnowledgeBaseURLResponseModel

func (s GetDocumentationFromKnowledgeBaseOK) GetGetKnowledgeBaseURLResponseModel() (v GetKnowledgeBaseURLResponseModel, ok bool)

GetGetKnowledgeBaseURLResponseModel returns GetKnowledgeBaseURLResponseModel and true boolean if GetDocumentationFromKnowledgeBaseOK is GetKnowledgeBaseURLResponseModel.

func (GetDocumentationFromKnowledgeBaseOK) IsGetKnowledgeBaseFileResponseModel

func (s GetDocumentationFromKnowledgeBaseOK) IsGetKnowledgeBaseFileResponseModel() bool

IsGetKnowledgeBaseFileResponseModel reports whether GetDocumentationFromKnowledgeBaseOK is GetKnowledgeBaseFileResponseModel.

func (GetDocumentationFromKnowledgeBaseOK) IsGetKnowledgeBaseFolderResponseModel

func (s GetDocumentationFromKnowledgeBaseOK) IsGetKnowledgeBaseFolderResponseModel() bool

IsGetKnowledgeBaseFolderResponseModel reports whether GetDocumentationFromKnowledgeBaseOK is GetKnowledgeBaseFolderResponseModel.

func (GetDocumentationFromKnowledgeBaseOK) IsGetKnowledgeBaseTextResponseModel

func (s GetDocumentationFromKnowledgeBaseOK) IsGetKnowledgeBaseTextResponseModel() bool

IsGetKnowledgeBaseTextResponseModel reports whether GetDocumentationFromKnowledgeBaseOK is GetKnowledgeBaseTextResponseModel.

func (GetDocumentationFromKnowledgeBaseOK) IsGetKnowledgeBaseURLResponseModel

func (s GetDocumentationFromKnowledgeBaseOK) IsGetKnowledgeBaseURLResponseModel() bool

IsGetKnowledgeBaseURLResponseModel reports whether GetDocumentationFromKnowledgeBaseOK is GetKnowledgeBaseURLResponseModel.

func (GetDocumentationFromKnowledgeBaseOK) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetDocumentationFromKnowledgeBaseOK) SetGetKnowledgeBaseFileResponseModel

func (s *GetDocumentationFromKnowledgeBaseOK) SetGetKnowledgeBaseFileResponseModel(v GetKnowledgeBaseFileResponseModel)

SetGetKnowledgeBaseFileResponseModel sets GetDocumentationFromKnowledgeBaseOK to GetKnowledgeBaseFileResponseModel.

func (*GetDocumentationFromKnowledgeBaseOK) SetGetKnowledgeBaseFolderResponseModel

func (s *GetDocumentationFromKnowledgeBaseOK) SetGetKnowledgeBaseFolderResponseModel(v GetKnowledgeBaseFolderResponseModel)

SetGetKnowledgeBaseFolderResponseModel sets GetDocumentationFromKnowledgeBaseOK to GetKnowledgeBaseFolderResponseModel.

func (*GetDocumentationFromKnowledgeBaseOK) SetGetKnowledgeBaseTextResponseModel

func (s *GetDocumentationFromKnowledgeBaseOK) SetGetKnowledgeBaseTextResponseModel(v GetKnowledgeBaseTextResponseModel)

SetGetKnowledgeBaseTextResponseModel sets GetDocumentationFromKnowledgeBaseOK to GetKnowledgeBaseTextResponseModel.

func (*GetDocumentationFromKnowledgeBaseOK) SetGetKnowledgeBaseURLResponseModel

func (s *GetDocumentationFromKnowledgeBaseOK) SetGetKnowledgeBaseURLResponseModel(v GetKnowledgeBaseURLResponseModel)

SetGetKnowledgeBaseURLResponseModel sets GetDocumentationFromKnowledgeBaseOK to GetKnowledgeBaseURLResponseModel.

func (*GetDocumentationFromKnowledgeBaseOK) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetDocumentationFromKnowledgeBaseOK) Validate

type GetDocumentationFromKnowledgeBaseOKType

type GetDocumentationFromKnowledgeBaseOKType string

GetDocumentationFromKnowledgeBaseOKType is oneOf type of GetDocumentationFromKnowledgeBaseOK.

const (
	GetKnowledgeBaseURLResponseModelGetDocumentationFromKnowledgeBaseOK    GetDocumentationFromKnowledgeBaseOKType = "url"
	GetKnowledgeBaseFileResponseModelGetDocumentationFromKnowledgeBaseOK   GetDocumentationFromKnowledgeBaseOKType = "file"
	GetKnowledgeBaseTextResponseModelGetDocumentationFromKnowledgeBaseOK   GetDocumentationFromKnowledgeBaseOKType = "text"
	GetKnowledgeBaseFolderResponseModelGetDocumentationFromKnowledgeBaseOK GetDocumentationFromKnowledgeBaseOKType = "folder"
)

Possible values for GetDocumentationFromKnowledgeBaseOKType.

type GetDocumentationFromKnowledgeBaseParams

type GetDocumentationFromKnowledgeBaseParams struct {
	// The id of a document from the knowledge base. This is returned on document addition.
	DocumentationID string
	AgentID         OptString `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetDocumentationFromKnowledgeBaseParams is parameters of get_documentation_from_knowledge_base operation.

type GetDocumentationFromKnowledgeBaseRes

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

type GetDubbedFileForbiddenApplicationJSON

type GetDubbedFileForbiddenApplicationJSON jx.Raw

func (*GetDubbedFileForbiddenApplicationJSON) Decode

Decode decodes GetDubbedFileForbiddenApplicationJSON from json.

func (GetDubbedFileForbiddenApplicationJSON) Encode

Encode encodes GetDubbedFileForbiddenApplicationJSON as json.

func (GetDubbedFileForbiddenApplicationJSON) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetDubbedFileForbiddenApplicationJSON) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetDubbedFileNotFoundApplicationJSON

type GetDubbedFileNotFoundApplicationJSON jx.Raw

func (*GetDubbedFileNotFoundApplicationJSON) Decode

Decode decodes GetDubbedFileNotFoundApplicationJSON from json.

func (GetDubbedFileNotFoundApplicationJSON) Encode

Encode encodes GetDubbedFileNotFoundApplicationJSON as json.

func (GetDubbedFileNotFoundApplicationJSON) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetDubbedFileNotFoundApplicationJSON) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetDubbedFileOKAudioMpeg

type GetDubbedFileOKAudioMpeg struct {
	Data io.Reader
}

func (GetDubbedFileOKAudioMpeg) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GetDubbedFileOKVideoMP4

type GetDubbedFileOKVideoMP4 struct {
	Data io.Reader
}

func (GetDubbedFileOKVideoMP4) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GetDubbedFileParams

type GetDubbedFileParams struct {
	// ID of the dubbing project.
	DubbingID string
	// ID of the language.
	LanguageCode string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetDubbedFileParams is parameters of get_dubbed_file operation.

type GetDubbedFileRes

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

type GetDubbedFileTooEarlyApplicationJSON

type GetDubbedFileTooEarlyApplicationJSON jx.Raw

func (*GetDubbedFileTooEarlyApplicationJSON) Decode

Decode decodes GetDubbedFileTooEarlyApplicationJSON from json.

func (GetDubbedFileTooEarlyApplicationJSON) Encode

Encode encodes GetDubbedFileTooEarlyApplicationJSON as json.

func (GetDubbedFileTooEarlyApplicationJSON) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetDubbedFileTooEarlyApplicationJSON) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetDubbedMetadataParams

type GetDubbedMetadataParams struct {
	// ID of the dubbing project.
	DubbingID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetDubbedMetadataParams is parameters of get_dubbed_metadata operation.

type GetDubbedMetadataRes

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

type GetDubbedTranscriptFileForbiddenApplicationJSON

type GetDubbedTranscriptFileForbiddenApplicationJSON jx.Raw

func (*GetDubbedTranscriptFileForbiddenApplicationJSON) Decode

Decode decodes GetDubbedTranscriptFileForbiddenApplicationJSON from json.

func (GetDubbedTranscriptFileForbiddenApplicationJSON) Encode

Encode encodes GetDubbedTranscriptFileForbiddenApplicationJSON as json.

func (GetDubbedTranscriptFileForbiddenApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetDubbedTranscriptFileForbiddenApplicationJSON) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type GetDubbedTranscriptFileFormatType

type GetDubbedTranscriptFileFormatType string

Format to return transcript in. For subtitles use either 'srt' or 'webvtt', and for a full transcript use 'json'. The 'json' format is not yet supported for Dubbing Studio.

const (
	GetDubbedTranscriptFileFormatTypeSrt    GetDubbedTranscriptFileFormatType = "srt"
	GetDubbedTranscriptFileFormatTypeWebvtt GetDubbedTranscriptFileFormatType = "webvtt"
	GetDubbedTranscriptFileFormatTypeJSON   GetDubbedTranscriptFileFormatType = "json"
)

func (GetDubbedTranscriptFileFormatType) AllValues

AllValues returns all GetDubbedTranscriptFileFormatType values.

func (GetDubbedTranscriptFileFormatType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*GetDubbedTranscriptFileFormatType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (GetDubbedTranscriptFileFormatType) Validate

type GetDubbedTranscriptFileNotFoundApplicationJSON

type GetDubbedTranscriptFileNotFoundApplicationJSON jx.Raw

func (*GetDubbedTranscriptFileNotFoundApplicationJSON) Decode

Decode decodes GetDubbedTranscriptFileNotFoundApplicationJSON from json.

func (GetDubbedTranscriptFileNotFoundApplicationJSON) Encode

Encode encodes GetDubbedTranscriptFileNotFoundApplicationJSON as json.

func (GetDubbedTranscriptFileNotFoundApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetDubbedTranscriptFileNotFoundApplicationJSON) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type GetDubbedTranscriptFileOKApplicationJSON

type GetDubbedTranscriptFileOKApplicationJSON struct {
	Type                           GetDubbedTranscriptFileOKApplicationJSONType // switch on this field
	DubbingTranscriptResponseModel DubbingTranscriptResponseModel
	String                         string
}

GetDubbedTranscriptFileOKApplicationJSON represents sum type.

func NewDubbingTranscriptResponseModelGetDubbedTranscriptFileOKApplicationJSON

func NewDubbingTranscriptResponseModelGetDubbedTranscriptFileOKApplicationJSON(v DubbingTranscriptResponseModel) GetDubbedTranscriptFileOKApplicationJSON

NewDubbingTranscriptResponseModelGetDubbedTranscriptFileOKApplicationJSON returns new GetDubbedTranscriptFileOKApplicationJSON from DubbingTranscriptResponseModel.

func NewStringGetDubbedTranscriptFileOKApplicationJSON

func NewStringGetDubbedTranscriptFileOKApplicationJSON(v string) GetDubbedTranscriptFileOKApplicationJSON

NewStringGetDubbedTranscriptFileOKApplicationJSON returns new GetDubbedTranscriptFileOKApplicationJSON from string.

func (*GetDubbedTranscriptFileOKApplicationJSON) Decode

Decode decodes GetDubbedTranscriptFileOKApplicationJSON from json.

func (GetDubbedTranscriptFileOKApplicationJSON) Encode

Encode encodes GetDubbedTranscriptFileOKApplicationJSON as json.

func (GetDubbedTranscriptFileOKApplicationJSON) GetDubbingTranscriptResponseModel

func (s GetDubbedTranscriptFileOKApplicationJSON) GetDubbingTranscriptResponseModel() (v DubbingTranscriptResponseModel, ok bool)

GetDubbingTranscriptResponseModel returns DubbingTranscriptResponseModel and true boolean if GetDubbedTranscriptFileOKApplicationJSON is DubbingTranscriptResponseModel.

func (GetDubbedTranscriptFileOKApplicationJSON) GetString

GetString returns string and true boolean if GetDubbedTranscriptFileOKApplicationJSON is string.

func (GetDubbedTranscriptFileOKApplicationJSON) IsDubbingTranscriptResponseModel

func (s GetDubbedTranscriptFileOKApplicationJSON) IsDubbingTranscriptResponseModel() bool

IsDubbingTranscriptResponseModel reports whether GetDubbedTranscriptFileOKApplicationJSON is DubbingTranscriptResponseModel.

func (GetDubbedTranscriptFileOKApplicationJSON) IsString

IsString reports whether GetDubbedTranscriptFileOKApplicationJSON is string.

func (GetDubbedTranscriptFileOKApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetDubbedTranscriptFileOKApplicationJSON) SetDubbingTranscriptResponseModel

func (s *GetDubbedTranscriptFileOKApplicationJSON) SetDubbingTranscriptResponseModel(v DubbingTranscriptResponseModel)

SetDubbingTranscriptResponseModel sets GetDubbedTranscriptFileOKApplicationJSON to DubbingTranscriptResponseModel.

func (*GetDubbedTranscriptFileOKApplicationJSON) SetString

SetString sets GetDubbedTranscriptFileOKApplicationJSON to string.

func (*GetDubbedTranscriptFileOKApplicationJSON) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetDubbedTranscriptFileOKApplicationJSON) Validate

type GetDubbedTranscriptFileOKApplicationJSONType

type GetDubbedTranscriptFileOKApplicationJSONType string

GetDubbedTranscriptFileOKApplicationJSONType is oneOf type of GetDubbedTranscriptFileOKApplicationJSON.

const (
	DubbingTranscriptResponseModelGetDubbedTranscriptFileOKApplicationJSON GetDubbedTranscriptFileOKApplicationJSONType = "DubbingTranscriptResponseModel"
	StringGetDubbedTranscriptFileOKApplicationJSON                         GetDubbedTranscriptFileOKApplicationJSONType = "string"
)

Possible values for GetDubbedTranscriptFileOKApplicationJSONType.

type GetDubbedTranscriptFileOKTextPlain

type GetDubbedTranscriptFileOKTextPlain struct {
	Data io.Reader
}

func (GetDubbedTranscriptFileOKTextPlain) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GetDubbedTranscriptFileParams

type GetDubbedTranscriptFileParams struct {
	// ID of the dubbing project.
	DubbingID string
	// ID of the language.
	LanguageCode string
	// Format to return transcript in. For subtitles use either 'srt' or 'webvtt', and for a full
	// transcript use 'json'. The 'json' format is not yet supported for Dubbing Studio.
	FormatType OptGetDubbedTranscriptFileFormatType `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetDubbedTranscriptFileParams is parameters of get_dubbed_transcript_file operation.

type GetDubbedTranscriptFileRes

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

type GetDubbedTranscriptFileTooEarlyApplicationJSON

type GetDubbedTranscriptFileTooEarlyApplicationJSON jx.Raw

func (*GetDubbedTranscriptFileTooEarlyApplicationJSON) Decode

Decode decodes GetDubbedTranscriptFileTooEarlyApplicationJSON from json.

func (GetDubbedTranscriptFileTooEarlyApplicationJSON) Encode

Encode encodes GetDubbedTranscriptFileTooEarlyApplicationJSON as json.

func (GetDubbedTranscriptFileTooEarlyApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetDubbedTranscriptFileTooEarlyApplicationJSON) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type GetDubbingResourceParams

type GetDubbingResourceParams struct {
	// ID of the dubbing project.
	DubbingID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetDubbingResourceParams is parameters of get_dubbing_resource operation.

type GetDubbingResourceRes

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

type GetKnowledgeBaseContentOK

type GetKnowledgeBaseContentOK struct {
	Data io.Reader
}

func (GetKnowledgeBaseContentOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GetKnowledgeBaseContentParams

type GetKnowledgeBaseContentParams struct {
	// The id of a document from the knowledge base. This is returned on document addition.
	DocumentationID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetKnowledgeBaseContentParams is parameters of get_knowledge_base_content operation.

type GetKnowledgeBaseContentRes

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

type GetKnowledgeBaseDependentAgentsParams

type GetKnowledgeBaseDependentAgentsParams struct {
	// The id of a document from the knowledge base. This is returned on document addition.
	DocumentationID string
	// Type of dependent agents to return.
	DependentType OptKnowledgeBaseDependentType `json:",omitempty,omitzero"`
	// How many documents to return at maximum. Can not exceed 100, defaults to 30.
	PageSize OptInt `json:",omitempty,omitzero"`
	// Used for fetching next page. Cursor is returned in the response.
	Cursor OptNilString `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetKnowledgeBaseDependentAgentsParams is parameters of get_knowledge_base_dependent_agents operation.

type GetKnowledgeBaseDependentAgentsRes

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

type GetKnowledgeBaseDependentAgentsResponseModel

type GetKnowledgeBaseDependentAgentsResponseModel struct {
	Agents     []GetKnowledgeBaseDependentAgentsResponseModelAgentsItem `json:"agents"`
	HasMore    bool                                                     `json:"has_more"`
	NextCursor OptNilString                                             `json:"next_cursor"`
}

Ref: #/components/schemas/GetKnowledgeBaseDependentAgentsResponseModel

func (*GetKnowledgeBaseDependentAgentsResponseModel) Decode

Decode decodes GetKnowledgeBaseDependentAgentsResponseModel from json.

func (*GetKnowledgeBaseDependentAgentsResponseModel) Encode

Encode implements json.Marshaler.

func (*GetKnowledgeBaseDependentAgentsResponseModel) GetAgents

GetAgents returns the value of Agents.

func (*GetKnowledgeBaseDependentAgentsResponseModel) GetHasMore

GetHasMore returns the value of HasMore.

func (*GetKnowledgeBaseDependentAgentsResponseModel) GetNextCursor

GetNextCursor returns the value of NextCursor.

func (*GetKnowledgeBaseDependentAgentsResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetKnowledgeBaseDependentAgentsResponseModel) SetAgents

SetAgents sets the value of Agents.

func (*GetKnowledgeBaseDependentAgentsResponseModel) SetHasMore

SetHasMore sets the value of HasMore.

func (*GetKnowledgeBaseDependentAgentsResponseModel) SetNextCursor

SetNextCursor sets the value of NextCursor.

func (*GetKnowledgeBaseDependentAgentsResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseDependentAgentsResponseModel) Validate

type GetKnowledgeBaseDependentAgentsResponseModelAgentsItem

type GetKnowledgeBaseDependentAgentsResponseModelAgentsItem struct {
	Type                              GetKnowledgeBaseDependentAgentsResponseModelAgentsItemType // switch on this field
	DependentAvailableAgentIdentifier DependentAvailableAgentIdentifier
	DependentUnknownAgentIdentifier   DependentUnknownAgentIdentifier
}

GetKnowledgeBaseDependentAgentsResponseModelAgentsItem represents sum type.

func NewDependentAvailableAgentIdentifierGetKnowledgeBaseDependentAgentsResponseModelAgentsItem

func NewDependentAvailableAgentIdentifierGetKnowledgeBaseDependentAgentsResponseModelAgentsItem(v DependentAvailableAgentIdentifier) GetKnowledgeBaseDependentAgentsResponseModelAgentsItem

NewDependentAvailableAgentIdentifierGetKnowledgeBaseDependentAgentsResponseModelAgentsItem returns new GetKnowledgeBaseDependentAgentsResponseModelAgentsItem from DependentAvailableAgentIdentifier.

func NewDependentUnknownAgentIdentifierGetKnowledgeBaseDependentAgentsResponseModelAgentsItem

func NewDependentUnknownAgentIdentifierGetKnowledgeBaseDependentAgentsResponseModelAgentsItem(v DependentUnknownAgentIdentifier) GetKnowledgeBaseDependentAgentsResponseModelAgentsItem

NewDependentUnknownAgentIdentifierGetKnowledgeBaseDependentAgentsResponseModelAgentsItem returns new GetKnowledgeBaseDependentAgentsResponseModelAgentsItem from DependentUnknownAgentIdentifier.

func (*GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) Decode

Decode decodes GetKnowledgeBaseDependentAgentsResponseModelAgentsItem from json.

func (GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) Encode

Encode encodes GetKnowledgeBaseDependentAgentsResponseModelAgentsItem as json.

func (GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) GetDependentAvailableAgentIdentifier

GetDependentAvailableAgentIdentifier returns DependentAvailableAgentIdentifier and true boolean if GetKnowledgeBaseDependentAgentsResponseModelAgentsItem is DependentAvailableAgentIdentifier.

func (GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) GetDependentUnknownAgentIdentifier

GetDependentUnknownAgentIdentifier returns DependentUnknownAgentIdentifier and true boolean if GetKnowledgeBaseDependentAgentsResponseModelAgentsItem is DependentUnknownAgentIdentifier.

func (GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) IsDependentAvailableAgentIdentifier

func (s GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) IsDependentAvailableAgentIdentifier() bool

IsDependentAvailableAgentIdentifier reports whether GetKnowledgeBaseDependentAgentsResponseModelAgentsItem is DependentAvailableAgentIdentifier.

func (GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) IsDependentUnknownAgentIdentifier

func (s GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) IsDependentUnknownAgentIdentifier() bool

IsDependentUnknownAgentIdentifier reports whether GetKnowledgeBaseDependentAgentsResponseModelAgentsItem is DependentUnknownAgentIdentifier.

func (GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) SetDependentAvailableAgentIdentifier

SetDependentAvailableAgentIdentifier sets GetKnowledgeBaseDependentAgentsResponseModelAgentsItem to DependentAvailableAgentIdentifier.

func (*GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) SetDependentUnknownAgentIdentifier

SetDependentUnknownAgentIdentifier sets GetKnowledgeBaseDependentAgentsResponseModelAgentsItem to DependentUnknownAgentIdentifier.

func (*GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) Validate

type GetKnowledgeBaseDependentAgentsResponseModelAgentsItemType

type GetKnowledgeBaseDependentAgentsResponseModelAgentsItemType string

GetKnowledgeBaseDependentAgentsResponseModelAgentsItemType is oneOf type of GetKnowledgeBaseDependentAgentsResponseModelAgentsItem.

const (
	DependentAvailableAgentIdentifierGetKnowledgeBaseDependentAgentsResponseModelAgentsItem GetKnowledgeBaseDependentAgentsResponseModelAgentsItemType = "available"
	DependentUnknownAgentIdentifierGetKnowledgeBaseDependentAgentsResponseModelAgentsItem   GetKnowledgeBaseDependentAgentsResponseModelAgentsItemType = "unknown"
)

Possible values for GetKnowledgeBaseDependentAgentsResponseModelAgentsItemType.

type GetKnowledgeBaseFileResponseModel

type GetKnowledgeBaseFileResponseModel struct {
	AccessInfo         ResourceAccessInfo `json:"access_info"`
	ExtractedInnerHTML string             `json:"extracted_inner_html"`
	// The ID of the parent folder, or null if the document is at the root level.
	FolderParentID OptNilString `json:"folder_parent_id"`
	// The folder path segments leading to this entity, from root to parent folder.
	FolderPath      []KnowledgeBaseFolderPathSegmentResponseModel `json:"folder_path"`
	ID              string                                        `json:"id"`
	Metadata        KnowledgeBaseDocumentMetadataResponseModel    `json:"metadata"`
	Name            string                                        `json:"name"`
	SupportedUsages []DocumentUsageModeEnum                       `json:"supported_usages"`
	Type            GetKnowledgeBaseFileResponseModelType         `json:"type"`
}

Ref: #/components/schemas/GetKnowledgeBaseFileResponseModel

func (*GetKnowledgeBaseFileResponseModel) Decode

Decode decodes GetKnowledgeBaseFileResponseModel from json.

func (*GetKnowledgeBaseFileResponseModel) Encode

Encode implements json.Marshaler.

func (*GetKnowledgeBaseFileResponseModel) GetAccessInfo

GetAccessInfo returns the value of AccessInfo.

func (*GetKnowledgeBaseFileResponseModel) GetExtractedInnerHTML

func (s *GetKnowledgeBaseFileResponseModel) GetExtractedInnerHTML() string

GetExtractedInnerHTML returns the value of ExtractedInnerHTML.

func (*GetKnowledgeBaseFileResponseModel) GetFolderParentID

func (s *GetKnowledgeBaseFileResponseModel) GetFolderParentID() OptNilString

GetFolderParentID returns the value of FolderParentID.

func (*GetKnowledgeBaseFileResponseModel) GetFolderPath

GetFolderPath returns the value of FolderPath.

func (*GetKnowledgeBaseFileResponseModel) GetID

GetID returns the value of ID.

func (*GetKnowledgeBaseFileResponseModel) GetMetadata

GetMetadata returns the value of Metadata.

func (*GetKnowledgeBaseFileResponseModel) GetName

GetName returns the value of Name.

func (*GetKnowledgeBaseFileResponseModel) GetSupportedUsages

func (s *GetKnowledgeBaseFileResponseModel) GetSupportedUsages() []DocumentUsageModeEnum

GetSupportedUsages returns the value of SupportedUsages.

func (*GetKnowledgeBaseFileResponseModel) GetType

GetType returns the value of Type.

func (*GetKnowledgeBaseFileResponseModel) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetKnowledgeBaseFileResponseModel) SetAccessInfo

SetAccessInfo sets the value of AccessInfo.

func (*GetKnowledgeBaseFileResponseModel) SetExtractedInnerHTML

func (s *GetKnowledgeBaseFileResponseModel) SetExtractedInnerHTML(val string)

SetExtractedInnerHTML sets the value of ExtractedInnerHTML.

func (*GetKnowledgeBaseFileResponseModel) SetFolderParentID

func (s *GetKnowledgeBaseFileResponseModel) SetFolderParentID(val OptNilString)

SetFolderParentID sets the value of FolderParentID.

func (*GetKnowledgeBaseFileResponseModel) SetFolderPath

SetFolderPath sets the value of FolderPath.

func (*GetKnowledgeBaseFileResponseModel) SetID

SetID sets the value of ID.

func (*GetKnowledgeBaseFileResponseModel) SetMetadata

SetMetadata sets the value of Metadata.

func (*GetKnowledgeBaseFileResponseModel) SetName

func (s *GetKnowledgeBaseFileResponseModel) SetName(val string)

SetName sets the value of Name.

func (*GetKnowledgeBaseFileResponseModel) SetSupportedUsages

func (s *GetKnowledgeBaseFileResponseModel) SetSupportedUsages(val []DocumentUsageModeEnum)

SetSupportedUsages sets the value of SupportedUsages.

func (*GetKnowledgeBaseFileResponseModel) SetType

SetType sets the value of Type.

func (*GetKnowledgeBaseFileResponseModel) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseFileResponseModel) Validate

type GetKnowledgeBaseFileResponseModelType

type GetKnowledgeBaseFileResponseModelType string
const (
	GetKnowledgeBaseFileResponseModelTypeFile GetKnowledgeBaseFileResponseModelType = "file"
)

func (GetKnowledgeBaseFileResponseModelType) AllValues

AllValues returns all GetKnowledgeBaseFileResponseModelType values.

func (*GetKnowledgeBaseFileResponseModelType) Decode

Decode decodes GetKnowledgeBaseFileResponseModelType from json.

func (GetKnowledgeBaseFileResponseModelType) Encode

Encode encodes GetKnowledgeBaseFileResponseModelType as json.

func (GetKnowledgeBaseFileResponseModelType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (GetKnowledgeBaseFileResponseModelType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*GetKnowledgeBaseFileResponseModelType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseFileResponseModelType) UnmarshalText

func (s *GetKnowledgeBaseFileResponseModelType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetKnowledgeBaseFileResponseModelType) Validate

type GetKnowledgeBaseFolderResponseModel

type GetKnowledgeBaseFolderResponseModel struct {
	AccessInfo    ResourceAccessInfo `json:"access_info"`
	ChildrenCount int                `json:"children_count"`
	// The ID of the parent folder, or null if the document is at the root level.
	FolderParentID OptNilString `json:"folder_parent_id"`
	// The folder path segments leading to this entity, from root to parent folder.
	FolderPath      []KnowledgeBaseFolderPathSegmentResponseModel `json:"folder_path"`
	ID              string                                        `json:"id"`
	Metadata        KnowledgeBaseDocumentMetadataResponseModel    `json:"metadata"`
	Name            string                                        `json:"name"`
	SupportedUsages []DocumentUsageModeEnum                       `json:"supported_usages"`
	Type            GetKnowledgeBaseFolderResponseModelType       `json:"type"`
}

Ref: #/components/schemas/GetKnowledgeBaseFolderResponseModel

func (*GetKnowledgeBaseFolderResponseModel) Decode

Decode decodes GetKnowledgeBaseFolderResponseModel from json.

func (*GetKnowledgeBaseFolderResponseModel) Encode

Encode implements json.Marshaler.

func (*GetKnowledgeBaseFolderResponseModel) GetAccessInfo

GetAccessInfo returns the value of AccessInfo.

func (*GetKnowledgeBaseFolderResponseModel) GetChildrenCount

func (s *GetKnowledgeBaseFolderResponseModel) GetChildrenCount() int

GetChildrenCount returns the value of ChildrenCount.

func (*GetKnowledgeBaseFolderResponseModel) GetFolderParentID

func (s *GetKnowledgeBaseFolderResponseModel) GetFolderParentID() OptNilString

GetFolderParentID returns the value of FolderParentID.

func (*GetKnowledgeBaseFolderResponseModel) GetFolderPath

GetFolderPath returns the value of FolderPath.

func (*GetKnowledgeBaseFolderResponseModel) GetID

GetID returns the value of ID.

func (*GetKnowledgeBaseFolderResponseModel) GetMetadata

GetMetadata returns the value of Metadata.

func (*GetKnowledgeBaseFolderResponseModel) GetName

GetName returns the value of Name.

func (*GetKnowledgeBaseFolderResponseModel) GetSupportedUsages

GetSupportedUsages returns the value of SupportedUsages.

func (*GetKnowledgeBaseFolderResponseModel) GetType

GetType returns the value of Type.

func (*GetKnowledgeBaseFolderResponseModel) MarshalJSON

func (s *GetKnowledgeBaseFolderResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetKnowledgeBaseFolderResponseModel) SetAccessInfo

SetAccessInfo sets the value of AccessInfo.

func (*GetKnowledgeBaseFolderResponseModel) SetChildrenCount

func (s *GetKnowledgeBaseFolderResponseModel) SetChildrenCount(val int)

SetChildrenCount sets the value of ChildrenCount.

func (*GetKnowledgeBaseFolderResponseModel) SetFolderParentID

func (s *GetKnowledgeBaseFolderResponseModel) SetFolderParentID(val OptNilString)

SetFolderParentID sets the value of FolderParentID.

func (*GetKnowledgeBaseFolderResponseModel) SetFolderPath

SetFolderPath sets the value of FolderPath.

func (*GetKnowledgeBaseFolderResponseModel) SetID

SetID sets the value of ID.

func (*GetKnowledgeBaseFolderResponseModel) SetMetadata

SetMetadata sets the value of Metadata.

func (*GetKnowledgeBaseFolderResponseModel) SetName

SetName sets the value of Name.

func (*GetKnowledgeBaseFolderResponseModel) SetSupportedUsages

func (s *GetKnowledgeBaseFolderResponseModel) SetSupportedUsages(val []DocumentUsageModeEnum)

SetSupportedUsages sets the value of SupportedUsages.

func (*GetKnowledgeBaseFolderResponseModel) SetType

SetType sets the value of Type.

func (*GetKnowledgeBaseFolderResponseModel) UnmarshalJSON

func (s *GetKnowledgeBaseFolderResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseFolderResponseModel) Validate

type GetKnowledgeBaseFolderResponseModelType

type GetKnowledgeBaseFolderResponseModelType string
const (
	GetKnowledgeBaseFolderResponseModelTypeFolder GetKnowledgeBaseFolderResponseModelType = "folder"
)

func (GetKnowledgeBaseFolderResponseModelType) AllValues

AllValues returns all GetKnowledgeBaseFolderResponseModelType values.

func (*GetKnowledgeBaseFolderResponseModelType) Decode

Decode decodes GetKnowledgeBaseFolderResponseModelType from json.

func (GetKnowledgeBaseFolderResponseModelType) Encode

Encode encodes GetKnowledgeBaseFolderResponseModelType as json.

func (GetKnowledgeBaseFolderResponseModelType) MarshalJSON

func (s GetKnowledgeBaseFolderResponseModelType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (GetKnowledgeBaseFolderResponseModelType) MarshalText

func (s GetKnowledgeBaseFolderResponseModelType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*GetKnowledgeBaseFolderResponseModelType) UnmarshalJSON

func (s *GetKnowledgeBaseFolderResponseModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseFolderResponseModelType) UnmarshalText

func (s *GetKnowledgeBaseFolderResponseModelType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetKnowledgeBaseFolderResponseModelType) Validate

type GetKnowledgeBaseListResponseModel

type GetKnowledgeBaseListResponseModel struct {
	Documents  []GetKnowledgeBaseListResponseModelDocumentsItem `json:"documents"`
	HasMore    bool                                             `json:"has_more"`
	NextCursor OptNilString                                     `json:"next_cursor"`
}

Ref: #/components/schemas/GetKnowledgeBaseListResponseModel

func (*GetKnowledgeBaseListResponseModel) Decode

Decode decodes GetKnowledgeBaseListResponseModel from json.

func (*GetKnowledgeBaseListResponseModel) Encode

Encode implements json.Marshaler.

func (*GetKnowledgeBaseListResponseModel) GetDocuments

GetDocuments returns the value of Documents.

func (*GetKnowledgeBaseListResponseModel) GetHasMore

func (s *GetKnowledgeBaseListResponseModel) GetHasMore() bool

GetHasMore returns the value of HasMore.

func (*GetKnowledgeBaseListResponseModel) GetNextCursor

GetNextCursor returns the value of NextCursor.

func (*GetKnowledgeBaseListResponseModel) MarshalJSON

func (s *GetKnowledgeBaseListResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetKnowledgeBaseListResponseModel) SetDocuments

SetDocuments sets the value of Documents.

func (*GetKnowledgeBaseListResponseModel) SetHasMore

func (s *GetKnowledgeBaseListResponseModel) SetHasMore(val bool)

SetHasMore sets the value of HasMore.

func (*GetKnowledgeBaseListResponseModel) SetNextCursor

func (s *GetKnowledgeBaseListResponseModel) SetNextCursor(val OptNilString)

SetNextCursor sets the value of NextCursor.

func (*GetKnowledgeBaseListResponseModel) UnmarshalJSON

func (s *GetKnowledgeBaseListResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseListResponseModel) Validate

type GetKnowledgeBaseListResponseModelDocumentsItem

type GetKnowledgeBaseListResponseModelDocumentsItem struct {
	Type                                       GetKnowledgeBaseListResponseModelDocumentsItemType // switch on this field
	GetKnowledgeBaseSummaryURLResponseModel    GetKnowledgeBaseSummaryURLResponseModel
	GetKnowledgeBaseSummaryFileResponseModel   GetKnowledgeBaseSummaryFileResponseModel
	GetKnowledgeBaseSummaryTextResponseModel   GetKnowledgeBaseSummaryTextResponseModel
	GetKnowledgeBaseSummaryFolderResponseModel GetKnowledgeBaseSummaryFolderResponseModel
}

GetKnowledgeBaseListResponseModelDocumentsItem represents sum type.

func NewGetKnowledgeBaseSummaryFileResponseModelGetKnowledgeBaseListResponseModelDocumentsItem

func NewGetKnowledgeBaseSummaryFileResponseModelGetKnowledgeBaseListResponseModelDocumentsItem(v GetKnowledgeBaseSummaryFileResponseModel) GetKnowledgeBaseListResponseModelDocumentsItem

NewGetKnowledgeBaseSummaryFileResponseModelGetKnowledgeBaseListResponseModelDocumentsItem returns new GetKnowledgeBaseListResponseModelDocumentsItem from GetKnowledgeBaseSummaryFileResponseModel.

func NewGetKnowledgeBaseSummaryFolderResponseModelGetKnowledgeBaseListResponseModelDocumentsItem

func NewGetKnowledgeBaseSummaryFolderResponseModelGetKnowledgeBaseListResponseModelDocumentsItem(v GetKnowledgeBaseSummaryFolderResponseModel) GetKnowledgeBaseListResponseModelDocumentsItem

NewGetKnowledgeBaseSummaryFolderResponseModelGetKnowledgeBaseListResponseModelDocumentsItem returns new GetKnowledgeBaseListResponseModelDocumentsItem from GetKnowledgeBaseSummaryFolderResponseModel.

func NewGetKnowledgeBaseSummaryTextResponseModelGetKnowledgeBaseListResponseModelDocumentsItem

func NewGetKnowledgeBaseSummaryTextResponseModelGetKnowledgeBaseListResponseModelDocumentsItem(v GetKnowledgeBaseSummaryTextResponseModel) GetKnowledgeBaseListResponseModelDocumentsItem

NewGetKnowledgeBaseSummaryTextResponseModelGetKnowledgeBaseListResponseModelDocumentsItem returns new GetKnowledgeBaseListResponseModelDocumentsItem from GetKnowledgeBaseSummaryTextResponseModel.

func NewGetKnowledgeBaseSummaryURLResponseModelGetKnowledgeBaseListResponseModelDocumentsItem

func NewGetKnowledgeBaseSummaryURLResponseModelGetKnowledgeBaseListResponseModelDocumentsItem(v GetKnowledgeBaseSummaryURLResponseModel) GetKnowledgeBaseListResponseModelDocumentsItem

NewGetKnowledgeBaseSummaryURLResponseModelGetKnowledgeBaseListResponseModelDocumentsItem returns new GetKnowledgeBaseListResponseModelDocumentsItem from GetKnowledgeBaseSummaryURLResponseModel.

func (*GetKnowledgeBaseListResponseModelDocumentsItem) Decode

Decode decodes GetKnowledgeBaseListResponseModelDocumentsItem from json.

func (GetKnowledgeBaseListResponseModelDocumentsItem) Encode

Encode encodes GetKnowledgeBaseListResponseModelDocumentsItem as json.

func (GetKnowledgeBaseListResponseModelDocumentsItem) GetGetKnowledgeBaseSummaryFileResponseModel

func (s GetKnowledgeBaseListResponseModelDocumentsItem) GetGetKnowledgeBaseSummaryFileResponseModel() (v GetKnowledgeBaseSummaryFileResponseModel, ok bool)

GetGetKnowledgeBaseSummaryFileResponseModel returns GetKnowledgeBaseSummaryFileResponseModel and true boolean if GetKnowledgeBaseListResponseModelDocumentsItem is GetKnowledgeBaseSummaryFileResponseModel.

func (GetKnowledgeBaseListResponseModelDocumentsItem) GetGetKnowledgeBaseSummaryFolderResponseModel

func (s GetKnowledgeBaseListResponseModelDocumentsItem) GetGetKnowledgeBaseSummaryFolderResponseModel() (v GetKnowledgeBaseSummaryFolderResponseModel, ok bool)

GetGetKnowledgeBaseSummaryFolderResponseModel returns GetKnowledgeBaseSummaryFolderResponseModel and true boolean if GetKnowledgeBaseListResponseModelDocumentsItem is GetKnowledgeBaseSummaryFolderResponseModel.

func (GetKnowledgeBaseListResponseModelDocumentsItem) GetGetKnowledgeBaseSummaryTextResponseModel

func (s GetKnowledgeBaseListResponseModelDocumentsItem) GetGetKnowledgeBaseSummaryTextResponseModel() (v GetKnowledgeBaseSummaryTextResponseModel, ok bool)

GetGetKnowledgeBaseSummaryTextResponseModel returns GetKnowledgeBaseSummaryTextResponseModel and true boolean if GetKnowledgeBaseListResponseModelDocumentsItem is GetKnowledgeBaseSummaryTextResponseModel.

func (GetKnowledgeBaseListResponseModelDocumentsItem) GetGetKnowledgeBaseSummaryURLResponseModel

func (s GetKnowledgeBaseListResponseModelDocumentsItem) GetGetKnowledgeBaseSummaryURLResponseModel() (v GetKnowledgeBaseSummaryURLResponseModel, ok bool)

GetGetKnowledgeBaseSummaryURLResponseModel returns GetKnowledgeBaseSummaryURLResponseModel and true boolean if GetKnowledgeBaseListResponseModelDocumentsItem is GetKnowledgeBaseSummaryURLResponseModel.

func (GetKnowledgeBaseListResponseModelDocumentsItem) IsGetKnowledgeBaseSummaryFileResponseModel

func (s GetKnowledgeBaseListResponseModelDocumentsItem) IsGetKnowledgeBaseSummaryFileResponseModel() bool

IsGetKnowledgeBaseSummaryFileResponseModel reports whether GetKnowledgeBaseListResponseModelDocumentsItem is GetKnowledgeBaseSummaryFileResponseModel.

func (GetKnowledgeBaseListResponseModelDocumentsItem) IsGetKnowledgeBaseSummaryFolderResponseModel

func (s GetKnowledgeBaseListResponseModelDocumentsItem) IsGetKnowledgeBaseSummaryFolderResponseModel() bool

IsGetKnowledgeBaseSummaryFolderResponseModel reports whether GetKnowledgeBaseListResponseModelDocumentsItem is GetKnowledgeBaseSummaryFolderResponseModel.

func (GetKnowledgeBaseListResponseModelDocumentsItem) IsGetKnowledgeBaseSummaryTextResponseModel

func (s GetKnowledgeBaseListResponseModelDocumentsItem) IsGetKnowledgeBaseSummaryTextResponseModel() bool

IsGetKnowledgeBaseSummaryTextResponseModel reports whether GetKnowledgeBaseListResponseModelDocumentsItem is GetKnowledgeBaseSummaryTextResponseModel.

func (GetKnowledgeBaseListResponseModelDocumentsItem) IsGetKnowledgeBaseSummaryURLResponseModel

func (s GetKnowledgeBaseListResponseModelDocumentsItem) IsGetKnowledgeBaseSummaryURLResponseModel() bool

IsGetKnowledgeBaseSummaryURLResponseModel reports whether GetKnowledgeBaseListResponseModelDocumentsItem is GetKnowledgeBaseSummaryURLResponseModel.

func (GetKnowledgeBaseListResponseModelDocumentsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetKnowledgeBaseListResponseModelDocumentsItem) SetGetKnowledgeBaseSummaryFileResponseModel

func (s *GetKnowledgeBaseListResponseModelDocumentsItem) SetGetKnowledgeBaseSummaryFileResponseModel(v GetKnowledgeBaseSummaryFileResponseModel)

SetGetKnowledgeBaseSummaryFileResponseModel sets GetKnowledgeBaseListResponseModelDocumentsItem to GetKnowledgeBaseSummaryFileResponseModel.

func (*GetKnowledgeBaseListResponseModelDocumentsItem) SetGetKnowledgeBaseSummaryFolderResponseModel

func (s *GetKnowledgeBaseListResponseModelDocumentsItem) SetGetKnowledgeBaseSummaryFolderResponseModel(v GetKnowledgeBaseSummaryFolderResponseModel)

SetGetKnowledgeBaseSummaryFolderResponseModel sets GetKnowledgeBaseListResponseModelDocumentsItem to GetKnowledgeBaseSummaryFolderResponseModel.

func (*GetKnowledgeBaseListResponseModelDocumentsItem) SetGetKnowledgeBaseSummaryTextResponseModel

func (s *GetKnowledgeBaseListResponseModelDocumentsItem) SetGetKnowledgeBaseSummaryTextResponseModel(v GetKnowledgeBaseSummaryTextResponseModel)

SetGetKnowledgeBaseSummaryTextResponseModel sets GetKnowledgeBaseListResponseModelDocumentsItem to GetKnowledgeBaseSummaryTextResponseModel.

func (*GetKnowledgeBaseListResponseModelDocumentsItem) SetGetKnowledgeBaseSummaryURLResponseModel

func (s *GetKnowledgeBaseListResponseModelDocumentsItem) SetGetKnowledgeBaseSummaryURLResponseModel(v GetKnowledgeBaseSummaryURLResponseModel)

SetGetKnowledgeBaseSummaryURLResponseModel sets GetKnowledgeBaseListResponseModelDocumentsItem to GetKnowledgeBaseSummaryURLResponseModel.

func (*GetKnowledgeBaseListResponseModelDocumentsItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetKnowledgeBaseListResponseModelDocumentsItem) Validate

type GetKnowledgeBaseListResponseModelDocumentsItemType

type GetKnowledgeBaseListResponseModelDocumentsItemType string

GetKnowledgeBaseListResponseModelDocumentsItemType is oneOf type of GetKnowledgeBaseListResponseModelDocumentsItem.

const (
	GetKnowledgeBaseSummaryURLResponseModelGetKnowledgeBaseListResponseModelDocumentsItem    GetKnowledgeBaseListResponseModelDocumentsItemType = "url"
	GetKnowledgeBaseSummaryFileResponseModelGetKnowledgeBaseListResponseModelDocumentsItem   GetKnowledgeBaseListResponseModelDocumentsItemType = "file"
	GetKnowledgeBaseSummaryTextResponseModelGetKnowledgeBaseListResponseModelDocumentsItem   GetKnowledgeBaseListResponseModelDocumentsItemType = "text"
	GetKnowledgeBaseSummaryFolderResponseModelGetKnowledgeBaseListResponseModelDocumentsItem GetKnowledgeBaseListResponseModelDocumentsItemType = "folder"
)

Possible values for GetKnowledgeBaseListResponseModelDocumentsItemType.

type GetKnowledgeBaseListRouteParams

type GetKnowledgeBaseListRouteParams struct {
	// How many documents to return at maximum. Can not exceed 100, defaults to 30.
	PageSize OptInt `json:",omitempty,omitzero"`
	// If specified, the endpoint returns only such knowledge base documents whose names start with this
	// string.
	Search OptNilString `json:",omitempty,omitzero"`
	// If set to true, the endpoint will return only documents owned by you (and not shared from somebody
	// else).
	ShowOnlyOwnedDocuments OptBool `json:",omitempty,omitzero"`
	// If present, the endpoint will return only documents of the given types.
	Types OptNilKnowledgeBaseDocumentTypeArray `json:",omitempty,omitzero"`
	// If set, the endpoint will return only documents that are direct children of the given folder.
	ParentFolderID OptNilString `json:",omitempty,omitzero"`
	// If set, the endpoint will return only documents that are descendants of the given folder.
	AncestorFolderID OptNilString `json:",omitempty,omitzero"`
	// Whether folders should be returned first in the list of documents.
	FoldersFirst OptBool `json:",omitempty,omitzero"`
	// The direction to sort the results.
	SortDirection OptSortDirection `json:",omitempty,omitzero"`
	// The field to sort the results by.
	SortBy OptKnowledgeBaseSortBy `json:",omitempty,omitzero"`
	// If set to true, the endpoint will use typesense DB to search for the documents).
	//
	// Deprecated: schema marks this parameter as deprecated.
	UseTypesense OptBool `json:",omitempty,omitzero"`
	// Used for fetching next page. Cursor is returned in the response.
	Cursor OptNilString `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetKnowledgeBaseListRouteParams is parameters of get_knowledge_base_list_route operation.

type GetKnowledgeBaseListRouteRes

type GetKnowledgeBaseListRouteRes interface {
	// contains filtered or unexported methods
}

type GetKnowledgeBaseSummaryFileResponseModel

type GetKnowledgeBaseSummaryFileResponseModel struct {
	AccessInfo ResourceAccessInfo `json:"access_info"`
	// This field is deprecated and will be removed in the future, use the separate endpoint to get
	// dependent agents instead.
	//
	// Deprecated: schema marks this property as deprecated.
	DependentAgents []GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem `json:"dependent_agents"`
	// The ID of the parent folder, or null if the document is at the root level.
	FolderParentID  OptNilString                                 `json:"folder_parent_id"`
	ID              string                                       `json:"id"`
	Metadata        KnowledgeBaseDocumentMetadataResponseModel   `json:"metadata"`
	Name            string                                       `json:"name"`
	SupportedUsages []DocumentUsageModeEnum                      `json:"supported_usages"`
	Type            GetKnowledgeBaseSummaryFileResponseModelType `json:"type"`
}

Ref: #/components/schemas/GetKnowledgeBaseSummaryFileResponseModel

func (*GetKnowledgeBaseSummaryFileResponseModel) Decode

Decode decodes GetKnowledgeBaseSummaryFileResponseModel from json.

func (*GetKnowledgeBaseSummaryFileResponseModel) Encode

Encode implements json.Marshaler.

func (*GetKnowledgeBaseSummaryFileResponseModel) GetAccessInfo

GetAccessInfo returns the value of AccessInfo.

func (*GetKnowledgeBaseSummaryFileResponseModel) GetDependentAgents

GetDependentAgents returns the value of DependentAgents.

func (*GetKnowledgeBaseSummaryFileResponseModel) GetFolderParentID

GetFolderParentID returns the value of FolderParentID.

func (*GetKnowledgeBaseSummaryFileResponseModel) GetID

GetID returns the value of ID.

func (*GetKnowledgeBaseSummaryFileResponseModel) GetMetadata

GetMetadata returns the value of Metadata.

func (*GetKnowledgeBaseSummaryFileResponseModel) GetName

GetName returns the value of Name.

func (*GetKnowledgeBaseSummaryFileResponseModel) GetSupportedUsages

GetSupportedUsages returns the value of SupportedUsages.

func (*GetKnowledgeBaseSummaryFileResponseModel) GetType

GetType returns the value of Type.

func (*GetKnowledgeBaseSummaryFileResponseModel) MarshalJSON

func (s *GetKnowledgeBaseSummaryFileResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetKnowledgeBaseSummaryFileResponseModel) SetAccessInfo

SetAccessInfo sets the value of AccessInfo.

func (*GetKnowledgeBaseSummaryFileResponseModel) SetDependentAgents

SetDependentAgents sets the value of DependentAgents.

func (*GetKnowledgeBaseSummaryFileResponseModel) SetFolderParentID

func (s *GetKnowledgeBaseSummaryFileResponseModel) SetFolderParentID(val OptNilString)

SetFolderParentID sets the value of FolderParentID.

func (*GetKnowledgeBaseSummaryFileResponseModel) SetID

SetID sets the value of ID.

func (*GetKnowledgeBaseSummaryFileResponseModel) SetMetadata

SetMetadata sets the value of Metadata.

func (*GetKnowledgeBaseSummaryFileResponseModel) SetName

SetName sets the value of Name.

func (*GetKnowledgeBaseSummaryFileResponseModel) SetSupportedUsages

SetSupportedUsages sets the value of SupportedUsages.

func (*GetKnowledgeBaseSummaryFileResponseModel) SetType

SetType sets the value of Type.

func (*GetKnowledgeBaseSummaryFileResponseModel) UnmarshalJSON

func (s *GetKnowledgeBaseSummaryFileResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseSummaryFileResponseModel) Validate

type GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem

type GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem struct {
	Type                              GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItemType // switch on this field
	DependentAvailableAgentIdentifier DependentAvailableAgentIdentifier
	DependentUnknownAgentIdentifier   DependentUnknownAgentIdentifier
}

GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem represents sum type.

func NewDependentAvailableAgentIdentifierGetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem

func NewDependentAvailableAgentIdentifierGetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem(v DependentAvailableAgentIdentifier) GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem

NewDependentAvailableAgentIdentifierGetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem returns new GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem from DependentAvailableAgentIdentifier.

func NewDependentUnknownAgentIdentifierGetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem

func NewDependentUnknownAgentIdentifierGetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem(v DependentUnknownAgentIdentifier) GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem

NewDependentUnknownAgentIdentifierGetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem returns new GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem from DependentUnknownAgentIdentifier.

func (*GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) Decode

Decode decodes GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem from json.

func (GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) Encode

Encode encodes GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem as json.

func (GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) GetDependentAvailableAgentIdentifier

GetDependentAvailableAgentIdentifier returns DependentAvailableAgentIdentifier and true boolean if GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem is DependentAvailableAgentIdentifier.

func (GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) GetDependentUnknownAgentIdentifier

GetDependentUnknownAgentIdentifier returns DependentUnknownAgentIdentifier and true boolean if GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem is DependentUnknownAgentIdentifier.

func (GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) IsDependentAvailableAgentIdentifier

func (s GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) IsDependentAvailableAgentIdentifier() bool

IsDependentAvailableAgentIdentifier reports whether GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem is DependentAvailableAgentIdentifier.

func (GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) IsDependentUnknownAgentIdentifier

func (s GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) IsDependentUnknownAgentIdentifier() bool

IsDependentUnknownAgentIdentifier reports whether GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem is DependentUnknownAgentIdentifier.

func (GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) SetDependentAvailableAgentIdentifier

SetDependentAvailableAgentIdentifier sets GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem to DependentAvailableAgentIdentifier.

func (*GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) SetDependentUnknownAgentIdentifier

SetDependentUnknownAgentIdentifier sets GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem to DependentUnknownAgentIdentifier.

func (*GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) Validate

type GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItemType

type GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItemType string

GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItemType is oneOf type of GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem.

const (
	DependentAvailableAgentIdentifierGetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItemType = "available"
	DependentUnknownAgentIdentifierGetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem   GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItemType = "unknown"
)

Possible values for GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItemType.

type GetKnowledgeBaseSummaryFileResponseModelType

type GetKnowledgeBaseSummaryFileResponseModelType string
const (
	GetKnowledgeBaseSummaryFileResponseModelTypeFile GetKnowledgeBaseSummaryFileResponseModelType = "file"
)

func (GetKnowledgeBaseSummaryFileResponseModelType) AllValues

AllValues returns all GetKnowledgeBaseSummaryFileResponseModelType values.

func (*GetKnowledgeBaseSummaryFileResponseModelType) Decode

Decode decodes GetKnowledgeBaseSummaryFileResponseModelType from json.

func (GetKnowledgeBaseSummaryFileResponseModelType) Encode

Encode encodes GetKnowledgeBaseSummaryFileResponseModelType as json.

func (GetKnowledgeBaseSummaryFileResponseModelType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (GetKnowledgeBaseSummaryFileResponseModelType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*GetKnowledgeBaseSummaryFileResponseModelType) UnmarshalJSON

func (s *GetKnowledgeBaseSummaryFileResponseModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseSummaryFileResponseModelType) UnmarshalText

func (s *GetKnowledgeBaseSummaryFileResponseModelType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetKnowledgeBaseSummaryFileResponseModelType) Validate

type GetKnowledgeBaseSummaryFolderResponseModel

type GetKnowledgeBaseSummaryFolderResponseModel struct {
	AccessInfo    ResourceAccessInfo `json:"access_info"`
	ChildrenCount int                `json:"children_count"`
	// This field is deprecated and will be removed in the future, use the separate endpoint to get
	// dependent agents instead.
	//
	// Deprecated: schema marks this property as deprecated.
	DependentAgents []GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem `json:"dependent_agents"`
	// The ID of the parent folder, or null if the document is at the root level.
	FolderParentID  OptNilString                                   `json:"folder_parent_id"`
	ID              string                                         `json:"id"`
	Metadata        KnowledgeBaseDocumentMetadataResponseModel     `json:"metadata"`
	Name            string                                         `json:"name"`
	SupportedUsages []DocumentUsageModeEnum                        `json:"supported_usages"`
	Type            GetKnowledgeBaseSummaryFolderResponseModelType `json:"type"`
}

Ref: #/components/schemas/GetKnowledgeBaseSummaryFolderResponseModel

func (*GetKnowledgeBaseSummaryFolderResponseModel) Decode

Decode decodes GetKnowledgeBaseSummaryFolderResponseModel from json.

func (*GetKnowledgeBaseSummaryFolderResponseModel) Encode

Encode implements json.Marshaler.

func (*GetKnowledgeBaseSummaryFolderResponseModel) GetAccessInfo

GetAccessInfo returns the value of AccessInfo.

func (*GetKnowledgeBaseSummaryFolderResponseModel) GetChildrenCount

func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetChildrenCount() int

GetChildrenCount returns the value of ChildrenCount.

func (*GetKnowledgeBaseSummaryFolderResponseModel) GetDependentAgents

GetDependentAgents returns the value of DependentAgents.

func (*GetKnowledgeBaseSummaryFolderResponseModel) GetFolderParentID

GetFolderParentID returns the value of FolderParentID.

func (*GetKnowledgeBaseSummaryFolderResponseModel) GetID

GetID returns the value of ID.

func (*GetKnowledgeBaseSummaryFolderResponseModel) GetMetadata

GetMetadata returns the value of Metadata.

func (*GetKnowledgeBaseSummaryFolderResponseModel) GetName

GetName returns the value of Name.

func (*GetKnowledgeBaseSummaryFolderResponseModel) GetSupportedUsages

GetSupportedUsages returns the value of SupportedUsages.

func (*GetKnowledgeBaseSummaryFolderResponseModel) GetType

GetType returns the value of Type.

func (*GetKnowledgeBaseSummaryFolderResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetKnowledgeBaseSummaryFolderResponseModel) SetAccessInfo

SetAccessInfo sets the value of AccessInfo.

func (*GetKnowledgeBaseSummaryFolderResponseModel) SetChildrenCount

func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetChildrenCount(val int)

SetChildrenCount sets the value of ChildrenCount.

func (*GetKnowledgeBaseSummaryFolderResponseModel) SetDependentAgents

SetDependentAgents sets the value of DependentAgents.

func (*GetKnowledgeBaseSummaryFolderResponseModel) SetFolderParentID

func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetFolderParentID(val OptNilString)

SetFolderParentID sets the value of FolderParentID.

func (*GetKnowledgeBaseSummaryFolderResponseModel) SetID

SetID sets the value of ID.

func (*GetKnowledgeBaseSummaryFolderResponseModel) SetMetadata

SetMetadata sets the value of Metadata.

func (*GetKnowledgeBaseSummaryFolderResponseModel) SetName

SetName sets the value of Name.

func (*GetKnowledgeBaseSummaryFolderResponseModel) SetSupportedUsages

SetSupportedUsages sets the value of SupportedUsages.

func (*GetKnowledgeBaseSummaryFolderResponseModel) SetType

SetType sets the value of Type.

func (*GetKnowledgeBaseSummaryFolderResponseModel) UnmarshalJSON

func (s *GetKnowledgeBaseSummaryFolderResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseSummaryFolderResponseModel) Validate

type GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem

type GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem struct {
	Type                              GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItemType // switch on this field
	DependentAvailableAgentIdentifier DependentAvailableAgentIdentifier
	DependentUnknownAgentIdentifier   DependentUnknownAgentIdentifier
}

GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem represents sum type.

func NewDependentAvailableAgentIdentifierGetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem

func NewDependentAvailableAgentIdentifierGetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem(v DependentAvailableAgentIdentifier) GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem

NewDependentAvailableAgentIdentifierGetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem returns new GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem from DependentAvailableAgentIdentifier.

func NewDependentUnknownAgentIdentifierGetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem

func NewDependentUnknownAgentIdentifierGetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem(v DependentUnknownAgentIdentifier) GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem

NewDependentUnknownAgentIdentifierGetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem returns new GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem from DependentUnknownAgentIdentifier.

func (*GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) Decode

Decode decodes GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem from json.

func (GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) Encode

Encode encodes GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem as json.

func (GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) GetDependentAvailableAgentIdentifier

GetDependentAvailableAgentIdentifier returns DependentAvailableAgentIdentifier and true boolean if GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem is DependentAvailableAgentIdentifier.

func (GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) GetDependentUnknownAgentIdentifier

GetDependentUnknownAgentIdentifier returns DependentUnknownAgentIdentifier and true boolean if GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem is DependentUnknownAgentIdentifier.

func (GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) IsDependentAvailableAgentIdentifier

func (s GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) IsDependentAvailableAgentIdentifier() bool

IsDependentAvailableAgentIdentifier reports whether GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem is DependentAvailableAgentIdentifier.

func (GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) IsDependentUnknownAgentIdentifier

func (s GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) IsDependentUnknownAgentIdentifier() bool

IsDependentUnknownAgentIdentifier reports whether GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem is DependentUnknownAgentIdentifier.

func (GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) SetDependentAvailableAgentIdentifier

SetDependentAvailableAgentIdentifier sets GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem to DependentAvailableAgentIdentifier.

func (*GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) SetDependentUnknownAgentIdentifier

SetDependentUnknownAgentIdentifier sets GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem to DependentUnknownAgentIdentifier.

func (*GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) Validate

type GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItemType

type GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItemType string

GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItemType is oneOf type of GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.

const (
	DependentAvailableAgentIdentifierGetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItemType = "available"
	DependentUnknownAgentIdentifierGetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem   GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItemType = "unknown"
)

Possible values for GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItemType.

type GetKnowledgeBaseSummaryFolderResponseModelType

type GetKnowledgeBaseSummaryFolderResponseModelType string
const (
	GetKnowledgeBaseSummaryFolderResponseModelTypeFolder GetKnowledgeBaseSummaryFolderResponseModelType = "folder"
)

func (GetKnowledgeBaseSummaryFolderResponseModelType) AllValues

AllValues returns all GetKnowledgeBaseSummaryFolderResponseModelType values.

func (*GetKnowledgeBaseSummaryFolderResponseModelType) Decode

Decode decodes GetKnowledgeBaseSummaryFolderResponseModelType from json.

func (GetKnowledgeBaseSummaryFolderResponseModelType) Encode

Encode encodes GetKnowledgeBaseSummaryFolderResponseModelType as json.

func (GetKnowledgeBaseSummaryFolderResponseModelType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (GetKnowledgeBaseSummaryFolderResponseModelType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*GetKnowledgeBaseSummaryFolderResponseModelType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseSummaryFolderResponseModelType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (GetKnowledgeBaseSummaryFolderResponseModelType) Validate

type GetKnowledgeBaseSummaryTextResponseModel

type GetKnowledgeBaseSummaryTextResponseModel struct {
	AccessInfo ResourceAccessInfo `json:"access_info"`
	// This field is deprecated and will be removed in the future, use the separate endpoint to get
	// dependent agents instead.
	//
	// Deprecated: schema marks this property as deprecated.
	DependentAgents []GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem `json:"dependent_agents"`
	// The ID of the parent folder, or null if the document is at the root level.
	FolderParentID  OptNilString                                 `json:"folder_parent_id"`
	ID              string                                       `json:"id"`
	Metadata        KnowledgeBaseDocumentMetadataResponseModel   `json:"metadata"`
	Name            string                                       `json:"name"`
	SupportedUsages []DocumentUsageModeEnum                      `json:"supported_usages"`
	Type            GetKnowledgeBaseSummaryTextResponseModelType `json:"type"`
}

Ref: #/components/schemas/GetKnowledgeBaseSummaryTextResponseModel

func (*GetKnowledgeBaseSummaryTextResponseModel) Decode

Decode decodes GetKnowledgeBaseSummaryTextResponseModel from json.

func (*GetKnowledgeBaseSummaryTextResponseModel) Encode

Encode implements json.Marshaler.

func (*GetKnowledgeBaseSummaryTextResponseModel) GetAccessInfo

GetAccessInfo returns the value of AccessInfo.

func (*GetKnowledgeBaseSummaryTextResponseModel) GetDependentAgents

GetDependentAgents returns the value of DependentAgents.

func (*GetKnowledgeBaseSummaryTextResponseModel) GetFolderParentID

GetFolderParentID returns the value of FolderParentID.

func (*GetKnowledgeBaseSummaryTextResponseModel) GetID

GetID returns the value of ID.

func (*GetKnowledgeBaseSummaryTextResponseModel) GetMetadata

GetMetadata returns the value of Metadata.

func (*GetKnowledgeBaseSummaryTextResponseModel) GetName

GetName returns the value of Name.

func (*GetKnowledgeBaseSummaryTextResponseModel) GetSupportedUsages

GetSupportedUsages returns the value of SupportedUsages.

func (*GetKnowledgeBaseSummaryTextResponseModel) GetType

GetType returns the value of Type.

func (*GetKnowledgeBaseSummaryTextResponseModel) MarshalJSON

func (s *GetKnowledgeBaseSummaryTextResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetKnowledgeBaseSummaryTextResponseModel) SetAccessInfo

SetAccessInfo sets the value of AccessInfo.

func (*GetKnowledgeBaseSummaryTextResponseModel) SetDependentAgents

SetDependentAgents sets the value of DependentAgents.

func (*GetKnowledgeBaseSummaryTextResponseModel) SetFolderParentID

func (s *GetKnowledgeBaseSummaryTextResponseModel) SetFolderParentID(val OptNilString)

SetFolderParentID sets the value of FolderParentID.

func (*GetKnowledgeBaseSummaryTextResponseModel) SetID

SetID sets the value of ID.

func (*GetKnowledgeBaseSummaryTextResponseModel) SetMetadata

SetMetadata sets the value of Metadata.

func (*GetKnowledgeBaseSummaryTextResponseModel) SetName

SetName sets the value of Name.

func (*GetKnowledgeBaseSummaryTextResponseModel) SetSupportedUsages

SetSupportedUsages sets the value of SupportedUsages.

func (*GetKnowledgeBaseSummaryTextResponseModel) SetType

SetType sets the value of Type.

func (*GetKnowledgeBaseSummaryTextResponseModel) UnmarshalJSON

func (s *GetKnowledgeBaseSummaryTextResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseSummaryTextResponseModel) Validate

type GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem

type GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem struct {
	Type                              GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItemType // switch on this field
	DependentAvailableAgentIdentifier DependentAvailableAgentIdentifier
	DependentUnknownAgentIdentifier   DependentUnknownAgentIdentifier
}

GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem represents sum type.

func NewDependentAvailableAgentIdentifierGetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem

func NewDependentAvailableAgentIdentifierGetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem(v DependentAvailableAgentIdentifier) GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem

NewDependentAvailableAgentIdentifierGetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem returns new GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem from DependentAvailableAgentIdentifier.

func NewDependentUnknownAgentIdentifierGetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem

func NewDependentUnknownAgentIdentifierGetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem(v DependentUnknownAgentIdentifier) GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem

NewDependentUnknownAgentIdentifierGetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem returns new GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem from DependentUnknownAgentIdentifier.

func (*GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) Decode

Decode decodes GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem from json.

func (GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) Encode

Encode encodes GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem as json.

func (GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) GetDependentAvailableAgentIdentifier

GetDependentAvailableAgentIdentifier returns DependentAvailableAgentIdentifier and true boolean if GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem is DependentAvailableAgentIdentifier.

func (GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) GetDependentUnknownAgentIdentifier

GetDependentUnknownAgentIdentifier returns DependentUnknownAgentIdentifier and true boolean if GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem is DependentUnknownAgentIdentifier.

func (GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) IsDependentAvailableAgentIdentifier

func (s GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) IsDependentAvailableAgentIdentifier() bool

IsDependentAvailableAgentIdentifier reports whether GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem is DependentAvailableAgentIdentifier.

func (GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) IsDependentUnknownAgentIdentifier

func (s GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) IsDependentUnknownAgentIdentifier() bool

IsDependentUnknownAgentIdentifier reports whether GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem is DependentUnknownAgentIdentifier.

func (GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) SetDependentAvailableAgentIdentifier

SetDependentAvailableAgentIdentifier sets GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem to DependentAvailableAgentIdentifier.

func (*GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) SetDependentUnknownAgentIdentifier

SetDependentUnknownAgentIdentifier sets GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem to DependentUnknownAgentIdentifier.

func (*GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) Validate

type GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItemType

type GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItemType string

GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItemType is oneOf type of GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem.

const (
	DependentAvailableAgentIdentifierGetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItemType = "available"
	DependentUnknownAgentIdentifierGetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem   GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItemType = "unknown"
)

Possible values for GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItemType.

type GetKnowledgeBaseSummaryTextResponseModelType

type GetKnowledgeBaseSummaryTextResponseModelType string
const (
	GetKnowledgeBaseSummaryTextResponseModelTypeText GetKnowledgeBaseSummaryTextResponseModelType = "text"
)

func (GetKnowledgeBaseSummaryTextResponseModelType) AllValues

AllValues returns all GetKnowledgeBaseSummaryTextResponseModelType values.

func (*GetKnowledgeBaseSummaryTextResponseModelType) Decode

Decode decodes GetKnowledgeBaseSummaryTextResponseModelType from json.

func (GetKnowledgeBaseSummaryTextResponseModelType) Encode

Encode encodes GetKnowledgeBaseSummaryTextResponseModelType as json.

func (GetKnowledgeBaseSummaryTextResponseModelType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (GetKnowledgeBaseSummaryTextResponseModelType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*GetKnowledgeBaseSummaryTextResponseModelType) UnmarshalJSON

func (s *GetKnowledgeBaseSummaryTextResponseModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseSummaryTextResponseModelType) UnmarshalText

func (s *GetKnowledgeBaseSummaryTextResponseModelType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetKnowledgeBaseSummaryTextResponseModelType) Validate

type GetKnowledgeBaseSummaryURLResponseModel

type GetKnowledgeBaseSummaryURLResponseModel struct {
	AccessInfo ResourceAccessInfo `json:"access_info"`
	// This field is deprecated and will be removed in the future, use the separate endpoint to get
	// dependent agents instead.
	//
	// Deprecated: schema marks this property as deprecated.
	DependentAgents []GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem `json:"dependent_agents"`
	// The ID of the parent folder, or null if the document is at the root level.
	FolderParentID  OptNilString                                `json:"folder_parent_id"`
	ID              string                                      `json:"id"`
	Metadata        KnowledgeBaseDocumentMetadataResponseModel  `json:"metadata"`
	Name            string                                      `json:"name"`
	SupportedUsages []DocumentUsageModeEnum                     `json:"supported_usages"`
	Type            GetKnowledgeBaseSummaryURLResponseModelType `json:"type"`
	URL             string                                      `json:"url"`
}

Ref: #/components/schemas/GetKnowledgeBaseSummaryURLResponseModel

func (*GetKnowledgeBaseSummaryURLResponseModel) Decode

Decode decodes GetKnowledgeBaseSummaryURLResponseModel from json.

func (*GetKnowledgeBaseSummaryURLResponseModel) Encode

Encode implements json.Marshaler.

func (*GetKnowledgeBaseSummaryURLResponseModel) GetAccessInfo

GetAccessInfo returns the value of AccessInfo.

func (*GetKnowledgeBaseSummaryURLResponseModel) GetDependentAgents

GetDependentAgents returns the value of DependentAgents.

func (*GetKnowledgeBaseSummaryURLResponseModel) GetFolderParentID

GetFolderParentID returns the value of FolderParentID.

func (*GetKnowledgeBaseSummaryURLResponseModel) GetID

GetID returns the value of ID.

func (*GetKnowledgeBaseSummaryURLResponseModel) GetMetadata

GetMetadata returns the value of Metadata.

func (*GetKnowledgeBaseSummaryURLResponseModel) GetName

GetName returns the value of Name.

func (*GetKnowledgeBaseSummaryURLResponseModel) GetSupportedUsages

GetSupportedUsages returns the value of SupportedUsages.

func (*GetKnowledgeBaseSummaryURLResponseModel) GetType

GetType returns the value of Type.

func (*GetKnowledgeBaseSummaryURLResponseModel) GetURL

GetURL returns the value of URL.

func (*GetKnowledgeBaseSummaryURLResponseModel) MarshalJSON

func (s *GetKnowledgeBaseSummaryURLResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetKnowledgeBaseSummaryURLResponseModel) SetAccessInfo

SetAccessInfo sets the value of AccessInfo.

func (*GetKnowledgeBaseSummaryURLResponseModel) SetDependentAgents

SetDependentAgents sets the value of DependentAgents.

func (*GetKnowledgeBaseSummaryURLResponseModel) SetFolderParentID

func (s *GetKnowledgeBaseSummaryURLResponseModel) SetFolderParentID(val OptNilString)

SetFolderParentID sets the value of FolderParentID.

func (*GetKnowledgeBaseSummaryURLResponseModel) SetID

SetID sets the value of ID.

func (*GetKnowledgeBaseSummaryURLResponseModel) SetMetadata

SetMetadata sets the value of Metadata.

func (*GetKnowledgeBaseSummaryURLResponseModel) SetName

SetName sets the value of Name.

func (*GetKnowledgeBaseSummaryURLResponseModel) SetSupportedUsages

SetSupportedUsages sets the value of SupportedUsages.

func (*GetKnowledgeBaseSummaryURLResponseModel) SetType

SetType sets the value of Type.

func (*GetKnowledgeBaseSummaryURLResponseModel) SetURL

SetURL sets the value of URL.

func (*GetKnowledgeBaseSummaryURLResponseModel) UnmarshalJSON

func (s *GetKnowledgeBaseSummaryURLResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseSummaryURLResponseModel) Validate

type GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem

type GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem struct {
	Type                              GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItemType // switch on this field
	DependentAvailableAgentIdentifier DependentAvailableAgentIdentifier
	DependentUnknownAgentIdentifier   DependentUnknownAgentIdentifier
}

GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem represents sum type.

func NewDependentAvailableAgentIdentifierGetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem

func NewDependentAvailableAgentIdentifierGetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem(v DependentAvailableAgentIdentifier) GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem

NewDependentAvailableAgentIdentifierGetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem returns new GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem from DependentAvailableAgentIdentifier.

func NewDependentUnknownAgentIdentifierGetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem

func NewDependentUnknownAgentIdentifierGetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem(v DependentUnknownAgentIdentifier) GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem

NewDependentUnknownAgentIdentifierGetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem returns new GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem from DependentUnknownAgentIdentifier.

func (*GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) Decode

Decode decodes GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem from json.

func (GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) Encode

Encode encodes GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem as json.

func (GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) GetDependentAvailableAgentIdentifier

GetDependentAvailableAgentIdentifier returns DependentAvailableAgentIdentifier and true boolean if GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem is DependentAvailableAgentIdentifier.

func (GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) GetDependentUnknownAgentIdentifier

GetDependentUnknownAgentIdentifier returns DependentUnknownAgentIdentifier and true boolean if GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem is DependentUnknownAgentIdentifier.

func (GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) IsDependentAvailableAgentIdentifier

func (s GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) IsDependentAvailableAgentIdentifier() bool

IsDependentAvailableAgentIdentifier reports whether GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem is DependentAvailableAgentIdentifier.

func (GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) IsDependentUnknownAgentIdentifier

func (s GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) IsDependentUnknownAgentIdentifier() bool

IsDependentUnknownAgentIdentifier reports whether GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem is DependentUnknownAgentIdentifier.

func (GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) SetDependentAvailableAgentIdentifier

SetDependentAvailableAgentIdentifier sets GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem to DependentAvailableAgentIdentifier.

func (*GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) SetDependentUnknownAgentIdentifier

SetDependentUnknownAgentIdentifier sets GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem to DependentUnknownAgentIdentifier.

func (*GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) Validate

type GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItemType

type GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItemType string

GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItemType is oneOf type of GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem.

const (
	DependentAvailableAgentIdentifierGetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItemType = "available"
	DependentUnknownAgentIdentifierGetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem   GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItemType = "unknown"
)

Possible values for GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItemType.

type GetKnowledgeBaseSummaryURLResponseModelType

type GetKnowledgeBaseSummaryURLResponseModelType string
const (
	GetKnowledgeBaseSummaryURLResponseModelTypeURL GetKnowledgeBaseSummaryURLResponseModelType = "url"
)

func (GetKnowledgeBaseSummaryURLResponseModelType) AllValues

AllValues returns all GetKnowledgeBaseSummaryURLResponseModelType values.

func (*GetKnowledgeBaseSummaryURLResponseModelType) Decode

Decode decodes GetKnowledgeBaseSummaryURLResponseModelType from json.

func (GetKnowledgeBaseSummaryURLResponseModelType) Encode

Encode encodes GetKnowledgeBaseSummaryURLResponseModelType as json.

func (GetKnowledgeBaseSummaryURLResponseModelType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (GetKnowledgeBaseSummaryURLResponseModelType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*GetKnowledgeBaseSummaryURLResponseModelType) UnmarshalJSON

func (s *GetKnowledgeBaseSummaryURLResponseModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseSummaryURLResponseModelType) UnmarshalText

func (s *GetKnowledgeBaseSummaryURLResponseModelType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetKnowledgeBaseSummaryURLResponseModelType) Validate

type GetKnowledgeBaseTextResponseModel

type GetKnowledgeBaseTextResponseModel struct {
	AccessInfo         ResourceAccessInfo `json:"access_info"`
	ExtractedInnerHTML string             `json:"extracted_inner_html"`
	// The ID of the parent folder, or null if the document is at the root level.
	FolderParentID OptNilString `json:"folder_parent_id"`
	// The folder path segments leading to this entity, from root to parent folder.
	FolderPath      []KnowledgeBaseFolderPathSegmentResponseModel `json:"folder_path"`
	ID              string                                        `json:"id"`
	Metadata        KnowledgeBaseDocumentMetadataResponseModel    `json:"metadata"`
	Name            string                                        `json:"name"`
	SupportedUsages []DocumentUsageModeEnum                       `json:"supported_usages"`
	Type            GetKnowledgeBaseTextResponseModelType         `json:"type"`
}

Ref: #/components/schemas/GetKnowledgeBaseTextResponseModel

func (*GetKnowledgeBaseTextResponseModel) Decode

Decode decodes GetKnowledgeBaseTextResponseModel from json.

func (*GetKnowledgeBaseTextResponseModel) Encode

Encode implements json.Marshaler.

func (*GetKnowledgeBaseTextResponseModel) GetAccessInfo

GetAccessInfo returns the value of AccessInfo.

func (*GetKnowledgeBaseTextResponseModel) GetExtractedInnerHTML

func (s *GetKnowledgeBaseTextResponseModel) GetExtractedInnerHTML() string

GetExtractedInnerHTML returns the value of ExtractedInnerHTML.

func (*GetKnowledgeBaseTextResponseModel) GetFolderParentID

func (s *GetKnowledgeBaseTextResponseModel) GetFolderParentID() OptNilString

GetFolderParentID returns the value of FolderParentID.

func (*GetKnowledgeBaseTextResponseModel) GetFolderPath

GetFolderPath returns the value of FolderPath.

func (*GetKnowledgeBaseTextResponseModel) GetID

GetID returns the value of ID.

func (*GetKnowledgeBaseTextResponseModel) GetMetadata

GetMetadata returns the value of Metadata.

func (*GetKnowledgeBaseTextResponseModel) GetName

GetName returns the value of Name.

func (*GetKnowledgeBaseTextResponseModel) GetSupportedUsages

func (s *GetKnowledgeBaseTextResponseModel) GetSupportedUsages() []DocumentUsageModeEnum

GetSupportedUsages returns the value of SupportedUsages.

func (*GetKnowledgeBaseTextResponseModel) GetType

GetType returns the value of Type.

func (*GetKnowledgeBaseTextResponseModel) MarshalJSON

func (s *GetKnowledgeBaseTextResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetKnowledgeBaseTextResponseModel) SetAccessInfo

SetAccessInfo sets the value of AccessInfo.

func (*GetKnowledgeBaseTextResponseModel) SetExtractedInnerHTML

func (s *GetKnowledgeBaseTextResponseModel) SetExtractedInnerHTML(val string)

SetExtractedInnerHTML sets the value of ExtractedInnerHTML.

func (*GetKnowledgeBaseTextResponseModel) SetFolderParentID

func (s *GetKnowledgeBaseTextResponseModel) SetFolderParentID(val OptNilString)

SetFolderParentID sets the value of FolderParentID.

func (*GetKnowledgeBaseTextResponseModel) SetFolderPath

SetFolderPath sets the value of FolderPath.

func (*GetKnowledgeBaseTextResponseModel) SetID

SetID sets the value of ID.

func (*GetKnowledgeBaseTextResponseModel) SetMetadata

SetMetadata sets the value of Metadata.

func (*GetKnowledgeBaseTextResponseModel) SetName

func (s *GetKnowledgeBaseTextResponseModel) SetName(val string)

SetName sets the value of Name.

func (*GetKnowledgeBaseTextResponseModel) SetSupportedUsages

func (s *GetKnowledgeBaseTextResponseModel) SetSupportedUsages(val []DocumentUsageModeEnum)

SetSupportedUsages sets the value of SupportedUsages.

func (*GetKnowledgeBaseTextResponseModel) SetType

SetType sets the value of Type.

func (*GetKnowledgeBaseTextResponseModel) UnmarshalJSON

func (s *GetKnowledgeBaseTextResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseTextResponseModel) Validate

type GetKnowledgeBaseTextResponseModelType

type GetKnowledgeBaseTextResponseModelType string
const (
	GetKnowledgeBaseTextResponseModelTypeText GetKnowledgeBaseTextResponseModelType = "text"
)

func (GetKnowledgeBaseTextResponseModelType) AllValues

AllValues returns all GetKnowledgeBaseTextResponseModelType values.

func (*GetKnowledgeBaseTextResponseModelType) Decode

Decode decodes GetKnowledgeBaseTextResponseModelType from json.

func (GetKnowledgeBaseTextResponseModelType) Encode

Encode encodes GetKnowledgeBaseTextResponseModelType as json.

func (GetKnowledgeBaseTextResponseModelType) MarshalJSON

func (s GetKnowledgeBaseTextResponseModelType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (GetKnowledgeBaseTextResponseModelType) MarshalText

func (s GetKnowledgeBaseTextResponseModelType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*GetKnowledgeBaseTextResponseModelType) UnmarshalJSON

func (s *GetKnowledgeBaseTextResponseModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseTextResponseModelType) UnmarshalText

func (s *GetKnowledgeBaseTextResponseModelType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetKnowledgeBaseTextResponseModelType) Validate

type GetKnowledgeBaseURLResponseModel

type GetKnowledgeBaseURLResponseModel struct {
	AccessInfo         ResourceAccessInfo `json:"access_info"`
	ExtractedInnerHTML string             `json:"extracted_inner_html"`
	// The ID of the parent folder, or null if the document is at the root level.
	FolderParentID OptNilString `json:"folder_parent_id"`
	// The folder path segments leading to this entity, from root to parent folder.
	FolderPath      []KnowledgeBaseFolderPathSegmentResponseModel `json:"folder_path"`
	ID              string                                        `json:"id"`
	Metadata        KnowledgeBaseDocumentMetadataResponseModel    `json:"metadata"`
	Name            string                                        `json:"name"`
	SupportedUsages []DocumentUsageModeEnum                       `json:"supported_usages"`
	Type            GetKnowledgeBaseURLResponseModelType          `json:"type"`
	URL             string                                        `json:"url"`
}

Ref: #/components/schemas/GetKnowledgeBaseURLResponseModel

func (*GetKnowledgeBaseURLResponseModel) Decode

Decode decodes GetKnowledgeBaseURLResponseModel from json.

func (*GetKnowledgeBaseURLResponseModel) Encode

Encode implements json.Marshaler.

func (*GetKnowledgeBaseURLResponseModel) GetAccessInfo

GetAccessInfo returns the value of AccessInfo.

func (*GetKnowledgeBaseURLResponseModel) GetExtractedInnerHTML

func (s *GetKnowledgeBaseURLResponseModel) GetExtractedInnerHTML() string

GetExtractedInnerHTML returns the value of ExtractedInnerHTML.

func (*GetKnowledgeBaseURLResponseModel) GetFolderParentID

func (s *GetKnowledgeBaseURLResponseModel) GetFolderParentID() OptNilString

GetFolderParentID returns the value of FolderParentID.

func (*GetKnowledgeBaseURLResponseModel) GetFolderPath

GetFolderPath returns the value of FolderPath.

func (*GetKnowledgeBaseURLResponseModel) GetID

GetID returns the value of ID.

func (*GetKnowledgeBaseURLResponseModel) GetMetadata

GetMetadata returns the value of Metadata.

func (*GetKnowledgeBaseURLResponseModel) GetName

GetName returns the value of Name.

func (*GetKnowledgeBaseURLResponseModel) GetSupportedUsages

func (s *GetKnowledgeBaseURLResponseModel) GetSupportedUsages() []DocumentUsageModeEnum

GetSupportedUsages returns the value of SupportedUsages.

func (*GetKnowledgeBaseURLResponseModel) GetType

GetType returns the value of Type.

func (*GetKnowledgeBaseURLResponseModel) GetURL

GetURL returns the value of URL.

func (*GetKnowledgeBaseURLResponseModel) MarshalJSON

func (s *GetKnowledgeBaseURLResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetKnowledgeBaseURLResponseModel) SetAccessInfo

SetAccessInfo sets the value of AccessInfo.

func (*GetKnowledgeBaseURLResponseModel) SetExtractedInnerHTML

func (s *GetKnowledgeBaseURLResponseModel) SetExtractedInnerHTML(val string)

SetExtractedInnerHTML sets the value of ExtractedInnerHTML.

func (*GetKnowledgeBaseURLResponseModel) SetFolderParentID

func (s *GetKnowledgeBaseURLResponseModel) SetFolderParentID(val OptNilString)

SetFolderParentID sets the value of FolderParentID.

func (*GetKnowledgeBaseURLResponseModel) SetFolderPath

SetFolderPath sets the value of FolderPath.

func (*GetKnowledgeBaseURLResponseModel) SetID

SetID sets the value of ID.

func (*GetKnowledgeBaseURLResponseModel) SetMetadata

SetMetadata sets the value of Metadata.

func (*GetKnowledgeBaseURLResponseModel) SetName

func (s *GetKnowledgeBaseURLResponseModel) SetName(val string)

SetName sets the value of Name.

func (*GetKnowledgeBaseURLResponseModel) SetSupportedUsages

func (s *GetKnowledgeBaseURLResponseModel) SetSupportedUsages(val []DocumentUsageModeEnum)

SetSupportedUsages sets the value of SupportedUsages.

func (*GetKnowledgeBaseURLResponseModel) SetType

SetType sets the value of Type.

func (*GetKnowledgeBaseURLResponseModel) SetURL

SetURL sets the value of URL.

func (*GetKnowledgeBaseURLResponseModel) UnmarshalJSON

func (s *GetKnowledgeBaseURLResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseURLResponseModel) Validate

type GetKnowledgeBaseURLResponseModelType

type GetKnowledgeBaseURLResponseModelType string
const (
	GetKnowledgeBaseURLResponseModelTypeURL GetKnowledgeBaseURLResponseModelType = "url"
)

func (GetKnowledgeBaseURLResponseModelType) AllValues

AllValues returns all GetKnowledgeBaseURLResponseModelType values.

func (*GetKnowledgeBaseURLResponseModelType) Decode

Decode decodes GetKnowledgeBaseURLResponseModelType from json.

func (GetKnowledgeBaseURLResponseModelType) Encode

Encode encodes GetKnowledgeBaseURLResponseModelType as json.

func (GetKnowledgeBaseURLResponseModelType) MarshalJSON

func (s GetKnowledgeBaseURLResponseModelType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (GetKnowledgeBaseURLResponseModelType) MarshalText

func (s GetKnowledgeBaseURLResponseModelType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*GetKnowledgeBaseURLResponseModelType) UnmarshalJSON

func (s *GetKnowledgeBaseURLResponseModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetKnowledgeBaseURLResponseModelType) UnmarshalText

func (s *GetKnowledgeBaseURLResponseModelType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetKnowledgeBaseURLResponseModelType) Validate

type GetLibraryVoicesCategory

type GetLibraryVoicesCategory string

Voice category used for filtering.

const (
	GetLibraryVoicesCategoryProfessional GetLibraryVoicesCategory = "professional"
	GetLibraryVoicesCategoryFamous       GetLibraryVoicesCategory = "famous"
	GetLibraryVoicesCategoryHighQuality  GetLibraryVoicesCategory = "high_quality"
)

func (GetLibraryVoicesCategory) AllValues

AllValues returns all GetLibraryVoicesCategory values.

func (GetLibraryVoicesCategory) MarshalText

func (s GetLibraryVoicesCategory) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*GetLibraryVoicesCategory) UnmarshalText

func (s *GetLibraryVoicesCategory) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetLibraryVoicesCategory) Validate

func (s GetLibraryVoicesCategory) Validate() error

type GetLibraryVoicesParams

type GetLibraryVoicesParams struct {
	// How many shared voices to return at maximum. Can not exceed 100, defaults to 30.
	PageSize OptInt `json:",omitempty,omitzero"`
	// Voice category used for filtering.
	Category OptNilGetLibraryVoicesCategory `json:",omitempty,omitzero"`
	// Gender used for filtering.
	Gender OptNilString `json:",omitempty,omitzero"`
	// Age used for filtering.
	Age OptNilString `json:",omitempty,omitzero"`
	// Accent used for filtering.
	Accent OptNilString `json:",omitempty,omitzero"`
	// Language used for filtering.
	Language OptNilString `json:",omitempty,omitzero"`
	// Locale used for filtering.
	Locale OptNilString `json:",omitempty,omitzero"`
	// Search term used for filtering.
	Search OptNilString `json:",omitempty,omitzero"`
	// Use-case used for filtering.
	UseCases OptNilStringArray `json:",omitempty,omitzero"`
	// Search term used for filtering.
	Descriptives OptNilStringArray `json:",omitempty,omitzero"`
	// Filter featured voices.
	Featured OptBool `json:",omitempty,omitzero"`
	// Filter voices with a minimum notice period of the given number of days.
	MinNoticePeriodDays OptNilInt `json:",omitempty,omitzero"`
	// Include/exclude voices with custom rates.
	IncludeCustomRates OptNilBool `json:",omitempty,omitzero"`
	// Include/exclude voices that are live moderated.
	IncludeLiveModerated OptNilBool `json:",omitempty,omitzero"`
	// Filter voices that are enabled for the reader app.
	ReaderAppEnabled OptBool `json:",omitempty,omitzero"`
	// Filter voices by public owner ID.
	OwnerID OptNilString `json:",omitempty,omitzero"`
	// Sort criteria.
	Sort OptNilString `json:",omitempty,omitzero"`
	Page OptInt       `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetLibraryVoicesParams is parameters of get_library_voices operation.

type GetLibraryVoicesRes

type GetLibraryVoicesRes interface {
	// contains filtered or unexported methods
}

type GetLibraryVoicesResponseModel

type GetLibraryVoicesResponseModel struct {
	// Whether there are more shared voices in subsequent pages.
	HasMore    bool         `json:"has_more"`
	LastSortID OptNilString `json:"last_sort_id"`
	// The list of shared voices.
	Voices []LibraryVoiceResponseModel `json:"voices"`
}

Ref: #/components/schemas/GetLibraryVoicesResponseModel

func (*GetLibraryVoicesResponseModel) Decode

Decode decodes GetLibraryVoicesResponseModel from json.

func (*GetLibraryVoicesResponseModel) Encode

Encode implements json.Marshaler.

func (*GetLibraryVoicesResponseModel) GetHasMore

func (s *GetLibraryVoicesResponseModel) GetHasMore() bool

GetHasMore returns the value of HasMore.

func (*GetLibraryVoicesResponseModel) GetLastSortID

func (s *GetLibraryVoicesResponseModel) GetLastSortID() OptNilString

GetLastSortID returns the value of LastSortID.

func (*GetLibraryVoicesResponseModel) GetVoices

GetVoices returns the value of Voices.

func (*GetLibraryVoicesResponseModel) MarshalJSON

func (s *GetLibraryVoicesResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetLibraryVoicesResponseModel) SetHasMore

func (s *GetLibraryVoicesResponseModel) SetHasMore(val bool)

SetHasMore sets the value of HasMore.

func (*GetLibraryVoicesResponseModel) SetLastSortID

func (s *GetLibraryVoicesResponseModel) SetLastSortID(val OptNilString)

SetLastSortID sets the value of LastSortID.

func (*GetLibraryVoicesResponseModel) SetVoices

SetVoices sets the value of Voices.

func (*GetLibraryVoicesResponseModel) UnmarshalJSON

func (s *GetLibraryVoicesResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetLibraryVoicesResponseModel) Validate

func (s *GetLibraryVoicesResponseModel) Validate() error

type GetLiveCountParams

type GetLiveCountParams struct {
	// The id of an agent to restrict the analytics to.
	AgentID OptNilString `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetLiveCountParams is parameters of get_live_count operation.

type GetLiveCountRes

type GetLiveCountRes interface {
	// contains filtered or unexported methods
}

type GetLiveCountResponse

type GetLiveCountResponse struct {
	// The number of active ongoing conversations.
	Count int `json:"count"`
}

Ref: #/components/schemas/GetLiveCountResponse

func (*GetLiveCountResponse) Decode

func (s *GetLiveCountResponse) Decode(d *jx.Decoder) error

Decode decodes GetLiveCountResponse from json.

func (*GetLiveCountResponse) Encode

func (s *GetLiveCountResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetLiveCountResponse) GetCount

func (s *GetLiveCountResponse) GetCount() int

GetCount returns the value of Count.

func (*GetLiveCountResponse) MarshalJSON

func (s *GetLiveCountResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetLiveCountResponse) SetCount

func (s *GetLiveCountResponse) SetCount(val int)

SetCount sets the value of Count.

func (*GetLiveCountResponse) UnmarshalJSON

func (s *GetLiveCountResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetLivekitTokenParams

type GetLivekitTokenParams struct {
	// The id of the agent you're taking the action on.
	AgentID string
	// Optional custom participant name. If not provided, user ID will be used.
	ParticipantName OptNilString `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetLivekitTokenParams is parameters of get_livekit_token operation.

type GetLivekitTokenRes

type GetLivekitTokenRes interface {
	// contains filtered or unexported methods
}

type GetMcpToolConfigOverrideRouteNotFound

type GetMcpToolConfigOverrideRouteNotFound struct{}

GetMcpToolConfigOverrideRouteNotFound is response for GetMcpToolConfigOverrideRoute operation.

type GetMcpToolConfigOverrideRouteParams

type GetMcpToolConfigOverrideRouteParams struct {
	// ID of the MCP Server.
	McpServerID string
	// Name of the MCP tool to retrieve config overrides for.
	ToolName string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetMcpToolConfigOverrideRouteParams is parameters of get_mcp_tool_config_override_route operation.

type GetMcpToolConfigOverrideRouteRes

type GetMcpToolConfigOverrideRouteRes interface {
	// contains filtered or unexported methods
}

type GetModelsOKApplicationJSON

type GetModelsOKApplicationJSON []ModelResponseModel

func (*GetModelsOKApplicationJSON) Decode

Decode decodes GetModelsOKApplicationJSON from json.

func (GetModelsOKApplicationJSON) Encode

func (s GetModelsOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes GetModelsOKApplicationJSON as json.

func (GetModelsOKApplicationJSON) MarshalJSON

func (s GetModelsOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetModelsOKApplicationJSON) UnmarshalJSON

func (s *GetModelsOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetModelsOKApplicationJSON) Validate

func (s GetModelsOKApplicationJSON) Validate() error

type GetModelsParams

type GetModelsParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetModelsParams is parameters of get_models operation.

type GetModelsRes

type GetModelsRes interface {
	// contains filtered or unexported methods
}

type GetOrCreateRAGIndexRequestModel

type GetOrCreateRAGIndexRequestModel struct {
	// Whether to create the RAG index if it does not exist.
	CreateIfMissing bool `json:"create_if_missing"`
	// ID of the knowledgebase document for which to retrieve the index.
	DocumentID string `json:"document_id"`
	// Embedding model to use for the RAG index.
	Model EmbeddingModelEnum `json:"model"`
}

Ref: #/components/schemas/GetOrCreateRAGIndexRequestModel

func (*GetOrCreateRAGIndexRequestModel) Decode

Decode decodes GetOrCreateRAGIndexRequestModel from json.

func (*GetOrCreateRAGIndexRequestModel) Encode

Encode implements json.Marshaler.

func (*GetOrCreateRAGIndexRequestModel) GetCreateIfMissing

func (s *GetOrCreateRAGIndexRequestModel) GetCreateIfMissing() bool

GetCreateIfMissing returns the value of CreateIfMissing.

func (*GetOrCreateRAGIndexRequestModel) GetDocumentID

func (s *GetOrCreateRAGIndexRequestModel) GetDocumentID() string

GetDocumentID returns the value of DocumentID.

func (*GetOrCreateRAGIndexRequestModel) GetModel

GetModel returns the value of Model.

func (*GetOrCreateRAGIndexRequestModel) MarshalJSON

func (s *GetOrCreateRAGIndexRequestModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOrCreateRAGIndexRequestModel) SetCreateIfMissing

func (s *GetOrCreateRAGIndexRequestModel) SetCreateIfMissing(val bool)

SetCreateIfMissing sets the value of CreateIfMissing.

func (*GetOrCreateRAGIndexRequestModel) SetDocumentID

func (s *GetOrCreateRAGIndexRequestModel) SetDocumentID(val string)

SetDocumentID sets the value of DocumentID.

func (*GetOrCreateRAGIndexRequestModel) SetModel

SetModel sets the value of Model.

func (*GetOrCreateRAGIndexRequestModel) UnmarshalJSON

func (s *GetOrCreateRAGIndexRequestModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetOrCreateRAGIndexRequestModel) Validate

func (s *GetOrCreateRAGIndexRequestModel) Validate() error

type GetOrCreateRagIndexesOK

type GetOrCreateRagIndexesOK map[string]GetOrCreateRagIndexesOKItem

func (*GetOrCreateRagIndexesOK) Decode

func (s *GetOrCreateRagIndexesOK) Decode(d *jx.Decoder) error

Decode decodes GetOrCreateRagIndexesOK from json.

func (GetOrCreateRagIndexesOK) Encode

func (s GetOrCreateRagIndexesOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (GetOrCreateRagIndexesOK) MarshalJSON

func (s GetOrCreateRagIndexesOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOrCreateRagIndexesOK) UnmarshalJSON

func (s *GetOrCreateRagIndexesOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetOrCreateRagIndexesOK) Validate

func (s GetOrCreateRagIndexesOK) Validate() error

type GetOrCreateRagIndexesOKItem

type GetOrCreateRagIndexesOKItem struct {
	Type                                 GetOrCreateRagIndexesOKItemType // switch on this field
	RAGIndexBatchSuccessfulResponseModel RAGIndexBatchSuccessfulResponseModel
	BatchFailureResponseModel            BatchFailureResponseModel
}

GetOrCreateRagIndexesOKItem represents sum type.

func NewBatchFailureResponseModelGetOrCreateRagIndexesOKItem

func NewBatchFailureResponseModelGetOrCreateRagIndexesOKItem(v BatchFailureResponseModel) GetOrCreateRagIndexesOKItem

NewBatchFailureResponseModelGetOrCreateRagIndexesOKItem returns new GetOrCreateRagIndexesOKItem from BatchFailureResponseModel.

func NewRAGIndexBatchSuccessfulResponseModelGetOrCreateRagIndexesOKItem

func NewRAGIndexBatchSuccessfulResponseModelGetOrCreateRagIndexesOKItem(v RAGIndexBatchSuccessfulResponseModel) GetOrCreateRagIndexesOKItem

NewRAGIndexBatchSuccessfulResponseModelGetOrCreateRagIndexesOKItem returns new GetOrCreateRagIndexesOKItem from RAGIndexBatchSuccessfulResponseModel.

func (*GetOrCreateRagIndexesOKItem) Decode

Decode decodes GetOrCreateRagIndexesOKItem from json.

func (GetOrCreateRagIndexesOKItem) Encode

func (s GetOrCreateRagIndexesOKItem) Encode(e *jx.Encoder)

Encode encodes GetOrCreateRagIndexesOKItem as json.

func (GetOrCreateRagIndexesOKItem) GetBatchFailureResponseModel

func (s GetOrCreateRagIndexesOKItem) GetBatchFailureResponseModel() (v BatchFailureResponseModel, ok bool)

GetBatchFailureResponseModel returns BatchFailureResponseModel and true boolean if GetOrCreateRagIndexesOKItem is BatchFailureResponseModel.

func (GetOrCreateRagIndexesOKItem) GetRAGIndexBatchSuccessfulResponseModel

func (s GetOrCreateRagIndexesOKItem) GetRAGIndexBatchSuccessfulResponseModel() (v RAGIndexBatchSuccessfulResponseModel, ok bool)

GetRAGIndexBatchSuccessfulResponseModel returns RAGIndexBatchSuccessfulResponseModel and true boolean if GetOrCreateRagIndexesOKItem is RAGIndexBatchSuccessfulResponseModel.

func (GetOrCreateRagIndexesOKItem) IsBatchFailureResponseModel

func (s GetOrCreateRagIndexesOKItem) IsBatchFailureResponseModel() bool

IsBatchFailureResponseModel reports whether GetOrCreateRagIndexesOKItem is BatchFailureResponseModel.

func (GetOrCreateRagIndexesOKItem) IsRAGIndexBatchSuccessfulResponseModel

func (s GetOrCreateRagIndexesOKItem) IsRAGIndexBatchSuccessfulResponseModel() bool

IsRAGIndexBatchSuccessfulResponseModel reports whether GetOrCreateRagIndexesOKItem is RAGIndexBatchSuccessfulResponseModel.

func (GetOrCreateRagIndexesOKItem) MarshalJSON

func (s GetOrCreateRagIndexesOKItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOrCreateRagIndexesOKItem) SetBatchFailureResponseModel

func (s *GetOrCreateRagIndexesOKItem) SetBatchFailureResponseModel(v BatchFailureResponseModel)

SetBatchFailureResponseModel sets GetOrCreateRagIndexesOKItem to BatchFailureResponseModel.

func (*GetOrCreateRagIndexesOKItem) SetRAGIndexBatchSuccessfulResponseModel

func (s *GetOrCreateRagIndexesOKItem) SetRAGIndexBatchSuccessfulResponseModel(v RAGIndexBatchSuccessfulResponseModel)

SetRAGIndexBatchSuccessfulResponseModel sets GetOrCreateRagIndexesOKItem to RAGIndexBatchSuccessfulResponseModel.

func (*GetOrCreateRagIndexesOKItem) UnmarshalJSON

func (s *GetOrCreateRagIndexesOKItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetOrCreateRagIndexesOKItem) Validate

func (s GetOrCreateRagIndexesOKItem) Validate() error

type GetOrCreateRagIndexesOKItemType

type GetOrCreateRagIndexesOKItemType string

GetOrCreateRagIndexesOKItemType is oneOf type of GetOrCreateRagIndexesOKItem.

const (
	RAGIndexBatchSuccessfulResponseModelGetOrCreateRagIndexesOKItem GetOrCreateRagIndexesOKItemType = "success"
	BatchFailureResponseModelGetOrCreateRagIndexesOKItem            GetOrCreateRagIndexesOKItemType = "failure"
)

Possible values for GetOrCreateRagIndexesOKItemType.

type GetOrCreateRagIndexesParams

type GetOrCreateRagIndexesParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetOrCreateRagIndexesParams is parameters of get_or_create_rag_indexes operation.

type GetOrCreateRagIndexesRes

type GetOrCreateRagIndexesRes interface {
	// contains filtered or unexported methods
}

type GetPhoneNumberInboundSIPTrunkConfigResponseModel

type GetPhoneNumberInboundSIPTrunkConfigResponseModel struct {
	// List of IP addresses that are allowed to use the trunk. Each item in the list can be an individual
	// IP address or a Classless Inter-Domain Routing notation representing a CIDR block.
	AllowedAddresses []string `json:"allowed_addresses"`
	// List of phone numbers that are allowed to use the trunk.
	AllowedNumbers []string `json:"allowed_numbers"`
	// Whether authentication credentials are configured.
	HasAuthCredentials bool                   `json:"has_auth_credentials"`
	MediaEncryption    SIPMediaEncryptionEnum `json:"media_encryption"`
	// Domains of remote SIP servers used to validate TLS certificates.
	RemoteDomains OptNilStringArray `json:"remote_domains"`
	// SIP trunk username (if available).
	Username OptNilString `json:"username"`
}

Ref: #/components/schemas/GetPhoneNumberInboundSIPTrunkConfigResponseModel

func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) Decode

Decode decodes GetPhoneNumberInboundSIPTrunkConfigResponseModel from json.

func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) Encode

Encode implements json.Marshaler.

func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetAllowedAddresses

func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetAllowedAddresses() []string

GetAllowedAddresses returns the value of AllowedAddresses.

func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetAllowedNumbers

GetAllowedNumbers returns the value of AllowedNumbers.

func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetHasAuthCredentials

func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetHasAuthCredentials() bool

GetHasAuthCredentials returns the value of HasAuthCredentials.

func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetMediaEncryption

GetMediaEncryption returns the value of MediaEncryption.

func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetRemoteDomains

GetRemoteDomains returns the value of RemoteDomains.

func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetUsername

GetUsername returns the value of Username.

func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetAllowedAddresses

func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetAllowedAddresses(val []string)

SetAllowedAddresses sets the value of AllowedAddresses.

func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetAllowedNumbers

func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetAllowedNumbers(val []string)

SetAllowedNumbers sets the value of AllowedNumbers.

func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetHasAuthCredentials

func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetHasAuthCredentials(val bool)

SetHasAuthCredentials sets the value of HasAuthCredentials.

func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetMediaEncryption

SetMediaEncryption sets the value of MediaEncryption.

func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetRemoteDomains

SetRemoteDomains sets the value of RemoteDomains.

func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetUsername

SetUsername sets the value of Username.

func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) Validate

type GetPhoneNumberOutboundSIPTrunkConfigResponseModel

type GetPhoneNumberOutboundSIPTrunkConfigResponseModel struct {
	// Hostname or IP the SIP INVITE is sent to.
	Address string `json:"address"`
	// Whether authentication credentials are configured.
	HasAuthCredentials bool `json:"has_auth_credentials"`
	// Whether a LiveKit SIP outbound trunk is configured.
	HasOutboundTrunk OptBool `json:"has_outbound_trunk"`
	// SIP headers for INVITE request.
	Headers OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders `json:"headers"`
	// Whether or not to encrypt media (data layer).
	MediaEncryption SIPMediaEncryptionEnum `json:"media_encryption"`
	// Protocol to use for SIP transport.
	Transport SIPTrunkTransportEnum `json:"transport"`
	// SIP trunk username (if available).
	Username OptNilString `json:"username"`
}

SIP Trunk configuration details for a phone number. Ref: #/components/schemas/GetPhoneNumberOutboundSIPTrunkConfigResponseModel

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) Decode

Decode decodes GetPhoneNumberOutboundSIPTrunkConfigResponseModel from json.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) Encode

Encode implements json.Marshaler.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetAddress

GetAddress returns the value of Address.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetHasAuthCredentials

func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetHasAuthCredentials() bool

GetHasAuthCredentials returns the value of HasAuthCredentials.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetHasOutboundTrunk

GetHasOutboundTrunk returns the value of HasOutboundTrunk.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetHeaders

GetHeaders returns the value of Headers.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetMediaEncryption

GetMediaEncryption returns the value of MediaEncryption.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetTransport

GetTransport returns the value of Transport.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetUsername

GetUsername returns the value of Username.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetAddress

SetAddress sets the value of Address.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetHasAuthCredentials

func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetHasAuthCredentials(val bool)

SetHasAuthCredentials sets the value of HasAuthCredentials.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetHasOutboundTrunk

func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetHasOutboundTrunk(val OptBool)

SetHasOutboundTrunk sets the value of HasOutboundTrunk.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetHeaders

SetHeaders sets the value of Headers.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetMediaEncryption

SetMediaEncryption sets the value of MediaEncryption.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetTransport

SetTransport sets the value of Transport.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetUsername

SetUsername sets the value of Username.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) Validate

type GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders

type GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders map[string]string

SIP headers for INVITE request.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Decode

Decode decodes GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders from json.

func (GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Encode

Encode implements json.Marshaler.

func (GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type GetPhoneNumberRouteOK

type GetPhoneNumberRouteOK struct {
	Type                                GetPhoneNumberRouteOKType // switch on this field
	GetPhoneNumberTwilioResponseModel   GetPhoneNumberTwilioResponseModel
	GetPhoneNumberSIPTrunkResponseModel GetPhoneNumberSIPTrunkResponseModel
}

GetPhoneNumberRouteOK represents sum type.

func NewGetPhoneNumberSIPTrunkResponseModelGetPhoneNumberRouteOK

func NewGetPhoneNumberSIPTrunkResponseModelGetPhoneNumberRouteOK(v GetPhoneNumberSIPTrunkResponseModel) GetPhoneNumberRouteOK

NewGetPhoneNumberSIPTrunkResponseModelGetPhoneNumberRouteOK returns new GetPhoneNumberRouteOK from GetPhoneNumberSIPTrunkResponseModel.

func NewGetPhoneNumberTwilioResponseModelGetPhoneNumberRouteOK

func NewGetPhoneNumberTwilioResponseModelGetPhoneNumberRouteOK(v GetPhoneNumberTwilioResponseModel) GetPhoneNumberRouteOK

NewGetPhoneNumberTwilioResponseModelGetPhoneNumberRouteOK returns new GetPhoneNumberRouteOK from GetPhoneNumberTwilioResponseModel.

func (*GetPhoneNumberRouteOK) Decode

func (s *GetPhoneNumberRouteOK) Decode(d *jx.Decoder) error

Decode decodes GetPhoneNumberRouteOK from json.

func (GetPhoneNumberRouteOK) Encode

func (s GetPhoneNumberRouteOK) Encode(e *jx.Encoder)

Encode encodes GetPhoneNumberRouteOK as json.

func (GetPhoneNumberRouteOK) GetGetPhoneNumberSIPTrunkResponseModel

func (s GetPhoneNumberRouteOK) GetGetPhoneNumberSIPTrunkResponseModel() (v GetPhoneNumberSIPTrunkResponseModel, ok bool)

GetGetPhoneNumberSIPTrunkResponseModel returns GetPhoneNumberSIPTrunkResponseModel and true boolean if GetPhoneNumberRouteOK is GetPhoneNumberSIPTrunkResponseModel.

func (GetPhoneNumberRouteOK) GetGetPhoneNumberTwilioResponseModel

func (s GetPhoneNumberRouteOK) GetGetPhoneNumberTwilioResponseModel() (v GetPhoneNumberTwilioResponseModel, ok bool)

GetGetPhoneNumberTwilioResponseModel returns GetPhoneNumberTwilioResponseModel and true boolean if GetPhoneNumberRouteOK is GetPhoneNumberTwilioResponseModel.

func (GetPhoneNumberRouteOK) IsGetPhoneNumberSIPTrunkResponseModel

func (s GetPhoneNumberRouteOK) IsGetPhoneNumberSIPTrunkResponseModel() bool

IsGetPhoneNumberSIPTrunkResponseModel reports whether GetPhoneNumberRouteOK is GetPhoneNumberSIPTrunkResponseModel.

func (GetPhoneNumberRouteOK) IsGetPhoneNumberTwilioResponseModel

func (s GetPhoneNumberRouteOK) IsGetPhoneNumberTwilioResponseModel() bool

IsGetPhoneNumberTwilioResponseModel reports whether GetPhoneNumberRouteOK is GetPhoneNumberTwilioResponseModel.

func (GetPhoneNumberRouteOK) MarshalJSON

func (s GetPhoneNumberRouteOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetPhoneNumberRouteOK) SetGetPhoneNumberSIPTrunkResponseModel

func (s *GetPhoneNumberRouteOK) SetGetPhoneNumberSIPTrunkResponseModel(v GetPhoneNumberSIPTrunkResponseModel)

SetGetPhoneNumberSIPTrunkResponseModel sets GetPhoneNumberRouteOK to GetPhoneNumberSIPTrunkResponseModel.

func (*GetPhoneNumberRouteOK) SetGetPhoneNumberTwilioResponseModel

func (s *GetPhoneNumberRouteOK) SetGetPhoneNumberTwilioResponseModel(v GetPhoneNumberTwilioResponseModel)

SetGetPhoneNumberTwilioResponseModel sets GetPhoneNumberRouteOK to GetPhoneNumberTwilioResponseModel.

func (*GetPhoneNumberRouteOK) UnmarshalJSON

func (s *GetPhoneNumberRouteOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetPhoneNumberRouteOK) Validate

func (s GetPhoneNumberRouteOK) Validate() error

type GetPhoneNumberRouteOKType

type GetPhoneNumberRouteOKType string

GetPhoneNumberRouteOKType is oneOf type of GetPhoneNumberRouteOK.

const (
	GetPhoneNumberTwilioResponseModelGetPhoneNumberRouteOK   GetPhoneNumberRouteOKType = "twilio"
	GetPhoneNumberSIPTrunkResponseModelGetPhoneNumberRouteOK GetPhoneNumberRouteOKType = "sip_trunk"
)

Possible values for GetPhoneNumberRouteOKType.

type GetPhoneNumberRouteParams

type GetPhoneNumberRouteParams struct {
	// The id of an agent. This is returned on agent creation.
	PhoneNumberID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetPhoneNumberRouteParams is parameters of get_phone_number_route operation.

type GetPhoneNumberRouteRes

type GetPhoneNumberRouteRes interface {
	// contains filtered or unexported methods
}

type GetPhoneNumberSIPTrunkResponseModel

type GetPhoneNumberSIPTrunkResponseModel struct {
	// The agent that is assigned to the phone number.
	AssignedAgent OptPhoneNumberAgentInfo `json:"assigned_agent"`
	// Configuration of the Inbound SIP trunk - if configured.
	InboundTrunk OptGetPhoneNumberInboundSIPTrunkConfigResponseModel `json:"inbound_trunk"`
	// Label for the phone number.
	Label string `json:"label"`
	// Type of Livekit stack used for this number.
	LivekitStack LivekitStackType `json:"livekit_stack"`
	// Configuration of the Outbound SIP trunk - if configured.
	OutboundTrunk OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel `json:"outbound_trunk"`
	// Phone number.
	PhoneNumber string `json:"phone_number"`
	// The ID of the phone number.
	PhoneNumberID string `json:"phone_number_id"`
	// Phone provider.
	Provider       OptGetPhoneNumberSIPTrunkResponseModelProvider       `json:"provider"`
	ProviderConfig OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel `json:"provider_config"`
	// Whether this phone number supports inbound calls.
	SupportsInbound OptBool `json:"supports_inbound"`
	// Whether this phone number supports outbound calls.
	SupportsOutbound OptBool `json:"supports_outbound"`
}

Ref: #/components/schemas/GetPhoneNumberSIPTrunkResponseModel

func (*GetPhoneNumberSIPTrunkResponseModel) Decode

Decode decodes GetPhoneNumberSIPTrunkResponseModel from json.

func (*GetPhoneNumberSIPTrunkResponseModel) Encode

Encode implements json.Marshaler.

func (*GetPhoneNumberSIPTrunkResponseModel) GetAssignedAgent

GetAssignedAgent returns the value of AssignedAgent.

func (*GetPhoneNumberSIPTrunkResponseModel) GetInboundTrunk

GetInboundTrunk returns the value of InboundTrunk.

func (*GetPhoneNumberSIPTrunkResponseModel) GetLabel

GetLabel returns the value of Label.

func (*GetPhoneNumberSIPTrunkResponseModel) GetLivekitStack

GetLivekitStack returns the value of LivekitStack.

func (*GetPhoneNumberSIPTrunkResponseModel) GetOutboundTrunk

GetOutboundTrunk returns the value of OutboundTrunk.

func (*GetPhoneNumberSIPTrunkResponseModel) GetPhoneNumber

func (s *GetPhoneNumberSIPTrunkResponseModel) GetPhoneNumber() string

GetPhoneNumber returns the value of PhoneNumber.

func (*GetPhoneNumberSIPTrunkResponseModel) GetPhoneNumberID

func (s *GetPhoneNumberSIPTrunkResponseModel) GetPhoneNumberID() string

GetPhoneNumberID returns the value of PhoneNumberID.

func (*GetPhoneNumberSIPTrunkResponseModel) GetProvider

GetProvider returns the value of Provider.

func (*GetPhoneNumberSIPTrunkResponseModel) GetProviderConfig

GetProviderConfig returns the value of ProviderConfig.

func (*GetPhoneNumberSIPTrunkResponseModel) GetSupportsInbound

func (s *GetPhoneNumberSIPTrunkResponseModel) GetSupportsInbound() OptBool

GetSupportsInbound returns the value of SupportsInbound.

func (*GetPhoneNumberSIPTrunkResponseModel) GetSupportsOutbound

func (s *GetPhoneNumberSIPTrunkResponseModel) GetSupportsOutbound() OptBool

GetSupportsOutbound returns the value of SupportsOutbound.

func (*GetPhoneNumberSIPTrunkResponseModel) MarshalJSON

func (s *GetPhoneNumberSIPTrunkResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetPhoneNumberSIPTrunkResponseModel) SetAssignedAgent

SetAssignedAgent sets the value of AssignedAgent.

func (*GetPhoneNumberSIPTrunkResponseModel) SetInboundTrunk

SetInboundTrunk sets the value of InboundTrunk.

func (*GetPhoneNumberSIPTrunkResponseModel) SetLabel

SetLabel sets the value of Label.

func (*GetPhoneNumberSIPTrunkResponseModel) SetLivekitStack

func (s *GetPhoneNumberSIPTrunkResponseModel) SetLivekitStack(val LivekitStackType)

SetLivekitStack sets the value of LivekitStack.

func (*GetPhoneNumberSIPTrunkResponseModel) SetOutboundTrunk

SetOutboundTrunk sets the value of OutboundTrunk.

func (*GetPhoneNumberSIPTrunkResponseModel) SetPhoneNumber

func (s *GetPhoneNumberSIPTrunkResponseModel) SetPhoneNumber(val string)

SetPhoneNumber sets the value of PhoneNumber.

func (*GetPhoneNumberSIPTrunkResponseModel) SetPhoneNumberID

func (s *GetPhoneNumberSIPTrunkResponseModel) SetPhoneNumberID(val string)

SetPhoneNumberID sets the value of PhoneNumberID.

func (*GetPhoneNumberSIPTrunkResponseModel) SetProvider

SetProvider sets the value of Provider.

func (*GetPhoneNumberSIPTrunkResponseModel) SetProviderConfig

SetProviderConfig sets the value of ProviderConfig.

func (*GetPhoneNumberSIPTrunkResponseModel) SetSupportsInbound

func (s *GetPhoneNumberSIPTrunkResponseModel) SetSupportsInbound(val OptBool)

SetSupportsInbound sets the value of SupportsInbound.

func (*GetPhoneNumberSIPTrunkResponseModel) SetSupportsOutbound

func (s *GetPhoneNumberSIPTrunkResponseModel) SetSupportsOutbound(val OptBool)

SetSupportsOutbound sets the value of SupportsOutbound.

func (*GetPhoneNumberSIPTrunkResponseModel) UnmarshalJSON

func (s *GetPhoneNumberSIPTrunkResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetPhoneNumberSIPTrunkResponseModel) Validate

type GetPhoneNumberSIPTrunkResponseModelProvider

type GetPhoneNumberSIPTrunkResponseModelProvider string

Phone provider.

const (
	GetPhoneNumberSIPTrunkResponseModelProviderSipTrunk GetPhoneNumberSIPTrunkResponseModelProvider = "sip_trunk"
)

func (GetPhoneNumberSIPTrunkResponseModelProvider) AllValues

AllValues returns all GetPhoneNumberSIPTrunkResponseModelProvider values.

func (*GetPhoneNumberSIPTrunkResponseModelProvider) Decode

Decode decodes GetPhoneNumberSIPTrunkResponseModelProvider from json.

func (GetPhoneNumberSIPTrunkResponseModelProvider) Encode

Encode encodes GetPhoneNumberSIPTrunkResponseModelProvider as json.

func (GetPhoneNumberSIPTrunkResponseModelProvider) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (GetPhoneNumberSIPTrunkResponseModelProvider) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*GetPhoneNumberSIPTrunkResponseModelProvider) UnmarshalJSON

func (s *GetPhoneNumberSIPTrunkResponseModelProvider) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetPhoneNumberSIPTrunkResponseModelProvider) UnmarshalText

func (s *GetPhoneNumberSIPTrunkResponseModelProvider) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetPhoneNumberSIPTrunkResponseModelProvider) Validate

type GetPhoneNumberTwilioResponseModel

type GetPhoneNumberTwilioResponseModel struct {
	// The agent that is assigned to the phone number.
	AssignedAgent OptPhoneNumberAgentInfo `json:"assigned_agent"`
	// Label for the phone number.
	Label string `json:"label"`
	// Phone number.
	PhoneNumber string `json:"phone_number"`
	// The ID of the phone number.
	PhoneNumberID string `json:"phone_number_id"`
	// Phone provider.
	Provider OptGetPhoneNumberTwilioResponseModelProvider `json:"provider"`
	// Whether this phone number supports inbound calls.
	SupportsInbound OptBool `json:"supports_inbound"`
	// Whether this phone number supports outbound calls.
	SupportsOutbound OptBool `json:"supports_outbound"`
}

Ref: #/components/schemas/GetPhoneNumberTwilioResponseModel

func (*GetPhoneNumberTwilioResponseModel) Decode

Decode decodes GetPhoneNumberTwilioResponseModel from json.

func (*GetPhoneNumberTwilioResponseModel) Encode

Encode implements json.Marshaler.

func (*GetPhoneNumberTwilioResponseModel) GetAssignedAgent

GetAssignedAgent returns the value of AssignedAgent.

func (*GetPhoneNumberTwilioResponseModel) GetLabel

GetLabel returns the value of Label.

func (*GetPhoneNumberTwilioResponseModel) GetPhoneNumber

func (s *GetPhoneNumberTwilioResponseModel) GetPhoneNumber() string

GetPhoneNumber returns the value of PhoneNumber.

func (*GetPhoneNumberTwilioResponseModel) GetPhoneNumberID

func (s *GetPhoneNumberTwilioResponseModel) GetPhoneNumberID() string

GetPhoneNumberID returns the value of PhoneNumberID.

func (*GetPhoneNumberTwilioResponseModel) GetProvider

GetProvider returns the value of Provider.

func (*GetPhoneNumberTwilioResponseModel) GetSupportsInbound

func (s *GetPhoneNumberTwilioResponseModel) GetSupportsInbound() OptBool

GetSupportsInbound returns the value of SupportsInbound.

func (*GetPhoneNumberTwilioResponseModel) GetSupportsOutbound

func (s *GetPhoneNumberTwilioResponseModel) GetSupportsOutbound() OptBool

GetSupportsOutbound returns the value of SupportsOutbound.

func (*GetPhoneNumberTwilioResponseModel) MarshalJSON

func (s *GetPhoneNumberTwilioResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetPhoneNumberTwilioResponseModel) SetAssignedAgent

SetAssignedAgent sets the value of AssignedAgent.

func (*GetPhoneNumberTwilioResponseModel) SetLabel

func (s *GetPhoneNumberTwilioResponseModel) SetLabel(val string)

SetLabel sets the value of Label.

func (*GetPhoneNumberTwilioResponseModel) SetPhoneNumber

func (s *GetPhoneNumberTwilioResponseModel) SetPhoneNumber(val string)

SetPhoneNumber sets the value of PhoneNumber.

func (*GetPhoneNumberTwilioResponseModel) SetPhoneNumberID

func (s *GetPhoneNumberTwilioResponseModel) SetPhoneNumberID(val string)

SetPhoneNumberID sets the value of PhoneNumberID.

func (*GetPhoneNumberTwilioResponseModel) SetProvider

SetProvider sets the value of Provider.

func (*GetPhoneNumberTwilioResponseModel) SetSupportsInbound

func (s *GetPhoneNumberTwilioResponseModel) SetSupportsInbound(val OptBool)

SetSupportsInbound sets the value of SupportsInbound.

func (*GetPhoneNumberTwilioResponseModel) SetSupportsOutbound

func (s *GetPhoneNumberTwilioResponseModel) SetSupportsOutbound(val OptBool)

SetSupportsOutbound sets the value of SupportsOutbound.

func (*GetPhoneNumberTwilioResponseModel) UnmarshalJSON

func (s *GetPhoneNumberTwilioResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetPhoneNumberTwilioResponseModel) Validate

type GetPhoneNumberTwilioResponseModelProvider

type GetPhoneNumberTwilioResponseModelProvider string

Phone provider.

const (
	GetPhoneNumberTwilioResponseModelProviderTwilio GetPhoneNumberTwilioResponseModelProvider = "twilio"
)

func (GetPhoneNumberTwilioResponseModelProvider) AllValues

AllValues returns all GetPhoneNumberTwilioResponseModelProvider values.

func (*GetPhoneNumberTwilioResponseModelProvider) Decode

Decode decodes GetPhoneNumberTwilioResponseModelProvider from json.

func (GetPhoneNumberTwilioResponseModelProvider) Encode

Encode encodes GetPhoneNumberTwilioResponseModelProvider as json.

func (GetPhoneNumberTwilioResponseModelProvider) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (GetPhoneNumberTwilioResponseModelProvider) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*GetPhoneNumberTwilioResponseModelProvider) UnmarshalJSON

func (s *GetPhoneNumberTwilioResponseModelProvider) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetPhoneNumberTwilioResponseModelProvider) UnmarshalText

func (s *GetPhoneNumberTwilioResponseModelProvider) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetPhoneNumberTwilioResponseModelProvider) Validate

type GetProjectSnapshotEndpointParams

type GetProjectSnapshotEndpointParams struct {
	// The ID of the Studio project.
	ProjectID string
	// The ID of the Studio project snapshot.
	ProjectSnapshotID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetProjectSnapshotEndpointParams is parameters of get_project_snapshot_endpoint operation.

type GetProjectSnapshotEndpointRes

type GetProjectSnapshotEndpointRes interface {
	// contains filtered or unexported methods
}

type GetProjectSnapshotsParams

type GetProjectSnapshotsParams struct {
	// The ID of the Studio project.
	ProjectID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetProjectSnapshotsParams is parameters of get_project_snapshots operation.

type GetProjectSnapshotsRes

type GetProjectSnapshotsRes interface {
	// contains filtered or unexported methods
}

type GetProjectsParams

type GetProjectsParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetProjectsParams is parameters of get_projects operation.

type GetProjectsRes

type GetProjectsRes interface {
	// contains filtered or unexported methods
}

type GetProjectsResponseModel

type GetProjectsResponseModel struct {
	// A list of projects with their metadata.
	Projects []ProjectResponseModel `json:"projects"`
}

Ref: #/components/schemas/GetProjectsResponseModel

func (*GetProjectsResponseModel) Decode

func (s *GetProjectsResponseModel) Decode(d *jx.Decoder) error

Decode decodes GetProjectsResponseModel from json.

func (*GetProjectsResponseModel) Encode

func (s *GetProjectsResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetProjectsResponseModel) GetProjects

GetProjects returns the value of Projects.

func (*GetProjectsResponseModel) MarshalJSON

func (s *GetProjectsResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetProjectsResponseModel) SetProjects

func (s *GetProjectsResponseModel) SetProjects(val []ProjectResponseModel)

SetProjects sets the value of Projects.

func (*GetProjectsResponseModel) UnmarshalJSON

func (s *GetProjectsResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetProjectsResponseModel) Validate

func (s *GetProjectsResponseModel) Validate() error

type GetPronunciationDictionariesMetadataParams

type GetPronunciationDictionariesMetadataParams struct {
	// Used for fetching next page. Cursor is returned in the response.
	Cursor OptNilString `json:",omitempty,omitzero"`
	// How many pronunciation dictionaries to return at maximum. Can not exceed 100, defaults to 30.
	PageSize OptInt `json:",omitempty,omitzero"`
	// Which field to sort by, one of 'created_at_unix' or 'name'.
	Sort OptNilGetPronunciationDictionariesMetadataSort `json:",omitempty,omitzero"`
	// Which direction to sort the voices in. 'ascending' or 'descending'.
	SortDirection OptNilString `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetPronunciationDictionariesMetadataParams is parameters of get_pronunciation_dictionaries_metadata operation.

type GetPronunciationDictionariesMetadataRes

type GetPronunciationDictionariesMetadataRes interface {
	// contains filtered or unexported methods
}

type GetPronunciationDictionariesMetadataResponseModel

type GetPronunciationDictionariesMetadataResponseModel struct {
	// Whether there are more pronunciation dictionaries to fetch.
	HasMore bool `json:"has_more"`
	// The next cursor to use for pagination.
	NextCursor OptNilString `json:"next_cursor"`
	// A list of pronunciation dictionaries and their metadata.
	PronunciationDictionaries []GetPronunciationDictionaryMetadataResponseModel `json:"pronunciation_dictionaries"`
}

Ref: #/components/schemas/GetPronunciationDictionariesMetadataResponseModel

func (*GetPronunciationDictionariesMetadataResponseModel) Decode

Decode decodes GetPronunciationDictionariesMetadataResponseModel from json.

func (*GetPronunciationDictionariesMetadataResponseModel) Encode

Encode implements json.Marshaler.

func (*GetPronunciationDictionariesMetadataResponseModel) GetHasMore

GetHasMore returns the value of HasMore.

func (*GetPronunciationDictionariesMetadataResponseModel) GetNextCursor

GetNextCursor returns the value of NextCursor.

func (*GetPronunciationDictionariesMetadataResponseModel) GetPronunciationDictionaries

GetPronunciationDictionaries returns the value of PronunciationDictionaries.

func (*GetPronunciationDictionariesMetadataResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetPronunciationDictionariesMetadataResponseModel) SetHasMore

SetHasMore sets the value of HasMore.

func (*GetPronunciationDictionariesMetadataResponseModel) SetNextCursor

SetNextCursor sets the value of NextCursor.

func (*GetPronunciationDictionariesMetadataResponseModel) SetPronunciationDictionaries

SetPronunciationDictionaries sets the value of PronunciationDictionaries.

func (*GetPronunciationDictionariesMetadataResponseModel) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetPronunciationDictionariesMetadataResponseModel) Validate

type GetPronunciationDictionariesMetadataSort

type GetPronunciationDictionariesMetadataSort string

Which field to sort by, one of 'created_at_unix' or 'name'.

const (
	GetPronunciationDictionariesMetadataSortCreationTimeUnix GetPronunciationDictionariesMetadataSort = "creation_time_unix"
	GetPronunciationDictionariesMetadataSortName             GetPronunciationDictionariesMetadataSort = "name"
)

func (GetPronunciationDictionariesMetadataSort) AllValues

AllValues returns all GetPronunciationDictionariesMetadataSort values.

func (GetPronunciationDictionariesMetadataSort) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*GetPronunciationDictionariesMetadataSort) UnmarshalText

func (s *GetPronunciationDictionariesMetadataSort) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetPronunciationDictionariesMetadataSort) Validate

type GetPronunciationDictionaryMetadataParams

type GetPronunciationDictionaryMetadataParams struct {
	// The id of the pronunciation dictionary.
	PronunciationDictionaryID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetPronunciationDictionaryMetadataParams is parameters of get_pronunciation_dictionary_metadata operation.

type GetPronunciationDictionaryMetadataRes

type GetPronunciationDictionaryMetadataRes interface {
	// contains filtered or unexported methods
}

type GetPronunciationDictionaryMetadataResponseModel

type GetPronunciationDictionaryMetadataResponseModel struct {
	// The archive time of the pronunciation dictionary in Unix timestamp.
	ArchivedTimeUnix OptNilInt `json:"archived_time_unix"`
	// The user ID of the creator of the pronunciation dictionary.
	CreatedBy string `json:"created_by"`
	// The creation time of the pronunciation dictionary in Unix timestamp.
	CreationTimeUnix int `json:"creation_time_unix"`
	// The description of the pronunciation dictionary.
	Description OptNilString `json:"description"`
	// The ID of the pronunciation dictionary.
	ID string `json:"id"`
	// The ID of the latest version of the pronunciation dictionary.
	LatestVersionID string `json:"latest_version_id"`
	// The number of rules in the latest version of the pronunciation dictionary.
	LatestVersionRulesNum int `json:"latest_version_rules_num"`
	// The name of the pronunciation dictionary.
	Name string `json:"name"`
	// The permission on the resource of the pronunciation dictionary.
	PermissionOnResource NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource `json:"permission_on_resource"`
}

Ref: #/components/schemas/GetPronunciationDictionaryMetadataResponseModel

func (*GetPronunciationDictionaryMetadataResponseModel) Decode

Decode decodes GetPronunciationDictionaryMetadataResponseModel from json.

func (*GetPronunciationDictionaryMetadataResponseModel) Encode

Encode implements json.Marshaler.

func (*GetPronunciationDictionaryMetadataResponseModel) GetArchivedTimeUnix

GetArchivedTimeUnix returns the value of ArchivedTimeUnix.

func (*GetPronunciationDictionaryMetadataResponseModel) GetCreatedBy

GetCreatedBy returns the value of CreatedBy.

func (*GetPronunciationDictionaryMetadataResponseModel) GetCreationTimeUnix

func (s *GetPronunciationDictionaryMetadataResponseModel) GetCreationTimeUnix() int

GetCreationTimeUnix returns the value of CreationTimeUnix.

func (*GetPronunciationDictionaryMetadataResponseModel) GetDescription

GetDescription returns the value of Description.

func (*GetPronunciationDictionaryMetadataResponseModel) GetID

GetID returns the value of ID.

func (*GetPronunciationDictionaryMetadataResponseModel) GetLatestVersionID

GetLatestVersionID returns the value of LatestVersionID.

func (*GetPronunciationDictionaryMetadataResponseModel) GetLatestVersionRulesNum

func (s *GetPronunciationDictionaryMetadataResponseModel) GetLatestVersionRulesNum() int

GetLatestVersionRulesNum returns the value of LatestVersionRulesNum.

func (*GetPronunciationDictionaryMetadataResponseModel) GetName

GetName returns the value of Name.

func (*GetPronunciationDictionaryMetadataResponseModel) GetPermissionOnResource

GetPermissionOnResource returns the value of PermissionOnResource.

func (*GetPronunciationDictionaryMetadataResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetPronunciationDictionaryMetadataResponseModel) SetArchivedTimeUnix

func (s *GetPronunciationDictionaryMetadataResponseModel) SetArchivedTimeUnix(val OptNilInt)

SetArchivedTimeUnix sets the value of ArchivedTimeUnix.

func (*GetPronunciationDictionaryMetadataResponseModel) SetCreatedBy

SetCreatedBy sets the value of CreatedBy.

func (*GetPronunciationDictionaryMetadataResponseModel) SetCreationTimeUnix

func (s *GetPronunciationDictionaryMetadataResponseModel) SetCreationTimeUnix(val int)

SetCreationTimeUnix sets the value of CreationTimeUnix.

func (*GetPronunciationDictionaryMetadataResponseModel) SetDescription

SetDescription sets the value of Description.

func (*GetPronunciationDictionaryMetadataResponseModel) SetID

SetID sets the value of ID.

func (*GetPronunciationDictionaryMetadataResponseModel) SetLatestVersionID

func (s *GetPronunciationDictionaryMetadataResponseModel) SetLatestVersionID(val string)

SetLatestVersionID sets the value of LatestVersionID.

func (*GetPronunciationDictionaryMetadataResponseModel) SetLatestVersionRulesNum

func (s *GetPronunciationDictionaryMetadataResponseModel) SetLatestVersionRulesNum(val int)

SetLatestVersionRulesNum sets the value of LatestVersionRulesNum.

func (*GetPronunciationDictionaryMetadataResponseModel) SetName

SetName sets the value of Name.

func (*GetPronunciationDictionaryMetadataResponseModel) SetPermissionOnResource

SetPermissionOnResource sets the value of PermissionOnResource.

func (*GetPronunciationDictionaryMetadataResponseModel) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetPronunciationDictionaryMetadataResponseModel) Validate

type GetPronunciationDictionaryMetadataResponseModelPermissionOnResource

type GetPronunciationDictionaryMetadataResponseModelPermissionOnResource string

The permission on the resource of the pronunciation dictionary.

const (
	GetPronunciationDictionaryMetadataResponseModelPermissionOnResourceAdmin     GetPronunciationDictionaryMetadataResponseModelPermissionOnResource = "admin"
	GetPronunciationDictionaryMetadataResponseModelPermissionOnResourceEditor    GetPronunciationDictionaryMetadataResponseModelPermissionOnResource = "editor"
	GetPronunciationDictionaryMetadataResponseModelPermissionOnResourceCommenter GetPronunciationDictionaryMetadataResponseModelPermissionOnResource = "commenter"
	GetPronunciationDictionaryMetadataResponseModelPermissionOnResourceViewer    GetPronunciationDictionaryMetadataResponseModelPermissionOnResource = "viewer"
)

func (GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) AllValues

AllValues returns all GetPronunciationDictionaryMetadataResponseModelPermissionOnResource values.

func (*GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Decode

Decode decodes GetPronunciationDictionaryMetadataResponseModelPermissionOnResource from json.

func (GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Encode

Encode encodes GetPronunciationDictionaryMetadataResponseModelPermissionOnResource as json.

func (GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Validate

type GetPronunciationDictionaryVersionPlsOK

type GetPronunciationDictionaryVersionPlsOK struct {
	Data io.Reader
}

func (GetPronunciationDictionaryVersionPlsOK) Read

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GetPronunciationDictionaryVersionPlsOKHeaders

type GetPronunciationDictionaryVersionPlsOKHeaders struct {
	ContentDisposition OptString
	Response           GetPronunciationDictionaryVersionPlsOK
}

GetPronunciationDictionaryVersionPlsOKHeaders wraps GetPronunciationDictionaryVersionPlsOK with response headers.

func (*GetPronunciationDictionaryVersionPlsOKHeaders) GetContentDisposition

func (s *GetPronunciationDictionaryVersionPlsOKHeaders) GetContentDisposition() OptString

GetContentDisposition returns the value of ContentDisposition.

func (*GetPronunciationDictionaryVersionPlsOKHeaders) GetResponse

GetResponse returns the value of Response.

func (*GetPronunciationDictionaryVersionPlsOKHeaders) SetContentDisposition

func (s *GetPronunciationDictionaryVersionPlsOKHeaders) SetContentDisposition(val OptString)

SetContentDisposition sets the value of ContentDisposition.

func (*GetPronunciationDictionaryVersionPlsOKHeaders) SetResponse

SetResponse sets the value of Response.

type GetPronunciationDictionaryVersionPlsParams

type GetPronunciationDictionaryVersionPlsParams struct {
	// The id of the pronunciation dictionary.
	DictionaryID string
	// The id of the pronunciation dictionary version.
	VersionID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetPronunciationDictionaryVersionPlsParams is parameters of get_pronunciation_dictionary_version_pls operation.

type GetPronunciationDictionaryVersionPlsRes

type GetPronunciationDictionaryVersionPlsRes interface {
	// contains filtered or unexported methods
}

type GetPublicLlmExpectedCostCalculationRes

type GetPublicLlmExpectedCostCalculationRes interface {
	// contains filtered or unexported methods
}

type GetPvcSampleAudioParams

type GetPvcSampleAudioParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Sample ID to be used.
	SampleID string
	// If set will remove background noise for voice samples using our audio isolation model. If the
	// samples do not include background noise, it can make the quality worse.
	RemoveBackgroundNoise OptBool `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetPvcSampleAudioParams is parameters of get_pvc_sample_audio operation.

type GetPvcSampleAudioRes

type GetPvcSampleAudioRes interface {
	// contains filtered or unexported methods
}

type GetPvcSampleSpeakersParams

type GetPvcSampleSpeakersParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Sample ID to be used.
	SampleID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetPvcSampleSpeakersParams is parameters of get_pvc_sample_speakers operation.

type GetPvcSampleSpeakersRes

type GetPvcSampleSpeakersRes interface {
	// contains filtered or unexported methods
}

type GetPvcSampleVisualWaveformParams

type GetPvcSampleVisualWaveformParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Sample ID to be used.
	SampleID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetPvcSampleVisualWaveformParams is parameters of get_pvc_sample_visual_waveform operation.

type GetPvcSampleVisualWaveformRes

type GetPvcSampleVisualWaveformRes interface {
	// contains filtered or unexported methods
}

type GetPvcVoiceCaptchaOK

type GetPvcVoiceCaptchaOK struct{}

GetPvcVoiceCaptchaOK is response for GetPvcVoiceCaptcha operation.

type GetPvcVoiceCaptchaParams

type GetPvcVoiceCaptchaParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetPvcVoiceCaptchaParams is parameters of get_pvc_voice_captcha operation.

type GetPvcVoiceCaptchaRes

type GetPvcVoiceCaptchaRes interface {
	// contains filtered or unexported methods
}

type GetRagIndexOverviewParams

type GetRagIndexOverviewParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetRagIndexOverviewParams is parameters of get_rag_index_overview operation.

type GetRagIndexOverviewRes

type GetRagIndexOverviewRes interface {
	// contains filtered or unexported methods
}

type GetRagIndexesParams

type GetRagIndexesParams struct {
	// The id of a document from the knowledge base. This is returned on document addition.
	DocumentationID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetRagIndexesParams is parameters of get_rag_indexes operation.

type GetRagIndexesRes

type GetRagIndexesRes interface {
	// contains filtered or unexported methods
}

type GetResourceMetadataParams

type GetResourceMetadataParams struct {
	// The ID of the target resource.
	ResourceID string
	// Resource type of the target resource.
	ResourceType WorkspaceResourceType
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetResourceMetadataParams is parameters of get_resource_metadata operation.

type GetResourceMetadataRes

type GetResourceMetadataRes interface {
	// contains filtered or unexported methods
}

type GetSecretsRouteParams

type GetSecretsRouteParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetSecretsRouteParams is parameters of get_secrets_route operation.

type GetSecretsRouteRes

type GetSecretsRouteRes interface {
	// contains filtered or unexported methods
}

type GetServiceAccountAPIKeysRouteParams

type GetServiceAccountAPIKeysRouteParams struct {
	ServiceAccountUserID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetServiceAccountAPIKeysRouteParams is parameters of get_service_account_api_keys_route operation.

type GetServiceAccountAPIKeysRouteRes

type GetServiceAccountAPIKeysRouteRes interface {
	// contains filtered or unexported methods
}

type GetSettingsRouteParams

type GetSettingsRouteParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetSettingsRouteParams is parameters of get_settings_route operation.

type GetSettingsRouteRes

type GetSettingsRouteRes interface {
	// contains filtered or unexported methods
}

type GetSignedURLDeprecatedParams

type GetSignedURLDeprecatedParams struct {
	// The id of the agent you're taking the action on.
	AgentID string
	// Whether to include a conversation_id with the response. If included, the conversation_signature
	// cannot be used again.
	IncludeConversationID OptBool `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetSignedURLDeprecatedParams is parameters of get_signed_url_deprecated operation.

type GetSignedURLDeprecatedRes

type GetSignedURLDeprecatedRes interface {
	// contains filtered or unexported methods
}

type GetSimilarLibraryVoicesParams

type GetSimilarLibraryVoicesParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetSimilarLibraryVoicesParams is parameters of get_similar_library_voices operation.

type GetSimilarLibraryVoicesRes

type GetSimilarLibraryVoicesRes interface {
	// contains filtered or unexported methods
}

type GetSimilarVoicesForSpeakerParams

type GetSimilarVoicesForSpeakerParams struct {
	// ID of the dubbing project.
	DubbingID string
	// ID of the speaker.
	SpeakerID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetSimilarVoicesForSpeakerParams is parameters of get_similar_voices_for_speaker operation.

type GetSimilarVoicesForSpeakerRes

type GetSimilarVoicesForSpeakerRes interface {
	// contains filtered or unexported methods
}

type GetSingleUseTokenParams

type GetSingleUseTokenParams struct {
	TokenType SingleUseTokenType
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetSingleUseTokenParams is parameters of get_single_use_token operation.

type GetSingleUseTokenRes

type GetSingleUseTokenRes interface {
	// contains filtered or unexported methods
}

type GetSpeakerAudioParams

type GetSpeakerAudioParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Sample ID to be used.
	SampleID string
	// Speaker ID to be used, you can use GET https://api.elevenlabs.
	// io/v1/voices/{voice_id}/samples/{sample_id}/speakers to list all the available speakers for a
	// sample.
	SpeakerID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetSpeakerAudioParams is parameters of get_speaker_audio operation.

type GetSpeakerAudioRes

type GetSpeakerAudioRes interface {
	// contains filtered or unexported methods
}

type GetSpeechHistoryItemByIDParams

type GetSpeechHistoryItemByIDParams struct {
	// History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list
	// of history items and their IDs.
	HistoryItemID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetSpeechHistoryItemByIDParams is parameters of get_speech_history_item_by_id operation.

type GetSpeechHistoryItemByIDRes

type GetSpeechHistoryItemByIDRes interface {
	// contains filtered or unexported methods
}

type GetSpeechHistoryParams

type GetSpeechHistoryParams struct {
	// How many history items to return at maximum. Can not exceed 1000, defaults to 100.
	PageSize OptInt `json:",omitempty,omitzero"`
	// After which ID to start fetching, use this parameter to paginate across a large collection of
	// history items. In case this parameter is not provided history items will be fetched starting from
	// the most recently created one ordered descending by their creation date.
	StartAfterHistoryItemID OptNilString `json:",omitempty,omitzero"`
	// Voice ID to be filtered for, you can use GET https://api.elevenlabs.io/v1/voices to receive a list
	// of voices and their IDs.
	VoiceID OptNilString `json:",omitempty,omitzero"`
	// Model ID to filter history items by.
	ModelID OptNilString `json:",omitempty,omitzero"`
	// Unix timestamp to filter history items before this date (exclusive).
	DateBeforeUnix OptNilInt `json:",omitempty,omitzero"`
	// Unix timestamp to filter history items after this date (inclusive).
	DateAfterUnix OptNilInt `json:",omitempty,omitzero"`
	// Sort direction for the results.
	SortDirection OptNilGetSpeechHistorySortDirection `json:",omitempty,omitzero"`
	// Search term used for filtering.
	Search OptNilString `json:",omitempty,omitzero"`
	// Source of the generated history item.
	Source OptNilGetSpeechHistorySource `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetSpeechHistoryParams is parameters of get_speech_history operation.

type GetSpeechHistoryRes

type GetSpeechHistoryRes interface {
	// contains filtered or unexported methods
}

type GetSpeechHistoryResponseModel

type GetSpeechHistoryResponseModel struct {
	// Whether there are more history items to fetch.
	HasMore bool `json:"has_more"`
	// A list of speech history items.
	History []SpeechHistoryItemResponseModel `json:"history"`
	// The ID of the last history item.
	LastHistoryItemID OptNilString `json:"last_history_item_id"`
	// The timestamp of the last history item.
	ScannedUntil OptNilInt `json:"scanned_until"`
}

Ref: #/components/schemas/GetSpeechHistoryResponseModel

func (*GetSpeechHistoryResponseModel) Decode

Decode decodes GetSpeechHistoryResponseModel from json.

func (*GetSpeechHistoryResponseModel) Encode

Encode implements json.Marshaler.

func (*GetSpeechHistoryResponseModel) GetHasMore

func (s *GetSpeechHistoryResponseModel) GetHasMore() bool

GetHasMore returns the value of HasMore.

func (*GetSpeechHistoryResponseModel) GetHistory

GetHistory returns the value of History.

func (*GetSpeechHistoryResponseModel) GetLastHistoryItemID

func (s *GetSpeechHistoryResponseModel) GetLastHistoryItemID() OptNilString

GetLastHistoryItemID returns the value of LastHistoryItemID.

func (*GetSpeechHistoryResponseModel) GetScannedUntil

func (s *GetSpeechHistoryResponseModel) GetScannedUntil() OptNilInt

GetScannedUntil returns the value of ScannedUntil.

func (*GetSpeechHistoryResponseModel) MarshalJSON

func (s *GetSpeechHistoryResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetSpeechHistoryResponseModel) SetHasMore

func (s *GetSpeechHistoryResponseModel) SetHasMore(val bool)

SetHasMore sets the value of HasMore.

func (*GetSpeechHistoryResponseModel) SetHistory

SetHistory sets the value of History.

func (*GetSpeechHistoryResponseModel) SetLastHistoryItemID

func (s *GetSpeechHistoryResponseModel) SetLastHistoryItemID(val OptNilString)

SetLastHistoryItemID sets the value of LastHistoryItemID.

func (*GetSpeechHistoryResponseModel) SetScannedUntil

func (s *GetSpeechHistoryResponseModel) SetScannedUntil(val OptNilInt)

SetScannedUntil sets the value of ScannedUntil.

func (*GetSpeechHistoryResponseModel) UnmarshalJSON

func (s *GetSpeechHistoryResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetSpeechHistoryResponseModel) Validate

func (s *GetSpeechHistoryResponseModel) Validate() error

type GetSpeechHistorySortDirection

type GetSpeechHistorySortDirection string

Sort direction for the results.

const (
	GetSpeechHistorySortDirectionAsc  GetSpeechHistorySortDirection = "asc"
	GetSpeechHistorySortDirectionDesc GetSpeechHistorySortDirection = "desc"
)

func (GetSpeechHistorySortDirection) AllValues

AllValues returns all GetSpeechHistorySortDirection values.

func (GetSpeechHistorySortDirection) MarshalText

func (s GetSpeechHistorySortDirection) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*GetSpeechHistorySortDirection) UnmarshalText

func (s *GetSpeechHistorySortDirection) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetSpeechHistorySortDirection) Validate

func (s GetSpeechHistorySortDirection) Validate() error

type GetSpeechHistorySource

type GetSpeechHistorySource string

Source of the generated history item.

const (
	GetSpeechHistorySourceTTS GetSpeechHistorySource = "TTS"
	GetSpeechHistorySourceSTS GetSpeechHistorySource = "STS"
)

func (GetSpeechHistorySource) AllValues

AllValues returns all GetSpeechHistorySource values.

func (GetSpeechHistorySource) MarshalText

func (s GetSpeechHistorySource) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*GetSpeechHistorySource) UnmarshalText

func (s *GetSpeechHistorySource) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetSpeechHistorySource) Validate

func (s GetSpeechHistorySource) Validate() error

type GetTestInvocationRouteParams

type GetTestInvocationRouteParams struct {
	// The id of a test invocation. This is returned when tests are run.
	TestInvocationID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetTestInvocationRouteParams is parameters of get_test_invocation_route operation.

type GetTestInvocationRouteRes

type GetTestInvocationRouteRes interface {
	// contains filtered or unexported methods
}

type GetTestInvocationsPageResponseModel

type GetTestInvocationsPageResponseModel struct {
	// Whether there are more results available.
	HasMore bool                `json:"has_more"`
	Meta    OptListResponseMeta `json:"meta"`
	// Cursor for the next page of results.
	NextCursor OptNilString                         `json:"next_cursor"`
	Results    []TestInvocationSummaryResponseModel `json:"results"`
}

Ref: #/components/schemas/GetTestInvocationsPageResponseModel

func (*GetTestInvocationsPageResponseModel) Decode

Decode decodes GetTestInvocationsPageResponseModel from json.

func (*GetTestInvocationsPageResponseModel) Encode

Encode implements json.Marshaler.

func (*GetTestInvocationsPageResponseModel) GetHasMore

func (s *GetTestInvocationsPageResponseModel) GetHasMore() bool

GetHasMore returns the value of HasMore.

func (*GetTestInvocationsPageResponseModel) GetMeta

GetMeta returns the value of Meta.

func (*GetTestInvocationsPageResponseModel) GetNextCursor

GetNextCursor returns the value of NextCursor.

func (*GetTestInvocationsPageResponseModel) GetResults

GetResults returns the value of Results.

func (*GetTestInvocationsPageResponseModel) MarshalJSON

func (s *GetTestInvocationsPageResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTestInvocationsPageResponseModel) SetHasMore

func (s *GetTestInvocationsPageResponseModel) SetHasMore(val bool)

SetHasMore sets the value of HasMore.

func (*GetTestInvocationsPageResponseModel) SetMeta

SetMeta sets the value of Meta.

func (*GetTestInvocationsPageResponseModel) SetNextCursor

func (s *GetTestInvocationsPageResponseModel) SetNextCursor(val OptNilString)

SetNextCursor sets the value of NextCursor.

func (*GetTestInvocationsPageResponseModel) SetResults

SetResults sets the value of Results.

func (*GetTestInvocationsPageResponseModel) UnmarshalJSON

func (s *GetTestInvocationsPageResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetTestInvocationsPageResponseModel) Validate

type GetTestSuiteInvocationResponseModel

type GetTestSuiteInvocationResponseModel struct {
	AgentID   OptNilString               `json:"agent_id"`
	BranchID  OptNilString               `json:"branch_id"`
	CreatedAt OptInt                     `json:"created_at"`
	ID        string                     `json:"id"`
	TestRuns  []UnitTestRunResponseModel `json:"test_runs"`
}

Ref: #/components/schemas/GetTestSuiteInvocationResponseModel

func (*GetTestSuiteInvocationResponseModel) Decode

Decode decodes GetTestSuiteInvocationResponseModel from json.

func (*GetTestSuiteInvocationResponseModel) Encode

Encode implements json.Marshaler.

func (*GetTestSuiteInvocationResponseModel) GetAgentID

GetAgentID returns the value of AgentID.

func (*GetTestSuiteInvocationResponseModel) GetBranchID

GetBranchID returns the value of BranchID.

func (*GetTestSuiteInvocationResponseModel) GetCreatedAt

func (s *GetTestSuiteInvocationResponseModel) GetCreatedAt() OptInt

GetCreatedAt returns the value of CreatedAt.

func (*GetTestSuiteInvocationResponseModel) GetID

GetID returns the value of ID.

func (*GetTestSuiteInvocationResponseModel) GetTestRuns

GetTestRuns returns the value of TestRuns.

func (*GetTestSuiteInvocationResponseModel) MarshalJSON

func (s *GetTestSuiteInvocationResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTestSuiteInvocationResponseModel) SetAgentID

SetAgentID sets the value of AgentID.

func (*GetTestSuiteInvocationResponseModel) SetBranchID

SetBranchID sets the value of BranchID.

func (*GetTestSuiteInvocationResponseModel) SetCreatedAt

func (s *GetTestSuiteInvocationResponseModel) SetCreatedAt(val OptInt)

SetCreatedAt sets the value of CreatedAt.

func (*GetTestSuiteInvocationResponseModel) SetID

SetID sets the value of ID.

func (*GetTestSuiteInvocationResponseModel) SetTestRuns

SetTestRuns sets the value of TestRuns.

func (*GetTestSuiteInvocationResponseModel) UnmarshalJSON

func (s *GetTestSuiteInvocationResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetTestSuiteInvocationResponseModel) Validate

type GetTestsPageResponseModel

type GetTestsPageResponseModel struct {
	HasMore    bool                           `json:"has_more"`
	NextCursor OptNilString                   `json:"next_cursor"`
	Tests      []UnitTestSummaryResponseModel `json:"tests"`
}

Ref: #/components/schemas/GetTestsPageResponseModel

func (*GetTestsPageResponseModel) Decode

func (s *GetTestsPageResponseModel) Decode(d *jx.Decoder) error

Decode decodes GetTestsPageResponseModel from json.

func (*GetTestsPageResponseModel) Encode

func (s *GetTestsPageResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetTestsPageResponseModel) GetHasMore

func (s *GetTestsPageResponseModel) GetHasMore() bool

GetHasMore returns the value of HasMore.

func (*GetTestsPageResponseModel) GetNextCursor

func (s *GetTestsPageResponseModel) GetNextCursor() OptNilString

GetNextCursor returns the value of NextCursor.

func (*GetTestsPageResponseModel) GetTests

GetTests returns the value of Tests.

func (*GetTestsPageResponseModel) MarshalJSON

func (s *GetTestsPageResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTestsPageResponseModel) SetHasMore

func (s *GetTestsPageResponseModel) SetHasMore(val bool)

SetHasMore sets the value of HasMore.

func (*GetTestsPageResponseModel) SetNextCursor

func (s *GetTestsPageResponseModel) SetNextCursor(val OptNilString)

SetNextCursor sets the value of NextCursor.

func (*GetTestsPageResponseModel) SetTests

SetTests sets the value of Tests.

func (*GetTestsPageResponseModel) UnmarshalJSON

func (s *GetTestsPageResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetTestsPageResponseModel) Validate

func (s *GetTestsPageResponseModel) Validate() error

type GetTestsSummariesByIdsResponseModel

type GetTestsSummariesByIdsResponseModel struct {
	// Dictionary mapping test IDs to their summary information.
	Tests GetTestsSummariesByIdsResponseModelTests `json:"tests"`
}

Ref: #/components/schemas/GetTestsSummariesByIdsResponseModel

func (*GetTestsSummariesByIdsResponseModel) Decode

Decode decodes GetTestsSummariesByIdsResponseModel from json.

func (*GetTestsSummariesByIdsResponseModel) Encode

Encode implements json.Marshaler.

func (*GetTestsSummariesByIdsResponseModel) GetTests

GetTests returns the value of Tests.

func (*GetTestsSummariesByIdsResponseModel) MarshalJSON

func (s *GetTestsSummariesByIdsResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTestsSummariesByIdsResponseModel) SetTests

SetTests sets the value of Tests.

func (*GetTestsSummariesByIdsResponseModel) UnmarshalJSON

func (s *GetTestsSummariesByIdsResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetTestsSummariesByIdsResponseModel) Validate

type GetTestsSummariesByIdsResponseModelTests

type GetTestsSummariesByIdsResponseModelTests map[string]UnitTestSummaryResponseModel

Dictionary mapping test IDs to their summary information.

func (*GetTestsSummariesByIdsResponseModelTests) Decode

Decode decodes GetTestsSummariesByIdsResponseModelTests from json.

func (GetTestsSummariesByIdsResponseModelTests) Encode

Encode implements json.Marshaler.

func (GetTestsSummariesByIdsResponseModelTests) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetTestsSummariesByIdsResponseModelTests) UnmarshalJSON

func (s *GetTestsSummariesByIdsResponseModelTests) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetTestsSummariesByIdsResponseModelTests) Validate

type GetToolDependentAgentsResponseModel

type GetToolDependentAgentsResponseModel struct {
	Agents     []GetToolDependentAgentsResponseModelAgentsItem `json:"agents"`
	HasMore    bool                                            `json:"has_more"`
	NextCursor OptNilString                                    `json:"next_cursor"`
}

Ref: #/components/schemas/GetToolDependentAgentsResponseModel

func (*GetToolDependentAgentsResponseModel) Decode

Decode decodes GetToolDependentAgentsResponseModel from json.

func (*GetToolDependentAgentsResponseModel) Encode

Encode implements json.Marshaler.

func (*GetToolDependentAgentsResponseModel) GetAgents

GetAgents returns the value of Agents.

func (*GetToolDependentAgentsResponseModel) GetHasMore

func (s *GetToolDependentAgentsResponseModel) GetHasMore() bool

GetHasMore returns the value of HasMore.

func (*GetToolDependentAgentsResponseModel) GetNextCursor

GetNextCursor returns the value of NextCursor.

func (*GetToolDependentAgentsResponseModel) MarshalJSON

func (s *GetToolDependentAgentsResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetToolDependentAgentsResponseModel) SetAgents

SetAgents sets the value of Agents.

func (*GetToolDependentAgentsResponseModel) SetHasMore

func (s *GetToolDependentAgentsResponseModel) SetHasMore(val bool)

SetHasMore sets the value of HasMore.

func (*GetToolDependentAgentsResponseModel) SetNextCursor

func (s *GetToolDependentAgentsResponseModel) SetNextCursor(val OptNilString)

SetNextCursor sets the value of NextCursor.

func (*GetToolDependentAgentsResponseModel) UnmarshalJSON

func (s *GetToolDependentAgentsResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetToolDependentAgentsResponseModel) Validate

type GetToolDependentAgentsResponseModelAgentsItem

type GetToolDependentAgentsResponseModelAgentsItem struct {
	Type                              GetToolDependentAgentsResponseModelAgentsItemType // switch on this field
	DependentAvailableAgentIdentifier DependentAvailableAgentIdentifier
	DependentUnknownAgentIdentifier   DependentUnknownAgentIdentifier
}

GetToolDependentAgentsResponseModelAgentsItem represents sum type.

func NewDependentAvailableAgentIdentifierGetToolDependentAgentsResponseModelAgentsItem

func NewDependentAvailableAgentIdentifierGetToolDependentAgentsResponseModelAgentsItem(v DependentAvailableAgentIdentifier) GetToolDependentAgentsResponseModelAgentsItem

NewDependentAvailableAgentIdentifierGetToolDependentAgentsResponseModelAgentsItem returns new GetToolDependentAgentsResponseModelAgentsItem from DependentAvailableAgentIdentifier.

func NewDependentUnknownAgentIdentifierGetToolDependentAgentsResponseModelAgentsItem

func NewDependentUnknownAgentIdentifierGetToolDependentAgentsResponseModelAgentsItem(v DependentUnknownAgentIdentifier) GetToolDependentAgentsResponseModelAgentsItem

NewDependentUnknownAgentIdentifierGetToolDependentAgentsResponseModelAgentsItem returns new GetToolDependentAgentsResponseModelAgentsItem from DependentUnknownAgentIdentifier.

func (*GetToolDependentAgentsResponseModelAgentsItem) Decode

Decode decodes GetToolDependentAgentsResponseModelAgentsItem from json.

func (GetToolDependentAgentsResponseModelAgentsItem) Encode

Encode encodes GetToolDependentAgentsResponseModelAgentsItem as json.

func (GetToolDependentAgentsResponseModelAgentsItem) GetDependentAvailableAgentIdentifier

func (s GetToolDependentAgentsResponseModelAgentsItem) GetDependentAvailableAgentIdentifier() (v DependentAvailableAgentIdentifier, ok bool)

GetDependentAvailableAgentIdentifier returns DependentAvailableAgentIdentifier and true boolean if GetToolDependentAgentsResponseModelAgentsItem is DependentAvailableAgentIdentifier.

func (GetToolDependentAgentsResponseModelAgentsItem) GetDependentUnknownAgentIdentifier

func (s GetToolDependentAgentsResponseModelAgentsItem) GetDependentUnknownAgentIdentifier() (v DependentUnknownAgentIdentifier, ok bool)

GetDependentUnknownAgentIdentifier returns DependentUnknownAgentIdentifier and true boolean if GetToolDependentAgentsResponseModelAgentsItem is DependentUnknownAgentIdentifier.

func (GetToolDependentAgentsResponseModelAgentsItem) IsDependentAvailableAgentIdentifier

func (s GetToolDependentAgentsResponseModelAgentsItem) IsDependentAvailableAgentIdentifier() bool

IsDependentAvailableAgentIdentifier reports whether GetToolDependentAgentsResponseModelAgentsItem is DependentAvailableAgentIdentifier.

func (GetToolDependentAgentsResponseModelAgentsItem) IsDependentUnknownAgentIdentifier

func (s GetToolDependentAgentsResponseModelAgentsItem) IsDependentUnknownAgentIdentifier() bool

IsDependentUnknownAgentIdentifier reports whether GetToolDependentAgentsResponseModelAgentsItem is DependentUnknownAgentIdentifier.

func (GetToolDependentAgentsResponseModelAgentsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetToolDependentAgentsResponseModelAgentsItem) SetDependentAvailableAgentIdentifier

func (s *GetToolDependentAgentsResponseModelAgentsItem) SetDependentAvailableAgentIdentifier(v DependentAvailableAgentIdentifier)

SetDependentAvailableAgentIdentifier sets GetToolDependentAgentsResponseModelAgentsItem to DependentAvailableAgentIdentifier.

func (*GetToolDependentAgentsResponseModelAgentsItem) SetDependentUnknownAgentIdentifier

func (s *GetToolDependentAgentsResponseModelAgentsItem) SetDependentUnknownAgentIdentifier(v DependentUnknownAgentIdentifier)

SetDependentUnknownAgentIdentifier sets GetToolDependentAgentsResponseModelAgentsItem to DependentUnknownAgentIdentifier.

func (*GetToolDependentAgentsResponseModelAgentsItem) UnmarshalJSON

func (s *GetToolDependentAgentsResponseModelAgentsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetToolDependentAgentsResponseModelAgentsItem) Validate

type GetToolDependentAgentsResponseModelAgentsItemType

type GetToolDependentAgentsResponseModelAgentsItemType string

GetToolDependentAgentsResponseModelAgentsItemType is oneOf type of GetToolDependentAgentsResponseModelAgentsItem.

const (
	DependentAvailableAgentIdentifierGetToolDependentAgentsResponseModelAgentsItem GetToolDependentAgentsResponseModelAgentsItemType = "available"
	DependentUnknownAgentIdentifierGetToolDependentAgentsResponseModelAgentsItem   GetToolDependentAgentsResponseModelAgentsItemType = "unknown"
)

Possible values for GetToolDependentAgentsResponseModelAgentsItemType.

type GetToolDependentAgentsRouteParams

type GetToolDependentAgentsRouteParams struct {
	// ID of the requested tool.
	ToolID string
	// Used for fetching next page. Cursor is returned in the response.
	Cursor OptNilString `json:",omitempty,omitzero"`
	// How many documents to return at maximum. Can not exceed 100, defaults to 30.
	PageSize OptInt `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetToolDependentAgentsRouteParams is parameters of get_tool_dependent_agents_route operation.

type GetToolDependentAgentsRouteRes

type GetToolDependentAgentsRouteRes interface {
	// contains filtered or unexported methods
}

type GetTranscriptByIDNotFoundApplicationJSON

type GetTranscriptByIDNotFoundApplicationJSON jx.Raw

func (*GetTranscriptByIDNotFoundApplicationJSON) Decode

Decode decodes GetTranscriptByIDNotFoundApplicationJSON from json.

func (GetTranscriptByIDNotFoundApplicationJSON) Encode

Encode encodes GetTranscriptByIDNotFoundApplicationJSON as json.

func (GetTranscriptByIDNotFoundApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetTranscriptByIDNotFoundApplicationJSON) UnmarshalJSON

func (s *GetTranscriptByIDNotFoundApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTranscriptByIDOK

type GetTranscriptByIDOK struct {
	Type                                  GetTranscriptByIDOKType // switch on this field
	SpeechToTextChunkResponseModel        SpeechToTextChunkResponseModel
	MultichannelSpeechToTextResponseModel MultichannelSpeechToTextResponseModel
}

GetTranscriptByIDOK represents sum type.

func NewMultichannelSpeechToTextResponseModelGetTranscriptByIDOK

func NewMultichannelSpeechToTextResponseModelGetTranscriptByIDOK(v MultichannelSpeechToTextResponseModel) GetTranscriptByIDOK

NewMultichannelSpeechToTextResponseModelGetTranscriptByIDOK returns new GetTranscriptByIDOK from MultichannelSpeechToTextResponseModel.

func NewSpeechToTextChunkResponseModelGetTranscriptByIDOK

func NewSpeechToTextChunkResponseModelGetTranscriptByIDOK(v SpeechToTextChunkResponseModel) GetTranscriptByIDOK

NewSpeechToTextChunkResponseModelGetTranscriptByIDOK returns new GetTranscriptByIDOK from SpeechToTextChunkResponseModel.

func (*GetTranscriptByIDOK) Decode

func (s *GetTranscriptByIDOK) Decode(d *jx.Decoder) error

Decode decodes GetTranscriptByIDOK from json.

func (GetTranscriptByIDOK) Encode

func (s GetTranscriptByIDOK) Encode(e *jx.Encoder)

Encode encodes GetTranscriptByIDOK as json.

func (GetTranscriptByIDOK) GetMultichannelSpeechToTextResponseModel

func (s GetTranscriptByIDOK) GetMultichannelSpeechToTextResponseModel() (v MultichannelSpeechToTextResponseModel, ok bool)

GetMultichannelSpeechToTextResponseModel returns MultichannelSpeechToTextResponseModel and true boolean if GetTranscriptByIDOK is MultichannelSpeechToTextResponseModel.

func (GetTranscriptByIDOK) GetSpeechToTextChunkResponseModel

func (s GetTranscriptByIDOK) GetSpeechToTextChunkResponseModel() (v SpeechToTextChunkResponseModel, ok bool)

GetSpeechToTextChunkResponseModel returns SpeechToTextChunkResponseModel and true boolean if GetTranscriptByIDOK is SpeechToTextChunkResponseModel.

func (GetTranscriptByIDOK) IsMultichannelSpeechToTextResponseModel

func (s GetTranscriptByIDOK) IsMultichannelSpeechToTextResponseModel() bool

IsMultichannelSpeechToTextResponseModel reports whether GetTranscriptByIDOK is MultichannelSpeechToTextResponseModel.

func (GetTranscriptByIDOK) IsSpeechToTextChunkResponseModel

func (s GetTranscriptByIDOK) IsSpeechToTextChunkResponseModel() bool

IsSpeechToTextChunkResponseModel reports whether GetTranscriptByIDOK is SpeechToTextChunkResponseModel.

func (GetTranscriptByIDOK) MarshalJSON

func (s GetTranscriptByIDOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTranscriptByIDOK) SetMultichannelSpeechToTextResponseModel

func (s *GetTranscriptByIDOK) SetMultichannelSpeechToTextResponseModel(v MultichannelSpeechToTextResponseModel)

SetMultichannelSpeechToTextResponseModel sets GetTranscriptByIDOK to MultichannelSpeechToTextResponseModel.

func (*GetTranscriptByIDOK) SetSpeechToTextChunkResponseModel

func (s *GetTranscriptByIDOK) SetSpeechToTextChunkResponseModel(v SpeechToTextChunkResponseModel)

SetSpeechToTextChunkResponseModel sets GetTranscriptByIDOK to SpeechToTextChunkResponseModel.

func (*GetTranscriptByIDOK) UnmarshalJSON

func (s *GetTranscriptByIDOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetTranscriptByIDOK) Validate

func (s GetTranscriptByIDOK) Validate() error

type GetTranscriptByIDOKType

type GetTranscriptByIDOKType string

GetTranscriptByIDOKType is oneOf type of GetTranscriptByIDOK.

const (
	SpeechToTextChunkResponseModelGetTranscriptByIDOK        GetTranscriptByIDOKType = "SpeechToTextChunkResponseModel"
	MultichannelSpeechToTextResponseModelGetTranscriptByIDOK GetTranscriptByIDOKType = "MultichannelSpeechToTextResponseModel"
)

Possible values for GetTranscriptByIDOKType.

type GetTranscriptByIDParams

type GetTranscriptByIDParams struct {
	// The unique ID of the transcript to retrieve.
	TranscriptionID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetTranscriptByIDParams is parameters of get_transcript_by_id operation.

type GetTranscriptByIDRes

type GetTranscriptByIDRes interface {
	// contains filtered or unexported methods
}

type GetTranscriptByIDUnauthorizedApplicationJSON

type GetTranscriptByIDUnauthorizedApplicationJSON jx.Raw

func (*GetTranscriptByIDUnauthorizedApplicationJSON) Decode

Decode decodes GetTranscriptByIDUnauthorizedApplicationJSON from json.

func (GetTranscriptByIDUnauthorizedApplicationJSON) Encode

Encode encodes GetTranscriptByIDUnauthorizedApplicationJSON as json.

func (GetTranscriptByIDUnauthorizedApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetTranscriptByIDUnauthorizedApplicationJSON) UnmarshalJSON

func (s *GetTranscriptByIDUnauthorizedApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetUnitTestResponseModel

type GetUnitTestResponseModel struct {
	ChatHistory []ConversationHistoryTranscriptCommonModelOutput `json:"chat_history"`
	// Dynamic variables to replace in the agent config during testing.
	DynamicVariables OptGetUnitTestResponseModelDynamicVariables `json:"dynamic_variables"`
	// Non-empty list of example responses that should be considered failures.
	FailureExamples []AgentFailureResponseExample `json:"failure_examples"`
	// Metadata of a conversation this test was created from (if applicable).
	FromConversationMetadata OptTestFromConversationMetadataOutput `json:"from_conversation_metadata"`
	ID                       string                                `json:"id"`
	Name                     string                                `json:"name"`
	// A prompt that evaluates whether the agent's response is successful. Should return True or False.
	SuccessCondition string `json:"success_condition"`
	// Non-empty list of example responses that should be considered successful.
	SuccessExamples []AgentSuccessfulResponseExample `json:"success_examples"`
	// How to evaluate the agent's tool call (if any). If empty, the tool call is not evaluated.
	ToolCallParameters OptUnitTestToolCallEvaluationModelOutput `json:"tool_call_parameters"`
	Type               OptUnitTestCommonModelType               `json:"type"`
}

Ref: #/components/schemas/GetUnitTestResponseModel

func (*GetUnitTestResponseModel) Decode

func (s *GetUnitTestResponseModel) Decode(d *jx.Decoder) error

Decode decodes GetUnitTestResponseModel from json.

func (*GetUnitTestResponseModel) Encode

func (s *GetUnitTestResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetUnitTestResponseModel) GetChatHistory

GetChatHistory returns the value of ChatHistory.

func (*GetUnitTestResponseModel) GetDynamicVariables

GetDynamicVariables returns the value of DynamicVariables.

func (*GetUnitTestResponseModel) GetFailureExamples

func (s *GetUnitTestResponseModel) GetFailureExamples() []AgentFailureResponseExample

GetFailureExamples returns the value of FailureExamples.

func (*GetUnitTestResponseModel) GetFromConversationMetadata

func (s *GetUnitTestResponseModel) GetFromConversationMetadata() OptTestFromConversationMetadataOutput

GetFromConversationMetadata returns the value of FromConversationMetadata.

func (*GetUnitTestResponseModel) GetID

func (s *GetUnitTestResponseModel) GetID() string

GetID returns the value of ID.

func (*GetUnitTestResponseModel) GetName

func (s *GetUnitTestResponseModel) GetName() string

GetName returns the value of Name.

func (*GetUnitTestResponseModel) GetSuccessCondition

func (s *GetUnitTestResponseModel) GetSuccessCondition() string

GetSuccessCondition returns the value of SuccessCondition.

func (*GetUnitTestResponseModel) GetSuccessExamples

func (s *GetUnitTestResponseModel) GetSuccessExamples() []AgentSuccessfulResponseExample

GetSuccessExamples returns the value of SuccessExamples.

func (*GetUnitTestResponseModel) GetToolCallParameters

GetToolCallParameters returns the value of ToolCallParameters.

func (*GetUnitTestResponseModel) GetType

GetType returns the value of Type.

func (*GetUnitTestResponseModel) MarshalJSON

func (s *GetUnitTestResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetUnitTestResponseModel) SetChatHistory

SetChatHistory sets the value of ChatHistory.

func (*GetUnitTestResponseModel) SetDynamicVariables

SetDynamicVariables sets the value of DynamicVariables.

func (*GetUnitTestResponseModel) SetFailureExamples

func (s *GetUnitTestResponseModel) SetFailureExamples(val []AgentFailureResponseExample)

SetFailureExamples sets the value of FailureExamples.

func (*GetUnitTestResponseModel) SetFromConversationMetadata

func (s *GetUnitTestResponseModel) SetFromConversationMetadata(val OptTestFromConversationMetadataOutput)

SetFromConversationMetadata sets the value of FromConversationMetadata.

func (*GetUnitTestResponseModel) SetID

func (s *GetUnitTestResponseModel) SetID(val string)

SetID sets the value of ID.

func (*GetUnitTestResponseModel) SetName

func (s *GetUnitTestResponseModel) SetName(val string)

SetName sets the value of Name.

func (*GetUnitTestResponseModel) SetSuccessCondition

func (s *GetUnitTestResponseModel) SetSuccessCondition(val string)

SetSuccessCondition sets the value of SuccessCondition.

func (*GetUnitTestResponseModel) SetSuccessExamples

func (s *GetUnitTestResponseModel) SetSuccessExamples(val []AgentSuccessfulResponseExample)

SetSuccessExamples sets the value of SuccessExamples.

func (*GetUnitTestResponseModel) SetToolCallParameters

SetToolCallParameters sets the value of ToolCallParameters.

func (*GetUnitTestResponseModel) SetType

SetType sets the value of Type.

func (*GetUnitTestResponseModel) UnmarshalJSON

func (s *GetUnitTestResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetUnitTestResponseModel) Validate

func (s *GetUnitTestResponseModel) Validate() error

type GetUnitTestResponseModelDynamicVariables

type GetUnitTestResponseModelDynamicVariables map[string]NilGetUnitTestResponseModelDynamicVariablesItem

Dynamic variables to replace in the agent config during testing.

func (*GetUnitTestResponseModelDynamicVariables) Decode

Decode decodes GetUnitTestResponseModelDynamicVariables from json.

func (GetUnitTestResponseModelDynamicVariables) Encode

Encode implements json.Marshaler.

func (GetUnitTestResponseModelDynamicVariables) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetUnitTestResponseModelDynamicVariables) UnmarshalJSON

func (s *GetUnitTestResponseModelDynamicVariables) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetUnitTestResponseModelDynamicVariables) Validate

type GetUnitTestResponseModelDynamicVariablesItem

type GetUnitTestResponseModelDynamicVariablesItem struct {
	Type    GetUnitTestResponseModelDynamicVariablesItemType // switch on this field
	String  string
	Float64 float64
	Int     int
	Bool    bool
}

GetUnitTestResponseModelDynamicVariablesItem represents sum type.

func NewBoolGetUnitTestResponseModelDynamicVariablesItem

func NewBoolGetUnitTestResponseModelDynamicVariablesItem(v bool) GetUnitTestResponseModelDynamicVariablesItem

NewBoolGetUnitTestResponseModelDynamicVariablesItem returns new GetUnitTestResponseModelDynamicVariablesItem from bool.

func NewFloat64GetUnitTestResponseModelDynamicVariablesItem

func NewFloat64GetUnitTestResponseModelDynamicVariablesItem(v float64) GetUnitTestResponseModelDynamicVariablesItem

NewFloat64GetUnitTestResponseModelDynamicVariablesItem returns new GetUnitTestResponseModelDynamicVariablesItem from float64.

func NewIntGetUnitTestResponseModelDynamicVariablesItem

func NewIntGetUnitTestResponseModelDynamicVariablesItem(v int) GetUnitTestResponseModelDynamicVariablesItem

NewIntGetUnitTestResponseModelDynamicVariablesItem returns new GetUnitTestResponseModelDynamicVariablesItem from int.

func NewStringGetUnitTestResponseModelDynamicVariablesItem

func NewStringGetUnitTestResponseModelDynamicVariablesItem(v string) GetUnitTestResponseModelDynamicVariablesItem

NewStringGetUnitTestResponseModelDynamicVariablesItem returns new GetUnitTestResponseModelDynamicVariablesItem from string.

func (*GetUnitTestResponseModelDynamicVariablesItem) Decode

Decode decodes GetUnitTestResponseModelDynamicVariablesItem from json.

func (GetUnitTestResponseModelDynamicVariablesItem) Encode

Encode encodes GetUnitTestResponseModelDynamicVariablesItem as json.

func (GetUnitTestResponseModelDynamicVariablesItem) GetBool

GetBool returns bool and true boolean if GetUnitTestResponseModelDynamicVariablesItem is bool.

func (GetUnitTestResponseModelDynamicVariablesItem) GetFloat64

GetFloat64 returns float64 and true boolean if GetUnitTestResponseModelDynamicVariablesItem is float64.

func (GetUnitTestResponseModelDynamicVariablesItem) GetInt

GetInt returns int and true boolean if GetUnitTestResponseModelDynamicVariablesItem is int.

func (GetUnitTestResponseModelDynamicVariablesItem) GetString

GetString returns string and true boolean if GetUnitTestResponseModelDynamicVariablesItem is string.

func (GetUnitTestResponseModelDynamicVariablesItem) IsBool

IsBool reports whether GetUnitTestResponseModelDynamicVariablesItem is bool.

func (GetUnitTestResponseModelDynamicVariablesItem) IsFloat64

IsFloat64 reports whether GetUnitTestResponseModelDynamicVariablesItem is float64.

func (GetUnitTestResponseModelDynamicVariablesItem) IsInt

IsInt reports whether GetUnitTestResponseModelDynamicVariablesItem is int.

func (GetUnitTestResponseModelDynamicVariablesItem) IsString

IsString reports whether GetUnitTestResponseModelDynamicVariablesItem is string.

func (GetUnitTestResponseModelDynamicVariablesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetUnitTestResponseModelDynamicVariablesItem) SetBool

SetBool sets GetUnitTestResponseModelDynamicVariablesItem to bool.

func (*GetUnitTestResponseModelDynamicVariablesItem) SetFloat64

SetFloat64 sets GetUnitTestResponseModelDynamicVariablesItem to float64.

func (*GetUnitTestResponseModelDynamicVariablesItem) SetInt

SetInt sets GetUnitTestResponseModelDynamicVariablesItem to int.

func (*GetUnitTestResponseModelDynamicVariablesItem) SetString

SetString sets GetUnitTestResponseModelDynamicVariablesItem to string.

func (*GetUnitTestResponseModelDynamicVariablesItem) UnmarshalJSON

func (s *GetUnitTestResponseModelDynamicVariablesItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (GetUnitTestResponseModelDynamicVariablesItem) Validate

type GetUnitTestResponseModelDynamicVariablesItemType

type GetUnitTestResponseModelDynamicVariablesItemType string

GetUnitTestResponseModelDynamicVariablesItemType is oneOf type of GetUnitTestResponseModelDynamicVariablesItem.

const (
	StringGetUnitTestResponseModelDynamicVariablesItem  GetUnitTestResponseModelDynamicVariablesItemType = "string"
	Float64GetUnitTestResponseModelDynamicVariablesItem GetUnitTestResponseModelDynamicVariablesItemType = "float64"
	IntGetUnitTestResponseModelDynamicVariablesItem     GetUnitTestResponseModelDynamicVariablesItemType = "int"
	BoolGetUnitTestResponseModelDynamicVariablesItem    GetUnitTestResponseModelDynamicVariablesItemType = "bool"
)

Possible values for GetUnitTestResponseModelDynamicVariablesItemType.

type GetUserInfoParams

type GetUserInfoParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetUserInfoParams is parameters of get_user_info operation.

type GetUserInfoRes

type GetUserInfoRes interface {
	// contains filtered or unexported methods
}

type GetUserVoicesV2Params

type GetUserVoicesV2Params struct {
	// The next page token to use for pagination. Returned from the previous request. Use this in
	// combination with the has_more flag for reliable pagination.
	NextPageToken OptNilString `json:",omitempty,omitzero"`
	// How many voices to return at maximum. Can not exceed 100, defaults to 10. Page 0 may include more
	// voices due to default voices being included.
	PageSize OptInt `json:",omitempty,omitzero"`
	// Search term to filter voices by. Searches in name, description, labels, category.
	Search OptNilString `json:",omitempty,omitzero"`
	// Which field to sort by, one of 'created_at_unix' or 'name'. 'created_at_unix' may not be available
	// for older voices.
	Sort OptNilString `json:",omitempty,omitzero"`
	// Which direction to sort the voices in. 'asc' or 'desc'.
	SortDirection OptNilString `json:",omitempty,omitzero"`
	// Type of the voice to filter by. One of 'personal', 'community', 'default', 'workspace',
	// 'non-default'. 'non-default' is equal to all but 'default'.
	VoiceType OptNilString `json:",omitempty,omitzero"`
	// Category of the voice to filter by. One of 'premade', 'cloned', 'generated', 'professional'.
	Category OptNilString `json:",omitempty,omitzero"`
	// State of the voice's fine tuning to filter by. Applicable only to professional voices clones. One
	// of 'draft', 'not_verified', 'not_started', 'queued', 'fine_tuning', 'fine_tuned', 'failed',
	// 'delayed'.
	FineTuningState OptNilString `json:",omitempty,omitzero"`
	// Collection ID to filter voices by.
	CollectionID OptNilString `json:",omitempty,omitzero"`
	// Whether to include the total count of voices found in the response. NOTE: The total_count value is
	// a live snapshot and may change between requests as users create, modify, or delete voices. For
	// pagination, rely on the has_more flag instead. Only enable this when you actually need the total
	// count (e.g., for display purposes), as it incurs a performance cost.
	IncludeTotalCount OptBool `json:",omitempty,omitzero"`
	// Voice IDs to lookup by. Maximum 100 voice IDs.
	VoiceIds OptNilStringArray `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetUserVoicesV2Params is parameters of get_user_voices_v2 operation.

type GetUserVoicesV2Res

type GetUserVoicesV2Res interface {
	// contains filtered or unexported methods
}

type GetVoiceByIDParams

type GetVoiceByIDParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// This parameter is now deprecated. It is ignored and will be removed in a future version.
	//
	// Deprecated: schema marks this parameter as deprecated.
	WithSettings OptBool `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetVoiceByIDParams is parameters of get_voice_by_id operation.

type GetVoiceByIDRes

type GetVoiceByIDRes interface {
	// contains filtered or unexported methods
}

type GetVoiceSettingsParams

type GetVoiceSettingsParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetVoiceSettingsParams is parameters of get_voice_settings operation.

type GetVoiceSettingsRes

type GetVoiceSettingsRes interface {
	// contains filtered or unexported methods
}

type GetVoicesParams

type GetVoicesParams struct {
	// If set to true, legacy premade voices will be included in responses from /v1/voices.
	ShowLegacy OptNilBool `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetVoicesParams is parameters of get_voices operation.

type GetVoicesRes

type GetVoicesRes interface {
	// contains filtered or unexported methods
}

type GetVoicesResponseModel

type GetVoicesResponseModel struct {
	// A list of available voices.
	Voices []VoiceResponseModel `json:"voices"`
}

Ref: #/components/schemas/GetVoicesResponseModel

func (*GetVoicesResponseModel) Decode

func (s *GetVoicesResponseModel) Decode(d *jx.Decoder) error

Decode decodes GetVoicesResponseModel from json.

func (*GetVoicesResponseModel) Encode

func (s *GetVoicesResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetVoicesResponseModel) GetVoices

func (s *GetVoicesResponseModel) GetVoices() []VoiceResponseModel

GetVoices returns the value of Voices.

func (*GetVoicesResponseModel) MarshalJSON

func (s *GetVoicesResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetVoicesResponseModel) SetVoices

func (s *GetVoicesResponseModel) SetVoices(val []VoiceResponseModel)

SetVoices sets the value of Voices.

func (*GetVoicesResponseModel) UnmarshalJSON

func (s *GetVoicesResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetVoicesResponseModel) Validate

func (s *GetVoicesResponseModel) Validate() error

type GetVoicesV2ResponseModel

type GetVoicesV2ResponseModel struct {
	// Indicates whether there are more voices available in subsequent pages. Use this flag (and
	// next_page_token) for reliable pagination instead of relying on total_count.
	HasMore bool `json:"has_more"`
	// Token to retrieve the next page of results. Pass this value to the next request to continue
	// pagination. Null if there are no more results.
	NextPageToken OptNilString `json:"next_page_token"`
	// The total count of voices matching the query. This value is a live snapshot that reflects the
	// current state of the database and may change between requests as users create, modify, or delete
	// voices. For reliable pagination, use the has_more flag instead of relying on this value. Only
	// request this field when you actually need the total count (e.g., for display purposes), as
	// calculating it incurs a performance cost.
	TotalCount int `json:"total_count"`
	// The list of voices matching the query.
	Voices []VoiceResponseModel `json:"voices"`
}

Ref: #/components/schemas/GetVoicesV2ResponseModel

func (*GetVoicesV2ResponseModel) Decode

func (s *GetVoicesV2ResponseModel) Decode(d *jx.Decoder) error

Decode decodes GetVoicesV2ResponseModel from json.

func (*GetVoicesV2ResponseModel) Encode

func (s *GetVoicesV2ResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetVoicesV2ResponseModel) GetHasMore

func (s *GetVoicesV2ResponseModel) GetHasMore() bool

GetHasMore returns the value of HasMore.

func (*GetVoicesV2ResponseModel) GetNextPageToken

func (s *GetVoicesV2ResponseModel) GetNextPageToken() OptNilString

GetNextPageToken returns the value of NextPageToken.

func (*GetVoicesV2ResponseModel) GetTotalCount

func (s *GetVoicesV2ResponseModel) GetTotalCount() int

GetTotalCount returns the value of TotalCount.

func (*GetVoicesV2ResponseModel) GetVoices

GetVoices returns the value of Voices.

func (*GetVoicesV2ResponseModel) MarshalJSON

func (s *GetVoicesV2ResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetVoicesV2ResponseModel) SetHasMore

func (s *GetVoicesV2ResponseModel) SetHasMore(val bool)

SetHasMore sets the value of HasMore.

func (*GetVoicesV2ResponseModel) SetNextPageToken

func (s *GetVoicesV2ResponseModel) SetNextPageToken(val OptNilString)

SetNextPageToken sets the value of NextPageToken.

func (*GetVoicesV2ResponseModel) SetTotalCount

func (s *GetVoicesV2ResponseModel) SetTotalCount(val int)

SetTotalCount sets the value of TotalCount.

func (*GetVoicesV2ResponseModel) SetVoices

func (s *GetVoicesV2ResponseModel) SetVoices(val []VoiceResponseModel)

SetVoices sets the value of Voices.

func (*GetVoicesV2ResponseModel) UnmarshalJSON

func (s *GetVoicesV2ResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetVoicesV2ResponseModel) Validate

func (s *GetVoicesV2ResponseModel) Validate() error

type GetWhatsAppAccountResponse

type GetWhatsAppAccountResponse struct {
	AssignedAgentID     OptNilString `json:"assigned_agent_id"`
	AssignedAgentName   NilString    `json:"assigned_agent_name"`
	BusinessAccountID   string       `json:"business_account_id"`
	BusinessAccountName string       `json:"business_account_name"`
	PhoneNumber         string       `json:"phone_number"`
	PhoneNumberID       string       `json:"phone_number_id"`
	PhoneNumberName     string       `json:"phone_number_name"`
}

Ref: #/components/schemas/GetWhatsAppAccountResponse

func (*GetWhatsAppAccountResponse) Decode

Decode decodes GetWhatsAppAccountResponse from json.

func (*GetWhatsAppAccountResponse) Encode

func (s *GetWhatsAppAccountResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetWhatsAppAccountResponse) GetAssignedAgentID

func (s *GetWhatsAppAccountResponse) GetAssignedAgentID() OptNilString

GetAssignedAgentID returns the value of AssignedAgentID.

func (*GetWhatsAppAccountResponse) GetAssignedAgentName

func (s *GetWhatsAppAccountResponse) GetAssignedAgentName() NilString

GetAssignedAgentName returns the value of AssignedAgentName.

func (*GetWhatsAppAccountResponse) GetBusinessAccountID

func (s *GetWhatsAppAccountResponse) GetBusinessAccountID() string

GetBusinessAccountID returns the value of BusinessAccountID.

func (*GetWhatsAppAccountResponse) GetBusinessAccountName

func (s *GetWhatsAppAccountResponse) GetBusinessAccountName() string

GetBusinessAccountName returns the value of BusinessAccountName.

func (*GetWhatsAppAccountResponse) GetPhoneNumber

func (s *GetWhatsAppAccountResponse) GetPhoneNumber() string

GetPhoneNumber returns the value of PhoneNumber.

func (*GetWhatsAppAccountResponse) GetPhoneNumberID

func (s *GetWhatsAppAccountResponse) GetPhoneNumberID() string

GetPhoneNumberID returns the value of PhoneNumberID.

func (*GetWhatsAppAccountResponse) GetPhoneNumberName

func (s *GetWhatsAppAccountResponse) GetPhoneNumberName() string

GetPhoneNumberName returns the value of PhoneNumberName.

func (*GetWhatsAppAccountResponse) MarshalJSON

func (s *GetWhatsAppAccountResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetWhatsAppAccountResponse) SetAssignedAgentID

func (s *GetWhatsAppAccountResponse) SetAssignedAgentID(val OptNilString)

SetAssignedAgentID sets the value of AssignedAgentID.

func (*GetWhatsAppAccountResponse) SetAssignedAgentName

func (s *GetWhatsAppAccountResponse) SetAssignedAgentName(val NilString)

SetAssignedAgentName sets the value of AssignedAgentName.

func (*GetWhatsAppAccountResponse) SetBusinessAccountID

func (s *GetWhatsAppAccountResponse) SetBusinessAccountID(val string)

SetBusinessAccountID sets the value of BusinessAccountID.

func (*GetWhatsAppAccountResponse) SetBusinessAccountName

func (s *GetWhatsAppAccountResponse) SetBusinessAccountName(val string)

SetBusinessAccountName sets the value of BusinessAccountName.

func (*GetWhatsAppAccountResponse) SetPhoneNumber

func (s *GetWhatsAppAccountResponse) SetPhoneNumber(val string)

SetPhoneNumber sets the value of PhoneNumber.

func (*GetWhatsAppAccountResponse) SetPhoneNumberID

func (s *GetWhatsAppAccountResponse) SetPhoneNumberID(val string)

SetPhoneNumberID sets the value of PhoneNumberID.

func (*GetWhatsAppAccountResponse) SetPhoneNumberName

func (s *GetWhatsAppAccountResponse) SetPhoneNumberName(val string)

SetPhoneNumberName sets the value of PhoneNumberName.

func (*GetWhatsAppAccountResponse) UnmarshalJSON

func (s *GetWhatsAppAccountResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetWhatsappAccountParams

type GetWhatsappAccountParams struct {
	PhoneNumberID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetWhatsappAccountParams is parameters of get_whatsapp_account operation.

type GetWhatsappAccountRes

type GetWhatsappAccountRes interface {
	// contains filtered or unexported methods
}

type GetWorkspaceBatchCallsParams

type GetWorkspaceBatchCallsParams struct {
	Limit   OptInt       `json:",omitempty,omitzero"`
	LastDoc OptNilString `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetWorkspaceBatchCallsParams is parameters of get_workspace_batch_calls operation.

type GetWorkspaceBatchCallsRes

type GetWorkspaceBatchCallsRes interface {
	// contains filtered or unexported methods
}

type GetWorkspaceSecretsResponseModel

type GetWorkspaceSecretsResponseModel struct {
	Secrets []ConvAIWorkspaceStoredSecretConfig `json:"secrets"`
}

Ref: #/components/schemas/GetWorkspaceSecretsResponseModel

func (*GetWorkspaceSecretsResponseModel) Decode

Decode decodes GetWorkspaceSecretsResponseModel from json.

func (*GetWorkspaceSecretsResponseModel) Encode

Encode implements json.Marshaler.

func (*GetWorkspaceSecretsResponseModel) GetSecrets

GetSecrets returns the value of Secrets.

func (*GetWorkspaceSecretsResponseModel) MarshalJSON

func (s *GetWorkspaceSecretsResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetWorkspaceSecretsResponseModel) SetSecrets

SetSecrets sets the value of Secrets.

func (*GetWorkspaceSecretsResponseModel) UnmarshalJSON

func (s *GetWorkspaceSecretsResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetWorkspaceSecretsResponseModel) Validate

type GetWorkspaceServiceAccountsParams

type GetWorkspaceServiceAccountsParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetWorkspaceServiceAccountsParams is parameters of get_workspace_service_accounts operation.

type GetWorkspaceServiceAccountsRes

type GetWorkspaceServiceAccountsRes interface {
	// contains filtered or unexported methods
}

type GetWorkspaceWebhooksRouteParams

type GetWorkspaceWebhooksRouteParams struct {
	// Whether to include active usages of the webhook, only usable by admins.
	IncludeUsages OptBool `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

GetWorkspaceWebhooksRouteParams is parameters of get_workspace_webhooks_route operation.

type GetWorkspaceWebhooksRouteRes

type GetWorkspaceWebhooksRouteRes interface {
	// contains filtered or unexported methods
}

type HTTPValidationError

type HTTPValidationError struct {
	Detail []ValidationError `json:"detail"`
}

Ref: #/components/schemas/HTTPValidationError

func (*HTTPValidationError) Decode

func (s *HTTPValidationError) Decode(d *jx.Decoder) error

Decode decodes HTTPValidationError from json.

func (*HTTPValidationError) Encode

func (s *HTTPValidationError) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*HTTPValidationError) GetDetail

func (s *HTTPValidationError) GetDetail() []ValidationError

GetDetail returns the value of Detail.

func (*HTTPValidationError) MarshalJSON

func (s *HTTPValidationError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*HTTPValidationError) SetDetail

func (s *HTTPValidationError) SetDetail(val []ValidationError)

SetDetail sets the value of Detail.

func (*HTTPValidationError) UnmarshalJSON

func (s *HTTPValidationError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HTTPValidationError) Validate

func (s *HTTPValidationError) Validate() error

type HandleSipTrunkOutboundCallParams

type HandleSipTrunkOutboundCallParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

HandleSipTrunkOutboundCallParams is parameters of handle_sip_trunk_outbound_call operation.

type HandleSipTrunkOutboundCallRes

type HandleSipTrunkOutboundCallRes interface {
	// contains filtered or unexported methods
}

type HandleTwilioOutboundCallParams

type HandleTwilioOutboundCallParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

HandleTwilioOutboundCallParams is parameters of handle_twilio_outbound_call operation.

type HandleTwilioOutboundCallRes

type HandleTwilioOutboundCallRes interface {
	// contains filtered or unexported methods
}

type Handler

type Handler interface {
	// AddDocumentationToKnowledgeBase implements add_documentation_to_knowledge_base operation.
	//
	// Uploads a file or reference a webpage to use as part of the shared knowledge base.
	//
	// Deprecated: schema marks this operation as deprecated.
	//
	// POST /v1/convai/knowledge-base
	AddDocumentationToKnowledgeBase(ctx context.Context, req OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart, params AddDocumentationToKnowledgeBaseParams) (AddDocumentationToKnowledgeBaseRes, error)
	// AddFromFile implements add_from_file operation.
	//
	// Creates a new pronunciation dictionary from a lexicon .PLS file.
	//
	// POST /v1/pronunciation-dictionaries/add-from-file
	AddFromFile(ctx context.Context, req *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart, params AddFromFileParams) (AddFromFileRes, error)
	// AddLanguage implements add_language operation.
	//
	// Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not automatically
	// generate transcripts/translations/audio.
	//
	// POST /v1/dubbing/resource/{dubbing_id}/language
	AddLanguage(ctx context.Context, req *BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost, params AddLanguageParams) (AddLanguageRes, error)
	// AddMember implements add_member operation.
	//
	// Adds a member of your workspace to the specified group. This endpoint may only be called by
	// workspace administrators.
	//
	// POST /v1/workspace/groups/{group_id}/members
	AddMember(ctx context.Context, req *BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost, params AddMemberParams) (AddMemberRes, error)
	// AddProject implements add_project operation.
	//
	// Creates a new Studio project, it can be either initialized as blank, from a document or from a URL.
	//
	// POST /v1/studio/projects
	AddProject(ctx context.Context, req *BodyCreateStudioProjectV1StudioProjectsPostMultipart, params AddProjectParams) (AddProjectRes, error)
	// AddPvcVoiceSamples implements add_pvc_voice_samples operation.
	//
	// Add audio samples to a PVC voice.
	//
	// POST /v1/voices/pvc/{voice_id}/samples
	AddPvcVoiceSamples(ctx context.Context, req *BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart, params AddPvcVoiceSamplesParams) (AddPvcVoiceSamplesRes, error)
	// AddSharingVoice implements add_sharing_voice operation.
	//
	// Add a shared voice to your collection of voices.
	//
	// POST /v1/voices/add/{public_user_id}/{voice_id}
	AddSharingVoice(ctx context.Context, req *BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost, params AddSharingVoiceParams) (AddSharingVoiceRes, error)
	// AddVoice implements add_voice operation.
	//
	// Add a new voice to your collection of voices in VoiceLab.
	//
	// POST /v1/voices/add
	AddVoice(ctx context.Context, req *BodyAddVoiceV1VoicesAddPostMultipart, params AddVoiceParams) (AddVoiceRes, error)
	// AudioIsolation implements audio_isolation operation.
	//
	// Removes background noise from audio.
	//
	// POST /v1/audio-isolation
	AudioIsolation(ctx context.Context, req *BodyAudioIsolationV1AudioIsolationPostMultipart, params AudioIsolationParams) (AudioIsolationRes, error)
	// AudioIsolationStream implements audio_isolation_stream operation.
	//
	// Removes background noise from audio and streams the result.
	//
	// POST /v1/audio-isolation/stream
	AudioIsolationStream(ctx context.Context, req *BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart, params AudioIsolationStreamParams) (AudioIsolationStreamRes, error)
	// AudioNativeProjectUpdateContentEndpoint implements audio_native_project_update_content_endpoint operation.
	//
	// Updates content for the specific AudioNative Project.
	//
	// POST /v1/audio-native/{project_id}/content
	AudioNativeProjectUpdateContentEndpoint(ctx context.Context, req OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart, params AudioNativeProjectUpdateContentEndpointParams) (AudioNativeProjectUpdateContentEndpointRes, error)
	// CancelBatchCall implements cancel_batch_call operation.
	//
	// Cancel a running batch call and set all recipients to cancelled status.
	//
	// POST /v1/convai/batch-calling/{batch_id}/cancel
	CancelBatchCall(ctx context.Context, params CancelBatchCallParams) (CancelBatchCallRes, error)
	// ComposeDetailed implements compose_detailed operation.
	//
	// Compose a song from a prompt or a composition plan.
	//
	// POST /v1/music/detailed
	ComposeDetailed(ctx context.Context, req OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost, params ComposeDetailedParams) (ComposeDetailedRes, error)
	// ComposePlan implements compose_plan operation.
	//
	// Generate a composition plan from a prompt.
	//
	// POST /v1/music/plan
	ComposePlan(ctx context.Context, req *BodyGenerateCompositionPlanV1MusicPlanPost, params ComposePlanParams) (ComposePlanRes, error)
	// ConvertChapterEndpoint implements convert_chapter_endpoint operation.
	//
	// Starts conversion of a specific chapter.
	//
	// POST /v1/studio/projects/{project_id}/chapters/{chapter_id}/convert
	ConvertChapterEndpoint(ctx context.Context, params ConvertChapterEndpointParams) (ConvertChapterEndpointRes, error)
	// ConvertProjectEndpoint implements convert_project_endpoint operation.
	//
	// Starts conversion of a Studio project and all of its chapters.
	//
	// POST /v1/studio/projects/{project_id}/convert
	ConvertProjectEndpoint(ctx context.Context, params ConvertProjectEndpointParams) (ConvertProjectEndpointRes, error)
	// CreateAgentResponseTestRoute implements create_agent_response_test_route operation.
	//
	// Creates a new agent response test.
	//
	// POST /v1/convai/agent-testing/create
	CreateAgentResponseTestRoute(ctx context.Context, req *CreateUnitTestRequest, params CreateAgentResponseTestRouteParams) (CreateAgentResponseTestRouteRes, error)
	// CreateAudioNativeProject implements create_audio_native_project operation.
	//
	// Creates Audio Native enabled project, optionally starts conversion and returns project ID and
	// embeddable HTML snippet.
	//
	// POST /v1/audio-native
	CreateAudioNativeProject(ctx context.Context, req *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart, params CreateAudioNativeProjectParams) (CreateAudioNativeProjectRes, error)
	// CreateBatchCall implements create_batch_call operation.
	//
	// Submit a batch call request to schedule calls for multiple recipients.
	//
	// POST /v1/convai/batch-calling/submit
	CreateBatchCall(ctx context.Context, req *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost, params CreateBatchCallParams) (CreateBatchCallRes, error)
	// CreateClip implements create_clip operation.
	//
	// Creates a new segment in dubbing resource with a start and end time for the speaker in every
	// available language. Does not automatically generate transcripts/translations/audio.
	//
	// POST /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}/segment
	CreateClip(ctx context.Context, req *SegmentCreatePayload, params CreateClipParams) (CreateClipRes, error)
	// CreateDubbing implements create_dubbing operation.
	//
	// Dubs a provided audio or video file into given language.
	//
	// POST /v1/dubbing
	CreateDubbing(ctx context.Context, req OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart, params CreateDubbingParams) (CreateDubbingRes, error)
	// CreateFileDocumentRoute implements create_file_document_route operation.
	//
	// Create a knowledge base document generated form the uploaded file.
	//
	// POST /v1/convai/knowledge-base/file
	CreateFileDocumentRoute(ctx context.Context, req *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart, params CreateFileDocumentRouteParams) (CreateFileDocumentRouteRes, error)
	// CreatePvcVoice implements create_pvc_voice operation.
	//
	// Creates a new PVC voice with metadata but no samples.
	//
	// POST /v1/voices/pvc
	CreatePvcVoice(ctx context.Context, req *BodyCreatePVCVoiceV1VoicesPvcPost, params CreatePvcVoiceParams) (CreatePvcVoiceRes, error)
	// CreateSecretRoute implements create_secret_route operation.
	//
	// Create a new secret for the workspace.
	//
	// POST /v1/convai/secrets
	CreateSecretRoute(ctx context.Context, req *PostWorkspaceSecretRequest, params CreateSecretRouteParams) (CreateSecretRouteRes, error)
	// CreateServiceAccountAPIKey implements create_service_account_api_key operation.
	//
	// Create a new API key for a service account.
	//
	// POST /v1/service-accounts/{service_account_user_id}/api-keys
	CreateServiceAccountAPIKey(ctx context.Context, req *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost, params CreateServiceAccountAPIKeyParams) (CreateServiceAccountAPIKeyRes, error)
	// CreateSpeaker implements create_speaker operation.
	//
	// Create A New Speaker.
	//
	// POST /v1/dubbing/resource/{dubbing_id}/speaker
	CreateSpeaker(ctx context.Context, req OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost, params CreateSpeakerParams) (CreateSpeakerRes, error)
	// CreateTextDocumentRoute implements create_text_document_route operation.
	//
	// Create a knowledge base document containing the provided text.
	//
	// POST /v1/convai/knowledge-base/text
	CreateTextDocumentRoute(ctx context.Context, req *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost, params CreateTextDocumentRouteParams) (CreateTextDocumentRouteRes, error)
	// CreateURLDocumentRoute implements create_url_document_route operation.
	//
	// Create a knowledge base document generated by scraping the given webpage.
	//
	// POST /v1/convai/knowledge-base/url
	CreateURLDocumentRoute(ctx context.Context, req *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost, params CreateURLDocumentRouteParams) (CreateURLDocumentRouteRes, error)
	// CreateVoice implements create_voice operation.
	//
	// Create a voice from previously generated voice preview. This endpoint should be called after you
	// fetched a generated_voice_id using POST /v1/text-to-voice/design or POST
	// /v1/text-to-voice/:voice_id/remix.
	//
	// POST /v1/text-to-voice
	CreateVoice(ctx context.Context, req *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost, params CreateVoiceParams) (CreateVoiceRes, error)
	// CreateVoiceOld implements create_voice_old operation.
	//
	// Create a previously generated voice. This endpoint should be called after you fetched a
	// generated_voice_id using /v1/voice-generation/generate-voice.
	//
	// POST /v1/voice-generation/create-voice
	CreateVoiceOld(ctx context.Context, req *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost, params CreateVoiceOldParams) (CreateVoiceOldRes, error)
	// CreateWorkspaceWebhookRoute implements create_workspace_webhook_route operation.
	//
	// Create a new webhook for the workspace with the specified authentication type.
	//
	// POST /v1/workspace/webhooks
	CreateWorkspaceWebhookRoute(ctx context.Context, req *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost, params CreateWorkspaceWebhookRouteParams) (CreateWorkspaceWebhookRouteRes, error)
	// DeleteAgentRoute implements delete_agent_route operation.
	//
	// Delete an agent.
	//
	// DELETE /v1/convai/agents/{agent_id}
	DeleteAgentRoute(ctx context.Context, params DeleteAgentRouteParams) (DeleteAgentRouteRes, error)
	// DeleteChapterEndpoint implements delete_chapter_endpoint operation.
	//
	// Deletes a chapter.
	//
	// DELETE /v1/studio/projects/{project_id}/chapters/{chapter_id}
	DeleteChapterEndpoint(ctx context.Context, params DeleteChapterEndpointParams) (DeleteChapterEndpointRes, error)
	// DeleteChatResponseTestRoute implements delete_chat_response_test_route operation.
	//
	// Deletes an agent response test by ID.
	//
	// DELETE /v1/convai/agent-testing/{test_id}
	DeleteChatResponseTestRoute(ctx context.Context, params DeleteChatResponseTestRouteParams) (DeleteChatResponseTestRouteRes, error)
	// DeleteConversationRoute implements delete_conversation_route operation.
	//
	// Delete a particular conversation.
	//
	// DELETE /v1/convai/conversations/{conversation_id}
	DeleteConversationRoute(ctx context.Context, params DeleteConversationRouteParams) (DeleteConversationRouteRes, error)
	// DeleteDubbing implements delete_dubbing operation.
	//
	// Deletes a dubbing project.
	//
	// DELETE /v1/dubbing/{dubbing_id}
	DeleteDubbing(ctx context.Context, params DeleteDubbingParams) (DeleteDubbingRes, error)
	// DeleteInvite implements delete_invite operation.
	//
	// Invalidates an existing email invitation. The invitation will still show up in the inbox it has
	// been delivered to, but activating it to join the workspace won't work. This endpoint may only be
	// called by workspace administrators.
	//
	// DELETE /v1/workspace/invites
	DeleteInvite(ctx context.Context, req *BodyDeleteExistingInvitationV1WorkspaceInvitesDelete, params DeleteInviteParams) (DeleteInviteRes, error)
	// DeleteKnowledgeBaseDocument implements delete_knowledge_base_document operation.
	//
	// Delete a document from the knowledge base.
	//
	// DELETE /v1/convai/knowledge-base/{documentation_id}
	DeleteKnowledgeBaseDocument(ctx context.Context, params DeleteKnowledgeBaseDocumentParams) (DeleteKnowledgeBaseDocumentRes, error)
	// DeleteMcpServerRoute implements delete_mcp_server_route operation.
	//
	// Delete a specific MCP server configuration from the workspace.
	//
	// DELETE /v1/convai/mcp-servers/{mcp_server_id}
	DeleteMcpServerRoute(ctx context.Context, params DeleteMcpServerRouteParams) (DeleteMcpServerRouteRes, error)
	// DeletePhoneNumberRoute implements delete_phone_number_route operation.
	//
	// Delete Phone Number by ID.
	//
	// DELETE /v1/convai/phone-numbers/{phone_number_id}
	DeletePhoneNumberRoute(ctx context.Context, params DeletePhoneNumberRouteParams) (DeletePhoneNumberRouteRes, error)
	// DeleteProject implements delete_project operation.
	//
	// Deletes a Studio project.
	//
	// DELETE /v1/studio/projects/{project_id}
	DeleteProject(ctx context.Context, params DeleteProjectParams) (DeleteProjectRes, error)
	// DeletePvcVoiceSample implements delete_pvc_voice_sample operation.
	//
	// Delete a sample from a PVC voice.
	//
	// DELETE /v1/voices/pvc/{voice_id}/samples/{sample_id}
	DeletePvcVoiceSample(ctx context.Context, params DeletePvcVoiceSampleParams) (DeletePvcVoiceSampleRes, error)
	// DeleteRagIndex implements delete_rag_index operation.
	//
	// Delete RAG index for the knowledgebase document.
	//
	// DELETE /v1/convai/knowledge-base/{documentation_id}/rag-index/{rag_index_id}
	DeleteRagIndex(ctx context.Context, params DeleteRagIndexParams) (DeleteRagIndexRes, error)
	// DeleteSample implements delete_sample operation.
	//
	// Removes a sample by its ID.
	//
	// DELETE /v1/voices/{voice_id}/samples/{sample_id}
	DeleteSample(ctx context.Context, params DeleteSampleParams) (DeleteSampleRes, error)
	// DeleteSecretRoute implements delete_secret_route operation.
	//
	// Delete a workspace secret if it's not in use.
	//
	// DELETE /v1/convai/secrets/{secret_id}
	DeleteSecretRoute(ctx context.Context, params DeleteSecretRouteParams) (DeleteSecretRouteRes, error)
	// DeleteSegment implements delete_segment operation.
	//
	// Deletes a single segment from the dubbing.
	//
	// DELETE /v1/dubbing/resource/{dubbing_id}/segment/{segment_id}
	DeleteSegment(ctx context.Context, params DeleteSegmentParams) (DeleteSegmentRes, error)
	// DeleteServiceAccountAPIKey implements delete_service_account_api_key operation.
	//
	// Delete an existing API key for a service account.
	//
	// DELETE /v1/service-accounts/{service_account_user_id}/api-keys/{api_key_id}
	DeleteServiceAccountAPIKey(ctx context.Context, params DeleteServiceAccountAPIKeyParams) (DeleteServiceAccountAPIKeyRes, error)
	// DeleteSpeechHistoryItem implements delete_speech_history_item operation.
	//
	// Delete a history item by its ID.
	//
	// DELETE /v1/history/{history_item_id}
	DeleteSpeechHistoryItem(ctx context.Context, params DeleteSpeechHistoryItemParams) (DeleteSpeechHistoryItemRes, error)
	// DeleteToolRoute implements delete_tool_route operation.
	//
	// Delete tool from the workspace.
	//
	// DELETE /v1/convai/tools/{tool_id}
	DeleteToolRoute(ctx context.Context, params DeleteToolRouteParams) (DeleteToolRouteRes, error)
	// DeleteTranscriptByID implements delete_transcript_by_id operation.
	//
	// Delete a previously generated transcript by its ID.
	//
	// DELETE /v1/speech-to-text/transcripts/{transcription_id}
	DeleteTranscriptByID(ctx context.Context, params DeleteTranscriptByIDParams) (DeleteTranscriptByIDRes, error)
	// DeleteVoice implements delete_voice operation.
	//
	// Deletes a voice by its ID.
	//
	// DELETE /v1/voices/{voice_id}
	DeleteVoice(ctx context.Context, params DeleteVoiceParams) (DeleteVoiceRes, error)
	// DeleteWhatsappAccount implements delete_whatsapp_account operation.
	//
	// Delete a WhatsApp account.
	//
	// DELETE /v1/convai/whatsapp-accounts/{phone_number_id}
	DeleteWhatsappAccount(ctx context.Context, params DeleteWhatsappAccountParams) (DeleteWhatsappAccountRes, error)
	// DeleteWorkspaceWebhookRoute implements delete_workspace_webhook_route operation.
	//
	// Delete the specified workspace webhook.
	//
	// DELETE /v1/workspace/webhooks/{webhook_id}
	DeleteWorkspaceWebhookRoute(ctx context.Context, params DeleteWorkspaceWebhookRouteParams) (DeleteWorkspaceWebhookRouteRes, error)
	// DownloadSpeechHistoryItems implements download_speech_history_items operation.
	//
	// Download one or more history items. If one history item ID is provided, we will return a single
	// audio file. If more than one history item IDs are provided, we will provide the history items
	// packed into a .zip file.
	//
	// POST /v1/history/download
	DownloadSpeechHistoryItems(ctx context.Context, req *BodyDownloadHistoryItemsV1HistoryDownloadPost, params DownloadSpeechHistoryItemsParams) (DownloadSpeechHistoryItemsRes, error)
	// Dub implements dub operation.
	//
	// Regenerate the dubs for either the entire resource or the specified segments/languages. Will
	// automatically transcribe and translate any missing transcriptions and translations.
	//
	// POST /v1/dubbing/resource/{dubbing_id}/dub
	Dub(ctx context.Context, req *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost, params DubParams) (DubRes, error)
	// DuplicateAgentRoute implements duplicate_agent_route operation.
	//
	// Create a new agent by duplicating an existing one.
	//
	// POST /v1/convai/agents/{agent_id}/duplicate
	DuplicateAgentRoute(ctx context.Context, req OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost, params DuplicateAgentRouteParams) (DuplicateAgentRouteRes, error)
	// EditProject implements edit_project operation.
	//
	// Updates the specified Studio project by setting the values of the parameters passed.
	//
	// POST /v1/studio/projects/{project_id}
	EditProject(ctx context.Context, req *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost, params EditProjectParams) (EditProjectRes, error)
	// EditProjectContent implements edit_project_content operation.
	//
	// Updates Studio project content.
	//
	// POST /v1/studio/projects/{project_id}/content
	EditProjectContent(ctx context.Context, req OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart, params EditProjectContentParams) (EditProjectContentRes, error)
	// EditPvcVoice implements edit_pvc_voice operation.
	//
	// Edit PVC voice metadata.
	//
	// POST /v1/voices/pvc/{voice_id}
	EditPvcVoice(ctx context.Context, req OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost, params EditPvcVoiceParams) (EditPvcVoiceRes, error)
	// EditPvcVoiceSample implements edit_pvc_voice_sample operation.
	//
	// Update a PVC voice sample - apply noise removal, select speaker, change trim times or file name.
	//
	// POST /v1/voices/pvc/{voice_id}/samples/{sample_id}
	EditPvcVoiceSample(ctx context.Context, req OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost, params EditPvcVoiceSampleParams) (EditPvcVoiceSampleRes, error)
	// EditServiceAccountAPIKey implements edit_service_account_api_key operation.
	//
	// Update an existing API key for a service account.
	//
	// PATCH /v1/service-accounts/{service_account_user_id}/api-keys/{api_key_id}
	EditServiceAccountAPIKey(ctx context.Context, req *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch, params EditServiceAccountAPIKeyParams) (EditServiceAccountAPIKeyRes, error)
	// EditVoice implements edit_voice operation.
	//
	// Edit a voice created by you.
	//
	// POST /v1/voices/{voice_id}/edit
	EditVoice(ctx context.Context, req *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart, params EditVoiceParams) (EditVoiceRes, error)
	// EditVoiceSettings implements edit_voice_settings operation.
	//
	// Edit your settings for a specific voice. "similarity_boost" corresponds to "Clarity + Similarity
	// Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app.
	//
	// POST /v1/voices/{voice_id}/settings/edit
	EditVoiceSettings(ctx context.Context, req *VoiceSettingsResponseModel, params EditVoiceSettingsParams) (EditVoiceSettingsRes, error)
	// EditWorkspaceWebhookRoute implements edit_workspace_webhook_route operation.
	//
	// Update the specified workspace webhook.
	//
	// PATCH /v1/workspace/webhooks/{webhook_id}
	EditWorkspaceWebhookRoute(ctx context.Context, req *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch, params EditWorkspaceWebhookRouteParams) (EditWorkspaceWebhookRouteRes, error)
	// ForcedAlignment implements forced_alignment operation.
	//
	// Force align an audio file to text. Use this endpoint to get the timing information for each
	// character and word in an audio file based on a provided text transcript.
	//
	// POST /v1/forced-alignment
	ForcedAlignment(ctx context.Context, req *BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart, params ForcedAlignmentParams) (ForcedAlignmentRes, error)
	// Generate implements generate operation.
	//
	// Compose a song from a prompt or a composition plan.
	//
	// POST /v1/music
	Generate(ctx context.Context, req OptBodyComposeMusicV1MusicPost, params GenerateParams) (GenerateRes, error)
	// GenerateRandomVoice implements generate_random_voice operation.
	//
	// Generate a random voice based on parameters. This method returns a generated_voice_id in the
	// response header, and a sample of the voice in the body. If you like the generated voice call
	// /v1/voice-generation/create-voice with the generated_voice_id to create the voice.
	//
	// POST /v1/voice-generation/generate-voice
	GenerateRandomVoice(ctx context.Context, req *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost, params GenerateRandomVoiceParams) (GenerateRandomVoiceRes, error)
	// GetAgentKnowledgeBaseSize implements get_agent_knowledge_base_size operation.
	//
	// Returns the number of pages in the agent's knowledge base.
	//
	// GET /v1/convai/agent/{agent_id}/knowledge-base/size
	GetAgentKnowledgeBaseSize(ctx context.Context, params GetAgentKnowledgeBaseSizeParams) (GetAgentKnowledgeBaseSizeRes, error)
	// GetAgentKnowledgeBaseSummariesRoute implements get_agent_knowledge_base_summaries_route operation.
	//
	// Gets multiple knowledge base document summaries by their IDs.
	//
	// GET /v1/convai/knowledge-base/summaries
	GetAgentKnowledgeBaseSummariesRoute(ctx context.Context, params GetAgentKnowledgeBaseSummariesRouteParams) (GetAgentKnowledgeBaseSummariesRouteRes, error)
	// GetAgentLinkRoute implements get_agent_link_route operation.
	//
	// Get the current link used to share the agent with others.
	//
	// GET /v1/convai/agents/{agent_id}/link
	GetAgentLinkRoute(ctx context.Context, params GetAgentLinkRouteParams) (GetAgentLinkRouteRes, error)
	// GetAgentLlmExpectedCostCalculation implements get_agent_llm_expected_cost_calculation operation.
	//
	// Calculates expected number of LLM tokens needed for the specified agent.
	//
	// POST /v1/convai/agent/{agent_id}/llm-usage/calculate
	GetAgentLlmExpectedCostCalculation(ctx context.Context, req *LLMUsageCalculatorRequestModel, params GetAgentLlmExpectedCostCalculationParams) (GetAgentLlmExpectedCostCalculationRes, error)
	// GetAgentResponseTestRoute implements get_agent_response_test_route operation.
	//
	// Gets an agent response test by ID.
	//
	// GET /v1/convai/agent-testing/{test_id}
	GetAgentResponseTestRoute(ctx context.Context, params GetAgentResponseTestRouteParams) (GetAgentResponseTestRouteRes, error)
	// GetAgentResponseTestsSummariesRoute implements get_agent_response_tests_summaries_route operation.
	//
	// Gets multiple agent response tests by their IDs. Returns a dictionary mapping test IDs to test
	// summaries.
	//
	// POST /v1/convai/agent-testing/summaries
	GetAgentResponseTestsSummariesRoute(ctx context.Context, req *ListTestsByIdsRequestModel, params GetAgentResponseTestsSummariesRouteParams) (GetAgentResponseTestsSummariesRouteRes, error)
	// GetAgentsRoute implements get_agents_route operation.
	//
	// Returns a list of your agents and their metadata.
	//
	// GET /v1/convai/agents
	GetAgentsRoute(ctx context.Context, params GetAgentsRouteParams) (GetAgentsRouteRes, error)
	// GetAudioFromSample implements get_audio_from_sample operation.
	//
	// Returns the audio corresponding to a sample attached to a voice.
	//
	// GET /v1/voices/{voice_id}/samples/{sample_id}/audio
	GetAudioFromSample(ctx context.Context, params GetAudioFromSampleParams) (GetAudioFromSampleRes, error)
	// GetAudioFullFromSpeechHistoryItem implements get_audio_full_from_speech_history_item operation.
	//
	// Returns the audio of an history item.
	//
	// GET /v1/history/{history_item_id}/audio
	GetAudioFullFromSpeechHistoryItem(ctx context.Context, params GetAudioFullFromSpeechHistoryItemParams) (GetAudioFullFromSpeechHistoryItemRes, error)
	// GetAudioNativeProjectSettingsEndpoint implements get_audio_native_project_settings_endpoint operation.
	//
	// Get player settings for the specific project.
	//
	// GET /v1/audio-native/{project_id}/settings
	GetAudioNativeProjectSettingsEndpoint(ctx context.Context, params GetAudioNativeProjectSettingsEndpointParams) (GetAudioNativeProjectSettingsEndpointRes, error)
	// GetBatchCall implements get_batch_call operation.
	//
	// Get detailed information about a batch call including all recipients.
	//
	// GET /v1/convai/batch-calling/{batch_id}
	GetBatchCall(ctx context.Context, params GetBatchCallParams) (GetBatchCallRes, error)
	// GetChapterSnapshotEndpoint implements get_chapter_snapshot_endpoint operation.
	//
	// Returns the chapter snapshot.
	//
	// GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id}
	GetChapterSnapshotEndpoint(ctx context.Context, params GetChapterSnapshotEndpointParams) (GetChapterSnapshotEndpointRes, error)
	// GetChapterSnapshots implements get_chapter_snapshots operation.
	//
	// Gets information about all the snapshots of a chapter. Each snapshot can be downloaded as audio.
	// Whenever a chapter is converted a snapshot will automatically be created.
	//
	// GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots
	GetChapterSnapshots(ctx context.Context, params GetChapterSnapshotsParams) (GetChapterSnapshotsRes, error)
	// GetChapters implements get_chapters operation.
	//
	// Returns a list of a Studio project's chapters.
	//
	// GET /v1/studio/projects/{project_id}/chapters
	GetChapters(ctx context.Context, params GetChaptersParams) (GetChaptersRes, error)
	// GetConversationAudioRoute implements get_conversation_audio_route operation.
	//
	// Get the audio recording of a particular conversation.
	//
	// GET /v1/convai/conversations/{conversation_id}/audio
	GetConversationAudioRoute(ctx context.Context, params GetConversationAudioRouteParams) (GetConversationAudioRouteRes, error)
	// GetConversationHistoriesRoute implements get_conversation_histories_route operation.
	//
	// Get all conversations of agents that user owns. With option to restrict to a specific agent.
	//
	// GET /v1/convai/conversations
	GetConversationHistoriesRoute(ctx context.Context, params GetConversationHistoriesRouteParams) (GetConversationHistoriesRouteRes, error)
	// GetConversationHistoryRoute implements get_conversation_history_route operation.
	//
	// Get the details of a particular conversation.
	//
	// GET /v1/convai/conversations/{conversation_id}
	GetConversationHistoryRoute(ctx context.Context, params GetConversationHistoryRouteParams) (GetConversationHistoryRouteRes, error)
	// GetConversationSignedLink implements get_conversation_signed_link operation.
	//
	// Get a signed url to start a conversation with an agent with an agent that requires authorization.
	//
	// GET /v1/convai/conversation/get-signed-url
	GetConversationSignedLink(ctx context.Context, params GetConversationSignedLinkParams) (GetConversationSignedLinkRes, error)
	// GetDashboardSettingsRoute implements get_dashboard_settings_route operation.
	//
	// Retrieve Convai dashboard settings for the workspace.
	//
	// GET /v1/convai/settings/dashboard
	GetDashboardSettingsRoute(ctx context.Context, params GetDashboardSettingsRouteParams) (GetDashboardSettingsRouteRes, error)
	// GetDocumentationChunkFromKnowledgeBase implements get_documentation_chunk_from_knowledge_base operation.
	//
	// Get details about a specific documentation part used by RAG.
	//
	// GET /v1/convai/knowledge-base/{documentation_id}/chunk/{chunk_id}
	GetDocumentationChunkFromKnowledgeBase(ctx context.Context, params GetDocumentationChunkFromKnowledgeBaseParams) (GetDocumentationChunkFromKnowledgeBaseRes, error)
	// GetDocumentationFromKnowledgeBase implements get_documentation_from_knowledge_base operation.
	//
	// Get details about a specific documentation making up the agent's knowledge base.
	//
	// GET /v1/convai/knowledge-base/{documentation_id}
	GetDocumentationFromKnowledgeBase(ctx context.Context, params GetDocumentationFromKnowledgeBaseParams) (GetDocumentationFromKnowledgeBaseRes, error)
	// GetDubbedFile implements get_dubbed_file operation.
	//
	// Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you
	// need to use the resource render endpoint as this endpoint only returns the original automatic dub
	// result.
	//
	// GET /v1/dubbing/{dubbing_id}/audio/{language_code}
	GetDubbedFile(ctx context.Context, params GetDubbedFileParams) (GetDubbedFileRes, error)
	// GetDubbedMetadata implements get_dubbed_metadata operation.
	//
	// Returns metadata about a dubbing project, including whether it's still in progress or not.
	//
	// GET /v1/dubbing/{dubbing_id}
	GetDubbedMetadata(ctx context.Context, params GetDubbedMetadataParams) (GetDubbedMetadataRes, error)
	// GetDubbedTranscriptFile implements get_dubbed_transcript_file operation.
	//
	// Returns transcript for the dub as an SRT or WEBVTT file.
	//
	// GET /v1/dubbing/{dubbing_id}/transcript/{language_code}
	GetDubbedTranscriptFile(ctx context.Context, params GetDubbedTranscriptFileParams) (GetDubbedTranscriptFileRes, error)
	// GetDubbingResource implements get_dubbing_resource operation.
	//
	// Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the
	// dubbing resource.
	//
	// GET /v1/dubbing/resource/{dubbing_id}
	GetDubbingResource(ctx context.Context, params GetDubbingResourceParams) (GetDubbingResourceRes, error)
	// GetGenerateVoiceParameters implements get_generate_voice_parameters operation.
	//
	// Get possible parameters for the /v1/voice-generation/generate-voice endpoint.
	//
	// GET /v1/voice-generation/generate-voice/parameters
	GetGenerateVoiceParameters(ctx context.Context) (*VoiceGenerationParameterResponseModel, error)
	// GetKnowledgeBaseContent implements get_knowledge_base_content operation.
	//
	// Get the entire content of a document from the knowledge base.
	//
	// GET /v1/convai/knowledge-base/{documentation_id}/content
	GetKnowledgeBaseContent(ctx context.Context, params GetKnowledgeBaseContentParams) (GetKnowledgeBaseContentRes, error)
	// GetKnowledgeBaseDependentAgents implements get_knowledge_base_dependent_agents operation.
	//
	// Get a list of agents depending on this knowledge base document.
	//
	// GET /v1/convai/knowledge-base/{documentation_id}/dependent-agents
	GetKnowledgeBaseDependentAgents(ctx context.Context, params GetKnowledgeBaseDependentAgentsParams) (GetKnowledgeBaseDependentAgentsRes, error)
	// GetKnowledgeBaseListRoute implements get_knowledge_base_list_route operation.
	//
	// Get a list of available knowledge base documents.
	//
	// GET /v1/convai/knowledge-base
	GetKnowledgeBaseListRoute(ctx context.Context, params GetKnowledgeBaseListRouteParams) (GetKnowledgeBaseListRouteRes, error)
	// GetLibraryVoices implements get_library_voices operation.
	//
	// Retrieves a list of shared voices.
	//
	// GET /v1/shared-voices
	GetLibraryVoices(ctx context.Context, params GetLibraryVoicesParams) (GetLibraryVoicesRes, error)
	// GetLiveCount implements get_live_count operation.
	//
	// Get the live count of the ongoing conversations.
	//
	// GET /v1/convai/analytics/live-count
	GetLiveCount(ctx context.Context, params GetLiveCountParams) (GetLiveCountRes, error)
	// GetLivekitToken implements get_livekit_token operation.
	//
	// Get a WebRTC session token for real-time communication.
	//
	// GET /v1/convai/conversation/token
	GetLivekitToken(ctx context.Context, params GetLivekitTokenParams) (GetLivekitTokenRes, error)
	// GetMcpToolConfigOverrideRoute implements get_mcp_tool_config_override_route operation.
	//
	// Retrieve configuration overrides for a specific MCP tool.
	//
	// GET /v1/convai/mcp-servers/{mcp_server_id}/tool-configs/{tool_name}
	GetMcpToolConfigOverrideRoute(ctx context.Context, params GetMcpToolConfigOverrideRouteParams) (GetMcpToolConfigOverrideRouteRes, error)
	// GetModels implements get_models operation.
	//
	// Gets a list of available models.
	//
	// GET /v1/models
	GetModels(ctx context.Context, params GetModelsParams) (GetModelsRes, error)
	// GetOrCreateRagIndexes implements get_or_create_rag_indexes operation.
	//
	// Retrieves and/or creates RAG indexes for multiple knowledge base documents in a single request.
	//
	// POST /v1/convai/knowledge-base/rag-index
	GetOrCreateRagIndexes(ctx context.Context, req *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost, params GetOrCreateRagIndexesParams) (GetOrCreateRagIndexesRes, error)
	// GetPhoneNumberRoute implements get_phone_number_route operation.
	//
	// Retrieve Phone Number details by ID.
	//
	// GET /v1/convai/phone-numbers/{phone_number_id}
	GetPhoneNumberRoute(ctx context.Context, params GetPhoneNumberRouteParams) (GetPhoneNumberRouteRes, error)
	// GetProjectSnapshotEndpoint implements get_project_snapshot_endpoint operation.
	//
	// Returns the project snapshot.
	//
	// GET /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}
	GetProjectSnapshotEndpoint(ctx context.Context, params GetProjectSnapshotEndpointParams) (GetProjectSnapshotEndpointRes, error)
	// GetProjectSnapshots implements get_project_snapshots operation.
	//
	// Retrieves a list of snapshots for a Studio project.
	//
	// GET /v1/studio/projects/{project_id}/snapshots
	GetProjectSnapshots(ctx context.Context, params GetProjectSnapshotsParams) (GetProjectSnapshotsRes, error)
	// GetProjects implements get_projects operation.
	//
	// Returns a list of your Studio projects with metadata.
	//
	// GET /v1/studio/projects
	GetProjects(ctx context.Context, params GetProjectsParams) (GetProjectsRes, error)
	// GetPronunciationDictionariesMetadata implements get_pronunciation_dictionaries_metadata operation.
	//
	// Get a list of the pronunciation dictionaries you have access to and their metadata.
	//
	// GET /v1/pronunciation-dictionaries
	GetPronunciationDictionariesMetadata(ctx context.Context, params GetPronunciationDictionariesMetadataParams) (GetPronunciationDictionariesMetadataRes, error)
	// GetPronunciationDictionaryMetadata implements get_pronunciation_dictionary_metadata operation.
	//
	// Get metadata for a pronunciation dictionary.
	//
	// GET /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}
	GetPronunciationDictionaryMetadata(ctx context.Context, params GetPronunciationDictionaryMetadataParams) (GetPronunciationDictionaryMetadataRes, error)
	// GetPronunciationDictionaryVersionPls implements get_pronunciation_dictionary_version_pls operation.
	//
	// Get a PLS file with a pronunciation dictionary version rules.
	//
	// GET /v1/pronunciation-dictionaries/{dictionary_id}/{version_id}/download
	GetPronunciationDictionaryVersionPls(ctx context.Context, params GetPronunciationDictionaryVersionPlsParams) (GetPronunciationDictionaryVersionPlsRes, error)
	// GetPublicLlmExpectedCostCalculation implements get_public_llm_expected_cost_calculation operation.
	//
	// Returns a list of LLM models and the expected cost for using them based on the provided values.
	//
	// POST /v1/convai/llm-usage/calculate
	GetPublicLlmExpectedCostCalculation(ctx context.Context, req *LLMUsageCalculatorPublicRequestModel) (GetPublicLlmExpectedCostCalculationRes, error)
	// GetPvcSampleAudio implements get_pvc_sample_audio operation.
	//
	// Retrieve the first 30 seconds of voice sample audio with or without noise removal.
	//
	// GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/audio
	GetPvcSampleAudio(ctx context.Context, params GetPvcSampleAudioParams) (GetPvcSampleAudioRes, error)
	// GetPvcSampleSpeakers implements get_pvc_sample_speakers operation.
	//
	// Retrieve the status of the speaker separation process and the list of detected speakers if
	// complete.
	//
	// GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/speakers
	GetPvcSampleSpeakers(ctx context.Context, params GetPvcSampleSpeakersParams) (GetPvcSampleSpeakersRes, error)
	// GetPvcSampleVisualWaveform implements get_pvc_sample_visual_waveform operation.
	//
	// Retrieve the visual waveform of a voice sample.
	//
	// GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/waveform
	GetPvcSampleVisualWaveform(ctx context.Context, params GetPvcSampleVisualWaveformParams) (GetPvcSampleVisualWaveformRes, error)
	// GetPvcVoiceCaptcha implements get_pvc_voice_captcha operation.
	//
	// Get captcha for PVC voice verification.
	//
	// GET /v1/voices/pvc/{voice_id}/captcha
	GetPvcVoiceCaptcha(ctx context.Context, params GetPvcVoiceCaptchaParams) (GetPvcVoiceCaptchaRes, error)
	// GetRagIndexOverview implements get_rag_index_overview operation.
	//
	// Provides total size and other information of RAG indexes used by knowledgebase documents.
	//
	// GET /v1/convai/knowledge-base/rag-index
	GetRagIndexOverview(ctx context.Context, params GetRagIndexOverviewParams) (GetRagIndexOverviewRes, error)
	// GetRagIndexes implements get_rag_indexes operation.
	//
	// Provides information about all RAG indexes of the specified knowledgebase document.
	//
	// GET /v1/convai/knowledge-base/{documentation_id}/rag-index
	GetRagIndexes(ctx context.Context, params GetRagIndexesParams) (GetRagIndexesRes, error)
	// GetResourceMetadata implements get_resource_metadata operation.
	//
	// Gets the metadata of a resource by ID.
	//
	// GET /v1/workspace/resources/{resource_id}
	GetResourceMetadata(ctx context.Context, params GetResourceMetadataParams) (GetResourceMetadataRes, error)
	// GetSecretsRoute implements get_secrets_route operation.
	//
	// Get all workspace secrets for the user.
	//
	// GET /v1/convai/secrets
	GetSecretsRoute(ctx context.Context, params GetSecretsRouteParams) (GetSecretsRouteRes, error)
	// GetServiceAccountAPIKeysRoute implements get_service_account_api_keys_route operation.
	//
	// Get all API keys for a service account.
	//
	// GET /v1/service-accounts/{service_account_user_id}/api-keys
	GetServiceAccountAPIKeysRoute(ctx context.Context, params GetServiceAccountAPIKeysRouteParams) (GetServiceAccountAPIKeysRouteRes, error)
	// GetSettingsRoute implements get_settings_route operation.
	//
	// Retrieve Convai settings for the workspace.
	//
	// GET /v1/convai/settings
	GetSettingsRoute(ctx context.Context, params GetSettingsRouteParams) (GetSettingsRouteRes, error)
	// GetSignedURLDeprecated implements get_signed_url_deprecated operation.
	//
	// Get a signed url to start a conversation with an agent with an agent that requires authorization.
	//
	// Deprecated: schema marks this operation as deprecated.
	//
	// GET /v1/convai/conversation/get_signed_url
	GetSignedURLDeprecated(ctx context.Context, params GetSignedURLDeprecatedParams) (GetSignedURLDeprecatedRes, error)
	// GetSimilarLibraryVoices implements get_similar_library_voices operation.
	//
	// Returns a list of shared voices similar to the provided audio sample. If neither
	// similarity_threshold nor top_k is provided, we will apply default values.
	//
	// POST /v1/similar-voices
	GetSimilarLibraryVoices(ctx context.Context, req OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart, params GetSimilarLibraryVoicesParams) (GetSimilarLibraryVoicesRes, error)
	// GetSimilarVoicesForSpeaker implements get_similar_voices_for_speaker operation.
	//
	// Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and,
	// where possible, a sample audio recording.
	//
	// GET /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}/similar-voices
	GetSimilarVoicesForSpeaker(ctx context.Context, params GetSimilarVoicesForSpeakerParams) (GetSimilarVoicesForSpeakerRes, error)
	// GetSingleUseToken implements get_single_use_token operation.
	//
	// Generate a time limited single-use token with embedded authentication for frontend clients.
	//
	// POST /v1/single-use-token/{token_type}
	GetSingleUseToken(ctx context.Context, params GetSingleUseTokenParams) (GetSingleUseTokenRes, error)
	// GetSpeakerAudio implements get_speaker_audio operation.
	//
	// Retrieve the separated audio for a specific speaker.
	//
	// GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/speakers/{speaker_id}/audio
	GetSpeakerAudio(ctx context.Context, params GetSpeakerAudioParams) (GetSpeakerAudioRes, error)
	// GetSpeechHistory implements get_speech_history operation.
	//
	// Returns a list of your generated audio.
	//
	// GET /v1/history
	GetSpeechHistory(ctx context.Context, params GetSpeechHistoryParams) (GetSpeechHistoryRes, error)
	// GetSpeechHistoryItemByID implements get_speech_history_item_by_id operation.
	//
	// Retrieves a history item.
	//
	// GET /v1/history/{history_item_id}
	GetSpeechHistoryItemByID(ctx context.Context, params GetSpeechHistoryItemByIDParams) (GetSpeechHistoryItemByIDRes, error)
	// GetTestInvocationRoute implements get_test_invocation_route operation.
	//
	// Gets a test invocation by ID.
	//
	// GET /v1/convai/test-invocations/{test_invocation_id}
	GetTestInvocationRoute(ctx context.Context, params GetTestInvocationRouteParams) (GetTestInvocationRouteRes, error)
	// GetToolDependentAgentsRoute implements get_tool_dependent_agents_route operation.
	//
	// Get a list of agents depending on this tool.
	//
	// GET /v1/convai/tools/{tool_id}/dependent-agents
	GetToolDependentAgentsRoute(ctx context.Context, params GetToolDependentAgentsRouteParams) (GetToolDependentAgentsRouteRes, error)
	// GetTranscriptByID implements get_transcript_by_id operation.
	//
	// Retrieve a previously generated transcript by its ID.
	//
	// GET /v1/speech-to-text/transcripts/{transcription_id}
	GetTranscriptByID(ctx context.Context, params GetTranscriptByIDParams) (GetTranscriptByIDRes, error)
	// GetUserInfo implements get_user_info operation.
	//
	// Gets information about the user.
	//
	// GET /v1/user
	GetUserInfo(ctx context.Context, params GetUserInfoParams) (GetUserInfoRes, error)
	// GetUserVoicesV2 implements get_user_voices_v2 operation.
	//
	// Gets a list of all available voices for a user with search, filtering and pagination.
	//
	// GET /v2/voices
	GetUserVoicesV2(ctx context.Context, params GetUserVoicesV2Params) (GetUserVoicesV2Res, error)
	// GetVoiceByID implements get_voice_by_id operation.
	//
	// Returns metadata about a specific voice.
	//
	// GET /v1/voices/{voice_id}
	GetVoiceByID(ctx context.Context, params GetVoiceByIDParams) (GetVoiceByIDRes, error)
	// GetVoiceSettings implements get_voice_settings operation.
	//
	// Returns the settings for a specific voice. "similarity_boost" corresponds to"Clarity + Similarity
	// Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app.
	//
	// GET /v1/voices/{voice_id}/settings
	GetVoiceSettings(ctx context.Context, params GetVoiceSettingsParams) (GetVoiceSettingsRes, error)
	// GetVoiceSettingsDefault implements get_voice_settings_default operation.
	//
	// Gets the default settings for voices. "similarity_boost" corresponds to"Clarity + Similarity
	// Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app.
	//
	// GET /v1/voices/settings/default
	GetVoiceSettingsDefault(ctx context.Context) (*VoiceSettingsResponseModel, error)
	// GetVoices implements get_voices operation.
	//
	// Returns a list of all available voices for a user.
	//
	// GET /v1/voices
	GetVoices(ctx context.Context, params GetVoicesParams) (GetVoicesRes, error)
	// GetWhatsappAccount implements get_whatsapp_account operation.
	//
	// Get a WhatsApp account.
	//
	// GET /v1/convai/whatsapp-accounts/{phone_number_id}
	GetWhatsappAccount(ctx context.Context, params GetWhatsappAccountParams) (GetWhatsappAccountRes, error)
	// GetWorkspaceBatchCalls implements get_workspace_batch_calls operation.
	//
	// Get all batch calls for the current workspace.
	//
	// GET /v1/convai/batch-calling/workspace
	GetWorkspaceBatchCalls(ctx context.Context, params GetWorkspaceBatchCallsParams) (GetWorkspaceBatchCallsRes, error)
	// GetWorkspaceServiceAccounts implements get_workspace_service_accounts operation.
	//
	// List all service accounts in the workspace.
	//
	// GET /v1/service-accounts
	GetWorkspaceServiceAccounts(ctx context.Context, params GetWorkspaceServiceAccountsParams) (GetWorkspaceServiceAccountsRes, error)
	// GetWorkspaceWebhooksRoute implements get_workspace_webhooks_route operation.
	//
	// List all webhooks for a workspace.
	//
	// GET /v1/workspace/webhooks
	GetWorkspaceWebhooksRoute(ctx context.Context, params GetWorkspaceWebhooksRouteParams) (GetWorkspaceWebhooksRouteRes, error)
	// HandleSipTrunkOutboundCall implements handle_sip_trunk_outbound_call operation.
	//
	// Handle an outbound call via SIP trunk.
	//
	// POST /v1/convai/sip-trunk/outbound-call
	HandleSipTrunkOutboundCall(ctx context.Context, req *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost, params HandleSipTrunkOutboundCallParams) (HandleSipTrunkOutboundCallRes, error)
	// HandleTwilioOutboundCall implements handle_twilio_outbound_call operation.
	//
	// Handle an outbound call via Twilio.
	//
	// POST /v1/convai/twilio/outbound-call
	HandleTwilioOutboundCall(ctx context.Context, req *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost, params HandleTwilioOutboundCallParams) (HandleTwilioOutboundCallRes, error)
	// ImportWhatsappAccount implements import_whatsapp_account operation.
	//
	// Import a WhatsApp account.
	//
	// POST /v1/convai/whatsapp-accounts
	ImportWhatsappAccount(ctx context.Context, req *ImportWhatsAppAccountRequest, params ImportWhatsappAccountParams) (ImportWhatsappAccountRes, error)
	// InviteUser implements invite_user operation.
	//
	// Sends an email invitation to join your workspace to the provided email. If the user doesn't have
	// an account they will be prompted to create one. If the user accepts this invite they will be added
	// as a user to your workspace and your subscription using one of your seats. This endpoint may only
	// be called by workspace administrators. If the user is already in the workspace a 400 error will be
	// returned.
	//
	// POST /v1/workspace/invites/add
	InviteUser(ctx context.Context, req *BodyInviteUserV1WorkspaceInvitesAddPost, params InviteUserParams) (InviteUserRes, error)
	// InviteUsersBulk implements invite_users_bulk operation.
	//
	// Sends email invitations to join your workspace to the provided emails. Requires all email
	// addresses to be part of a verified domain. If the users don't have an account they will be
	// prompted to create one. If the users accept these invites they will be added as users to your
	// workspace and your subscription using one of your seats. This endpoint may only be called by
	// workspace administrators.
	//
	// POST /v1/workspace/invites/add-bulk
	InviteUsersBulk(ctx context.Context, req *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost, params InviteUsersBulkParams) (InviteUsersBulkRes, error)
	// ListChatResponseTestsRoute implements list_chat_response_tests_route operation.
	//
	// Lists all agent response tests with pagination support and optional search filtering.
	//
	// GET /v1/convai/agent-testing
	ListChatResponseTestsRoute(ctx context.Context, params ListChatResponseTestsRouteParams) (ListChatResponseTestsRouteRes, error)
	// ListDubs implements list_dubs operation.
	//
	// List the dubs you have access to.
	//
	// GET /v1/dubbing
	ListDubs(ctx context.Context, params ListDubsParams) (ListDubsRes, error)
	// ListMcpServerToolsRoute implements list_mcp_server_tools_route operation.
	//
	// Retrieve all tools available for a specific MCP server configuration.
	//
	// GET /v1/convai/mcp-servers/{mcp_server_id}/tools
	ListMcpServerToolsRoute(ctx context.Context, params ListMcpServerToolsRouteParams) (ListMcpServerToolsRouteRes, error)
	// ListPhoneNumbersRoute implements list_phone_numbers_route operation.
	//
	// Retrieve all Phone Numbers.
	//
	// GET /v1/convai/phone-numbers
	ListPhoneNumbersRoute(ctx context.Context, params ListPhoneNumbersRouteParams) (ListPhoneNumbersRouteRes, error)
	// ListTestInvocationsRoute implements list_test_invocations_route operation.
	//
	// Lists all test invocations with pagination support and optional search filtering.
	//
	// GET /v1/convai/test-invocations
	ListTestInvocationsRoute(ctx context.Context, params ListTestInvocationsRouteParams) (ListTestInvocationsRouteRes, error)
	// ListWhatsappAccounts implements list_whatsapp_accounts operation.
	//
	// List all WhatsApp accounts.
	//
	// GET /v1/convai/whatsapp-accounts
	ListWhatsappAccounts(ctx context.Context, params ListWhatsappAccountsParams) (ListWhatsappAccountsRes, error)
	// MigrateSegments implements migrate_segments operation.
	//
	// Change the attribution of one or more segments to a different speaker.
	//
	// POST /v1/dubbing/resource/{dubbing_id}/migrate-segments
	MigrateSegments(ctx context.Context, req *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost, params MigrateSegmentsParams) (MigrateSegmentsRes, error)
	// PatchPronunciationDictionary implements patch_pronunciation_dictionary operation.
	//
	// Partially update the pronunciation dictionary without changing the version.
	//
	// PATCH /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}
	PatchPronunciationDictionary(ctx context.Context, req OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch, params PatchPronunciationDictionaryParams) (PatchPronunciationDictionaryRes, error)
	// PostAgentAvatarRoute implements post_agent_avatar_route operation.
	//
	// Sets the avatar for an agent displayed in the widget.
	//
	// POST /v1/convai/agents/{agent_id}/avatar
	PostAgentAvatarRoute(ctx context.Context, req *BodyPostAgentAvatarV1ConvaiAgentsAgentIDAvatarPostMultipart, params PostAgentAvatarRouteParams) (PostAgentAvatarRouteRes, error)
	// PostConversationFeedbackRoute implements post_conversation_feedback_route operation.
	//
	// Send the feedback for the given conversation.
	//
	// POST /v1/convai/conversations/{conversation_id}/feedback
	PostConversationFeedbackRoute(ctx context.Context, req *ConversationFeedbackRequestModel, params PostConversationFeedbackRouteParams) (PostConversationFeedbackRouteRes, error)
	// RagIndexStatus implements rag_index_status operation.
	//
	// In case the document is not RAG indexed, it triggers rag indexing task, otherwise it just returns
	// the current status.
	//
	// POST /v1/convai/knowledge-base/{documentation_id}/rag-index
	RagIndexStatus(ctx context.Context, req *RAGIndexRequestModel, params RagIndexStatusParams) (RagIndexStatusRes, error)
	// RedirectToMintlify implements redirect_to_mintlify operation.
	//
	// Redirect To Mintlify.
	//
	// GET /docs
	RedirectToMintlify(ctx context.Context) (jx.Raw, error)
	// RegisterTwilioCall implements register_twilio_call operation.
	//
	// Register a Twilio call and return TwiML to connect the call.
	//
	// POST /v1/convai/twilio/register-call
	RegisterTwilioCall(ctx context.Context, req *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost, params RegisterTwilioCallParams) (RegisterTwilioCallRes, error)
	// RemoveMember implements remove_member operation.
	//
	// Removes a member from the specified group. This endpoint may only be called by workspace
	// administrators.
	//
	// POST /v1/workspace/groups/{group_id}/members/remove
	RemoveMember(ctx context.Context, req *BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost, params RemoveMemberParams) (RemoveMemberRes, error)
	// RemoveRules implements remove_rules operation.
	//
	// Remove rules from the pronunciation dictionary.
	//
	// POST /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/remove-rules
	RemoveRules(ctx context.Context, req *BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost, params RemoveRulesParams) (RemoveRulesRes, error)
	// RequestPvcManualVerification implements request_pvc_manual_verification operation.
	//
	// Request manual verification for a PVC voice.
	//
	// POST /v1/voices/pvc/{voice_id}/verification
	RequestPvcManualVerification(ctx context.Context, req *BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart, params RequestPvcManualVerificationParams) (RequestPvcManualVerificationRes, error)
	// RetryBatchCall implements retry_batch_call operation.
	//
	// Retry a batch call, calling failed and no-response recipients again.
	//
	// POST /v1/convai/batch-calling/{batch_id}/retry
	RetryBatchCall(ctx context.Context, params RetryBatchCallParams) (RetryBatchCallRes, error)
	// RunPvcVoiceTraining implements run_pvc_voice_training operation.
	//
	// Start PVC training process for a voice.
	//
	// POST /v1/voices/pvc/{voice_id}/train
	RunPvcVoiceTraining(ctx context.Context, req OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost, params RunPvcVoiceTrainingParams) (RunPvcVoiceTrainingRes, error)
	// SearchGroups implements search_groups operation.
	//
	// Searches for user groups in the workspace. Multiple or no groups may be returned.
	//
	// GET /v1/workspace/groups/search
	SearchGroups(ctx context.Context, params SearchGroupsParams) (SearchGroupsRes, error)
	// SeparateSongStems implements separate_song_stems operation.
	//
	// Separate an audio file into individual stems. This endpoint might have high latency, depending on
	// the length of the audio file.
	//
	// POST /v1/music/stem-separation
	SeparateSongStems(ctx context.Context, req *BodyStemSeparationV1MusicStemSeparationPostMultipart, params SeparateSongStemsParams) (SeparateSongStemsRes, error)
	// ShareResourceEndpoint implements share_resource_endpoint operation.
	//
	// Grants a role on a workspace resource to a user or a group. It overrides any existing role this
	// user/service account/group/workspace api key has on the resource. To target a user or service
	// account, pass only the user email. The user must be in your workspace. To target a group, pass
	// only the group id. To target a workspace api key, pass the api key id. The resource will be shared
	// with the service account associated with the api key. You must have admin access to the resource
	// to share it.
	//
	// POST /v1/workspace/resources/{resource_id}/share
	ShareResourceEndpoint(ctx context.Context, req *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost, params ShareResourceEndpointParams) (ShareResourceEndpointRes, error)
	// SoundGeneration implements sound_generation operation.
	//
	// Turn text into sound effects for your videos, voice-overs or video games using the most advanced
	// sound effects models in the world.
	//
	// POST /v1/sound-generation
	SoundGeneration(ctx context.Context, req *BodySoundGenerationV1SoundGenerationPost, params SoundGenerationParams) (SoundGenerationRes, error)
	// SpeechToSpeechFull implements speech_to_speech_full operation.
	//
	// Transform audio from one voice to another. Maintain full control over emotion, timing and delivery.
	//
	// POST /v1/speech-to-speech/{voice_id}
	SpeechToSpeechFull(ctx context.Context, req *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart, params SpeechToSpeechFullParams) (SpeechToSpeechFullRes, error)
	// SpeechToSpeechStream implements speech_to_speech_stream operation.
	//
	// Stream audio from one voice to another. Maintain full control over emotion, timing and delivery.
	//
	// POST /v1/speech-to-speech/{voice_id}/stream
	SpeechToSpeechStream(ctx context.Context, req *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart, params SpeechToSpeechStreamParams) (SpeechToSpeechStreamRes, error)
	// SpeechToText implements speech_to_text operation.
	//
	// Transcribe an audio or video file. If webhook is set to true, the request will be processed
	// asynchronously and results sent to configured webhooks. When use_multi_channel is true and the
	// provided audio has multiple channels, a 'transcripts' object with separate transcripts for each
	// channel is returned. Otherwise, returns a single transcript. The optional webhook_metadata
	// parameter allows you to attach custom data that will be included in webhook responses for request
	// correlation and tracking.
	//
	// POST /v1/speech-to-text
	SpeechToText(ctx context.Context, req *BodySpeechToTextV1SpeechToTextPostMultipart, params SpeechToTextParams) (SpeechToTextRes, error)
	// StartSpeakerSeparation implements start_speaker_separation operation.
	//
	// Start speaker separation process for a sample.
	//
	// POST /v1/voices/pvc/{voice_id}/samples/{sample_id}/separate-speakers
	StartSpeakerSeparation(ctx context.Context, params StartSpeakerSeparationParams) (StartSpeakerSeparationRes, error)
	// StreamChapterSnapshotAudio implements stream_chapter_snapshot_audio operation.
	//
	// Stream the audio from a chapter snapshot. Use `GET
	// /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots` to return the snapshots of a
	// chapter.
	//
	// POST /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id}/stream
	StreamChapterSnapshotAudio(ctx context.Context, req OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost, params StreamChapterSnapshotAudioParams) (StreamChapterSnapshotAudioRes, error)
	// StreamCompose implements stream_compose operation.
	//
	// Stream a composed song from a prompt or a composition plan.
	//
	// POST /v1/music/stream
	StreamCompose(ctx context.Context, req OptBodyStreamComposedMusicV1MusicStreamPost, params StreamComposeParams) (StreamComposeRes, error)
	// StreamProjectSnapshotArchiveEndpoint implements stream_project_snapshot_archive_endpoint operation.
	//
	// Returns a compressed archive of the Studio project's audio.
	//
	// POST /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}/archive
	StreamProjectSnapshotArchiveEndpoint(ctx context.Context, params StreamProjectSnapshotArchiveEndpointParams) (StreamProjectSnapshotArchiveEndpointRes, error)
	// StreamProjectSnapshotAudioEndpoint implements stream_project_snapshot_audio_endpoint operation.
	//
	// Stream the audio from a Studio project snapshot.
	//
	// POST /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}/stream
	StreamProjectSnapshotAudioEndpoint(ctx context.Context, req OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost, params StreamProjectSnapshotAudioEndpointParams) (StreamProjectSnapshotAudioEndpointRes, error)
	// TextToDialogue implements text_to_dialogue operation.
	//
	// Converts a list of text and voice ID pairs into speech (dialogue) and returns audio.
	//
	// POST /v1/text-to-dialogue
	TextToDialogue(ctx context.Context, req *BodyTextToDialogueMultiVoiceV1TextToDialoguePost, params TextToDialogueParams) (TextToDialogueRes, error)
	// TextToDialogueFullWithTimestamps implements text_to_dialogue_full_with_timestamps operation.
	//
	// Generate dialogue from text with precise character-level timing information for audio-text
	// synchronization.
	//
	// POST /v1/text-to-dialogue/with-timestamps
	TextToDialogueFullWithTimestamps(ctx context.Context, req *BodyTextToDialogueFullWithTimestamps, params TextToDialogueFullWithTimestampsParams) (TextToDialogueFullWithTimestampsRes, error)
	// TextToDialogueStream implements text_to_dialogue_stream operation.
	//
	// Converts a list of text and voice ID pairs into speech (dialogue) and returns an audio stream.
	//
	// POST /v1/text-to-dialogue/stream
	TextToDialogueStream(ctx context.Context, req *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost, params TextToDialogueStreamParams) (TextToDialogueStreamRes, error)
	// TextToDialogueStreamWithTimestamps implements text_to_dialogue_stream_with_timestamps operation.
	//
	// Converts a list of text and voice ID pairs into speech (dialogue) and returns a stream of JSON
	// blobs containing audio as a base64 encoded string and timestamps.
	//
	// POST /v1/text-to-dialogue/stream/with-timestamps
	TextToDialogueStreamWithTimestamps(ctx context.Context, req *BodyTextToDialogueStreamWithTimestamps, params TextToDialogueStreamWithTimestampsParams) (TextToDialogueStreamWithTimestampsRes, error)
	// TextToSpeechFull implements text_to_speech_full operation.
	//
	// Converts text into speech using a voice of your choice and returns audio.
	//
	// POST /v1/text-to-speech/{voice_id}
	TextToSpeechFull(ctx context.Context, req *BodyTextToSpeechFull, params TextToSpeechFullParams) (TextToSpeechFullRes, error)
	// TextToSpeechFullWithTimestamps implements text_to_speech_full_with_timestamps operation.
	//
	// Generate speech from text with precise character-level timing information for audio-text
	// synchronization.
	//
	// POST /v1/text-to-speech/{voice_id}/with-timestamps
	TextToSpeechFullWithTimestamps(ctx context.Context, req *BodyTextToSpeechFullWithTimestamps, params TextToSpeechFullWithTimestampsParams) (TextToSpeechFullWithTimestampsRes, error)
	// TextToSpeechStream implements text_to_speech_stream operation.
	//
	// Converts text into speech using a voice of your choice and returns audio as an audio stream.
	//
	// POST /v1/text-to-speech/{voice_id}/stream
	TextToSpeechStream(ctx context.Context, req *BodyTextToSpeechStream, params TextToSpeechStreamParams) (TextToSpeechStreamRes, error)
	// TextToSpeechStreamWithTimestamps implements text_to_speech_stream_with_timestamps operation.
	//
	// Converts text into speech using a voice of your choice and returns a stream of JSONs containing
	// audio as a base64 encoded string together with information on when which character was spoken.
	//
	// POST /v1/text-to-speech/{voice_id}/stream/with-timestamps
	TextToSpeechStreamWithTimestamps(ctx context.Context, req *BodyTextToSpeechStreamWithTimestamps, params TextToSpeechStreamWithTimestampsParams) (TextToSpeechStreamWithTimestampsRes, error)
	// TextToVoice implements text_to_voice operation.
	//
	// Generate a custom voice based on voice description. This method returns a list of voice previews.
	// Each preview has a generated_voice_id and a sample of the voice as base64 encoded mp3 audio. If
	// you like the a voice previewand want to create the voice call
	// /v1/text-to-voice/create-voice-from-preview with the generated_voice_id to create the voice.
	//
	// POST /v1/text-to-voice/create-previews
	TextToVoice(ctx context.Context, req *VoicePreviewsRequestModel, params TextToVoiceParams) (TextToVoiceRes, error)
	// TextToVoiceDesign implements text_to_voice_design operation.
	//
	// Design a voice via a prompt. This method returns a list of voice previews. Each preview has a
	// generated_voice_id and a sample of the voice as base64 encoded mp3 audio. To create a voice use
	// the generated_voice_id of the preferred preview with the /v1/text-to-voice endpoint.
	//
	// POST /v1/text-to-voice/design
	TextToVoiceDesign(ctx context.Context, req *VoiceDesignRequestModel, params TextToVoiceDesignParams) (TextToVoiceDesignRes, error)
	// TextToVoicePreviewStream implements text_to_voice_preview_stream operation.
	//
	// Stream a voice preview that was created via the /v1/text-to-voice/design endpoint.
	//
	// GET /v1/text-to-voice/{generated_voice_id}/stream
	TextToVoicePreviewStream(ctx context.Context, params TextToVoicePreviewStreamParams) (TextToVoicePreviewStreamRes, error)
	// TextToVoiceRemix implements text_to_voice_remix operation.
	//
	// Remix an existing voice via a prompt. This method returns a list of voice previews. Each preview
	// has a generated_voice_id and a sample of the voice as base64 encoded mp3 audio. To create a voice
	// use the generated_voice_id of the preferred preview with the /v1/text-to-voice endpoint.
	//
	// POST /v1/text-to-voice/{voice_id}/remix
	TextToVoiceRemix(ctx context.Context, req *VoiceRemixRequestModel, params TextToVoiceRemixParams) (TextToVoiceRemixRes, error)
	// Transcribe implements transcribe operation.
	//
	// Regenerate the transcriptions for the specified segments. Does not automatically regenerate
	// translations or dubs.
	//
	// POST /v1/dubbing/resource/{dubbing_id}/transcribe
	Transcribe(ctx context.Context, req *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost, params TranscribeParams) (TranscribeRes, error)
	// Translate implements translate operation.
	//
	// Regenerate the translations for either the entire resource or the specified segments/languages.
	// Will automatically transcribe missing transcriptions. Will not automatically regenerate the dubs.
	//
	// POST /v1/dubbing/resource/{dubbing_id}/translate
	Translate(ctx context.Context, req *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost, params TranslateParams) (TranslateRes, error)
	// UnshareResourceEndpoint implements unshare_resource_endpoint operation.
	//
	// Removes any existing role on a workspace resource from a user, service account, group or workspace
	// api key. To target a user or service account, pass only the user email. The user must be in your
	// workspace. To target a group, pass only the group id. To target a workspace api key, pass the api
	// key id. The resource will be unshared from the service account associated with the api key. You
	// must have admin access to the resource to unshare it. You cannot remove permissions from the user
	// who created the resource.
	//
	// POST /v1/workspace/resources/{resource_id}/unshare
	UnshareResourceEndpoint(ctx context.Context, req *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost, params UnshareResourceEndpointParams) (UnshareResourceEndpointRes, error)
	// UpdateAgentResponseTestRoute implements update_agent_response_test_route operation.
	//
	// Updates an agent response test by ID.
	//
	// PUT /v1/convai/agent-testing/{test_id}
	UpdateAgentResponseTestRoute(ctx context.Context, req *UpdateUnitTestRequest, params UpdateAgentResponseTestRouteParams) (UpdateAgentResponseTestRouteRes, error)
	// UpdateDashboardSettingsRoute implements update_dashboard_settings_route operation.
	//
	// Update Convai dashboard settings for the workspace.
	//
	// PATCH /v1/convai/settings/dashboard
	UpdateDashboardSettingsRoute(ctx context.Context, req *PatchConvAIDashboardSettingsRequest, params UpdateDashboardSettingsRouteParams) (UpdateDashboardSettingsRouteRes, error)
	// UpdateDocumentRoute implements update_document_route operation.
	//
	// Update the name of a document.
	//
	// PATCH /v1/convai/knowledge-base/{documentation_id}
	UpdateDocumentRoute(ctx context.Context, req *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch, params UpdateDocumentRouteParams) (UpdateDocumentRouteRes, error)
	// UpdatePhoneNumberRoute implements update_phone_number_route operation.
	//
	// Update assigned agent of a phone number.
	//
	// PATCH /v1/convai/phone-numbers/{phone_number_id}
	UpdatePhoneNumberRoute(ctx context.Context, req *UpdatePhoneNumberRequest, params UpdatePhoneNumberRouteParams) (UpdatePhoneNumberRouteRes, error)
	// UpdatePronunciationDictionaries implements update_pronunciation_dictionaries operation.
	//
	// Create a set of pronunciation dictionaries acting on a project. This will automatically mark text
	// within this project as requiring reconverting where the new dictionary would apply or the old one
	// no longer does.
	//
	// POST /v1/studio/projects/{project_id}/pronunciation-dictionaries
	UpdatePronunciationDictionaries(ctx context.Context, req *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost, params UpdatePronunciationDictionariesParams) (UpdatePronunciationDictionariesRes, error)
	// UpdateSecretRoute implements update_secret_route operation.
	//
	// Update an existing secret for the workspace.
	//
	// PATCH /v1/convai/secrets/{secret_id}
	UpdateSecretRoute(ctx context.Context, req *PatchWorkspaceSecretRequest, params UpdateSecretRouteParams) (UpdateSecretRouteRes, error)
	// UpdateSegmentLanguage implements update_segment_language operation.
	//
	// Modifies a single segment with new text and/or start/end times. Will update the values for only a
	// specific language of a segment. Does not automatically regenerate the dub.
	//
	// PATCH /v1/dubbing/resource/{dubbing_id}/segment/{segment_id}/{language}
	UpdateSegmentLanguage(ctx context.Context, req *SegmentUpdatePayload, params UpdateSegmentLanguageParams) (UpdateSegmentLanguageRes, error)
	// UpdateSettingsRoute implements update_settings_route operation.
	//
	// Update Convai settings for the workspace.
	//
	// PATCH /v1/convai/settings
	UpdateSettingsRoute(ctx context.Context, req *PatchConvAISettingsRequest, params UpdateSettingsRouteParams) (UpdateSettingsRouteRes, error)
	// UpdateSpeaker implements update_speaker operation.
	//
	// Amend the metadata associated with a speaker, such as their voice. Both voice cloning and using
	// voices from the ElevenLabs library are supported.
	//
	// PATCH /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}
	UpdateSpeaker(ctx context.Context, req OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch, params UpdateSpeakerParams) (UpdateSpeakerRes, error)
	// UpdateWhatsappAccount implements update_whatsapp_account operation.
	//
	// Update a WhatsApp account.
	//
	// PATCH /v1/convai/whatsapp-accounts/{phone_number_id}
	UpdateWhatsappAccount(ctx context.Context, req *UpdateWhatsAppAccountRequest, params UpdateWhatsappAccountParams) (UpdateWhatsappAccountRes, error)
	// UpdateWorkspaceMember implements update_workspace_member operation.
	//
	// Updates attributes of a workspace member. Apart from the email identifier, all parameters will
	// remain unchanged unless specified. This endpoint may only be called by workspace administrators.
	//
	// POST /v1/workspace/members
	UpdateWorkspaceMember(ctx context.Context, req *BodyUpdateMemberV1WorkspaceMembersPost, params UpdateWorkspaceMemberParams) (UpdateWorkspaceMemberRes, error)
	// UsageCharacters implements usage_characters operation.
	//
	// Returns the usage metrics for the current user or the entire workspace they are part of. The
	// response provides a time axis based on the specified aggregation interval (default: day), with
	// usage values for each interval along that axis. Usage is broken down by the selected breakdown
	// type. For example, breakdown type "voice" will return the usage of each voice for each interval
	// along the time axis.
	//
	// GET /v1/usage/character-stats
	UsageCharacters(ctx context.Context, params UsageCharactersParams) (UsageCharactersRes, error)
	// VerifyPvcVoiceCaptcha implements verify_pvc_voice_captcha operation.
	//
	// Submit captcha verification for PVC voice.
	//
	// POST /v1/voices/pvc/{voice_id}/captcha
	VerifyPvcVoiceCaptcha(ctx context.Context, req *BodyVerifyPVCVoiceCaptchaV1VoicesPvcVoiceIDCaptchaPostMultipart, params VerifyPvcVoiceCaptchaParams) (VerifyPvcVoiceCaptchaRes, error)
	// WhatsappOutboundCall implements whatsapp_outbound_call operation.
	//
	// Make an outbound call via WhatsApp.
	//
	// POST /v1/convai/whatsapp/outbound-call
	WhatsappOutboundCall(ctx context.Context, req *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost, params WhatsappOutboundCallParams) (WhatsappOutboundCallRes, error)
}

Handler handles operations described by OpenAPI v3 specification.

type HistoryAlignmentResponseModel

type HistoryAlignmentResponseModel struct {
	// The end times of the characters in seconds.
	CharacterEndTimesSeconds []float64 `json:"character_end_times_seconds"`
	// The start times of the characters in seconds.
	CharacterStartTimesSeconds []float64 `json:"character_start_times_seconds"`
	// The characters in the alignment.
	Characters []string `json:"characters"`
}

Ref: #/components/schemas/HistoryAlignmentResponseModel

func (*HistoryAlignmentResponseModel) Decode

Decode decodes HistoryAlignmentResponseModel from json.

func (*HistoryAlignmentResponseModel) Encode

Encode implements json.Marshaler.

func (*HistoryAlignmentResponseModel) GetCharacterEndTimesSeconds

func (s *HistoryAlignmentResponseModel) GetCharacterEndTimesSeconds() []float64

GetCharacterEndTimesSeconds returns the value of CharacterEndTimesSeconds.

func (*HistoryAlignmentResponseModel) GetCharacterStartTimesSeconds

func (s *HistoryAlignmentResponseModel) GetCharacterStartTimesSeconds() []float64

GetCharacterStartTimesSeconds returns the value of CharacterStartTimesSeconds.

func (*HistoryAlignmentResponseModel) GetCharacters

func (s *HistoryAlignmentResponseModel) GetCharacters() []string

GetCharacters returns the value of Characters.

func (*HistoryAlignmentResponseModel) MarshalJSON

func (s *HistoryAlignmentResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*HistoryAlignmentResponseModel) SetCharacterEndTimesSeconds

func (s *HistoryAlignmentResponseModel) SetCharacterEndTimesSeconds(val []float64)

SetCharacterEndTimesSeconds sets the value of CharacterEndTimesSeconds.

func (*HistoryAlignmentResponseModel) SetCharacterStartTimesSeconds

func (s *HistoryAlignmentResponseModel) SetCharacterStartTimesSeconds(val []float64)

SetCharacterStartTimesSeconds sets the value of CharacterStartTimesSeconds.

func (*HistoryAlignmentResponseModel) SetCharacters

func (s *HistoryAlignmentResponseModel) SetCharacters(val []string)

SetCharacters sets the value of Characters.

func (*HistoryAlignmentResponseModel) UnmarshalJSON

func (s *HistoryAlignmentResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HistoryAlignmentResponseModel) Validate

func (s *HistoryAlignmentResponseModel) Validate() error

type HistoryAlignmentsResponseModel

type HistoryAlignmentsResponseModel struct {
	// The alignment of the text.
	Alignment HistoryAlignmentResponseModel `json:"alignment"`
	// The normalized alignment of the text.
	NormalizedAlignment HistoryAlignmentResponseModel `json:"normalized_alignment"`
}

Ref: #/components/schemas/HistoryAlignmentsResponseModel

func (*HistoryAlignmentsResponseModel) Decode

Decode decodes HistoryAlignmentsResponseModel from json.

func (*HistoryAlignmentsResponseModel) Encode

Encode implements json.Marshaler.

func (*HistoryAlignmentsResponseModel) GetAlignment

GetAlignment returns the value of Alignment.

func (*HistoryAlignmentsResponseModel) GetNormalizedAlignment

GetNormalizedAlignment returns the value of NormalizedAlignment.

func (*HistoryAlignmentsResponseModel) MarshalJSON

func (s *HistoryAlignmentsResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*HistoryAlignmentsResponseModel) SetAlignment

SetAlignment sets the value of Alignment.

func (*HistoryAlignmentsResponseModel) SetNormalizedAlignment

func (s *HistoryAlignmentsResponseModel) SetNormalizedAlignment(val HistoryAlignmentResponseModel)

SetNormalizedAlignment sets the value of NormalizedAlignment.

func (*HistoryAlignmentsResponseModel) UnmarshalJSON

func (s *HistoryAlignmentsResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HistoryAlignmentsResponseModel) Validate

func (s *HistoryAlignmentsResponseModel) Validate() error

type HtmlExportOptions

type HtmlExportOptions struct {
	Format                      HtmlExportOptionsFormat `json:"format"`
	IncludeSpeakers             OptBool                 `json:"include_speakers"`
	IncludeTimestamps           OptBool                 `json:"include_timestamps"`
	MaxSegmentChars             OptNilInt               `json:"max_segment_chars"`
	MaxSegmentDurationS         OptNilFloat64           `json:"max_segment_duration_s"`
	SegmentOnSilenceLongerThanS OptNilFloat64           `json:"segment_on_silence_longer_than_s"`
}

Ref: #/components/schemas/HtmlExportOptions

func (*HtmlExportOptions) Decode

func (s *HtmlExportOptions) Decode(d *jx.Decoder) error

Decode decodes HtmlExportOptions from json.

func (*HtmlExportOptions) Encode

func (s *HtmlExportOptions) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*HtmlExportOptions) GetFormat

GetFormat returns the value of Format.

func (*HtmlExportOptions) GetIncludeSpeakers

func (s *HtmlExportOptions) GetIncludeSpeakers() OptBool

GetIncludeSpeakers returns the value of IncludeSpeakers.

func (*HtmlExportOptions) GetIncludeTimestamps

func (s *HtmlExportOptions) GetIncludeTimestamps() OptBool

GetIncludeTimestamps returns the value of IncludeTimestamps.

func (*HtmlExportOptions) GetMaxSegmentChars

func (s *HtmlExportOptions) GetMaxSegmentChars() OptNilInt

GetMaxSegmentChars returns the value of MaxSegmentChars.

func (*HtmlExportOptions) GetMaxSegmentDurationS

func (s *HtmlExportOptions) GetMaxSegmentDurationS() OptNilFloat64

GetMaxSegmentDurationS returns the value of MaxSegmentDurationS.

func (*HtmlExportOptions) GetSegmentOnSilenceLongerThanS

func (s *HtmlExportOptions) GetSegmentOnSilenceLongerThanS() OptNilFloat64

GetSegmentOnSilenceLongerThanS returns the value of SegmentOnSilenceLongerThanS.

func (*HtmlExportOptions) MarshalJSON

func (s *HtmlExportOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*HtmlExportOptions) SetFormat

func (s *HtmlExportOptions) SetFormat(val HtmlExportOptionsFormat)

SetFormat sets the value of Format.

func (*HtmlExportOptions) SetIncludeSpeakers

func (s *HtmlExportOptions) SetIncludeSpeakers(val OptBool)

SetIncludeSpeakers sets the value of IncludeSpeakers.

func (*HtmlExportOptions) SetIncludeTimestamps

func (s *HtmlExportOptions) SetIncludeTimestamps(val OptBool)

SetIncludeTimestamps sets the value of IncludeTimestamps.

func (*HtmlExportOptions) SetMaxSegmentChars

func (s *HtmlExportOptions) SetMaxSegmentChars(val OptNilInt)

SetMaxSegmentChars sets the value of MaxSegmentChars.

func (*HtmlExportOptions) SetMaxSegmentDurationS

func (s *HtmlExportOptions) SetMaxSegmentDurationS(val OptNilFloat64)

SetMaxSegmentDurationS sets the value of MaxSegmentDurationS.

func (*HtmlExportOptions) SetSegmentOnSilenceLongerThanS

func (s *HtmlExportOptions) SetSegmentOnSilenceLongerThanS(val OptNilFloat64)

SetSegmentOnSilenceLongerThanS sets the value of SegmentOnSilenceLongerThanS.

func (*HtmlExportOptions) UnmarshalJSON

func (s *HtmlExportOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HtmlExportOptions) Validate

func (s *HtmlExportOptions) Validate() error

type HtmlExportOptionsFormat

type HtmlExportOptionsFormat string
const (
	HtmlExportOptionsFormatHTML HtmlExportOptionsFormat = "html"
)

func (HtmlExportOptionsFormat) AllValues

AllValues returns all HtmlExportOptionsFormat values.

func (*HtmlExportOptionsFormat) Decode

func (s *HtmlExportOptionsFormat) Decode(d *jx.Decoder) error

Decode decodes HtmlExportOptionsFormat from json.

func (HtmlExportOptionsFormat) Encode

func (s HtmlExportOptionsFormat) Encode(e *jx.Encoder)

Encode encodes HtmlExportOptionsFormat as json.

func (HtmlExportOptionsFormat) MarshalJSON

func (s HtmlExportOptionsFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (HtmlExportOptionsFormat) MarshalText

func (s HtmlExportOptionsFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*HtmlExportOptionsFormat) UnmarshalJSON

func (s *HtmlExportOptionsFormat) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*HtmlExportOptionsFormat) UnmarshalText

func (s *HtmlExportOptionsFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (HtmlExportOptionsFormat) Validate

func (s HtmlExportOptionsFormat) Validate() error

type ImportWhatsAppAccountRequest

type ImportWhatsAppAccountRequest struct {
	BusinessAccountID string `json:"business_account_id"`
	PhoneNumberID     string `json:"phone_number_id"`
	TokenCode         string `json:"token_code"`
}

Ref: #/components/schemas/ImportWhatsAppAccountRequest

func (*ImportWhatsAppAccountRequest) Decode

Decode decodes ImportWhatsAppAccountRequest from json.

func (*ImportWhatsAppAccountRequest) Encode

func (s *ImportWhatsAppAccountRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ImportWhatsAppAccountRequest) GetBusinessAccountID

func (s *ImportWhatsAppAccountRequest) GetBusinessAccountID() string

GetBusinessAccountID returns the value of BusinessAccountID.

func (*ImportWhatsAppAccountRequest) GetPhoneNumberID

func (s *ImportWhatsAppAccountRequest) GetPhoneNumberID() string

GetPhoneNumberID returns the value of PhoneNumberID.

func (*ImportWhatsAppAccountRequest) GetTokenCode

func (s *ImportWhatsAppAccountRequest) GetTokenCode() string

GetTokenCode returns the value of TokenCode.

func (*ImportWhatsAppAccountRequest) MarshalJSON

func (s *ImportWhatsAppAccountRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ImportWhatsAppAccountRequest) SetBusinessAccountID

func (s *ImportWhatsAppAccountRequest) SetBusinessAccountID(val string)

SetBusinessAccountID sets the value of BusinessAccountID.

func (*ImportWhatsAppAccountRequest) SetPhoneNumberID

func (s *ImportWhatsAppAccountRequest) SetPhoneNumberID(val string)

SetPhoneNumberID sets the value of PhoneNumberID.

func (*ImportWhatsAppAccountRequest) SetTokenCode

func (s *ImportWhatsAppAccountRequest) SetTokenCode(val string)

SetTokenCode sets the value of TokenCode.

func (*ImportWhatsAppAccountRequest) UnmarshalJSON

func (s *ImportWhatsAppAccountRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ImportWhatsAppAccountResponse

type ImportWhatsAppAccountResponse struct {
	PhoneNumberID string `json:"phone_number_id"`
}

Ref: #/components/schemas/ImportWhatsAppAccountResponse

func (*ImportWhatsAppAccountResponse) Decode

Decode decodes ImportWhatsAppAccountResponse from json.

func (*ImportWhatsAppAccountResponse) Encode

Encode implements json.Marshaler.

func (*ImportWhatsAppAccountResponse) GetPhoneNumberID

func (s *ImportWhatsAppAccountResponse) GetPhoneNumberID() string

GetPhoneNumberID returns the value of PhoneNumberID.

func (*ImportWhatsAppAccountResponse) MarshalJSON

func (s *ImportWhatsAppAccountResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ImportWhatsAppAccountResponse) SetPhoneNumberID

func (s *ImportWhatsAppAccountResponse) SetPhoneNumberID(val string)

SetPhoneNumberID sets the value of PhoneNumberID.

func (*ImportWhatsAppAccountResponse) UnmarshalJSON

func (s *ImportWhatsAppAccountResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ImportWhatsappAccountParams

type ImportWhatsappAccountParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

ImportWhatsappAccountParams is parameters of import_whatsapp_account operation.

type ImportWhatsappAccountRes

type ImportWhatsappAccountRes interface {
	// contains filtered or unexported methods
}

type InboundSIPTrunkConfigRequestModel

type InboundSIPTrunkConfigRequestModel struct {
	// List of IP addresses that are allowed to use the trunk. Each item in the list can be an individual
	// IP address or a Classless Inter-Domain Routing notation representing a CIDR block.
	AllowedAddresses OptNilStringArray `json:"allowed_addresses"`
	// List of phone numbers that are allowed to use the trunk.
	AllowedNumbers OptNilStringArray `json:"allowed_numbers"`
	// Optional digest authentication credentials (username/password).
	Credentials OptSIPTrunkCredentialsRequestModel `json:"credentials"`
	// Whether or not to encrypt media (data layer).
	MediaEncryption OptSIPMediaEncryptionEnum `json:"media_encryption"`
	// Domains of remote SIP servers used to validate TLS certificates.
	RemoteDomains OptNilStringArray `json:"remote_domains"`
}

Ref: #/components/schemas/InboundSIPTrunkConfigRequestModel

func (*InboundSIPTrunkConfigRequestModel) Decode

Decode decodes InboundSIPTrunkConfigRequestModel from json.

func (*InboundSIPTrunkConfigRequestModel) Encode

Encode implements json.Marshaler.

func (*InboundSIPTrunkConfigRequestModel) GetAllowedAddresses

func (s *InboundSIPTrunkConfigRequestModel) GetAllowedAddresses() OptNilStringArray

GetAllowedAddresses returns the value of AllowedAddresses.

func (*InboundSIPTrunkConfigRequestModel) GetAllowedNumbers

GetAllowedNumbers returns the value of AllowedNumbers.

func (*InboundSIPTrunkConfigRequestModel) GetCredentials

GetCredentials returns the value of Credentials.

func (*InboundSIPTrunkConfigRequestModel) GetMediaEncryption

GetMediaEncryption returns the value of MediaEncryption.

func (*InboundSIPTrunkConfigRequestModel) GetRemoteDomains

GetRemoteDomains returns the value of RemoteDomains.

func (*InboundSIPTrunkConfigRequestModel) MarshalJSON

func (s *InboundSIPTrunkConfigRequestModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*InboundSIPTrunkConfigRequestModel) SetAllowedAddresses

func (s *InboundSIPTrunkConfigRequestModel) SetAllowedAddresses(val OptNilStringArray)

SetAllowedAddresses sets the value of AllowedAddresses.

func (*InboundSIPTrunkConfigRequestModel) SetAllowedNumbers

func (s *InboundSIPTrunkConfigRequestModel) SetAllowedNumbers(val OptNilStringArray)

SetAllowedNumbers sets the value of AllowedNumbers.

func (*InboundSIPTrunkConfigRequestModel) SetCredentials

SetCredentials sets the value of Credentials.

func (*InboundSIPTrunkConfigRequestModel) SetMediaEncryption

SetMediaEncryption sets the value of MediaEncryption.

func (*InboundSIPTrunkConfigRequestModel) SetRemoteDomains

func (s *InboundSIPTrunkConfigRequestModel) SetRemoteDomains(val OptNilStringArray)

SetRemoteDomains sets the value of RemoteDomains.

func (*InboundSIPTrunkConfigRequestModel) UnmarshalJSON

func (s *InboundSIPTrunkConfigRequestModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InboundSIPTrunkConfigRequestModel) Validate

type InviteUserParams

type InviteUserParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

InviteUserParams is parameters of invite_user operation.

type InviteUserRes

type InviteUserRes interface {
	// contains filtered or unexported methods
}

type InviteUsersBulkParams

type InviteUsersBulkParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

InviteUsersBulkParams is parameters of invite_users_bulk operation.

type InviteUsersBulkRes

type InviteUsersBulkRes interface {
	// contains filtered or unexported methods
}

type Invoker

type Invoker interface {
	// AddDocumentationToKnowledgeBase invokes add_documentation_to_knowledge_base operation.
	//
	// Uploads a file or reference a webpage to use as part of the shared knowledge base.
	//
	// Deprecated: schema marks this operation as deprecated.
	//
	// POST /v1/convai/knowledge-base
	AddDocumentationToKnowledgeBase(ctx context.Context, request OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart, params AddDocumentationToKnowledgeBaseParams) (AddDocumentationToKnowledgeBaseRes, error)
	// AddFromFile invokes add_from_file operation.
	//
	// Creates a new pronunciation dictionary from a lexicon .PLS file.
	//
	// POST /v1/pronunciation-dictionaries/add-from-file
	AddFromFile(ctx context.Context, request *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart, params AddFromFileParams) (AddFromFileRes, error)
	// AddLanguage invokes add_language operation.
	//
	// Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not automatically
	// generate transcripts/translations/audio.
	//
	// POST /v1/dubbing/resource/{dubbing_id}/language
	AddLanguage(ctx context.Context, request *BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost, params AddLanguageParams) (AddLanguageRes, error)
	// AddMember invokes add_member operation.
	//
	// Adds a member of your workspace to the specified group. This endpoint may only be called by
	// workspace administrators.
	//
	// POST /v1/workspace/groups/{group_id}/members
	AddMember(ctx context.Context, request *BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost, params AddMemberParams) (AddMemberRes, error)
	// AddProject invokes add_project operation.
	//
	// Creates a new Studio project, it can be either initialized as blank, from a document or from a URL.
	//
	// POST /v1/studio/projects
	AddProject(ctx context.Context, request *BodyCreateStudioProjectV1StudioProjectsPostMultipart, params AddProjectParams) (AddProjectRes, error)
	// AddPvcVoiceSamples invokes add_pvc_voice_samples operation.
	//
	// Add audio samples to a PVC voice.
	//
	// POST /v1/voices/pvc/{voice_id}/samples
	AddPvcVoiceSamples(ctx context.Context, request *BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart, params AddPvcVoiceSamplesParams) (AddPvcVoiceSamplesRes, error)
	// AddSharingVoice invokes add_sharing_voice operation.
	//
	// Add a shared voice to your collection of voices.
	//
	// POST /v1/voices/add/{public_user_id}/{voice_id}
	AddSharingVoice(ctx context.Context, request *BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost, params AddSharingVoiceParams) (AddSharingVoiceRes, error)
	// AddVoice invokes add_voice operation.
	//
	// Add a new voice to your collection of voices in VoiceLab.
	//
	// POST /v1/voices/add
	AddVoice(ctx context.Context, request *BodyAddVoiceV1VoicesAddPostMultipart, params AddVoiceParams) (AddVoiceRes, error)
	// AudioIsolation invokes audio_isolation operation.
	//
	// Removes background noise from audio.
	//
	// POST /v1/audio-isolation
	AudioIsolation(ctx context.Context, request *BodyAudioIsolationV1AudioIsolationPostMultipart, params AudioIsolationParams) (AudioIsolationRes, error)
	// AudioIsolationStream invokes audio_isolation_stream operation.
	//
	// Removes background noise from audio and streams the result.
	//
	// POST /v1/audio-isolation/stream
	AudioIsolationStream(ctx context.Context, request *BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart, params AudioIsolationStreamParams) (AudioIsolationStreamRes, error)
	// AudioNativeProjectUpdateContentEndpoint invokes audio_native_project_update_content_endpoint operation.
	//
	// Updates content for the specific AudioNative Project.
	//
	// POST /v1/audio-native/{project_id}/content
	AudioNativeProjectUpdateContentEndpoint(ctx context.Context, request OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart, params AudioNativeProjectUpdateContentEndpointParams) (AudioNativeProjectUpdateContentEndpointRes, error)
	// CancelBatchCall invokes cancel_batch_call operation.
	//
	// Cancel a running batch call and set all recipients to cancelled status.
	//
	// POST /v1/convai/batch-calling/{batch_id}/cancel
	CancelBatchCall(ctx context.Context, params CancelBatchCallParams) (CancelBatchCallRes, error)
	// ComposeDetailed invokes compose_detailed operation.
	//
	// Compose a song from a prompt or a composition plan.
	//
	// POST /v1/music/detailed
	ComposeDetailed(ctx context.Context, request OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost, params ComposeDetailedParams) (ComposeDetailedRes, error)
	// ComposePlan invokes compose_plan operation.
	//
	// Generate a composition plan from a prompt.
	//
	// POST /v1/music/plan
	ComposePlan(ctx context.Context, request *BodyGenerateCompositionPlanV1MusicPlanPost, params ComposePlanParams) (ComposePlanRes, error)
	// ConvertChapterEndpoint invokes convert_chapter_endpoint operation.
	//
	// Starts conversion of a specific chapter.
	//
	// POST /v1/studio/projects/{project_id}/chapters/{chapter_id}/convert
	ConvertChapterEndpoint(ctx context.Context, params ConvertChapterEndpointParams) (ConvertChapterEndpointRes, error)
	// ConvertProjectEndpoint invokes convert_project_endpoint operation.
	//
	// Starts conversion of a Studio project and all of its chapters.
	//
	// POST /v1/studio/projects/{project_id}/convert
	ConvertProjectEndpoint(ctx context.Context, params ConvertProjectEndpointParams) (ConvertProjectEndpointRes, error)
	// CreateAgentResponseTestRoute invokes create_agent_response_test_route operation.
	//
	// Creates a new agent response test.
	//
	// POST /v1/convai/agent-testing/create
	CreateAgentResponseTestRoute(ctx context.Context, request *CreateUnitTestRequest, params CreateAgentResponseTestRouteParams) (CreateAgentResponseTestRouteRes, error)
	// CreateAudioNativeProject invokes create_audio_native_project operation.
	//
	// Creates Audio Native enabled project, optionally starts conversion and returns project ID and
	// embeddable HTML snippet.
	//
	// POST /v1/audio-native
	CreateAudioNativeProject(ctx context.Context, request *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart, params CreateAudioNativeProjectParams) (CreateAudioNativeProjectRes, error)
	// CreateBatchCall invokes create_batch_call operation.
	//
	// Submit a batch call request to schedule calls for multiple recipients.
	//
	// POST /v1/convai/batch-calling/submit
	CreateBatchCall(ctx context.Context, request *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost, params CreateBatchCallParams) (CreateBatchCallRes, error)
	// CreateClip invokes create_clip operation.
	//
	// Creates a new segment in dubbing resource with a start and end time for the speaker in every
	// available language. Does not automatically generate transcripts/translations/audio.
	//
	// POST /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}/segment
	CreateClip(ctx context.Context, request *SegmentCreatePayload, params CreateClipParams) (CreateClipRes, error)
	// CreateDubbing invokes create_dubbing operation.
	//
	// Dubs a provided audio or video file into given language.
	//
	// POST /v1/dubbing
	CreateDubbing(ctx context.Context, request OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart, params CreateDubbingParams) (CreateDubbingRes, error)
	// CreateFileDocumentRoute invokes create_file_document_route operation.
	//
	// Create a knowledge base document generated form the uploaded file.
	//
	// POST /v1/convai/knowledge-base/file
	CreateFileDocumentRoute(ctx context.Context, request *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart, params CreateFileDocumentRouteParams) (CreateFileDocumentRouteRes, error)
	// CreatePvcVoice invokes create_pvc_voice operation.
	//
	// Creates a new PVC voice with metadata but no samples.
	//
	// POST /v1/voices/pvc
	CreatePvcVoice(ctx context.Context, request *BodyCreatePVCVoiceV1VoicesPvcPost, params CreatePvcVoiceParams) (CreatePvcVoiceRes, error)
	// CreateSecretRoute invokes create_secret_route operation.
	//
	// Create a new secret for the workspace.
	//
	// POST /v1/convai/secrets
	CreateSecretRoute(ctx context.Context, request *PostWorkspaceSecretRequest, params CreateSecretRouteParams) (CreateSecretRouteRes, error)
	// CreateServiceAccountAPIKey invokes create_service_account_api_key operation.
	//
	// Create a new API key for a service account.
	//
	// POST /v1/service-accounts/{service_account_user_id}/api-keys
	CreateServiceAccountAPIKey(ctx context.Context, request *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost, params CreateServiceAccountAPIKeyParams) (CreateServiceAccountAPIKeyRes, error)
	// CreateSpeaker invokes create_speaker operation.
	//
	// Create A New Speaker.
	//
	// POST /v1/dubbing/resource/{dubbing_id}/speaker
	CreateSpeaker(ctx context.Context, request OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost, params CreateSpeakerParams) (CreateSpeakerRes, error)
	// CreateTextDocumentRoute invokes create_text_document_route operation.
	//
	// Create a knowledge base document containing the provided text.
	//
	// POST /v1/convai/knowledge-base/text
	CreateTextDocumentRoute(ctx context.Context, request *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost, params CreateTextDocumentRouteParams) (CreateTextDocumentRouteRes, error)
	// CreateURLDocumentRoute invokes create_url_document_route operation.
	//
	// Create a knowledge base document generated by scraping the given webpage.
	//
	// POST /v1/convai/knowledge-base/url
	CreateURLDocumentRoute(ctx context.Context, request *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost, params CreateURLDocumentRouteParams) (CreateURLDocumentRouteRes, error)
	// CreateVoice invokes create_voice operation.
	//
	// Create a voice from previously generated voice preview. This endpoint should be called after you
	// fetched a generated_voice_id using POST /v1/text-to-voice/design or POST
	// /v1/text-to-voice/:voice_id/remix.
	//
	// POST /v1/text-to-voice
	CreateVoice(ctx context.Context, request *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost, params CreateVoiceParams) (CreateVoiceRes, error)
	// CreateVoiceOld invokes create_voice_old operation.
	//
	// Create a previously generated voice. This endpoint should be called after you fetched a
	// generated_voice_id using /v1/voice-generation/generate-voice.
	//
	// POST /v1/voice-generation/create-voice
	CreateVoiceOld(ctx context.Context, request *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost, params CreateVoiceOldParams) (CreateVoiceOldRes, error)
	// CreateWorkspaceWebhookRoute invokes create_workspace_webhook_route operation.
	//
	// Create a new webhook for the workspace with the specified authentication type.
	//
	// POST /v1/workspace/webhooks
	CreateWorkspaceWebhookRoute(ctx context.Context, request *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost, params CreateWorkspaceWebhookRouteParams) (CreateWorkspaceWebhookRouteRes, error)
	// DeleteAgentRoute invokes delete_agent_route operation.
	//
	// Delete an agent.
	//
	// DELETE /v1/convai/agents/{agent_id}
	DeleteAgentRoute(ctx context.Context, params DeleteAgentRouteParams) (DeleteAgentRouteRes, error)
	// DeleteChapterEndpoint invokes delete_chapter_endpoint operation.
	//
	// Deletes a chapter.
	//
	// DELETE /v1/studio/projects/{project_id}/chapters/{chapter_id}
	DeleteChapterEndpoint(ctx context.Context, params DeleteChapterEndpointParams) (DeleteChapterEndpointRes, error)
	// DeleteChatResponseTestRoute invokes delete_chat_response_test_route operation.
	//
	// Deletes an agent response test by ID.
	//
	// DELETE /v1/convai/agent-testing/{test_id}
	DeleteChatResponseTestRoute(ctx context.Context, params DeleteChatResponseTestRouteParams) (DeleteChatResponseTestRouteRes, error)
	// DeleteConversationRoute invokes delete_conversation_route operation.
	//
	// Delete a particular conversation.
	//
	// DELETE /v1/convai/conversations/{conversation_id}
	DeleteConversationRoute(ctx context.Context, params DeleteConversationRouteParams) (DeleteConversationRouteRes, error)
	// DeleteDubbing invokes delete_dubbing operation.
	//
	// Deletes a dubbing project.
	//
	// DELETE /v1/dubbing/{dubbing_id}
	DeleteDubbing(ctx context.Context, params DeleteDubbingParams) (DeleteDubbingRes, error)
	// DeleteInvite invokes delete_invite operation.
	//
	// Invalidates an existing email invitation. The invitation will still show up in the inbox it has
	// been delivered to, but activating it to join the workspace won't work. This endpoint may only be
	// called by workspace administrators.
	//
	// DELETE /v1/workspace/invites
	DeleteInvite(ctx context.Context, request *BodyDeleteExistingInvitationV1WorkspaceInvitesDelete, params DeleteInviteParams) (DeleteInviteRes, error)
	// DeleteKnowledgeBaseDocument invokes delete_knowledge_base_document operation.
	//
	// Delete a document from the knowledge base.
	//
	// DELETE /v1/convai/knowledge-base/{documentation_id}
	DeleteKnowledgeBaseDocument(ctx context.Context, params DeleteKnowledgeBaseDocumentParams) (DeleteKnowledgeBaseDocumentRes, error)
	// DeleteMcpServerRoute invokes delete_mcp_server_route operation.
	//
	// Delete a specific MCP server configuration from the workspace.
	//
	// DELETE /v1/convai/mcp-servers/{mcp_server_id}
	DeleteMcpServerRoute(ctx context.Context, params DeleteMcpServerRouteParams) (DeleteMcpServerRouteRes, error)
	// DeletePhoneNumberRoute invokes delete_phone_number_route operation.
	//
	// Delete Phone Number by ID.
	//
	// DELETE /v1/convai/phone-numbers/{phone_number_id}
	DeletePhoneNumberRoute(ctx context.Context, params DeletePhoneNumberRouteParams) (DeletePhoneNumberRouteRes, error)
	// DeleteProject invokes delete_project operation.
	//
	// Deletes a Studio project.
	//
	// DELETE /v1/studio/projects/{project_id}
	DeleteProject(ctx context.Context, params DeleteProjectParams) (DeleteProjectRes, error)
	// DeletePvcVoiceSample invokes delete_pvc_voice_sample operation.
	//
	// Delete a sample from a PVC voice.
	//
	// DELETE /v1/voices/pvc/{voice_id}/samples/{sample_id}
	DeletePvcVoiceSample(ctx context.Context, params DeletePvcVoiceSampleParams) (DeletePvcVoiceSampleRes, error)
	// DeleteRagIndex invokes delete_rag_index operation.
	//
	// Delete RAG index for the knowledgebase document.
	//
	// DELETE /v1/convai/knowledge-base/{documentation_id}/rag-index/{rag_index_id}
	DeleteRagIndex(ctx context.Context, params DeleteRagIndexParams) (DeleteRagIndexRes, error)
	// DeleteSample invokes delete_sample operation.
	//
	// Removes a sample by its ID.
	//
	// DELETE /v1/voices/{voice_id}/samples/{sample_id}
	DeleteSample(ctx context.Context, params DeleteSampleParams) (DeleteSampleRes, error)
	// DeleteSecretRoute invokes delete_secret_route operation.
	//
	// Delete a workspace secret if it's not in use.
	//
	// DELETE /v1/convai/secrets/{secret_id}
	DeleteSecretRoute(ctx context.Context, params DeleteSecretRouteParams) (DeleteSecretRouteRes, error)
	// DeleteSegment invokes delete_segment operation.
	//
	// Deletes a single segment from the dubbing.
	//
	// DELETE /v1/dubbing/resource/{dubbing_id}/segment/{segment_id}
	DeleteSegment(ctx context.Context, params DeleteSegmentParams) (DeleteSegmentRes, error)
	// DeleteServiceAccountAPIKey invokes delete_service_account_api_key operation.
	//
	// Delete an existing API key for a service account.
	//
	// DELETE /v1/service-accounts/{service_account_user_id}/api-keys/{api_key_id}
	DeleteServiceAccountAPIKey(ctx context.Context, params DeleteServiceAccountAPIKeyParams) (DeleteServiceAccountAPIKeyRes, error)
	// DeleteSpeechHistoryItem invokes delete_speech_history_item operation.
	//
	// Delete a history item by its ID.
	//
	// DELETE /v1/history/{history_item_id}
	DeleteSpeechHistoryItem(ctx context.Context, params DeleteSpeechHistoryItemParams) (DeleteSpeechHistoryItemRes, error)
	// DeleteToolRoute invokes delete_tool_route operation.
	//
	// Delete tool from the workspace.
	//
	// DELETE /v1/convai/tools/{tool_id}
	DeleteToolRoute(ctx context.Context, params DeleteToolRouteParams) (DeleteToolRouteRes, error)
	// DeleteTranscriptByID invokes delete_transcript_by_id operation.
	//
	// Delete a previously generated transcript by its ID.
	//
	// DELETE /v1/speech-to-text/transcripts/{transcription_id}
	DeleteTranscriptByID(ctx context.Context, params DeleteTranscriptByIDParams) (DeleteTranscriptByIDRes, error)
	// DeleteVoice invokes delete_voice operation.
	//
	// Deletes a voice by its ID.
	//
	// DELETE /v1/voices/{voice_id}
	DeleteVoice(ctx context.Context, params DeleteVoiceParams) (DeleteVoiceRes, error)
	// DeleteWhatsappAccount invokes delete_whatsapp_account operation.
	//
	// Delete a WhatsApp account.
	//
	// DELETE /v1/convai/whatsapp-accounts/{phone_number_id}
	DeleteWhatsappAccount(ctx context.Context, params DeleteWhatsappAccountParams) (DeleteWhatsappAccountRes, error)
	// DeleteWorkspaceWebhookRoute invokes delete_workspace_webhook_route operation.
	//
	// Delete the specified workspace webhook.
	//
	// DELETE /v1/workspace/webhooks/{webhook_id}
	DeleteWorkspaceWebhookRoute(ctx context.Context, params DeleteWorkspaceWebhookRouteParams) (DeleteWorkspaceWebhookRouteRes, error)
	// DownloadSpeechHistoryItems invokes download_speech_history_items operation.
	//
	// Download one or more history items. If one history item ID is provided, we will return a single
	// audio file. If more than one history item IDs are provided, we will provide the history items
	// packed into a .zip file.
	//
	// POST /v1/history/download
	DownloadSpeechHistoryItems(ctx context.Context, request *BodyDownloadHistoryItemsV1HistoryDownloadPost, params DownloadSpeechHistoryItemsParams) (DownloadSpeechHistoryItemsRes, error)
	// Dub invokes dub operation.
	//
	// Regenerate the dubs for either the entire resource or the specified segments/languages. Will
	// automatically transcribe and translate any missing transcriptions and translations.
	//
	// POST /v1/dubbing/resource/{dubbing_id}/dub
	Dub(ctx context.Context, request *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost, params DubParams) (DubRes, error)
	// DuplicateAgentRoute invokes duplicate_agent_route operation.
	//
	// Create a new agent by duplicating an existing one.
	//
	// POST /v1/convai/agents/{agent_id}/duplicate
	DuplicateAgentRoute(ctx context.Context, request OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost, params DuplicateAgentRouteParams) (DuplicateAgentRouteRes, error)
	// EditProject invokes edit_project operation.
	//
	// Updates the specified Studio project by setting the values of the parameters passed.
	//
	// POST /v1/studio/projects/{project_id}
	EditProject(ctx context.Context, request *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost, params EditProjectParams) (EditProjectRes, error)
	// EditProjectContent invokes edit_project_content operation.
	//
	// Updates Studio project content.
	//
	// POST /v1/studio/projects/{project_id}/content
	EditProjectContent(ctx context.Context, request OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart, params EditProjectContentParams) (EditProjectContentRes, error)
	// EditPvcVoice invokes edit_pvc_voice operation.
	//
	// Edit PVC voice metadata.
	//
	// POST /v1/voices/pvc/{voice_id}
	EditPvcVoice(ctx context.Context, request OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost, params EditPvcVoiceParams) (EditPvcVoiceRes, error)
	// EditPvcVoiceSample invokes edit_pvc_voice_sample operation.
	//
	// Update a PVC voice sample - apply noise removal, select speaker, change trim times or file name.
	//
	// POST /v1/voices/pvc/{voice_id}/samples/{sample_id}
	EditPvcVoiceSample(ctx context.Context, request OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost, params EditPvcVoiceSampleParams) (EditPvcVoiceSampleRes, error)
	// EditServiceAccountAPIKey invokes edit_service_account_api_key operation.
	//
	// Update an existing API key for a service account.
	//
	// PATCH /v1/service-accounts/{service_account_user_id}/api-keys/{api_key_id}
	EditServiceAccountAPIKey(ctx context.Context, request *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch, params EditServiceAccountAPIKeyParams) (EditServiceAccountAPIKeyRes, error)
	// EditVoice invokes edit_voice operation.
	//
	// Edit a voice created by you.
	//
	// POST /v1/voices/{voice_id}/edit
	EditVoice(ctx context.Context, request *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart, params EditVoiceParams) (EditVoiceRes, error)
	// EditVoiceSettings invokes edit_voice_settings operation.
	//
	// Edit your settings for a specific voice. "similarity_boost" corresponds to "Clarity + Similarity
	// Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app.
	//
	// POST /v1/voices/{voice_id}/settings/edit
	EditVoiceSettings(ctx context.Context, request *VoiceSettingsResponseModel, params EditVoiceSettingsParams) (EditVoiceSettingsRes, error)
	// EditWorkspaceWebhookRoute invokes edit_workspace_webhook_route operation.
	//
	// Update the specified workspace webhook.
	//
	// PATCH /v1/workspace/webhooks/{webhook_id}
	EditWorkspaceWebhookRoute(ctx context.Context, request *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch, params EditWorkspaceWebhookRouteParams) (EditWorkspaceWebhookRouteRes, error)
	// ForcedAlignment invokes forced_alignment operation.
	//
	// Force align an audio file to text. Use this endpoint to get the timing information for each
	// character and word in an audio file based on a provided text transcript.
	//
	// POST /v1/forced-alignment
	ForcedAlignment(ctx context.Context, request *BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart, params ForcedAlignmentParams) (ForcedAlignmentRes, error)
	// Generate invokes generate operation.
	//
	// Compose a song from a prompt or a composition plan.
	//
	// POST /v1/music
	Generate(ctx context.Context, request OptBodyComposeMusicV1MusicPost, params GenerateParams) (GenerateRes, error)
	// GenerateRandomVoice invokes generate_random_voice operation.
	//
	// Generate a random voice based on parameters. This method returns a generated_voice_id in the
	// response header, and a sample of the voice in the body. If you like the generated voice call
	// /v1/voice-generation/create-voice with the generated_voice_id to create the voice.
	//
	// POST /v1/voice-generation/generate-voice
	GenerateRandomVoice(ctx context.Context, request *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost, params GenerateRandomVoiceParams) (GenerateRandomVoiceRes, error)
	// GetAgentKnowledgeBaseSize invokes get_agent_knowledge_base_size operation.
	//
	// Returns the number of pages in the agent's knowledge base.
	//
	// GET /v1/convai/agent/{agent_id}/knowledge-base/size
	GetAgentKnowledgeBaseSize(ctx context.Context, params GetAgentKnowledgeBaseSizeParams) (GetAgentKnowledgeBaseSizeRes, error)
	// GetAgentKnowledgeBaseSummariesRoute invokes get_agent_knowledge_base_summaries_route operation.
	//
	// Gets multiple knowledge base document summaries by their IDs.
	//
	// GET /v1/convai/knowledge-base/summaries
	GetAgentKnowledgeBaseSummariesRoute(ctx context.Context, params GetAgentKnowledgeBaseSummariesRouteParams) (GetAgentKnowledgeBaseSummariesRouteRes, error)
	// GetAgentLinkRoute invokes get_agent_link_route operation.
	//
	// Get the current link used to share the agent with others.
	//
	// GET /v1/convai/agents/{agent_id}/link
	GetAgentLinkRoute(ctx context.Context, params GetAgentLinkRouteParams) (GetAgentLinkRouteRes, error)
	// GetAgentLlmExpectedCostCalculation invokes get_agent_llm_expected_cost_calculation operation.
	//
	// Calculates expected number of LLM tokens needed for the specified agent.
	//
	// POST /v1/convai/agent/{agent_id}/llm-usage/calculate
	GetAgentLlmExpectedCostCalculation(ctx context.Context, request *LLMUsageCalculatorRequestModel, params GetAgentLlmExpectedCostCalculationParams) (GetAgentLlmExpectedCostCalculationRes, error)
	// GetAgentResponseTestRoute invokes get_agent_response_test_route operation.
	//
	// Gets an agent response test by ID.
	//
	// GET /v1/convai/agent-testing/{test_id}
	GetAgentResponseTestRoute(ctx context.Context, params GetAgentResponseTestRouteParams) (GetAgentResponseTestRouteRes, error)
	// GetAgentResponseTestsSummariesRoute invokes get_agent_response_tests_summaries_route operation.
	//
	// Gets multiple agent response tests by their IDs. Returns a dictionary mapping test IDs to test
	// summaries.
	//
	// POST /v1/convai/agent-testing/summaries
	GetAgentResponseTestsSummariesRoute(ctx context.Context, request *ListTestsByIdsRequestModel, params GetAgentResponseTestsSummariesRouteParams) (GetAgentResponseTestsSummariesRouteRes, error)
	// GetAgentsRoute invokes get_agents_route operation.
	//
	// Returns a list of your agents and their metadata.
	//
	// GET /v1/convai/agents
	GetAgentsRoute(ctx context.Context, params GetAgentsRouteParams) (GetAgentsRouteRes, error)
	// GetAudioFromSample invokes get_audio_from_sample operation.
	//
	// Returns the audio corresponding to a sample attached to a voice.
	//
	// GET /v1/voices/{voice_id}/samples/{sample_id}/audio
	GetAudioFromSample(ctx context.Context, params GetAudioFromSampleParams) (GetAudioFromSampleRes, error)
	// GetAudioFullFromSpeechHistoryItem invokes get_audio_full_from_speech_history_item operation.
	//
	// Returns the audio of an history item.
	//
	// GET /v1/history/{history_item_id}/audio
	GetAudioFullFromSpeechHistoryItem(ctx context.Context, params GetAudioFullFromSpeechHistoryItemParams) (GetAudioFullFromSpeechHistoryItemRes, error)
	// GetAudioNativeProjectSettingsEndpoint invokes get_audio_native_project_settings_endpoint operation.
	//
	// Get player settings for the specific project.
	//
	// GET /v1/audio-native/{project_id}/settings
	GetAudioNativeProjectSettingsEndpoint(ctx context.Context, params GetAudioNativeProjectSettingsEndpointParams) (GetAudioNativeProjectSettingsEndpointRes, error)
	// GetBatchCall invokes get_batch_call operation.
	//
	// Get detailed information about a batch call including all recipients.
	//
	// GET /v1/convai/batch-calling/{batch_id}
	GetBatchCall(ctx context.Context, params GetBatchCallParams) (GetBatchCallRes, error)
	// GetChapterSnapshotEndpoint invokes get_chapter_snapshot_endpoint operation.
	//
	// Returns the chapter snapshot.
	//
	// GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id}
	GetChapterSnapshotEndpoint(ctx context.Context, params GetChapterSnapshotEndpointParams) (GetChapterSnapshotEndpointRes, error)
	// GetChapterSnapshots invokes get_chapter_snapshots operation.
	//
	// Gets information about all the snapshots of a chapter. Each snapshot can be downloaded as audio.
	// Whenever a chapter is converted a snapshot will automatically be created.
	//
	// GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots
	GetChapterSnapshots(ctx context.Context, params GetChapterSnapshotsParams) (GetChapterSnapshotsRes, error)
	// GetChapters invokes get_chapters operation.
	//
	// Returns a list of a Studio project's chapters.
	//
	// GET /v1/studio/projects/{project_id}/chapters
	GetChapters(ctx context.Context, params GetChaptersParams) (GetChaptersRes, error)
	// GetConversationAudioRoute invokes get_conversation_audio_route operation.
	//
	// Get the audio recording of a particular conversation.
	//
	// GET /v1/convai/conversations/{conversation_id}/audio
	GetConversationAudioRoute(ctx context.Context, params GetConversationAudioRouteParams) (GetConversationAudioRouteRes, error)
	// GetConversationHistoriesRoute invokes get_conversation_histories_route operation.
	//
	// Get all conversations of agents that user owns. With option to restrict to a specific agent.
	//
	// GET /v1/convai/conversations
	GetConversationHistoriesRoute(ctx context.Context, params GetConversationHistoriesRouteParams) (GetConversationHistoriesRouteRes, error)
	// GetConversationHistoryRoute invokes get_conversation_history_route operation.
	//
	// Get the details of a particular conversation.
	//
	// GET /v1/convai/conversations/{conversation_id}
	GetConversationHistoryRoute(ctx context.Context, params GetConversationHistoryRouteParams) (GetConversationHistoryRouteRes, error)
	// GetConversationSignedLink invokes get_conversation_signed_link operation.
	//
	// Get a signed url to start a conversation with an agent with an agent that requires authorization.
	//
	// GET /v1/convai/conversation/get-signed-url
	GetConversationSignedLink(ctx context.Context, params GetConversationSignedLinkParams) (GetConversationSignedLinkRes, error)
	// GetDashboardSettingsRoute invokes get_dashboard_settings_route operation.
	//
	// Retrieve Convai dashboard settings for the workspace.
	//
	// GET /v1/convai/settings/dashboard
	GetDashboardSettingsRoute(ctx context.Context, params GetDashboardSettingsRouteParams) (GetDashboardSettingsRouteRes, error)
	// GetDocumentationChunkFromKnowledgeBase invokes get_documentation_chunk_from_knowledge_base operation.
	//
	// Get details about a specific documentation part used by RAG.
	//
	// GET /v1/convai/knowledge-base/{documentation_id}/chunk/{chunk_id}
	GetDocumentationChunkFromKnowledgeBase(ctx context.Context, params GetDocumentationChunkFromKnowledgeBaseParams) (GetDocumentationChunkFromKnowledgeBaseRes, error)
	// GetDocumentationFromKnowledgeBase invokes get_documentation_from_knowledge_base operation.
	//
	// Get details about a specific documentation making up the agent's knowledge base.
	//
	// GET /v1/convai/knowledge-base/{documentation_id}
	GetDocumentationFromKnowledgeBase(ctx context.Context, params GetDocumentationFromKnowledgeBaseParams) (GetDocumentationFromKnowledgeBaseRes, error)
	// GetDubbedFile invokes get_dubbed_file operation.
	//
	// Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you
	// need to use the resource render endpoint as this endpoint only returns the original automatic dub
	// result.
	//
	// GET /v1/dubbing/{dubbing_id}/audio/{language_code}
	GetDubbedFile(ctx context.Context, params GetDubbedFileParams) (GetDubbedFileRes, error)
	// GetDubbedMetadata invokes get_dubbed_metadata operation.
	//
	// Returns metadata about a dubbing project, including whether it's still in progress or not.
	//
	// GET /v1/dubbing/{dubbing_id}
	GetDubbedMetadata(ctx context.Context, params GetDubbedMetadataParams) (GetDubbedMetadataRes, error)
	// GetDubbedTranscriptFile invokes get_dubbed_transcript_file operation.
	//
	// Returns transcript for the dub as an SRT or WEBVTT file.
	//
	// GET /v1/dubbing/{dubbing_id}/transcript/{language_code}
	GetDubbedTranscriptFile(ctx context.Context, params GetDubbedTranscriptFileParams) (GetDubbedTranscriptFileRes, error)
	// GetDubbingResource invokes get_dubbing_resource operation.
	//
	// Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the
	// dubbing resource.
	//
	// GET /v1/dubbing/resource/{dubbing_id}
	GetDubbingResource(ctx context.Context, params GetDubbingResourceParams) (GetDubbingResourceRes, error)
	// GetGenerateVoiceParameters invokes get_generate_voice_parameters operation.
	//
	// Get possible parameters for the /v1/voice-generation/generate-voice endpoint.
	//
	// GET /v1/voice-generation/generate-voice/parameters
	GetGenerateVoiceParameters(ctx context.Context) (*VoiceGenerationParameterResponseModel, error)
	// GetKnowledgeBaseContent invokes get_knowledge_base_content operation.
	//
	// Get the entire content of a document from the knowledge base.
	//
	// GET /v1/convai/knowledge-base/{documentation_id}/content
	GetKnowledgeBaseContent(ctx context.Context, params GetKnowledgeBaseContentParams) (GetKnowledgeBaseContentRes, error)
	// GetKnowledgeBaseDependentAgents invokes get_knowledge_base_dependent_agents operation.
	//
	// Get a list of agents depending on this knowledge base document.
	//
	// GET /v1/convai/knowledge-base/{documentation_id}/dependent-agents
	GetKnowledgeBaseDependentAgents(ctx context.Context, params GetKnowledgeBaseDependentAgentsParams) (GetKnowledgeBaseDependentAgentsRes, error)
	// GetKnowledgeBaseListRoute invokes get_knowledge_base_list_route operation.
	//
	// Get a list of available knowledge base documents.
	//
	// GET /v1/convai/knowledge-base
	GetKnowledgeBaseListRoute(ctx context.Context, params GetKnowledgeBaseListRouteParams) (GetKnowledgeBaseListRouteRes, error)
	// GetLibraryVoices invokes get_library_voices operation.
	//
	// Retrieves a list of shared voices.
	//
	// GET /v1/shared-voices
	GetLibraryVoices(ctx context.Context, params GetLibraryVoicesParams) (GetLibraryVoicesRes, error)
	// GetLiveCount invokes get_live_count operation.
	//
	// Get the live count of the ongoing conversations.
	//
	// GET /v1/convai/analytics/live-count
	GetLiveCount(ctx context.Context, params GetLiveCountParams) (GetLiveCountRes, error)
	// GetLivekitToken invokes get_livekit_token operation.
	//
	// Get a WebRTC session token for real-time communication.
	//
	// GET /v1/convai/conversation/token
	GetLivekitToken(ctx context.Context, params GetLivekitTokenParams) (GetLivekitTokenRes, error)
	// GetMcpToolConfigOverrideRoute invokes get_mcp_tool_config_override_route operation.
	//
	// Retrieve configuration overrides for a specific MCP tool.
	//
	// GET /v1/convai/mcp-servers/{mcp_server_id}/tool-configs/{tool_name}
	GetMcpToolConfigOverrideRoute(ctx context.Context, params GetMcpToolConfigOverrideRouteParams) (GetMcpToolConfigOverrideRouteRes, error)
	// GetModels invokes get_models operation.
	//
	// Gets a list of available models.
	//
	// GET /v1/models
	GetModels(ctx context.Context, params GetModelsParams) (GetModelsRes, error)
	// GetOrCreateRagIndexes invokes get_or_create_rag_indexes operation.
	//
	// Retrieves and/or creates RAG indexes for multiple knowledge base documents in a single request.
	//
	// POST /v1/convai/knowledge-base/rag-index
	GetOrCreateRagIndexes(ctx context.Context, request *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost, params GetOrCreateRagIndexesParams) (GetOrCreateRagIndexesRes, error)
	// GetPhoneNumberRoute invokes get_phone_number_route operation.
	//
	// Retrieve Phone Number details by ID.
	//
	// GET /v1/convai/phone-numbers/{phone_number_id}
	GetPhoneNumberRoute(ctx context.Context, params GetPhoneNumberRouteParams) (GetPhoneNumberRouteRes, error)
	// GetProjectSnapshotEndpoint invokes get_project_snapshot_endpoint operation.
	//
	// Returns the project snapshot.
	//
	// GET /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}
	GetProjectSnapshotEndpoint(ctx context.Context, params GetProjectSnapshotEndpointParams) (GetProjectSnapshotEndpointRes, error)
	// GetProjectSnapshots invokes get_project_snapshots operation.
	//
	// Retrieves a list of snapshots for a Studio project.
	//
	// GET /v1/studio/projects/{project_id}/snapshots
	GetProjectSnapshots(ctx context.Context, params GetProjectSnapshotsParams) (GetProjectSnapshotsRes, error)
	// GetProjects invokes get_projects operation.
	//
	// Returns a list of your Studio projects with metadata.
	//
	// GET /v1/studio/projects
	GetProjects(ctx context.Context, params GetProjectsParams) (GetProjectsRes, error)
	// GetPronunciationDictionariesMetadata invokes get_pronunciation_dictionaries_metadata operation.
	//
	// Get a list of the pronunciation dictionaries you have access to and their metadata.
	//
	// GET /v1/pronunciation-dictionaries
	GetPronunciationDictionariesMetadata(ctx context.Context, params GetPronunciationDictionariesMetadataParams) (GetPronunciationDictionariesMetadataRes, error)
	// GetPronunciationDictionaryMetadata invokes get_pronunciation_dictionary_metadata operation.
	//
	// Get metadata for a pronunciation dictionary.
	//
	// GET /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}
	GetPronunciationDictionaryMetadata(ctx context.Context, params GetPronunciationDictionaryMetadataParams) (GetPronunciationDictionaryMetadataRes, error)
	// GetPronunciationDictionaryVersionPls invokes get_pronunciation_dictionary_version_pls operation.
	//
	// Get a PLS file with a pronunciation dictionary version rules.
	//
	// GET /v1/pronunciation-dictionaries/{dictionary_id}/{version_id}/download
	GetPronunciationDictionaryVersionPls(ctx context.Context, params GetPronunciationDictionaryVersionPlsParams) (GetPronunciationDictionaryVersionPlsRes, error)
	// GetPublicLlmExpectedCostCalculation invokes get_public_llm_expected_cost_calculation operation.
	//
	// Returns a list of LLM models and the expected cost for using them based on the provided values.
	//
	// POST /v1/convai/llm-usage/calculate
	GetPublicLlmExpectedCostCalculation(ctx context.Context, request *LLMUsageCalculatorPublicRequestModel) (GetPublicLlmExpectedCostCalculationRes, error)
	// GetPvcSampleAudio invokes get_pvc_sample_audio operation.
	//
	// Retrieve the first 30 seconds of voice sample audio with or without noise removal.
	//
	// GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/audio
	GetPvcSampleAudio(ctx context.Context, params GetPvcSampleAudioParams) (GetPvcSampleAudioRes, error)
	// GetPvcSampleSpeakers invokes get_pvc_sample_speakers operation.
	//
	// Retrieve the status of the speaker separation process and the list of detected speakers if
	// complete.
	//
	// GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/speakers
	GetPvcSampleSpeakers(ctx context.Context, params GetPvcSampleSpeakersParams) (GetPvcSampleSpeakersRes, error)
	// GetPvcSampleVisualWaveform invokes get_pvc_sample_visual_waveform operation.
	//
	// Retrieve the visual waveform of a voice sample.
	//
	// GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/waveform
	GetPvcSampleVisualWaveform(ctx context.Context, params GetPvcSampleVisualWaveformParams) (GetPvcSampleVisualWaveformRes, error)
	// GetPvcVoiceCaptcha invokes get_pvc_voice_captcha operation.
	//
	// Get captcha for PVC voice verification.
	//
	// GET /v1/voices/pvc/{voice_id}/captcha
	GetPvcVoiceCaptcha(ctx context.Context, params GetPvcVoiceCaptchaParams) (GetPvcVoiceCaptchaRes, error)
	// GetRagIndexOverview invokes get_rag_index_overview operation.
	//
	// Provides total size and other information of RAG indexes used by knowledgebase documents.
	//
	// GET /v1/convai/knowledge-base/rag-index
	GetRagIndexOverview(ctx context.Context, params GetRagIndexOverviewParams) (GetRagIndexOverviewRes, error)
	// GetRagIndexes invokes get_rag_indexes operation.
	//
	// Provides information about all RAG indexes of the specified knowledgebase document.
	//
	// GET /v1/convai/knowledge-base/{documentation_id}/rag-index
	GetRagIndexes(ctx context.Context, params GetRagIndexesParams) (GetRagIndexesRes, error)
	// GetResourceMetadata invokes get_resource_metadata operation.
	//
	// Gets the metadata of a resource by ID.
	//
	// GET /v1/workspace/resources/{resource_id}
	GetResourceMetadata(ctx context.Context, params GetResourceMetadataParams) (GetResourceMetadataRes, error)
	// GetSecretsRoute invokes get_secrets_route operation.
	//
	// Get all workspace secrets for the user.
	//
	// GET /v1/convai/secrets
	GetSecretsRoute(ctx context.Context, params GetSecretsRouteParams) (GetSecretsRouteRes, error)
	// GetServiceAccountAPIKeysRoute invokes get_service_account_api_keys_route operation.
	//
	// Get all API keys for a service account.
	//
	// GET /v1/service-accounts/{service_account_user_id}/api-keys
	GetServiceAccountAPIKeysRoute(ctx context.Context, params GetServiceAccountAPIKeysRouteParams) (GetServiceAccountAPIKeysRouteRes, error)
	// GetSettingsRoute invokes get_settings_route operation.
	//
	// Retrieve Convai settings for the workspace.
	//
	// GET /v1/convai/settings
	GetSettingsRoute(ctx context.Context, params GetSettingsRouteParams) (GetSettingsRouteRes, error)
	// GetSignedURLDeprecated invokes get_signed_url_deprecated operation.
	//
	// Get a signed url to start a conversation with an agent with an agent that requires authorization.
	//
	// Deprecated: schema marks this operation as deprecated.
	//
	// GET /v1/convai/conversation/get_signed_url
	GetSignedURLDeprecated(ctx context.Context, params GetSignedURLDeprecatedParams) (GetSignedURLDeprecatedRes, error)
	// GetSimilarLibraryVoices invokes get_similar_library_voices operation.
	//
	// Returns a list of shared voices similar to the provided audio sample. If neither
	// similarity_threshold nor top_k is provided, we will apply default values.
	//
	// POST /v1/similar-voices
	GetSimilarLibraryVoices(ctx context.Context, request OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart, params GetSimilarLibraryVoicesParams) (GetSimilarLibraryVoicesRes, error)
	// GetSimilarVoicesForSpeaker invokes get_similar_voices_for_speaker operation.
	//
	// Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and,
	// where possible, a sample audio recording.
	//
	// GET /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}/similar-voices
	GetSimilarVoicesForSpeaker(ctx context.Context, params GetSimilarVoicesForSpeakerParams) (GetSimilarVoicesForSpeakerRes, error)
	// GetSingleUseToken invokes get_single_use_token operation.
	//
	// Generate a time limited single-use token with embedded authentication for frontend clients.
	//
	// POST /v1/single-use-token/{token_type}
	GetSingleUseToken(ctx context.Context, params GetSingleUseTokenParams) (GetSingleUseTokenRes, error)
	// GetSpeakerAudio invokes get_speaker_audio operation.
	//
	// Retrieve the separated audio for a specific speaker.
	//
	// GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/speakers/{speaker_id}/audio
	GetSpeakerAudio(ctx context.Context, params GetSpeakerAudioParams) (GetSpeakerAudioRes, error)
	// GetSpeechHistory invokes get_speech_history operation.
	//
	// Returns a list of your generated audio.
	//
	// GET /v1/history
	GetSpeechHistory(ctx context.Context, params GetSpeechHistoryParams) (GetSpeechHistoryRes, error)
	// GetSpeechHistoryItemByID invokes get_speech_history_item_by_id operation.
	//
	// Retrieves a history item.
	//
	// GET /v1/history/{history_item_id}
	GetSpeechHistoryItemByID(ctx context.Context, params GetSpeechHistoryItemByIDParams) (GetSpeechHistoryItemByIDRes, error)
	// GetTestInvocationRoute invokes get_test_invocation_route operation.
	//
	// Gets a test invocation by ID.
	//
	// GET /v1/convai/test-invocations/{test_invocation_id}
	GetTestInvocationRoute(ctx context.Context, params GetTestInvocationRouteParams) (GetTestInvocationRouteRes, error)
	// GetToolDependentAgentsRoute invokes get_tool_dependent_agents_route operation.
	//
	// Get a list of agents depending on this tool.
	//
	// GET /v1/convai/tools/{tool_id}/dependent-agents
	GetToolDependentAgentsRoute(ctx context.Context, params GetToolDependentAgentsRouteParams) (GetToolDependentAgentsRouteRes, error)
	// GetTranscriptByID invokes get_transcript_by_id operation.
	//
	// Retrieve a previously generated transcript by its ID.
	//
	// GET /v1/speech-to-text/transcripts/{transcription_id}
	GetTranscriptByID(ctx context.Context, params GetTranscriptByIDParams) (GetTranscriptByIDRes, error)
	// GetUserInfo invokes get_user_info operation.
	//
	// Gets information about the user.
	//
	// GET /v1/user
	GetUserInfo(ctx context.Context, params GetUserInfoParams) (GetUserInfoRes, error)
	// GetUserVoicesV2 invokes get_user_voices_v2 operation.
	//
	// Gets a list of all available voices for a user with search, filtering and pagination.
	//
	// GET /v2/voices
	GetUserVoicesV2(ctx context.Context, params GetUserVoicesV2Params) (GetUserVoicesV2Res, error)
	// GetVoiceByID invokes get_voice_by_id operation.
	//
	// Returns metadata about a specific voice.
	//
	// GET /v1/voices/{voice_id}
	GetVoiceByID(ctx context.Context, params GetVoiceByIDParams) (GetVoiceByIDRes, error)
	// GetVoiceSettings invokes get_voice_settings operation.
	//
	// Returns the settings for a specific voice. "similarity_boost" corresponds to"Clarity + Similarity
	// Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app.
	//
	// GET /v1/voices/{voice_id}/settings
	GetVoiceSettings(ctx context.Context, params GetVoiceSettingsParams) (GetVoiceSettingsRes, error)
	// GetVoiceSettingsDefault invokes get_voice_settings_default operation.
	//
	// Gets the default settings for voices. "similarity_boost" corresponds to"Clarity + Similarity
	// Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app.
	//
	// GET /v1/voices/settings/default
	GetVoiceSettingsDefault(ctx context.Context) (*VoiceSettingsResponseModel, error)
	// GetVoices invokes get_voices operation.
	//
	// Returns a list of all available voices for a user.
	//
	// GET /v1/voices
	GetVoices(ctx context.Context, params GetVoicesParams) (GetVoicesRes, error)
	// GetWhatsappAccount invokes get_whatsapp_account operation.
	//
	// Get a WhatsApp account.
	//
	// GET /v1/convai/whatsapp-accounts/{phone_number_id}
	GetWhatsappAccount(ctx context.Context, params GetWhatsappAccountParams) (GetWhatsappAccountRes, error)
	// GetWorkspaceBatchCalls invokes get_workspace_batch_calls operation.
	//
	// Get all batch calls for the current workspace.
	//
	// GET /v1/convai/batch-calling/workspace
	GetWorkspaceBatchCalls(ctx context.Context, params GetWorkspaceBatchCallsParams) (GetWorkspaceBatchCallsRes, error)
	// GetWorkspaceServiceAccounts invokes get_workspace_service_accounts operation.
	//
	// List all service accounts in the workspace.
	//
	// GET /v1/service-accounts
	GetWorkspaceServiceAccounts(ctx context.Context, params GetWorkspaceServiceAccountsParams) (GetWorkspaceServiceAccountsRes, error)
	// GetWorkspaceWebhooksRoute invokes get_workspace_webhooks_route operation.
	//
	// List all webhooks for a workspace.
	//
	// GET /v1/workspace/webhooks
	GetWorkspaceWebhooksRoute(ctx context.Context, params GetWorkspaceWebhooksRouteParams) (GetWorkspaceWebhooksRouteRes, error)
	// HandleSipTrunkOutboundCall invokes handle_sip_trunk_outbound_call operation.
	//
	// Handle an outbound call via SIP trunk.
	//
	// POST /v1/convai/sip-trunk/outbound-call
	HandleSipTrunkOutboundCall(ctx context.Context, request *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost, params HandleSipTrunkOutboundCallParams) (HandleSipTrunkOutboundCallRes, error)
	// HandleTwilioOutboundCall invokes handle_twilio_outbound_call operation.
	//
	// Handle an outbound call via Twilio.
	//
	// POST /v1/convai/twilio/outbound-call
	HandleTwilioOutboundCall(ctx context.Context, request *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost, params HandleTwilioOutboundCallParams) (HandleTwilioOutboundCallRes, error)
	// ImportWhatsappAccount invokes import_whatsapp_account operation.
	//
	// Import a WhatsApp account.
	//
	// POST /v1/convai/whatsapp-accounts
	ImportWhatsappAccount(ctx context.Context, request *ImportWhatsAppAccountRequest, params ImportWhatsappAccountParams) (ImportWhatsappAccountRes, error)
	// InviteUser invokes invite_user operation.
	//
	// Sends an email invitation to join your workspace to the provided email. If the user doesn't have
	// an account they will be prompted to create one. If the user accepts this invite they will be added
	// as a user to your workspace and your subscription using one of your seats. This endpoint may only
	// be called by workspace administrators. If the user is already in the workspace a 400 error will be
	// returned.
	//
	// POST /v1/workspace/invites/add
	InviteUser(ctx context.Context, request *BodyInviteUserV1WorkspaceInvitesAddPost, params InviteUserParams) (InviteUserRes, error)
	// InviteUsersBulk invokes invite_users_bulk operation.
	//
	// Sends email invitations to join your workspace to the provided emails. Requires all email
	// addresses to be part of a verified domain. If the users don't have an account they will be
	// prompted to create one. If the users accept these invites they will be added as users to your
	// workspace and your subscription using one of your seats. This endpoint may only be called by
	// workspace administrators.
	//
	// POST /v1/workspace/invites/add-bulk
	InviteUsersBulk(ctx context.Context, request *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost, params InviteUsersBulkParams) (InviteUsersBulkRes, error)
	// ListChatResponseTestsRoute invokes list_chat_response_tests_route operation.
	//
	// Lists all agent response tests with pagination support and optional search filtering.
	//
	// GET /v1/convai/agent-testing
	ListChatResponseTestsRoute(ctx context.Context, params ListChatResponseTestsRouteParams) (ListChatResponseTestsRouteRes, error)
	// ListDubs invokes list_dubs operation.
	//
	// List the dubs you have access to.
	//
	// GET /v1/dubbing
	ListDubs(ctx context.Context, params ListDubsParams) (ListDubsRes, error)
	// ListMcpServerToolsRoute invokes list_mcp_server_tools_route operation.
	//
	// Retrieve all tools available for a specific MCP server configuration.
	//
	// GET /v1/convai/mcp-servers/{mcp_server_id}/tools
	ListMcpServerToolsRoute(ctx context.Context, params ListMcpServerToolsRouteParams) (ListMcpServerToolsRouteRes, error)
	// ListPhoneNumbersRoute invokes list_phone_numbers_route operation.
	//
	// Retrieve all Phone Numbers.
	//
	// GET /v1/convai/phone-numbers
	ListPhoneNumbersRoute(ctx context.Context, params ListPhoneNumbersRouteParams) (ListPhoneNumbersRouteRes, error)
	// ListTestInvocationsRoute invokes list_test_invocations_route operation.
	//
	// Lists all test invocations with pagination support and optional search filtering.
	//
	// GET /v1/convai/test-invocations
	ListTestInvocationsRoute(ctx context.Context, params ListTestInvocationsRouteParams) (ListTestInvocationsRouteRes, error)
	// ListWhatsappAccounts invokes list_whatsapp_accounts operation.
	//
	// List all WhatsApp accounts.
	//
	// GET /v1/convai/whatsapp-accounts
	ListWhatsappAccounts(ctx context.Context, params ListWhatsappAccountsParams) (ListWhatsappAccountsRes, error)
	// MigrateSegments invokes migrate_segments operation.
	//
	// Change the attribution of one or more segments to a different speaker.
	//
	// POST /v1/dubbing/resource/{dubbing_id}/migrate-segments
	MigrateSegments(ctx context.Context, request *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost, params MigrateSegmentsParams) (MigrateSegmentsRes, error)
	// PatchPronunciationDictionary invokes patch_pronunciation_dictionary operation.
	//
	// Partially update the pronunciation dictionary without changing the version.
	//
	// PATCH /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}
	PatchPronunciationDictionary(ctx context.Context, request OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch, params PatchPronunciationDictionaryParams) (PatchPronunciationDictionaryRes, error)
	// PostAgentAvatarRoute invokes post_agent_avatar_route operation.
	//
	// Sets the avatar for an agent displayed in the widget.
	//
	// POST /v1/convai/agents/{agent_id}/avatar
	PostAgentAvatarRoute(ctx context.Context, request *BodyPostAgentAvatarV1ConvaiAgentsAgentIDAvatarPostMultipart, params PostAgentAvatarRouteParams) (PostAgentAvatarRouteRes, error)
	// PostConversationFeedbackRoute invokes post_conversation_feedback_route operation.
	//
	// Send the feedback for the given conversation.
	//
	// POST /v1/convai/conversations/{conversation_id}/feedback
	PostConversationFeedbackRoute(ctx context.Context, request *ConversationFeedbackRequestModel, params PostConversationFeedbackRouteParams) (PostConversationFeedbackRouteRes, error)
	// RagIndexStatus invokes rag_index_status operation.
	//
	// In case the document is not RAG indexed, it triggers rag indexing task, otherwise it just returns
	// the current status.
	//
	// POST /v1/convai/knowledge-base/{documentation_id}/rag-index
	RagIndexStatus(ctx context.Context, request *RAGIndexRequestModel, params RagIndexStatusParams) (RagIndexStatusRes, error)
	// RedirectToMintlify invokes redirect_to_mintlify operation.
	//
	// Redirect To Mintlify.
	//
	// GET /docs
	RedirectToMintlify(ctx context.Context) (jx.Raw, error)
	// RegisterTwilioCall invokes register_twilio_call operation.
	//
	// Register a Twilio call and return TwiML to connect the call.
	//
	// POST /v1/convai/twilio/register-call
	RegisterTwilioCall(ctx context.Context, request *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost, params RegisterTwilioCallParams) (RegisterTwilioCallRes, error)
	// RemoveMember invokes remove_member operation.
	//
	// Removes a member from the specified group. This endpoint may only be called by workspace
	// administrators.
	//
	// POST /v1/workspace/groups/{group_id}/members/remove
	RemoveMember(ctx context.Context, request *BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost, params RemoveMemberParams) (RemoveMemberRes, error)
	// RemoveRules invokes remove_rules operation.
	//
	// Remove rules from the pronunciation dictionary.
	//
	// POST /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/remove-rules
	RemoveRules(ctx context.Context, request *BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost, params RemoveRulesParams) (RemoveRulesRes, error)
	// RequestPvcManualVerification invokes request_pvc_manual_verification operation.
	//
	// Request manual verification for a PVC voice.
	//
	// POST /v1/voices/pvc/{voice_id}/verification
	RequestPvcManualVerification(ctx context.Context, request *BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart, params RequestPvcManualVerificationParams) (RequestPvcManualVerificationRes, error)
	// RetryBatchCall invokes retry_batch_call operation.
	//
	// Retry a batch call, calling failed and no-response recipients again.
	//
	// POST /v1/convai/batch-calling/{batch_id}/retry
	RetryBatchCall(ctx context.Context, params RetryBatchCallParams) (RetryBatchCallRes, error)
	// RunPvcVoiceTraining invokes run_pvc_voice_training operation.
	//
	// Start PVC training process for a voice.
	//
	// POST /v1/voices/pvc/{voice_id}/train
	RunPvcVoiceTraining(ctx context.Context, request OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost, params RunPvcVoiceTrainingParams) (RunPvcVoiceTrainingRes, error)
	// SearchGroups invokes search_groups operation.
	//
	// Searches for user groups in the workspace. Multiple or no groups may be returned.
	//
	// GET /v1/workspace/groups/search
	SearchGroups(ctx context.Context, params SearchGroupsParams) (SearchGroupsRes, error)
	// SeparateSongStems invokes separate_song_stems operation.
	//
	// Separate an audio file into individual stems. This endpoint might have high latency, depending on
	// the length of the audio file.
	//
	// POST /v1/music/stem-separation
	SeparateSongStems(ctx context.Context, request *BodyStemSeparationV1MusicStemSeparationPostMultipart, params SeparateSongStemsParams) (SeparateSongStemsRes, error)
	// ShareResourceEndpoint invokes share_resource_endpoint operation.
	//
	// Grants a role on a workspace resource to a user or a group. It overrides any existing role this
	// user/service account/group/workspace api key has on the resource. To target a user or service
	// account, pass only the user email. The user must be in your workspace. To target a group, pass
	// only the group id. To target a workspace api key, pass the api key id. The resource will be shared
	// with the service account associated with the api key. You must have admin access to the resource
	// to share it.
	//
	// POST /v1/workspace/resources/{resource_id}/share
	ShareResourceEndpoint(ctx context.Context, request *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost, params ShareResourceEndpointParams) (ShareResourceEndpointRes, error)
	// SoundGeneration invokes sound_generation operation.
	//
	// Turn text into sound effects for your videos, voice-overs or video games using the most advanced
	// sound effects models in the world.
	//
	// POST /v1/sound-generation
	SoundGeneration(ctx context.Context, request *BodySoundGenerationV1SoundGenerationPost, params SoundGenerationParams) (SoundGenerationRes, error)
	// SpeechToSpeechFull invokes speech_to_speech_full operation.
	//
	// Transform audio from one voice to another. Maintain full control over emotion, timing and delivery.
	//
	// POST /v1/speech-to-speech/{voice_id}
	SpeechToSpeechFull(ctx context.Context, request *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart, params SpeechToSpeechFullParams) (SpeechToSpeechFullRes, error)
	// SpeechToSpeechStream invokes speech_to_speech_stream operation.
	//
	// Stream audio from one voice to another. Maintain full control over emotion, timing and delivery.
	//
	// POST /v1/speech-to-speech/{voice_id}/stream
	SpeechToSpeechStream(ctx context.Context, request *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart, params SpeechToSpeechStreamParams) (SpeechToSpeechStreamRes, error)
	// SpeechToText invokes speech_to_text operation.
	//
	// Transcribe an audio or video file. If webhook is set to true, the request will be processed
	// asynchronously and results sent to configured webhooks. When use_multi_channel is true and the
	// provided audio has multiple channels, a 'transcripts' object with separate transcripts for each
	// channel is returned. Otherwise, returns a single transcript. The optional webhook_metadata
	// parameter allows you to attach custom data that will be included in webhook responses for request
	// correlation and tracking.
	//
	// POST /v1/speech-to-text
	SpeechToText(ctx context.Context, request *BodySpeechToTextV1SpeechToTextPostMultipart, params SpeechToTextParams) (SpeechToTextRes, error)
	// StartSpeakerSeparation invokes start_speaker_separation operation.
	//
	// Start speaker separation process for a sample.
	//
	// POST /v1/voices/pvc/{voice_id}/samples/{sample_id}/separate-speakers
	StartSpeakerSeparation(ctx context.Context, params StartSpeakerSeparationParams) (StartSpeakerSeparationRes, error)
	// StreamChapterSnapshotAudio invokes stream_chapter_snapshot_audio operation.
	//
	// Stream the audio from a chapter snapshot. Use `GET
	// /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots` to return the snapshots of a
	// chapter.
	//
	// POST /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id}/stream
	StreamChapterSnapshotAudio(ctx context.Context, request OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost, params StreamChapterSnapshotAudioParams) (StreamChapterSnapshotAudioRes, error)
	// StreamCompose invokes stream_compose operation.
	//
	// Stream a composed song from a prompt or a composition plan.
	//
	// POST /v1/music/stream
	StreamCompose(ctx context.Context, request OptBodyStreamComposedMusicV1MusicStreamPost, params StreamComposeParams) (StreamComposeRes, error)
	// StreamProjectSnapshotArchiveEndpoint invokes stream_project_snapshot_archive_endpoint operation.
	//
	// Returns a compressed archive of the Studio project's audio.
	//
	// POST /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}/archive
	StreamProjectSnapshotArchiveEndpoint(ctx context.Context, params StreamProjectSnapshotArchiveEndpointParams) (StreamProjectSnapshotArchiveEndpointRes, error)
	// StreamProjectSnapshotAudioEndpoint invokes stream_project_snapshot_audio_endpoint operation.
	//
	// Stream the audio from a Studio project snapshot.
	//
	// POST /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}/stream
	StreamProjectSnapshotAudioEndpoint(ctx context.Context, request OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost, params StreamProjectSnapshotAudioEndpointParams) (StreamProjectSnapshotAudioEndpointRes, error)
	// TextToDialogue invokes text_to_dialogue operation.
	//
	// Converts a list of text and voice ID pairs into speech (dialogue) and returns audio.
	//
	// POST /v1/text-to-dialogue
	TextToDialogue(ctx context.Context, request *BodyTextToDialogueMultiVoiceV1TextToDialoguePost, params TextToDialogueParams) (TextToDialogueRes, error)
	// TextToDialogueFullWithTimestamps invokes text_to_dialogue_full_with_timestamps operation.
	//
	// Generate dialogue from text with precise character-level timing information for audio-text
	// synchronization.
	//
	// POST /v1/text-to-dialogue/with-timestamps
	TextToDialogueFullWithTimestamps(ctx context.Context, request *BodyTextToDialogueFullWithTimestamps, params TextToDialogueFullWithTimestampsParams) (TextToDialogueFullWithTimestampsRes, error)
	// TextToDialogueStream invokes text_to_dialogue_stream operation.
	//
	// Converts a list of text and voice ID pairs into speech (dialogue) and returns an audio stream.
	//
	// POST /v1/text-to-dialogue/stream
	TextToDialogueStream(ctx context.Context, request *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost, params TextToDialogueStreamParams) (TextToDialogueStreamRes, error)
	// TextToDialogueStreamWithTimestamps invokes text_to_dialogue_stream_with_timestamps operation.
	//
	// Converts a list of text and voice ID pairs into speech (dialogue) and returns a stream of JSON
	// blobs containing audio as a base64 encoded string and timestamps.
	//
	// POST /v1/text-to-dialogue/stream/with-timestamps
	TextToDialogueStreamWithTimestamps(ctx context.Context, request *BodyTextToDialogueStreamWithTimestamps, params TextToDialogueStreamWithTimestampsParams) (TextToDialogueStreamWithTimestampsRes, error)
	// TextToSpeechFull invokes text_to_speech_full operation.
	//
	// Converts text into speech using a voice of your choice and returns audio.
	//
	// POST /v1/text-to-speech/{voice_id}
	TextToSpeechFull(ctx context.Context, request *BodyTextToSpeechFull, params TextToSpeechFullParams) (TextToSpeechFullRes, error)
	// TextToSpeechFullWithTimestamps invokes text_to_speech_full_with_timestamps operation.
	//
	// Generate speech from text with precise character-level timing information for audio-text
	// synchronization.
	//
	// POST /v1/text-to-speech/{voice_id}/with-timestamps
	TextToSpeechFullWithTimestamps(ctx context.Context, request *BodyTextToSpeechFullWithTimestamps, params TextToSpeechFullWithTimestampsParams) (TextToSpeechFullWithTimestampsRes, error)
	// TextToSpeechStream invokes text_to_speech_stream operation.
	//
	// Converts text into speech using a voice of your choice and returns audio as an audio stream.
	//
	// POST /v1/text-to-speech/{voice_id}/stream
	TextToSpeechStream(ctx context.Context, request *BodyTextToSpeechStream, params TextToSpeechStreamParams) (TextToSpeechStreamRes, error)
	// TextToSpeechStreamWithTimestamps invokes text_to_speech_stream_with_timestamps operation.
	//
	// Converts text into speech using a voice of your choice and returns a stream of JSONs containing
	// audio as a base64 encoded string together with information on when which character was spoken.
	//
	// POST /v1/text-to-speech/{voice_id}/stream/with-timestamps
	TextToSpeechStreamWithTimestamps(ctx context.Context, request *BodyTextToSpeechStreamWithTimestamps, params TextToSpeechStreamWithTimestampsParams) (TextToSpeechStreamWithTimestampsRes, error)
	// TextToVoice invokes text_to_voice operation.
	//
	// Generate a custom voice based on voice description. This method returns a list of voice previews.
	// Each preview has a generated_voice_id and a sample of the voice as base64 encoded mp3 audio. If
	// you like the a voice previewand want to create the voice call
	// /v1/text-to-voice/create-voice-from-preview with the generated_voice_id to create the voice.
	//
	// POST /v1/text-to-voice/create-previews
	TextToVoice(ctx context.Context, request *VoicePreviewsRequestModel, params TextToVoiceParams) (TextToVoiceRes, error)
	// TextToVoiceDesign invokes text_to_voice_design operation.
	//
	// Design a voice via a prompt. This method returns a list of voice previews. Each preview has a
	// generated_voice_id and a sample of the voice as base64 encoded mp3 audio. To create a voice use
	// the generated_voice_id of the preferred preview with the /v1/text-to-voice endpoint.
	//
	// POST /v1/text-to-voice/design
	TextToVoiceDesign(ctx context.Context, request *VoiceDesignRequestModel, params TextToVoiceDesignParams) (TextToVoiceDesignRes, error)
	// TextToVoicePreviewStream invokes text_to_voice_preview_stream operation.
	//
	// Stream a voice preview that was created via the /v1/text-to-voice/design endpoint.
	//
	// GET /v1/text-to-voice/{generated_voice_id}/stream
	TextToVoicePreviewStream(ctx context.Context, params TextToVoicePreviewStreamParams) (TextToVoicePreviewStreamRes, error)
	// TextToVoiceRemix invokes text_to_voice_remix operation.
	//
	// Remix an existing voice via a prompt. This method returns a list of voice previews. Each preview
	// has a generated_voice_id and a sample of the voice as base64 encoded mp3 audio. To create a voice
	// use the generated_voice_id of the preferred preview with the /v1/text-to-voice endpoint.
	//
	// POST /v1/text-to-voice/{voice_id}/remix
	TextToVoiceRemix(ctx context.Context, request *VoiceRemixRequestModel, params TextToVoiceRemixParams) (TextToVoiceRemixRes, error)
	// Transcribe invokes transcribe operation.
	//
	// Regenerate the transcriptions for the specified segments. Does not automatically regenerate
	// translations or dubs.
	//
	// POST /v1/dubbing/resource/{dubbing_id}/transcribe
	Transcribe(ctx context.Context, request *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost, params TranscribeParams) (TranscribeRes, error)
	// Translate invokes translate operation.
	//
	// Regenerate the translations for either the entire resource or the specified segments/languages.
	// Will automatically transcribe missing transcriptions. Will not automatically regenerate the dubs.
	//
	// POST /v1/dubbing/resource/{dubbing_id}/translate
	Translate(ctx context.Context, request *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost, params TranslateParams) (TranslateRes, error)
	// UnshareResourceEndpoint invokes unshare_resource_endpoint operation.
	//
	// Removes any existing role on a workspace resource from a user, service account, group or workspace
	// api key. To target a user or service account, pass only the user email. The user must be in your
	// workspace. To target a group, pass only the group id. To target a workspace api key, pass the api
	// key id. The resource will be unshared from the service account associated with the api key. You
	// must have admin access to the resource to unshare it. You cannot remove permissions from the user
	// who created the resource.
	//
	// POST /v1/workspace/resources/{resource_id}/unshare
	UnshareResourceEndpoint(ctx context.Context, request *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost, params UnshareResourceEndpointParams) (UnshareResourceEndpointRes, error)
	// UpdateAgentResponseTestRoute invokes update_agent_response_test_route operation.
	//
	// Updates an agent response test by ID.
	//
	// PUT /v1/convai/agent-testing/{test_id}
	UpdateAgentResponseTestRoute(ctx context.Context, request *UpdateUnitTestRequest, params UpdateAgentResponseTestRouteParams) (UpdateAgentResponseTestRouteRes, error)
	// UpdateDashboardSettingsRoute invokes update_dashboard_settings_route operation.
	//
	// Update Convai dashboard settings for the workspace.
	//
	// PATCH /v1/convai/settings/dashboard
	UpdateDashboardSettingsRoute(ctx context.Context, request *PatchConvAIDashboardSettingsRequest, params UpdateDashboardSettingsRouteParams) (UpdateDashboardSettingsRouteRes, error)
	// UpdateDocumentRoute invokes update_document_route operation.
	//
	// Update the name of a document.
	//
	// PATCH /v1/convai/knowledge-base/{documentation_id}
	UpdateDocumentRoute(ctx context.Context, request *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch, params UpdateDocumentRouteParams) (UpdateDocumentRouteRes, error)
	// UpdatePhoneNumberRoute invokes update_phone_number_route operation.
	//
	// Update assigned agent of a phone number.
	//
	// PATCH /v1/convai/phone-numbers/{phone_number_id}
	UpdatePhoneNumberRoute(ctx context.Context, request *UpdatePhoneNumberRequest, params UpdatePhoneNumberRouteParams) (UpdatePhoneNumberRouteRes, error)
	// UpdatePronunciationDictionaries invokes update_pronunciation_dictionaries operation.
	//
	// Create a set of pronunciation dictionaries acting on a project. This will automatically mark text
	// within this project as requiring reconverting where the new dictionary would apply or the old one
	// no longer does.
	//
	// POST /v1/studio/projects/{project_id}/pronunciation-dictionaries
	UpdatePronunciationDictionaries(ctx context.Context, request *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost, params UpdatePronunciationDictionariesParams) (UpdatePronunciationDictionariesRes, error)
	// UpdateSecretRoute invokes update_secret_route operation.
	//
	// Update an existing secret for the workspace.
	//
	// PATCH /v1/convai/secrets/{secret_id}
	UpdateSecretRoute(ctx context.Context, request *PatchWorkspaceSecretRequest, params UpdateSecretRouteParams) (UpdateSecretRouteRes, error)
	// UpdateSegmentLanguage invokes update_segment_language operation.
	//
	// Modifies a single segment with new text and/or start/end times. Will update the values for only a
	// specific language of a segment. Does not automatically regenerate the dub.
	//
	// PATCH /v1/dubbing/resource/{dubbing_id}/segment/{segment_id}/{language}
	UpdateSegmentLanguage(ctx context.Context, request *SegmentUpdatePayload, params UpdateSegmentLanguageParams) (UpdateSegmentLanguageRes, error)
	// UpdateSettingsRoute invokes update_settings_route operation.
	//
	// Update Convai settings for the workspace.
	//
	// PATCH /v1/convai/settings
	UpdateSettingsRoute(ctx context.Context, request *PatchConvAISettingsRequest, params UpdateSettingsRouteParams) (UpdateSettingsRouteRes, error)
	// UpdateSpeaker invokes update_speaker operation.
	//
	// Amend the metadata associated with a speaker, such as their voice. Both voice cloning and using
	// voices from the ElevenLabs library are supported.
	//
	// PATCH /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}
	UpdateSpeaker(ctx context.Context, request OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch, params UpdateSpeakerParams) (UpdateSpeakerRes, error)
	// UpdateWhatsappAccount invokes update_whatsapp_account operation.
	//
	// Update a WhatsApp account.
	//
	// PATCH /v1/convai/whatsapp-accounts/{phone_number_id}
	UpdateWhatsappAccount(ctx context.Context, request *UpdateWhatsAppAccountRequest, params UpdateWhatsappAccountParams) (UpdateWhatsappAccountRes, error)
	// UpdateWorkspaceMember invokes update_workspace_member operation.
	//
	// Updates attributes of a workspace member. Apart from the email identifier, all parameters will
	// remain unchanged unless specified. This endpoint may only be called by workspace administrators.
	//
	// POST /v1/workspace/members
	UpdateWorkspaceMember(ctx context.Context, request *BodyUpdateMemberV1WorkspaceMembersPost, params UpdateWorkspaceMemberParams) (UpdateWorkspaceMemberRes, error)
	// UsageCharacters invokes usage_characters operation.
	//
	// Returns the usage metrics for the current user or the entire workspace they are part of. The
	// response provides a time axis based on the specified aggregation interval (default: day), with
	// usage values for each interval along that axis. Usage is broken down by the selected breakdown
	// type. For example, breakdown type "voice" will return the usage of each voice for each interval
	// along the time axis.
	//
	// GET /v1/usage/character-stats
	UsageCharacters(ctx context.Context, params UsageCharactersParams) (UsageCharactersRes, error)
	// VerifyPvcVoiceCaptcha invokes verify_pvc_voice_captcha operation.
	//
	// Submit captcha verification for PVC voice.
	//
	// POST /v1/voices/pvc/{voice_id}/captcha
	VerifyPvcVoiceCaptcha(ctx context.Context, request *BodyVerifyPVCVoiceCaptchaV1VoicesPvcVoiceIDCaptchaPostMultipart, params VerifyPvcVoiceCaptchaParams) (VerifyPvcVoiceCaptchaRes, error)
	// WhatsappOutboundCall invokes whatsapp_outbound_call operation.
	//
	// Make an outbound call via WhatsApp.
	//
	// POST /v1/convai/whatsapp/outbound-call
	WhatsappOutboundCall(ctx context.Context, request *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost, params WhatsappOutboundCallParams) (WhatsappOutboundCallRes, error)
}

Invoker invokes operations described by OpenAPI v3 specification.

type KnowledgeBaseDependentType

type KnowledgeBaseDependentType string

Ref: #/components/schemas/KnowledgeBaseDependentType

const (
	KnowledgeBaseDependentTypeDirect     KnowledgeBaseDependentType = "direct"
	KnowledgeBaseDependentTypeTransitive KnowledgeBaseDependentType = "transitive"
	KnowledgeBaseDependentTypeAll        KnowledgeBaseDependentType = "all"
)

func (KnowledgeBaseDependentType) AllValues

AllValues returns all KnowledgeBaseDependentType values.

func (KnowledgeBaseDependentType) MarshalText

func (s KnowledgeBaseDependentType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*KnowledgeBaseDependentType) UnmarshalText

func (s *KnowledgeBaseDependentType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (KnowledgeBaseDependentType) Validate

func (s KnowledgeBaseDependentType) Validate() error

type KnowledgeBaseDocumentChunkResponseModel

type KnowledgeBaseDocumentChunkResponseModel struct {
	Content string `json:"content"`
	ID      string `json:"id"`
	Name    string `json:"name"`
}

Ref: #/components/schemas/KnowledgeBaseDocumentChunkResponseModel

func (*KnowledgeBaseDocumentChunkResponseModel) Decode

Decode decodes KnowledgeBaseDocumentChunkResponseModel from json.

func (*KnowledgeBaseDocumentChunkResponseModel) Encode

Encode implements json.Marshaler.

func (*KnowledgeBaseDocumentChunkResponseModel) GetContent

GetContent returns the value of Content.

func (*KnowledgeBaseDocumentChunkResponseModel) GetID

GetID returns the value of ID.

func (*KnowledgeBaseDocumentChunkResponseModel) GetName

GetName returns the value of Name.

func (*KnowledgeBaseDocumentChunkResponseModel) MarshalJSON

func (s *KnowledgeBaseDocumentChunkResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*KnowledgeBaseDocumentChunkResponseModel) SetContent

SetContent sets the value of Content.

func (*KnowledgeBaseDocumentChunkResponseModel) SetID

SetID sets the value of ID.

func (*KnowledgeBaseDocumentChunkResponseModel) SetName

SetName sets the value of Name.

func (*KnowledgeBaseDocumentChunkResponseModel) UnmarshalJSON

func (s *KnowledgeBaseDocumentChunkResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type KnowledgeBaseDocumentMetadataResponseModel

type KnowledgeBaseDocumentMetadataResponseModel struct {
	CreatedAtUnixSecs     int `json:"created_at_unix_secs"`
	LastUpdatedAtUnixSecs int `json:"last_updated_at_unix_secs"`
	SizeBytes             int `json:"size_bytes"`
}

Ref: #/components/schemas/KnowledgeBaseDocumentMetadataResponseModel

func (*KnowledgeBaseDocumentMetadataResponseModel) Decode

Decode decodes KnowledgeBaseDocumentMetadataResponseModel from json.

func (*KnowledgeBaseDocumentMetadataResponseModel) Encode

Encode implements json.Marshaler.

func (*KnowledgeBaseDocumentMetadataResponseModel) GetCreatedAtUnixSecs

func (s *KnowledgeBaseDocumentMetadataResponseModel) GetCreatedAtUnixSecs() int

GetCreatedAtUnixSecs returns the value of CreatedAtUnixSecs.

func (*KnowledgeBaseDocumentMetadataResponseModel) GetLastUpdatedAtUnixSecs

func (s *KnowledgeBaseDocumentMetadataResponseModel) GetLastUpdatedAtUnixSecs() int

GetLastUpdatedAtUnixSecs returns the value of LastUpdatedAtUnixSecs.

func (*KnowledgeBaseDocumentMetadataResponseModel) GetSizeBytes

GetSizeBytes returns the value of SizeBytes.

func (*KnowledgeBaseDocumentMetadataResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*KnowledgeBaseDocumentMetadataResponseModel) SetCreatedAtUnixSecs

func (s *KnowledgeBaseDocumentMetadataResponseModel) SetCreatedAtUnixSecs(val int)

SetCreatedAtUnixSecs sets the value of CreatedAtUnixSecs.

func (*KnowledgeBaseDocumentMetadataResponseModel) SetLastUpdatedAtUnixSecs

func (s *KnowledgeBaseDocumentMetadataResponseModel) SetLastUpdatedAtUnixSecs(val int)

SetLastUpdatedAtUnixSecs sets the value of LastUpdatedAtUnixSecs.

func (*KnowledgeBaseDocumentMetadataResponseModel) SetSizeBytes

func (s *KnowledgeBaseDocumentMetadataResponseModel) SetSizeBytes(val int)

SetSizeBytes sets the value of SizeBytes.

func (*KnowledgeBaseDocumentMetadataResponseModel) UnmarshalJSON

func (s *KnowledgeBaseDocumentMetadataResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type KnowledgeBaseDocumentType

type KnowledgeBaseDocumentType string

Ref: #/components/schemas/KnowledgeBaseDocumentType

const (
	KnowledgeBaseDocumentTypeFile   KnowledgeBaseDocumentType = "file"
	KnowledgeBaseDocumentTypeURL    KnowledgeBaseDocumentType = "url"
	KnowledgeBaseDocumentTypeText   KnowledgeBaseDocumentType = "text"
	KnowledgeBaseDocumentTypeFolder KnowledgeBaseDocumentType = "folder"
)

func (KnowledgeBaseDocumentType) AllValues

AllValues returns all KnowledgeBaseDocumentType values.

func (KnowledgeBaseDocumentType) MarshalText

func (s KnowledgeBaseDocumentType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*KnowledgeBaseDocumentType) UnmarshalText

func (s *KnowledgeBaseDocumentType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (KnowledgeBaseDocumentType) Validate

func (s KnowledgeBaseDocumentType) Validate() error

type KnowledgeBaseFolderPathSegmentResponseModel

type KnowledgeBaseFolderPathSegmentResponseModel struct {
	ID   string    `json:"id"`
	Name NilString `json:"name"`
}

Ref: #/components/schemas/KnowledgeBaseFolderPathSegmentResponseModel

func (*KnowledgeBaseFolderPathSegmentResponseModel) Decode

Decode decodes KnowledgeBaseFolderPathSegmentResponseModel from json.

func (*KnowledgeBaseFolderPathSegmentResponseModel) Encode

Encode implements json.Marshaler.

func (*KnowledgeBaseFolderPathSegmentResponseModel) GetID

GetID returns the value of ID.

func (*KnowledgeBaseFolderPathSegmentResponseModel) GetName

GetName returns the value of Name.

func (*KnowledgeBaseFolderPathSegmentResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*KnowledgeBaseFolderPathSegmentResponseModel) SetID

SetID sets the value of ID.

func (*KnowledgeBaseFolderPathSegmentResponseModel) SetName

SetName sets the value of Name.

func (*KnowledgeBaseFolderPathSegmentResponseModel) UnmarshalJSON

func (s *KnowledgeBaseFolderPathSegmentResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type KnowledgeBaseSortBy

type KnowledgeBaseSortBy string

Ref: #/components/schemas/KnowledgeBaseSortBy

const (
	KnowledgeBaseSortByName      KnowledgeBaseSortBy = "name"
	KnowledgeBaseSortByCreatedAt KnowledgeBaseSortBy = "created_at"
	KnowledgeBaseSortByUpdatedAt KnowledgeBaseSortBy = "updated_at"
	KnowledgeBaseSortBySize      KnowledgeBaseSortBy = "size"
)

func (KnowledgeBaseSortBy) AllValues

AllValues returns all KnowledgeBaseSortBy values.

func (KnowledgeBaseSortBy) MarshalText

func (s KnowledgeBaseSortBy) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*KnowledgeBaseSortBy) UnmarshalText

func (s *KnowledgeBaseSortBy) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (KnowledgeBaseSortBy) Validate

func (s KnowledgeBaseSortBy) Validate() error

type KnowledgeBaseSummaryBatchSuccessfulResponseModel

type KnowledgeBaseSummaryBatchSuccessfulResponseModel struct {
	Data   KnowledgeBaseSummaryBatchSuccessfulResponseModelData   `json:"data"`
	Status KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus `json:"status"`
}

Ref: #/components/schemas/KnowledgeBaseSummaryBatchSuccessfulResponseModel

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModel) Decode

Decode decodes KnowledgeBaseSummaryBatchSuccessfulResponseModel from json.

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModel) Encode

Encode implements json.Marshaler.

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModel) GetData

GetData returns the value of Data.

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModel) GetStatus

GetStatus returns the value of Status.

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModel) SetData

SetData sets the value of Data.

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModel) SetStatus

SetStatus sets the value of Status.

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModel) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModel) Validate

type KnowledgeBaseSummaryBatchSuccessfulResponseModelData

type KnowledgeBaseSummaryBatchSuccessfulResponseModelData struct {
	Type                                       KnowledgeBaseSummaryBatchSuccessfulResponseModelDataType // switch on this field
	GetKnowledgeBaseSummaryURLResponseModel    GetKnowledgeBaseSummaryURLResponseModel
	GetKnowledgeBaseSummaryFileResponseModel   GetKnowledgeBaseSummaryFileResponseModel
	GetKnowledgeBaseSummaryTextResponseModel   GetKnowledgeBaseSummaryTextResponseModel
	GetKnowledgeBaseSummaryFolderResponseModel GetKnowledgeBaseSummaryFolderResponseModel
}

KnowledgeBaseSummaryBatchSuccessfulResponseModelData represents sum type.

func NewGetKnowledgeBaseSummaryFileResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData

func NewGetKnowledgeBaseSummaryFileResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData(v GetKnowledgeBaseSummaryFileResponseModel) KnowledgeBaseSummaryBatchSuccessfulResponseModelData

NewGetKnowledgeBaseSummaryFileResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData returns new KnowledgeBaseSummaryBatchSuccessfulResponseModelData from GetKnowledgeBaseSummaryFileResponseModel.

func NewGetKnowledgeBaseSummaryFolderResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData

func NewGetKnowledgeBaseSummaryFolderResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData(v GetKnowledgeBaseSummaryFolderResponseModel) KnowledgeBaseSummaryBatchSuccessfulResponseModelData

NewGetKnowledgeBaseSummaryFolderResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData returns new KnowledgeBaseSummaryBatchSuccessfulResponseModelData from GetKnowledgeBaseSummaryFolderResponseModel.

func NewGetKnowledgeBaseSummaryTextResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData

func NewGetKnowledgeBaseSummaryTextResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData(v GetKnowledgeBaseSummaryTextResponseModel) KnowledgeBaseSummaryBatchSuccessfulResponseModelData

NewGetKnowledgeBaseSummaryTextResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData returns new KnowledgeBaseSummaryBatchSuccessfulResponseModelData from GetKnowledgeBaseSummaryTextResponseModel.

func NewGetKnowledgeBaseSummaryURLResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData

func NewGetKnowledgeBaseSummaryURLResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData(v GetKnowledgeBaseSummaryURLResponseModel) KnowledgeBaseSummaryBatchSuccessfulResponseModelData

NewGetKnowledgeBaseSummaryURLResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData returns new KnowledgeBaseSummaryBatchSuccessfulResponseModelData from GetKnowledgeBaseSummaryURLResponseModel.

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModelData) Decode

Decode decodes KnowledgeBaseSummaryBatchSuccessfulResponseModelData from json.

func (KnowledgeBaseSummaryBatchSuccessfulResponseModelData) Encode

Encode encodes KnowledgeBaseSummaryBatchSuccessfulResponseModelData as json.

func (KnowledgeBaseSummaryBatchSuccessfulResponseModelData) GetGetKnowledgeBaseSummaryFileResponseModel

func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) GetGetKnowledgeBaseSummaryFileResponseModel() (v GetKnowledgeBaseSummaryFileResponseModel, ok bool)

GetGetKnowledgeBaseSummaryFileResponseModel returns GetKnowledgeBaseSummaryFileResponseModel and true boolean if KnowledgeBaseSummaryBatchSuccessfulResponseModelData is GetKnowledgeBaseSummaryFileResponseModel.

func (KnowledgeBaseSummaryBatchSuccessfulResponseModelData) GetGetKnowledgeBaseSummaryFolderResponseModel

func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) GetGetKnowledgeBaseSummaryFolderResponseModel() (v GetKnowledgeBaseSummaryFolderResponseModel, ok bool)

GetGetKnowledgeBaseSummaryFolderResponseModel returns GetKnowledgeBaseSummaryFolderResponseModel and true boolean if KnowledgeBaseSummaryBatchSuccessfulResponseModelData is GetKnowledgeBaseSummaryFolderResponseModel.

func (KnowledgeBaseSummaryBatchSuccessfulResponseModelData) GetGetKnowledgeBaseSummaryTextResponseModel

func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) GetGetKnowledgeBaseSummaryTextResponseModel() (v GetKnowledgeBaseSummaryTextResponseModel, ok bool)

GetGetKnowledgeBaseSummaryTextResponseModel returns GetKnowledgeBaseSummaryTextResponseModel and true boolean if KnowledgeBaseSummaryBatchSuccessfulResponseModelData is GetKnowledgeBaseSummaryTextResponseModel.

func (KnowledgeBaseSummaryBatchSuccessfulResponseModelData) GetGetKnowledgeBaseSummaryURLResponseModel

func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) GetGetKnowledgeBaseSummaryURLResponseModel() (v GetKnowledgeBaseSummaryURLResponseModel, ok bool)

GetGetKnowledgeBaseSummaryURLResponseModel returns GetKnowledgeBaseSummaryURLResponseModel and true boolean if KnowledgeBaseSummaryBatchSuccessfulResponseModelData is GetKnowledgeBaseSummaryURLResponseModel.

func (KnowledgeBaseSummaryBatchSuccessfulResponseModelData) IsGetKnowledgeBaseSummaryFileResponseModel

func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) IsGetKnowledgeBaseSummaryFileResponseModel() bool

IsGetKnowledgeBaseSummaryFileResponseModel reports whether KnowledgeBaseSummaryBatchSuccessfulResponseModelData is GetKnowledgeBaseSummaryFileResponseModel.

func (KnowledgeBaseSummaryBatchSuccessfulResponseModelData) IsGetKnowledgeBaseSummaryFolderResponseModel

func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) IsGetKnowledgeBaseSummaryFolderResponseModel() bool

IsGetKnowledgeBaseSummaryFolderResponseModel reports whether KnowledgeBaseSummaryBatchSuccessfulResponseModelData is GetKnowledgeBaseSummaryFolderResponseModel.

func (KnowledgeBaseSummaryBatchSuccessfulResponseModelData) IsGetKnowledgeBaseSummaryTextResponseModel

func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) IsGetKnowledgeBaseSummaryTextResponseModel() bool

IsGetKnowledgeBaseSummaryTextResponseModel reports whether KnowledgeBaseSummaryBatchSuccessfulResponseModelData is GetKnowledgeBaseSummaryTextResponseModel.

func (KnowledgeBaseSummaryBatchSuccessfulResponseModelData) IsGetKnowledgeBaseSummaryURLResponseModel

func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) IsGetKnowledgeBaseSummaryURLResponseModel() bool

IsGetKnowledgeBaseSummaryURLResponseModel reports whether KnowledgeBaseSummaryBatchSuccessfulResponseModelData is GetKnowledgeBaseSummaryURLResponseModel.

func (KnowledgeBaseSummaryBatchSuccessfulResponseModelData) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModelData) SetGetKnowledgeBaseSummaryFileResponseModel

SetGetKnowledgeBaseSummaryFileResponseModel sets KnowledgeBaseSummaryBatchSuccessfulResponseModelData to GetKnowledgeBaseSummaryFileResponseModel.

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModelData) SetGetKnowledgeBaseSummaryFolderResponseModel

SetGetKnowledgeBaseSummaryFolderResponseModel sets KnowledgeBaseSummaryBatchSuccessfulResponseModelData to GetKnowledgeBaseSummaryFolderResponseModel.

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModelData) SetGetKnowledgeBaseSummaryTextResponseModel

SetGetKnowledgeBaseSummaryTextResponseModel sets KnowledgeBaseSummaryBatchSuccessfulResponseModelData to GetKnowledgeBaseSummaryTextResponseModel.

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModelData) SetGetKnowledgeBaseSummaryURLResponseModel

SetGetKnowledgeBaseSummaryURLResponseModel sets KnowledgeBaseSummaryBatchSuccessfulResponseModelData to GetKnowledgeBaseSummaryURLResponseModel.

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModelData) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (KnowledgeBaseSummaryBatchSuccessfulResponseModelData) Validate

type KnowledgeBaseSummaryBatchSuccessfulResponseModelDataType

type KnowledgeBaseSummaryBatchSuccessfulResponseModelDataType string

KnowledgeBaseSummaryBatchSuccessfulResponseModelDataType is oneOf type of KnowledgeBaseSummaryBatchSuccessfulResponseModelData.

const (
	GetKnowledgeBaseSummaryURLResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData    KnowledgeBaseSummaryBatchSuccessfulResponseModelDataType = "url"
	GetKnowledgeBaseSummaryFileResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData   KnowledgeBaseSummaryBatchSuccessfulResponseModelDataType = "file"
	GetKnowledgeBaseSummaryTextResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData   KnowledgeBaseSummaryBatchSuccessfulResponseModelDataType = "text"
	GetKnowledgeBaseSummaryFolderResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData KnowledgeBaseSummaryBatchSuccessfulResponseModelDataType = "folder"
)

Possible values for KnowledgeBaseSummaryBatchSuccessfulResponseModelDataType.

type KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus

type KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus string
const (
	KnowledgeBaseSummaryBatchSuccessfulResponseModelStatusSuccess KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus = "success"
)

func (KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) AllValues

AllValues returns all KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus values.

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) Decode

Decode decodes KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus from json.

func (KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) Encode

Encode encodes KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus as json.

func (KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) Validate

type LLM

type LLM string

Ref: #/components/schemas/LLM

const (
	LLMGpt4oMini                      LLM = "gpt-4o-mini"
	LLMGpt4o                          LLM = "gpt-4o"
	LLMGpt4                           LLM = "gpt-4"
	LLMGpt4Turbo                      LLM = "gpt-4-turbo"
	LLMGpt41                          LLM = "gpt-4.1"
	LLMGpt41Mini                      LLM = "gpt-4.1-mini"
	LLMGpt41Nano                      LLM = "gpt-4.1-nano"
	LLMGpt5                           LLM = "gpt-5"
	LLMGpt51                          LLM = "gpt-5.1"
	LLMGpt52                          LLM = "gpt-5.2"
	LLMGpt52ChatLatest                LLM = "gpt-5.2-chat-latest"
	LLMGpt5Mini                       LLM = "gpt-5-mini"
	LLMGpt5Nano                       LLM = "gpt-5-nano"
	LLMGpt35Turbo                     LLM = "gpt-3.5-turbo"
	LLMGemini15Pro                    LLM = "gemini-1.5-pro"
	LLMGemini15Flash                  LLM = "gemini-1.5-flash"
	LLMGemini20Flash                  LLM = "gemini-2.0-flash"
	LLMGemini20FlashLite              LLM = "gemini-2.0-flash-lite"
	LLMGemini25FlashLite              LLM = "gemini-2.5-flash-lite"
	LLMGemini25Flash                  LLM = "gemini-2.5-flash"
	LLMGemini3ProPreview              LLM = "gemini-3-pro-preview"
	LLMGemini3FlashPreview            LLM = "gemini-3-flash-preview"
	LLMClaudeSonnet45                 LLM = "claude-sonnet-4-5"
	LLMClaudeSonnet4                  LLM = "claude-sonnet-4"
	LLMClaudeHaiku45                  LLM = "claude-haiku-4-5"
	LLMClaude37Sonnet                 LLM = "claude-3-7-sonnet"
	LLMClaude35Sonnet                 LLM = "claude-3-5-sonnet"
	LLMClaude35SonnetV1               LLM = "claude-3-5-sonnet-v1"
	LLMClaude3Haiku                   LLM = "claude-3-haiku"
	LLMGrokBeta                       LLM = "grok-beta"
	LLMCustomLlm                      LLM = "custom-llm"
	LLMQwen34b                        LLM = "qwen3-4b"
	LLMQwen330bA3b                    LLM = "qwen3-30b-a3b"
	LLMGptOss20b                      LLM = "gpt-oss-20b"
	LLMGptOss120b                     LLM = "gpt-oss-120b"
	LLMGlm45AirFp8                    LLM = "glm-45-air-fp8"
	LLMGemini25FlashPreview092025     LLM = "gemini-2.5-flash-preview-09-2025"
	LLMGemini25FlashLitePreview092025 LLM = "gemini-2.5-flash-lite-preview-09-2025"
	LLMGemini25FlashPreview0520       LLM = "gemini-2.5-flash-preview-05-20"
	LLMGemini25FlashPreview0417       LLM = "gemini-2.5-flash-preview-04-17"
	LLMGemini25FlashLitePreview0617   LLM = "gemini-2.5-flash-lite-preview-06-17"
	LLMGemini20FlashLite001           LLM = "gemini-2.0-flash-lite-001"
	LLMGemini20Flash001               LLM = "gemini-2.0-flash-001"
	LLMGemini15Flash002               LLM = "gemini-1.5-flash-002"
	LLMGemini15Flash001               LLM = "gemini-1.5-flash-001"
	LLMGemini15Pro002                 LLM = "gemini-1.5-pro-002"
	LLMGemini15Pro001                 LLM = "gemini-1.5-pro-001"
	LLMClaudeSonnet420250514          LLM = "claude-sonnet-4@20250514"
	LLMClaudeSonnet4520250929         LLM = "claude-sonnet-4-5@20250929"
	LLMClaudeHaiku4520251001          LLM = "claude-haiku-4-5@20251001"
	LLMClaude37Sonnet20250219         LLM = "claude-3-7-sonnet@20250219"
	LLMClaude35Sonnet20240620         LLM = "claude-3-5-sonnet@20240620"
	LLMClaude35SonnetV220241022       LLM = "claude-3-5-sonnet-v2@20241022"
	LLMClaude3Haiku20240307           LLM = "claude-3-haiku@20240307"
	LLMGpt520250807                   LLM = "gpt-5-2025-08-07"
	LLMGpt5120251113                  LLM = "gpt-5.1-2025-11-13"
	LLMGpt5220251211                  LLM = "gpt-5.2-2025-12-11"
	LLMGpt5Mini20250807               LLM = "gpt-5-mini-2025-08-07"
	LLMGpt5Nano20250807               LLM = "gpt-5-nano-2025-08-07"
	LLMGpt4120250414                  LLM = "gpt-4.1-2025-04-14"
	LLMGpt41Mini20250414              LLM = "gpt-4.1-mini-2025-04-14"
	LLMGpt41Nano20250414              LLM = "gpt-4.1-nano-2025-04-14"
	LLMGpt4oMini20240718              LLM = "gpt-4o-mini-2024-07-18"
	LLMGpt4o20241120                  LLM = "gpt-4o-2024-11-20"
	LLMGpt4o20240806                  LLM = "gpt-4o-2024-08-06"
	LLMGpt4o20240513                  LLM = "gpt-4o-2024-05-13"
	LLMGpt40613                       LLM = "gpt-4-0613"
	LLMGpt40314                       LLM = "gpt-4-0314"
	LLMGpt4Turbo20240409              LLM = "gpt-4-turbo-2024-04-09"
	LLMGpt35Turbo0125                 LLM = "gpt-3.5-turbo-0125"
	LLMGpt35Turbo1106                 LLM = "gpt-3.5-turbo-1106"
	LLMWattTool8b                     LLM = "watt-tool-8b"
	LLMWattTool70b                    LLM = "watt-tool-70b"
)

func (LLM) AllValues

func (LLM) AllValues() []LLM

AllValues returns all LLM values.

func (*LLM) Decode

func (s *LLM) Decode(d *jx.Decoder) error

Decode decodes LLM from json.

func (LLM) Encode

func (s LLM) Encode(e *jx.Encoder)

Encode encodes LLM as json.

func (LLM) MarshalJSON

func (s LLM) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (LLM) MarshalText

func (s LLM) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*LLM) UnmarshalJSON

func (s *LLM) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LLM) UnmarshalText

func (s *LLM) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (LLM) Validate

func (s LLM) Validate() error

type LLMCategoryUsage

type LLMCategoryUsage struct {
	InitiatedGeneration    OptLLMUsageOutput `json:"initiated_generation"`
	IrreversibleGeneration OptLLMUsageOutput `json:"irreversible_generation"`
}

Ref: #/components/schemas/LLMCategoryUsage

func (*LLMCategoryUsage) Decode

func (s *LLMCategoryUsage) Decode(d *jx.Decoder) error

Decode decodes LLMCategoryUsage from json.

func (*LLMCategoryUsage) Encode

func (s *LLMCategoryUsage) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LLMCategoryUsage) GetInitiatedGeneration

func (s *LLMCategoryUsage) GetInitiatedGeneration() OptLLMUsageOutput

GetInitiatedGeneration returns the value of InitiatedGeneration.

func (*LLMCategoryUsage) GetIrreversibleGeneration

func (s *LLMCategoryUsage) GetIrreversibleGeneration() OptLLMUsageOutput

GetIrreversibleGeneration returns the value of IrreversibleGeneration.

func (*LLMCategoryUsage) MarshalJSON

func (s *LLMCategoryUsage) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LLMCategoryUsage) SetInitiatedGeneration

func (s *LLMCategoryUsage) SetInitiatedGeneration(val OptLLMUsageOutput)

SetInitiatedGeneration sets the value of InitiatedGeneration.

func (*LLMCategoryUsage) SetIrreversibleGeneration

func (s *LLMCategoryUsage) SetIrreversibleGeneration(val OptLLMUsageOutput)

SetIrreversibleGeneration sets the value of IrreversibleGeneration.

func (*LLMCategoryUsage) UnmarshalJSON

func (s *LLMCategoryUsage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LLMCategoryUsage) Validate

func (s *LLMCategoryUsage) Validate() error

type LLMInputOutputTokensUsage

type LLMInputOutputTokensUsage struct {
	Input           OptLLMTokensCategoryUsage `json:"input"`
	InputCacheRead  OptLLMTokensCategoryUsage `json:"input_cache_read"`
	InputCacheWrite OptLLMTokensCategoryUsage `json:"input_cache_write"`
	OutputTotal     OptLLMTokensCategoryUsage `json:"output_total"`
}

Ref: #/components/schemas/LLMInputOutputTokensUsage

func (*LLMInputOutputTokensUsage) Decode

func (s *LLMInputOutputTokensUsage) Decode(d *jx.Decoder) error

Decode decodes LLMInputOutputTokensUsage from json.

func (*LLMInputOutputTokensUsage) Encode

func (s *LLMInputOutputTokensUsage) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LLMInputOutputTokensUsage) GetInput

GetInput returns the value of Input.

func (*LLMInputOutputTokensUsage) GetInputCacheRead

GetInputCacheRead returns the value of InputCacheRead.

func (*LLMInputOutputTokensUsage) GetInputCacheWrite

func (s *LLMInputOutputTokensUsage) GetInputCacheWrite() OptLLMTokensCategoryUsage

GetInputCacheWrite returns the value of InputCacheWrite.

func (*LLMInputOutputTokensUsage) GetOutputTotal

GetOutputTotal returns the value of OutputTotal.

func (*LLMInputOutputTokensUsage) MarshalJSON

func (s *LLMInputOutputTokensUsage) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LLMInputOutputTokensUsage) SetInput

SetInput sets the value of Input.

func (*LLMInputOutputTokensUsage) SetInputCacheRead

func (s *LLMInputOutputTokensUsage) SetInputCacheRead(val OptLLMTokensCategoryUsage)

SetInputCacheRead sets the value of InputCacheRead.

func (*LLMInputOutputTokensUsage) SetInputCacheWrite

func (s *LLMInputOutputTokensUsage) SetInputCacheWrite(val OptLLMTokensCategoryUsage)

SetInputCacheWrite sets the value of InputCacheWrite.

func (*LLMInputOutputTokensUsage) SetOutputTotal

SetOutputTotal sets the value of OutputTotal.

func (*LLMInputOutputTokensUsage) UnmarshalJSON

func (s *LLMInputOutputTokensUsage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LLMInputOutputTokensUsage) Validate

func (s *LLMInputOutputTokensUsage) Validate() error

type LLMParameterEvaluationStrategy

type LLMParameterEvaluationStrategy struct {
	// A description of the evaluation strategy to use for the test.
	Description string                             `json:"description"`
	Type        LLMParameterEvaluationStrategyType `json:"type"`
}

Ref: #/components/schemas/LLMParameterEvaluationStrategy

func (*LLMParameterEvaluationStrategy) Decode

Decode decodes LLMParameterEvaluationStrategy from json.

func (*LLMParameterEvaluationStrategy) Encode

Encode implements json.Marshaler.

func (*LLMParameterEvaluationStrategy) GetDescription

func (s *LLMParameterEvaluationStrategy) GetDescription() string

GetDescription returns the value of Description.

func (*LLMParameterEvaluationStrategy) GetType

GetType returns the value of Type.

func (*LLMParameterEvaluationStrategy) MarshalJSON

func (s *LLMParameterEvaluationStrategy) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LLMParameterEvaluationStrategy) SetDescription

func (s *LLMParameterEvaluationStrategy) SetDescription(val string)

SetDescription sets the value of Description.

func (*LLMParameterEvaluationStrategy) SetType

SetType sets the value of Type.

func (*LLMParameterEvaluationStrategy) UnmarshalJSON

func (s *LLMParameterEvaluationStrategy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LLMParameterEvaluationStrategy) Validate

func (s *LLMParameterEvaluationStrategy) Validate() error

type LLMParameterEvaluationStrategyType

type LLMParameterEvaluationStrategyType string
const (
	LLMParameterEvaluationStrategyTypeLlm LLMParameterEvaluationStrategyType = "llm"
)

func (LLMParameterEvaluationStrategyType) AllValues

AllValues returns all LLMParameterEvaluationStrategyType values.

func (*LLMParameterEvaluationStrategyType) Decode

Decode decodes LLMParameterEvaluationStrategyType from json.

func (LLMParameterEvaluationStrategyType) Encode

Encode encodes LLMParameterEvaluationStrategyType as json.

func (LLMParameterEvaluationStrategyType) MarshalJSON

func (s LLMParameterEvaluationStrategyType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (LLMParameterEvaluationStrategyType) MarshalText

func (s LLMParameterEvaluationStrategyType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*LLMParameterEvaluationStrategyType) UnmarshalJSON

func (s *LLMParameterEvaluationStrategyType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LLMParameterEvaluationStrategyType) UnmarshalText

func (s *LLMParameterEvaluationStrategyType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (LLMParameterEvaluationStrategyType) Validate

type LLMTokensCategoryUsage

type LLMTokensCategoryUsage struct {
	Price  OptFloat64 `json:"price"`
	Tokens OptInt     `json:"tokens"`
}

Ref: #/components/schemas/LLMTokensCategoryUsage

func (*LLMTokensCategoryUsage) Decode

func (s *LLMTokensCategoryUsage) Decode(d *jx.Decoder) error

Decode decodes LLMTokensCategoryUsage from json.

func (*LLMTokensCategoryUsage) Encode

func (s *LLMTokensCategoryUsage) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LLMTokensCategoryUsage) GetPrice

func (s *LLMTokensCategoryUsage) GetPrice() OptFloat64

GetPrice returns the value of Price.

func (*LLMTokensCategoryUsage) GetTokens

func (s *LLMTokensCategoryUsage) GetTokens() OptInt

GetTokens returns the value of Tokens.

func (*LLMTokensCategoryUsage) MarshalJSON

func (s *LLMTokensCategoryUsage) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LLMTokensCategoryUsage) SetPrice

func (s *LLMTokensCategoryUsage) SetPrice(val OptFloat64)

SetPrice sets the value of Price.

func (*LLMTokensCategoryUsage) SetTokens

func (s *LLMTokensCategoryUsage) SetTokens(val OptInt)

SetTokens sets the value of Tokens.

func (*LLMTokensCategoryUsage) UnmarshalJSON

func (s *LLMTokensCategoryUsage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LLMTokensCategoryUsage) Validate

func (s *LLMTokensCategoryUsage) Validate() error

type LLMUsageCalculatorLLMResponseModel

type LLMUsageCalculatorLLMResponseModel struct {
	Llm            LLM     `json:"llm"`
	PricePerMinute float64 `json:"price_per_minute"`
}

Ref: #/components/schemas/LLMUsageCalculatorLLMResponseModel

func (*LLMUsageCalculatorLLMResponseModel) Decode

Decode decodes LLMUsageCalculatorLLMResponseModel from json.

func (*LLMUsageCalculatorLLMResponseModel) Encode

Encode implements json.Marshaler.

func (*LLMUsageCalculatorLLMResponseModel) GetLlm

GetLlm returns the value of Llm.

func (*LLMUsageCalculatorLLMResponseModel) GetPricePerMinute

func (s *LLMUsageCalculatorLLMResponseModel) GetPricePerMinute() float64

GetPricePerMinute returns the value of PricePerMinute.

func (*LLMUsageCalculatorLLMResponseModel) MarshalJSON

func (s *LLMUsageCalculatorLLMResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LLMUsageCalculatorLLMResponseModel) SetLlm

func (s *LLMUsageCalculatorLLMResponseModel) SetLlm(val LLM)

SetLlm sets the value of Llm.

func (*LLMUsageCalculatorLLMResponseModel) SetPricePerMinute

func (s *LLMUsageCalculatorLLMResponseModel) SetPricePerMinute(val float64)

SetPricePerMinute sets the value of PricePerMinute.

func (*LLMUsageCalculatorLLMResponseModel) UnmarshalJSON

func (s *LLMUsageCalculatorLLMResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LLMUsageCalculatorLLMResponseModel) Validate

type LLMUsageCalculatorPublicRequestModel

type LLMUsageCalculatorPublicRequestModel struct {
	// Pages of content in PDF documents or URLs in the agent's knowledge base.
	NumberOfPages int `json:"number_of_pages"`
	// Length of the prompt in characters.
	PromptLength int `json:"prompt_length"`
	// Whether RAG is enabled.
	RagEnabled bool `json:"rag_enabled"`
}

Ref: #/components/schemas/LLMUsageCalculatorPublicRequestModel

func (*LLMUsageCalculatorPublicRequestModel) Decode

Decode decodes LLMUsageCalculatorPublicRequestModel from json.

func (*LLMUsageCalculatorPublicRequestModel) Encode

Encode implements json.Marshaler.

func (*LLMUsageCalculatorPublicRequestModel) GetNumberOfPages

func (s *LLMUsageCalculatorPublicRequestModel) GetNumberOfPages() int

GetNumberOfPages returns the value of NumberOfPages.

func (*LLMUsageCalculatorPublicRequestModel) GetPromptLength

func (s *LLMUsageCalculatorPublicRequestModel) GetPromptLength() int

GetPromptLength returns the value of PromptLength.

func (*LLMUsageCalculatorPublicRequestModel) GetRagEnabled

func (s *LLMUsageCalculatorPublicRequestModel) GetRagEnabled() bool

GetRagEnabled returns the value of RagEnabled.

func (*LLMUsageCalculatorPublicRequestModel) MarshalJSON

func (s *LLMUsageCalculatorPublicRequestModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LLMUsageCalculatorPublicRequestModel) SetNumberOfPages

func (s *LLMUsageCalculatorPublicRequestModel) SetNumberOfPages(val int)

SetNumberOfPages sets the value of NumberOfPages.

func (*LLMUsageCalculatorPublicRequestModel) SetPromptLength

func (s *LLMUsageCalculatorPublicRequestModel) SetPromptLength(val int)

SetPromptLength sets the value of PromptLength.

func (*LLMUsageCalculatorPublicRequestModel) SetRagEnabled

func (s *LLMUsageCalculatorPublicRequestModel) SetRagEnabled(val bool)

SetRagEnabled sets the value of RagEnabled.

func (*LLMUsageCalculatorPublicRequestModel) UnmarshalJSON

func (s *LLMUsageCalculatorPublicRequestModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type LLMUsageCalculatorRequestModel

type LLMUsageCalculatorRequestModel struct {
	// Pages of content in pdf documents OR urls in agent's Knowledge Base.
	NumberOfPages OptNilInt `json:"number_of_pages"`
	// Length of the prompt in characters.
	PromptLength OptNilInt `json:"prompt_length"`
	// Whether RAG is enabled.
	RagEnabled OptNilBool `json:"rag_enabled"`
}

Ref: #/components/schemas/LLMUsageCalculatorRequestModel

func (*LLMUsageCalculatorRequestModel) Decode

Decode decodes LLMUsageCalculatorRequestModel from json.

func (*LLMUsageCalculatorRequestModel) Encode

Encode implements json.Marshaler.

func (*LLMUsageCalculatorRequestModel) GetNumberOfPages

func (s *LLMUsageCalculatorRequestModel) GetNumberOfPages() OptNilInt

GetNumberOfPages returns the value of NumberOfPages.

func (*LLMUsageCalculatorRequestModel) GetPromptLength

func (s *LLMUsageCalculatorRequestModel) GetPromptLength() OptNilInt

GetPromptLength returns the value of PromptLength.

func (*LLMUsageCalculatorRequestModel) GetRagEnabled

func (s *LLMUsageCalculatorRequestModel) GetRagEnabled() OptNilBool

GetRagEnabled returns the value of RagEnabled.

func (*LLMUsageCalculatorRequestModel) MarshalJSON

func (s *LLMUsageCalculatorRequestModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LLMUsageCalculatorRequestModel) SetNumberOfPages

func (s *LLMUsageCalculatorRequestModel) SetNumberOfPages(val OptNilInt)

SetNumberOfPages sets the value of NumberOfPages.

func (*LLMUsageCalculatorRequestModel) SetPromptLength

func (s *LLMUsageCalculatorRequestModel) SetPromptLength(val OptNilInt)

SetPromptLength sets the value of PromptLength.

func (*LLMUsageCalculatorRequestModel) SetRagEnabled

func (s *LLMUsageCalculatorRequestModel) SetRagEnabled(val OptNilBool)

SetRagEnabled sets the value of RagEnabled.

func (*LLMUsageCalculatorRequestModel) UnmarshalJSON

func (s *LLMUsageCalculatorRequestModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type LLMUsageCalculatorResponseModel

type LLMUsageCalculatorResponseModel struct {
	LlmPrices []LLMUsageCalculatorLLMResponseModel `json:"llm_prices"`
}

Ref: #/components/schemas/LLMUsageCalculatorResponseModel

func (*LLMUsageCalculatorResponseModel) Decode

Decode decodes LLMUsageCalculatorResponseModel from json.

func (*LLMUsageCalculatorResponseModel) Encode

Encode implements json.Marshaler.

func (*LLMUsageCalculatorResponseModel) GetLlmPrices

GetLlmPrices returns the value of LlmPrices.

func (*LLMUsageCalculatorResponseModel) MarshalJSON

func (s *LLMUsageCalculatorResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LLMUsageCalculatorResponseModel) SetLlmPrices

SetLlmPrices sets the value of LlmPrices.

func (*LLMUsageCalculatorResponseModel) UnmarshalJSON

func (s *LLMUsageCalculatorResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LLMUsageCalculatorResponseModel) Validate

func (s *LLMUsageCalculatorResponseModel) Validate() error

type LLMUsageInput

type LLMUsageInput struct {
	ModelUsage OptLLMUsageInputModelUsage `json:"model_usage"`
}

Ref: #/components/schemas/LLMUsage-Input

func (*LLMUsageInput) Decode

func (s *LLMUsageInput) Decode(d *jx.Decoder) error

Decode decodes LLMUsageInput from json.

func (*LLMUsageInput) Encode

func (s *LLMUsageInput) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LLMUsageInput) GetModelUsage

func (s *LLMUsageInput) GetModelUsage() OptLLMUsageInputModelUsage

GetModelUsage returns the value of ModelUsage.

func (*LLMUsageInput) MarshalJSON

func (s *LLMUsageInput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LLMUsageInput) SetModelUsage

func (s *LLMUsageInput) SetModelUsage(val OptLLMUsageInputModelUsage)

SetModelUsage sets the value of ModelUsage.

func (*LLMUsageInput) UnmarshalJSON

func (s *LLMUsageInput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LLMUsageInput) Validate

func (s *LLMUsageInput) Validate() error

type LLMUsageInputModelUsage

type LLMUsageInputModelUsage map[string]LLMInputOutputTokensUsage

func (*LLMUsageInputModelUsage) Decode

func (s *LLMUsageInputModelUsage) Decode(d *jx.Decoder) error

Decode decodes LLMUsageInputModelUsage from json.

func (LLMUsageInputModelUsage) Encode

func (s LLMUsageInputModelUsage) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (LLMUsageInputModelUsage) MarshalJSON

func (s LLMUsageInputModelUsage) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LLMUsageInputModelUsage) UnmarshalJSON

func (s *LLMUsageInputModelUsage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (LLMUsageInputModelUsage) Validate

func (s LLMUsageInputModelUsage) Validate() error

type LLMUsageOutput

type LLMUsageOutput struct {
	ModelUsage OptLLMUsageOutputModelUsage `json:"model_usage"`
}

Ref: #/components/schemas/LLMUsage-Output

func (*LLMUsageOutput) Decode

func (s *LLMUsageOutput) Decode(d *jx.Decoder) error

Decode decodes LLMUsageOutput from json.

func (*LLMUsageOutput) Encode

func (s *LLMUsageOutput) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LLMUsageOutput) GetModelUsage

func (s *LLMUsageOutput) GetModelUsage() OptLLMUsageOutputModelUsage

GetModelUsage returns the value of ModelUsage.

func (*LLMUsageOutput) MarshalJSON

func (s *LLMUsageOutput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LLMUsageOutput) SetModelUsage

func (s *LLMUsageOutput) SetModelUsage(val OptLLMUsageOutputModelUsage)

SetModelUsage sets the value of ModelUsage.

func (*LLMUsageOutput) UnmarshalJSON

func (s *LLMUsageOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LLMUsageOutput) Validate

func (s *LLMUsageOutput) Validate() error

type LLMUsageOutputModelUsage

type LLMUsageOutputModelUsage map[string]LLMInputOutputTokensUsage

func (*LLMUsageOutputModelUsage) Decode

func (s *LLMUsageOutputModelUsage) Decode(d *jx.Decoder) error

Decode decodes LLMUsageOutputModelUsage from json.

func (LLMUsageOutputModelUsage) Encode

func (s LLMUsageOutputModelUsage) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (LLMUsageOutputModelUsage) MarshalJSON

func (s LLMUsageOutputModelUsage) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LLMUsageOutputModelUsage) UnmarshalJSON

func (s *LLMUsageOutputModelUsage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (LLMUsageOutputModelUsage) Validate

func (s LLMUsageOutputModelUsage) Validate() error

type Labeler

type Labeler struct {
	// contains filtered or unexported fields
}

Labeler is used to allow adding custom attributes to the server request metrics.

func LabelerFromContext

func LabelerFromContext(ctx context.Context) (*Labeler, bool)

LabelerFromContext retrieves the Labeler from the provided context, if present.

If no Labeler was found in the provided context a new, empty Labeler is returned and the second return value is false. In this case it is safe to use the Labeler but any attributes added to it will not be used.

func (*Labeler) Add

func (l *Labeler) Add(attrs ...attribute.KeyValue)

Add attributes to the Labeler.

func (*Labeler) AttributeSet

func (l *Labeler) AttributeSet() attribute.Set

AttributeSet returns the attributes added to the Labeler as an attribute.Set.

type LanguageAddedResponse

type LanguageAddedResponse struct {
	Version int `json:"version"`
}

Ref: #/components/schemas/LanguageAddedResponse

func (*LanguageAddedResponse) Decode

func (s *LanguageAddedResponse) Decode(d *jx.Decoder) error

Decode decodes LanguageAddedResponse from json.

func (*LanguageAddedResponse) Encode

func (s *LanguageAddedResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LanguageAddedResponse) GetVersion

func (s *LanguageAddedResponse) GetVersion() int

GetVersion returns the value of Version.

func (*LanguageAddedResponse) MarshalJSON

func (s *LanguageAddedResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LanguageAddedResponse) SetVersion

func (s *LanguageAddedResponse) SetVersion(val int)

SetVersion sets the value of Version.

func (*LanguageAddedResponse) UnmarshalJSON

func (s *LanguageAddedResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type LanguageDetectionToolResultModel

type LanguageDetectionToolResultModel struct {
	Language   OptNilString                                  `json:"language"`
	Reason     OptNilString                                  `json:"reason"`
	ResultType OptLanguageDetectionToolResultModelResultType `json:"result_type"`
	Status     OptLanguageDetectionToolResultModelStatus     `json:"status"`
}

Ref: #/components/schemas/LanguageDetectionToolResultModel

func (*LanguageDetectionToolResultModel) Decode

Decode decodes LanguageDetectionToolResultModel from json.

func (*LanguageDetectionToolResultModel) Encode

Encode implements json.Marshaler.

func (*LanguageDetectionToolResultModel) GetLanguage

GetLanguage returns the value of Language.

func (*LanguageDetectionToolResultModel) GetReason

GetReason returns the value of Reason.

func (*LanguageDetectionToolResultModel) GetResultType

GetResultType returns the value of ResultType.

func (*LanguageDetectionToolResultModel) GetStatus

GetStatus returns the value of Status.

func (*LanguageDetectionToolResultModel) MarshalJSON

func (s *LanguageDetectionToolResultModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LanguageDetectionToolResultModel) SetLanguage

func (s *LanguageDetectionToolResultModel) SetLanguage(val OptNilString)

SetLanguage sets the value of Language.

func (*LanguageDetectionToolResultModel) SetReason

SetReason sets the value of Reason.

func (*LanguageDetectionToolResultModel) SetResultType

SetResultType sets the value of ResultType.

func (*LanguageDetectionToolResultModel) SetStatus

SetStatus sets the value of Status.

func (*LanguageDetectionToolResultModel) UnmarshalJSON

func (s *LanguageDetectionToolResultModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LanguageDetectionToolResultModel) Validate

type LanguageDetectionToolResultModelResultType

type LanguageDetectionToolResultModelResultType string
const (
	LanguageDetectionToolResultModelResultTypeLanguageDetectionSuccess LanguageDetectionToolResultModelResultType = "language_detection_success"
)

func (LanguageDetectionToolResultModelResultType) AllValues

AllValues returns all LanguageDetectionToolResultModelResultType values.

func (*LanguageDetectionToolResultModelResultType) Decode

Decode decodes LanguageDetectionToolResultModelResultType from json.

func (LanguageDetectionToolResultModelResultType) Encode

Encode encodes LanguageDetectionToolResultModelResultType as json.

func (LanguageDetectionToolResultModelResultType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (LanguageDetectionToolResultModelResultType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*LanguageDetectionToolResultModelResultType) UnmarshalJSON

func (s *LanguageDetectionToolResultModelResultType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LanguageDetectionToolResultModelResultType) UnmarshalText

func (s *LanguageDetectionToolResultModelResultType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (LanguageDetectionToolResultModelResultType) Validate

type LanguageDetectionToolResultModelStatus

type LanguageDetectionToolResultModelStatus string
const (
	LanguageDetectionToolResultModelStatusSuccess LanguageDetectionToolResultModelStatus = "success"
)

func (LanguageDetectionToolResultModelStatus) AllValues

AllValues returns all LanguageDetectionToolResultModelStatus values.

func (*LanguageDetectionToolResultModelStatus) Decode

Decode decodes LanguageDetectionToolResultModelStatus from json.

func (LanguageDetectionToolResultModelStatus) Encode

Encode encodes LanguageDetectionToolResultModelStatus as json.

func (LanguageDetectionToolResultModelStatus) MarshalJSON

func (s LanguageDetectionToolResultModelStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (LanguageDetectionToolResultModelStatus) MarshalText

func (s LanguageDetectionToolResultModelStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*LanguageDetectionToolResultModelStatus) UnmarshalJSON

func (s *LanguageDetectionToolResultModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LanguageDetectionToolResultModelStatus) UnmarshalText

func (s *LanguageDetectionToolResultModelStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (LanguageDetectionToolResultModelStatus) Validate

type LanguageResponseModel

type LanguageResponseModel struct {
	// The unique identifier of the language.
	LanguageID string `json:"language_id"`
	// The name of the language.
	Name string `json:"name"`
}

Ref: #/components/schemas/LanguageResponseModel

func (*LanguageResponseModel) Decode

func (s *LanguageResponseModel) Decode(d *jx.Decoder) error

Decode decodes LanguageResponseModel from json.

func (*LanguageResponseModel) Encode

func (s *LanguageResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LanguageResponseModel) GetLanguageID

func (s *LanguageResponseModel) GetLanguageID() string

GetLanguageID returns the value of LanguageID.

func (*LanguageResponseModel) GetName

func (s *LanguageResponseModel) GetName() string

GetName returns the value of Name.

func (*LanguageResponseModel) MarshalJSON

func (s *LanguageResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LanguageResponseModel) SetLanguageID

func (s *LanguageResponseModel) SetLanguageID(val string)

SetLanguageID sets the value of LanguageID.

func (*LanguageResponseModel) SetName

func (s *LanguageResponseModel) SetName(val string)

SetName sets the value of Name.

func (*LanguageResponseModel) UnmarshalJSON

func (s *LanguageResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type LibraryVoiceResponseModel

type LibraryVoiceResponseModel struct {
	// The accent of the voice.
	Accent string `json:"accent"`
	// The age of the voice.
	Age string `json:"age"`
	// The category of the voice.
	Category LibraryVoiceResponseModelCategory `json:"category"`
	// The number of times the voice has been cloned.
	ClonedByCount int `json:"cloned_by_count"`
	// The date the voice was added to the library in Unix time.
	DateUnix int `json:"date_unix"`
	// The description of the voice.
	Description OptNilString `json:"description"`
	// The descriptive of the voice.
	Descriptive string `json:"descriptive"`
	// Whether the voice is featured.
	Featured bool `json:"featured"`
	// The rate of the voice in USD per 1000 credits. null if default.
	FiatRate OptNilFloat64 `json:"fiat_rate"`
	// Whether free users are allowed to use the voice.
	FreeUsersAllowed bool `json:"free_users_allowed"`
	// The gender of the voice.
	Gender string `json:"gender"`
	// The image URL of the voice.
	ImageURL OptNilString `json:"image_url"`
	// The Instagram username of the voice.
	InstagramUsername OptNilString `json:"instagram_username"`
	// Whether the voice was added by the user.
	IsAddedByUser OptNilBool `json:"is_added_by_user"`
	// The language of the voice.
	Language OptNilString `json:"language"`
	// Whether live moderation is enabled for the voice.
	LiveModerationEnabled bool `json:"live_moderation_enabled"`
	// The locale of the voice.
	Locale OptNilString `json:"locale"`
	// The name of the voice.
	Name string `json:"name"`
	// The notice period of the voice.
	NoticePeriod OptNilInt `json:"notice_period"`
	// The play API usage character count of the voice in the last year.
	PlayAPIUsageCharacterCount1y int `json:"play_api_usage_character_count_1y"`
	// The preview URL of the voice.
	PreviewURL OptNilString `json:"preview_url"`
	// The public owner id of the voice.
	PublicOwnerID string `json:"public_owner_id"`
	// The rate multiplier of the voice.
	Rate OptNilFloat64 `json:"rate"`
	// The TikTok username of the voice.
	TiktokUsername OptNilString `json:"tiktok_username"`
	// The Twitter username of the voice.
	TwitterUsername OptNilString `json:"twitter_username"`
	// The usage character count of the voice in the last year.
	UsageCharacterCount1y int `json:"usage_character_count_1y"`
	// The usage character count of the voice in the last 7 days.
	UsageCharacterCount7d int `json:"usage_character_count_7d"`
	// The use case of the voice.
	UseCase string `json:"use_case"`
	// The verified languages of the voice.
	VerifiedLanguages OptNilVerifiedVoiceLanguageResponseModelArray `json:"verified_languages"`
	// The id of the voice.
	VoiceID string `json:"voice_id"`
	// The YouTube username of the voice.
	YoutubeUsername OptNilString `json:"youtube_username"`
}

Ref: #/components/schemas/LibraryVoiceResponseModel

func (*LibraryVoiceResponseModel) Decode

func (s *LibraryVoiceResponseModel) Decode(d *jx.Decoder) error

Decode decodes LibraryVoiceResponseModel from json.

func (*LibraryVoiceResponseModel) Encode

func (s *LibraryVoiceResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LibraryVoiceResponseModel) GetAccent

func (s *LibraryVoiceResponseModel) GetAccent() string

GetAccent returns the value of Accent.

func (*LibraryVoiceResponseModel) GetAge

func (s *LibraryVoiceResponseModel) GetAge() string

GetAge returns the value of Age.

func (*LibraryVoiceResponseModel) GetCategory

GetCategory returns the value of Category.

func (*LibraryVoiceResponseModel) GetClonedByCount

func (s *LibraryVoiceResponseModel) GetClonedByCount() int

GetClonedByCount returns the value of ClonedByCount.

func (*LibraryVoiceResponseModel) GetDateUnix

func (s *LibraryVoiceResponseModel) GetDateUnix() int

GetDateUnix returns the value of DateUnix.

func (*LibraryVoiceResponseModel) GetDescription

func (s *LibraryVoiceResponseModel) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*LibraryVoiceResponseModel) GetDescriptive

func (s *LibraryVoiceResponseModel) GetDescriptive() string

GetDescriptive returns the value of Descriptive.

func (*LibraryVoiceResponseModel) GetFeatured

func (s *LibraryVoiceResponseModel) GetFeatured() bool

GetFeatured returns the value of Featured.

func (*LibraryVoiceResponseModel) GetFiatRate

func (s *LibraryVoiceResponseModel) GetFiatRate() OptNilFloat64

GetFiatRate returns the value of FiatRate.

func (*LibraryVoiceResponseModel) GetFreeUsersAllowed

func (s *LibraryVoiceResponseModel) GetFreeUsersAllowed() bool

GetFreeUsersAllowed returns the value of FreeUsersAllowed.

func (*LibraryVoiceResponseModel) GetGender

func (s *LibraryVoiceResponseModel) GetGender() string

GetGender returns the value of Gender.

func (*LibraryVoiceResponseModel) GetImageURL

func (s *LibraryVoiceResponseModel) GetImageURL() OptNilString

GetImageURL returns the value of ImageURL.

func (*LibraryVoiceResponseModel) GetInstagramUsername

func (s *LibraryVoiceResponseModel) GetInstagramUsername() OptNilString

GetInstagramUsername returns the value of InstagramUsername.

func (*LibraryVoiceResponseModel) GetIsAddedByUser

func (s *LibraryVoiceResponseModel) GetIsAddedByUser() OptNilBool

GetIsAddedByUser returns the value of IsAddedByUser.

func (*LibraryVoiceResponseModel) GetLanguage

func (s *LibraryVoiceResponseModel) GetLanguage() OptNilString

GetLanguage returns the value of Language.

func (*LibraryVoiceResponseModel) GetLiveModerationEnabled

func (s *LibraryVoiceResponseModel) GetLiveModerationEnabled() bool

GetLiveModerationEnabled returns the value of LiveModerationEnabled.

func (*LibraryVoiceResponseModel) GetLocale

func (s *LibraryVoiceResponseModel) GetLocale() OptNilString

GetLocale returns the value of Locale.

func (*LibraryVoiceResponseModel) GetName

func (s *LibraryVoiceResponseModel) GetName() string

GetName returns the value of Name.

func (*LibraryVoiceResponseModel) GetNoticePeriod

func (s *LibraryVoiceResponseModel) GetNoticePeriod() OptNilInt

GetNoticePeriod returns the value of NoticePeriod.

func (*LibraryVoiceResponseModel) GetPlayAPIUsageCharacterCount1y

func (s *LibraryVoiceResponseModel) GetPlayAPIUsageCharacterCount1y() int

GetPlayAPIUsageCharacterCount1y returns the value of PlayAPIUsageCharacterCount1y.

func (*LibraryVoiceResponseModel) GetPreviewURL

func (s *LibraryVoiceResponseModel) GetPreviewURL() OptNilString

GetPreviewURL returns the value of PreviewURL.

func (*LibraryVoiceResponseModel) GetPublicOwnerID

func (s *LibraryVoiceResponseModel) GetPublicOwnerID() string

GetPublicOwnerID returns the value of PublicOwnerID.

func (*LibraryVoiceResponseModel) GetRate

GetRate returns the value of Rate.

func (*LibraryVoiceResponseModel) GetTiktokUsername

func (s *LibraryVoiceResponseModel) GetTiktokUsername() OptNilString

GetTiktokUsername returns the value of TiktokUsername.

func (*LibraryVoiceResponseModel) GetTwitterUsername

func (s *LibraryVoiceResponseModel) GetTwitterUsername() OptNilString

GetTwitterUsername returns the value of TwitterUsername.

func (*LibraryVoiceResponseModel) GetUsageCharacterCount1y

func (s *LibraryVoiceResponseModel) GetUsageCharacterCount1y() int

GetUsageCharacterCount1y returns the value of UsageCharacterCount1y.

func (*LibraryVoiceResponseModel) GetUsageCharacterCount7d

func (s *LibraryVoiceResponseModel) GetUsageCharacterCount7d() int

GetUsageCharacterCount7d returns the value of UsageCharacterCount7d.

func (*LibraryVoiceResponseModel) GetUseCase

func (s *LibraryVoiceResponseModel) GetUseCase() string

GetUseCase returns the value of UseCase.

func (*LibraryVoiceResponseModel) GetVerifiedLanguages

GetVerifiedLanguages returns the value of VerifiedLanguages.

func (*LibraryVoiceResponseModel) GetVoiceID

func (s *LibraryVoiceResponseModel) GetVoiceID() string

GetVoiceID returns the value of VoiceID.

func (*LibraryVoiceResponseModel) GetYoutubeUsername

func (s *LibraryVoiceResponseModel) GetYoutubeUsername() OptNilString

GetYoutubeUsername returns the value of YoutubeUsername.

func (*LibraryVoiceResponseModel) MarshalJSON

func (s *LibraryVoiceResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LibraryVoiceResponseModel) SetAccent

func (s *LibraryVoiceResponseModel) SetAccent(val string)

SetAccent sets the value of Accent.

func (*LibraryVoiceResponseModel) SetAge

func (s *LibraryVoiceResponseModel) SetAge(val string)

SetAge sets the value of Age.

func (*LibraryVoiceResponseModel) SetCategory

SetCategory sets the value of Category.

func (*LibraryVoiceResponseModel) SetClonedByCount

func (s *LibraryVoiceResponseModel) SetClonedByCount(val int)

SetClonedByCount sets the value of ClonedByCount.

func (*LibraryVoiceResponseModel) SetDateUnix

func (s *LibraryVoiceResponseModel) SetDateUnix(val int)

SetDateUnix sets the value of DateUnix.

func (*LibraryVoiceResponseModel) SetDescription

func (s *LibraryVoiceResponseModel) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*LibraryVoiceResponseModel) SetDescriptive

func (s *LibraryVoiceResponseModel) SetDescriptive(val string)

SetDescriptive sets the value of Descriptive.

func (*LibraryVoiceResponseModel) SetFeatured

func (s *LibraryVoiceResponseModel) SetFeatured(val bool)

SetFeatured sets the value of Featured.

func (*LibraryVoiceResponseModel) SetFiatRate

func (s *LibraryVoiceResponseModel) SetFiatRate(val OptNilFloat64)

SetFiatRate sets the value of FiatRate.

func (*LibraryVoiceResponseModel) SetFreeUsersAllowed

func (s *LibraryVoiceResponseModel) SetFreeUsersAllowed(val bool)

SetFreeUsersAllowed sets the value of FreeUsersAllowed.

func (*LibraryVoiceResponseModel) SetGender

func (s *LibraryVoiceResponseModel) SetGender(val string)

SetGender sets the value of Gender.

func (*LibraryVoiceResponseModel) SetImageURL

func (s *LibraryVoiceResponseModel) SetImageURL(val OptNilString)

SetImageURL sets the value of ImageURL.

func (*LibraryVoiceResponseModel) SetInstagramUsername

func (s *LibraryVoiceResponseModel) SetInstagramUsername(val OptNilString)

SetInstagramUsername sets the value of InstagramUsername.

func (*LibraryVoiceResponseModel) SetIsAddedByUser

func (s *LibraryVoiceResponseModel) SetIsAddedByUser(val OptNilBool)

SetIsAddedByUser sets the value of IsAddedByUser.

func (*LibraryVoiceResponseModel) SetLanguage

func (s *LibraryVoiceResponseModel) SetLanguage(val OptNilString)

SetLanguage sets the value of Language.

func (*LibraryVoiceResponseModel) SetLiveModerationEnabled

func (s *LibraryVoiceResponseModel) SetLiveModerationEnabled(val bool)

SetLiveModerationEnabled sets the value of LiveModerationEnabled.

func (*LibraryVoiceResponseModel) SetLocale

func (s *LibraryVoiceResponseModel) SetLocale(val OptNilString)

SetLocale sets the value of Locale.

func (*LibraryVoiceResponseModel) SetName

func (s *LibraryVoiceResponseModel) SetName(val string)

SetName sets the value of Name.

func (*LibraryVoiceResponseModel) SetNoticePeriod

func (s *LibraryVoiceResponseModel) SetNoticePeriod(val OptNilInt)

SetNoticePeriod sets the value of NoticePeriod.

func (*LibraryVoiceResponseModel) SetPlayAPIUsageCharacterCount1y

func (s *LibraryVoiceResponseModel) SetPlayAPIUsageCharacterCount1y(val int)

SetPlayAPIUsageCharacterCount1y sets the value of PlayAPIUsageCharacterCount1y.

func (*LibraryVoiceResponseModel) SetPreviewURL

func (s *LibraryVoiceResponseModel) SetPreviewURL(val OptNilString)

SetPreviewURL sets the value of PreviewURL.

func (*LibraryVoiceResponseModel) SetPublicOwnerID

func (s *LibraryVoiceResponseModel) SetPublicOwnerID(val string)

SetPublicOwnerID sets the value of PublicOwnerID.

func (*LibraryVoiceResponseModel) SetRate

func (s *LibraryVoiceResponseModel) SetRate(val OptNilFloat64)

SetRate sets the value of Rate.

func (*LibraryVoiceResponseModel) SetTiktokUsername

func (s *LibraryVoiceResponseModel) SetTiktokUsername(val OptNilString)

SetTiktokUsername sets the value of TiktokUsername.

func (*LibraryVoiceResponseModel) SetTwitterUsername

func (s *LibraryVoiceResponseModel) SetTwitterUsername(val OptNilString)

SetTwitterUsername sets the value of TwitterUsername.

func (*LibraryVoiceResponseModel) SetUsageCharacterCount1y

func (s *LibraryVoiceResponseModel) SetUsageCharacterCount1y(val int)

SetUsageCharacterCount1y sets the value of UsageCharacterCount1y.

func (*LibraryVoiceResponseModel) SetUsageCharacterCount7d

func (s *LibraryVoiceResponseModel) SetUsageCharacterCount7d(val int)

SetUsageCharacterCount7d sets the value of UsageCharacterCount7d.

func (*LibraryVoiceResponseModel) SetUseCase

func (s *LibraryVoiceResponseModel) SetUseCase(val string)

SetUseCase sets the value of UseCase.

func (*LibraryVoiceResponseModel) SetVerifiedLanguages

SetVerifiedLanguages sets the value of VerifiedLanguages.

func (*LibraryVoiceResponseModel) SetVoiceID

func (s *LibraryVoiceResponseModel) SetVoiceID(val string)

SetVoiceID sets the value of VoiceID.

func (*LibraryVoiceResponseModel) SetYoutubeUsername

func (s *LibraryVoiceResponseModel) SetYoutubeUsername(val OptNilString)

SetYoutubeUsername sets the value of YoutubeUsername.

func (*LibraryVoiceResponseModel) UnmarshalJSON

func (s *LibraryVoiceResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LibraryVoiceResponseModel) Validate

func (s *LibraryVoiceResponseModel) Validate() error

type LibraryVoiceResponseModelCategory

type LibraryVoiceResponseModelCategory string

The category of the voice.

const (
	LibraryVoiceResponseModelCategoryGenerated    LibraryVoiceResponseModelCategory = "generated"
	LibraryVoiceResponseModelCategoryCloned       LibraryVoiceResponseModelCategory = "cloned"
	LibraryVoiceResponseModelCategoryPremade      LibraryVoiceResponseModelCategory = "premade"
	LibraryVoiceResponseModelCategoryProfessional LibraryVoiceResponseModelCategory = "professional"
	LibraryVoiceResponseModelCategoryFamous       LibraryVoiceResponseModelCategory = "famous"
	LibraryVoiceResponseModelCategoryHighQuality  LibraryVoiceResponseModelCategory = "high_quality"
)

func (LibraryVoiceResponseModelCategory) AllValues

AllValues returns all LibraryVoiceResponseModelCategory values.

func (*LibraryVoiceResponseModelCategory) Decode

Decode decodes LibraryVoiceResponseModelCategory from json.

func (LibraryVoiceResponseModelCategory) Encode

Encode encodes LibraryVoiceResponseModelCategory as json.

func (LibraryVoiceResponseModelCategory) MarshalJSON

func (s LibraryVoiceResponseModelCategory) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (LibraryVoiceResponseModelCategory) MarshalText

func (s LibraryVoiceResponseModelCategory) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*LibraryVoiceResponseModelCategory) UnmarshalJSON

func (s *LibraryVoiceResponseModelCategory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LibraryVoiceResponseModelCategory) UnmarshalText

func (s *LibraryVoiceResponseModelCategory) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (LibraryVoiceResponseModelCategory) Validate

type ListChatResponseTestsRouteParams

type ListChatResponseTestsRouteParams struct {
	// Used for fetching next page. Cursor is returned in the response.
	Cursor OptNilString `json:",omitempty,omitzero"`
	// How many Tests to return at maximum. Can not exceed 100, defaults to 30.
	PageSize OptInt `json:",omitempty,omitzero"`
	// Search query to filter tests by name.
	Search OptNilString `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

ListChatResponseTestsRouteParams is parameters of list_chat_response_tests_route operation.

type ListChatResponseTestsRouteRes

type ListChatResponseTestsRouteRes interface {
	// contains filtered or unexported methods
}

type ListDubsDubbingStatus

type ListDubsDubbingStatus string

What state the dub is currently in.

const (
	ListDubsDubbingStatusDubbing ListDubsDubbingStatus = "dubbing"
	ListDubsDubbingStatusDubbed  ListDubsDubbingStatus = "dubbed"
	ListDubsDubbingStatusFailed  ListDubsDubbingStatus = "failed"
)

func (ListDubsDubbingStatus) AllValues

AllValues returns all ListDubsDubbingStatus values.

func (ListDubsDubbingStatus) MarshalText

func (s ListDubsDubbingStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ListDubsDubbingStatus) UnmarshalText

func (s *ListDubsDubbingStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ListDubsDubbingStatus) Validate

func (s ListDubsDubbingStatus) Validate() error

type ListDubsFilterByCreator

type ListDubsFilterByCreator string

Filters who created the resources being listed, whether it was the user running the request or someone else that shared the resource with them.

const (
	ListDubsFilterByCreatorPersonal ListDubsFilterByCreator = "personal"
	ListDubsFilterByCreatorOthers   ListDubsFilterByCreator = "others"
	ListDubsFilterByCreatorAll      ListDubsFilterByCreator = "all"
)

func (ListDubsFilterByCreator) AllValues

AllValues returns all ListDubsFilterByCreator values.

func (ListDubsFilterByCreator) MarshalText

func (s ListDubsFilterByCreator) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ListDubsFilterByCreator) UnmarshalText

func (s *ListDubsFilterByCreator) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ListDubsFilterByCreator) Validate

func (s ListDubsFilterByCreator) Validate() error

type ListDubsOrderBy

type ListDubsOrderBy string

The field to use for ordering results from this query.

const (
	ListDubsOrderByCreatedAt ListDubsOrderBy = "created_at"
)

func (ListDubsOrderBy) AllValues

func (ListDubsOrderBy) AllValues() []ListDubsOrderBy

AllValues returns all ListDubsOrderBy values.

func (ListDubsOrderBy) MarshalText

func (s ListDubsOrderBy) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ListDubsOrderBy) UnmarshalText

func (s *ListDubsOrderBy) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ListDubsOrderBy) Validate

func (s ListDubsOrderBy) Validate() error

type ListDubsOrderDirection

type ListDubsOrderDirection string

The order direction to use for results from this query.

const (
	ListDubsOrderDirectionDESCENDING ListDubsOrderDirection = "DESCENDING"
	ListDubsOrderDirectionASCENDING  ListDubsOrderDirection = "ASCENDING"
)

func (ListDubsOrderDirection) AllValues

AllValues returns all ListDubsOrderDirection values.

func (ListDubsOrderDirection) MarshalText

func (s ListDubsOrderDirection) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ListDubsOrderDirection) UnmarshalText

func (s *ListDubsOrderDirection) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ListDubsOrderDirection) Validate

func (s ListDubsOrderDirection) Validate() error

type ListDubsParams

type ListDubsParams struct {
	// Used for fetching next page. Cursor is returned in the response.
	Cursor OptNilString `json:",omitempty,omitzero"`
	// How many dubs to return at maximum. Can not exceed 200, defaults to 100.
	PageSize OptInt `json:",omitempty,omitzero"`
	// What state the dub is currently in.
	DubbingStatus OptListDubsDubbingStatus `json:",omitempty,omitzero"`
	// Filters who created the resources being listed, whether it was the user running the request or
	// someone else that shared the resource with them.
	FilterByCreator OptListDubsFilterByCreator `json:",omitempty,omitzero"`
	// The field to use for ordering results from this query.
	OrderBy OptListDubsOrderBy `json:",omitempty,omitzero"`
	// The order direction to use for results from this query.
	OrderDirection OptListDubsOrderDirection `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

ListDubsParams is parameters of list_dubs operation.

type ListDubsRes

type ListDubsRes interface {
	// contains filtered or unexported methods
}

type ListMCPToolsResponseModel

type ListMCPToolsResponseModel struct {
	// Error message if the operation was not successful.
	ErrorMessage OptNilString `json:"error_message"`
	// Indicates if the operation was successful.
	Success bool `json:"success"`
	// A list of tools available on the MCP server.
	Tools []Tool `json:"tools"`
}

Response model for testing tools available on an MCP server. Ref: #/components/schemas/ListMCPToolsResponseModel

func (*ListMCPToolsResponseModel) Decode

func (s *ListMCPToolsResponseModel) Decode(d *jx.Decoder) error

Decode decodes ListMCPToolsResponseModel from json.

func (*ListMCPToolsResponseModel) Encode

func (s *ListMCPToolsResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ListMCPToolsResponseModel) GetErrorMessage

func (s *ListMCPToolsResponseModel) GetErrorMessage() OptNilString

GetErrorMessage returns the value of ErrorMessage.

func (*ListMCPToolsResponseModel) GetSuccess

func (s *ListMCPToolsResponseModel) GetSuccess() bool

GetSuccess returns the value of Success.

func (*ListMCPToolsResponseModel) GetTools

func (s *ListMCPToolsResponseModel) GetTools() []Tool

GetTools returns the value of Tools.

func (*ListMCPToolsResponseModel) MarshalJSON

func (s *ListMCPToolsResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListMCPToolsResponseModel) SetErrorMessage

func (s *ListMCPToolsResponseModel) SetErrorMessage(val OptNilString)

SetErrorMessage sets the value of ErrorMessage.

func (*ListMCPToolsResponseModel) SetSuccess

func (s *ListMCPToolsResponseModel) SetSuccess(val bool)

SetSuccess sets the value of Success.

func (*ListMCPToolsResponseModel) SetTools

func (s *ListMCPToolsResponseModel) SetTools(val []Tool)

SetTools sets the value of Tools.

func (*ListMCPToolsResponseModel) UnmarshalJSON

func (s *ListMCPToolsResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListMCPToolsResponseModel) Validate

func (s *ListMCPToolsResponseModel) Validate() error

type ListMcpServerToolsRouteParams

type ListMcpServerToolsRouteParams struct {
	// ID of the MCP Server.
	McpServerID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

ListMcpServerToolsRouteParams is parameters of list_mcp_server_tools_route operation.

type ListMcpServerToolsRouteRes

type ListMcpServerToolsRouteRes interface {
	// contains filtered or unexported methods
}

type ListPhoneNumbersRouteOKApplicationJSON

type ListPhoneNumbersRouteOKApplicationJSON []ListPhoneNumbersRouteOKItem

func (*ListPhoneNumbersRouteOKApplicationJSON) Decode

Decode decodes ListPhoneNumbersRouteOKApplicationJSON from json.

func (ListPhoneNumbersRouteOKApplicationJSON) Encode

Encode encodes ListPhoneNumbersRouteOKApplicationJSON as json.

func (ListPhoneNumbersRouteOKApplicationJSON) MarshalJSON

func (s ListPhoneNumbersRouteOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListPhoneNumbersRouteOKApplicationJSON) UnmarshalJSON

func (s *ListPhoneNumbersRouteOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListPhoneNumbersRouteOKApplicationJSON) Validate

type ListPhoneNumbersRouteOKItem

type ListPhoneNumbersRouteOKItem struct {
	Type                                ListPhoneNumbersRouteOKItemType // switch on this field
	GetPhoneNumberTwilioResponseModel   GetPhoneNumberTwilioResponseModel
	GetPhoneNumberSIPTrunkResponseModel GetPhoneNumberSIPTrunkResponseModel
}

ListPhoneNumbersRouteOKItem represents sum type.

func NewGetPhoneNumberSIPTrunkResponseModelListPhoneNumbersRouteOKItem

func NewGetPhoneNumberSIPTrunkResponseModelListPhoneNumbersRouteOKItem(v GetPhoneNumberSIPTrunkResponseModel) ListPhoneNumbersRouteOKItem

NewGetPhoneNumberSIPTrunkResponseModelListPhoneNumbersRouteOKItem returns new ListPhoneNumbersRouteOKItem from GetPhoneNumberSIPTrunkResponseModel.

func NewGetPhoneNumberTwilioResponseModelListPhoneNumbersRouteOKItem

func NewGetPhoneNumberTwilioResponseModelListPhoneNumbersRouteOKItem(v GetPhoneNumberTwilioResponseModel) ListPhoneNumbersRouteOKItem

NewGetPhoneNumberTwilioResponseModelListPhoneNumbersRouteOKItem returns new ListPhoneNumbersRouteOKItem from GetPhoneNumberTwilioResponseModel.

func (*ListPhoneNumbersRouteOKItem) Decode

Decode decodes ListPhoneNumbersRouteOKItem from json.

func (ListPhoneNumbersRouteOKItem) Encode

func (s ListPhoneNumbersRouteOKItem) Encode(e *jx.Encoder)

Encode encodes ListPhoneNumbersRouteOKItem as json.

func (ListPhoneNumbersRouteOKItem) GetGetPhoneNumberSIPTrunkResponseModel

func (s ListPhoneNumbersRouteOKItem) GetGetPhoneNumberSIPTrunkResponseModel() (v GetPhoneNumberSIPTrunkResponseModel, ok bool)

GetGetPhoneNumberSIPTrunkResponseModel returns GetPhoneNumberSIPTrunkResponseModel and true boolean if ListPhoneNumbersRouteOKItem is GetPhoneNumberSIPTrunkResponseModel.

func (ListPhoneNumbersRouteOKItem) GetGetPhoneNumberTwilioResponseModel

func (s ListPhoneNumbersRouteOKItem) GetGetPhoneNumberTwilioResponseModel() (v GetPhoneNumberTwilioResponseModel, ok bool)

GetGetPhoneNumberTwilioResponseModel returns GetPhoneNumberTwilioResponseModel and true boolean if ListPhoneNumbersRouteOKItem is GetPhoneNumberTwilioResponseModel.

func (ListPhoneNumbersRouteOKItem) IsGetPhoneNumberSIPTrunkResponseModel

func (s ListPhoneNumbersRouteOKItem) IsGetPhoneNumberSIPTrunkResponseModel() bool

IsGetPhoneNumberSIPTrunkResponseModel reports whether ListPhoneNumbersRouteOKItem is GetPhoneNumberSIPTrunkResponseModel.

func (ListPhoneNumbersRouteOKItem) IsGetPhoneNumberTwilioResponseModel

func (s ListPhoneNumbersRouteOKItem) IsGetPhoneNumberTwilioResponseModel() bool

IsGetPhoneNumberTwilioResponseModel reports whether ListPhoneNumbersRouteOKItem is GetPhoneNumberTwilioResponseModel.

func (ListPhoneNumbersRouteOKItem) MarshalJSON

func (s ListPhoneNumbersRouteOKItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListPhoneNumbersRouteOKItem) SetGetPhoneNumberSIPTrunkResponseModel

func (s *ListPhoneNumbersRouteOKItem) SetGetPhoneNumberSIPTrunkResponseModel(v GetPhoneNumberSIPTrunkResponseModel)

SetGetPhoneNumberSIPTrunkResponseModel sets ListPhoneNumbersRouteOKItem to GetPhoneNumberSIPTrunkResponseModel.

func (*ListPhoneNumbersRouteOKItem) SetGetPhoneNumberTwilioResponseModel

func (s *ListPhoneNumbersRouteOKItem) SetGetPhoneNumberTwilioResponseModel(v GetPhoneNumberTwilioResponseModel)

SetGetPhoneNumberTwilioResponseModel sets ListPhoneNumbersRouteOKItem to GetPhoneNumberTwilioResponseModel.

func (*ListPhoneNumbersRouteOKItem) UnmarshalJSON

func (s *ListPhoneNumbersRouteOKItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListPhoneNumbersRouteOKItem) Validate

func (s ListPhoneNumbersRouteOKItem) Validate() error

type ListPhoneNumbersRouteOKItemType

type ListPhoneNumbersRouteOKItemType string

ListPhoneNumbersRouteOKItemType is oneOf type of ListPhoneNumbersRouteOKItem.

const (
	GetPhoneNumberTwilioResponseModelListPhoneNumbersRouteOKItem   ListPhoneNumbersRouteOKItemType = "twilio"
	GetPhoneNumberSIPTrunkResponseModelListPhoneNumbersRouteOKItem ListPhoneNumbersRouteOKItemType = "sip_trunk"
)

Possible values for ListPhoneNumbersRouteOKItemType.

type ListPhoneNumbersRouteParams

type ListPhoneNumbersRouteParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

ListPhoneNumbersRouteParams is parameters of list_phone_numbers_route operation.

type ListPhoneNumbersRouteRes

type ListPhoneNumbersRouteRes interface {
	// contains filtered or unexported methods
}

type ListResponseMeta

type ListResponseMeta struct {
	Page     OptNilInt `json:"page"`
	PageSize OptNilInt `json:"page_size"`
	Total    OptNilInt `json:"total"`
}

Ref: #/components/schemas/ListResponseMeta

func (*ListResponseMeta) Decode

func (s *ListResponseMeta) Decode(d *jx.Decoder) error

Decode decodes ListResponseMeta from json.

func (*ListResponseMeta) Encode

func (s *ListResponseMeta) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ListResponseMeta) GetPage

func (s *ListResponseMeta) GetPage() OptNilInt

GetPage returns the value of Page.

func (*ListResponseMeta) GetPageSize

func (s *ListResponseMeta) GetPageSize() OptNilInt

GetPageSize returns the value of PageSize.

func (*ListResponseMeta) GetTotal

func (s *ListResponseMeta) GetTotal() OptNilInt

GetTotal returns the value of Total.

func (*ListResponseMeta) MarshalJSON

func (s *ListResponseMeta) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListResponseMeta) SetPage

func (s *ListResponseMeta) SetPage(val OptNilInt)

SetPage sets the value of Page.

func (*ListResponseMeta) SetPageSize

func (s *ListResponseMeta) SetPageSize(val OptNilInt)

SetPageSize sets the value of PageSize.

func (*ListResponseMeta) SetTotal

func (s *ListResponseMeta) SetTotal(val OptNilInt)

SetTotal sets the value of Total.

func (*ListResponseMeta) UnmarshalJSON

func (s *ListResponseMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListTestInvocationsRouteParams

type ListTestInvocationsRouteParams struct {
	// Filter by agent ID.
	AgentID string
	// How many Tests to return at maximum. Can not exceed 100, defaults to 30.
	PageSize OptInt `json:",omitempty,omitzero"`
	// Used for fetching next page. Cursor is returned in the response.
	Cursor OptNilString `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

ListTestInvocationsRouteParams is parameters of list_test_invocations_route operation.

type ListTestInvocationsRouteRes

type ListTestInvocationsRouteRes interface {
	// contains filtered or unexported methods
}

type ListTestsByIdsRequestModel

type ListTestsByIdsRequestModel struct {
	// List of test IDs to fetch. No duplicates allowed.
	TestIds []string `json:"test_ids"`
}

Ref: #/components/schemas/ListTestsByIdsRequestModel

func (*ListTestsByIdsRequestModel) Decode

Decode decodes ListTestsByIdsRequestModel from json.

func (*ListTestsByIdsRequestModel) Encode

func (s *ListTestsByIdsRequestModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ListTestsByIdsRequestModel) GetTestIds

func (s *ListTestsByIdsRequestModel) GetTestIds() []string

GetTestIds returns the value of TestIds.

func (*ListTestsByIdsRequestModel) MarshalJSON

func (s *ListTestsByIdsRequestModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListTestsByIdsRequestModel) SetTestIds

func (s *ListTestsByIdsRequestModel) SetTestIds(val []string)

SetTestIds sets the value of TestIds.

func (*ListTestsByIdsRequestModel) UnmarshalJSON

func (s *ListTestsByIdsRequestModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListTestsByIdsRequestModel) Validate

func (s *ListTestsByIdsRequestModel) Validate() error

type ListWhatsAppAccountsResponse

type ListWhatsAppAccountsResponse struct {
	Items []GetWhatsAppAccountResponse `json:"items"`
}

Ref: #/components/schemas/ListWhatsAppAccountsResponse

func (*ListWhatsAppAccountsResponse) Decode

Decode decodes ListWhatsAppAccountsResponse from json.

func (*ListWhatsAppAccountsResponse) Encode

func (s *ListWhatsAppAccountsResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ListWhatsAppAccountsResponse) GetItems

GetItems returns the value of Items.

func (*ListWhatsAppAccountsResponse) MarshalJSON

func (s *ListWhatsAppAccountsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListWhatsAppAccountsResponse) SetItems

SetItems sets the value of Items.

func (*ListWhatsAppAccountsResponse) UnmarshalJSON

func (s *ListWhatsAppAccountsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ListWhatsAppAccountsResponse) Validate

func (s *ListWhatsAppAccountsResponse) Validate() error

type ListWhatsappAccountsParams

type ListWhatsappAccountsParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

ListWhatsappAccountsParams is parameters of list_whatsapp_accounts operation.

type ListWhatsappAccountsRes

type ListWhatsappAccountsRes interface {
	// contains filtered or unexported methods
}

type LiteralJsonSchemaProperty

type LiteralJsonSchemaProperty struct {
	// The constant value of the property.
	ConstantValue OptLiteralJsonSchemaPropertyConstantValue `json:"constant_value"`
	// The description of the property.
	Description OptString `json:"description"`
	// The dynamic variable of the property.
	DynamicVariable OptString `json:"dynamic_variable"`
	// List of allowed string values for string type parameters.
	Enum OptNilStringArray `json:"enum"`
	// If true, the value will be populated by the system at runtime. Used by Api Integration Webhook
	// tools for templating.
	IsSystemProvided OptBool                       `json:"is_system_provided"`
	Type             LiteralJsonSchemaPropertyType `json:"type"`
}

Ref: #/components/schemas/LiteralJsonSchemaProperty

func (*LiteralJsonSchemaProperty) Decode

func (s *LiteralJsonSchemaProperty) Decode(d *jx.Decoder) error

Decode decodes LiteralJsonSchemaProperty from json.

func (*LiteralJsonSchemaProperty) Encode

func (s *LiteralJsonSchemaProperty) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LiteralJsonSchemaProperty) GetConstantValue

GetConstantValue returns the value of ConstantValue.

func (*LiteralJsonSchemaProperty) GetDescription

func (s *LiteralJsonSchemaProperty) GetDescription() OptString

GetDescription returns the value of Description.

func (*LiteralJsonSchemaProperty) GetDynamicVariable

func (s *LiteralJsonSchemaProperty) GetDynamicVariable() OptString

GetDynamicVariable returns the value of DynamicVariable.

func (*LiteralJsonSchemaProperty) GetEnum

GetEnum returns the value of Enum.

func (*LiteralJsonSchemaProperty) GetIsSystemProvided

func (s *LiteralJsonSchemaProperty) GetIsSystemProvided() OptBool

GetIsSystemProvided returns the value of IsSystemProvided.

func (*LiteralJsonSchemaProperty) GetType

GetType returns the value of Type.

func (*LiteralJsonSchemaProperty) MarshalJSON

func (s *LiteralJsonSchemaProperty) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LiteralJsonSchemaProperty) SetConstantValue

SetConstantValue sets the value of ConstantValue.

func (*LiteralJsonSchemaProperty) SetDescription

func (s *LiteralJsonSchemaProperty) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*LiteralJsonSchemaProperty) SetDynamicVariable

func (s *LiteralJsonSchemaProperty) SetDynamicVariable(val OptString)

SetDynamicVariable sets the value of DynamicVariable.

func (*LiteralJsonSchemaProperty) SetEnum

SetEnum sets the value of Enum.

func (*LiteralJsonSchemaProperty) SetIsSystemProvided

func (s *LiteralJsonSchemaProperty) SetIsSystemProvided(val OptBool)

SetIsSystemProvided sets the value of IsSystemProvided.

func (*LiteralJsonSchemaProperty) SetType

SetType sets the value of Type.

func (*LiteralJsonSchemaProperty) UnmarshalJSON

func (s *LiteralJsonSchemaProperty) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LiteralJsonSchemaProperty) Validate

func (s *LiteralJsonSchemaProperty) Validate() error

type LiteralJsonSchemaPropertyConstantValue

type LiteralJsonSchemaPropertyConstantValue struct {
	Type    LiteralJsonSchemaPropertyConstantValueType // switch on this field
	String  string
	Int     int
	Float64 float64
	Bool    bool
}

The constant value of the property. LiteralJsonSchemaPropertyConstantValue represents sum type.

func NewBoolLiteralJsonSchemaPropertyConstantValue

func NewBoolLiteralJsonSchemaPropertyConstantValue(v bool) LiteralJsonSchemaPropertyConstantValue

NewBoolLiteralJsonSchemaPropertyConstantValue returns new LiteralJsonSchemaPropertyConstantValue from bool.

func NewFloat64LiteralJsonSchemaPropertyConstantValue

func NewFloat64LiteralJsonSchemaPropertyConstantValue(v float64) LiteralJsonSchemaPropertyConstantValue

NewFloat64LiteralJsonSchemaPropertyConstantValue returns new LiteralJsonSchemaPropertyConstantValue from float64.

func NewIntLiteralJsonSchemaPropertyConstantValue

func NewIntLiteralJsonSchemaPropertyConstantValue(v int) LiteralJsonSchemaPropertyConstantValue

NewIntLiteralJsonSchemaPropertyConstantValue returns new LiteralJsonSchemaPropertyConstantValue from int.

func NewStringLiteralJsonSchemaPropertyConstantValue

func NewStringLiteralJsonSchemaPropertyConstantValue(v string) LiteralJsonSchemaPropertyConstantValue

NewStringLiteralJsonSchemaPropertyConstantValue returns new LiteralJsonSchemaPropertyConstantValue from string.

func (*LiteralJsonSchemaPropertyConstantValue) Decode

Decode decodes LiteralJsonSchemaPropertyConstantValue from json.

func (LiteralJsonSchemaPropertyConstantValue) Encode

Encode encodes LiteralJsonSchemaPropertyConstantValue as json.

func (LiteralJsonSchemaPropertyConstantValue) GetBool

func (s LiteralJsonSchemaPropertyConstantValue) GetBool() (v bool, ok bool)

GetBool returns bool and true boolean if LiteralJsonSchemaPropertyConstantValue is bool.

func (LiteralJsonSchemaPropertyConstantValue) GetFloat64

func (s LiteralJsonSchemaPropertyConstantValue) GetFloat64() (v float64, ok bool)

GetFloat64 returns float64 and true boolean if LiteralJsonSchemaPropertyConstantValue is float64.

func (LiteralJsonSchemaPropertyConstantValue) GetInt

func (s LiteralJsonSchemaPropertyConstantValue) GetInt() (v int, ok bool)

GetInt returns int and true boolean if LiteralJsonSchemaPropertyConstantValue is int.

func (LiteralJsonSchemaPropertyConstantValue) GetString

func (s LiteralJsonSchemaPropertyConstantValue) GetString() (v string, ok bool)

GetString returns string and true boolean if LiteralJsonSchemaPropertyConstantValue is string.

func (LiteralJsonSchemaPropertyConstantValue) IsBool

IsBool reports whether LiteralJsonSchemaPropertyConstantValue is bool.

func (LiteralJsonSchemaPropertyConstantValue) IsFloat64

IsFloat64 reports whether LiteralJsonSchemaPropertyConstantValue is float64.

func (LiteralJsonSchemaPropertyConstantValue) IsInt

IsInt reports whether LiteralJsonSchemaPropertyConstantValue is int.

func (LiteralJsonSchemaPropertyConstantValue) IsString

IsString reports whether LiteralJsonSchemaPropertyConstantValue is string.

func (LiteralJsonSchemaPropertyConstantValue) MarshalJSON

func (s LiteralJsonSchemaPropertyConstantValue) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LiteralJsonSchemaPropertyConstantValue) SetBool

SetBool sets LiteralJsonSchemaPropertyConstantValue to bool.

func (*LiteralJsonSchemaPropertyConstantValue) SetFloat64

SetFloat64 sets LiteralJsonSchemaPropertyConstantValue to float64.

func (*LiteralJsonSchemaPropertyConstantValue) SetInt

SetInt sets LiteralJsonSchemaPropertyConstantValue to int.

func (*LiteralJsonSchemaPropertyConstantValue) SetString

SetString sets LiteralJsonSchemaPropertyConstantValue to string.

func (*LiteralJsonSchemaPropertyConstantValue) UnmarshalJSON

func (s *LiteralJsonSchemaPropertyConstantValue) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (LiteralJsonSchemaPropertyConstantValue) Validate

type LiteralJsonSchemaPropertyConstantValueType

type LiteralJsonSchemaPropertyConstantValueType string

LiteralJsonSchemaPropertyConstantValueType is oneOf type of LiteralJsonSchemaPropertyConstantValue.

const (
	StringLiteralJsonSchemaPropertyConstantValue  LiteralJsonSchemaPropertyConstantValueType = "string"
	IntLiteralJsonSchemaPropertyConstantValue     LiteralJsonSchemaPropertyConstantValueType = "int"
	Float64LiteralJsonSchemaPropertyConstantValue LiteralJsonSchemaPropertyConstantValueType = "float64"
	BoolLiteralJsonSchemaPropertyConstantValue    LiteralJsonSchemaPropertyConstantValueType = "bool"
)

Possible values for LiteralJsonSchemaPropertyConstantValueType.

type LiteralJsonSchemaPropertyType

type LiteralJsonSchemaPropertyType string
const (
	LiteralJsonSchemaPropertyTypeBoolean LiteralJsonSchemaPropertyType = "boolean"
	LiteralJsonSchemaPropertyTypeString  LiteralJsonSchemaPropertyType = "string"
	LiteralJsonSchemaPropertyTypeInteger LiteralJsonSchemaPropertyType = "integer"
	LiteralJsonSchemaPropertyTypeNumber  LiteralJsonSchemaPropertyType = "number"
)

func (LiteralJsonSchemaPropertyType) AllValues

AllValues returns all LiteralJsonSchemaPropertyType values.

func (*LiteralJsonSchemaPropertyType) Decode

Decode decodes LiteralJsonSchemaPropertyType from json.

func (LiteralJsonSchemaPropertyType) Encode

Encode encodes LiteralJsonSchemaPropertyType as json.

func (LiteralJsonSchemaPropertyType) MarshalJSON

func (s LiteralJsonSchemaPropertyType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (LiteralJsonSchemaPropertyType) MarshalText

func (s LiteralJsonSchemaPropertyType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*LiteralJsonSchemaPropertyType) UnmarshalJSON

func (s *LiteralJsonSchemaPropertyType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LiteralJsonSchemaPropertyType) UnmarshalText

func (s *LiteralJsonSchemaPropertyType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (LiteralJsonSchemaPropertyType) Validate

func (s LiteralJsonSchemaPropertyType) Validate() error

type LivekitStackType

type LivekitStackType string

Ref: #/components/schemas/LivekitStackType

const (
	LivekitStackTypeStandard LivekitStackType = "standard"
	LivekitStackTypeStatic   LivekitStackType = "static"
)

func (LivekitStackType) AllValues

func (LivekitStackType) AllValues() []LivekitStackType

AllValues returns all LivekitStackType values.

func (*LivekitStackType) Decode

func (s *LivekitStackType) Decode(d *jx.Decoder) error

Decode decodes LivekitStackType from json.

func (LivekitStackType) Encode

func (s LivekitStackType) Encode(e *jx.Encoder)

Encode encodes LivekitStackType as json.

func (LivekitStackType) MarshalJSON

func (s LivekitStackType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (LivekitStackType) MarshalText

func (s LivekitStackType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*LivekitStackType) UnmarshalJSON

func (s *LivekitStackType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LivekitStackType) UnmarshalText

func (s *LivekitStackType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (LivekitStackType) Validate

func (s LivekitStackType) Validate() error

type MCPToolConfigOverride

type MCPToolConfigOverride struct {
	// Dynamic variable assignments for this MCP tool.
	Assignments []DynamicVariableAssignment `json:"assignments"`
	// If set, overrides the server's disable_interruptions setting for this tool.
	DisableInterruptions OptNilBool `json:"disable_interruptions"`
	// If set, overrides the server's execution_mode setting for this tool.
	ExecutionMode OptToolExecutionMode `json:"execution_mode"`
	// If set, overrides the server's force_pre_tool_speech setting for this tool.
	ForcePreToolSpeech OptNilBool `json:"force_pre_tool_speech"`
	// If set, overrides the server's tool_call_sound setting for this tool.
	ToolCallSound OptToolCallSoundType `json:"tool_call_sound"`
	// If set, overrides the server's tool_call_sound_behavior setting for this tool.
	ToolCallSoundBehavior OptToolCallSoundBehavior `json:"tool_call_sound_behavior"`
	// The name of the MCP tool.
	ToolName string `json:"tool_name"`
}

Ref: #/components/schemas/MCPToolConfigOverride

func (*MCPToolConfigOverride) Decode

func (s *MCPToolConfigOverride) Decode(d *jx.Decoder) error

Decode decodes MCPToolConfigOverride from json.

func (*MCPToolConfigOverride) Encode

func (s *MCPToolConfigOverride) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MCPToolConfigOverride) GetAssignments

func (s *MCPToolConfigOverride) GetAssignments() []DynamicVariableAssignment

GetAssignments returns the value of Assignments.

func (*MCPToolConfigOverride) GetDisableInterruptions

func (s *MCPToolConfigOverride) GetDisableInterruptions() OptNilBool

GetDisableInterruptions returns the value of DisableInterruptions.

func (*MCPToolConfigOverride) GetExecutionMode

func (s *MCPToolConfigOverride) GetExecutionMode() OptToolExecutionMode

GetExecutionMode returns the value of ExecutionMode.

func (*MCPToolConfigOverride) GetForcePreToolSpeech

func (s *MCPToolConfigOverride) GetForcePreToolSpeech() OptNilBool

GetForcePreToolSpeech returns the value of ForcePreToolSpeech.

func (*MCPToolConfigOverride) GetToolCallSound

func (s *MCPToolConfigOverride) GetToolCallSound() OptToolCallSoundType

GetToolCallSound returns the value of ToolCallSound.

func (*MCPToolConfigOverride) GetToolCallSoundBehavior

func (s *MCPToolConfigOverride) GetToolCallSoundBehavior() OptToolCallSoundBehavior

GetToolCallSoundBehavior returns the value of ToolCallSoundBehavior.

func (*MCPToolConfigOverride) GetToolName

func (s *MCPToolConfigOverride) GetToolName() string

GetToolName returns the value of ToolName.

func (*MCPToolConfigOverride) MarshalJSON

func (s *MCPToolConfigOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MCPToolConfigOverride) SetAssignments

func (s *MCPToolConfigOverride) SetAssignments(val []DynamicVariableAssignment)

SetAssignments sets the value of Assignments.

func (*MCPToolConfigOverride) SetDisableInterruptions

func (s *MCPToolConfigOverride) SetDisableInterruptions(val OptNilBool)

SetDisableInterruptions sets the value of DisableInterruptions.

func (*MCPToolConfigOverride) SetExecutionMode

func (s *MCPToolConfigOverride) SetExecutionMode(val OptToolExecutionMode)

SetExecutionMode sets the value of ExecutionMode.

func (*MCPToolConfigOverride) SetForcePreToolSpeech

func (s *MCPToolConfigOverride) SetForcePreToolSpeech(val OptNilBool)

SetForcePreToolSpeech sets the value of ForcePreToolSpeech.

func (*MCPToolConfigOverride) SetToolCallSound

func (s *MCPToolConfigOverride) SetToolCallSound(val OptToolCallSoundType)

SetToolCallSound sets the value of ToolCallSound.

func (*MCPToolConfigOverride) SetToolCallSoundBehavior

func (s *MCPToolConfigOverride) SetToolCallSoundBehavior(val OptToolCallSoundBehavior)

SetToolCallSoundBehavior sets the value of ToolCallSoundBehavior.

func (*MCPToolConfigOverride) SetToolName

func (s *MCPToolConfigOverride) SetToolName(val string)

SetToolName sets the value of ToolName.

func (*MCPToolConfigOverride) UnmarshalJSON

func (s *MCPToolConfigOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*MCPToolConfigOverride) Validate

func (s *MCPToolConfigOverride) Validate() error

type ManualVerificationFileResponseModel

type ManualVerificationFileResponseModel struct {
	// The ID of the file.
	FileID string `json:"file_id"`
	// The name of the file.
	FileName string `json:"file_name"`
	// The MIME type of the file.
	MimeType string `json:"mime_type"`
	// The size of the file in bytes.
	SizeBytes int `json:"size_bytes"`
	// The date of the file in Unix time.
	UploadDateUnix int `json:"upload_date_unix"`
}

Ref: #/components/schemas/ManualVerificationFileResponseModel

func (*ManualVerificationFileResponseModel) Decode

Decode decodes ManualVerificationFileResponseModel from json.

func (*ManualVerificationFileResponseModel) Encode

Encode implements json.Marshaler.

func (*ManualVerificationFileResponseModel) GetFileID

GetFileID returns the value of FileID.

func (*ManualVerificationFileResponseModel) GetFileName

GetFileName returns the value of FileName.

func (*ManualVerificationFileResponseModel) GetMimeType

GetMimeType returns the value of MimeType.

func (*ManualVerificationFileResponseModel) GetSizeBytes

func (s *ManualVerificationFileResponseModel) GetSizeBytes() int

GetSizeBytes returns the value of SizeBytes.

func (*ManualVerificationFileResponseModel) GetUploadDateUnix

func (s *ManualVerificationFileResponseModel) GetUploadDateUnix() int

GetUploadDateUnix returns the value of UploadDateUnix.

func (*ManualVerificationFileResponseModel) MarshalJSON

func (s *ManualVerificationFileResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ManualVerificationFileResponseModel) SetFileID

func (s *ManualVerificationFileResponseModel) SetFileID(val string)

SetFileID sets the value of FileID.

func (*ManualVerificationFileResponseModel) SetFileName

func (s *ManualVerificationFileResponseModel) SetFileName(val string)

SetFileName sets the value of FileName.

func (*ManualVerificationFileResponseModel) SetMimeType

func (s *ManualVerificationFileResponseModel) SetMimeType(val string)

SetMimeType sets the value of MimeType.

func (*ManualVerificationFileResponseModel) SetSizeBytes

func (s *ManualVerificationFileResponseModel) SetSizeBytes(val int)

SetSizeBytes sets the value of SizeBytes.

func (*ManualVerificationFileResponseModel) SetUploadDateUnix

func (s *ManualVerificationFileResponseModel) SetUploadDateUnix(val int)

SetUploadDateUnix sets the value of UploadDateUnix.

func (*ManualVerificationFileResponseModel) UnmarshalJSON

func (s *ManualVerificationFileResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ManualVerificationResponseModel

type ManualVerificationResponseModel struct {
	// The extra text of the manual verification.
	ExtraText string `json:"extra_text"`
	// The files of the manual verification.
	Files []ManualVerificationFileResponseModel `json:"files"`
	// The date of the manual verification in Unix time.
	RequestTimeUnix int `json:"request_time_unix"`
}

Ref: #/components/schemas/ManualVerificationResponseModel

func (*ManualVerificationResponseModel) Decode

Decode decodes ManualVerificationResponseModel from json.

func (*ManualVerificationResponseModel) Encode

Encode implements json.Marshaler.

func (*ManualVerificationResponseModel) GetExtraText

func (s *ManualVerificationResponseModel) GetExtraText() string

GetExtraText returns the value of ExtraText.

func (*ManualVerificationResponseModel) GetFiles

GetFiles returns the value of Files.

func (*ManualVerificationResponseModel) GetRequestTimeUnix

func (s *ManualVerificationResponseModel) GetRequestTimeUnix() int

GetRequestTimeUnix returns the value of RequestTimeUnix.

func (*ManualVerificationResponseModel) MarshalJSON

func (s *ManualVerificationResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ManualVerificationResponseModel) SetExtraText

func (s *ManualVerificationResponseModel) SetExtraText(val string)

SetExtraText sets the value of ExtraText.

func (*ManualVerificationResponseModel) SetFiles

SetFiles sets the value of Files.

func (*ManualVerificationResponseModel) SetRequestTimeUnix

func (s *ManualVerificationResponseModel) SetRequestTimeUnix(val int)

SetRequestTimeUnix sets the value of RequestTimeUnix.

func (*ManualVerificationResponseModel) UnmarshalJSON

func (s *ManualVerificationResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ManualVerificationResponseModel) Validate

func (s *ManualVerificationResponseModel) Validate() error

type MatchAnythingParameterEvaluationStrategy

type MatchAnythingParameterEvaluationStrategy struct {
	Type MatchAnythingParameterEvaluationStrategyType `json:"type"`
}

Ref: #/components/schemas/MatchAnythingParameterEvaluationStrategy

func (*MatchAnythingParameterEvaluationStrategy) Decode

Decode decodes MatchAnythingParameterEvaluationStrategy from json.

func (*MatchAnythingParameterEvaluationStrategy) Encode

Encode implements json.Marshaler.

func (*MatchAnythingParameterEvaluationStrategy) GetType

GetType returns the value of Type.

func (*MatchAnythingParameterEvaluationStrategy) MarshalJSON

func (s *MatchAnythingParameterEvaluationStrategy) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MatchAnythingParameterEvaluationStrategy) SetType

SetType sets the value of Type.

func (*MatchAnythingParameterEvaluationStrategy) UnmarshalJSON

func (s *MatchAnythingParameterEvaluationStrategy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*MatchAnythingParameterEvaluationStrategy) Validate

type MatchAnythingParameterEvaluationStrategyType

type MatchAnythingParameterEvaluationStrategyType string
const (
	MatchAnythingParameterEvaluationStrategyTypeAnything MatchAnythingParameterEvaluationStrategyType = "anything"
)

func (MatchAnythingParameterEvaluationStrategyType) AllValues

AllValues returns all MatchAnythingParameterEvaluationStrategyType values.

func (*MatchAnythingParameterEvaluationStrategyType) Decode

Decode decodes MatchAnythingParameterEvaluationStrategyType from json.

func (MatchAnythingParameterEvaluationStrategyType) Encode

Encode encodes MatchAnythingParameterEvaluationStrategyType as json.

func (MatchAnythingParameterEvaluationStrategyType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (MatchAnythingParameterEvaluationStrategyType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*MatchAnythingParameterEvaluationStrategyType) UnmarshalJSON

func (s *MatchAnythingParameterEvaluationStrategyType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*MatchAnythingParameterEvaluationStrategyType) UnmarshalText

func (s *MatchAnythingParameterEvaluationStrategyType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (MatchAnythingParameterEvaluationStrategyType) Validate

type MetricRecord

type MetricRecord struct {
	ElapsedTime float64 `json:"elapsed_time"`
}

Ref: #/components/schemas/MetricRecord

func (*MetricRecord) Decode

func (s *MetricRecord) Decode(d *jx.Decoder) error

Decode decodes MetricRecord from json.

func (*MetricRecord) Encode

func (s *MetricRecord) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MetricRecord) GetElapsedTime

func (s *MetricRecord) GetElapsedTime() float64

GetElapsedTime returns the value of ElapsedTime.

func (*MetricRecord) MarshalJSON

func (s *MetricRecord) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MetricRecord) SetElapsedTime

func (s *MetricRecord) SetElapsedTime(val float64)

SetElapsedTime sets the value of ElapsedTime.

func (*MetricRecord) UnmarshalJSON

func (s *MetricRecord) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*MetricRecord) Validate

func (s *MetricRecord) Validate() error

type MetricType

type MetricType string

Ref: #/components/schemas/MetricType

const (
	MetricTypeCredits            MetricType = "credits"
	MetricTypeTtsCharacters      MetricType = "tts_characters"
	MetricTypeMinutesUsed        MetricType = "minutes_used"
	MetricTypeRequestCount       MetricType = "request_count"
	MetricTypeTtfbAvg            MetricType = "ttfb_avg"
	MetricTypeTtfbP95            MetricType = "ttfb_p95"
	MetricTypeFiatUnitsSpent     MetricType = "fiat_units_spent"
	MetricTypeConcurrency        MetricType = "concurrency"
	MetricTypeConcurrencyAverage MetricType = "concurrency_average"
)

func (MetricType) AllValues

func (MetricType) AllValues() []MetricType

AllValues returns all MetricType values.

func (MetricType) MarshalText

func (s MetricType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*MetricType) UnmarshalText

func (s *MetricType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (MetricType) Validate

func (s MetricType) Validate() error

type Middleware

type Middleware = middleware.Middleware

Middleware is middleware type.

type MigrateSegmentsParams

type MigrateSegmentsParams struct {
	// ID of the dubbing project.
	DubbingID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

MigrateSegmentsParams is parameters of migrate_segments operation.

type MigrateSegmentsRes

type MigrateSegmentsRes interface {
	// contains filtered or unexported methods
}

type ModelRatesResponseModel

type ModelRatesResponseModel struct {
	// The cost multiplier for characters.
	CharacterCostMultiplier float64 `json:"character_cost_multiplier"`
}

Ref: #/components/schemas/ModelRatesResponseModel

func (*ModelRatesResponseModel) Decode

func (s *ModelRatesResponseModel) Decode(d *jx.Decoder) error

Decode decodes ModelRatesResponseModel from json.

func (*ModelRatesResponseModel) Encode

func (s *ModelRatesResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelRatesResponseModel) GetCharacterCostMultiplier

func (s *ModelRatesResponseModel) GetCharacterCostMultiplier() float64

GetCharacterCostMultiplier returns the value of CharacterCostMultiplier.

func (*ModelRatesResponseModel) MarshalJSON

func (s *ModelRatesResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelRatesResponseModel) SetCharacterCostMultiplier

func (s *ModelRatesResponseModel) SetCharacterCostMultiplier(val float64)

SetCharacterCostMultiplier sets the value of CharacterCostMultiplier.

func (*ModelRatesResponseModel) UnmarshalJSON

func (s *ModelRatesResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelRatesResponseModel) Validate

func (s *ModelRatesResponseModel) Validate() error

type ModelResponseModel

type ModelResponseModel struct {
	// Whether the model can be finetuned.
	CanBeFinetuned bool `json:"can_be_finetuned"`
	// Whether the model can do text-to-speech.
	CanDoTextToSpeech bool `json:"can_do_text_to_speech"`
	// Whether the model can do voice conversion.
	CanDoVoiceConversion bool `json:"can_do_voice_conversion"`
	// Whether the model can use speaker boost.
	CanUseSpeakerBoost bool `json:"can_use_speaker_boost"`
	// Whether the model can use style.
	CanUseStyle bool `json:"can_use_style"`
	// The concurrency group for the model.
	ConcurrencyGroup string `json:"concurrency_group"`
	// The description of the model.
	Description string `json:"description"`
	// The languages supported by the model.
	Languages []LanguageResponseModel `json:"languages"`
	// The maximum number of characters that can be requested by a free user.
	MaxCharactersRequestFreeUser int `json:"max_characters_request_free_user"`
	// The maximum number of characters that can be requested by a subscribed user.
	MaxCharactersRequestSubscribedUser int `json:"max_characters_request_subscribed_user"`
	// The maximum length of text that can be requested for this model.
	MaximumTextLengthPerRequest int `json:"maximum_text_length_per_request"`
	// The unique identifier of the model.
	ModelID string `json:"model_id"`
	// The rates for the model.
	ModelRates ModelRatesResponseModel `json:"model_rates"`
	// The name of the model.
	Name string `json:"name"`
	// Whether the model requires alpha access.
	RequiresAlphaAccess bool `json:"requires_alpha_access"`
	// Whether the model serves pro voices.
	ServesProVoices bool `json:"serves_pro_voices"`
	// The cost factor for the model.
	TokenCostFactor float64 `json:"token_cost_factor"`
}

Ref: #/components/schemas/ModelResponseModel

func (*ModelResponseModel) Decode

func (s *ModelResponseModel) Decode(d *jx.Decoder) error

Decode decodes ModelResponseModel from json.

func (*ModelResponseModel) Encode

func (s *ModelResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelResponseModel) GetCanBeFinetuned

func (s *ModelResponseModel) GetCanBeFinetuned() bool

GetCanBeFinetuned returns the value of CanBeFinetuned.

func (*ModelResponseModel) GetCanDoTextToSpeech

func (s *ModelResponseModel) GetCanDoTextToSpeech() bool

GetCanDoTextToSpeech returns the value of CanDoTextToSpeech.

func (*ModelResponseModel) GetCanDoVoiceConversion

func (s *ModelResponseModel) GetCanDoVoiceConversion() bool

GetCanDoVoiceConversion returns the value of CanDoVoiceConversion.

func (*ModelResponseModel) GetCanUseSpeakerBoost

func (s *ModelResponseModel) GetCanUseSpeakerBoost() bool

GetCanUseSpeakerBoost returns the value of CanUseSpeakerBoost.

func (*ModelResponseModel) GetCanUseStyle

func (s *ModelResponseModel) GetCanUseStyle() bool

GetCanUseStyle returns the value of CanUseStyle.

func (*ModelResponseModel) GetConcurrencyGroup

func (s *ModelResponseModel) GetConcurrencyGroup() string

GetConcurrencyGroup returns the value of ConcurrencyGroup.

func (*ModelResponseModel) GetDescription

func (s *ModelResponseModel) GetDescription() string

GetDescription returns the value of Description.

func (*ModelResponseModel) GetLanguages

func (s *ModelResponseModel) GetLanguages() []LanguageResponseModel

GetLanguages returns the value of Languages.

func (*ModelResponseModel) GetMaxCharactersRequestFreeUser

func (s *ModelResponseModel) GetMaxCharactersRequestFreeUser() int

GetMaxCharactersRequestFreeUser returns the value of MaxCharactersRequestFreeUser.

func (*ModelResponseModel) GetMaxCharactersRequestSubscribedUser

func (s *ModelResponseModel) GetMaxCharactersRequestSubscribedUser() int

GetMaxCharactersRequestSubscribedUser returns the value of MaxCharactersRequestSubscribedUser.

func (*ModelResponseModel) GetMaximumTextLengthPerRequest

func (s *ModelResponseModel) GetMaximumTextLengthPerRequest() int

GetMaximumTextLengthPerRequest returns the value of MaximumTextLengthPerRequest.

func (*ModelResponseModel) GetModelID

func (s *ModelResponseModel) GetModelID() string

GetModelID returns the value of ModelID.

func (*ModelResponseModel) GetModelRates

func (s *ModelResponseModel) GetModelRates() ModelRatesResponseModel

GetModelRates returns the value of ModelRates.

func (*ModelResponseModel) GetName

func (s *ModelResponseModel) GetName() string

GetName returns the value of Name.

func (*ModelResponseModel) GetRequiresAlphaAccess

func (s *ModelResponseModel) GetRequiresAlphaAccess() bool

GetRequiresAlphaAccess returns the value of RequiresAlphaAccess.

func (*ModelResponseModel) GetServesProVoices

func (s *ModelResponseModel) GetServesProVoices() bool

GetServesProVoices returns the value of ServesProVoices.

func (*ModelResponseModel) GetTokenCostFactor

func (s *ModelResponseModel) GetTokenCostFactor() float64

GetTokenCostFactor returns the value of TokenCostFactor.

func (*ModelResponseModel) MarshalJSON

func (s *ModelResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelResponseModel) SetCanBeFinetuned

func (s *ModelResponseModel) SetCanBeFinetuned(val bool)

SetCanBeFinetuned sets the value of CanBeFinetuned.

func (*ModelResponseModel) SetCanDoTextToSpeech

func (s *ModelResponseModel) SetCanDoTextToSpeech(val bool)

SetCanDoTextToSpeech sets the value of CanDoTextToSpeech.

func (*ModelResponseModel) SetCanDoVoiceConversion

func (s *ModelResponseModel) SetCanDoVoiceConversion(val bool)

SetCanDoVoiceConversion sets the value of CanDoVoiceConversion.

func (*ModelResponseModel) SetCanUseSpeakerBoost

func (s *ModelResponseModel) SetCanUseSpeakerBoost(val bool)

SetCanUseSpeakerBoost sets the value of CanUseSpeakerBoost.

func (*ModelResponseModel) SetCanUseStyle

func (s *ModelResponseModel) SetCanUseStyle(val bool)

SetCanUseStyle sets the value of CanUseStyle.

func (*ModelResponseModel) SetConcurrencyGroup

func (s *ModelResponseModel) SetConcurrencyGroup(val string)

SetConcurrencyGroup sets the value of ConcurrencyGroup.

func (*ModelResponseModel) SetDescription

func (s *ModelResponseModel) SetDescription(val string)

SetDescription sets the value of Description.

func (*ModelResponseModel) SetLanguages

func (s *ModelResponseModel) SetLanguages(val []LanguageResponseModel)

SetLanguages sets the value of Languages.

func (*ModelResponseModel) SetMaxCharactersRequestFreeUser

func (s *ModelResponseModel) SetMaxCharactersRequestFreeUser(val int)

SetMaxCharactersRequestFreeUser sets the value of MaxCharactersRequestFreeUser.

func (*ModelResponseModel) SetMaxCharactersRequestSubscribedUser

func (s *ModelResponseModel) SetMaxCharactersRequestSubscribedUser(val int)

SetMaxCharactersRequestSubscribedUser sets the value of MaxCharactersRequestSubscribedUser.

func (*ModelResponseModel) SetMaximumTextLengthPerRequest

func (s *ModelResponseModel) SetMaximumTextLengthPerRequest(val int)

SetMaximumTextLengthPerRequest sets the value of MaximumTextLengthPerRequest.

func (*ModelResponseModel) SetModelID

func (s *ModelResponseModel) SetModelID(val string)

SetModelID sets the value of ModelID.

func (*ModelResponseModel) SetModelRates

func (s *ModelResponseModel) SetModelRates(val ModelRatesResponseModel)

SetModelRates sets the value of ModelRates.

func (*ModelResponseModel) SetName

func (s *ModelResponseModel) SetName(val string)

SetName sets the value of Name.

func (*ModelResponseModel) SetRequiresAlphaAccess

func (s *ModelResponseModel) SetRequiresAlphaAccess(val bool)

SetRequiresAlphaAccess sets the value of RequiresAlphaAccess.

func (*ModelResponseModel) SetServesProVoices

func (s *ModelResponseModel) SetServesProVoices(val bool)

SetServesProVoices sets the value of ServesProVoices.

func (*ModelResponseModel) SetTokenCostFactor

func (s *ModelResponseModel) SetTokenCostFactor(val float64)

SetTokenCostFactor sets the value of TokenCostFactor.

func (*ModelResponseModel) UnmarshalJSON

func (s *ModelResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelResponseModel) Validate

func (s *ModelResponseModel) Validate() error

type ModelSettingsResponseModel

type ModelSettingsResponseModel struct {
	// Determines how stable the voice is and the randomness between each generation. Lower values
	// introduce broader emotional range for the voice. Higher values can result in a monotonous voice
	// with limited emotion.
	Stability OptNilFloat64 `json:"stability"`
}

Ref: #/components/schemas/ModelSettingsResponseModel

func (*ModelSettingsResponseModel) Decode

Decode decodes ModelSettingsResponseModel from json.

func (*ModelSettingsResponseModel) Encode

func (s *ModelSettingsResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelSettingsResponseModel) GetStability

func (s *ModelSettingsResponseModel) GetStability() OptNilFloat64

GetStability returns the value of Stability.

func (*ModelSettingsResponseModel) MarshalJSON

func (s *ModelSettingsResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelSettingsResponseModel) SetStability

func (s *ModelSettingsResponseModel) SetStability(val OptNilFloat64)

SetStability sets the value of Stability.

func (*ModelSettingsResponseModel) UnmarshalJSON

func (s *ModelSettingsResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelSettingsResponseModel) Validate

func (s *ModelSettingsResponseModel) Validate() error

type MultichannelSpeechToTextResponseModel

type MultichannelSpeechToTextResponseModel struct {
	// The transcription ID of the response.
	TranscriptionID OptNilString `json:"transcription_id"`
	// List of transcripts, one for each audio channel. Each transcript contains the text and word-level
	// details for its respective channel.
	Transcripts []SpeechToTextChunkResponseModel `json:"transcripts"`
}

Response model for multichannel speech-to-text transcription. Ref: #/components/schemas/MultichannelSpeechToTextResponseModel

func (*MultichannelSpeechToTextResponseModel) Decode

Decode decodes MultichannelSpeechToTextResponseModel from json.

func (*MultichannelSpeechToTextResponseModel) Encode

Encode implements json.Marshaler.

func (*MultichannelSpeechToTextResponseModel) GetTranscriptionID

func (s *MultichannelSpeechToTextResponseModel) GetTranscriptionID() OptNilString

GetTranscriptionID returns the value of TranscriptionID.

func (*MultichannelSpeechToTextResponseModel) GetTranscripts

GetTranscripts returns the value of Transcripts.

func (*MultichannelSpeechToTextResponseModel) MarshalJSON

func (s *MultichannelSpeechToTextResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MultichannelSpeechToTextResponseModel) SetTranscriptionID

func (s *MultichannelSpeechToTextResponseModel) SetTranscriptionID(val OptNilString)

SetTranscriptionID sets the value of TranscriptionID.

func (*MultichannelSpeechToTextResponseModel) SetTranscripts

SetTranscripts sets the value of Transcripts.

func (*MultichannelSpeechToTextResponseModel) UnmarshalJSON

func (s *MultichannelSpeechToTextResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*MultichannelSpeechToTextResponseModel) Validate

type MusicPrompt

type MusicPrompt struct {
	// The styles and musical directions that should not be present in the entire song. Use English
	// language for best result.
	NegativeGlobalStyles []string `json:"negative_global_styles"`
	// The styles and musical directions that should be present in the entire song. Use English language
	// for best result.
	PositiveGlobalStyles []string `json:"positive_global_styles"`
	// The sections of the song.
	Sections []SongSection `json:"sections"`
}

Ref: #/components/schemas/MusicPrompt

func (*MusicPrompt) Decode

func (s *MusicPrompt) Decode(d *jx.Decoder) error

Decode decodes MusicPrompt from json.

func (*MusicPrompt) Encode

func (s *MusicPrompt) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MusicPrompt) GetNegativeGlobalStyles

func (s *MusicPrompt) GetNegativeGlobalStyles() []string

GetNegativeGlobalStyles returns the value of NegativeGlobalStyles.

func (*MusicPrompt) GetPositiveGlobalStyles

func (s *MusicPrompt) GetPositiveGlobalStyles() []string

GetPositiveGlobalStyles returns the value of PositiveGlobalStyles.

func (*MusicPrompt) GetSections

func (s *MusicPrompt) GetSections() []SongSection

GetSections returns the value of Sections.

func (*MusicPrompt) MarshalJSON

func (s *MusicPrompt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MusicPrompt) SetNegativeGlobalStyles

func (s *MusicPrompt) SetNegativeGlobalStyles(val []string)

SetNegativeGlobalStyles sets the value of NegativeGlobalStyles.

func (*MusicPrompt) SetPositiveGlobalStyles

func (s *MusicPrompt) SetPositiveGlobalStyles(val []string)

SetPositiveGlobalStyles sets the value of PositiveGlobalStyles.

func (*MusicPrompt) SetSections

func (s *MusicPrompt) SetSections(val []SongSection)

SetSections sets the value of Sections.

func (*MusicPrompt) UnmarshalJSON

func (s *MusicPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*MusicPrompt) Validate

func (s *MusicPrompt) Validate() error

type NilAddPronunciationDictionaryResponseModelPermissionOnResource

type NilAddPronunciationDictionaryResponseModelPermissionOnResource struct {
	Value AddPronunciationDictionaryResponseModelPermissionOnResource
	Null  bool
}

NilAddPronunciationDictionaryResponseModelPermissionOnResource is nullable AddPronunciationDictionaryResponseModelPermissionOnResource.

func NewNilAddPronunciationDictionaryResponseModelPermissionOnResource

NewNilAddPronunciationDictionaryResponseModelPermissionOnResource returns new NilAddPronunciationDictionaryResponseModelPermissionOnResource with value set to v.

func (*NilAddPronunciationDictionaryResponseModelPermissionOnResource) Decode

Decode decodes AddPronunciationDictionaryResponseModelPermissionOnResource from json.

func (NilAddPronunciationDictionaryResponseModelPermissionOnResource) Encode

Encode encodes AddPronunciationDictionaryResponseModelPermissionOnResource as json.

func (NilAddPronunciationDictionaryResponseModelPermissionOnResource) Get

Get returns value and boolean that denotes whether value was set.

func (NilAddPronunciationDictionaryResponseModelPermissionOnResource) IsNull

IsNull returns true if value is Null.

func (NilAddPronunciationDictionaryResponseModelPermissionOnResource) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (NilAddPronunciationDictionaryResponseModelPermissionOnResource) Or

Or returns value if set, or given parameter if does not.

func (*NilAddPronunciationDictionaryResponseModelPermissionOnResource) SetTo

SetTo sets value to v.

func (*NilAddPronunciationDictionaryResponseModelPermissionOnResource) SetToNull

SetToNull sets value to null.

func (*NilAddPronunciationDictionaryResponseModelPermissionOnResource) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type NilConversationInitiationClientDataInternalDynamicVariablesItem

type NilConversationInitiationClientDataInternalDynamicVariablesItem struct {
	Value ConversationInitiationClientDataInternalDynamicVariablesItem
	Null  bool
}

NilConversationInitiationClientDataInternalDynamicVariablesItem is nullable ConversationInitiationClientDataInternalDynamicVariablesItem.

func NewNilConversationInitiationClientDataInternalDynamicVariablesItem

NewNilConversationInitiationClientDataInternalDynamicVariablesItem returns new NilConversationInitiationClientDataInternalDynamicVariablesItem with value set to v.

func (*NilConversationInitiationClientDataInternalDynamicVariablesItem) Decode

Decode decodes ConversationInitiationClientDataInternalDynamicVariablesItem from json.

func (NilConversationInitiationClientDataInternalDynamicVariablesItem) Encode

Encode encodes ConversationInitiationClientDataInternalDynamicVariablesItem as json.

func (NilConversationInitiationClientDataInternalDynamicVariablesItem) Get

Get returns value and boolean that denotes whether value was set.

func (NilConversationInitiationClientDataInternalDynamicVariablesItem) IsNull

IsNull returns true if value is Null.

func (NilConversationInitiationClientDataInternalDynamicVariablesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (NilConversationInitiationClientDataInternalDynamicVariablesItem) Or

Or returns value if set, or given parameter if does not.

func (*NilConversationInitiationClientDataInternalDynamicVariablesItem) SetTo

SetTo sets value to v.

func (*NilConversationInitiationClientDataInternalDynamicVariablesItem) SetToNull

SetToNull sets value to null.

func (*NilConversationInitiationClientDataInternalDynamicVariablesItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type NilConversationInitiationClientDataRequestInputDynamicVariablesItem

type NilConversationInitiationClientDataRequestInputDynamicVariablesItem struct {
	Value ConversationInitiationClientDataRequestInputDynamicVariablesItem
	Null  bool
}

NilConversationInitiationClientDataRequestInputDynamicVariablesItem is nullable ConversationInitiationClientDataRequestInputDynamicVariablesItem.

func NewNilConversationInitiationClientDataRequestInputDynamicVariablesItem

NewNilConversationInitiationClientDataRequestInputDynamicVariablesItem returns new NilConversationInitiationClientDataRequestInputDynamicVariablesItem with value set to v.

func (*NilConversationInitiationClientDataRequestInputDynamicVariablesItem) Decode

Decode decodes ConversationInitiationClientDataRequestInputDynamicVariablesItem from json.

func (NilConversationInitiationClientDataRequestInputDynamicVariablesItem) Encode

Encode encodes ConversationInitiationClientDataRequestInputDynamicVariablesItem as json.

func (NilConversationInitiationClientDataRequestInputDynamicVariablesItem) Get

Get returns value and boolean that denotes whether value was set.

func (NilConversationInitiationClientDataRequestInputDynamicVariablesItem) IsNull

IsNull returns true if value is Null.

func (NilConversationInitiationClientDataRequestInputDynamicVariablesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (NilConversationInitiationClientDataRequestInputDynamicVariablesItem) Or

Or returns value if set, or given parameter if does not.

func (*NilConversationInitiationClientDataRequestInputDynamicVariablesItem) SetTo

SetTo sets value to v.

func (*NilConversationInitiationClientDataRequestInputDynamicVariablesItem) SetToNull

SetToNull sets value to null.

func (*NilConversationInitiationClientDataRequestInputDynamicVariablesItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type NilConversationInitiationClientDataRequestOutputDynamicVariablesItem

type NilConversationInitiationClientDataRequestOutputDynamicVariablesItem struct {
	Value ConversationInitiationClientDataRequestOutputDynamicVariablesItem
	Null  bool
}

NilConversationInitiationClientDataRequestOutputDynamicVariablesItem is nullable ConversationInitiationClientDataRequestOutputDynamicVariablesItem.

func NewNilConversationInitiationClientDataRequestOutputDynamicVariablesItem

NewNilConversationInitiationClientDataRequestOutputDynamicVariablesItem returns new NilConversationInitiationClientDataRequestOutputDynamicVariablesItem with value set to v.

func (*NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) Decode

Decode decodes ConversationInitiationClientDataRequestOutputDynamicVariablesItem from json.

func (NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) Encode

Encode encodes ConversationInitiationClientDataRequestOutputDynamicVariablesItem as json.

func (NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) Get

Get returns value and boolean that denotes whether value was set.

func (NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsNull

IsNull returns true if value is Null.

func (NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) Or

Or returns value if set, or given parameter if does not.

func (*NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetTo

SetTo sets value to v.

func (*NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetToNull

SetToNull sets value to null.

func (*NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type NilCreateUnitTestRequestDynamicVariablesItem

type NilCreateUnitTestRequestDynamicVariablesItem struct {
	Value CreateUnitTestRequestDynamicVariablesItem
	Null  bool
}

NilCreateUnitTestRequestDynamicVariablesItem is nullable CreateUnitTestRequestDynamicVariablesItem.

func NewNilCreateUnitTestRequestDynamicVariablesItem

func NewNilCreateUnitTestRequestDynamicVariablesItem(v CreateUnitTestRequestDynamicVariablesItem) NilCreateUnitTestRequestDynamicVariablesItem

NewNilCreateUnitTestRequestDynamicVariablesItem returns new NilCreateUnitTestRequestDynamicVariablesItem with value set to v.

func (*NilCreateUnitTestRequestDynamicVariablesItem) Decode

Decode decodes CreateUnitTestRequestDynamicVariablesItem from json.

func (NilCreateUnitTestRequestDynamicVariablesItem) Encode

Encode encodes CreateUnitTestRequestDynamicVariablesItem as json.

func (NilCreateUnitTestRequestDynamicVariablesItem) Get

Get returns value and boolean that denotes whether value was set.

func (NilCreateUnitTestRequestDynamicVariablesItem) IsNull

IsNull returns true if value is Null.

func (NilCreateUnitTestRequestDynamicVariablesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (NilCreateUnitTestRequestDynamicVariablesItem) Or

Or returns value if set, or given parameter if does not.

func (*NilCreateUnitTestRequestDynamicVariablesItem) SetTo

SetTo sets value to v.

func (*NilCreateUnitTestRequestDynamicVariablesItem) SetToNull

SetToNull sets value to null.

func (*NilCreateUnitTestRequestDynamicVariablesItem) UnmarshalJSON

func (s *NilCreateUnitTestRequestDynamicVariablesItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource

type NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource struct {
	Value GetPronunciationDictionaryMetadataResponseModelPermissionOnResource
	Null  bool
}

NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource is nullable GetPronunciationDictionaryMetadataResponseModelPermissionOnResource.

func NewNilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource

NewNilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource returns new NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource with value set to v.

func (*NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Decode

Decode decodes GetPronunciationDictionaryMetadataResponseModelPermissionOnResource from json.

func (NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Encode

Encode encodes GetPronunciationDictionaryMetadataResponseModelPermissionOnResource as json.

func (NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Get

Get returns value and boolean that denotes whether value was set.

func (NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) IsNull

IsNull returns true if value is Null.

func (NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Or

Or returns value if set, or given parameter if does not.

func (*NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) SetTo

SetTo sets value to v.

func (*NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) SetToNull

SetToNull sets value to null.

func (*NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type NilGetUnitTestResponseModelDynamicVariablesItem

type NilGetUnitTestResponseModelDynamicVariablesItem struct {
	Value GetUnitTestResponseModelDynamicVariablesItem
	Null  bool
}

NilGetUnitTestResponseModelDynamicVariablesItem is nullable GetUnitTestResponseModelDynamicVariablesItem.

func NewNilGetUnitTestResponseModelDynamicVariablesItem

func NewNilGetUnitTestResponseModelDynamicVariablesItem(v GetUnitTestResponseModelDynamicVariablesItem) NilGetUnitTestResponseModelDynamicVariablesItem

NewNilGetUnitTestResponseModelDynamicVariablesItem returns new NilGetUnitTestResponseModelDynamicVariablesItem with value set to v.

func (*NilGetUnitTestResponseModelDynamicVariablesItem) Decode

Decode decodes GetUnitTestResponseModelDynamicVariablesItem from json.

func (NilGetUnitTestResponseModelDynamicVariablesItem) Encode

Encode encodes GetUnitTestResponseModelDynamicVariablesItem as json.

func (NilGetUnitTestResponseModelDynamicVariablesItem) Get

Get returns value and boolean that denotes whether value was set.

func (NilGetUnitTestResponseModelDynamicVariablesItem) IsNull

IsNull returns true if value is Null.

func (NilGetUnitTestResponseModelDynamicVariablesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (NilGetUnitTestResponseModelDynamicVariablesItem) Or

Or returns value if set, or given parameter if does not.

func (*NilGetUnitTestResponseModelDynamicVariablesItem) SetTo

SetTo sets value to v.

func (*NilGetUnitTestResponseModelDynamicVariablesItem) SetToNull

SetToNull sets value to null.

func (*NilGetUnitTestResponseModelDynamicVariablesItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type NilInt

type NilInt struct {
	Value int
	Null  bool
}

NilInt is nullable int.

func NewNilInt

func NewNilInt(v int) NilInt

NewNilInt returns new NilInt with value set to v.

func (*NilInt) Decode

func (o *NilInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (NilInt) Encode

func (o NilInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (NilInt) Get

func (o NilInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (NilInt) IsNull

func (o NilInt) IsNull() bool

IsNull returns true if value is Null.

func (NilInt) MarshalJSON

func (s NilInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NilInt) Or

func (o NilInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*NilInt) SetTo

func (o *NilInt) SetTo(v int)

SetTo sets value to v.

func (*NilInt) SetToNull

func (o *NilInt) SetToNull()

SetToNull sets value to null.

func (*NilInt) UnmarshalJSON

func (s *NilInt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type NilResourceMetadataResponseModelAnonymousAccessLevelOverride

type NilResourceMetadataResponseModelAnonymousAccessLevelOverride struct {
	Value ResourceMetadataResponseModelAnonymousAccessLevelOverride
	Null  bool
}

NilResourceMetadataResponseModelAnonymousAccessLevelOverride is nullable ResourceMetadataResponseModelAnonymousAccessLevelOverride.

func NewNilResourceMetadataResponseModelAnonymousAccessLevelOverride

NewNilResourceMetadataResponseModelAnonymousAccessLevelOverride returns new NilResourceMetadataResponseModelAnonymousAccessLevelOverride with value set to v.

func (*NilResourceMetadataResponseModelAnonymousAccessLevelOverride) Decode

Decode decodes ResourceMetadataResponseModelAnonymousAccessLevelOverride from json.

func (NilResourceMetadataResponseModelAnonymousAccessLevelOverride) Encode

Encode encodes ResourceMetadataResponseModelAnonymousAccessLevelOverride as json.

func (NilResourceMetadataResponseModelAnonymousAccessLevelOverride) Get

Get returns value and boolean that denotes whether value was set.

func (NilResourceMetadataResponseModelAnonymousAccessLevelOverride) IsNull

IsNull returns true if value is Null.

func (NilResourceMetadataResponseModelAnonymousAccessLevelOverride) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (NilResourceMetadataResponseModelAnonymousAccessLevelOverride) Or

Or returns value if set, or given parameter if does not.

func (*NilResourceMetadataResponseModelAnonymousAccessLevelOverride) SetTo

SetTo sets value to v.

func (*NilResourceMetadataResponseModelAnonymousAccessLevelOverride) SetToNull

SetToNull sets value to null.

func (*NilResourceMetadataResponseModelAnonymousAccessLevelOverride) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type NilString

type NilString struct {
	Value string
	Null  bool
}

NilString is nullable string.

func NewNilString

func NewNilString(v string) NilString

NewNilString returns new NilString with value set to v.

func (*NilString) Decode

func (o *NilString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (NilString) Encode

func (o NilString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (NilString) Get

func (o NilString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (NilString) IsNull

func (o NilString) IsNull() bool

IsNull returns true if value is Null.

func (NilString) MarshalJSON

func (s NilString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NilString) Or

func (o NilString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*NilString) SetTo

func (o *NilString) SetTo(v string)

SetTo sets value to v.

func (*NilString) SetToNull

func (o *NilString) SetToNull()

SetToNull sets value to null.

func (*NilString) UnmarshalJSON

func (s *NilString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type NilUnitTestCommonModelDynamicVariablesItem

type NilUnitTestCommonModelDynamicVariablesItem struct {
	Value UnitTestCommonModelDynamicVariablesItem
	Null  bool
}

NilUnitTestCommonModelDynamicVariablesItem is nullable UnitTestCommonModelDynamicVariablesItem.

func NewNilUnitTestCommonModelDynamicVariablesItem

func NewNilUnitTestCommonModelDynamicVariablesItem(v UnitTestCommonModelDynamicVariablesItem) NilUnitTestCommonModelDynamicVariablesItem

NewNilUnitTestCommonModelDynamicVariablesItem returns new NilUnitTestCommonModelDynamicVariablesItem with value set to v.

func (*NilUnitTestCommonModelDynamicVariablesItem) Decode

Decode decodes UnitTestCommonModelDynamicVariablesItem from json.

func (NilUnitTestCommonModelDynamicVariablesItem) Encode

Encode encodes UnitTestCommonModelDynamicVariablesItem as json.

func (NilUnitTestCommonModelDynamicVariablesItem) Get

Get returns value and boolean that denotes whether value was set.

func (NilUnitTestCommonModelDynamicVariablesItem) IsNull

IsNull returns true if value is Null.

func (NilUnitTestCommonModelDynamicVariablesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (NilUnitTestCommonModelDynamicVariablesItem) Or

Or returns value if set, or given parameter if does not.

func (*NilUnitTestCommonModelDynamicVariablesItem) SetTo

SetTo sets value to v.

func (*NilUnitTestCommonModelDynamicVariablesItem) SetToNull

SetToNull sets value to null.

func (*NilUnitTestCommonModelDynamicVariablesItem) UnmarshalJSON

func (s *NilUnitTestCommonModelDynamicVariablesItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type NilUpdateUnitTestRequestDynamicVariablesItem

type NilUpdateUnitTestRequestDynamicVariablesItem struct {
	Value UpdateUnitTestRequestDynamicVariablesItem
	Null  bool
}

NilUpdateUnitTestRequestDynamicVariablesItem is nullable UpdateUnitTestRequestDynamicVariablesItem.

func NewNilUpdateUnitTestRequestDynamicVariablesItem

func NewNilUpdateUnitTestRequestDynamicVariablesItem(v UpdateUnitTestRequestDynamicVariablesItem) NilUpdateUnitTestRequestDynamicVariablesItem

NewNilUpdateUnitTestRequestDynamicVariablesItem returns new NilUpdateUnitTestRequestDynamicVariablesItem with value set to v.

func (*NilUpdateUnitTestRequestDynamicVariablesItem) Decode

Decode decodes UpdateUnitTestRequestDynamicVariablesItem from json.

func (NilUpdateUnitTestRequestDynamicVariablesItem) Encode

Encode encodes UpdateUnitTestRequestDynamicVariablesItem as json.

func (NilUpdateUnitTestRequestDynamicVariablesItem) Get

Get returns value and boolean that denotes whether value was set.

func (NilUpdateUnitTestRequestDynamicVariablesItem) IsNull

IsNull returns true if value is Null.

func (NilUpdateUnitTestRequestDynamicVariablesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (NilUpdateUnitTestRequestDynamicVariablesItem) Or

Or returns value if set, or given parameter if does not.

func (*NilUpdateUnitTestRequestDynamicVariablesItem) SetTo

SetTo sets value to v.

func (*NilUpdateUnitTestRequestDynamicVariablesItem) SetToNull

SetToNull sets value to null.

func (*NilUpdateUnitTestRequestDynamicVariablesItem) UnmarshalJSON

func (s *NilUpdateUnitTestRequestDynamicVariablesItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OperationName

type OperationName = string

OperationName is the ogen operation name

const (
	AddDocumentationToKnowledgeBaseOperation         OperationName = "AddDocumentationToKnowledgeBase"
	AddFromFileOperation                             OperationName = "AddFromFile"
	AddLanguageOperation                             OperationName = "AddLanguage"
	AddMemberOperation                               OperationName = "AddMember"
	AddProjectOperation                              OperationName = "AddProject"
	AddPvcVoiceSamplesOperation                      OperationName = "AddPvcVoiceSamples"
	AddSharingVoiceOperation                         OperationName = "AddSharingVoice"
	AddVoiceOperation                                OperationName = "AddVoice"
	AudioIsolationOperation                          OperationName = "AudioIsolation"
	AudioIsolationStreamOperation                    OperationName = "AudioIsolationStream"
	AudioNativeProjectUpdateContentEndpointOperation OperationName = "AudioNativeProjectUpdateContentEndpoint"
	CancelBatchCallOperation                         OperationName = "CancelBatchCall"
	ComposeDetailedOperation                         OperationName = "ComposeDetailed"
	ComposePlanOperation                             OperationName = "ComposePlan"
	ConvertChapterEndpointOperation                  OperationName = "ConvertChapterEndpoint"
	ConvertProjectEndpointOperation                  OperationName = "ConvertProjectEndpoint"
	CreateAgentResponseTestRouteOperation            OperationName = "CreateAgentResponseTestRoute"
	CreateAudioNativeProjectOperation                OperationName = "CreateAudioNativeProject"
	CreateBatchCallOperation                         OperationName = "CreateBatchCall"
	CreateClipOperation                              OperationName = "CreateClip"
	CreateDubbingOperation                           OperationName = "CreateDubbing"
	CreateFileDocumentRouteOperation                 OperationName = "CreateFileDocumentRoute"
	CreatePvcVoiceOperation                          OperationName = "CreatePvcVoice"
	CreateSecretRouteOperation                       OperationName = "CreateSecretRoute"
	CreateServiceAccountAPIKeyOperation              OperationName = "CreateServiceAccountAPIKey"
	CreateSpeakerOperation                           OperationName = "CreateSpeaker"
	CreateTextDocumentRouteOperation                 OperationName = "CreateTextDocumentRoute"
	CreateURLDocumentRouteOperation                  OperationName = "CreateURLDocumentRoute"
	CreateVoiceOperation                             OperationName = "CreateVoice"
	CreateVoiceOldOperation                          OperationName = "CreateVoiceOld"
	CreateWorkspaceWebhookRouteOperation             OperationName = "CreateWorkspaceWebhookRoute"
	DeleteAgentRouteOperation                        OperationName = "DeleteAgentRoute"
	DeleteChapterEndpointOperation                   OperationName = "DeleteChapterEndpoint"
	DeleteChatResponseTestRouteOperation             OperationName = "DeleteChatResponseTestRoute"
	DeleteConversationRouteOperation                 OperationName = "DeleteConversationRoute"
	DeleteDubbingOperation                           OperationName = "DeleteDubbing"
	DeleteInviteOperation                            OperationName = "DeleteInvite"
	DeleteKnowledgeBaseDocumentOperation             OperationName = "DeleteKnowledgeBaseDocument"
	DeleteMcpServerRouteOperation                    OperationName = "DeleteMcpServerRoute"
	DeletePhoneNumberRouteOperation                  OperationName = "DeletePhoneNumberRoute"
	DeleteProjectOperation                           OperationName = "DeleteProject"
	DeletePvcVoiceSampleOperation                    OperationName = "DeletePvcVoiceSample"
	DeleteRagIndexOperation                          OperationName = "DeleteRagIndex"
	DeleteSampleOperation                            OperationName = "DeleteSample"
	DeleteSecretRouteOperation                       OperationName = "DeleteSecretRoute"
	DeleteSegmentOperation                           OperationName = "DeleteSegment"
	DeleteServiceAccountAPIKeyOperation              OperationName = "DeleteServiceAccountAPIKey"
	DeleteSpeechHistoryItemOperation                 OperationName = "DeleteSpeechHistoryItem"
	DeleteToolRouteOperation                         OperationName = "DeleteToolRoute"
	DeleteTranscriptByIDOperation                    OperationName = "DeleteTranscriptByID"
	DeleteVoiceOperation                             OperationName = "DeleteVoice"
	DeleteWhatsappAccountOperation                   OperationName = "DeleteWhatsappAccount"
	DeleteWorkspaceWebhookRouteOperation             OperationName = "DeleteWorkspaceWebhookRoute"
	DownloadSpeechHistoryItemsOperation              OperationName = "DownloadSpeechHistoryItems"
	DubOperation                                     OperationName = "Dub"
	DuplicateAgentRouteOperation                     OperationName = "DuplicateAgentRoute"
	EditProjectOperation                             OperationName = "EditProject"
	EditProjectContentOperation                      OperationName = "EditProjectContent"
	EditPvcVoiceOperation                            OperationName = "EditPvcVoice"
	EditPvcVoiceSampleOperation                      OperationName = "EditPvcVoiceSample"
	EditServiceAccountAPIKeyOperation                OperationName = "EditServiceAccountAPIKey"
	EditVoiceOperation                               OperationName = "EditVoice"
	EditVoiceSettingsOperation                       OperationName = "EditVoiceSettings"
	EditWorkspaceWebhookRouteOperation               OperationName = "EditWorkspaceWebhookRoute"
	ForcedAlignmentOperation                         OperationName = "ForcedAlignment"
	GenerateOperation                                OperationName = "Generate"
	GenerateRandomVoiceOperation                     OperationName = "GenerateRandomVoice"
	GetAgentKnowledgeBaseSizeOperation               OperationName = "GetAgentKnowledgeBaseSize"
	GetAgentKnowledgeBaseSummariesRouteOperation     OperationName = "GetAgentKnowledgeBaseSummariesRoute"
	GetAgentLinkRouteOperation                       OperationName = "GetAgentLinkRoute"
	GetAgentLlmExpectedCostCalculationOperation      OperationName = "GetAgentLlmExpectedCostCalculation"
	GetAgentResponseTestRouteOperation               OperationName = "GetAgentResponseTestRoute"
	GetAgentResponseTestsSummariesRouteOperation     OperationName = "GetAgentResponseTestsSummariesRoute"
	GetAgentsRouteOperation                          OperationName = "GetAgentsRoute"
	GetAudioFromSampleOperation                      OperationName = "GetAudioFromSample"
	GetAudioFullFromSpeechHistoryItemOperation       OperationName = "GetAudioFullFromSpeechHistoryItem"
	GetAudioNativeProjectSettingsEndpointOperation   OperationName = "GetAudioNativeProjectSettingsEndpoint"
	GetBatchCallOperation                            OperationName = "GetBatchCall"
	GetChapterSnapshotEndpointOperation              OperationName = "GetChapterSnapshotEndpoint"
	GetChapterSnapshotsOperation                     OperationName = "GetChapterSnapshots"
	GetChaptersOperation                             OperationName = "GetChapters"
	GetConversationAudioRouteOperation               OperationName = "GetConversationAudioRoute"
	GetConversationHistoriesRouteOperation           OperationName = "GetConversationHistoriesRoute"
	GetConversationHistoryRouteOperation             OperationName = "GetConversationHistoryRoute"
	GetConversationSignedLinkOperation               OperationName = "GetConversationSignedLink"
	GetDashboardSettingsRouteOperation               OperationName = "GetDashboardSettingsRoute"
	GetDocumentationChunkFromKnowledgeBaseOperation  OperationName = "GetDocumentationChunkFromKnowledgeBase"
	GetDocumentationFromKnowledgeBaseOperation       OperationName = "GetDocumentationFromKnowledgeBase"
	GetDubbedFileOperation                           OperationName = "GetDubbedFile"
	GetDubbedMetadataOperation                       OperationName = "GetDubbedMetadata"
	GetDubbedTranscriptFileOperation                 OperationName = "GetDubbedTranscriptFile"
	GetDubbingResourceOperation                      OperationName = "GetDubbingResource"
	GetGenerateVoiceParametersOperation              OperationName = "GetGenerateVoiceParameters"
	GetKnowledgeBaseContentOperation                 OperationName = "GetKnowledgeBaseContent"
	GetKnowledgeBaseDependentAgentsOperation         OperationName = "GetKnowledgeBaseDependentAgents"
	GetKnowledgeBaseListRouteOperation               OperationName = "GetKnowledgeBaseListRoute"
	GetLibraryVoicesOperation                        OperationName = "GetLibraryVoices"
	GetLiveCountOperation                            OperationName = "GetLiveCount"
	GetLivekitTokenOperation                         OperationName = "GetLivekitToken"
	GetMcpToolConfigOverrideRouteOperation           OperationName = "GetMcpToolConfigOverrideRoute"
	GetModelsOperation                               OperationName = "GetModels"
	GetOrCreateRagIndexesOperation                   OperationName = "GetOrCreateRagIndexes"
	GetPhoneNumberRouteOperation                     OperationName = "GetPhoneNumberRoute"
	GetProjectSnapshotEndpointOperation              OperationName = "GetProjectSnapshotEndpoint"
	GetProjectSnapshotsOperation                     OperationName = "GetProjectSnapshots"
	GetProjectsOperation                             OperationName = "GetProjects"
	GetPronunciationDictionariesMetadataOperation    OperationName = "GetPronunciationDictionariesMetadata"
	GetPronunciationDictionaryMetadataOperation      OperationName = "GetPronunciationDictionaryMetadata"
	GetPronunciationDictionaryVersionPlsOperation    OperationName = "GetPronunciationDictionaryVersionPls"
	GetPublicLlmExpectedCostCalculationOperation     OperationName = "GetPublicLlmExpectedCostCalculation"
	GetPvcSampleAudioOperation                       OperationName = "GetPvcSampleAudio"
	GetPvcSampleSpeakersOperation                    OperationName = "GetPvcSampleSpeakers"
	GetPvcSampleVisualWaveformOperation              OperationName = "GetPvcSampleVisualWaveform"
	GetPvcVoiceCaptchaOperation                      OperationName = "GetPvcVoiceCaptcha"
	GetRagIndexOverviewOperation                     OperationName = "GetRagIndexOverview"
	GetRagIndexesOperation                           OperationName = "GetRagIndexes"
	GetResourceMetadataOperation                     OperationName = "GetResourceMetadata"
	GetSecretsRouteOperation                         OperationName = "GetSecretsRoute"
	GetServiceAccountAPIKeysRouteOperation           OperationName = "GetServiceAccountAPIKeysRoute"
	GetSettingsRouteOperation                        OperationName = "GetSettingsRoute"
	GetSignedURLDeprecatedOperation                  OperationName = "GetSignedURLDeprecated"
	GetSimilarLibraryVoicesOperation                 OperationName = "GetSimilarLibraryVoices"
	GetSimilarVoicesForSpeakerOperation              OperationName = "GetSimilarVoicesForSpeaker"
	GetSingleUseTokenOperation                       OperationName = "GetSingleUseToken"
	GetSpeakerAudioOperation                         OperationName = "GetSpeakerAudio"
	GetSpeechHistoryOperation                        OperationName = "GetSpeechHistory"
	GetSpeechHistoryItemByIDOperation                OperationName = "GetSpeechHistoryItemByID"
	GetTestInvocationRouteOperation                  OperationName = "GetTestInvocationRoute"
	GetToolDependentAgentsRouteOperation             OperationName = "GetToolDependentAgentsRoute"
	GetTranscriptByIDOperation                       OperationName = "GetTranscriptByID"
	GetUserInfoOperation                             OperationName = "GetUserInfo"
	GetUserVoicesV2Operation                         OperationName = "GetUserVoicesV2"
	GetVoiceByIDOperation                            OperationName = "GetVoiceByID"
	GetVoiceSettingsOperation                        OperationName = "GetVoiceSettings"
	GetVoiceSettingsDefaultOperation                 OperationName = "GetVoiceSettingsDefault"
	GetVoicesOperation                               OperationName = "GetVoices"
	GetWhatsappAccountOperation                      OperationName = "GetWhatsappAccount"
	GetWorkspaceBatchCallsOperation                  OperationName = "GetWorkspaceBatchCalls"
	GetWorkspaceServiceAccountsOperation             OperationName = "GetWorkspaceServiceAccounts"
	GetWorkspaceWebhooksRouteOperation               OperationName = "GetWorkspaceWebhooksRoute"
	HandleSipTrunkOutboundCallOperation              OperationName = "HandleSipTrunkOutboundCall"
	HandleTwilioOutboundCallOperation                OperationName = "HandleTwilioOutboundCall"
	ImportWhatsappAccountOperation                   OperationName = "ImportWhatsappAccount"
	InviteUserOperation                              OperationName = "InviteUser"
	InviteUsersBulkOperation                         OperationName = "InviteUsersBulk"
	ListChatResponseTestsRouteOperation              OperationName = "ListChatResponseTestsRoute"
	ListDubsOperation                                OperationName = "ListDubs"
	ListMcpServerToolsRouteOperation                 OperationName = "ListMcpServerToolsRoute"
	ListPhoneNumbersRouteOperation                   OperationName = "ListPhoneNumbersRoute"
	ListTestInvocationsRouteOperation                OperationName = "ListTestInvocationsRoute"
	ListWhatsappAccountsOperation                    OperationName = "ListWhatsappAccounts"
	MigrateSegmentsOperation                         OperationName = "MigrateSegments"
	PatchPronunciationDictionaryOperation            OperationName = "PatchPronunciationDictionary"
	PostAgentAvatarRouteOperation                    OperationName = "PostAgentAvatarRoute"
	PostConversationFeedbackRouteOperation           OperationName = "PostConversationFeedbackRoute"
	RagIndexStatusOperation                          OperationName = "RagIndexStatus"
	RedirectToMintlifyOperation                      OperationName = "RedirectToMintlify"
	RegisterTwilioCallOperation                      OperationName = "RegisterTwilioCall"
	RemoveMemberOperation                            OperationName = "RemoveMember"
	RemoveRulesOperation                             OperationName = "RemoveRules"
	RequestPvcManualVerificationOperation            OperationName = "RequestPvcManualVerification"
	RetryBatchCallOperation                          OperationName = "RetryBatchCall"
	RunPvcVoiceTrainingOperation                     OperationName = "RunPvcVoiceTraining"
	SearchGroupsOperation                            OperationName = "SearchGroups"
	SeparateSongStemsOperation                       OperationName = "SeparateSongStems"
	ShareResourceEndpointOperation                   OperationName = "ShareResourceEndpoint"
	SoundGenerationOperation                         OperationName = "SoundGeneration"
	SpeechToSpeechFullOperation                      OperationName = "SpeechToSpeechFull"
	SpeechToSpeechStreamOperation                    OperationName = "SpeechToSpeechStream"
	SpeechToTextOperation                            OperationName = "SpeechToText"
	StartSpeakerSeparationOperation                  OperationName = "StartSpeakerSeparation"
	StreamChapterSnapshotAudioOperation              OperationName = "StreamChapterSnapshotAudio"
	StreamComposeOperation                           OperationName = "StreamCompose"
	StreamProjectSnapshotArchiveEndpointOperation    OperationName = "StreamProjectSnapshotArchiveEndpoint"
	StreamProjectSnapshotAudioEndpointOperation      OperationName = "StreamProjectSnapshotAudioEndpoint"
	TextToDialogueOperation                          OperationName = "TextToDialogue"
	TextToDialogueFullWithTimestampsOperation        OperationName = "TextToDialogueFullWithTimestamps"
	TextToDialogueStreamOperation                    OperationName = "TextToDialogueStream"
	TextToDialogueStreamWithTimestampsOperation      OperationName = "TextToDialogueStreamWithTimestamps"
	TextToSpeechFullOperation                        OperationName = "TextToSpeechFull"
	TextToSpeechFullWithTimestampsOperation          OperationName = "TextToSpeechFullWithTimestamps"
	TextToSpeechStreamOperation                      OperationName = "TextToSpeechStream"
	TextToSpeechStreamWithTimestampsOperation        OperationName = "TextToSpeechStreamWithTimestamps"
	TextToVoiceOperation                             OperationName = "TextToVoice"
	TextToVoiceDesignOperation                       OperationName = "TextToVoiceDesign"
	TextToVoicePreviewStreamOperation                OperationName = "TextToVoicePreviewStream"
	TextToVoiceRemixOperation                        OperationName = "TextToVoiceRemix"
	TranscribeOperation                              OperationName = "Transcribe"
	TranslateOperation                               OperationName = "Translate"
	UnshareResourceEndpointOperation                 OperationName = "UnshareResourceEndpoint"
	UpdateAgentResponseTestRouteOperation            OperationName = "UpdateAgentResponseTestRoute"
	UpdateDashboardSettingsRouteOperation            OperationName = "UpdateDashboardSettingsRoute"
	UpdateDocumentRouteOperation                     OperationName = "UpdateDocumentRoute"
	UpdatePhoneNumberRouteOperation                  OperationName = "UpdatePhoneNumberRoute"
	UpdatePronunciationDictionariesOperation         OperationName = "UpdatePronunciationDictionaries"
	UpdateSecretRouteOperation                       OperationName = "UpdateSecretRoute"
	UpdateSegmentLanguageOperation                   OperationName = "UpdateSegmentLanguage"
	UpdateSettingsRouteOperation                     OperationName = "UpdateSettingsRoute"
	UpdateSpeakerOperation                           OperationName = "UpdateSpeaker"
	UpdateWhatsappAccountOperation                   OperationName = "UpdateWhatsappAccount"
	UpdateWorkspaceMemberOperation                   OperationName = "UpdateWorkspaceMember"
	UsageCharactersOperation                         OperationName = "UsageCharacters"
	VerifyPvcVoiceCaptchaOperation                   OperationName = "VerifyPvcVoiceCaptcha"
	WhatsappOutboundCallOperation                    OperationName = "WhatsappOutboundCall"
)

type OptAgentConfigOverrideInput

type OptAgentConfigOverrideInput struct {
	Value AgentConfigOverrideInput
	Set   bool
}

OptAgentConfigOverrideInput is optional AgentConfigOverrideInput.

func NewOptAgentConfigOverrideInput

func NewOptAgentConfigOverrideInput(v AgentConfigOverrideInput) OptAgentConfigOverrideInput

NewOptAgentConfigOverrideInput returns new OptAgentConfigOverrideInput with value set to v.

func (*OptAgentConfigOverrideInput) Decode

Decode decodes AgentConfigOverrideInput from json.

func (OptAgentConfigOverrideInput) Encode

func (o OptAgentConfigOverrideInput) Encode(e *jx.Encoder)

Encode encodes AgentConfigOverrideInput as json.

func (OptAgentConfigOverrideInput) Get

Get returns value and boolean that denotes whether value was set.

func (OptAgentConfigOverrideInput) IsSet

IsSet returns true if OptAgentConfigOverrideInput was set.

func (OptAgentConfigOverrideInput) MarshalJSON

func (s OptAgentConfigOverrideInput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAgentConfigOverrideInput) Or

Or returns value if set, or given parameter if does not.

func (*OptAgentConfigOverrideInput) Reset

func (o *OptAgentConfigOverrideInput) Reset()

Reset unsets value.

func (*OptAgentConfigOverrideInput) SetTo

SetTo sets value to v.

func (*OptAgentConfigOverrideInput) UnmarshalJSON

func (s *OptAgentConfigOverrideInput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAgentConfigOverrideOutput

type OptAgentConfigOverrideOutput struct {
	Value AgentConfigOverrideOutput
	Set   bool
}

OptAgentConfigOverrideOutput is optional AgentConfigOverrideOutput.

func NewOptAgentConfigOverrideOutput

func NewOptAgentConfigOverrideOutput(v AgentConfigOverrideOutput) OptAgentConfigOverrideOutput

NewOptAgentConfigOverrideOutput returns new OptAgentConfigOverrideOutput with value set to v.

func (*OptAgentConfigOverrideOutput) Decode

Decode decodes AgentConfigOverrideOutput from json.

func (OptAgentConfigOverrideOutput) Encode

Encode encodes AgentConfigOverrideOutput as json.

func (OptAgentConfigOverrideOutput) Get

Get returns value and boolean that denotes whether value was set.

func (OptAgentConfigOverrideOutput) IsSet

IsSet returns true if OptAgentConfigOverrideOutput was set.

func (OptAgentConfigOverrideOutput) MarshalJSON

func (s OptAgentConfigOverrideOutput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAgentConfigOverrideOutput) Or

Or returns value if set, or given parameter if does not.

func (*OptAgentConfigOverrideOutput) Reset

func (o *OptAgentConfigOverrideOutput) Reset()

Reset unsets value.

func (*OptAgentConfigOverrideOutput) SetTo

SetTo sets value to v.

func (*OptAgentConfigOverrideOutput) UnmarshalJSON

func (s *OptAgentConfigOverrideOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAgentDefinitionSource

type OptAgentDefinitionSource struct {
	Value AgentDefinitionSource
	Set   bool
}

OptAgentDefinitionSource is optional AgentDefinitionSource.

func NewOptAgentDefinitionSource

func NewOptAgentDefinitionSource(v AgentDefinitionSource) OptAgentDefinitionSource

NewOptAgentDefinitionSource returns new OptAgentDefinitionSource with value set to v.

func (*OptAgentDefinitionSource) Decode

func (o *OptAgentDefinitionSource) Decode(d *jx.Decoder) error

Decode decodes AgentDefinitionSource from json.

func (OptAgentDefinitionSource) Encode

func (o OptAgentDefinitionSource) Encode(e *jx.Encoder)

Encode encodes AgentDefinitionSource as json.

func (OptAgentDefinitionSource) Get

Get returns value and boolean that denotes whether value was set.

func (OptAgentDefinitionSource) IsSet

func (o OptAgentDefinitionSource) IsSet() bool

IsSet returns true if OptAgentDefinitionSource was set.

func (OptAgentDefinitionSource) MarshalJSON

func (s OptAgentDefinitionSource) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAgentDefinitionSource) Or

Or returns value if set, or given parameter if does not.

func (*OptAgentDefinitionSource) Reset

func (o *OptAgentDefinitionSource) Reset()

Reset unsets value.

func (*OptAgentDefinitionSource) SetTo

SetTo sets value to v.

func (*OptAgentDefinitionSource) UnmarshalJSON

func (s *OptAgentDefinitionSource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAgentMetadata

type OptAgentMetadata struct {
	Value AgentMetadata
	Set   bool
}

OptAgentMetadata is optional AgentMetadata.

func NewOptAgentMetadata

func NewOptAgentMetadata(v AgentMetadata) OptAgentMetadata

NewOptAgentMetadata returns new OptAgentMetadata with value set to v.

func (*OptAgentMetadata) Decode

func (o *OptAgentMetadata) Decode(d *jx.Decoder) error

Decode decodes AgentMetadata from json.

func (OptAgentMetadata) Encode

func (o OptAgentMetadata) Encode(e *jx.Encoder)

Encode encodes AgentMetadata as json.

func (OptAgentMetadata) Get

func (o OptAgentMetadata) Get() (v AgentMetadata, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptAgentMetadata) IsSet

func (o OptAgentMetadata) IsSet() bool

IsSet returns true if OptAgentMetadata was set.

func (OptAgentMetadata) MarshalJSON

func (s OptAgentMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAgentMetadata) Or

Or returns value if set, or given parameter if does not.

func (*OptAgentMetadata) Reset

func (o *OptAgentMetadata) Reset()

Reset unsets value.

func (*OptAgentMetadata) SetTo

func (o *OptAgentMetadata) SetTo(v AgentMetadata)

SetTo sets value to v.

func (*OptAgentMetadata) UnmarshalJSON

func (s *OptAgentMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAgentSortBy

type OptAgentSortBy struct {
	Value AgentSortBy
	Set   bool
}

OptAgentSortBy is optional AgentSortBy.

func NewOptAgentSortBy

func NewOptAgentSortBy(v AgentSortBy) OptAgentSortBy

NewOptAgentSortBy returns new OptAgentSortBy with value set to v.

func (OptAgentSortBy) Get

func (o OptAgentSortBy) Get() (v AgentSortBy, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptAgentSortBy) IsSet

func (o OptAgentSortBy) IsSet() bool

IsSet returns true if OptAgentSortBy was set.

func (OptAgentSortBy) Or

Or returns value if set, or given parameter if does not.

func (*OptAgentSortBy) Reset

func (o *OptAgentSortBy) Reset()

Reset unsets value.

func (*OptAgentSortBy) SetTo

func (o *OptAgentSortBy) SetTo(v AgentSortBy)

SetTo sets value to v.

type OptAsyncConversationMetadata

type OptAsyncConversationMetadata struct {
	Value AsyncConversationMetadata
	Set   bool
}

OptAsyncConversationMetadata is optional AsyncConversationMetadata.

func NewOptAsyncConversationMetadata

func NewOptAsyncConversationMetadata(v AsyncConversationMetadata) OptAsyncConversationMetadata

NewOptAsyncConversationMetadata returns new OptAsyncConversationMetadata with value set to v.

func (*OptAsyncConversationMetadata) Decode

Decode decodes AsyncConversationMetadata from json.

func (OptAsyncConversationMetadata) Encode

Encode encodes AsyncConversationMetadata as json.

func (OptAsyncConversationMetadata) Get

Get returns value and boolean that denotes whether value was set.

func (OptAsyncConversationMetadata) IsSet

IsSet returns true if OptAsyncConversationMetadata was set.

func (OptAsyncConversationMetadata) MarshalJSON

func (s OptAsyncConversationMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAsyncConversationMetadata) Or

Or returns value if set, or given parameter if does not.

func (*OptAsyncConversationMetadata) Reset

func (o *OptAsyncConversationMetadata) Reset()

Reset unsets value.

func (*OptAsyncConversationMetadata) SetTo

SetTo sets value to v.

func (*OptAsyncConversationMetadata) UnmarshalJSON

func (s *OptAsyncConversationMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAudioNativeProjectSettingsResponseModel

type OptAudioNativeProjectSettingsResponseModel struct {
	Value AudioNativeProjectSettingsResponseModel
	Set   bool
}

OptAudioNativeProjectSettingsResponseModel is optional AudioNativeProjectSettingsResponseModel.

func NewOptAudioNativeProjectSettingsResponseModel

func NewOptAudioNativeProjectSettingsResponseModel(v AudioNativeProjectSettingsResponseModel) OptAudioNativeProjectSettingsResponseModel

NewOptAudioNativeProjectSettingsResponseModel returns new OptAudioNativeProjectSettingsResponseModel with value set to v.

func (*OptAudioNativeProjectSettingsResponseModel) Decode

Decode decodes AudioNativeProjectSettingsResponseModel from json.

func (OptAudioNativeProjectSettingsResponseModel) Encode

Encode encodes AudioNativeProjectSettingsResponseModel as json.

func (OptAudioNativeProjectSettingsResponseModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptAudioNativeProjectSettingsResponseModel) IsSet

IsSet returns true if OptAudioNativeProjectSettingsResponseModel was set.

func (OptAudioNativeProjectSettingsResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptAudioNativeProjectSettingsResponseModel) Or

Or returns value if set, or given parameter if does not.

func (*OptAudioNativeProjectSettingsResponseModel) Reset

Reset unsets value.

func (*OptAudioNativeProjectSettingsResponseModel) SetTo

SetTo sets value to v.

func (*OptAudioNativeProjectSettingsResponseModel) UnmarshalJSON

func (s *OptAudioNativeProjectSettingsResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAudioNativeProjectSettingsResponseModelStatus

type OptAudioNativeProjectSettingsResponseModelStatus struct {
	Value AudioNativeProjectSettingsResponseModelStatus
	Set   bool
}

OptAudioNativeProjectSettingsResponseModelStatus is optional AudioNativeProjectSettingsResponseModelStatus.

func NewOptAudioNativeProjectSettingsResponseModelStatus

func NewOptAudioNativeProjectSettingsResponseModelStatus(v AudioNativeProjectSettingsResponseModelStatus) OptAudioNativeProjectSettingsResponseModelStatus

NewOptAudioNativeProjectSettingsResponseModelStatus returns new OptAudioNativeProjectSettingsResponseModelStatus with value set to v.

func (*OptAudioNativeProjectSettingsResponseModelStatus) Decode

Decode decodes AudioNativeProjectSettingsResponseModelStatus from json.

func (OptAudioNativeProjectSettingsResponseModelStatus) Encode

Encode encodes AudioNativeProjectSettingsResponseModelStatus as json.

func (OptAudioNativeProjectSettingsResponseModelStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptAudioNativeProjectSettingsResponseModelStatus) IsSet

IsSet returns true if OptAudioNativeProjectSettingsResponseModelStatus was set.

func (OptAudioNativeProjectSettingsResponseModelStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptAudioNativeProjectSettingsResponseModelStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptAudioNativeProjectSettingsResponseModelStatus) Reset

Reset unsets value.

func (*OptAudioNativeProjectSettingsResponseModelStatus) SetTo

SetTo sets value to v.

func (*OptAudioNativeProjectSettingsResponseModelStatus) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAuthorizationMethod

type OptAuthorizationMethod struct {
	Value AuthorizationMethod
	Set   bool
}

OptAuthorizationMethod is optional AuthorizationMethod.

func NewOptAuthorizationMethod

func NewOptAuthorizationMethod(v AuthorizationMethod) OptAuthorizationMethod

NewOptAuthorizationMethod returns new OptAuthorizationMethod with value set to v.

func (*OptAuthorizationMethod) Decode

func (o *OptAuthorizationMethod) Decode(d *jx.Decoder) error

Decode decodes AuthorizationMethod from json.

func (OptAuthorizationMethod) Encode

func (o OptAuthorizationMethod) Encode(e *jx.Encoder)

Encode encodes AuthorizationMethod as json.

func (OptAuthorizationMethod) Get

Get returns value and boolean that denotes whether value was set.

func (OptAuthorizationMethod) IsSet

func (o OptAuthorizationMethod) IsSet() bool

IsSet returns true if OptAuthorizationMethod was set.

func (OptAuthorizationMethod) MarshalJSON

func (s OptAuthorizationMethod) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAuthorizationMethod) Or

Or returns value if set, or given parameter if does not.

func (*OptAuthorizationMethod) Reset

func (o *OptAuthorizationMethod) Reset()

Reset unsets value.

func (*OptAuthorizationMethod) SetTo

SetTo sets value to v.

func (*OptAuthorizationMethod) UnmarshalJSON

func (s *OptAuthorizationMethod) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBatchCallWhatsAppParams

type OptBatchCallWhatsAppParams struct {
	Value BatchCallWhatsAppParams
	Set   bool
}

OptBatchCallWhatsAppParams is optional BatchCallWhatsAppParams.

func NewOptBatchCallWhatsAppParams

func NewOptBatchCallWhatsAppParams(v BatchCallWhatsAppParams) OptBatchCallWhatsAppParams

NewOptBatchCallWhatsAppParams returns new OptBatchCallWhatsAppParams with value set to v.

func (*OptBatchCallWhatsAppParams) Decode

Decode decodes BatchCallWhatsAppParams from json.

func (OptBatchCallWhatsAppParams) Encode

func (o OptBatchCallWhatsAppParams) Encode(e *jx.Encoder)

Encode encodes BatchCallWhatsAppParams as json.

func (OptBatchCallWhatsAppParams) Get

Get returns value and boolean that denotes whether value was set.

func (OptBatchCallWhatsAppParams) IsSet

func (o OptBatchCallWhatsAppParams) IsSet() bool

IsSet returns true if OptBatchCallWhatsAppParams was set.

func (OptBatchCallWhatsAppParams) MarshalJSON

func (s OptBatchCallWhatsAppParams) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBatchCallWhatsAppParams) Or

Or returns value if set, or given parameter if does not.

func (*OptBatchCallWhatsAppParams) Reset

func (o *OptBatchCallWhatsAppParams) Reset()

Reset unsets value.

func (*OptBatchCallWhatsAppParams) SetTo

SetTo sets value to v.

func (*OptBatchCallWhatsAppParams) UnmarshalJSON

func (s *OptBatchCallWhatsAppParams) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBillingPeriod

type OptBillingPeriod struct {
	Value BillingPeriod
	Set   bool
}

OptBillingPeriod is optional BillingPeriod.

func NewOptBillingPeriod

func NewOptBillingPeriod(v BillingPeriod) OptBillingPeriod

NewOptBillingPeriod returns new OptBillingPeriod with value set to v.

func (*OptBillingPeriod) Decode

func (o *OptBillingPeriod) Decode(d *jx.Decoder) error

Decode decodes BillingPeriod from json.

func (OptBillingPeriod) Encode

func (o OptBillingPeriod) Encode(e *jx.Encoder)

Encode encodes BillingPeriod as json.

func (OptBillingPeriod) Get

func (o OptBillingPeriod) Get() (v BillingPeriod, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptBillingPeriod) IsSet

func (o OptBillingPeriod) IsSet() bool

IsSet returns true if OptBillingPeriod was set.

func (OptBillingPeriod) MarshalJSON

func (s OptBillingPeriod) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBillingPeriod) Or

Or returns value if set, or given parameter if does not.

func (*OptBillingPeriod) Reset

func (o *OptBillingPeriod) Reset()

Reset unsets value.

func (*OptBillingPeriod) SetTo

func (o *OptBillingPeriod) SetTo(v BillingPeriod)

SetTo sets value to v.

func (*OptBillingPeriod) UnmarshalJSON

func (s *OptBillingPeriod) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart

type OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart struct {
	Value BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart
	Set   bool
}

OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart is optional BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart.

func NewOptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart

NewOptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart returns new OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart with value set to v.

func (OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) IsSet

IsSet returns true if OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart was set.

func (OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) Reset

Reset unsets value.

func (*OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) SetTo

SetTo sets value to v.

type OptBodyComposeMusicV1MusicPost

type OptBodyComposeMusicV1MusicPost struct {
	Value BodyComposeMusicV1MusicPost
	Set   bool
}

OptBodyComposeMusicV1MusicPost is optional BodyComposeMusicV1MusicPost.

func NewOptBodyComposeMusicV1MusicPost

func NewOptBodyComposeMusicV1MusicPost(v BodyComposeMusicV1MusicPost) OptBodyComposeMusicV1MusicPost

NewOptBodyComposeMusicV1MusicPost returns new OptBodyComposeMusicV1MusicPost with value set to v.

func (*OptBodyComposeMusicV1MusicPost) Decode

Decode decodes BodyComposeMusicV1MusicPost from json.

func (OptBodyComposeMusicV1MusicPost) Encode

Encode encodes BodyComposeMusicV1MusicPost as json.

func (OptBodyComposeMusicV1MusicPost) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyComposeMusicV1MusicPost) IsSet

IsSet returns true if OptBodyComposeMusicV1MusicPost was set.

func (OptBodyComposeMusicV1MusicPost) MarshalJSON

func (s OptBodyComposeMusicV1MusicPost) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBodyComposeMusicV1MusicPost) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyComposeMusicV1MusicPost) Reset

func (o *OptBodyComposeMusicV1MusicPost) Reset()

Reset unsets value.

func (*OptBodyComposeMusicV1MusicPost) SetTo

SetTo sets value to v.

func (*OptBodyComposeMusicV1MusicPost) UnmarshalJSON

func (s *OptBodyComposeMusicV1MusicPost) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyComposeMusicV1MusicPostModelID

type OptBodyComposeMusicV1MusicPostModelID struct {
	Value BodyComposeMusicV1MusicPostModelID
	Set   bool
}

OptBodyComposeMusicV1MusicPostModelID is optional BodyComposeMusicV1MusicPostModelID.

func NewOptBodyComposeMusicV1MusicPostModelID

func NewOptBodyComposeMusicV1MusicPostModelID(v BodyComposeMusicV1MusicPostModelID) OptBodyComposeMusicV1MusicPostModelID

NewOptBodyComposeMusicV1MusicPostModelID returns new OptBodyComposeMusicV1MusicPostModelID with value set to v.

func (*OptBodyComposeMusicV1MusicPostModelID) Decode

Decode decodes BodyComposeMusicV1MusicPostModelID from json.

func (OptBodyComposeMusicV1MusicPostModelID) Encode

Encode encodes BodyComposeMusicV1MusicPostModelID as json.

func (OptBodyComposeMusicV1MusicPostModelID) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyComposeMusicV1MusicPostModelID) IsSet

IsSet returns true if OptBodyComposeMusicV1MusicPostModelID was set.

func (OptBodyComposeMusicV1MusicPostModelID) MarshalJSON

func (s OptBodyComposeMusicV1MusicPostModelID) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBodyComposeMusicV1MusicPostModelID) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyComposeMusicV1MusicPostModelID) Reset

Reset unsets value.

func (*OptBodyComposeMusicV1MusicPostModelID) SetTo

SetTo sets value to v.

func (*OptBodyComposeMusicV1MusicPostModelID) UnmarshalJSON

func (s *OptBodyComposeMusicV1MusicPostModelID) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost

type OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost struct {
	Value BodyComposeMusicWithADetailedResponseV1MusicDetailedPost
	Set   bool
}

OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost is optional BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.

func NewOptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost

NewOptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost returns new OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost with value set to v.

func (*OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Decode

Decode decodes BodyComposeMusicWithADetailedResponseV1MusicDetailedPost from json.

func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Encode

Encode encodes BodyComposeMusicWithADetailedResponseV1MusicDetailedPost as json.

func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) IsSet

IsSet returns true if OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost was set.

func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Reset

Reset unsets value.

func (*OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetTo

SetTo sets value to v.

func (*OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID

type OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID struct {
	Value BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID
	Set   bool
}

OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID is optional BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID.

func NewOptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID

NewOptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID returns new OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID with value set to v.

func (*OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Decode

Decode decodes BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID from json.

func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Encode

Encode encodes BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID as json.

func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) IsSet

IsSet returns true if OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID was set.

func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Reset

Reset unsets value.

func (*OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) SetTo

SetTo sets value to v.

func (*OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost

type OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost struct {
	Value BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost
	Set   bool
}

OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost is optional BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost.

func NewOptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost

NewOptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost returns new OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost with value set to v.

func (*OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Decode

Decode decodes BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost from json.

func (OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Encode

Encode encodes BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost as json.

func (OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) IsSet

IsSet returns true if OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost was set.

func (OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Reset

Reset unsets value.

func (*OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetTo

SetTo sets value to v.

func (*OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart

type OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart struct {
	Value BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart
	Set   bool
}

OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart is optional BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart.

func NewOptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart

func NewOptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart(v BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart

NewOptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart returns new OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart with value set to v.

func (OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) IsSet

IsSet returns true if OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart was set.

func (OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) Reset

Reset unsets value.

func (*OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetTo

SetTo sets value to v.

type OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode

type OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode struct {
	Value BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode
	Set   bool
}

OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode is optional BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode.

func NewOptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode

NewOptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode returns new OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode with value set to v.

func (OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) IsSet

IsSet returns true if OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode was set.

func (OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) Reset

Reset unsets value.

func (*OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) SetTo

SetTo sets value to v.

type OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost

type OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost struct {
	Value BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost
	Set   bool
}

OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost is optional BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost.

func NewOptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost

NewOptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost returns new OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost with value set to v.

func (*OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Decode

Decode decodes BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost from json.

func (OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Encode

Encode encodes BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost as json.

func (OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) IsSet

IsSet returns true if OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost was set.

func (OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Reset

Reset unsets value.

func (*OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) SetTo

SetTo sets value to v.

func (*OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost

type OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost struct {
	Value BodyEditPVCVoiceV1VoicesPvcVoiceIDPost
	Set   bool
}

OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost is optional BodyEditPVCVoiceV1VoicesPvcVoiceIDPost.

func NewOptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost

func NewOptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost(v BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost

NewOptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost returns new OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost with value set to v.

func (*OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Decode

Decode decodes BodyEditPVCVoiceV1VoicesPvcVoiceIDPost from json.

func (OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Encode

Encode encodes BodyEditPVCVoiceV1VoicesPvcVoiceIDPost as json.

func (OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) IsSet

IsSet returns true if OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost was set.

func (OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Reset

Reset unsets value.

func (*OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetTo

SetTo sets value to v.

func (*OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) UnmarshalJSON

func (s *OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyGenerateCompositionPlanV1MusicPlanPostModelID

type OptBodyGenerateCompositionPlanV1MusicPlanPostModelID struct {
	Value BodyGenerateCompositionPlanV1MusicPlanPostModelID
	Set   bool
}

OptBodyGenerateCompositionPlanV1MusicPlanPostModelID is optional BodyGenerateCompositionPlanV1MusicPlanPostModelID.

func NewOptBodyGenerateCompositionPlanV1MusicPlanPostModelID

NewOptBodyGenerateCompositionPlanV1MusicPlanPostModelID returns new OptBodyGenerateCompositionPlanV1MusicPlanPostModelID with value set to v.

func (*OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Decode

Decode decodes BodyGenerateCompositionPlanV1MusicPlanPostModelID from json.

func (OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Encode

Encode encodes BodyGenerateCompositionPlanV1MusicPlanPostModelID as json.

func (OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) IsSet

IsSet returns true if OptBodyGenerateCompositionPlanV1MusicPlanPostModelID was set.

func (OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Reset

Reset unsets value.

func (*OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) SetTo

SetTo sets value to v.

func (*OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart

type OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart struct {
	Value BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart
	Set   bool
}

OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart is optional BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart.

func NewOptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart

NewOptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart returns new OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart with value set to v.

func (OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) IsSet

IsSet returns true if OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart was set.

func (OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) Reset

Reset unsets value.

func (*OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) SetTo

SetTo sets value to v.

type OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection

type OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection struct {
	Value BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection
	Set   bool
}

OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection is optional BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection.

func NewOptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection

NewOptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection returns new OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection with value set to v.

func (*OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Decode

Decode decodes BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection from json.

func (OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Encode

Encode encodes BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection as json.

func (OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) IsSet

IsSet returns true if OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection was set.

func (OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Reset

Reset unsets value.

func (*OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) SetTo

SetTo sets value to v.

func (*OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost

type OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost struct {
	Value BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost
	Set   bool
}

OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost is optional BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost.

func NewOptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost

func NewOptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost(v BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost

NewOptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost returns new OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost with value set to v.

func (*OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Decode

Decode decodes BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost from json.

func (OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Encode

Encode encodes BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost as json.

func (OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) IsSet

IsSet returns true if OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost was set.

func (OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Reset

Reset unsets value.

func (*OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) SetTo

SetTo sets value to v.

func (*OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat

type OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat struct {
	Value BodySpeechToTextV1SpeechToTextPostMultipartFileFormat
	Set   bool
}

OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat is optional BodySpeechToTextV1SpeechToTextPostMultipartFileFormat.

func NewOptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat

NewOptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat returns new OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat with value set to v.

func (OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) IsSet

IsSet returns true if OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat was set.

func (OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) Reset

Reset unsets value.

func (*OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) SetTo

SetTo sets value to v.

type OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity

type OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity struct {
	Value BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity
	Set   bool
}

OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity is optional BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity.

func NewOptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity

NewOptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity returns new OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity with value set to v.

func (OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) IsSet

IsSet returns true if OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity was set.

func (OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) Or

Or returns value if set, or given parameter if does not.

func (*OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) Reset

Reset unsets value.

func (*OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) SetTo

SetTo sets value to v.

type OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID

type OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID struct {
	Value BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID
	Set   bool
}

OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID is optional BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID.

func NewOptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID

NewOptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID returns new OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID with value set to v.

func (OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) IsSet

IsSet returns true if OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID was set.

func (OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) Reset

Reset unsets value.

func (*OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) SetTo

SetTo sets value to v.

type OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost

type OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost struct {
	Value BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost
	Set   bool
}

OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost is optional BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost.

func NewOptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost

NewOptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost returns new OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost with value set to v.

func (*OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Decode

Decode decodes BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost from json.

func (OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Encode

Encode encodes BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost as json.

func (OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) IsSet

IsSet returns true if OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost was set.

func (OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Reset

Reset unsets value.

func (*OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) SetTo

SetTo sets value to v.

func (*OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyStreamComposedMusicV1MusicStreamPost

type OptBodyStreamComposedMusicV1MusicStreamPost struct {
	Value BodyStreamComposedMusicV1MusicStreamPost
	Set   bool
}

OptBodyStreamComposedMusicV1MusicStreamPost is optional BodyStreamComposedMusicV1MusicStreamPost.

func NewOptBodyStreamComposedMusicV1MusicStreamPost

func NewOptBodyStreamComposedMusicV1MusicStreamPost(v BodyStreamComposedMusicV1MusicStreamPost) OptBodyStreamComposedMusicV1MusicStreamPost

NewOptBodyStreamComposedMusicV1MusicStreamPost returns new OptBodyStreamComposedMusicV1MusicStreamPost with value set to v.

func (*OptBodyStreamComposedMusicV1MusicStreamPost) Decode

Decode decodes BodyStreamComposedMusicV1MusicStreamPost from json.

func (OptBodyStreamComposedMusicV1MusicStreamPost) Encode

Encode encodes BodyStreamComposedMusicV1MusicStreamPost as json.

func (OptBodyStreamComposedMusicV1MusicStreamPost) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyStreamComposedMusicV1MusicStreamPost) IsSet

IsSet returns true if OptBodyStreamComposedMusicV1MusicStreamPost was set.

func (OptBodyStreamComposedMusicV1MusicStreamPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyStreamComposedMusicV1MusicStreamPost) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyStreamComposedMusicV1MusicStreamPost) Reset

Reset unsets value.

func (*OptBodyStreamComposedMusicV1MusicStreamPost) SetTo

SetTo sets value to v.

func (*OptBodyStreamComposedMusicV1MusicStreamPost) UnmarshalJSON

func (s *OptBodyStreamComposedMusicV1MusicStreamPost) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyStreamComposedMusicV1MusicStreamPostModelID

type OptBodyStreamComposedMusicV1MusicStreamPostModelID struct {
	Value BodyStreamComposedMusicV1MusicStreamPostModelID
	Set   bool
}

OptBodyStreamComposedMusicV1MusicStreamPostModelID is optional BodyStreamComposedMusicV1MusicStreamPostModelID.

func NewOptBodyStreamComposedMusicV1MusicStreamPostModelID

func NewOptBodyStreamComposedMusicV1MusicStreamPostModelID(v BodyStreamComposedMusicV1MusicStreamPostModelID) OptBodyStreamComposedMusicV1MusicStreamPostModelID

NewOptBodyStreamComposedMusicV1MusicStreamPostModelID returns new OptBodyStreamComposedMusicV1MusicStreamPostModelID with value set to v.

func (*OptBodyStreamComposedMusicV1MusicStreamPostModelID) Decode

Decode decodes BodyStreamComposedMusicV1MusicStreamPostModelID from json.

func (OptBodyStreamComposedMusicV1MusicStreamPostModelID) Encode

Encode encodes BodyStreamComposedMusicV1MusicStreamPostModelID as json.

func (OptBodyStreamComposedMusicV1MusicStreamPostModelID) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyStreamComposedMusicV1MusicStreamPostModelID) IsSet

IsSet returns true if OptBodyStreamComposedMusicV1MusicStreamPostModelID was set.

func (OptBodyStreamComposedMusicV1MusicStreamPostModelID) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyStreamComposedMusicV1MusicStreamPostModelID) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyStreamComposedMusicV1MusicStreamPostModelID) Reset

Reset unsets value.

func (*OptBodyStreamComposedMusicV1MusicStreamPostModelID) SetTo

SetTo sets value to v.

func (*OptBodyStreamComposedMusicV1MusicStreamPostModelID) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost

type OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost struct {
	Value BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost
	Set   bool
}

OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost is optional BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost.

func NewOptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost

NewOptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost returns new OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost with value set to v.

func (*OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Decode

Decode decodes BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost from json.

func (OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Encode

Encode encodes BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost as json.

func (OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) IsSet

IsSet returns true if OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost was set.

func (OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Reset

Reset unsets value.

func (*OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) SetTo

SetTo sets value to v.

func (*OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization

type OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization struct {
	Value BodyTextToDialogueFullWithTimestampsApplyTextNormalization
	Set   bool
}

OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization is optional BodyTextToDialogueFullWithTimestampsApplyTextNormalization.

func NewOptBodyTextToDialogueFullWithTimestampsApplyTextNormalization

NewOptBodyTextToDialogueFullWithTimestampsApplyTextNormalization returns new OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization with value set to v.

func (*OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Decode

Decode decodes BodyTextToDialogueFullWithTimestampsApplyTextNormalization from json.

func (OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Encode

Encode encodes BodyTextToDialogueFullWithTimestampsApplyTextNormalization as json.

func (OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) IsSet

IsSet returns true if OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization was set.

func (OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Reset

Reset unsets value.

func (*OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) SetTo

SetTo sets value to v.

func (*OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization

type OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization struct {
	Value BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization
	Set   bool
}

OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization is optional BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.

func NewOptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization

NewOptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization returns new OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization with value set to v.

func (*OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Decode

Decode decodes BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization from json.

func (OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Encode

Encode encodes BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization as json.

func (OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) IsSet

IsSet returns true if OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization was set.

func (OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Reset

Reset unsets value.

func (*OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) SetTo

SetTo sets value to v.

func (*OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization

type OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization struct {
	Value BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization
	Set   bool
}

OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization is optional BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.

func NewOptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization

NewOptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization returns new OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization with value set to v.

func (*OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Decode

Decode decodes BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization from json.

func (OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Encode

Encode encodes BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization as json.

func (OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) IsSet

IsSet returns true if OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization was set.

func (OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Reset

Reset unsets value.

func (*OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) SetTo

SetTo sets value to v.

func (*OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization

type OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization struct {
	Value BodyTextToDialogueStreamWithTimestampsApplyTextNormalization
	Set   bool
}

OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization is optional BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.

func NewOptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization

NewOptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization returns new OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization with value set to v.

func (*OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Decode

Decode decodes BodyTextToDialogueStreamWithTimestampsApplyTextNormalization from json.

func (OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Encode

Encode encodes BodyTextToDialogueStreamWithTimestampsApplyTextNormalization as json.

func (OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) IsSet

IsSet returns true if OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization was set.

func (OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Reset

Reset unsets value.

func (*OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) SetTo

SetTo sets value to v.

func (*OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyTextToSpeechFullApplyTextNormalization

type OptBodyTextToSpeechFullApplyTextNormalization struct {
	Value BodyTextToSpeechFullApplyTextNormalization
	Set   bool
}

OptBodyTextToSpeechFullApplyTextNormalization is optional BodyTextToSpeechFullApplyTextNormalization.

func NewOptBodyTextToSpeechFullApplyTextNormalization

func NewOptBodyTextToSpeechFullApplyTextNormalization(v BodyTextToSpeechFullApplyTextNormalization) OptBodyTextToSpeechFullApplyTextNormalization

NewOptBodyTextToSpeechFullApplyTextNormalization returns new OptBodyTextToSpeechFullApplyTextNormalization with value set to v.

func (*OptBodyTextToSpeechFullApplyTextNormalization) Decode

Decode decodes BodyTextToSpeechFullApplyTextNormalization from json.

func (OptBodyTextToSpeechFullApplyTextNormalization) Encode

Encode encodes BodyTextToSpeechFullApplyTextNormalization as json.

func (OptBodyTextToSpeechFullApplyTextNormalization) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyTextToSpeechFullApplyTextNormalization) IsSet

IsSet returns true if OptBodyTextToSpeechFullApplyTextNormalization was set.

func (OptBodyTextToSpeechFullApplyTextNormalization) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyTextToSpeechFullApplyTextNormalization) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyTextToSpeechFullApplyTextNormalization) Reset

Reset unsets value.

func (*OptBodyTextToSpeechFullApplyTextNormalization) SetTo

SetTo sets value to v.

func (*OptBodyTextToSpeechFullApplyTextNormalization) UnmarshalJSON

func (s *OptBodyTextToSpeechFullApplyTextNormalization) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization

type OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization struct {
	Value BodyTextToSpeechFullWithTimestampsApplyTextNormalization
	Set   bool
}

OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization is optional BodyTextToSpeechFullWithTimestampsApplyTextNormalization.

func NewOptBodyTextToSpeechFullWithTimestampsApplyTextNormalization

NewOptBodyTextToSpeechFullWithTimestampsApplyTextNormalization returns new OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization with value set to v.

func (*OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Decode

Decode decodes BodyTextToSpeechFullWithTimestampsApplyTextNormalization from json.

func (OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Encode

Encode encodes BodyTextToSpeechFullWithTimestampsApplyTextNormalization as json.

func (OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) IsSet

IsSet returns true if OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization was set.

func (OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Reset

Reset unsets value.

func (*OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) SetTo

SetTo sets value to v.

func (*OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyTextToSpeechStreamApplyTextNormalization

type OptBodyTextToSpeechStreamApplyTextNormalization struct {
	Value BodyTextToSpeechStreamApplyTextNormalization
	Set   bool
}

OptBodyTextToSpeechStreamApplyTextNormalization is optional BodyTextToSpeechStreamApplyTextNormalization.

func NewOptBodyTextToSpeechStreamApplyTextNormalization

func NewOptBodyTextToSpeechStreamApplyTextNormalization(v BodyTextToSpeechStreamApplyTextNormalization) OptBodyTextToSpeechStreamApplyTextNormalization

NewOptBodyTextToSpeechStreamApplyTextNormalization returns new OptBodyTextToSpeechStreamApplyTextNormalization with value set to v.

func (*OptBodyTextToSpeechStreamApplyTextNormalization) Decode

Decode decodes BodyTextToSpeechStreamApplyTextNormalization from json.

func (OptBodyTextToSpeechStreamApplyTextNormalization) Encode

Encode encodes BodyTextToSpeechStreamApplyTextNormalization as json.

func (OptBodyTextToSpeechStreamApplyTextNormalization) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyTextToSpeechStreamApplyTextNormalization) IsSet

IsSet returns true if OptBodyTextToSpeechStreamApplyTextNormalization was set.

func (OptBodyTextToSpeechStreamApplyTextNormalization) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyTextToSpeechStreamApplyTextNormalization) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyTextToSpeechStreamApplyTextNormalization) Reset

Reset unsets value.

func (*OptBodyTextToSpeechStreamApplyTextNormalization) SetTo

SetTo sets value to v.

func (*OptBodyTextToSpeechStreamApplyTextNormalization) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization

type OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization struct {
	Value BodyTextToSpeechStreamWithTimestampsApplyTextNormalization
	Set   bool
}

OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization is optional BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.

func NewOptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization

NewOptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization returns new OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization with value set to v.

func (*OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Decode

Decode decodes BodyTextToSpeechStreamWithTimestampsApplyTextNormalization from json.

func (OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Encode

Encode encodes BodyTextToSpeechStreamWithTimestampsApplyTextNormalization as json.

func (OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) IsSet

IsSet returns true if OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization was set.

func (OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Reset

Reset unsets value.

func (*OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) SetTo

SetTo sets value to v.

func (*OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart

type OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart struct {
	Value BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart
	Set   bool
}

OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart is optional BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart.

func NewOptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart

NewOptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart returns new OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart with value set to v.

func (OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) IsSet

IsSet returns true if OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart was set.

func (OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) Reset

Reset unsets value.

func (*OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) SetTo

SetTo sets value to v.

type OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch

type OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch struct {
	Value BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch
	Set   bool
}

OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch is optional BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch.

func NewOptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch

NewOptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch returns new OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch with value set to v.

func (*OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Decode

Decode decodes BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch from json.

func (OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Encode

Encode encodes BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch as json.

func (OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) IsSet

IsSet returns true if OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch was set.

func (OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Reset

Reset unsets value.

func (*OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetTo

SetTo sets value to v.

func (*OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost

type OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost struct {
	Value BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost
	Set   bool
}

OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost is optional BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost.

func NewOptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost

NewOptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost returns new OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost with value set to v.

func (*OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Decode

Decode decodes BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost from json.

func (OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Encode

Encode encodes BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost as json.

func (OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) IsSet

IsSet returns true if OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost was set.

func (OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Reset

Reset unsets value.

func (*OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetTo

SetTo sets value to v.

func (*OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch

type OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch struct {
	Value BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch
	Set   bool
}

OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch is optional BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch.

func NewOptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch

NewOptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch returns new OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch with value set to v.

func (*OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Decode

Decode decodes BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch from json.

func (OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Encode

Encode encodes BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch as json.

func (OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) IsSet

IsSet returns true if OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch was set.

func (OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Reset

Reset unsets value.

func (*OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) SetTo

SetTo sets value to v.

func (*OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart

type OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart struct {
	Value BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart
	Set   bool
}

OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart is optional BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart.

func NewOptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart

NewOptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart returns new OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart with value set to v.

func (OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) Get

Get returns value and boolean that denotes whether value was set.

func (OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) IsSet

IsSet returns true if OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart was set.

func (OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) Or

Or returns value if set, or given parameter if does not.

func (*OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) Reset

Reset unsets value.

func (*OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetTo

SetTo sets value to v.

type OptBool

type OptBool struct {
	Value bool
	Set   bool
}

OptBool is optional bool.

func NewOptBool

func NewOptBool(v bool) OptBool

NewOptBool returns new OptBool with value set to v.

func (*OptBool) Decode

func (o *OptBool) Decode(d *jx.Decoder) error

Decode decodes bool from json.

func (OptBool) Encode

func (o OptBool) Encode(e *jx.Encoder)

Encode encodes bool as json.

func (OptBool) Get

func (o OptBool) Get() (v bool, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptBool) IsSet

func (o OptBool) IsSet() bool

IsSet returns true if OptBool was set.

func (OptBool) MarshalJSON

func (s OptBool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBool) Or

func (o OptBool) Or(d bool) bool

Or returns value if set, or given parameter if does not.

func (*OptBool) Reset

func (o *OptBool) Reset()

Reset unsets value.

func (*OptBool) SetTo

func (o *OptBool) SetTo(v bool)

SetTo sets value to v.

func (*OptBool) UnmarshalJSON

func (s *OptBool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBreakdownTypes

type OptBreakdownTypes struct {
	Value BreakdownTypes
	Set   bool
}

OptBreakdownTypes is optional BreakdownTypes.

func NewOptBreakdownTypes

func NewOptBreakdownTypes(v BreakdownTypes) OptBreakdownTypes

NewOptBreakdownTypes returns new OptBreakdownTypes with value set to v.

func (OptBreakdownTypes) Get

func (o OptBreakdownTypes) Get() (v BreakdownTypes, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptBreakdownTypes) IsSet

func (o OptBreakdownTypes) IsSet() bool

IsSet returns true if OptBreakdownTypes was set.

func (OptBreakdownTypes) Or

Or returns value if set, or given parameter if does not.

func (*OptBreakdownTypes) Reset

func (o *OptBreakdownTypes) Reset()

Reset unsets value.

func (*OptBreakdownTypes) SetTo

func (o *OptBreakdownTypes) SetTo(v BreakdownTypes)

SetTo sets value to v.

type OptCaptionStyleCharacterAnimationModel

type OptCaptionStyleCharacterAnimationModel struct {
	Value CaptionStyleCharacterAnimationModel
	Set   bool
}

OptCaptionStyleCharacterAnimationModel is optional CaptionStyleCharacterAnimationModel.

func NewOptCaptionStyleCharacterAnimationModel

func NewOptCaptionStyleCharacterAnimationModel(v CaptionStyleCharacterAnimationModel) OptCaptionStyleCharacterAnimationModel

NewOptCaptionStyleCharacterAnimationModel returns new OptCaptionStyleCharacterAnimationModel with value set to v.

func (*OptCaptionStyleCharacterAnimationModel) Decode

Decode decodes CaptionStyleCharacterAnimationModel from json.

func (OptCaptionStyleCharacterAnimationModel) Encode

Encode encodes CaptionStyleCharacterAnimationModel as json.

func (OptCaptionStyleCharacterAnimationModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptCaptionStyleCharacterAnimationModel) IsSet

IsSet returns true if OptCaptionStyleCharacterAnimationModel was set.

func (OptCaptionStyleCharacterAnimationModel) MarshalJSON

func (s OptCaptionStyleCharacterAnimationModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCaptionStyleCharacterAnimationModel) Or

Or returns value if set, or given parameter if does not.

func (*OptCaptionStyleCharacterAnimationModel) Reset

Reset unsets value.

func (*OptCaptionStyleCharacterAnimationModel) SetTo

SetTo sets value to v.

func (*OptCaptionStyleCharacterAnimationModel) UnmarshalJSON

func (s *OptCaptionStyleCharacterAnimationModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCaptionStyleHorizontalPlacementModel

type OptCaptionStyleHorizontalPlacementModel struct {
	Value CaptionStyleHorizontalPlacementModel
	Set   bool
}

OptCaptionStyleHorizontalPlacementModel is optional CaptionStyleHorizontalPlacementModel.

func NewOptCaptionStyleHorizontalPlacementModel

func NewOptCaptionStyleHorizontalPlacementModel(v CaptionStyleHorizontalPlacementModel) OptCaptionStyleHorizontalPlacementModel

NewOptCaptionStyleHorizontalPlacementModel returns new OptCaptionStyleHorizontalPlacementModel with value set to v.

func (*OptCaptionStyleHorizontalPlacementModel) Decode

Decode decodes CaptionStyleHorizontalPlacementModel from json.

func (OptCaptionStyleHorizontalPlacementModel) Encode

Encode encodes CaptionStyleHorizontalPlacementModel as json.

func (OptCaptionStyleHorizontalPlacementModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptCaptionStyleHorizontalPlacementModel) IsSet

IsSet returns true if OptCaptionStyleHorizontalPlacementModel was set.

func (OptCaptionStyleHorizontalPlacementModel) MarshalJSON

func (s OptCaptionStyleHorizontalPlacementModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCaptionStyleHorizontalPlacementModel) Or

Or returns value if set, or given parameter if does not.

func (*OptCaptionStyleHorizontalPlacementModel) Reset

Reset unsets value.

func (*OptCaptionStyleHorizontalPlacementModel) SetTo

SetTo sets value to v.

func (*OptCaptionStyleHorizontalPlacementModel) UnmarshalJSON

func (s *OptCaptionStyleHorizontalPlacementModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCaptionStyleModel

type OptCaptionStyleModel struct {
	Value CaptionStyleModel
	Set   bool
}

OptCaptionStyleModel is optional CaptionStyleModel.

func NewOptCaptionStyleModel

func NewOptCaptionStyleModel(v CaptionStyleModel) OptCaptionStyleModel

NewOptCaptionStyleModel returns new OptCaptionStyleModel with value set to v.

func (*OptCaptionStyleModel) Decode

func (o *OptCaptionStyleModel) Decode(d *jx.Decoder) error

Decode decodes CaptionStyleModel from json.

func (OptCaptionStyleModel) Encode

func (o OptCaptionStyleModel) Encode(e *jx.Encoder)

Encode encodes CaptionStyleModel as json.

func (OptCaptionStyleModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptCaptionStyleModel) IsSet

func (o OptCaptionStyleModel) IsSet() bool

IsSet returns true if OptCaptionStyleModel was set.

func (OptCaptionStyleModel) MarshalJSON

func (s OptCaptionStyleModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCaptionStyleModel) Or

Or returns value if set, or given parameter if does not.

func (*OptCaptionStyleModel) Reset

func (o *OptCaptionStyleModel) Reset()

Reset unsets value.

func (*OptCaptionStyleModel) SetTo

SetTo sets value to v.

func (*OptCaptionStyleModel) UnmarshalJSON

func (s *OptCaptionStyleModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCaptionStyleSectionAnimationModel

type OptCaptionStyleSectionAnimationModel struct {
	Value CaptionStyleSectionAnimationModel
	Set   bool
}

OptCaptionStyleSectionAnimationModel is optional CaptionStyleSectionAnimationModel.

func NewOptCaptionStyleSectionAnimationModel

func NewOptCaptionStyleSectionAnimationModel(v CaptionStyleSectionAnimationModel) OptCaptionStyleSectionAnimationModel

NewOptCaptionStyleSectionAnimationModel returns new OptCaptionStyleSectionAnimationModel with value set to v.

func (*OptCaptionStyleSectionAnimationModel) Decode

Decode decodes CaptionStyleSectionAnimationModel from json.

func (OptCaptionStyleSectionAnimationModel) Encode

Encode encodes CaptionStyleSectionAnimationModel as json.

func (OptCaptionStyleSectionAnimationModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptCaptionStyleSectionAnimationModel) IsSet

IsSet returns true if OptCaptionStyleSectionAnimationModel was set.

func (OptCaptionStyleSectionAnimationModel) MarshalJSON

func (s OptCaptionStyleSectionAnimationModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCaptionStyleSectionAnimationModel) Or

Or returns value if set, or given parameter if does not.

func (*OptCaptionStyleSectionAnimationModel) Reset

Reset unsets value.

func (*OptCaptionStyleSectionAnimationModel) SetTo

SetTo sets value to v.

func (*OptCaptionStyleSectionAnimationModel) UnmarshalJSON

func (s *OptCaptionStyleSectionAnimationModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCaptionStyleTemplateModel

type OptCaptionStyleTemplateModel struct {
	Value CaptionStyleTemplateModel
	Set   bool
}

OptCaptionStyleTemplateModel is optional CaptionStyleTemplateModel.

func NewOptCaptionStyleTemplateModel

func NewOptCaptionStyleTemplateModel(v CaptionStyleTemplateModel) OptCaptionStyleTemplateModel

NewOptCaptionStyleTemplateModel returns new OptCaptionStyleTemplateModel with value set to v.

func (*OptCaptionStyleTemplateModel) Decode

Decode decodes CaptionStyleTemplateModel from json.

func (OptCaptionStyleTemplateModel) Encode

Encode encodes CaptionStyleTemplateModel as json.

func (OptCaptionStyleTemplateModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptCaptionStyleTemplateModel) IsSet

IsSet returns true if OptCaptionStyleTemplateModel was set.

func (OptCaptionStyleTemplateModel) MarshalJSON

func (s OptCaptionStyleTemplateModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCaptionStyleTemplateModel) Or

Or returns value if set, or given parameter if does not.

func (*OptCaptionStyleTemplateModel) Reset

func (o *OptCaptionStyleTemplateModel) Reset()

Reset unsets value.

func (*OptCaptionStyleTemplateModel) SetTo

SetTo sets value to v.

func (*OptCaptionStyleTemplateModel) UnmarshalJSON

func (s *OptCaptionStyleTemplateModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCaptionStyleVerticalPlacementModel

type OptCaptionStyleVerticalPlacementModel struct {
	Value CaptionStyleVerticalPlacementModel
	Set   bool
}

OptCaptionStyleVerticalPlacementModel is optional CaptionStyleVerticalPlacementModel.

func NewOptCaptionStyleVerticalPlacementModel

func NewOptCaptionStyleVerticalPlacementModel(v CaptionStyleVerticalPlacementModel) OptCaptionStyleVerticalPlacementModel

NewOptCaptionStyleVerticalPlacementModel returns new OptCaptionStyleVerticalPlacementModel with value set to v.

func (*OptCaptionStyleVerticalPlacementModel) Decode

Decode decodes CaptionStyleVerticalPlacementModel from json.

func (OptCaptionStyleVerticalPlacementModel) Encode

Encode encodes CaptionStyleVerticalPlacementModel as json.

func (OptCaptionStyleVerticalPlacementModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptCaptionStyleVerticalPlacementModel) IsSet

IsSet returns true if OptCaptionStyleVerticalPlacementModel was set.

func (OptCaptionStyleVerticalPlacementModel) MarshalJSON

func (s OptCaptionStyleVerticalPlacementModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCaptionStyleVerticalPlacementModel) Or

Or returns value if set, or given parameter if does not.

func (*OptCaptionStyleVerticalPlacementModel) Reset

Reset unsets value.

func (*OptCaptionStyleVerticalPlacementModel) SetTo

SetTo sets value to v.

func (*OptCaptionStyleVerticalPlacementModel) UnmarshalJSON

func (s *OptCaptionStyleVerticalPlacementModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCaptionStyleWordAnimationModel

type OptCaptionStyleWordAnimationModel struct {
	Value CaptionStyleWordAnimationModel
	Set   bool
}

OptCaptionStyleWordAnimationModel is optional CaptionStyleWordAnimationModel.

func NewOptCaptionStyleWordAnimationModel

func NewOptCaptionStyleWordAnimationModel(v CaptionStyleWordAnimationModel) OptCaptionStyleWordAnimationModel

NewOptCaptionStyleWordAnimationModel returns new OptCaptionStyleWordAnimationModel with value set to v.

func (*OptCaptionStyleWordAnimationModel) Decode

Decode decodes CaptionStyleWordAnimationModel from json.

func (OptCaptionStyleWordAnimationModel) Encode

Encode encodes CaptionStyleWordAnimationModel as json.

func (OptCaptionStyleWordAnimationModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptCaptionStyleWordAnimationModel) IsSet

IsSet returns true if OptCaptionStyleWordAnimationModel was set.

func (OptCaptionStyleWordAnimationModel) MarshalJSON

func (s OptCaptionStyleWordAnimationModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCaptionStyleWordAnimationModel) Or

Or returns value if set, or given parameter if does not.

func (*OptCaptionStyleWordAnimationModel) Reset

Reset unsets value.

func (*OptCaptionStyleWordAnimationModel) SetTo

SetTo sets value to v.

func (*OptCaptionStyleWordAnimationModel) UnmarshalJSON

func (s *OptCaptionStyleWordAnimationModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptChapterStatisticsResponseModel

type OptChapterStatisticsResponseModel struct {
	Value ChapterStatisticsResponseModel
	Set   bool
}

OptChapterStatisticsResponseModel is optional ChapterStatisticsResponseModel.

func NewOptChapterStatisticsResponseModel

func NewOptChapterStatisticsResponseModel(v ChapterStatisticsResponseModel) OptChapterStatisticsResponseModel

NewOptChapterStatisticsResponseModel returns new OptChapterStatisticsResponseModel with value set to v.

func (*OptChapterStatisticsResponseModel) Decode

Decode decodes ChapterStatisticsResponseModel from json.

func (OptChapterStatisticsResponseModel) Encode

Encode encodes ChapterStatisticsResponseModel as json.

func (OptChapterStatisticsResponseModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptChapterStatisticsResponseModel) IsSet

IsSet returns true if OptChapterStatisticsResponseModel was set.

func (OptChapterStatisticsResponseModel) MarshalJSON

func (s OptChapterStatisticsResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptChapterStatisticsResponseModel) Or

Or returns value if set, or given parameter if does not.

func (*OptChapterStatisticsResponseModel) Reset

Reset unsets value.

func (*OptChapterStatisticsResponseModel) SetTo

SetTo sets value to v.

func (*OptChapterStatisticsResponseModel) UnmarshalJSON

func (s *OptChapterStatisticsResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCharacterAlignmentResponseModel

type OptCharacterAlignmentResponseModel struct {
	Value CharacterAlignmentResponseModel
	Set   bool
}

OptCharacterAlignmentResponseModel is optional CharacterAlignmentResponseModel.

func NewOptCharacterAlignmentResponseModel

func NewOptCharacterAlignmentResponseModel(v CharacterAlignmentResponseModel) OptCharacterAlignmentResponseModel

NewOptCharacterAlignmentResponseModel returns new OptCharacterAlignmentResponseModel with value set to v.

func (*OptCharacterAlignmentResponseModel) Decode

Decode decodes CharacterAlignmentResponseModel from json.

func (OptCharacterAlignmentResponseModel) Encode

Encode encodes CharacterAlignmentResponseModel as json.

func (OptCharacterAlignmentResponseModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptCharacterAlignmentResponseModel) IsSet

IsSet returns true if OptCharacterAlignmentResponseModel was set.

func (OptCharacterAlignmentResponseModel) MarshalJSON

func (s OptCharacterAlignmentResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCharacterAlignmentResponseModel) Or

Or returns value if set, or given parameter if does not.

func (*OptCharacterAlignmentResponseModel) Reset

Reset unsets value.

func (*OptCharacterAlignmentResponseModel) SetTo

SetTo sets value to v.

func (*OptCharacterAlignmentResponseModel) UnmarshalJSON

func (s *OptCharacterAlignmentResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCharacterRefreshPeriod

type OptCharacterRefreshPeriod struct {
	Value CharacterRefreshPeriod
	Set   bool
}

OptCharacterRefreshPeriod is optional CharacterRefreshPeriod.

func NewOptCharacterRefreshPeriod

func NewOptCharacterRefreshPeriod(v CharacterRefreshPeriod) OptCharacterRefreshPeriod

NewOptCharacterRefreshPeriod returns new OptCharacterRefreshPeriod with value set to v.

func (*OptCharacterRefreshPeriod) Decode

func (o *OptCharacterRefreshPeriod) Decode(d *jx.Decoder) error

Decode decodes CharacterRefreshPeriod from json.

func (OptCharacterRefreshPeriod) Encode

func (o OptCharacterRefreshPeriod) Encode(e *jx.Encoder)

Encode encodes CharacterRefreshPeriod as json.

func (OptCharacterRefreshPeriod) Get

Get returns value and boolean that denotes whether value was set.

func (OptCharacterRefreshPeriod) IsSet

func (o OptCharacterRefreshPeriod) IsSet() bool

IsSet returns true if OptCharacterRefreshPeriod was set.

func (OptCharacterRefreshPeriod) MarshalJSON

func (s OptCharacterRefreshPeriod) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCharacterRefreshPeriod) Or

Or returns value if set, or given parameter if does not.

func (*OptCharacterRefreshPeriod) Reset

func (o *OptCharacterRefreshPeriod) Reset()

Reset unsets value.

func (*OptCharacterRefreshPeriod) SetTo

SetTo sets value to v.

func (*OptCharacterRefreshPeriod) UnmarshalJSON

func (s *OptCharacterRefreshPeriod) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptComposeDetailedOutputFormat

type OptComposeDetailedOutputFormat struct {
	Value ComposeDetailedOutputFormat
	Set   bool
}

OptComposeDetailedOutputFormat is optional ComposeDetailedOutputFormat.

func NewOptComposeDetailedOutputFormat

func NewOptComposeDetailedOutputFormat(v ComposeDetailedOutputFormat) OptComposeDetailedOutputFormat

NewOptComposeDetailedOutputFormat returns new OptComposeDetailedOutputFormat with value set to v.

func (OptComposeDetailedOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptComposeDetailedOutputFormat) IsSet

IsSet returns true if OptComposeDetailedOutputFormat was set.

func (OptComposeDetailedOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptComposeDetailedOutputFormat) Reset

func (o *OptComposeDetailedOutputFormat) Reset()

Reset unsets value.

func (*OptComposeDetailedOutputFormat) SetTo

SetTo sets value to v.

type OptConvAIWebhooks

type OptConvAIWebhooks struct {
	Value ConvAIWebhooks
	Set   bool
}

OptConvAIWebhooks is optional ConvAIWebhooks.

func NewOptConvAIWebhooks

func NewOptConvAIWebhooks(v ConvAIWebhooks) OptConvAIWebhooks

NewOptConvAIWebhooks returns new OptConvAIWebhooks with value set to v.

func (*OptConvAIWebhooks) Decode

func (o *OptConvAIWebhooks) Decode(d *jx.Decoder) error

Decode decodes ConvAIWebhooks from json.

func (OptConvAIWebhooks) Encode

func (o OptConvAIWebhooks) Encode(e *jx.Encoder)

Encode encodes ConvAIWebhooks as json.

func (OptConvAIWebhooks) Get

func (o OptConvAIWebhooks) Get() (v ConvAIWebhooks, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptConvAIWebhooks) IsSet

func (o OptConvAIWebhooks) IsSet() bool

IsSet returns true if OptConvAIWebhooks was set.

func (OptConvAIWebhooks) MarshalJSON

func (s OptConvAIWebhooks) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptConvAIWebhooks) Or

Or returns value if set, or given parameter if does not.

func (*OptConvAIWebhooks) Reset

func (o *OptConvAIWebhooks) Reset()

Reset unsets value.

func (*OptConvAIWebhooks) SetTo

func (o *OptConvAIWebhooks) SetTo(v ConvAIWebhooks)

SetTo sets value to v.

func (*OptConvAIWebhooks) UnmarshalJSON

func (s *OptConvAIWebhooks) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationChargingCommonModel

type OptConversationChargingCommonModel struct {
	Value ConversationChargingCommonModel
	Set   bool
}

OptConversationChargingCommonModel is optional ConversationChargingCommonModel.

func NewOptConversationChargingCommonModel

func NewOptConversationChargingCommonModel(v ConversationChargingCommonModel) OptConversationChargingCommonModel

NewOptConversationChargingCommonModel returns new OptConversationChargingCommonModel with value set to v.

func (*OptConversationChargingCommonModel) Decode

Decode decodes ConversationChargingCommonModel from json.

func (OptConversationChargingCommonModel) Encode

Encode encodes ConversationChargingCommonModel as json.

func (OptConversationChargingCommonModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationChargingCommonModel) IsSet

IsSet returns true if OptConversationChargingCommonModel was set.

func (OptConversationChargingCommonModel) MarshalJSON

func (s OptConversationChargingCommonModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptConversationChargingCommonModel) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationChargingCommonModel) Reset

Reset unsets value.

func (*OptConversationChargingCommonModel) SetTo

SetTo sets value to v.

func (*OptConversationChargingCommonModel) UnmarshalJSON

func (s *OptConversationChargingCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationConfigClientOverrideInput

type OptConversationConfigClientOverrideInput struct {
	Value ConversationConfigClientOverrideInput
	Set   bool
}

OptConversationConfigClientOverrideInput is optional ConversationConfigClientOverrideInput.

func NewOptConversationConfigClientOverrideInput

func NewOptConversationConfigClientOverrideInput(v ConversationConfigClientOverrideInput) OptConversationConfigClientOverrideInput

NewOptConversationConfigClientOverrideInput returns new OptConversationConfigClientOverrideInput with value set to v.

func (*OptConversationConfigClientOverrideInput) Decode

Decode decodes ConversationConfigClientOverrideInput from json.

func (OptConversationConfigClientOverrideInput) Encode

Encode encodes ConversationConfigClientOverrideInput as json.

func (OptConversationConfigClientOverrideInput) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationConfigClientOverrideInput) IsSet

IsSet returns true if OptConversationConfigClientOverrideInput was set.

func (OptConversationConfigClientOverrideInput) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationConfigClientOverrideInput) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationConfigClientOverrideInput) Reset

Reset unsets value.

func (*OptConversationConfigClientOverrideInput) SetTo

SetTo sets value to v.

func (*OptConversationConfigClientOverrideInput) UnmarshalJSON

func (s *OptConversationConfigClientOverrideInput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationConfigClientOverrideOutput

type OptConversationConfigClientOverrideOutput struct {
	Value ConversationConfigClientOverrideOutput
	Set   bool
}

OptConversationConfigClientOverrideOutput is optional ConversationConfigClientOverrideOutput.

func NewOptConversationConfigClientOverrideOutput

func NewOptConversationConfigClientOverrideOutput(v ConversationConfigClientOverrideOutput) OptConversationConfigClientOverrideOutput

NewOptConversationConfigClientOverrideOutput returns new OptConversationConfigClientOverrideOutput with value set to v.

func (*OptConversationConfigClientOverrideOutput) Decode

Decode decodes ConversationConfigClientOverrideOutput from json.

func (OptConversationConfigClientOverrideOutput) Encode

Encode encodes ConversationConfigClientOverrideOutput as json.

func (OptConversationConfigClientOverrideOutput) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationConfigClientOverrideOutput) IsSet

IsSet returns true if OptConversationConfigClientOverrideOutput was set.

func (OptConversationConfigClientOverrideOutput) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationConfigClientOverrideOutput) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationConfigClientOverrideOutput) Reset

Reset unsets value.

func (*OptConversationConfigClientOverrideOutput) SetTo

SetTo sets value to v.

func (*OptConversationConfigClientOverrideOutput) UnmarshalJSON

func (s *OptConversationConfigClientOverrideOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationConfigOverride

type OptConversationConfigOverride struct {
	Value ConversationConfigOverride
	Set   bool
}

OptConversationConfigOverride is optional ConversationConfigOverride.

func NewOptConversationConfigOverride

func NewOptConversationConfigOverride(v ConversationConfigOverride) OptConversationConfigOverride

NewOptConversationConfigOverride returns new OptConversationConfigOverride with value set to v.

func (*OptConversationConfigOverride) Decode

Decode decodes ConversationConfigOverride from json.

func (OptConversationConfigOverride) Encode

Encode encodes ConversationConfigOverride as json.

func (OptConversationConfigOverride) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationConfigOverride) IsSet

IsSet returns true if OptConversationConfigOverride was set.

func (OptConversationConfigOverride) MarshalJSON

func (s OptConversationConfigOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptConversationConfigOverride) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationConfigOverride) Reset

func (o *OptConversationConfigOverride) Reset()

Reset unsets value.

func (*OptConversationConfigOverride) SetTo

SetTo sets value to v.

func (*OptConversationConfigOverride) UnmarshalJSON

func (s *OptConversationConfigOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationDeletionSettings

type OptConversationDeletionSettings struct {
	Value ConversationDeletionSettings
	Set   bool
}

OptConversationDeletionSettings is optional ConversationDeletionSettings.

func NewOptConversationDeletionSettings

func NewOptConversationDeletionSettings(v ConversationDeletionSettings) OptConversationDeletionSettings

NewOptConversationDeletionSettings returns new OptConversationDeletionSettings with value set to v.

func (*OptConversationDeletionSettings) Decode

Decode decodes ConversationDeletionSettings from json.

func (OptConversationDeletionSettings) Encode

Encode encodes ConversationDeletionSettings as json.

func (OptConversationDeletionSettings) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationDeletionSettings) IsSet

IsSet returns true if OptConversationDeletionSettings was set.

func (OptConversationDeletionSettings) MarshalJSON

func (s OptConversationDeletionSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptConversationDeletionSettings) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationDeletionSettings) Reset

Reset unsets value.

func (*OptConversationDeletionSettings) SetTo

SetTo sets value to v.

func (*OptConversationDeletionSettings) UnmarshalJSON

func (s *OptConversationDeletionSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationFeedbackType

type OptConversationFeedbackType struct {
	Value ConversationFeedbackType
	Set   bool
}

OptConversationFeedbackType is optional ConversationFeedbackType.

func NewOptConversationFeedbackType

func NewOptConversationFeedbackType(v ConversationFeedbackType) OptConversationFeedbackType

NewOptConversationFeedbackType returns new OptConversationFeedbackType with value set to v.

func (*OptConversationFeedbackType) Decode

Decode decodes ConversationFeedbackType from json.

func (OptConversationFeedbackType) Encode

func (o OptConversationFeedbackType) Encode(e *jx.Encoder)

Encode encodes ConversationFeedbackType as json.

func (OptConversationFeedbackType) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationFeedbackType) IsSet

IsSet returns true if OptConversationFeedbackType was set.

func (OptConversationFeedbackType) MarshalJSON

func (s OptConversationFeedbackType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptConversationFeedbackType) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationFeedbackType) Reset

func (o *OptConversationFeedbackType) Reset()

Reset unsets value.

func (*OptConversationFeedbackType) SetTo

SetTo sets value to v.

func (*OptConversationFeedbackType) UnmarshalJSON

func (s *OptConversationFeedbackType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryAnalysisCommonModel

type OptConversationHistoryAnalysisCommonModel struct {
	Value ConversationHistoryAnalysisCommonModel
	Set   bool
}

OptConversationHistoryAnalysisCommonModel is optional ConversationHistoryAnalysisCommonModel.

func NewOptConversationHistoryAnalysisCommonModel

func NewOptConversationHistoryAnalysisCommonModel(v ConversationHistoryAnalysisCommonModel) OptConversationHistoryAnalysisCommonModel

NewOptConversationHistoryAnalysisCommonModel returns new OptConversationHistoryAnalysisCommonModel with value set to v.

func (*OptConversationHistoryAnalysisCommonModel) Decode

Decode decodes ConversationHistoryAnalysisCommonModel from json.

func (OptConversationHistoryAnalysisCommonModel) Encode

Encode encodes ConversationHistoryAnalysisCommonModel as json.

func (OptConversationHistoryAnalysisCommonModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryAnalysisCommonModel) IsSet

IsSet returns true if OptConversationHistoryAnalysisCommonModel was set.

func (OptConversationHistoryAnalysisCommonModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryAnalysisCommonModel) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryAnalysisCommonModel) Reset

Reset unsets value.

func (*OptConversationHistoryAnalysisCommonModel) SetTo

SetTo sets value to v.

func (*OptConversationHistoryAnalysisCommonModel) UnmarshalJSON

func (s *OptConversationHistoryAnalysisCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryAnalysisCommonModelDataCollectionResults

type OptConversationHistoryAnalysisCommonModelDataCollectionResults struct {
	Value ConversationHistoryAnalysisCommonModelDataCollectionResults
	Set   bool
}

OptConversationHistoryAnalysisCommonModelDataCollectionResults is optional ConversationHistoryAnalysisCommonModelDataCollectionResults.

func NewOptConversationHistoryAnalysisCommonModelDataCollectionResults

NewOptConversationHistoryAnalysisCommonModelDataCollectionResults returns new OptConversationHistoryAnalysisCommonModelDataCollectionResults with value set to v.

func (*OptConversationHistoryAnalysisCommonModelDataCollectionResults) Decode

Decode decodes ConversationHistoryAnalysisCommonModelDataCollectionResults from json.

func (OptConversationHistoryAnalysisCommonModelDataCollectionResults) Encode

Encode encodes ConversationHistoryAnalysisCommonModelDataCollectionResults as json.

func (OptConversationHistoryAnalysisCommonModelDataCollectionResults) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryAnalysisCommonModelDataCollectionResults) IsSet

IsSet returns true if OptConversationHistoryAnalysisCommonModelDataCollectionResults was set.

func (OptConversationHistoryAnalysisCommonModelDataCollectionResults) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryAnalysisCommonModelDataCollectionResults) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryAnalysisCommonModelDataCollectionResults) Reset

Reset unsets value.

func (*OptConversationHistoryAnalysisCommonModelDataCollectionResults) SetTo

SetTo sets value to v.

func (*OptConversationHistoryAnalysisCommonModelDataCollectionResults) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults

type OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults struct {
	Value ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults
	Set   bool
}

OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults is optional ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults.

func NewOptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults

NewOptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults returns new OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults with value set to v.

func (*OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Decode

Decode decodes ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults from json.

func (OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Encode

Encode encodes ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults as json.

func (OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) IsSet

IsSet returns true if OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults was set.

func (OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Reset

Reset unsets value.

func (*OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) SetTo

SetTo sets value to v.

func (*OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryBatchCallModel

type OptConversationHistoryBatchCallModel struct {
	Value ConversationHistoryBatchCallModel
	Set   bool
}

OptConversationHistoryBatchCallModel is optional ConversationHistoryBatchCallModel.

func NewOptConversationHistoryBatchCallModel

func NewOptConversationHistoryBatchCallModel(v ConversationHistoryBatchCallModel) OptConversationHistoryBatchCallModel

NewOptConversationHistoryBatchCallModel returns new OptConversationHistoryBatchCallModel with value set to v.

func (*OptConversationHistoryBatchCallModel) Decode

Decode decodes ConversationHistoryBatchCallModel from json.

func (OptConversationHistoryBatchCallModel) Encode

Encode encodes ConversationHistoryBatchCallModel as json.

func (OptConversationHistoryBatchCallModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryBatchCallModel) IsSet

IsSet returns true if OptConversationHistoryBatchCallModel was set.

func (OptConversationHistoryBatchCallModel) MarshalJSON

func (s OptConversationHistoryBatchCallModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryBatchCallModel) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryBatchCallModel) Reset

Reset unsets value.

func (*OptConversationHistoryBatchCallModel) SetTo

SetTo sets value to v.

func (*OptConversationHistoryBatchCallModel) UnmarshalJSON

func (s *OptConversationHistoryBatchCallModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryElevenAssistantCommonModel

type OptConversationHistoryElevenAssistantCommonModel struct {
	Value ConversationHistoryElevenAssistantCommonModel
	Set   bool
}

OptConversationHistoryElevenAssistantCommonModel is optional ConversationHistoryElevenAssistantCommonModel.

func NewOptConversationHistoryElevenAssistantCommonModel

func NewOptConversationHistoryElevenAssistantCommonModel(v ConversationHistoryElevenAssistantCommonModel) OptConversationHistoryElevenAssistantCommonModel

NewOptConversationHistoryElevenAssistantCommonModel returns new OptConversationHistoryElevenAssistantCommonModel with value set to v.

func (*OptConversationHistoryElevenAssistantCommonModel) Decode

Decode decodes ConversationHistoryElevenAssistantCommonModel from json.

func (OptConversationHistoryElevenAssistantCommonModel) Encode

Encode encodes ConversationHistoryElevenAssistantCommonModel as json.

func (OptConversationHistoryElevenAssistantCommonModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryElevenAssistantCommonModel) IsSet

IsSet returns true if OptConversationHistoryElevenAssistantCommonModel was set.

func (OptConversationHistoryElevenAssistantCommonModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryElevenAssistantCommonModel) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryElevenAssistantCommonModel) Reset

Reset unsets value.

func (*OptConversationHistoryElevenAssistantCommonModel) SetTo

SetTo sets value to v.

func (*OptConversationHistoryElevenAssistantCommonModel) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryErrorCommonModel

type OptConversationHistoryErrorCommonModel struct {
	Value ConversationHistoryErrorCommonModel
	Set   bool
}

OptConversationHistoryErrorCommonModel is optional ConversationHistoryErrorCommonModel.

func NewOptConversationHistoryErrorCommonModel

func NewOptConversationHistoryErrorCommonModel(v ConversationHistoryErrorCommonModel) OptConversationHistoryErrorCommonModel

NewOptConversationHistoryErrorCommonModel returns new OptConversationHistoryErrorCommonModel with value set to v.

func (*OptConversationHistoryErrorCommonModel) Decode

Decode decodes ConversationHistoryErrorCommonModel from json.

func (OptConversationHistoryErrorCommonModel) Encode

Encode encodes ConversationHistoryErrorCommonModel as json.

func (OptConversationHistoryErrorCommonModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryErrorCommonModel) IsSet

IsSet returns true if OptConversationHistoryErrorCommonModel was set.

func (OptConversationHistoryErrorCommonModel) MarshalJSON

func (s OptConversationHistoryErrorCommonModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryErrorCommonModel) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryErrorCommonModel) Reset

Reset unsets value.

func (*OptConversationHistoryErrorCommonModel) SetTo

SetTo sets value to v.

func (*OptConversationHistoryErrorCommonModel) UnmarshalJSON

func (s *OptConversationHistoryErrorCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryFeedbackCommonModel

type OptConversationHistoryFeedbackCommonModel struct {
	Value ConversationHistoryFeedbackCommonModel
	Set   bool
}

OptConversationHistoryFeedbackCommonModel is optional ConversationHistoryFeedbackCommonModel.

func NewOptConversationHistoryFeedbackCommonModel

func NewOptConversationHistoryFeedbackCommonModel(v ConversationHistoryFeedbackCommonModel) OptConversationHistoryFeedbackCommonModel

NewOptConversationHistoryFeedbackCommonModel returns new OptConversationHistoryFeedbackCommonModel with value set to v.

func (*OptConversationHistoryFeedbackCommonModel) Decode

Decode decodes ConversationHistoryFeedbackCommonModel from json.

func (OptConversationHistoryFeedbackCommonModel) Encode

Encode encodes ConversationHistoryFeedbackCommonModel as json.

func (OptConversationHistoryFeedbackCommonModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryFeedbackCommonModel) IsSet

IsSet returns true if OptConversationHistoryFeedbackCommonModel was set.

func (OptConversationHistoryFeedbackCommonModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryFeedbackCommonModel) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryFeedbackCommonModel) Reset

Reset unsets value.

func (*OptConversationHistoryFeedbackCommonModel) SetTo

SetTo sets value to v.

func (*OptConversationHistoryFeedbackCommonModel) UnmarshalJSON

func (s *OptConversationHistoryFeedbackCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryMetadataCommonModelInitiationTrigger

type OptConversationHistoryMetadataCommonModelInitiationTrigger struct {
	Value ConversationHistoryMetadataCommonModelInitiationTrigger
	Set   bool
}

OptConversationHistoryMetadataCommonModelInitiationTrigger is optional ConversationHistoryMetadataCommonModelInitiationTrigger.

func NewOptConversationHistoryMetadataCommonModelInitiationTrigger

NewOptConversationHistoryMetadataCommonModelInitiationTrigger returns new OptConversationHistoryMetadataCommonModelInitiationTrigger with value set to v.

func (*OptConversationHistoryMetadataCommonModelInitiationTrigger) Decode

Decode decodes ConversationHistoryMetadataCommonModelInitiationTrigger from json.

func (OptConversationHistoryMetadataCommonModelInitiationTrigger) Encode

Encode encodes ConversationHistoryMetadataCommonModelInitiationTrigger as json.

func (OptConversationHistoryMetadataCommonModelInitiationTrigger) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryMetadataCommonModelInitiationTrigger) IsSet

IsSet returns true if OptConversationHistoryMetadataCommonModelInitiationTrigger was set.

func (OptConversationHistoryMetadataCommonModelInitiationTrigger) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryMetadataCommonModelInitiationTrigger) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryMetadataCommonModelInitiationTrigger) Reset

Reset unsets value.

func (*OptConversationHistoryMetadataCommonModelInitiationTrigger) SetTo

SetTo sets value to v.

func (*OptConversationHistoryMetadataCommonModelInitiationTrigger) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryMultivoiceMessageModel

type OptConversationHistoryMultivoiceMessageModel struct {
	Value ConversationHistoryMultivoiceMessageModel
	Set   bool
}

OptConversationHistoryMultivoiceMessageModel is optional ConversationHistoryMultivoiceMessageModel.

func NewOptConversationHistoryMultivoiceMessageModel

func NewOptConversationHistoryMultivoiceMessageModel(v ConversationHistoryMultivoiceMessageModel) OptConversationHistoryMultivoiceMessageModel

NewOptConversationHistoryMultivoiceMessageModel returns new OptConversationHistoryMultivoiceMessageModel with value set to v.

func (*OptConversationHistoryMultivoiceMessageModel) Decode

Decode decodes ConversationHistoryMultivoiceMessageModel from json.

func (OptConversationHistoryMultivoiceMessageModel) Encode

Encode encodes ConversationHistoryMultivoiceMessageModel as json.

func (OptConversationHistoryMultivoiceMessageModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryMultivoiceMessageModel) IsSet

IsSet returns true if OptConversationHistoryMultivoiceMessageModel was set.

func (OptConversationHistoryMultivoiceMessageModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryMultivoiceMessageModel) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryMultivoiceMessageModel) Reset

Reset unsets value.

func (*OptConversationHistoryMultivoiceMessageModel) SetTo

SetTo sets value to v.

func (*OptConversationHistoryMultivoiceMessageModel) UnmarshalJSON

func (s *OptConversationHistoryMultivoiceMessageModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryRagUsageCommonModel

type OptConversationHistoryRagUsageCommonModel struct {
	Value ConversationHistoryRagUsageCommonModel
	Set   bool
}

OptConversationHistoryRagUsageCommonModel is optional ConversationHistoryRagUsageCommonModel.

func NewOptConversationHistoryRagUsageCommonModel

func NewOptConversationHistoryRagUsageCommonModel(v ConversationHistoryRagUsageCommonModel) OptConversationHistoryRagUsageCommonModel

NewOptConversationHistoryRagUsageCommonModel returns new OptConversationHistoryRagUsageCommonModel with value set to v.

func (*OptConversationHistoryRagUsageCommonModel) Decode

Decode decodes ConversationHistoryRagUsageCommonModel from json.

func (OptConversationHistoryRagUsageCommonModel) Encode

Encode encodes ConversationHistoryRagUsageCommonModel as json.

func (OptConversationHistoryRagUsageCommonModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryRagUsageCommonModel) IsSet

IsSet returns true if OptConversationHistoryRagUsageCommonModel was set.

func (OptConversationHistoryRagUsageCommonModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryRagUsageCommonModel) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryRagUsageCommonModel) Reset

Reset unsets value.

func (*OptConversationHistoryRagUsageCommonModel) SetTo

SetTo sets value to v.

func (*OptConversationHistoryRagUsageCommonModel) UnmarshalJSON

func (s *OptConversationHistoryRagUsageCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType

type OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType struct {
	Value ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType
	Set   bool
}

OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType is optional ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType.

func NewOptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType

NewOptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType returns new OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType with value set to v.

func (*OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Decode

Decode decodes ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType from json.

func (OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Encode

Encode encodes ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType as json.

func (OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) IsSet

IsSet returns true if OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType was set.

func (OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Reset

Reset unsets value.

func (*OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) SetTo

SetTo sets value to v.

func (*OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryTranscriptToolCallClientDetailsType

type OptConversationHistoryTranscriptToolCallClientDetailsType struct {
	Value ConversationHistoryTranscriptToolCallClientDetailsType
	Set   bool
}

OptConversationHistoryTranscriptToolCallClientDetailsType is optional ConversationHistoryTranscriptToolCallClientDetailsType.

func NewOptConversationHistoryTranscriptToolCallClientDetailsType

NewOptConversationHistoryTranscriptToolCallClientDetailsType returns new OptConversationHistoryTranscriptToolCallClientDetailsType with value set to v.

func (*OptConversationHistoryTranscriptToolCallClientDetailsType) Decode

Decode decodes ConversationHistoryTranscriptToolCallClientDetailsType from json.

func (OptConversationHistoryTranscriptToolCallClientDetailsType) Encode

Encode encodes ConversationHistoryTranscriptToolCallClientDetailsType as json.

func (OptConversationHistoryTranscriptToolCallClientDetailsType) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryTranscriptToolCallClientDetailsType) IsSet

IsSet returns true if OptConversationHistoryTranscriptToolCallClientDetailsType was set.

func (OptConversationHistoryTranscriptToolCallClientDetailsType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryTranscriptToolCallClientDetailsType) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryTranscriptToolCallClientDetailsType) Reset

Reset unsets value.

func (*OptConversationHistoryTranscriptToolCallClientDetailsType) SetTo

SetTo sets value to v.

func (*OptConversationHistoryTranscriptToolCallClientDetailsType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryTranscriptToolCallMCPDetailsParameters

type OptConversationHistoryTranscriptToolCallMCPDetailsParameters struct {
	Value ConversationHistoryTranscriptToolCallMCPDetailsParameters
	Set   bool
}

OptConversationHistoryTranscriptToolCallMCPDetailsParameters is optional ConversationHistoryTranscriptToolCallMCPDetailsParameters.

func NewOptConversationHistoryTranscriptToolCallMCPDetailsParameters

NewOptConversationHistoryTranscriptToolCallMCPDetailsParameters returns new OptConversationHistoryTranscriptToolCallMCPDetailsParameters with value set to v.

func (*OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Decode

Decode decodes ConversationHistoryTranscriptToolCallMCPDetailsParameters from json.

func (OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Encode

Encode encodes ConversationHistoryTranscriptToolCallMCPDetailsParameters as json.

func (OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryTranscriptToolCallMCPDetailsParameters) IsSet

IsSet returns true if OptConversationHistoryTranscriptToolCallMCPDetailsParameters was set.

func (OptConversationHistoryTranscriptToolCallMCPDetailsParameters) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Reset

Reset unsets value.

func (*OptConversationHistoryTranscriptToolCallMCPDetailsParameters) SetTo

SetTo sets value to v.

func (*OptConversationHistoryTranscriptToolCallMCPDetailsParameters) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryTranscriptToolCallMCPDetailsType

type OptConversationHistoryTranscriptToolCallMCPDetailsType struct {
	Value ConversationHistoryTranscriptToolCallMCPDetailsType
	Set   bool
}

OptConversationHistoryTranscriptToolCallMCPDetailsType is optional ConversationHistoryTranscriptToolCallMCPDetailsType.

func NewOptConversationHistoryTranscriptToolCallMCPDetailsType

NewOptConversationHistoryTranscriptToolCallMCPDetailsType returns new OptConversationHistoryTranscriptToolCallMCPDetailsType with value set to v.

func (*OptConversationHistoryTranscriptToolCallMCPDetailsType) Decode

Decode decodes ConversationHistoryTranscriptToolCallMCPDetailsType from json.

func (OptConversationHistoryTranscriptToolCallMCPDetailsType) Encode

Encode encodes ConversationHistoryTranscriptToolCallMCPDetailsType as json.

func (OptConversationHistoryTranscriptToolCallMCPDetailsType) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryTranscriptToolCallMCPDetailsType) IsSet

IsSet returns true if OptConversationHistoryTranscriptToolCallMCPDetailsType was set.

func (OptConversationHistoryTranscriptToolCallMCPDetailsType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryTranscriptToolCallMCPDetailsType) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryTranscriptToolCallMCPDetailsType) Reset

Reset unsets value.

func (*OptConversationHistoryTranscriptToolCallMCPDetailsType) SetTo

SetTo sets value to v.

func (*OptConversationHistoryTranscriptToolCallMCPDetailsType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders

type OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders struct {
	Value ConversationHistoryTranscriptToolCallWebhookDetailsHeaders
	Set   bool
}

OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders is optional ConversationHistoryTranscriptToolCallWebhookDetailsHeaders.

func NewOptConversationHistoryTranscriptToolCallWebhookDetailsHeaders

NewOptConversationHistoryTranscriptToolCallWebhookDetailsHeaders returns new OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders with value set to v.

func (*OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Decode

Decode decodes ConversationHistoryTranscriptToolCallWebhookDetailsHeaders from json.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Encode

Encode encodes ConversationHistoryTranscriptToolCallWebhookDetailsHeaders as json.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) IsSet

IsSet returns true if OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders was set.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Reset

Reset unsets value.

func (*OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) SetTo

SetTo sets value to v.

func (*OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams

type OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams struct {
	Value ConversationHistoryTranscriptToolCallWebhookDetailsPathParams
	Set   bool
}

OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams is optional ConversationHistoryTranscriptToolCallWebhookDetailsPathParams.

func NewOptConversationHistoryTranscriptToolCallWebhookDetailsPathParams

NewOptConversationHistoryTranscriptToolCallWebhookDetailsPathParams returns new OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams with value set to v.

func (*OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Decode

Decode decodes ConversationHistoryTranscriptToolCallWebhookDetailsPathParams from json.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Encode

Encode encodes ConversationHistoryTranscriptToolCallWebhookDetailsPathParams as json.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) IsSet

IsSet returns true if OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams was set.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Reset

Reset unsets value.

func (*OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) SetTo

SetTo sets value to v.

func (*OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams

type OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams struct {
	Value ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams
	Set   bool
}

OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams is optional ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams.

func NewOptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams

NewOptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams returns new OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams with value set to v.

func (*OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Decode

Decode decodes ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams from json.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Encode

Encode encodes ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams as json.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) IsSet

IsSet returns true if OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams was set.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Reset

Reset unsets value.

func (*OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) SetTo

SetTo sets value to v.

func (*OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationHistoryTranscriptToolCallWebhookDetailsType

type OptConversationHistoryTranscriptToolCallWebhookDetailsType struct {
	Value ConversationHistoryTranscriptToolCallWebhookDetailsType
	Set   bool
}

OptConversationHistoryTranscriptToolCallWebhookDetailsType is optional ConversationHistoryTranscriptToolCallWebhookDetailsType.

func NewOptConversationHistoryTranscriptToolCallWebhookDetailsType

NewOptConversationHistoryTranscriptToolCallWebhookDetailsType returns new OptConversationHistoryTranscriptToolCallWebhookDetailsType with value set to v.

func (*OptConversationHistoryTranscriptToolCallWebhookDetailsType) Decode

Decode decodes ConversationHistoryTranscriptToolCallWebhookDetailsType from json.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsType) Encode

Encode encodes ConversationHistoryTranscriptToolCallWebhookDetailsType as json.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsType) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsType) IsSet

IsSet returns true if OptConversationHistoryTranscriptToolCallWebhookDetailsType was set.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationHistoryTranscriptToolCallWebhookDetailsType) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationHistoryTranscriptToolCallWebhookDetailsType) Reset

Reset unsets value.

func (*OptConversationHistoryTranscriptToolCallWebhookDetailsType) SetTo

SetTo sets value to v.

func (*OptConversationHistoryTranscriptToolCallWebhookDetailsType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationInitiationClientDataInternal

type OptConversationInitiationClientDataInternal struct {
	Value ConversationInitiationClientDataInternal
	Set   bool
}

OptConversationInitiationClientDataInternal is optional ConversationInitiationClientDataInternal.

func NewOptConversationInitiationClientDataInternal

func NewOptConversationInitiationClientDataInternal(v ConversationInitiationClientDataInternal) OptConversationInitiationClientDataInternal

NewOptConversationInitiationClientDataInternal returns new OptConversationInitiationClientDataInternal with value set to v.

func (*OptConversationInitiationClientDataInternal) Decode

Decode decodes ConversationInitiationClientDataInternal from json.

func (OptConversationInitiationClientDataInternal) Encode

Encode encodes ConversationInitiationClientDataInternal as json.

func (OptConversationInitiationClientDataInternal) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationInitiationClientDataInternal) IsSet

IsSet returns true if OptConversationInitiationClientDataInternal was set.

func (OptConversationInitiationClientDataInternal) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationInitiationClientDataInternal) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationInitiationClientDataInternal) Reset

Reset unsets value.

func (*OptConversationInitiationClientDataInternal) SetTo

SetTo sets value to v.

func (*OptConversationInitiationClientDataInternal) UnmarshalJSON

func (s *OptConversationInitiationClientDataInternal) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationInitiationClientDataInternalDynamicVariables

type OptConversationInitiationClientDataInternalDynamicVariables struct {
	Value ConversationInitiationClientDataInternalDynamicVariables
	Set   bool
}

OptConversationInitiationClientDataInternalDynamicVariables is optional ConversationInitiationClientDataInternalDynamicVariables.

func NewOptConversationInitiationClientDataInternalDynamicVariables

NewOptConversationInitiationClientDataInternalDynamicVariables returns new OptConversationInitiationClientDataInternalDynamicVariables with value set to v.

func (*OptConversationInitiationClientDataInternalDynamicVariables) Decode

Decode decodes ConversationInitiationClientDataInternalDynamicVariables from json.

func (OptConversationInitiationClientDataInternalDynamicVariables) Encode

Encode encodes ConversationInitiationClientDataInternalDynamicVariables as json.

func (OptConversationInitiationClientDataInternalDynamicVariables) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationInitiationClientDataInternalDynamicVariables) IsSet

IsSet returns true if OptConversationInitiationClientDataInternalDynamicVariables was set.

func (OptConversationInitiationClientDataInternalDynamicVariables) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationInitiationClientDataInternalDynamicVariables) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationInitiationClientDataInternalDynamicVariables) Reset

Reset unsets value.

func (*OptConversationInitiationClientDataInternalDynamicVariables) SetTo

SetTo sets value to v.

func (*OptConversationInitiationClientDataInternalDynamicVariables) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationInitiationClientDataRequestInput

type OptConversationInitiationClientDataRequestInput struct {
	Value ConversationInitiationClientDataRequestInput
	Set   bool
}

OptConversationInitiationClientDataRequestInput is optional ConversationInitiationClientDataRequestInput.

func NewOptConversationInitiationClientDataRequestInput

func NewOptConversationInitiationClientDataRequestInput(v ConversationInitiationClientDataRequestInput) OptConversationInitiationClientDataRequestInput

NewOptConversationInitiationClientDataRequestInput returns new OptConversationInitiationClientDataRequestInput with value set to v.

func (*OptConversationInitiationClientDataRequestInput) Decode

Decode decodes ConversationInitiationClientDataRequestInput from json.

func (OptConversationInitiationClientDataRequestInput) Encode

Encode encodes ConversationInitiationClientDataRequestInput as json.

func (OptConversationInitiationClientDataRequestInput) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationInitiationClientDataRequestInput) IsSet

IsSet returns true if OptConversationInitiationClientDataRequestInput was set.

func (OptConversationInitiationClientDataRequestInput) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationInitiationClientDataRequestInput) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationInitiationClientDataRequestInput) Reset

Reset unsets value.

func (*OptConversationInitiationClientDataRequestInput) SetTo

SetTo sets value to v.

func (*OptConversationInitiationClientDataRequestInput) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationInitiationClientDataRequestInputDynamicVariables

type OptConversationInitiationClientDataRequestInputDynamicVariables struct {
	Value ConversationInitiationClientDataRequestInputDynamicVariables
	Set   bool
}

OptConversationInitiationClientDataRequestInputDynamicVariables is optional ConversationInitiationClientDataRequestInputDynamicVariables.

func NewOptConversationInitiationClientDataRequestInputDynamicVariables

NewOptConversationInitiationClientDataRequestInputDynamicVariables returns new OptConversationInitiationClientDataRequestInputDynamicVariables with value set to v.

func (*OptConversationInitiationClientDataRequestInputDynamicVariables) Decode

Decode decodes ConversationInitiationClientDataRequestInputDynamicVariables from json.

func (OptConversationInitiationClientDataRequestInputDynamicVariables) Encode

Encode encodes ConversationInitiationClientDataRequestInputDynamicVariables as json.

func (OptConversationInitiationClientDataRequestInputDynamicVariables) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationInitiationClientDataRequestInputDynamicVariables) IsSet

IsSet returns true if OptConversationInitiationClientDataRequestInputDynamicVariables was set.

func (OptConversationInitiationClientDataRequestInputDynamicVariables) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationInitiationClientDataRequestInputDynamicVariables) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationInitiationClientDataRequestInputDynamicVariables) Reset

Reset unsets value.

func (*OptConversationInitiationClientDataRequestInputDynamicVariables) SetTo

SetTo sets value to v.

func (*OptConversationInitiationClientDataRequestInputDynamicVariables) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationInitiationClientDataRequestOutput

type OptConversationInitiationClientDataRequestOutput struct {
	Value ConversationInitiationClientDataRequestOutput
	Set   bool
}

OptConversationInitiationClientDataRequestOutput is optional ConversationInitiationClientDataRequestOutput.

func NewOptConversationInitiationClientDataRequestOutput

func NewOptConversationInitiationClientDataRequestOutput(v ConversationInitiationClientDataRequestOutput) OptConversationInitiationClientDataRequestOutput

NewOptConversationInitiationClientDataRequestOutput returns new OptConversationInitiationClientDataRequestOutput with value set to v.

func (*OptConversationInitiationClientDataRequestOutput) Decode

Decode decodes ConversationInitiationClientDataRequestOutput from json.

func (OptConversationInitiationClientDataRequestOutput) Encode

Encode encodes ConversationInitiationClientDataRequestOutput as json.

func (OptConversationInitiationClientDataRequestOutput) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationInitiationClientDataRequestOutput) IsSet

IsSet returns true if OptConversationInitiationClientDataRequestOutput was set.

func (OptConversationInitiationClientDataRequestOutput) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationInitiationClientDataRequestOutput) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationInitiationClientDataRequestOutput) Reset

Reset unsets value.

func (*OptConversationInitiationClientDataRequestOutput) SetTo

SetTo sets value to v.

func (*OptConversationInitiationClientDataRequestOutput) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationInitiationClientDataRequestOutputDynamicVariables

type OptConversationInitiationClientDataRequestOutputDynamicVariables struct {
	Value ConversationInitiationClientDataRequestOutputDynamicVariables
	Set   bool
}

OptConversationInitiationClientDataRequestOutputDynamicVariables is optional ConversationInitiationClientDataRequestOutputDynamicVariables.

func NewOptConversationInitiationClientDataRequestOutputDynamicVariables

NewOptConversationInitiationClientDataRequestOutputDynamicVariables returns new OptConversationInitiationClientDataRequestOutputDynamicVariables with value set to v.

func (*OptConversationInitiationClientDataRequestOutputDynamicVariables) Decode

Decode decodes ConversationInitiationClientDataRequestOutputDynamicVariables from json.

func (OptConversationInitiationClientDataRequestOutputDynamicVariables) Encode

Encode encodes ConversationInitiationClientDataRequestOutputDynamicVariables as json.

func (OptConversationInitiationClientDataRequestOutputDynamicVariables) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationInitiationClientDataRequestOutputDynamicVariables) IsSet

IsSet returns true if OptConversationInitiationClientDataRequestOutputDynamicVariables was set.

func (OptConversationInitiationClientDataRequestOutputDynamicVariables) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationInitiationClientDataRequestOutputDynamicVariables) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationInitiationClientDataRequestOutputDynamicVariables) Reset

Reset unsets value.

func (*OptConversationInitiationClientDataRequestOutputDynamicVariables) SetTo

SetTo sets value to v.

func (*OptConversationInitiationClientDataRequestOutputDynamicVariables) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationInitiationClientDataWebhook

type OptConversationInitiationClientDataWebhook struct {
	Value ConversationInitiationClientDataWebhook
	Set   bool
}

OptConversationInitiationClientDataWebhook is optional ConversationInitiationClientDataWebhook.

func NewOptConversationInitiationClientDataWebhook

func NewOptConversationInitiationClientDataWebhook(v ConversationInitiationClientDataWebhook) OptConversationInitiationClientDataWebhook

NewOptConversationInitiationClientDataWebhook returns new OptConversationInitiationClientDataWebhook with value set to v.

func (*OptConversationInitiationClientDataWebhook) Decode

Decode decodes ConversationInitiationClientDataWebhook from json.

func (OptConversationInitiationClientDataWebhook) Encode

Encode encodes ConversationInitiationClientDataWebhook as json.

func (OptConversationInitiationClientDataWebhook) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationInitiationClientDataWebhook) IsSet

IsSet returns true if OptConversationInitiationClientDataWebhook was set.

func (OptConversationInitiationClientDataWebhook) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptConversationInitiationClientDataWebhook) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationInitiationClientDataWebhook) Reset

Reset unsets value.

func (*OptConversationInitiationClientDataWebhook) SetTo

SetTo sets value to v.

func (*OptConversationInitiationClientDataWebhook) UnmarshalJSON

func (s *OptConversationInitiationClientDataWebhook) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationInitiationSource

type OptConversationInitiationSource struct {
	Value ConversationInitiationSource
	Set   bool
}

OptConversationInitiationSource is optional ConversationInitiationSource.

func NewOptConversationInitiationSource

func NewOptConversationInitiationSource(v ConversationInitiationSource) OptConversationInitiationSource

NewOptConversationInitiationSource returns new OptConversationInitiationSource with value set to v.

func (*OptConversationInitiationSource) Decode

Decode decodes ConversationInitiationSource from json.

func (OptConversationInitiationSource) Encode

Encode encodes ConversationInitiationSource as json.

func (OptConversationInitiationSource) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationInitiationSource) IsSet

IsSet returns true if OptConversationInitiationSource was set.

func (OptConversationInitiationSource) MarshalJSON

func (s OptConversationInitiationSource) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptConversationInitiationSource) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationInitiationSource) Reset

Reset unsets value.

func (*OptConversationInitiationSource) SetTo

SetTo sets value to v.

func (*OptConversationInitiationSource) UnmarshalJSON

func (s *OptConversationInitiationSource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationInitiationSourceInfo

type OptConversationInitiationSourceInfo struct {
	Value ConversationInitiationSourceInfo
	Set   bool
}

OptConversationInitiationSourceInfo is optional ConversationInitiationSourceInfo.

func NewOptConversationInitiationSourceInfo

func NewOptConversationInitiationSourceInfo(v ConversationInitiationSourceInfo) OptConversationInitiationSourceInfo

NewOptConversationInitiationSourceInfo returns new OptConversationInitiationSourceInfo with value set to v.

func (*OptConversationInitiationSourceInfo) Decode

Decode decodes ConversationInitiationSourceInfo from json.

func (OptConversationInitiationSourceInfo) Encode

Encode encodes ConversationInitiationSourceInfo as json.

func (OptConversationInitiationSourceInfo) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationInitiationSourceInfo) IsSet

IsSet returns true if OptConversationInitiationSourceInfo was set.

func (OptConversationInitiationSourceInfo) MarshalJSON

func (s OptConversationInitiationSourceInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptConversationInitiationSourceInfo) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationInitiationSourceInfo) Reset

Reset unsets value.

func (*OptConversationInitiationSourceInfo) SetTo

SetTo sets value to v.

func (*OptConversationInitiationSourceInfo) UnmarshalJSON

func (s *OptConversationInitiationSourceInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationTokenDBModel

type OptConversationTokenDBModel struct {
	Value ConversationTokenDBModel
	Set   bool
}

OptConversationTokenDBModel is optional ConversationTokenDBModel.

func NewOptConversationTokenDBModel

func NewOptConversationTokenDBModel(v ConversationTokenDBModel) OptConversationTokenDBModel

NewOptConversationTokenDBModel returns new OptConversationTokenDBModel with value set to v.

func (*OptConversationTokenDBModel) Decode

Decode decodes ConversationTokenDBModel from json.

func (OptConversationTokenDBModel) Encode

func (o OptConversationTokenDBModel) Encode(e *jx.Encoder)

Encode encodes ConversationTokenDBModel as json.

func (OptConversationTokenDBModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationTokenDBModel) IsSet

IsSet returns true if OptConversationTokenDBModel was set.

func (OptConversationTokenDBModel) MarshalJSON

func (s OptConversationTokenDBModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptConversationTokenDBModel) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationTokenDBModel) Reset

func (o *OptConversationTokenDBModel) Reset()

Reset unsets value.

func (*OptConversationTokenDBModel) SetTo

SetTo sets value to v.

func (*OptConversationTokenDBModel) UnmarshalJSON

func (s *OptConversationTokenDBModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationTokenPurpose

type OptConversationTokenPurpose struct {
	Value ConversationTokenPurpose
	Set   bool
}

OptConversationTokenPurpose is optional ConversationTokenPurpose.

func NewOptConversationTokenPurpose

func NewOptConversationTokenPurpose(v ConversationTokenPurpose) OptConversationTokenPurpose

NewOptConversationTokenPurpose returns new OptConversationTokenPurpose with value set to v.

func (*OptConversationTokenPurpose) Decode

Decode decodes ConversationTokenPurpose from json.

func (OptConversationTokenPurpose) Encode

func (o OptConversationTokenPurpose) Encode(e *jx.Encoder)

Encode encodes ConversationTokenPurpose as json.

func (OptConversationTokenPurpose) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationTokenPurpose) IsSet

IsSet returns true if OptConversationTokenPurpose was set.

func (OptConversationTokenPurpose) MarshalJSON

func (s OptConversationTokenPurpose) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptConversationTokenPurpose) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationTokenPurpose) Reset

func (o *OptConversationTokenPurpose) Reset()

Reset unsets value.

func (*OptConversationTokenPurpose) SetTo

SetTo sets value to v.

func (*OptConversationTokenPurpose) UnmarshalJSON

func (s *OptConversationTokenPurpose) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationTurnMetrics

type OptConversationTurnMetrics struct {
	Value ConversationTurnMetrics
	Set   bool
}

OptConversationTurnMetrics is optional ConversationTurnMetrics.

func NewOptConversationTurnMetrics

func NewOptConversationTurnMetrics(v ConversationTurnMetrics) OptConversationTurnMetrics

NewOptConversationTurnMetrics returns new OptConversationTurnMetrics with value set to v.

func (*OptConversationTurnMetrics) Decode

Decode decodes ConversationTurnMetrics from json.

func (OptConversationTurnMetrics) Encode

func (o OptConversationTurnMetrics) Encode(e *jx.Encoder)

Encode encodes ConversationTurnMetrics as json.

func (OptConversationTurnMetrics) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationTurnMetrics) IsSet

func (o OptConversationTurnMetrics) IsSet() bool

IsSet returns true if OptConversationTurnMetrics was set.

func (OptConversationTurnMetrics) MarshalJSON

func (s OptConversationTurnMetrics) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptConversationTurnMetrics) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationTurnMetrics) Reset

func (o *OptConversationTurnMetrics) Reset()

Reset unsets value.

func (*OptConversationTurnMetrics) SetTo

SetTo sets value to v.

func (*OptConversationTurnMetrics) UnmarshalJSON

func (s *OptConversationTurnMetrics) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptConversationTurnMetricsMetrics

type OptConversationTurnMetricsMetrics struct {
	Value ConversationTurnMetricsMetrics
	Set   bool
}

OptConversationTurnMetricsMetrics is optional ConversationTurnMetricsMetrics.

func NewOptConversationTurnMetricsMetrics

func NewOptConversationTurnMetricsMetrics(v ConversationTurnMetricsMetrics) OptConversationTurnMetricsMetrics

NewOptConversationTurnMetricsMetrics returns new OptConversationTurnMetricsMetrics with value set to v.

func (*OptConversationTurnMetricsMetrics) Decode

Decode decodes ConversationTurnMetricsMetrics from json.

func (OptConversationTurnMetricsMetrics) Encode

Encode encodes ConversationTurnMetricsMetrics as json.

func (OptConversationTurnMetricsMetrics) Get

Get returns value and boolean that denotes whether value was set.

func (OptConversationTurnMetricsMetrics) IsSet

IsSet returns true if OptConversationTurnMetricsMetrics was set.

func (OptConversationTurnMetricsMetrics) MarshalJSON

func (s OptConversationTurnMetricsMetrics) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptConversationTurnMetricsMetrics) Or

Or returns value if set, or given parameter if does not.

func (*OptConversationTurnMetricsMetrics) Reset

Reset unsets value.

func (*OptConversationTurnMetricsMetrics) SetTo

SetTo sets value to v.

func (*OptConversationTurnMetricsMetrics) UnmarshalJSON

func (s *OptConversationTurnMetricsMetrics) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateUnitTestRequestDynamicVariables

type OptCreateUnitTestRequestDynamicVariables struct {
	Value CreateUnitTestRequestDynamicVariables
	Set   bool
}

OptCreateUnitTestRequestDynamicVariables is optional CreateUnitTestRequestDynamicVariables.

func NewOptCreateUnitTestRequestDynamicVariables

func NewOptCreateUnitTestRequestDynamicVariables(v CreateUnitTestRequestDynamicVariables) OptCreateUnitTestRequestDynamicVariables

NewOptCreateUnitTestRequestDynamicVariables returns new OptCreateUnitTestRequestDynamicVariables with value set to v.

func (*OptCreateUnitTestRequestDynamicVariables) Decode

Decode decodes CreateUnitTestRequestDynamicVariables from json.

func (OptCreateUnitTestRequestDynamicVariables) Encode

Encode encodes CreateUnitTestRequestDynamicVariables as json.

func (OptCreateUnitTestRequestDynamicVariables) Get

Get returns value and boolean that denotes whether value was set.

func (OptCreateUnitTestRequestDynamicVariables) IsSet

IsSet returns true if OptCreateUnitTestRequestDynamicVariables was set.

func (OptCreateUnitTestRequestDynamicVariables) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptCreateUnitTestRequestDynamicVariables) Or

Or returns value if set, or given parameter if does not.

func (*OptCreateUnitTestRequestDynamicVariables) Reset

Reset unsets value.

func (*OptCreateUnitTestRequestDynamicVariables) SetTo

SetTo sets value to v.

func (*OptCreateUnitTestRequestDynamicVariables) UnmarshalJSON

func (s *OptCreateUnitTestRequestDynamicVariables) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDashboardCallSuccessChartModelType

type OptDashboardCallSuccessChartModelType struct {
	Value DashboardCallSuccessChartModelType
	Set   bool
}

OptDashboardCallSuccessChartModelType is optional DashboardCallSuccessChartModelType.

func NewOptDashboardCallSuccessChartModelType

func NewOptDashboardCallSuccessChartModelType(v DashboardCallSuccessChartModelType) OptDashboardCallSuccessChartModelType

NewOptDashboardCallSuccessChartModelType returns new OptDashboardCallSuccessChartModelType with value set to v.

func (*OptDashboardCallSuccessChartModelType) Decode

Decode decodes DashboardCallSuccessChartModelType from json.

func (OptDashboardCallSuccessChartModelType) Encode

Encode encodes DashboardCallSuccessChartModelType as json.

func (OptDashboardCallSuccessChartModelType) Get

Get returns value and boolean that denotes whether value was set.

func (OptDashboardCallSuccessChartModelType) IsSet

IsSet returns true if OptDashboardCallSuccessChartModelType was set.

func (OptDashboardCallSuccessChartModelType) MarshalJSON

func (s OptDashboardCallSuccessChartModelType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptDashboardCallSuccessChartModelType) Or

Or returns value if set, or given parameter if does not.

func (*OptDashboardCallSuccessChartModelType) Reset

Reset unsets value.

func (*OptDashboardCallSuccessChartModelType) SetTo

SetTo sets value to v.

func (*OptDashboardCallSuccessChartModelType) UnmarshalJSON

func (s *OptDashboardCallSuccessChartModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDashboardCriteriaChartModelType

type OptDashboardCriteriaChartModelType struct {
	Value DashboardCriteriaChartModelType
	Set   bool
}

OptDashboardCriteriaChartModelType is optional DashboardCriteriaChartModelType.

func NewOptDashboardCriteriaChartModelType

func NewOptDashboardCriteriaChartModelType(v DashboardCriteriaChartModelType) OptDashboardCriteriaChartModelType

NewOptDashboardCriteriaChartModelType returns new OptDashboardCriteriaChartModelType with value set to v.

func (*OptDashboardCriteriaChartModelType) Decode

Decode decodes DashboardCriteriaChartModelType from json.

func (OptDashboardCriteriaChartModelType) Encode

Encode encodes DashboardCriteriaChartModelType as json.

func (OptDashboardCriteriaChartModelType) Get

Get returns value and boolean that denotes whether value was set.

func (OptDashboardCriteriaChartModelType) IsSet

IsSet returns true if OptDashboardCriteriaChartModelType was set.

func (OptDashboardCriteriaChartModelType) MarshalJSON

func (s OptDashboardCriteriaChartModelType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptDashboardCriteriaChartModelType) Or

Or returns value if set, or given parameter if does not.

func (*OptDashboardCriteriaChartModelType) Reset

Reset unsets value.

func (*OptDashboardCriteriaChartModelType) SetTo

SetTo sets value to v.

func (*OptDashboardCriteriaChartModelType) UnmarshalJSON

func (s *OptDashboardCriteriaChartModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDashboardDataCollectionChartModelType

type OptDashboardDataCollectionChartModelType struct {
	Value DashboardDataCollectionChartModelType
	Set   bool
}

OptDashboardDataCollectionChartModelType is optional DashboardDataCollectionChartModelType.

func NewOptDashboardDataCollectionChartModelType

func NewOptDashboardDataCollectionChartModelType(v DashboardDataCollectionChartModelType) OptDashboardDataCollectionChartModelType

NewOptDashboardDataCollectionChartModelType returns new OptDashboardDataCollectionChartModelType with value set to v.

func (*OptDashboardDataCollectionChartModelType) Decode

Decode decodes DashboardDataCollectionChartModelType from json.

func (OptDashboardDataCollectionChartModelType) Encode

Encode encodes DashboardDataCollectionChartModelType as json.

func (OptDashboardDataCollectionChartModelType) Get

Get returns value and boolean that denotes whether value was set.

func (OptDashboardDataCollectionChartModelType) IsSet

IsSet returns true if OptDashboardDataCollectionChartModelType was set.

func (OptDashboardDataCollectionChartModelType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptDashboardDataCollectionChartModelType) Or

Or returns value if set, or given parameter if does not.

func (*OptDashboardDataCollectionChartModelType) Reset

Reset unsets value.

func (*OptDashboardDataCollectionChartModelType) SetTo

SetTo sets value to v.

func (*OptDashboardDataCollectionChartModelType) UnmarshalJSON

func (s *OptDashboardDataCollectionChartModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDefaultConversationInitiationTriggerTriggerType

type OptDefaultConversationInitiationTriggerTriggerType struct {
	Value DefaultConversationInitiationTriggerTriggerType
	Set   bool
}

OptDefaultConversationInitiationTriggerTriggerType is optional DefaultConversationInitiationTriggerTriggerType.

func NewOptDefaultConversationInitiationTriggerTriggerType

func NewOptDefaultConversationInitiationTriggerTriggerType(v DefaultConversationInitiationTriggerTriggerType) OptDefaultConversationInitiationTriggerTriggerType

NewOptDefaultConversationInitiationTriggerTriggerType returns new OptDefaultConversationInitiationTriggerTriggerType with value set to v.

func (*OptDefaultConversationInitiationTriggerTriggerType) Decode

Decode decodes DefaultConversationInitiationTriggerTriggerType from json.

func (OptDefaultConversationInitiationTriggerTriggerType) Encode

Encode encodes DefaultConversationInitiationTriggerTriggerType as json.

func (OptDefaultConversationInitiationTriggerTriggerType) Get

Get returns value and boolean that denotes whether value was set.

func (OptDefaultConversationInitiationTriggerTriggerType) IsSet

IsSet returns true if OptDefaultConversationInitiationTriggerTriggerType was set.

func (OptDefaultConversationInitiationTriggerTriggerType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptDefaultConversationInitiationTriggerTriggerType) Or

Or returns value if set, or given parameter if does not.

func (*OptDefaultConversationInitiationTriggerTriggerType) Reset

Reset unsets value.

func (*OptDefaultConversationInitiationTriggerTriggerType) SetTo

SetTo sets value to v.

func (*OptDefaultConversationInitiationTriggerTriggerType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDependentAvailableAgentIdentifierType

type OptDependentAvailableAgentIdentifierType struct {
	Value DependentAvailableAgentIdentifierType
	Set   bool
}

OptDependentAvailableAgentIdentifierType is optional DependentAvailableAgentIdentifierType.

func NewOptDependentAvailableAgentIdentifierType

func NewOptDependentAvailableAgentIdentifierType(v DependentAvailableAgentIdentifierType) OptDependentAvailableAgentIdentifierType

NewOptDependentAvailableAgentIdentifierType returns new OptDependentAvailableAgentIdentifierType with value set to v.

func (*OptDependentAvailableAgentIdentifierType) Decode

Decode decodes DependentAvailableAgentIdentifierType from json.

func (OptDependentAvailableAgentIdentifierType) Encode

Encode encodes DependentAvailableAgentIdentifierType as json.

func (OptDependentAvailableAgentIdentifierType) Get

Get returns value and boolean that denotes whether value was set.

func (OptDependentAvailableAgentIdentifierType) IsSet

IsSet returns true if OptDependentAvailableAgentIdentifierType was set.

func (OptDependentAvailableAgentIdentifierType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptDependentAvailableAgentIdentifierType) Or

Or returns value if set, or given parameter if does not.

func (*OptDependentAvailableAgentIdentifierType) Reset

Reset unsets value.

func (*OptDependentAvailableAgentIdentifierType) SetTo

SetTo sets value to v.

func (*OptDependentAvailableAgentIdentifierType) UnmarshalJSON

func (s *OptDependentAvailableAgentIdentifierType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDependentAvailableToolIdentifierType

type OptDependentAvailableToolIdentifierType struct {
	Value DependentAvailableToolIdentifierType
	Set   bool
}

OptDependentAvailableToolIdentifierType is optional DependentAvailableToolIdentifierType.

func NewOptDependentAvailableToolIdentifierType

func NewOptDependentAvailableToolIdentifierType(v DependentAvailableToolIdentifierType) OptDependentAvailableToolIdentifierType

NewOptDependentAvailableToolIdentifierType returns new OptDependentAvailableToolIdentifierType with value set to v.

func (*OptDependentAvailableToolIdentifierType) Decode

Decode decodes DependentAvailableToolIdentifierType from json.

func (OptDependentAvailableToolIdentifierType) Encode

Encode encodes DependentAvailableToolIdentifierType as json.

func (OptDependentAvailableToolIdentifierType) Get

Get returns value and boolean that denotes whether value was set.

func (OptDependentAvailableToolIdentifierType) IsSet

IsSet returns true if OptDependentAvailableToolIdentifierType was set.

func (OptDependentAvailableToolIdentifierType) MarshalJSON

func (s OptDependentAvailableToolIdentifierType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptDependentAvailableToolIdentifierType) Or

Or returns value if set, or given parameter if does not.

func (*OptDependentAvailableToolIdentifierType) Reset

Reset unsets value.

func (*OptDependentAvailableToolIdentifierType) SetTo

SetTo sets value to v.

func (*OptDependentAvailableToolIdentifierType) UnmarshalJSON

func (s *OptDependentAvailableToolIdentifierType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDependentUnknownAgentIdentifierType

type OptDependentUnknownAgentIdentifierType struct {
	Value DependentUnknownAgentIdentifierType
	Set   bool
}

OptDependentUnknownAgentIdentifierType is optional DependentUnknownAgentIdentifierType.

func NewOptDependentUnknownAgentIdentifierType

func NewOptDependentUnknownAgentIdentifierType(v DependentUnknownAgentIdentifierType) OptDependentUnknownAgentIdentifierType

NewOptDependentUnknownAgentIdentifierType returns new OptDependentUnknownAgentIdentifierType with value set to v.

func (*OptDependentUnknownAgentIdentifierType) Decode

Decode decodes DependentUnknownAgentIdentifierType from json.

func (OptDependentUnknownAgentIdentifierType) Encode

Encode encodes DependentUnknownAgentIdentifierType as json.

func (OptDependentUnknownAgentIdentifierType) Get

Get returns value and boolean that denotes whether value was set.

func (OptDependentUnknownAgentIdentifierType) IsSet

IsSet returns true if OptDependentUnknownAgentIdentifierType was set.

func (OptDependentUnknownAgentIdentifierType) MarshalJSON

func (s OptDependentUnknownAgentIdentifierType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptDependentUnknownAgentIdentifierType) Or

Or returns value if set, or given parameter if does not.

func (*OptDependentUnknownAgentIdentifierType) Reset

Reset unsets value.

func (*OptDependentUnknownAgentIdentifierType) SetTo

SetTo sets value to v.

func (*OptDependentUnknownAgentIdentifierType) UnmarshalJSON

func (s *OptDependentUnknownAgentIdentifierType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDependentUnknownToolIdentifierType

type OptDependentUnknownToolIdentifierType struct {
	Value DependentUnknownToolIdentifierType
	Set   bool
}

OptDependentUnknownToolIdentifierType is optional DependentUnknownToolIdentifierType.

func NewOptDependentUnknownToolIdentifierType

func NewOptDependentUnknownToolIdentifierType(v DependentUnknownToolIdentifierType) OptDependentUnknownToolIdentifierType

NewOptDependentUnknownToolIdentifierType returns new OptDependentUnknownToolIdentifierType with value set to v.

func (*OptDependentUnknownToolIdentifierType) Decode

Decode decodes DependentUnknownToolIdentifierType from json.

func (OptDependentUnknownToolIdentifierType) Encode

Encode encodes DependentUnknownToolIdentifierType as json.

func (OptDependentUnknownToolIdentifierType) Get

Get returns value and boolean that denotes whether value was set.

func (OptDependentUnknownToolIdentifierType) IsSet

IsSet returns true if OptDependentUnknownToolIdentifierType was set.

func (OptDependentUnknownToolIdentifierType) MarshalJSON

func (s OptDependentUnknownToolIdentifierType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptDependentUnknownToolIdentifierType) Or

Or returns value if set, or given parameter if does not.

func (*OptDependentUnknownToolIdentifierType) Reset

Reset unsets value.

func (*OptDependentUnknownToolIdentifierType) SetTo

SetTo sets value to v.

func (*OptDependentUnknownToolIdentifierType) UnmarshalJSON

func (s *OptDependentUnknownToolIdentifierType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDubbingMediaMetadata

type OptDubbingMediaMetadata struct {
	Value DubbingMediaMetadata
	Set   bool
}

OptDubbingMediaMetadata is optional DubbingMediaMetadata.

func NewOptDubbingMediaMetadata

func NewOptDubbingMediaMetadata(v DubbingMediaMetadata) OptDubbingMediaMetadata

NewOptDubbingMediaMetadata returns new OptDubbingMediaMetadata with value set to v.

func (*OptDubbingMediaMetadata) Decode

func (o *OptDubbingMediaMetadata) Decode(d *jx.Decoder) error

Decode decodes DubbingMediaMetadata from json.

func (OptDubbingMediaMetadata) Encode

func (o OptDubbingMediaMetadata) Encode(e *jx.Encoder)

Encode encodes DubbingMediaMetadata as json.

func (OptDubbingMediaMetadata) Get

Get returns value and boolean that denotes whether value was set.

func (OptDubbingMediaMetadata) IsSet

func (o OptDubbingMediaMetadata) IsSet() bool

IsSet returns true if OptDubbingMediaMetadata was set.

func (OptDubbingMediaMetadata) MarshalJSON

func (s OptDubbingMediaMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptDubbingMediaMetadata) Or

Or returns value if set, or given parameter if does not.

func (*OptDubbingMediaMetadata) Reset

func (o *OptDubbingMediaMetadata) Reset()

Reset unsets value.

func (*OptDubbingMediaMetadata) SetTo

SetTo sets value to v.

func (*OptDubbingMediaMetadata) UnmarshalJSON

func (s *OptDubbingMediaMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDynamicVariableAssignmentSource

type OptDynamicVariableAssignmentSource struct {
	Value DynamicVariableAssignmentSource
	Set   bool
}

OptDynamicVariableAssignmentSource is optional DynamicVariableAssignmentSource.

func NewOptDynamicVariableAssignmentSource

func NewOptDynamicVariableAssignmentSource(v DynamicVariableAssignmentSource) OptDynamicVariableAssignmentSource

NewOptDynamicVariableAssignmentSource returns new OptDynamicVariableAssignmentSource with value set to v.

func (*OptDynamicVariableAssignmentSource) Decode

Decode decodes DynamicVariableAssignmentSource from json.

func (OptDynamicVariableAssignmentSource) Encode

Encode encodes DynamicVariableAssignmentSource as json.

func (OptDynamicVariableAssignmentSource) Get

Get returns value and boolean that denotes whether value was set.

func (OptDynamicVariableAssignmentSource) IsSet

IsSet returns true if OptDynamicVariableAssignmentSource was set.

func (OptDynamicVariableAssignmentSource) MarshalJSON

func (s OptDynamicVariableAssignmentSource) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptDynamicVariableAssignmentSource) Or

Or returns value if set, or given parameter if does not.

func (*OptDynamicVariableAssignmentSource) Reset

Reset unsets value.

func (*OptDynamicVariableAssignmentSource) SetTo

SetTo sets value to v.

func (*OptDynamicVariableAssignmentSource) UnmarshalJSON

func (s *OptDynamicVariableAssignmentSource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptEndCallToolResultModelResultType

type OptEndCallToolResultModelResultType struct {
	Value EndCallToolResultModelResultType
	Set   bool
}

OptEndCallToolResultModelResultType is optional EndCallToolResultModelResultType.

func NewOptEndCallToolResultModelResultType

func NewOptEndCallToolResultModelResultType(v EndCallToolResultModelResultType) OptEndCallToolResultModelResultType

NewOptEndCallToolResultModelResultType returns new OptEndCallToolResultModelResultType with value set to v.

func (*OptEndCallToolResultModelResultType) Decode

Decode decodes EndCallToolResultModelResultType from json.

func (OptEndCallToolResultModelResultType) Encode

Encode encodes EndCallToolResultModelResultType as json.

func (OptEndCallToolResultModelResultType) Get

Get returns value and boolean that denotes whether value was set.

func (OptEndCallToolResultModelResultType) IsSet

IsSet returns true if OptEndCallToolResultModelResultType was set.

func (OptEndCallToolResultModelResultType) MarshalJSON

func (s OptEndCallToolResultModelResultType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptEndCallToolResultModelResultType) Or

Or returns value if set, or given parameter if does not.

func (*OptEndCallToolResultModelResultType) Reset

Reset unsets value.

func (*OptEndCallToolResultModelResultType) SetTo

SetTo sets value to v.

func (*OptEndCallToolResultModelResultType) UnmarshalJSON

func (s *OptEndCallToolResultModelResultType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptEndCallToolResultModelStatus

type OptEndCallToolResultModelStatus struct {
	Value EndCallToolResultModelStatus
	Set   bool
}

OptEndCallToolResultModelStatus is optional EndCallToolResultModelStatus.

func NewOptEndCallToolResultModelStatus

func NewOptEndCallToolResultModelStatus(v EndCallToolResultModelStatus) OptEndCallToolResultModelStatus

NewOptEndCallToolResultModelStatus returns new OptEndCallToolResultModelStatus with value set to v.

func (*OptEndCallToolResultModelStatus) Decode

Decode decodes EndCallToolResultModelStatus from json.

func (OptEndCallToolResultModelStatus) Encode

Encode encodes EndCallToolResultModelStatus as json.

func (OptEndCallToolResultModelStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptEndCallToolResultModelStatus) IsSet

IsSet returns true if OptEndCallToolResultModelStatus was set.

func (OptEndCallToolResultModelStatus) MarshalJSON

func (s OptEndCallToolResultModelStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptEndCallToolResultModelStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptEndCallToolResultModelStatus) Reset

Reset unsets value.

func (*OptEndCallToolResultModelStatus) SetTo

SetTo sets value to v.

func (*OptEndCallToolResultModelStatus) UnmarshalJSON

func (s *OptEndCallToolResultModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptEvaluationSuccessResult

type OptEvaluationSuccessResult struct {
	Value EvaluationSuccessResult
	Set   bool
}

OptEvaluationSuccessResult is optional EvaluationSuccessResult.

func NewOptEvaluationSuccessResult

func NewOptEvaluationSuccessResult(v EvaluationSuccessResult) OptEvaluationSuccessResult

NewOptEvaluationSuccessResult returns new OptEvaluationSuccessResult with value set to v.

func (OptEvaluationSuccessResult) Get

Get returns value and boolean that denotes whether value was set.

func (OptEvaluationSuccessResult) IsSet

func (o OptEvaluationSuccessResult) IsSet() bool

IsSet returns true if OptEvaluationSuccessResult was set.

func (OptEvaluationSuccessResult) Or

Or returns value if set, or given parameter if does not.

func (*OptEvaluationSuccessResult) Reset

func (o *OptEvaluationSuccessResult) Reset()

Reset unsets value.

func (*OptEvaluationSuccessResult) SetTo

SetTo sets value to v.

type OptFeatureStatusCommonModel

type OptFeatureStatusCommonModel struct {
	Value FeatureStatusCommonModel
	Set   bool
}

OptFeatureStatusCommonModel is optional FeatureStatusCommonModel.

func NewOptFeatureStatusCommonModel

func NewOptFeatureStatusCommonModel(v FeatureStatusCommonModel) OptFeatureStatusCommonModel

NewOptFeatureStatusCommonModel returns new OptFeatureStatusCommonModel with value set to v.

func (*OptFeatureStatusCommonModel) Decode

Decode decodes FeatureStatusCommonModel from json.

func (OptFeatureStatusCommonModel) Encode

func (o OptFeatureStatusCommonModel) Encode(e *jx.Encoder)

Encode encodes FeatureStatusCommonModel as json.

func (OptFeatureStatusCommonModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptFeatureStatusCommonModel) IsSet

IsSet returns true if OptFeatureStatusCommonModel was set.

func (OptFeatureStatusCommonModel) MarshalJSON

func (s OptFeatureStatusCommonModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFeatureStatusCommonModel) Or

Or returns value if set, or given parameter if does not.

func (*OptFeatureStatusCommonModel) Reset

func (o *OptFeatureStatusCommonModel) Reset()

Reset unsets value.

func (*OptFeatureStatusCommonModel) SetTo

SetTo sets value to v.

func (*OptFeatureStatusCommonModel) UnmarshalJSON

func (s *OptFeatureStatusCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFeaturesUsageCommonModel

type OptFeaturesUsageCommonModel struct {
	Value FeaturesUsageCommonModel
	Set   bool
}

OptFeaturesUsageCommonModel is optional FeaturesUsageCommonModel.

func NewOptFeaturesUsageCommonModel

func NewOptFeaturesUsageCommonModel(v FeaturesUsageCommonModel) OptFeaturesUsageCommonModel

NewOptFeaturesUsageCommonModel returns new OptFeaturesUsageCommonModel with value set to v.

func (*OptFeaturesUsageCommonModel) Decode

Decode decodes FeaturesUsageCommonModel from json.

func (OptFeaturesUsageCommonModel) Encode

func (o OptFeaturesUsageCommonModel) Encode(e *jx.Encoder)

Encode encodes FeaturesUsageCommonModel as json.

func (OptFeaturesUsageCommonModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptFeaturesUsageCommonModel) IsSet

IsSet returns true if OptFeaturesUsageCommonModel was set.

func (OptFeaturesUsageCommonModel) MarshalJSON

func (s OptFeaturesUsageCommonModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFeaturesUsageCommonModel) Or

Or returns value if set, or given parameter if does not.

func (*OptFeaturesUsageCommonModel) Reset

func (o *OptFeaturesUsageCommonModel) Reset()

Reset unsets value.

func (*OptFeaturesUsageCommonModel) SetTo

SetTo sets value to v.

func (*OptFeaturesUsageCommonModel) UnmarshalJSON

func (s *OptFeaturesUsageCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFeedbackResponseModel

type OptFeedbackResponseModel struct {
	Value FeedbackResponseModel
	Set   bool
}

OptFeedbackResponseModel is optional FeedbackResponseModel.

func NewOptFeedbackResponseModel

func NewOptFeedbackResponseModel(v FeedbackResponseModel) OptFeedbackResponseModel

NewOptFeedbackResponseModel returns new OptFeedbackResponseModel with value set to v.

func (*OptFeedbackResponseModel) Decode

func (o *OptFeedbackResponseModel) Decode(d *jx.Decoder) error

Decode decodes FeedbackResponseModel from json.

func (OptFeedbackResponseModel) Encode

func (o OptFeedbackResponseModel) Encode(e *jx.Encoder)

Encode encodes FeedbackResponseModel as json.

func (OptFeedbackResponseModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptFeedbackResponseModel) IsSet

func (o OptFeedbackResponseModel) IsSet() bool

IsSet returns true if OptFeedbackResponseModel was set.

func (OptFeedbackResponseModel) MarshalJSON

func (s OptFeedbackResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFeedbackResponseModel) Or

Or returns value if set, or given parameter if does not.

func (*OptFeedbackResponseModel) Reset

func (o *OptFeedbackResponseModel) Reset()

Reset unsets value.

func (*OptFeedbackResponseModel) SetTo

SetTo sets value to v.

func (*OptFeedbackResponseModel) UnmarshalJSON

func (s *OptFeedbackResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFineTuningResponseModel

type OptFineTuningResponseModel struct {
	Value FineTuningResponseModel
	Set   bool
}

OptFineTuningResponseModel is optional FineTuningResponseModel.

func NewOptFineTuningResponseModel

func NewOptFineTuningResponseModel(v FineTuningResponseModel) OptFineTuningResponseModel

NewOptFineTuningResponseModel returns new OptFineTuningResponseModel with value set to v.

func (*OptFineTuningResponseModel) Decode

Decode decodes FineTuningResponseModel from json.

func (OptFineTuningResponseModel) Encode

func (o OptFineTuningResponseModel) Encode(e *jx.Encoder)

Encode encodes FineTuningResponseModel as json.

func (OptFineTuningResponseModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptFineTuningResponseModel) IsSet

func (o OptFineTuningResponseModel) IsSet() bool

IsSet returns true if OptFineTuningResponseModel was set.

func (OptFineTuningResponseModel) MarshalJSON

func (s OptFineTuningResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFineTuningResponseModel) Or

Or returns value if set, or given parameter if does not.

func (*OptFineTuningResponseModel) Reset

func (o *OptFineTuningResponseModel) Reset()

Reset unsets value.

func (*OptFineTuningResponseModel) SetTo

SetTo sets value to v.

func (*OptFineTuningResponseModel) UnmarshalJSON

func (s *OptFineTuningResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFloat64

type OptFloat64 struct {
	Value float64
	Set   bool
}

OptFloat64 is optional float64.

func NewOptFloat64

func NewOptFloat64(v float64) OptFloat64

NewOptFloat64 returns new OptFloat64 with value set to v.

func (*OptFloat64) Decode

func (o *OptFloat64) Decode(d *jx.Decoder) error

Decode decodes float64 from json.

func (OptFloat64) Encode

func (o OptFloat64) Encode(e *jx.Encoder)

Encode encodes float64 as json.

func (OptFloat64) Get

func (o OptFloat64) Get() (v float64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFloat64) IsSet

func (o OptFloat64) IsSet() bool

IsSet returns true if OptFloat64 was set.

func (OptFloat64) MarshalJSON

func (s OptFloat64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFloat64) Or

func (o OptFloat64) Or(d float64) float64

Or returns value if set, or given parameter if does not.

func (*OptFloat64) Reset

func (o *OptFloat64) Reset()

Reset unsets value.

func (*OptFloat64) SetTo

func (o *OptFloat64) SetTo(v float64)

SetTo sets value to v.

func (*OptFloat64) UnmarshalJSON

func (s *OptFloat64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGenerateOutputFormat

type OptGenerateOutputFormat struct {
	Value GenerateOutputFormat
	Set   bool
}

OptGenerateOutputFormat is optional GenerateOutputFormat.

func NewOptGenerateOutputFormat

func NewOptGenerateOutputFormat(v GenerateOutputFormat) OptGenerateOutputFormat

NewOptGenerateOutputFormat returns new OptGenerateOutputFormat with value set to v.

func (OptGenerateOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptGenerateOutputFormat) IsSet

func (o OptGenerateOutputFormat) IsSet() bool

IsSet returns true if OptGenerateOutputFormat was set.

func (OptGenerateOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptGenerateOutputFormat) Reset

func (o *OptGenerateOutputFormat) Reset()

Reset unsets value.

func (*OptGenerateOutputFormat) SetTo

SetTo sets value to v.

type OptGetConversationHistoriesRouteSummaryMode

type OptGetConversationHistoriesRouteSummaryMode struct {
	Value GetConversationHistoriesRouteSummaryMode
	Set   bool
}

OptGetConversationHistoriesRouteSummaryMode is optional GetConversationHistoriesRouteSummaryMode.

func NewOptGetConversationHistoriesRouteSummaryMode

func NewOptGetConversationHistoriesRouteSummaryMode(v GetConversationHistoriesRouteSummaryMode) OptGetConversationHistoriesRouteSummaryMode

NewOptGetConversationHistoriesRouteSummaryMode returns new OptGetConversationHistoriesRouteSummaryMode with value set to v.

func (OptGetConversationHistoriesRouteSummaryMode) Get

Get returns value and boolean that denotes whether value was set.

func (OptGetConversationHistoriesRouteSummaryMode) IsSet

IsSet returns true if OptGetConversationHistoriesRouteSummaryMode was set.

func (OptGetConversationHistoriesRouteSummaryMode) Or

Or returns value if set, or given parameter if does not.

func (*OptGetConversationHistoriesRouteSummaryMode) Reset

Reset unsets value.

func (*OptGetConversationHistoriesRouteSummaryMode) SetTo

SetTo sets value to v.

type OptGetDubbedTranscriptFileFormatType

type OptGetDubbedTranscriptFileFormatType struct {
	Value GetDubbedTranscriptFileFormatType
	Set   bool
}

OptGetDubbedTranscriptFileFormatType is optional GetDubbedTranscriptFileFormatType.

func NewOptGetDubbedTranscriptFileFormatType

func NewOptGetDubbedTranscriptFileFormatType(v GetDubbedTranscriptFileFormatType) OptGetDubbedTranscriptFileFormatType

NewOptGetDubbedTranscriptFileFormatType returns new OptGetDubbedTranscriptFileFormatType with value set to v.

func (OptGetDubbedTranscriptFileFormatType) Get

Get returns value and boolean that denotes whether value was set.

func (OptGetDubbedTranscriptFileFormatType) IsSet

IsSet returns true if OptGetDubbedTranscriptFileFormatType was set.

func (OptGetDubbedTranscriptFileFormatType) Or

Or returns value if set, or given parameter if does not.

func (*OptGetDubbedTranscriptFileFormatType) Reset

Reset unsets value.

func (*OptGetDubbedTranscriptFileFormatType) SetTo

SetTo sets value to v.

type OptGetPhoneNumberInboundSIPTrunkConfigResponseModel

type OptGetPhoneNumberInboundSIPTrunkConfigResponseModel struct {
	Value GetPhoneNumberInboundSIPTrunkConfigResponseModel
	Set   bool
}

OptGetPhoneNumberInboundSIPTrunkConfigResponseModel is optional GetPhoneNumberInboundSIPTrunkConfigResponseModel.

func NewOptGetPhoneNumberInboundSIPTrunkConfigResponseModel

func NewOptGetPhoneNumberInboundSIPTrunkConfigResponseModel(v GetPhoneNumberInboundSIPTrunkConfigResponseModel) OptGetPhoneNumberInboundSIPTrunkConfigResponseModel

NewOptGetPhoneNumberInboundSIPTrunkConfigResponseModel returns new OptGetPhoneNumberInboundSIPTrunkConfigResponseModel with value set to v.

func (*OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Decode

Decode decodes GetPhoneNumberInboundSIPTrunkConfigResponseModel from json.

func (OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Encode

Encode encodes GetPhoneNumberInboundSIPTrunkConfigResponseModel as json.

func (OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) IsSet

IsSet returns true if OptGetPhoneNumberInboundSIPTrunkConfigResponseModel was set.

func (OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Or

Or returns value if set, or given parameter if does not.

func (*OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Reset

Reset unsets value.

func (*OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) SetTo

SetTo sets value to v.

func (*OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel

type OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel struct {
	Value GetPhoneNumberOutboundSIPTrunkConfigResponseModel
	Set   bool
}

OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel is optional GetPhoneNumberOutboundSIPTrunkConfigResponseModel.

func NewOptGetPhoneNumberOutboundSIPTrunkConfigResponseModel

NewOptGetPhoneNumberOutboundSIPTrunkConfigResponseModel returns new OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel with value set to v.

func (*OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Decode

Decode decodes GetPhoneNumberOutboundSIPTrunkConfigResponseModel from json.

func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Encode

Encode encodes GetPhoneNumberOutboundSIPTrunkConfigResponseModel as json.

func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) IsSet

IsSet returns true if OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel was set.

func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Or

Or returns value if set, or given parameter if does not.

func (*OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Reset

Reset unsets value.

func (*OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetTo

SetTo sets value to v.

func (*OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders

type OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders struct {
	Value GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders
	Set   bool
}

OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders is optional GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders.

func NewOptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders

NewOptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders returns new OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders with value set to v.

func (*OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Decode

Decode decodes GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders from json.

func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Encode

Encode encodes GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders as json.

func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Get

Get returns value and boolean that denotes whether value was set.

func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) IsSet

IsSet returns true if OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders was set.

func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Or

Or returns value if set, or given parameter if does not.

func (*OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Reset

Reset unsets value.

func (*OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) SetTo

SetTo sets value to v.

func (*OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGetPhoneNumberSIPTrunkResponseModelProvider

type OptGetPhoneNumberSIPTrunkResponseModelProvider struct {
	Value GetPhoneNumberSIPTrunkResponseModelProvider
	Set   bool
}

OptGetPhoneNumberSIPTrunkResponseModelProvider is optional GetPhoneNumberSIPTrunkResponseModelProvider.

func NewOptGetPhoneNumberSIPTrunkResponseModelProvider

func NewOptGetPhoneNumberSIPTrunkResponseModelProvider(v GetPhoneNumberSIPTrunkResponseModelProvider) OptGetPhoneNumberSIPTrunkResponseModelProvider

NewOptGetPhoneNumberSIPTrunkResponseModelProvider returns new OptGetPhoneNumberSIPTrunkResponseModelProvider with value set to v.

func (*OptGetPhoneNumberSIPTrunkResponseModelProvider) Decode

Decode decodes GetPhoneNumberSIPTrunkResponseModelProvider from json.

func (OptGetPhoneNumberSIPTrunkResponseModelProvider) Encode

Encode encodes GetPhoneNumberSIPTrunkResponseModelProvider as json.

func (OptGetPhoneNumberSIPTrunkResponseModelProvider) Get

Get returns value and boolean that denotes whether value was set.

func (OptGetPhoneNumberSIPTrunkResponseModelProvider) IsSet

IsSet returns true if OptGetPhoneNumberSIPTrunkResponseModelProvider was set.

func (OptGetPhoneNumberSIPTrunkResponseModelProvider) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptGetPhoneNumberSIPTrunkResponseModelProvider) Or

Or returns value if set, or given parameter if does not.

func (*OptGetPhoneNumberSIPTrunkResponseModelProvider) Reset

Reset unsets value.

func (*OptGetPhoneNumberSIPTrunkResponseModelProvider) SetTo

SetTo sets value to v.

func (*OptGetPhoneNumberSIPTrunkResponseModelProvider) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGetPhoneNumberTwilioResponseModelProvider

type OptGetPhoneNumberTwilioResponseModelProvider struct {
	Value GetPhoneNumberTwilioResponseModelProvider
	Set   bool
}

OptGetPhoneNumberTwilioResponseModelProvider is optional GetPhoneNumberTwilioResponseModelProvider.

func NewOptGetPhoneNumberTwilioResponseModelProvider

func NewOptGetPhoneNumberTwilioResponseModelProvider(v GetPhoneNumberTwilioResponseModelProvider) OptGetPhoneNumberTwilioResponseModelProvider

NewOptGetPhoneNumberTwilioResponseModelProvider returns new OptGetPhoneNumberTwilioResponseModelProvider with value set to v.

func (*OptGetPhoneNumberTwilioResponseModelProvider) Decode

Decode decodes GetPhoneNumberTwilioResponseModelProvider from json.

func (OptGetPhoneNumberTwilioResponseModelProvider) Encode

Encode encodes GetPhoneNumberTwilioResponseModelProvider as json.

func (OptGetPhoneNumberTwilioResponseModelProvider) Get

Get returns value and boolean that denotes whether value was set.

func (OptGetPhoneNumberTwilioResponseModelProvider) IsSet

IsSet returns true if OptGetPhoneNumberTwilioResponseModelProvider was set.

func (OptGetPhoneNumberTwilioResponseModelProvider) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptGetPhoneNumberTwilioResponseModelProvider) Or

Or returns value if set, or given parameter if does not.

func (*OptGetPhoneNumberTwilioResponseModelProvider) Reset

Reset unsets value.

func (*OptGetPhoneNumberTwilioResponseModelProvider) SetTo

SetTo sets value to v.

func (*OptGetPhoneNumberTwilioResponseModelProvider) UnmarshalJSON

func (s *OptGetPhoneNumberTwilioResponseModelProvider) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGetUnitTestResponseModelDynamicVariables

type OptGetUnitTestResponseModelDynamicVariables struct {
	Value GetUnitTestResponseModelDynamicVariables
	Set   bool
}

OptGetUnitTestResponseModelDynamicVariables is optional GetUnitTestResponseModelDynamicVariables.

func NewOptGetUnitTestResponseModelDynamicVariables

func NewOptGetUnitTestResponseModelDynamicVariables(v GetUnitTestResponseModelDynamicVariables) OptGetUnitTestResponseModelDynamicVariables

NewOptGetUnitTestResponseModelDynamicVariables returns new OptGetUnitTestResponseModelDynamicVariables with value set to v.

func (*OptGetUnitTestResponseModelDynamicVariables) Decode

Decode decodes GetUnitTestResponseModelDynamicVariables from json.

func (OptGetUnitTestResponseModelDynamicVariables) Encode

Encode encodes GetUnitTestResponseModelDynamicVariables as json.

func (OptGetUnitTestResponseModelDynamicVariables) Get

Get returns value and boolean that denotes whether value was set.

func (OptGetUnitTestResponseModelDynamicVariables) IsSet

IsSet returns true if OptGetUnitTestResponseModelDynamicVariables was set.

func (OptGetUnitTestResponseModelDynamicVariables) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptGetUnitTestResponseModelDynamicVariables) Or

Or returns value if set, or given parameter if does not.

func (*OptGetUnitTestResponseModelDynamicVariables) Reset

Reset unsets value.

func (*OptGetUnitTestResponseModelDynamicVariables) SetTo

SetTo sets value to v.

func (*OptGetUnitTestResponseModelDynamicVariables) UnmarshalJSON

func (s *OptGetUnitTestResponseModelDynamicVariables) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptHistoryAlignmentsResponseModel

type OptHistoryAlignmentsResponseModel struct {
	Value HistoryAlignmentsResponseModel
	Set   bool
}

OptHistoryAlignmentsResponseModel is optional HistoryAlignmentsResponseModel.

func NewOptHistoryAlignmentsResponseModel

func NewOptHistoryAlignmentsResponseModel(v HistoryAlignmentsResponseModel) OptHistoryAlignmentsResponseModel

NewOptHistoryAlignmentsResponseModel returns new OptHistoryAlignmentsResponseModel with value set to v.

func (*OptHistoryAlignmentsResponseModel) Decode

Decode decodes HistoryAlignmentsResponseModel from json.

func (OptHistoryAlignmentsResponseModel) Encode

Encode encodes HistoryAlignmentsResponseModel as json.

func (OptHistoryAlignmentsResponseModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptHistoryAlignmentsResponseModel) IsSet

IsSet returns true if OptHistoryAlignmentsResponseModel was set.

func (OptHistoryAlignmentsResponseModel) MarshalJSON

func (s OptHistoryAlignmentsResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptHistoryAlignmentsResponseModel) Or

Or returns value if set, or given parameter if does not.

func (*OptHistoryAlignmentsResponseModel) Reset

Reset unsets value.

func (*OptHistoryAlignmentsResponseModel) SetTo

SetTo sets value to v.

func (*OptHistoryAlignmentsResponseModel) UnmarshalJSON

func (s *OptHistoryAlignmentsResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInboundSIPTrunkConfigRequestModel

type OptInboundSIPTrunkConfigRequestModel struct {
	Value InboundSIPTrunkConfigRequestModel
	Set   bool
}

OptInboundSIPTrunkConfigRequestModel is optional InboundSIPTrunkConfigRequestModel.

func NewOptInboundSIPTrunkConfigRequestModel

func NewOptInboundSIPTrunkConfigRequestModel(v InboundSIPTrunkConfigRequestModel) OptInboundSIPTrunkConfigRequestModel

NewOptInboundSIPTrunkConfigRequestModel returns new OptInboundSIPTrunkConfigRequestModel with value set to v.

func (*OptInboundSIPTrunkConfigRequestModel) Decode

Decode decodes InboundSIPTrunkConfigRequestModel from json.

func (OptInboundSIPTrunkConfigRequestModel) Encode

Encode encodes InboundSIPTrunkConfigRequestModel as json.

func (OptInboundSIPTrunkConfigRequestModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptInboundSIPTrunkConfigRequestModel) IsSet

IsSet returns true if OptInboundSIPTrunkConfigRequestModel was set.

func (OptInboundSIPTrunkConfigRequestModel) MarshalJSON

func (s OptInboundSIPTrunkConfigRequestModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInboundSIPTrunkConfigRequestModel) Or

Or returns value if set, or given parameter if does not.

func (*OptInboundSIPTrunkConfigRequestModel) Reset

Reset unsets value.

func (*OptInboundSIPTrunkConfigRequestModel) SetTo

SetTo sets value to v.

func (*OptInboundSIPTrunkConfigRequestModel) UnmarshalJSON

func (s *OptInboundSIPTrunkConfigRequestModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInt

type OptInt struct {
	Value int
	Set   bool
}

OptInt is optional int.

func NewOptInt

func NewOptInt(v int) OptInt

NewOptInt returns new OptInt with value set to v.

func (*OptInt) Decode

func (o *OptInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (OptInt) Encode

func (o OptInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (OptInt) Get

func (o OptInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt) IsSet

func (o OptInt) IsSet() bool

IsSet returns true if OptInt was set.

func (OptInt) MarshalJSON

func (s OptInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInt) Or

func (o OptInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*OptInt) Reset

func (o *OptInt) Reset()

Reset unsets value.

func (*OptInt) SetTo

func (o *OptInt) SetTo(v int)

SetTo sets value to v.

func (*OptInt) UnmarshalJSON

func (s *OptInt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptKnowledgeBaseDependentType

type OptKnowledgeBaseDependentType struct {
	Value KnowledgeBaseDependentType
	Set   bool
}

OptKnowledgeBaseDependentType is optional KnowledgeBaseDependentType.

func NewOptKnowledgeBaseDependentType

func NewOptKnowledgeBaseDependentType(v KnowledgeBaseDependentType) OptKnowledgeBaseDependentType

NewOptKnowledgeBaseDependentType returns new OptKnowledgeBaseDependentType with value set to v.

func (OptKnowledgeBaseDependentType) Get

Get returns value and boolean that denotes whether value was set.

func (OptKnowledgeBaseDependentType) IsSet

IsSet returns true if OptKnowledgeBaseDependentType was set.

func (OptKnowledgeBaseDependentType) Or

Or returns value if set, or given parameter if does not.

func (*OptKnowledgeBaseDependentType) Reset

func (o *OptKnowledgeBaseDependentType) Reset()

Reset unsets value.

func (*OptKnowledgeBaseDependentType) SetTo

SetTo sets value to v.

type OptKnowledgeBaseSortBy

type OptKnowledgeBaseSortBy struct {
	Value KnowledgeBaseSortBy
	Set   bool
}

OptKnowledgeBaseSortBy is optional KnowledgeBaseSortBy.

func NewOptKnowledgeBaseSortBy

func NewOptKnowledgeBaseSortBy(v KnowledgeBaseSortBy) OptKnowledgeBaseSortBy

NewOptKnowledgeBaseSortBy returns new OptKnowledgeBaseSortBy with value set to v.

func (OptKnowledgeBaseSortBy) Get

Get returns value and boolean that denotes whether value was set.

func (OptKnowledgeBaseSortBy) IsSet

func (o OptKnowledgeBaseSortBy) IsSet() bool

IsSet returns true if OptKnowledgeBaseSortBy was set.

func (OptKnowledgeBaseSortBy) Or

Or returns value if set, or given parameter if does not.

func (*OptKnowledgeBaseSortBy) Reset

func (o *OptKnowledgeBaseSortBy) Reset()

Reset unsets value.

func (*OptKnowledgeBaseSortBy) SetTo

SetTo sets value to v.

type OptLLM

type OptLLM struct {
	Value LLM
	Set   bool
}

OptLLM is optional LLM.

func NewOptLLM

func NewOptLLM(v LLM) OptLLM

NewOptLLM returns new OptLLM with value set to v.

func (*OptLLM) Decode

func (o *OptLLM) Decode(d *jx.Decoder) error

Decode decodes LLM from json.

func (OptLLM) Encode

func (o OptLLM) Encode(e *jx.Encoder)

Encode encodes LLM as json.

func (OptLLM) Get

func (o OptLLM) Get() (v LLM, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptLLM) IsSet

func (o OptLLM) IsSet() bool

IsSet returns true if OptLLM was set.

func (OptLLM) MarshalJSON

func (s OptLLM) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptLLM) Or

func (o OptLLM) Or(d LLM) LLM

Or returns value if set, or given parameter if does not.

func (*OptLLM) Reset

func (o *OptLLM) Reset()

Reset unsets value.

func (*OptLLM) SetTo

func (o *OptLLM) SetTo(v LLM)

SetTo sets value to v.

func (*OptLLM) UnmarshalJSON

func (s *OptLLM) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptLLMCategoryUsage

type OptLLMCategoryUsage struct {
	Value LLMCategoryUsage
	Set   bool
}

OptLLMCategoryUsage is optional LLMCategoryUsage.

func NewOptLLMCategoryUsage

func NewOptLLMCategoryUsage(v LLMCategoryUsage) OptLLMCategoryUsage

NewOptLLMCategoryUsage returns new OptLLMCategoryUsage with value set to v.

func (*OptLLMCategoryUsage) Decode

func (o *OptLLMCategoryUsage) Decode(d *jx.Decoder) error

Decode decodes LLMCategoryUsage from json.

func (OptLLMCategoryUsage) Encode

func (o OptLLMCategoryUsage) Encode(e *jx.Encoder)

Encode encodes LLMCategoryUsage as json.

func (OptLLMCategoryUsage) Get

func (o OptLLMCategoryUsage) Get() (v LLMCategoryUsage, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptLLMCategoryUsage) IsSet

func (o OptLLMCategoryUsage) IsSet() bool

IsSet returns true if OptLLMCategoryUsage was set.

func (OptLLMCategoryUsage) MarshalJSON

func (s OptLLMCategoryUsage) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptLLMCategoryUsage) Or

Or returns value if set, or given parameter if does not.

func (*OptLLMCategoryUsage) Reset

func (o *OptLLMCategoryUsage) Reset()

Reset unsets value.

func (*OptLLMCategoryUsage) SetTo

SetTo sets value to v.

func (*OptLLMCategoryUsage) UnmarshalJSON

func (s *OptLLMCategoryUsage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptLLMTokensCategoryUsage

type OptLLMTokensCategoryUsage struct {
	Value LLMTokensCategoryUsage
	Set   bool
}

OptLLMTokensCategoryUsage is optional LLMTokensCategoryUsage.

func NewOptLLMTokensCategoryUsage

func NewOptLLMTokensCategoryUsage(v LLMTokensCategoryUsage) OptLLMTokensCategoryUsage

NewOptLLMTokensCategoryUsage returns new OptLLMTokensCategoryUsage with value set to v.

func (*OptLLMTokensCategoryUsage) Decode

func (o *OptLLMTokensCategoryUsage) Decode(d *jx.Decoder) error

Decode decodes LLMTokensCategoryUsage from json.

func (OptLLMTokensCategoryUsage) Encode

func (o OptLLMTokensCategoryUsage) Encode(e *jx.Encoder)

Encode encodes LLMTokensCategoryUsage as json.

func (OptLLMTokensCategoryUsage) Get

Get returns value and boolean that denotes whether value was set.

func (OptLLMTokensCategoryUsage) IsSet

func (o OptLLMTokensCategoryUsage) IsSet() bool

IsSet returns true if OptLLMTokensCategoryUsage was set.

func (OptLLMTokensCategoryUsage) MarshalJSON

func (s OptLLMTokensCategoryUsage) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptLLMTokensCategoryUsage) Or

Or returns value if set, or given parameter if does not.

func (*OptLLMTokensCategoryUsage) Reset

func (o *OptLLMTokensCategoryUsage) Reset()

Reset unsets value.

func (*OptLLMTokensCategoryUsage) SetTo

SetTo sets value to v.

func (*OptLLMTokensCategoryUsage) UnmarshalJSON

func (s *OptLLMTokensCategoryUsage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptLLMUsageInput

type OptLLMUsageInput struct {
	Value LLMUsageInput
	Set   bool
}

OptLLMUsageInput is optional LLMUsageInput.

func NewOptLLMUsageInput

func NewOptLLMUsageInput(v LLMUsageInput) OptLLMUsageInput

NewOptLLMUsageInput returns new OptLLMUsageInput with value set to v.

func (*OptLLMUsageInput) Decode

func (o *OptLLMUsageInput) Decode(d *jx.Decoder) error

Decode decodes LLMUsageInput from json.

func (OptLLMUsageInput) Encode

func (o OptLLMUsageInput) Encode(e *jx.Encoder)

Encode encodes LLMUsageInput as json.

func (OptLLMUsageInput) Get

func (o OptLLMUsageInput) Get() (v LLMUsageInput, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptLLMUsageInput) IsSet

func (o OptLLMUsageInput) IsSet() bool

IsSet returns true if OptLLMUsageInput was set.

func (OptLLMUsageInput) MarshalJSON

func (s OptLLMUsageInput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptLLMUsageInput) Or

Or returns value if set, or given parameter if does not.

func (*OptLLMUsageInput) Reset

func (o *OptLLMUsageInput) Reset()

Reset unsets value.

func (*OptLLMUsageInput) SetTo

func (o *OptLLMUsageInput) SetTo(v LLMUsageInput)

SetTo sets value to v.

func (*OptLLMUsageInput) UnmarshalJSON

func (s *OptLLMUsageInput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptLLMUsageInputModelUsage

type OptLLMUsageInputModelUsage struct {
	Value LLMUsageInputModelUsage
	Set   bool
}

OptLLMUsageInputModelUsage is optional LLMUsageInputModelUsage.

func NewOptLLMUsageInputModelUsage

func NewOptLLMUsageInputModelUsage(v LLMUsageInputModelUsage) OptLLMUsageInputModelUsage

NewOptLLMUsageInputModelUsage returns new OptLLMUsageInputModelUsage with value set to v.

func (*OptLLMUsageInputModelUsage) Decode

Decode decodes LLMUsageInputModelUsage from json.

func (OptLLMUsageInputModelUsage) Encode

func (o OptLLMUsageInputModelUsage) Encode(e *jx.Encoder)

Encode encodes LLMUsageInputModelUsage as json.

func (OptLLMUsageInputModelUsage) Get

Get returns value and boolean that denotes whether value was set.

func (OptLLMUsageInputModelUsage) IsSet

func (o OptLLMUsageInputModelUsage) IsSet() bool

IsSet returns true if OptLLMUsageInputModelUsage was set.

func (OptLLMUsageInputModelUsage) MarshalJSON

func (s OptLLMUsageInputModelUsage) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptLLMUsageInputModelUsage) Or

Or returns value if set, or given parameter if does not.

func (*OptLLMUsageInputModelUsage) Reset

func (o *OptLLMUsageInputModelUsage) Reset()

Reset unsets value.

func (*OptLLMUsageInputModelUsage) SetTo

SetTo sets value to v.

func (*OptLLMUsageInputModelUsage) UnmarshalJSON

func (s *OptLLMUsageInputModelUsage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptLLMUsageOutput

type OptLLMUsageOutput struct {
	Value LLMUsageOutput
	Set   bool
}

OptLLMUsageOutput is optional LLMUsageOutput.

func NewOptLLMUsageOutput

func NewOptLLMUsageOutput(v LLMUsageOutput) OptLLMUsageOutput

NewOptLLMUsageOutput returns new OptLLMUsageOutput with value set to v.

func (*OptLLMUsageOutput) Decode

func (o *OptLLMUsageOutput) Decode(d *jx.Decoder) error

Decode decodes LLMUsageOutput from json.

func (OptLLMUsageOutput) Encode

func (o OptLLMUsageOutput) Encode(e *jx.Encoder)

Encode encodes LLMUsageOutput as json.

func (OptLLMUsageOutput) Get

func (o OptLLMUsageOutput) Get() (v LLMUsageOutput, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptLLMUsageOutput) IsSet

func (o OptLLMUsageOutput) IsSet() bool

IsSet returns true if OptLLMUsageOutput was set.

func (OptLLMUsageOutput) MarshalJSON

func (s OptLLMUsageOutput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptLLMUsageOutput) Or

Or returns value if set, or given parameter if does not.

func (*OptLLMUsageOutput) Reset

func (o *OptLLMUsageOutput) Reset()

Reset unsets value.

func (*OptLLMUsageOutput) SetTo

func (o *OptLLMUsageOutput) SetTo(v LLMUsageOutput)

SetTo sets value to v.

func (*OptLLMUsageOutput) UnmarshalJSON

func (s *OptLLMUsageOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptLLMUsageOutputModelUsage

type OptLLMUsageOutputModelUsage struct {
	Value LLMUsageOutputModelUsage
	Set   bool
}

OptLLMUsageOutputModelUsage is optional LLMUsageOutputModelUsage.

func NewOptLLMUsageOutputModelUsage

func NewOptLLMUsageOutputModelUsage(v LLMUsageOutputModelUsage) OptLLMUsageOutputModelUsage

NewOptLLMUsageOutputModelUsage returns new OptLLMUsageOutputModelUsage with value set to v.

func (*OptLLMUsageOutputModelUsage) Decode

Decode decodes LLMUsageOutputModelUsage from json.

func (OptLLMUsageOutputModelUsage) Encode

func (o OptLLMUsageOutputModelUsage) Encode(e *jx.Encoder)

Encode encodes LLMUsageOutputModelUsage as json.

func (OptLLMUsageOutputModelUsage) Get

Get returns value and boolean that denotes whether value was set.

func (OptLLMUsageOutputModelUsage) IsSet

IsSet returns true if OptLLMUsageOutputModelUsage was set.

func (OptLLMUsageOutputModelUsage) MarshalJSON

func (s OptLLMUsageOutputModelUsage) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptLLMUsageOutputModelUsage) Or

Or returns value if set, or given parameter if does not.

func (*OptLLMUsageOutputModelUsage) Reset

func (o *OptLLMUsageOutputModelUsage) Reset()

Reset unsets value.

func (*OptLLMUsageOutputModelUsage) SetTo

SetTo sets value to v.

func (*OptLLMUsageOutputModelUsage) UnmarshalJSON

func (s *OptLLMUsageOutputModelUsage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptLanguageDetectionToolResultModelResultType

type OptLanguageDetectionToolResultModelResultType struct {
	Value LanguageDetectionToolResultModelResultType
	Set   bool
}

OptLanguageDetectionToolResultModelResultType is optional LanguageDetectionToolResultModelResultType.

func NewOptLanguageDetectionToolResultModelResultType

func NewOptLanguageDetectionToolResultModelResultType(v LanguageDetectionToolResultModelResultType) OptLanguageDetectionToolResultModelResultType

NewOptLanguageDetectionToolResultModelResultType returns new OptLanguageDetectionToolResultModelResultType with value set to v.

func (*OptLanguageDetectionToolResultModelResultType) Decode

Decode decodes LanguageDetectionToolResultModelResultType from json.

func (OptLanguageDetectionToolResultModelResultType) Encode

Encode encodes LanguageDetectionToolResultModelResultType as json.

func (OptLanguageDetectionToolResultModelResultType) Get

Get returns value and boolean that denotes whether value was set.

func (OptLanguageDetectionToolResultModelResultType) IsSet

IsSet returns true if OptLanguageDetectionToolResultModelResultType was set.

func (OptLanguageDetectionToolResultModelResultType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptLanguageDetectionToolResultModelResultType) Or

Or returns value if set, or given parameter if does not.

func (*OptLanguageDetectionToolResultModelResultType) Reset

Reset unsets value.

func (*OptLanguageDetectionToolResultModelResultType) SetTo

SetTo sets value to v.

func (*OptLanguageDetectionToolResultModelResultType) UnmarshalJSON

func (s *OptLanguageDetectionToolResultModelResultType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptLanguageDetectionToolResultModelStatus

type OptLanguageDetectionToolResultModelStatus struct {
	Value LanguageDetectionToolResultModelStatus
	Set   bool
}

OptLanguageDetectionToolResultModelStatus is optional LanguageDetectionToolResultModelStatus.

func NewOptLanguageDetectionToolResultModelStatus

func NewOptLanguageDetectionToolResultModelStatus(v LanguageDetectionToolResultModelStatus) OptLanguageDetectionToolResultModelStatus

NewOptLanguageDetectionToolResultModelStatus returns new OptLanguageDetectionToolResultModelStatus with value set to v.

func (*OptLanguageDetectionToolResultModelStatus) Decode

Decode decodes LanguageDetectionToolResultModelStatus from json.

func (OptLanguageDetectionToolResultModelStatus) Encode

Encode encodes LanguageDetectionToolResultModelStatus as json.

func (OptLanguageDetectionToolResultModelStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptLanguageDetectionToolResultModelStatus) IsSet

IsSet returns true if OptLanguageDetectionToolResultModelStatus was set.

func (OptLanguageDetectionToolResultModelStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptLanguageDetectionToolResultModelStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptLanguageDetectionToolResultModelStatus) Reset

Reset unsets value.

func (*OptLanguageDetectionToolResultModelStatus) SetTo

SetTo sets value to v.

func (*OptLanguageDetectionToolResultModelStatus) UnmarshalJSON

func (s *OptLanguageDetectionToolResultModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptListDubsDubbingStatus

type OptListDubsDubbingStatus struct {
	Value ListDubsDubbingStatus
	Set   bool
}

OptListDubsDubbingStatus is optional ListDubsDubbingStatus.

func NewOptListDubsDubbingStatus

func NewOptListDubsDubbingStatus(v ListDubsDubbingStatus) OptListDubsDubbingStatus

NewOptListDubsDubbingStatus returns new OptListDubsDubbingStatus with value set to v.

func (OptListDubsDubbingStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptListDubsDubbingStatus) IsSet

func (o OptListDubsDubbingStatus) IsSet() bool

IsSet returns true if OptListDubsDubbingStatus was set.

func (OptListDubsDubbingStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptListDubsDubbingStatus) Reset

func (o *OptListDubsDubbingStatus) Reset()

Reset unsets value.

func (*OptListDubsDubbingStatus) SetTo

SetTo sets value to v.

type OptListDubsFilterByCreator

type OptListDubsFilterByCreator struct {
	Value ListDubsFilterByCreator
	Set   bool
}

OptListDubsFilterByCreator is optional ListDubsFilterByCreator.

func NewOptListDubsFilterByCreator

func NewOptListDubsFilterByCreator(v ListDubsFilterByCreator) OptListDubsFilterByCreator

NewOptListDubsFilterByCreator returns new OptListDubsFilterByCreator with value set to v.

func (OptListDubsFilterByCreator) Get

Get returns value and boolean that denotes whether value was set.

func (OptListDubsFilterByCreator) IsSet

func (o OptListDubsFilterByCreator) IsSet() bool

IsSet returns true if OptListDubsFilterByCreator was set.

func (OptListDubsFilterByCreator) Or

Or returns value if set, or given parameter if does not.

func (*OptListDubsFilterByCreator) Reset

func (o *OptListDubsFilterByCreator) Reset()

Reset unsets value.

func (*OptListDubsFilterByCreator) SetTo

SetTo sets value to v.

type OptListDubsOrderBy

type OptListDubsOrderBy struct {
	Value ListDubsOrderBy
	Set   bool
}

OptListDubsOrderBy is optional ListDubsOrderBy.

func NewOptListDubsOrderBy

func NewOptListDubsOrderBy(v ListDubsOrderBy) OptListDubsOrderBy

NewOptListDubsOrderBy returns new OptListDubsOrderBy with value set to v.

func (OptListDubsOrderBy) Get

func (o OptListDubsOrderBy) Get() (v ListDubsOrderBy, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptListDubsOrderBy) IsSet

func (o OptListDubsOrderBy) IsSet() bool

IsSet returns true if OptListDubsOrderBy was set.

func (OptListDubsOrderBy) Or

Or returns value if set, or given parameter if does not.

func (*OptListDubsOrderBy) Reset

func (o *OptListDubsOrderBy) Reset()

Reset unsets value.

func (*OptListDubsOrderBy) SetTo

func (o *OptListDubsOrderBy) SetTo(v ListDubsOrderBy)

SetTo sets value to v.

type OptListDubsOrderDirection

type OptListDubsOrderDirection struct {
	Value ListDubsOrderDirection
	Set   bool
}

OptListDubsOrderDirection is optional ListDubsOrderDirection.

func NewOptListDubsOrderDirection

func NewOptListDubsOrderDirection(v ListDubsOrderDirection) OptListDubsOrderDirection

NewOptListDubsOrderDirection returns new OptListDubsOrderDirection with value set to v.

func (OptListDubsOrderDirection) Get

Get returns value and boolean that denotes whether value was set.

func (OptListDubsOrderDirection) IsSet

func (o OptListDubsOrderDirection) IsSet() bool

IsSet returns true if OptListDubsOrderDirection was set.

func (OptListDubsOrderDirection) Or

Or returns value if set, or given parameter if does not.

func (*OptListDubsOrderDirection) Reset

func (o *OptListDubsOrderDirection) Reset()

Reset unsets value.

func (*OptListDubsOrderDirection) SetTo

SetTo sets value to v.

type OptListResponseMeta

type OptListResponseMeta struct {
	Value ListResponseMeta
	Set   bool
}

OptListResponseMeta is optional ListResponseMeta.

func NewOptListResponseMeta

func NewOptListResponseMeta(v ListResponseMeta) OptListResponseMeta

NewOptListResponseMeta returns new OptListResponseMeta with value set to v.

func (*OptListResponseMeta) Decode

func (o *OptListResponseMeta) Decode(d *jx.Decoder) error

Decode decodes ListResponseMeta from json.

func (OptListResponseMeta) Encode

func (o OptListResponseMeta) Encode(e *jx.Encoder)

Encode encodes ListResponseMeta as json.

func (OptListResponseMeta) Get

func (o OptListResponseMeta) Get() (v ListResponseMeta, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptListResponseMeta) IsSet

func (o OptListResponseMeta) IsSet() bool

IsSet returns true if OptListResponseMeta was set.

func (OptListResponseMeta) MarshalJSON

func (s OptListResponseMeta) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptListResponseMeta) Or

Or returns value if set, or given parameter if does not.

func (*OptListResponseMeta) Reset

func (o *OptListResponseMeta) Reset()

Reset unsets value.

func (*OptListResponseMeta) SetTo

SetTo sets value to v.

func (*OptListResponseMeta) UnmarshalJSON

func (s *OptListResponseMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptLiteralJsonSchemaProperty

type OptLiteralJsonSchemaProperty struct {
	Value LiteralJsonSchemaProperty
	Set   bool
}

OptLiteralJsonSchemaProperty is optional LiteralJsonSchemaProperty.

func NewOptLiteralJsonSchemaProperty

func NewOptLiteralJsonSchemaProperty(v LiteralJsonSchemaProperty) OptLiteralJsonSchemaProperty

NewOptLiteralJsonSchemaProperty returns new OptLiteralJsonSchemaProperty with value set to v.

func (*OptLiteralJsonSchemaProperty) Decode

Decode decodes LiteralJsonSchemaProperty from json.

func (OptLiteralJsonSchemaProperty) Encode

Encode encodes LiteralJsonSchemaProperty as json.

func (OptLiteralJsonSchemaProperty) Get

Get returns value and boolean that denotes whether value was set.

func (OptLiteralJsonSchemaProperty) IsSet

IsSet returns true if OptLiteralJsonSchemaProperty was set.

func (OptLiteralJsonSchemaProperty) MarshalJSON

func (s OptLiteralJsonSchemaProperty) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptLiteralJsonSchemaProperty) Or

Or returns value if set, or given parameter if does not.

func (*OptLiteralJsonSchemaProperty) Reset

func (o *OptLiteralJsonSchemaProperty) Reset()

Reset unsets value.

func (*OptLiteralJsonSchemaProperty) SetTo

SetTo sets value to v.

func (*OptLiteralJsonSchemaProperty) UnmarshalJSON

func (s *OptLiteralJsonSchemaProperty) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptLiteralJsonSchemaPropertyConstantValue

type OptLiteralJsonSchemaPropertyConstantValue struct {
	Value LiteralJsonSchemaPropertyConstantValue
	Set   bool
}

OptLiteralJsonSchemaPropertyConstantValue is optional LiteralJsonSchemaPropertyConstantValue.

func NewOptLiteralJsonSchemaPropertyConstantValue

func NewOptLiteralJsonSchemaPropertyConstantValue(v LiteralJsonSchemaPropertyConstantValue) OptLiteralJsonSchemaPropertyConstantValue

NewOptLiteralJsonSchemaPropertyConstantValue returns new OptLiteralJsonSchemaPropertyConstantValue with value set to v.

func (*OptLiteralJsonSchemaPropertyConstantValue) Decode

Decode decodes LiteralJsonSchemaPropertyConstantValue from json.

func (OptLiteralJsonSchemaPropertyConstantValue) Encode

Encode encodes LiteralJsonSchemaPropertyConstantValue as json.

func (OptLiteralJsonSchemaPropertyConstantValue) Get

Get returns value and boolean that denotes whether value was set.

func (OptLiteralJsonSchemaPropertyConstantValue) IsSet

IsSet returns true if OptLiteralJsonSchemaPropertyConstantValue was set.

func (OptLiteralJsonSchemaPropertyConstantValue) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptLiteralJsonSchemaPropertyConstantValue) Or

Or returns value if set, or given parameter if does not.

func (*OptLiteralJsonSchemaPropertyConstantValue) Reset

Reset unsets value.

func (*OptLiteralJsonSchemaPropertyConstantValue) SetTo

SetTo sets value to v.

func (*OptLiteralJsonSchemaPropertyConstantValue) UnmarshalJSON

func (s *OptLiteralJsonSchemaPropertyConstantValue) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptLivekitStackType

type OptLivekitStackType struct {
	Value LivekitStackType
	Set   bool
}

OptLivekitStackType is optional LivekitStackType.

func NewOptLivekitStackType

func NewOptLivekitStackType(v LivekitStackType) OptLivekitStackType

NewOptLivekitStackType returns new OptLivekitStackType with value set to v.

func (*OptLivekitStackType) Decode

func (o *OptLivekitStackType) Decode(d *jx.Decoder) error

Decode decodes LivekitStackType from json.

func (OptLivekitStackType) Encode

func (o OptLivekitStackType) Encode(e *jx.Encoder)

Encode encodes LivekitStackType as json.

func (OptLivekitStackType) Get

func (o OptLivekitStackType) Get() (v LivekitStackType, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptLivekitStackType) IsSet

func (o OptLivekitStackType) IsSet() bool

IsSet returns true if OptLivekitStackType was set.

func (OptLivekitStackType) MarshalJSON

func (s OptLivekitStackType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptLivekitStackType) Or

Or returns value if set, or given parameter if does not.

func (*OptLivekitStackType) Reset

func (o *OptLivekitStackType) Reset()

Reset unsets value.

func (*OptLivekitStackType) SetTo

SetTo sets value to v.

func (*OptLivekitStackType) UnmarshalJSON

func (s *OptLivekitStackType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptManualVerificationResponseModel

type OptManualVerificationResponseModel struct {
	Value ManualVerificationResponseModel
	Set   bool
}

OptManualVerificationResponseModel is optional ManualVerificationResponseModel.

func NewOptManualVerificationResponseModel

func NewOptManualVerificationResponseModel(v ManualVerificationResponseModel) OptManualVerificationResponseModel

NewOptManualVerificationResponseModel returns new OptManualVerificationResponseModel with value set to v.

func (*OptManualVerificationResponseModel) Decode

Decode decodes ManualVerificationResponseModel from json.

func (OptManualVerificationResponseModel) Encode

Encode encodes ManualVerificationResponseModel as json.

func (OptManualVerificationResponseModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptManualVerificationResponseModel) IsSet

IsSet returns true if OptManualVerificationResponseModel was set.

func (OptManualVerificationResponseModel) MarshalJSON

func (s OptManualVerificationResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptManualVerificationResponseModel) Or

Or returns value if set, or given parameter if does not.

func (*OptManualVerificationResponseModel) Reset

Reset unsets value.

func (*OptManualVerificationResponseModel) SetTo

SetTo sets value to v.

func (*OptManualVerificationResponseModel) UnmarshalJSON

func (s *OptManualVerificationResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMetricType

type OptMetricType struct {
	Value MetricType
	Set   bool
}

OptMetricType is optional MetricType.

func NewOptMetricType

func NewOptMetricType(v MetricType) OptMetricType

NewOptMetricType returns new OptMetricType with value set to v.

func (OptMetricType) Get

func (o OptMetricType) Get() (v MetricType, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptMetricType) IsSet

func (o OptMetricType) IsSet() bool

IsSet returns true if OptMetricType was set.

func (OptMetricType) Or

Or returns value if set, or given parameter if does not.

func (*OptMetricType) Reset

func (o *OptMetricType) Reset()

Reset unsets value.

func (*OptMetricType) SetTo

func (o *OptMetricType) SetTo(v MetricType)

SetTo sets value to v.

type OptModelSettingsResponseModel

type OptModelSettingsResponseModel struct {
	Value ModelSettingsResponseModel
	Set   bool
}

OptModelSettingsResponseModel is optional ModelSettingsResponseModel.

func NewOptModelSettingsResponseModel

func NewOptModelSettingsResponseModel(v ModelSettingsResponseModel) OptModelSettingsResponseModel

NewOptModelSettingsResponseModel returns new OptModelSettingsResponseModel with value set to v.

func (*OptModelSettingsResponseModel) Decode

Decode decodes ModelSettingsResponseModel from json.

func (OptModelSettingsResponseModel) Encode

Encode encodes ModelSettingsResponseModel as json.

func (OptModelSettingsResponseModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptModelSettingsResponseModel) IsSet

IsSet returns true if OptModelSettingsResponseModel was set.

func (OptModelSettingsResponseModel) MarshalJSON

func (s OptModelSettingsResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptModelSettingsResponseModel) Or

Or returns value if set, or given parameter if does not.

func (*OptModelSettingsResponseModel) Reset

func (o *OptModelSettingsResponseModel) Reset()

Reset unsets value.

func (*OptModelSettingsResponseModel) SetTo

SetTo sets value to v.

func (*OptModelSettingsResponseModel) UnmarshalJSON

func (s *OptModelSettingsResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMultipartFile

type OptMultipartFile struct {
	Value ht.MultipartFile
	Set   bool
}

OptMultipartFile is optional ht.MultipartFile.

func NewOptMultipartFile

func NewOptMultipartFile(v ht.MultipartFile) OptMultipartFile

NewOptMultipartFile returns new OptMultipartFile with value set to v.

func (OptMultipartFile) Get

func (o OptMultipartFile) Get() (v ht.MultipartFile, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptMultipartFile) IsSet

func (o OptMultipartFile) IsSet() bool

IsSet returns true if OptMultipartFile was set.

func (OptMultipartFile) Or

Or returns value if set, or given parameter if does not.

func (*OptMultipartFile) Reset

func (o *OptMultipartFile) Reset()

Reset unsets value.

func (*OptMultipartFile) SetTo

func (o *OptMultipartFile) SetTo(v ht.MultipartFile)

SetTo sets value to v.

type OptMusicPrompt

type OptMusicPrompt struct {
	Value MusicPrompt
	Set   bool
}

OptMusicPrompt is optional MusicPrompt.

func NewOptMusicPrompt

func NewOptMusicPrompt(v MusicPrompt) OptMusicPrompt

NewOptMusicPrompt returns new OptMusicPrompt with value set to v.

func (*OptMusicPrompt) Decode

func (o *OptMusicPrompt) Decode(d *jx.Decoder) error

Decode decodes MusicPrompt from json.

func (OptMusicPrompt) Encode

func (o OptMusicPrompt) Encode(e *jx.Encoder)

Encode encodes MusicPrompt as json.

func (OptMusicPrompt) Get

func (o OptMusicPrompt) Get() (v MusicPrompt, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptMusicPrompt) IsSet

func (o OptMusicPrompt) IsSet() bool

IsSet returns true if OptMusicPrompt was set.

func (OptMusicPrompt) MarshalJSON

func (s OptMusicPrompt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptMusicPrompt) Or

Or returns value if set, or given parameter if does not.

func (*OptMusicPrompt) Reset

func (o *OptMusicPrompt) Reset()

Reset unsets value.

func (*OptMusicPrompt) SetTo

func (o *OptMusicPrompt) SetTo(v MusicPrompt)

SetTo sets value to v.

func (*OptMusicPrompt) UnmarshalJSON

func (s *OptMusicPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilAdditionalFormatResponseModelArray

type OptNilAdditionalFormatResponseModelArray struct {
	Value []AdditionalFormatResponseModel
	Set   bool
	Null  bool
}

OptNilAdditionalFormatResponseModelArray is optional nullable []AdditionalFormatResponseModel.

func NewOptNilAdditionalFormatResponseModelArray

func NewOptNilAdditionalFormatResponseModelArray(v []AdditionalFormatResponseModel) OptNilAdditionalFormatResponseModelArray

NewOptNilAdditionalFormatResponseModelArray returns new OptNilAdditionalFormatResponseModelArray with value set to v.

func (*OptNilAdditionalFormatResponseModelArray) Decode

Decode decodes []AdditionalFormatResponseModel from json.

func (OptNilAdditionalFormatResponseModelArray) Encode

Encode encodes []AdditionalFormatResponseModel as json.

func (OptNilAdditionalFormatResponseModelArray) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilAdditionalFormatResponseModelArray) IsNull

IsNull returns true if value is Null.

func (OptNilAdditionalFormatResponseModelArray) IsSet

IsSet returns true if OptNilAdditionalFormatResponseModelArray was set.

func (OptNilAdditionalFormatResponseModelArray) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilAdditionalFormatResponseModelArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilAdditionalFormatResponseModelArray) Reset

Reset unsets value.

func (*OptNilAdditionalFormatResponseModelArray) SetTo

SetTo sets value to v.

func (*OptNilAdditionalFormatResponseModelArray) SetToNull

SetToNull sets value to null.

func (*OptNilAdditionalFormatResponseModelArray) UnmarshalJSON

func (s *OptNilAdditionalFormatResponseModelArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess

type OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess struct {
	Value BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess
	Set   bool
	Null  bool
}

OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess is optional nullable BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess.

func NewOptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess

NewOptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess returns new OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess with value set to v.

func (OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) IsNull

IsNull returns true if value is Null.

func (OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) IsSet

IsSet returns true if OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess was set.

func (*OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) Reset

Reset unsets value.

func (*OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) SetTo

SetTo sets value to v.

func (*OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) SetToNull

SetToNull sets value to null.

type OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat

type OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat struct {
	Value BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat
	Set   bool
	Null  bool
}

OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat is optional nullable BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat.

func NewOptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat

NewOptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat returns new OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat with value set to v.

func (OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) IsNull

IsNull returns true if value is Null.

func (OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) IsSet

IsSet returns true if OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat was set.

func (OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) Reset

Reset unsets value.

func (*OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) SetTo

SetTo sets value to v.

func (*OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) SetToNull

SetToNull sets value to null.

type OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat

type OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat struct {
	Value BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat
	Set   bool
	Null  bool
}

OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat is optional nullable BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat.

func NewOptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat

NewOptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat returns new OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat with value set to v.

func (OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) IsNull

IsNull returns true if value is Null.

func (OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) IsSet

IsSet returns true if OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat was set.

func (OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) Reset

Reset unsets value.

func (*OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) SetTo

SetTo sets value to v.

func (*OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) SetToNull

SetToNull sets value to null.

type OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels

type OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels struct {
	Value BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels
	Set   bool
	Null  bool
}

OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels is optional nullable BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels.

func NewOptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels

NewOptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels returns new OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels with value set to v.

func (*OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Decode

Decode decodes BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels from json.

func (OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Encode

Encode encodes BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels as json.

func (OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) IsNull

IsNull returns true if value is Null.

func (OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) IsSet

IsSet returns true if OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels was set.

func (OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Reset

Reset unsets value.

func (*OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) SetTo

SetTo sets value to v.

func (*OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) SetToNull

SetToNull sets value to null.

func (*OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels

type OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels struct {
	Value BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels
	Set   bool
	Null  bool
}

OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels is optional nullable BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels.

func NewOptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels

NewOptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels returns new OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels with value set to v.

func (*OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Decode

Decode decodes BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels from json.

func (OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Encode

Encode encodes BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels as json.

func (OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) IsNull

IsNull returns true if value is Null.

func (OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) IsSet

IsSet returns true if OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels was set.

func (OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Reset

Reset unsets value.

func (*OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) SetTo

SetTo sets value to v.

func (*OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) SetToNull

SetToNull sets value to null.

func (*OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels

type OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels struct {
	Value BodyCreatePVCVoiceV1VoicesPvcPostLabels
	Set   bool
	Null  bool
}

OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels is optional nullable BodyCreatePVCVoiceV1VoicesPvcPostLabels.

func NewOptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels

func NewOptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels(v BodyCreatePVCVoiceV1VoicesPvcPostLabels) OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels

NewOptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels returns new OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels with value set to v.

func (*OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Decode

Decode decodes BodyCreatePVCVoiceV1VoicesPvcPostLabels from json.

func (OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Encode

Encode encodes BodyCreatePVCVoiceV1VoicesPvcPostLabels as json.

func (OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) IsNull

IsNull returns true if value is Null.

func (OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) IsSet

IsSet returns true if OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels was set.

func (OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Reset

Reset unsets value.

func (*OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) SetTo

SetTo sets value to v.

func (*OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) SetToNull

SetToNull sets value to null.

func (*OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) UnmarshalJSON

func (s *OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization

type OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization struct {
	Value BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization
	Set   bool
	Null  bool
}

OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization is optional nullable BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization.

func NewOptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization

NewOptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization returns new OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization with value set to v.

func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) IsNull

IsNull returns true if value is Null.

func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) IsSet

IsSet returns true if OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization was set.

func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) Reset

Reset unsets value.

func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) SetTo

SetTo sets value to v.

func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) SetToNull

SetToNull sets value to null.

type OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction

type OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction struct {
	Value BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction
	Set   bool
	Null  bool
}

OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction is optional nullable BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction.

func NewOptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction

NewOptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction returns new OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction with value set to v.

func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) IsNull

IsNull returns true if value is Null.

func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) IsSet

IsSet returns true if OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction was set.

func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) Reset

Reset unsets value.

func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) SetTo

SetTo sets value to v.

func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) SetToNull

SetToNull sets value to null.

type OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType

type OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType struct {
	Value BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType
	Set   bool
	Null  bool
}

OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType is optional nullable BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType.

func NewOptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType

NewOptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType returns new OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType with value set to v.

func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) IsNull

IsNull returns true if value is Null.

func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) IsSet

IsSet returns true if OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType was set.

func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) Reset

Reset unsets value.

func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) SetTo

SetTo sets value to v.

func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) SetToNull

SetToNull sets value to null.

type OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience

type OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience struct {
	Value BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience
	Set   bool
	Null  bool
}

OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience is optional nullable BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience.

func NewOptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience

NewOptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience returns new OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience with value set to v.

func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) IsNull

IsNull returns true if value is Null.

func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) IsSet

IsSet returns true if OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience was set.

func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) Reset

Reset unsets value.

func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) SetTo

SetTo sets value to v.

func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) SetToNull

SetToNull sets value to null.

type OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization

type OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization struct {
	Value BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization
	Set   bool
	Null  bool
}

OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization is optional nullable BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization.

func NewOptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization

NewOptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization returns new OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization with value set to v.

func (OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) IsNull

IsNull returns true if value is Null.

func (OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) IsSet

IsSet returns true if OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization was set.

func (OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) Reset

Reset unsets value.

func (*OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) SetTo

SetTo sets value to v.

func (*OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) SetToNull

SetToNull sets value to null.

type OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels

type OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels struct {
	Value BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels
	Set   bool
	Null  bool
}

OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels is optional nullable BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels.

func NewOptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels

func NewOptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels(v BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels

NewOptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels returns new OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels with value set to v.

func (*OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Decode

Decode decodes BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels from json.

func (OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Encode

Encode encodes BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels as json.

func (OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) IsNull

IsNull returns true if value is Null.

func (OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) IsSet

IsSet returns true if OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels was set.

func (OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Reset

Reset unsets value.

func (*OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) SetTo

SetTo sets value to v.

func (*OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) SetToNull

SetToNull sets value to null.

func (*OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission

type OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission struct {
	Value BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission
	Set   bool
	Null  bool
}

OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission is optional nullable BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.

func NewOptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission

NewOptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission returns new OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission with value set to v.

func (*OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Decode

Decode decodes BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission from json.

func (OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Encode

Encode encodes BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission as json.

func (OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) IsNull

IsNull returns true if value is Null.

func (OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) IsSet

IsSet returns true if OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission was set.

func (OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Reset

Reset unsets value.

func (*OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) SetTo

SetTo sets value to v.

func (*OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) SetToNull

SetToNull sets value to null.

func (*OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat

type OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat struct {
	Value BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat
	Set   bool
	Null  bool
}

OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat is optional nullable BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat.

func NewOptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat

NewOptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat returns new OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat with value set to v.

func (OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) IsNull

IsNull returns true if value is Null.

func (OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) IsSet

IsSet returns true if OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat was set.

func (OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) Reset

Reset unsets value.

func (*OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) SetTo

SetTo sets value to v.

func (*OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) SetToNull

SetToNull sets value to null.

type OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat

type OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat struct {
	Value BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat
	Set   bool
	Null  bool
}

OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat is optional nullable BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat.

func NewOptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat

NewOptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat returns new OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat with value set to v.

func (OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) IsNull

IsNull returns true if value is Null.

func (OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) IsSet

IsSet returns true if OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat was set.

func (OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) Reset

Reset unsets value.

func (*OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) SetTo

SetTo sets value to v.

func (*OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) SetToNull

SetToNull sets value to null.

type OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata

type OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata struct {
	Value BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata
	Set   bool
	Null  bool
}

OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata is optional nullable BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata.

func NewOptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata

NewOptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata returns new OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata with value set to v.

func (*OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Decode

Decode decodes BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata from json.

func (OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Encode

Encode encodes BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata as json.

func (OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) IsNull

IsNull returns true if value is Null.

func (OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) IsSet

IsSet returns true if OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata was set.

func (OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Reset

Reset unsets value.

func (*OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) SetTo

SetTo sets value to v.

func (*OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) SetToNull

SetToNull sets value to null.

func (*OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole

type OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole struct {
	Value BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole
	Set   bool
	Null  bool
}

OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole is optional nullable BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.

func NewOptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole

func NewOptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole(v BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole

NewOptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole returns new OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole with value set to v.

func (*OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Decode

Decode decodes BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole from json.

func (OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Encode

Encode encodes BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole as json.

func (OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) IsNull

IsNull returns true if value is Null.

func (OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) IsSet

IsSet returns true if OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole was set.

func (OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Or

Or returns value if set, or given parameter if does not.

func (*OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Reset

Reset unsets value.

func (*OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) SetTo

SetTo sets value to v.

func (*OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) SetToNull

SetToNull sets value to null.

func (*OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilBool

type OptNilBool struct {
	Value bool
	Set   bool
	Null  bool
}

OptNilBool is optional nullable bool.

func NewOptNilBool

func NewOptNilBool(v bool) OptNilBool

NewOptNilBool returns new OptNilBool with value set to v.

func (*OptNilBool) Decode

func (o *OptNilBool) Decode(d *jx.Decoder) error

Decode decodes bool from json.

func (OptNilBool) Encode

func (o OptNilBool) Encode(e *jx.Encoder)

Encode encodes bool as json.

func (OptNilBool) Get

func (o OptNilBool) Get() (v bool, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilBool) IsNull

func (o OptNilBool) IsNull() bool

IsNull returns true if value is Null.

func (OptNilBool) IsSet

func (o OptNilBool) IsSet() bool

IsSet returns true if OptNilBool was set.

func (OptNilBool) MarshalJSON

func (s OptNilBool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilBool) Or

func (o OptNilBool) Or(d bool) bool

Or returns value if set, or given parameter if does not.

func (*OptNilBool) Reset

func (o *OptNilBool) Reset()

Reset unsets value.

func (*OptNilBool) SetTo

func (o *OptNilBool) SetTo(v bool)

SetTo sets value to v.

func (*OptNilBool) SetToNull

func (o *OptNilBool) SetToNull()

SetToNull sets value to null.

func (*OptNilBool) UnmarshalJSON

func (s *OptNilBool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilCaptionStyleModelTextAlign

type OptNilCaptionStyleModelTextAlign struct {
	Value CaptionStyleModelTextAlign
	Set   bool
	Null  bool
}

OptNilCaptionStyleModelTextAlign is optional nullable CaptionStyleModelTextAlign.

func NewOptNilCaptionStyleModelTextAlign

func NewOptNilCaptionStyleModelTextAlign(v CaptionStyleModelTextAlign) OptNilCaptionStyleModelTextAlign

NewOptNilCaptionStyleModelTextAlign returns new OptNilCaptionStyleModelTextAlign with value set to v.

func (*OptNilCaptionStyleModelTextAlign) Decode

Decode decodes CaptionStyleModelTextAlign from json.

func (OptNilCaptionStyleModelTextAlign) Encode

Encode encodes CaptionStyleModelTextAlign as json.

func (OptNilCaptionStyleModelTextAlign) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilCaptionStyleModelTextAlign) IsNull

IsNull returns true if value is Null.

func (OptNilCaptionStyleModelTextAlign) IsSet

IsSet returns true if OptNilCaptionStyleModelTextAlign was set.

func (OptNilCaptionStyleModelTextAlign) MarshalJSON

func (s OptNilCaptionStyleModelTextAlign) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilCaptionStyleModelTextAlign) Or

Or returns value if set, or given parameter if does not.

func (*OptNilCaptionStyleModelTextAlign) Reset

Reset unsets value.

func (*OptNilCaptionStyleModelTextAlign) SetTo

SetTo sets value to v.

func (*OptNilCaptionStyleModelTextAlign) SetToNull

func (o *OptNilCaptionStyleModelTextAlign) SetToNull()

SetToNull sets value to null.

func (*OptNilCaptionStyleModelTextAlign) UnmarshalJSON

func (s *OptNilCaptionStyleModelTextAlign) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilCaptionStyleModelTextStyle

type OptNilCaptionStyleModelTextStyle struct {
	Value CaptionStyleModelTextStyle
	Set   bool
	Null  bool
}

OptNilCaptionStyleModelTextStyle is optional nullable CaptionStyleModelTextStyle.

func NewOptNilCaptionStyleModelTextStyle

func NewOptNilCaptionStyleModelTextStyle(v CaptionStyleModelTextStyle) OptNilCaptionStyleModelTextStyle

NewOptNilCaptionStyleModelTextStyle returns new OptNilCaptionStyleModelTextStyle with value set to v.

func (*OptNilCaptionStyleModelTextStyle) Decode

Decode decodes CaptionStyleModelTextStyle from json.

func (OptNilCaptionStyleModelTextStyle) Encode

Encode encodes CaptionStyleModelTextStyle as json.

func (OptNilCaptionStyleModelTextStyle) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilCaptionStyleModelTextStyle) IsNull

IsNull returns true if value is Null.

func (OptNilCaptionStyleModelTextStyle) IsSet

IsSet returns true if OptNilCaptionStyleModelTextStyle was set.

func (OptNilCaptionStyleModelTextStyle) MarshalJSON

func (s OptNilCaptionStyleModelTextStyle) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilCaptionStyleModelTextStyle) Or

Or returns value if set, or given parameter if does not.

func (*OptNilCaptionStyleModelTextStyle) Reset

Reset unsets value.

func (*OptNilCaptionStyleModelTextStyle) SetTo

SetTo sets value to v.

func (*OptNilCaptionStyleModelTextStyle) SetToNull

func (o *OptNilCaptionStyleModelTextStyle) SetToNull()

SetToNull sets value to null.

func (*OptNilCaptionStyleModelTextStyle) UnmarshalJSON

func (s *OptNilCaptionStyleModelTextStyle) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilCaptionStyleModelTextWeight

type OptNilCaptionStyleModelTextWeight struct {
	Value CaptionStyleModelTextWeight
	Set   bool
	Null  bool
}

OptNilCaptionStyleModelTextWeight is optional nullable CaptionStyleModelTextWeight.

func NewOptNilCaptionStyleModelTextWeight

func NewOptNilCaptionStyleModelTextWeight(v CaptionStyleModelTextWeight) OptNilCaptionStyleModelTextWeight

NewOptNilCaptionStyleModelTextWeight returns new OptNilCaptionStyleModelTextWeight with value set to v.

func (*OptNilCaptionStyleModelTextWeight) Decode

Decode decodes CaptionStyleModelTextWeight from json.

func (OptNilCaptionStyleModelTextWeight) Encode

Encode encodes CaptionStyleModelTextWeight as json.

func (OptNilCaptionStyleModelTextWeight) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilCaptionStyleModelTextWeight) IsNull

IsNull returns true if value is Null.

func (OptNilCaptionStyleModelTextWeight) IsSet

IsSet returns true if OptNilCaptionStyleModelTextWeight was set.

func (OptNilCaptionStyleModelTextWeight) MarshalJSON

func (s OptNilCaptionStyleModelTextWeight) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilCaptionStyleModelTextWeight) Or

Or returns value if set, or given parameter if does not.

func (*OptNilCaptionStyleModelTextWeight) Reset

Reset unsets value.

func (*OptNilCaptionStyleModelTextWeight) SetTo

SetTo sets value to v.

func (*OptNilCaptionStyleModelTextWeight) SetToNull

func (o *OptNilCaptionStyleModelTextWeight) SetToNull()

SetToNull sets value to null.

func (*OptNilCaptionStyleModelTextWeight) UnmarshalJSON

func (s *OptNilCaptionStyleModelTextWeight) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilConversationHistoryMetadataCommonModelPhoneCall

type OptNilConversationHistoryMetadataCommonModelPhoneCall struct {
	Value ConversationHistoryMetadataCommonModelPhoneCall
	Set   bool
	Null  bool
}

OptNilConversationHistoryMetadataCommonModelPhoneCall is optional nullable ConversationHistoryMetadataCommonModelPhoneCall.

func NewOptNilConversationHistoryMetadataCommonModelPhoneCall

func NewOptNilConversationHistoryMetadataCommonModelPhoneCall(v ConversationHistoryMetadataCommonModelPhoneCall) OptNilConversationHistoryMetadataCommonModelPhoneCall

NewOptNilConversationHistoryMetadataCommonModelPhoneCall returns new OptNilConversationHistoryMetadataCommonModelPhoneCall with value set to v.

func (*OptNilConversationHistoryMetadataCommonModelPhoneCall) Decode

Decode decodes ConversationHistoryMetadataCommonModelPhoneCall from json.

func (OptNilConversationHistoryMetadataCommonModelPhoneCall) Encode

Encode encodes ConversationHistoryMetadataCommonModelPhoneCall as json.

func (OptNilConversationHistoryMetadataCommonModelPhoneCall) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilConversationHistoryMetadataCommonModelPhoneCall) IsNull

IsNull returns true if value is Null.

func (OptNilConversationHistoryMetadataCommonModelPhoneCall) IsSet

IsSet returns true if OptNilConversationHistoryMetadataCommonModelPhoneCall was set.

func (OptNilConversationHistoryMetadataCommonModelPhoneCall) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilConversationHistoryMetadataCommonModelPhoneCall) Or

Or returns value if set, or given parameter if does not.

func (*OptNilConversationHistoryMetadataCommonModelPhoneCall) Reset

Reset unsets value.

func (*OptNilConversationHistoryMetadataCommonModelPhoneCall) SetTo

SetTo sets value to v.

func (*OptNilConversationHistoryMetadataCommonModelPhoneCall) SetToNull

SetToNull sets value to null.

func (*OptNilConversationHistoryMetadataCommonModelPhoneCall) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilConversationHistoryTranscriptCommonModelInputSourceMedium

type OptNilConversationHistoryTranscriptCommonModelInputSourceMedium struct {
	Value ConversationHistoryTranscriptCommonModelInputSourceMedium
	Set   bool
	Null  bool
}

OptNilConversationHistoryTranscriptCommonModelInputSourceMedium is optional nullable ConversationHistoryTranscriptCommonModelInputSourceMedium.

func NewOptNilConversationHistoryTranscriptCommonModelInputSourceMedium

NewOptNilConversationHistoryTranscriptCommonModelInputSourceMedium returns new OptNilConversationHistoryTranscriptCommonModelInputSourceMedium with value set to v.

func (*OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Decode

Decode decodes ConversationHistoryTranscriptCommonModelInputSourceMedium from json.

func (OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Encode

Encode encodes ConversationHistoryTranscriptCommonModelInputSourceMedium as json.

func (OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) IsNull

IsNull returns true if value is Null.

func (OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) IsSet

IsSet returns true if OptNilConversationHistoryTranscriptCommonModelInputSourceMedium was set.

func (OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Or

Or returns value if set, or given parameter if does not.

func (*OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Reset

Reset unsets value.

func (*OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) SetTo

SetTo sets value to v.

func (*OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) SetToNull

SetToNull sets value to null.

func (*OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilConversationHistoryTranscriptCommonModelOutputArray

type OptNilConversationHistoryTranscriptCommonModelOutputArray struct {
	Value []ConversationHistoryTranscriptCommonModelOutput
	Set   bool
	Null  bool
}

OptNilConversationHistoryTranscriptCommonModelOutputArray is optional nullable []ConversationHistoryTranscriptCommonModelOutput.

func NewOptNilConversationHistoryTranscriptCommonModelOutputArray

func NewOptNilConversationHistoryTranscriptCommonModelOutputArray(v []ConversationHistoryTranscriptCommonModelOutput) OptNilConversationHistoryTranscriptCommonModelOutputArray

NewOptNilConversationHistoryTranscriptCommonModelOutputArray returns new OptNilConversationHistoryTranscriptCommonModelOutputArray with value set to v.

func (*OptNilConversationHistoryTranscriptCommonModelOutputArray) Decode

Decode decodes []ConversationHistoryTranscriptCommonModelOutput from json.

func (OptNilConversationHistoryTranscriptCommonModelOutputArray) Encode

Encode encodes []ConversationHistoryTranscriptCommonModelOutput as json.

func (OptNilConversationHistoryTranscriptCommonModelOutputArray) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilConversationHistoryTranscriptCommonModelOutputArray) IsNull

IsNull returns true if value is Null.

func (OptNilConversationHistoryTranscriptCommonModelOutputArray) IsSet

IsSet returns true if OptNilConversationHistoryTranscriptCommonModelOutputArray was set.

func (OptNilConversationHistoryTranscriptCommonModelOutputArray) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilConversationHistoryTranscriptCommonModelOutputArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilConversationHistoryTranscriptCommonModelOutputArray) Reset

Reset unsets value.

func (*OptNilConversationHistoryTranscriptCommonModelOutputArray) SetTo

SetTo sets value to v.

func (*OptNilConversationHistoryTranscriptCommonModelOutputArray) SetToNull

SetToNull sets value to null.

func (*OptNilConversationHistoryTranscriptCommonModelOutputArray) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium

type OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium struct {
	Value ConversationHistoryTranscriptCommonModelOutputSourceMedium
	Set   bool
	Null  bool
}

OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium is optional nullable ConversationHistoryTranscriptCommonModelOutputSourceMedium.

func NewOptNilConversationHistoryTranscriptCommonModelOutputSourceMedium

NewOptNilConversationHistoryTranscriptCommonModelOutputSourceMedium returns new OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium with value set to v.

func (*OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Decode

Decode decodes ConversationHistoryTranscriptCommonModelOutputSourceMedium from json.

func (OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Encode

Encode encodes ConversationHistoryTranscriptCommonModelOutputSourceMedium as json.

func (OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) IsNull

IsNull returns true if value is Null.

func (OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) IsSet

IsSet returns true if OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium was set.

func (OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Or

Or returns value if set, or given parameter if does not.

func (*OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Reset

Reset unsets value.

func (*OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) SetTo

SetTo sets value to v.

func (*OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) SetToNull

SetToNull sets value to null.

func (*OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType

type OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType struct {
	Value ConversationHistoryTranscriptOtherToolsResultCommonModelType
	Set   bool
	Null  bool
}

OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType is optional nullable ConversationHistoryTranscriptOtherToolsResultCommonModelType.

func NewOptNilConversationHistoryTranscriptOtherToolsResultCommonModelType

NewOptNilConversationHistoryTranscriptOtherToolsResultCommonModelType returns new OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType with value set to v.

func (*OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Decode

Decode decodes ConversationHistoryTranscriptOtherToolsResultCommonModelType from json.

func (OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Encode

Encode encodes ConversationHistoryTranscriptOtherToolsResultCommonModelType as json.

func (OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) IsNull

IsNull returns true if value is Null.

func (OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) IsSet

IsSet returns true if OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType was set.

func (OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Or

Or returns value if set, or given parameter if does not.

func (*OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Reset

Reset unsets value.

func (*OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) SetTo

SetTo sets value to v.

func (*OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) SetToNull

SetToNull sets value to null.

func (*OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult

type OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult struct {
	Value ConversationHistoryTranscriptSystemToolResultCommonModelResult
	Set   bool
	Null  bool
}

OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult is optional nullable ConversationHistoryTranscriptSystemToolResultCommonModelResult.

func NewOptNilConversationHistoryTranscriptSystemToolResultCommonModelResult

NewOptNilConversationHistoryTranscriptSystemToolResultCommonModelResult returns new OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult with value set to v.

func (*OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Decode

Decode decodes ConversationHistoryTranscriptSystemToolResultCommonModelResult from json.

func (OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Encode

Encode encodes ConversationHistoryTranscriptSystemToolResultCommonModelResult as json.

func (OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) IsNull

IsNull returns true if value is Null.

func (OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) IsSet

IsSet returns true if OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult was set.

func (OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Or

Or returns value if set, or given parameter if does not.

func (*OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Reset

Reset unsets value.

func (*OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTo

SetTo sets value to v.

func (*OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) SetToNull

SetToNull sets value to null.

func (*OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails

type OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails struct {
	Value ConversationHistoryTranscriptToolCallCommonModelInputToolDetails
	Set   bool
	Null  bool
}

OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails is optional nullable ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.

func NewOptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails

NewOptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails returns new OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails with value set to v.

func (*OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Decode

Decode decodes ConversationHistoryTranscriptToolCallCommonModelInputToolDetails from json.

func (OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Encode

Encode encodes ConversationHistoryTranscriptToolCallCommonModelInputToolDetails as json.

func (OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsNull

IsNull returns true if value is Null.

func (OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsSet

IsSet returns true if OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails was set.

func (OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Or

Or returns value if set, or given parameter if does not.

func (*OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Reset

Reset unsets value.

func (*OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetTo

SetTo sets value to v.

func (*OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetToNull

SetToNull sets value to null.

func (*OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails

type OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails struct {
	Value ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails
	Set   bool
	Null  bool
}

OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails is optional nullable ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.

func NewOptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails

NewOptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails returns new OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails with value set to v.

func (*OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Decode

Decode decodes ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails from json.

func (OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Encode

Encode encodes ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails as json.

func (OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsNull

IsNull returns true if value is Null.

func (OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsSet

IsSet returns true if OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails was set.

func (OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Or

Or returns value if set, or given parameter if does not.

func (*OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Reset

Reset unsets value.

func (*OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetTo

SetTo sets value to v.

func (*OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetToNull

SetToNull sets value to null.

func (*OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilConversationSummaryResponseModelDirection

type OptNilConversationSummaryResponseModelDirection struct {
	Value ConversationSummaryResponseModelDirection
	Set   bool
	Null  bool
}

OptNilConversationSummaryResponseModelDirection is optional nullable ConversationSummaryResponseModelDirection.

func NewOptNilConversationSummaryResponseModelDirection

func NewOptNilConversationSummaryResponseModelDirection(v ConversationSummaryResponseModelDirection) OptNilConversationSummaryResponseModelDirection

NewOptNilConversationSummaryResponseModelDirection returns new OptNilConversationSummaryResponseModelDirection with value set to v.

func (*OptNilConversationSummaryResponseModelDirection) Decode

Decode decodes ConversationSummaryResponseModelDirection from json.

func (OptNilConversationSummaryResponseModelDirection) Encode

Encode encodes ConversationSummaryResponseModelDirection as json.

func (OptNilConversationSummaryResponseModelDirection) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilConversationSummaryResponseModelDirection) IsNull

IsNull returns true if value is Null.

func (OptNilConversationSummaryResponseModelDirection) IsSet

IsSet returns true if OptNilConversationSummaryResponseModelDirection was set.

func (OptNilConversationSummaryResponseModelDirection) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilConversationSummaryResponseModelDirection) Or

Or returns value if set, or given parameter if does not.

func (*OptNilConversationSummaryResponseModelDirection) Reset

Reset unsets value.

func (*OptNilConversationSummaryResponseModelDirection) SetTo

SetTo sets value to v.

func (*OptNilConversationSummaryResponseModelDirection) SetToNull

SetToNull sets value to null.

func (*OptNilConversationSummaryResponseModelDirection) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilDialogueInputResponseModelArray

type OptNilDialogueInputResponseModelArray struct {
	Value []DialogueInputResponseModel
	Set   bool
	Null  bool
}

OptNilDialogueInputResponseModelArray is optional nullable []DialogueInputResponseModel.

func NewOptNilDialogueInputResponseModelArray

func NewOptNilDialogueInputResponseModelArray(v []DialogueInputResponseModel) OptNilDialogueInputResponseModelArray

NewOptNilDialogueInputResponseModelArray returns new OptNilDialogueInputResponseModelArray with value set to v.

func (*OptNilDialogueInputResponseModelArray) Decode

Decode decodes []DialogueInputResponseModel from json.

func (OptNilDialogueInputResponseModelArray) Encode

Encode encodes []DialogueInputResponseModel as json.

func (OptNilDialogueInputResponseModelArray) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilDialogueInputResponseModelArray) IsNull

IsNull returns true if value is Null.

func (OptNilDialogueInputResponseModelArray) IsSet

IsSet returns true if OptNilDialogueInputResponseModelArray was set.

func (OptNilDialogueInputResponseModelArray) MarshalJSON

func (s OptNilDialogueInputResponseModelArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilDialogueInputResponseModelArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilDialogueInputResponseModelArray) Reset

Reset unsets value.

func (*OptNilDialogueInputResponseModelArray) SetTo

SetTo sets value to v.

func (*OptNilDialogueInputResponseModelArray) SetToNull

SetToNull sets value to null.

func (*OptNilDialogueInputResponseModelArray) UnmarshalJSON

func (s *OptNilDialogueInputResponseModelArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilFineTuningResponseModelMessage

type OptNilFineTuningResponseModelMessage struct {
	Value FineTuningResponseModelMessage
	Set   bool
	Null  bool
}

OptNilFineTuningResponseModelMessage is optional nullable FineTuningResponseModelMessage.

func NewOptNilFineTuningResponseModelMessage

func NewOptNilFineTuningResponseModelMessage(v FineTuningResponseModelMessage) OptNilFineTuningResponseModelMessage

NewOptNilFineTuningResponseModelMessage returns new OptNilFineTuningResponseModelMessage with value set to v.

func (*OptNilFineTuningResponseModelMessage) Decode

Decode decodes FineTuningResponseModelMessage from json.

func (OptNilFineTuningResponseModelMessage) Encode

Encode encodes FineTuningResponseModelMessage as json.

func (OptNilFineTuningResponseModelMessage) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilFineTuningResponseModelMessage) IsNull

IsNull returns true if value is Null.

func (OptNilFineTuningResponseModelMessage) IsSet

IsSet returns true if OptNilFineTuningResponseModelMessage was set.

func (OptNilFineTuningResponseModelMessage) MarshalJSON

func (s OptNilFineTuningResponseModelMessage) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilFineTuningResponseModelMessage) Or

Or returns value if set, or given parameter if does not.

func (*OptNilFineTuningResponseModelMessage) Reset

Reset unsets value.

func (*OptNilFineTuningResponseModelMessage) SetTo

SetTo sets value to v.

func (*OptNilFineTuningResponseModelMessage) SetToNull

func (o *OptNilFineTuningResponseModelMessage) SetToNull()

SetToNull sets value to null.

func (*OptNilFineTuningResponseModelMessage) UnmarshalJSON

func (s *OptNilFineTuningResponseModelMessage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilFineTuningResponseModelProgress

type OptNilFineTuningResponseModelProgress struct {
	Value FineTuningResponseModelProgress
	Set   bool
	Null  bool
}

OptNilFineTuningResponseModelProgress is optional nullable FineTuningResponseModelProgress.

func NewOptNilFineTuningResponseModelProgress

func NewOptNilFineTuningResponseModelProgress(v FineTuningResponseModelProgress) OptNilFineTuningResponseModelProgress

NewOptNilFineTuningResponseModelProgress returns new OptNilFineTuningResponseModelProgress with value set to v.

func (*OptNilFineTuningResponseModelProgress) Decode

Decode decodes FineTuningResponseModelProgress from json.

func (OptNilFineTuningResponseModelProgress) Encode

Encode encodes FineTuningResponseModelProgress as json.

func (OptNilFineTuningResponseModelProgress) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilFineTuningResponseModelProgress) IsNull

IsNull returns true if value is Null.

func (OptNilFineTuningResponseModelProgress) IsSet

IsSet returns true if OptNilFineTuningResponseModelProgress was set.

func (OptNilFineTuningResponseModelProgress) MarshalJSON

func (s OptNilFineTuningResponseModelProgress) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilFineTuningResponseModelProgress) Or

Or returns value if set, or given parameter if does not.

func (*OptNilFineTuningResponseModelProgress) Reset

Reset unsets value.

func (*OptNilFineTuningResponseModelProgress) SetTo

SetTo sets value to v.

func (*OptNilFineTuningResponseModelProgress) SetToNull

SetToNull sets value to null.

func (*OptNilFineTuningResponseModelProgress) UnmarshalJSON

func (s *OptNilFineTuningResponseModelProgress) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilFloat64

type OptNilFloat64 struct {
	Value float64
	Set   bool
	Null  bool
}

OptNilFloat64 is optional nullable float64.

func NewOptNilFloat64

func NewOptNilFloat64(v float64) OptNilFloat64

NewOptNilFloat64 returns new OptNilFloat64 with value set to v.

func (*OptNilFloat64) Decode

func (o *OptNilFloat64) Decode(d *jx.Decoder) error

Decode decodes float64 from json.

func (OptNilFloat64) Encode

func (o OptNilFloat64) Encode(e *jx.Encoder)

Encode encodes float64 as json.

func (OptNilFloat64) Get

func (o OptNilFloat64) Get() (v float64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilFloat64) IsNull

func (o OptNilFloat64) IsNull() bool

IsNull returns true if value is Null.

func (OptNilFloat64) IsSet

func (o OptNilFloat64) IsSet() bool

IsSet returns true if OptNilFloat64 was set.

func (OptNilFloat64) MarshalJSON

func (s OptNilFloat64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilFloat64) Or

func (o OptNilFloat64) Or(d float64) float64

Or returns value if set, or given parameter if does not.

func (*OptNilFloat64) Reset

func (o *OptNilFloat64) Reset()

Reset unsets value.

func (*OptNilFloat64) SetTo

func (o *OptNilFloat64) SetTo(v float64)

SetTo sets value to v.

func (*OptNilFloat64) SetToNull

func (o *OptNilFloat64) SetToNull()

SetToNull sets value to null.

func (*OptNilFloat64) UnmarshalJSON

func (s *OptNilFloat64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilFloat64Array

type OptNilFloat64Array struct {
	Value []float64
	Set   bool
	Null  bool
}

OptNilFloat64Array is optional nullable []float64.

func NewOptNilFloat64Array

func NewOptNilFloat64Array(v []float64) OptNilFloat64Array

NewOptNilFloat64Array returns new OptNilFloat64Array with value set to v.

func (*OptNilFloat64Array) Decode

func (o *OptNilFloat64Array) Decode(d *jx.Decoder) error

Decode decodes []float64 from json.

func (OptNilFloat64Array) Encode

func (o OptNilFloat64Array) Encode(e *jx.Encoder)

Encode encodes []float64 as json.

func (OptNilFloat64Array) Get

func (o OptNilFloat64Array) Get() (v []float64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilFloat64Array) IsNull

func (o OptNilFloat64Array) IsNull() bool

IsNull returns true if value is Null.

func (OptNilFloat64Array) IsSet

func (o OptNilFloat64Array) IsSet() bool

IsSet returns true if OptNilFloat64Array was set.

func (OptNilFloat64Array) MarshalJSON

func (s OptNilFloat64Array) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilFloat64Array) Or

func (o OptNilFloat64Array) Or(d []float64) []float64

Or returns value if set, or given parameter if does not.

func (*OptNilFloat64Array) Reset

func (o *OptNilFloat64Array) Reset()

Reset unsets value.

func (*OptNilFloat64Array) SetTo

func (o *OptNilFloat64Array) SetTo(v []float64)

SetTo sets value to v.

func (*OptNilFloat64Array) SetToNull

func (o *OptNilFloat64Array) SetToNull()

SetToNull sets value to null.

func (*OptNilFloat64Array) UnmarshalJSON

func (s *OptNilFloat64Array) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilGetLibraryVoicesCategory

type OptNilGetLibraryVoicesCategory struct {
	Value GetLibraryVoicesCategory
	Set   bool
	Null  bool
}

OptNilGetLibraryVoicesCategory is optional nullable GetLibraryVoicesCategory.

func NewOptNilGetLibraryVoicesCategory

func NewOptNilGetLibraryVoicesCategory(v GetLibraryVoicesCategory) OptNilGetLibraryVoicesCategory

NewOptNilGetLibraryVoicesCategory returns new OptNilGetLibraryVoicesCategory with value set to v.

func (OptNilGetLibraryVoicesCategory) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilGetLibraryVoicesCategory) IsNull

IsNull returns true if value is Null.

func (OptNilGetLibraryVoicesCategory) IsSet

IsSet returns true if OptNilGetLibraryVoicesCategory was set.

func (OptNilGetLibraryVoicesCategory) Or

Or returns value if set, or given parameter if does not.

func (*OptNilGetLibraryVoicesCategory) Reset

func (o *OptNilGetLibraryVoicesCategory) Reset()

Reset unsets value.

func (*OptNilGetLibraryVoicesCategory) SetTo

SetTo sets value to v.

func (*OptNilGetLibraryVoicesCategory) SetToNull

func (o *OptNilGetLibraryVoicesCategory) SetToNull()

SetToNull sets value to null.

type OptNilGetPronunciationDictionariesMetadataSort

type OptNilGetPronunciationDictionariesMetadataSort struct {
	Value GetPronunciationDictionariesMetadataSort
	Set   bool
	Null  bool
}

OptNilGetPronunciationDictionariesMetadataSort is optional nullable GetPronunciationDictionariesMetadataSort.

func NewOptNilGetPronunciationDictionariesMetadataSort

func NewOptNilGetPronunciationDictionariesMetadataSort(v GetPronunciationDictionariesMetadataSort) OptNilGetPronunciationDictionariesMetadataSort

NewOptNilGetPronunciationDictionariesMetadataSort returns new OptNilGetPronunciationDictionariesMetadataSort with value set to v.

func (OptNilGetPronunciationDictionariesMetadataSort) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilGetPronunciationDictionariesMetadataSort) IsNull

IsNull returns true if value is Null.

func (OptNilGetPronunciationDictionariesMetadataSort) IsSet

IsSet returns true if OptNilGetPronunciationDictionariesMetadataSort was set.

func (OptNilGetPronunciationDictionariesMetadataSort) Or

Or returns value if set, or given parameter if does not.

func (*OptNilGetPronunciationDictionariesMetadataSort) Reset

Reset unsets value.

func (*OptNilGetPronunciationDictionariesMetadataSort) SetTo

SetTo sets value to v.

func (*OptNilGetPronunciationDictionariesMetadataSort) SetToNull

SetToNull sets value to null.

type OptNilGetSpeechHistorySortDirection

type OptNilGetSpeechHistorySortDirection struct {
	Value GetSpeechHistorySortDirection
	Set   bool
	Null  bool
}

OptNilGetSpeechHistorySortDirection is optional nullable GetSpeechHistorySortDirection.

func NewOptNilGetSpeechHistorySortDirection

func NewOptNilGetSpeechHistorySortDirection(v GetSpeechHistorySortDirection) OptNilGetSpeechHistorySortDirection

NewOptNilGetSpeechHistorySortDirection returns new OptNilGetSpeechHistorySortDirection with value set to v.

func (OptNilGetSpeechHistorySortDirection) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilGetSpeechHistorySortDirection) IsNull

IsNull returns true if value is Null.

func (OptNilGetSpeechHistorySortDirection) IsSet

IsSet returns true if OptNilGetSpeechHistorySortDirection was set.

func (OptNilGetSpeechHistorySortDirection) Or

Or returns value if set, or given parameter if does not.

func (*OptNilGetSpeechHistorySortDirection) Reset

Reset unsets value.

func (*OptNilGetSpeechHistorySortDirection) SetTo

SetTo sets value to v.

func (*OptNilGetSpeechHistorySortDirection) SetToNull

func (o *OptNilGetSpeechHistorySortDirection) SetToNull()

SetToNull sets value to null.

type OptNilGetSpeechHistorySource

type OptNilGetSpeechHistorySource struct {
	Value GetSpeechHistorySource
	Set   bool
	Null  bool
}

OptNilGetSpeechHistorySource is optional nullable GetSpeechHistorySource.

func NewOptNilGetSpeechHistorySource

func NewOptNilGetSpeechHistorySource(v GetSpeechHistorySource) OptNilGetSpeechHistorySource

NewOptNilGetSpeechHistorySource returns new OptNilGetSpeechHistorySource with value set to v.

func (OptNilGetSpeechHistorySource) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilGetSpeechHistorySource) IsNull

IsNull returns true if value is Null.

func (OptNilGetSpeechHistorySource) IsSet

IsSet returns true if OptNilGetSpeechHistorySource was set.

func (OptNilGetSpeechHistorySource) Or

Or returns value if set, or given parameter if does not.

func (*OptNilGetSpeechHistorySource) Reset

func (o *OptNilGetSpeechHistorySource) Reset()

Reset unsets value.

func (*OptNilGetSpeechHistorySource) SetTo

SetTo sets value to v.

func (*OptNilGetSpeechHistorySource) SetToNull

func (o *OptNilGetSpeechHistorySource) SetToNull()

SetToNull sets value to null.

type OptNilInt

type OptNilInt struct {
	Value int
	Set   bool
	Null  bool
}

OptNilInt is optional nullable int.

func NewOptNilInt

func NewOptNilInt(v int) OptNilInt

NewOptNilInt returns new OptNilInt with value set to v.

func (*OptNilInt) Decode

func (o *OptNilInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (OptNilInt) Encode

func (o OptNilInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (OptNilInt) Get

func (o OptNilInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilInt) IsNull

func (o OptNilInt) IsNull() bool

IsNull returns true if value is Null.

func (OptNilInt) IsSet

func (o OptNilInt) IsSet() bool

IsSet returns true if OptNilInt was set.

func (OptNilInt) MarshalJSON

func (s OptNilInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilInt) Or

func (o OptNilInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*OptNilInt) Reset

func (o *OptNilInt) Reset()

Reset unsets value.

func (*OptNilInt) SetTo

func (o *OptNilInt) SetTo(v int)

SetTo sets value to v.

func (*OptNilInt) SetToNull

func (o *OptNilInt) SetToNull()

SetToNull sets value to null.

func (*OptNilInt) UnmarshalJSON

func (s *OptNilInt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilKnowledgeBaseDocumentTypeArray

type OptNilKnowledgeBaseDocumentTypeArray struct {
	Value []KnowledgeBaseDocumentType
	Set   bool
	Null  bool
}

OptNilKnowledgeBaseDocumentTypeArray is optional nullable []KnowledgeBaseDocumentType.

func NewOptNilKnowledgeBaseDocumentTypeArray

func NewOptNilKnowledgeBaseDocumentTypeArray(v []KnowledgeBaseDocumentType) OptNilKnowledgeBaseDocumentTypeArray

NewOptNilKnowledgeBaseDocumentTypeArray returns new OptNilKnowledgeBaseDocumentTypeArray with value set to v.

func (OptNilKnowledgeBaseDocumentTypeArray) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilKnowledgeBaseDocumentTypeArray) IsNull

IsNull returns true if value is Null.

func (OptNilKnowledgeBaseDocumentTypeArray) IsSet

IsSet returns true if OptNilKnowledgeBaseDocumentTypeArray was set.

func (OptNilKnowledgeBaseDocumentTypeArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilKnowledgeBaseDocumentTypeArray) Reset

Reset unsets value.

func (*OptNilKnowledgeBaseDocumentTypeArray) SetTo

SetTo sets value to v.

func (*OptNilKnowledgeBaseDocumentTypeArray) SetToNull

func (o *OptNilKnowledgeBaseDocumentTypeArray) SetToNull()

SetToNull sets value to null.

type OptNilProjectResponseModelAspectRatio

type OptNilProjectResponseModelAspectRatio struct {
	Value ProjectResponseModelAspectRatio
	Set   bool
	Null  bool
}

OptNilProjectResponseModelAspectRatio is optional nullable ProjectResponseModelAspectRatio.

func NewOptNilProjectResponseModelAspectRatio

func NewOptNilProjectResponseModelAspectRatio(v ProjectResponseModelAspectRatio) OptNilProjectResponseModelAspectRatio

NewOptNilProjectResponseModelAspectRatio returns new OptNilProjectResponseModelAspectRatio with value set to v.

func (*OptNilProjectResponseModelAspectRatio) Decode

Decode decodes ProjectResponseModelAspectRatio from json.

func (OptNilProjectResponseModelAspectRatio) Encode

Encode encodes ProjectResponseModelAspectRatio as json.

func (OptNilProjectResponseModelAspectRatio) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilProjectResponseModelAspectRatio) IsNull

IsNull returns true if value is Null.

func (OptNilProjectResponseModelAspectRatio) IsSet

IsSet returns true if OptNilProjectResponseModelAspectRatio was set.

func (OptNilProjectResponseModelAspectRatio) MarshalJSON

func (s OptNilProjectResponseModelAspectRatio) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilProjectResponseModelAspectRatio) Or

Or returns value if set, or given parameter if does not.

func (*OptNilProjectResponseModelAspectRatio) Reset

Reset unsets value.

func (*OptNilProjectResponseModelAspectRatio) SetTo

SetTo sets value to v.

func (*OptNilProjectResponseModelAspectRatio) SetToNull

SetToNull sets value to null.

func (*OptNilProjectResponseModelAspectRatio) UnmarshalJSON

func (s *OptNilProjectResponseModelAspectRatio) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilProjectResponseModelFiction

type OptNilProjectResponseModelFiction struct {
	Value ProjectResponseModelFiction
	Set   bool
	Null  bool
}

OptNilProjectResponseModelFiction is optional nullable ProjectResponseModelFiction.

func NewOptNilProjectResponseModelFiction

func NewOptNilProjectResponseModelFiction(v ProjectResponseModelFiction) OptNilProjectResponseModelFiction

NewOptNilProjectResponseModelFiction returns new OptNilProjectResponseModelFiction with value set to v.

func (*OptNilProjectResponseModelFiction) Decode

Decode decodes ProjectResponseModelFiction from json.

func (OptNilProjectResponseModelFiction) Encode

Encode encodes ProjectResponseModelFiction as json.

func (OptNilProjectResponseModelFiction) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilProjectResponseModelFiction) IsNull

IsNull returns true if value is Null.

func (OptNilProjectResponseModelFiction) IsSet

IsSet returns true if OptNilProjectResponseModelFiction was set.

func (OptNilProjectResponseModelFiction) MarshalJSON

func (s OptNilProjectResponseModelFiction) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilProjectResponseModelFiction) Or

Or returns value if set, or given parameter if does not.

func (*OptNilProjectResponseModelFiction) Reset

Reset unsets value.

func (*OptNilProjectResponseModelFiction) SetTo

SetTo sets value to v.

func (*OptNilProjectResponseModelFiction) SetToNull

func (o *OptNilProjectResponseModelFiction) SetToNull()

SetToNull sets value to null.

func (*OptNilProjectResponseModelFiction) UnmarshalJSON

func (s *OptNilProjectResponseModelFiction) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilProjectResponseModelSourceType

type OptNilProjectResponseModelSourceType struct {
	Value ProjectResponseModelSourceType
	Set   bool
	Null  bool
}

OptNilProjectResponseModelSourceType is optional nullable ProjectResponseModelSourceType.

func NewOptNilProjectResponseModelSourceType

func NewOptNilProjectResponseModelSourceType(v ProjectResponseModelSourceType) OptNilProjectResponseModelSourceType

NewOptNilProjectResponseModelSourceType returns new OptNilProjectResponseModelSourceType with value set to v.

func (*OptNilProjectResponseModelSourceType) Decode

Decode decodes ProjectResponseModelSourceType from json.

func (OptNilProjectResponseModelSourceType) Encode

Encode encodes ProjectResponseModelSourceType as json.

func (OptNilProjectResponseModelSourceType) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilProjectResponseModelSourceType) IsNull

IsNull returns true if value is Null.

func (OptNilProjectResponseModelSourceType) IsSet

IsSet returns true if OptNilProjectResponseModelSourceType was set.

func (OptNilProjectResponseModelSourceType) MarshalJSON

func (s OptNilProjectResponseModelSourceType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilProjectResponseModelSourceType) Or

Or returns value if set, or given parameter if does not.

func (*OptNilProjectResponseModelSourceType) Reset

Reset unsets value.

func (*OptNilProjectResponseModelSourceType) SetTo

SetTo sets value to v.

func (*OptNilProjectResponseModelSourceType) SetToNull

func (o *OptNilProjectResponseModelSourceType) SetToNull()

SetToNull sets value to null.

func (*OptNilProjectResponseModelSourceType) UnmarshalJSON

func (s *OptNilProjectResponseModelSourceType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilProjectResponseModelTargetAudience

type OptNilProjectResponseModelTargetAudience struct {
	Value ProjectResponseModelTargetAudience
	Set   bool
	Null  bool
}

OptNilProjectResponseModelTargetAudience is optional nullable ProjectResponseModelTargetAudience.

func NewOptNilProjectResponseModelTargetAudience

func NewOptNilProjectResponseModelTargetAudience(v ProjectResponseModelTargetAudience) OptNilProjectResponseModelTargetAudience

NewOptNilProjectResponseModelTargetAudience returns new OptNilProjectResponseModelTargetAudience with value set to v.

func (*OptNilProjectResponseModelTargetAudience) Decode

Decode decodes ProjectResponseModelTargetAudience from json.

func (OptNilProjectResponseModelTargetAudience) Encode

Encode encodes ProjectResponseModelTargetAudience as json.

func (OptNilProjectResponseModelTargetAudience) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilProjectResponseModelTargetAudience) IsNull

IsNull returns true if value is Null.

func (OptNilProjectResponseModelTargetAudience) IsSet

IsSet returns true if OptNilProjectResponseModelTargetAudience was set.

func (OptNilProjectResponseModelTargetAudience) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilProjectResponseModelTargetAudience) Or

Or returns value if set, or given parameter if does not.

func (*OptNilProjectResponseModelTargetAudience) Reset

Reset unsets value.

func (*OptNilProjectResponseModelTargetAudience) SetTo

SetTo sets value to v.

func (*OptNilProjectResponseModelTargetAudience) SetToNull

SetToNull sets value to null.

func (*OptNilProjectResponseModelTargetAudience) UnmarshalJSON

func (s *OptNilProjectResponseModelTargetAudience) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilPronunciationDictionaryVersionLocatorRequestModelArray

type OptNilPronunciationDictionaryVersionLocatorRequestModelArray struct {
	Value []PronunciationDictionaryVersionLocatorRequestModel
	Set   bool
	Null  bool
}

OptNilPronunciationDictionaryVersionLocatorRequestModelArray is optional nullable []PronunciationDictionaryVersionLocatorRequestModel.

func NewOptNilPronunciationDictionaryVersionLocatorRequestModelArray

func NewOptNilPronunciationDictionaryVersionLocatorRequestModelArray(v []PronunciationDictionaryVersionLocatorRequestModel) OptNilPronunciationDictionaryVersionLocatorRequestModelArray

NewOptNilPronunciationDictionaryVersionLocatorRequestModelArray returns new OptNilPronunciationDictionaryVersionLocatorRequestModelArray with value set to v.

func (*OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Decode

Decode decodes []PronunciationDictionaryVersionLocatorRequestModel from json.

func (OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Encode

Encode encodes []PronunciationDictionaryVersionLocatorRequestModel as json.

func (OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilPronunciationDictionaryVersionLocatorRequestModelArray) IsNull

IsNull returns true if value is Null.

func (OptNilPronunciationDictionaryVersionLocatorRequestModelArray) IsSet

IsSet returns true if OptNilPronunciationDictionaryVersionLocatorRequestModelArray was set.

func (OptNilPronunciationDictionaryVersionLocatorRequestModelArray) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Reset

Reset unsets value.

func (*OptNilPronunciationDictionaryVersionLocatorRequestModelArray) SetTo

SetTo sets value to v.

func (*OptNilPronunciationDictionaryVersionLocatorRequestModelArray) SetToNull

SetToNull sets value to null.

func (*OptNilPronunciationDictionaryVersionLocatorRequestModelArray) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilReaderResourceResponseModelArray

type OptNilReaderResourceResponseModelArray struct {
	Value []ReaderResourceResponseModel
	Set   bool
	Null  bool
}

OptNilReaderResourceResponseModelArray is optional nullable []ReaderResourceResponseModel.

func NewOptNilReaderResourceResponseModelArray

func NewOptNilReaderResourceResponseModelArray(v []ReaderResourceResponseModel) OptNilReaderResourceResponseModelArray

NewOptNilReaderResourceResponseModelArray returns new OptNilReaderResourceResponseModelArray with value set to v.

func (*OptNilReaderResourceResponseModelArray) Decode

Decode decodes []ReaderResourceResponseModel from json.

func (OptNilReaderResourceResponseModelArray) Encode

Encode encodes []ReaderResourceResponseModel as json.

func (OptNilReaderResourceResponseModelArray) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilReaderResourceResponseModelArray) IsNull

IsNull returns true if value is Null.

func (OptNilReaderResourceResponseModelArray) IsSet

IsSet returns true if OptNilReaderResourceResponseModelArray was set.

func (OptNilReaderResourceResponseModelArray) MarshalJSON

func (s OptNilReaderResourceResponseModelArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilReaderResourceResponseModelArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilReaderResourceResponseModelArray) Reset

Reset unsets value.

func (*OptNilReaderResourceResponseModelArray) SetTo

SetTo sets value to v.

func (*OptNilReaderResourceResponseModelArray) SetToNull

SetToNull sets value to null.

func (*OptNilReaderResourceResponseModelArray) UnmarshalJSON

func (s *OptNilReaderResourceResponseModelArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilSampleResponseModelArray

type OptNilSampleResponseModelArray struct {
	Value []SampleResponseModel
	Set   bool
	Null  bool
}

OptNilSampleResponseModelArray is optional nullable []SampleResponseModel.

func NewOptNilSampleResponseModelArray

func NewOptNilSampleResponseModelArray(v []SampleResponseModel) OptNilSampleResponseModelArray

NewOptNilSampleResponseModelArray returns new OptNilSampleResponseModelArray with value set to v.

func (*OptNilSampleResponseModelArray) Decode

Decode decodes []SampleResponseModel from json.

func (OptNilSampleResponseModelArray) Encode

Encode encodes []SampleResponseModel as json.

func (OptNilSampleResponseModelArray) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilSampleResponseModelArray) IsNull

IsNull returns true if value is Null.

func (OptNilSampleResponseModelArray) IsSet

IsSet returns true if OptNilSampleResponseModelArray was set.

func (OptNilSampleResponseModelArray) MarshalJSON

func (s OptNilSampleResponseModelArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilSampleResponseModelArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilSampleResponseModelArray) Reset

func (o *OptNilSampleResponseModelArray) Reset()

Reset unsets value.

func (*OptNilSampleResponseModelArray) SetTo

SetTo sets value to v.

func (*OptNilSampleResponseModelArray) SetToNull

func (o *OptNilSampleResponseModelArray) SetToNull()

SetToNull sets value to null.

func (*OptNilSampleResponseModelArray) UnmarshalJSON

func (s *OptNilSampleResponseModelArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilSegmentCreatePayloadTranslations

type OptNilSegmentCreatePayloadTranslations struct {
	Value SegmentCreatePayloadTranslations
	Set   bool
	Null  bool
}

OptNilSegmentCreatePayloadTranslations is optional nullable SegmentCreatePayloadTranslations.

func NewOptNilSegmentCreatePayloadTranslations

func NewOptNilSegmentCreatePayloadTranslations(v SegmentCreatePayloadTranslations) OptNilSegmentCreatePayloadTranslations

NewOptNilSegmentCreatePayloadTranslations returns new OptNilSegmentCreatePayloadTranslations with value set to v.

func (*OptNilSegmentCreatePayloadTranslations) Decode

Decode decodes SegmentCreatePayloadTranslations from json.

func (OptNilSegmentCreatePayloadTranslations) Encode

Encode encodes SegmentCreatePayloadTranslations as json.

func (OptNilSegmentCreatePayloadTranslations) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilSegmentCreatePayloadTranslations) IsNull

IsNull returns true if value is Null.

func (OptNilSegmentCreatePayloadTranslations) IsSet

IsSet returns true if OptNilSegmentCreatePayloadTranslations was set.

func (OptNilSegmentCreatePayloadTranslations) MarshalJSON

func (s OptNilSegmentCreatePayloadTranslations) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilSegmentCreatePayloadTranslations) Or

Or returns value if set, or given parameter if does not.

func (*OptNilSegmentCreatePayloadTranslations) Reset

Reset unsets value.

func (*OptNilSegmentCreatePayloadTranslations) SetTo

SetTo sets value to v.

func (*OptNilSegmentCreatePayloadTranslations) SetToNull

SetToNull sets value to null.

func (*OptNilSegmentCreatePayloadTranslations) UnmarshalJSON

func (s *OptNilSegmentCreatePayloadTranslations) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilSpeakerSeparationResponseModelSpeakers

type OptNilSpeakerSeparationResponseModelSpeakers struct {
	Value SpeakerSeparationResponseModelSpeakers
	Set   bool
	Null  bool
}

OptNilSpeakerSeparationResponseModelSpeakers is optional nullable SpeakerSeparationResponseModelSpeakers.

func NewOptNilSpeakerSeparationResponseModelSpeakers

func NewOptNilSpeakerSeparationResponseModelSpeakers(v SpeakerSeparationResponseModelSpeakers) OptNilSpeakerSeparationResponseModelSpeakers

NewOptNilSpeakerSeparationResponseModelSpeakers returns new OptNilSpeakerSeparationResponseModelSpeakers with value set to v.

func (*OptNilSpeakerSeparationResponseModelSpeakers) Decode

Decode decodes SpeakerSeparationResponseModelSpeakers from json.

func (OptNilSpeakerSeparationResponseModelSpeakers) Encode

Encode encodes SpeakerSeparationResponseModelSpeakers as json.

func (OptNilSpeakerSeparationResponseModelSpeakers) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilSpeakerSeparationResponseModelSpeakers) IsNull

IsNull returns true if value is Null.

func (OptNilSpeakerSeparationResponseModelSpeakers) IsSet

IsSet returns true if OptNilSpeakerSeparationResponseModelSpeakers was set.

func (OptNilSpeakerSeparationResponseModelSpeakers) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilSpeakerSeparationResponseModelSpeakers) Or

Or returns value if set, or given parameter if does not.

func (*OptNilSpeakerSeparationResponseModelSpeakers) Reset

Reset unsets value.

func (*OptNilSpeakerSeparationResponseModelSpeakers) SetTo

SetTo sets value to v.

func (*OptNilSpeakerSeparationResponseModelSpeakers) SetToNull

SetToNull sets value to null.

func (*OptNilSpeakerSeparationResponseModelSpeakers) UnmarshalJSON

func (s *OptNilSpeakerSeparationResponseModelSpeakers) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilSpeechHistoryItemResponseModelSource

type OptNilSpeechHistoryItemResponseModelSource struct {
	Value SpeechHistoryItemResponseModelSource
	Set   bool
	Null  bool
}

OptNilSpeechHistoryItemResponseModelSource is optional nullable SpeechHistoryItemResponseModelSource.

func NewOptNilSpeechHistoryItemResponseModelSource

func NewOptNilSpeechHistoryItemResponseModelSource(v SpeechHistoryItemResponseModelSource) OptNilSpeechHistoryItemResponseModelSource

NewOptNilSpeechHistoryItemResponseModelSource returns new OptNilSpeechHistoryItemResponseModelSource with value set to v.

func (*OptNilSpeechHistoryItemResponseModelSource) Decode

Decode decodes SpeechHistoryItemResponseModelSource from json.

func (OptNilSpeechHistoryItemResponseModelSource) Encode

Encode encodes SpeechHistoryItemResponseModelSource as json.

func (OptNilSpeechHistoryItemResponseModelSource) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilSpeechHistoryItemResponseModelSource) IsNull

IsNull returns true if value is Null.

func (OptNilSpeechHistoryItemResponseModelSource) IsSet

IsSet returns true if OptNilSpeechHistoryItemResponseModelSource was set.

func (OptNilSpeechHistoryItemResponseModelSource) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilSpeechHistoryItemResponseModelSource) Or

Or returns value if set, or given parameter if does not.

func (*OptNilSpeechHistoryItemResponseModelSource) Reset

Reset unsets value.

func (*OptNilSpeechHistoryItemResponseModelSource) SetTo

SetTo sets value to v.

func (*OptNilSpeechHistoryItemResponseModelSource) SetToNull

SetToNull sets value to null.

func (*OptNilSpeechHistoryItemResponseModelSource) UnmarshalJSON

func (s *OptNilSpeechHistoryItemResponseModelSource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilSpeechHistoryItemResponseModelVoiceCategory

type OptNilSpeechHistoryItemResponseModelVoiceCategory struct {
	Value SpeechHistoryItemResponseModelVoiceCategory
	Set   bool
	Null  bool
}

OptNilSpeechHistoryItemResponseModelVoiceCategory is optional nullable SpeechHistoryItemResponseModelVoiceCategory.

func NewOptNilSpeechHistoryItemResponseModelVoiceCategory

func NewOptNilSpeechHistoryItemResponseModelVoiceCategory(v SpeechHistoryItemResponseModelVoiceCategory) OptNilSpeechHistoryItemResponseModelVoiceCategory

NewOptNilSpeechHistoryItemResponseModelVoiceCategory returns new OptNilSpeechHistoryItemResponseModelVoiceCategory with value set to v.

func (*OptNilSpeechHistoryItemResponseModelVoiceCategory) Decode

Decode decodes SpeechHistoryItemResponseModelVoiceCategory from json.

func (OptNilSpeechHistoryItemResponseModelVoiceCategory) Encode

Encode encodes SpeechHistoryItemResponseModelVoiceCategory as json.

func (OptNilSpeechHistoryItemResponseModelVoiceCategory) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilSpeechHistoryItemResponseModelVoiceCategory) IsNull

IsNull returns true if value is Null.

func (OptNilSpeechHistoryItemResponseModelVoiceCategory) IsSet

IsSet returns true if OptNilSpeechHistoryItemResponseModelVoiceCategory was set.

func (OptNilSpeechHistoryItemResponseModelVoiceCategory) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilSpeechHistoryItemResponseModelVoiceCategory) Or

Or returns value if set, or given parameter if does not.

func (*OptNilSpeechHistoryItemResponseModelVoiceCategory) Reset

Reset unsets value.

func (*OptNilSpeechHistoryItemResponseModelVoiceCategory) SetTo

SetTo sets value to v.

func (*OptNilSpeechHistoryItemResponseModelVoiceCategory) SetToNull

SetToNull sets value to null.

func (*OptNilSpeechHistoryItemResponseModelVoiceCategory) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilSpeechToTextCharacterResponseModelArray

type OptNilSpeechToTextCharacterResponseModelArray struct {
	Value []SpeechToTextCharacterResponseModel
	Set   bool
	Null  bool
}

OptNilSpeechToTextCharacterResponseModelArray is optional nullable []SpeechToTextCharacterResponseModel.

func NewOptNilSpeechToTextCharacterResponseModelArray

func NewOptNilSpeechToTextCharacterResponseModelArray(v []SpeechToTextCharacterResponseModel) OptNilSpeechToTextCharacterResponseModelArray

NewOptNilSpeechToTextCharacterResponseModelArray returns new OptNilSpeechToTextCharacterResponseModelArray with value set to v.

func (*OptNilSpeechToTextCharacterResponseModelArray) Decode

Decode decodes []SpeechToTextCharacterResponseModel from json.

func (OptNilSpeechToTextCharacterResponseModelArray) Encode

Encode encodes []SpeechToTextCharacterResponseModel as json.

func (OptNilSpeechToTextCharacterResponseModelArray) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilSpeechToTextCharacterResponseModelArray) IsNull

IsNull returns true if value is Null.

func (OptNilSpeechToTextCharacterResponseModelArray) IsSet

IsSet returns true if OptNilSpeechToTextCharacterResponseModelArray was set.

func (OptNilSpeechToTextCharacterResponseModelArray) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilSpeechToTextCharacterResponseModelArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilSpeechToTextCharacterResponseModelArray) Reset

Reset unsets value.

func (*OptNilSpeechToTextCharacterResponseModelArray) SetTo

SetTo sets value to v.

func (*OptNilSpeechToTextCharacterResponseModelArray) SetToNull

SetToNull sets value to null.

func (*OptNilSpeechToTextCharacterResponseModelArray) UnmarshalJSON

func (s *OptNilSpeechToTextCharacterResponseModelArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilString

type OptNilString struct {
	Value string
	Set   bool
	Null  bool
}

OptNilString is optional nullable string.

func NewOptNilString

func NewOptNilString(v string) OptNilString

NewOptNilString returns new OptNilString with value set to v.

func (*OptNilString) Decode

func (o *OptNilString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptNilString) Encode

func (o OptNilString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptNilString) Get

func (o OptNilString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilString) IsNull

func (o OptNilString) IsNull() bool

IsNull returns true if value is Null.

func (OptNilString) IsSet

func (o OptNilString) IsSet() bool

IsSet returns true if OptNilString was set.

func (OptNilString) MarshalJSON

func (s OptNilString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilString) Or

func (o OptNilString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptNilString) Reset

func (o *OptNilString) Reset()

Reset unsets value.

func (*OptNilString) SetTo

func (o *OptNilString) SetTo(v string)

SetTo sets value to v.

func (*OptNilString) SetToNull

func (o *OptNilString) SetToNull()

SetToNull sets value to null.

func (*OptNilString) UnmarshalJSON

func (s *OptNilString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilStringArray

type OptNilStringArray struct {
	Value []string
	Set   bool
	Null  bool
}

OptNilStringArray is optional nullable []string.

func NewOptNilStringArray

func NewOptNilStringArray(v []string) OptNilStringArray

NewOptNilStringArray returns new OptNilStringArray with value set to v.

func (*OptNilStringArray) Decode

func (o *OptNilStringArray) Decode(d *jx.Decoder) error

Decode decodes []string from json.

func (OptNilStringArray) Encode

func (o OptNilStringArray) Encode(e *jx.Encoder)

Encode encodes []string as json.

func (OptNilStringArray) Get

func (o OptNilStringArray) Get() (v []string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilStringArray) IsNull

func (o OptNilStringArray) IsNull() bool

IsNull returns true if value is Null.

func (OptNilStringArray) IsSet

func (o OptNilStringArray) IsSet() bool

IsSet returns true if OptNilStringArray was set.

func (OptNilStringArray) MarshalJSON

func (s OptNilStringArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilStringArray) Or

func (o OptNilStringArray) Or(d []string) []string

Or returns value if set, or given parameter if does not.

func (*OptNilStringArray) Reset

func (o *OptNilStringArray) Reset()

Reset unsets value.

func (*OptNilStringArray) SetTo

func (o *OptNilStringArray) SetTo(v []string)

SetTo sets value to v.

func (*OptNilStringArray) SetToNull

func (o *OptNilStringArray) SetToNull()

SetToNull sets value to null.

func (*OptNilStringArray) UnmarshalJSON

func (s *OptNilStringArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilSubscriptionResponseModelCurrency

type OptNilSubscriptionResponseModelCurrency struct {
	Value SubscriptionResponseModelCurrency
	Set   bool
	Null  bool
}

OptNilSubscriptionResponseModelCurrency is optional nullable SubscriptionResponseModelCurrency.

func NewOptNilSubscriptionResponseModelCurrency

func NewOptNilSubscriptionResponseModelCurrency(v SubscriptionResponseModelCurrency) OptNilSubscriptionResponseModelCurrency

NewOptNilSubscriptionResponseModelCurrency returns new OptNilSubscriptionResponseModelCurrency with value set to v.

func (*OptNilSubscriptionResponseModelCurrency) Decode

Decode decodes SubscriptionResponseModelCurrency from json.

func (OptNilSubscriptionResponseModelCurrency) Encode

Encode encodes SubscriptionResponseModelCurrency as json.

func (OptNilSubscriptionResponseModelCurrency) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilSubscriptionResponseModelCurrency) IsNull

IsNull returns true if value is Null.

func (OptNilSubscriptionResponseModelCurrency) IsSet

IsSet returns true if OptNilSubscriptionResponseModelCurrency was set.

func (OptNilSubscriptionResponseModelCurrency) MarshalJSON

func (s OptNilSubscriptionResponseModelCurrency) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilSubscriptionResponseModelCurrency) Or

Or returns value if set, or given parameter if does not.

func (*OptNilSubscriptionResponseModelCurrency) Reset

Reset unsets value.

func (*OptNilSubscriptionResponseModelCurrency) SetTo

SetTo sets value to v.

func (*OptNilSubscriptionResponseModelCurrency) SetToNull

SetToNull sets value to null.

func (*OptNilSubscriptionResponseModelCurrency) UnmarshalJSON

func (s *OptNilSubscriptionResponseModelCurrency) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilUtteranceResponseModelArray

type OptNilUtteranceResponseModelArray struct {
	Value []UtteranceResponseModel
	Set   bool
	Null  bool
}

OptNilUtteranceResponseModelArray is optional nullable []UtteranceResponseModel.

func NewOptNilUtteranceResponseModelArray

func NewOptNilUtteranceResponseModelArray(v []UtteranceResponseModel) OptNilUtteranceResponseModelArray

NewOptNilUtteranceResponseModelArray returns new OptNilUtteranceResponseModelArray with value set to v.

func (*OptNilUtteranceResponseModelArray) Decode

Decode decodes []UtteranceResponseModel from json.

func (OptNilUtteranceResponseModelArray) Encode

Encode encodes []UtteranceResponseModel as json.

func (OptNilUtteranceResponseModelArray) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilUtteranceResponseModelArray) IsNull

IsNull returns true if value is Null.

func (OptNilUtteranceResponseModelArray) IsSet

IsSet returns true if OptNilUtteranceResponseModelArray was set.

func (OptNilUtteranceResponseModelArray) MarshalJSON

func (s OptNilUtteranceResponseModelArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilUtteranceResponseModelArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilUtteranceResponseModelArray) Reset

Reset unsets value.

func (*OptNilUtteranceResponseModelArray) SetTo

SetTo sets value to v.

func (*OptNilUtteranceResponseModelArray) SetToNull

func (o *OptNilUtteranceResponseModelArray) SetToNull()

SetToNull sets value to null.

func (*OptNilUtteranceResponseModelArray) UnmarshalJSON

func (s *OptNilUtteranceResponseModelArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilVerificationAttemptResponseModelArray

type OptNilVerificationAttemptResponseModelArray struct {
	Value []VerificationAttemptResponseModel
	Set   bool
	Null  bool
}

OptNilVerificationAttemptResponseModelArray is optional nullable []VerificationAttemptResponseModel.

func NewOptNilVerificationAttemptResponseModelArray

func NewOptNilVerificationAttemptResponseModelArray(v []VerificationAttemptResponseModel) OptNilVerificationAttemptResponseModelArray

NewOptNilVerificationAttemptResponseModelArray returns new OptNilVerificationAttemptResponseModelArray with value set to v.

func (*OptNilVerificationAttemptResponseModelArray) Decode

Decode decodes []VerificationAttemptResponseModel from json.

func (OptNilVerificationAttemptResponseModelArray) Encode

Encode encodes []VerificationAttemptResponseModel as json.

func (OptNilVerificationAttemptResponseModelArray) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilVerificationAttemptResponseModelArray) IsNull

IsNull returns true if value is Null.

func (OptNilVerificationAttemptResponseModelArray) IsSet

IsSet returns true if OptNilVerificationAttemptResponseModelArray was set.

func (OptNilVerificationAttemptResponseModelArray) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilVerificationAttemptResponseModelArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilVerificationAttemptResponseModelArray) Reset

Reset unsets value.

func (*OptNilVerificationAttemptResponseModelArray) SetTo

SetTo sets value to v.

func (*OptNilVerificationAttemptResponseModelArray) SetToNull

SetToNull sets value to null.

func (*OptNilVerificationAttemptResponseModelArray) UnmarshalJSON

func (s *OptNilVerificationAttemptResponseModelArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilVerifiedVoiceLanguageResponseModelArray

type OptNilVerifiedVoiceLanguageResponseModelArray struct {
	Value []VerifiedVoiceLanguageResponseModel
	Set   bool
	Null  bool
}

OptNilVerifiedVoiceLanguageResponseModelArray is optional nullable []VerifiedVoiceLanguageResponseModel.

func NewOptNilVerifiedVoiceLanguageResponseModelArray

func NewOptNilVerifiedVoiceLanguageResponseModelArray(v []VerifiedVoiceLanguageResponseModel) OptNilVerifiedVoiceLanguageResponseModelArray

NewOptNilVerifiedVoiceLanguageResponseModelArray returns new OptNilVerifiedVoiceLanguageResponseModelArray with value set to v.

func (*OptNilVerifiedVoiceLanguageResponseModelArray) Decode

Decode decodes []VerifiedVoiceLanguageResponseModel from json.

func (OptNilVerifiedVoiceLanguageResponseModelArray) Encode

Encode encodes []VerifiedVoiceLanguageResponseModel as json.

func (OptNilVerifiedVoiceLanguageResponseModelArray) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilVerifiedVoiceLanguageResponseModelArray) IsNull

IsNull returns true if value is Null.

func (OptNilVerifiedVoiceLanguageResponseModelArray) IsSet

IsSet returns true if OptNilVerifiedVoiceLanguageResponseModelArray was set.

func (OptNilVerifiedVoiceLanguageResponseModelArray) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilVerifiedVoiceLanguageResponseModelArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilVerifiedVoiceLanguageResponseModelArray) Reset

Reset unsets value.

func (*OptNilVerifiedVoiceLanguageResponseModelArray) SetTo

SetTo sets value to v.

func (*OptNilVerifiedVoiceLanguageResponseModelArray) SetToNull

SetToNull sets value to null.

func (*OptNilVerifiedVoiceLanguageResponseModelArray) UnmarshalJSON

func (s *OptNilVerifiedVoiceLanguageResponseModelArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilVoiceResponseModelSafetyControl

type OptNilVoiceResponseModelSafetyControl struct {
	Value VoiceResponseModelSafetyControl
	Set   bool
	Null  bool
}

OptNilVoiceResponseModelSafetyControl is optional nullable VoiceResponseModelSafetyControl.

func NewOptNilVoiceResponseModelSafetyControl

func NewOptNilVoiceResponseModelSafetyControl(v VoiceResponseModelSafetyControl) OptNilVoiceResponseModelSafetyControl

NewOptNilVoiceResponseModelSafetyControl returns new OptNilVoiceResponseModelSafetyControl with value set to v.

func (*OptNilVoiceResponseModelSafetyControl) Decode

Decode decodes VoiceResponseModelSafetyControl from json.

func (OptNilVoiceResponseModelSafetyControl) Encode

Encode encodes VoiceResponseModelSafetyControl as json.

func (OptNilVoiceResponseModelSafetyControl) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilVoiceResponseModelSafetyControl) IsNull

IsNull returns true if value is Null.

func (OptNilVoiceResponseModelSafetyControl) IsSet

IsSet returns true if OptNilVoiceResponseModelSafetyControl was set.

func (OptNilVoiceResponseModelSafetyControl) MarshalJSON

func (s OptNilVoiceResponseModelSafetyControl) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilVoiceResponseModelSafetyControl) Or

Or returns value if set, or given parameter if does not.

func (*OptNilVoiceResponseModelSafetyControl) Reset

Reset unsets value.

func (*OptNilVoiceResponseModelSafetyControl) SetTo

SetTo sets value to v.

func (*OptNilVoiceResponseModelSafetyControl) SetToNull

SetToNull sets value to null.

func (*OptNilVoiceResponseModelSafetyControl) UnmarshalJSON

func (s *OptNilVoiceResponseModelSafetyControl) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilWorkspaceApiKeyResponseModelPermissionsItemArray

type OptNilWorkspaceApiKeyResponseModelPermissionsItemArray struct {
	Value []WorkspaceApiKeyResponseModelPermissionsItem
	Set   bool
	Null  bool
}

OptNilWorkspaceApiKeyResponseModelPermissionsItemArray is optional nullable []WorkspaceApiKeyResponseModelPermissionsItem.

func NewOptNilWorkspaceApiKeyResponseModelPermissionsItemArray

func NewOptNilWorkspaceApiKeyResponseModelPermissionsItemArray(v []WorkspaceApiKeyResponseModelPermissionsItem) OptNilWorkspaceApiKeyResponseModelPermissionsItemArray

NewOptNilWorkspaceApiKeyResponseModelPermissionsItemArray returns new OptNilWorkspaceApiKeyResponseModelPermissionsItemArray with value set to v.

func (*OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Decode

Decode decodes []WorkspaceApiKeyResponseModelPermissionsItem from json.

func (OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Encode

Encode encodes []WorkspaceApiKeyResponseModelPermissionsItem as json.

func (OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) IsNull

IsNull returns true if value is Null.

func (OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) IsSet

IsSet returns true if OptNilWorkspaceApiKeyResponseModelPermissionsItemArray was set.

func (OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Reset

Reset unsets value.

func (*OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) SetTo

SetTo sets value to v.

func (*OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) SetToNull

SetToNull sets value to null.

func (*OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilWorkspaceWebhookUsageResponseModelArray

type OptNilWorkspaceWebhookUsageResponseModelArray struct {
	Value []WorkspaceWebhookUsageResponseModel
	Set   bool
	Null  bool
}

OptNilWorkspaceWebhookUsageResponseModelArray is optional nullable []WorkspaceWebhookUsageResponseModel.

func NewOptNilWorkspaceWebhookUsageResponseModelArray

func NewOptNilWorkspaceWebhookUsageResponseModelArray(v []WorkspaceWebhookUsageResponseModel) OptNilWorkspaceWebhookUsageResponseModelArray

NewOptNilWorkspaceWebhookUsageResponseModelArray returns new OptNilWorkspaceWebhookUsageResponseModelArray with value set to v.

func (*OptNilWorkspaceWebhookUsageResponseModelArray) Decode

Decode decodes []WorkspaceWebhookUsageResponseModel from json.

func (OptNilWorkspaceWebhookUsageResponseModelArray) Encode

Encode encodes []WorkspaceWebhookUsageResponseModel as json.

func (OptNilWorkspaceWebhookUsageResponseModelArray) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilWorkspaceWebhookUsageResponseModelArray) IsNull

IsNull returns true if value is Null.

func (OptNilWorkspaceWebhookUsageResponseModelArray) IsSet

IsSet returns true if OptNilWorkspaceWebhookUsageResponseModelArray was set.

func (OptNilWorkspaceWebhookUsageResponseModelArray) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptNilWorkspaceWebhookUsageResponseModelArray) Or

Or returns value if set, or given parameter if does not.

func (*OptNilWorkspaceWebhookUsageResponseModelArray) Reset

Reset unsets value.

func (*OptNilWorkspaceWebhookUsageResponseModelArray) SetTo

SetTo sets value to v.

func (*OptNilWorkspaceWebhookUsageResponseModelArray) SetToNull

SetToNull sets value to null.

func (*OptNilWorkspaceWebhookUsageResponseModelArray) UnmarshalJSON

func (s *OptNilWorkspaceWebhookUsageResponseModelArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptOutboundSIPTrunkConfigRequestModel

type OptOutboundSIPTrunkConfigRequestModel struct {
	Value OutboundSIPTrunkConfigRequestModel
	Set   bool
}

OptOutboundSIPTrunkConfigRequestModel is optional OutboundSIPTrunkConfigRequestModel.

func NewOptOutboundSIPTrunkConfigRequestModel

func NewOptOutboundSIPTrunkConfigRequestModel(v OutboundSIPTrunkConfigRequestModel) OptOutboundSIPTrunkConfigRequestModel

NewOptOutboundSIPTrunkConfigRequestModel returns new OptOutboundSIPTrunkConfigRequestModel with value set to v.

func (*OptOutboundSIPTrunkConfigRequestModel) Decode

Decode decodes OutboundSIPTrunkConfigRequestModel from json.

func (OptOutboundSIPTrunkConfigRequestModel) Encode

Encode encodes OutboundSIPTrunkConfigRequestModel as json.

func (OptOutboundSIPTrunkConfigRequestModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptOutboundSIPTrunkConfigRequestModel) IsSet

IsSet returns true if OptOutboundSIPTrunkConfigRequestModel was set.

func (OptOutboundSIPTrunkConfigRequestModel) MarshalJSON

func (s OptOutboundSIPTrunkConfigRequestModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptOutboundSIPTrunkConfigRequestModel) Or

Or returns value if set, or given parameter if does not.

func (*OptOutboundSIPTrunkConfigRequestModel) Reset

Reset unsets value.

func (*OptOutboundSIPTrunkConfigRequestModel) SetTo

SetTo sets value to v.

func (*OptOutboundSIPTrunkConfigRequestModel) UnmarshalJSON

func (s *OptOutboundSIPTrunkConfigRequestModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptOutboundSIPTrunkConfigRequestModelHeaders

type OptOutboundSIPTrunkConfigRequestModelHeaders struct {
	Value OutboundSIPTrunkConfigRequestModelHeaders
	Set   bool
}

OptOutboundSIPTrunkConfigRequestModelHeaders is optional OutboundSIPTrunkConfigRequestModelHeaders.

func NewOptOutboundSIPTrunkConfigRequestModelHeaders

func NewOptOutboundSIPTrunkConfigRequestModelHeaders(v OutboundSIPTrunkConfigRequestModelHeaders) OptOutboundSIPTrunkConfigRequestModelHeaders

NewOptOutboundSIPTrunkConfigRequestModelHeaders returns new OptOutboundSIPTrunkConfigRequestModelHeaders with value set to v.

func (*OptOutboundSIPTrunkConfigRequestModelHeaders) Decode

Decode decodes OutboundSIPTrunkConfigRequestModelHeaders from json.

func (OptOutboundSIPTrunkConfigRequestModelHeaders) Encode

Encode encodes OutboundSIPTrunkConfigRequestModelHeaders as json.

func (OptOutboundSIPTrunkConfigRequestModelHeaders) Get

Get returns value and boolean that denotes whether value was set.

func (OptOutboundSIPTrunkConfigRequestModelHeaders) IsSet

IsSet returns true if OptOutboundSIPTrunkConfigRequestModelHeaders was set.

func (OptOutboundSIPTrunkConfigRequestModelHeaders) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptOutboundSIPTrunkConfigRequestModelHeaders) Or

Or returns value if set, or given parameter if does not.

func (*OptOutboundSIPTrunkConfigRequestModelHeaders) Reset

Reset unsets value.

func (*OptOutboundSIPTrunkConfigRequestModelHeaders) SetTo

SetTo sets value to v.

func (*OptOutboundSIPTrunkConfigRequestModelHeaders) UnmarshalJSON

func (s *OptOutboundSIPTrunkConfigRequestModelHeaders) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPhoneNumberAgentInfo

type OptPhoneNumberAgentInfo struct {
	Value PhoneNumberAgentInfo
	Set   bool
}

OptPhoneNumberAgentInfo is optional PhoneNumberAgentInfo.

func NewOptPhoneNumberAgentInfo

func NewOptPhoneNumberAgentInfo(v PhoneNumberAgentInfo) OptPhoneNumberAgentInfo

NewOptPhoneNumberAgentInfo returns new OptPhoneNumberAgentInfo with value set to v.

func (*OptPhoneNumberAgentInfo) Decode

func (o *OptPhoneNumberAgentInfo) Decode(d *jx.Decoder) error

Decode decodes PhoneNumberAgentInfo from json.

func (OptPhoneNumberAgentInfo) Encode

func (o OptPhoneNumberAgentInfo) Encode(e *jx.Encoder)

Encode encodes PhoneNumberAgentInfo as json.

func (OptPhoneNumberAgentInfo) Get

Get returns value and boolean that denotes whether value was set.

func (OptPhoneNumberAgentInfo) IsSet

func (o OptPhoneNumberAgentInfo) IsSet() bool

IsSet returns true if OptPhoneNumberAgentInfo was set.

func (OptPhoneNumberAgentInfo) MarshalJSON

func (s OptPhoneNumberAgentInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPhoneNumberAgentInfo) Or

Or returns value if set, or given parameter if does not.

func (*OptPhoneNumberAgentInfo) Reset

func (o *OptPhoneNumberAgentInfo) Reset()

Reset unsets value.

func (*OptPhoneNumberAgentInfo) SetTo

SetTo sets value to v.

func (*OptPhoneNumberAgentInfo) UnmarshalJSON

func (s *OptPhoneNumberAgentInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPlayDTMFResultErrorModelResultType

type OptPlayDTMFResultErrorModelResultType struct {
	Value PlayDTMFResultErrorModelResultType
	Set   bool
}

OptPlayDTMFResultErrorModelResultType is optional PlayDTMFResultErrorModelResultType.

func NewOptPlayDTMFResultErrorModelResultType

func NewOptPlayDTMFResultErrorModelResultType(v PlayDTMFResultErrorModelResultType) OptPlayDTMFResultErrorModelResultType

NewOptPlayDTMFResultErrorModelResultType returns new OptPlayDTMFResultErrorModelResultType with value set to v.

func (*OptPlayDTMFResultErrorModelResultType) Decode

Decode decodes PlayDTMFResultErrorModelResultType from json.

func (OptPlayDTMFResultErrorModelResultType) Encode

Encode encodes PlayDTMFResultErrorModelResultType as json.

func (OptPlayDTMFResultErrorModelResultType) Get

Get returns value and boolean that denotes whether value was set.

func (OptPlayDTMFResultErrorModelResultType) IsSet

IsSet returns true if OptPlayDTMFResultErrorModelResultType was set.

func (OptPlayDTMFResultErrorModelResultType) MarshalJSON

func (s OptPlayDTMFResultErrorModelResultType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPlayDTMFResultErrorModelResultType) Or

Or returns value if set, or given parameter if does not.

func (*OptPlayDTMFResultErrorModelResultType) Reset

Reset unsets value.

func (*OptPlayDTMFResultErrorModelResultType) SetTo

SetTo sets value to v.

func (*OptPlayDTMFResultErrorModelResultType) UnmarshalJSON

func (s *OptPlayDTMFResultErrorModelResultType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPlayDTMFResultErrorModelStatus

type OptPlayDTMFResultErrorModelStatus struct {
	Value PlayDTMFResultErrorModelStatus
	Set   bool
}

OptPlayDTMFResultErrorModelStatus is optional PlayDTMFResultErrorModelStatus.

func NewOptPlayDTMFResultErrorModelStatus

func NewOptPlayDTMFResultErrorModelStatus(v PlayDTMFResultErrorModelStatus) OptPlayDTMFResultErrorModelStatus

NewOptPlayDTMFResultErrorModelStatus returns new OptPlayDTMFResultErrorModelStatus with value set to v.

func (*OptPlayDTMFResultErrorModelStatus) Decode

Decode decodes PlayDTMFResultErrorModelStatus from json.

func (OptPlayDTMFResultErrorModelStatus) Encode

Encode encodes PlayDTMFResultErrorModelStatus as json.

func (OptPlayDTMFResultErrorModelStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptPlayDTMFResultErrorModelStatus) IsSet

IsSet returns true if OptPlayDTMFResultErrorModelStatus was set.

func (OptPlayDTMFResultErrorModelStatus) MarshalJSON

func (s OptPlayDTMFResultErrorModelStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPlayDTMFResultErrorModelStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptPlayDTMFResultErrorModelStatus) Reset

Reset unsets value.

func (*OptPlayDTMFResultErrorModelStatus) SetTo

SetTo sets value to v.

func (*OptPlayDTMFResultErrorModelStatus) UnmarshalJSON

func (s *OptPlayDTMFResultErrorModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPlayDTMFResultSuccessModelResultType

type OptPlayDTMFResultSuccessModelResultType struct {
	Value PlayDTMFResultSuccessModelResultType
	Set   bool
}

OptPlayDTMFResultSuccessModelResultType is optional PlayDTMFResultSuccessModelResultType.

func NewOptPlayDTMFResultSuccessModelResultType

func NewOptPlayDTMFResultSuccessModelResultType(v PlayDTMFResultSuccessModelResultType) OptPlayDTMFResultSuccessModelResultType

NewOptPlayDTMFResultSuccessModelResultType returns new OptPlayDTMFResultSuccessModelResultType with value set to v.

func (*OptPlayDTMFResultSuccessModelResultType) Decode

Decode decodes PlayDTMFResultSuccessModelResultType from json.

func (OptPlayDTMFResultSuccessModelResultType) Encode

Encode encodes PlayDTMFResultSuccessModelResultType as json.

func (OptPlayDTMFResultSuccessModelResultType) Get

Get returns value and boolean that denotes whether value was set.

func (OptPlayDTMFResultSuccessModelResultType) IsSet

IsSet returns true if OptPlayDTMFResultSuccessModelResultType was set.

func (OptPlayDTMFResultSuccessModelResultType) MarshalJSON

func (s OptPlayDTMFResultSuccessModelResultType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPlayDTMFResultSuccessModelResultType) Or

Or returns value if set, or given parameter if does not.

func (*OptPlayDTMFResultSuccessModelResultType) Reset

Reset unsets value.

func (*OptPlayDTMFResultSuccessModelResultType) SetTo

SetTo sets value to v.

func (*OptPlayDTMFResultSuccessModelResultType) UnmarshalJSON

func (s *OptPlayDTMFResultSuccessModelResultType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPlayDTMFResultSuccessModelStatus

type OptPlayDTMFResultSuccessModelStatus struct {
	Value PlayDTMFResultSuccessModelStatus
	Set   bool
}

OptPlayDTMFResultSuccessModelStatus is optional PlayDTMFResultSuccessModelStatus.

func NewOptPlayDTMFResultSuccessModelStatus

func NewOptPlayDTMFResultSuccessModelStatus(v PlayDTMFResultSuccessModelStatus) OptPlayDTMFResultSuccessModelStatus

NewOptPlayDTMFResultSuccessModelStatus returns new OptPlayDTMFResultSuccessModelStatus with value set to v.

func (*OptPlayDTMFResultSuccessModelStatus) Decode

Decode decodes PlayDTMFResultSuccessModelStatus from json.

func (OptPlayDTMFResultSuccessModelStatus) Encode

Encode encodes PlayDTMFResultSuccessModelStatus as json.

func (OptPlayDTMFResultSuccessModelStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptPlayDTMFResultSuccessModelStatus) IsSet

IsSet returns true if OptPlayDTMFResultSuccessModelStatus was set.

func (OptPlayDTMFResultSuccessModelStatus) MarshalJSON

func (s OptPlayDTMFResultSuccessModelStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPlayDTMFResultSuccessModelStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptPlayDTMFResultSuccessModelStatus) Reset

Reset unsets value.

func (*OptPlayDTMFResultSuccessModelStatus) SetTo

SetTo sets value to v.

func (*OptPlayDTMFResultSuccessModelStatus) UnmarshalJSON

func (s *OptPlayDTMFResultSuccessModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptProjectCreationMetaResponseModel

type OptProjectCreationMetaResponseModel struct {
	Value ProjectCreationMetaResponseModel
	Set   bool
}

OptProjectCreationMetaResponseModel is optional ProjectCreationMetaResponseModel.

func NewOptProjectCreationMetaResponseModel

func NewOptProjectCreationMetaResponseModel(v ProjectCreationMetaResponseModel) OptProjectCreationMetaResponseModel

NewOptProjectCreationMetaResponseModel returns new OptProjectCreationMetaResponseModel with value set to v.

func (*OptProjectCreationMetaResponseModel) Decode

Decode decodes ProjectCreationMetaResponseModel from json.

func (OptProjectCreationMetaResponseModel) Encode

Encode encodes ProjectCreationMetaResponseModel as json.

func (OptProjectCreationMetaResponseModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptProjectCreationMetaResponseModel) IsSet

IsSet returns true if OptProjectCreationMetaResponseModel was set.

func (OptProjectCreationMetaResponseModel) MarshalJSON

func (s OptProjectCreationMetaResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptProjectCreationMetaResponseModel) Or

Or returns value if set, or given parameter if does not.

func (*OptProjectCreationMetaResponseModel) Reset

Reset unsets value.

func (*OptProjectCreationMetaResponseModel) SetTo

SetTo sets value to v.

func (*OptProjectCreationMetaResponseModel) UnmarshalJSON

func (s *OptProjectCreationMetaResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptProjectSnapshotExtendedResponseModelAudioUpload

type OptProjectSnapshotExtendedResponseModelAudioUpload struct {
	Value *ProjectSnapshotExtendedResponseModelAudioUpload
	Set   bool
}

OptProjectSnapshotExtendedResponseModelAudioUpload is optional *ProjectSnapshotExtendedResponseModelAudioUpload.

func NewOptProjectSnapshotExtendedResponseModelAudioUpload

func NewOptProjectSnapshotExtendedResponseModelAudioUpload(v *ProjectSnapshotExtendedResponseModelAudioUpload) OptProjectSnapshotExtendedResponseModelAudioUpload

NewOptProjectSnapshotExtendedResponseModelAudioUpload returns new OptProjectSnapshotExtendedResponseModelAudioUpload with value set to v.

func (*OptProjectSnapshotExtendedResponseModelAudioUpload) Decode

Decode decodes *ProjectSnapshotExtendedResponseModelAudioUpload from json.

func (OptProjectSnapshotExtendedResponseModelAudioUpload) Encode

Encode encodes *ProjectSnapshotExtendedResponseModelAudioUpload as json.

func (OptProjectSnapshotExtendedResponseModelAudioUpload) Get

Get returns value and boolean that denotes whether value was set.

func (OptProjectSnapshotExtendedResponseModelAudioUpload) IsSet

IsSet returns true if OptProjectSnapshotExtendedResponseModelAudioUpload was set.

func (OptProjectSnapshotExtendedResponseModelAudioUpload) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptProjectSnapshotExtendedResponseModelAudioUpload) Or

Or returns value if set, or given parameter if does not.

func (*OptProjectSnapshotExtendedResponseModelAudioUpload) Reset

Reset unsets value.

func (*OptProjectSnapshotExtendedResponseModelAudioUpload) SetTo

SetTo sets value to v.

func (*OptProjectSnapshotExtendedResponseModelAudioUpload) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptProjectSnapshotExtendedResponseModelZipUpload

type OptProjectSnapshotExtendedResponseModelZipUpload struct {
	Value *ProjectSnapshotExtendedResponseModelZipUpload
	Set   bool
}

OptProjectSnapshotExtendedResponseModelZipUpload is optional *ProjectSnapshotExtendedResponseModelZipUpload.

func NewOptProjectSnapshotExtendedResponseModelZipUpload

func NewOptProjectSnapshotExtendedResponseModelZipUpload(v *ProjectSnapshotExtendedResponseModelZipUpload) OptProjectSnapshotExtendedResponseModelZipUpload

NewOptProjectSnapshotExtendedResponseModelZipUpload returns new OptProjectSnapshotExtendedResponseModelZipUpload with value set to v.

func (*OptProjectSnapshotExtendedResponseModelZipUpload) Decode

Decode decodes *ProjectSnapshotExtendedResponseModelZipUpload from json.

func (OptProjectSnapshotExtendedResponseModelZipUpload) Encode

Encode encodes *ProjectSnapshotExtendedResponseModelZipUpload as json.

func (OptProjectSnapshotExtendedResponseModelZipUpload) Get

Get returns value and boolean that denotes whether value was set.

func (OptProjectSnapshotExtendedResponseModelZipUpload) IsSet

IsSet returns true if OptProjectSnapshotExtendedResponseModelZipUpload was set.

func (OptProjectSnapshotExtendedResponseModelZipUpload) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptProjectSnapshotExtendedResponseModelZipUpload) Or

Or returns value if set, or given parameter if does not.

func (*OptProjectSnapshotExtendedResponseModelZipUpload) Reset

Reset unsets value.

func (*OptProjectSnapshotExtendedResponseModelZipUpload) SetTo

SetTo sets value to v.

func (*OptProjectSnapshotExtendedResponseModelZipUpload) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptProjectSnapshotResponseModelAudioUpload

type OptProjectSnapshotResponseModelAudioUpload struct {
	Value *ProjectSnapshotResponseModelAudioUpload
	Set   bool
}

OptProjectSnapshotResponseModelAudioUpload is optional *ProjectSnapshotResponseModelAudioUpload.

func NewOptProjectSnapshotResponseModelAudioUpload

func NewOptProjectSnapshotResponseModelAudioUpload(v *ProjectSnapshotResponseModelAudioUpload) OptProjectSnapshotResponseModelAudioUpload

NewOptProjectSnapshotResponseModelAudioUpload returns new OptProjectSnapshotResponseModelAudioUpload with value set to v.

func (*OptProjectSnapshotResponseModelAudioUpload) Decode

Decode decodes *ProjectSnapshotResponseModelAudioUpload from json.

func (OptProjectSnapshotResponseModelAudioUpload) Encode

Encode encodes *ProjectSnapshotResponseModelAudioUpload as json.

func (OptProjectSnapshotResponseModelAudioUpload) Get

Get returns value and boolean that denotes whether value was set.

func (OptProjectSnapshotResponseModelAudioUpload) IsSet

IsSet returns true if OptProjectSnapshotResponseModelAudioUpload was set.

func (OptProjectSnapshotResponseModelAudioUpload) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptProjectSnapshotResponseModelAudioUpload) Or

Or returns value if set, or given parameter if does not.

func (*OptProjectSnapshotResponseModelAudioUpload) Reset

Reset unsets value.

func (*OptProjectSnapshotResponseModelAudioUpload) SetTo

SetTo sets value to v.

func (*OptProjectSnapshotResponseModelAudioUpload) UnmarshalJSON

func (s *OptProjectSnapshotResponseModelAudioUpload) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptProjectSnapshotResponseModelZipUpload

type OptProjectSnapshotResponseModelZipUpload struct {
	Value *ProjectSnapshotResponseModelZipUpload
	Set   bool
}

OptProjectSnapshotResponseModelZipUpload is optional *ProjectSnapshotResponseModelZipUpload.

func NewOptProjectSnapshotResponseModelZipUpload

func NewOptProjectSnapshotResponseModelZipUpload(v *ProjectSnapshotResponseModelZipUpload) OptProjectSnapshotResponseModelZipUpload

NewOptProjectSnapshotResponseModelZipUpload returns new OptProjectSnapshotResponseModelZipUpload with value set to v.

func (*OptProjectSnapshotResponseModelZipUpload) Decode

Decode decodes *ProjectSnapshotResponseModelZipUpload from json.

func (OptProjectSnapshotResponseModelZipUpload) Encode

Encode encodes *ProjectSnapshotResponseModelZipUpload as json.

func (OptProjectSnapshotResponseModelZipUpload) Get

Get returns value and boolean that denotes whether value was set.

func (OptProjectSnapshotResponseModelZipUpload) IsSet

IsSet returns true if OptProjectSnapshotResponseModelZipUpload was set.

func (OptProjectSnapshotResponseModelZipUpload) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptProjectSnapshotResponseModelZipUpload) Or

Or returns value if set, or given parameter if does not.

func (*OptProjectSnapshotResponseModelZipUpload) Reset

Reset unsets value.

func (*OptProjectSnapshotResponseModelZipUpload) SetTo

SetTo sets value to v.

func (*OptProjectSnapshotResponseModelZipUpload) UnmarshalJSON

func (s *OptProjectSnapshotResponseModelZipUpload) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPromptAgentAPIModelOverride

type OptPromptAgentAPIModelOverride struct {
	Value PromptAgentAPIModelOverride
	Set   bool
}

OptPromptAgentAPIModelOverride is optional PromptAgentAPIModelOverride.

func NewOptPromptAgentAPIModelOverride

func NewOptPromptAgentAPIModelOverride(v PromptAgentAPIModelOverride) OptPromptAgentAPIModelOverride

NewOptPromptAgentAPIModelOverride returns new OptPromptAgentAPIModelOverride with value set to v.

func (*OptPromptAgentAPIModelOverride) Decode

Decode decodes PromptAgentAPIModelOverride from json.

func (OptPromptAgentAPIModelOverride) Encode

Encode encodes PromptAgentAPIModelOverride as json.

func (OptPromptAgentAPIModelOverride) Get

Get returns value and boolean that denotes whether value was set.

func (OptPromptAgentAPIModelOverride) IsSet

IsSet returns true if OptPromptAgentAPIModelOverride was set.

func (OptPromptAgentAPIModelOverride) MarshalJSON

func (s OptPromptAgentAPIModelOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPromptAgentAPIModelOverride) Or

Or returns value if set, or given parameter if does not.

func (*OptPromptAgentAPIModelOverride) Reset

func (o *OptPromptAgentAPIModelOverride) Reset()

Reset unsets value.

func (*OptPromptAgentAPIModelOverride) SetTo

SetTo sets value to v.

func (*OptPromptAgentAPIModelOverride) UnmarshalJSON

func (s *OptPromptAgentAPIModelOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptRagRetrievalInfo

type OptRagRetrievalInfo struct {
	Value RagRetrievalInfo
	Set   bool
}

OptRagRetrievalInfo is optional RagRetrievalInfo.

func NewOptRagRetrievalInfo

func NewOptRagRetrievalInfo(v RagRetrievalInfo) OptRagRetrievalInfo

NewOptRagRetrievalInfo returns new OptRagRetrievalInfo with value set to v.

func (*OptRagRetrievalInfo) Decode

func (o *OptRagRetrievalInfo) Decode(d *jx.Decoder) error

Decode decodes RagRetrievalInfo from json.

func (OptRagRetrievalInfo) Encode

func (o OptRagRetrievalInfo) Encode(e *jx.Encoder)

Encode encodes RagRetrievalInfo as json.

func (OptRagRetrievalInfo) Get

func (o OptRagRetrievalInfo) Get() (v RagRetrievalInfo, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptRagRetrievalInfo) IsSet

func (o OptRagRetrievalInfo) IsSet() bool

IsSet returns true if OptRagRetrievalInfo was set.

func (OptRagRetrievalInfo) MarshalJSON

func (s OptRagRetrievalInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptRagRetrievalInfo) Or

Or returns value if set, or given parameter if does not.

func (*OptRagRetrievalInfo) Reset

func (o *OptRagRetrievalInfo) Reset()

Reset unsets value.

func (*OptRagRetrievalInfo) SetTo

SetTo sets value to v.

func (*OptRagRetrievalInfo) UnmarshalJSON

func (s *OptRagRetrievalInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptRecordingResponseModel

type OptRecordingResponseModel struct {
	Value RecordingResponseModel
	Set   bool
}

OptRecordingResponseModel is optional RecordingResponseModel.

func NewOptRecordingResponseModel

func NewOptRecordingResponseModel(v RecordingResponseModel) OptRecordingResponseModel

NewOptRecordingResponseModel returns new OptRecordingResponseModel with value set to v.

func (*OptRecordingResponseModel) Decode

func (o *OptRecordingResponseModel) Decode(d *jx.Decoder) error

Decode decodes RecordingResponseModel from json.

func (OptRecordingResponseModel) Encode

func (o OptRecordingResponseModel) Encode(e *jx.Encoder)

Encode encodes RecordingResponseModel as json.

func (OptRecordingResponseModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptRecordingResponseModel) IsSet

func (o OptRecordingResponseModel) IsSet() bool

IsSet returns true if OptRecordingResponseModel was set.

func (OptRecordingResponseModel) MarshalJSON

func (s OptRecordingResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptRecordingResponseModel) Or

Or returns value if set, or given parameter if does not.

func (*OptRecordingResponseModel) Reset

func (o *OptRecordingResponseModel) Reset()

Reset unsets value.

func (*OptRecordingResponseModel) SetTo

SetTo sets value to v.

func (*OptRecordingResponseModel) UnmarshalJSON

func (s *OptRecordingResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptReferencedToolCommonModel

type OptReferencedToolCommonModel struct {
	Value ReferencedToolCommonModel
	Set   bool
}

OptReferencedToolCommonModel is optional ReferencedToolCommonModel.

func NewOptReferencedToolCommonModel

func NewOptReferencedToolCommonModel(v ReferencedToolCommonModel) OptReferencedToolCommonModel

NewOptReferencedToolCommonModel returns new OptReferencedToolCommonModel with value set to v.

func (*OptReferencedToolCommonModel) Decode

Decode decodes ReferencedToolCommonModel from json.

func (OptReferencedToolCommonModel) Encode

Encode encodes ReferencedToolCommonModel as json.

func (OptReferencedToolCommonModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptReferencedToolCommonModel) IsSet

IsSet returns true if OptReferencedToolCommonModel was set.

func (OptReferencedToolCommonModel) MarshalJSON

func (s OptReferencedToolCommonModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptReferencedToolCommonModel) Or

Or returns value if set, or given parameter if does not.

func (*OptReferencedToolCommonModel) Reset

func (o *OptReferencedToolCommonModel) Reset()

Reset unsets value.

func (*OptReferencedToolCommonModel) SetTo

SetTo sets value to v.

func (*OptReferencedToolCommonModel) UnmarshalJSON

func (s *OptReferencedToolCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptResourceAccessInfo

type OptResourceAccessInfo struct {
	Value ResourceAccessInfo
	Set   bool
}

OptResourceAccessInfo is optional ResourceAccessInfo.

func NewOptResourceAccessInfo

func NewOptResourceAccessInfo(v ResourceAccessInfo) OptResourceAccessInfo

NewOptResourceAccessInfo returns new OptResourceAccessInfo with value set to v.

func (*OptResourceAccessInfo) Decode

func (o *OptResourceAccessInfo) Decode(d *jx.Decoder) error

Decode decodes ResourceAccessInfo from json.

func (OptResourceAccessInfo) Encode

func (o OptResourceAccessInfo) Encode(e *jx.Encoder)

Encode encodes ResourceAccessInfo as json.

func (OptResourceAccessInfo) Get

Get returns value and boolean that denotes whether value was set.

func (OptResourceAccessInfo) IsSet

func (o OptResourceAccessInfo) IsSet() bool

IsSet returns true if OptResourceAccessInfo was set.

func (OptResourceAccessInfo) MarshalJSON

func (s OptResourceAccessInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptResourceAccessInfo) Or

Or returns value if set, or given parameter if does not.

func (*OptResourceAccessInfo) Reset

func (o *OptResourceAccessInfo) Reset()

Reset unsets value.

func (*OptResourceAccessInfo) SetTo

SetTo sets value to v.

func (*OptResourceAccessInfo) UnmarshalJSON

func (s *OptResourceAccessInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSIPMediaEncryptionEnum

type OptSIPMediaEncryptionEnum struct {
	Value SIPMediaEncryptionEnum
	Set   bool
}

OptSIPMediaEncryptionEnum is optional SIPMediaEncryptionEnum.

func NewOptSIPMediaEncryptionEnum

func NewOptSIPMediaEncryptionEnum(v SIPMediaEncryptionEnum) OptSIPMediaEncryptionEnum

NewOptSIPMediaEncryptionEnum returns new OptSIPMediaEncryptionEnum with value set to v.

func (*OptSIPMediaEncryptionEnum) Decode

func (o *OptSIPMediaEncryptionEnum) Decode(d *jx.Decoder) error

Decode decodes SIPMediaEncryptionEnum from json.

func (OptSIPMediaEncryptionEnum) Encode

func (o OptSIPMediaEncryptionEnum) Encode(e *jx.Encoder)

Encode encodes SIPMediaEncryptionEnum as json.

func (OptSIPMediaEncryptionEnum) Get

Get returns value and boolean that denotes whether value was set.

func (OptSIPMediaEncryptionEnum) IsSet

func (o OptSIPMediaEncryptionEnum) IsSet() bool

IsSet returns true if OptSIPMediaEncryptionEnum was set.

func (OptSIPMediaEncryptionEnum) MarshalJSON

func (s OptSIPMediaEncryptionEnum) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSIPMediaEncryptionEnum) Or

Or returns value if set, or given parameter if does not.

func (*OptSIPMediaEncryptionEnum) Reset

func (o *OptSIPMediaEncryptionEnum) Reset()

Reset unsets value.

func (*OptSIPMediaEncryptionEnum) SetTo

SetTo sets value to v.

func (*OptSIPMediaEncryptionEnum) UnmarshalJSON

func (s *OptSIPMediaEncryptionEnum) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSIPTrunkCredentialsRequestModel

type OptSIPTrunkCredentialsRequestModel struct {
	Value SIPTrunkCredentialsRequestModel
	Set   bool
}

OptSIPTrunkCredentialsRequestModel is optional SIPTrunkCredentialsRequestModel.

func NewOptSIPTrunkCredentialsRequestModel

func NewOptSIPTrunkCredentialsRequestModel(v SIPTrunkCredentialsRequestModel) OptSIPTrunkCredentialsRequestModel

NewOptSIPTrunkCredentialsRequestModel returns new OptSIPTrunkCredentialsRequestModel with value set to v.

func (*OptSIPTrunkCredentialsRequestModel) Decode

Decode decodes SIPTrunkCredentialsRequestModel from json.

func (OptSIPTrunkCredentialsRequestModel) Encode

Encode encodes SIPTrunkCredentialsRequestModel as json.

func (OptSIPTrunkCredentialsRequestModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptSIPTrunkCredentialsRequestModel) IsSet

IsSet returns true if OptSIPTrunkCredentialsRequestModel was set.

func (OptSIPTrunkCredentialsRequestModel) MarshalJSON

func (s OptSIPTrunkCredentialsRequestModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSIPTrunkCredentialsRequestModel) Or

Or returns value if set, or given parameter if does not.

func (*OptSIPTrunkCredentialsRequestModel) Reset

Reset unsets value.

func (*OptSIPTrunkCredentialsRequestModel) SetTo

SetTo sets value to v.

func (*OptSIPTrunkCredentialsRequestModel) UnmarshalJSON

func (s *OptSIPTrunkCredentialsRequestModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSIPTrunkTransportEnum

type OptSIPTrunkTransportEnum struct {
	Value SIPTrunkTransportEnum
	Set   bool
}

OptSIPTrunkTransportEnum is optional SIPTrunkTransportEnum.

func NewOptSIPTrunkTransportEnum

func NewOptSIPTrunkTransportEnum(v SIPTrunkTransportEnum) OptSIPTrunkTransportEnum

NewOptSIPTrunkTransportEnum returns new OptSIPTrunkTransportEnum with value set to v.

func (*OptSIPTrunkTransportEnum) Decode

func (o *OptSIPTrunkTransportEnum) Decode(d *jx.Decoder) error

Decode decodes SIPTrunkTransportEnum from json.

func (OptSIPTrunkTransportEnum) Encode

func (o OptSIPTrunkTransportEnum) Encode(e *jx.Encoder)

Encode encodes SIPTrunkTransportEnum as json.

func (OptSIPTrunkTransportEnum) Get

Get returns value and boolean that denotes whether value was set.

func (OptSIPTrunkTransportEnum) IsSet

func (o OptSIPTrunkTransportEnum) IsSet() bool

IsSet returns true if OptSIPTrunkTransportEnum was set.

func (OptSIPTrunkTransportEnum) MarshalJSON

func (s OptSIPTrunkTransportEnum) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSIPTrunkTransportEnum) Or

Or returns value if set, or given parameter if does not.

func (*OptSIPTrunkTransportEnum) Reset

func (o *OptSIPTrunkTransportEnum) Reset()

Reset unsets value.

func (*OptSIPTrunkTransportEnum) SetTo

SetTo sets value to v.

func (*OptSIPTrunkTransportEnum) UnmarshalJSON

func (s *OptSIPTrunkTransportEnum) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSectionSource

type OptSectionSource struct {
	Value SectionSource
	Set   bool
}

OptSectionSource is optional SectionSource.

func NewOptSectionSource

func NewOptSectionSource(v SectionSource) OptSectionSource

NewOptSectionSource returns new OptSectionSource with value set to v.

func (*OptSectionSource) Decode

func (o *OptSectionSource) Decode(d *jx.Decoder) error

Decode decodes SectionSource from json.

func (OptSectionSource) Encode

func (o OptSectionSource) Encode(e *jx.Encoder)

Encode encodes SectionSource as json.

func (OptSectionSource) Get

func (o OptSectionSource) Get() (v SectionSource, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptSectionSource) IsSet

func (o OptSectionSource) IsSet() bool

IsSet returns true if OptSectionSource was set.

func (OptSectionSource) MarshalJSON

func (s OptSectionSource) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSectionSource) Or

Or returns value if set, or given parameter if does not.

func (*OptSectionSource) Reset

func (o *OptSectionSource) Reset()

Reset unsets value.

func (*OptSectionSource) SetTo

func (o *OptSectionSource) SetTo(v SectionSource)

SetTo sets value to v.

func (*OptSectionSource) UnmarshalJSON

func (s *OptSectionSource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSeparateSongStemsOutputFormat

type OptSeparateSongStemsOutputFormat struct {
	Value SeparateSongStemsOutputFormat
	Set   bool
}

OptSeparateSongStemsOutputFormat is optional SeparateSongStemsOutputFormat.

func NewOptSeparateSongStemsOutputFormat

func NewOptSeparateSongStemsOutputFormat(v SeparateSongStemsOutputFormat) OptSeparateSongStemsOutputFormat

NewOptSeparateSongStemsOutputFormat returns new OptSeparateSongStemsOutputFormat with value set to v.

func (OptSeparateSongStemsOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptSeparateSongStemsOutputFormat) IsSet

IsSet returns true if OptSeparateSongStemsOutputFormat was set.

func (OptSeparateSongStemsOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptSeparateSongStemsOutputFormat) Reset

Reset unsets value.

func (*OptSeparateSongStemsOutputFormat) SetTo

SetTo sets value to v.

type OptSkipTurnToolResponseModelResultType

type OptSkipTurnToolResponseModelResultType struct {
	Value SkipTurnToolResponseModelResultType
	Set   bool
}

OptSkipTurnToolResponseModelResultType is optional SkipTurnToolResponseModelResultType.

func NewOptSkipTurnToolResponseModelResultType

func NewOptSkipTurnToolResponseModelResultType(v SkipTurnToolResponseModelResultType) OptSkipTurnToolResponseModelResultType

NewOptSkipTurnToolResponseModelResultType returns new OptSkipTurnToolResponseModelResultType with value set to v.

func (*OptSkipTurnToolResponseModelResultType) Decode

Decode decodes SkipTurnToolResponseModelResultType from json.

func (OptSkipTurnToolResponseModelResultType) Encode

Encode encodes SkipTurnToolResponseModelResultType as json.

func (OptSkipTurnToolResponseModelResultType) Get

Get returns value and boolean that denotes whether value was set.

func (OptSkipTurnToolResponseModelResultType) IsSet

IsSet returns true if OptSkipTurnToolResponseModelResultType was set.

func (OptSkipTurnToolResponseModelResultType) MarshalJSON

func (s OptSkipTurnToolResponseModelResultType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSkipTurnToolResponseModelResultType) Or

Or returns value if set, or given parameter if does not.

func (*OptSkipTurnToolResponseModelResultType) Reset

Reset unsets value.

func (*OptSkipTurnToolResponseModelResultType) SetTo

SetTo sets value to v.

func (*OptSkipTurnToolResponseModelResultType) UnmarshalJSON

func (s *OptSkipTurnToolResponseModelResultType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSkipTurnToolResponseModelStatus

type OptSkipTurnToolResponseModelStatus struct {
	Value SkipTurnToolResponseModelStatus
	Set   bool
}

OptSkipTurnToolResponseModelStatus is optional SkipTurnToolResponseModelStatus.

func NewOptSkipTurnToolResponseModelStatus

func NewOptSkipTurnToolResponseModelStatus(v SkipTurnToolResponseModelStatus) OptSkipTurnToolResponseModelStatus

NewOptSkipTurnToolResponseModelStatus returns new OptSkipTurnToolResponseModelStatus with value set to v.

func (*OptSkipTurnToolResponseModelStatus) Decode

Decode decodes SkipTurnToolResponseModelStatus from json.

func (OptSkipTurnToolResponseModelStatus) Encode

Encode encodes SkipTurnToolResponseModelStatus as json.

func (OptSkipTurnToolResponseModelStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptSkipTurnToolResponseModelStatus) IsSet

IsSet returns true if OptSkipTurnToolResponseModelStatus was set.

func (OptSkipTurnToolResponseModelStatus) MarshalJSON

func (s OptSkipTurnToolResponseModelStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSkipTurnToolResponseModelStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptSkipTurnToolResponseModelStatus) Reset

Reset unsets value.

func (*OptSkipTurnToolResponseModelStatus) SetTo

SetTo sets value to v.

func (*OptSkipTurnToolResponseModelStatus) UnmarshalJSON

func (s *OptSkipTurnToolResponseModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSoftTimeoutConfigOverride

type OptSoftTimeoutConfigOverride struct {
	Value SoftTimeoutConfigOverride
	Set   bool
}

OptSoftTimeoutConfigOverride is optional SoftTimeoutConfigOverride.

func NewOptSoftTimeoutConfigOverride

func NewOptSoftTimeoutConfigOverride(v SoftTimeoutConfigOverride) OptSoftTimeoutConfigOverride

NewOptSoftTimeoutConfigOverride returns new OptSoftTimeoutConfigOverride with value set to v.

func (*OptSoftTimeoutConfigOverride) Decode

Decode decodes SoftTimeoutConfigOverride from json.

func (OptSoftTimeoutConfigOverride) Encode

Encode encodes SoftTimeoutConfigOverride as json.

func (OptSoftTimeoutConfigOverride) Get

Get returns value and boolean that denotes whether value was set.

func (OptSoftTimeoutConfigOverride) IsSet

IsSet returns true if OptSoftTimeoutConfigOverride was set.

func (OptSoftTimeoutConfigOverride) MarshalJSON

func (s OptSoftTimeoutConfigOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSoftTimeoutConfigOverride) Or

Or returns value if set, or given parameter if does not.

func (*OptSoftTimeoutConfigOverride) Reset

func (o *OptSoftTimeoutConfigOverride) Reset()

Reset unsets value.

func (*OptSoftTimeoutConfigOverride) SetTo

SetTo sets value to v.

func (*OptSoftTimeoutConfigOverride) UnmarshalJSON

func (s *OptSoftTimeoutConfigOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSortDirection

type OptSortDirection struct {
	Value SortDirection
	Set   bool
}

OptSortDirection is optional SortDirection.

func NewOptSortDirection

func NewOptSortDirection(v SortDirection) OptSortDirection

NewOptSortDirection returns new OptSortDirection with value set to v.

func (OptSortDirection) Get

func (o OptSortDirection) Get() (v SortDirection, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptSortDirection) IsSet

func (o OptSortDirection) IsSet() bool

IsSet returns true if OptSortDirection was set.

func (OptSortDirection) Or

Or returns value if set, or given parameter if does not.

func (*OptSortDirection) Reset

func (o *OptSortDirection) Reset()

Reset unsets value.

func (*OptSortDirection) SetTo

func (o *OptSortDirection) SetTo(v SortDirection)

SetTo sets value to v.

type OptSoundGenerationOutputFormat

type OptSoundGenerationOutputFormat struct {
	Value SoundGenerationOutputFormat
	Set   bool
}

OptSoundGenerationOutputFormat is optional SoundGenerationOutputFormat.

func NewOptSoundGenerationOutputFormat

func NewOptSoundGenerationOutputFormat(v SoundGenerationOutputFormat) OptSoundGenerationOutputFormat

NewOptSoundGenerationOutputFormat returns new OptSoundGenerationOutputFormat with value set to v.

func (OptSoundGenerationOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptSoundGenerationOutputFormat) IsSet

IsSet returns true if OptSoundGenerationOutputFormat was set.

func (OptSoundGenerationOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptSoundGenerationOutputFormat) Reset

func (o *OptSoundGenerationOutputFormat) Reset()

Reset unsets value.

func (*OptSoundGenerationOutputFormat) SetTo

SetTo sets value to v.

type OptSpeakerSeparationResponseModel

type OptSpeakerSeparationResponseModel struct {
	Value SpeakerSeparationResponseModel
	Set   bool
}

OptSpeakerSeparationResponseModel is optional SpeakerSeparationResponseModel.

func NewOptSpeakerSeparationResponseModel

func NewOptSpeakerSeparationResponseModel(v SpeakerSeparationResponseModel) OptSpeakerSeparationResponseModel

NewOptSpeakerSeparationResponseModel returns new OptSpeakerSeparationResponseModel with value set to v.

func (*OptSpeakerSeparationResponseModel) Decode

Decode decodes SpeakerSeparationResponseModel from json.

func (OptSpeakerSeparationResponseModel) Encode

Encode encodes SpeakerSeparationResponseModel as json.

func (OptSpeakerSeparationResponseModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptSpeakerSeparationResponseModel) IsSet

IsSet returns true if OptSpeakerSeparationResponseModel was set.

func (OptSpeakerSeparationResponseModel) MarshalJSON

func (s OptSpeakerSeparationResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSpeakerSeparationResponseModel) Or

Or returns value if set, or given parameter if does not.

func (*OptSpeakerSeparationResponseModel) Reset

Reset unsets value.

func (*OptSpeakerSeparationResponseModel) SetTo

SetTo sets value to v.

func (*OptSpeakerSeparationResponseModel) UnmarshalJSON

func (s *OptSpeakerSeparationResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSpeechHistoryItemResponseModelSettings

type OptSpeechHistoryItemResponseModelSettings struct {
	Value *SpeechHistoryItemResponseModelSettings
	Set   bool
}

OptSpeechHistoryItemResponseModelSettings is optional *SpeechHistoryItemResponseModelSettings.

func NewOptSpeechHistoryItemResponseModelSettings

func NewOptSpeechHistoryItemResponseModelSettings(v *SpeechHistoryItemResponseModelSettings) OptSpeechHistoryItemResponseModelSettings

NewOptSpeechHistoryItemResponseModelSettings returns new OptSpeechHistoryItemResponseModelSettings with value set to v.

func (*OptSpeechHistoryItemResponseModelSettings) Decode

Decode decodes *SpeechHistoryItemResponseModelSettings from json.

func (OptSpeechHistoryItemResponseModelSettings) Encode

Encode encodes *SpeechHistoryItemResponseModelSettings as json.

func (OptSpeechHistoryItemResponseModelSettings) Get

Get returns value and boolean that denotes whether value was set.

func (OptSpeechHistoryItemResponseModelSettings) IsSet

IsSet returns true if OptSpeechHistoryItemResponseModelSettings was set.

func (OptSpeechHistoryItemResponseModelSettings) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptSpeechHistoryItemResponseModelSettings) Or

Or returns value if set, or given parameter if does not.

func (*OptSpeechHistoryItemResponseModelSettings) Reset

Reset unsets value.

func (*OptSpeechHistoryItemResponseModelSettings) SetTo

SetTo sets value to v.

func (*OptSpeechHistoryItemResponseModelSettings) UnmarshalJSON

func (s *OptSpeechHistoryItemResponseModelSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSpeechToSpeechFullOutputFormat

type OptSpeechToSpeechFullOutputFormat struct {
	Value SpeechToSpeechFullOutputFormat
	Set   bool
}

OptSpeechToSpeechFullOutputFormat is optional SpeechToSpeechFullOutputFormat.

func NewOptSpeechToSpeechFullOutputFormat

func NewOptSpeechToSpeechFullOutputFormat(v SpeechToSpeechFullOutputFormat) OptSpeechToSpeechFullOutputFormat

NewOptSpeechToSpeechFullOutputFormat returns new OptSpeechToSpeechFullOutputFormat with value set to v.

func (OptSpeechToSpeechFullOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptSpeechToSpeechFullOutputFormat) IsSet

IsSet returns true if OptSpeechToSpeechFullOutputFormat was set.

func (OptSpeechToSpeechFullOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptSpeechToSpeechFullOutputFormat) Reset

Reset unsets value.

func (*OptSpeechToSpeechFullOutputFormat) SetTo

SetTo sets value to v.

type OptSpeechToSpeechStreamOutputFormat

type OptSpeechToSpeechStreamOutputFormat struct {
	Value SpeechToSpeechStreamOutputFormat
	Set   bool
}

OptSpeechToSpeechStreamOutputFormat is optional SpeechToSpeechStreamOutputFormat.

func NewOptSpeechToSpeechStreamOutputFormat

func NewOptSpeechToSpeechStreamOutputFormat(v SpeechToSpeechStreamOutputFormat) OptSpeechToSpeechStreamOutputFormat

NewOptSpeechToSpeechStreamOutputFormat returns new OptSpeechToSpeechStreamOutputFormat with value set to v.

func (OptSpeechToSpeechStreamOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptSpeechToSpeechStreamOutputFormat) IsSet

IsSet returns true if OptSpeechToSpeechStreamOutputFormat was set.

func (OptSpeechToSpeechStreamOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptSpeechToSpeechStreamOutputFormat) Reset

Reset unsets value.

func (*OptSpeechToSpeechStreamOutputFormat) SetTo

SetTo sets value to v.

type OptStreamComposeOutputFormat

type OptStreamComposeOutputFormat struct {
	Value StreamComposeOutputFormat
	Set   bool
}

OptStreamComposeOutputFormat is optional StreamComposeOutputFormat.

func NewOptStreamComposeOutputFormat

func NewOptStreamComposeOutputFormat(v StreamComposeOutputFormat) OptStreamComposeOutputFormat

NewOptStreamComposeOutputFormat returns new OptStreamComposeOutputFormat with value set to v.

func (OptStreamComposeOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptStreamComposeOutputFormat) IsSet

IsSet returns true if OptStreamComposeOutputFormat was set.

func (OptStreamComposeOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptStreamComposeOutputFormat) Reset

func (o *OptStreamComposeOutputFormat) Reset()

Reset unsets value.

func (*OptStreamComposeOutputFormat) SetTo

SetTo sets value to v.

type OptString

type OptString struct {
	Value string
	Set   bool
}

OptString is optional string.

func NewOptString

func NewOptString(v string) OptString

NewOptString returns new OptString with value set to v.

func (*OptString) Decode

func (o *OptString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptString) Encode

func (o OptString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptString) Get

func (o OptString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptString) IsSet

func (o OptString) IsSet() bool

IsSet returns true if OptString was set.

func (OptString) MarshalJSON

func (s OptString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptString) Or

func (o OptString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptString) Reset

func (o *OptString) Reset()

Reset unsets value.

func (*OptString) SetTo

func (o *OptString) SetTo(v string)

SetTo sets value to v.

func (*OptString) UnmarshalJSON

func (s *OptString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTTSConversationalConfigOverride

type OptTTSConversationalConfigOverride struct {
	Value TTSConversationalConfigOverride
	Set   bool
}

OptTTSConversationalConfigOverride is optional TTSConversationalConfigOverride.

func NewOptTTSConversationalConfigOverride

func NewOptTTSConversationalConfigOverride(v TTSConversationalConfigOverride) OptTTSConversationalConfigOverride

NewOptTTSConversationalConfigOverride returns new OptTTSConversationalConfigOverride with value set to v.

func (*OptTTSConversationalConfigOverride) Decode

Decode decodes TTSConversationalConfigOverride from json.

func (OptTTSConversationalConfigOverride) Encode

Encode encodes TTSConversationalConfigOverride as json.

func (OptTTSConversationalConfigOverride) Get

Get returns value and boolean that denotes whether value was set.

func (OptTTSConversationalConfigOverride) IsSet

IsSet returns true if OptTTSConversationalConfigOverride was set.

func (OptTTSConversationalConfigOverride) MarshalJSON

func (s OptTTSConversationalConfigOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTTSConversationalConfigOverride) Or

Or returns value if set, or given parameter if does not.

func (*OptTTSConversationalConfigOverride) Reset

Reset unsets value.

func (*OptTTSConversationalConfigOverride) SetTo

SetTo sets value to v.

func (*OptTTSConversationalConfigOverride) UnmarshalJSON

func (s *OptTTSConversationalConfigOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTelephonyProvider

type OptTelephonyProvider struct {
	Value TelephonyProvider
	Set   bool
}

OptTelephonyProvider is optional TelephonyProvider.

func NewOptTelephonyProvider

func NewOptTelephonyProvider(v TelephonyProvider) OptTelephonyProvider

NewOptTelephonyProvider returns new OptTelephonyProvider with value set to v.

func (*OptTelephonyProvider) Decode

func (o *OptTelephonyProvider) Decode(d *jx.Decoder) error

Decode decodes TelephonyProvider from json.

func (OptTelephonyProvider) Encode

func (o OptTelephonyProvider) Encode(e *jx.Encoder)

Encode encodes TelephonyProvider as json.

func (OptTelephonyProvider) Get

Get returns value and boolean that denotes whether value was set.

func (OptTelephonyProvider) IsSet

func (o OptTelephonyProvider) IsSet() bool

IsSet returns true if OptTelephonyProvider was set.

func (OptTelephonyProvider) MarshalJSON

func (s OptTelephonyProvider) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTelephonyProvider) Or

Or returns value if set, or given parameter if does not.

func (*OptTelephonyProvider) Reset

func (o *OptTelephonyProvider) Reset()

Reset unsets value.

func (*OptTelephonyProvider) SetTo

SetTo sets value to v.

func (*OptTelephonyProvider) UnmarshalJSON

func (s *OptTelephonyProvider) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTestConditionRationaleCommonModel

type OptTestConditionRationaleCommonModel struct {
	Value TestConditionRationaleCommonModel
	Set   bool
}

OptTestConditionRationaleCommonModel is optional TestConditionRationaleCommonModel.

func NewOptTestConditionRationaleCommonModel

func NewOptTestConditionRationaleCommonModel(v TestConditionRationaleCommonModel) OptTestConditionRationaleCommonModel

NewOptTestConditionRationaleCommonModel returns new OptTestConditionRationaleCommonModel with value set to v.

func (*OptTestConditionRationaleCommonModel) Decode

Decode decodes TestConditionRationaleCommonModel from json.

func (OptTestConditionRationaleCommonModel) Encode

Encode encodes TestConditionRationaleCommonModel as json.

func (OptTestConditionRationaleCommonModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptTestConditionRationaleCommonModel) IsSet

IsSet returns true if OptTestConditionRationaleCommonModel was set.

func (OptTestConditionRationaleCommonModel) MarshalJSON

func (s OptTestConditionRationaleCommonModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTestConditionRationaleCommonModel) Or

Or returns value if set, or given parameter if does not.

func (*OptTestConditionRationaleCommonModel) Reset

Reset unsets value.

func (*OptTestConditionRationaleCommonModel) SetTo

SetTo sets value to v.

func (*OptTestConditionRationaleCommonModel) UnmarshalJSON

func (s *OptTestConditionRationaleCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTestConditionResultCommonModel

type OptTestConditionResultCommonModel struct {
	Value TestConditionResultCommonModel
	Set   bool
}

OptTestConditionResultCommonModel is optional TestConditionResultCommonModel.

func NewOptTestConditionResultCommonModel

func NewOptTestConditionResultCommonModel(v TestConditionResultCommonModel) OptTestConditionResultCommonModel

NewOptTestConditionResultCommonModel returns new OptTestConditionResultCommonModel with value set to v.

func (*OptTestConditionResultCommonModel) Decode

Decode decodes TestConditionResultCommonModel from json.

func (OptTestConditionResultCommonModel) Encode

Encode encodes TestConditionResultCommonModel as json.

func (OptTestConditionResultCommonModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptTestConditionResultCommonModel) IsSet

IsSet returns true if OptTestConditionResultCommonModel was set.

func (OptTestConditionResultCommonModel) MarshalJSON

func (s OptTestConditionResultCommonModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTestConditionResultCommonModel) Or

Or returns value if set, or given parameter if does not.

func (*OptTestConditionResultCommonModel) Reset

Reset unsets value.

func (*OptTestConditionResultCommonModel) SetTo

SetTo sets value to v.

func (*OptTestConditionResultCommonModel) UnmarshalJSON

func (s *OptTestConditionResultCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTestFromConversationMetadataInput

type OptTestFromConversationMetadataInput struct {
	Value TestFromConversationMetadataInput
	Set   bool
}

OptTestFromConversationMetadataInput is optional TestFromConversationMetadataInput.

func NewOptTestFromConversationMetadataInput

func NewOptTestFromConversationMetadataInput(v TestFromConversationMetadataInput) OptTestFromConversationMetadataInput

NewOptTestFromConversationMetadataInput returns new OptTestFromConversationMetadataInput with value set to v.

func (*OptTestFromConversationMetadataInput) Decode

Decode decodes TestFromConversationMetadataInput from json.

func (OptTestFromConversationMetadataInput) Encode

Encode encodes TestFromConversationMetadataInput as json.

func (OptTestFromConversationMetadataInput) Get

Get returns value and boolean that denotes whether value was set.

func (OptTestFromConversationMetadataInput) IsSet

IsSet returns true if OptTestFromConversationMetadataInput was set.

func (OptTestFromConversationMetadataInput) MarshalJSON

func (s OptTestFromConversationMetadataInput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTestFromConversationMetadataInput) Or

Or returns value if set, or given parameter if does not.

func (*OptTestFromConversationMetadataInput) Reset

Reset unsets value.

func (*OptTestFromConversationMetadataInput) SetTo

SetTo sets value to v.

func (*OptTestFromConversationMetadataInput) UnmarshalJSON

func (s *OptTestFromConversationMetadataInput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTestFromConversationMetadataOutput

type OptTestFromConversationMetadataOutput struct {
	Value TestFromConversationMetadataOutput
	Set   bool
}

OptTestFromConversationMetadataOutput is optional TestFromConversationMetadataOutput.

func NewOptTestFromConversationMetadataOutput

func NewOptTestFromConversationMetadataOutput(v TestFromConversationMetadataOutput) OptTestFromConversationMetadataOutput

NewOptTestFromConversationMetadataOutput returns new OptTestFromConversationMetadataOutput with value set to v.

func (*OptTestFromConversationMetadataOutput) Decode

Decode decodes TestFromConversationMetadataOutput from json.

func (OptTestFromConversationMetadataOutput) Encode

Encode encodes TestFromConversationMetadataOutput as json.

func (OptTestFromConversationMetadataOutput) Get

Get returns value and boolean that denotes whether value was set.

func (OptTestFromConversationMetadataOutput) IsSet

IsSet returns true if OptTestFromConversationMetadataOutput was set.

func (OptTestFromConversationMetadataOutput) MarshalJSON

func (s OptTestFromConversationMetadataOutput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTestFromConversationMetadataOutput) Or

Or returns value if set, or given parameter if does not.

func (*OptTestFromConversationMetadataOutput) Reset

Reset unsets value.

func (*OptTestFromConversationMetadataOutput) SetTo

SetTo sets value to v.

func (*OptTestFromConversationMetadataOutput) UnmarshalJSON

func (s *OptTestFromConversationMetadataOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTestRunMetadata

type OptTestRunMetadata struct {
	Value TestRunMetadata
	Set   bool
}

OptTestRunMetadata is optional TestRunMetadata.

func NewOptTestRunMetadata

func NewOptTestRunMetadata(v TestRunMetadata) OptTestRunMetadata

NewOptTestRunMetadata returns new OptTestRunMetadata with value set to v.

func (*OptTestRunMetadata) Decode

func (o *OptTestRunMetadata) Decode(d *jx.Decoder) error

Decode decodes TestRunMetadata from json.

func (OptTestRunMetadata) Encode

func (o OptTestRunMetadata) Encode(e *jx.Encoder)

Encode encodes TestRunMetadata as json.

func (OptTestRunMetadata) Get

func (o OptTestRunMetadata) Get() (v TestRunMetadata, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptTestRunMetadata) IsSet

func (o OptTestRunMetadata) IsSet() bool

IsSet returns true if OptTestRunMetadata was set.

func (OptTestRunMetadata) MarshalJSON

func (s OptTestRunMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTestRunMetadata) Or

Or returns value if set, or given parameter if does not.

func (*OptTestRunMetadata) Reset

func (o *OptTestRunMetadata) Reset()

Reset unsets value.

func (*OptTestRunMetadata) SetTo

func (o *OptTestRunMetadata) SetTo(v TestRunMetadata)

SetTo sets value to v.

func (*OptTestRunMetadata) UnmarshalJSON

func (s *OptTestRunMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTestRunMetadataTestType

type OptTestRunMetadataTestType struct {
	Value TestRunMetadataTestType
	Set   bool
}

OptTestRunMetadataTestType is optional TestRunMetadataTestType.

func NewOptTestRunMetadataTestType

func NewOptTestRunMetadataTestType(v TestRunMetadataTestType) OptTestRunMetadataTestType

NewOptTestRunMetadataTestType returns new OptTestRunMetadataTestType with value set to v.

func (*OptTestRunMetadataTestType) Decode

Decode decodes TestRunMetadataTestType from json.

func (OptTestRunMetadataTestType) Encode

func (o OptTestRunMetadataTestType) Encode(e *jx.Encoder)

Encode encodes TestRunMetadataTestType as json.

func (OptTestRunMetadataTestType) Get

Get returns value and boolean that denotes whether value was set.

func (OptTestRunMetadataTestType) IsSet

func (o OptTestRunMetadataTestType) IsSet() bool

IsSet returns true if OptTestRunMetadataTestType was set.

func (OptTestRunMetadataTestType) MarshalJSON

func (s OptTestRunMetadataTestType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTestRunMetadataTestType) Or

Or returns value if set, or given parameter if does not.

func (*OptTestRunMetadataTestType) Reset

func (o *OptTestRunMetadataTestType) Reset()

Reset unsets value.

func (*OptTestRunMetadataTestType) SetTo

SetTo sets value to v.

func (*OptTestRunMetadataTestType) UnmarshalJSON

func (s *OptTestRunMetadataTestType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTestToolResultModelResultType

type OptTestToolResultModelResultType struct {
	Value TestToolResultModelResultType
	Set   bool
}

OptTestToolResultModelResultType is optional TestToolResultModelResultType.

func NewOptTestToolResultModelResultType

func NewOptTestToolResultModelResultType(v TestToolResultModelResultType) OptTestToolResultModelResultType

NewOptTestToolResultModelResultType returns new OptTestToolResultModelResultType with value set to v.

func (*OptTestToolResultModelResultType) Decode

Decode decodes TestToolResultModelResultType from json.

func (OptTestToolResultModelResultType) Encode

Encode encodes TestToolResultModelResultType as json.

func (OptTestToolResultModelResultType) Get

Get returns value and boolean that denotes whether value was set.

func (OptTestToolResultModelResultType) IsSet

IsSet returns true if OptTestToolResultModelResultType was set.

func (OptTestToolResultModelResultType) MarshalJSON

func (s OptTestToolResultModelResultType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTestToolResultModelResultType) Or

Or returns value if set, or given parameter if does not.

func (*OptTestToolResultModelResultType) Reset

Reset unsets value.

func (*OptTestToolResultModelResultType) SetTo

SetTo sets value to v.

func (*OptTestToolResultModelResultType) UnmarshalJSON

func (s *OptTestToolResultModelResultType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTestToolResultModelStatus

type OptTestToolResultModelStatus struct {
	Value TestToolResultModelStatus
	Set   bool
}

OptTestToolResultModelStatus is optional TestToolResultModelStatus.

func NewOptTestToolResultModelStatus

func NewOptTestToolResultModelStatus(v TestToolResultModelStatus) OptTestToolResultModelStatus

NewOptTestToolResultModelStatus returns new OptTestToolResultModelStatus with value set to v.

func (*OptTestToolResultModelStatus) Decode

Decode decodes TestToolResultModelStatus from json.

func (OptTestToolResultModelStatus) Encode

Encode encodes TestToolResultModelStatus as json.

func (OptTestToolResultModelStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptTestToolResultModelStatus) IsSet

IsSet returns true if OptTestToolResultModelStatus was set.

func (OptTestToolResultModelStatus) MarshalJSON

func (s OptTestToolResultModelStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTestToolResultModelStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptTestToolResultModelStatus) Reset

func (o *OptTestToolResultModelStatus) Reset()

Reset unsets value.

func (*OptTestToolResultModelStatus) SetTo

SetTo sets value to v.

func (*OptTestToolResultModelStatus) UnmarshalJSON

func (s *OptTestToolResultModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTestsFeatureUsageCommonModel

type OptTestsFeatureUsageCommonModel struct {
	Value TestsFeatureUsageCommonModel
	Set   bool
}

OptTestsFeatureUsageCommonModel is optional TestsFeatureUsageCommonModel.

func NewOptTestsFeatureUsageCommonModel

func NewOptTestsFeatureUsageCommonModel(v TestsFeatureUsageCommonModel) OptTestsFeatureUsageCommonModel

NewOptTestsFeatureUsageCommonModel returns new OptTestsFeatureUsageCommonModel with value set to v.

func (*OptTestsFeatureUsageCommonModel) Decode

Decode decodes TestsFeatureUsageCommonModel from json.

func (OptTestsFeatureUsageCommonModel) Encode

Encode encodes TestsFeatureUsageCommonModel as json.

func (OptTestsFeatureUsageCommonModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptTestsFeatureUsageCommonModel) IsSet

IsSet returns true if OptTestsFeatureUsageCommonModel was set.

func (OptTestsFeatureUsageCommonModel) MarshalJSON

func (s OptTestsFeatureUsageCommonModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTestsFeatureUsageCommonModel) Or

Or returns value if set, or given parameter if does not.

func (*OptTestsFeatureUsageCommonModel) Reset

Reset unsets value.

func (*OptTestsFeatureUsageCommonModel) SetTo

SetTo sets value to v.

func (*OptTestsFeatureUsageCommonModel) UnmarshalJSON

func (s *OptTestsFeatureUsageCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTextToDialogueFullWithTimestampsOutputFormat

type OptTextToDialogueFullWithTimestampsOutputFormat struct {
	Value TextToDialogueFullWithTimestampsOutputFormat
	Set   bool
}

OptTextToDialogueFullWithTimestampsOutputFormat is optional TextToDialogueFullWithTimestampsOutputFormat.

func NewOptTextToDialogueFullWithTimestampsOutputFormat

func NewOptTextToDialogueFullWithTimestampsOutputFormat(v TextToDialogueFullWithTimestampsOutputFormat) OptTextToDialogueFullWithTimestampsOutputFormat

NewOptTextToDialogueFullWithTimestampsOutputFormat returns new OptTextToDialogueFullWithTimestampsOutputFormat with value set to v.

func (OptTextToDialogueFullWithTimestampsOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptTextToDialogueFullWithTimestampsOutputFormat) IsSet

IsSet returns true if OptTextToDialogueFullWithTimestampsOutputFormat was set.

func (OptTextToDialogueFullWithTimestampsOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptTextToDialogueFullWithTimestampsOutputFormat) Reset

Reset unsets value.

func (*OptTextToDialogueFullWithTimestampsOutputFormat) SetTo

SetTo sets value to v.

type OptTextToDialogueOutputFormat

type OptTextToDialogueOutputFormat struct {
	Value TextToDialogueOutputFormat
	Set   bool
}

OptTextToDialogueOutputFormat is optional TextToDialogueOutputFormat.

func NewOptTextToDialogueOutputFormat

func NewOptTextToDialogueOutputFormat(v TextToDialogueOutputFormat) OptTextToDialogueOutputFormat

NewOptTextToDialogueOutputFormat returns new OptTextToDialogueOutputFormat with value set to v.

func (OptTextToDialogueOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptTextToDialogueOutputFormat) IsSet

IsSet returns true if OptTextToDialogueOutputFormat was set.

func (OptTextToDialogueOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptTextToDialogueOutputFormat) Reset

func (o *OptTextToDialogueOutputFormat) Reset()

Reset unsets value.

func (*OptTextToDialogueOutputFormat) SetTo

SetTo sets value to v.

type OptTextToDialogueStreamOutputFormat

type OptTextToDialogueStreamOutputFormat struct {
	Value TextToDialogueStreamOutputFormat
	Set   bool
}

OptTextToDialogueStreamOutputFormat is optional TextToDialogueStreamOutputFormat.

func NewOptTextToDialogueStreamOutputFormat

func NewOptTextToDialogueStreamOutputFormat(v TextToDialogueStreamOutputFormat) OptTextToDialogueStreamOutputFormat

NewOptTextToDialogueStreamOutputFormat returns new OptTextToDialogueStreamOutputFormat with value set to v.

func (OptTextToDialogueStreamOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptTextToDialogueStreamOutputFormat) IsSet

IsSet returns true if OptTextToDialogueStreamOutputFormat was set.

func (OptTextToDialogueStreamOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptTextToDialogueStreamOutputFormat) Reset

Reset unsets value.

func (*OptTextToDialogueStreamOutputFormat) SetTo

SetTo sets value to v.

type OptTextToDialogueStreamWithTimestampsOutputFormat

type OptTextToDialogueStreamWithTimestampsOutputFormat struct {
	Value TextToDialogueStreamWithTimestampsOutputFormat
	Set   bool
}

OptTextToDialogueStreamWithTimestampsOutputFormat is optional TextToDialogueStreamWithTimestampsOutputFormat.

func NewOptTextToDialogueStreamWithTimestampsOutputFormat

func NewOptTextToDialogueStreamWithTimestampsOutputFormat(v TextToDialogueStreamWithTimestampsOutputFormat) OptTextToDialogueStreamWithTimestampsOutputFormat

NewOptTextToDialogueStreamWithTimestampsOutputFormat returns new OptTextToDialogueStreamWithTimestampsOutputFormat with value set to v.

func (OptTextToDialogueStreamWithTimestampsOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptTextToDialogueStreamWithTimestampsOutputFormat) IsSet

IsSet returns true if OptTextToDialogueStreamWithTimestampsOutputFormat was set.

func (OptTextToDialogueStreamWithTimestampsOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptTextToDialogueStreamWithTimestampsOutputFormat) Reset

Reset unsets value.

func (*OptTextToDialogueStreamWithTimestampsOutputFormat) SetTo

SetTo sets value to v.

type OptTextToSpeechFullOutputFormat

type OptTextToSpeechFullOutputFormat struct {
	Value TextToSpeechFullOutputFormat
	Set   bool
}

OptTextToSpeechFullOutputFormat is optional TextToSpeechFullOutputFormat.

func NewOptTextToSpeechFullOutputFormat

func NewOptTextToSpeechFullOutputFormat(v TextToSpeechFullOutputFormat) OptTextToSpeechFullOutputFormat

NewOptTextToSpeechFullOutputFormat returns new OptTextToSpeechFullOutputFormat with value set to v.

func (OptTextToSpeechFullOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptTextToSpeechFullOutputFormat) IsSet

IsSet returns true if OptTextToSpeechFullOutputFormat was set.

func (OptTextToSpeechFullOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptTextToSpeechFullOutputFormat) Reset

Reset unsets value.

func (*OptTextToSpeechFullOutputFormat) SetTo

SetTo sets value to v.

type OptTextToSpeechFullWithTimestampsOutputFormat

type OptTextToSpeechFullWithTimestampsOutputFormat struct {
	Value TextToSpeechFullWithTimestampsOutputFormat
	Set   bool
}

OptTextToSpeechFullWithTimestampsOutputFormat is optional TextToSpeechFullWithTimestampsOutputFormat.

func NewOptTextToSpeechFullWithTimestampsOutputFormat

func NewOptTextToSpeechFullWithTimestampsOutputFormat(v TextToSpeechFullWithTimestampsOutputFormat) OptTextToSpeechFullWithTimestampsOutputFormat

NewOptTextToSpeechFullWithTimestampsOutputFormat returns new OptTextToSpeechFullWithTimestampsOutputFormat with value set to v.

func (OptTextToSpeechFullWithTimestampsOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptTextToSpeechFullWithTimestampsOutputFormat) IsSet

IsSet returns true if OptTextToSpeechFullWithTimestampsOutputFormat was set.

func (OptTextToSpeechFullWithTimestampsOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptTextToSpeechFullWithTimestampsOutputFormat) Reset

Reset unsets value.

func (*OptTextToSpeechFullWithTimestampsOutputFormat) SetTo

SetTo sets value to v.

type OptTextToSpeechStreamOutputFormat

type OptTextToSpeechStreamOutputFormat struct {
	Value TextToSpeechStreamOutputFormat
	Set   bool
}

OptTextToSpeechStreamOutputFormat is optional TextToSpeechStreamOutputFormat.

func NewOptTextToSpeechStreamOutputFormat

func NewOptTextToSpeechStreamOutputFormat(v TextToSpeechStreamOutputFormat) OptTextToSpeechStreamOutputFormat

NewOptTextToSpeechStreamOutputFormat returns new OptTextToSpeechStreamOutputFormat with value set to v.

func (OptTextToSpeechStreamOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptTextToSpeechStreamOutputFormat) IsSet

IsSet returns true if OptTextToSpeechStreamOutputFormat was set.

func (OptTextToSpeechStreamOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptTextToSpeechStreamOutputFormat) Reset

Reset unsets value.

func (*OptTextToSpeechStreamOutputFormat) SetTo

SetTo sets value to v.

type OptTextToSpeechStreamWithTimestampsOutputFormat

type OptTextToSpeechStreamWithTimestampsOutputFormat struct {
	Value TextToSpeechStreamWithTimestampsOutputFormat
	Set   bool
}

OptTextToSpeechStreamWithTimestampsOutputFormat is optional TextToSpeechStreamWithTimestampsOutputFormat.

func NewOptTextToSpeechStreamWithTimestampsOutputFormat

func NewOptTextToSpeechStreamWithTimestampsOutputFormat(v TextToSpeechStreamWithTimestampsOutputFormat) OptTextToSpeechStreamWithTimestampsOutputFormat

NewOptTextToSpeechStreamWithTimestampsOutputFormat returns new OptTextToSpeechStreamWithTimestampsOutputFormat with value set to v.

func (OptTextToSpeechStreamWithTimestampsOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptTextToSpeechStreamWithTimestampsOutputFormat) IsSet

IsSet returns true if OptTextToSpeechStreamWithTimestampsOutputFormat was set.

func (OptTextToSpeechStreamWithTimestampsOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptTextToSpeechStreamWithTimestampsOutputFormat) Reset

Reset unsets value.

func (*OptTextToSpeechStreamWithTimestampsOutputFormat) SetTo

SetTo sets value to v.

type OptTextToVoiceDesignOutputFormat

type OptTextToVoiceDesignOutputFormat struct {
	Value TextToVoiceDesignOutputFormat
	Set   bool
}

OptTextToVoiceDesignOutputFormat is optional TextToVoiceDesignOutputFormat.

func NewOptTextToVoiceDesignOutputFormat

func NewOptTextToVoiceDesignOutputFormat(v TextToVoiceDesignOutputFormat) OptTextToVoiceDesignOutputFormat

NewOptTextToVoiceDesignOutputFormat returns new OptTextToVoiceDesignOutputFormat with value set to v.

func (OptTextToVoiceDesignOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptTextToVoiceDesignOutputFormat) IsSet

IsSet returns true if OptTextToVoiceDesignOutputFormat was set.

func (OptTextToVoiceDesignOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptTextToVoiceDesignOutputFormat) Reset

Reset unsets value.

func (*OptTextToVoiceDesignOutputFormat) SetTo

SetTo sets value to v.

type OptTextToVoiceOutputFormat

type OptTextToVoiceOutputFormat struct {
	Value TextToVoiceOutputFormat
	Set   bool
}

OptTextToVoiceOutputFormat is optional TextToVoiceOutputFormat.

func NewOptTextToVoiceOutputFormat

func NewOptTextToVoiceOutputFormat(v TextToVoiceOutputFormat) OptTextToVoiceOutputFormat

NewOptTextToVoiceOutputFormat returns new OptTextToVoiceOutputFormat with value set to v.

func (OptTextToVoiceOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptTextToVoiceOutputFormat) IsSet

func (o OptTextToVoiceOutputFormat) IsSet() bool

IsSet returns true if OptTextToVoiceOutputFormat was set.

func (OptTextToVoiceOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptTextToVoiceOutputFormat) Reset

func (o *OptTextToVoiceOutputFormat) Reset()

Reset unsets value.

func (*OptTextToVoiceOutputFormat) SetTo

SetTo sets value to v.

type OptTextToVoiceRemixOutputFormat

type OptTextToVoiceRemixOutputFormat struct {
	Value TextToVoiceRemixOutputFormat
	Set   bool
}

OptTextToVoiceRemixOutputFormat is optional TextToVoiceRemixOutputFormat.

func NewOptTextToVoiceRemixOutputFormat

func NewOptTextToVoiceRemixOutputFormat(v TextToVoiceRemixOutputFormat) OptTextToVoiceRemixOutputFormat

NewOptTextToVoiceRemixOutputFormat returns new OptTextToVoiceRemixOutputFormat with value set to v.

func (OptTextToVoiceRemixOutputFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptTextToVoiceRemixOutputFormat) IsSet

IsSet returns true if OptTextToVoiceRemixOutputFormat was set.

func (OptTextToVoiceRemixOutputFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptTextToVoiceRemixOutputFormat) Reset

Reset unsets value.

func (*OptTextToVoiceRemixOutputFormat) SetTo

SetTo sets value to v.

type OptToolAnnotations

type OptToolAnnotations struct {
	Value ToolAnnotations
	Set   bool
}

OptToolAnnotations is optional ToolAnnotations.

func NewOptToolAnnotations

func NewOptToolAnnotations(v ToolAnnotations) OptToolAnnotations

NewOptToolAnnotations returns new OptToolAnnotations with value set to v.

func (*OptToolAnnotations) Decode

func (o *OptToolAnnotations) Decode(d *jx.Decoder) error

Decode decodes ToolAnnotations from json.

func (OptToolAnnotations) Encode

func (o OptToolAnnotations) Encode(e *jx.Encoder)

Encode encodes ToolAnnotations as json.

func (OptToolAnnotations) Get

func (o OptToolAnnotations) Get() (v ToolAnnotations, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptToolAnnotations) IsSet

func (o OptToolAnnotations) IsSet() bool

IsSet returns true if OptToolAnnotations was set.

func (OptToolAnnotations) MarshalJSON

func (s OptToolAnnotations) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptToolAnnotations) Or

Or returns value if set, or given parameter if does not.

func (*OptToolAnnotations) Reset

func (o *OptToolAnnotations) Reset()

Reset unsets value.

func (*OptToolAnnotations) SetTo

func (o *OptToolAnnotations) SetTo(v ToolAnnotations)

SetTo sets value to v.

func (*OptToolAnnotations) UnmarshalJSON

func (s *OptToolAnnotations) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptToolCallSoundBehavior

type OptToolCallSoundBehavior struct {
	Value ToolCallSoundBehavior
	Set   bool
}

OptToolCallSoundBehavior is optional ToolCallSoundBehavior.

func NewOptToolCallSoundBehavior

func NewOptToolCallSoundBehavior(v ToolCallSoundBehavior) OptToolCallSoundBehavior

NewOptToolCallSoundBehavior returns new OptToolCallSoundBehavior with value set to v.

func (*OptToolCallSoundBehavior) Decode

func (o *OptToolCallSoundBehavior) Decode(d *jx.Decoder) error

Decode decodes ToolCallSoundBehavior from json.

func (OptToolCallSoundBehavior) Encode

func (o OptToolCallSoundBehavior) Encode(e *jx.Encoder)

Encode encodes ToolCallSoundBehavior as json.

func (OptToolCallSoundBehavior) Get

Get returns value and boolean that denotes whether value was set.

func (OptToolCallSoundBehavior) IsSet

func (o OptToolCallSoundBehavior) IsSet() bool

IsSet returns true if OptToolCallSoundBehavior was set.

func (OptToolCallSoundBehavior) MarshalJSON

func (s OptToolCallSoundBehavior) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptToolCallSoundBehavior) Or

Or returns value if set, or given parameter if does not.

func (*OptToolCallSoundBehavior) Reset

func (o *OptToolCallSoundBehavior) Reset()

Reset unsets value.

func (*OptToolCallSoundBehavior) SetTo

SetTo sets value to v.

func (*OptToolCallSoundBehavior) UnmarshalJSON

func (s *OptToolCallSoundBehavior) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptToolCallSoundType

type OptToolCallSoundType struct {
	Value ToolCallSoundType
	Set   bool
}

OptToolCallSoundType is optional ToolCallSoundType.

func NewOptToolCallSoundType

func NewOptToolCallSoundType(v ToolCallSoundType) OptToolCallSoundType

NewOptToolCallSoundType returns new OptToolCallSoundType with value set to v.

func (*OptToolCallSoundType) Decode

func (o *OptToolCallSoundType) Decode(d *jx.Decoder) error

Decode decodes ToolCallSoundType from json.

func (OptToolCallSoundType) Encode

func (o OptToolCallSoundType) Encode(e *jx.Encoder)

Encode encodes ToolCallSoundType as json.

func (OptToolCallSoundType) Get

Get returns value and boolean that denotes whether value was set.

func (OptToolCallSoundType) IsSet

func (o OptToolCallSoundType) IsSet() bool

IsSet returns true if OptToolCallSoundType was set.

func (OptToolCallSoundType) MarshalJSON

func (s OptToolCallSoundType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptToolCallSoundType) Or

Or returns value if set, or given parameter if does not.

func (*OptToolCallSoundType) Reset

func (o *OptToolCallSoundType) Reset()

Reset unsets value.

func (*OptToolCallSoundType) SetTo

SetTo sets value to v.

func (*OptToolCallSoundType) UnmarshalJSON

func (s *OptToolCallSoundType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptToolExecutionMode

type OptToolExecutionMode struct {
	Value ToolExecutionMode
	Set   bool
}

OptToolExecutionMode is optional ToolExecutionMode.

func NewOptToolExecutionMode

func NewOptToolExecutionMode(v ToolExecutionMode) OptToolExecutionMode

NewOptToolExecutionMode returns new OptToolExecutionMode with value set to v.

func (*OptToolExecutionMode) Decode

func (o *OptToolExecutionMode) Decode(d *jx.Decoder) error

Decode decodes ToolExecutionMode from json.

func (OptToolExecutionMode) Encode

func (o OptToolExecutionMode) Encode(e *jx.Encoder)

Encode encodes ToolExecutionMode as json.

func (OptToolExecutionMode) Get

Get returns value and boolean that denotes whether value was set.

func (OptToolExecutionMode) IsSet

func (o OptToolExecutionMode) IsSet() bool

IsSet returns true if OptToolExecutionMode was set.

func (OptToolExecutionMode) MarshalJSON

func (s OptToolExecutionMode) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptToolExecutionMode) Or

Or returns value if set, or given parameter if does not.

func (*OptToolExecutionMode) Reset

func (o *OptToolExecutionMode) Reset()

Reset unsets value.

func (*OptToolExecutionMode) SetTo

SetTo sets value to v.

func (*OptToolExecutionMode) UnmarshalJSON

func (s *OptToolExecutionMode) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptToolMeta

type OptToolMeta struct {
	Value *ToolMeta
	Set   bool
}

OptToolMeta is optional *ToolMeta.

func NewOptToolMeta

func NewOptToolMeta(v *ToolMeta) OptToolMeta

NewOptToolMeta returns new OptToolMeta with value set to v.

func (*OptToolMeta) Decode

func (o *OptToolMeta) Decode(d *jx.Decoder) error

Decode decodes *ToolMeta from json.

func (OptToolMeta) Encode

func (o OptToolMeta) Encode(e *jx.Encoder)

Encode encodes *ToolMeta as json.

func (OptToolMeta) Get

func (o OptToolMeta) Get() (v *ToolMeta, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptToolMeta) IsSet

func (o OptToolMeta) IsSet() bool

IsSet returns true if OptToolMeta was set.

func (OptToolMeta) MarshalJSON

func (s OptToolMeta) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptToolMeta) Or

func (o OptToolMeta) Or(d *ToolMeta) *ToolMeta

Or returns value if set, or given parameter if does not.

func (*OptToolMeta) Reset

func (o *OptToolMeta) Reset()

Reset unsets value.

func (*OptToolMeta) SetTo

func (o *OptToolMeta) SetTo(v *ToolMeta)

SetTo sets value to v.

func (*OptToolMeta) UnmarshalJSON

func (s *OptToolMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptToolOutputSchema

type OptToolOutputSchema struct {
	Value *ToolOutputSchema
	Set   bool
}

OptToolOutputSchema is optional *ToolOutputSchema.

func NewOptToolOutputSchema

func NewOptToolOutputSchema(v *ToolOutputSchema) OptToolOutputSchema

NewOptToolOutputSchema returns new OptToolOutputSchema with value set to v.

func (*OptToolOutputSchema) Decode

func (o *OptToolOutputSchema) Decode(d *jx.Decoder) error

Decode decodes *ToolOutputSchema from json.

func (OptToolOutputSchema) Encode

func (o OptToolOutputSchema) Encode(e *jx.Encoder)

Encode encodes *ToolOutputSchema as json.

func (OptToolOutputSchema) Get

func (o OptToolOutputSchema) Get() (v *ToolOutputSchema, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptToolOutputSchema) IsSet

func (o OptToolOutputSchema) IsSet() bool

IsSet returns true if OptToolOutputSchema was set.

func (OptToolOutputSchema) MarshalJSON

func (s OptToolOutputSchema) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptToolOutputSchema) Or

Or returns value if set, or given parameter if does not.

func (*OptToolOutputSchema) Reset

func (o *OptToolOutputSchema) Reset()

Reset unsets value.

func (*OptToolOutputSchema) SetTo

SetTo sets value to v.

func (*OptToolOutputSchema) UnmarshalJSON

func (s *OptToolOutputSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptToolType

type OptToolType struct {
	Value ToolType
	Set   bool
}

OptToolType is optional ToolType.

func NewOptToolType

func NewOptToolType(v ToolType) OptToolType

NewOptToolType returns new OptToolType with value set to v.

func (*OptToolType) Decode

func (o *OptToolType) Decode(d *jx.Decoder) error

Decode decodes ToolType from json.

func (OptToolType) Encode

func (o OptToolType) Encode(e *jx.Encoder)

Encode encodes ToolType as json.

func (OptToolType) Get

func (o OptToolType) Get() (v ToolType, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptToolType) IsSet

func (o OptToolType) IsSet() bool

IsSet returns true if OptToolType was set.

func (OptToolType) MarshalJSON

func (s OptToolType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptToolType) Or

func (o OptToolType) Or(d ToolType) ToolType

Or returns value if set, or given parameter if does not.

func (*OptToolType) Reset

func (o *OptToolType) Reset()

Reset unsets value.

func (*OptToolType) SetTo

func (o *OptToolType) SetTo(v ToolType)

SetTo sets value to v.

func (*OptToolType) UnmarshalJSON

func (s *OptToolType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTransferToAgentToolResultErrorModelResultType

type OptTransferToAgentToolResultErrorModelResultType struct {
	Value TransferToAgentToolResultErrorModelResultType
	Set   bool
}

OptTransferToAgentToolResultErrorModelResultType is optional TransferToAgentToolResultErrorModelResultType.

func NewOptTransferToAgentToolResultErrorModelResultType

func NewOptTransferToAgentToolResultErrorModelResultType(v TransferToAgentToolResultErrorModelResultType) OptTransferToAgentToolResultErrorModelResultType

NewOptTransferToAgentToolResultErrorModelResultType returns new OptTransferToAgentToolResultErrorModelResultType with value set to v.

func (*OptTransferToAgentToolResultErrorModelResultType) Decode

Decode decodes TransferToAgentToolResultErrorModelResultType from json.

func (OptTransferToAgentToolResultErrorModelResultType) Encode

Encode encodes TransferToAgentToolResultErrorModelResultType as json.

func (OptTransferToAgentToolResultErrorModelResultType) Get

Get returns value and boolean that denotes whether value was set.

func (OptTransferToAgentToolResultErrorModelResultType) IsSet

IsSet returns true if OptTransferToAgentToolResultErrorModelResultType was set.

func (OptTransferToAgentToolResultErrorModelResultType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptTransferToAgentToolResultErrorModelResultType) Or

Or returns value if set, or given parameter if does not.

func (*OptTransferToAgentToolResultErrorModelResultType) Reset

Reset unsets value.

func (*OptTransferToAgentToolResultErrorModelResultType) SetTo

SetTo sets value to v.

func (*OptTransferToAgentToolResultErrorModelResultType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTransferToAgentToolResultErrorModelStatus

type OptTransferToAgentToolResultErrorModelStatus struct {
	Value TransferToAgentToolResultErrorModelStatus
	Set   bool
}

OptTransferToAgentToolResultErrorModelStatus is optional TransferToAgentToolResultErrorModelStatus.

func NewOptTransferToAgentToolResultErrorModelStatus

func NewOptTransferToAgentToolResultErrorModelStatus(v TransferToAgentToolResultErrorModelStatus) OptTransferToAgentToolResultErrorModelStatus

NewOptTransferToAgentToolResultErrorModelStatus returns new OptTransferToAgentToolResultErrorModelStatus with value set to v.

func (*OptTransferToAgentToolResultErrorModelStatus) Decode

Decode decodes TransferToAgentToolResultErrorModelStatus from json.

func (OptTransferToAgentToolResultErrorModelStatus) Encode

Encode encodes TransferToAgentToolResultErrorModelStatus as json.

func (OptTransferToAgentToolResultErrorModelStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptTransferToAgentToolResultErrorModelStatus) IsSet

IsSet returns true if OptTransferToAgentToolResultErrorModelStatus was set.

func (OptTransferToAgentToolResultErrorModelStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptTransferToAgentToolResultErrorModelStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptTransferToAgentToolResultErrorModelStatus) Reset

Reset unsets value.

func (*OptTransferToAgentToolResultErrorModelStatus) SetTo

SetTo sets value to v.

func (*OptTransferToAgentToolResultErrorModelStatus) UnmarshalJSON

func (s *OptTransferToAgentToolResultErrorModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTransferToAgentToolResultSuccessModelResultType

type OptTransferToAgentToolResultSuccessModelResultType struct {
	Value TransferToAgentToolResultSuccessModelResultType
	Set   bool
}

OptTransferToAgentToolResultSuccessModelResultType is optional TransferToAgentToolResultSuccessModelResultType.

func NewOptTransferToAgentToolResultSuccessModelResultType

func NewOptTransferToAgentToolResultSuccessModelResultType(v TransferToAgentToolResultSuccessModelResultType) OptTransferToAgentToolResultSuccessModelResultType

NewOptTransferToAgentToolResultSuccessModelResultType returns new OptTransferToAgentToolResultSuccessModelResultType with value set to v.

func (*OptTransferToAgentToolResultSuccessModelResultType) Decode

Decode decodes TransferToAgentToolResultSuccessModelResultType from json.

func (OptTransferToAgentToolResultSuccessModelResultType) Encode

Encode encodes TransferToAgentToolResultSuccessModelResultType as json.

func (OptTransferToAgentToolResultSuccessModelResultType) Get

Get returns value and boolean that denotes whether value was set.

func (OptTransferToAgentToolResultSuccessModelResultType) IsSet

IsSet returns true if OptTransferToAgentToolResultSuccessModelResultType was set.

func (OptTransferToAgentToolResultSuccessModelResultType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptTransferToAgentToolResultSuccessModelResultType) Or

Or returns value if set, or given parameter if does not.

func (*OptTransferToAgentToolResultSuccessModelResultType) Reset

Reset unsets value.

func (*OptTransferToAgentToolResultSuccessModelResultType) SetTo

SetTo sets value to v.

func (*OptTransferToAgentToolResultSuccessModelResultType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTransferToAgentToolResultSuccessModelStatus

type OptTransferToAgentToolResultSuccessModelStatus struct {
	Value TransferToAgentToolResultSuccessModelStatus
	Set   bool
}

OptTransferToAgentToolResultSuccessModelStatus is optional TransferToAgentToolResultSuccessModelStatus.

func NewOptTransferToAgentToolResultSuccessModelStatus

func NewOptTransferToAgentToolResultSuccessModelStatus(v TransferToAgentToolResultSuccessModelStatus) OptTransferToAgentToolResultSuccessModelStatus

NewOptTransferToAgentToolResultSuccessModelStatus returns new OptTransferToAgentToolResultSuccessModelStatus with value set to v.

func (*OptTransferToAgentToolResultSuccessModelStatus) Decode

Decode decodes TransferToAgentToolResultSuccessModelStatus from json.

func (OptTransferToAgentToolResultSuccessModelStatus) Encode

Encode encodes TransferToAgentToolResultSuccessModelStatus as json.

func (OptTransferToAgentToolResultSuccessModelStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptTransferToAgentToolResultSuccessModelStatus) IsSet

IsSet returns true if OptTransferToAgentToolResultSuccessModelStatus was set.

func (OptTransferToAgentToolResultSuccessModelStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptTransferToAgentToolResultSuccessModelStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptTransferToAgentToolResultSuccessModelStatus) Reset

Reset unsets value.

func (*OptTransferToAgentToolResultSuccessModelStatus) SetTo

SetTo sets value to v.

func (*OptTransferToAgentToolResultSuccessModelStatus) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTransferToNumberResultErrorModelResultType

type OptTransferToNumberResultErrorModelResultType struct {
	Value TransferToNumberResultErrorModelResultType
	Set   bool
}

OptTransferToNumberResultErrorModelResultType is optional TransferToNumberResultErrorModelResultType.

func NewOptTransferToNumberResultErrorModelResultType

func NewOptTransferToNumberResultErrorModelResultType(v TransferToNumberResultErrorModelResultType) OptTransferToNumberResultErrorModelResultType

NewOptTransferToNumberResultErrorModelResultType returns new OptTransferToNumberResultErrorModelResultType with value set to v.

func (*OptTransferToNumberResultErrorModelResultType) Decode

Decode decodes TransferToNumberResultErrorModelResultType from json.

func (OptTransferToNumberResultErrorModelResultType) Encode

Encode encodes TransferToNumberResultErrorModelResultType as json.

func (OptTransferToNumberResultErrorModelResultType) Get

Get returns value and boolean that denotes whether value was set.

func (OptTransferToNumberResultErrorModelResultType) IsSet

IsSet returns true if OptTransferToNumberResultErrorModelResultType was set.

func (OptTransferToNumberResultErrorModelResultType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptTransferToNumberResultErrorModelResultType) Or

Or returns value if set, or given parameter if does not.

func (*OptTransferToNumberResultErrorModelResultType) Reset

Reset unsets value.

func (*OptTransferToNumberResultErrorModelResultType) SetTo

SetTo sets value to v.

func (*OptTransferToNumberResultErrorModelResultType) UnmarshalJSON

func (s *OptTransferToNumberResultErrorModelResultType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTransferToNumberResultErrorModelStatus

type OptTransferToNumberResultErrorModelStatus struct {
	Value TransferToNumberResultErrorModelStatus
	Set   bool
}

OptTransferToNumberResultErrorModelStatus is optional TransferToNumberResultErrorModelStatus.

func NewOptTransferToNumberResultErrorModelStatus

func NewOptTransferToNumberResultErrorModelStatus(v TransferToNumberResultErrorModelStatus) OptTransferToNumberResultErrorModelStatus

NewOptTransferToNumberResultErrorModelStatus returns new OptTransferToNumberResultErrorModelStatus with value set to v.

func (*OptTransferToNumberResultErrorModelStatus) Decode

Decode decodes TransferToNumberResultErrorModelStatus from json.

func (OptTransferToNumberResultErrorModelStatus) Encode

Encode encodes TransferToNumberResultErrorModelStatus as json.

func (OptTransferToNumberResultErrorModelStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptTransferToNumberResultErrorModelStatus) IsSet

IsSet returns true if OptTransferToNumberResultErrorModelStatus was set.

func (OptTransferToNumberResultErrorModelStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptTransferToNumberResultErrorModelStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptTransferToNumberResultErrorModelStatus) Reset

Reset unsets value.

func (*OptTransferToNumberResultErrorModelStatus) SetTo

SetTo sets value to v.

func (*OptTransferToNumberResultErrorModelStatus) UnmarshalJSON

func (s *OptTransferToNumberResultErrorModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTransferToNumberResultSipSuccessModelResultType

type OptTransferToNumberResultSipSuccessModelResultType struct {
	Value TransferToNumberResultSipSuccessModelResultType
	Set   bool
}

OptTransferToNumberResultSipSuccessModelResultType is optional TransferToNumberResultSipSuccessModelResultType.

func NewOptTransferToNumberResultSipSuccessModelResultType

func NewOptTransferToNumberResultSipSuccessModelResultType(v TransferToNumberResultSipSuccessModelResultType) OptTransferToNumberResultSipSuccessModelResultType

NewOptTransferToNumberResultSipSuccessModelResultType returns new OptTransferToNumberResultSipSuccessModelResultType with value set to v.

func (*OptTransferToNumberResultSipSuccessModelResultType) Decode

Decode decodes TransferToNumberResultSipSuccessModelResultType from json.

func (OptTransferToNumberResultSipSuccessModelResultType) Encode

Encode encodes TransferToNumberResultSipSuccessModelResultType as json.

func (OptTransferToNumberResultSipSuccessModelResultType) Get

Get returns value and boolean that denotes whether value was set.

func (OptTransferToNumberResultSipSuccessModelResultType) IsSet

IsSet returns true if OptTransferToNumberResultSipSuccessModelResultType was set.

func (OptTransferToNumberResultSipSuccessModelResultType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptTransferToNumberResultSipSuccessModelResultType) Or

Or returns value if set, or given parameter if does not.

func (*OptTransferToNumberResultSipSuccessModelResultType) Reset

Reset unsets value.

func (*OptTransferToNumberResultSipSuccessModelResultType) SetTo

SetTo sets value to v.

func (*OptTransferToNumberResultSipSuccessModelResultType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTransferToNumberResultSipSuccessModelStatus

type OptTransferToNumberResultSipSuccessModelStatus struct {
	Value TransferToNumberResultSipSuccessModelStatus
	Set   bool
}

OptTransferToNumberResultSipSuccessModelStatus is optional TransferToNumberResultSipSuccessModelStatus.

func NewOptTransferToNumberResultSipSuccessModelStatus

func NewOptTransferToNumberResultSipSuccessModelStatus(v TransferToNumberResultSipSuccessModelStatus) OptTransferToNumberResultSipSuccessModelStatus

NewOptTransferToNumberResultSipSuccessModelStatus returns new OptTransferToNumberResultSipSuccessModelStatus with value set to v.

func (*OptTransferToNumberResultSipSuccessModelStatus) Decode

Decode decodes TransferToNumberResultSipSuccessModelStatus from json.

func (OptTransferToNumberResultSipSuccessModelStatus) Encode

Encode encodes TransferToNumberResultSipSuccessModelStatus as json.

func (OptTransferToNumberResultSipSuccessModelStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptTransferToNumberResultSipSuccessModelStatus) IsSet

IsSet returns true if OptTransferToNumberResultSipSuccessModelStatus was set.

func (OptTransferToNumberResultSipSuccessModelStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptTransferToNumberResultSipSuccessModelStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptTransferToNumberResultSipSuccessModelStatus) Reset

Reset unsets value.

func (*OptTransferToNumberResultSipSuccessModelStatus) SetTo

SetTo sets value to v.

func (*OptTransferToNumberResultSipSuccessModelStatus) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTransferToNumberResultTwilioSuccessModelResultType

type OptTransferToNumberResultTwilioSuccessModelResultType struct {
	Value TransferToNumberResultTwilioSuccessModelResultType
	Set   bool
}

OptTransferToNumberResultTwilioSuccessModelResultType is optional TransferToNumberResultTwilioSuccessModelResultType.

func NewOptTransferToNumberResultTwilioSuccessModelResultType

NewOptTransferToNumberResultTwilioSuccessModelResultType returns new OptTransferToNumberResultTwilioSuccessModelResultType with value set to v.

func (*OptTransferToNumberResultTwilioSuccessModelResultType) Decode

Decode decodes TransferToNumberResultTwilioSuccessModelResultType from json.

func (OptTransferToNumberResultTwilioSuccessModelResultType) Encode

Encode encodes TransferToNumberResultTwilioSuccessModelResultType as json.

func (OptTransferToNumberResultTwilioSuccessModelResultType) Get

Get returns value and boolean that denotes whether value was set.

func (OptTransferToNumberResultTwilioSuccessModelResultType) IsSet

IsSet returns true if OptTransferToNumberResultTwilioSuccessModelResultType was set.

func (OptTransferToNumberResultTwilioSuccessModelResultType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptTransferToNumberResultTwilioSuccessModelResultType) Or

Or returns value if set, or given parameter if does not.

func (*OptTransferToNumberResultTwilioSuccessModelResultType) Reset

Reset unsets value.

func (*OptTransferToNumberResultTwilioSuccessModelResultType) SetTo

SetTo sets value to v.

func (*OptTransferToNumberResultTwilioSuccessModelResultType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTransferToNumberResultTwilioSuccessModelStatus

type OptTransferToNumberResultTwilioSuccessModelStatus struct {
	Value TransferToNumberResultTwilioSuccessModelStatus
	Set   bool
}

OptTransferToNumberResultTwilioSuccessModelStatus is optional TransferToNumberResultTwilioSuccessModelStatus.

func NewOptTransferToNumberResultTwilioSuccessModelStatus

func NewOptTransferToNumberResultTwilioSuccessModelStatus(v TransferToNumberResultTwilioSuccessModelStatus) OptTransferToNumberResultTwilioSuccessModelStatus

NewOptTransferToNumberResultTwilioSuccessModelStatus returns new OptTransferToNumberResultTwilioSuccessModelStatus with value set to v.

func (*OptTransferToNumberResultTwilioSuccessModelStatus) Decode

Decode decodes TransferToNumberResultTwilioSuccessModelStatus from json.

func (OptTransferToNumberResultTwilioSuccessModelStatus) Encode

Encode encodes TransferToNumberResultTwilioSuccessModelStatus as json.

func (OptTransferToNumberResultTwilioSuccessModelStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptTransferToNumberResultTwilioSuccessModelStatus) IsSet

IsSet returns true if OptTransferToNumberResultTwilioSuccessModelStatus was set.

func (OptTransferToNumberResultTwilioSuccessModelStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptTransferToNumberResultTwilioSuccessModelStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptTransferToNumberResultTwilioSuccessModelStatus) Reset

Reset unsets value.

func (*OptTransferToNumberResultTwilioSuccessModelStatus) SetTo

SetTo sets value to v.

func (*OptTransferToNumberResultTwilioSuccessModelStatus) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTurnConfigOverride

type OptTurnConfigOverride struct {
	Value TurnConfigOverride
	Set   bool
}

OptTurnConfigOverride is optional TurnConfigOverride.

func NewOptTurnConfigOverride

func NewOptTurnConfigOverride(v TurnConfigOverride) OptTurnConfigOverride

NewOptTurnConfigOverride returns new OptTurnConfigOverride with value set to v.

func (*OptTurnConfigOverride) Decode

func (o *OptTurnConfigOverride) Decode(d *jx.Decoder) error

Decode decodes TurnConfigOverride from json.

func (OptTurnConfigOverride) Encode

func (o OptTurnConfigOverride) Encode(e *jx.Encoder)

Encode encodes TurnConfigOverride as json.

func (OptTurnConfigOverride) Get

Get returns value and boolean that denotes whether value was set.

func (OptTurnConfigOverride) IsSet

func (o OptTurnConfigOverride) IsSet() bool

IsSet returns true if OptTurnConfigOverride was set.

func (OptTurnConfigOverride) MarshalJSON

func (s OptTurnConfigOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTurnConfigOverride) Or

Or returns value if set, or given parameter if does not.

func (*OptTurnConfigOverride) Reset

func (o *OptTurnConfigOverride) Reset()

Reset unsets value.

func (*OptTurnConfigOverride) SetTo

SetTo sets value to v.

func (*OptTurnConfigOverride) UnmarshalJSON

func (s *OptTurnConfigOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUnitTestCommonModel

type OptUnitTestCommonModel struct {
	Value UnitTestCommonModel
	Set   bool
}

OptUnitTestCommonModel is optional UnitTestCommonModel.

func NewOptUnitTestCommonModel

func NewOptUnitTestCommonModel(v UnitTestCommonModel) OptUnitTestCommonModel

NewOptUnitTestCommonModel returns new OptUnitTestCommonModel with value set to v.

func (*OptUnitTestCommonModel) Decode

func (o *OptUnitTestCommonModel) Decode(d *jx.Decoder) error

Decode decodes UnitTestCommonModel from json.

func (OptUnitTestCommonModel) Encode

func (o OptUnitTestCommonModel) Encode(e *jx.Encoder)

Encode encodes UnitTestCommonModel as json.

func (OptUnitTestCommonModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptUnitTestCommonModel) IsSet

func (o OptUnitTestCommonModel) IsSet() bool

IsSet returns true if OptUnitTestCommonModel was set.

func (OptUnitTestCommonModel) MarshalJSON

func (s OptUnitTestCommonModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptUnitTestCommonModel) Or

Or returns value if set, or given parameter if does not.

func (*OptUnitTestCommonModel) Reset

func (o *OptUnitTestCommonModel) Reset()

Reset unsets value.

func (*OptUnitTestCommonModel) SetTo

SetTo sets value to v.

func (*OptUnitTestCommonModel) UnmarshalJSON

func (s *OptUnitTestCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUnitTestCommonModelDynamicVariables

type OptUnitTestCommonModelDynamicVariables struct {
	Value UnitTestCommonModelDynamicVariables
	Set   bool
}

OptUnitTestCommonModelDynamicVariables is optional UnitTestCommonModelDynamicVariables.

func NewOptUnitTestCommonModelDynamicVariables

func NewOptUnitTestCommonModelDynamicVariables(v UnitTestCommonModelDynamicVariables) OptUnitTestCommonModelDynamicVariables

NewOptUnitTestCommonModelDynamicVariables returns new OptUnitTestCommonModelDynamicVariables with value set to v.

func (*OptUnitTestCommonModelDynamicVariables) Decode

Decode decodes UnitTestCommonModelDynamicVariables from json.

func (OptUnitTestCommonModelDynamicVariables) Encode

Encode encodes UnitTestCommonModelDynamicVariables as json.

func (OptUnitTestCommonModelDynamicVariables) Get

Get returns value and boolean that denotes whether value was set.

func (OptUnitTestCommonModelDynamicVariables) IsSet

IsSet returns true if OptUnitTestCommonModelDynamicVariables was set.

func (OptUnitTestCommonModelDynamicVariables) MarshalJSON

func (s OptUnitTestCommonModelDynamicVariables) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptUnitTestCommonModelDynamicVariables) Or

Or returns value if set, or given parameter if does not.

func (*OptUnitTestCommonModelDynamicVariables) Reset

Reset unsets value.

func (*OptUnitTestCommonModelDynamicVariables) SetTo

SetTo sets value to v.

func (*OptUnitTestCommonModelDynamicVariables) UnmarshalJSON

func (s *OptUnitTestCommonModelDynamicVariables) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUnitTestCommonModelType

type OptUnitTestCommonModelType struct {
	Value UnitTestCommonModelType
	Set   bool
}

OptUnitTestCommonModelType is optional UnitTestCommonModelType.

func NewOptUnitTestCommonModelType

func NewOptUnitTestCommonModelType(v UnitTestCommonModelType) OptUnitTestCommonModelType

NewOptUnitTestCommonModelType returns new OptUnitTestCommonModelType with value set to v.

func (*OptUnitTestCommonModelType) Decode

Decode decodes UnitTestCommonModelType from json.

func (OptUnitTestCommonModelType) Encode

func (o OptUnitTestCommonModelType) Encode(e *jx.Encoder)

Encode encodes UnitTestCommonModelType as json.

func (OptUnitTestCommonModelType) Get

Get returns value and boolean that denotes whether value was set.

func (OptUnitTestCommonModelType) IsSet

func (o OptUnitTestCommonModelType) IsSet() bool

IsSet returns true if OptUnitTestCommonModelType was set.

func (OptUnitTestCommonModelType) MarshalJSON

func (s OptUnitTestCommonModelType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptUnitTestCommonModelType) Or

Or returns value if set, or given parameter if does not.

func (*OptUnitTestCommonModelType) Reset

func (o *OptUnitTestCommonModelType) Reset()

Reset unsets value.

func (*OptUnitTestCommonModelType) SetTo

SetTo sets value to v.

func (*OptUnitTestCommonModelType) UnmarshalJSON

func (s *OptUnitTestCommonModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUnitTestToolCallEvaluationModelInput

type OptUnitTestToolCallEvaluationModelInput struct {
	Value UnitTestToolCallEvaluationModelInput
	Set   bool
}

OptUnitTestToolCallEvaluationModelInput is optional UnitTestToolCallEvaluationModelInput.

func NewOptUnitTestToolCallEvaluationModelInput

func NewOptUnitTestToolCallEvaluationModelInput(v UnitTestToolCallEvaluationModelInput) OptUnitTestToolCallEvaluationModelInput

NewOptUnitTestToolCallEvaluationModelInput returns new OptUnitTestToolCallEvaluationModelInput with value set to v.

func (*OptUnitTestToolCallEvaluationModelInput) Decode

Decode decodes UnitTestToolCallEvaluationModelInput from json.

func (OptUnitTestToolCallEvaluationModelInput) Encode

Encode encodes UnitTestToolCallEvaluationModelInput as json.

func (OptUnitTestToolCallEvaluationModelInput) Get

Get returns value and boolean that denotes whether value was set.

func (OptUnitTestToolCallEvaluationModelInput) IsSet

IsSet returns true if OptUnitTestToolCallEvaluationModelInput was set.

func (OptUnitTestToolCallEvaluationModelInput) MarshalJSON

func (s OptUnitTestToolCallEvaluationModelInput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptUnitTestToolCallEvaluationModelInput) Or

Or returns value if set, or given parameter if does not.

func (*OptUnitTestToolCallEvaluationModelInput) Reset

Reset unsets value.

func (*OptUnitTestToolCallEvaluationModelInput) SetTo

SetTo sets value to v.

func (*OptUnitTestToolCallEvaluationModelInput) UnmarshalJSON

func (s *OptUnitTestToolCallEvaluationModelInput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUnitTestToolCallEvaluationModelOutput

type OptUnitTestToolCallEvaluationModelOutput struct {
	Value UnitTestToolCallEvaluationModelOutput
	Set   bool
}

OptUnitTestToolCallEvaluationModelOutput is optional UnitTestToolCallEvaluationModelOutput.

func NewOptUnitTestToolCallEvaluationModelOutput

func NewOptUnitTestToolCallEvaluationModelOutput(v UnitTestToolCallEvaluationModelOutput) OptUnitTestToolCallEvaluationModelOutput

NewOptUnitTestToolCallEvaluationModelOutput returns new OptUnitTestToolCallEvaluationModelOutput with value set to v.

func (*OptUnitTestToolCallEvaluationModelOutput) Decode

Decode decodes UnitTestToolCallEvaluationModelOutput from json.

func (OptUnitTestToolCallEvaluationModelOutput) Encode

Encode encodes UnitTestToolCallEvaluationModelOutput as json.

func (OptUnitTestToolCallEvaluationModelOutput) Get

Get returns value and boolean that denotes whether value was set.

func (OptUnitTestToolCallEvaluationModelOutput) IsSet

IsSet returns true if OptUnitTestToolCallEvaluationModelOutput was set.

func (OptUnitTestToolCallEvaluationModelOutput) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptUnitTestToolCallEvaluationModelOutput) Or

Or returns value if set, or given parameter if does not.

func (*OptUnitTestToolCallEvaluationModelOutput) Reset

Reset unsets value.

func (*OptUnitTestToolCallEvaluationModelOutput) SetTo

SetTo sets value to v.

func (*OptUnitTestToolCallEvaluationModelOutput) UnmarshalJSON

func (s *OptUnitTestToolCallEvaluationModelOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUpdateUnitTestRequestDynamicVariables

type OptUpdateUnitTestRequestDynamicVariables struct {
	Value UpdateUnitTestRequestDynamicVariables
	Set   bool
}

OptUpdateUnitTestRequestDynamicVariables is optional UpdateUnitTestRequestDynamicVariables.

func NewOptUpdateUnitTestRequestDynamicVariables

func NewOptUpdateUnitTestRequestDynamicVariables(v UpdateUnitTestRequestDynamicVariables) OptUpdateUnitTestRequestDynamicVariables

NewOptUpdateUnitTestRequestDynamicVariables returns new OptUpdateUnitTestRequestDynamicVariables with value set to v.

func (*OptUpdateUnitTestRequestDynamicVariables) Decode

Decode decodes UpdateUnitTestRequestDynamicVariables from json.

func (OptUpdateUnitTestRequestDynamicVariables) Encode

Encode encodes UpdateUnitTestRequestDynamicVariables as json.

func (OptUpdateUnitTestRequestDynamicVariables) Get

Get returns value and boolean that denotes whether value was set.

func (OptUpdateUnitTestRequestDynamicVariables) IsSet

IsSet returns true if OptUpdateUnitTestRequestDynamicVariables was set.

func (OptUpdateUnitTestRequestDynamicVariables) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptUpdateUnitTestRequestDynamicVariables) Or

Or returns value if set, or given parameter if does not.

func (*OptUpdateUnitTestRequestDynamicVariables) Reset

Reset unsets value.

func (*OptUpdateUnitTestRequestDynamicVariables) SetTo

SetTo sets value to v.

func (*OptUpdateUnitTestRequestDynamicVariables) UnmarshalJSON

func (s *OptUpdateUnitTestRequestDynamicVariables) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUsageAggregationInterval

type OptUsageAggregationInterval struct {
	Value UsageAggregationInterval
	Set   bool
}

OptUsageAggregationInterval is optional UsageAggregationInterval.

func NewOptUsageAggregationInterval

func NewOptUsageAggregationInterval(v UsageAggregationInterval) OptUsageAggregationInterval

NewOptUsageAggregationInterval returns new OptUsageAggregationInterval with value set to v.

func (OptUsageAggregationInterval) Get

Get returns value and boolean that denotes whether value was set.

func (OptUsageAggregationInterval) IsSet

IsSet returns true if OptUsageAggregationInterval was set.

func (OptUsageAggregationInterval) Or

Or returns value if set, or given parameter if does not.

func (*OptUsageAggregationInterval) Reset

func (o *OptUsageAggregationInterval) Reset()

Reset unsets value.

func (*OptUsageAggregationInterval) SetTo

SetTo sets value to v.

type OptUserFeedback

type OptUserFeedback struct {
	Value UserFeedback
	Set   bool
}

OptUserFeedback is optional UserFeedback.

func NewOptUserFeedback

func NewOptUserFeedback(v UserFeedback) OptUserFeedback

NewOptUserFeedback returns new OptUserFeedback with value set to v.

func (*OptUserFeedback) Decode

func (o *OptUserFeedback) Decode(d *jx.Decoder) error

Decode decodes UserFeedback from json.

func (OptUserFeedback) Encode

func (o OptUserFeedback) Encode(e *jx.Encoder)

Encode encodes UserFeedback as json.

func (OptUserFeedback) Get

func (o OptUserFeedback) Get() (v UserFeedback, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptUserFeedback) IsSet

func (o OptUserFeedback) IsSet() bool

IsSet returns true if OptUserFeedback was set.

func (OptUserFeedback) MarshalJSON

func (s OptUserFeedback) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptUserFeedback) Or

Or returns value if set, or given parameter if does not.

func (*OptUserFeedback) Reset

func (o *OptUserFeedback) Reset()

Reset unsets value.

func (*OptUserFeedback) SetTo

func (o *OptUserFeedback) SetTo(v UserFeedback)

SetTo sets value to v.

func (*OptUserFeedback) UnmarshalJSON

func (s *OptUserFeedback) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUserFeedbackScore

type OptUserFeedbackScore struct {
	Value UserFeedbackScore
	Set   bool
}

OptUserFeedbackScore is optional UserFeedbackScore.

func NewOptUserFeedbackScore

func NewOptUserFeedbackScore(v UserFeedbackScore) OptUserFeedbackScore

NewOptUserFeedbackScore returns new OptUserFeedbackScore with value set to v.

func (*OptUserFeedbackScore) Decode

func (o *OptUserFeedbackScore) Decode(d *jx.Decoder) error

Decode decodes UserFeedbackScore from json.

func (OptUserFeedbackScore) Encode

func (o OptUserFeedbackScore) Encode(e *jx.Encoder)

Encode encodes UserFeedbackScore as json.

func (OptUserFeedbackScore) Get

Get returns value and boolean that denotes whether value was set.

func (OptUserFeedbackScore) IsSet

func (o OptUserFeedbackScore) IsSet() bool

IsSet returns true if OptUserFeedbackScore was set.

func (OptUserFeedbackScore) MarshalJSON

func (s OptUserFeedbackScore) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptUserFeedbackScore) Or

Or returns value if set, or given parameter if does not.

func (*OptUserFeedbackScore) Reset

func (o *OptUserFeedbackScore) Reset()

Reset unsets value.

func (*OptUserFeedbackScore) SetTo

SetTo sets value to v.

func (*OptUserFeedbackScore) UnmarshalJSON

func (s *OptUserFeedbackScore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptVoiceDesignRequestModelModelID

type OptVoiceDesignRequestModelModelID struct {
	Value VoiceDesignRequestModelModelID
	Set   bool
}

OptVoiceDesignRequestModelModelID is optional VoiceDesignRequestModelModelID.

func NewOptVoiceDesignRequestModelModelID

func NewOptVoiceDesignRequestModelModelID(v VoiceDesignRequestModelModelID) OptVoiceDesignRequestModelModelID

NewOptVoiceDesignRequestModelModelID returns new OptVoiceDesignRequestModelModelID with value set to v.

func (*OptVoiceDesignRequestModelModelID) Decode

Decode decodes VoiceDesignRequestModelModelID from json.

func (OptVoiceDesignRequestModelModelID) Encode

Encode encodes VoiceDesignRequestModelModelID as json.

func (OptVoiceDesignRequestModelModelID) Get

Get returns value and boolean that denotes whether value was set.

func (OptVoiceDesignRequestModelModelID) IsSet

IsSet returns true if OptVoiceDesignRequestModelModelID was set.

func (OptVoiceDesignRequestModelModelID) MarshalJSON

func (s OptVoiceDesignRequestModelModelID) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptVoiceDesignRequestModelModelID) Or

Or returns value if set, or given parameter if does not.

func (*OptVoiceDesignRequestModelModelID) Reset

Reset unsets value.

func (*OptVoiceDesignRequestModelModelID) SetTo

SetTo sets value to v.

func (*OptVoiceDesignRequestModelModelID) UnmarshalJSON

func (s *OptVoiceDesignRequestModelModelID) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptVoiceMailDetectionResultSuccessModelResultType

type OptVoiceMailDetectionResultSuccessModelResultType struct {
	Value VoiceMailDetectionResultSuccessModelResultType
	Set   bool
}

OptVoiceMailDetectionResultSuccessModelResultType is optional VoiceMailDetectionResultSuccessModelResultType.

func NewOptVoiceMailDetectionResultSuccessModelResultType

func NewOptVoiceMailDetectionResultSuccessModelResultType(v VoiceMailDetectionResultSuccessModelResultType) OptVoiceMailDetectionResultSuccessModelResultType

NewOptVoiceMailDetectionResultSuccessModelResultType returns new OptVoiceMailDetectionResultSuccessModelResultType with value set to v.

func (*OptVoiceMailDetectionResultSuccessModelResultType) Decode

Decode decodes VoiceMailDetectionResultSuccessModelResultType from json.

func (OptVoiceMailDetectionResultSuccessModelResultType) Encode

Encode encodes VoiceMailDetectionResultSuccessModelResultType as json.

func (OptVoiceMailDetectionResultSuccessModelResultType) Get

Get returns value and boolean that denotes whether value was set.

func (OptVoiceMailDetectionResultSuccessModelResultType) IsSet

IsSet returns true if OptVoiceMailDetectionResultSuccessModelResultType was set.

func (OptVoiceMailDetectionResultSuccessModelResultType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptVoiceMailDetectionResultSuccessModelResultType) Or

Or returns value if set, or given parameter if does not.

func (*OptVoiceMailDetectionResultSuccessModelResultType) Reset

Reset unsets value.

func (*OptVoiceMailDetectionResultSuccessModelResultType) SetTo

SetTo sets value to v.

func (*OptVoiceMailDetectionResultSuccessModelResultType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptVoiceMailDetectionResultSuccessModelStatus

type OptVoiceMailDetectionResultSuccessModelStatus struct {
	Value VoiceMailDetectionResultSuccessModelStatus
	Set   bool
}

OptVoiceMailDetectionResultSuccessModelStatus is optional VoiceMailDetectionResultSuccessModelStatus.

func NewOptVoiceMailDetectionResultSuccessModelStatus

func NewOptVoiceMailDetectionResultSuccessModelStatus(v VoiceMailDetectionResultSuccessModelStatus) OptVoiceMailDetectionResultSuccessModelStatus

NewOptVoiceMailDetectionResultSuccessModelStatus returns new OptVoiceMailDetectionResultSuccessModelStatus with value set to v.

func (*OptVoiceMailDetectionResultSuccessModelStatus) Decode

Decode decodes VoiceMailDetectionResultSuccessModelStatus from json.

func (OptVoiceMailDetectionResultSuccessModelStatus) Encode

Encode encodes VoiceMailDetectionResultSuccessModelStatus as json.

func (OptVoiceMailDetectionResultSuccessModelStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptVoiceMailDetectionResultSuccessModelStatus) IsSet

IsSet returns true if OptVoiceMailDetectionResultSuccessModelStatus was set.

func (OptVoiceMailDetectionResultSuccessModelStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptVoiceMailDetectionResultSuccessModelStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptVoiceMailDetectionResultSuccessModelStatus) Reset

Reset unsets value.

func (*OptVoiceMailDetectionResultSuccessModelStatus) SetTo

SetTo sets value to v.

func (*OptVoiceMailDetectionResultSuccessModelStatus) UnmarshalJSON

func (s *OptVoiceMailDetectionResultSuccessModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptVoiceSettingsResponseModel

type OptVoiceSettingsResponseModel struct {
	Value VoiceSettingsResponseModel
	Set   bool
}

OptVoiceSettingsResponseModel is optional VoiceSettingsResponseModel.

func NewOptVoiceSettingsResponseModel

func NewOptVoiceSettingsResponseModel(v VoiceSettingsResponseModel) OptVoiceSettingsResponseModel

NewOptVoiceSettingsResponseModel returns new OptVoiceSettingsResponseModel with value set to v.

func (*OptVoiceSettingsResponseModel) Decode

Decode decodes VoiceSettingsResponseModel from json.

func (OptVoiceSettingsResponseModel) Encode

Encode encodes VoiceSettingsResponseModel as json.

func (OptVoiceSettingsResponseModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptVoiceSettingsResponseModel) IsSet

IsSet returns true if OptVoiceSettingsResponseModel was set.

func (OptVoiceSettingsResponseModel) MarshalJSON

func (s OptVoiceSettingsResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptVoiceSettingsResponseModel) Or

Or returns value if set, or given parameter if does not.

func (*OptVoiceSettingsResponseModel) Reset

func (o *OptVoiceSettingsResponseModel) Reset()

Reset unsets value.

func (*OptVoiceSettingsResponseModel) SetTo

SetTo sets value to v.

func (*OptVoiceSettingsResponseModel) UnmarshalJSON

func (s *OptVoiceSettingsResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptVoiceSharingModerationCheckResponseModel

type OptVoiceSharingModerationCheckResponseModel struct {
	Value VoiceSharingModerationCheckResponseModel
	Set   bool
}

OptVoiceSharingModerationCheckResponseModel is optional VoiceSharingModerationCheckResponseModel.

func NewOptVoiceSharingModerationCheckResponseModel

func NewOptVoiceSharingModerationCheckResponseModel(v VoiceSharingModerationCheckResponseModel) OptVoiceSharingModerationCheckResponseModel

NewOptVoiceSharingModerationCheckResponseModel returns new OptVoiceSharingModerationCheckResponseModel with value set to v.

func (*OptVoiceSharingModerationCheckResponseModel) Decode

Decode decodes VoiceSharingModerationCheckResponseModel from json.

func (OptVoiceSharingModerationCheckResponseModel) Encode

Encode encodes VoiceSharingModerationCheckResponseModel as json.

func (OptVoiceSharingModerationCheckResponseModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptVoiceSharingModerationCheckResponseModel) IsSet

IsSet returns true if OptVoiceSharingModerationCheckResponseModel was set.

func (OptVoiceSharingModerationCheckResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptVoiceSharingModerationCheckResponseModel) Or

Or returns value if set, or given parameter if does not.

func (*OptVoiceSharingModerationCheckResponseModel) Reset

Reset unsets value.

func (*OptVoiceSharingModerationCheckResponseModel) SetTo

SetTo sets value to v.

func (*OptVoiceSharingModerationCheckResponseModel) UnmarshalJSON

func (s *OptVoiceSharingModerationCheckResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptVoiceSharingResponseModel

type OptVoiceSharingResponseModel struct {
	Value VoiceSharingResponseModel
	Set   bool
}

OptVoiceSharingResponseModel is optional VoiceSharingResponseModel.

func NewOptVoiceSharingResponseModel

func NewOptVoiceSharingResponseModel(v VoiceSharingResponseModel) OptVoiceSharingResponseModel

NewOptVoiceSharingResponseModel returns new OptVoiceSharingResponseModel with value set to v.

func (*OptVoiceSharingResponseModel) Decode

Decode decodes VoiceSharingResponseModel from json.

func (OptVoiceSharingResponseModel) Encode

Encode encodes VoiceSharingResponseModel as json.

func (OptVoiceSharingResponseModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptVoiceSharingResponseModel) IsSet

IsSet returns true if OptVoiceSharingResponseModel was set.

func (OptVoiceSharingResponseModel) MarshalJSON

func (s OptVoiceSharingResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptVoiceSharingResponseModel) Or

Or returns value if set, or given parameter if does not.

func (*OptVoiceSharingResponseModel) Reset

func (o *OptVoiceSharingResponseModel) Reset()

Reset unsets value.

func (*OptVoiceSharingResponseModel) SetTo

SetTo sets value to v.

func (*OptVoiceSharingResponseModel) UnmarshalJSON

func (s *OptVoiceSharingResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptVoiceVerificationResponseModel

type OptVoiceVerificationResponseModel struct {
	Value VoiceVerificationResponseModel
	Set   bool
}

OptVoiceVerificationResponseModel is optional VoiceVerificationResponseModel.

func NewOptVoiceVerificationResponseModel

func NewOptVoiceVerificationResponseModel(v VoiceVerificationResponseModel) OptVoiceVerificationResponseModel

NewOptVoiceVerificationResponseModel returns new OptVoiceVerificationResponseModel with value set to v.

func (*OptVoiceVerificationResponseModel) Decode

Decode decodes VoiceVerificationResponseModel from json.

func (OptVoiceVerificationResponseModel) Encode

Encode encodes VoiceVerificationResponseModel as json.

func (OptVoiceVerificationResponseModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptVoiceVerificationResponseModel) IsSet

IsSet returns true if OptVoiceVerificationResponseModel was set.

func (OptVoiceVerificationResponseModel) MarshalJSON

func (s OptVoiceVerificationResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptVoiceVerificationResponseModel) Or

Or returns value if set, or given parameter if does not.

func (*OptVoiceVerificationResponseModel) Reset

Reset unsets value.

func (*OptVoiceVerificationResponseModel) SetTo

SetTo sets value to v.

func (*OptVoiceVerificationResponseModel) UnmarshalJSON

func (s *OptVoiceVerificationResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptWhatsAppConversationInfo

type OptWhatsAppConversationInfo struct {
	Value WhatsAppConversationInfo
	Set   bool
}

OptWhatsAppConversationInfo is optional WhatsAppConversationInfo.

func NewOptWhatsAppConversationInfo

func NewOptWhatsAppConversationInfo(v WhatsAppConversationInfo) OptWhatsAppConversationInfo

NewOptWhatsAppConversationInfo returns new OptWhatsAppConversationInfo with value set to v.

func (*OptWhatsAppConversationInfo) Decode

Decode decodes WhatsAppConversationInfo from json.

func (OptWhatsAppConversationInfo) Encode

func (o OptWhatsAppConversationInfo) Encode(e *jx.Encoder)

Encode encodes WhatsAppConversationInfo as json.

func (OptWhatsAppConversationInfo) Get

Get returns value and boolean that denotes whether value was set.

func (OptWhatsAppConversationInfo) IsSet

IsSet returns true if OptWhatsAppConversationInfo was set.

func (OptWhatsAppConversationInfo) MarshalJSON

func (s OptWhatsAppConversationInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptWhatsAppConversationInfo) Or

Or returns value if set, or given parameter if does not.

func (*OptWhatsAppConversationInfo) Reset

func (o *OptWhatsAppConversationInfo) Reset()

Reset unsets value.

func (*OptWhatsAppConversationInfo) SetTo

SetTo sets value to v.

func (*OptWhatsAppConversationInfo) UnmarshalJSON

func (s *OptWhatsAppConversationInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptWhatsAppConversationInfoDirection

type OptWhatsAppConversationInfoDirection struct {
	Value WhatsAppConversationInfoDirection
	Set   bool
}

OptWhatsAppConversationInfoDirection is optional WhatsAppConversationInfoDirection.

func NewOptWhatsAppConversationInfoDirection

func NewOptWhatsAppConversationInfoDirection(v WhatsAppConversationInfoDirection) OptWhatsAppConversationInfoDirection

NewOptWhatsAppConversationInfoDirection returns new OptWhatsAppConversationInfoDirection with value set to v.

func (*OptWhatsAppConversationInfoDirection) Decode

Decode decodes WhatsAppConversationInfoDirection from json.

func (OptWhatsAppConversationInfoDirection) Encode

Encode encodes WhatsAppConversationInfoDirection as json.

func (OptWhatsAppConversationInfoDirection) Get

Get returns value and boolean that denotes whether value was set.

func (OptWhatsAppConversationInfoDirection) IsSet

IsSet returns true if OptWhatsAppConversationInfoDirection was set.

func (OptWhatsAppConversationInfoDirection) MarshalJSON

func (s OptWhatsAppConversationInfoDirection) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptWhatsAppConversationInfoDirection) Or

Or returns value if set, or given parameter if does not.

func (*OptWhatsAppConversationInfoDirection) Reset

Reset unsets value.

func (*OptWhatsAppConversationInfoDirection) SetTo

SetTo sets value to v.

func (*OptWhatsAppConversationInfoDirection) UnmarshalJSON

func (s *OptWhatsAppConversationInfoDirection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptWorkflowFeaturesUsageCommonModel

type OptWorkflowFeaturesUsageCommonModel struct {
	Value WorkflowFeaturesUsageCommonModel
	Set   bool
}

OptWorkflowFeaturesUsageCommonModel is optional WorkflowFeaturesUsageCommonModel.

func NewOptWorkflowFeaturesUsageCommonModel

func NewOptWorkflowFeaturesUsageCommonModel(v WorkflowFeaturesUsageCommonModel) OptWorkflowFeaturesUsageCommonModel

NewOptWorkflowFeaturesUsageCommonModel returns new OptWorkflowFeaturesUsageCommonModel with value set to v.

func (*OptWorkflowFeaturesUsageCommonModel) Decode

Decode decodes WorkflowFeaturesUsageCommonModel from json.

func (OptWorkflowFeaturesUsageCommonModel) Encode

Encode encodes WorkflowFeaturesUsageCommonModel as json.

func (OptWorkflowFeaturesUsageCommonModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptWorkflowFeaturesUsageCommonModel) IsSet

IsSet returns true if OptWorkflowFeaturesUsageCommonModel was set.

func (OptWorkflowFeaturesUsageCommonModel) MarshalJSON

func (s OptWorkflowFeaturesUsageCommonModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptWorkflowFeaturesUsageCommonModel) Or

Or returns value if set, or given parameter if does not.

func (*OptWorkflowFeaturesUsageCommonModel) Reset

Reset unsets value.

func (*OptWorkflowFeaturesUsageCommonModel) SetTo

SetTo sets value to v.

func (*OptWorkflowFeaturesUsageCommonModel) UnmarshalJSON

func (s *OptWorkflowFeaturesUsageCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptWorkflowToolEdgeStepModelType

type OptWorkflowToolEdgeStepModelType struct {
	Value WorkflowToolEdgeStepModelType
	Set   bool
}

OptWorkflowToolEdgeStepModelType is optional WorkflowToolEdgeStepModelType.

func NewOptWorkflowToolEdgeStepModelType

func NewOptWorkflowToolEdgeStepModelType(v WorkflowToolEdgeStepModelType) OptWorkflowToolEdgeStepModelType

NewOptWorkflowToolEdgeStepModelType returns new OptWorkflowToolEdgeStepModelType with value set to v.

func (*OptWorkflowToolEdgeStepModelType) Decode

Decode decodes WorkflowToolEdgeStepModelType from json.

func (OptWorkflowToolEdgeStepModelType) Encode

Encode encodes WorkflowToolEdgeStepModelType as json.

func (OptWorkflowToolEdgeStepModelType) Get

Get returns value and boolean that denotes whether value was set.

func (OptWorkflowToolEdgeStepModelType) IsSet

IsSet returns true if OptWorkflowToolEdgeStepModelType was set.

func (OptWorkflowToolEdgeStepModelType) MarshalJSON

func (s OptWorkflowToolEdgeStepModelType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptWorkflowToolEdgeStepModelType) Or

Or returns value if set, or given parameter if does not.

func (*OptWorkflowToolEdgeStepModelType) Reset

Reset unsets value.

func (*OptWorkflowToolEdgeStepModelType) SetTo

SetTo sets value to v.

func (*OptWorkflowToolEdgeStepModelType) UnmarshalJSON

func (s *OptWorkflowToolEdgeStepModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptWorkflowToolMaxIterationsExceededStepModelType

type OptWorkflowToolMaxIterationsExceededStepModelType struct {
	Value WorkflowToolMaxIterationsExceededStepModelType
	Set   bool
}

OptWorkflowToolMaxIterationsExceededStepModelType is optional WorkflowToolMaxIterationsExceededStepModelType.

func NewOptWorkflowToolMaxIterationsExceededStepModelType

func NewOptWorkflowToolMaxIterationsExceededStepModelType(v WorkflowToolMaxIterationsExceededStepModelType) OptWorkflowToolMaxIterationsExceededStepModelType

NewOptWorkflowToolMaxIterationsExceededStepModelType returns new OptWorkflowToolMaxIterationsExceededStepModelType with value set to v.

func (*OptWorkflowToolMaxIterationsExceededStepModelType) Decode

Decode decodes WorkflowToolMaxIterationsExceededStepModelType from json.

func (OptWorkflowToolMaxIterationsExceededStepModelType) Encode

Encode encodes WorkflowToolMaxIterationsExceededStepModelType as json.

func (OptWorkflowToolMaxIterationsExceededStepModelType) Get

Get returns value and boolean that denotes whether value was set.

func (OptWorkflowToolMaxIterationsExceededStepModelType) IsSet

IsSet returns true if OptWorkflowToolMaxIterationsExceededStepModelType was set.

func (OptWorkflowToolMaxIterationsExceededStepModelType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptWorkflowToolMaxIterationsExceededStepModelType) Or

Or returns value if set, or given parameter if does not.

func (*OptWorkflowToolMaxIterationsExceededStepModelType) Reset

Reset unsets value.

func (*OptWorkflowToolMaxIterationsExceededStepModelType) SetTo

SetTo sets value to v.

func (*OptWorkflowToolMaxIterationsExceededStepModelType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptWorkflowToolNestedToolsStepModelInputType

type OptWorkflowToolNestedToolsStepModelInputType struct {
	Value WorkflowToolNestedToolsStepModelInputType
	Set   bool
}

OptWorkflowToolNestedToolsStepModelInputType is optional WorkflowToolNestedToolsStepModelInputType.

func NewOptWorkflowToolNestedToolsStepModelInputType

func NewOptWorkflowToolNestedToolsStepModelInputType(v WorkflowToolNestedToolsStepModelInputType) OptWorkflowToolNestedToolsStepModelInputType

NewOptWorkflowToolNestedToolsStepModelInputType returns new OptWorkflowToolNestedToolsStepModelInputType with value set to v.

func (*OptWorkflowToolNestedToolsStepModelInputType) Decode

Decode decodes WorkflowToolNestedToolsStepModelInputType from json.

func (OptWorkflowToolNestedToolsStepModelInputType) Encode

Encode encodes WorkflowToolNestedToolsStepModelInputType as json.

func (OptWorkflowToolNestedToolsStepModelInputType) Get

Get returns value and boolean that denotes whether value was set.

func (OptWorkflowToolNestedToolsStepModelInputType) IsSet

IsSet returns true if OptWorkflowToolNestedToolsStepModelInputType was set.

func (OptWorkflowToolNestedToolsStepModelInputType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptWorkflowToolNestedToolsStepModelInputType) Or

Or returns value if set, or given parameter if does not.

func (*OptWorkflowToolNestedToolsStepModelInputType) Reset

Reset unsets value.

func (*OptWorkflowToolNestedToolsStepModelInputType) SetTo

SetTo sets value to v.

func (*OptWorkflowToolNestedToolsStepModelInputType) UnmarshalJSON

func (s *OptWorkflowToolNestedToolsStepModelInputType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptWorkflowToolNestedToolsStepModelOutputType

type OptWorkflowToolNestedToolsStepModelOutputType struct {
	Value WorkflowToolNestedToolsStepModelOutputType
	Set   bool
}

OptWorkflowToolNestedToolsStepModelOutputType is optional WorkflowToolNestedToolsStepModelOutputType.

func NewOptWorkflowToolNestedToolsStepModelOutputType

func NewOptWorkflowToolNestedToolsStepModelOutputType(v WorkflowToolNestedToolsStepModelOutputType) OptWorkflowToolNestedToolsStepModelOutputType

NewOptWorkflowToolNestedToolsStepModelOutputType returns new OptWorkflowToolNestedToolsStepModelOutputType with value set to v.

func (*OptWorkflowToolNestedToolsStepModelOutputType) Decode

Decode decodes WorkflowToolNestedToolsStepModelOutputType from json.

func (OptWorkflowToolNestedToolsStepModelOutputType) Encode

Encode encodes WorkflowToolNestedToolsStepModelOutputType as json.

func (OptWorkflowToolNestedToolsStepModelOutputType) Get

Get returns value and boolean that denotes whether value was set.

func (OptWorkflowToolNestedToolsStepModelOutputType) IsSet

IsSet returns true if OptWorkflowToolNestedToolsStepModelOutputType was set.

func (OptWorkflowToolNestedToolsStepModelOutputType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptWorkflowToolNestedToolsStepModelOutputType) Or

Or returns value if set, or given parameter if does not.

func (*OptWorkflowToolNestedToolsStepModelOutputType) Reset

Reset unsets value.

func (*OptWorkflowToolNestedToolsStepModelOutputType) SetTo

SetTo sets value to v.

func (*OptWorkflowToolNestedToolsStepModelOutputType) UnmarshalJSON

func (s *OptWorkflowToolNestedToolsStepModelOutputType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptWorkflowToolResponseModelInput

type OptWorkflowToolResponseModelInput struct {
	Value WorkflowToolResponseModelInput
	Set   bool
}

OptWorkflowToolResponseModelInput is optional WorkflowToolResponseModelInput.

func NewOptWorkflowToolResponseModelInput

func NewOptWorkflowToolResponseModelInput(v WorkflowToolResponseModelInput) OptWorkflowToolResponseModelInput

NewOptWorkflowToolResponseModelInput returns new OptWorkflowToolResponseModelInput with value set to v.

func (*OptWorkflowToolResponseModelInput) Decode

Decode decodes WorkflowToolResponseModelInput from json.

func (OptWorkflowToolResponseModelInput) Encode

Encode encodes WorkflowToolResponseModelInput as json.

func (OptWorkflowToolResponseModelInput) Get

Get returns value and boolean that denotes whether value was set.

func (OptWorkflowToolResponseModelInput) IsSet

IsSet returns true if OptWorkflowToolResponseModelInput was set.

func (OptWorkflowToolResponseModelInput) MarshalJSON

func (s OptWorkflowToolResponseModelInput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptWorkflowToolResponseModelInput) Or

Or returns value if set, or given parameter if does not.

func (*OptWorkflowToolResponseModelInput) Reset

Reset unsets value.

func (*OptWorkflowToolResponseModelInput) SetTo

SetTo sets value to v.

func (*OptWorkflowToolResponseModelInput) UnmarshalJSON

func (s *OptWorkflowToolResponseModelInput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptWorkflowToolResponseModelOutput

type OptWorkflowToolResponseModelOutput struct {
	Value WorkflowToolResponseModelOutput
	Set   bool
}

OptWorkflowToolResponseModelOutput is optional WorkflowToolResponseModelOutput.

func NewOptWorkflowToolResponseModelOutput

func NewOptWorkflowToolResponseModelOutput(v WorkflowToolResponseModelOutput) OptWorkflowToolResponseModelOutput

NewOptWorkflowToolResponseModelOutput returns new OptWorkflowToolResponseModelOutput with value set to v.

func (*OptWorkflowToolResponseModelOutput) Decode

Decode decodes WorkflowToolResponseModelOutput from json.

func (OptWorkflowToolResponseModelOutput) Encode

Encode encodes WorkflowToolResponseModelOutput as json.

func (OptWorkflowToolResponseModelOutput) Get

Get returns value and boolean that denotes whether value was set.

func (OptWorkflowToolResponseModelOutput) IsSet

IsSet returns true if OptWorkflowToolResponseModelOutput was set.

func (OptWorkflowToolResponseModelOutput) MarshalJSON

func (s OptWorkflowToolResponseModelOutput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptWorkflowToolResponseModelOutput) Or

Or returns value if set, or given parameter if does not.

func (*OptWorkflowToolResponseModelOutput) Reset

Reset unsets value.

func (*OptWorkflowToolResponseModelOutput) SetTo

SetTo sets value to v.

func (*OptWorkflowToolResponseModelOutput) UnmarshalJSON

func (s *OptWorkflowToolResponseModelOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptZendeskConversationInitiationTriggerTriggerType

type OptZendeskConversationInitiationTriggerTriggerType struct {
	Value ZendeskConversationInitiationTriggerTriggerType
	Set   bool
}

OptZendeskConversationInitiationTriggerTriggerType is optional ZendeskConversationInitiationTriggerTriggerType.

func NewOptZendeskConversationInitiationTriggerTriggerType

func NewOptZendeskConversationInitiationTriggerTriggerType(v ZendeskConversationInitiationTriggerTriggerType) OptZendeskConversationInitiationTriggerTriggerType

NewOptZendeskConversationInitiationTriggerTriggerType returns new OptZendeskConversationInitiationTriggerTriggerType with value set to v.

func (*OptZendeskConversationInitiationTriggerTriggerType) Decode

Decode decodes ZendeskConversationInitiationTriggerTriggerType from json.

func (OptZendeskConversationInitiationTriggerTriggerType) Encode

Encode encodes ZendeskConversationInitiationTriggerTriggerType as json.

func (OptZendeskConversationInitiationTriggerTriggerType) Get

Get returns value and boolean that denotes whether value was set.

func (OptZendeskConversationInitiationTriggerTriggerType) IsSet

IsSet returns true if OptZendeskConversationInitiationTriggerTriggerType was set.

func (OptZendeskConversationInitiationTriggerTriggerType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptZendeskConversationInitiationTriggerTriggerType) Or

Or returns value if set, or given parameter if does not.

func (*OptZendeskConversationInitiationTriggerTriggerType) Reset

Reset unsets value.

func (*OptZendeskConversationInitiationTriggerTriggerType) SetTo

SetTo sets value to v.

func (*OptZendeskConversationInitiationTriggerTriggerType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type Option

type Option interface {
	ServerOption
	ClientOption
}

Option is config option.

func WithAttributes

func WithAttributes(attributes ...attribute.KeyValue) Option

WithAttributes specifies default otel attributes.

func WithMeterProvider

func WithMeterProvider(provider metric.MeterProvider) Option

WithMeterProvider specifies a meter provider to use for creating a meter.

If none is specified, the otel.GetMeterProvider() is used.

func WithTracerProvider

func WithTracerProvider(provider trace.TracerProvider) Option

WithTracerProvider specifies a tracer provider to use for creating a tracer.

If none is specified, the global provider is used.

type OutboundCallRecipient

type OutboundCallRecipient struct {
	ConversationInitiationClientData OptConversationInitiationClientDataRequestInput `json:"conversation_initiation_client_data"`
	ID                               OptNilString                                    `json:"id"`
	PhoneNumber                      OptNilString                                    `json:"phone_number"`
	WhatsappUserID                   OptNilString                                    `json:"whatsapp_user_id"`
}

Ref: #/components/schemas/OutboundCallRecipient

func (*OutboundCallRecipient) Decode

func (s *OutboundCallRecipient) Decode(d *jx.Decoder) error

Decode decodes OutboundCallRecipient from json.

func (*OutboundCallRecipient) Encode

func (s *OutboundCallRecipient) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OutboundCallRecipient) GetConversationInitiationClientData

func (s *OutboundCallRecipient) GetConversationInitiationClientData() OptConversationInitiationClientDataRequestInput

GetConversationInitiationClientData returns the value of ConversationInitiationClientData.

func (*OutboundCallRecipient) GetID

GetID returns the value of ID.

func (*OutboundCallRecipient) GetPhoneNumber

func (s *OutboundCallRecipient) GetPhoneNumber() OptNilString

GetPhoneNumber returns the value of PhoneNumber.

func (*OutboundCallRecipient) GetWhatsappUserID

func (s *OutboundCallRecipient) GetWhatsappUserID() OptNilString

GetWhatsappUserID returns the value of WhatsappUserID.

func (*OutboundCallRecipient) MarshalJSON

func (s *OutboundCallRecipient) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OutboundCallRecipient) SetConversationInitiationClientData

func (s *OutboundCallRecipient) SetConversationInitiationClientData(val OptConversationInitiationClientDataRequestInput)

SetConversationInitiationClientData sets the value of ConversationInitiationClientData.

func (*OutboundCallRecipient) SetID

func (s *OutboundCallRecipient) SetID(val OptNilString)

SetID sets the value of ID.

func (*OutboundCallRecipient) SetPhoneNumber

func (s *OutboundCallRecipient) SetPhoneNumber(val OptNilString)

SetPhoneNumber sets the value of PhoneNumber.

func (*OutboundCallRecipient) SetWhatsappUserID

func (s *OutboundCallRecipient) SetWhatsappUserID(val OptNilString)

SetWhatsappUserID sets the value of WhatsappUserID.

func (*OutboundCallRecipient) UnmarshalJSON

func (s *OutboundCallRecipient) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OutboundCallRecipient) Validate

func (s *OutboundCallRecipient) Validate() error

type OutboundCallRecipientResponseModel

type OutboundCallRecipientResponseModel struct {
	ConversationID                   NilString                                   `json:"conversation_id"`
	ConversationInitiationClientData OptConversationInitiationClientDataInternal `json:"conversation_initiation_client_data"`
	CreatedAtUnix                    int                                         `json:"created_at_unix"`
	ID                               string                                      `json:"id"`
	PhoneNumber                      OptNilString                                `json:"phone_number"`
	Status                           BatchCallRecipientStatus                    `json:"status"`
	UpdatedAtUnix                    int                                         `json:"updated_at_unix"`
	WhatsappUserID                   OptNilString                                `json:"whatsapp_user_id"`
}

Ref: #/components/schemas/OutboundCallRecipientResponseModel

func (*OutboundCallRecipientResponseModel) Decode

Decode decodes OutboundCallRecipientResponseModel from json.

func (*OutboundCallRecipientResponseModel) Encode

Encode implements json.Marshaler.

func (*OutboundCallRecipientResponseModel) GetConversationID

func (s *OutboundCallRecipientResponseModel) GetConversationID() NilString

GetConversationID returns the value of ConversationID.

func (*OutboundCallRecipientResponseModel) GetConversationInitiationClientData

GetConversationInitiationClientData returns the value of ConversationInitiationClientData.

func (*OutboundCallRecipientResponseModel) GetCreatedAtUnix

func (s *OutboundCallRecipientResponseModel) GetCreatedAtUnix() int

GetCreatedAtUnix returns the value of CreatedAtUnix.

func (*OutboundCallRecipientResponseModel) GetID

GetID returns the value of ID.

func (*OutboundCallRecipientResponseModel) GetPhoneNumber

GetPhoneNumber returns the value of PhoneNumber.

func (*OutboundCallRecipientResponseModel) GetStatus

GetStatus returns the value of Status.

func (*OutboundCallRecipientResponseModel) GetUpdatedAtUnix

func (s *OutboundCallRecipientResponseModel) GetUpdatedAtUnix() int

GetUpdatedAtUnix returns the value of UpdatedAtUnix.

func (*OutboundCallRecipientResponseModel) GetWhatsappUserID

func (s *OutboundCallRecipientResponseModel) GetWhatsappUserID() OptNilString

GetWhatsappUserID returns the value of WhatsappUserID.

func (*OutboundCallRecipientResponseModel) MarshalJSON

func (s *OutboundCallRecipientResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OutboundCallRecipientResponseModel) SetConversationID

func (s *OutboundCallRecipientResponseModel) SetConversationID(val NilString)

SetConversationID sets the value of ConversationID.

func (*OutboundCallRecipientResponseModel) SetConversationInitiationClientData

func (s *OutboundCallRecipientResponseModel) SetConversationInitiationClientData(val OptConversationInitiationClientDataInternal)

SetConversationInitiationClientData sets the value of ConversationInitiationClientData.

func (*OutboundCallRecipientResponseModel) SetCreatedAtUnix

func (s *OutboundCallRecipientResponseModel) SetCreatedAtUnix(val int)

SetCreatedAtUnix sets the value of CreatedAtUnix.

func (*OutboundCallRecipientResponseModel) SetID

SetID sets the value of ID.

func (*OutboundCallRecipientResponseModel) SetPhoneNumber

func (s *OutboundCallRecipientResponseModel) SetPhoneNumber(val OptNilString)

SetPhoneNumber sets the value of PhoneNumber.

func (*OutboundCallRecipientResponseModel) SetStatus

SetStatus sets the value of Status.

func (*OutboundCallRecipientResponseModel) SetUpdatedAtUnix

func (s *OutboundCallRecipientResponseModel) SetUpdatedAtUnix(val int)

SetUpdatedAtUnix sets the value of UpdatedAtUnix.

func (*OutboundCallRecipientResponseModel) SetWhatsappUserID

func (s *OutboundCallRecipientResponseModel) SetWhatsappUserID(val OptNilString)

SetWhatsappUserID sets the value of WhatsappUserID.

func (*OutboundCallRecipientResponseModel) UnmarshalJSON

func (s *OutboundCallRecipientResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OutboundCallRecipientResponseModel) Validate

type OutboundSIPTrunkConfigRequestModel

type OutboundSIPTrunkConfigRequestModel struct {
	// Hostname or IP the SIP INVITE is sent to.
	Address string `json:"address"`
	// Optional digest authentication credentials (username/password). If not provided, ACL
	// authentication is assumed.
	Credentials OptSIPTrunkCredentialsRequestModel `json:"credentials"`
	// SIP X-* headers for INVITE request. These headers are sent as-is and may help identify this call.
	Headers OptOutboundSIPTrunkConfigRequestModelHeaders `json:"headers"`
	// Whether or not to encrypt media (data layer).
	MediaEncryption OptSIPMediaEncryptionEnum `json:"media_encryption"`
	// Protocol to use for SIP transport (signalling layer).
	Transport OptSIPTrunkTransportEnum `json:"transport"`
}

Ref: #/components/schemas/OutboundSIPTrunkConfigRequestModel

func (*OutboundSIPTrunkConfigRequestModel) Decode

Decode decodes OutboundSIPTrunkConfigRequestModel from json.

func (*OutboundSIPTrunkConfigRequestModel) Encode

Encode implements json.Marshaler.

func (*OutboundSIPTrunkConfigRequestModel) GetAddress

GetAddress returns the value of Address.

func (*OutboundSIPTrunkConfigRequestModel) GetCredentials

GetCredentials returns the value of Credentials.

func (*OutboundSIPTrunkConfigRequestModel) GetHeaders

GetHeaders returns the value of Headers.

func (*OutboundSIPTrunkConfigRequestModel) GetMediaEncryption

GetMediaEncryption returns the value of MediaEncryption.

func (*OutboundSIPTrunkConfigRequestModel) GetTransport

GetTransport returns the value of Transport.

func (*OutboundSIPTrunkConfigRequestModel) MarshalJSON

func (s *OutboundSIPTrunkConfigRequestModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OutboundSIPTrunkConfigRequestModel) SetAddress

func (s *OutboundSIPTrunkConfigRequestModel) SetAddress(val string)

SetAddress sets the value of Address.

func (*OutboundSIPTrunkConfigRequestModel) SetCredentials

SetCredentials sets the value of Credentials.

func (*OutboundSIPTrunkConfigRequestModel) SetHeaders

SetHeaders sets the value of Headers.

func (*OutboundSIPTrunkConfigRequestModel) SetMediaEncryption

SetMediaEncryption sets the value of MediaEncryption.

func (*OutboundSIPTrunkConfigRequestModel) SetTransport

SetTransport sets the value of Transport.

func (*OutboundSIPTrunkConfigRequestModel) UnmarshalJSON

func (s *OutboundSIPTrunkConfigRequestModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OutboundSIPTrunkConfigRequestModel) Validate

type OutboundSIPTrunkConfigRequestModelHeaders

type OutboundSIPTrunkConfigRequestModelHeaders map[string]string

SIP X-* headers for INVITE request. These headers are sent as-is and may help identify this call.

func (*OutboundSIPTrunkConfigRequestModelHeaders) Decode

Decode decodes OutboundSIPTrunkConfigRequestModelHeaders from json.

func (OutboundSIPTrunkConfigRequestModelHeaders) Encode

Encode implements json.Marshaler.

func (OutboundSIPTrunkConfigRequestModelHeaders) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*OutboundSIPTrunkConfigRequestModelHeaders) UnmarshalJSON

func (s *OutboundSIPTrunkConfigRequestModelHeaders) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PatchConvAIDashboardSettingsRequest

type PatchConvAIDashboardSettingsRequest struct {
	Charts []PatchConvAIDashboardSettingsRequestChartsItem `json:"charts"`
}

Ref: #/components/schemas/PatchConvAIDashboardSettingsRequest

func (*PatchConvAIDashboardSettingsRequest) Decode

Decode decodes PatchConvAIDashboardSettingsRequest from json.

func (*PatchConvAIDashboardSettingsRequest) Encode

Encode implements json.Marshaler.

func (*PatchConvAIDashboardSettingsRequest) GetCharts

GetCharts returns the value of Charts.

func (*PatchConvAIDashboardSettingsRequest) MarshalJSON

func (s *PatchConvAIDashboardSettingsRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PatchConvAIDashboardSettingsRequest) SetCharts

SetCharts sets the value of Charts.

func (*PatchConvAIDashboardSettingsRequest) UnmarshalJSON

func (s *PatchConvAIDashboardSettingsRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PatchConvAIDashboardSettingsRequest) Validate

type PatchConvAIDashboardSettingsRequestChartsItem

type PatchConvAIDashboardSettingsRequestChartsItem struct {
	Type                              PatchConvAIDashboardSettingsRequestChartsItemType // switch on this field
	DashboardCallSuccessChartModel    DashboardCallSuccessChartModel
	DashboardCriteriaChartModel       DashboardCriteriaChartModel
	DashboardDataCollectionChartModel DashboardDataCollectionChartModel
}

PatchConvAIDashboardSettingsRequestChartsItem represents sum type.

func NewDashboardCallSuccessChartModelPatchConvAIDashboardSettingsRequestChartsItem

func NewDashboardCallSuccessChartModelPatchConvAIDashboardSettingsRequestChartsItem(v DashboardCallSuccessChartModel) PatchConvAIDashboardSettingsRequestChartsItem

NewDashboardCallSuccessChartModelPatchConvAIDashboardSettingsRequestChartsItem returns new PatchConvAIDashboardSettingsRequestChartsItem from DashboardCallSuccessChartModel.

func NewDashboardCriteriaChartModelPatchConvAIDashboardSettingsRequestChartsItem

func NewDashboardCriteriaChartModelPatchConvAIDashboardSettingsRequestChartsItem(v DashboardCriteriaChartModel) PatchConvAIDashboardSettingsRequestChartsItem

NewDashboardCriteriaChartModelPatchConvAIDashboardSettingsRequestChartsItem returns new PatchConvAIDashboardSettingsRequestChartsItem from DashboardCriteriaChartModel.

func NewDashboardDataCollectionChartModelPatchConvAIDashboardSettingsRequestChartsItem

func NewDashboardDataCollectionChartModelPatchConvAIDashboardSettingsRequestChartsItem(v DashboardDataCollectionChartModel) PatchConvAIDashboardSettingsRequestChartsItem

NewDashboardDataCollectionChartModelPatchConvAIDashboardSettingsRequestChartsItem returns new PatchConvAIDashboardSettingsRequestChartsItem from DashboardDataCollectionChartModel.

func (*PatchConvAIDashboardSettingsRequestChartsItem) Decode

Decode decodes PatchConvAIDashboardSettingsRequestChartsItem from json.

func (PatchConvAIDashboardSettingsRequestChartsItem) Encode

Encode encodes PatchConvAIDashboardSettingsRequestChartsItem as json.

func (PatchConvAIDashboardSettingsRequestChartsItem) GetDashboardCallSuccessChartModel

func (s PatchConvAIDashboardSettingsRequestChartsItem) GetDashboardCallSuccessChartModel() (v DashboardCallSuccessChartModel, ok bool)

GetDashboardCallSuccessChartModel returns DashboardCallSuccessChartModel and true boolean if PatchConvAIDashboardSettingsRequestChartsItem is DashboardCallSuccessChartModel.

func (PatchConvAIDashboardSettingsRequestChartsItem) GetDashboardCriteriaChartModel

func (s PatchConvAIDashboardSettingsRequestChartsItem) GetDashboardCriteriaChartModel() (v DashboardCriteriaChartModel, ok bool)

GetDashboardCriteriaChartModel returns DashboardCriteriaChartModel and true boolean if PatchConvAIDashboardSettingsRequestChartsItem is DashboardCriteriaChartModel.

func (PatchConvAIDashboardSettingsRequestChartsItem) GetDashboardDataCollectionChartModel

func (s PatchConvAIDashboardSettingsRequestChartsItem) GetDashboardDataCollectionChartModel() (v DashboardDataCollectionChartModel, ok bool)

GetDashboardDataCollectionChartModel returns DashboardDataCollectionChartModel and true boolean if PatchConvAIDashboardSettingsRequestChartsItem is DashboardDataCollectionChartModel.

func (PatchConvAIDashboardSettingsRequestChartsItem) IsDashboardCallSuccessChartModel

func (s PatchConvAIDashboardSettingsRequestChartsItem) IsDashboardCallSuccessChartModel() bool

IsDashboardCallSuccessChartModel reports whether PatchConvAIDashboardSettingsRequestChartsItem is DashboardCallSuccessChartModel.

func (PatchConvAIDashboardSettingsRequestChartsItem) IsDashboardCriteriaChartModel

func (s PatchConvAIDashboardSettingsRequestChartsItem) IsDashboardCriteriaChartModel() bool

IsDashboardCriteriaChartModel reports whether PatchConvAIDashboardSettingsRequestChartsItem is DashboardCriteriaChartModel.

func (PatchConvAIDashboardSettingsRequestChartsItem) IsDashboardDataCollectionChartModel

func (s PatchConvAIDashboardSettingsRequestChartsItem) IsDashboardDataCollectionChartModel() bool

IsDashboardDataCollectionChartModel reports whether PatchConvAIDashboardSettingsRequestChartsItem is DashboardDataCollectionChartModel.

func (PatchConvAIDashboardSettingsRequestChartsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*PatchConvAIDashboardSettingsRequestChartsItem) SetDashboardCallSuccessChartModel

func (s *PatchConvAIDashboardSettingsRequestChartsItem) SetDashboardCallSuccessChartModel(v DashboardCallSuccessChartModel)

SetDashboardCallSuccessChartModel sets PatchConvAIDashboardSettingsRequestChartsItem to DashboardCallSuccessChartModel.

func (*PatchConvAIDashboardSettingsRequestChartsItem) SetDashboardCriteriaChartModel

SetDashboardCriteriaChartModel sets PatchConvAIDashboardSettingsRequestChartsItem to DashboardCriteriaChartModel.

func (*PatchConvAIDashboardSettingsRequestChartsItem) SetDashboardDataCollectionChartModel

func (s *PatchConvAIDashboardSettingsRequestChartsItem) SetDashboardDataCollectionChartModel(v DashboardDataCollectionChartModel)

SetDashboardDataCollectionChartModel sets PatchConvAIDashboardSettingsRequestChartsItem to DashboardDataCollectionChartModel.

func (*PatchConvAIDashboardSettingsRequestChartsItem) UnmarshalJSON

func (s *PatchConvAIDashboardSettingsRequestChartsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (PatchConvAIDashboardSettingsRequestChartsItem) Validate

type PatchConvAIDashboardSettingsRequestChartsItemType

type PatchConvAIDashboardSettingsRequestChartsItemType string

PatchConvAIDashboardSettingsRequestChartsItemType is oneOf type of PatchConvAIDashboardSettingsRequestChartsItem.

const (
	DashboardCallSuccessChartModelPatchConvAIDashboardSettingsRequestChartsItem    PatchConvAIDashboardSettingsRequestChartsItemType = "call_success"
	DashboardCriteriaChartModelPatchConvAIDashboardSettingsRequestChartsItem       PatchConvAIDashboardSettingsRequestChartsItemType = "criteria"
	DashboardDataCollectionChartModelPatchConvAIDashboardSettingsRequestChartsItem PatchConvAIDashboardSettingsRequestChartsItemType = "data_collection"
)

Possible values for PatchConvAIDashboardSettingsRequestChartsItemType.

type PatchConvAISettingsRequest

type PatchConvAISettingsRequest struct {
	// Whether the workspace can use MCP servers.
	CanUseMcpServers                        OptBool                                    `json:"can_use_mcp_servers"`
	ConversationInitiationClientDataWebhook OptConversationInitiationClientDataWebhook `json:"conversation_initiation_client_data_webhook"`
	DefaultLivekitStack                     OptLivekitStackType                        `json:"default_livekit_stack"`
	RagRetentionPeriodDays                  OptInt                                     `json:"rag_retention_period_days"`
	Webhooks                                OptConvAIWebhooks                          `json:"webhooks"`
}

Ref: #/components/schemas/PatchConvAISettingsRequest

func (*PatchConvAISettingsRequest) Decode

Decode decodes PatchConvAISettingsRequest from json.

func (*PatchConvAISettingsRequest) Encode

func (s *PatchConvAISettingsRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PatchConvAISettingsRequest) GetCanUseMcpServers

func (s *PatchConvAISettingsRequest) GetCanUseMcpServers() OptBool

GetCanUseMcpServers returns the value of CanUseMcpServers.

func (*PatchConvAISettingsRequest) GetConversationInitiationClientDataWebhook

func (s *PatchConvAISettingsRequest) GetConversationInitiationClientDataWebhook() OptConversationInitiationClientDataWebhook

GetConversationInitiationClientDataWebhook returns the value of ConversationInitiationClientDataWebhook.

func (*PatchConvAISettingsRequest) GetDefaultLivekitStack

func (s *PatchConvAISettingsRequest) GetDefaultLivekitStack() OptLivekitStackType

GetDefaultLivekitStack returns the value of DefaultLivekitStack.

func (*PatchConvAISettingsRequest) GetRagRetentionPeriodDays

func (s *PatchConvAISettingsRequest) GetRagRetentionPeriodDays() OptInt

GetRagRetentionPeriodDays returns the value of RagRetentionPeriodDays.

func (*PatchConvAISettingsRequest) GetWebhooks

GetWebhooks returns the value of Webhooks.

func (*PatchConvAISettingsRequest) MarshalJSON

func (s *PatchConvAISettingsRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PatchConvAISettingsRequest) SetCanUseMcpServers

func (s *PatchConvAISettingsRequest) SetCanUseMcpServers(val OptBool)

SetCanUseMcpServers sets the value of CanUseMcpServers.

func (*PatchConvAISettingsRequest) SetConversationInitiationClientDataWebhook

func (s *PatchConvAISettingsRequest) SetConversationInitiationClientDataWebhook(val OptConversationInitiationClientDataWebhook)

SetConversationInitiationClientDataWebhook sets the value of ConversationInitiationClientDataWebhook.

func (*PatchConvAISettingsRequest) SetDefaultLivekitStack

func (s *PatchConvAISettingsRequest) SetDefaultLivekitStack(val OptLivekitStackType)

SetDefaultLivekitStack sets the value of DefaultLivekitStack.

func (*PatchConvAISettingsRequest) SetRagRetentionPeriodDays

func (s *PatchConvAISettingsRequest) SetRagRetentionPeriodDays(val OptInt)

SetRagRetentionPeriodDays sets the value of RagRetentionPeriodDays.

func (*PatchConvAISettingsRequest) SetWebhooks

func (s *PatchConvAISettingsRequest) SetWebhooks(val OptConvAIWebhooks)

SetWebhooks sets the value of Webhooks.

func (*PatchConvAISettingsRequest) UnmarshalJSON

func (s *PatchConvAISettingsRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PatchConvAISettingsRequest) Validate

func (s *PatchConvAISettingsRequest) Validate() error

type PatchPronunciationDictionaryParams

type PatchPronunciationDictionaryParams struct {
	// The id of the pronunciation dictionary.
	PronunciationDictionaryID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

PatchPronunciationDictionaryParams is parameters of patch_pronunciation_dictionary operation.

type PatchPronunciationDictionaryRes

type PatchPronunciationDictionaryRes interface {
	// contains filtered or unexported methods
}

type PatchWorkspaceSecretRequest

type PatchWorkspaceSecretRequest struct {
	Name  string                          `json:"name"`
	Type  PatchWorkspaceSecretRequestType `json:"type"`
	Value string                          `json:"value"`
}

Ref: #/components/schemas/PatchWorkspaceSecretRequest

func (*PatchWorkspaceSecretRequest) Decode

Decode decodes PatchWorkspaceSecretRequest from json.

func (*PatchWorkspaceSecretRequest) Encode

func (s *PatchWorkspaceSecretRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PatchWorkspaceSecretRequest) GetName

func (s *PatchWorkspaceSecretRequest) GetName() string

GetName returns the value of Name.

func (*PatchWorkspaceSecretRequest) GetType

GetType returns the value of Type.

func (*PatchWorkspaceSecretRequest) GetValue

func (s *PatchWorkspaceSecretRequest) GetValue() string

GetValue returns the value of Value.

func (*PatchWorkspaceSecretRequest) MarshalJSON

func (s *PatchWorkspaceSecretRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PatchWorkspaceSecretRequest) SetName

func (s *PatchWorkspaceSecretRequest) SetName(val string)

SetName sets the value of Name.

func (*PatchWorkspaceSecretRequest) SetType

SetType sets the value of Type.

func (*PatchWorkspaceSecretRequest) SetValue

func (s *PatchWorkspaceSecretRequest) SetValue(val string)

SetValue sets the value of Value.

func (*PatchWorkspaceSecretRequest) UnmarshalJSON

func (s *PatchWorkspaceSecretRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PatchWorkspaceSecretRequest) Validate

func (s *PatchWorkspaceSecretRequest) Validate() error

type PatchWorkspaceSecretRequestType

type PatchWorkspaceSecretRequestType string
const (
	PatchWorkspaceSecretRequestTypeUpdate PatchWorkspaceSecretRequestType = "update"
)

func (PatchWorkspaceSecretRequestType) AllValues

AllValues returns all PatchWorkspaceSecretRequestType values.

func (*PatchWorkspaceSecretRequestType) Decode

Decode decodes PatchWorkspaceSecretRequestType from json.

func (PatchWorkspaceSecretRequestType) Encode

Encode encodes PatchWorkspaceSecretRequestType as json.

func (PatchWorkspaceSecretRequestType) MarshalJSON

func (s PatchWorkspaceSecretRequestType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PatchWorkspaceSecretRequestType) MarshalText

func (s PatchWorkspaceSecretRequestType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PatchWorkspaceSecretRequestType) UnmarshalJSON

func (s *PatchWorkspaceSecretRequestType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PatchWorkspaceSecretRequestType) UnmarshalText

func (s *PatchWorkspaceSecretRequestType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PatchWorkspaceSecretRequestType) Validate

type PatchWorkspaceWebhookResponseModel

type PatchWorkspaceWebhookResponseModel struct {
	// The status of the workspace webhook patch request. If the request was successful, the status will
	// be 'ok'. Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/PatchWorkspaceWebhookResponseModel

func (*PatchWorkspaceWebhookResponseModel) Decode

Decode decodes PatchWorkspaceWebhookResponseModel from json.

func (*PatchWorkspaceWebhookResponseModel) Encode

Encode implements json.Marshaler.

func (*PatchWorkspaceWebhookResponseModel) GetStatus

GetStatus returns the value of Status.

func (*PatchWorkspaceWebhookResponseModel) MarshalJSON

func (s *PatchWorkspaceWebhookResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PatchWorkspaceWebhookResponseModel) SetStatus

func (s *PatchWorkspaceWebhookResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*PatchWorkspaceWebhookResponseModel) UnmarshalJSON

func (s *PatchWorkspaceWebhookResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PdfExportOptions

type PdfExportOptions struct {
	Format                      PdfExportOptionsFormat `json:"format"`
	IncludeSpeakers             OptBool                `json:"include_speakers"`
	IncludeTimestamps           OptBool                `json:"include_timestamps"`
	MaxSegmentChars             OptNilInt              `json:"max_segment_chars"`
	MaxSegmentDurationS         OptNilFloat64          `json:"max_segment_duration_s"`
	SegmentOnSilenceLongerThanS OptNilFloat64          `json:"segment_on_silence_longer_than_s"`
}

Ref: #/components/schemas/PdfExportOptions

func (*PdfExportOptions) Decode

func (s *PdfExportOptions) Decode(d *jx.Decoder) error

Decode decodes PdfExportOptions from json.

func (*PdfExportOptions) Encode

func (s *PdfExportOptions) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PdfExportOptions) GetFormat

GetFormat returns the value of Format.

func (*PdfExportOptions) GetIncludeSpeakers

func (s *PdfExportOptions) GetIncludeSpeakers() OptBool

GetIncludeSpeakers returns the value of IncludeSpeakers.

func (*PdfExportOptions) GetIncludeTimestamps

func (s *PdfExportOptions) GetIncludeTimestamps() OptBool

GetIncludeTimestamps returns the value of IncludeTimestamps.

func (*PdfExportOptions) GetMaxSegmentChars

func (s *PdfExportOptions) GetMaxSegmentChars() OptNilInt

GetMaxSegmentChars returns the value of MaxSegmentChars.

func (*PdfExportOptions) GetMaxSegmentDurationS

func (s *PdfExportOptions) GetMaxSegmentDurationS() OptNilFloat64

GetMaxSegmentDurationS returns the value of MaxSegmentDurationS.

func (*PdfExportOptions) GetSegmentOnSilenceLongerThanS

func (s *PdfExportOptions) GetSegmentOnSilenceLongerThanS() OptNilFloat64

GetSegmentOnSilenceLongerThanS returns the value of SegmentOnSilenceLongerThanS.

func (*PdfExportOptions) MarshalJSON

func (s *PdfExportOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PdfExportOptions) SetFormat

func (s *PdfExportOptions) SetFormat(val PdfExportOptionsFormat)

SetFormat sets the value of Format.

func (*PdfExportOptions) SetIncludeSpeakers

func (s *PdfExportOptions) SetIncludeSpeakers(val OptBool)

SetIncludeSpeakers sets the value of IncludeSpeakers.

func (*PdfExportOptions) SetIncludeTimestamps

func (s *PdfExportOptions) SetIncludeTimestamps(val OptBool)

SetIncludeTimestamps sets the value of IncludeTimestamps.

func (*PdfExportOptions) SetMaxSegmentChars

func (s *PdfExportOptions) SetMaxSegmentChars(val OptNilInt)

SetMaxSegmentChars sets the value of MaxSegmentChars.

func (*PdfExportOptions) SetMaxSegmentDurationS

func (s *PdfExportOptions) SetMaxSegmentDurationS(val OptNilFloat64)

SetMaxSegmentDurationS sets the value of MaxSegmentDurationS.

func (*PdfExportOptions) SetSegmentOnSilenceLongerThanS

func (s *PdfExportOptions) SetSegmentOnSilenceLongerThanS(val OptNilFloat64)

SetSegmentOnSilenceLongerThanS sets the value of SegmentOnSilenceLongerThanS.

func (*PdfExportOptions) UnmarshalJSON

func (s *PdfExportOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PdfExportOptions) Validate

func (s *PdfExportOptions) Validate() error

type PdfExportOptionsFormat

type PdfExportOptionsFormat string
const (
	PdfExportOptionsFormatPdf PdfExportOptionsFormat = "pdf"
)

func (PdfExportOptionsFormat) AllValues

AllValues returns all PdfExportOptionsFormat values.

func (*PdfExportOptionsFormat) Decode

func (s *PdfExportOptionsFormat) Decode(d *jx.Decoder) error

Decode decodes PdfExportOptionsFormat from json.

func (PdfExportOptionsFormat) Encode

func (s PdfExportOptionsFormat) Encode(e *jx.Encoder)

Encode encodes PdfExportOptionsFormat as json.

func (PdfExportOptionsFormat) MarshalJSON

func (s PdfExportOptionsFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PdfExportOptionsFormat) MarshalText

func (s PdfExportOptionsFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PdfExportOptionsFormat) UnmarshalJSON

func (s *PdfExportOptionsFormat) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PdfExportOptionsFormat) UnmarshalText

func (s *PdfExportOptionsFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PdfExportOptionsFormat) Validate

func (s PdfExportOptionsFormat) Validate() error

type PhoneNumberAgentInfo

type PhoneNumberAgentInfo struct {
	// The ID of the agent.
	AgentID string `json:"agent_id"`
	// The name of the agent.
	AgentName string `json:"agent_name"`
}

Ref: #/components/schemas/PhoneNumberAgentInfo

func (*PhoneNumberAgentInfo) Decode

func (s *PhoneNumberAgentInfo) Decode(d *jx.Decoder) error

Decode decodes PhoneNumberAgentInfo from json.

func (*PhoneNumberAgentInfo) Encode

func (s *PhoneNumberAgentInfo) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PhoneNumberAgentInfo) GetAgentID

func (s *PhoneNumberAgentInfo) GetAgentID() string

GetAgentID returns the value of AgentID.

func (*PhoneNumberAgentInfo) GetAgentName

func (s *PhoneNumberAgentInfo) GetAgentName() string

GetAgentName returns the value of AgentName.

func (*PhoneNumberAgentInfo) MarshalJSON

func (s *PhoneNumberAgentInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PhoneNumberAgentInfo) SetAgentID

func (s *PhoneNumberAgentInfo) SetAgentID(val string)

SetAgentID sets the value of AgentID.

func (*PhoneNumberAgentInfo) SetAgentName

func (s *PhoneNumberAgentInfo) SetAgentName(val string)

SetAgentName sets the value of AgentName.

func (*PhoneNumberAgentInfo) UnmarshalJSON

func (s *PhoneNumberAgentInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PlayDTMFResultErrorModel

type PlayDTMFResultErrorModel struct {
	Details    OptNilString                          `json:"details"`
	Error      string                                `json:"error"`
	ResultType OptPlayDTMFResultErrorModelResultType `json:"result_type"`
	Status     OptPlayDTMFResultErrorModelStatus     `json:"status"`
}

Ref: #/components/schemas/PlayDTMFResultErrorModel

func (*PlayDTMFResultErrorModel) Decode

func (s *PlayDTMFResultErrorModel) Decode(d *jx.Decoder) error

Decode decodes PlayDTMFResultErrorModel from json.

func (*PlayDTMFResultErrorModel) Encode

func (s *PlayDTMFResultErrorModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PlayDTMFResultErrorModel) GetDetails

func (s *PlayDTMFResultErrorModel) GetDetails() OptNilString

GetDetails returns the value of Details.

func (*PlayDTMFResultErrorModel) GetError

func (s *PlayDTMFResultErrorModel) GetError() string

GetError returns the value of Error.

func (*PlayDTMFResultErrorModel) GetResultType

GetResultType returns the value of ResultType.

func (*PlayDTMFResultErrorModel) GetStatus

GetStatus returns the value of Status.

func (*PlayDTMFResultErrorModel) MarshalJSON

func (s *PlayDTMFResultErrorModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PlayDTMFResultErrorModel) SetDetails

func (s *PlayDTMFResultErrorModel) SetDetails(val OptNilString)

SetDetails sets the value of Details.

func (*PlayDTMFResultErrorModel) SetError

func (s *PlayDTMFResultErrorModel) SetError(val string)

SetError sets the value of Error.

func (*PlayDTMFResultErrorModel) SetResultType

SetResultType sets the value of ResultType.

func (*PlayDTMFResultErrorModel) SetStatus

SetStatus sets the value of Status.

func (*PlayDTMFResultErrorModel) UnmarshalJSON

func (s *PlayDTMFResultErrorModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PlayDTMFResultErrorModel) Validate

func (s *PlayDTMFResultErrorModel) Validate() error

type PlayDTMFResultErrorModelResultType

type PlayDTMFResultErrorModelResultType string
const (
	PlayDTMFResultErrorModelResultTypePlayDtmfError PlayDTMFResultErrorModelResultType = "play_dtmf_error"
)

func (PlayDTMFResultErrorModelResultType) AllValues

AllValues returns all PlayDTMFResultErrorModelResultType values.

func (*PlayDTMFResultErrorModelResultType) Decode

Decode decodes PlayDTMFResultErrorModelResultType from json.

func (PlayDTMFResultErrorModelResultType) Encode

Encode encodes PlayDTMFResultErrorModelResultType as json.

func (PlayDTMFResultErrorModelResultType) MarshalJSON

func (s PlayDTMFResultErrorModelResultType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PlayDTMFResultErrorModelResultType) MarshalText

func (s PlayDTMFResultErrorModelResultType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PlayDTMFResultErrorModelResultType) UnmarshalJSON

func (s *PlayDTMFResultErrorModelResultType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PlayDTMFResultErrorModelResultType) UnmarshalText

func (s *PlayDTMFResultErrorModelResultType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PlayDTMFResultErrorModelResultType) Validate

type PlayDTMFResultErrorModelStatus

type PlayDTMFResultErrorModelStatus string
const (
	PlayDTMFResultErrorModelStatusError PlayDTMFResultErrorModelStatus = "error"
)

func (PlayDTMFResultErrorModelStatus) AllValues

AllValues returns all PlayDTMFResultErrorModelStatus values.

func (*PlayDTMFResultErrorModelStatus) Decode

Decode decodes PlayDTMFResultErrorModelStatus from json.

func (PlayDTMFResultErrorModelStatus) Encode

Encode encodes PlayDTMFResultErrorModelStatus as json.

func (PlayDTMFResultErrorModelStatus) MarshalJSON

func (s PlayDTMFResultErrorModelStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PlayDTMFResultErrorModelStatus) MarshalText

func (s PlayDTMFResultErrorModelStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PlayDTMFResultErrorModelStatus) UnmarshalJSON

func (s *PlayDTMFResultErrorModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PlayDTMFResultErrorModelStatus) UnmarshalText

func (s *PlayDTMFResultErrorModelStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PlayDTMFResultErrorModelStatus) Validate

type PlayDTMFResultSuccessModel

type PlayDTMFResultSuccessModel struct {
	DtmfTones  string                                  `json:"dtmf_tones"`
	Reason     OptNilString                            `json:"reason"`
	ResultType OptPlayDTMFResultSuccessModelResultType `json:"result_type"`
	Status     OptPlayDTMFResultSuccessModelStatus     `json:"status"`
}

Ref: #/components/schemas/PlayDTMFResultSuccessModel

func (*PlayDTMFResultSuccessModel) Decode

Decode decodes PlayDTMFResultSuccessModel from json.

func (*PlayDTMFResultSuccessModel) Encode

func (s *PlayDTMFResultSuccessModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PlayDTMFResultSuccessModel) GetDtmfTones

func (s *PlayDTMFResultSuccessModel) GetDtmfTones() string

GetDtmfTones returns the value of DtmfTones.

func (*PlayDTMFResultSuccessModel) GetReason

GetReason returns the value of Reason.

func (*PlayDTMFResultSuccessModel) GetResultType

GetResultType returns the value of ResultType.

func (*PlayDTMFResultSuccessModel) GetStatus

GetStatus returns the value of Status.

func (*PlayDTMFResultSuccessModel) MarshalJSON

func (s *PlayDTMFResultSuccessModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PlayDTMFResultSuccessModel) SetDtmfTones

func (s *PlayDTMFResultSuccessModel) SetDtmfTones(val string)

SetDtmfTones sets the value of DtmfTones.

func (*PlayDTMFResultSuccessModel) SetReason

func (s *PlayDTMFResultSuccessModel) SetReason(val OptNilString)

SetReason sets the value of Reason.

func (*PlayDTMFResultSuccessModel) SetResultType

SetResultType sets the value of ResultType.

func (*PlayDTMFResultSuccessModel) SetStatus

SetStatus sets the value of Status.

func (*PlayDTMFResultSuccessModel) UnmarshalJSON

func (s *PlayDTMFResultSuccessModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PlayDTMFResultSuccessModel) Validate

func (s *PlayDTMFResultSuccessModel) Validate() error

type PlayDTMFResultSuccessModelResultType

type PlayDTMFResultSuccessModelResultType string
const (
	PlayDTMFResultSuccessModelResultTypePlayDtmfSuccess PlayDTMFResultSuccessModelResultType = "play_dtmf_success"
)

func (PlayDTMFResultSuccessModelResultType) AllValues

AllValues returns all PlayDTMFResultSuccessModelResultType values.

func (*PlayDTMFResultSuccessModelResultType) Decode

Decode decodes PlayDTMFResultSuccessModelResultType from json.

func (PlayDTMFResultSuccessModelResultType) Encode

Encode encodes PlayDTMFResultSuccessModelResultType as json.

func (PlayDTMFResultSuccessModelResultType) MarshalJSON

func (s PlayDTMFResultSuccessModelResultType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PlayDTMFResultSuccessModelResultType) MarshalText

func (s PlayDTMFResultSuccessModelResultType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PlayDTMFResultSuccessModelResultType) UnmarshalJSON

func (s *PlayDTMFResultSuccessModelResultType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PlayDTMFResultSuccessModelResultType) UnmarshalText

func (s *PlayDTMFResultSuccessModelResultType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PlayDTMFResultSuccessModelResultType) Validate

type PlayDTMFResultSuccessModelStatus

type PlayDTMFResultSuccessModelStatus string
const (
	PlayDTMFResultSuccessModelStatusSuccess PlayDTMFResultSuccessModelStatus = "success"
)

func (PlayDTMFResultSuccessModelStatus) AllValues

AllValues returns all PlayDTMFResultSuccessModelStatus values.

func (*PlayDTMFResultSuccessModelStatus) Decode

Decode decodes PlayDTMFResultSuccessModelStatus from json.

func (PlayDTMFResultSuccessModelStatus) Encode

Encode encodes PlayDTMFResultSuccessModelStatus as json.

func (PlayDTMFResultSuccessModelStatus) MarshalJSON

func (s PlayDTMFResultSuccessModelStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PlayDTMFResultSuccessModelStatus) MarshalText

func (s PlayDTMFResultSuccessModelStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PlayDTMFResultSuccessModelStatus) UnmarshalJSON

func (s *PlayDTMFResultSuccessModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PlayDTMFResultSuccessModelStatus) UnmarshalText

func (s *PlayDTMFResultSuccessModelStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PlayDTMFResultSuccessModelStatus) Validate

type PostAgentAvatarResponseModel

type PostAgentAvatarResponseModel struct {
	AgentID   string       `json:"agent_id"`
	AvatarURL OptNilString `json:"avatar_url"`
}

Ref: #/components/schemas/PostAgentAvatarResponseModel

func (*PostAgentAvatarResponseModel) Decode

Decode decodes PostAgentAvatarResponseModel from json.

func (*PostAgentAvatarResponseModel) Encode

func (s *PostAgentAvatarResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PostAgentAvatarResponseModel) GetAgentID

func (s *PostAgentAvatarResponseModel) GetAgentID() string

GetAgentID returns the value of AgentID.

func (*PostAgentAvatarResponseModel) GetAvatarURL

func (s *PostAgentAvatarResponseModel) GetAvatarURL() OptNilString

GetAvatarURL returns the value of AvatarURL.

func (*PostAgentAvatarResponseModel) MarshalJSON

func (s *PostAgentAvatarResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostAgentAvatarResponseModel) SetAgentID

func (s *PostAgentAvatarResponseModel) SetAgentID(val string)

SetAgentID sets the value of AgentID.

func (*PostAgentAvatarResponseModel) SetAvatarURL

func (s *PostAgentAvatarResponseModel) SetAvatarURL(val OptNilString)

SetAvatarURL sets the value of AvatarURL.

func (*PostAgentAvatarResponseModel) UnmarshalJSON

func (s *PostAgentAvatarResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PostAgentAvatarRouteParams

type PostAgentAvatarRouteParams struct {
	// The id of an agent. This is returned on agent creation.
	AgentID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

PostAgentAvatarRouteParams is parameters of post_agent_avatar_route operation.

type PostAgentAvatarRouteRes

type PostAgentAvatarRouteRes interface {
	// contains filtered or unexported methods
}

type PostConversationFeedbackRouteOKApplicationJSON

type PostConversationFeedbackRouteOKApplicationJSON jx.Raw

func (*PostConversationFeedbackRouteOKApplicationJSON) Decode

Decode decodes PostConversationFeedbackRouteOKApplicationJSON from json.

func (PostConversationFeedbackRouteOKApplicationJSON) Encode

Encode encodes PostConversationFeedbackRouteOKApplicationJSON as json.

func (PostConversationFeedbackRouteOKApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*PostConversationFeedbackRouteOKApplicationJSON) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type PostConversationFeedbackRouteParams

type PostConversationFeedbackRouteParams struct {
	// The id of the conversation you're taking the action on.
	ConversationID string
}

PostConversationFeedbackRouteParams is parameters of post_conversation_feedback_route operation.

type PostConversationFeedbackRouteRes

type PostConversationFeedbackRouteRes interface {
	// contains filtered or unexported methods
}

type PostWorkspaceSecretRequest

type PostWorkspaceSecretRequest struct {
	Name  string                         `json:"name"`
	Type  PostWorkspaceSecretRequestType `json:"type"`
	Value string                         `json:"value"`
}

Ref: #/components/schemas/PostWorkspaceSecretRequest

func (*PostWorkspaceSecretRequest) Decode

Decode decodes PostWorkspaceSecretRequest from json.

func (*PostWorkspaceSecretRequest) Encode

func (s *PostWorkspaceSecretRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PostWorkspaceSecretRequest) GetName

func (s *PostWorkspaceSecretRequest) GetName() string

GetName returns the value of Name.

func (*PostWorkspaceSecretRequest) GetType

GetType returns the value of Type.

func (*PostWorkspaceSecretRequest) GetValue

func (s *PostWorkspaceSecretRequest) GetValue() string

GetValue returns the value of Value.

func (*PostWorkspaceSecretRequest) MarshalJSON

func (s *PostWorkspaceSecretRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostWorkspaceSecretRequest) SetName

func (s *PostWorkspaceSecretRequest) SetName(val string)

SetName sets the value of Name.

func (*PostWorkspaceSecretRequest) SetType

SetType sets the value of Type.

func (*PostWorkspaceSecretRequest) SetValue

func (s *PostWorkspaceSecretRequest) SetValue(val string)

SetValue sets the value of Value.

func (*PostWorkspaceSecretRequest) UnmarshalJSON

func (s *PostWorkspaceSecretRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PostWorkspaceSecretRequest) Validate

func (s *PostWorkspaceSecretRequest) Validate() error

type PostWorkspaceSecretRequestType

type PostWorkspaceSecretRequestType string
const (
	PostWorkspaceSecretRequestTypeNew PostWorkspaceSecretRequestType = "new"
)

func (PostWorkspaceSecretRequestType) AllValues

AllValues returns all PostWorkspaceSecretRequestType values.

func (*PostWorkspaceSecretRequestType) Decode

Decode decodes PostWorkspaceSecretRequestType from json.

func (PostWorkspaceSecretRequestType) Encode

Encode encodes PostWorkspaceSecretRequestType as json.

func (PostWorkspaceSecretRequestType) MarshalJSON

func (s PostWorkspaceSecretRequestType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PostWorkspaceSecretRequestType) MarshalText

func (s PostWorkspaceSecretRequestType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PostWorkspaceSecretRequestType) UnmarshalJSON

func (s *PostWorkspaceSecretRequestType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PostWorkspaceSecretRequestType) UnmarshalText

func (s *PostWorkspaceSecretRequestType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PostWorkspaceSecretRequestType) Validate

type PostWorkspaceSecretResponseModel

type PostWorkspaceSecretResponseModel struct {
	Name     string                               `json:"name"`
	SecretID string                               `json:"secret_id"`
	Type     PostWorkspaceSecretResponseModelType `json:"type"`
}

Ref: #/components/schemas/PostWorkspaceSecretResponseModel

func (*PostWorkspaceSecretResponseModel) Decode

Decode decodes PostWorkspaceSecretResponseModel from json.

func (*PostWorkspaceSecretResponseModel) Encode

Encode implements json.Marshaler.

func (*PostWorkspaceSecretResponseModel) GetName

GetName returns the value of Name.

func (*PostWorkspaceSecretResponseModel) GetSecretID

func (s *PostWorkspaceSecretResponseModel) GetSecretID() string

GetSecretID returns the value of SecretID.

func (*PostWorkspaceSecretResponseModel) GetType

GetType returns the value of Type.

func (*PostWorkspaceSecretResponseModel) MarshalJSON

func (s *PostWorkspaceSecretResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostWorkspaceSecretResponseModel) SetName

func (s *PostWorkspaceSecretResponseModel) SetName(val string)

SetName sets the value of Name.

func (*PostWorkspaceSecretResponseModel) SetSecretID

func (s *PostWorkspaceSecretResponseModel) SetSecretID(val string)

SetSecretID sets the value of SecretID.

func (*PostWorkspaceSecretResponseModel) SetType

SetType sets the value of Type.

func (*PostWorkspaceSecretResponseModel) UnmarshalJSON

func (s *PostWorkspaceSecretResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PostWorkspaceSecretResponseModel) Validate

type PostWorkspaceSecretResponseModelType

type PostWorkspaceSecretResponseModelType string
const (
	PostWorkspaceSecretResponseModelTypeStored PostWorkspaceSecretResponseModelType = "stored"
)

func (PostWorkspaceSecretResponseModelType) AllValues

AllValues returns all PostWorkspaceSecretResponseModelType values.

func (*PostWorkspaceSecretResponseModelType) Decode

Decode decodes PostWorkspaceSecretResponseModelType from json.

func (PostWorkspaceSecretResponseModelType) Encode

Encode encodes PostWorkspaceSecretResponseModelType as json.

func (PostWorkspaceSecretResponseModelType) MarshalJSON

func (s PostWorkspaceSecretResponseModelType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PostWorkspaceSecretResponseModelType) MarshalText

func (s PostWorkspaceSecretResponseModelType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PostWorkspaceSecretResponseModelType) UnmarshalJSON

func (s *PostWorkspaceSecretResponseModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PostWorkspaceSecretResponseModelType) UnmarshalText

func (s *PostWorkspaceSecretResponseModelType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PostWorkspaceSecretResponseModelType) Validate

type ProjectCreationMetaResponseModel

type ProjectCreationMetaResponseModel struct {
	// The progress of the project creation.
	CreationProgress float64 `json:"creation_progress"`
	// The status of the project creation action.
	Status ProjectCreationMetaResponseModelStatus `json:"status"`
	// The type of the project creation action.
	Type ProjectCreationMetaResponseModelType `json:"type"`
}

Ref: #/components/schemas/ProjectCreationMetaResponseModel

func (*ProjectCreationMetaResponseModel) Decode

Decode decodes ProjectCreationMetaResponseModel from json.

func (*ProjectCreationMetaResponseModel) Encode

Encode implements json.Marshaler.

func (*ProjectCreationMetaResponseModel) GetCreationProgress

func (s *ProjectCreationMetaResponseModel) GetCreationProgress() float64

GetCreationProgress returns the value of CreationProgress.

func (*ProjectCreationMetaResponseModel) GetStatus

GetStatus returns the value of Status.

func (*ProjectCreationMetaResponseModel) GetType

GetType returns the value of Type.

func (*ProjectCreationMetaResponseModel) MarshalJSON

func (s *ProjectCreationMetaResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProjectCreationMetaResponseModel) SetCreationProgress

func (s *ProjectCreationMetaResponseModel) SetCreationProgress(val float64)

SetCreationProgress sets the value of CreationProgress.

func (*ProjectCreationMetaResponseModel) SetStatus

SetStatus sets the value of Status.

func (*ProjectCreationMetaResponseModel) SetType

SetType sets the value of Type.

func (*ProjectCreationMetaResponseModel) UnmarshalJSON

func (s *ProjectCreationMetaResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProjectCreationMetaResponseModel) Validate

type ProjectCreationMetaResponseModelStatus

type ProjectCreationMetaResponseModelStatus string

The status of the project creation action.

const (
	ProjectCreationMetaResponseModelStatusPending  ProjectCreationMetaResponseModelStatus = "pending"
	ProjectCreationMetaResponseModelStatusCreating ProjectCreationMetaResponseModelStatus = "creating"
	ProjectCreationMetaResponseModelStatusFinished ProjectCreationMetaResponseModelStatus = "finished"
	ProjectCreationMetaResponseModelStatusFailed   ProjectCreationMetaResponseModelStatus = "failed"
)

func (ProjectCreationMetaResponseModelStatus) AllValues

AllValues returns all ProjectCreationMetaResponseModelStatus values.

func (*ProjectCreationMetaResponseModelStatus) Decode

Decode decodes ProjectCreationMetaResponseModelStatus from json.

func (ProjectCreationMetaResponseModelStatus) Encode

Encode encodes ProjectCreationMetaResponseModelStatus as json.

func (ProjectCreationMetaResponseModelStatus) MarshalJSON

func (s ProjectCreationMetaResponseModelStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ProjectCreationMetaResponseModelStatus) MarshalText

func (s ProjectCreationMetaResponseModelStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ProjectCreationMetaResponseModelStatus) UnmarshalJSON

func (s *ProjectCreationMetaResponseModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProjectCreationMetaResponseModelStatus) UnmarshalText

func (s *ProjectCreationMetaResponseModelStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ProjectCreationMetaResponseModelStatus) Validate

type ProjectCreationMetaResponseModelType

type ProjectCreationMetaResponseModelType string

The type of the project creation action.

const (
	ProjectCreationMetaResponseModelTypeBlank            ProjectCreationMetaResponseModelType = "blank"
	ProjectCreationMetaResponseModelTypeGeneratePodcast  ProjectCreationMetaResponseModelType = "generate_podcast"
	ProjectCreationMetaResponseModelTypeAutoAssignVoices ProjectCreationMetaResponseModelType = "auto_assign_voices"
)

func (ProjectCreationMetaResponseModelType) AllValues

AllValues returns all ProjectCreationMetaResponseModelType values.

func (*ProjectCreationMetaResponseModelType) Decode

Decode decodes ProjectCreationMetaResponseModelType from json.

func (ProjectCreationMetaResponseModelType) Encode

Encode encodes ProjectCreationMetaResponseModelType as json.

func (ProjectCreationMetaResponseModelType) MarshalJSON

func (s ProjectCreationMetaResponseModelType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ProjectCreationMetaResponseModelType) MarshalText

func (s ProjectCreationMetaResponseModelType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ProjectCreationMetaResponseModelType) UnmarshalJSON

func (s *ProjectCreationMetaResponseModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProjectCreationMetaResponseModelType) UnmarshalText

func (s *ProjectCreationMetaResponseModelType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ProjectCreationMetaResponseModelType) Validate

type ProjectResponseModel

type ProjectResponseModel struct {
	// The access level of the project.
	AccessLevel ProjectResponseModelAccessLevel `json:"access_level"`
	// The aspect ratio of the project.
	AspectRatio OptNilProjectResponseModelAspectRatio `json:"aspect_ratio"`
	// The author of the project.
	Author OptNilString `json:"author"`
	// Whether the project can be downloaded.
	CanBeDownloaded bool `json:"can_be_downloaded"`
	// Global styling to be applied to all captions.
	CaptionStyle OptCaptionStyleModel `json:"caption_style"`
	// Whether captions are enabled for the project.
	CaptionsEnabled OptNilBool `json:"captions_enabled"`
	// Whether chapters are enabled for the project.
	ChaptersEnabled OptNilBool `json:"chapters_enabled"`
	// The content type of the project, e.g. 'Novel' or 'Short Story'.
	ContentType OptNilString `json:"content_type"`
	// The cover image URL of the project.
	CoverImageURL OptNilString `json:"cover_image_url"`
	// The creation date of the project.
	CreateDateUnix int `json:"create_date_unix"`
	// The user ID who created the project.
	CreatedByUserID NilString `json:"created_by_user_id"`
	// The creation meta of the project.
	CreationMeta OptProjectCreationMetaResponseModel `json:"creation_meta"`
	// The default model ID.
	DefaultModelID string `json:"default_model_id"`
	// The default paragraph voice ID.
	DefaultParagraphVoiceID string `json:"default_paragraph_voice_id"`
	// The default title voice ID.
	DefaultTitleVoiceID string `json:"default_title_voice_id"`
	// The description of the project.
	Description OptNilString `json:"description"`
	// Whether the project is fiction.
	Fiction OptNilProjectResponseModelFiction `json:"fiction"`
	// List of genres of the project.
	Genres OptNilStringArray `json:"genres"`
	// The ISBN number of the project.
	IsbnNumber OptNilString `json:"isbn_number"`
	// Two-letter language code (ISO 639-1) of the language of the project.
	Language OptNilString `json:"language"`
	// The last conversion date of the project.
	LastConversionDateUnix OptNilInt `json:"last_conversion_date_unix"`
	// Whether the project contains mature content.
	MatureContent OptNilBool `json:"mature_content"`
	// The name of the project.
	Name string `json:"name"`
	// The original publication date of the project.
	OriginalPublicationDate OptNilString `json:"original_publication_date"`
	// The ID of the project.
	ProjectID string `json:"project_id"`
	// The public share ID of the project.
	PublicShareID OptNilString `json:"public_share_id"`
	// Whether quality check is enabled for this project.
	//
	// Deprecated: schema marks this property as deprecated.
	QualityCheckOn bool `json:"quality_check_on"`
	// Whether quality check is enabled on the project when bulk converting.
	//
	// Deprecated: schema marks this property as deprecated.
	QualityCheckOnWhenBulkConvert bool `json:"quality_check_on_when_bulk_convert"`
	// The source type of the project.
	SourceType OptNilProjectResponseModelSourceType `json:"source_type"`
	// The state of the project.
	State ProjectResponseModelState `json:"state"`
	// The target audience of the project.
	TargetAudience OptNilProjectResponseModelTargetAudience `json:"target_audience"`
	// The title of the project.
	Title OptNilString `json:"title"`
	// Whether the project uses volume normalization.
	VolumeNormalization bool `json:"volume_normalization"`
}

Ref: #/components/schemas/ProjectResponseModel

func (*ProjectResponseModel) Decode

func (s *ProjectResponseModel) Decode(d *jx.Decoder) error

Decode decodes ProjectResponseModel from json.

func (*ProjectResponseModel) Encode

func (s *ProjectResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ProjectResponseModel) GetAccessLevel

GetAccessLevel returns the value of AccessLevel.

func (*ProjectResponseModel) GetAspectRatio

GetAspectRatio returns the value of AspectRatio.

func (*ProjectResponseModel) GetAuthor

func (s *ProjectResponseModel) GetAuthor() OptNilString

GetAuthor returns the value of Author.

func (*ProjectResponseModel) GetCanBeDownloaded

func (s *ProjectResponseModel) GetCanBeDownloaded() bool

GetCanBeDownloaded returns the value of CanBeDownloaded.

func (*ProjectResponseModel) GetCaptionStyle

func (s *ProjectResponseModel) GetCaptionStyle() OptCaptionStyleModel

GetCaptionStyle returns the value of CaptionStyle.

func (*ProjectResponseModel) GetCaptionsEnabled

func (s *ProjectResponseModel) GetCaptionsEnabled() OptNilBool

GetCaptionsEnabled returns the value of CaptionsEnabled.

func (*ProjectResponseModel) GetChaptersEnabled

func (s *ProjectResponseModel) GetChaptersEnabled() OptNilBool

GetChaptersEnabled returns the value of ChaptersEnabled.

func (*ProjectResponseModel) GetContentType

func (s *ProjectResponseModel) GetContentType() OptNilString

GetContentType returns the value of ContentType.

func (*ProjectResponseModel) GetCoverImageURL

func (s *ProjectResponseModel) GetCoverImageURL() OptNilString

GetCoverImageURL returns the value of CoverImageURL.

func (*ProjectResponseModel) GetCreateDateUnix

func (s *ProjectResponseModel) GetCreateDateUnix() int

GetCreateDateUnix returns the value of CreateDateUnix.

func (*ProjectResponseModel) GetCreatedByUserID

func (s *ProjectResponseModel) GetCreatedByUserID() NilString

GetCreatedByUserID returns the value of CreatedByUserID.

func (*ProjectResponseModel) GetCreationMeta

GetCreationMeta returns the value of CreationMeta.

func (*ProjectResponseModel) GetDefaultModelID

func (s *ProjectResponseModel) GetDefaultModelID() string

GetDefaultModelID returns the value of DefaultModelID.

func (*ProjectResponseModel) GetDefaultParagraphVoiceID

func (s *ProjectResponseModel) GetDefaultParagraphVoiceID() string

GetDefaultParagraphVoiceID returns the value of DefaultParagraphVoiceID.

func (*ProjectResponseModel) GetDefaultTitleVoiceID

func (s *ProjectResponseModel) GetDefaultTitleVoiceID() string

GetDefaultTitleVoiceID returns the value of DefaultTitleVoiceID.

func (*ProjectResponseModel) GetDescription

func (s *ProjectResponseModel) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*ProjectResponseModel) GetFiction

GetFiction returns the value of Fiction.

func (*ProjectResponseModel) GetGenres

func (s *ProjectResponseModel) GetGenres() OptNilStringArray

GetGenres returns the value of Genres.

func (*ProjectResponseModel) GetIsbnNumber

func (s *ProjectResponseModel) GetIsbnNumber() OptNilString

GetIsbnNumber returns the value of IsbnNumber.

func (*ProjectResponseModel) GetLanguage

func (s *ProjectResponseModel) GetLanguage() OptNilString

GetLanguage returns the value of Language.

func (*ProjectResponseModel) GetLastConversionDateUnix

func (s *ProjectResponseModel) GetLastConversionDateUnix() OptNilInt

GetLastConversionDateUnix returns the value of LastConversionDateUnix.

func (*ProjectResponseModel) GetMatureContent

func (s *ProjectResponseModel) GetMatureContent() OptNilBool

GetMatureContent returns the value of MatureContent.

func (*ProjectResponseModel) GetName

func (s *ProjectResponseModel) GetName() string

GetName returns the value of Name.

func (*ProjectResponseModel) GetOriginalPublicationDate

func (s *ProjectResponseModel) GetOriginalPublicationDate() OptNilString

GetOriginalPublicationDate returns the value of OriginalPublicationDate.

func (*ProjectResponseModel) GetProjectID

func (s *ProjectResponseModel) GetProjectID() string

GetProjectID returns the value of ProjectID.

func (*ProjectResponseModel) GetPublicShareID

func (s *ProjectResponseModel) GetPublicShareID() OptNilString

GetPublicShareID returns the value of PublicShareID.

func (*ProjectResponseModel) GetQualityCheckOn

func (s *ProjectResponseModel) GetQualityCheckOn() bool

GetQualityCheckOn returns the value of QualityCheckOn.

func (*ProjectResponseModel) GetQualityCheckOnWhenBulkConvert

func (s *ProjectResponseModel) GetQualityCheckOnWhenBulkConvert() bool

GetQualityCheckOnWhenBulkConvert returns the value of QualityCheckOnWhenBulkConvert.

func (*ProjectResponseModel) GetSourceType

GetSourceType returns the value of SourceType.

func (*ProjectResponseModel) GetState

GetState returns the value of State.

func (*ProjectResponseModel) GetTargetAudience

GetTargetAudience returns the value of TargetAudience.

func (*ProjectResponseModel) GetTitle

func (s *ProjectResponseModel) GetTitle() OptNilString

GetTitle returns the value of Title.

func (*ProjectResponseModel) GetVolumeNormalization

func (s *ProjectResponseModel) GetVolumeNormalization() bool

GetVolumeNormalization returns the value of VolumeNormalization.

func (*ProjectResponseModel) MarshalJSON

func (s *ProjectResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProjectResponseModel) SetAccessLevel

SetAccessLevel sets the value of AccessLevel.

func (*ProjectResponseModel) SetAspectRatio

SetAspectRatio sets the value of AspectRatio.

func (*ProjectResponseModel) SetAuthor

func (s *ProjectResponseModel) SetAuthor(val OptNilString)

SetAuthor sets the value of Author.

func (*ProjectResponseModel) SetCanBeDownloaded

func (s *ProjectResponseModel) SetCanBeDownloaded(val bool)

SetCanBeDownloaded sets the value of CanBeDownloaded.

func (*ProjectResponseModel) SetCaptionStyle

func (s *ProjectResponseModel) SetCaptionStyle(val OptCaptionStyleModel)

SetCaptionStyle sets the value of CaptionStyle.

func (*ProjectResponseModel) SetCaptionsEnabled

func (s *ProjectResponseModel) SetCaptionsEnabled(val OptNilBool)

SetCaptionsEnabled sets the value of CaptionsEnabled.

func (*ProjectResponseModel) SetChaptersEnabled

func (s *ProjectResponseModel) SetChaptersEnabled(val OptNilBool)

SetChaptersEnabled sets the value of ChaptersEnabled.

func (*ProjectResponseModel) SetContentType

func (s *ProjectResponseModel) SetContentType(val OptNilString)

SetContentType sets the value of ContentType.

func (*ProjectResponseModel) SetCoverImageURL

func (s *ProjectResponseModel) SetCoverImageURL(val OptNilString)

SetCoverImageURL sets the value of CoverImageURL.

func (*ProjectResponseModel) SetCreateDateUnix

func (s *ProjectResponseModel) SetCreateDateUnix(val int)

SetCreateDateUnix sets the value of CreateDateUnix.

func (*ProjectResponseModel) SetCreatedByUserID

func (s *ProjectResponseModel) SetCreatedByUserID(val NilString)

SetCreatedByUserID sets the value of CreatedByUserID.

func (*ProjectResponseModel) SetCreationMeta

SetCreationMeta sets the value of CreationMeta.

func (*ProjectResponseModel) SetDefaultModelID

func (s *ProjectResponseModel) SetDefaultModelID(val string)

SetDefaultModelID sets the value of DefaultModelID.

func (*ProjectResponseModel) SetDefaultParagraphVoiceID

func (s *ProjectResponseModel) SetDefaultParagraphVoiceID(val string)

SetDefaultParagraphVoiceID sets the value of DefaultParagraphVoiceID.

func (*ProjectResponseModel) SetDefaultTitleVoiceID

func (s *ProjectResponseModel) SetDefaultTitleVoiceID(val string)

SetDefaultTitleVoiceID sets the value of DefaultTitleVoiceID.

func (*ProjectResponseModel) SetDescription

func (s *ProjectResponseModel) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*ProjectResponseModel) SetFiction

SetFiction sets the value of Fiction.

func (*ProjectResponseModel) SetGenres

func (s *ProjectResponseModel) SetGenres(val OptNilStringArray)

SetGenres sets the value of Genres.

func (*ProjectResponseModel) SetIsbnNumber

func (s *ProjectResponseModel) SetIsbnNumber(val OptNilString)

SetIsbnNumber sets the value of IsbnNumber.

func (*ProjectResponseModel) SetLanguage

func (s *ProjectResponseModel) SetLanguage(val OptNilString)

SetLanguage sets the value of Language.

func (*ProjectResponseModel) SetLastConversionDateUnix

func (s *ProjectResponseModel) SetLastConversionDateUnix(val OptNilInt)

SetLastConversionDateUnix sets the value of LastConversionDateUnix.

func (*ProjectResponseModel) SetMatureContent

func (s *ProjectResponseModel) SetMatureContent(val OptNilBool)

SetMatureContent sets the value of MatureContent.

func (*ProjectResponseModel) SetName

func (s *ProjectResponseModel) SetName(val string)

SetName sets the value of Name.

func (*ProjectResponseModel) SetOriginalPublicationDate

func (s *ProjectResponseModel) SetOriginalPublicationDate(val OptNilString)

SetOriginalPublicationDate sets the value of OriginalPublicationDate.

func (*ProjectResponseModel) SetProjectID

func (s *ProjectResponseModel) SetProjectID(val string)

SetProjectID sets the value of ProjectID.

func (*ProjectResponseModel) SetPublicShareID

func (s *ProjectResponseModel) SetPublicShareID(val OptNilString)

SetPublicShareID sets the value of PublicShareID.

func (*ProjectResponseModel) SetQualityCheckOn

func (s *ProjectResponseModel) SetQualityCheckOn(val bool)

SetQualityCheckOn sets the value of QualityCheckOn.

func (*ProjectResponseModel) SetQualityCheckOnWhenBulkConvert

func (s *ProjectResponseModel) SetQualityCheckOnWhenBulkConvert(val bool)

SetQualityCheckOnWhenBulkConvert sets the value of QualityCheckOnWhenBulkConvert.

func (*ProjectResponseModel) SetSourceType

SetSourceType sets the value of SourceType.

func (*ProjectResponseModel) SetState

SetState sets the value of State.

func (*ProjectResponseModel) SetTargetAudience

SetTargetAudience sets the value of TargetAudience.

func (*ProjectResponseModel) SetTitle

func (s *ProjectResponseModel) SetTitle(val OptNilString)

SetTitle sets the value of Title.

func (*ProjectResponseModel) SetVolumeNormalization

func (s *ProjectResponseModel) SetVolumeNormalization(val bool)

SetVolumeNormalization sets the value of VolumeNormalization.

func (*ProjectResponseModel) UnmarshalJSON

func (s *ProjectResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProjectResponseModel) Validate

func (s *ProjectResponseModel) Validate() error

type ProjectResponseModelAccessLevel

type ProjectResponseModelAccessLevel string

The access level of the project.

const (
	ProjectResponseModelAccessLevelAdmin     ProjectResponseModelAccessLevel = "admin"
	ProjectResponseModelAccessLevelEditor    ProjectResponseModelAccessLevel = "editor"
	ProjectResponseModelAccessLevelCommenter ProjectResponseModelAccessLevel = "commenter"
	ProjectResponseModelAccessLevelViewer    ProjectResponseModelAccessLevel = "viewer"
)

func (ProjectResponseModelAccessLevel) AllValues

AllValues returns all ProjectResponseModelAccessLevel values.

func (*ProjectResponseModelAccessLevel) Decode

Decode decodes ProjectResponseModelAccessLevel from json.

func (ProjectResponseModelAccessLevel) Encode

Encode encodes ProjectResponseModelAccessLevel as json.

func (ProjectResponseModelAccessLevel) MarshalJSON

func (s ProjectResponseModelAccessLevel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ProjectResponseModelAccessLevel) MarshalText

func (s ProjectResponseModelAccessLevel) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ProjectResponseModelAccessLevel) UnmarshalJSON

func (s *ProjectResponseModelAccessLevel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProjectResponseModelAccessLevel) UnmarshalText

func (s *ProjectResponseModelAccessLevel) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ProjectResponseModelAccessLevel) Validate

type ProjectResponseModelAspectRatio

type ProjectResponseModelAspectRatio string

The aspect ratio of the project.

const (
	ProjectResponseModelAspectRatio169 ProjectResponseModelAspectRatio = "16:9"
	ProjectResponseModelAspectRatio916 ProjectResponseModelAspectRatio = "9:16"
	ProjectResponseModelAspectRatio45  ProjectResponseModelAspectRatio = "4:5"
	ProjectResponseModelAspectRatio11  ProjectResponseModelAspectRatio = "1:1"
)

func (ProjectResponseModelAspectRatio) AllValues

AllValues returns all ProjectResponseModelAspectRatio values.

func (*ProjectResponseModelAspectRatio) Decode

Decode decodes ProjectResponseModelAspectRatio from json.

func (ProjectResponseModelAspectRatio) Encode

Encode encodes ProjectResponseModelAspectRatio as json.

func (ProjectResponseModelAspectRatio) MarshalJSON

func (s ProjectResponseModelAspectRatio) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ProjectResponseModelAspectRatio) MarshalText

func (s ProjectResponseModelAspectRatio) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ProjectResponseModelAspectRatio) UnmarshalJSON

func (s *ProjectResponseModelAspectRatio) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProjectResponseModelAspectRatio) UnmarshalText

func (s *ProjectResponseModelAspectRatio) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ProjectResponseModelAspectRatio) Validate

type ProjectResponseModelFiction

type ProjectResponseModelFiction string

Whether the project is fiction.

const (
	ProjectResponseModelFictionFiction    ProjectResponseModelFiction = "fiction"
	ProjectResponseModelFictionNonFiction ProjectResponseModelFiction = "non-fiction"
)

func (ProjectResponseModelFiction) AllValues

AllValues returns all ProjectResponseModelFiction values.

func (*ProjectResponseModelFiction) Decode

Decode decodes ProjectResponseModelFiction from json.

func (ProjectResponseModelFiction) Encode

func (s ProjectResponseModelFiction) Encode(e *jx.Encoder)

Encode encodes ProjectResponseModelFiction as json.

func (ProjectResponseModelFiction) MarshalJSON

func (s ProjectResponseModelFiction) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ProjectResponseModelFiction) MarshalText

func (s ProjectResponseModelFiction) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ProjectResponseModelFiction) UnmarshalJSON

func (s *ProjectResponseModelFiction) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProjectResponseModelFiction) UnmarshalText

func (s *ProjectResponseModelFiction) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ProjectResponseModelFiction) Validate

func (s ProjectResponseModelFiction) Validate() error

type ProjectResponseModelSourceType

type ProjectResponseModelSourceType string

The source type of the project.

const (
	ProjectResponseModelSourceTypeBlank      ProjectResponseModelSourceType = "blank"
	ProjectResponseModelSourceTypeBook       ProjectResponseModelSourceType = "book"
	ProjectResponseModelSourceTypeArticle    ProjectResponseModelSourceType = "article"
	ProjectResponseModelSourceTypeGenfm      ProjectResponseModelSourceType = "genfm"
	ProjectResponseModelSourceTypeVideo      ProjectResponseModelSourceType = "video"
	ProjectResponseModelSourceTypeScreenplay ProjectResponseModelSourceType = "screenplay"
)

func (ProjectResponseModelSourceType) AllValues

AllValues returns all ProjectResponseModelSourceType values.

func (*ProjectResponseModelSourceType) Decode

Decode decodes ProjectResponseModelSourceType from json.

func (ProjectResponseModelSourceType) Encode

Encode encodes ProjectResponseModelSourceType as json.

func (ProjectResponseModelSourceType) MarshalJSON

func (s ProjectResponseModelSourceType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ProjectResponseModelSourceType) MarshalText

func (s ProjectResponseModelSourceType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ProjectResponseModelSourceType) UnmarshalJSON

func (s *ProjectResponseModelSourceType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProjectResponseModelSourceType) UnmarshalText

func (s *ProjectResponseModelSourceType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ProjectResponseModelSourceType) Validate

type ProjectResponseModelState

type ProjectResponseModelState string

The state of the project.

const (
	ProjectResponseModelStateCreating   ProjectResponseModelState = "creating"
	ProjectResponseModelStateDefault    ProjectResponseModelState = "default"
	ProjectResponseModelStateConverting ProjectResponseModelState = "converting"
	ProjectResponseModelStateInQueue    ProjectResponseModelState = "in_queue"
)

func (ProjectResponseModelState) AllValues

AllValues returns all ProjectResponseModelState values.

func (*ProjectResponseModelState) Decode

func (s *ProjectResponseModelState) Decode(d *jx.Decoder) error

Decode decodes ProjectResponseModelState from json.

func (ProjectResponseModelState) Encode

func (s ProjectResponseModelState) Encode(e *jx.Encoder)

Encode encodes ProjectResponseModelState as json.

func (ProjectResponseModelState) MarshalJSON

func (s ProjectResponseModelState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ProjectResponseModelState) MarshalText

func (s ProjectResponseModelState) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ProjectResponseModelState) UnmarshalJSON

func (s *ProjectResponseModelState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProjectResponseModelState) UnmarshalText

func (s *ProjectResponseModelState) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ProjectResponseModelState) Validate

func (s ProjectResponseModelState) Validate() error

type ProjectResponseModelTargetAudience

type ProjectResponseModelTargetAudience string

The target audience of the project.

const (
	ProjectResponseModelTargetAudienceChildren   ProjectResponseModelTargetAudience = "children"
	ProjectResponseModelTargetAudienceYoungAdult ProjectResponseModelTargetAudience = "young adult"
	ProjectResponseModelTargetAudienceAdult      ProjectResponseModelTargetAudience = "adult"
	ProjectResponseModelTargetAudienceAllAges    ProjectResponseModelTargetAudience = "all ages"
)

func (ProjectResponseModelTargetAudience) AllValues

AllValues returns all ProjectResponseModelTargetAudience values.

func (*ProjectResponseModelTargetAudience) Decode

Decode decodes ProjectResponseModelTargetAudience from json.

func (ProjectResponseModelTargetAudience) Encode

Encode encodes ProjectResponseModelTargetAudience as json.

func (ProjectResponseModelTargetAudience) MarshalJSON

func (s ProjectResponseModelTargetAudience) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ProjectResponseModelTargetAudience) MarshalText

func (s ProjectResponseModelTargetAudience) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ProjectResponseModelTargetAudience) UnmarshalJSON

func (s *ProjectResponseModelTargetAudience) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProjectResponseModelTargetAudience) UnmarshalText

func (s *ProjectResponseModelTargetAudience) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ProjectResponseModelTargetAudience) Validate

type ProjectSnapshotExtendedResponseModel

type ProjectSnapshotExtendedResponseModel struct {
	// The total duration of the audio in seconds.
	AudioDurationSecs float64 `json:"audio_duration_secs"`
	// (Deprecated).
	AudioUpload         OptProjectSnapshotExtendedResponseModelAudioUpload `json:"audio_upload"`
	CharacterAlignments []CharacterAlignmentModel                          `json:"character_alignments"`
	// The creation date of the project snapshot.
	CreatedAtUnix int `json:"created_at_unix"`
	// The name of the project snapshot.
	Name string `json:"name"`
	// The ID of the project.
	ProjectID string `json:"project_id"`
	// The ID of the project snapshot.
	ProjectSnapshotID string `json:"project_snapshot_id"`
	// (Deprecated).
	ZipUpload OptProjectSnapshotExtendedResponseModelZipUpload `json:"zip_upload"`
}

Ref: #/components/schemas/ProjectSnapshotExtendedResponseModel

func (*ProjectSnapshotExtendedResponseModel) Decode

Decode decodes ProjectSnapshotExtendedResponseModel from json.

func (*ProjectSnapshotExtendedResponseModel) Encode

Encode implements json.Marshaler.

func (*ProjectSnapshotExtendedResponseModel) GetAudioDurationSecs

func (s *ProjectSnapshotExtendedResponseModel) GetAudioDurationSecs() float64

GetAudioDurationSecs returns the value of AudioDurationSecs.

func (*ProjectSnapshotExtendedResponseModel) GetAudioUpload

GetAudioUpload returns the value of AudioUpload.

func (*ProjectSnapshotExtendedResponseModel) GetCharacterAlignments

func (s *ProjectSnapshotExtendedResponseModel) GetCharacterAlignments() []CharacterAlignmentModel

GetCharacterAlignments returns the value of CharacterAlignments.

func (*ProjectSnapshotExtendedResponseModel) GetCreatedAtUnix

func (s *ProjectSnapshotExtendedResponseModel) GetCreatedAtUnix() int

GetCreatedAtUnix returns the value of CreatedAtUnix.

func (*ProjectSnapshotExtendedResponseModel) GetName

GetName returns the value of Name.

func (*ProjectSnapshotExtendedResponseModel) GetProjectID

func (s *ProjectSnapshotExtendedResponseModel) GetProjectID() string

GetProjectID returns the value of ProjectID.

func (*ProjectSnapshotExtendedResponseModel) GetProjectSnapshotID

func (s *ProjectSnapshotExtendedResponseModel) GetProjectSnapshotID() string

GetProjectSnapshotID returns the value of ProjectSnapshotID.

func (*ProjectSnapshotExtendedResponseModel) GetZipUpload

GetZipUpload returns the value of ZipUpload.

func (*ProjectSnapshotExtendedResponseModel) MarshalJSON

func (s *ProjectSnapshotExtendedResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProjectSnapshotExtendedResponseModel) SetAudioDurationSecs

func (s *ProjectSnapshotExtendedResponseModel) SetAudioDurationSecs(val float64)

SetAudioDurationSecs sets the value of AudioDurationSecs.

func (*ProjectSnapshotExtendedResponseModel) SetAudioUpload

SetAudioUpload sets the value of AudioUpload.

func (*ProjectSnapshotExtendedResponseModel) SetCharacterAlignments

func (s *ProjectSnapshotExtendedResponseModel) SetCharacterAlignments(val []CharacterAlignmentModel)

SetCharacterAlignments sets the value of CharacterAlignments.

func (*ProjectSnapshotExtendedResponseModel) SetCreatedAtUnix

func (s *ProjectSnapshotExtendedResponseModel) SetCreatedAtUnix(val int)

SetCreatedAtUnix sets the value of CreatedAtUnix.

func (*ProjectSnapshotExtendedResponseModel) SetName

SetName sets the value of Name.

func (*ProjectSnapshotExtendedResponseModel) SetProjectID

func (s *ProjectSnapshotExtendedResponseModel) SetProjectID(val string)

SetProjectID sets the value of ProjectID.

func (*ProjectSnapshotExtendedResponseModel) SetProjectSnapshotID

func (s *ProjectSnapshotExtendedResponseModel) SetProjectSnapshotID(val string)

SetProjectSnapshotID sets the value of ProjectSnapshotID.

func (*ProjectSnapshotExtendedResponseModel) SetZipUpload

SetZipUpload sets the value of ZipUpload.

func (*ProjectSnapshotExtendedResponseModel) UnmarshalJSON

func (s *ProjectSnapshotExtendedResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProjectSnapshotExtendedResponseModel) Validate

type ProjectSnapshotExtendedResponseModelAudioUpload

type ProjectSnapshotExtendedResponseModelAudioUpload struct{}

(Deprecated).

func (*ProjectSnapshotExtendedResponseModelAudioUpload) Decode

Decode decodes ProjectSnapshotExtendedResponseModelAudioUpload from json.

func (*ProjectSnapshotExtendedResponseModelAudioUpload) Encode

Encode implements json.Marshaler.

func (*ProjectSnapshotExtendedResponseModelAudioUpload) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ProjectSnapshotExtendedResponseModelAudioUpload) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type ProjectSnapshotExtendedResponseModelZipUpload

type ProjectSnapshotExtendedResponseModelZipUpload struct{}

(Deprecated).

func (*ProjectSnapshotExtendedResponseModelZipUpload) Decode

Decode decodes ProjectSnapshotExtendedResponseModelZipUpload from json.

func (*ProjectSnapshotExtendedResponseModelZipUpload) Encode

Encode implements json.Marshaler.

func (*ProjectSnapshotExtendedResponseModelZipUpload) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ProjectSnapshotExtendedResponseModelZipUpload) UnmarshalJSON

func (s *ProjectSnapshotExtendedResponseModelZipUpload) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProjectSnapshotResponseModel

type ProjectSnapshotResponseModel struct {
	// (Deprecated).
	AudioUpload OptProjectSnapshotResponseModelAudioUpload `json:"audio_upload"`
	// The creation date of the project snapshot.
	CreatedAtUnix int `json:"created_at_unix"`
	// The name of the project snapshot.
	Name string `json:"name"`
	// The ID of the project.
	ProjectID string `json:"project_id"`
	// The ID of the project snapshot.
	ProjectSnapshotID string `json:"project_snapshot_id"`
	// (Deprecated).
	ZipUpload OptProjectSnapshotResponseModelZipUpload `json:"zip_upload"`
}

Ref: #/components/schemas/ProjectSnapshotResponseModel

func (*ProjectSnapshotResponseModel) Decode

Decode decodes ProjectSnapshotResponseModel from json.

func (*ProjectSnapshotResponseModel) Encode

func (s *ProjectSnapshotResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ProjectSnapshotResponseModel) GetAudioUpload

GetAudioUpload returns the value of AudioUpload.

func (*ProjectSnapshotResponseModel) GetCreatedAtUnix

func (s *ProjectSnapshotResponseModel) GetCreatedAtUnix() int

GetCreatedAtUnix returns the value of CreatedAtUnix.

func (*ProjectSnapshotResponseModel) GetName

func (s *ProjectSnapshotResponseModel) GetName() string

GetName returns the value of Name.

func (*ProjectSnapshotResponseModel) GetProjectID

func (s *ProjectSnapshotResponseModel) GetProjectID() string

GetProjectID returns the value of ProjectID.

func (*ProjectSnapshotResponseModel) GetProjectSnapshotID

func (s *ProjectSnapshotResponseModel) GetProjectSnapshotID() string

GetProjectSnapshotID returns the value of ProjectSnapshotID.

func (*ProjectSnapshotResponseModel) GetZipUpload

GetZipUpload returns the value of ZipUpload.

func (*ProjectSnapshotResponseModel) MarshalJSON

func (s *ProjectSnapshotResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProjectSnapshotResponseModel) SetAudioUpload

SetAudioUpload sets the value of AudioUpload.

func (*ProjectSnapshotResponseModel) SetCreatedAtUnix

func (s *ProjectSnapshotResponseModel) SetCreatedAtUnix(val int)

SetCreatedAtUnix sets the value of CreatedAtUnix.

func (*ProjectSnapshotResponseModel) SetName

func (s *ProjectSnapshotResponseModel) SetName(val string)

SetName sets the value of Name.

func (*ProjectSnapshotResponseModel) SetProjectID

func (s *ProjectSnapshotResponseModel) SetProjectID(val string)

SetProjectID sets the value of ProjectID.

func (*ProjectSnapshotResponseModel) SetProjectSnapshotID

func (s *ProjectSnapshotResponseModel) SetProjectSnapshotID(val string)

SetProjectSnapshotID sets the value of ProjectSnapshotID.

func (*ProjectSnapshotResponseModel) SetZipUpload

SetZipUpload sets the value of ZipUpload.

func (*ProjectSnapshotResponseModel) UnmarshalJSON

func (s *ProjectSnapshotResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProjectSnapshotResponseModelAudioUpload

type ProjectSnapshotResponseModelAudioUpload struct{}

(Deprecated).

func (*ProjectSnapshotResponseModelAudioUpload) Decode

Decode decodes ProjectSnapshotResponseModelAudioUpload from json.

func (*ProjectSnapshotResponseModelAudioUpload) Encode

Encode implements json.Marshaler.

func (*ProjectSnapshotResponseModelAudioUpload) MarshalJSON

func (s *ProjectSnapshotResponseModelAudioUpload) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProjectSnapshotResponseModelAudioUpload) UnmarshalJSON

func (s *ProjectSnapshotResponseModelAudioUpload) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProjectSnapshotResponseModelZipUpload

type ProjectSnapshotResponseModelZipUpload struct{}

(Deprecated).

func (*ProjectSnapshotResponseModelZipUpload) Decode

Decode decodes ProjectSnapshotResponseModelZipUpload from json.

func (*ProjectSnapshotResponseModelZipUpload) Encode

Encode implements json.Marshaler.

func (*ProjectSnapshotResponseModelZipUpload) MarshalJSON

func (s *ProjectSnapshotResponseModelZipUpload) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProjectSnapshotResponseModelZipUpload) UnmarshalJSON

func (s *ProjectSnapshotResponseModelZipUpload) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProjectSnapshotsResponseModel

type ProjectSnapshotsResponseModel struct {
	// List of project snapshots.
	Snapshots []ProjectSnapshotResponseModel `json:"snapshots"`
}

Ref: #/components/schemas/ProjectSnapshotsResponseModel

func (*ProjectSnapshotsResponseModel) Decode

Decode decodes ProjectSnapshotsResponseModel from json.

func (*ProjectSnapshotsResponseModel) Encode

Encode implements json.Marshaler.

func (*ProjectSnapshotsResponseModel) GetSnapshots

GetSnapshots returns the value of Snapshots.

func (*ProjectSnapshotsResponseModel) MarshalJSON

func (s *ProjectSnapshotsResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProjectSnapshotsResponseModel) SetSnapshots

SetSnapshots sets the value of Snapshots.

func (*ProjectSnapshotsResponseModel) UnmarshalJSON

func (s *ProjectSnapshotsResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProjectSnapshotsResponseModel) Validate

func (s *ProjectSnapshotsResponseModel) Validate() error

type PromptAgentAPIModelOverride

type PromptAgentAPIModelOverride struct {
	// The LLM to query with the prompt and the chat history. If using data residency, the LLM must be
	// supported in the data residency environment.
	Llm OptLLM `json:"llm"`
	// A list of Native MCP server ids to be used by the agent.
	NativeMcpServerIds OptNilStringArray `json:"native_mcp_server_ids"`
	// The prompt for the agent.
	Prompt OptNilString `json:"prompt"`
}

Ref: #/components/schemas/PromptAgentAPIModelOverride

func (*PromptAgentAPIModelOverride) Decode

Decode decodes PromptAgentAPIModelOverride from json.

func (*PromptAgentAPIModelOverride) Encode

func (s *PromptAgentAPIModelOverride) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PromptAgentAPIModelOverride) GetLlm

func (s *PromptAgentAPIModelOverride) GetLlm() OptLLM

GetLlm returns the value of Llm.

func (*PromptAgentAPIModelOverride) GetNativeMcpServerIds

func (s *PromptAgentAPIModelOverride) GetNativeMcpServerIds() OptNilStringArray

GetNativeMcpServerIds returns the value of NativeMcpServerIds.

func (*PromptAgentAPIModelOverride) GetPrompt

GetPrompt returns the value of Prompt.

func (*PromptAgentAPIModelOverride) MarshalJSON

func (s *PromptAgentAPIModelOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PromptAgentAPIModelOverride) SetLlm

func (s *PromptAgentAPIModelOverride) SetLlm(val OptLLM)

SetLlm sets the value of Llm.

func (*PromptAgentAPIModelOverride) SetNativeMcpServerIds

func (s *PromptAgentAPIModelOverride) SetNativeMcpServerIds(val OptNilStringArray)

SetNativeMcpServerIds sets the value of NativeMcpServerIds.

func (*PromptAgentAPIModelOverride) SetPrompt

func (s *PromptAgentAPIModelOverride) SetPrompt(val OptNilString)

SetPrompt sets the value of Prompt.

func (*PromptAgentAPIModelOverride) UnmarshalJSON

func (s *PromptAgentAPIModelOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PromptAgentAPIModelOverride) Validate

func (s *PromptAgentAPIModelOverride) Validate() error

type PronunciationDictionaryRulesResponseModel

type PronunciationDictionaryRulesResponseModel struct {
	// The ID of the pronunciation dictionary.
	ID string `json:"id"`
	// The version ID of the pronunciation dictionary.
	VersionID string `json:"version_id"`
	// The number of rules in the version of the pronunciation dictionary.
	VersionRulesNum int `json:"version_rules_num"`
}

Ref: #/components/schemas/PronunciationDictionaryRulesResponseModel

func (*PronunciationDictionaryRulesResponseModel) Decode

Decode decodes PronunciationDictionaryRulesResponseModel from json.

func (*PronunciationDictionaryRulesResponseModel) Encode

Encode implements json.Marshaler.

func (*PronunciationDictionaryRulesResponseModel) GetID

GetID returns the value of ID.

func (*PronunciationDictionaryRulesResponseModel) GetVersionID

GetVersionID returns the value of VersionID.

func (*PronunciationDictionaryRulesResponseModel) GetVersionRulesNum

func (s *PronunciationDictionaryRulesResponseModel) GetVersionRulesNum() int

GetVersionRulesNum returns the value of VersionRulesNum.

func (*PronunciationDictionaryRulesResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*PronunciationDictionaryRulesResponseModel) SetID

SetID sets the value of ID.

func (*PronunciationDictionaryRulesResponseModel) SetVersionID

SetVersionID sets the value of VersionID.

func (*PronunciationDictionaryRulesResponseModel) SetVersionRulesNum

func (s *PronunciationDictionaryRulesResponseModel) SetVersionRulesNum(val int)

SetVersionRulesNum sets the value of VersionRulesNum.

func (*PronunciationDictionaryRulesResponseModel) UnmarshalJSON

func (s *PronunciationDictionaryRulesResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PronunciationDictionaryVersionLocatorDBModel

type PronunciationDictionaryVersionLocatorDBModel struct {
	PronunciationDictionaryID string    `json:"pronunciation_dictionary_id"`
	VersionID                 NilString `json:"version_id"`
}

Ref: #/components/schemas/PronunciationDictionaryVersionLocatorDBModel

func (*PronunciationDictionaryVersionLocatorDBModel) Decode

Decode decodes PronunciationDictionaryVersionLocatorDBModel from json.

func (*PronunciationDictionaryVersionLocatorDBModel) Encode

Encode implements json.Marshaler.

func (*PronunciationDictionaryVersionLocatorDBModel) GetPronunciationDictionaryID

func (s *PronunciationDictionaryVersionLocatorDBModel) GetPronunciationDictionaryID() string

GetPronunciationDictionaryID returns the value of PronunciationDictionaryID.

func (*PronunciationDictionaryVersionLocatorDBModel) GetVersionID

GetVersionID returns the value of VersionID.

func (*PronunciationDictionaryVersionLocatorDBModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*PronunciationDictionaryVersionLocatorDBModel) SetPronunciationDictionaryID

func (s *PronunciationDictionaryVersionLocatorDBModel) SetPronunciationDictionaryID(val string)

SetPronunciationDictionaryID sets the value of PronunciationDictionaryID.

func (*PronunciationDictionaryVersionLocatorDBModel) SetVersionID

SetVersionID sets the value of VersionID.

func (*PronunciationDictionaryVersionLocatorDBModel) UnmarshalJSON

func (s *PronunciationDictionaryVersionLocatorDBModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PronunciationDictionaryVersionLocatorRequestModel

type PronunciationDictionaryVersionLocatorRequestModel struct {
	// The ID of the pronunciation dictionary.
	PronunciationDictionaryID string `json:"pronunciation_dictionary_id"`
	// The ID of the version of the pronunciation dictionary. If not provided, the latest version will be
	// used.
	VersionID OptNilString `json:"version_id"`
}

Ref: #/components/schemas/PronunciationDictionaryVersionLocatorRequestModel

func (*PronunciationDictionaryVersionLocatorRequestModel) Decode

Decode decodes PronunciationDictionaryVersionLocatorRequestModel from json.

func (*PronunciationDictionaryVersionLocatorRequestModel) Encode

Encode implements json.Marshaler.

func (*PronunciationDictionaryVersionLocatorRequestModel) GetPronunciationDictionaryID

func (s *PronunciationDictionaryVersionLocatorRequestModel) GetPronunciationDictionaryID() string

GetPronunciationDictionaryID returns the value of PronunciationDictionaryID.

func (*PronunciationDictionaryVersionLocatorRequestModel) GetVersionID

GetVersionID returns the value of VersionID.

func (*PronunciationDictionaryVersionLocatorRequestModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*PronunciationDictionaryVersionLocatorRequestModel) SetPronunciationDictionaryID

func (s *PronunciationDictionaryVersionLocatorRequestModel) SetPronunciationDictionaryID(val string)

SetPronunciationDictionaryID sets the value of PronunciationDictionaryID.

func (*PronunciationDictionaryVersionLocatorRequestModel) SetVersionID

SetVersionID sets the value of VersionID.

func (*PronunciationDictionaryVersionLocatorRequestModel) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type RAGDocumentIndexResponseModel

type RAGDocumentIndexResponseModel struct {
	DocumentModelIndexUsage RAGDocumentIndexUsage `json:"document_model_index_usage"`
	ID                      string                `json:"id"`
	Model                   EmbeddingModelEnum    `json:"model"`
	ProgressPercentage      float64               `json:"progress_percentage"`
	Status                  RAGIndexStatus        `json:"status"`
}

Ref: #/components/schemas/RAGDocumentIndexResponseModel

func (*RAGDocumentIndexResponseModel) Decode

Decode decodes RAGDocumentIndexResponseModel from json.

func (*RAGDocumentIndexResponseModel) Encode

Encode implements json.Marshaler.

func (*RAGDocumentIndexResponseModel) GetDocumentModelIndexUsage

func (s *RAGDocumentIndexResponseModel) GetDocumentModelIndexUsage() RAGDocumentIndexUsage

GetDocumentModelIndexUsage returns the value of DocumentModelIndexUsage.

func (*RAGDocumentIndexResponseModel) GetID

GetID returns the value of ID.

func (*RAGDocumentIndexResponseModel) GetModel

GetModel returns the value of Model.

func (*RAGDocumentIndexResponseModel) GetProgressPercentage

func (s *RAGDocumentIndexResponseModel) GetProgressPercentage() float64

GetProgressPercentage returns the value of ProgressPercentage.

func (*RAGDocumentIndexResponseModel) GetStatus

GetStatus returns the value of Status.

func (*RAGDocumentIndexResponseModel) MarshalJSON

func (s *RAGDocumentIndexResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RAGDocumentIndexResponseModel) SetDocumentModelIndexUsage

func (s *RAGDocumentIndexResponseModel) SetDocumentModelIndexUsage(val RAGDocumentIndexUsage)

SetDocumentModelIndexUsage sets the value of DocumentModelIndexUsage.

func (*RAGDocumentIndexResponseModel) SetID

func (s *RAGDocumentIndexResponseModel) SetID(val string)

SetID sets the value of ID.

func (*RAGDocumentIndexResponseModel) SetModel

SetModel sets the value of Model.

func (*RAGDocumentIndexResponseModel) SetProgressPercentage

func (s *RAGDocumentIndexResponseModel) SetProgressPercentage(val float64)

SetProgressPercentage sets the value of ProgressPercentage.

func (*RAGDocumentIndexResponseModel) SetStatus

SetStatus sets the value of Status.

func (*RAGDocumentIndexResponseModel) UnmarshalJSON

func (s *RAGDocumentIndexResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RAGDocumentIndexResponseModel) Validate

func (s *RAGDocumentIndexResponseModel) Validate() error

type RAGDocumentIndexUsage

type RAGDocumentIndexUsage struct {
	UsedBytes int `json:"used_bytes"`
}

Ref: #/components/schemas/RAGDocumentIndexUsage

func (*RAGDocumentIndexUsage) Decode

func (s *RAGDocumentIndexUsage) Decode(d *jx.Decoder) error

Decode decodes RAGDocumentIndexUsage from json.

func (*RAGDocumentIndexUsage) Encode

func (s *RAGDocumentIndexUsage) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RAGDocumentIndexUsage) GetUsedBytes

func (s *RAGDocumentIndexUsage) GetUsedBytes() int

GetUsedBytes returns the value of UsedBytes.

func (*RAGDocumentIndexUsage) MarshalJSON

func (s *RAGDocumentIndexUsage) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RAGDocumentIndexUsage) SetUsedBytes

func (s *RAGDocumentIndexUsage) SetUsedBytes(val int)

SetUsedBytes sets the value of UsedBytes.

func (*RAGDocumentIndexUsage) UnmarshalJSON

func (s *RAGDocumentIndexUsage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RAGDocumentIndexesResponseModel

type RAGDocumentIndexesResponseModel struct {
	Indexes []RAGDocumentIndexResponseModel `json:"indexes"`
}

Ref: #/components/schemas/RAGDocumentIndexesResponseModel

func (*RAGDocumentIndexesResponseModel) Decode

Decode decodes RAGDocumentIndexesResponseModel from json.

func (*RAGDocumentIndexesResponseModel) Encode

Encode implements json.Marshaler.

func (*RAGDocumentIndexesResponseModel) GetIndexes

GetIndexes returns the value of Indexes.

func (*RAGDocumentIndexesResponseModel) MarshalJSON

func (s *RAGDocumentIndexesResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RAGDocumentIndexesResponseModel) SetIndexes

SetIndexes sets the value of Indexes.

func (*RAGDocumentIndexesResponseModel) UnmarshalJSON

func (s *RAGDocumentIndexesResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RAGDocumentIndexesResponseModel) Validate

func (s *RAGDocumentIndexesResponseModel) Validate() error

type RAGIndexBatchSuccessfulResponseModel

type RAGIndexBatchSuccessfulResponseModel struct {
	Data   RAGDocumentIndexResponseModel              `json:"data"`
	Status RAGIndexBatchSuccessfulResponseModelStatus `json:"status"`
}

Ref: #/components/schemas/RAGIndexBatchSuccessfulResponseModel

func (*RAGIndexBatchSuccessfulResponseModel) Decode

Decode decodes RAGIndexBatchSuccessfulResponseModel from json.

func (*RAGIndexBatchSuccessfulResponseModel) Encode

Encode implements json.Marshaler.

func (*RAGIndexBatchSuccessfulResponseModel) GetData

GetData returns the value of Data.

func (*RAGIndexBatchSuccessfulResponseModel) GetStatus

GetStatus returns the value of Status.

func (*RAGIndexBatchSuccessfulResponseModel) MarshalJSON

func (s *RAGIndexBatchSuccessfulResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RAGIndexBatchSuccessfulResponseModel) SetData

SetData sets the value of Data.

func (*RAGIndexBatchSuccessfulResponseModel) SetStatus

SetStatus sets the value of Status.

func (*RAGIndexBatchSuccessfulResponseModel) UnmarshalJSON

func (s *RAGIndexBatchSuccessfulResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RAGIndexBatchSuccessfulResponseModel) Validate

type RAGIndexBatchSuccessfulResponseModelStatus

type RAGIndexBatchSuccessfulResponseModelStatus string
const (
	RAGIndexBatchSuccessfulResponseModelStatusSuccess RAGIndexBatchSuccessfulResponseModelStatus = "success"
)

func (RAGIndexBatchSuccessfulResponseModelStatus) AllValues

AllValues returns all RAGIndexBatchSuccessfulResponseModelStatus values.

func (*RAGIndexBatchSuccessfulResponseModelStatus) Decode

Decode decodes RAGIndexBatchSuccessfulResponseModelStatus from json.

func (RAGIndexBatchSuccessfulResponseModelStatus) Encode

Encode encodes RAGIndexBatchSuccessfulResponseModelStatus as json.

func (RAGIndexBatchSuccessfulResponseModelStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (RAGIndexBatchSuccessfulResponseModelStatus) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*RAGIndexBatchSuccessfulResponseModelStatus) UnmarshalJSON

func (s *RAGIndexBatchSuccessfulResponseModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RAGIndexBatchSuccessfulResponseModelStatus) UnmarshalText

func (s *RAGIndexBatchSuccessfulResponseModelStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RAGIndexBatchSuccessfulResponseModelStatus) Validate

type RAGIndexOverviewEmbeddingModelResponseModel

type RAGIndexOverviewEmbeddingModelResponseModel struct {
	Model     EmbeddingModelEnum `json:"model"`
	UsedBytes int                `json:"used_bytes"`
}

Ref: #/components/schemas/RAGIndexOverviewEmbeddingModelResponseModel

func (*RAGIndexOverviewEmbeddingModelResponseModel) Decode

Decode decodes RAGIndexOverviewEmbeddingModelResponseModel from json.

func (*RAGIndexOverviewEmbeddingModelResponseModel) Encode

Encode implements json.Marshaler.

func (*RAGIndexOverviewEmbeddingModelResponseModel) GetModel

GetModel returns the value of Model.

func (*RAGIndexOverviewEmbeddingModelResponseModel) GetUsedBytes

GetUsedBytes returns the value of UsedBytes.

func (*RAGIndexOverviewEmbeddingModelResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*RAGIndexOverviewEmbeddingModelResponseModel) SetModel

SetModel sets the value of Model.

func (*RAGIndexOverviewEmbeddingModelResponseModel) SetUsedBytes

func (s *RAGIndexOverviewEmbeddingModelResponseModel) SetUsedBytes(val int)

SetUsedBytes sets the value of UsedBytes.

func (*RAGIndexOverviewEmbeddingModelResponseModel) UnmarshalJSON

func (s *RAGIndexOverviewEmbeddingModelResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RAGIndexOverviewEmbeddingModelResponseModel) Validate

type RAGIndexOverviewResponseModel

type RAGIndexOverviewResponseModel struct {
	Models         []RAGIndexOverviewEmbeddingModelResponseModel `json:"models"`
	TotalMaxBytes  int                                           `json:"total_max_bytes"`
	TotalUsedBytes int                                           `json:"total_used_bytes"`
}

Ref: #/components/schemas/RAGIndexOverviewResponseModel

func (*RAGIndexOverviewResponseModel) Decode

Decode decodes RAGIndexOverviewResponseModel from json.

func (*RAGIndexOverviewResponseModel) Encode

Encode implements json.Marshaler.

func (*RAGIndexOverviewResponseModel) GetModels

GetModels returns the value of Models.

func (*RAGIndexOverviewResponseModel) GetTotalMaxBytes

func (s *RAGIndexOverviewResponseModel) GetTotalMaxBytes() int

GetTotalMaxBytes returns the value of TotalMaxBytes.

func (*RAGIndexOverviewResponseModel) GetTotalUsedBytes

func (s *RAGIndexOverviewResponseModel) GetTotalUsedBytes() int

GetTotalUsedBytes returns the value of TotalUsedBytes.

func (*RAGIndexOverviewResponseModel) MarshalJSON

func (s *RAGIndexOverviewResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RAGIndexOverviewResponseModel) SetModels

SetModels sets the value of Models.

func (*RAGIndexOverviewResponseModel) SetTotalMaxBytes

func (s *RAGIndexOverviewResponseModel) SetTotalMaxBytes(val int)

SetTotalMaxBytes sets the value of TotalMaxBytes.

func (*RAGIndexOverviewResponseModel) SetTotalUsedBytes

func (s *RAGIndexOverviewResponseModel) SetTotalUsedBytes(val int)

SetTotalUsedBytes sets the value of TotalUsedBytes.

func (*RAGIndexOverviewResponseModel) UnmarshalJSON

func (s *RAGIndexOverviewResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RAGIndexOverviewResponseModel) Validate

func (s *RAGIndexOverviewResponseModel) Validate() error

type RAGIndexRequestModel

type RAGIndexRequestModel struct {
	Model EmbeddingModelEnum `json:"model"`
}

Ref: #/components/schemas/RAGIndexRequestModel

func (*RAGIndexRequestModel) Decode

func (s *RAGIndexRequestModel) Decode(d *jx.Decoder) error

Decode decodes RAGIndexRequestModel from json.

func (*RAGIndexRequestModel) Encode

func (s *RAGIndexRequestModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RAGIndexRequestModel) GetModel

GetModel returns the value of Model.

func (*RAGIndexRequestModel) MarshalJSON

func (s *RAGIndexRequestModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RAGIndexRequestModel) SetModel

func (s *RAGIndexRequestModel) SetModel(val EmbeddingModelEnum)

SetModel sets the value of Model.

func (*RAGIndexRequestModel) UnmarshalJSON

func (s *RAGIndexRequestModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RAGIndexRequestModel) Validate

func (s *RAGIndexRequestModel) Validate() error

type RAGIndexStatus

type RAGIndexStatus string

Ref: #/components/schemas/RAGIndexStatus

const (
	RAGIndexStatusCreated           RAGIndexStatus = "created"
	RAGIndexStatusProcessing        RAGIndexStatus = "processing"
	RAGIndexStatusFailed            RAGIndexStatus = "failed"
	RAGIndexStatusSucceeded         RAGIndexStatus = "succeeded"
	RAGIndexStatusRagLimitExceeded  RAGIndexStatus = "rag_limit_exceeded"
	RAGIndexStatusDocumentTooSmall  RAGIndexStatus = "document_too_small"
	RAGIndexStatusCannotIndexFolder RAGIndexStatus = "cannot_index_folder"
)

func (RAGIndexStatus) AllValues

func (RAGIndexStatus) AllValues() []RAGIndexStatus

AllValues returns all RAGIndexStatus values.

func (*RAGIndexStatus) Decode

func (s *RAGIndexStatus) Decode(d *jx.Decoder) error

Decode decodes RAGIndexStatus from json.

func (RAGIndexStatus) Encode

func (s RAGIndexStatus) Encode(e *jx.Encoder)

Encode encodes RAGIndexStatus as json.

func (RAGIndexStatus) MarshalJSON

func (s RAGIndexStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (RAGIndexStatus) MarshalText

func (s RAGIndexStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RAGIndexStatus) UnmarshalJSON

func (s *RAGIndexStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RAGIndexStatus) UnmarshalText

func (s *RAGIndexStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RAGIndexStatus) Validate

func (s RAGIndexStatus) Validate() error

type RagChunkMetadata

type RagChunkMetadata struct {
	ChunkID        string  `json:"chunk_id"`
	DocumentID     string  `json:"document_id"`
	VectorDistance float64 `json:"vector_distance"`
}

Ref: #/components/schemas/RagChunkMetadata

func (*RagChunkMetadata) Decode

func (s *RagChunkMetadata) Decode(d *jx.Decoder) error

Decode decodes RagChunkMetadata from json.

func (*RagChunkMetadata) Encode

func (s *RagChunkMetadata) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RagChunkMetadata) GetChunkID

func (s *RagChunkMetadata) GetChunkID() string

GetChunkID returns the value of ChunkID.

func (*RagChunkMetadata) GetDocumentID

func (s *RagChunkMetadata) GetDocumentID() string

GetDocumentID returns the value of DocumentID.

func (*RagChunkMetadata) GetVectorDistance

func (s *RagChunkMetadata) GetVectorDistance() float64

GetVectorDistance returns the value of VectorDistance.

func (*RagChunkMetadata) MarshalJSON

func (s *RagChunkMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RagChunkMetadata) SetChunkID

func (s *RagChunkMetadata) SetChunkID(val string)

SetChunkID sets the value of ChunkID.

func (*RagChunkMetadata) SetDocumentID

func (s *RagChunkMetadata) SetDocumentID(val string)

SetDocumentID sets the value of DocumentID.

func (*RagChunkMetadata) SetVectorDistance

func (s *RagChunkMetadata) SetVectorDistance(val float64)

SetVectorDistance sets the value of VectorDistance.

func (*RagChunkMetadata) UnmarshalJSON

func (s *RagChunkMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RagChunkMetadata) Validate

func (s *RagChunkMetadata) Validate() error

type RagIndexStatusParams

type RagIndexStatusParams struct {
	// The id of a document from the knowledge base. This is returned on document addition.
	DocumentationID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

RagIndexStatusParams is parameters of rag_index_status operation.

type RagIndexStatusRes

type RagIndexStatusRes interface {
	// contains filtered or unexported methods
}

type RagRetrievalInfo

type RagRetrievalInfo struct {
	Chunks         []RagChunkMetadata `json:"chunks"`
	EmbeddingModel EmbeddingModelEnum `json:"embedding_model"`
	RagLatencySecs float64            `json:"rag_latency_secs"`
	RetrievalQuery string             `json:"retrieval_query"`
}

Ref: #/components/schemas/RagRetrievalInfo

func (*RagRetrievalInfo) Decode

func (s *RagRetrievalInfo) Decode(d *jx.Decoder) error

Decode decodes RagRetrievalInfo from json.

func (*RagRetrievalInfo) Encode

func (s *RagRetrievalInfo) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RagRetrievalInfo) GetChunks

func (s *RagRetrievalInfo) GetChunks() []RagChunkMetadata

GetChunks returns the value of Chunks.

func (*RagRetrievalInfo) GetEmbeddingModel

func (s *RagRetrievalInfo) GetEmbeddingModel() EmbeddingModelEnum

GetEmbeddingModel returns the value of EmbeddingModel.

func (*RagRetrievalInfo) GetRagLatencySecs

func (s *RagRetrievalInfo) GetRagLatencySecs() float64

GetRagLatencySecs returns the value of RagLatencySecs.

func (*RagRetrievalInfo) GetRetrievalQuery

func (s *RagRetrievalInfo) GetRetrievalQuery() string

GetRetrievalQuery returns the value of RetrievalQuery.

func (*RagRetrievalInfo) MarshalJSON

func (s *RagRetrievalInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RagRetrievalInfo) SetChunks

func (s *RagRetrievalInfo) SetChunks(val []RagChunkMetadata)

SetChunks sets the value of Chunks.

func (*RagRetrievalInfo) SetEmbeddingModel

func (s *RagRetrievalInfo) SetEmbeddingModel(val EmbeddingModelEnum)

SetEmbeddingModel sets the value of EmbeddingModel.

func (*RagRetrievalInfo) SetRagLatencySecs

func (s *RagRetrievalInfo) SetRagLatencySecs(val float64)

SetRagLatencySecs sets the value of RagLatencySecs.

func (*RagRetrievalInfo) SetRetrievalQuery

func (s *RagRetrievalInfo) SetRetrievalQuery(val string)

SetRetrievalQuery sets the value of RetrievalQuery.

func (*RagRetrievalInfo) UnmarshalJSON

func (s *RagRetrievalInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RagRetrievalInfo) Validate

func (s *RagRetrievalInfo) Validate() error

type ReaderResourceResponseModel

type ReaderResourceResponseModel struct {
	// The ID of the resource.
	ResourceID string `json:"resource_id"`
	// The type of resource.
	ResourceType ReaderResourceResponseModelResourceType `json:"resource_type"`
}

Ref: #/components/schemas/ReaderResourceResponseModel

func (*ReaderResourceResponseModel) Decode

Decode decodes ReaderResourceResponseModel from json.

func (*ReaderResourceResponseModel) Encode

func (s *ReaderResourceResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ReaderResourceResponseModel) GetResourceID

func (s *ReaderResourceResponseModel) GetResourceID() string

GetResourceID returns the value of ResourceID.

func (*ReaderResourceResponseModel) GetResourceType

GetResourceType returns the value of ResourceType.

func (*ReaderResourceResponseModel) MarshalJSON

func (s *ReaderResourceResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReaderResourceResponseModel) SetResourceID

func (s *ReaderResourceResponseModel) SetResourceID(val string)

SetResourceID sets the value of ResourceID.

func (*ReaderResourceResponseModel) SetResourceType

SetResourceType sets the value of ResourceType.

func (*ReaderResourceResponseModel) UnmarshalJSON

func (s *ReaderResourceResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReaderResourceResponseModel) Validate

func (s *ReaderResourceResponseModel) Validate() error

type ReaderResourceResponseModelResourceType

type ReaderResourceResponseModelResourceType string

The type of resource.

const (
	ReaderResourceResponseModelResourceTypeRead       ReaderResourceResponseModelResourceType = "read"
	ReaderResourceResponseModelResourceTypeCollection ReaderResourceResponseModelResourceType = "collection"
)

func (ReaderResourceResponseModelResourceType) AllValues

AllValues returns all ReaderResourceResponseModelResourceType values.

func (*ReaderResourceResponseModelResourceType) Decode

Decode decodes ReaderResourceResponseModelResourceType from json.

func (ReaderResourceResponseModelResourceType) Encode

Encode encodes ReaderResourceResponseModelResourceType as json.

func (ReaderResourceResponseModelResourceType) MarshalJSON

func (s ReaderResourceResponseModelResourceType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ReaderResourceResponseModelResourceType) MarshalText

func (s ReaderResourceResponseModelResourceType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ReaderResourceResponseModelResourceType) UnmarshalJSON

func (s *ReaderResourceResponseModelResourceType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReaderResourceResponseModelResourceType) UnmarshalText

func (s *ReaderResourceResponseModelResourceType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ReaderResourceResponseModelResourceType) Validate

type RecordingResponseModel

type RecordingResponseModel struct {
	// The MIME type of the recording.
	MimeType string `json:"mime_type"`
	// The ID of the recording.
	RecordingID string `json:"recording_id"`
	// The size of the recording in bytes.
	SizeBytes int `json:"size_bytes"`
	// The transcription of the recording.
	Transcription string `json:"transcription"`
	// The date of the recording in Unix time.
	UploadDateUnix int `json:"upload_date_unix"`
}

Ref: #/components/schemas/RecordingResponseModel

func (*RecordingResponseModel) Decode

func (s *RecordingResponseModel) Decode(d *jx.Decoder) error

Decode decodes RecordingResponseModel from json.

func (*RecordingResponseModel) Encode

func (s *RecordingResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RecordingResponseModel) GetMimeType

func (s *RecordingResponseModel) GetMimeType() string

GetMimeType returns the value of MimeType.

func (*RecordingResponseModel) GetRecordingID

func (s *RecordingResponseModel) GetRecordingID() string

GetRecordingID returns the value of RecordingID.

func (*RecordingResponseModel) GetSizeBytes

func (s *RecordingResponseModel) GetSizeBytes() int

GetSizeBytes returns the value of SizeBytes.

func (*RecordingResponseModel) GetTranscription

func (s *RecordingResponseModel) GetTranscription() string

GetTranscription returns the value of Transcription.

func (*RecordingResponseModel) GetUploadDateUnix

func (s *RecordingResponseModel) GetUploadDateUnix() int

GetUploadDateUnix returns the value of UploadDateUnix.

func (*RecordingResponseModel) MarshalJSON

func (s *RecordingResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecordingResponseModel) SetMimeType

func (s *RecordingResponseModel) SetMimeType(val string)

SetMimeType sets the value of MimeType.

func (*RecordingResponseModel) SetRecordingID

func (s *RecordingResponseModel) SetRecordingID(val string)

SetRecordingID sets the value of RecordingID.

func (*RecordingResponseModel) SetSizeBytes

func (s *RecordingResponseModel) SetSizeBytes(val int)

SetSizeBytes sets the value of SizeBytes.

func (*RecordingResponseModel) SetTranscription

func (s *RecordingResponseModel) SetTranscription(val string)

SetTranscription sets the value of Transcription.

func (*RecordingResponseModel) SetUploadDateUnix

func (s *RecordingResponseModel) SetUploadDateUnix(val int)

SetUploadDateUnix sets the value of UploadDateUnix.

func (*RecordingResponseModel) UnmarshalJSON

func (s *RecordingResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ReferencedToolCommonModel

type ReferencedToolCommonModel struct {
	// The ID of the tool.
	ID string `json:"id"`
	// The type of the tool.
	Type ReferencedToolCommonModelType `json:"type"`
}

Reference to a tool for unit test evaluation. Ref: #/components/schemas/ReferencedToolCommonModel

func (*ReferencedToolCommonModel) Decode

func (s *ReferencedToolCommonModel) Decode(d *jx.Decoder) error

Decode decodes ReferencedToolCommonModel from json.

func (*ReferencedToolCommonModel) Encode

func (s *ReferencedToolCommonModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ReferencedToolCommonModel) GetID

func (s *ReferencedToolCommonModel) GetID() string

GetID returns the value of ID.

func (*ReferencedToolCommonModel) GetType

GetType returns the value of Type.

func (*ReferencedToolCommonModel) MarshalJSON

func (s *ReferencedToolCommonModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReferencedToolCommonModel) SetID

func (s *ReferencedToolCommonModel) SetID(val string)

SetID sets the value of ID.

func (*ReferencedToolCommonModel) SetType

SetType sets the value of Type.

func (*ReferencedToolCommonModel) UnmarshalJSON

func (s *ReferencedToolCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReferencedToolCommonModel) Validate

func (s *ReferencedToolCommonModel) Validate() error

type ReferencedToolCommonModelType

type ReferencedToolCommonModelType string

The type of the tool.

const (
	ReferencedToolCommonModelTypeSystem                ReferencedToolCommonModelType = "system"
	ReferencedToolCommonModelTypeWebhook               ReferencedToolCommonModelType = "webhook"
	ReferencedToolCommonModelTypeClient                ReferencedToolCommonModelType = "client"
	ReferencedToolCommonModelTypeWorkflow              ReferencedToolCommonModelType = "workflow"
	ReferencedToolCommonModelTypeAPIIntegrationWebhook ReferencedToolCommonModelType = "api_integration_webhook"
)

func (ReferencedToolCommonModelType) AllValues

AllValues returns all ReferencedToolCommonModelType values.

func (*ReferencedToolCommonModelType) Decode

Decode decodes ReferencedToolCommonModelType from json.

func (ReferencedToolCommonModelType) Encode

Encode encodes ReferencedToolCommonModelType as json.

func (ReferencedToolCommonModelType) MarshalJSON

func (s ReferencedToolCommonModelType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ReferencedToolCommonModelType) MarshalText

func (s ReferencedToolCommonModelType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ReferencedToolCommonModelType) UnmarshalJSON

func (s *ReferencedToolCommonModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReferencedToolCommonModelType) UnmarshalText

func (s *ReferencedToolCommonModelType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ReferencedToolCommonModelType) Validate

func (s ReferencedToolCommonModelType) Validate() error

type RegexParameterEvaluationStrategy

type RegexParameterEvaluationStrategy struct {
	// A regex pattern to match the agent's response against.
	Pattern string                               `json:"pattern"`
	Type    RegexParameterEvaluationStrategyType `json:"type"`
}

Ref: #/components/schemas/RegexParameterEvaluationStrategy

func (*RegexParameterEvaluationStrategy) Decode

Decode decodes RegexParameterEvaluationStrategy from json.

func (*RegexParameterEvaluationStrategy) Encode

Encode implements json.Marshaler.

func (*RegexParameterEvaluationStrategy) GetPattern

func (s *RegexParameterEvaluationStrategy) GetPattern() string

GetPattern returns the value of Pattern.

func (*RegexParameterEvaluationStrategy) GetType

GetType returns the value of Type.

func (*RegexParameterEvaluationStrategy) MarshalJSON

func (s *RegexParameterEvaluationStrategy) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RegexParameterEvaluationStrategy) SetPattern

func (s *RegexParameterEvaluationStrategy) SetPattern(val string)

SetPattern sets the value of Pattern.

func (*RegexParameterEvaluationStrategy) SetType

SetType sets the value of Type.

func (*RegexParameterEvaluationStrategy) UnmarshalJSON

func (s *RegexParameterEvaluationStrategy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RegexParameterEvaluationStrategy) Validate

type RegexParameterEvaluationStrategyType

type RegexParameterEvaluationStrategyType string
const (
	RegexParameterEvaluationStrategyTypeRegex RegexParameterEvaluationStrategyType = "regex"
)

func (RegexParameterEvaluationStrategyType) AllValues

AllValues returns all RegexParameterEvaluationStrategyType values.

func (*RegexParameterEvaluationStrategyType) Decode

Decode decodes RegexParameterEvaluationStrategyType from json.

func (RegexParameterEvaluationStrategyType) Encode

Encode encodes RegexParameterEvaluationStrategyType as json.

func (RegexParameterEvaluationStrategyType) MarshalJSON

func (s RegexParameterEvaluationStrategyType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (RegexParameterEvaluationStrategyType) MarshalText

func (s RegexParameterEvaluationStrategyType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RegexParameterEvaluationStrategyType) UnmarshalJSON

func (s *RegexParameterEvaluationStrategyType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RegexParameterEvaluationStrategyType) UnmarshalText

func (s *RegexParameterEvaluationStrategyType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RegexParameterEvaluationStrategyType) Validate

type RegisterTwilioCallOK

type RegisterTwilioCallOK struct {
	Data io.Reader
}

func (RegisterTwilioCallOK) Read

func (s RegisterTwilioCallOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type RegisterTwilioCallParams

type RegisterTwilioCallParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

RegisterTwilioCallParams is parameters of register_twilio_call operation.

type RegisterTwilioCallRes

type RegisterTwilioCallRes interface {
	// contains filtered or unexported methods
}

type RemoveMemberParams

type RemoveMemberParams struct {
	// The ID of the target group.
	GroupID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

RemoveMemberParams is parameters of remove_member operation.

type RemoveMemberRes

type RemoveMemberRes interface {
	// contains filtered or unexported methods
}

type RemoveRulesParams

type RemoveRulesParams struct {
	// The id of the pronunciation dictionary.
	PronunciationDictionaryID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

RemoveRulesParams is parameters of remove_rules operation.

type RemoveRulesRes

type RemoveRulesRes interface {
	// contains filtered or unexported methods
}

type Render

type Render struct {
	ID       string                `json:"id"`
	Language NilString             `json:"language"`
	MediaRef DubbingMediaReference `json:"media_ref"`
	Status   RenderStatus          `json:"status"`
	Type     RenderType            `json:"type"`
	Version  int                   `json:"version"`
}

Ref: #/components/schemas/Render

func (*Render) Decode

func (s *Render) Decode(d *jx.Decoder) error

Decode decodes Render from json.

func (*Render) Encode

func (s *Render) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Render) GetID

func (s *Render) GetID() string

GetID returns the value of ID.

func (*Render) GetLanguage

func (s *Render) GetLanguage() NilString

GetLanguage returns the value of Language.

func (*Render) GetMediaRef

func (s *Render) GetMediaRef() DubbingMediaReference

GetMediaRef returns the value of MediaRef.

func (*Render) GetStatus

func (s *Render) GetStatus() RenderStatus

GetStatus returns the value of Status.

func (*Render) GetType

func (s *Render) GetType() RenderType

GetType returns the value of Type.

func (*Render) GetVersion

func (s *Render) GetVersion() int

GetVersion returns the value of Version.

func (*Render) MarshalJSON

func (s *Render) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Render) SetID

func (s *Render) SetID(val string)

SetID sets the value of ID.

func (*Render) SetLanguage

func (s *Render) SetLanguage(val NilString)

SetLanguage sets the value of Language.

func (*Render) SetMediaRef

func (s *Render) SetMediaRef(val DubbingMediaReference)

SetMediaRef sets the value of MediaRef.

func (*Render) SetStatus

func (s *Render) SetStatus(val RenderStatus)

SetStatus sets the value of Status.

func (*Render) SetType

func (s *Render) SetType(val RenderType)

SetType sets the value of Type.

func (*Render) SetVersion

func (s *Render) SetVersion(val int)

SetVersion sets the value of Version.

func (*Render) UnmarshalJSON

func (s *Render) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Render) Validate

func (s *Render) Validate() error

type RenderStatus

type RenderStatus string
const (
	RenderStatusComplete   RenderStatus = "complete"
	RenderStatusProcessing RenderStatus = "processing"
	RenderStatusFailed     RenderStatus = "failed"
)

func (RenderStatus) AllValues

func (RenderStatus) AllValues() []RenderStatus

AllValues returns all RenderStatus values.

func (*RenderStatus) Decode

func (s *RenderStatus) Decode(d *jx.Decoder) error

Decode decodes RenderStatus from json.

func (RenderStatus) Encode

func (s RenderStatus) Encode(e *jx.Encoder)

Encode encodes RenderStatus as json.

func (RenderStatus) MarshalJSON

func (s RenderStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (RenderStatus) MarshalText

func (s RenderStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RenderStatus) UnmarshalJSON

func (s *RenderStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RenderStatus) UnmarshalText

func (s *RenderStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RenderStatus) Validate

func (s RenderStatus) Validate() error

type RenderType

type RenderType string

Ref: #/components/schemas/RenderType

const (
	RenderTypeMP4       RenderType = "mp4"
	RenderTypeAac       RenderType = "aac"
	RenderTypeMp3       RenderType = "mp3"
	RenderTypeWav       RenderType = "wav"
	RenderTypeAaf       RenderType = "aaf"
	RenderTypeTracksZip RenderType = "tracks_zip"
	RenderTypeClipsZip  RenderType = "clips_zip"
)

func (RenderType) AllValues

func (RenderType) AllValues() []RenderType

AllValues returns all RenderType values.

func (*RenderType) Decode

func (s *RenderType) Decode(d *jx.Decoder) error

Decode decodes RenderType from json.

func (RenderType) Encode

func (s RenderType) Encode(e *jx.Encoder)

Encode encodes RenderType as json.

func (RenderType) MarshalJSON

func (s RenderType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (RenderType) MarshalText

func (s RenderType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RenderType) UnmarshalJSON

func (s *RenderType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RenderType) UnmarshalText

func (s *RenderType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RenderType) Validate

func (s RenderType) Validate() error

type RequestPVCManualVerificationResponseModel

type RequestPVCManualVerificationResponseModel struct {
	// The status of the request PVC manual verification request. If the request was successful, the
	// status will be 'ok'. Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/RequestPVCManualVerificationResponseModel

func (*RequestPVCManualVerificationResponseModel) Decode

Decode decodes RequestPVCManualVerificationResponseModel from json.

func (*RequestPVCManualVerificationResponseModel) Encode

Encode implements json.Marshaler.

func (*RequestPVCManualVerificationResponseModel) GetStatus

GetStatus returns the value of Status.

func (*RequestPVCManualVerificationResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*RequestPVCManualVerificationResponseModel) SetStatus

SetStatus sets the value of Status.

func (*RequestPVCManualVerificationResponseModel) UnmarshalJSON

func (s *RequestPVCManualVerificationResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RequestPvcManualVerificationParams

type RequestPvcManualVerificationParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

RequestPvcManualVerificationParams is parameters of request_pvc_manual_verification operation.

type RequestPvcManualVerificationRes

type RequestPvcManualVerificationRes interface {
	// contains filtered or unexported methods
}

type ResourceAccessInfo

type ResourceAccessInfo struct {
	// Email of the agent's creator.
	CreatorEmail string `json:"creator_email"`
	// Name of the agent's creator.
	CreatorName string `json:"creator_name"`
	// Whether the user making the request is the creator of the agent.
	IsCreator bool `json:"is_creator"`
	// The role of the user making the request.
	Role ResourceAccessInfoRole `json:"role"`
}

Ref: #/components/schemas/ResourceAccessInfo

func (*ResourceAccessInfo) Decode

func (s *ResourceAccessInfo) Decode(d *jx.Decoder) error

Decode decodes ResourceAccessInfo from json.

func (*ResourceAccessInfo) Encode

func (s *ResourceAccessInfo) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ResourceAccessInfo) GetCreatorEmail

func (s *ResourceAccessInfo) GetCreatorEmail() string

GetCreatorEmail returns the value of CreatorEmail.

func (*ResourceAccessInfo) GetCreatorName

func (s *ResourceAccessInfo) GetCreatorName() string

GetCreatorName returns the value of CreatorName.

func (*ResourceAccessInfo) GetIsCreator

func (s *ResourceAccessInfo) GetIsCreator() bool

GetIsCreator returns the value of IsCreator.

func (*ResourceAccessInfo) GetRole

GetRole returns the value of Role.

func (*ResourceAccessInfo) MarshalJSON

func (s *ResourceAccessInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ResourceAccessInfo) SetCreatorEmail

func (s *ResourceAccessInfo) SetCreatorEmail(val string)

SetCreatorEmail sets the value of CreatorEmail.

func (*ResourceAccessInfo) SetCreatorName

func (s *ResourceAccessInfo) SetCreatorName(val string)

SetCreatorName sets the value of CreatorName.

func (*ResourceAccessInfo) SetIsCreator

func (s *ResourceAccessInfo) SetIsCreator(val bool)

SetIsCreator sets the value of IsCreator.

func (*ResourceAccessInfo) SetRole

SetRole sets the value of Role.

func (*ResourceAccessInfo) UnmarshalJSON

func (s *ResourceAccessInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceAccessInfo) Validate

func (s *ResourceAccessInfo) Validate() error

type ResourceAccessInfoRole

type ResourceAccessInfoRole string

The role of the user making the request.

const (
	ResourceAccessInfoRoleAdmin     ResourceAccessInfoRole = "admin"
	ResourceAccessInfoRoleEditor    ResourceAccessInfoRole = "editor"
	ResourceAccessInfoRoleCommenter ResourceAccessInfoRole = "commenter"
	ResourceAccessInfoRoleViewer    ResourceAccessInfoRole = "viewer"
)

func (ResourceAccessInfoRole) AllValues

AllValues returns all ResourceAccessInfoRole values.

func (*ResourceAccessInfoRole) Decode

func (s *ResourceAccessInfoRole) Decode(d *jx.Decoder) error

Decode decodes ResourceAccessInfoRole from json.

func (ResourceAccessInfoRole) Encode

func (s ResourceAccessInfoRole) Encode(e *jx.Encoder)

Encode encodes ResourceAccessInfoRole as json.

func (ResourceAccessInfoRole) MarshalJSON

func (s ResourceAccessInfoRole) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ResourceAccessInfoRole) MarshalText

func (s ResourceAccessInfoRole) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ResourceAccessInfoRole) UnmarshalJSON

func (s *ResourceAccessInfoRole) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceAccessInfoRole) UnmarshalText

func (s *ResourceAccessInfoRole) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ResourceAccessInfoRole) Validate

func (s ResourceAccessInfoRole) Validate() error

type ResourceMetadataResponseModel

type ResourceMetadataResponseModel struct {
	// The access level for anonymous users. If None, the resource is not shared publicly.
	AnonymousAccessLevelOverride NilResourceMetadataResponseModelAnonymousAccessLevelOverride `json:"anonymous_access_level_override"`
	// The ID of the user who created the resource.
	CreatorUserID NilString `json:"creator_user_id"`
	// The ID of the resource.
	ResourceID string `json:"resource_id"`
	// The type of the resource.
	ResourceType WorkspaceResourceType `json:"resource_type"`
	// A mapping of roles to group IDs. When the resource is shared with a user, the group id is the
	// user's id.
	RoleToGroupIds ResourceMetadataResponseModelRoleToGroupIds `json:"role_to_group_ids"`
	// List of options for sharing the resource further in the workspace. These are users who don't have
	// access to the resource yet.
	ShareOptions []ShareOptionResponseModel `json:"share_options"`
}

Ref: #/components/schemas/ResourceMetadataResponseModel

func (*ResourceMetadataResponseModel) Decode

Decode decodes ResourceMetadataResponseModel from json.

func (*ResourceMetadataResponseModel) Encode

Encode implements json.Marshaler.

func (*ResourceMetadataResponseModel) GetAnonymousAccessLevelOverride

GetAnonymousAccessLevelOverride returns the value of AnonymousAccessLevelOverride.

func (*ResourceMetadataResponseModel) GetCreatorUserID

func (s *ResourceMetadataResponseModel) GetCreatorUserID() NilString

GetCreatorUserID returns the value of CreatorUserID.

func (*ResourceMetadataResponseModel) GetResourceID

func (s *ResourceMetadataResponseModel) GetResourceID() string

GetResourceID returns the value of ResourceID.

func (*ResourceMetadataResponseModel) GetResourceType

GetResourceType returns the value of ResourceType.

func (*ResourceMetadataResponseModel) GetRoleToGroupIds

GetRoleToGroupIds returns the value of RoleToGroupIds.

func (*ResourceMetadataResponseModel) GetShareOptions

GetShareOptions returns the value of ShareOptions.

func (*ResourceMetadataResponseModel) MarshalJSON

func (s *ResourceMetadataResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ResourceMetadataResponseModel) SetAnonymousAccessLevelOverride

SetAnonymousAccessLevelOverride sets the value of AnonymousAccessLevelOverride.

func (*ResourceMetadataResponseModel) SetCreatorUserID

func (s *ResourceMetadataResponseModel) SetCreatorUserID(val NilString)

SetCreatorUserID sets the value of CreatorUserID.

func (*ResourceMetadataResponseModel) SetResourceID

func (s *ResourceMetadataResponseModel) SetResourceID(val string)

SetResourceID sets the value of ResourceID.

func (*ResourceMetadataResponseModel) SetResourceType

func (s *ResourceMetadataResponseModel) SetResourceType(val WorkspaceResourceType)

SetResourceType sets the value of ResourceType.

func (*ResourceMetadataResponseModel) SetRoleToGroupIds

SetRoleToGroupIds sets the value of RoleToGroupIds.

func (*ResourceMetadataResponseModel) SetShareOptions

func (s *ResourceMetadataResponseModel) SetShareOptions(val []ShareOptionResponseModel)

SetShareOptions sets the value of ShareOptions.

func (*ResourceMetadataResponseModel) UnmarshalJSON

func (s *ResourceMetadataResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceMetadataResponseModel) Validate

func (s *ResourceMetadataResponseModel) Validate() error

type ResourceMetadataResponseModelAnonymousAccessLevelOverride

type ResourceMetadataResponseModelAnonymousAccessLevelOverride string

The access level for anonymous users. If None, the resource is not shared publicly.

const (
	ResourceMetadataResponseModelAnonymousAccessLevelOverrideAdmin     ResourceMetadataResponseModelAnonymousAccessLevelOverride = "admin"
	ResourceMetadataResponseModelAnonymousAccessLevelOverrideEditor    ResourceMetadataResponseModelAnonymousAccessLevelOverride = "editor"
	ResourceMetadataResponseModelAnonymousAccessLevelOverrideCommenter ResourceMetadataResponseModelAnonymousAccessLevelOverride = "commenter"
	ResourceMetadataResponseModelAnonymousAccessLevelOverrideViewer    ResourceMetadataResponseModelAnonymousAccessLevelOverride = "viewer"
)

func (ResourceMetadataResponseModelAnonymousAccessLevelOverride) AllValues

AllValues returns all ResourceMetadataResponseModelAnonymousAccessLevelOverride values.

func (*ResourceMetadataResponseModelAnonymousAccessLevelOverride) Decode

Decode decodes ResourceMetadataResponseModelAnonymousAccessLevelOverride from json.

func (ResourceMetadataResponseModelAnonymousAccessLevelOverride) Encode

Encode encodes ResourceMetadataResponseModelAnonymousAccessLevelOverride as json.

func (ResourceMetadataResponseModelAnonymousAccessLevelOverride) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ResourceMetadataResponseModelAnonymousAccessLevelOverride) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ResourceMetadataResponseModelAnonymousAccessLevelOverride) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceMetadataResponseModelAnonymousAccessLevelOverride) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ResourceMetadataResponseModelAnonymousAccessLevelOverride) Validate

type ResourceMetadataResponseModelRoleToGroupIds

type ResourceMetadataResponseModelRoleToGroupIds map[string][]string

A mapping of roles to group IDs. When the resource is shared with a user, the group id is the user's id.

func (*ResourceMetadataResponseModelRoleToGroupIds) Decode

Decode decodes ResourceMetadataResponseModelRoleToGroupIds from json.

func (ResourceMetadataResponseModelRoleToGroupIds) Encode

Encode implements json.Marshaler.

func (ResourceMetadataResponseModelRoleToGroupIds) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ResourceMetadataResponseModelRoleToGroupIds) UnmarshalJSON

func (s *ResourceMetadataResponseModelRoleToGroupIds) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ResourceMetadataResponseModelRoleToGroupIds) Validate

type RetryBatchCallParams

type RetryBatchCallParams struct {
	BatchID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

RetryBatchCallParams is parameters of retry_batch_call operation.

type RetryBatchCallRes

type RetryBatchCallRes interface {
	// contains filtered or unexported methods
}

type Route

type Route struct {
	// contains filtered or unexported fields
}

Route is route object.

func (Route) Args

func (r Route) Args() []string

Args returns parsed arguments.

func (Route) Name

func (r Route) Name() string

Name returns ogen operation name.

It is guaranteed to be unique and not empty.

func (Route) OperationGroup

func (r Route) OperationGroup() string

OperationGroup returns the x-ogen-operation-group value.

func (Route) OperationID

func (r Route) OperationID() string

OperationID returns OpenAPI operationId.

func (Route) PathPattern

func (r Route) PathPattern() string

PathPattern returns OpenAPI path.

func (Route) Summary

func (r Route) Summary() string

Summary returns OpenAPI summary.

type RunPvcVoiceTrainingParams

type RunPvcVoiceTrainingParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

RunPvcVoiceTrainingParams is parameters of run_pvc_voice_training operation.

type RunPvcVoiceTrainingRes

type RunPvcVoiceTrainingRes interface {
	// contains filtered or unexported methods
}

type SIPMediaEncryptionEnum

type SIPMediaEncryptionEnum string

Ref: #/components/schemas/SIPMediaEncryptionEnum

const (
	SIPMediaEncryptionEnumDisabled SIPMediaEncryptionEnum = "disabled"
	SIPMediaEncryptionEnumAllowed  SIPMediaEncryptionEnum = "allowed"
	SIPMediaEncryptionEnumRequired SIPMediaEncryptionEnum = "required"
)

func (SIPMediaEncryptionEnum) AllValues

AllValues returns all SIPMediaEncryptionEnum values.

func (*SIPMediaEncryptionEnum) Decode

func (s *SIPMediaEncryptionEnum) Decode(d *jx.Decoder) error

Decode decodes SIPMediaEncryptionEnum from json.

func (SIPMediaEncryptionEnum) Encode

func (s SIPMediaEncryptionEnum) Encode(e *jx.Encoder)

Encode encodes SIPMediaEncryptionEnum as json.

func (SIPMediaEncryptionEnum) MarshalJSON

func (s SIPMediaEncryptionEnum) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SIPMediaEncryptionEnum) MarshalText

func (s SIPMediaEncryptionEnum) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SIPMediaEncryptionEnum) UnmarshalJSON

func (s *SIPMediaEncryptionEnum) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SIPMediaEncryptionEnum) UnmarshalText

func (s *SIPMediaEncryptionEnum) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SIPMediaEncryptionEnum) Validate

func (s SIPMediaEncryptionEnum) Validate() error

type SIPTrunkCredentialsRequestModel

type SIPTrunkCredentialsRequestModel struct {
	// SIP trunk password - if not specified, then remain unchanged.
	Password OptNilString `json:"password"`
	// SIP trunk username.
	Username string `json:"username"`
}

Ref: #/components/schemas/SIPTrunkCredentialsRequestModel

func (*SIPTrunkCredentialsRequestModel) Decode

Decode decodes SIPTrunkCredentialsRequestModel from json.

func (*SIPTrunkCredentialsRequestModel) Encode

Encode implements json.Marshaler.

func (*SIPTrunkCredentialsRequestModel) GetPassword

GetPassword returns the value of Password.

func (*SIPTrunkCredentialsRequestModel) GetUsername

func (s *SIPTrunkCredentialsRequestModel) GetUsername() string

GetUsername returns the value of Username.

func (*SIPTrunkCredentialsRequestModel) MarshalJSON

func (s *SIPTrunkCredentialsRequestModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SIPTrunkCredentialsRequestModel) SetPassword

func (s *SIPTrunkCredentialsRequestModel) SetPassword(val OptNilString)

SetPassword sets the value of Password.

func (*SIPTrunkCredentialsRequestModel) SetUsername

func (s *SIPTrunkCredentialsRequestModel) SetUsername(val string)

SetUsername sets the value of Username.

func (*SIPTrunkCredentialsRequestModel) UnmarshalJSON

func (s *SIPTrunkCredentialsRequestModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SIPTrunkOutboundCallResponse

type SIPTrunkOutboundCallResponse struct {
	ConversationID NilString `json:"conversation_id"`
	Message        string    `json:"message"`
	SipCallID      NilString `json:"sip_call_id"`
	Success        bool      `json:"success"`
}

Ref: #/components/schemas/SIPTrunkOutboundCallResponse

func (*SIPTrunkOutboundCallResponse) Decode

Decode decodes SIPTrunkOutboundCallResponse from json.

func (*SIPTrunkOutboundCallResponse) Encode

func (s *SIPTrunkOutboundCallResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SIPTrunkOutboundCallResponse) GetConversationID

func (s *SIPTrunkOutboundCallResponse) GetConversationID() NilString

GetConversationID returns the value of ConversationID.

func (*SIPTrunkOutboundCallResponse) GetMessage

func (s *SIPTrunkOutboundCallResponse) GetMessage() string

GetMessage returns the value of Message.

func (*SIPTrunkOutboundCallResponse) GetSipCallID

func (s *SIPTrunkOutboundCallResponse) GetSipCallID() NilString

GetSipCallID returns the value of SipCallID.

func (*SIPTrunkOutboundCallResponse) GetSuccess

func (s *SIPTrunkOutboundCallResponse) GetSuccess() bool

GetSuccess returns the value of Success.

func (*SIPTrunkOutboundCallResponse) MarshalJSON

func (s *SIPTrunkOutboundCallResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SIPTrunkOutboundCallResponse) SetConversationID

func (s *SIPTrunkOutboundCallResponse) SetConversationID(val NilString)

SetConversationID sets the value of ConversationID.

func (*SIPTrunkOutboundCallResponse) SetMessage

func (s *SIPTrunkOutboundCallResponse) SetMessage(val string)

SetMessage sets the value of Message.

func (*SIPTrunkOutboundCallResponse) SetSipCallID

func (s *SIPTrunkOutboundCallResponse) SetSipCallID(val NilString)

SetSipCallID sets the value of SipCallID.

func (*SIPTrunkOutboundCallResponse) SetSuccess

func (s *SIPTrunkOutboundCallResponse) SetSuccess(val bool)

SetSuccess sets the value of Success.

func (*SIPTrunkOutboundCallResponse) UnmarshalJSON

func (s *SIPTrunkOutboundCallResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SIPTrunkTransportEnum

type SIPTrunkTransportEnum string

Ref: #/components/schemas/SIPTrunkTransportEnum

const (
	SIPTrunkTransportEnumAuto SIPTrunkTransportEnum = "auto"
	SIPTrunkTransportEnumUDP  SIPTrunkTransportEnum = "udp"
	SIPTrunkTransportEnumTCP  SIPTrunkTransportEnum = "tcp"
	SIPTrunkTransportEnumTLS  SIPTrunkTransportEnum = "tls"
)

func (SIPTrunkTransportEnum) AllValues

AllValues returns all SIPTrunkTransportEnum values.

func (*SIPTrunkTransportEnum) Decode

func (s *SIPTrunkTransportEnum) Decode(d *jx.Decoder) error

Decode decodes SIPTrunkTransportEnum from json.

func (SIPTrunkTransportEnum) Encode

func (s SIPTrunkTransportEnum) Encode(e *jx.Encoder)

Encode encodes SIPTrunkTransportEnum as json.

func (SIPTrunkTransportEnum) MarshalJSON

func (s SIPTrunkTransportEnum) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SIPTrunkTransportEnum) MarshalText

func (s SIPTrunkTransportEnum) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SIPTrunkTransportEnum) UnmarshalJSON

func (s *SIPTrunkTransportEnum) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SIPTrunkTransportEnum) UnmarshalText

func (s *SIPTrunkTransportEnum) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SIPTrunkTransportEnum) Validate

func (s SIPTrunkTransportEnum) Validate() error

type SampleResponseModel

type SampleResponseModel struct {
	DurationSecs OptNilFloat64 `json:"duration_secs"`
	// The name of the sample file.
	FileName                string     `json:"file_name"`
	HasIsolatedAudio        OptNilBool `json:"has_isolated_audio"`
	HasIsolatedAudioPreview OptNilBool `json:"has_isolated_audio_preview"`
	// The hash of the sample file.
	Hash string `json:"hash"`
	// The MIME type of the sample file.
	MimeType              string     `json:"mime_type"`
	RemoveBackgroundNoise OptNilBool `json:"remove_background_noise"`
	// The ID of the sample.
	SampleID string `json:"sample_id"`
	// The size of the sample file in bytes.
	SizeBytes         int                               `json:"size_bytes"`
	SpeakerSeparation OptSpeakerSeparationResponseModel `json:"speaker_separation"`
	TrimEnd           OptNilInt                         `json:"trim_end"`
	TrimStart         OptNilInt                         `json:"trim_start"`
}

Ref: #/components/schemas/SampleResponseModel

func (*SampleResponseModel) Decode

func (s *SampleResponseModel) Decode(d *jx.Decoder) error

Decode decodes SampleResponseModel from json.

func (*SampleResponseModel) Encode

func (s *SampleResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SampleResponseModel) GetDurationSecs

func (s *SampleResponseModel) GetDurationSecs() OptNilFloat64

GetDurationSecs returns the value of DurationSecs.

func (*SampleResponseModel) GetFileName

func (s *SampleResponseModel) GetFileName() string

GetFileName returns the value of FileName.

func (*SampleResponseModel) GetHasIsolatedAudio

func (s *SampleResponseModel) GetHasIsolatedAudio() OptNilBool

GetHasIsolatedAudio returns the value of HasIsolatedAudio.

func (*SampleResponseModel) GetHasIsolatedAudioPreview

func (s *SampleResponseModel) GetHasIsolatedAudioPreview() OptNilBool

GetHasIsolatedAudioPreview returns the value of HasIsolatedAudioPreview.

func (*SampleResponseModel) GetHash

func (s *SampleResponseModel) GetHash() string

GetHash returns the value of Hash.

func (*SampleResponseModel) GetMimeType

func (s *SampleResponseModel) GetMimeType() string

GetMimeType returns the value of MimeType.

func (*SampleResponseModel) GetRemoveBackgroundNoise

func (s *SampleResponseModel) GetRemoveBackgroundNoise() OptNilBool

GetRemoveBackgroundNoise returns the value of RemoveBackgroundNoise.

func (*SampleResponseModel) GetSampleID

func (s *SampleResponseModel) GetSampleID() string

GetSampleID returns the value of SampleID.

func (*SampleResponseModel) GetSizeBytes

func (s *SampleResponseModel) GetSizeBytes() int

GetSizeBytes returns the value of SizeBytes.

func (*SampleResponseModel) GetSpeakerSeparation

func (s *SampleResponseModel) GetSpeakerSeparation() OptSpeakerSeparationResponseModel

GetSpeakerSeparation returns the value of SpeakerSeparation.

func (*SampleResponseModel) GetTrimEnd

func (s *SampleResponseModel) GetTrimEnd() OptNilInt

GetTrimEnd returns the value of TrimEnd.

func (*SampleResponseModel) GetTrimStart

func (s *SampleResponseModel) GetTrimStart() OptNilInt

GetTrimStart returns the value of TrimStart.

func (*SampleResponseModel) MarshalJSON

func (s *SampleResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SampleResponseModel) SetDurationSecs

func (s *SampleResponseModel) SetDurationSecs(val OptNilFloat64)

SetDurationSecs sets the value of DurationSecs.

func (*SampleResponseModel) SetFileName

func (s *SampleResponseModel) SetFileName(val string)

SetFileName sets the value of FileName.

func (*SampleResponseModel) SetHasIsolatedAudio

func (s *SampleResponseModel) SetHasIsolatedAudio(val OptNilBool)

SetHasIsolatedAudio sets the value of HasIsolatedAudio.

func (*SampleResponseModel) SetHasIsolatedAudioPreview

func (s *SampleResponseModel) SetHasIsolatedAudioPreview(val OptNilBool)

SetHasIsolatedAudioPreview sets the value of HasIsolatedAudioPreview.

func (*SampleResponseModel) SetHash

func (s *SampleResponseModel) SetHash(val string)

SetHash sets the value of Hash.

func (*SampleResponseModel) SetMimeType

func (s *SampleResponseModel) SetMimeType(val string)

SetMimeType sets the value of MimeType.

func (*SampleResponseModel) SetRemoveBackgroundNoise

func (s *SampleResponseModel) SetRemoveBackgroundNoise(val OptNilBool)

SetRemoveBackgroundNoise sets the value of RemoveBackgroundNoise.

func (*SampleResponseModel) SetSampleID

func (s *SampleResponseModel) SetSampleID(val string)

SetSampleID sets the value of SampleID.

func (*SampleResponseModel) SetSizeBytes

func (s *SampleResponseModel) SetSizeBytes(val int)

SetSizeBytes sets the value of SizeBytes.

func (*SampleResponseModel) SetSpeakerSeparation

func (s *SampleResponseModel) SetSpeakerSeparation(val OptSpeakerSeparationResponseModel)

SetSpeakerSeparation sets the value of SpeakerSeparation.

func (*SampleResponseModel) SetTrimEnd

func (s *SampleResponseModel) SetTrimEnd(val OptNilInt)

SetTrimEnd sets the value of TrimEnd.

func (*SampleResponseModel) SetTrimStart

func (s *SampleResponseModel) SetTrimStart(val OptNilInt)

SetTrimStart sets the value of TrimStart.

func (*SampleResponseModel) UnmarshalJSON

func (s *SampleResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SampleResponseModel) Validate

func (s *SampleResponseModel) Validate() error

type SearchGroupsOKApplicationJSON

type SearchGroupsOKApplicationJSON []WorkspaceGroupByNameResponseModel

func (*SearchGroupsOKApplicationJSON) Decode

Decode decodes SearchGroupsOKApplicationJSON from json.

func (SearchGroupsOKApplicationJSON) Encode

Encode encodes SearchGroupsOKApplicationJSON as json.

func (SearchGroupsOKApplicationJSON) MarshalJSON

func (s SearchGroupsOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SearchGroupsOKApplicationJSON) UnmarshalJSON

func (s *SearchGroupsOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (SearchGroupsOKApplicationJSON) Validate

func (s SearchGroupsOKApplicationJSON) Validate() error

type SearchGroupsParams

type SearchGroupsParams struct {
	// Name of the target group.
	Name string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

SearchGroupsParams is parameters of search_groups operation.

type SearchGroupsRes

type SearchGroupsRes interface {
	// contains filtered or unexported methods
}

type SecretDependencyType

type SecretDependencyType string

Ref: #/components/schemas/SecretDependencyType

const (
	SecretDependencyTypeConversationInitiationWebhook SecretDependencyType = "conversation_initiation_webhook"
)

func (SecretDependencyType) AllValues

AllValues returns all SecretDependencyType values.

func (*SecretDependencyType) Decode

func (s *SecretDependencyType) Decode(d *jx.Decoder) error

Decode decodes SecretDependencyType from json.

func (SecretDependencyType) Encode

func (s SecretDependencyType) Encode(e *jx.Encoder)

Encode encodes SecretDependencyType as json.

func (SecretDependencyType) MarshalJSON

func (s SecretDependencyType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SecretDependencyType) MarshalText

func (s SecretDependencyType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SecretDependencyType) UnmarshalJSON

func (s *SecretDependencyType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SecretDependencyType) UnmarshalText

func (s *SecretDependencyType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SecretDependencyType) Validate

func (s SecretDependencyType) Validate() error

type SectionSource

type SectionSource struct {
	// The ranges to exclude from the 'range'.
	NegativeRanges []TimeRange `json:"negative_ranges"`
	// The range to extract from the source song.
	Range TimeRange `json:"range"`
	// The ID of the song to source the section from. You can find the song ID in the response headers
	// when you generate a song.
	SongID string `json:"song_id"`
}

Ref: #/components/schemas/SectionSource

func (*SectionSource) Decode

func (s *SectionSource) Decode(d *jx.Decoder) error

Decode decodes SectionSource from json.

func (*SectionSource) Encode

func (s *SectionSource) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SectionSource) GetNegativeRanges

func (s *SectionSource) GetNegativeRanges() []TimeRange

GetNegativeRanges returns the value of NegativeRanges.

func (*SectionSource) GetRange

func (s *SectionSource) GetRange() TimeRange

GetRange returns the value of Range.

func (*SectionSource) GetSongID

func (s *SectionSource) GetSongID() string

GetSongID returns the value of SongID.

func (*SectionSource) MarshalJSON

func (s *SectionSource) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SectionSource) SetNegativeRanges

func (s *SectionSource) SetNegativeRanges(val []TimeRange)

SetNegativeRanges sets the value of NegativeRanges.

func (*SectionSource) SetRange

func (s *SectionSource) SetRange(val TimeRange)

SetRange sets the value of Range.

func (*SectionSource) SetSongID

func (s *SectionSource) SetSongID(val string)

SetSongID sets the value of SongID.

func (*SectionSource) UnmarshalJSON

func (s *SectionSource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SectionSource) Validate

func (s *SectionSource) Validate() error

type SegmentCreatePayload

type SegmentCreatePayload struct {
	EndTime      float64                                `json:"end_time"`
	StartTime    float64                                `json:"start_time"`
	Text         OptNilString                           `json:"text"`
	Translations OptNilSegmentCreatePayloadTranslations `json:"translations"`
}

Ref: #/components/schemas/SegmentCreatePayload

func (*SegmentCreatePayload) Decode

func (s *SegmentCreatePayload) Decode(d *jx.Decoder) error

Decode decodes SegmentCreatePayload from json.

func (*SegmentCreatePayload) Encode

func (s *SegmentCreatePayload) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SegmentCreatePayload) GetEndTime

func (s *SegmentCreatePayload) GetEndTime() float64

GetEndTime returns the value of EndTime.

func (*SegmentCreatePayload) GetStartTime

func (s *SegmentCreatePayload) GetStartTime() float64

GetStartTime returns the value of StartTime.

func (*SegmentCreatePayload) GetText

func (s *SegmentCreatePayload) GetText() OptNilString

GetText returns the value of Text.

func (*SegmentCreatePayload) GetTranslations

GetTranslations returns the value of Translations.

func (*SegmentCreatePayload) MarshalJSON

func (s *SegmentCreatePayload) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SegmentCreatePayload) SetEndTime

func (s *SegmentCreatePayload) SetEndTime(val float64)

SetEndTime sets the value of EndTime.

func (*SegmentCreatePayload) SetStartTime

func (s *SegmentCreatePayload) SetStartTime(val float64)

SetStartTime sets the value of StartTime.

func (*SegmentCreatePayload) SetText

func (s *SegmentCreatePayload) SetText(val OptNilString)

SetText sets the value of Text.

func (*SegmentCreatePayload) SetTranslations

SetTranslations sets the value of Translations.

func (*SegmentCreatePayload) UnmarshalJSON

func (s *SegmentCreatePayload) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SegmentCreatePayload) Validate

func (s *SegmentCreatePayload) Validate() error

type SegmentCreatePayloadTranslations

type SegmentCreatePayloadTranslations map[string]string

func (*SegmentCreatePayloadTranslations) Decode

Decode decodes SegmentCreatePayloadTranslations from json.

func (SegmentCreatePayloadTranslations) Encode

Encode implements json.Marshaler.

func (SegmentCreatePayloadTranslations) MarshalJSON

func (s SegmentCreatePayloadTranslations) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SegmentCreatePayloadTranslations) UnmarshalJSON

func (s *SegmentCreatePayloadTranslations) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SegmentCreateResponse

type SegmentCreateResponse struct {
	NewSegment string `json:"new_segment"`
	Version    int    `json:"version"`
}

Ref: #/components/schemas/SegmentCreateResponse

func (*SegmentCreateResponse) Decode

func (s *SegmentCreateResponse) Decode(d *jx.Decoder) error

Decode decodes SegmentCreateResponse from json.

func (*SegmentCreateResponse) Encode

func (s *SegmentCreateResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SegmentCreateResponse) GetNewSegment

func (s *SegmentCreateResponse) GetNewSegment() string

GetNewSegment returns the value of NewSegment.

func (*SegmentCreateResponse) GetVersion

func (s *SegmentCreateResponse) GetVersion() int

GetVersion returns the value of Version.

func (*SegmentCreateResponse) MarshalJSON

func (s *SegmentCreateResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SegmentCreateResponse) SetNewSegment

func (s *SegmentCreateResponse) SetNewSegment(val string)

SetNewSegment sets the value of NewSegment.

func (*SegmentCreateResponse) SetVersion

func (s *SegmentCreateResponse) SetVersion(val int)

SetVersion sets the value of Version.

func (*SegmentCreateResponse) UnmarshalJSON

func (s *SegmentCreateResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SegmentDeleteResponse

type SegmentDeleteResponse struct {
	Version int `json:"version"`
}

Ref: #/components/schemas/SegmentDeleteResponse

func (*SegmentDeleteResponse) Decode

func (s *SegmentDeleteResponse) Decode(d *jx.Decoder) error

Decode decodes SegmentDeleteResponse from json.

func (*SegmentDeleteResponse) Encode

func (s *SegmentDeleteResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SegmentDeleteResponse) GetVersion

func (s *SegmentDeleteResponse) GetVersion() int

GetVersion returns the value of Version.

func (*SegmentDeleteResponse) MarshalJSON

func (s *SegmentDeleteResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SegmentDeleteResponse) SetVersion

func (s *SegmentDeleteResponse) SetVersion(val int)

SetVersion sets the value of Version.

func (*SegmentDeleteResponse) UnmarshalJSON

func (s *SegmentDeleteResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SegmentDubResponse

type SegmentDubResponse struct {
	Version int `json:"version"`
}

Ref: #/components/schemas/SegmentDubResponse

func (*SegmentDubResponse) Decode

func (s *SegmentDubResponse) Decode(d *jx.Decoder) error

Decode decodes SegmentDubResponse from json.

func (*SegmentDubResponse) Encode

func (s *SegmentDubResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SegmentDubResponse) GetVersion

func (s *SegmentDubResponse) GetVersion() int

GetVersion returns the value of Version.

func (*SegmentDubResponse) MarshalJSON

func (s *SegmentDubResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SegmentDubResponse) SetVersion

func (s *SegmentDubResponse) SetVersion(val int)

SetVersion sets the value of Version.

func (*SegmentDubResponse) UnmarshalJSON

func (s *SegmentDubResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SegmentMigrationResponse

type SegmentMigrationResponse struct {
	Version int `json:"version"`
}

Ref: #/components/schemas/SegmentMigrationResponse

func (*SegmentMigrationResponse) Decode

func (s *SegmentMigrationResponse) Decode(d *jx.Decoder) error

Decode decodes SegmentMigrationResponse from json.

func (*SegmentMigrationResponse) Encode

func (s *SegmentMigrationResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SegmentMigrationResponse) GetVersion

func (s *SegmentMigrationResponse) GetVersion() int

GetVersion returns the value of Version.

func (*SegmentMigrationResponse) MarshalJSON

func (s *SegmentMigrationResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SegmentMigrationResponse) SetVersion

func (s *SegmentMigrationResponse) SetVersion(val int)

SetVersion sets the value of Version.

func (*SegmentMigrationResponse) UnmarshalJSON

func (s *SegmentMigrationResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SegmentSubtitleFrame

type SegmentSubtitleFrame struct {
	EndTime   float64  `json:"end_time"`
	Lines     []string `json:"lines"`
	StartTime float64  `json:"start_time"`
}

Ref: #/components/schemas/SegmentSubtitleFrame

func (*SegmentSubtitleFrame) Decode

func (s *SegmentSubtitleFrame) Decode(d *jx.Decoder) error

Decode decodes SegmentSubtitleFrame from json.

func (*SegmentSubtitleFrame) Encode

func (s *SegmentSubtitleFrame) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SegmentSubtitleFrame) GetEndTime

func (s *SegmentSubtitleFrame) GetEndTime() float64

GetEndTime returns the value of EndTime.

func (*SegmentSubtitleFrame) GetLines

func (s *SegmentSubtitleFrame) GetLines() []string

GetLines returns the value of Lines.

func (*SegmentSubtitleFrame) GetStartTime

func (s *SegmentSubtitleFrame) GetStartTime() float64

GetStartTime returns the value of StartTime.

func (*SegmentSubtitleFrame) MarshalJSON

func (s *SegmentSubtitleFrame) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SegmentSubtitleFrame) SetEndTime

func (s *SegmentSubtitleFrame) SetEndTime(val float64)

SetEndTime sets the value of EndTime.

func (*SegmentSubtitleFrame) SetLines

func (s *SegmentSubtitleFrame) SetLines(val []string)

SetLines sets the value of Lines.

func (*SegmentSubtitleFrame) SetStartTime

func (s *SegmentSubtitleFrame) SetStartTime(val float64)

SetStartTime sets the value of StartTime.

func (*SegmentSubtitleFrame) UnmarshalJSON

func (s *SegmentSubtitleFrame) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SegmentSubtitleFrame) Validate

func (s *SegmentSubtitleFrame) Validate() error

type SegmentTranscriptionResponse

type SegmentTranscriptionResponse struct {
	Version int `json:"version"`
}

Ref: #/components/schemas/SegmentTranscriptionResponse

func (*SegmentTranscriptionResponse) Decode

Decode decodes SegmentTranscriptionResponse from json.

func (*SegmentTranscriptionResponse) Encode

func (s *SegmentTranscriptionResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SegmentTranscriptionResponse) GetVersion

func (s *SegmentTranscriptionResponse) GetVersion() int

GetVersion returns the value of Version.

func (*SegmentTranscriptionResponse) MarshalJSON

func (s *SegmentTranscriptionResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SegmentTranscriptionResponse) SetVersion

func (s *SegmentTranscriptionResponse) SetVersion(val int)

SetVersion sets the value of Version.

func (*SegmentTranscriptionResponse) UnmarshalJSON

func (s *SegmentTranscriptionResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SegmentTranslationResponse

type SegmentTranslationResponse struct {
	Version int `json:"version"`
}

Ref: #/components/schemas/SegmentTranslationResponse

func (*SegmentTranslationResponse) Decode

Decode decodes SegmentTranslationResponse from json.

func (*SegmentTranslationResponse) Encode

func (s *SegmentTranslationResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SegmentTranslationResponse) GetVersion

func (s *SegmentTranslationResponse) GetVersion() int

GetVersion returns the value of Version.

func (*SegmentTranslationResponse) MarshalJSON

func (s *SegmentTranslationResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SegmentTranslationResponse) SetVersion

func (s *SegmentTranslationResponse) SetVersion(val int)

SetVersion sets the value of Version.

func (*SegmentTranslationResponse) UnmarshalJSON

func (s *SegmentTranslationResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SegmentUpdatePayload

type SegmentUpdatePayload struct {
	EndTime   OptNilFloat64 `json:"end_time"`
	StartTime OptNilFloat64 `json:"start_time"`
	Text      OptNilString  `json:"text"`
}

Ref: #/components/schemas/SegmentUpdatePayload

func (*SegmentUpdatePayload) Decode

func (s *SegmentUpdatePayload) Decode(d *jx.Decoder) error

Decode decodes SegmentUpdatePayload from json.

func (*SegmentUpdatePayload) Encode

func (s *SegmentUpdatePayload) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SegmentUpdatePayload) GetEndTime

func (s *SegmentUpdatePayload) GetEndTime() OptNilFloat64

GetEndTime returns the value of EndTime.

func (*SegmentUpdatePayload) GetStartTime

func (s *SegmentUpdatePayload) GetStartTime() OptNilFloat64

GetStartTime returns the value of StartTime.

func (*SegmentUpdatePayload) GetText

func (s *SegmentUpdatePayload) GetText() OptNilString

GetText returns the value of Text.

func (*SegmentUpdatePayload) MarshalJSON

func (s *SegmentUpdatePayload) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SegmentUpdatePayload) SetEndTime

func (s *SegmentUpdatePayload) SetEndTime(val OptNilFloat64)

SetEndTime sets the value of EndTime.

func (*SegmentUpdatePayload) SetStartTime

func (s *SegmentUpdatePayload) SetStartTime(val OptNilFloat64)

SetStartTime sets the value of StartTime.

func (*SegmentUpdatePayload) SetText

func (s *SegmentUpdatePayload) SetText(val OptNilString)

SetText sets the value of Text.

func (*SegmentUpdatePayload) UnmarshalJSON

func (s *SegmentUpdatePayload) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SegmentUpdatePayload) Validate

func (s *SegmentUpdatePayload) Validate() error

type SegmentUpdateResponse

type SegmentUpdateResponse struct {
	Version int `json:"version"`
}

Ref: #/components/schemas/SegmentUpdateResponse

func (*SegmentUpdateResponse) Decode

func (s *SegmentUpdateResponse) Decode(d *jx.Decoder) error

Decode decodes SegmentUpdateResponse from json.

func (*SegmentUpdateResponse) Encode

func (s *SegmentUpdateResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SegmentUpdateResponse) GetVersion

func (s *SegmentUpdateResponse) GetVersion() int

GetVersion returns the value of Version.

func (*SegmentUpdateResponse) MarshalJSON

func (s *SegmentUpdateResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SegmentUpdateResponse) SetVersion

func (s *SegmentUpdateResponse) SetVersion(val int)

SetVersion sets the value of Version.

func (*SegmentUpdateResponse) UnmarshalJSON

func (s *SegmentUpdateResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SegmentedJsonExportOptions

type SegmentedJsonExportOptions struct {
	Format                      SegmentedJsonExportOptionsFormat `json:"format"`
	IncludeSpeakers             OptBool                          `json:"include_speakers"`
	IncludeTimestamps           OptBool                          `json:"include_timestamps"`
	MaxSegmentChars             OptNilInt                        `json:"max_segment_chars"`
	MaxSegmentDurationS         OptNilFloat64                    `json:"max_segment_duration_s"`
	SegmentOnSilenceLongerThanS OptNilFloat64                    `json:"segment_on_silence_longer_than_s"`
}

Ref: #/components/schemas/SegmentedJsonExportOptions

func (*SegmentedJsonExportOptions) Decode

Decode decodes SegmentedJsonExportOptions from json.

func (*SegmentedJsonExportOptions) Encode

func (s *SegmentedJsonExportOptions) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SegmentedJsonExportOptions) GetFormat

GetFormat returns the value of Format.

func (*SegmentedJsonExportOptions) GetIncludeSpeakers

func (s *SegmentedJsonExportOptions) GetIncludeSpeakers() OptBool

GetIncludeSpeakers returns the value of IncludeSpeakers.

func (*SegmentedJsonExportOptions) GetIncludeTimestamps

func (s *SegmentedJsonExportOptions) GetIncludeTimestamps() OptBool

GetIncludeTimestamps returns the value of IncludeTimestamps.

func (*SegmentedJsonExportOptions) GetMaxSegmentChars

func (s *SegmentedJsonExportOptions) GetMaxSegmentChars() OptNilInt

GetMaxSegmentChars returns the value of MaxSegmentChars.

func (*SegmentedJsonExportOptions) GetMaxSegmentDurationS

func (s *SegmentedJsonExportOptions) GetMaxSegmentDurationS() OptNilFloat64

GetMaxSegmentDurationS returns the value of MaxSegmentDurationS.

func (*SegmentedJsonExportOptions) GetSegmentOnSilenceLongerThanS

func (s *SegmentedJsonExportOptions) GetSegmentOnSilenceLongerThanS() OptNilFloat64

GetSegmentOnSilenceLongerThanS returns the value of SegmentOnSilenceLongerThanS.

func (*SegmentedJsonExportOptions) MarshalJSON

func (s *SegmentedJsonExportOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SegmentedJsonExportOptions) SetFormat

SetFormat sets the value of Format.

func (*SegmentedJsonExportOptions) SetIncludeSpeakers

func (s *SegmentedJsonExportOptions) SetIncludeSpeakers(val OptBool)

SetIncludeSpeakers sets the value of IncludeSpeakers.

func (*SegmentedJsonExportOptions) SetIncludeTimestamps

func (s *SegmentedJsonExportOptions) SetIncludeTimestamps(val OptBool)

SetIncludeTimestamps sets the value of IncludeTimestamps.

func (*SegmentedJsonExportOptions) SetMaxSegmentChars

func (s *SegmentedJsonExportOptions) SetMaxSegmentChars(val OptNilInt)

SetMaxSegmentChars sets the value of MaxSegmentChars.

func (*SegmentedJsonExportOptions) SetMaxSegmentDurationS

func (s *SegmentedJsonExportOptions) SetMaxSegmentDurationS(val OptNilFloat64)

SetMaxSegmentDurationS sets the value of MaxSegmentDurationS.

func (*SegmentedJsonExportOptions) SetSegmentOnSilenceLongerThanS

func (s *SegmentedJsonExportOptions) SetSegmentOnSilenceLongerThanS(val OptNilFloat64)

SetSegmentOnSilenceLongerThanS sets the value of SegmentOnSilenceLongerThanS.

func (*SegmentedJsonExportOptions) UnmarshalJSON

func (s *SegmentedJsonExportOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SegmentedJsonExportOptions) Validate

func (s *SegmentedJsonExportOptions) Validate() error

type SegmentedJsonExportOptionsFormat

type SegmentedJsonExportOptionsFormat string
const (
	SegmentedJsonExportOptionsFormatSegmentedJSON SegmentedJsonExportOptionsFormat = "segmented_json"
)

func (SegmentedJsonExportOptionsFormat) AllValues

AllValues returns all SegmentedJsonExportOptionsFormat values.

func (*SegmentedJsonExportOptionsFormat) Decode

Decode decodes SegmentedJsonExportOptionsFormat from json.

func (SegmentedJsonExportOptionsFormat) Encode

Encode encodes SegmentedJsonExportOptionsFormat as json.

func (SegmentedJsonExportOptionsFormat) MarshalJSON

func (s SegmentedJsonExportOptionsFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SegmentedJsonExportOptionsFormat) MarshalText

func (s SegmentedJsonExportOptionsFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SegmentedJsonExportOptionsFormat) UnmarshalJSON

func (s *SegmentedJsonExportOptionsFormat) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SegmentedJsonExportOptionsFormat) UnmarshalText

func (s *SegmentedJsonExportOptionsFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SegmentedJsonExportOptionsFormat) Validate

type SeparateSongStemsOK

type SeparateSongStemsOK struct {
	Data io.Reader
}

func (SeparateSongStemsOK) Read

func (s SeparateSongStemsOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type SeparateSongStemsOKHeaders

type SeparateSongStemsOKHeaders struct {
	ContentDisposition OptString
	Response           SeparateSongStemsOK
}

SeparateSongStemsOKHeaders wraps SeparateSongStemsOK with response headers.

func (*SeparateSongStemsOKHeaders) GetContentDisposition

func (s *SeparateSongStemsOKHeaders) GetContentDisposition() OptString

GetContentDisposition returns the value of ContentDisposition.

func (*SeparateSongStemsOKHeaders) GetResponse

GetResponse returns the value of Response.

func (*SeparateSongStemsOKHeaders) SetContentDisposition

func (s *SeparateSongStemsOKHeaders) SetContentDisposition(val OptString)

SetContentDisposition sets the value of ContentDisposition.

func (*SeparateSongStemsOKHeaders) SetResponse

func (s *SeparateSongStemsOKHeaders) SetResponse(val SeparateSongStemsOK)

SetResponse sets the value of Response.

type SeparateSongStemsOutputFormat

type SeparateSongStemsOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	SeparateSongStemsOutputFormatMp32205032   SeparateSongStemsOutputFormat = "mp3_22050_32"
	SeparateSongStemsOutputFormatMp32400048   SeparateSongStemsOutputFormat = "mp3_24000_48"
	SeparateSongStemsOutputFormatMp34410032   SeparateSongStemsOutputFormat = "mp3_44100_32"
	SeparateSongStemsOutputFormatMp34410064   SeparateSongStemsOutputFormat = "mp3_44100_64"
	SeparateSongStemsOutputFormatMp34410096   SeparateSongStemsOutputFormat = "mp3_44100_96"
	SeparateSongStemsOutputFormatMp344100128  SeparateSongStemsOutputFormat = "mp3_44100_128"
	SeparateSongStemsOutputFormatMp344100192  SeparateSongStemsOutputFormat = "mp3_44100_192"
	SeparateSongStemsOutputFormatPcm8000      SeparateSongStemsOutputFormat = "pcm_8000"
	SeparateSongStemsOutputFormatPcm16000     SeparateSongStemsOutputFormat = "pcm_16000"
	SeparateSongStemsOutputFormatPcm22050     SeparateSongStemsOutputFormat = "pcm_22050"
	SeparateSongStemsOutputFormatPcm24000     SeparateSongStemsOutputFormat = "pcm_24000"
	SeparateSongStemsOutputFormatPcm32000     SeparateSongStemsOutputFormat = "pcm_32000"
	SeparateSongStemsOutputFormatPcm44100     SeparateSongStemsOutputFormat = "pcm_44100"
	SeparateSongStemsOutputFormatPcm48000     SeparateSongStemsOutputFormat = "pcm_48000"
	SeparateSongStemsOutputFormatUlaw8000     SeparateSongStemsOutputFormat = "ulaw_8000"
	SeparateSongStemsOutputFormatAlaw8000     SeparateSongStemsOutputFormat = "alaw_8000"
	SeparateSongStemsOutputFormatOpus4800032  SeparateSongStemsOutputFormat = "opus_48000_32"
	SeparateSongStemsOutputFormatOpus4800064  SeparateSongStemsOutputFormat = "opus_48000_64"
	SeparateSongStemsOutputFormatOpus4800096  SeparateSongStemsOutputFormat = "opus_48000_96"
	SeparateSongStemsOutputFormatOpus48000128 SeparateSongStemsOutputFormat = "opus_48000_128"
	SeparateSongStemsOutputFormatOpus48000192 SeparateSongStemsOutputFormat = "opus_48000_192"
)

func (SeparateSongStemsOutputFormat) AllValues

AllValues returns all SeparateSongStemsOutputFormat values.

func (SeparateSongStemsOutputFormat) MarshalText

func (s SeparateSongStemsOutputFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SeparateSongStemsOutputFormat) UnmarshalText

func (s *SeparateSongStemsOutputFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SeparateSongStemsOutputFormat) Validate

func (s SeparateSongStemsOutputFormat) Validate() error

type SeparateSongStemsParams

type SeparateSongStemsParams struct {
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptSeparateSongStemsOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

SeparateSongStemsParams is parameters of separate_song_stems operation.

type SeparateSongStemsRes

type SeparateSongStemsRes interface {
	// contains filtered or unexported methods
}

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, opts ...ServerOption) (*Server, error)

NewServer creates new Server.

func (*Server) FindPath

func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool)

FindPath finds Route for given method and URL.

func (*Server) FindRoute

func (s *Server) FindRoute(method, path string) (Route, bool)

FindRoute finds Route for given method and path.

Note: this method does not unescape path or handle reserved characters in path properly. Use FindPath instead.

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP serves http request as defined by OpenAPI v3 specification, calling handler that matches the path or returning not found error.

type ServerOption

type ServerOption interface {
	// contains filtered or unexported methods
}

ServerOption is server config option.

func WithErrorHandler

func WithErrorHandler(h ErrorHandler) ServerOption

WithErrorHandler specifies error handler to use.

func WithMaxMultipartMemory

func WithMaxMultipartMemory(max int64) ServerOption

WithMaxMultipartMemory specifies limit of memory for storing file parts. File parts which can't be stored in memory will be stored on disk in temporary files.

func WithMethodNotAllowed

func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption

WithMethodNotAllowed specifies Method Not Allowed handler to use.

func WithMiddleware

func WithMiddleware(m ...Middleware) ServerOption

WithMiddleware specifies middlewares to use.

func WithNotFound

func WithNotFound(notFound http.HandlerFunc) ServerOption

WithNotFound specifies Not Found handler to use.

func WithPathPrefix

func WithPathPrefix(prefix string) ServerOption

WithPathPrefix specifies server path prefix.

type ShareOptionResponseModel

type ShareOptionResponseModel struct {
	// The ID of the principal.
	ID string `json:"id"`
	// The name of the principal.
	Name string `json:"name"`
	// The type of the principal: user, group, or service account (under 'key').
	Type ShareOptionResponseModelType `json:"type"`
}

Ref: #/components/schemas/ShareOptionResponseModel

func (*ShareOptionResponseModel) Decode

func (s *ShareOptionResponseModel) Decode(d *jx.Decoder) error

Decode decodes ShareOptionResponseModel from json.

func (*ShareOptionResponseModel) Encode

func (s *ShareOptionResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ShareOptionResponseModel) GetID

func (s *ShareOptionResponseModel) GetID() string

GetID returns the value of ID.

func (*ShareOptionResponseModel) GetName

func (s *ShareOptionResponseModel) GetName() string

GetName returns the value of Name.

func (*ShareOptionResponseModel) GetType

GetType returns the value of Type.

func (*ShareOptionResponseModel) MarshalJSON

func (s *ShareOptionResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ShareOptionResponseModel) SetID

func (s *ShareOptionResponseModel) SetID(val string)

SetID sets the value of ID.

func (*ShareOptionResponseModel) SetName

func (s *ShareOptionResponseModel) SetName(val string)

SetName sets the value of Name.

func (*ShareOptionResponseModel) SetType

SetType sets the value of Type.

func (*ShareOptionResponseModel) UnmarshalJSON

func (s *ShareOptionResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ShareOptionResponseModel) Validate

func (s *ShareOptionResponseModel) Validate() error

type ShareOptionResponseModelType

type ShareOptionResponseModelType string

The type of the principal: user, group, or service account (under 'key').

const (
	ShareOptionResponseModelTypeUser  ShareOptionResponseModelType = "user"
	ShareOptionResponseModelTypeGroup ShareOptionResponseModelType = "group"
	ShareOptionResponseModelTypeKey   ShareOptionResponseModelType = "key"
)

func (ShareOptionResponseModelType) AllValues

AllValues returns all ShareOptionResponseModelType values.

func (*ShareOptionResponseModelType) Decode

Decode decodes ShareOptionResponseModelType from json.

func (ShareOptionResponseModelType) Encode

Encode encodes ShareOptionResponseModelType as json.

func (ShareOptionResponseModelType) MarshalJSON

func (s ShareOptionResponseModelType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ShareOptionResponseModelType) MarshalText

func (s ShareOptionResponseModelType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ShareOptionResponseModelType) UnmarshalJSON

func (s *ShareOptionResponseModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ShareOptionResponseModelType) UnmarshalText

func (s *ShareOptionResponseModelType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ShareOptionResponseModelType) Validate

func (s ShareOptionResponseModelType) Validate() error

type ShareResourceEndpointOKApplicationJSON

type ShareResourceEndpointOKApplicationJSON jx.Raw

func (*ShareResourceEndpointOKApplicationJSON) Decode

Decode decodes ShareResourceEndpointOKApplicationJSON from json.

func (ShareResourceEndpointOKApplicationJSON) Encode

Encode encodes ShareResourceEndpointOKApplicationJSON as json.

func (ShareResourceEndpointOKApplicationJSON) MarshalJSON

func (s ShareResourceEndpointOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ShareResourceEndpointOKApplicationJSON) UnmarshalJSON

func (s *ShareResourceEndpointOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ShareResourceEndpointParams

type ShareResourceEndpointParams struct {
	// The ID of the target resource.
	ResourceID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

ShareResourceEndpointParams is parameters of share_resource_endpoint operation.

type ShareResourceEndpointRes

type ShareResourceEndpointRes interface {
	// contains filtered or unexported methods
}

type SimilarVoice

type SimilarVoice struct {
	Category    SimilarVoiceCategory `json:"category"`
	Description OptNilString         `json:"description"`
	Name        string               `json:"name"`
	PreviewURL  OptNilString         `json:"preview_url"`
	VoiceID     string               `json:"voice_id"`
}

Ref: #/components/schemas/SimilarVoice

func (*SimilarVoice) Decode

func (s *SimilarVoice) Decode(d *jx.Decoder) error

Decode decodes SimilarVoice from json.

func (*SimilarVoice) Encode

func (s *SimilarVoice) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SimilarVoice) GetCategory

func (s *SimilarVoice) GetCategory() SimilarVoiceCategory

GetCategory returns the value of Category.

func (*SimilarVoice) GetDescription

func (s *SimilarVoice) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*SimilarVoice) GetName

func (s *SimilarVoice) GetName() string

GetName returns the value of Name.

func (*SimilarVoice) GetPreviewURL

func (s *SimilarVoice) GetPreviewURL() OptNilString

GetPreviewURL returns the value of PreviewURL.

func (*SimilarVoice) GetVoiceID

func (s *SimilarVoice) GetVoiceID() string

GetVoiceID returns the value of VoiceID.

func (*SimilarVoice) MarshalJSON

func (s *SimilarVoice) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SimilarVoice) SetCategory

func (s *SimilarVoice) SetCategory(val SimilarVoiceCategory)

SetCategory sets the value of Category.

func (*SimilarVoice) SetDescription

func (s *SimilarVoice) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*SimilarVoice) SetName

func (s *SimilarVoice) SetName(val string)

SetName sets the value of Name.

func (*SimilarVoice) SetPreviewURL

func (s *SimilarVoice) SetPreviewURL(val OptNilString)

SetPreviewURL sets the value of PreviewURL.

func (*SimilarVoice) SetVoiceID

func (s *SimilarVoice) SetVoiceID(val string)

SetVoiceID sets the value of VoiceID.

func (*SimilarVoice) UnmarshalJSON

func (s *SimilarVoice) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SimilarVoice) Validate

func (s *SimilarVoice) Validate() error

type SimilarVoiceCategory

type SimilarVoiceCategory string
const (
	SimilarVoiceCategoryPremade      SimilarVoiceCategory = "premade"
	SimilarVoiceCategoryCloned       SimilarVoiceCategory = "cloned"
	SimilarVoiceCategoryGenerated    SimilarVoiceCategory = "generated"
	SimilarVoiceCategoryProfessional SimilarVoiceCategory = "professional"
	SimilarVoiceCategoryFamous       SimilarVoiceCategory = "famous"
)

func (SimilarVoiceCategory) AllValues

AllValues returns all SimilarVoiceCategory values.

func (*SimilarVoiceCategory) Decode

func (s *SimilarVoiceCategory) Decode(d *jx.Decoder) error

Decode decodes SimilarVoiceCategory from json.

func (SimilarVoiceCategory) Encode

func (s SimilarVoiceCategory) Encode(e *jx.Encoder)

Encode encodes SimilarVoiceCategory as json.

func (SimilarVoiceCategory) MarshalJSON

func (s SimilarVoiceCategory) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SimilarVoiceCategory) MarshalText

func (s SimilarVoiceCategory) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SimilarVoiceCategory) UnmarshalJSON

func (s *SimilarVoiceCategory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SimilarVoiceCategory) UnmarshalText

func (s *SimilarVoiceCategory) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SimilarVoiceCategory) Validate

func (s SimilarVoiceCategory) Validate() error

type SimilarVoicesForSpeakerResponse

type SimilarVoicesForSpeakerResponse struct {
	Voices []SimilarVoice `json:"voices"`
}

Ref: #/components/schemas/SimilarVoicesForSpeakerResponse

func (*SimilarVoicesForSpeakerResponse) Decode

Decode decodes SimilarVoicesForSpeakerResponse from json.

func (*SimilarVoicesForSpeakerResponse) Encode

Encode implements json.Marshaler.

func (*SimilarVoicesForSpeakerResponse) GetVoices

GetVoices returns the value of Voices.

func (*SimilarVoicesForSpeakerResponse) MarshalJSON

func (s *SimilarVoicesForSpeakerResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SimilarVoicesForSpeakerResponse) SetVoices

func (s *SimilarVoicesForSpeakerResponse) SetVoices(val []SimilarVoice)

SetVoices sets the value of Voices.

func (*SimilarVoicesForSpeakerResponse) UnmarshalJSON

func (s *SimilarVoicesForSpeakerResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SimilarVoicesForSpeakerResponse) Validate

func (s *SimilarVoicesForSpeakerResponse) Validate() error

type SingleUseTokenResponseModel

type SingleUseTokenResponseModel struct {
	// A time bound single use token that expires after 15 minutes. Will be consumed on use.
	Token string `json:"token"`
}

Ref: #/components/schemas/SingleUseTokenResponseModel

func (*SingleUseTokenResponseModel) Decode

Decode decodes SingleUseTokenResponseModel from json.

func (*SingleUseTokenResponseModel) Encode

func (s *SingleUseTokenResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SingleUseTokenResponseModel) GetToken

func (s *SingleUseTokenResponseModel) GetToken() string

GetToken returns the value of Token.

func (*SingleUseTokenResponseModel) MarshalJSON

func (s *SingleUseTokenResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SingleUseTokenResponseModel) SetToken

func (s *SingleUseTokenResponseModel) SetToken(val string)

SetToken sets the value of Token.

func (*SingleUseTokenResponseModel) UnmarshalJSON

func (s *SingleUseTokenResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SingleUseTokenType

type SingleUseTokenType string

Ref: #/components/schemas/SingleUseTokenType

const (
	SingleUseTokenTypeRealtimeScribe SingleUseTokenType = "realtime_scribe"
	SingleUseTokenTypeTtsWebsocket   SingleUseTokenType = "tts_websocket"
)

func (SingleUseTokenType) AllValues

func (SingleUseTokenType) AllValues() []SingleUseTokenType

AllValues returns all SingleUseTokenType values.

func (SingleUseTokenType) MarshalText

func (s SingleUseTokenType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SingleUseTokenType) UnmarshalText

func (s *SingleUseTokenType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SingleUseTokenType) Validate

func (s SingleUseTokenType) Validate() error

type SkipTurnToolResponseModel

type SkipTurnToolResponseModel struct {
	Reason     OptNilString                           `json:"reason"`
	ResultType OptSkipTurnToolResponseModelResultType `json:"result_type"`
	Status     OptSkipTurnToolResponseModelStatus     `json:"status"`
}

Ref: #/components/schemas/SkipTurnToolResponseModel

func (*SkipTurnToolResponseModel) Decode

func (s *SkipTurnToolResponseModel) Decode(d *jx.Decoder) error

Decode decodes SkipTurnToolResponseModel from json.

func (*SkipTurnToolResponseModel) Encode

func (s *SkipTurnToolResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SkipTurnToolResponseModel) GetReason

func (s *SkipTurnToolResponseModel) GetReason() OptNilString

GetReason returns the value of Reason.

func (*SkipTurnToolResponseModel) GetResultType

GetResultType returns the value of ResultType.

func (*SkipTurnToolResponseModel) GetStatus

GetStatus returns the value of Status.

func (*SkipTurnToolResponseModel) MarshalJSON

func (s *SkipTurnToolResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SkipTurnToolResponseModel) SetReason

func (s *SkipTurnToolResponseModel) SetReason(val OptNilString)

SetReason sets the value of Reason.

func (*SkipTurnToolResponseModel) SetResultType

SetResultType sets the value of ResultType.

func (*SkipTurnToolResponseModel) SetStatus

SetStatus sets the value of Status.

func (*SkipTurnToolResponseModel) UnmarshalJSON

func (s *SkipTurnToolResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SkipTurnToolResponseModel) Validate

func (s *SkipTurnToolResponseModel) Validate() error

type SkipTurnToolResponseModelResultType

type SkipTurnToolResponseModelResultType string
const (
	SkipTurnToolResponseModelResultTypeSkipTurnSuccess SkipTurnToolResponseModelResultType = "skip_turn_success"
)

func (SkipTurnToolResponseModelResultType) AllValues

AllValues returns all SkipTurnToolResponseModelResultType values.

func (*SkipTurnToolResponseModelResultType) Decode

Decode decodes SkipTurnToolResponseModelResultType from json.

func (SkipTurnToolResponseModelResultType) Encode

Encode encodes SkipTurnToolResponseModelResultType as json.

func (SkipTurnToolResponseModelResultType) MarshalJSON

func (s SkipTurnToolResponseModelResultType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SkipTurnToolResponseModelResultType) MarshalText

func (s SkipTurnToolResponseModelResultType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SkipTurnToolResponseModelResultType) UnmarshalJSON

func (s *SkipTurnToolResponseModelResultType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SkipTurnToolResponseModelResultType) UnmarshalText

func (s *SkipTurnToolResponseModelResultType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SkipTurnToolResponseModelResultType) Validate

type SkipTurnToolResponseModelStatus

type SkipTurnToolResponseModelStatus string
const (
	SkipTurnToolResponseModelStatusSuccess SkipTurnToolResponseModelStatus = "success"
)

func (SkipTurnToolResponseModelStatus) AllValues

AllValues returns all SkipTurnToolResponseModelStatus values.

func (*SkipTurnToolResponseModelStatus) Decode

Decode decodes SkipTurnToolResponseModelStatus from json.

func (SkipTurnToolResponseModelStatus) Encode

Encode encodes SkipTurnToolResponseModelStatus as json.

func (SkipTurnToolResponseModelStatus) MarshalJSON

func (s SkipTurnToolResponseModelStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SkipTurnToolResponseModelStatus) MarshalText

func (s SkipTurnToolResponseModelStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SkipTurnToolResponseModelStatus) UnmarshalJSON

func (s *SkipTurnToolResponseModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SkipTurnToolResponseModelStatus) UnmarshalText

func (s *SkipTurnToolResponseModelStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SkipTurnToolResponseModelStatus) Validate

type SoftTimeoutConfigOverride

type SoftTimeoutConfigOverride struct {
	// Message to show when soft timeout is reached while waiting for LLM response.
	Message OptNilString `json:"message"`
}

Ref: #/components/schemas/SoftTimeoutConfigOverride

func (*SoftTimeoutConfigOverride) Decode

func (s *SoftTimeoutConfigOverride) Decode(d *jx.Decoder) error

Decode decodes SoftTimeoutConfigOverride from json.

func (*SoftTimeoutConfigOverride) Encode

func (s *SoftTimeoutConfigOverride) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SoftTimeoutConfigOverride) GetMessage

func (s *SoftTimeoutConfigOverride) GetMessage() OptNilString

GetMessage returns the value of Message.

func (*SoftTimeoutConfigOverride) MarshalJSON

func (s *SoftTimeoutConfigOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SoftTimeoutConfigOverride) SetMessage

func (s *SoftTimeoutConfigOverride) SetMessage(val OptNilString)

SetMessage sets the value of Message.

func (*SoftTimeoutConfigOverride) UnmarshalJSON

func (s *SoftTimeoutConfigOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SongSection

type SongSection struct {
	// The duration of the section in milliseconds. Must be between 3000ms and 120000ms.
	DurationMs int `json:"duration_ms"`
	// The lyrics of the section. Max 200 characters per line.
	Lines []string `json:"lines"`
	// The styles and musical directions that should not be present in this section. Use English language
	// for best result.
	NegativeLocalStyles []string `json:"negative_local_styles"`
	// The styles and musical directions that should be present in this section. Use English language for
	// best result.
	PositiveLocalStyles []string `json:"positive_local_styles"`
	// The name of the section. Must be between 1 and 100 characters.
	SectionName string `json:"section_name"`
	// Optional source to extract the section from. Used for inpainting. Only available to enterprise
	// clients with access to the inpainting API.
	SourceFrom OptSectionSource `json:"source_from"`
}

Ref: #/components/schemas/SongSection

func (*SongSection) Decode

func (s *SongSection) Decode(d *jx.Decoder) error

Decode decodes SongSection from json.

func (*SongSection) Encode

func (s *SongSection) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SongSection) GetDurationMs

func (s *SongSection) GetDurationMs() int

GetDurationMs returns the value of DurationMs.

func (*SongSection) GetLines

func (s *SongSection) GetLines() []string

GetLines returns the value of Lines.

func (*SongSection) GetNegativeLocalStyles

func (s *SongSection) GetNegativeLocalStyles() []string

GetNegativeLocalStyles returns the value of NegativeLocalStyles.

func (*SongSection) GetPositiveLocalStyles

func (s *SongSection) GetPositiveLocalStyles() []string

GetPositiveLocalStyles returns the value of PositiveLocalStyles.

func (*SongSection) GetSectionName

func (s *SongSection) GetSectionName() string

GetSectionName returns the value of SectionName.

func (*SongSection) GetSourceFrom

func (s *SongSection) GetSourceFrom() OptSectionSource

GetSourceFrom returns the value of SourceFrom.

func (*SongSection) MarshalJSON

func (s *SongSection) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SongSection) SetDurationMs

func (s *SongSection) SetDurationMs(val int)

SetDurationMs sets the value of DurationMs.

func (*SongSection) SetLines

func (s *SongSection) SetLines(val []string)

SetLines sets the value of Lines.

func (*SongSection) SetNegativeLocalStyles

func (s *SongSection) SetNegativeLocalStyles(val []string)

SetNegativeLocalStyles sets the value of NegativeLocalStyles.

func (*SongSection) SetPositiveLocalStyles

func (s *SongSection) SetPositiveLocalStyles(val []string)

SetPositiveLocalStyles sets the value of PositiveLocalStyles.

func (*SongSection) SetSectionName

func (s *SongSection) SetSectionName(val string)

SetSectionName sets the value of SectionName.

func (*SongSection) SetSourceFrom

func (s *SongSection) SetSourceFrom(val OptSectionSource)

SetSourceFrom sets the value of SourceFrom.

func (*SongSection) UnmarshalJSON

func (s *SongSection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SongSection) Validate

func (s *SongSection) Validate() error

type SortDirection

type SortDirection string

Ref: #/components/schemas/SortDirection

const (
	SortDirectionAsc  SortDirection = "asc"
	SortDirectionDesc SortDirection = "desc"
)

func (SortDirection) AllValues

func (SortDirection) AllValues() []SortDirection

AllValues returns all SortDirection values.

func (SortDirection) MarshalText

func (s SortDirection) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SortDirection) UnmarshalText

func (s *SortDirection) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SortDirection) Validate

func (s SortDirection) Validate() error

type SoundGenerationOK

type SoundGenerationOK struct {
	Data io.Reader
}

func (SoundGenerationOK) Read

func (s SoundGenerationOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type SoundGenerationOKHeaders

type SoundGenerationOKHeaders struct {
	CharacterCost OptString
	Response      SoundGenerationOK
}

SoundGenerationOKHeaders wraps SoundGenerationOK with response headers.

func (*SoundGenerationOKHeaders) GetCharacterCost

func (s *SoundGenerationOKHeaders) GetCharacterCost() OptString

GetCharacterCost returns the value of CharacterCost.

func (*SoundGenerationOKHeaders) GetResponse

GetResponse returns the value of Response.

func (*SoundGenerationOKHeaders) SetCharacterCost

func (s *SoundGenerationOKHeaders) SetCharacterCost(val OptString)

SetCharacterCost sets the value of CharacterCost.

func (*SoundGenerationOKHeaders) SetResponse

func (s *SoundGenerationOKHeaders) SetResponse(val SoundGenerationOK)

SetResponse sets the value of Response.

type SoundGenerationOutputFormat

type SoundGenerationOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	SoundGenerationOutputFormatMp32205032   SoundGenerationOutputFormat = "mp3_22050_32"
	SoundGenerationOutputFormatMp32400048   SoundGenerationOutputFormat = "mp3_24000_48"
	SoundGenerationOutputFormatMp34410032   SoundGenerationOutputFormat = "mp3_44100_32"
	SoundGenerationOutputFormatMp34410064   SoundGenerationOutputFormat = "mp3_44100_64"
	SoundGenerationOutputFormatMp34410096   SoundGenerationOutputFormat = "mp3_44100_96"
	SoundGenerationOutputFormatMp344100128  SoundGenerationOutputFormat = "mp3_44100_128"
	SoundGenerationOutputFormatMp344100192  SoundGenerationOutputFormat = "mp3_44100_192"
	SoundGenerationOutputFormatPcm8000      SoundGenerationOutputFormat = "pcm_8000"
	SoundGenerationOutputFormatPcm16000     SoundGenerationOutputFormat = "pcm_16000"
	SoundGenerationOutputFormatPcm22050     SoundGenerationOutputFormat = "pcm_22050"
	SoundGenerationOutputFormatPcm24000     SoundGenerationOutputFormat = "pcm_24000"
	SoundGenerationOutputFormatPcm32000     SoundGenerationOutputFormat = "pcm_32000"
	SoundGenerationOutputFormatPcm44100     SoundGenerationOutputFormat = "pcm_44100"
	SoundGenerationOutputFormatPcm48000     SoundGenerationOutputFormat = "pcm_48000"
	SoundGenerationOutputFormatUlaw8000     SoundGenerationOutputFormat = "ulaw_8000"
	SoundGenerationOutputFormatAlaw8000     SoundGenerationOutputFormat = "alaw_8000"
	SoundGenerationOutputFormatOpus4800032  SoundGenerationOutputFormat = "opus_48000_32"
	SoundGenerationOutputFormatOpus4800064  SoundGenerationOutputFormat = "opus_48000_64"
	SoundGenerationOutputFormatOpus4800096  SoundGenerationOutputFormat = "opus_48000_96"
	SoundGenerationOutputFormatOpus48000128 SoundGenerationOutputFormat = "opus_48000_128"
	SoundGenerationOutputFormatOpus48000192 SoundGenerationOutputFormat = "opus_48000_192"
)

func (SoundGenerationOutputFormat) AllValues

AllValues returns all SoundGenerationOutputFormat values.

func (SoundGenerationOutputFormat) MarshalText

func (s SoundGenerationOutputFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SoundGenerationOutputFormat) UnmarshalText

func (s *SoundGenerationOutputFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SoundGenerationOutputFormat) Validate

func (s SoundGenerationOutputFormat) Validate() error

type SoundGenerationParams

type SoundGenerationParams struct {
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptSoundGenerationOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

SoundGenerationParams is parameters of sound_generation operation.

type SoundGenerationRes

type SoundGenerationRes interface {
	// contains filtered or unexported methods
}

type SpeakerAudioResponseModel

type SpeakerAudioResponseModel struct {
	// The base64 encoded audio.
	AudioBase64 string `json:"audio_base_64"`
	// The duration of the audio in seconds.
	DurationSecs float64 `json:"duration_secs"`
	// The media type of the audio.
	MediaType string `json:"media_type"`
}

Ref: #/components/schemas/SpeakerAudioResponseModel

func (*SpeakerAudioResponseModel) Decode

func (s *SpeakerAudioResponseModel) Decode(d *jx.Decoder) error

Decode decodes SpeakerAudioResponseModel from json.

func (*SpeakerAudioResponseModel) Encode

func (s *SpeakerAudioResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SpeakerAudioResponseModel) GetAudioBase64

func (s *SpeakerAudioResponseModel) GetAudioBase64() string

GetAudioBase64 returns the value of AudioBase64.

func (*SpeakerAudioResponseModel) GetDurationSecs

func (s *SpeakerAudioResponseModel) GetDurationSecs() float64

GetDurationSecs returns the value of DurationSecs.

func (*SpeakerAudioResponseModel) GetMediaType

func (s *SpeakerAudioResponseModel) GetMediaType() string

GetMediaType returns the value of MediaType.

func (*SpeakerAudioResponseModel) MarshalJSON

func (s *SpeakerAudioResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpeakerAudioResponseModel) SetAudioBase64

func (s *SpeakerAudioResponseModel) SetAudioBase64(val string)

SetAudioBase64 sets the value of AudioBase64.

func (*SpeakerAudioResponseModel) SetDurationSecs

func (s *SpeakerAudioResponseModel) SetDurationSecs(val float64)

SetDurationSecs sets the value of DurationSecs.

func (*SpeakerAudioResponseModel) SetMediaType

func (s *SpeakerAudioResponseModel) SetMediaType(val string)

SetMediaType sets the value of MediaType.

func (*SpeakerAudioResponseModel) UnmarshalJSON

func (s *SpeakerAudioResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpeakerAudioResponseModel) Validate

func (s *SpeakerAudioResponseModel) Validate() error

type SpeakerCreatedResponse

type SpeakerCreatedResponse struct {
	SpeakerID string `json:"speaker_id"`
	Version   int    `json:"version"`
}

Ref: #/components/schemas/SpeakerCreatedResponse

func (*SpeakerCreatedResponse) Decode

func (s *SpeakerCreatedResponse) Decode(d *jx.Decoder) error

Decode decodes SpeakerCreatedResponse from json.

func (*SpeakerCreatedResponse) Encode

func (s *SpeakerCreatedResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SpeakerCreatedResponse) GetSpeakerID

func (s *SpeakerCreatedResponse) GetSpeakerID() string

GetSpeakerID returns the value of SpeakerID.

func (*SpeakerCreatedResponse) GetVersion

func (s *SpeakerCreatedResponse) GetVersion() int

GetVersion returns the value of Version.

func (*SpeakerCreatedResponse) MarshalJSON

func (s *SpeakerCreatedResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpeakerCreatedResponse) SetSpeakerID

func (s *SpeakerCreatedResponse) SetSpeakerID(val string)

SetSpeakerID sets the value of SpeakerID.

func (*SpeakerCreatedResponse) SetVersion

func (s *SpeakerCreatedResponse) SetVersion(val int)

SetVersion sets the value of Version.

func (*SpeakerCreatedResponse) UnmarshalJSON

func (s *SpeakerCreatedResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SpeakerResponseModel

type SpeakerResponseModel struct {
	// The duration of the speaker segment in seconds.
	DurationSecs float64 `json:"duration_secs"`
	// The ID of the speaker.
	SpeakerID string `json:"speaker_id"`
	// The utterances of the speaker.
	Utterances OptNilUtteranceResponseModelArray `json:"utterances"`
}

Ref: #/components/schemas/SpeakerResponseModel

func (*SpeakerResponseModel) Decode

func (s *SpeakerResponseModel) Decode(d *jx.Decoder) error

Decode decodes SpeakerResponseModel from json.

func (*SpeakerResponseModel) Encode

func (s *SpeakerResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SpeakerResponseModel) GetDurationSecs

func (s *SpeakerResponseModel) GetDurationSecs() float64

GetDurationSecs returns the value of DurationSecs.

func (*SpeakerResponseModel) GetSpeakerID

func (s *SpeakerResponseModel) GetSpeakerID() string

GetSpeakerID returns the value of SpeakerID.

func (*SpeakerResponseModel) GetUtterances

GetUtterances returns the value of Utterances.

func (*SpeakerResponseModel) MarshalJSON

func (s *SpeakerResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpeakerResponseModel) SetDurationSecs

func (s *SpeakerResponseModel) SetDurationSecs(val float64)

SetDurationSecs sets the value of DurationSecs.

func (*SpeakerResponseModel) SetSpeakerID

func (s *SpeakerResponseModel) SetSpeakerID(val string)

SetSpeakerID sets the value of SpeakerID.

func (*SpeakerResponseModel) SetUtterances

SetUtterances sets the value of Utterances.

func (*SpeakerResponseModel) UnmarshalJSON

func (s *SpeakerResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpeakerResponseModel) Validate

func (s *SpeakerResponseModel) Validate() error

type SpeakerSegment

type SpeakerSegment struct {
	Dubs      SpeakerSegmentDubs     `json:"dubs"`
	EndTime   float64                `json:"end_time"`
	ID        string                 `json:"id"`
	StartTime float64                `json:"start_time"`
	Subtitles []SegmentSubtitleFrame `json:"subtitles"`
	Text      string                 `json:"text"`
}

Ref: #/components/schemas/SpeakerSegment

func (*SpeakerSegment) Decode

func (s *SpeakerSegment) Decode(d *jx.Decoder) error

Decode decodes SpeakerSegment from json.

func (*SpeakerSegment) Encode

func (s *SpeakerSegment) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SpeakerSegment) GetDubs

func (s *SpeakerSegment) GetDubs() SpeakerSegmentDubs

GetDubs returns the value of Dubs.

func (*SpeakerSegment) GetEndTime

func (s *SpeakerSegment) GetEndTime() float64

GetEndTime returns the value of EndTime.

func (*SpeakerSegment) GetID

func (s *SpeakerSegment) GetID() string

GetID returns the value of ID.

func (*SpeakerSegment) GetStartTime

func (s *SpeakerSegment) GetStartTime() float64

GetStartTime returns the value of StartTime.

func (*SpeakerSegment) GetSubtitles

func (s *SpeakerSegment) GetSubtitles() []SegmentSubtitleFrame

GetSubtitles returns the value of Subtitles.

func (*SpeakerSegment) GetText

func (s *SpeakerSegment) GetText() string

GetText returns the value of Text.

func (*SpeakerSegment) MarshalJSON

func (s *SpeakerSegment) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpeakerSegment) SetDubs

func (s *SpeakerSegment) SetDubs(val SpeakerSegmentDubs)

SetDubs sets the value of Dubs.

func (*SpeakerSegment) SetEndTime

func (s *SpeakerSegment) SetEndTime(val float64)

SetEndTime sets the value of EndTime.

func (*SpeakerSegment) SetID

func (s *SpeakerSegment) SetID(val string)

SetID sets the value of ID.

func (*SpeakerSegment) SetStartTime

func (s *SpeakerSegment) SetStartTime(val float64)

SetStartTime sets the value of StartTime.

func (*SpeakerSegment) SetSubtitles

func (s *SpeakerSegment) SetSubtitles(val []SegmentSubtitleFrame)

SetSubtitles sets the value of Subtitles.

func (*SpeakerSegment) SetText

func (s *SpeakerSegment) SetText(val string)

SetText sets the value of Text.

func (*SpeakerSegment) UnmarshalJSON

func (s *SpeakerSegment) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpeakerSegment) Validate

func (s *SpeakerSegment) Validate() error

type SpeakerSegmentDubs

type SpeakerSegmentDubs map[string]DubbedSegment

func (*SpeakerSegmentDubs) Decode

func (s *SpeakerSegmentDubs) Decode(d *jx.Decoder) error

Decode decodes SpeakerSegmentDubs from json.

func (SpeakerSegmentDubs) Encode

func (s SpeakerSegmentDubs) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (SpeakerSegmentDubs) MarshalJSON

func (s SpeakerSegmentDubs) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpeakerSegmentDubs) UnmarshalJSON

func (s *SpeakerSegmentDubs) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (SpeakerSegmentDubs) Validate

func (s SpeakerSegmentDubs) Validate() error

type SpeakerSeparationResponseModel

type SpeakerSeparationResponseModel struct {
	// The ID of the sample.
	SampleID string `json:"sample_id"`
	// The IDs of the selected speakers.
	SelectedSpeakerIds OptNilStringArray `json:"selected_speaker_ids"`
	// The speakers of the sample.
	Speakers OptNilSpeakerSeparationResponseModelSpeakers `json:"speakers"`
	// The status of the speaker separation.
	Status SpeakerSeparationResponseModelStatus `json:"status"`
	// The ID of the voice.
	VoiceID string `json:"voice_id"`
}

Ref: #/components/schemas/SpeakerSeparationResponseModel

func (*SpeakerSeparationResponseModel) Decode

Decode decodes SpeakerSeparationResponseModel from json.

func (*SpeakerSeparationResponseModel) Encode

Encode implements json.Marshaler.

func (*SpeakerSeparationResponseModel) GetSampleID

func (s *SpeakerSeparationResponseModel) GetSampleID() string

GetSampleID returns the value of SampleID.

func (*SpeakerSeparationResponseModel) GetSelectedSpeakerIds

func (s *SpeakerSeparationResponseModel) GetSelectedSpeakerIds() OptNilStringArray

GetSelectedSpeakerIds returns the value of SelectedSpeakerIds.

func (*SpeakerSeparationResponseModel) GetSpeakers

GetSpeakers returns the value of Speakers.

func (*SpeakerSeparationResponseModel) GetStatus

GetStatus returns the value of Status.

func (*SpeakerSeparationResponseModel) GetVoiceID

func (s *SpeakerSeparationResponseModel) GetVoiceID() string

GetVoiceID returns the value of VoiceID.

func (*SpeakerSeparationResponseModel) MarshalJSON

func (s *SpeakerSeparationResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpeakerSeparationResponseModel) SetSampleID

func (s *SpeakerSeparationResponseModel) SetSampleID(val string)

SetSampleID sets the value of SampleID.

func (*SpeakerSeparationResponseModel) SetSelectedSpeakerIds

func (s *SpeakerSeparationResponseModel) SetSelectedSpeakerIds(val OptNilStringArray)

SetSelectedSpeakerIds sets the value of SelectedSpeakerIds.

func (*SpeakerSeparationResponseModel) SetSpeakers

SetSpeakers sets the value of Speakers.

func (*SpeakerSeparationResponseModel) SetStatus

SetStatus sets the value of Status.

func (*SpeakerSeparationResponseModel) SetVoiceID

func (s *SpeakerSeparationResponseModel) SetVoiceID(val string)

SetVoiceID sets the value of VoiceID.

func (*SpeakerSeparationResponseModel) UnmarshalJSON

func (s *SpeakerSeparationResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpeakerSeparationResponseModel) Validate

func (s *SpeakerSeparationResponseModel) Validate() error

type SpeakerSeparationResponseModelSpeakers

type SpeakerSeparationResponseModelSpeakers map[string]SpeakerResponseModel

The speakers of the sample.

func (*SpeakerSeparationResponseModelSpeakers) Decode

Decode decodes SpeakerSeparationResponseModelSpeakers from json.

func (SpeakerSeparationResponseModelSpeakers) Encode

Encode implements json.Marshaler.

func (SpeakerSeparationResponseModelSpeakers) MarshalJSON

func (s SpeakerSeparationResponseModelSpeakers) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpeakerSeparationResponseModelSpeakers) UnmarshalJSON

func (s *SpeakerSeparationResponseModelSpeakers) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (SpeakerSeparationResponseModelSpeakers) Validate

type SpeakerSeparationResponseModelStatus

type SpeakerSeparationResponseModelStatus string

The status of the speaker separation.

const (
	SpeakerSeparationResponseModelStatusNotStarted SpeakerSeparationResponseModelStatus = "not_started"
	SpeakerSeparationResponseModelStatusPending    SpeakerSeparationResponseModelStatus = "pending"
	SpeakerSeparationResponseModelStatusCompleted  SpeakerSeparationResponseModelStatus = "completed"
	SpeakerSeparationResponseModelStatusFailed     SpeakerSeparationResponseModelStatus = "failed"
)

func (SpeakerSeparationResponseModelStatus) AllValues

AllValues returns all SpeakerSeparationResponseModelStatus values.

func (*SpeakerSeparationResponseModelStatus) Decode

Decode decodes SpeakerSeparationResponseModelStatus from json.

func (SpeakerSeparationResponseModelStatus) Encode

Encode encodes SpeakerSeparationResponseModelStatus as json.

func (SpeakerSeparationResponseModelStatus) MarshalJSON

func (s SpeakerSeparationResponseModelStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SpeakerSeparationResponseModelStatus) MarshalText

func (s SpeakerSeparationResponseModelStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SpeakerSeparationResponseModelStatus) UnmarshalJSON

func (s *SpeakerSeparationResponseModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpeakerSeparationResponseModelStatus) UnmarshalText

func (s *SpeakerSeparationResponseModelStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SpeakerSeparationResponseModelStatus) Validate

type SpeakerTrack

type SpeakerTrack struct {
	ID          string                `json:"id"`
	MediaRef    DubbingMediaReference `json:"media_ref"`
	Segments    []string              `json:"segments"`
	SpeakerName string                `json:"speaker_name"`
	Voices      SpeakerTrackVoices    `json:"voices"`
}

Ref: #/components/schemas/SpeakerTrack

func (*SpeakerTrack) Decode

func (s *SpeakerTrack) Decode(d *jx.Decoder) error

Decode decodes SpeakerTrack from json.

func (*SpeakerTrack) Encode

func (s *SpeakerTrack) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SpeakerTrack) GetID

func (s *SpeakerTrack) GetID() string

GetID returns the value of ID.

func (*SpeakerTrack) GetMediaRef

func (s *SpeakerTrack) GetMediaRef() DubbingMediaReference

GetMediaRef returns the value of MediaRef.

func (*SpeakerTrack) GetSegments

func (s *SpeakerTrack) GetSegments() []string

GetSegments returns the value of Segments.

func (*SpeakerTrack) GetSpeakerName

func (s *SpeakerTrack) GetSpeakerName() string

GetSpeakerName returns the value of SpeakerName.

func (*SpeakerTrack) GetVoices

func (s *SpeakerTrack) GetVoices() SpeakerTrackVoices

GetVoices returns the value of Voices.

func (*SpeakerTrack) MarshalJSON

func (s *SpeakerTrack) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpeakerTrack) SetID

func (s *SpeakerTrack) SetID(val string)

SetID sets the value of ID.

func (*SpeakerTrack) SetMediaRef

func (s *SpeakerTrack) SetMediaRef(val DubbingMediaReference)

SetMediaRef sets the value of MediaRef.

func (*SpeakerTrack) SetSegments

func (s *SpeakerTrack) SetSegments(val []string)

SetSegments sets the value of Segments.

func (*SpeakerTrack) SetSpeakerName

func (s *SpeakerTrack) SetSpeakerName(val string)

SetSpeakerName sets the value of SpeakerName.

func (*SpeakerTrack) SetVoices

func (s *SpeakerTrack) SetVoices(val SpeakerTrackVoices)

SetVoices sets the value of Voices.

func (*SpeakerTrack) UnmarshalJSON

func (s *SpeakerTrack) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpeakerTrack) Validate

func (s *SpeakerTrack) Validate() error

type SpeakerTrackVoices

type SpeakerTrackVoices map[string]string

func (*SpeakerTrackVoices) Decode

func (s *SpeakerTrackVoices) Decode(d *jx.Decoder) error

Decode decodes SpeakerTrackVoices from json.

func (SpeakerTrackVoices) Encode

func (s SpeakerTrackVoices) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (SpeakerTrackVoices) MarshalJSON

func (s SpeakerTrackVoices) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpeakerTrackVoices) UnmarshalJSON

func (s *SpeakerTrackVoices) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SpeakerUpdatedResponse

type SpeakerUpdatedResponse struct {
	Version int `json:"version"`
}

Ref: #/components/schemas/SpeakerUpdatedResponse

func (*SpeakerUpdatedResponse) Decode

func (s *SpeakerUpdatedResponse) Decode(d *jx.Decoder) error

Decode decodes SpeakerUpdatedResponse from json.

func (*SpeakerUpdatedResponse) Encode

func (s *SpeakerUpdatedResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SpeakerUpdatedResponse) GetVersion

func (s *SpeakerUpdatedResponse) GetVersion() int

GetVersion returns the value of Version.

func (*SpeakerUpdatedResponse) MarshalJSON

func (s *SpeakerUpdatedResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpeakerUpdatedResponse) SetVersion

func (s *SpeakerUpdatedResponse) SetVersion(val int)

SetVersion sets the value of Version.

func (*SpeakerUpdatedResponse) UnmarshalJSON

func (s *SpeakerUpdatedResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SpeechHistoryItemResponseModel

type SpeechHistoryItemResponseModel struct {
	// The alignments of the history item.
	Alignments OptHistoryAlignmentsResponseModel `json:"alignments"`
	// The character count change from.
	CharacterCountChangeFrom int `json:"character_count_change_from"`
	// The character count change to.
	CharacterCountChangeTo int `json:"character_count_change_to"`
	// The content type of the generated item.
	ContentType string `json:"content_type"`
	// Unix timestamp of when the item was created.
	DateUnix int `json:"date_unix"`
	// The dialogue (voice and text pairs) used to generate the audio item. If this is set then the top
	// level `text` and `voice_id` fields will be empty.
	Dialogue OptNilDialogueInputResponseModelArray `json:"dialogue"`
	// Feedback associated with the generated item. Returns null if no feedback has been provided.
	Feedback OptFeedbackResponseModel `json:"feedback"`
	// The ID of the history item.
	HistoryItemID string `json:"history_item_id"`
	// The ID of the model.
	ModelID OptNilString `json:"model_id"`
	// The ID of the request.
	RequestID OptNilString `json:"request_id"`
	// The settings of the history item.
	Settings OptSpeechHistoryItemResponseModelSettings `json:"settings"`
	// The ID of the share link.
	ShareLinkID OptNilString `json:"share_link_id"`
	// The source of the history item. Either TTS (text to speech), STS (speech to text), AN (audio
	// native), Projects, Dubbing, PlayAPI, PD (pronunciation dictionary) or ConvAI (Agents Platform).
	Source OptNilSpeechHistoryItemResponseModelSource `json:"source"`
	// The state of the history item.
	State SpeechHistoryItemResponseModelState `json:"state"`
	// The text used to generate the audio item.
	Text OptNilString `json:"text"`
	// The category of the voice. Either 'premade', 'cloned', 'generated' or 'professional'.
	VoiceCategory OptNilSpeechHistoryItemResponseModelVoiceCategory `json:"voice_category"`
	// The ID of the voice used.
	VoiceID OptNilString `json:"voice_id"`
	// The name of the voice.
	VoiceName OptNilString `json:"voice_name"`
}

Ref: #/components/schemas/SpeechHistoryItemResponseModel

func (*SpeechHistoryItemResponseModel) Decode

Decode decodes SpeechHistoryItemResponseModel from json.

func (*SpeechHistoryItemResponseModel) Encode

Encode implements json.Marshaler.

func (*SpeechHistoryItemResponseModel) GetAlignments

GetAlignments returns the value of Alignments.

func (*SpeechHistoryItemResponseModel) GetCharacterCountChangeFrom

func (s *SpeechHistoryItemResponseModel) GetCharacterCountChangeFrom() int

GetCharacterCountChangeFrom returns the value of CharacterCountChangeFrom.

func (*SpeechHistoryItemResponseModel) GetCharacterCountChangeTo

func (s *SpeechHistoryItemResponseModel) GetCharacterCountChangeTo() int

GetCharacterCountChangeTo returns the value of CharacterCountChangeTo.

func (*SpeechHistoryItemResponseModel) GetContentType

func (s *SpeechHistoryItemResponseModel) GetContentType() string

GetContentType returns the value of ContentType.

func (*SpeechHistoryItemResponseModel) GetDateUnix

func (s *SpeechHistoryItemResponseModel) GetDateUnix() int

GetDateUnix returns the value of DateUnix.

func (*SpeechHistoryItemResponseModel) GetDialogue

GetDialogue returns the value of Dialogue.

func (*SpeechHistoryItemResponseModel) GetFeedback

GetFeedback returns the value of Feedback.

func (*SpeechHistoryItemResponseModel) GetHistoryItemID

func (s *SpeechHistoryItemResponseModel) GetHistoryItemID() string

GetHistoryItemID returns the value of HistoryItemID.

func (*SpeechHistoryItemResponseModel) GetModelID

GetModelID returns the value of ModelID.

func (*SpeechHistoryItemResponseModel) GetRequestID

func (s *SpeechHistoryItemResponseModel) GetRequestID() OptNilString

GetRequestID returns the value of RequestID.

func (*SpeechHistoryItemResponseModel) GetSettings

GetSettings returns the value of Settings.

func (*SpeechHistoryItemResponseModel) GetShareLinkID

func (s *SpeechHistoryItemResponseModel) GetShareLinkID() OptNilString

GetShareLinkID returns the value of ShareLinkID.

func (*SpeechHistoryItemResponseModel) GetSource

GetSource returns the value of Source.

func (*SpeechHistoryItemResponseModel) GetState

GetState returns the value of State.

func (*SpeechHistoryItemResponseModel) GetText

GetText returns the value of Text.

func (*SpeechHistoryItemResponseModel) GetVoiceCategory

GetVoiceCategory returns the value of VoiceCategory.

func (*SpeechHistoryItemResponseModel) GetVoiceID

GetVoiceID returns the value of VoiceID.

func (*SpeechHistoryItemResponseModel) GetVoiceName

func (s *SpeechHistoryItemResponseModel) GetVoiceName() OptNilString

GetVoiceName returns the value of VoiceName.

func (*SpeechHistoryItemResponseModel) MarshalJSON

func (s *SpeechHistoryItemResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpeechHistoryItemResponseModel) SetAlignments

SetAlignments sets the value of Alignments.

func (*SpeechHistoryItemResponseModel) SetCharacterCountChangeFrom

func (s *SpeechHistoryItemResponseModel) SetCharacterCountChangeFrom(val int)

SetCharacterCountChangeFrom sets the value of CharacterCountChangeFrom.

func (*SpeechHistoryItemResponseModel) SetCharacterCountChangeTo

func (s *SpeechHistoryItemResponseModel) SetCharacterCountChangeTo(val int)

SetCharacterCountChangeTo sets the value of CharacterCountChangeTo.

func (*SpeechHistoryItemResponseModel) SetContentType

func (s *SpeechHistoryItemResponseModel) SetContentType(val string)

SetContentType sets the value of ContentType.

func (*SpeechHistoryItemResponseModel) SetDateUnix

func (s *SpeechHistoryItemResponseModel) SetDateUnix(val int)

SetDateUnix sets the value of DateUnix.

func (*SpeechHistoryItemResponseModel) SetDialogue

SetDialogue sets the value of Dialogue.

func (*SpeechHistoryItemResponseModel) SetFeedback

SetFeedback sets the value of Feedback.

func (*SpeechHistoryItemResponseModel) SetHistoryItemID

func (s *SpeechHistoryItemResponseModel) SetHistoryItemID(val string)

SetHistoryItemID sets the value of HistoryItemID.

func (*SpeechHistoryItemResponseModel) SetModelID

func (s *SpeechHistoryItemResponseModel) SetModelID(val OptNilString)

SetModelID sets the value of ModelID.

func (*SpeechHistoryItemResponseModel) SetRequestID

func (s *SpeechHistoryItemResponseModel) SetRequestID(val OptNilString)

SetRequestID sets the value of RequestID.

func (*SpeechHistoryItemResponseModel) SetSettings

SetSettings sets the value of Settings.

func (*SpeechHistoryItemResponseModel) SetShareLinkID

func (s *SpeechHistoryItemResponseModel) SetShareLinkID(val OptNilString)

SetShareLinkID sets the value of ShareLinkID.

func (*SpeechHistoryItemResponseModel) SetSource

SetSource sets the value of Source.

func (*SpeechHistoryItemResponseModel) SetState

SetState sets the value of State.

func (*SpeechHistoryItemResponseModel) SetText

SetText sets the value of Text.

func (*SpeechHistoryItemResponseModel) SetVoiceCategory

SetVoiceCategory sets the value of VoiceCategory.

func (*SpeechHistoryItemResponseModel) SetVoiceID

func (s *SpeechHistoryItemResponseModel) SetVoiceID(val OptNilString)

SetVoiceID sets the value of VoiceID.

func (*SpeechHistoryItemResponseModel) SetVoiceName

func (s *SpeechHistoryItemResponseModel) SetVoiceName(val OptNilString)

SetVoiceName sets the value of VoiceName.

func (*SpeechHistoryItemResponseModel) UnmarshalJSON

func (s *SpeechHistoryItemResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpeechHistoryItemResponseModel) Validate

func (s *SpeechHistoryItemResponseModel) Validate() error

type SpeechHistoryItemResponseModelSettings

type SpeechHistoryItemResponseModelSettings struct{}

The settings of the history item.

func (*SpeechHistoryItemResponseModelSettings) Decode

Decode decodes SpeechHistoryItemResponseModelSettings from json.

func (*SpeechHistoryItemResponseModelSettings) Encode

Encode implements json.Marshaler.

func (*SpeechHistoryItemResponseModelSettings) MarshalJSON

func (s *SpeechHistoryItemResponseModelSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpeechHistoryItemResponseModelSettings) UnmarshalJSON

func (s *SpeechHistoryItemResponseModelSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SpeechHistoryItemResponseModelSource

type SpeechHistoryItemResponseModelSource string

The source of the history item. Either TTS (text to speech), STS (speech to text), AN (audio native), Projects, Dubbing, PlayAPI, PD (pronunciation dictionary) or ConvAI (Agents Platform).

const (
	SpeechHistoryItemResponseModelSourceTTS             SpeechHistoryItemResponseModelSource = "TTS"
	SpeechHistoryItemResponseModelSourceSTS             SpeechHistoryItemResponseModelSource = "STS"
	SpeechHistoryItemResponseModelSourceProjects        SpeechHistoryItemResponseModelSource = "Projects"
	SpeechHistoryItemResponseModelSourcePD              SpeechHistoryItemResponseModelSource = "PD"
	SpeechHistoryItemResponseModelSourceAN              SpeechHistoryItemResponseModelSource = "AN"
	SpeechHistoryItemResponseModelSourceDubbing         SpeechHistoryItemResponseModelSource = "Dubbing"
	SpeechHistoryItemResponseModelSourcePlayAPI         SpeechHistoryItemResponseModelSource = "PlayAPI"
	SpeechHistoryItemResponseModelSourceConvAI          SpeechHistoryItemResponseModelSource = "ConvAI"
	SpeechHistoryItemResponseModelSourceVoiceGeneration SpeechHistoryItemResponseModelSource = "VoiceGeneration"
)

func (SpeechHistoryItemResponseModelSource) AllValues

AllValues returns all SpeechHistoryItemResponseModelSource values.

func (*SpeechHistoryItemResponseModelSource) Decode

Decode decodes SpeechHistoryItemResponseModelSource from json.

func (SpeechHistoryItemResponseModelSource) Encode

Encode encodes SpeechHistoryItemResponseModelSource as json.

func (SpeechHistoryItemResponseModelSource) MarshalJSON

func (s SpeechHistoryItemResponseModelSource) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SpeechHistoryItemResponseModelSource) MarshalText

func (s SpeechHistoryItemResponseModelSource) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SpeechHistoryItemResponseModelSource) UnmarshalJSON

func (s *SpeechHistoryItemResponseModelSource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpeechHistoryItemResponseModelSource) UnmarshalText

func (s *SpeechHistoryItemResponseModelSource) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SpeechHistoryItemResponseModelSource) Validate

type SpeechHistoryItemResponseModelState

type SpeechHistoryItemResponseModelState string

The state of the history item.

const (
	SpeechHistoryItemResponseModelStateCreated    SpeechHistoryItemResponseModelState = "created"
	SpeechHistoryItemResponseModelStateDeleted    SpeechHistoryItemResponseModelState = "deleted"
	SpeechHistoryItemResponseModelStateProcessing SpeechHistoryItemResponseModelState = "processing"
)

func (SpeechHistoryItemResponseModelState) AllValues

AllValues returns all SpeechHistoryItemResponseModelState values.

func (*SpeechHistoryItemResponseModelState) Decode

Decode decodes SpeechHistoryItemResponseModelState from json.

func (SpeechHistoryItemResponseModelState) Encode

Encode encodes SpeechHistoryItemResponseModelState as json.

func (SpeechHistoryItemResponseModelState) MarshalJSON

func (s SpeechHistoryItemResponseModelState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SpeechHistoryItemResponseModelState) MarshalText

func (s SpeechHistoryItemResponseModelState) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SpeechHistoryItemResponseModelState) UnmarshalJSON

func (s *SpeechHistoryItemResponseModelState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpeechHistoryItemResponseModelState) UnmarshalText

func (s *SpeechHistoryItemResponseModelState) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SpeechHistoryItemResponseModelState) Validate

type SpeechHistoryItemResponseModelVoiceCategory

type SpeechHistoryItemResponseModelVoiceCategory string

The category of the voice. Either 'premade', 'cloned', 'generated' or 'professional'.

const (
	SpeechHistoryItemResponseModelVoiceCategoryPremade      SpeechHistoryItemResponseModelVoiceCategory = "premade"
	SpeechHistoryItemResponseModelVoiceCategoryCloned       SpeechHistoryItemResponseModelVoiceCategory = "cloned"
	SpeechHistoryItemResponseModelVoiceCategoryGenerated    SpeechHistoryItemResponseModelVoiceCategory = "generated"
	SpeechHistoryItemResponseModelVoiceCategoryProfessional SpeechHistoryItemResponseModelVoiceCategory = "professional"
)

func (SpeechHistoryItemResponseModelVoiceCategory) AllValues

AllValues returns all SpeechHistoryItemResponseModelVoiceCategory values.

func (*SpeechHistoryItemResponseModelVoiceCategory) Decode

Decode decodes SpeechHistoryItemResponseModelVoiceCategory from json.

func (SpeechHistoryItemResponseModelVoiceCategory) Encode

Encode encodes SpeechHistoryItemResponseModelVoiceCategory as json.

func (SpeechHistoryItemResponseModelVoiceCategory) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (SpeechHistoryItemResponseModelVoiceCategory) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*SpeechHistoryItemResponseModelVoiceCategory) UnmarshalJSON

func (s *SpeechHistoryItemResponseModelVoiceCategory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpeechHistoryItemResponseModelVoiceCategory) UnmarshalText

func (s *SpeechHistoryItemResponseModelVoiceCategory) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SpeechHistoryItemResponseModelVoiceCategory) Validate

type SpeechToSpeechFullOK

type SpeechToSpeechFullOK struct {
	Data io.Reader
}

func (SpeechToSpeechFullOK) Read

func (s SpeechToSpeechFullOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type SpeechToSpeechFullOutputFormat

type SpeechToSpeechFullOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	SpeechToSpeechFullOutputFormatMp32205032   SpeechToSpeechFullOutputFormat = "mp3_22050_32"
	SpeechToSpeechFullOutputFormatMp32400048   SpeechToSpeechFullOutputFormat = "mp3_24000_48"
	SpeechToSpeechFullOutputFormatMp34410032   SpeechToSpeechFullOutputFormat = "mp3_44100_32"
	SpeechToSpeechFullOutputFormatMp34410064   SpeechToSpeechFullOutputFormat = "mp3_44100_64"
	SpeechToSpeechFullOutputFormatMp34410096   SpeechToSpeechFullOutputFormat = "mp3_44100_96"
	SpeechToSpeechFullOutputFormatMp344100128  SpeechToSpeechFullOutputFormat = "mp3_44100_128"
	SpeechToSpeechFullOutputFormatMp344100192  SpeechToSpeechFullOutputFormat = "mp3_44100_192"
	SpeechToSpeechFullOutputFormatPcm8000      SpeechToSpeechFullOutputFormat = "pcm_8000"
	SpeechToSpeechFullOutputFormatPcm16000     SpeechToSpeechFullOutputFormat = "pcm_16000"
	SpeechToSpeechFullOutputFormatPcm22050     SpeechToSpeechFullOutputFormat = "pcm_22050"
	SpeechToSpeechFullOutputFormatPcm24000     SpeechToSpeechFullOutputFormat = "pcm_24000"
	SpeechToSpeechFullOutputFormatPcm32000     SpeechToSpeechFullOutputFormat = "pcm_32000"
	SpeechToSpeechFullOutputFormatPcm44100     SpeechToSpeechFullOutputFormat = "pcm_44100"
	SpeechToSpeechFullOutputFormatPcm48000     SpeechToSpeechFullOutputFormat = "pcm_48000"
	SpeechToSpeechFullOutputFormatUlaw8000     SpeechToSpeechFullOutputFormat = "ulaw_8000"
	SpeechToSpeechFullOutputFormatAlaw8000     SpeechToSpeechFullOutputFormat = "alaw_8000"
	SpeechToSpeechFullOutputFormatOpus4800032  SpeechToSpeechFullOutputFormat = "opus_48000_32"
	SpeechToSpeechFullOutputFormatOpus4800064  SpeechToSpeechFullOutputFormat = "opus_48000_64"
	SpeechToSpeechFullOutputFormatOpus4800096  SpeechToSpeechFullOutputFormat = "opus_48000_96"
	SpeechToSpeechFullOutputFormatOpus48000128 SpeechToSpeechFullOutputFormat = "opus_48000_128"
	SpeechToSpeechFullOutputFormatOpus48000192 SpeechToSpeechFullOutputFormat = "opus_48000_192"
)

func (SpeechToSpeechFullOutputFormat) AllValues

AllValues returns all SpeechToSpeechFullOutputFormat values.

func (SpeechToSpeechFullOutputFormat) MarshalText

func (s SpeechToSpeechFullOutputFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SpeechToSpeechFullOutputFormat) UnmarshalText

func (s *SpeechToSpeechFullOutputFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SpeechToSpeechFullOutputFormat) Validate

type SpeechToSpeechFullParams

type SpeechToSpeechFullParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// When enable_logging is set to false zero retention mode will be used for the request. This will
	// mean history features are unavailable for this request, including request stitching. Zero
	// retention mode may only be used by enterprise customers.
	EnableLogging OptBool `json:",omitempty,omitzero"`
	// You can turn on latency optimizations at some cost of quality. The best possible final latency
	// varies by model. Possible values:
	// 0 - default mode (no latency optimizations)
	// 1 - normal latency optimizations (about 50% of possible latency improvement of option 3)
	// 2 - strong latency optimizations (about 75% of possible latency improvement of option 3)
	// 3 - max latency optimizations
	// 4 - max latency optimizations, but also with text normalizer turned off for even more latency
	// savings (best latency, but can mispronounce eg numbers and dates).
	// Defaults to None.
	//
	// Deprecated: schema marks this parameter as deprecated.
	OptimizeStreamingLatency OptNilInt `json:",omitempty,omitzero"`
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptSpeechToSpeechFullOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

SpeechToSpeechFullParams is parameters of speech_to_speech_full operation.

type SpeechToSpeechFullRes

type SpeechToSpeechFullRes interface {
	// contains filtered or unexported methods
}

type SpeechToSpeechStreamOK

type SpeechToSpeechStreamOK struct {
	Data io.Reader
}

func (SpeechToSpeechStreamOK) Read

func (s SpeechToSpeechStreamOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type SpeechToSpeechStreamOutputFormat

type SpeechToSpeechStreamOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	SpeechToSpeechStreamOutputFormatMp32205032   SpeechToSpeechStreamOutputFormat = "mp3_22050_32"
	SpeechToSpeechStreamOutputFormatMp32400048   SpeechToSpeechStreamOutputFormat = "mp3_24000_48"
	SpeechToSpeechStreamOutputFormatMp34410032   SpeechToSpeechStreamOutputFormat = "mp3_44100_32"
	SpeechToSpeechStreamOutputFormatMp34410064   SpeechToSpeechStreamOutputFormat = "mp3_44100_64"
	SpeechToSpeechStreamOutputFormatMp34410096   SpeechToSpeechStreamOutputFormat = "mp3_44100_96"
	SpeechToSpeechStreamOutputFormatMp344100128  SpeechToSpeechStreamOutputFormat = "mp3_44100_128"
	SpeechToSpeechStreamOutputFormatMp344100192  SpeechToSpeechStreamOutputFormat = "mp3_44100_192"
	SpeechToSpeechStreamOutputFormatPcm8000      SpeechToSpeechStreamOutputFormat = "pcm_8000"
	SpeechToSpeechStreamOutputFormatPcm16000     SpeechToSpeechStreamOutputFormat = "pcm_16000"
	SpeechToSpeechStreamOutputFormatPcm22050     SpeechToSpeechStreamOutputFormat = "pcm_22050"
	SpeechToSpeechStreamOutputFormatPcm24000     SpeechToSpeechStreamOutputFormat = "pcm_24000"
	SpeechToSpeechStreamOutputFormatPcm32000     SpeechToSpeechStreamOutputFormat = "pcm_32000"
	SpeechToSpeechStreamOutputFormatPcm44100     SpeechToSpeechStreamOutputFormat = "pcm_44100"
	SpeechToSpeechStreamOutputFormatPcm48000     SpeechToSpeechStreamOutputFormat = "pcm_48000"
	SpeechToSpeechStreamOutputFormatUlaw8000     SpeechToSpeechStreamOutputFormat = "ulaw_8000"
	SpeechToSpeechStreamOutputFormatAlaw8000     SpeechToSpeechStreamOutputFormat = "alaw_8000"
	SpeechToSpeechStreamOutputFormatOpus4800032  SpeechToSpeechStreamOutputFormat = "opus_48000_32"
	SpeechToSpeechStreamOutputFormatOpus4800064  SpeechToSpeechStreamOutputFormat = "opus_48000_64"
	SpeechToSpeechStreamOutputFormatOpus4800096  SpeechToSpeechStreamOutputFormat = "opus_48000_96"
	SpeechToSpeechStreamOutputFormatOpus48000128 SpeechToSpeechStreamOutputFormat = "opus_48000_128"
	SpeechToSpeechStreamOutputFormatOpus48000192 SpeechToSpeechStreamOutputFormat = "opus_48000_192"
)

func (SpeechToSpeechStreamOutputFormat) AllValues

AllValues returns all SpeechToSpeechStreamOutputFormat values.

func (SpeechToSpeechStreamOutputFormat) MarshalText

func (s SpeechToSpeechStreamOutputFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SpeechToSpeechStreamOutputFormat) UnmarshalText

func (s *SpeechToSpeechStreamOutputFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SpeechToSpeechStreamOutputFormat) Validate

type SpeechToSpeechStreamParams

type SpeechToSpeechStreamParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// When enable_logging is set to false zero retention mode will be used for the request. This will
	// mean history features are unavailable for this request, including request stitching. Zero
	// retention mode may only be used by enterprise customers.
	EnableLogging OptBool `json:",omitempty,omitzero"`
	// You can turn on latency optimizations at some cost of quality. The best possible final latency
	// varies by model. Possible values:
	// 0 - default mode (no latency optimizations)
	// 1 - normal latency optimizations (about 50% of possible latency improvement of option 3)
	// 2 - strong latency optimizations (about 75% of possible latency improvement of option 3)
	// 3 - max latency optimizations
	// 4 - max latency optimizations, but also with text normalizer turned off for even more latency
	// savings (best latency, but can mispronounce eg numbers and dates).
	// Defaults to None.
	//
	// Deprecated: schema marks this parameter as deprecated.
	OptimizeStreamingLatency OptNilInt `json:",omitempty,omitzero"`
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptSpeechToSpeechStreamOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

SpeechToSpeechStreamParams is parameters of speech_to_speech_stream operation.

type SpeechToSpeechStreamRes

type SpeechToSpeechStreamRes interface {
	// contains filtered or unexported methods
}

type SpeechToTextAcceptedApplicationJSON

type SpeechToTextAcceptedApplicationJSON jx.Raw

func (*SpeechToTextAcceptedApplicationJSON) Decode

Decode decodes SpeechToTextAcceptedApplicationJSON from json.

func (SpeechToTextAcceptedApplicationJSON) Encode

Encode encodes SpeechToTextAcceptedApplicationJSON as json.

func (SpeechToTextAcceptedApplicationJSON) MarshalJSON

func (s SpeechToTextAcceptedApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpeechToTextAcceptedApplicationJSON) UnmarshalJSON

func (s *SpeechToTextAcceptedApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SpeechToTextCharacterResponseModel

type SpeechToTextCharacterResponseModel struct {
	// The end time of the character in seconds.
	End OptNilFloat64 `json:"end"`
	// The start time of the character in seconds.
	Start OptNilFloat64 `json:"start"`
	// The character that was transcribed.
	Text string `json:"text"`
}

Ref: #/components/schemas/SpeechToTextCharacterResponseModel

func (*SpeechToTextCharacterResponseModel) Decode

Decode decodes SpeechToTextCharacterResponseModel from json.

func (*SpeechToTextCharacterResponseModel) Encode

Encode implements json.Marshaler.

func (*SpeechToTextCharacterResponseModel) GetEnd

GetEnd returns the value of End.

func (*SpeechToTextCharacterResponseModel) GetStart

GetStart returns the value of Start.

func (*SpeechToTextCharacterResponseModel) GetText

GetText returns the value of Text.

func (*SpeechToTextCharacterResponseModel) MarshalJSON

func (s *SpeechToTextCharacterResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpeechToTextCharacterResponseModel) SetEnd

SetEnd sets the value of End.

func (*SpeechToTextCharacterResponseModel) SetStart

SetStart sets the value of Start.

func (*SpeechToTextCharacterResponseModel) SetText

SetText sets the value of Text.

func (*SpeechToTextCharacterResponseModel) UnmarshalJSON

func (s *SpeechToTextCharacterResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpeechToTextCharacterResponseModel) Validate

type SpeechToTextChunkResponseModel

type SpeechToTextChunkResponseModel struct {
	// Requested additional formats of the transcript.
	AdditionalFormats OptNilAdditionalFormatResponseModelArray `json:"additional_formats"`
	// The channel index this transcript belongs to (for multichannel audio).
	ChannelIndex OptNilInt `json:"channel_index"`
	// The detected language code (e.g. 'eng' for English).
	LanguageCode string `json:"language_code"`
	// The confidence score of the language detection (0 to 1).
	LanguageProbability float64 `json:"language_probability"`
	// The raw text of the transcription.
	Text string `json:"text"`
	// The transcription ID of the response.
	TranscriptionID OptNilString `json:"transcription_id"`
	// List of words with their timing information.
	Words []SpeechToTextWordResponseModel `json:"words"`
}

Chunk-level detail of the transcription with timing information. Ref: #/components/schemas/SpeechToTextChunkResponseModel

func (*SpeechToTextChunkResponseModel) Decode

Decode decodes SpeechToTextChunkResponseModel from json.

func (*SpeechToTextChunkResponseModel) Encode

Encode implements json.Marshaler.

func (*SpeechToTextChunkResponseModel) GetAdditionalFormats

GetAdditionalFormats returns the value of AdditionalFormats.

func (*SpeechToTextChunkResponseModel) GetChannelIndex

func (s *SpeechToTextChunkResponseModel) GetChannelIndex() OptNilInt

GetChannelIndex returns the value of ChannelIndex.

func (*SpeechToTextChunkResponseModel) GetLanguageCode

func (s *SpeechToTextChunkResponseModel) GetLanguageCode() string

GetLanguageCode returns the value of LanguageCode.

func (*SpeechToTextChunkResponseModel) GetLanguageProbability

func (s *SpeechToTextChunkResponseModel) GetLanguageProbability() float64

GetLanguageProbability returns the value of LanguageProbability.

func (*SpeechToTextChunkResponseModel) GetText

GetText returns the value of Text.

func (*SpeechToTextChunkResponseModel) GetTranscriptionID

func (s *SpeechToTextChunkResponseModel) GetTranscriptionID() OptNilString

GetTranscriptionID returns the value of TranscriptionID.

func (*SpeechToTextChunkResponseModel) GetWords

GetWords returns the value of Words.

func (*SpeechToTextChunkResponseModel) MarshalJSON

func (s *SpeechToTextChunkResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpeechToTextChunkResponseModel) SetAdditionalFormats

SetAdditionalFormats sets the value of AdditionalFormats.

func (*SpeechToTextChunkResponseModel) SetChannelIndex

func (s *SpeechToTextChunkResponseModel) SetChannelIndex(val OptNilInt)

SetChannelIndex sets the value of ChannelIndex.

func (*SpeechToTextChunkResponseModel) SetLanguageCode

func (s *SpeechToTextChunkResponseModel) SetLanguageCode(val string)

SetLanguageCode sets the value of LanguageCode.

func (*SpeechToTextChunkResponseModel) SetLanguageProbability

func (s *SpeechToTextChunkResponseModel) SetLanguageProbability(val float64)

SetLanguageProbability sets the value of LanguageProbability.

func (*SpeechToTextChunkResponseModel) SetText

func (s *SpeechToTextChunkResponseModel) SetText(val string)

SetText sets the value of Text.

func (*SpeechToTextChunkResponseModel) SetTranscriptionID

func (s *SpeechToTextChunkResponseModel) SetTranscriptionID(val OptNilString)

SetTranscriptionID sets the value of TranscriptionID.

func (*SpeechToTextChunkResponseModel) SetWords

SetWords sets the value of Words.

func (*SpeechToTextChunkResponseModel) UnmarshalJSON

func (s *SpeechToTextChunkResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpeechToTextChunkResponseModel) Validate

func (s *SpeechToTextChunkResponseModel) Validate() error

type SpeechToTextOK

type SpeechToTextOK struct {
	Type                                  SpeechToTextOKType // switch on this field
	SpeechToTextChunkResponseModel        SpeechToTextChunkResponseModel
	MultichannelSpeechToTextResponseModel MultichannelSpeechToTextResponseModel
}

SpeechToTextOK represents sum type.

func NewMultichannelSpeechToTextResponseModelSpeechToTextOK

func NewMultichannelSpeechToTextResponseModelSpeechToTextOK(v MultichannelSpeechToTextResponseModel) SpeechToTextOK

NewMultichannelSpeechToTextResponseModelSpeechToTextOK returns new SpeechToTextOK from MultichannelSpeechToTextResponseModel.

func NewSpeechToTextChunkResponseModelSpeechToTextOK

func NewSpeechToTextChunkResponseModelSpeechToTextOK(v SpeechToTextChunkResponseModel) SpeechToTextOK

NewSpeechToTextChunkResponseModelSpeechToTextOK returns new SpeechToTextOK from SpeechToTextChunkResponseModel.

func (*SpeechToTextOK) Decode

func (s *SpeechToTextOK) Decode(d *jx.Decoder) error

Decode decodes SpeechToTextOK from json.

func (SpeechToTextOK) Encode

func (s SpeechToTextOK) Encode(e *jx.Encoder)

Encode encodes SpeechToTextOK as json.

func (SpeechToTextOK) GetMultichannelSpeechToTextResponseModel

func (s SpeechToTextOK) GetMultichannelSpeechToTextResponseModel() (v MultichannelSpeechToTextResponseModel, ok bool)

GetMultichannelSpeechToTextResponseModel returns MultichannelSpeechToTextResponseModel and true boolean if SpeechToTextOK is MultichannelSpeechToTextResponseModel.

func (SpeechToTextOK) GetSpeechToTextChunkResponseModel

func (s SpeechToTextOK) GetSpeechToTextChunkResponseModel() (v SpeechToTextChunkResponseModel, ok bool)

GetSpeechToTextChunkResponseModel returns SpeechToTextChunkResponseModel and true boolean if SpeechToTextOK is SpeechToTextChunkResponseModel.

func (SpeechToTextOK) IsMultichannelSpeechToTextResponseModel

func (s SpeechToTextOK) IsMultichannelSpeechToTextResponseModel() bool

IsMultichannelSpeechToTextResponseModel reports whether SpeechToTextOK is MultichannelSpeechToTextResponseModel.

func (SpeechToTextOK) IsSpeechToTextChunkResponseModel

func (s SpeechToTextOK) IsSpeechToTextChunkResponseModel() bool

IsSpeechToTextChunkResponseModel reports whether SpeechToTextOK is SpeechToTextChunkResponseModel.

func (SpeechToTextOK) MarshalJSON

func (s SpeechToTextOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpeechToTextOK) SetMultichannelSpeechToTextResponseModel

func (s *SpeechToTextOK) SetMultichannelSpeechToTextResponseModel(v MultichannelSpeechToTextResponseModel)

SetMultichannelSpeechToTextResponseModel sets SpeechToTextOK to MultichannelSpeechToTextResponseModel.

func (*SpeechToTextOK) SetSpeechToTextChunkResponseModel

func (s *SpeechToTextOK) SetSpeechToTextChunkResponseModel(v SpeechToTextChunkResponseModel)

SetSpeechToTextChunkResponseModel sets SpeechToTextOK to SpeechToTextChunkResponseModel.

func (*SpeechToTextOK) UnmarshalJSON

func (s *SpeechToTextOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (SpeechToTextOK) Validate

func (s SpeechToTextOK) Validate() error

type SpeechToTextOKType

type SpeechToTextOKType string

SpeechToTextOKType is oneOf type of SpeechToTextOK.

const (
	SpeechToTextChunkResponseModelSpeechToTextOK        SpeechToTextOKType = "SpeechToTextChunkResponseModel"
	MultichannelSpeechToTextResponseModelSpeechToTextOK SpeechToTextOKType = "MultichannelSpeechToTextResponseModel"
)

Possible values for SpeechToTextOKType.

type SpeechToTextParams

type SpeechToTextParams struct {
	// When enable_logging is set to false zero retention mode will be used for the request. This will
	// mean log and transcript storage features are unavailable for this request. Zero retention mode may
	// only be used by enterprise customers.
	EnableLogging OptBool `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

SpeechToTextParams is parameters of speech_to_text operation.

type SpeechToTextRes

type SpeechToTextRes interface {
	// contains filtered or unexported methods
}

type SpeechToTextWordResponseModel

type SpeechToTextWordResponseModel struct {
	// The characters that make up the word and their timing information.
	Characters OptNilSpeechToTextCharacterResponseModelArray `json:"characters"`
	// The end time of the word or sound in seconds.
	End OptNilFloat64 `json:"end"`
	// The log of the probability with which this word was predicted. Logprobs are in range [-infinity,
	// 0], higher logprobs indicate a higher confidence the model has in its predictions.
	Logprob float64 `json:"logprob"`
	// Unique identifier for the speaker of this word.
	SpeakerID OptNilString `json:"speaker_id"`
	// The start time of the word or sound in seconds.
	Start OptNilFloat64 `json:"start"`
	// The word or sound that was transcribed.
	Text string `json:"text"`
	// The type of the word or sound. 'audio_event' is used for non-word sounds like laughter or
	// footsteps.
	Type SpeechToTextWordResponseModelType `json:"type"`
}

Word-level detail of the transcription with timing information. Ref: #/components/schemas/SpeechToTextWordResponseModel

func (*SpeechToTextWordResponseModel) Decode

Decode decodes SpeechToTextWordResponseModel from json.

func (*SpeechToTextWordResponseModel) Encode

Encode implements json.Marshaler.

func (*SpeechToTextWordResponseModel) GetCharacters

GetCharacters returns the value of Characters.

func (*SpeechToTextWordResponseModel) GetEnd

GetEnd returns the value of End.

func (*SpeechToTextWordResponseModel) GetLogprob

func (s *SpeechToTextWordResponseModel) GetLogprob() float64

GetLogprob returns the value of Logprob.

func (*SpeechToTextWordResponseModel) GetSpeakerID

func (s *SpeechToTextWordResponseModel) GetSpeakerID() OptNilString

GetSpeakerID returns the value of SpeakerID.

func (*SpeechToTextWordResponseModel) GetStart

GetStart returns the value of Start.

func (*SpeechToTextWordResponseModel) GetText

GetText returns the value of Text.

func (*SpeechToTextWordResponseModel) GetType

GetType returns the value of Type.

func (*SpeechToTextWordResponseModel) MarshalJSON

func (s *SpeechToTextWordResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpeechToTextWordResponseModel) SetCharacters

SetCharacters sets the value of Characters.

func (*SpeechToTextWordResponseModel) SetEnd

SetEnd sets the value of End.

func (*SpeechToTextWordResponseModel) SetLogprob

func (s *SpeechToTextWordResponseModel) SetLogprob(val float64)

SetLogprob sets the value of Logprob.

func (*SpeechToTextWordResponseModel) SetSpeakerID

func (s *SpeechToTextWordResponseModel) SetSpeakerID(val OptNilString)

SetSpeakerID sets the value of SpeakerID.

func (*SpeechToTextWordResponseModel) SetStart

SetStart sets the value of Start.

func (*SpeechToTextWordResponseModel) SetText

func (s *SpeechToTextWordResponseModel) SetText(val string)

SetText sets the value of Text.

func (*SpeechToTextWordResponseModel) SetType

SetType sets the value of Type.

func (*SpeechToTextWordResponseModel) UnmarshalJSON

func (s *SpeechToTextWordResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpeechToTextWordResponseModel) Validate

func (s *SpeechToTextWordResponseModel) Validate() error

type SpeechToTextWordResponseModelType

type SpeechToTextWordResponseModelType string

The type of the word or sound. 'audio_event' is used for non-word sounds like laughter or footsteps.

const (
	SpeechToTextWordResponseModelTypeWord       SpeechToTextWordResponseModelType = "word"
	SpeechToTextWordResponseModelTypeSpacing    SpeechToTextWordResponseModelType = "spacing"
	SpeechToTextWordResponseModelTypeAudioEvent SpeechToTextWordResponseModelType = "audio_event"
)

func (SpeechToTextWordResponseModelType) AllValues

AllValues returns all SpeechToTextWordResponseModelType values.

func (*SpeechToTextWordResponseModelType) Decode

Decode decodes SpeechToTextWordResponseModelType from json.

func (SpeechToTextWordResponseModelType) Encode

Encode encodes SpeechToTextWordResponseModelType as json.

func (SpeechToTextWordResponseModelType) MarshalJSON

func (s SpeechToTextWordResponseModelType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SpeechToTextWordResponseModelType) MarshalText

func (s SpeechToTextWordResponseModelType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SpeechToTextWordResponseModelType) UnmarshalJSON

func (s *SpeechToTextWordResponseModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpeechToTextWordResponseModelType) UnmarshalText

func (s *SpeechToTextWordResponseModelType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SpeechToTextWordResponseModelType) Validate

type SrtExportOptions

type SrtExportOptions struct {
	Format                      SrtExportOptionsFormat `json:"format"`
	IncludeSpeakers             OptBool                `json:"include_speakers"`
	IncludeTimestamps           OptBool                `json:"include_timestamps"`
	MaxCharactersPerLine        OptNilInt              `json:"max_characters_per_line"`
	MaxSegmentChars             OptNilInt              `json:"max_segment_chars"`
	MaxSegmentDurationS         OptNilFloat64          `json:"max_segment_duration_s"`
	SegmentOnSilenceLongerThanS OptNilFloat64          `json:"segment_on_silence_longer_than_s"`
}

Ref: #/components/schemas/SrtExportOptions

func (*SrtExportOptions) Decode

func (s *SrtExportOptions) Decode(d *jx.Decoder) error

Decode decodes SrtExportOptions from json.

func (*SrtExportOptions) Encode

func (s *SrtExportOptions) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SrtExportOptions) GetFormat

GetFormat returns the value of Format.

func (*SrtExportOptions) GetIncludeSpeakers

func (s *SrtExportOptions) GetIncludeSpeakers() OptBool

GetIncludeSpeakers returns the value of IncludeSpeakers.

func (*SrtExportOptions) GetIncludeTimestamps

func (s *SrtExportOptions) GetIncludeTimestamps() OptBool

GetIncludeTimestamps returns the value of IncludeTimestamps.

func (*SrtExportOptions) GetMaxCharactersPerLine

func (s *SrtExportOptions) GetMaxCharactersPerLine() OptNilInt

GetMaxCharactersPerLine returns the value of MaxCharactersPerLine.

func (*SrtExportOptions) GetMaxSegmentChars

func (s *SrtExportOptions) GetMaxSegmentChars() OptNilInt

GetMaxSegmentChars returns the value of MaxSegmentChars.

func (*SrtExportOptions) GetMaxSegmentDurationS

func (s *SrtExportOptions) GetMaxSegmentDurationS() OptNilFloat64

GetMaxSegmentDurationS returns the value of MaxSegmentDurationS.

func (*SrtExportOptions) GetSegmentOnSilenceLongerThanS

func (s *SrtExportOptions) GetSegmentOnSilenceLongerThanS() OptNilFloat64

GetSegmentOnSilenceLongerThanS returns the value of SegmentOnSilenceLongerThanS.

func (*SrtExportOptions) MarshalJSON

func (s *SrtExportOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SrtExportOptions) SetFormat

func (s *SrtExportOptions) SetFormat(val SrtExportOptionsFormat)

SetFormat sets the value of Format.

func (*SrtExportOptions) SetIncludeSpeakers

func (s *SrtExportOptions) SetIncludeSpeakers(val OptBool)

SetIncludeSpeakers sets the value of IncludeSpeakers.

func (*SrtExportOptions) SetIncludeTimestamps

func (s *SrtExportOptions) SetIncludeTimestamps(val OptBool)

SetIncludeTimestamps sets the value of IncludeTimestamps.

func (*SrtExportOptions) SetMaxCharactersPerLine

func (s *SrtExportOptions) SetMaxCharactersPerLine(val OptNilInt)

SetMaxCharactersPerLine sets the value of MaxCharactersPerLine.

func (*SrtExportOptions) SetMaxSegmentChars

func (s *SrtExportOptions) SetMaxSegmentChars(val OptNilInt)

SetMaxSegmentChars sets the value of MaxSegmentChars.

func (*SrtExportOptions) SetMaxSegmentDurationS

func (s *SrtExportOptions) SetMaxSegmentDurationS(val OptNilFloat64)

SetMaxSegmentDurationS sets the value of MaxSegmentDurationS.

func (*SrtExportOptions) SetSegmentOnSilenceLongerThanS

func (s *SrtExportOptions) SetSegmentOnSilenceLongerThanS(val OptNilFloat64)

SetSegmentOnSilenceLongerThanS sets the value of SegmentOnSilenceLongerThanS.

func (*SrtExportOptions) UnmarshalJSON

func (s *SrtExportOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SrtExportOptions) Validate

func (s *SrtExportOptions) Validate() error

type SrtExportOptionsFormat

type SrtExportOptionsFormat string
const (
	SrtExportOptionsFormatSrt SrtExportOptionsFormat = "srt"
)

func (SrtExportOptionsFormat) AllValues

AllValues returns all SrtExportOptionsFormat values.

func (*SrtExportOptionsFormat) Decode

func (s *SrtExportOptionsFormat) Decode(d *jx.Decoder) error

Decode decodes SrtExportOptionsFormat from json.

func (SrtExportOptionsFormat) Encode

func (s SrtExportOptionsFormat) Encode(e *jx.Encoder)

Encode encodes SrtExportOptionsFormat as json.

func (SrtExportOptionsFormat) MarshalJSON

func (s SrtExportOptionsFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SrtExportOptionsFormat) MarshalText

func (s SrtExportOptionsFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SrtExportOptionsFormat) UnmarshalJSON

func (s *SrtExportOptionsFormat) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SrtExportOptionsFormat) UnmarshalText

func (s *SrtExportOptionsFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SrtExportOptionsFormat) Validate

func (s SrtExportOptionsFormat) Validate() error

type StartPVCVoiceTrainingResponseModel

type StartPVCVoiceTrainingResponseModel struct {
	// The status of the start PVC voice training request. If the request was successful, the status will
	// be 'ok'. Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/StartPVCVoiceTrainingResponseModel

func (*StartPVCVoiceTrainingResponseModel) Decode

Decode decodes StartPVCVoiceTrainingResponseModel from json.

func (*StartPVCVoiceTrainingResponseModel) Encode

Encode implements json.Marshaler.

func (*StartPVCVoiceTrainingResponseModel) GetStatus

GetStatus returns the value of Status.

func (*StartPVCVoiceTrainingResponseModel) MarshalJSON

func (s *StartPVCVoiceTrainingResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StartPVCVoiceTrainingResponseModel) SetStatus

func (s *StartPVCVoiceTrainingResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*StartPVCVoiceTrainingResponseModel) UnmarshalJSON

func (s *StartPVCVoiceTrainingResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StartSpeakerSeparationParams

type StartSpeakerSeparationParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Sample ID to be used.
	SampleID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

StartSpeakerSeparationParams is parameters of start_speaker_separation operation.

type StartSpeakerSeparationRes

type StartSpeakerSeparationRes interface {
	// contains filtered or unexported methods
}

type StartSpeakerSeparationResponseModel

type StartSpeakerSeparationResponseModel struct {
	// The status of the start speaker seperation request. If the request was successful, the status will
	// be 'ok'. Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/StartSpeakerSeparationResponseModel

func (*StartSpeakerSeparationResponseModel) Decode

Decode decodes StartSpeakerSeparationResponseModel from json.

func (*StartSpeakerSeparationResponseModel) Encode

Encode implements json.Marshaler.

func (*StartSpeakerSeparationResponseModel) GetStatus

GetStatus returns the value of Status.

func (*StartSpeakerSeparationResponseModel) MarshalJSON

func (s *StartSpeakerSeparationResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StartSpeakerSeparationResponseModel) SetStatus

func (s *StartSpeakerSeparationResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*StartSpeakerSeparationResponseModel) UnmarshalJSON

func (s *StartSpeakerSeparationResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StreamChapterSnapshotAudioOK

type StreamChapterSnapshotAudioOK struct {
	Data io.Reader
}

func (StreamChapterSnapshotAudioOK) Read

func (s StreamChapterSnapshotAudioOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type StreamChapterSnapshotAudioParams

type StreamChapterSnapshotAudioParams struct {
	// The ID of the Studio project.
	ProjectID string
	// The ID of the chapter.
	ChapterID string
	// The ID of the chapter snapshot.
	ChapterSnapshotID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

StreamChapterSnapshotAudioParams is parameters of stream_chapter_snapshot_audio operation.

type StreamChapterSnapshotAudioRes

type StreamChapterSnapshotAudioRes interface {
	// contains filtered or unexported methods
}

type StreamComposeOK

type StreamComposeOK struct {
	Data io.Reader
}

func (StreamComposeOK) Read

func (s StreamComposeOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type StreamComposeOKHeaders

type StreamComposeOKHeaders struct {
	ContentType string
	SongID      OptString
	Response    StreamComposeOK
}

StreamComposeOKHeaders wraps StreamComposeOK with response headers.

func (*StreamComposeOKHeaders) GetContentType

func (s *StreamComposeOKHeaders) GetContentType() string

GetContentType returns the value of ContentType.

func (*StreamComposeOKHeaders) GetResponse

func (s *StreamComposeOKHeaders) GetResponse() StreamComposeOK

GetResponse returns the value of Response.

func (*StreamComposeOKHeaders) GetSongID

func (s *StreamComposeOKHeaders) GetSongID() OptString

GetSongID returns the value of SongID.

func (*StreamComposeOKHeaders) SetContentType

func (s *StreamComposeOKHeaders) SetContentType(val string)

SetContentType sets the value of ContentType.

func (*StreamComposeOKHeaders) SetResponse

func (s *StreamComposeOKHeaders) SetResponse(val StreamComposeOK)

SetResponse sets the value of Response.

func (*StreamComposeOKHeaders) SetSongID

func (s *StreamComposeOKHeaders) SetSongID(val OptString)

SetSongID sets the value of SongID.

type StreamComposeOutputFormat

type StreamComposeOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	StreamComposeOutputFormatMp32205032   StreamComposeOutputFormat = "mp3_22050_32"
	StreamComposeOutputFormatMp32400048   StreamComposeOutputFormat = "mp3_24000_48"
	StreamComposeOutputFormatMp34410032   StreamComposeOutputFormat = "mp3_44100_32"
	StreamComposeOutputFormatMp34410064   StreamComposeOutputFormat = "mp3_44100_64"
	StreamComposeOutputFormatMp34410096   StreamComposeOutputFormat = "mp3_44100_96"
	StreamComposeOutputFormatMp344100128  StreamComposeOutputFormat = "mp3_44100_128"
	StreamComposeOutputFormatMp344100192  StreamComposeOutputFormat = "mp3_44100_192"
	StreamComposeOutputFormatPcm8000      StreamComposeOutputFormat = "pcm_8000"
	StreamComposeOutputFormatPcm16000     StreamComposeOutputFormat = "pcm_16000"
	StreamComposeOutputFormatPcm22050     StreamComposeOutputFormat = "pcm_22050"
	StreamComposeOutputFormatPcm24000     StreamComposeOutputFormat = "pcm_24000"
	StreamComposeOutputFormatPcm32000     StreamComposeOutputFormat = "pcm_32000"
	StreamComposeOutputFormatPcm44100     StreamComposeOutputFormat = "pcm_44100"
	StreamComposeOutputFormatPcm48000     StreamComposeOutputFormat = "pcm_48000"
	StreamComposeOutputFormatUlaw8000     StreamComposeOutputFormat = "ulaw_8000"
	StreamComposeOutputFormatAlaw8000     StreamComposeOutputFormat = "alaw_8000"
	StreamComposeOutputFormatOpus4800032  StreamComposeOutputFormat = "opus_48000_32"
	StreamComposeOutputFormatOpus4800064  StreamComposeOutputFormat = "opus_48000_64"
	StreamComposeOutputFormatOpus4800096  StreamComposeOutputFormat = "opus_48000_96"
	StreamComposeOutputFormatOpus48000128 StreamComposeOutputFormat = "opus_48000_128"
	StreamComposeOutputFormatOpus48000192 StreamComposeOutputFormat = "opus_48000_192"
)

func (StreamComposeOutputFormat) AllValues

AllValues returns all StreamComposeOutputFormat values.

func (StreamComposeOutputFormat) MarshalText

func (s StreamComposeOutputFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*StreamComposeOutputFormat) UnmarshalText

func (s *StreamComposeOutputFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (StreamComposeOutputFormat) Validate

func (s StreamComposeOutputFormat) Validate() error

type StreamComposeParams

type StreamComposeParams struct {
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptStreamComposeOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

StreamComposeParams is parameters of stream_compose operation.

type StreamComposeRes

type StreamComposeRes interface {
	// contains filtered or unexported methods
}

type StreamProjectSnapshotArchiveEndpointOK

type StreamProjectSnapshotArchiveEndpointOK struct {
	Data io.Reader
}

func (StreamProjectSnapshotArchiveEndpointOK) Read

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type StreamProjectSnapshotArchiveEndpointParams

type StreamProjectSnapshotArchiveEndpointParams struct {
	// The ID of the Studio project.
	ProjectID string
	// The ID of the Studio project snapshot.
	ProjectSnapshotID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

StreamProjectSnapshotArchiveEndpointParams is parameters of stream_project_snapshot_archive_endpoint operation.

type StreamProjectSnapshotArchiveEndpointRes

type StreamProjectSnapshotArchiveEndpointRes interface {
	// contains filtered or unexported methods
}

type StreamProjectSnapshotAudioEndpointOK

type StreamProjectSnapshotAudioEndpointOK struct{}

StreamProjectSnapshotAudioEndpointOK is response for StreamProjectSnapshotAudioEndpoint operation.

type StreamProjectSnapshotAudioEndpointParams

type StreamProjectSnapshotAudioEndpointParams struct {
	// The ID of the Studio project.
	ProjectID string
	// The ID of the Studio project snapshot.
	ProjectSnapshotID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

StreamProjectSnapshotAudioEndpointParams is parameters of stream_project_snapshot_audio_endpoint operation.

type StreamProjectSnapshotAudioEndpointRes

type StreamProjectSnapshotAudioEndpointRes interface {
	// contains filtered or unexported methods
}

type StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel

type StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel struct {
	// Timestamp information for each character in the original text.
	Alignment OptCharacterAlignmentResponseModel `json:"alignment"`
	// Base64 encoded audio data.
	AudioBase64 string `json:"audio_base64"`
	// Timestamp information for each character in the normalized text.
	NormalizedAlignment OptCharacterAlignmentResponseModel `json:"normalized_alignment"`
	// Voice segments for the audio.
	VoiceSegments []VoiceSegment `json:"voice_segments"`
}

Ref: #/components/schemas/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel

func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) Decode

Decode decodes StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel from json.

func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) Encode

Encode implements json.Marshaler.

func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) GetAlignment

GetAlignment returns the value of Alignment.

func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) GetAudioBase64

GetAudioBase64 returns the value of AudioBase64.

func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) GetNormalizedAlignment

GetNormalizedAlignment returns the value of NormalizedAlignment.

func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) GetVoiceSegments

GetVoiceSegments returns the value of VoiceSegments.

func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) SetAlignment

SetAlignment sets the value of Alignment.

func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) SetAudioBase64

SetAudioBase64 sets the value of AudioBase64.

func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) SetNormalizedAlignment

SetNormalizedAlignment sets the value of NormalizedAlignment.

func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) SetVoiceSegments

SetVoiceSegments sets the value of VoiceSegments.

func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) Validate

type StreamingAudioChunkWithTimestampsResponseModel

type StreamingAudioChunkWithTimestampsResponseModel struct {
	// Timestamp information for each character in the original text.
	Alignment OptCharacterAlignmentResponseModel `json:"alignment"`
	// Base64 encoded audio data.
	AudioBase64 string `json:"audio_base64"`
	// Timestamp information for each character in the normalized text.
	NormalizedAlignment OptCharacterAlignmentResponseModel `json:"normalized_alignment"`
}

Ref: #/components/schemas/StreamingAudioChunkWithTimestampsResponseModel

func (*StreamingAudioChunkWithTimestampsResponseModel) Decode

Decode decodes StreamingAudioChunkWithTimestampsResponseModel from json.

func (*StreamingAudioChunkWithTimestampsResponseModel) Encode

Encode implements json.Marshaler.

func (*StreamingAudioChunkWithTimestampsResponseModel) GetAlignment

GetAlignment returns the value of Alignment.

func (*StreamingAudioChunkWithTimestampsResponseModel) GetAudioBase64

GetAudioBase64 returns the value of AudioBase64.

func (*StreamingAudioChunkWithTimestampsResponseModel) GetNormalizedAlignment

GetNormalizedAlignment returns the value of NormalizedAlignment.

func (*StreamingAudioChunkWithTimestampsResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*StreamingAudioChunkWithTimestampsResponseModel) SetAlignment

SetAlignment sets the value of Alignment.

func (*StreamingAudioChunkWithTimestampsResponseModel) SetAudioBase64

SetAudioBase64 sets the value of AudioBase64.

func (*StreamingAudioChunkWithTimestampsResponseModel) SetNormalizedAlignment

SetNormalizedAlignment sets the value of NormalizedAlignment.

func (*StreamingAudioChunkWithTimestampsResponseModel) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*StreamingAudioChunkWithTimestampsResponseModel) Validate

type SubscriptionResponseModel

type SubscriptionResponseModel struct {
	// Whether the user is allowed to extend their character limit.
	AllowedToExtendCharacterLimit bool `json:"allowed_to_extend_character_limit"`
	// The billing period of the user's subscription.
	BillingPeriod OptBillingPeriod `json:"billing_period"`
	// Whether the user can extend their character limit.
	CanExtendCharacterLimit bool `json:"can_extend_character_limit"`
	// Whether the user can extend their voice limit.
	CanExtendVoiceLimit bool `json:"can_extend_voice_limit"`
	// Whether the user can use instant voice cloning.
	CanUseInstantVoiceCloning bool `json:"can_use_instant_voice_cloning"`
	// Whether the user can use professional voice cloning.
	CanUseProfessionalVoiceCloning bool `json:"can_use_professional_voice_cloning"`
	// The number of characters used by the user.
	CharacterCount int `json:"character_count"`
	// The maximum number of characters allowed in the current billing period.
	CharacterLimit int `json:"character_limit"`
	// The character refresh period of the user's subscription.
	CharacterRefreshPeriod OptCharacterRefreshPeriod `json:"character_refresh_period"`
	// The currency of the user's subscription.
	Currency OptNilSubscriptionResponseModelCurrency `json:"currency"`
	// Maximum number of characters that the character limit can be exceeded by. Managed by the workspace
	// admin.
	MaxCharacterLimitExtension NilInt `json:"max_character_limit_extension"`
	// The maximum number of voice add/edits allowed for the user.
	MaxVoiceAddEdits OptNilInt `json:"max_voice_add_edits"`
	// The Unix timestamp of the next character count reset.
	NextCharacterCountResetUnix OptNilInt `json:"next_character_count_reset_unix"`
	// The maximum number of professional voices allowed for the user.
	ProfessionalVoiceLimit int `json:"professional_voice_limit"`
	// The number of professional voice slots used by the workspace/user if single seat.
	ProfessionalVoiceSlotsUsed int `json:"professional_voice_slots_used"`
	// The status of the user's subscription.
	Status SubscriptionStatusType `json:"status"`
	// The tier of the user's subscription.
	Tier string `json:"tier"`
	// The number of voice add/edits used by the user.
	VoiceAddEditCounter int `json:"voice_add_edit_counter"`
	// The maximum number of voice slots allowed for the user.
	VoiceLimit int `json:"voice_limit"`
	// The number of voice slots used by the user.
	VoiceSlotsUsed int `json:"voice_slots_used"`
}

Ref: #/components/schemas/SubscriptionResponseModel

func (*SubscriptionResponseModel) Decode

func (s *SubscriptionResponseModel) Decode(d *jx.Decoder) error

Decode decodes SubscriptionResponseModel from json.

func (*SubscriptionResponseModel) Encode

func (s *SubscriptionResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SubscriptionResponseModel) GetAllowedToExtendCharacterLimit

func (s *SubscriptionResponseModel) GetAllowedToExtendCharacterLimit() bool

GetAllowedToExtendCharacterLimit returns the value of AllowedToExtendCharacterLimit.

func (*SubscriptionResponseModel) GetBillingPeriod

func (s *SubscriptionResponseModel) GetBillingPeriod() OptBillingPeriod

GetBillingPeriod returns the value of BillingPeriod.

func (*SubscriptionResponseModel) GetCanExtendCharacterLimit

func (s *SubscriptionResponseModel) GetCanExtendCharacterLimit() bool

GetCanExtendCharacterLimit returns the value of CanExtendCharacterLimit.

func (*SubscriptionResponseModel) GetCanExtendVoiceLimit

func (s *SubscriptionResponseModel) GetCanExtendVoiceLimit() bool

GetCanExtendVoiceLimit returns the value of CanExtendVoiceLimit.

func (*SubscriptionResponseModel) GetCanUseInstantVoiceCloning

func (s *SubscriptionResponseModel) GetCanUseInstantVoiceCloning() bool

GetCanUseInstantVoiceCloning returns the value of CanUseInstantVoiceCloning.

func (*SubscriptionResponseModel) GetCanUseProfessionalVoiceCloning

func (s *SubscriptionResponseModel) GetCanUseProfessionalVoiceCloning() bool

GetCanUseProfessionalVoiceCloning returns the value of CanUseProfessionalVoiceCloning.

func (*SubscriptionResponseModel) GetCharacterCount

func (s *SubscriptionResponseModel) GetCharacterCount() int

GetCharacterCount returns the value of CharacterCount.

func (*SubscriptionResponseModel) GetCharacterLimit

func (s *SubscriptionResponseModel) GetCharacterLimit() int

GetCharacterLimit returns the value of CharacterLimit.

func (*SubscriptionResponseModel) GetCharacterRefreshPeriod

func (s *SubscriptionResponseModel) GetCharacterRefreshPeriod() OptCharacterRefreshPeriod

GetCharacterRefreshPeriod returns the value of CharacterRefreshPeriod.

func (*SubscriptionResponseModel) GetCurrency

GetCurrency returns the value of Currency.

func (*SubscriptionResponseModel) GetMaxCharacterLimitExtension

func (s *SubscriptionResponseModel) GetMaxCharacterLimitExtension() NilInt

GetMaxCharacterLimitExtension returns the value of MaxCharacterLimitExtension.

func (*SubscriptionResponseModel) GetMaxVoiceAddEdits

func (s *SubscriptionResponseModel) GetMaxVoiceAddEdits() OptNilInt

GetMaxVoiceAddEdits returns the value of MaxVoiceAddEdits.

func (*SubscriptionResponseModel) GetNextCharacterCountResetUnix

func (s *SubscriptionResponseModel) GetNextCharacterCountResetUnix() OptNilInt

GetNextCharacterCountResetUnix returns the value of NextCharacterCountResetUnix.

func (*SubscriptionResponseModel) GetProfessionalVoiceLimit

func (s *SubscriptionResponseModel) GetProfessionalVoiceLimit() int

GetProfessionalVoiceLimit returns the value of ProfessionalVoiceLimit.

func (*SubscriptionResponseModel) GetProfessionalVoiceSlotsUsed

func (s *SubscriptionResponseModel) GetProfessionalVoiceSlotsUsed() int

GetProfessionalVoiceSlotsUsed returns the value of ProfessionalVoiceSlotsUsed.

func (*SubscriptionResponseModel) GetStatus

GetStatus returns the value of Status.

func (*SubscriptionResponseModel) GetTier

func (s *SubscriptionResponseModel) GetTier() string

GetTier returns the value of Tier.

func (*SubscriptionResponseModel) GetVoiceAddEditCounter

func (s *SubscriptionResponseModel) GetVoiceAddEditCounter() int

GetVoiceAddEditCounter returns the value of VoiceAddEditCounter.

func (*SubscriptionResponseModel) GetVoiceLimit

func (s *SubscriptionResponseModel) GetVoiceLimit() int

GetVoiceLimit returns the value of VoiceLimit.

func (*SubscriptionResponseModel) GetVoiceSlotsUsed

func (s *SubscriptionResponseModel) GetVoiceSlotsUsed() int

GetVoiceSlotsUsed returns the value of VoiceSlotsUsed.

func (*SubscriptionResponseModel) MarshalJSON

func (s *SubscriptionResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SubscriptionResponseModel) SetAllowedToExtendCharacterLimit

func (s *SubscriptionResponseModel) SetAllowedToExtendCharacterLimit(val bool)

SetAllowedToExtendCharacterLimit sets the value of AllowedToExtendCharacterLimit.

func (*SubscriptionResponseModel) SetBillingPeriod

func (s *SubscriptionResponseModel) SetBillingPeriod(val OptBillingPeriod)

SetBillingPeriod sets the value of BillingPeriod.

func (*SubscriptionResponseModel) SetCanExtendCharacterLimit

func (s *SubscriptionResponseModel) SetCanExtendCharacterLimit(val bool)

SetCanExtendCharacterLimit sets the value of CanExtendCharacterLimit.

func (*SubscriptionResponseModel) SetCanExtendVoiceLimit

func (s *SubscriptionResponseModel) SetCanExtendVoiceLimit(val bool)

SetCanExtendVoiceLimit sets the value of CanExtendVoiceLimit.

func (*SubscriptionResponseModel) SetCanUseInstantVoiceCloning

func (s *SubscriptionResponseModel) SetCanUseInstantVoiceCloning(val bool)

SetCanUseInstantVoiceCloning sets the value of CanUseInstantVoiceCloning.

func (*SubscriptionResponseModel) SetCanUseProfessionalVoiceCloning

func (s *SubscriptionResponseModel) SetCanUseProfessionalVoiceCloning(val bool)

SetCanUseProfessionalVoiceCloning sets the value of CanUseProfessionalVoiceCloning.

func (*SubscriptionResponseModel) SetCharacterCount

func (s *SubscriptionResponseModel) SetCharacterCount(val int)

SetCharacterCount sets the value of CharacterCount.

func (*SubscriptionResponseModel) SetCharacterLimit

func (s *SubscriptionResponseModel) SetCharacterLimit(val int)

SetCharacterLimit sets the value of CharacterLimit.

func (*SubscriptionResponseModel) SetCharacterRefreshPeriod

func (s *SubscriptionResponseModel) SetCharacterRefreshPeriod(val OptCharacterRefreshPeriod)

SetCharacterRefreshPeriod sets the value of CharacterRefreshPeriod.

func (*SubscriptionResponseModel) SetCurrency

SetCurrency sets the value of Currency.

func (*SubscriptionResponseModel) SetMaxCharacterLimitExtension

func (s *SubscriptionResponseModel) SetMaxCharacterLimitExtension(val NilInt)

SetMaxCharacterLimitExtension sets the value of MaxCharacterLimitExtension.

func (*SubscriptionResponseModel) SetMaxVoiceAddEdits

func (s *SubscriptionResponseModel) SetMaxVoiceAddEdits(val OptNilInt)

SetMaxVoiceAddEdits sets the value of MaxVoiceAddEdits.

func (*SubscriptionResponseModel) SetNextCharacterCountResetUnix

func (s *SubscriptionResponseModel) SetNextCharacterCountResetUnix(val OptNilInt)

SetNextCharacterCountResetUnix sets the value of NextCharacterCountResetUnix.

func (*SubscriptionResponseModel) SetProfessionalVoiceLimit

func (s *SubscriptionResponseModel) SetProfessionalVoiceLimit(val int)

SetProfessionalVoiceLimit sets the value of ProfessionalVoiceLimit.

func (*SubscriptionResponseModel) SetProfessionalVoiceSlotsUsed

func (s *SubscriptionResponseModel) SetProfessionalVoiceSlotsUsed(val int)

SetProfessionalVoiceSlotsUsed sets the value of ProfessionalVoiceSlotsUsed.

func (*SubscriptionResponseModel) SetStatus

SetStatus sets the value of Status.

func (*SubscriptionResponseModel) SetTier

func (s *SubscriptionResponseModel) SetTier(val string)

SetTier sets the value of Tier.

func (*SubscriptionResponseModel) SetVoiceAddEditCounter

func (s *SubscriptionResponseModel) SetVoiceAddEditCounter(val int)

SetVoiceAddEditCounter sets the value of VoiceAddEditCounter.

func (*SubscriptionResponseModel) SetVoiceLimit

func (s *SubscriptionResponseModel) SetVoiceLimit(val int)

SetVoiceLimit sets the value of VoiceLimit.

func (*SubscriptionResponseModel) SetVoiceSlotsUsed

func (s *SubscriptionResponseModel) SetVoiceSlotsUsed(val int)

SetVoiceSlotsUsed sets the value of VoiceSlotsUsed.

func (*SubscriptionResponseModel) UnmarshalJSON

func (s *SubscriptionResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SubscriptionResponseModel) Validate

func (s *SubscriptionResponseModel) Validate() error

type SubscriptionResponseModelCurrency

type SubscriptionResponseModelCurrency string

The currency of the user's subscription.

const (
	SubscriptionResponseModelCurrencyUsd SubscriptionResponseModelCurrency = "usd"
	SubscriptionResponseModelCurrencyEur SubscriptionResponseModelCurrency = "eur"
	SubscriptionResponseModelCurrencyInr SubscriptionResponseModelCurrency = "inr"
)

func (SubscriptionResponseModelCurrency) AllValues

AllValues returns all SubscriptionResponseModelCurrency values.

func (*SubscriptionResponseModelCurrency) Decode

Decode decodes SubscriptionResponseModelCurrency from json.

func (SubscriptionResponseModelCurrency) Encode

Encode encodes SubscriptionResponseModelCurrency as json.

func (SubscriptionResponseModelCurrency) MarshalJSON

func (s SubscriptionResponseModelCurrency) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SubscriptionResponseModelCurrency) MarshalText

func (s SubscriptionResponseModelCurrency) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SubscriptionResponseModelCurrency) UnmarshalJSON

func (s *SubscriptionResponseModelCurrency) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SubscriptionResponseModelCurrency) UnmarshalText

func (s *SubscriptionResponseModelCurrency) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SubscriptionResponseModelCurrency) Validate

type SubscriptionStatusType

type SubscriptionStatusType string

Ref: #/components/schemas/SubscriptionStatusType

const (
	SubscriptionStatusTypeTrialing     SubscriptionStatusType = "trialing"
	SubscriptionStatusTypeActive       SubscriptionStatusType = "active"
	SubscriptionStatusTypeIncomplete   SubscriptionStatusType = "incomplete"
	SubscriptionStatusTypePastDue      SubscriptionStatusType = "past_due"
	SubscriptionStatusTypeFree         SubscriptionStatusType = "free"
	SubscriptionStatusTypeFreeDisabled SubscriptionStatusType = "free_disabled"
)

func (SubscriptionStatusType) AllValues

AllValues returns all SubscriptionStatusType values.

func (*SubscriptionStatusType) Decode

func (s *SubscriptionStatusType) Decode(d *jx.Decoder) error

Decode decodes SubscriptionStatusType from json.

func (SubscriptionStatusType) Encode

func (s SubscriptionStatusType) Encode(e *jx.Encoder)

Encode encodes SubscriptionStatusType as json.

func (SubscriptionStatusType) MarshalJSON

func (s SubscriptionStatusType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SubscriptionStatusType) MarshalText

func (s SubscriptionStatusType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SubscriptionStatusType) UnmarshalJSON

func (s *SubscriptionStatusType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SubscriptionStatusType) UnmarshalText

func (s *SubscriptionStatusType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SubscriptionStatusType) Validate

func (s SubscriptionStatusType) Validate() error

type TTSConversationalConfigOverride

type TTSConversationalConfigOverride struct {
	// The similarity boost for generated speech.
	SimilarityBoost OptNilFloat64 `json:"similarity_boost"`
	// The speed of generated speech.
	Speed OptNilFloat64 `json:"speed"`
	// The stability of generated speech.
	Stability OptNilFloat64 `json:"stability"`
	// The voice ID to use for TTS.
	VoiceID OptNilString `json:"voice_id"`
}

Ref: #/components/schemas/TTSConversationalConfigOverride

func (*TTSConversationalConfigOverride) Decode

Decode decodes TTSConversationalConfigOverride from json.

func (*TTSConversationalConfigOverride) Encode

Encode implements json.Marshaler.

func (*TTSConversationalConfigOverride) GetSimilarityBoost

func (s *TTSConversationalConfigOverride) GetSimilarityBoost() OptNilFloat64

GetSimilarityBoost returns the value of SimilarityBoost.

func (*TTSConversationalConfigOverride) GetSpeed

GetSpeed returns the value of Speed.

func (*TTSConversationalConfigOverride) GetStability

GetStability returns the value of Stability.

func (*TTSConversationalConfigOverride) GetVoiceID

GetVoiceID returns the value of VoiceID.

func (*TTSConversationalConfigOverride) MarshalJSON

func (s *TTSConversationalConfigOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TTSConversationalConfigOverride) SetSimilarityBoost

func (s *TTSConversationalConfigOverride) SetSimilarityBoost(val OptNilFloat64)

SetSimilarityBoost sets the value of SimilarityBoost.

func (*TTSConversationalConfigOverride) SetSpeed

SetSpeed sets the value of Speed.

func (*TTSConversationalConfigOverride) SetStability

func (s *TTSConversationalConfigOverride) SetStability(val OptNilFloat64)

SetStability sets the value of Stability.

func (*TTSConversationalConfigOverride) SetVoiceID

func (s *TTSConversationalConfigOverride) SetVoiceID(val OptNilString)

SetVoiceID sets the value of VoiceID.

func (*TTSConversationalConfigOverride) UnmarshalJSON

func (s *TTSConversationalConfigOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TTSConversationalConfigOverride) Validate

func (s *TTSConversationalConfigOverride) Validate() error

type TelephonyProvider

type TelephonyProvider string

Ref: #/components/schemas/TelephonyProvider

const (
	TelephonyProviderTwilio   TelephonyProvider = "twilio"
	TelephonyProviderSipTrunk TelephonyProvider = "sip_trunk"
)

func (TelephonyProvider) AllValues

func (TelephonyProvider) AllValues() []TelephonyProvider

AllValues returns all TelephonyProvider values.

func (*TelephonyProvider) Decode

func (s *TelephonyProvider) Decode(d *jx.Decoder) error

Decode decodes TelephonyProvider from json.

func (TelephonyProvider) Encode

func (s TelephonyProvider) Encode(e *jx.Encoder)

Encode encodes TelephonyProvider as json.

func (TelephonyProvider) MarshalJSON

func (s TelephonyProvider) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TelephonyProvider) MarshalText

func (s TelephonyProvider) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TelephonyProvider) UnmarshalJSON

func (s *TelephonyProvider) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TelephonyProvider) UnmarshalText

func (s *TelephonyProvider) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TelephonyProvider) Validate

func (s TelephonyProvider) Validate() error

type TestConditionRationaleCommonModel

type TestConditionRationaleCommonModel struct {
	// List of individual parameter evaluation messages or reasons.
	Messages []string `json:"messages"`
	// High-level summary of the evaluation result.
	Summary OptString `json:"summary"`
}

Structured rationale for test condition results containing individual failure/success reasons. Ref: #/components/schemas/TestConditionRationaleCommonModel

func (*TestConditionRationaleCommonModel) Decode

Decode decodes TestConditionRationaleCommonModel from json.

func (*TestConditionRationaleCommonModel) Encode

Encode implements json.Marshaler.

func (*TestConditionRationaleCommonModel) GetMessages

func (s *TestConditionRationaleCommonModel) GetMessages() []string

GetMessages returns the value of Messages.

func (*TestConditionRationaleCommonModel) GetSummary

GetSummary returns the value of Summary.

func (*TestConditionRationaleCommonModel) MarshalJSON

func (s *TestConditionRationaleCommonModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TestConditionRationaleCommonModel) SetMessages

func (s *TestConditionRationaleCommonModel) SetMessages(val []string)

SetMessages sets the value of Messages.

func (*TestConditionRationaleCommonModel) SetSummary

func (s *TestConditionRationaleCommonModel) SetSummary(val OptString)

SetSummary sets the value of Summary.

func (*TestConditionRationaleCommonModel) UnmarshalJSON

func (s *TestConditionRationaleCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TestConditionResultCommonModel

type TestConditionResultCommonModel struct {
	Rationale OptTestConditionRationaleCommonModel `json:"rationale"`
	Result    EvaluationSuccessResult              `json:"result"`
}

Ref: #/components/schemas/TestConditionResultCommonModel

func (*TestConditionResultCommonModel) Decode

Decode decodes TestConditionResultCommonModel from json.

func (*TestConditionResultCommonModel) Encode

Encode implements json.Marshaler.

func (*TestConditionResultCommonModel) GetRationale

GetRationale returns the value of Rationale.

func (*TestConditionResultCommonModel) GetResult

GetResult returns the value of Result.

func (*TestConditionResultCommonModel) MarshalJSON

func (s *TestConditionResultCommonModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TestConditionResultCommonModel) SetRationale

SetRationale sets the value of Rationale.

func (*TestConditionResultCommonModel) SetResult

SetResult sets the value of Result.

func (*TestConditionResultCommonModel) UnmarshalJSON

func (s *TestConditionResultCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TestConditionResultCommonModel) Validate

func (s *TestConditionResultCommonModel) Validate() error

type TestFromConversationMetadataInput

type TestFromConversationMetadataInput struct {
	AgentID            string                                          `json:"agent_id"`
	ConversationID     string                                          `json:"conversation_id"`
	OriginalAgentReply []ConversationHistoryTranscriptCommonModelInput `json:"original_agent_reply"`
	WorkflowNodeID     OptNilString                                    `json:"workflow_node_id"`
}

Ref: #/components/schemas/TestFromConversationMetadata-Input

func (*TestFromConversationMetadataInput) Decode

Decode decodes TestFromConversationMetadataInput from json.

func (*TestFromConversationMetadataInput) Encode

Encode implements json.Marshaler.

func (*TestFromConversationMetadataInput) GetAgentID

func (s *TestFromConversationMetadataInput) GetAgentID() string

GetAgentID returns the value of AgentID.

func (*TestFromConversationMetadataInput) GetConversationID

func (s *TestFromConversationMetadataInput) GetConversationID() string

GetConversationID returns the value of ConversationID.

func (*TestFromConversationMetadataInput) GetOriginalAgentReply

GetOriginalAgentReply returns the value of OriginalAgentReply.

func (*TestFromConversationMetadataInput) GetWorkflowNodeID

func (s *TestFromConversationMetadataInput) GetWorkflowNodeID() OptNilString

GetWorkflowNodeID returns the value of WorkflowNodeID.

func (*TestFromConversationMetadataInput) MarshalJSON

func (s *TestFromConversationMetadataInput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TestFromConversationMetadataInput) SetAgentID

func (s *TestFromConversationMetadataInput) SetAgentID(val string)

SetAgentID sets the value of AgentID.

func (*TestFromConversationMetadataInput) SetConversationID

func (s *TestFromConversationMetadataInput) SetConversationID(val string)

SetConversationID sets the value of ConversationID.

func (*TestFromConversationMetadataInput) SetOriginalAgentReply

SetOriginalAgentReply sets the value of OriginalAgentReply.

func (*TestFromConversationMetadataInput) SetWorkflowNodeID

func (s *TestFromConversationMetadataInput) SetWorkflowNodeID(val OptNilString)

SetWorkflowNodeID sets the value of WorkflowNodeID.

func (*TestFromConversationMetadataInput) UnmarshalJSON

func (s *TestFromConversationMetadataInput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TestFromConversationMetadataInput) Validate

type TestFromConversationMetadataOutput

type TestFromConversationMetadataOutput struct {
	AgentID            string                                           `json:"agent_id"`
	ConversationID     string                                           `json:"conversation_id"`
	OriginalAgentReply []ConversationHistoryTranscriptCommonModelOutput `json:"original_agent_reply"`
	WorkflowNodeID     OptNilString                                     `json:"workflow_node_id"`
}

Ref: #/components/schemas/TestFromConversationMetadata-Output

func (*TestFromConversationMetadataOutput) Decode

Decode decodes TestFromConversationMetadataOutput from json.

func (*TestFromConversationMetadataOutput) Encode

Encode implements json.Marshaler.

func (*TestFromConversationMetadataOutput) GetAgentID

GetAgentID returns the value of AgentID.

func (*TestFromConversationMetadataOutput) GetConversationID

func (s *TestFromConversationMetadataOutput) GetConversationID() string

GetConversationID returns the value of ConversationID.

func (*TestFromConversationMetadataOutput) GetOriginalAgentReply

GetOriginalAgentReply returns the value of OriginalAgentReply.

func (*TestFromConversationMetadataOutput) GetWorkflowNodeID

func (s *TestFromConversationMetadataOutput) GetWorkflowNodeID() OptNilString

GetWorkflowNodeID returns the value of WorkflowNodeID.

func (*TestFromConversationMetadataOutput) MarshalJSON

func (s *TestFromConversationMetadataOutput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TestFromConversationMetadataOutput) SetAgentID

func (s *TestFromConversationMetadataOutput) SetAgentID(val string)

SetAgentID sets the value of AgentID.

func (*TestFromConversationMetadataOutput) SetConversationID

func (s *TestFromConversationMetadataOutput) SetConversationID(val string)

SetConversationID sets the value of ConversationID.

func (*TestFromConversationMetadataOutput) SetOriginalAgentReply

SetOriginalAgentReply sets the value of OriginalAgentReply.

func (*TestFromConversationMetadataOutput) SetWorkflowNodeID

func (s *TestFromConversationMetadataOutput) SetWorkflowNodeID(val OptNilString)

SetWorkflowNodeID sets the value of WorkflowNodeID.

func (*TestFromConversationMetadataOutput) UnmarshalJSON

func (s *TestFromConversationMetadataOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TestFromConversationMetadataOutput) Validate

type TestInvocationSummaryResponseModel

type TestInvocationSummaryResponseModel struct {
	// The access information of the test invocation.
	AccessInfo OptResourceAccessInfo `json:"access_info"`
	// The ID of the agent this test invocation belongs to.
	AgentID OptNilString `json:"agent_id"`
	// The ID of the branch this test invocation was run on.
	BranchID OptNilString `json:"branch_id"`
	// Creation time of the test invocation in unix seconds.
	CreatedAtUnixSecs int `json:"created_at_unix_secs"`
	// Number of test runs that failed.
	FailedCount int `json:"failed_count"`
	// The ID of the test invocation.
	ID string `json:"id"`
	// Number of test runs that passed.
	PassedCount int `json:"passed_count"`
	// Number of test runs that are pending.
	PendingCount int `json:"pending_count"`
	// Number of test runs in this invocation.
	TestRunCount int `json:"test_run_count"`
	// Title of the test invocation - either the single test name or count of tests.
	Title string `json:"title"`
}

Ref: #/components/schemas/TestInvocationSummaryResponseModel

func (*TestInvocationSummaryResponseModel) Decode

Decode decodes TestInvocationSummaryResponseModel from json.

func (*TestInvocationSummaryResponseModel) Encode

Encode implements json.Marshaler.

func (*TestInvocationSummaryResponseModel) GetAccessInfo

GetAccessInfo returns the value of AccessInfo.

func (*TestInvocationSummaryResponseModel) GetAgentID

GetAgentID returns the value of AgentID.

func (*TestInvocationSummaryResponseModel) GetBranchID

GetBranchID returns the value of BranchID.

func (*TestInvocationSummaryResponseModel) GetCreatedAtUnixSecs

func (s *TestInvocationSummaryResponseModel) GetCreatedAtUnixSecs() int

GetCreatedAtUnixSecs returns the value of CreatedAtUnixSecs.

func (*TestInvocationSummaryResponseModel) GetFailedCount

func (s *TestInvocationSummaryResponseModel) GetFailedCount() int

GetFailedCount returns the value of FailedCount.

func (*TestInvocationSummaryResponseModel) GetID

GetID returns the value of ID.

func (*TestInvocationSummaryResponseModel) GetPassedCount

func (s *TestInvocationSummaryResponseModel) GetPassedCount() int

GetPassedCount returns the value of PassedCount.

func (*TestInvocationSummaryResponseModel) GetPendingCount

func (s *TestInvocationSummaryResponseModel) GetPendingCount() int

GetPendingCount returns the value of PendingCount.

func (*TestInvocationSummaryResponseModel) GetTestRunCount

func (s *TestInvocationSummaryResponseModel) GetTestRunCount() int

GetTestRunCount returns the value of TestRunCount.

func (*TestInvocationSummaryResponseModel) GetTitle

GetTitle returns the value of Title.

func (*TestInvocationSummaryResponseModel) MarshalJSON

func (s *TestInvocationSummaryResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TestInvocationSummaryResponseModel) SetAccessInfo

SetAccessInfo sets the value of AccessInfo.

func (*TestInvocationSummaryResponseModel) SetAgentID

SetAgentID sets the value of AgentID.

func (*TestInvocationSummaryResponseModel) SetBranchID

SetBranchID sets the value of BranchID.

func (*TestInvocationSummaryResponseModel) SetCreatedAtUnixSecs

func (s *TestInvocationSummaryResponseModel) SetCreatedAtUnixSecs(val int)

SetCreatedAtUnixSecs sets the value of CreatedAtUnixSecs.

func (*TestInvocationSummaryResponseModel) SetFailedCount

func (s *TestInvocationSummaryResponseModel) SetFailedCount(val int)

SetFailedCount sets the value of FailedCount.

func (*TestInvocationSummaryResponseModel) SetID

SetID sets the value of ID.

func (*TestInvocationSummaryResponseModel) SetPassedCount

func (s *TestInvocationSummaryResponseModel) SetPassedCount(val int)

SetPassedCount sets the value of PassedCount.

func (*TestInvocationSummaryResponseModel) SetPendingCount

func (s *TestInvocationSummaryResponseModel) SetPendingCount(val int)

SetPendingCount sets the value of PendingCount.

func (*TestInvocationSummaryResponseModel) SetTestRunCount

func (s *TestInvocationSummaryResponseModel) SetTestRunCount(val int)

SetTestRunCount sets the value of TestRunCount.

func (*TestInvocationSummaryResponseModel) SetTitle

func (s *TestInvocationSummaryResponseModel) SetTitle(val string)

SetTitle sets the value of Title.

func (*TestInvocationSummaryResponseModel) UnmarshalJSON

func (s *TestInvocationSummaryResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TestInvocationSummaryResponseModel) Validate

type TestRunMetadata

type TestRunMetadata struct {
	RanByUserEmail string                     `json:"ran_by_user_email"`
	TestName       string                     `json:"test_name"`
	TestType       OptTestRunMetadataTestType `json:"test_type"`
	WorkspaceID    string                     `json:"workspace_id"`
}

Ref: #/components/schemas/TestRunMetadata

func (*TestRunMetadata) Decode

func (s *TestRunMetadata) Decode(d *jx.Decoder) error

Decode decodes TestRunMetadata from json.

func (*TestRunMetadata) Encode

func (s *TestRunMetadata) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TestRunMetadata) GetRanByUserEmail

func (s *TestRunMetadata) GetRanByUserEmail() string

GetRanByUserEmail returns the value of RanByUserEmail.

func (*TestRunMetadata) GetTestName

func (s *TestRunMetadata) GetTestName() string

GetTestName returns the value of TestName.

func (*TestRunMetadata) GetTestType

GetTestType returns the value of TestType.

func (*TestRunMetadata) GetWorkspaceID

func (s *TestRunMetadata) GetWorkspaceID() string

GetWorkspaceID returns the value of WorkspaceID.

func (*TestRunMetadata) MarshalJSON

func (s *TestRunMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TestRunMetadata) SetRanByUserEmail

func (s *TestRunMetadata) SetRanByUserEmail(val string)

SetRanByUserEmail sets the value of RanByUserEmail.

func (*TestRunMetadata) SetTestName

func (s *TestRunMetadata) SetTestName(val string)

SetTestName sets the value of TestName.

func (*TestRunMetadata) SetTestType

func (s *TestRunMetadata) SetTestType(val OptTestRunMetadataTestType)

SetTestType sets the value of TestType.

func (*TestRunMetadata) SetWorkspaceID

func (s *TestRunMetadata) SetWorkspaceID(val string)

SetWorkspaceID sets the value of WorkspaceID.

func (*TestRunMetadata) UnmarshalJSON

func (s *TestRunMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TestRunMetadata) Validate

func (s *TestRunMetadata) Validate() error

type TestRunMetadataTestType

type TestRunMetadataTestType string
const (
	TestRunMetadataTestTypeLlm      TestRunMetadataTestType = "llm"
	TestRunMetadataTestTypeToolCall TestRunMetadataTestType = "tool_call"
)

func (TestRunMetadataTestType) AllValues

AllValues returns all TestRunMetadataTestType values.

func (*TestRunMetadataTestType) Decode

func (s *TestRunMetadataTestType) Decode(d *jx.Decoder) error

Decode decodes TestRunMetadataTestType from json.

func (TestRunMetadataTestType) Encode

func (s TestRunMetadataTestType) Encode(e *jx.Encoder)

Encode encodes TestRunMetadataTestType as json.

func (TestRunMetadataTestType) MarshalJSON

func (s TestRunMetadataTestType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TestRunMetadataTestType) MarshalText

func (s TestRunMetadataTestType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TestRunMetadataTestType) UnmarshalJSON

func (s *TestRunMetadataTestType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TestRunMetadataTestType) UnmarshalText

func (s *TestRunMetadataTestType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TestRunMetadataTestType) Validate

func (s TestRunMetadataTestType) Validate() error

type TestRunStatus

type TestRunStatus string

Ref: #/components/schemas/TestRunStatus

const (
	TestRunStatusPending TestRunStatus = "pending"
	TestRunStatusPassed  TestRunStatus = "passed"
	TestRunStatusFailed  TestRunStatus = "failed"
)

func (TestRunStatus) AllValues

func (TestRunStatus) AllValues() []TestRunStatus

AllValues returns all TestRunStatus values.

func (*TestRunStatus) Decode

func (s *TestRunStatus) Decode(d *jx.Decoder) error

Decode decodes TestRunStatus from json.

func (TestRunStatus) Encode

func (s TestRunStatus) Encode(e *jx.Encoder)

Encode encodes TestRunStatus as json.

func (TestRunStatus) MarshalJSON

func (s TestRunStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TestRunStatus) MarshalText

func (s TestRunStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TestRunStatus) UnmarshalJSON

func (s *TestRunStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TestRunStatus) UnmarshalText

func (s *TestRunStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TestRunStatus) Validate

func (s TestRunStatus) Validate() error

type TestToolResultModel

type TestToolResultModel struct {
	Reason     OptString                        `json:"reason"`
	ResultType OptTestToolResultModelResultType `json:"result_type"`
	Status     OptTestToolResultModelStatus     `json:"status"`
}

Ref: #/components/schemas/TestToolResultModel

func (*TestToolResultModel) Decode

func (s *TestToolResultModel) Decode(d *jx.Decoder) error

Decode decodes TestToolResultModel from json.

func (*TestToolResultModel) Encode

func (s *TestToolResultModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TestToolResultModel) GetReason

func (s *TestToolResultModel) GetReason() OptString

GetReason returns the value of Reason.

func (*TestToolResultModel) GetResultType

GetResultType returns the value of ResultType.

func (*TestToolResultModel) GetStatus

GetStatus returns the value of Status.

func (*TestToolResultModel) MarshalJSON

func (s *TestToolResultModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TestToolResultModel) SetReason

func (s *TestToolResultModel) SetReason(val OptString)

SetReason sets the value of Reason.

func (*TestToolResultModel) SetResultType

SetResultType sets the value of ResultType.

func (*TestToolResultModel) SetStatus

SetStatus sets the value of Status.

func (*TestToolResultModel) UnmarshalJSON

func (s *TestToolResultModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TestToolResultModel) Validate

func (s *TestToolResultModel) Validate() error

type TestToolResultModelResultType

type TestToolResultModelResultType string
const (
	TestToolResultModelResultTypeTestingToolResult TestToolResultModelResultType = "testing_tool_result"
)

func (TestToolResultModelResultType) AllValues

AllValues returns all TestToolResultModelResultType values.

func (*TestToolResultModelResultType) Decode

Decode decodes TestToolResultModelResultType from json.

func (TestToolResultModelResultType) Encode

Encode encodes TestToolResultModelResultType as json.

func (TestToolResultModelResultType) MarshalJSON

func (s TestToolResultModelResultType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TestToolResultModelResultType) MarshalText

func (s TestToolResultModelResultType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TestToolResultModelResultType) UnmarshalJSON

func (s *TestToolResultModelResultType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TestToolResultModelResultType) UnmarshalText

func (s *TestToolResultModelResultType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TestToolResultModelResultType) Validate

func (s TestToolResultModelResultType) Validate() error

type TestToolResultModelStatus

type TestToolResultModelStatus string
const (
	TestToolResultModelStatusSuccess TestToolResultModelStatus = "success"
)

func (TestToolResultModelStatus) AllValues

AllValues returns all TestToolResultModelStatus values.

func (*TestToolResultModelStatus) Decode

func (s *TestToolResultModelStatus) Decode(d *jx.Decoder) error

Decode decodes TestToolResultModelStatus from json.

func (TestToolResultModelStatus) Encode

func (s TestToolResultModelStatus) Encode(e *jx.Encoder)

Encode encodes TestToolResultModelStatus as json.

func (TestToolResultModelStatus) MarshalJSON

func (s TestToolResultModelStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TestToolResultModelStatus) MarshalText

func (s TestToolResultModelStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TestToolResultModelStatus) UnmarshalJSON

func (s *TestToolResultModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TestToolResultModelStatus) UnmarshalText

func (s *TestToolResultModelStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TestToolResultModelStatus) Validate

func (s TestToolResultModelStatus) Validate() error

type TestsFeatureUsageCommonModel

type TestsFeatureUsageCommonModel struct {
	Enabled                       OptBool `json:"enabled"`
	TestsRanAfterLastModification OptBool `json:"tests_ran_after_last_modification"`
	TestsRanInLast7Days           OptBool `json:"tests_ran_in_last_7_days"`
}

Ref: #/components/schemas/TestsFeatureUsageCommonModel

func (*TestsFeatureUsageCommonModel) Decode

Decode decodes TestsFeatureUsageCommonModel from json.

func (*TestsFeatureUsageCommonModel) Encode

func (s *TestsFeatureUsageCommonModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TestsFeatureUsageCommonModel) GetEnabled

func (s *TestsFeatureUsageCommonModel) GetEnabled() OptBool

GetEnabled returns the value of Enabled.

func (*TestsFeatureUsageCommonModel) GetTestsRanAfterLastModification

func (s *TestsFeatureUsageCommonModel) GetTestsRanAfterLastModification() OptBool

GetTestsRanAfterLastModification returns the value of TestsRanAfterLastModification.

func (*TestsFeatureUsageCommonModel) GetTestsRanInLast7Days

func (s *TestsFeatureUsageCommonModel) GetTestsRanInLast7Days() OptBool

GetTestsRanInLast7Days returns the value of TestsRanInLast7Days.

func (*TestsFeatureUsageCommonModel) MarshalJSON

func (s *TestsFeatureUsageCommonModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TestsFeatureUsageCommonModel) SetEnabled

func (s *TestsFeatureUsageCommonModel) SetEnabled(val OptBool)

SetEnabled sets the value of Enabled.

func (*TestsFeatureUsageCommonModel) SetTestsRanAfterLastModification

func (s *TestsFeatureUsageCommonModel) SetTestsRanAfterLastModification(val OptBool)

SetTestsRanAfterLastModification sets the value of TestsRanAfterLastModification.

func (*TestsFeatureUsageCommonModel) SetTestsRanInLast7Days

func (s *TestsFeatureUsageCommonModel) SetTestsRanInLast7Days(val OptBool)

SetTestsRanInLast7Days sets the value of TestsRanInLast7Days.

func (*TestsFeatureUsageCommonModel) UnmarshalJSON

func (s *TestsFeatureUsageCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TextToDialogueFullWithTimestampsOutputFormat

type TextToDialogueFullWithTimestampsOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	TextToDialogueFullWithTimestampsOutputFormatMp32205032   TextToDialogueFullWithTimestampsOutputFormat = "mp3_22050_32"
	TextToDialogueFullWithTimestampsOutputFormatMp32400048   TextToDialogueFullWithTimestampsOutputFormat = "mp3_24000_48"
	TextToDialogueFullWithTimestampsOutputFormatMp34410032   TextToDialogueFullWithTimestampsOutputFormat = "mp3_44100_32"
	TextToDialogueFullWithTimestampsOutputFormatMp34410064   TextToDialogueFullWithTimestampsOutputFormat = "mp3_44100_64"
	TextToDialogueFullWithTimestampsOutputFormatMp34410096   TextToDialogueFullWithTimestampsOutputFormat = "mp3_44100_96"
	TextToDialogueFullWithTimestampsOutputFormatMp344100128  TextToDialogueFullWithTimestampsOutputFormat = "mp3_44100_128"
	TextToDialogueFullWithTimestampsOutputFormatMp344100192  TextToDialogueFullWithTimestampsOutputFormat = "mp3_44100_192"
	TextToDialogueFullWithTimestampsOutputFormatPcm8000      TextToDialogueFullWithTimestampsOutputFormat = "pcm_8000"
	TextToDialogueFullWithTimestampsOutputFormatPcm16000     TextToDialogueFullWithTimestampsOutputFormat = "pcm_16000"
	TextToDialogueFullWithTimestampsOutputFormatPcm22050     TextToDialogueFullWithTimestampsOutputFormat = "pcm_22050"
	TextToDialogueFullWithTimestampsOutputFormatPcm24000     TextToDialogueFullWithTimestampsOutputFormat = "pcm_24000"
	TextToDialogueFullWithTimestampsOutputFormatPcm32000     TextToDialogueFullWithTimestampsOutputFormat = "pcm_32000"
	TextToDialogueFullWithTimestampsOutputFormatPcm44100     TextToDialogueFullWithTimestampsOutputFormat = "pcm_44100"
	TextToDialogueFullWithTimestampsOutputFormatPcm48000     TextToDialogueFullWithTimestampsOutputFormat = "pcm_48000"
	TextToDialogueFullWithTimestampsOutputFormatUlaw8000     TextToDialogueFullWithTimestampsOutputFormat = "ulaw_8000"
	TextToDialogueFullWithTimestampsOutputFormatAlaw8000     TextToDialogueFullWithTimestampsOutputFormat = "alaw_8000"
	TextToDialogueFullWithTimestampsOutputFormatOpus4800032  TextToDialogueFullWithTimestampsOutputFormat = "opus_48000_32"
	TextToDialogueFullWithTimestampsOutputFormatOpus4800064  TextToDialogueFullWithTimestampsOutputFormat = "opus_48000_64"
	TextToDialogueFullWithTimestampsOutputFormatOpus4800096  TextToDialogueFullWithTimestampsOutputFormat = "opus_48000_96"
	TextToDialogueFullWithTimestampsOutputFormatOpus48000128 TextToDialogueFullWithTimestampsOutputFormat = "opus_48000_128"
	TextToDialogueFullWithTimestampsOutputFormatOpus48000192 TextToDialogueFullWithTimestampsOutputFormat = "opus_48000_192"
)

func (TextToDialogueFullWithTimestampsOutputFormat) AllValues

AllValues returns all TextToDialogueFullWithTimestampsOutputFormat values.

func (TextToDialogueFullWithTimestampsOutputFormat) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*TextToDialogueFullWithTimestampsOutputFormat) UnmarshalText

func (s *TextToDialogueFullWithTimestampsOutputFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TextToDialogueFullWithTimestampsOutputFormat) Validate

type TextToDialogueFullWithTimestampsParams

type TextToDialogueFullWithTimestampsParams struct {
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptTextToDialogueFullWithTimestampsOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

TextToDialogueFullWithTimestampsParams is parameters of text_to_dialogue_full_with_timestamps operation.

type TextToDialogueFullWithTimestampsRes

type TextToDialogueFullWithTimestampsRes interface {
	// contains filtered or unexported methods
}

type TextToDialogueOK

type TextToDialogueOK struct {
	Data io.Reader
}

func (TextToDialogueOK) Read

func (s TextToDialogueOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type TextToDialogueOutputFormat

type TextToDialogueOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	TextToDialogueOutputFormatMp32205032   TextToDialogueOutputFormat = "mp3_22050_32"
	TextToDialogueOutputFormatMp32400048   TextToDialogueOutputFormat = "mp3_24000_48"
	TextToDialogueOutputFormatMp34410032   TextToDialogueOutputFormat = "mp3_44100_32"
	TextToDialogueOutputFormatMp34410064   TextToDialogueOutputFormat = "mp3_44100_64"
	TextToDialogueOutputFormatMp34410096   TextToDialogueOutputFormat = "mp3_44100_96"
	TextToDialogueOutputFormatMp344100128  TextToDialogueOutputFormat = "mp3_44100_128"
	TextToDialogueOutputFormatMp344100192  TextToDialogueOutputFormat = "mp3_44100_192"
	TextToDialogueOutputFormatPcm8000      TextToDialogueOutputFormat = "pcm_8000"
	TextToDialogueOutputFormatPcm16000     TextToDialogueOutputFormat = "pcm_16000"
	TextToDialogueOutputFormatPcm22050     TextToDialogueOutputFormat = "pcm_22050"
	TextToDialogueOutputFormatPcm24000     TextToDialogueOutputFormat = "pcm_24000"
	TextToDialogueOutputFormatPcm32000     TextToDialogueOutputFormat = "pcm_32000"
	TextToDialogueOutputFormatPcm44100     TextToDialogueOutputFormat = "pcm_44100"
	TextToDialogueOutputFormatPcm48000     TextToDialogueOutputFormat = "pcm_48000"
	TextToDialogueOutputFormatUlaw8000     TextToDialogueOutputFormat = "ulaw_8000"
	TextToDialogueOutputFormatAlaw8000     TextToDialogueOutputFormat = "alaw_8000"
	TextToDialogueOutputFormatOpus4800032  TextToDialogueOutputFormat = "opus_48000_32"
	TextToDialogueOutputFormatOpus4800064  TextToDialogueOutputFormat = "opus_48000_64"
	TextToDialogueOutputFormatOpus4800096  TextToDialogueOutputFormat = "opus_48000_96"
	TextToDialogueOutputFormatOpus48000128 TextToDialogueOutputFormat = "opus_48000_128"
	TextToDialogueOutputFormatOpus48000192 TextToDialogueOutputFormat = "opus_48000_192"
)

func (TextToDialogueOutputFormat) AllValues

AllValues returns all TextToDialogueOutputFormat values.

func (TextToDialogueOutputFormat) MarshalText

func (s TextToDialogueOutputFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TextToDialogueOutputFormat) UnmarshalText

func (s *TextToDialogueOutputFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TextToDialogueOutputFormat) Validate

func (s TextToDialogueOutputFormat) Validate() error

type TextToDialogueParams

type TextToDialogueParams struct {
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptTextToDialogueOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

TextToDialogueParams is parameters of text_to_dialogue operation.

type TextToDialogueRes

type TextToDialogueRes interface {
	// contains filtered or unexported methods
}

type TextToDialogueStreamOK

type TextToDialogueStreamOK struct {
	Data io.Reader
}

func (TextToDialogueStreamOK) Read

func (s TextToDialogueStreamOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type TextToDialogueStreamOutputFormat

type TextToDialogueStreamOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	TextToDialogueStreamOutputFormatMp32205032   TextToDialogueStreamOutputFormat = "mp3_22050_32"
	TextToDialogueStreamOutputFormatMp32400048   TextToDialogueStreamOutputFormat = "mp3_24000_48"
	TextToDialogueStreamOutputFormatMp34410032   TextToDialogueStreamOutputFormat = "mp3_44100_32"
	TextToDialogueStreamOutputFormatMp34410064   TextToDialogueStreamOutputFormat = "mp3_44100_64"
	TextToDialogueStreamOutputFormatMp34410096   TextToDialogueStreamOutputFormat = "mp3_44100_96"
	TextToDialogueStreamOutputFormatMp344100128  TextToDialogueStreamOutputFormat = "mp3_44100_128"
	TextToDialogueStreamOutputFormatMp344100192  TextToDialogueStreamOutputFormat = "mp3_44100_192"
	TextToDialogueStreamOutputFormatPcm8000      TextToDialogueStreamOutputFormat = "pcm_8000"
	TextToDialogueStreamOutputFormatPcm16000     TextToDialogueStreamOutputFormat = "pcm_16000"
	TextToDialogueStreamOutputFormatPcm22050     TextToDialogueStreamOutputFormat = "pcm_22050"
	TextToDialogueStreamOutputFormatPcm24000     TextToDialogueStreamOutputFormat = "pcm_24000"
	TextToDialogueStreamOutputFormatPcm32000     TextToDialogueStreamOutputFormat = "pcm_32000"
	TextToDialogueStreamOutputFormatPcm44100     TextToDialogueStreamOutputFormat = "pcm_44100"
	TextToDialogueStreamOutputFormatPcm48000     TextToDialogueStreamOutputFormat = "pcm_48000"
	TextToDialogueStreamOutputFormatUlaw8000     TextToDialogueStreamOutputFormat = "ulaw_8000"
	TextToDialogueStreamOutputFormatAlaw8000     TextToDialogueStreamOutputFormat = "alaw_8000"
	TextToDialogueStreamOutputFormatOpus4800032  TextToDialogueStreamOutputFormat = "opus_48000_32"
	TextToDialogueStreamOutputFormatOpus4800064  TextToDialogueStreamOutputFormat = "opus_48000_64"
	TextToDialogueStreamOutputFormatOpus4800096  TextToDialogueStreamOutputFormat = "opus_48000_96"
	TextToDialogueStreamOutputFormatOpus48000128 TextToDialogueStreamOutputFormat = "opus_48000_128"
	TextToDialogueStreamOutputFormatOpus48000192 TextToDialogueStreamOutputFormat = "opus_48000_192"
)

func (TextToDialogueStreamOutputFormat) AllValues

AllValues returns all TextToDialogueStreamOutputFormat values.

func (TextToDialogueStreamOutputFormat) MarshalText

func (s TextToDialogueStreamOutputFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TextToDialogueStreamOutputFormat) UnmarshalText

func (s *TextToDialogueStreamOutputFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TextToDialogueStreamOutputFormat) Validate

type TextToDialogueStreamParams

type TextToDialogueStreamParams struct {
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptTextToDialogueStreamOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

TextToDialogueStreamParams is parameters of text_to_dialogue_stream operation.

type TextToDialogueStreamRes

type TextToDialogueStreamRes interface {
	// contains filtered or unexported methods
}

type TextToDialogueStreamWithTimestampsOutputFormat

type TextToDialogueStreamWithTimestampsOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	TextToDialogueStreamWithTimestampsOutputFormatMp32205032   TextToDialogueStreamWithTimestampsOutputFormat = "mp3_22050_32"
	TextToDialogueStreamWithTimestampsOutputFormatMp32400048   TextToDialogueStreamWithTimestampsOutputFormat = "mp3_24000_48"
	TextToDialogueStreamWithTimestampsOutputFormatMp34410032   TextToDialogueStreamWithTimestampsOutputFormat = "mp3_44100_32"
	TextToDialogueStreamWithTimestampsOutputFormatMp34410064   TextToDialogueStreamWithTimestampsOutputFormat = "mp3_44100_64"
	TextToDialogueStreamWithTimestampsOutputFormatMp34410096   TextToDialogueStreamWithTimestampsOutputFormat = "mp3_44100_96"
	TextToDialogueStreamWithTimestampsOutputFormatMp344100128  TextToDialogueStreamWithTimestampsOutputFormat = "mp3_44100_128"
	TextToDialogueStreamWithTimestampsOutputFormatMp344100192  TextToDialogueStreamWithTimestampsOutputFormat = "mp3_44100_192"
	TextToDialogueStreamWithTimestampsOutputFormatPcm8000      TextToDialogueStreamWithTimestampsOutputFormat = "pcm_8000"
	TextToDialogueStreamWithTimestampsOutputFormatPcm16000     TextToDialogueStreamWithTimestampsOutputFormat = "pcm_16000"
	TextToDialogueStreamWithTimestampsOutputFormatPcm22050     TextToDialogueStreamWithTimestampsOutputFormat = "pcm_22050"
	TextToDialogueStreamWithTimestampsOutputFormatPcm24000     TextToDialogueStreamWithTimestampsOutputFormat = "pcm_24000"
	TextToDialogueStreamWithTimestampsOutputFormatPcm32000     TextToDialogueStreamWithTimestampsOutputFormat = "pcm_32000"
	TextToDialogueStreamWithTimestampsOutputFormatPcm44100     TextToDialogueStreamWithTimestampsOutputFormat = "pcm_44100"
	TextToDialogueStreamWithTimestampsOutputFormatPcm48000     TextToDialogueStreamWithTimestampsOutputFormat = "pcm_48000"
	TextToDialogueStreamWithTimestampsOutputFormatUlaw8000     TextToDialogueStreamWithTimestampsOutputFormat = "ulaw_8000"
	TextToDialogueStreamWithTimestampsOutputFormatAlaw8000     TextToDialogueStreamWithTimestampsOutputFormat = "alaw_8000"
	TextToDialogueStreamWithTimestampsOutputFormatOpus4800032  TextToDialogueStreamWithTimestampsOutputFormat = "opus_48000_32"
	TextToDialogueStreamWithTimestampsOutputFormatOpus4800064  TextToDialogueStreamWithTimestampsOutputFormat = "opus_48000_64"
	TextToDialogueStreamWithTimestampsOutputFormatOpus4800096  TextToDialogueStreamWithTimestampsOutputFormat = "opus_48000_96"
	TextToDialogueStreamWithTimestampsOutputFormatOpus48000128 TextToDialogueStreamWithTimestampsOutputFormat = "opus_48000_128"
	TextToDialogueStreamWithTimestampsOutputFormatOpus48000192 TextToDialogueStreamWithTimestampsOutputFormat = "opus_48000_192"
)

func (TextToDialogueStreamWithTimestampsOutputFormat) AllValues

AllValues returns all TextToDialogueStreamWithTimestampsOutputFormat values.

func (TextToDialogueStreamWithTimestampsOutputFormat) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*TextToDialogueStreamWithTimestampsOutputFormat) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (TextToDialogueStreamWithTimestampsOutputFormat) Validate

type TextToDialogueStreamWithTimestampsParams

type TextToDialogueStreamWithTimestampsParams struct {
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptTextToDialogueStreamWithTimestampsOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

TextToDialogueStreamWithTimestampsParams is parameters of text_to_dialogue_stream_with_timestamps operation.

type TextToDialogueStreamWithTimestampsRes

type TextToDialogueStreamWithTimestampsRes interface {
	// contains filtered or unexported methods
}

type TextToSpeechFullOK

type TextToSpeechFullOK struct {
	Data io.Reader
}

func (TextToSpeechFullOK) Read

func (s TextToSpeechFullOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type TextToSpeechFullOutputFormat

type TextToSpeechFullOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	TextToSpeechFullOutputFormatMp32205032   TextToSpeechFullOutputFormat = "mp3_22050_32"
	TextToSpeechFullOutputFormatMp32400048   TextToSpeechFullOutputFormat = "mp3_24000_48"
	TextToSpeechFullOutputFormatMp34410032   TextToSpeechFullOutputFormat = "mp3_44100_32"
	TextToSpeechFullOutputFormatMp34410064   TextToSpeechFullOutputFormat = "mp3_44100_64"
	TextToSpeechFullOutputFormatMp34410096   TextToSpeechFullOutputFormat = "mp3_44100_96"
	TextToSpeechFullOutputFormatMp344100128  TextToSpeechFullOutputFormat = "mp3_44100_128"
	TextToSpeechFullOutputFormatMp344100192  TextToSpeechFullOutputFormat = "mp3_44100_192"
	TextToSpeechFullOutputFormatPcm8000      TextToSpeechFullOutputFormat = "pcm_8000"
	TextToSpeechFullOutputFormatPcm16000     TextToSpeechFullOutputFormat = "pcm_16000"
	TextToSpeechFullOutputFormatPcm22050     TextToSpeechFullOutputFormat = "pcm_22050"
	TextToSpeechFullOutputFormatPcm24000     TextToSpeechFullOutputFormat = "pcm_24000"
	TextToSpeechFullOutputFormatPcm32000     TextToSpeechFullOutputFormat = "pcm_32000"
	TextToSpeechFullOutputFormatPcm44100     TextToSpeechFullOutputFormat = "pcm_44100"
	TextToSpeechFullOutputFormatPcm48000     TextToSpeechFullOutputFormat = "pcm_48000"
	TextToSpeechFullOutputFormatUlaw8000     TextToSpeechFullOutputFormat = "ulaw_8000"
	TextToSpeechFullOutputFormatAlaw8000     TextToSpeechFullOutputFormat = "alaw_8000"
	TextToSpeechFullOutputFormatOpus4800032  TextToSpeechFullOutputFormat = "opus_48000_32"
	TextToSpeechFullOutputFormatOpus4800064  TextToSpeechFullOutputFormat = "opus_48000_64"
	TextToSpeechFullOutputFormatOpus4800096  TextToSpeechFullOutputFormat = "opus_48000_96"
	TextToSpeechFullOutputFormatOpus48000128 TextToSpeechFullOutputFormat = "opus_48000_128"
	TextToSpeechFullOutputFormatOpus48000192 TextToSpeechFullOutputFormat = "opus_48000_192"
)

func (TextToSpeechFullOutputFormat) AllValues

AllValues returns all TextToSpeechFullOutputFormat values.

func (TextToSpeechFullOutputFormat) MarshalText

func (s TextToSpeechFullOutputFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TextToSpeechFullOutputFormat) UnmarshalText

func (s *TextToSpeechFullOutputFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TextToSpeechFullOutputFormat) Validate

func (s TextToSpeechFullOutputFormat) Validate() error

type TextToSpeechFullParams

type TextToSpeechFullParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// When enable_logging is set to false zero retention mode will be used for the request. This will
	// mean history features are unavailable for this request, including request stitching. Zero
	// retention mode may only be used by enterprise customers.
	EnableLogging OptBool `json:",omitempty,omitzero"`
	// You can turn on latency optimizations at some cost of quality. The best possible final latency
	// varies by model. Possible values:
	// 0 - default mode (no latency optimizations)
	// 1 - normal latency optimizations (about 50% of possible latency improvement of option 3)
	// 2 - strong latency optimizations (about 75% of possible latency improvement of option 3)
	// 3 - max latency optimizations
	// 4 - max latency optimizations, but also with text normalizer turned off for even more latency
	// savings (best latency, but can mispronounce eg numbers and dates).
	// Defaults to None.
	//
	// Deprecated: schema marks this parameter as deprecated.
	OptimizeStreamingLatency OptNilInt `json:",omitempty,omitzero"`
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptTextToSpeechFullOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

TextToSpeechFullParams is parameters of text_to_speech_full operation.

type TextToSpeechFullRes

type TextToSpeechFullRes interface {
	// contains filtered or unexported methods
}

type TextToSpeechFullWithTimestampsOutputFormat

type TextToSpeechFullWithTimestampsOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	TextToSpeechFullWithTimestampsOutputFormatMp32205032   TextToSpeechFullWithTimestampsOutputFormat = "mp3_22050_32"
	TextToSpeechFullWithTimestampsOutputFormatMp32400048   TextToSpeechFullWithTimestampsOutputFormat = "mp3_24000_48"
	TextToSpeechFullWithTimestampsOutputFormatMp34410032   TextToSpeechFullWithTimestampsOutputFormat = "mp3_44100_32"
	TextToSpeechFullWithTimestampsOutputFormatMp34410064   TextToSpeechFullWithTimestampsOutputFormat = "mp3_44100_64"
	TextToSpeechFullWithTimestampsOutputFormatMp34410096   TextToSpeechFullWithTimestampsOutputFormat = "mp3_44100_96"
	TextToSpeechFullWithTimestampsOutputFormatMp344100128  TextToSpeechFullWithTimestampsOutputFormat = "mp3_44100_128"
	TextToSpeechFullWithTimestampsOutputFormatMp344100192  TextToSpeechFullWithTimestampsOutputFormat = "mp3_44100_192"
	TextToSpeechFullWithTimestampsOutputFormatPcm8000      TextToSpeechFullWithTimestampsOutputFormat = "pcm_8000"
	TextToSpeechFullWithTimestampsOutputFormatPcm16000     TextToSpeechFullWithTimestampsOutputFormat = "pcm_16000"
	TextToSpeechFullWithTimestampsOutputFormatPcm22050     TextToSpeechFullWithTimestampsOutputFormat = "pcm_22050"
	TextToSpeechFullWithTimestampsOutputFormatPcm24000     TextToSpeechFullWithTimestampsOutputFormat = "pcm_24000"
	TextToSpeechFullWithTimestampsOutputFormatPcm32000     TextToSpeechFullWithTimestampsOutputFormat = "pcm_32000"
	TextToSpeechFullWithTimestampsOutputFormatPcm44100     TextToSpeechFullWithTimestampsOutputFormat = "pcm_44100"
	TextToSpeechFullWithTimestampsOutputFormatPcm48000     TextToSpeechFullWithTimestampsOutputFormat = "pcm_48000"
	TextToSpeechFullWithTimestampsOutputFormatUlaw8000     TextToSpeechFullWithTimestampsOutputFormat = "ulaw_8000"
	TextToSpeechFullWithTimestampsOutputFormatAlaw8000     TextToSpeechFullWithTimestampsOutputFormat = "alaw_8000"
	TextToSpeechFullWithTimestampsOutputFormatOpus4800032  TextToSpeechFullWithTimestampsOutputFormat = "opus_48000_32"
	TextToSpeechFullWithTimestampsOutputFormatOpus4800064  TextToSpeechFullWithTimestampsOutputFormat = "opus_48000_64"
	TextToSpeechFullWithTimestampsOutputFormatOpus4800096  TextToSpeechFullWithTimestampsOutputFormat = "opus_48000_96"
	TextToSpeechFullWithTimestampsOutputFormatOpus48000128 TextToSpeechFullWithTimestampsOutputFormat = "opus_48000_128"
	TextToSpeechFullWithTimestampsOutputFormatOpus48000192 TextToSpeechFullWithTimestampsOutputFormat = "opus_48000_192"
)

func (TextToSpeechFullWithTimestampsOutputFormat) AllValues

AllValues returns all TextToSpeechFullWithTimestampsOutputFormat values.

func (TextToSpeechFullWithTimestampsOutputFormat) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*TextToSpeechFullWithTimestampsOutputFormat) UnmarshalText

func (s *TextToSpeechFullWithTimestampsOutputFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TextToSpeechFullWithTimestampsOutputFormat) Validate

type TextToSpeechFullWithTimestampsParams

type TextToSpeechFullWithTimestampsParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// When enable_logging is set to false zero retention mode will be used for the request. This will
	// mean history features are unavailable for this request, including request stitching. Zero
	// retention mode may only be used by enterprise customers.
	EnableLogging OptBool `json:",omitempty,omitzero"`
	// You can turn on latency optimizations at some cost of quality. The best possible final latency
	// varies by model. Possible values:
	// 0 - default mode (no latency optimizations)
	// 1 - normal latency optimizations (about 50% of possible latency improvement of option 3)
	// 2 - strong latency optimizations (about 75% of possible latency improvement of option 3)
	// 3 - max latency optimizations
	// 4 - max latency optimizations, but also with text normalizer turned off for even more latency
	// savings (best latency, but can mispronounce eg numbers and dates).
	// Defaults to None.
	//
	// Deprecated: schema marks this parameter as deprecated.
	OptimizeStreamingLatency OptNilInt `json:",omitempty,omitzero"`
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptTextToSpeechFullWithTimestampsOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

TextToSpeechFullWithTimestampsParams is parameters of text_to_speech_full_with_timestamps operation.

type TextToSpeechFullWithTimestampsRes

type TextToSpeechFullWithTimestampsRes interface {
	// contains filtered or unexported methods
}

type TextToSpeechStreamOK

type TextToSpeechStreamOK struct {
	Data io.Reader
}

func (TextToSpeechStreamOK) Read

func (s TextToSpeechStreamOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type TextToSpeechStreamOutputFormat

type TextToSpeechStreamOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	TextToSpeechStreamOutputFormatMp32205032   TextToSpeechStreamOutputFormat = "mp3_22050_32"
	TextToSpeechStreamOutputFormatMp32400048   TextToSpeechStreamOutputFormat = "mp3_24000_48"
	TextToSpeechStreamOutputFormatMp34410032   TextToSpeechStreamOutputFormat = "mp3_44100_32"
	TextToSpeechStreamOutputFormatMp34410064   TextToSpeechStreamOutputFormat = "mp3_44100_64"
	TextToSpeechStreamOutputFormatMp34410096   TextToSpeechStreamOutputFormat = "mp3_44100_96"
	TextToSpeechStreamOutputFormatMp344100128  TextToSpeechStreamOutputFormat = "mp3_44100_128"
	TextToSpeechStreamOutputFormatMp344100192  TextToSpeechStreamOutputFormat = "mp3_44100_192"
	TextToSpeechStreamOutputFormatPcm8000      TextToSpeechStreamOutputFormat = "pcm_8000"
	TextToSpeechStreamOutputFormatPcm16000     TextToSpeechStreamOutputFormat = "pcm_16000"
	TextToSpeechStreamOutputFormatPcm22050     TextToSpeechStreamOutputFormat = "pcm_22050"
	TextToSpeechStreamOutputFormatPcm24000     TextToSpeechStreamOutputFormat = "pcm_24000"
	TextToSpeechStreamOutputFormatPcm32000     TextToSpeechStreamOutputFormat = "pcm_32000"
	TextToSpeechStreamOutputFormatPcm44100     TextToSpeechStreamOutputFormat = "pcm_44100"
	TextToSpeechStreamOutputFormatPcm48000     TextToSpeechStreamOutputFormat = "pcm_48000"
	TextToSpeechStreamOutputFormatUlaw8000     TextToSpeechStreamOutputFormat = "ulaw_8000"
	TextToSpeechStreamOutputFormatAlaw8000     TextToSpeechStreamOutputFormat = "alaw_8000"
	TextToSpeechStreamOutputFormatOpus4800032  TextToSpeechStreamOutputFormat = "opus_48000_32"
	TextToSpeechStreamOutputFormatOpus4800064  TextToSpeechStreamOutputFormat = "opus_48000_64"
	TextToSpeechStreamOutputFormatOpus4800096  TextToSpeechStreamOutputFormat = "opus_48000_96"
	TextToSpeechStreamOutputFormatOpus48000128 TextToSpeechStreamOutputFormat = "opus_48000_128"
	TextToSpeechStreamOutputFormatOpus48000192 TextToSpeechStreamOutputFormat = "opus_48000_192"
)

func (TextToSpeechStreamOutputFormat) AllValues

AllValues returns all TextToSpeechStreamOutputFormat values.

func (TextToSpeechStreamOutputFormat) MarshalText

func (s TextToSpeechStreamOutputFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TextToSpeechStreamOutputFormat) UnmarshalText

func (s *TextToSpeechStreamOutputFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TextToSpeechStreamOutputFormat) Validate

type TextToSpeechStreamParams

type TextToSpeechStreamParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// When enable_logging is set to false zero retention mode will be used for the request. This will
	// mean history features are unavailable for this request, including request stitching. Zero
	// retention mode may only be used by enterprise customers.
	EnableLogging OptBool `json:",omitempty,omitzero"`
	// You can turn on latency optimizations at some cost of quality. The best possible final latency
	// varies by model. Possible values:
	// 0 - default mode (no latency optimizations)
	// 1 - normal latency optimizations (about 50% of possible latency improvement of option 3)
	// 2 - strong latency optimizations (about 75% of possible latency improvement of option 3)
	// 3 - max latency optimizations
	// 4 - max latency optimizations, but also with text normalizer turned off for even more latency
	// savings (best latency, but can mispronounce eg numbers and dates).
	// Defaults to None.
	//
	// Deprecated: schema marks this parameter as deprecated.
	OptimizeStreamingLatency OptNilInt `json:",omitempty,omitzero"`
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptTextToSpeechStreamOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

TextToSpeechStreamParams is parameters of text_to_speech_stream operation.

type TextToSpeechStreamRes

type TextToSpeechStreamRes interface {
	// contains filtered or unexported methods
}

type TextToSpeechStreamWithTimestampsOutputFormat

type TextToSpeechStreamWithTimestampsOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	TextToSpeechStreamWithTimestampsOutputFormatMp32205032   TextToSpeechStreamWithTimestampsOutputFormat = "mp3_22050_32"
	TextToSpeechStreamWithTimestampsOutputFormatMp32400048   TextToSpeechStreamWithTimestampsOutputFormat = "mp3_24000_48"
	TextToSpeechStreamWithTimestampsOutputFormatMp34410032   TextToSpeechStreamWithTimestampsOutputFormat = "mp3_44100_32"
	TextToSpeechStreamWithTimestampsOutputFormatMp34410064   TextToSpeechStreamWithTimestampsOutputFormat = "mp3_44100_64"
	TextToSpeechStreamWithTimestampsOutputFormatMp34410096   TextToSpeechStreamWithTimestampsOutputFormat = "mp3_44100_96"
	TextToSpeechStreamWithTimestampsOutputFormatMp344100128  TextToSpeechStreamWithTimestampsOutputFormat = "mp3_44100_128"
	TextToSpeechStreamWithTimestampsOutputFormatMp344100192  TextToSpeechStreamWithTimestampsOutputFormat = "mp3_44100_192"
	TextToSpeechStreamWithTimestampsOutputFormatPcm8000      TextToSpeechStreamWithTimestampsOutputFormat = "pcm_8000"
	TextToSpeechStreamWithTimestampsOutputFormatPcm16000     TextToSpeechStreamWithTimestampsOutputFormat = "pcm_16000"
	TextToSpeechStreamWithTimestampsOutputFormatPcm22050     TextToSpeechStreamWithTimestampsOutputFormat = "pcm_22050"
	TextToSpeechStreamWithTimestampsOutputFormatPcm24000     TextToSpeechStreamWithTimestampsOutputFormat = "pcm_24000"
	TextToSpeechStreamWithTimestampsOutputFormatPcm32000     TextToSpeechStreamWithTimestampsOutputFormat = "pcm_32000"
	TextToSpeechStreamWithTimestampsOutputFormatPcm44100     TextToSpeechStreamWithTimestampsOutputFormat = "pcm_44100"
	TextToSpeechStreamWithTimestampsOutputFormatPcm48000     TextToSpeechStreamWithTimestampsOutputFormat = "pcm_48000"
	TextToSpeechStreamWithTimestampsOutputFormatUlaw8000     TextToSpeechStreamWithTimestampsOutputFormat = "ulaw_8000"
	TextToSpeechStreamWithTimestampsOutputFormatAlaw8000     TextToSpeechStreamWithTimestampsOutputFormat = "alaw_8000"
	TextToSpeechStreamWithTimestampsOutputFormatOpus4800032  TextToSpeechStreamWithTimestampsOutputFormat = "opus_48000_32"
	TextToSpeechStreamWithTimestampsOutputFormatOpus4800064  TextToSpeechStreamWithTimestampsOutputFormat = "opus_48000_64"
	TextToSpeechStreamWithTimestampsOutputFormatOpus4800096  TextToSpeechStreamWithTimestampsOutputFormat = "opus_48000_96"
	TextToSpeechStreamWithTimestampsOutputFormatOpus48000128 TextToSpeechStreamWithTimestampsOutputFormat = "opus_48000_128"
	TextToSpeechStreamWithTimestampsOutputFormatOpus48000192 TextToSpeechStreamWithTimestampsOutputFormat = "opus_48000_192"
)

func (TextToSpeechStreamWithTimestampsOutputFormat) AllValues

AllValues returns all TextToSpeechStreamWithTimestampsOutputFormat values.

func (TextToSpeechStreamWithTimestampsOutputFormat) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*TextToSpeechStreamWithTimestampsOutputFormat) UnmarshalText

func (s *TextToSpeechStreamWithTimestampsOutputFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TextToSpeechStreamWithTimestampsOutputFormat) Validate

type TextToSpeechStreamWithTimestampsParams

type TextToSpeechStreamWithTimestampsParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// When enable_logging is set to false zero retention mode will be used for the request. This will
	// mean history features are unavailable for this request, including request stitching. Zero
	// retention mode may only be used by enterprise customers.
	EnableLogging OptBool `json:",omitempty,omitzero"`
	// You can turn on latency optimizations at some cost of quality. The best possible final latency
	// varies by model. Possible values:
	// 0 - default mode (no latency optimizations)
	// 1 - normal latency optimizations (about 50% of possible latency improvement of option 3)
	// 2 - strong latency optimizations (about 75% of possible latency improvement of option 3)
	// 3 - max latency optimizations
	// 4 - max latency optimizations, but also with text normalizer turned off for even more latency
	// savings (best latency, but can mispronounce eg numbers and dates).
	// Defaults to None.
	//
	// Deprecated: schema marks this parameter as deprecated.
	OptimizeStreamingLatency OptNilInt `json:",omitempty,omitzero"`
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptTextToSpeechStreamWithTimestampsOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

TextToSpeechStreamWithTimestampsParams is parameters of text_to_speech_stream_with_timestamps operation.

type TextToSpeechStreamWithTimestampsRes

type TextToSpeechStreamWithTimestampsRes interface {
	// contains filtered or unexported methods
}

type TextToVoiceDesignOutputFormat

type TextToVoiceDesignOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	TextToVoiceDesignOutputFormatMp32205032   TextToVoiceDesignOutputFormat = "mp3_22050_32"
	TextToVoiceDesignOutputFormatMp32400048   TextToVoiceDesignOutputFormat = "mp3_24000_48"
	TextToVoiceDesignOutputFormatMp34410032   TextToVoiceDesignOutputFormat = "mp3_44100_32"
	TextToVoiceDesignOutputFormatMp34410064   TextToVoiceDesignOutputFormat = "mp3_44100_64"
	TextToVoiceDesignOutputFormatMp34410096   TextToVoiceDesignOutputFormat = "mp3_44100_96"
	TextToVoiceDesignOutputFormatMp344100128  TextToVoiceDesignOutputFormat = "mp3_44100_128"
	TextToVoiceDesignOutputFormatMp344100192  TextToVoiceDesignOutputFormat = "mp3_44100_192"
	TextToVoiceDesignOutputFormatPcm8000      TextToVoiceDesignOutputFormat = "pcm_8000"
	TextToVoiceDesignOutputFormatPcm16000     TextToVoiceDesignOutputFormat = "pcm_16000"
	TextToVoiceDesignOutputFormatPcm22050     TextToVoiceDesignOutputFormat = "pcm_22050"
	TextToVoiceDesignOutputFormatPcm24000     TextToVoiceDesignOutputFormat = "pcm_24000"
	TextToVoiceDesignOutputFormatPcm32000     TextToVoiceDesignOutputFormat = "pcm_32000"
	TextToVoiceDesignOutputFormatPcm44100     TextToVoiceDesignOutputFormat = "pcm_44100"
	TextToVoiceDesignOutputFormatPcm48000     TextToVoiceDesignOutputFormat = "pcm_48000"
	TextToVoiceDesignOutputFormatUlaw8000     TextToVoiceDesignOutputFormat = "ulaw_8000"
	TextToVoiceDesignOutputFormatAlaw8000     TextToVoiceDesignOutputFormat = "alaw_8000"
	TextToVoiceDesignOutputFormatOpus4800032  TextToVoiceDesignOutputFormat = "opus_48000_32"
	TextToVoiceDesignOutputFormatOpus4800064  TextToVoiceDesignOutputFormat = "opus_48000_64"
	TextToVoiceDesignOutputFormatOpus4800096  TextToVoiceDesignOutputFormat = "opus_48000_96"
	TextToVoiceDesignOutputFormatOpus48000128 TextToVoiceDesignOutputFormat = "opus_48000_128"
	TextToVoiceDesignOutputFormatOpus48000192 TextToVoiceDesignOutputFormat = "opus_48000_192"
)

func (TextToVoiceDesignOutputFormat) AllValues

AllValues returns all TextToVoiceDesignOutputFormat values.

func (TextToVoiceDesignOutputFormat) MarshalText

func (s TextToVoiceDesignOutputFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TextToVoiceDesignOutputFormat) UnmarshalText

func (s *TextToVoiceDesignOutputFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TextToVoiceDesignOutputFormat) Validate

func (s TextToVoiceDesignOutputFormat) Validate() error

type TextToVoiceDesignParams

type TextToVoiceDesignParams struct {
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptTextToVoiceDesignOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

TextToVoiceDesignParams is parameters of text_to_voice_design operation.

type TextToVoiceDesignRes

type TextToVoiceDesignRes interface {
	// contains filtered or unexported methods
}

type TextToVoiceOutputFormat

type TextToVoiceOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	TextToVoiceOutputFormatMp32205032   TextToVoiceOutputFormat = "mp3_22050_32"
	TextToVoiceOutputFormatMp32400048   TextToVoiceOutputFormat = "mp3_24000_48"
	TextToVoiceOutputFormatMp34410032   TextToVoiceOutputFormat = "mp3_44100_32"
	TextToVoiceOutputFormatMp34410064   TextToVoiceOutputFormat = "mp3_44100_64"
	TextToVoiceOutputFormatMp34410096   TextToVoiceOutputFormat = "mp3_44100_96"
	TextToVoiceOutputFormatMp344100128  TextToVoiceOutputFormat = "mp3_44100_128"
	TextToVoiceOutputFormatMp344100192  TextToVoiceOutputFormat = "mp3_44100_192"
	TextToVoiceOutputFormatPcm8000      TextToVoiceOutputFormat = "pcm_8000"
	TextToVoiceOutputFormatPcm16000     TextToVoiceOutputFormat = "pcm_16000"
	TextToVoiceOutputFormatPcm22050     TextToVoiceOutputFormat = "pcm_22050"
	TextToVoiceOutputFormatPcm24000     TextToVoiceOutputFormat = "pcm_24000"
	TextToVoiceOutputFormatPcm32000     TextToVoiceOutputFormat = "pcm_32000"
	TextToVoiceOutputFormatPcm44100     TextToVoiceOutputFormat = "pcm_44100"
	TextToVoiceOutputFormatPcm48000     TextToVoiceOutputFormat = "pcm_48000"
	TextToVoiceOutputFormatUlaw8000     TextToVoiceOutputFormat = "ulaw_8000"
	TextToVoiceOutputFormatAlaw8000     TextToVoiceOutputFormat = "alaw_8000"
	TextToVoiceOutputFormatOpus4800032  TextToVoiceOutputFormat = "opus_48000_32"
	TextToVoiceOutputFormatOpus4800064  TextToVoiceOutputFormat = "opus_48000_64"
	TextToVoiceOutputFormatOpus4800096  TextToVoiceOutputFormat = "opus_48000_96"
	TextToVoiceOutputFormatOpus48000128 TextToVoiceOutputFormat = "opus_48000_128"
	TextToVoiceOutputFormatOpus48000192 TextToVoiceOutputFormat = "opus_48000_192"
)

func (TextToVoiceOutputFormat) AllValues

AllValues returns all TextToVoiceOutputFormat values.

func (TextToVoiceOutputFormat) MarshalText

func (s TextToVoiceOutputFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TextToVoiceOutputFormat) UnmarshalText

func (s *TextToVoiceOutputFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TextToVoiceOutputFormat) Validate

func (s TextToVoiceOutputFormat) Validate() error

type TextToVoiceParams

type TextToVoiceParams struct {
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptTextToVoiceOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

TextToVoiceParams is parameters of text_to_voice operation.

type TextToVoicePreviewStreamOK

type TextToVoicePreviewStreamOK struct {
	Data io.Reader
}

func (TextToVoicePreviewStreamOK) Read

func (s TextToVoicePreviewStreamOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type TextToVoicePreviewStreamParams

type TextToVoicePreviewStreamParams struct {
	// The generated_voice_id to stream.
	GeneratedVoiceID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

TextToVoicePreviewStreamParams is parameters of text_to_voice_preview_stream operation.

type TextToVoicePreviewStreamRes

type TextToVoicePreviewStreamRes interface {
	// contains filtered or unexported methods
}

type TextToVoiceRemixOutputFormat

type TextToVoiceRemixOutputFormat string

Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22. 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.

const (
	TextToVoiceRemixOutputFormatMp32205032   TextToVoiceRemixOutputFormat = "mp3_22050_32"
	TextToVoiceRemixOutputFormatMp32400048   TextToVoiceRemixOutputFormat = "mp3_24000_48"
	TextToVoiceRemixOutputFormatMp34410032   TextToVoiceRemixOutputFormat = "mp3_44100_32"
	TextToVoiceRemixOutputFormatMp34410064   TextToVoiceRemixOutputFormat = "mp3_44100_64"
	TextToVoiceRemixOutputFormatMp34410096   TextToVoiceRemixOutputFormat = "mp3_44100_96"
	TextToVoiceRemixOutputFormatMp344100128  TextToVoiceRemixOutputFormat = "mp3_44100_128"
	TextToVoiceRemixOutputFormatMp344100192  TextToVoiceRemixOutputFormat = "mp3_44100_192"
	TextToVoiceRemixOutputFormatPcm8000      TextToVoiceRemixOutputFormat = "pcm_8000"
	TextToVoiceRemixOutputFormatPcm16000     TextToVoiceRemixOutputFormat = "pcm_16000"
	TextToVoiceRemixOutputFormatPcm22050     TextToVoiceRemixOutputFormat = "pcm_22050"
	TextToVoiceRemixOutputFormatPcm24000     TextToVoiceRemixOutputFormat = "pcm_24000"
	TextToVoiceRemixOutputFormatPcm32000     TextToVoiceRemixOutputFormat = "pcm_32000"
	TextToVoiceRemixOutputFormatPcm44100     TextToVoiceRemixOutputFormat = "pcm_44100"
	TextToVoiceRemixOutputFormatPcm48000     TextToVoiceRemixOutputFormat = "pcm_48000"
	TextToVoiceRemixOutputFormatUlaw8000     TextToVoiceRemixOutputFormat = "ulaw_8000"
	TextToVoiceRemixOutputFormatAlaw8000     TextToVoiceRemixOutputFormat = "alaw_8000"
	TextToVoiceRemixOutputFormatOpus4800032  TextToVoiceRemixOutputFormat = "opus_48000_32"
	TextToVoiceRemixOutputFormatOpus4800064  TextToVoiceRemixOutputFormat = "opus_48000_64"
	TextToVoiceRemixOutputFormatOpus4800096  TextToVoiceRemixOutputFormat = "opus_48000_96"
	TextToVoiceRemixOutputFormatOpus48000128 TextToVoiceRemixOutputFormat = "opus_48000_128"
	TextToVoiceRemixOutputFormatOpus48000192 TextToVoiceRemixOutputFormat = "opus_48000_192"
)

func (TextToVoiceRemixOutputFormat) AllValues

AllValues returns all TextToVoiceRemixOutputFormat values.

func (TextToVoiceRemixOutputFormat) MarshalText

func (s TextToVoiceRemixOutputFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TextToVoiceRemixOutputFormat) UnmarshalText

func (s *TextToVoiceRemixOutputFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TextToVoiceRemixOutputFormat) Validate

func (s TextToVoiceRemixOutputFormat) Validate() error

type TextToVoiceRemixParams

type TextToVoiceRemixParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.
	// 05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you
	// to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be
	// subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often
	// approximated as u-law) is commonly used for Twilio audio inputs.
	OutputFormat OptTextToVoiceRemixOutputFormat `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

TextToVoiceRemixParams is parameters of text_to_voice_remix operation.

type TextToVoiceRemixRes

type TextToVoiceRemixRes interface {
	// contains filtered or unexported methods
}

type TextToVoiceRes

type TextToVoiceRes interface {
	// contains filtered or unexported methods
}

type TimeRange

type TimeRange struct {
	EndMs   int `json:"end_ms"`
	StartMs int `json:"start_ms"`
}

Ref: #/components/schemas/TimeRange

func (*TimeRange) Decode

func (s *TimeRange) Decode(d *jx.Decoder) error

Decode decodes TimeRange from json.

func (*TimeRange) Encode

func (s *TimeRange) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TimeRange) GetEndMs

func (s *TimeRange) GetEndMs() int

GetEndMs returns the value of EndMs.

func (*TimeRange) GetStartMs

func (s *TimeRange) GetStartMs() int

GetStartMs returns the value of StartMs.

func (*TimeRange) MarshalJSON

func (s *TimeRange) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TimeRange) SetEndMs

func (s *TimeRange) SetEndMs(val int)

SetEndMs sets the value of EndMs.

func (*TimeRange) SetStartMs

func (s *TimeRange) SetStartMs(val int)

SetStartMs sets the value of StartMs.

func (*TimeRange) UnmarshalJSON

func (s *TimeRange) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TokenResponseModel

type TokenResponseModel struct {
	Token string `json:"token"`
}

Ref: #/components/schemas/TokenResponseModel

func (*TokenResponseModel) Decode

func (s *TokenResponseModel) Decode(d *jx.Decoder) error

Decode decodes TokenResponseModel from json.

func (*TokenResponseModel) Encode

func (s *TokenResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TokenResponseModel) GetToken

func (s *TokenResponseModel) GetToken() string

GetToken returns the value of Token.

func (*TokenResponseModel) MarshalJSON

func (s *TokenResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TokenResponseModel) SetToken

func (s *TokenResponseModel) SetToken(val string)

SetToken sets the value of Token.

func (*TokenResponseModel) UnmarshalJSON

func (s *TokenResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Tool

type Tool struct {
	Meta            OptToolMeta         `json:"_meta"`
	Annotations     OptToolAnnotations  `json:"annotations"`
	Description     OptNilString        `json:"description"`
	InputSchema     ToolInputSchema     `json:"inputSchema"`
	Name            string              `json:"name"`
	OutputSchema    OptToolOutputSchema `json:"outputSchema"`
	Title           OptNilString        `json:"title"`
	AdditionalProps ToolAdditional
}

Definition for a tool the client can call. Ref: #/components/schemas/Tool

func (*Tool) Decode

func (s *Tool) Decode(d *jx.Decoder) error

Decode decodes Tool from json.

func (*Tool) Encode

func (s *Tool) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Tool) GetAdditionalProps

func (s *Tool) GetAdditionalProps() ToolAdditional

GetAdditionalProps returns the value of AdditionalProps.

func (*Tool) GetAnnotations

func (s *Tool) GetAnnotations() OptToolAnnotations

GetAnnotations returns the value of Annotations.

func (*Tool) GetDescription

func (s *Tool) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*Tool) GetInputSchema

func (s *Tool) GetInputSchema() ToolInputSchema

GetInputSchema returns the value of InputSchema.

func (*Tool) GetMeta

func (s *Tool) GetMeta() OptToolMeta

GetMeta returns the value of Meta.

func (*Tool) GetName

func (s *Tool) GetName() string

GetName returns the value of Name.

func (*Tool) GetOutputSchema

func (s *Tool) GetOutputSchema() OptToolOutputSchema

GetOutputSchema returns the value of OutputSchema.

func (*Tool) GetTitle

func (s *Tool) GetTitle() OptNilString

GetTitle returns the value of Title.

func (*Tool) MarshalJSON

func (s *Tool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Tool) SetAdditionalProps

func (s *Tool) SetAdditionalProps(val ToolAdditional)

SetAdditionalProps sets the value of AdditionalProps.

func (*Tool) SetAnnotations

func (s *Tool) SetAnnotations(val OptToolAnnotations)

SetAnnotations sets the value of Annotations.

func (*Tool) SetDescription

func (s *Tool) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*Tool) SetInputSchema

func (s *Tool) SetInputSchema(val ToolInputSchema)

SetInputSchema sets the value of InputSchema.

func (*Tool) SetMeta

func (s *Tool) SetMeta(val OptToolMeta)

SetMeta sets the value of Meta.

func (*Tool) SetName

func (s *Tool) SetName(val string)

SetName sets the value of Name.

func (*Tool) SetOutputSchema

func (s *Tool) SetOutputSchema(val OptToolOutputSchema)

SetOutputSchema sets the value of OutputSchema.

func (*Tool) SetTitle

func (s *Tool) SetTitle(val OptNilString)

SetTitle sets the value of Title.

func (*Tool) UnmarshalJSON

func (s *Tool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ToolAdditional

type ToolAdditional map[string]jx.Raw

func (*ToolAdditional) Decode

func (s *ToolAdditional) Decode(d *jx.Decoder) error

Decode decodes ToolAdditional from json.

func (ToolAdditional) Encode

func (s ToolAdditional) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (ToolAdditional) MarshalJSON

func (s ToolAdditional) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ToolAdditional) UnmarshalJSON

func (s *ToolAdditional) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ToolAnnotations

type ToolAnnotations struct {
	DestructiveHint OptNilBool   `json:"destructiveHint"`
	IdempotentHint  OptNilBool   `json:"idempotentHint"`
	OpenWorldHint   OptNilBool   `json:"openWorldHint"`
	ReadOnlyHint    OptNilBool   `json:"readOnlyHint"`
	Title           OptNilString `json:"title"`
	AdditionalProps ToolAnnotationsAdditional
}

Additional properties describing a Tool to clients. NOTE: all properties in ToolAnnotations are **hints**. They are not guaranteed to provide a faithful description of tool behavior (including descriptive properties like `title`). Clients should never make tool use decisions based on ToolAnnotations received from untrusted servers. Ref: #/components/schemas/ToolAnnotations

func (*ToolAnnotations) Decode

func (s *ToolAnnotations) Decode(d *jx.Decoder) error

Decode decodes ToolAnnotations from json.

func (*ToolAnnotations) Encode

func (s *ToolAnnotations) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ToolAnnotations) GetAdditionalProps

func (s *ToolAnnotations) GetAdditionalProps() ToolAnnotationsAdditional

GetAdditionalProps returns the value of AdditionalProps.

func (*ToolAnnotations) GetDestructiveHint

func (s *ToolAnnotations) GetDestructiveHint() OptNilBool

GetDestructiveHint returns the value of DestructiveHint.

func (*ToolAnnotations) GetIdempotentHint

func (s *ToolAnnotations) GetIdempotentHint() OptNilBool

GetIdempotentHint returns the value of IdempotentHint.

func (*ToolAnnotations) GetOpenWorldHint

func (s *ToolAnnotations) GetOpenWorldHint() OptNilBool

GetOpenWorldHint returns the value of OpenWorldHint.

func (*ToolAnnotations) GetReadOnlyHint

func (s *ToolAnnotations) GetReadOnlyHint() OptNilBool

GetReadOnlyHint returns the value of ReadOnlyHint.

func (*ToolAnnotations) GetTitle

func (s *ToolAnnotations) GetTitle() OptNilString

GetTitle returns the value of Title.

func (*ToolAnnotations) MarshalJSON

func (s *ToolAnnotations) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ToolAnnotations) SetAdditionalProps

func (s *ToolAnnotations) SetAdditionalProps(val ToolAnnotationsAdditional)

SetAdditionalProps sets the value of AdditionalProps.

func (*ToolAnnotations) SetDestructiveHint

func (s *ToolAnnotations) SetDestructiveHint(val OptNilBool)

SetDestructiveHint sets the value of DestructiveHint.

func (*ToolAnnotations) SetIdempotentHint

func (s *ToolAnnotations) SetIdempotentHint(val OptNilBool)

SetIdempotentHint sets the value of IdempotentHint.

func (*ToolAnnotations) SetOpenWorldHint

func (s *ToolAnnotations) SetOpenWorldHint(val OptNilBool)

SetOpenWorldHint sets the value of OpenWorldHint.

func (*ToolAnnotations) SetReadOnlyHint

func (s *ToolAnnotations) SetReadOnlyHint(val OptNilBool)

SetReadOnlyHint sets the value of ReadOnlyHint.

func (*ToolAnnotations) SetTitle

func (s *ToolAnnotations) SetTitle(val OptNilString)

SetTitle sets the value of Title.

func (*ToolAnnotations) UnmarshalJSON

func (s *ToolAnnotations) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ToolAnnotationsAdditional

type ToolAnnotationsAdditional map[string]jx.Raw

func (*ToolAnnotationsAdditional) Decode

func (s *ToolAnnotationsAdditional) Decode(d *jx.Decoder) error

Decode decodes ToolAnnotationsAdditional from json.

func (ToolAnnotationsAdditional) Encode

func (s ToolAnnotationsAdditional) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (ToolAnnotationsAdditional) MarshalJSON

func (s ToolAnnotationsAdditional) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ToolAnnotationsAdditional) UnmarshalJSON

func (s *ToolAnnotationsAdditional) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ToolCallSoundBehavior

type ToolCallSoundBehavior string

Determines how the tool call sound should be played. Ref: #/components/schemas/ToolCallSoundBehavior

const (
	ToolCallSoundBehaviorAuto   ToolCallSoundBehavior = "auto"
	ToolCallSoundBehaviorAlways ToolCallSoundBehavior = "always"
)

func (ToolCallSoundBehavior) AllValues

AllValues returns all ToolCallSoundBehavior values.

func (*ToolCallSoundBehavior) Decode

func (s *ToolCallSoundBehavior) Decode(d *jx.Decoder) error

Decode decodes ToolCallSoundBehavior from json.

func (ToolCallSoundBehavior) Encode

func (s ToolCallSoundBehavior) Encode(e *jx.Encoder)

Encode encodes ToolCallSoundBehavior as json.

func (ToolCallSoundBehavior) MarshalJSON

func (s ToolCallSoundBehavior) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ToolCallSoundBehavior) MarshalText

func (s ToolCallSoundBehavior) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ToolCallSoundBehavior) UnmarshalJSON

func (s *ToolCallSoundBehavior) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ToolCallSoundBehavior) UnmarshalText

func (s *ToolCallSoundBehavior) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ToolCallSoundBehavior) Validate

func (s ToolCallSoundBehavior) Validate() error

type ToolCallSoundType

type ToolCallSoundType string

Predefined tool call sound types. Ref: #/components/schemas/ToolCallSoundType

const (
	ToolCallSoundTypeTyping    ToolCallSoundType = "typing"
	ToolCallSoundTypeElevator1 ToolCallSoundType = "elevator1"
	ToolCallSoundTypeElevator2 ToolCallSoundType = "elevator2"
	ToolCallSoundTypeElevator3 ToolCallSoundType = "elevator3"
	ToolCallSoundTypeElevator4 ToolCallSoundType = "elevator4"
)

func (ToolCallSoundType) AllValues

func (ToolCallSoundType) AllValues() []ToolCallSoundType

AllValues returns all ToolCallSoundType values.

func (*ToolCallSoundType) Decode

func (s *ToolCallSoundType) Decode(d *jx.Decoder) error

Decode decodes ToolCallSoundType from json.

func (ToolCallSoundType) Encode

func (s ToolCallSoundType) Encode(e *jx.Encoder)

Encode encodes ToolCallSoundType as json.

func (ToolCallSoundType) MarshalJSON

func (s ToolCallSoundType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ToolCallSoundType) MarshalText

func (s ToolCallSoundType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ToolCallSoundType) UnmarshalJSON

func (s *ToolCallSoundType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ToolCallSoundType) UnmarshalText

func (s *ToolCallSoundType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ToolCallSoundType) Validate

func (s ToolCallSoundType) Validate() error

type ToolExecutionMode

type ToolExecutionMode string

Ref: #/components/schemas/ToolExecutionMode

const (
	ToolExecutionModeImmediate      ToolExecutionMode = "immediate"
	ToolExecutionModePostToolSpeech ToolExecutionMode = "post_tool_speech"
	ToolExecutionModeAsync          ToolExecutionMode = "async"
)

func (ToolExecutionMode) AllValues

func (ToolExecutionMode) AllValues() []ToolExecutionMode

AllValues returns all ToolExecutionMode values.

func (*ToolExecutionMode) Decode

func (s *ToolExecutionMode) Decode(d *jx.Decoder) error

Decode decodes ToolExecutionMode from json.

func (ToolExecutionMode) Encode

func (s ToolExecutionMode) Encode(e *jx.Encoder)

Encode encodes ToolExecutionMode as json.

func (ToolExecutionMode) MarshalJSON

func (s ToolExecutionMode) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ToolExecutionMode) MarshalText

func (s ToolExecutionMode) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ToolExecutionMode) UnmarshalJSON

func (s *ToolExecutionMode) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ToolExecutionMode) UnmarshalText

func (s *ToolExecutionMode) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ToolExecutionMode) Validate

func (s ToolExecutionMode) Validate() error

type ToolInputSchema

type ToolInputSchema struct{}

func (*ToolInputSchema) Decode

func (s *ToolInputSchema) Decode(d *jx.Decoder) error

Decode decodes ToolInputSchema from json.

func (*ToolInputSchema) Encode

func (s *ToolInputSchema) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ToolInputSchema) MarshalJSON

func (s *ToolInputSchema) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ToolInputSchema) UnmarshalJSON

func (s *ToolInputSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ToolMeta

type ToolMeta struct{}

func (*ToolMeta) Decode

func (s *ToolMeta) Decode(d *jx.Decoder) error

Decode decodes ToolMeta from json.

func (*ToolMeta) Encode

func (s *ToolMeta) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ToolMeta) MarshalJSON

func (s *ToolMeta) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ToolMeta) UnmarshalJSON

func (s *ToolMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ToolOutputSchema

type ToolOutputSchema struct{}

func (*ToolOutputSchema) Decode

func (s *ToolOutputSchema) Decode(d *jx.Decoder) error

Decode decodes ToolOutputSchema from json.

func (*ToolOutputSchema) Encode

func (s *ToolOutputSchema) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ToolOutputSchema) MarshalJSON

func (s *ToolOutputSchema) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ToolOutputSchema) UnmarshalJSON

func (s *ToolOutputSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ToolType

type ToolType string

Ref: #/components/schemas/ToolType

const (
	ToolTypeSystem                ToolType = "system"
	ToolTypeWebhook               ToolType = "webhook"
	ToolTypeClient                ToolType = "client"
	ToolTypeMcp                   ToolType = "mcp"
	ToolTypeWorkflow              ToolType = "workflow"
	ToolTypeAPIIntegrationWebhook ToolType = "api_integration_webhook"
	ToolTypeAPIIntegrationMcp     ToolType = "api_integration_mcp"
)

func (ToolType) AllValues

func (ToolType) AllValues() []ToolType

AllValues returns all ToolType values.

func (*ToolType) Decode

func (s *ToolType) Decode(d *jx.Decoder) error

Decode decodes ToolType from json.

func (ToolType) Encode

func (s ToolType) Encode(e *jx.Encoder)

Encode encodes ToolType as json.

func (ToolType) MarshalJSON

func (s ToolType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ToolType) MarshalText

func (s ToolType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ToolType) UnmarshalJSON

func (s *ToolType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ToolType) UnmarshalText

func (s *ToolType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ToolType) Validate

func (s ToolType) Validate() error

type TranscribeParams

type TranscribeParams struct {
	// ID of the dubbing project.
	DubbingID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

TranscribeParams is parameters of transcribe operation.

type TranscribeRes

type TranscribeRes interface {
	// contains filtered or unexported methods
}

type TransferToAgentToolResultErrorModel

type TransferToAgentToolResultErrorModel struct {
	Error      string                                           `json:"error"`
	FromAgent  string                                           `json:"from_agent"`
	ResultType OptTransferToAgentToolResultErrorModelResultType `json:"result_type"`
	Status     OptTransferToAgentToolResultErrorModelStatus     `json:"status"`
}

Ref: #/components/schemas/TransferToAgentToolResultErrorModel

func (*TransferToAgentToolResultErrorModel) Decode

Decode decodes TransferToAgentToolResultErrorModel from json.

func (*TransferToAgentToolResultErrorModel) Encode

Encode implements json.Marshaler.

func (*TransferToAgentToolResultErrorModel) GetError

GetError returns the value of Error.

func (*TransferToAgentToolResultErrorModel) GetFromAgent

func (s *TransferToAgentToolResultErrorModel) GetFromAgent() string

GetFromAgent returns the value of FromAgent.

func (*TransferToAgentToolResultErrorModel) GetResultType

GetResultType returns the value of ResultType.

func (*TransferToAgentToolResultErrorModel) GetStatus

GetStatus returns the value of Status.

func (*TransferToAgentToolResultErrorModel) MarshalJSON

func (s *TransferToAgentToolResultErrorModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransferToAgentToolResultErrorModel) SetError

SetError sets the value of Error.

func (*TransferToAgentToolResultErrorModel) SetFromAgent

func (s *TransferToAgentToolResultErrorModel) SetFromAgent(val string)

SetFromAgent sets the value of FromAgent.

func (*TransferToAgentToolResultErrorModel) SetResultType

SetResultType sets the value of ResultType.

func (*TransferToAgentToolResultErrorModel) SetStatus

SetStatus sets the value of Status.

func (*TransferToAgentToolResultErrorModel) UnmarshalJSON

func (s *TransferToAgentToolResultErrorModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransferToAgentToolResultErrorModel) Validate

type TransferToAgentToolResultErrorModelResultType

type TransferToAgentToolResultErrorModelResultType string
const (
	TransferToAgentToolResultErrorModelResultTypeTransferToAgentError TransferToAgentToolResultErrorModelResultType = "transfer_to_agent_error"
)

func (TransferToAgentToolResultErrorModelResultType) AllValues

AllValues returns all TransferToAgentToolResultErrorModelResultType values.

func (*TransferToAgentToolResultErrorModelResultType) Decode

Decode decodes TransferToAgentToolResultErrorModelResultType from json.

func (TransferToAgentToolResultErrorModelResultType) Encode

Encode encodes TransferToAgentToolResultErrorModelResultType as json.

func (TransferToAgentToolResultErrorModelResultType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (TransferToAgentToolResultErrorModelResultType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*TransferToAgentToolResultErrorModelResultType) UnmarshalJSON

func (s *TransferToAgentToolResultErrorModelResultType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransferToAgentToolResultErrorModelResultType) UnmarshalText

func (s *TransferToAgentToolResultErrorModelResultType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TransferToAgentToolResultErrorModelResultType) Validate

type TransferToAgentToolResultErrorModelStatus

type TransferToAgentToolResultErrorModelStatus string
const (
	TransferToAgentToolResultErrorModelStatusError TransferToAgentToolResultErrorModelStatus = "error"
)

func (TransferToAgentToolResultErrorModelStatus) AllValues

AllValues returns all TransferToAgentToolResultErrorModelStatus values.

func (*TransferToAgentToolResultErrorModelStatus) Decode

Decode decodes TransferToAgentToolResultErrorModelStatus from json.

func (TransferToAgentToolResultErrorModelStatus) Encode

Encode encodes TransferToAgentToolResultErrorModelStatus as json.

func (TransferToAgentToolResultErrorModelStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (TransferToAgentToolResultErrorModelStatus) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*TransferToAgentToolResultErrorModelStatus) UnmarshalJSON

func (s *TransferToAgentToolResultErrorModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransferToAgentToolResultErrorModelStatus) UnmarshalText

func (s *TransferToAgentToolResultErrorModelStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TransferToAgentToolResultErrorModelStatus) Validate

type TransferToAgentToolResultSuccessModel

type TransferToAgentToolResultSuccessModel struct {
	Condition                          string                                             `json:"condition"`
	DelayMs                            OptInt                                             `json:"delay_ms"`
	EnableTransferredAgentFirstMessage OptBool                                            `json:"enable_transferred_agent_first_message"`
	FromAgent                          string                                             `json:"from_agent"`
	ResultType                         OptTransferToAgentToolResultSuccessModelResultType `json:"result_type"`
	Status                             OptTransferToAgentToolResultSuccessModelStatus     `json:"status"`
	ToAgent                            string                                             `json:"to_agent"`
	TransferMessage                    OptNilString                                       `json:"transfer_message"`
}

Ref: #/components/schemas/TransferToAgentToolResultSuccessModel

func (*TransferToAgentToolResultSuccessModel) Decode

Decode decodes TransferToAgentToolResultSuccessModel from json.

func (*TransferToAgentToolResultSuccessModel) Encode

Encode implements json.Marshaler.

func (*TransferToAgentToolResultSuccessModel) GetCondition

GetCondition returns the value of Condition.

func (*TransferToAgentToolResultSuccessModel) GetDelayMs

GetDelayMs returns the value of DelayMs.

func (*TransferToAgentToolResultSuccessModel) GetEnableTransferredAgentFirstMessage

func (s *TransferToAgentToolResultSuccessModel) GetEnableTransferredAgentFirstMessage() OptBool

GetEnableTransferredAgentFirstMessage returns the value of EnableTransferredAgentFirstMessage.

func (*TransferToAgentToolResultSuccessModel) GetFromAgent

GetFromAgent returns the value of FromAgent.

func (*TransferToAgentToolResultSuccessModel) GetResultType

GetResultType returns the value of ResultType.

func (*TransferToAgentToolResultSuccessModel) GetStatus

GetStatus returns the value of Status.

func (*TransferToAgentToolResultSuccessModel) GetToAgent

GetToAgent returns the value of ToAgent.

func (*TransferToAgentToolResultSuccessModel) GetTransferMessage

func (s *TransferToAgentToolResultSuccessModel) GetTransferMessage() OptNilString

GetTransferMessage returns the value of TransferMessage.

func (*TransferToAgentToolResultSuccessModel) MarshalJSON

func (s *TransferToAgentToolResultSuccessModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransferToAgentToolResultSuccessModel) SetCondition

func (s *TransferToAgentToolResultSuccessModel) SetCondition(val string)

SetCondition sets the value of Condition.

func (*TransferToAgentToolResultSuccessModel) SetDelayMs

func (s *TransferToAgentToolResultSuccessModel) SetDelayMs(val OptInt)

SetDelayMs sets the value of DelayMs.

func (*TransferToAgentToolResultSuccessModel) SetEnableTransferredAgentFirstMessage

func (s *TransferToAgentToolResultSuccessModel) SetEnableTransferredAgentFirstMessage(val OptBool)

SetEnableTransferredAgentFirstMessage sets the value of EnableTransferredAgentFirstMessage.

func (*TransferToAgentToolResultSuccessModel) SetFromAgent

func (s *TransferToAgentToolResultSuccessModel) SetFromAgent(val string)

SetFromAgent sets the value of FromAgent.

func (*TransferToAgentToolResultSuccessModel) SetResultType

SetResultType sets the value of ResultType.

func (*TransferToAgentToolResultSuccessModel) SetStatus

SetStatus sets the value of Status.

func (*TransferToAgentToolResultSuccessModel) SetToAgent

func (s *TransferToAgentToolResultSuccessModel) SetToAgent(val string)

SetToAgent sets the value of ToAgent.

func (*TransferToAgentToolResultSuccessModel) SetTransferMessage

func (s *TransferToAgentToolResultSuccessModel) SetTransferMessage(val OptNilString)

SetTransferMessage sets the value of TransferMessage.

func (*TransferToAgentToolResultSuccessModel) UnmarshalJSON

func (s *TransferToAgentToolResultSuccessModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransferToAgentToolResultSuccessModel) Validate

type TransferToAgentToolResultSuccessModelResultType

type TransferToAgentToolResultSuccessModelResultType string
const (
	TransferToAgentToolResultSuccessModelResultTypeTransferToAgentSuccess TransferToAgentToolResultSuccessModelResultType = "transfer_to_agent_success"
)

func (TransferToAgentToolResultSuccessModelResultType) AllValues

AllValues returns all TransferToAgentToolResultSuccessModelResultType values.

func (*TransferToAgentToolResultSuccessModelResultType) Decode

Decode decodes TransferToAgentToolResultSuccessModelResultType from json.

func (TransferToAgentToolResultSuccessModelResultType) Encode

Encode encodes TransferToAgentToolResultSuccessModelResultType as json.

func (TransferToAgentToolResultSuccessModelResultType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (TransferToAgentToolResultSuccessModelResultType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*TransferToAgentToolResultSuccessModelResultType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransferToAgentToolResultSuccessModelResultType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (TransferToAgentToolResultSuccessModelResultType) Validate

type TransferToAgentToolResultSuccessModelStatus

type TransferToAgentToolResultSuccessModelStatus string
const (
	TransferToAgentToolResultSuccessModelStatusSuccess TransferToAgentToolResultSuccessModelStatus = "success"
)

func (TransferToAgentToolResultSuccessModelStatus) AllValues

AllValues returns all TransferToAgentToolResultSuccessModelStatus values.

func (*TransferToAgentToolResultSuccessModelStatus) Decode

Decode decodes TransferToAgentToolResultSuccessModelStatus from json.

func (TransferToAgentToolResultSuccessModelStatus) Encode

Encode encodes TransferToAgentToolResultSuccessModelStatus as json.

func (TransferToAgentToolResultSuccessModelStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (TransferToAgentToolResultSuccessModelStatus) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*TransferToAgentToolResultSuccessModelStatus) UnmarshalJSON

func (s *TransferToAgentToolResultSuccessModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransferToAgentToolResultSuccessModelStatus) UnmarshalText

func (s *TransferToAgentToolResultSuccessModelStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TransferToAgentToolResultSuccessModelStatus) Validate

type TransferToNumberResultErrorModel

type TransferToNumberResultErrorModel struct {
	Details    OptNilString                                  `json:"details"`
	Error      string                                        `json:"error"`
	ResultType OptTransferToNumberResultErrorModelResultType `json:"result_type"`
	Status     OptTransferToNumberResultErrorModelStatus     `json:"status"`
}

Ref: #/components/schemas/TransferToNumberResultErrorModel

func (*TransferToNumberResultErrorModel) Decode

Decode decodes TransferToNumberResultErrorModel from json.

func (*TransferToNumberResultErrorModel) Encode

Encode implements json.Marshaler.

func (*TransferToNumberResultErrorModel) GetDetails

GetDetails returns the value of Details.

func (*TransferToNumberResultErrorModel) GetError

GetError returns the value of Error.

func (*TransferToNumberResultErrorModel) GetResultType

GetResultType returns the value of ResultType.

func (*TransferToNumberResultErrorModel) GetStatus

GetStatus returns the value of Status.

func (*TransferToNumberResultErrorModel) MarshalJSON

func (s *TransferToNumberResultErrorModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransferToNumberResultErrorModel) SetDetails

SetDetails sets the value of Details.

func (*TransferToNumberResultErrorModel) SetError

func (s *TransferToNumberResultErrorModel) SetError(val string)

SetError sets the value of Error.

func (*TransferToNumberResultErrorModel) SetResultType

SetResultType sets the value of ResultType.

func (*TransferToNumberResultErrorModel) SetStatus

SetStatus sets the value of Status.

func (*TransferToNumberResultErrorModel) UnmarshalJSON

func (s *TransferToNumberResultErrorModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransferToNumberResultErrorModel) Validate

type TransferToNumberResultErrorModelResultType

type TransferToNumberResultErrorModelResultType string
const (
	TransferToNumberResultErrorModelResultTypeTransferToNumberError TransferToNumberResultErrorModelResultType = "transfer_to_number_error"
)

func (TransferToNumberResultErrorModelResultType) AllValues

AllValues returns all TransferToNumberResultErrorModelResultType values.

func (*TransferToNumberResultErrorModelResultType) Decode

Decode decodes TransferToNumberResultErrorModelResultType from json.

func (TransferToNumberResultErrorModelResultType) Encode

Encode encodes TransferToNumberResultErrorModelResultType as json.

func (TransferToNumberResultErrorModelResultType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (TransferToNumberResultErrorModelResultType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*TransferToNumberResultErrorModelResultType) UnmarshalJSON

func (s *TransferToNumberResultErrorModelResultType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransferToNumberResultErrorModelResultType) UnmarshalText

func (s *TransferToNumberResultErrorModelResultType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TransferToNumberResultErrorModelResultType) Validate

type TransferToNumberResultErrorModelStatus

type TransferToNumberResultErrorModelStatus string
const (
	TransferToNumberResultErrorModelStatusError TransferToNumberResultErrorModelStatus = "error"
)

func (TransferToNumberResultErrorModelStatus) AllValues

AllValues returns all TransferToNumberResultErrorModelStatus values.

func (*TransferToNumberResultErrorModelStatus) Decode

Decode decodes TransferToNumberResultErrorModelStatus from json.

func (TransferToNumberResultErrorModelStatus) Encode

Encode encodes TransferToNumberResultErrorModelStatus as json.

func (TransferToNumberResultErrorModelStatus) MarshalJSON

func (s TransferToNumberResultErrorModelStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TransferToNumberResultErrorModelStatus) MarshalText

func (s TransferToNumberResultErrorModelStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TransferToNumberResultErrorModelStatus) UnmarshalJSON

func (s *TransferToNumberResultErrorModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransferToNumberResultErrorModelStatus) UnmarshalText

func (s *TransferToNumberResultErrorModelStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TransferToNumberResultErrorModelStatus) Validate

type TransferToNumberResultSipSuccessModel

type TransferToNumberResultSipSuccessModel struct {
	Note           OptNilString                                       `json:"note"`
	Reason         OptNilString                                       `json:"reason"`
	ResultType     OptTransferToNumberResultSipSuccessModelResultType `json:"result_type"`
	Status         OptTransferToNumberResultSipSuccessModelStatus     `json:"status"`
	TransferNumber string                                             `json:"transfer_number"`
}

Ref: #/components/schemas/TransferToNumberResultSipSuccessModel

func (*TransferToNumberResultSipSuccessModel) Decode

Decode decodes TransferToNumberResultSipSuccessModel from json.

func (*TransferToNumberResultSipSuccessModel) Encode

Encode implements json.Marshaler.

func (*TransferToNumberResultSipSuccessModel) GetNote

GetNote returns the value of Note.

func (*TransferToNumberResultSipSuccessModel) GetReason

GetReason returns the value of Reason.

func (*TransferToNumberResultSipSuccessModel) GetResultType

GetResultType returns the value of ResultType.

func (*TransferToNumberResultSipSuccessModel) GetStatus

GetStatus returns the value of Status.

func (*TransferToNumberResultSipSuccessModel) GetTransferNumber

func (s *TransferToNumberResultSipSuccessModel) GetTransferNumber() string

GetTransferNumber returns the value of TransferNumber.

func (*TransferToNumberResultSipSuccessModel) MarshalJSON

func (s *TransferToNumberResultSipSuccessModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransferToNumberResultSipSuccessModel) SetNote

SetNote sets the value of Note.

func (*TransferToNumberResultSipSuccessModel) SetReason

SetReason sets the value of Reason.

func (*TransferToNumberResultSipSuccessModel) SetResultType

SetResultType sets the value of ResultType.

func (*TransferToNumberResultSipSuccessModel) SetStatus

SetStatus sets the value of Status.

func (*TransferToNumberResultSipSuccessModel) SetTransferNumber

func (s *TransferToNumberResultSipSuccessModel) SetTransferNumber(val string)

SetTransferNumber sets the value of TransferNumber.

func (*TransferToNumberResultSipSuccessModel) UnmarshalJSON

func (s *TransferToNumberResultSipSuccessModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransferToNumberResultSipSuccessModel) Validate

type TransferToNumberResultSipSuccessModelResultType

type TransferToNumberResultSipSuccessModelResultType string
const (
	TransferToNumberResultSipSuccessModelResultTypeTransferToNumberSipSuccess TransferToNumberResultSipSuccessModelResultType = "transfer_to_number_sip_success"
)

func (TransferToNumberResultSipSuccessModelResultType) AllValues

AllValues returns all TransferToNumberResultSipSuccessModelResultType values.

func (*TransferToNumberResultSipSuccessModelResultType) Decode

Decode decodes TransferToNumberResultSipSuccessModelResultType from json.

func (TransferToNumberResultSipSuccessModelResultType) Encode

Encode encodes TransferToNumberResultSipSuccessModelResultType as json.

func (TransferToNumberResultSipSuccessModelResultType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (TransferToNumberResultSipSuccessModelResultType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*TransferToNumberResultSipSuccessModelResultType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransferToNumberResultSipSuccessModelResultType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (TransferToNumberResultSipSuccessModelResultType) Validate

type TransferToNumberResultSipSuccessModelStatus

type TransferToNumberResultSipSuccessModelStatus string
const (
	TransferToNumberResultSipSuccessModelStatusSuccess TransferToNumberResultSipSuccessModelStatus = "success"
)

func (TransferToNumberResultSipSuccessModelStatus) AllValues

AllValues returns all TransferToNumberResultSipSuccessModelStatus values.

func (*TransferToNumberResultSipSuccessModelStatus) Decode

Decode decodes TransferToNumberResultSipSuccessModelStatus from json.

func (TransferToNumberResultSipSuccessModelStatus) Encode

Encode encodes TransferToNumberResultSipSuccessModelStatus as json.

func (TransferToNumberResultSipSuccessModelStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (TransferToNumberResultSipSuccessModelStatus) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*TransferToNumberResultSipSuccessModelStatus) UnmarshalJSON

func (s *TransferToNumberResultSipSuccessModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransferToNumberResultSipSuccessModelStatus) UnmarshalText

func (s *TransferToNumberResultSipSuccessModelStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TransferToNumberResultSipSuccessModelStatus) Validate

type TransferToNumberResultTwilioSuccessModel

type TransferToNumberResultTwilioSuccessModel struct {
	AgentMessage   string                                                `json:"agent_message"`
	ClientMessage  OptNilString                                          `json:"client_message"`
	ConferenceName string                                                `json:"conference_name"`
	Note           OptNilString                                          `json:"note"`
	Reason         OptNilString                                          `json:"reason"`
	ResultType     OptTransferToNumberResultTwilioSuccessModelResultType `json:"result_type"`
	Status         OptTransferToNumberResultTwilioSuccessModelStatus     `json:"status"`
	TransferNumber string                                                `json:"transfer_number"`
}

Ref: #/components/schemas/TransferToNumberResultTwilioSuccessModel

func (*TransferToNumberResultTwilioSuccessModel) Decode

Decode decodes TransferToNumberResultTwilioSuccessModel from json.

func (*TransferToNumberResultTwilioSuccessModel) Encode

Encode implements json.Marshaler.

func (*TransferToNumberResultTwilioSuccessModel) GetAgentMessage

func (s *TransferToNumberResultTwilioSuccessModel) GetAgentMessage() string

GetAgentMessage returns the value of AgentMessage.

func (*TransferToNumberResultTwilioSuccessModel) GetClientMessage

GetClientMessage returns the value of ClientMessage.

func (*TransferToNumberResultTwilioSuccessModel) GetConferenceName

func (s *TransferToNumberResultTwilioSuccessModel) GetConferenceName() string

GetConferenceName returns the value of ConferenceName.

func (*TransferToNumberResultTwilioSuccessModel) GetNote

GetNote returns the value of Note.

func (*TransferToNumberResultTwilioSuccessModel) GetReason

GetReason returns the value of Reason.

func (*TransferToNumberResultTwilioSuccessModel) GetResultType

GetResultType returns the value of ResultType.

func (*TransferToNumberResultTwilioSuccessModel) GetStatus

GetStatus returns the value of Status.

func (*TransferToNumberResultTwilioSuccessModel) GetTransferNumber

func (s *TransferToNumberResultTwilioSuccessModel) GetTransferNumber() string

GetTransferNumber returns the value of TransferNumber.

func (*TransferToNumberResultTwilioSuccessModel) MarshalJSON

func (s *TransferToNumberResultTwilioSuccessModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransferToNumberResultTwilioSuccessModel) SetAgentMessage

func (s *TransferToNumberResultTwilioSuccessModel) SetAgentMessage(val string)

SetAgentMessage sets the value of AgentMessage.

func (*TransferToNumberResultTwilioSuccessModel) SetClientMessage

func (s *TransferToNumberResultTwilioSuccessModel) SetClientMessage(val OptNilString)

SetClientMessage sets the value of ClientMessage.

func (*TransferToNumberResultTwilioSuccessModel) SetConferenceName

func (s *TransferToNumberResultTwilioSuccessModel) SetConferenceName(val string)

SetConferenceName sets the value of ConferenceName.

func (*TransferToNumberResultTwilioSuccessModel) SetNote

SetNote sets the value of Note.

func (*TransferToNumberResultTwilioSuccessModel) SetReason

SetReason sets the value of Reason.

func (*TransferToNumberResultTwilioSuccessModel) SetResultType

SetResultType sets the value of ResultType.

func (*TransferToNumberResultTwilioSuccessModel) SetStatus

SetStatus sets the value of Status.

func (*TransferToNumberResultTwilioSuccessModel) SetTransferNumber

func (s *TransferToNumberResultTwilioSuccessModel) SetTransferNumber(val string)

SetTransferNumber sets the value of TransferNumber.

func (*TransferToNumberResultTwilioSuccessModel) UnmarshalJSON

func (s *TransferToNumberResultTwilioSuccessModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransferToNumberResultTwilioSuccessModel) Validate

type TransferToNumberResultTwilioSuccessModelResultType

type TransferToNumberResultTwilioSuccessModelResultType string
const (
	TransferToNumberResultTwilioSuccessModelResultTypeTransferToNumberTwilioSuccess TransferToNumberResultTwilioSuccessModelResultType = "transfer_to_number_twilio_success"
)

func (TransferToNumberResultTwilioSuccessModelResultType) AllValues

AllValues returns all TransferToNumberResultTwilioSuccessModelResultType values.

func (*TransferToNumberResultTwilioSuccessModelResultType) Decode

Decode decodes TransferToNumberResultTwilioSuccessModelResultType from json.

func (TransferToNumberResultTwilioSuccessModelResultType) Encode

Encode encodes TransferToNumberResultTwilioSuccessModelResultType as json.

func (TransferToNumberResultTwilioSuccessModelResultType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (TransferToNumberResultTwilioSuccessModelResultType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*TransferToNumberResultTwilioSuccessModelResultType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransferToNumberResultTwilioSuccessModelResultType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (TransferToNumberResultTwilioSuccessModelResultType) Validate

type TransferToNumberResultTwilioSuccessModelStatus

type TransferToNumberResultTwilioSuccessModelStatus string
const (
	TransferToNumberResultTwilioSuccessModelStatusSuccess TransferToNumberResultTwilioSuccessModelStatus = "success"
)

func (TransferToNumberResultTwilioSuccessModelStatus) AllValues

AllValues returns all TransferToNumberResultTwilioSuccessModelStatus values.

func (*TransferToNumberResultTwilioSuccessModelStatus) Decode

Decode decodes TransferToNumberResultTwilioSuccessModelStatus from json.

func (TransferToNumberResultTwilioSuccessModelStatus) Encode

Encode encodes TransferToNumberResultTwilioSuccessModelStatus as json.

func (TransferToNumberResultTwilioSuccessModelStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (TransferToNumberResultTwilioSuccessModelStatus) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*TransferToNumberResultTwilioSuccessModelStatus) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransferToNumberResultTwilioSuccessModelStatus) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (TransferToNumberResultTwilioSuccessModelStatus) Validate

type TranslateParams

type TranslateParams struct {
	// ID of the dubbing project.
	DubbingID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

TranslateParams is parameters of translate operation.

type TranslateRes

type TranslateRes interface {
	// contains filtered or unexported methods
}

type TurnConfigOverride

type TurnConfigOverride struct {
	// Configuration for soft timeout functionality. Provides immediate feedback during longer LLM
	// responses.
	SoftTimeoutConfig OptSoftTimeoutConfigOverride `json:"soft_timeout_config"`
}

Ref: #/components/schemas/TurnConfigOverride

func (*TurnConfigOverride) Decode

func (s *TurnConfigOverride) Decode(d *jx.Decoder) error

Decode decodes TurnConfigOverride from json.

func (*TurnConfigOverride) Encode

func (s *TurnConfigOverride) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TurnConfigOverride) GetSoftTimeoutConfig

func (s *TurnConfigOverride) GetSoftTimeoutConfig() OptSoftTimeoutConfigOverride

GetSoftTimeoutConfig returns the value of SoftTimeoutConfig.

func (*TurnConfigOverride) MarshalJSON

func (s *TurnConfigOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TurnConfigOverride) SetSoftTimeoutConfig

func (s *TurnConfigOverride) SetSoftTimeoutConfig(val OptSoftTimeoutConfigOverride)

SetSoftTimeoutConfig sets the value of SoftTimeoutConfig.

func (*TurnConfigOverride) UnmarshalJSON

func (s *TurnConfigOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TwilioOutboundCallResponse

type TwilioOutboundCallResponse struct {
	CallSid        NilString `json:"callSid"`
	ConversationID NilString `json:"conversation_id"`
	Message        string    `json:"message"`
	Success        bool      `json:"success"`
}

Ref: #/components/schemas/TwilioOutboundCallResponse

func (*TwilioOutboundCallResponse) Decode

Decode decodes TwilioOutboundCallResponse from json.

func (*TwilioOutboundCallResponse) Encode

func (s *TwilioOutboundCallResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TwilioOutboundCallResponse) GetCallSid

func (s *TwilioOutboundCallResponse) GetCallSid() NilString

GetCallSid returns the value of CallSid.

func (*TwilioOutboundCallResponse) GetConversationID

func (s *TwilioOutboundCallResponse) GetConversationID() NilString

GetConversationID returns the value of ConversationID.

func (*TwilioOutboundCallResponse) GetMessage

func (s *TwilioOutboundCallResponse) GetMessage() string

GetMessage returns the value of Message.

func (*TwilioOutboundCallResponse) GetSuccess

func (s *TwilioOutboundCallResponse) GetSuccess() bool

GetSuccess returns the value of Success.

func (*TwilioOutboundCallResponse) MarshalJSON

func (s *TwilioOutboundCallResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TwilioOutboundCallResponse) SetCallSid

func (s *TwilioOutboundCallResponse) SetCallSid(val NilString)

SetCallSid sets the value of CallSid.

func (*TwilioOutboundCallResponse) SetConversationID

func (s *TwilioOutboundCallResponse) SetConversationID(val NilString)

SetConversationID sets the value of ConversationID.

func (*TwilioOutboundCallResponse) SetMessage

func (s *TwilioOutboundCallResponse) SetMessage(val string)

SetMessage sets the value of Message.

func (*TwilioOutboundCallResponse) SetSuccess

func (s *TwilioOutboundCallResponse) SetSuccess(val bool)

SetSuccess sets the value of Success.

func (*TwilioOutboundCallResponse) UnmarshalJSON

func (s *TwilioOutboundCallResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TxtExportOptions

type TxtExportOptions struct {
	Format                      TxtExportOptionsFormat `json:"format"`
	IncludeSpeakers             OptBool                `json:"include_speakers"`
	IncludeTimestamps           OptBool                `json:"include_timestamps"`
	MaxCharactersPerLine        OptNilInt              `json:"max_characters_per_line"`
	MaxSegmentChars             OptNilInt              `json:"max_segment_chars"`
	MaxSegmentDurationS         OptNilFloat64          `json:"max_segment_duration_s"`
	SegmentOnSilenceLongerThanS OptNilFloat64          `json:"segment_on_silence_longer_than_s"`
}

Ref: #/components/schemas/TxtExportOptions

func (*TxtExportOptions) Decode

func (s *TxtExportOptions) Decode(d *jx.Decoder) error

Decode decodes TxtExportOptions from json.

func (*TxtExportOptions) Encode

func (s *TxtExportOptions) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TxtExportOptions) GetFormat

GetFormat returns the value of Format.

func (*TxtExportOptions) GetIncludeSpeakers

func (s *TxtExportOptions) GetIncludeSpeakers() OptBool

GetIncludeSpeakers returns the value of IncludeSpeakers.

func (*TxtExportOptions) GetIncludeTimestamps

func (s *TxtExportOptions) GetIncludeTimestamps() OptBool

GetIncludeTimestamps returns the value of IncludeTimestamps.

func (*TxtExportOptions) GetMaxCharactersPerLine

func (s *TxtExportOptions) GetMaxCharactersPerLine() OptNilInt

GetMaxCharactersPerLine returns the value of MaxCharactersPerLine.

func (*TxtExportOptions) GetMaxSegmentChars

func (s *TxtExportOptions) GetMaxSegmentChars() OptNilInt

GetMaxSegmentChars returns the value of MaxSegmentChars.

func (*TxtExportOptions) GetMaxSegmentDurationS

func (s *TxtExportOptions) GetMaxSegmentDurationS() OptNilFloat64

GetMaxSegmentDurationS returns the value of MaxSegmentDurationS.

func (*TxtExportOptions) GetSegmentOnSilenceLongerThanS

func (s *TxtExportOptions) GetSegmentOnSilenceLongerThanS() OptNilFloat64

GetSegmentOnSilenceLongerThanS returns the value of SegmentOnSilenceLongerThanS.

func (*TxtExportOptions) MarshalJSON

func (s *TxtExportOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TxtExportOptions) SetFormat

func (s *TxtExportOptions) SetFormat(val TxtExportOptionsFormat)

SetFormat sets the value of Format.

func (*TxtExportOptions) SetIncludeSpeakers

func (s *TxtExportOptions) SetIncludeSpeakers(val OptBool)

SetIncludeSpeakers sets the value of IncludeSpeakers.

func (*TxtExportOptions) SetIncludeTimestamps

func (s *TxtExportOptions) SetIncludeTimestamps(val OptBool)

SetIncludeTimestamps sets the value of IncludeTimestamps.

func (*TxtExportOptions) SetMaxCharactersPerLine

func (s *TxtExportOptions) SetMaxCharactersPerLine(val OptNilInt)

SetMaxCharactersPerLine sets the value of MaxCharactersPerLine.

func (*TxtExportOptions) SetMaxSegmentChars

func (s *TxtExportOptions) SetMaxSegmentChars(val OptNilInt)

SetMaxSegmentChars sets the value of MaxSegmentChars.

func (*TxtExportOptions) SetMaxSegmentDurationS

func (s *TxtExportOptions) SetMaxSegmentDurationS(val OptNilFloat64)

SetMaxSegmentDurationS sets the value of MaxSegmentDurationS.

func (*TxtExportOptions) SetSegmentOnSilenceLongerThanS

func (s *TxtExportOptions) SetSegmentOnSilenceLongerThanS(val OptNilFloat64)

SetSegmentOnSilenceLongerThanS sets the value of SegmentOnSilenceLongerThanS.

func (*TxtExportOptions) UnmarshalJSON

func (s *TxtExportOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TxtExportOptions) Validate

func (s *TxtExportOptions) Validate() error

type TxtExportOptionsFormat

type TxtExportOptionsFormat string
const (
	TxtExportOptionsFormatTxt TxtExportOptionsFormat = "txt"
)

func (TxtExportOptionsFormat) AllValues

AllValues returns all TxtExportOptionsFormat values.

func (*TxtExportOptionsFormat) Decode

func (s *TxtExportOptionsFormat) Decode(d *jx.Decoder) error

Decode decodes TxtExportOptionsFormat from json.

func (TxtExportOptionsFormat) Encode

func (s TxtExportOptionsFormat) Encode(e *jx.Encoder)

Encode encodes TxtExportOptionsFormat as json.

func (TxtExportOptionsFormat) MarshalJSON

func (s TxtExportOptionsFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TxtExportOptionsFormat) MarshalText

func (s TxtExportOptionsFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TxtExportOptionsFormat) UnmarshalJSON

func (s *TxtExportOptionsFormat) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TxtExportOptionsFormat) UnmarshalText

func (s *TxtExportOptionsFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TxtExportOptionsFormat) Validate

func (s TxtExportOptionsFormat) Validate() error

type UnimplementedHandler

type UnimplementedHandler struct{}

UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.

func (UnimplementedHandler) AddDocumentationToKnowledgeBase deprecated

AddDocumentationToKnowledgeBase implements add_documentation_to_knowledge_base operation.

Uploads a file or reference a webpage to use as part of the shared knowledge base.

Deprecated: schema marks this operation as deprecated.

POST /v1/convai/knowledge-base

func (UnimplementedHandler) AddFromFile

AddFromFile implements add_from_file operation.

Creates a new pronunciation dictionary from a lexicon .PLS file.

POST /v1/pronunciation-dictionaries/add-from-file

func (UnimplementedHandler) AddLanguage

AddLanguage implements add_language operation.

Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not automatically generate transcripts/translations/audio.

POST /v1/dubbing/resource/{dubbing_id}/language

func (UnimplementedHandler) AddMember

AddMember implements add_member operation.

Adds a member of your workspace to the specified group. This endpoint may only be called by workspace administrators.

POST /v1/workspace/groups/{group_id}/members

func (UnimplementedHandler) AddProject

AddProject implements add_project operation.

Creates a new Studio project, it can be either initialized as blank, from a document or from a URL.

POST /v1/studio/projects

func (UnimplementedHandler) AddPvcVoiceSamples

AddPvcVoiceSamples implements add_pvc_voice_samples operation.

Add audio samples to a PVC voice.

POST /v1/voices/pvc/{voice_id}/samples

func (UnimplementedHandler) AddSharingVoice

AddSharingVoice implements add_sharing_voice operation.

Add a shared voice to your collection of voices.

POST /v1/voices/add/{public_user_id}/{voice_id}

func (UnimplementedHandler) AddVoice

AddVoice implements add_voice operation.

Add a new voice to your collection of voices in VoiceLab.

POST /v1/voices/add

func (UnimplementedHandler) AudioIsolation

AudioIsolation implements audio_isolation operation.

Removes background noise from audio.

POST /v1/audio-isolation

func (UnimplementedHandler) AudioIsolationStream

AudioIsolationStream implements audio_isolation_stream operation.

Removes background noise from audio and streams the result.

POST /v1/audio-isolation/stream

func (UnimplementedHandler) AudioNativeProjectUpdateContentEndpoint

AudioNativeProjectUpdateContentEndpoint implements audio_native_project_update_content_endpoint operation.

Updates content for the specific AudioNative Project.

POST /v1/audio-native/{project_id}/content

func (UnimplementedHandler) CancelBatchCall

CancelBatchCall implements cancel_batch_call operation.

Cancel a running batch call and set all recipients to cancelled status.

POST /v1/convai/batch-calling/{batch_id}/cancel

func (UnimplementedHandler) ComposeDetailed

ComposeDetailed implements compose_detailed operation.

Compose a song from a prompt or a composition plan.

POST /v1/music/detailed

func (UnimplementedHandler) ComposePlan

ComposePlan implements compose_plan operation.

Generate a composition plan from a prompt.

POST /v1/music/plan

func (UnimplementedHandler) ConvertChapterEndpoint

ConvertChapterEndpoint implements convert_chapter_endpoint operation.

Starts conversion of a specific chapter.

POST /v1/studio/projects/{project_id}/chapters/{chapter_id}/convert

func (UnimplementedHandler) ConvertProjectEndpoint

ConvertProjectEndpoint implements convert_project_endpoint operation.

Starts conversion of a Studio project and all of its chapters.

POST /v1/studio/projects/{project_id}/convert

func (UnimplementedHandler) CreateAgentResponseTestRoute

CreateAgentResponseTestRoute implements create_agent_response_test_route operation.

Creates a new agent response test.

POST /v1/convai/agent-testing/create

func (UnimplementedHandler) CreateAudioNativeProject

CreateAudioNativeProject implements create_audio_native_project operation.

Creates Audio Native enabled project, optionally starts conversion and returns project ID and embeddable HTML snippet.

POST /v1/audio-native

func (UnimplementedHandler) CreateBatchCall

CreateBatchCall implements create_batch_call operation.

Submit a batch call request to schedule calls for multiple recipients.

POST /v1/convai/batch-calling/submit

func (UnimplementedHandler) CreateClip

CreateClip implements create_clip operation.

Creates a new segment in dubbing resource with a start and end time for the speaker in every available language. Does not automatically generate transcripts/translations/audio.

POST /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}/segment

func (UnimplementedHandler) CreateDubbing

CreateDubbing implements create_dubbing operation.

Dubs a provided audio or video file into given language.

POST /v1/dubbing

func (UnimplementedHandler) CreateFileDocumentRoute

CreateFileDocumentRoute implements create_file_document_route operation.

Create a knowledge base document generated form the uploaded file.

POST /v1/convai/knowledge-base/file

func (UnimplementedHandler) CreatePvcVoice

CreatePvcVoice implements create_pvc_voice operation.

Creates a new PVC voice with metadata but no samples.

POST /v1/voices/pvc

func (UnimplementedHandler) CreateSecretRoute

CreateSecretRoute implements create_secret_route operation.

Create a new secret for the workspace.

POST /v1/convai/secrets

func (UnimplementedHandler) CreateServiceAccountAPIKey

CreateServiceAccountAPIKey implements create_service_account_api_key operation.

Create a new API key for a service account.

POST /v1/service-accounts/{service_account_user_id}/api-keys

func (UnimplementedHandler) CreateSpeaker

CreateSpeaker implements create_speaker operation.

Create A New Speaker.

POST /v1/dubbing/resource/{dubbing_id}/speaker

func (UnimplementedHandler) CreateTextDocumentRoute

CreateTextDocumentRoute implements create_text_document_route operation.

Create a knowledge base document containing the provided text.

POST /v1/convai/knowledge-base/text

func (UnimplementedHandler) CreateURLDocumentRoute

CreateURLDocumentRoute implements create_url_document_route operation.

Create a knowledge base document generated by scraping the given webpage.

POST /v1/convai/knowledge-base/url

func (UnimplementedHandler) CreateVoice

CreateVoice implements create_voice operation.

Create a voice from previously generated voice preview. This endpoint should be called after you fetched a generated_voice_id using POST /v1/text-to-voice/design or POST /v1/text-to-voice/:voice_id/remix.

POST /v1/text-to-voice

func (UnimplementedHandler) CreateVoiceOld

CreateVoiceOld implements create_voice_old operation.

Create a previously generated voice. This endpoint should be called after you fetched a generated_voice_id using /v1/voice-generation/generate-voice.

POST /v1/voice-generation/create-voice

func (UnimplementedHandler) CreateWorkspaceWebhookRoute

CreateWorkspaceWebhookRoute implements create_workspace_webhook_route operation.

Create a new webhook for the workspace with the specified authentication type.

POST /v1/workspace/webhooks

func (UnimplementedHandler) DeleteAgentRoute

DeleteAgentRoute implements delete_agent_route operation.

Delete an agent.

DELETE /v1/convai/agents/{agent_id}

func (UnimplementedHandler) DeleteChapterEndpoint

DeleteChapterEndpoint implements delete_chapter_endpoint operation.

Deletes a chapter.

DELETE /v1/studio/projects/{project_id}/chapters/{chapter_id}

func (UnimplementedHandler) DeleteChatResponseTestRoute

DeleteChatResponseTestRoute implements delete_chat_response_test_route operation.

Deletes an agent response test by ID.

DELETE /v1/convai/agent-testing/{test_id}

func (UnimplementedHandler) DeleteConversationRoute

DeleteConversationRoute implements delete_conversation_route operation.

Delete a particular conversation.

DELETE /v1/convai/conversations/{conversation_id}

func (UnimplementedHandler) DeleteDubbing

DeleteDubbing implements delete_dubbing operation.

Deletes a dubbing project.

DELETE /v1/dubbing/{dubbing_id}

func (UnimplementedHandler) DeleteInvite

DeleteInvite implements delete_invite operation.

Invalidates an existing email invitation. The invitation will still show up in the inbox it has been delivered to, but activating it to join the workspace won't work. This endpoint may only be called by workspace administrators.

DELETE /v1/workspace/invites

func (UnimplementedHandler) DeleteKnowledgeBaseDocument

DeleteKnowledgeBaseDocument implements delete_knowledge_base_document operation.

Delete a document from the knowledge base.

DELETE /v1/convai/knowledge-base/{documentation_id}

func (UnimplementedHandler) DeleteMcpServerRoute

DeleteMcpServerRoute implements delete_mcp_server_route operation.

Delete a specific MCP server configuration from the workspace.

DELETE /v1/convai/mcp-servers/{mcp_server_id}

func (UnimplementedHandler) DeletePhoneNumberRoute

DeletePhoneNumberRoute implements delete_phone_number_route operation.

Delete Phone Number by ID.

DELETE /v1/convai/phone-numbers/{phone_number_id}

func (UnimplementedHandler) DeleteProject

DeleteProject implements delete_project operation.

Deletes a Studio project.

DELETE /v1/studio/projects/{project_id}

func (UnimplementedHandler) DeletePvcVoiceSample

DeletePvcVoiceSample implements delete_pvc_voice_sample operation.

Delete a sample from a PVC voice.

DELETE /v1/voices/pvc/{voice_id}/samples/{sample_id}

func (UnimplementedHandler) DeleteRagIndex

DeleteRagIndex implements delete_rag_index operation.

Delete RAG index for the knowledgebase document.

DELETE /v1/convai/knowledge-base/{documentation_id}/rag-index/{rag_index_id}

func (UnimplementedHandler) DeleteSample

DeleteSample implements delete_sample operation.

Removes a sample by its ID.

DELETE /v1/voices/{voice_id}/samples/{sample_id}

func (UnimplementedHandler) DeleteSecretRoute

DeleteSecretRoute implements delete_secret_route operation.

Delete a workspace secret if it's not in use.

DELETE /v1/convai/secrets/{secret_id}

func (UnimplementedHandler) DeleteSegment

DeleteSegment implements delete_segment operation.

Deletes a single segment from the dubbing.

DELETE /v1/dubbing/resource/{dubbing_id}/segment/{segment_id}

func (UnimplementedHandler) DeleteServiceAccountAPIKey

DeleteServiceAccountAPIKey implements delete_service_account_api_key operation.

Delete an existing API key for a service account.

DELETE /v1/service-accounts/{service_account_user_id}/api-keys/{api_key_id}

func (UnimplementedHandler) DeleteSpeechHistoryItem

DeleteSpeechHistoryItem implements delete_speech_history_item operation.

Delete a history item by its ID.

DELETE /v1/history/{history_item_id}

func (UnimplementedHandler) DeleteToolRoute

DeleteToolRoute implements delete_tool_route operation.

Delete tool from the workspace.

DELETE /v1/convai/tools/{tool_id}

func (UnimplementedHandler) DeleteTranscriptByID

DeleteTranscriptByID implements delete_transcript_by_id operation.

Delete a previously generated transcript by its ID.

DELETE /v1/speech-to-text/transcripts/{transcription_id}

func (UnimplementedHandler) DeleteVoice

DeleteVoice implements delete_voice operation.

Deletes a voice by its ID.

DELETE /v1/voices/{voice_id}

func (UnimplementedHandler) DeleteWhatsappAccount

DeleteWhatsappAccount implements delete_whatsapp_account operation.

Delete a WhatsApp account.

DELETE /v1/convai/whatsapp-accounts/{phone_number_id}

func (UnimplementedHandler) DeleteWorkspaceWebhookRoute

DeleteWorkspaceWebhookRoute implements delete_workspace_webhook_route operation.

Delete the specified workspace webhook.

DELETE /v1/workspace/webhooks/{webhook_id}

func (UnimplementedHandler) DownloadSpeechHistoryItems

DownloadSpeechHistoryItems implements download_speech_history_items operation.

Download one or more history items. If one history item ID is provided, we will return a single audio file. If more than one history item IDs are provided, we will provide the history items packed into a .zip file.

POST /v1/history/download

func (UnimplementedHandler) Dub

Dub implements dub operation.

Regenerate the dubs for either the entire resource or the specified segments/languages. Will automatically transcribe and translate any missing transcriptions and translations.

POST /v1/dubbing/resource/{dubbing_id}/dub

func (UnimplementedHandler) DuplicateAgentRoute

DuplicateAgentRoute implements duplicate_agent_route operation.

Create a new agent by duplicating an existing one.

POST /v1/convai/agents/{agent_id}/duplicate

func (UnimplementedHandler) EditProject

EditProject implements edit_project operation.

Updates the specified Studio project by setting the values of the parameters passed.

POST /v1/studio/projects/{project_id}

func (UnimplementedHandler) EditProjectContent

EditProjectContent implements edit_project_content operation.

Updates Studio project content.

POST /v1/studio/projects/{project_id}/content

func (UnimplementedHandler) EditPvcVoice

EditPvcVoice implements edit_pvc_voice operation.

Edit PVC voice metadata.

POST /v1/voices/pvc/{voice_id}

func (UnimplementedHandler) EditPvcVoiceSample

EditPvcVoiceSample implements edit_pvc_voice_sample operation.

Update a PVC voice sample - apply noise removal, select speaker, change trim times or file name.

POST /v1/voices/pvc/{voice_id}/samples/{sample_id}

func (UnimplementedHandler) EditServiceAccountAPIKey

EditServiceAccountAPIKey implements edit_service_account_api_key operation.

Update an existing API key for a service account.

PATCH /v1/service-accounts/{service_account_user_id}/api-keys/{api_key_id}

func (UnimplementedHandler) EditVoice

EditVoice implements edit_voice operation.

Edit a voice created by you.

POST /v1/voices/{voice_id}/edit

func (UnimplementedHandler) EditVoiceSettings

EditVoiceSettings implements edit_voice_settings operation.

Edit your settings for a specific voice. "similarity_boost" corresponds to "Clarity + Similarity Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app.

POST /v1/voices/{voice_id}/settings/edit

func (UnimplementedHandler) EditWorkspaceWebhookRoute

EditWorkspaceWebhookRoute implements edit_workspace_webhook_route operation.

Update the specified workspace webhook.

PATCH /v1/workspace/webhooks/{webhook_id}

func (UnimplementedHandler) ForcedAlignment

ForcedAlignment implements forced_alignment operation.

Force align an audio file to text. Use this endpoint to get the timing information for each character and word in an audio file based on a provided text transcript.

POST /v1/forced-alignment

func (UnimplementedHandler) Generate

Generate implements generate operation.

Compose a song from a prompt or a composition plan.

POST /v1/music

func (UnimplementedHandler) GenerateRandomVoice

GenerateRandomVoice implements generate_random_voice operation.

Generate a random voice based on parameters. This method returns a generated_voice_id in the response header, and a sample of the voice in the body. If you like the generated voice call /v1/voice-generation/create-voice with the generated_voice_id to create the voice.

POST /v1/voice-generation/generate-voice

func (UnimplementedHandler) GetAgentKnowledgeBaseSize

GetAgentKnowledgeBaseSize implements get_agent_knowledge_base_size operation.

Returns the number of pages in the agent's knowledge base.

GET /v1/convai/agent/{agent_id}/knowledge-base/size

func (UnimplementedHandler) GetAgentKnowledgeBaseSummariesRoute

GetAgentKnowledgeBaseSummariesRoute implements get_agent_knowledge_base_summaries_route operation.

Gets multiple knowledge base document summaries by their IDs.

GET /v1/convai/knowledge-base/summaries

func (UnimplementedHandler) GetAgentLinkRoute

GetAgentLinkRoute implements get_agent_link_route operation.

Get the current link used to share the agent with others.

GET /v1/convai/agents/{agent_id}/link

func (UnimplementedHandler) GetAgentLlmExpectedCostCalculation

GetAgentLlmExpectedCostCalculation implements get_agent_llm_expected_cost_calculation operation.

Calculates expected number of LLM tokens needed for the specified agent.

POST /v1/convai/agent/{agent_id}/llm-usage/calculate

func (UnimplementedHandler) GetAgentResponseTestRoute

GetAgentResponseTestRoute implements get_agent_response_test_route operation.

Gets an agent response test by ID.

GET /v1/convai/agent-testing/{test_id}

func (UnimplementedHandler) GetAgentResponseTestsSummariesRoute

GetAgentResponseTestsSummariesRoute implements get_agent_response_tests_summaries_route operation.

Gets multiple agent response tests by their IDs. Returns a dictionary mapping test IDs to test summaries.

POST /v1/convai/agent-testing/summaries

func (UnimplementedHandler) GetAgentsRoute

GetAgentsRoute implements get_agents_route operation.

Returns a list of your agents and their metadata.

GET /v1/convai/agents

func (UnimplementedHandler) GetAudioFromSample

GetAudioFromSample implements get_audio_from_sample operation.

Returns the audio corresponding to a sample attached to a voice.

GET /v1/voices/{voice_id}/samples/{sample_id}/audio

func (UnimplementedHandler) GetAudioFullFromSpeechHistoryItem

GetAudioFullFromSpeechHistoryItem implements get_audio_full_from_speech_history_item operation.

Returns the audio of an history item.

GET /v1/history/{history_item_id}/audio

func (UnimplementedHandler) GetAudioNativeProjectSettingsEndpoint

GetAudioNativeProjectSettingsEndpoint implements get_audio_native_project_settings_endpoint operation.

Get player settings for the specific project.

GET /v1/audio-native/{project_id}/settings

func (UnimplementedHandler) GetBatchCall

GetBatchCall implements get_batch_call operation.

Get detailed information about a batch call including all recipients.

GET /v1/convai/batch-calling/{batch_id}

func (UnimplementedHandler) GetChapterSnapshotEndpoint

GetChapterSnapshotEndpoint implements get_chapter_snapshot_endpoint operation.

Returns the chapter snapshot.

GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id}

func (UnimplementedHandler) GetChapterSnapshots

GetChapterSnapshots implements get_chapter_snapshots operation.

Gets information about all the snapshots of a chapter. Each snapshot can be downloaded as audio. Whenever a chapter is converted a snapshot will automatically be created.

GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots

func (UnimplementedHandler) GetChapters

GetChapters implements get_chapters operation.

Returns a list of a Studio project's chapters.

GET /v1/studio/projects/{project_id}/chapters

func (UnimplementedHandler) GetConversationAudioRoute

GetConversationAudioRoute implements get_conversation_audio_route operation.

Get the audio recording of a particular conversation.

GET /v1/convai/conversations/{conversation_id}/audio

func (UnimplementedHandler) GetConversationHistoriesRoute

GetConversationHistoriesRoute implements get_conversation_histories_route operation.

Get all conversations of agents that user owns. With option to restrict to a specific agent.

GET /v1/convai/conversations

func (UnimplementedHandler) GetConversationHistoryRoute

GetConversationHistoryRoute implements get_conversation_history_route operation.

Get the details of a particular conversation.

GET /v1/convai/conversations/{conversation_id}

GetConversationSignedLink implements get_conversation_signed_link operation.

Get a signed url to start a conversation with an agent with an agent that requires authorization.

GET /v1/convai/conversation/get-signed-url

func (UnimplementedHandler) GetDashboardSettingsRoute

GetDashboardSettingsRoute implements get_dashboard_settings_route operation.

Retrieve Convai dashboard settings for the workspace.

GET /v1/convai/settings/dashboard

func (UnimplementedHandler) GetDocumentationChunkFromKnowledgeBase

GetDocumentationChunkFromKnowledgeBase implements get_documentation_chunk_from_knowledge_base operation.

Get details about a specific documentation part used by RAG.

GET /v1/convai/knowledge-base/{documentation_id}/chunk/{chunk_id}

func (UnimplementedHandler) GetDocumentationFromKnowledgeBase

GetDocumentationFromKnowledgeBase implements get_documentation_from_knowledge_base operation.

Get details about a specific documentation making up the agent's knowledge base.

GET /v1/convai/knowledge-base/{documentation_id}

func (UnimplementedHandler) GetDubbedFile

GetDubbedFile implements get_dubbed_file operation.

Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resource render endpoint as this endpoint only returns the original automatic dub result.

GET /v1/dubbing/{dubbing_id}/audio/{language_code}

func (UnimplementedHandler) GetDubbedMetadata

GetDubbedMetadata implements get_dubbed_metadata operation.

Returns metadata about a dubbing project, including whether it's still in progress or not.

GET /v1/dubbing/{dubbing_id}

func (UnimplementedHandler) GetDubbedTranscriptFile

GetDubbedTranscriptFile implements get_dubbed_transcript_file operation.

Returns transcript for the dub as an SRT or WEBVTT file.

GET /v1/dubbing/{dubbing_id}/transcript/{language_code}

func (UnimplementedHandler) GetDubbingResource

GetDubbingResource implements get_dubbing_resource operation.

Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the dubbing resource.

GET /v1/dubbing/resource/{dubbing_id}

func (UnimplementedHandler) GetGenerateVoiceParameters

func (UnimplementedHandler) GetGenerateVoiceParameters(ctx context.Context) (r *VoiceGenerationParameterResponseModel, _ error)

GetGenerateVoiceParameters implements get_generate_voice_parameters operation.

Get possible parameters for the /v1/voice-generation/generate-voice endpoint.

GET /v1/voice-generation/generate-voice/parameters

func (UnimplementedHandler) GetKnowledgeBaseContent

GetKnowledgeBaseContent implements get_knowledge_base_content operation.

Get the entire content of a document from the knowledge base.

GET /v1/convai/knowledge-base/{documentation_id}/content

func (UnimplementedHandler) GetKnowledgeBaseDependentAgents

GetKnowledgeBaseDependentAgents implements get_knowledge_base_dependent_agents operation.

Get a list of agents depending on this knowledge base document.

GET /v1/convai/knowledge-base/{documentation_id}/dependent-agents

func (UnimplementedHandler) GetKnowledgeBaseListRoute

GetKnowledgeBaseListRoute implements get_knowledge_base_list_route operation.

Get a list of available knowledge base documents.

GET /v1/convai/knowledge-base

func (UnimplementedHandler) GetLibraryVoices

GetLibraryVoices implements get_library_voices operation.

Retrieves a list of shared voices.

GET /v1/shared-voices

func (UnimplementedHandler) GetLiveCount

GetLiveCount implements get_live_count operation.

Get the live count of the ongoing conversations.

GET /v1/convai/analytics/live-count

func (UnimplementedHandler) GetLivekitToken

GetLivekitToken implements get_livekit_token operation.

Get a WebRTC session token for real-time communication.

GET /v1/convai/conversation/token

func (UnimplementedHandler) GetMcpToolConfigOverrideRoute

GetMcpToolConfigOverrideRoute implements get_mcp_tool_config_override_route operation.

Retrieve configuration overrides for a specific MCP tool.

GET /v1/convai/mcp-servers/{mcp_server_id}/tool-configs/{tool_name}

func (UnimplementedHandler) GetModels

func (UnimplementedHandler) GetModels(ctx context.Context, params GetModelsParams) (r GetModelsRes, _ error)

GetModels implements get_models operation.

Gets a list of available models.

GET /v1/models

func (UnimplementedHandler) GetOrCreateRagIndexes

GetOrCreateRagIndexes implements get_or_create_rag_indexes operation.

Retrieves and/or creates RAG indexes for multiple knowledge base documents in a single request.

POST /v1/convai/knowledge-base/rag-index

func (UnimplementedHandler) GetPhoneNumberRoute

GetPhoneNumberRoute implements get_phone_number_route operation.

Retrieve Phone Number details by ID.

GET /v1/convai/phone-numbers/{phone_number_id}

func (UnimplementedHandler) GetProjectSnapshotEndpoint

GetProjectSnapshotEndpoint implements get_project_snapshot_endpoint operation.

Returns the project snapshot.

GET /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}

func (UnimplementedHandler) GetProjectSnapshots

GetProjectSnapshots implements get_project_snapshots operation.

Retrieves a list of snapshots for a Studio project.

GET /v1/studio/projects/{project_id}/snapshots

func (UnimplementedHandler) GetProjects

GetProjects implements get_projects operation.

Returns a list of your Studio projects with metadata.

GET /v1/studio/projects

func (UnimplementedHandler) GetPronunciationDictionariesMetadata

GetPronunciationDictionariesMetadata implements get_pronunciation_dictionaries_metadata operation.

Get a list of the pronunciation dictionaries you have access to and their metadata.

GET /v1/pronunciation-dictionaries

func (UnimplementedHandler) GetPronunciationDictionaryMetadata

GetPronunciationDictionaryMetadata implements get_pronunciation_dictionary_metadata operation.

Get metadata for a pronunciation dictionary.

GET /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}

func (UnimplementedHandler) GetPronunciationDictionaryVersionPls

GetPronunciationDictionaryVersionPls implements get_pronunciation_dictionary_version_pls operation.

Get a PLS file with a pronunciation dictionary version rules.

GET /v1/pronunciation-dictionaries/{dictionary_id}/{version_id}/download

func (UnimplementedHandler) GetPublicLlmExpectedCostCalculation

GetPublicLlmExpectedCostCalculation implements get_public_llm_expected_cost_calculation operation.

Returns a list of LLM models and the expected cost for using them based on the provided values.

POST /v1/convai/llm-usage/calculate

func (UnimplementedHandler) GetPvcSampleAudio

GetPvcSampleAudio implements get_pvc_sample_audio operation.

Retrieve the first 30 seconds of voice sample audio with or without noise removal.

GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/audio

func (UnimplementedHandler) GetPvcSampleSpeakers

GetPvcSampleSpeakers implements get_pvc_sample_speakers operation.

Retrieve the status of the speaker separation process and the list of detected speakers if complete.

GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/speakers

func (UnimplementedHandler) GetPvcSampleVisualWaveform

GetPvcSampleVisualWaveform implements get_pvc_sample_visual_waveform operation.

Retrieve the visual waveform of a voice sample.

GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/waveform

func (UnimplementedHandler) GetPvcVoiceCaptcha

GetPvcVoiceCaptcha implements get_pvc_voice_captcha operation.

Get captcha for PVC voice verification.

GET /v1/voices/pvc/{voice_id}/captcha

func (UnimplementedHandler) GetRagIndexOverview

GetRagIndexOverview implements get_rag_index_overview operation.

Provides total size and other information of RAG indexes used by knowledgebase documents.

GET /v1/convai/knowledge-base/rag-index

func (UnimplementedHandler) GetRagIndexes

GetRagIndexes implements get_rag_indexes operation.

Provides information about all RAG indexes of the specified knowledgebase document.

GET /v1/convai/knowledge-base/{documentation_id}/rag-index

func (UnimplementedHandler) GetResourceMetadata

GetResourceMetadata implements get_resource_metadata operation.

Gets the metadata of a resource by ID.

GET /v1/workspace/resources/{resource_id}

func (UnimplementedHandler) GetSecretsRoute

GetSecretsRoute implements get_secrets_route operation.

Get all workspace secrets for the user.

GET /v1/convai/secrets

func (UnimplementedHandler) GetServiceAccountAPIKeysRoute

GetServiceAccountAPIKeysRoute implements get_service_account_api_keys_route operation.

Get all API keys for a service account.

GET /v1/service-accounts/{service_account_user_id}/api-keys

func (UnimplementedHandler) GetSettingsRoute

GetSettingsRoute implements get_settings_route operation.

Retrieve Convai settings for the workspace.

GET /v1/convai/settings

func (UnimplementedHandler) GetSignedURLDeprecated deprecated

GetSignedURLDeprecated implements get_signed_url_deprecated operation.

Get a signed url to start a conversation with an agent with an agent that requires authorization.

Deprecated: schema marks this operation as deprecated.

GET /v1/convai/conversation/get_signed_url

func (UnimplementedHandler) GetSimilarLibraryVoices

GetSimilarLibraryVoices implements get_similar_library_voices operation.

Returns a list of shared voices similar to the provided audio sample. If neither similarity_threshold nor top_k is provided, we will apply default values.

POST /v1/similar-voices

func (UnimplementedHandler) GetSimilarVoicesForSpeaker

GetSimilarVoicesForSpeaker implements get_similar_voices_for_speaker operation.

Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, where possible, a sample audio recording.

GET /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}/similar-voices

func (UnimplementedHandler) GetSingleUseToken

GetSingleUseToken implements get_single_use_token operation.

Generate a time limited single-use token with embedded authentication for frontend clients.

POST /v1/single-use-token/{token_type}

func (UnimplementedHandler) GetSpeakerAudio

GetSpeakerAudio implements get_speaker_audio operation.

Retrieve the separated audio for a specific speaker.

GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/speakers/{speaker_id}/audio

func (UnimplementedHandler) GetSpeechHistory

GetSpeechHistory implements get_speech_history operation.

Returns a list of your generated audio.

GET /v1/history

func (UnimplementedHandler) GetSpeechHistoryItemByID

GetSpeechHistoryItemByID implements get_speech_history_item_by_id operation.

Retrieves a history item.

GET /v1/history/{history_item_id}

func (UnimplementedHandler) GetTestInvocationRoute

GetTestInvocationRoute implements get_test_invocation_route operation.

Gets a test invocation by ID.

GET /v1/convai/test-invocations/{test_invocation_id}

func (UnimplementedHandler) GetToolDependentAgentsRoute

GetToolDependentAgentsRoute implements get_tool_dependent_agents_route operation.

Get a list of agents depending on this tool.

GET /v1/convai/tools/{tool_id}/dependent-agents

func (UnimplementedHandler) GetTranscriptByID

GetTranscriptByID implements get_transcript_by_id operation.

Retrieve a previously generated transcript by its ID.

GET /v1/speech-to-text/transcripts/{transcription_id}

func (UnimplementedHandler) GetUserInfo

GetUserInfo implements get_user_info operation.

Gets information about the user.

GET /v1/user

func (UnimplementedHandler) GetUserVoicesV2

GetUserVoicesV2 implements get_user_voices_v2 operation.

Gets a list of all available voices for a user with search, filtering and pagination.

GET /v2/voices

func (UnimplementedHandler) GetVoiceByID

GetVoiceByID implements get_voice_by_id operation.

Returns metadata about a specific voice.

GET /v1/voices/{voice_id}

func (UnimplementedHandler) GetVoiceSettings

GetVoiceSettings implements get_voice_settings operation.

Returns the settings for a specific voice. "similarity_boost" corresponds to"Clarity + Similarity Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app.

GET /v1/voices/{voice_id}/settings

func (UnimplementedHandler) GetVoiceSettingsDefault

func (UnimplementedHandler) GetVoiceSettingsDefault(ctx context.Context) (r *VoiceSettingsResponseModel, _ error)

GetVoiceSettingsDefault implements get_voice_settings_default operation.

Gets the default settings for voices. "similarity_boost" corresponds to"Clarity + Similarity Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app.

GET /v1/voices/settings/default

func (UnimplementedHandler) GetVoices

func (UnimplementedHandler) GetVoices(ctx context.Context, params GetVoicesParams) (r GetVoicesRes, _ error)

GetVoices implements get_voices operation.

Returns a list of all available voices for a user.

GET /v1/voices

func (UnimplementedHandler) GetWhatsappAccount

GetWhatsappAccount implements get_whatsapp_account operation.

Get a WhatsApp account.

GET /v1/convai/whatsapp-accounts/{phone_number_id}

func (UnimplementedHandler) GetWorkspaceBatchCalls

GetWorkspaceBatchCalls implements get_workspace_batch_calls operation.

Get all batch calls for the current workspace.

GET /v1/convai/batch-calling/workspace

func (UnimplementedHandler) GetWorkspaceServiceAccounts

GetWorkspaceServiceAccounts implements get_workspace_service_accounts operation.

List all service accounts in the workspace.

GET /v1/service-accounts

func (UnimplementedHandler) GetWorkspaceWebhooksRoute

GetWorkspaceWebhooksRoute implements get_workspace_webhooks_route operation.

List all webhooks for a workspace.

GET /v1/workspace/webhooks

func (UnimplementedHandler) HandleSipTrunkOutboundCall

HandleSipTrunkOutboundCall implements handle_sip_trunk_outbound_call operation.

Handle an outbound call via SIP trunk.

POST /v1/convai/sip-trunk/outbound-call

func (UnimplementedHandler) HandleTwilioOutboundCall

HandleTwilioOutboundCall implements handle_twilio_outbound_call operation.

Handle an outbound call via Twilio.

POST /v1/convai/twilio/outbound-call

func (UnimplementedHandler) ImportWhatsappAccount

ImportWhatsappAccount implements import_whatsapp_account operation.

Import a WhatsApp account.

POST /v1/convai/whatsapp-accounts

func (UnimplementedHandler) InviteUser

InviteUser implements invite_user operation.

Sends an email invitation to join your workspace to the provided email. If the user doesn't have an account they will be prompted to create one. If the user accepts this invite they will be added as a user to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace administrators. If the user is already in the workspace a 400 error will be returned.

POST /v1/workspace/invites/add

func (UnimplementedHandler) InviteUsersBulk

InviteUsersBulk implements invite_users_bulk operation.

Sends email invitations to join your workspace to the provided emails. Requires all email addresses to be part of a verified domain. If the users don't have an account they will be prompted to create one. If the users accept these invites they will be added as users to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace administrators.

POST /v1/workspace/invites/add-bulk

func (UnimplementedHandler) ListChatResponseTestsRoute

ListChatResponseTestsRoute implements list_chat_response_tests_route operation.

Lists all agent response tests with pagination support and optional search filtering.

GET /v1/convai/agent-testing

func (UnimplementedHandler) ListDubs

func (UnimplementedHandler) ListDubs(ctx context.Context, params ListDubsParams) (r ListDubsRes, _ error)

ListDubs implements list_dubs operation.

List the dubs you have access to.

GET /v1/dubbing

func (UnimplementedHandler) ListMcpServerToolsRoute

ListMcpServerToolsRoute implements list_mcp_server_tools_route operation.

Retrieve all tools available for a specific MCP server configuration.

GET /v1/convai/mcp-servers/{mcp_server_id}/tools

func (UnimplementedHandler) ListPhoneNumbersRoute

ListPhoneNumbersRoute implements list_phone_numbers_route operation.

Retrieve all Phone Numbers.

GET /v1/convai/phone-numbers

func (UnimplementedHandler) ListTestInvocationsRoute

ListTestInvocationsRoute implements list_test_invocations_route operation.

Lists all test invocations with pagination support and optional search filtering.

GET /v1/convai/test-invocations

func (UnimplementedHandler) ListWhatsappAccounts

ListWhatsappAccounts implements list_whatsapp_accounts operation.

List all WhatsApp accounts.

GET /v1/convai/whatsapp-accounts

func (UnimplementedHandler) MigrateSegments

MigrateSegments implements migrate_segments operation.

Change the attribution of one or more segments to a different speaker.

POST /v1/dubbing/resource/{dubbing_id}/migrate-segments

func (UnimplementedHandler) PatchPronunciationDictionary

PatchPronunciationDictionary implements patch_pronunciation_dictionary operation.

Partially update the pronunciation dictionary without changing the version.

PATCH /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}

func (UnimplementedHandler) PostAgentAvatarRoute

PostAgentAvatarRoute implements post_agent_avatar_route operation.

Sets the avatar for an agent displayed in the widget.

POST /v1/convai/agents/{agent_id}/avatar

func (UnimplementedHandler) PostConversationFeedbackRoute

PostConversationFeedbackRoute implements post_conversation_feedback_route operation.

Send the feedback for the given conversation.

POST /v1/convai/conversations/{conversation_id}/feedback

func (UnimplementedHandler) RagIndexStatus

RagIndexStatus implements rag_index_status operation.

In case the document is not RAG indexed, it triggers rag indexing task, otherwise it just returns the current status.

POST /v1/convai/knowledge-base/{documentation_id}/rag-index

func (UnimplementedHandler) RedirectToMintlify

func (UnimplementedHandler) RedirectToMintlify(ctx context.Context) (r jx.Raw, _ error)

RedirectToMintlify implements redirect_to_mintlify operation.

Redirect To Mintlify.

GET /docs

func (UnimplementedHandler) RegisterTwilioCall

RegisterTwilioCall implements register_twilio_call operation.

Register a Twilio call and return TwiML to connect the call.

POST /v1/convai/twilio/register-call

func (UnimplementedHandler) RemoveMember

RemoveMember implements remove_member operation.

Removes a member from the specified group. This endpoint may only be called by workspace administrators.

POST /v1/workspace/groups/{group_id}/members/remove

func (UnimplementedHandler) RemoveRules

RemoveRules implements remove_rules operation.

Remove rules from the pronunciation dictionary.

POST /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/remove-rules

func (UnimplementedHandler) RequestPvcManualVerification

RequestPvcManualVerification implements request_pvc_manual_verification operation.

Request manual verification for a PVC voice.

POST /v1/voices/pvc/{voice_id}/verification

func (UnimplementedHandler) RetryBatchCall

RetryBatchCall implements retry_batch_call operation.

Retry a batch call, calling failed and no-response recipients again.

POST /v1/convai/batch-calling/{batch_id}/retry

func (UnimplementedHandler) RunPvcVoiceTraining

RunPvcVoiceTraining implements run_pvc_voice_training operation.

Start PVC training process for a voice.

POST /v1/voices/pvc/{voice_id}/train

func (UnimplementedHandler) SearchGroups

SearchGroups implements search_groups operation.

Searches for user groups in the workspace. Multiple or no groups may be returned.

GET /v1/workspace/groups/search

func (UnimplementedHandler) SeparateSongStems

SeparateSongStems implements separate_song_stems operation.

Separate an audio file into individual stems. This endpoint might have high latency, depending on the length of the audio file.

POST /v1/music/stem-separation

func (UnimplementedHandler) ShareResourceEndpoint

ShareResourceEndpoint implements share_resource_endpoint operation.

Grants a role on a workspace resource to a user or a group. It overrides any existing role this user/service account/group/workspace api key has on the resource. To target a user or service account, pass only the user email. The user must be in your workspace. To target a group, pass only the group id. To target a workspace api key, pass the api key id. The resource will be shared with the service account associated with the api key. You must have admin access to the resource to share it.

POST /v1/workspace/resources/{resource_id}/share

func (UnimplementedHandler) SoundGeneration

SoundGeneration implements sound_generation operation.

Turn text into sound effects for your videos, voice-overs or video games using the most advanced sound effects models in the world.

POST /v1/sound-generation

func (UnimplementedHandler) SpeechToSpeechFull

SpeechToSpeechFull implements speech_to_speech_full operation.

Transform audio from one voice to another. Maintain full control over emotion, timing and delivery.

POST /v1/speech-to-speech/{voice_id}

func (UnimplementedHandler) SpeechToSpeechStream

SpeechToSpeechStream implements speech_to_speech_stream operation.

Stream audio from one voice to another. Maintain full control over emotion, timing and delivery.

POST /v1/speech-to-speech/{voice_id}/stream

func (UnimplementedHandler) SpeechToText

SpeechToText implements speech_to_text operation.

Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks. When use_multi_channel is true and the provided audio has multiple channels, a 'transcripts' object with separate transcripts for each channel is returned. Otherwise, returns a single transcript. The optional webhook_metadata parameter allows you to attach custom data that will be included in webhook responses for request correlation and tracking.

POST /v1/speech-to-text

func (UnimplementedHandler) StartSpeakerSeparation

StartSpeakerSeparation implements start_speaker_separation operation.

Start speaker separation process for a sample.

POST /v1/voices/pvc/{voice_id}/samples/{sample_id}/separate-speakers

func (UnimplementedHandler) StreamChapterSnapshotAudio

StreamChapterSnapshotAudio implements stream_chapter_snapshot_audio operation.

Stream the audio from a chapter snapshot. Use `GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots` to return the snapshots of a chapter.

POST /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id}/stream

func (UnimplementedHandler) StreamCompose

StreamCompose implements stream_compose operation.

Stream a composed song from a prompt or a composition plan.

POST /v1/music/stream

func (UnimplementedHandler) StreamProjectSnapshotArchiveEndpoint

StreamProjectSnapshotArchiveEndpoint implements stream_project_snapshot_archive_endpoint operation.

Returns a compressed archive of the Studio project's audio.

POST /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}/archive

func (UnimplementedHandler) StreamProjectSnapshotAudioEndpoint

StreamProjectSnapshotAudioEndpoint implements stream_project_snapshot_audio_endpoint operation.

Stream the audio from a Studio project snapshot.

POST /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}/stream

func (UnimplementedHandler) TextToDialogue

TextToDialogue implements text_to_dialogue operation.

Converts a list of text and voice ID pairs into speech (dialogue) and returns audio.

POST /v1/text-to-dialogue

func (UnimplementedHandler) TextToDialogueFullWithTimestamps

TextToDialogueFullWithTimestamps implements text_to_dialogue_full_with_timestamps operation.

Generate dialogue from text with precise character-level timing information for audio-text synchronization.

POST /v1/text-to-dialogue/with-timestamps

func (UnimplementedHandler) TextToDialogueStream

TextToDialogueStream implements text_to_dialogue_stream operation.

Converts a list of text and voice ID pairs into speech (dialogue) and returns an audio stream.

POST /v1/text-to-dialogue/stream

func (UnimplementedHandler) TextToDialogueStreamWithTimestamps

TextToDialogueStreamWithTimestamps implements text_to_dialogue_stream_with_timestamps operation.

Converts a list of text and voice ID pairs into speech (dialogue) and returns a stream of JSON blobs containing audio as a base64 encoded string and timestamps.

POST /v1/text-to-dialogue/stream/with-timestamps

func (UnimplementedHandler) TextToSpeechFull

TextToSpeechFull implements text_to_speech_full operation.

Converts text into speech using a voice of your choice and returns audio.

POST /v1/text-to-speech/{voice_id}

func (UnimplementedHandler) TextToSpeechFullWithTimestamps

TextToSpeechFullWithTimestamps implements text_to_speech_full_with_timestamps operation.

Generate speech from text with precise character-level timing information for audio-text synchronization.

POST /v1/text-to-speech/{voice_id}/with-timestamps

func (UnimplementedHandler) TextToSpeechStream

TextToSpeechStream implements text_to_speech_stream operation.

Converts text into speech using a voice of your choice and returns audio as an audio stream.

POST /v1/text-to-speech/{voice_id}/stream

func (UnimplementedHandler) TextToSpeechStreamWithTimestamps

TextToSpeechStreamWithTimestamps implements text_to_speech_stream_with_timestamps operation.

Converts text into speech using a voice of your choice and returns a stream of JSONs containing audio as a base64 encoded string together with information on when which character was spoken.

POST /v1/text-to-speech/{voice_id}/stream/with-timestamps

func (UnimplementedHandler) TextToVoice

TextToVoice implements text_to_voice operation.

Generate a custom voice based on voice description. This method returns a list of voice previews. Each preview has a generated_voice_id and a sample of the voice as base64 encoded mp3 audio. If you like the a voice previewand want to create the voice call /v1/text-to-voice/create-voice-from-preview with the generated_voice_id to create the voice.

POST /v1/text-to-voice/create-previews

func (UnimplementedHandler) TextToVoiceDesign

TextToVoiceDesign implements text_to_voice_design operation.

Design a voice via a prompt. This method returns a list of voice previews. Each preview has a generated_voice_id and a sample of the voice as base64 encoded mp3 audio. To create a voice use the generated_voice_id of the preferred preview with the /v1/text-to-voice endpoint.

POST /v1/text-to-voice/design

func (UnimplementedHandler) TextToVoicePreviewStream

TextToVoicePreviewStream implements text_to_voice_preview_stream operation.

Stream a voice preview that was created via the /v1/text-to-voice/design endpoint.

GET /v1/text-to-voice/{generated_voice_id}/stream

func (UnimplementedHandler) TextToVoiceRemix

TextToVoiceRemix implements text_to_voice_remix operation.

Remix an existing voice via a prompt. This method returns a list of voice previews. Each preview has a generated_voice_id and a sample of the voice as base64 encoded mp3 audio. To create a voice use the generated_voice_id of the preferred preview with the /v1/text-to-voice endpoint.

POST /v1/text-to-voice/{voice_id}/remix

func (UnimplementedHandler) Transcribe

Transcribe implements transcribe operation.

Regenerate the transcriptions for the specified segments. Does not automatically regenerate translations or dubs.

POST /v1/dubbing/resource/{dubbing_id}/transcribe

func (UnimplementedHandler) Translate

Translate implements translate operation.

Regenerate the translations for either the entire resource or the specified segments/languages. Will automatically transcribe missing transcriptions. Will not automatically regenerate the dubs.

POST /v1/dubbing/resource/{dubbing_id}/translate

func (UnimplementedHandler) UnshareResourceEndpoint

UnshareResourceEndpoint implements unshare_resource_endpoint operation.

Removes any existing role on a workspace resource from a user, service account, group or workspace api key. To target a user or service account, pass only the user email. The user must be in your workspace. To target a group, pass only the group id. To target a workspace api key, pass the api key id. The resource will be unshared from the service account associated with the api key. You must have admin access to the resource to unshare it. You cannot remove permissions from the user who created the resource.

POST /v1/workspace/resources/{resource_id}/unshare

func (UnimplementedHandler) UpdateAgentResponseTestRoute

UpdateAgentResponseTestRoute implements update_agent_response_test_route operation.

Updates an agent response test by ID.

PUT /v1/convai/agent-testing/{test_id}

func (UnimplementedHandler) UpdateDashboardSettingsRoute

UpdateDashboardSettingsRoute implements update_dashboard_settings_route operation.

Update Convai dashboard settings for the workspace.

PATCH /v1/convai/settings/dashboard

func (UnimplementedHandler) UpdateDocumentRoute

UpdateDocumentRoute implements update_document_route operation.

Update the name of a document.

PATCH /v1/convai/knowledge-base/{documentation_id}

func (UnimplementedHandler) UpdatePhoneNumberRoute

UpdatePhoneNumberRoute implements update_phone_number_route operation.

Update assigned agent of a phone number.

PATCH /v1/convai/phone-numbers/{phone_number_id}

func (UnimplementedHandler) UpdatePronunciationDictionaries

UpdatePronunciationDictionaries implements update_pronunciation_dictionaries operation.

Create a set of pronunciation dictionaries acting on a project. This will automatically mark text within this project as requiring reconverting where the new dictionary would apply or the old one no longer does.

POST /v1/studio/projects/{project_id}/pronunciation-dictionaries

func (UnimplementedHandler) UpdateSecretRoute

UpdateSecretRoute implements update_secret_route operation.

Update an existing secret for the workspace.

PATCH /v1/convai/secrets/{secret_id}

func (UnimplementedHandler) UpdateSegmentLanguage

UpdateSegmentLanguage implements update_segment_language operation.

Modifies a single segment with new text and/or start/end times. Will update the values for only a specific language of a segment. Does not automatically regenerate the dub.

PATCH /v1/dubbing/resource/{dubbing_id}/segment/{segment_id}/{language}

func (UnimplementedHandler) UpdateSettingsRoute

UpdateSettingsRoute implements update_settings_route operation.

Update Convai settings for the workspace.

PATCH /v1/convai/settings

func (UnimplementedHandler) UpdateSpeaker

UpdateSpeaker implements update_speaker operation.

Amend the metadata associated with a speaker, such as their voice. Both voice cloning and using voices from the ElevenLabs library are supported.

PATCH /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}

func (UnimplementedHandler) UpdateWhatsappAccount

UpdateWhatsappAccount implements update_whatsapp_account operation.

Update a WhatsApp account.

PATCH /v1/convai/whatsapp-accounts/{phone_number_id}

func (UnimplementedHandler) UpdateWorkspaceMember

UpdateWorkspaceMember implements update_workspace_member operation.

Updates attributes of a workspace member. Apart from the email identifier, all parameters will remain unchanged unless specified. This endpoint may only be called by workspace administrators.

POST /v1/workspace/members

func (UnimplementedHandler) UsageCharacters

UsageCharacters implements usage_characters operation.

Returns the usage metrics for the current user or the entire workspace they are part of. The response provides a time axis based on the specified aggregation interval (default: day), with usage values for each interval along that axis. Usage is broken down by the selected breakdown type. For example, breakdown type "voice" will return the usage of each voice for each interval along the time axis.

GET /v1/usage/character-stats

func (UnimplementedHandler) VerifyPvcVoiceCaptcha

VerifyPvcVoiceCaptcha implements verify_pvc_voice_captcha operation.

Submit captcha verification for PVC voice.

POST /v1/voices/pvc/{voice_id}/captcha

func (UnimplementedHandler) WhatsappOutboundCall

WhatsappOutboundCall implements whatsapp_outbound_call operation.

Make an outbound call via WhatsApp.

POST /v1/convai/whatsapp/outbound-call

type UnitTestCommonModel

type UnitTestCommonModel struct {
	ChatHistory []ConversationHistoryTranscriptCommonModelOutput `json:"chat_history"`
	// Dynamic variables to replace in the agent config during testing.
	DynamicVariables OptUnitTestCommonModelDynamicVariables `json:"dynamic_variables"`
	// Non-empty list of example responses that should be considered failures.
	FailureExamples []AgentFailureResponseExample `json:"failure_examples"`
	// Metadata of a conversation this test was created from (if applicable).
	FromConversationMetadata OptTestFromConversationMetadataOutput `json:"from_conversation_metadata"`
	// A prompt that evaluates whether the agent's response is successful. Should return True or False.
	SuccessCondition string `json:"success_condition"`
	// Non-empty list of example responses that should be considered successful.
	SuccessExamples []AgentSuccessfulResponseExample `json:"success_examples"`
	// How to evaluate the agent's tool call (if any). If empty, the tool call is not evaluated.
	ToolCallParameters OptUnitTestToolCallEvaluationModelOutput `json:"tool_call_parameters"`
	Type               OptUnitTestCommonModelType               `json:"type"`
}

A test case for evaluating the agent's response to a specific chat scenario. Ref: #/components/schemas/UnitTestCommonModel

func (*UnitTestCommonModel) Decode

func (s *UnitTestCommonModel) Decode(d *jx.Decoder) error

Decode decodes UnitTestCommonModel from json.

func (*UnitTestCommonModel) Encode

func (s *UnitTestCommonModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UnitTestCommonModel) GetChatHistory

GetChatHistory returns the value of ChatHistory.

func (*UnitTestCommonModel) GetDynamicVariables

GetDynamicVariables returns the value of DynamicVariables.

func (*UnitTestCommonModel) GetFailureExamples

func (s *UnitTestCommonModel) GetFailureExamples() []AgentFailureResponseExample

GetFailureExamples returns the value of FailureExamples.

func (*UnitTestCommonModel) GetFromConversationMetadata

func (s *UnitTestCommonModel) GetFromConversationMetadata() OptTestFromConversationMetadataOutput

GetFromConversationMetadata returns the value of FromConversationMetadata.

func (*UnitTestCommonModel) GetSuccessCondition

func (s *UnitTestCommonModel) GetSuccessCondition() string

GetSuccessCondition returns the value of SuccessCondition.

func (*UnitTestCommonModel) GetSuccessExamples

func (s *UnitTestCommonModel) GetSuccessExamples() []AgentSuccessfulResponseExample

GetSuccessExamples returns the value of SuccessExamples.

func (*UnitTestCommonModel) GetToolCallParameters

GetToolCallParameters returns the value of ToolCallParameters.

func (*UnitTestCommonModel) GetType

GetType returns the value of Type.

func (*UnitTestCommonModel) MarshalJSON

func (s *UnitTestCommonModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UnitTestCommonModel) SetChatHistory

SetChatHistory sets the value of ChatHistory.

func (*UnitTestCommonModel) SetDynamicVariables

func (s *UnitTestCommonModel) SetDynamicVariables(val OptUnitTestCommonModelDynamicVariables)

SetDynamicVariables sets the value of DynamicVariables.

func (*UnitTestCommonModel) SetFailureExamples

func (s *UnitTestCommonModel) SetFailureExamples(val []AgentFailureResponseExample)

SetFailureExamples sets the value of FailureExamples.

func (*UnitTestCommonModel) SetFromConversationMetadata

func (s *UnitTestCommonModel) SetFromConversationMetadata(val OptTestFromConversationMetadataOutput)

SetFromConversationMetadata sets the value of FromConversationMetadata.

func (*UnitTestCommonModel) SetSuccessCondition

func (s *UnitTestCommonModel) SetSuccessCondition(val string)

SetSuccessCondition sets the value of SuccessCondition.

func (*UnitTestCommonModel) SetSuccessExamples

func (s *UnitTestCommonModel) SetSuccessExamples(val []AgentSuccessfulResponseExample)

SetSuccessExamples sets the value of SuccessExamples.

func (*UnitTestCommonModel) SetToolCallParameters

func (s *UnitTestCommonModel) SetToolCallParameters(val OptUnitTestToolCallEvaluationModelOutput)

SetToolCallParameters sets the value of ToolCallParameters.

func (*UnitTestCommonModel) SetType

SetType sets the value of Type.

func (*UnitTestCommonModel) UnmarshalJSON

func (s *UnitTestCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UnitTestCommonModel) Validate

func (s *UnitTestCommonModel) Validate() error

type UnitTestCommonModelDynamicVariables

type UnitTestCommonModelDynamicVariables map[string]NilUnitTestCommonModelDynamicVariablesItem

Dynamic variables to replace in the agent config during testing.

func (*UnitTestCommonModelDynamicVariables) Decode

Decode decodes UnitTestCommonModelDynamicVariables from json.

func (UnitTestCommonModelDynamicVariables) Encode

Encode implements json.Marshaler.

func (UnitTestCommonModelDynamicVariables) MarshalJSON

func (s UnitTestCommonModelDynamicVariables) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UnitTestCommonModelDynamicVariables) UnmarshalJSON

func (s *UnitTestCommonModelDynamicVariables) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (UnitTestCommonModelDynamicVariables) Validate

type UnitTestCommonModelDynamicVariablesItem

type UnitTestCommonModelDynamicVariablesItem struct {
	Type    UnitTestCommonModelDynamicVariablesItemType // switch on this field
	String  string
	Float64 float64
	Int     int
	Bool    bool
}

UnitTestCommonModelDynamicVariablesItem represents sum type.

func NewBoolUnitTestCommonModelDynamicVariablesItem

func NewBoolUnitTestCommonModelDynamicVariablesItem(v bool) UnitTestCommonModelDynamicVariablesItem

NewBoolUnitTestCommonModelDynamicVariablesItem returns new UnitTestCommonModelDynamicVariablesItem from bool.

func NewFloat64UnitTestCommonModelDynamicVariablesItem

func NewFloat64UnitTestCommonModelDynamicVariablesItem(v float64) UnitTestCommonModelDynamicVariablesItem

NewFloat64UnitTestCommonModelDynamicVariablesItem returns new UnitTestCommonModelDynamicVariablesItem from float64.

func NewIntUnitTestCommonModelDynamicVariablesItem

func NewIntUnitTestCommonModelDynamicVariablesItem(v int) UnitTestCommonModelDynamicVariablesItem

NewIntUnitTestCommonModelDynamicVariablesItem returns new UnitTestCommonModelDynamicVariablesItem from int.

func NewStringUnitTestCommonModelDynamicVariablesItem

func NewStringUnitTestCommonModelDynamicVariablesItem(v string) UnitTestCommonModelDynamicVariablesItem

NewStringUnitTestCommonModelDynamicVariablesItem returns new UnitTestCommonModelDynamicVariablesItem from string.

func (*UnitTestCommonModelDynamicVariablesItem) Decode

Decode decodes UnitTestCommonModelDynamicVariablesItem from json.

func (UnitTestCommonModelDynamicVariablesItem) Encode

Encode encodes UnitTestCommonModelDynamicVariablesItem as json.

func (UnitTestCommonModelDynamicVariablesItem) GetBool

GetBool returns bool and true boolean if UnitTestCommonModelDynamicVariablesItem is bool.

func (UnitTestCommonModelDynamicVariablesItem) GetFloat64

func (s UnitTestCommonModelDynamicVariablesItem) GetFloat64() (v float64, ok bool)

GetFloat64 returns float64 and true boolean if UnitTestCommonModelDynamicVariablesItem is float64.

func (UnitTestCommonModelDynamicVariablesItem) GetInt

GetInt returns int and true boolean if UnitTestCommonModelDynamicVariablesItem is int.

func (UnitTestCommonModelDynamicVariablesItem) GetString

func (s UnitTestCommonModelDynamicVariablesItem) GetString() (v string, ok bool)

GetString returns string and true boolean if UnitTestCommonModelDynamicVariablesItem is string.

func (UnitTestCommonModelDynamicVariablesItem) IsBool

IsBool reports whether UnitTestCommonModelDynamicVariablesItem is bool.

func (UnitTestCommonModelDynamicVariablesItem) IsFloat64

IsFloat64 reports whether UnitTestCommonModelDynamicVariablesItem is float64.

func (UnitTestCommonModelDynamicVariablesItem) IsInt

IsInt reports whether UnitTestCommonModelDynamicVariablesItem is int.

func (UnitTestCommonModelDynamicVariablesItem) IsString

IsString reports whether UnitTestCommonModelDynamicVariablesItem is string.

func (UnitTestCommonModelDynamicVariablesItem) MarshalJSON

func (s UnitTestCommonModelDynamicVariablesItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UnitTestCommonModelDynamicVariablesItem) SetBool

SetBool sets UnitTestCommonModelDynamicVariablesItem to bool.

func (*UnitTestCommonModelDynamicVariablesItem) SetFloat64

SetFloat64 sets UnitTestCommonModelDynamicVariablesItem to float64.

func (*UnitTestCommonModelDynamicVariablesItem) SetInt

SetInt sets UnitTestCommonModelDynamicVariablesItem to int.

func (*UnitTestCommonModelDynamicVariablesItem) SetString

SetString sets UnitTestCommonModelDynamicVariablesItem to string.

func (*UnitTestCommonModelDynamicVariablesItem) UnmarshalJSON

func (s *UnitTestCommonModelDynamicVariablesItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (UnitTestCommonModelDynamicVariablesItem) Validate

type UnitTestCommonModelDynamicVariablesItemType

type UnitTestCommonModelDynamicVariablesItemType string

UnitTestCommonModelDynamicVariablesItemType is oneOf type of UnitTestCommonModelDynamicVariablesItem.

const (
	StringUnitTestCommonModelDynamicVariablesItem  UnitTestCommonModelDynamicVariablesItemType = "string"
	Float64UnitTestCommonModelDynamicVariablesItem UnitTestCommonModelDynamicVariablesItemType = "float64"
	IntUnitTestCommonModelDynamicVariablesItem     UnitTestCommonModelDynamicVariablesItemType = "int"
	BoolUnitTestCommonModelDynamicVariablesItem    UnitTestCommonModelDynamicVariablesItemType = "bool"
)

Possible values for UnitTestCommonModelDynamicVariablesItemType.

type UnitTestCommonModelType

type UnitTestCommonModelType string

Ref: #/components/schemas/UnitTestCommonModelType

const (
	UnitTestCommonModelTypeLlm  UnitTestCommonModelType = "llm"
	UnitTestCommonModelTypeTool UnitTestCommonModelType = "tool"
)

func (UnitTestCommonModelType) AllValues

AllValues returns all UnitTestCommonModelType values.

func (*UnitTestCommonModelType) Decode

func (s *UnitTestCommonModelType) Decode(d *jx.Decoder) error

Decode decodes UnitTestCommonModelType from json.

func (UnitTestCommonModelType) Encode

func (s UnitTestCommonModelType) Encode(e *jx.Encoder)

Encode encodes UnitTestCommonModelType as json.

func (UnitTestCommonModelType) MarshalJSON

func (s UnitTestCommonModelType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (UnitTestCommonModelType) MarshalText

func (s UnitTestCommonModelType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UnitTestCommonModelType) UnmarshalJSON

func (s *UnitTestCommonModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UnitTestCommonModelType) UnmarshalText

func (s *UnitTestCommonModelType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UnitTestCommonModelType) Validate

func (s UnitTestCommonModelType) Validate() error

type UnitTestRunResponseModel

type UnitTestRunResponseModel struct {
	AgentID           string                                                    `json:"agent_id"`
	AgentResponses    OptNilConversationHistoryTranscriptCommonModelOutputArray `json:"agent_responses"`
	BranchID          OptNilString                                              `json:"branch_id"`
	ConditionResult   OptTestConditionResultCommonModel                         `json:"condition_result"`
	LastUpdatedAtUnix OptInt                                                    `json:"last_updated_at_unix"`
	Metadata          OptTestRunMetadata                                        `json:"metadata"`
	Status            TestRunStatus                                             `json:"status"`
	TestID            string                                                    `json:"test_id"`
	TestInfo          OptUnitTestCommonModel                                    `json:"test_info"`
	TestInvocationID  string                                                    `json:"test_invocation_id"`
	TestName          OptString                                                 `json:"test_name"`
	TestRunID         string                                                    `json:"test_run_id"`
	WorkflowNodeID    OptNilString                                              `json:"workflow_node_id"`
}

Ref: #/components/schemas/UnitTestRunResponseModel

func (*UnitTestRunResponseModel) Decode

func (s *UnitTestRunResponseModel) Decode(d *jx.Decoder) error

Decode decodes UnitTestRunResponseModel from json.

func (*UnitTestRunResponseModel) Encode

func (s *UnitTestRunResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UnitTestRunResponseModel) GetAgentID

func (s *UnitTestRunResponseModel) GetAgentID() string

GetAgentID returns the value of AgentID.

func (*UnitTestRunResponseModel) GetAgentResponses

GetAgentResponses returns the value of AgentResponses.

func (*UnitTestRunResponseModel) GetBranchID

func (s *UnitTestRunResponseModel) GetBranchID() OptNilString

GetBranchID returns the value of BranchID.

func (*UnitTestRunResponseModel) GetConditionResult

GetConditionResult returns the value of ConditionResult.

func (*UnitTestRunResponseModel) GetLastUpdatedAtUnix

func (s *UnitTestRunResponseModel) GetLastUpdatedAtUnix() OptInt

GetLastUpdatedAtUnix returns the value of LastUpdatedAtUnix.

func (*UnitTestRunResponseModel) GetMetadata

GetMetadata returns the value of Metadata.

func (*UnitTestRunResponseModel) GetStatus

func (s *UnitTestRunResponseModel) GetStatus() TestRunStatus

GetStatus returns the value of Status.

func (*UnitTestRunResponseModel) GetTestID

func (s *UnitTestRunResponseModel) GetTestID() string

GetTestID returns the value of TestID.

func (*UnitTestRunResponseModel) GetTestInfo

GetTestInfo returns the value of TestInfo.

func (*UnitTestRunResponseModel) GetTestInvocationID

func (s *UnitTestRunResponseModel) GetTestInvocationID() string

GetTestInvocationID returns the value of TestInvocationID.

func (*UnitTestRunResponseModel) GetTestName

func (s *UnitTestRunResponseModel) GetTestName() OptString

GetTestName returns the value of TestName.

func (*UnitTestRunResponseModel) GetTestRunID

func (s *UnitTestRunResponseModel) GetTestRunID() string

GetTestRunID returns the value of TestRunID.

func (*UnitTestRunResponseModel) GetWorkflowNodeID

func (s *UnitTestRunResponseModel) GetWorkflowNodeID() OptNilString

GetWorkflowNodeID returns the value of WorkflowNodeID.

func (*UnitTestRunResponseModel) MarshalJSON

func (s *UnitTestRunResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UnitTestRunResponseModel) SetAgentID

func (s *UnitTestRunResponseModel) SetAgentID(val string)

SetAgentID sets the value of AgentID.

func (*UnitTestRunResponseModel) SetAgentResponses

SetAgentResponses sets the value of AgentResponses.

func (*UnitTestRunResponseModel) SetBranchID

func (s *UnitTestRunResponseModel) SetBranchID(val OptNilString)

SetBranchID sets the value of BranchID.

func (*UnitTestRunResponseModel) SetConditionResult

SetConditionResult sets the value of ConditionResult.

func (*UnitTestRunResponseModel) SetLastUpdatedAtUnix

func (s *UnitTestRunResponseModel) SetLastUpdatedAtUnix(val OptInt)

SetLastUpdatedAtUnix sets the value of LastUpdatedAtUnix.

func (*UnitTestRunResponseModel) SetMetadata

func (s *UnitTestRunResponseModel) SetMetadata(val OptTestRunMetadata)

SetMetadata sets the value of Metadata.

func (*UnitTestRunResponseModel) SetStatus

func (s *UnitTestRunResponseModel) SetStatus(val TestRunStatus)

SetStatus sets the value of Status.

func (*UnitTestRunResponseModel) SetTestID

func (s *UnitTestRunResponseModel) SetTestID(val string)

SetTestID sets the value of TestID.

func (*UnitTestRunResponseModel) SetTestInfo

SetTestInfo sets the value of TestInfo.

func (*UnitTestRunResponseModel) SetTestInvocationID

func (s *UnitTestRunResponseModel) SetTestInvocationID(val string)

SetTestInvocationID sets the value of TestInvocationID.

func (*UnitTestRunResponseModel) SetTestName

func (s *UnitTestRunResponseModel) SetTestName(val OptString)

SetTestName sets the value of TestName.

func (*UnitTestRunResponseModel) SetTestRunID

func (s *UnitTestRunResponseModel) SetTestRunID(val string)

SetTestRunID sets the value of TestRunID.

func (*UnitTestRunResponseModel) SetWorkflowNodeID

func (s *UnitTestRunResponseModel) SetWorkflowNodeID(val OptNilString)

SetWorkflowNodeID sets the value of WorkflowNodeID.

func (*UnitTestRunResponseModel) UnmarshalJSON

func (s *UnitTestRunResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UnitTestRunResponseModel) Validate

func (s *UnitTestRunResponseModel) Validate() error

type UnitTestSummaryResponseModel

type UnitTestSummaryResponseModel struct {
	// The access information of the test.
	AccessInfo OptResourceAccessInfo `json:"access_info"`
	// Creation time of the test in unix seconds.
	CreatedAtUnixSecs int `json:"created_at_unix_secs"`
	// The ID of the test.
	ID string `json:"id"`
	// Last update time of the test in unix seconds.
	LastUpdatedAtUnixSecs int `json:"last_updated_at_unix_secs"`
	// Name of the test.
	Name string `json:"name"`
	// Type of the test.
	Type UnitTestCommonModelType `json:"type"`
}

Ref: #/components/schemas/UnitTestSummaryResponseModel

func (*UnitTestSummaryResponseModel) Decode

Decode decodes UnitTestSummaryResponseModel from json.

func (*UnitTestSummaryResponseModel) Encode

func (s *UnitTestSummaryResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UnitTestSummaryResponseModel) GetAccessInfo

GetAccessInfo returns the value of AccessInfo.

func (*UnitTestSummaryResponseModel) GetCreatedAtUnixSecs

func (s *UnitTestSummaryResponseModel) GetCreatedAtUnixSecs() int

GetCreatedAtUnixSecs returns the value of CreatedAtUnixSecs.

func (*UnitTestSummaryResponseModel) GetID

GetID returns the value of ID.

func (*UnitTestSummaryResponseModel) GetLastUpdatedAtUnixSecs

func (s *UnitTestSummaryResponseModel) GetLastUpdatedAtUnixSecs() int

GetLastUpdatedAtUnixSecs returns the value of LastUpdatedAtUnixSecs.

func (*UnitTestSummaryResponseModel) GetName

func (s *UnitTestSummaryResponseModel) GetName() string

GetName returns the value of Name.

func (*UnitTestSummaryResponseModel) GetType

GetType returns the value of Type.

func (*UnitTestSummaryResponseModel) MarshalJSON

func (s *UnitTestSummaryResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UnitTestSummaryResponseModel) SetAccessInfo

SetAccessInfo sets the value of AccessInfo.

func (*UnitTestSummaryResponseModel) SetCreatedAtUnixSecs

func (s *UnitTestSummaryResponseModel) SetCreatedAtUnixSecs(val int)

SetCreatedAtUnixSecs sets the value of CreatedAtUnixSecs.

func (*UnitTestSummaryResponseModel) SetID

func (s *UnitTestSummaryResponseModel) SetID(val string)

SetID sets the value of ID.

func (*UnitTestSummaryResponseModel) SetLastUpdatedAtUnixSecs

func (s *UnitTestSummaryResponseModel) SetLastUpdatedAtUnixSecs(val int)

SetLastUpdatedAtUnixSecs sets the value of LastUpdatedAtUnixSecs.

func (*UnitTestSummaryResponseModel) SetName

func (s *UnitTestSummaryResponseModel) SetName(val string)

SetName sets the value of Name.

func (*UnitTestSummaryResponseModel) SetType

SetType sets the value of Type.

func (*UnitTestSummaryResponseModel) UnmarshalJSON

func (s *UnitTestSummaryResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UnitTestSummaryResponseModel) Validate

func (s *UnitTestSummaryResponseModel) Validate() error

type UnitTestToolCallEvaluationModelInput

type UnitTestToolCallEvaluationModelInput struct {
	// Parameters to evaluate for the agent's tool call. If empty, the tool call parameters are not
	// evaluated.
	Parameters []UnitTestToolCallParameter `json:"parameters"`
	// The tool to evaluate a call against.
	ReferencedTool OptReferencedToolCommonModel `json:"referenced_tool"`
	// Whether to verify that the tool was NOT called.
	VerifyAbsence OptBool `json:"verify_absence"`
}

Ref: #/components/schemas/UnitTestToolCallEvaluationModel-Input

func (*UnitTestToolCallEvaluationModelInput) Decode

Decode decodes UnitTestToolCallEvaluationModelInput from json.

func (*UnitTestToolCallEvaluationModelInput) Encode

Encode implements json.Marshaler.

func (*UnitTestToolCallEvaluationModelInput) GetParameters

GetParameters returns the value of Parameters.

func (*UnitTestToolCallEvaluationModelInput) GetReferencedTool

GetReferencedTool returns the value of ReferencedTool.

func (*UnitTestToolCallEvaluationModelInput) GetVerifyAbsence

func (s *UnitTestToolCallEvaluationModelInput) GetVerifyAbsence() OptBool

GetVerifyAbsence returns the value of VerifyAbsence.

func (*UnitTestToolCallEvaluationModelInput) MarshalJSON

func (s *UnitTestToolCallEvaluationModelInput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UnitTestToolCallEvaluationModelInput) SetParameters

SetParameters sets the value of Parameters.

func (*UnitTestToolCallEvaluationModelInput) SetReferencedTool

SetReferencedTool sets the value of ReferencedTool.

func (*UnitTestToolCallEvaluationModelInput) SetVerifyAbsence

func (s *UnitTestToolCallEvaluationModelInput) SetVerifyAbsence(val OptBool)

SetVerifyAbsence sets the value of VerifyAbsence.

func (*UnitTestToolCallEvaluationModelInput) UnmarshalJSON

func (s *UnitTestToolCallEvaluationModelInput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UnitTestToolCallEvaluationModelInput) Validate

type UnitTestToolCallEvaluationModelOutput

type UnitTestToolCallEvaluationModelOutput struct {
	// Parameters to evaluate for the agent's tool call. If empty, the tool call parameters are not
	// evaluated.
	Parameters []UnitTestToolCallParameter `json:"parameters"`
	// The tool to evaluate a call against.
	ReferencedTool OptReferencedToolCommonModel `json:"referenced_tool"`
	// Whether to verify that the tool was NOT called.
	VerifyAbsence OptBool `json:"verify_absence"`
}

Ref: #/components/schemas/UnitTestToolCallEvaluationModel-Output

func (*UnitTestToolCallEvaluationModelOutput) Decode

Decode decodes UnitTestToolCallEvaluationModelOutput from json.

func (*UnitTestToolCallEvaluationModelOutput) Encode

Encode implements json.Marshaler.

func (*UnitTestToolCallEvaluationModelOutput) GetParameters

GetParameters returns the value of Parameters.

func (*UnitTestToolCallEvaluationModelOutput) GetReferencedTool

GetReferencedTool returns the value of ReferencedTool.

func (*UnitTestToolCallEvaluationModelOutput) GetVerifyAbsence

func (s *UnitTestToolCallEvaluationModelOutput) GetVerifyAbsence() OptBool

GetVerifyAbsence returns the value of VerifyAbsence.

func (*UnitTestToolCallEvaluationModelOutput) MarshalJSON

func (s *UnitTestToolCallEvaluationModelOutput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UnitTestToolCallEvaluationModelOutput) SetParameters

SetParameters sets the value of Parameters.

func (*UnitTestToolCallEvaluationModelOutput) SetReferencedTool

SetReferencedTool sets the value of ReferencedTool.

func (*UnitTestToolCallEvaluationModelOutput) SetVerifyAbsence

func (s *UnitTestToolCallEvaluationModelOutput) SetVerifyAbsence(val OptBool)

SetVerifyAbsence sets the value of VerifyAbsence.

func (*UnitTestToolCallEvaluationModelOutput) UnmarshalJSON

func (s *UnitTestToolCallEvaluationModelOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UnitTestToolCallEvaluationModelOutput) Validate

type UnitTestToolCallParameter

type UnitTestToolCallParameter struct {
	Eval UnitTestToolCallParameterEval `json:"eval"`
	Path string                        `json:"path"`
}

Ref: #/components/schemas/UnitTestToolCallParameter

func (*UnitTestToolCallParameter) Decode

func (s *UnitTestToolCallParameter) Decode(d *jx.Decoder) error

Decode decodes UnitTestToolCallParameter from json.

func (*UnitTestToolCallParameter) Encode

func (s *UnitTestToolCallParameter) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UnitTestToolCallParameter) GetEval

GetEval returns the value of Eval.

func (*UnitTestToolCallParameter) GetPath

func (s *UnitTestToolCallParameter) GetPath() string

GetPath returns the value of Path.

func (*UnitTestToolCallParameter) MarshalJSON

func (s *UnitTestToolCallParameter) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UnitTestToolCallParameter) SetEval

SetEval sets the value of Eval.

func (*UnitTestToolCallParameter) SetPath

func (s *UnitTestToolCallParameter) SetPath(val string)

SetPath sets the value of Path.

func (*UnitTestToolCallParameter) UnmarshalJSON

func (s *UnitTestToolCallParameter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UnitTestToolCallParameter) Validate

func (s *UnitTestToolCallParameter) Validate() error

type UnitTestToolCallParameterEval

type UnitTestToolCallParameterEval struct {
	Type                                     UnitTestToolCallParameterEvalType // switch on this field
	LLMParameterEvaluationStrategy           LLMParameterEvaluationStrategy
	RegexParameterEvaluationStrategy         RegexParameterEvaluationStrategy
	ExactParameterEvaluationStrategy         ExactParameterEvaluationStrategy
	MatchAnythingParameterEvaluationStrategy MatchAnythingParameterEvaluationStrategy
}

UnitTestToolCallParameterEval represents sum type.

func NewExactParameterEvaluationStrategyUnitTestToolCallParameterEval

func NewExactParameterEvaluationStrategyUnitTestToolCallParameterEval(v ExactParameterEvaluationStrategy) UnitTestToolCallParameterEval

NewExactParameterEvaluationStrategyUnitTestToolCallParameterEval returns new UnitTestToolCallParameterEval from ExactParameterEvaluationStrategy.

func NewLLMParameterEvaluationStrategyUnitTestToolCallParameterEval

func NewLLMParameterEvaluationStrategyUnitTestToolCallParameterEval(v LLMParameterEvaluationStrategy) UnitTestToolCallParameterEval

NewLLMParameterEvaluationStrategyUnitTestToolCallParameterEval returns new UnitTestToolCallParameterEval from LLMParameterEvaluationStrategy.

func NewMatchAnythingParameterEvaluationStrategyUnitTestToolCallParameterEval

func NewMatchAnythingParameterEvaluationStrategyUnitTestToolCallParameterEval(v MatchAnythingParameterEvaluationStrategy) UnitTestToolCallParameterEval

NewMatchAnythingParameterEvaluationStrategyUnitTestToolCallParameterEval returns new UnitTestToolCallParameterEval from MatchAnythingParameterEvaluationStrategy.

func NewRegexParameterEvaluationStrategyUnitTestToolCallParameterEval

func NewRegexParameterEvaluationStrategyUnitTestToolCallParameterEval(v RegexParameterEvaluationStrategy) UnitTestToolCallParameterEval

NewRegexParameterEvaluationStrategyUnitTestToolCallParameterEval returns new UnitTestToolCallParameterEval from RegexParameterEvaluationStrategy.

func (*UnitTestToolCallParameterEval) Decode

Decode decodes UnitTestToolCallParameterEval from json.

func (UnitTestToolCallParameterEval) Encode

Encode encodes UnitTestToolCallParameterEval as json.

func (UnitTestToolCallParameterEval) GetExactParameterEvaluationStrategy

func (s UnitTestToolCallParameterEval) GetExactParameterEvaluationStrategy() (v ExactParameterEvaluationStrategy, ok bool)

GetExactParameterEvaluationStrategy returns ExactParameterEvaluationStrategy and true boolean if UnitTestToolCallParameterEval is ExactParameterEvaluationStrategy.

func (UnitTestToolCallParameterEval) GetLLMParameterEvaluationStrategy

func (s UnitTestToolCallParameterEval) GetLLMParameterEvaluationStrategy() (v LLMParameterEvaluationStrategy, ok bool)

GetLLMParameterEvaluationStrategy returns LLMParameterEvaluationStrategy and true boolean if UnitTestToolCallParameterEval is LLMParameterEvaluationStrategy.

func (UnitTestToolCallParameterEval) GetMatchAnythingParameterEvaluationStrategy

func (s UnitTestToolCallParameterEval) GetMatchAnythingParameterEvaluationStrategy() (v MatchAnythingParameterEvaluationStrategy, ok bool)

GetMatchAnythingParameterEvaluationStrategy returns MatchAnythingParameterEvaluationStrategy and true boolean if UnitTestToolCallParameterEval is MatchAnythingParameterEvaluationStrategy.

func (UnitTestToolCallParameterEval) GetRegexParameterEvaluationStrategy

func (s UnitTestToolCallParameterEval) GetRegexParameterEvaluationStrategy() (v RegexParameterEvaluationStrategy, ok bool)

GetRegexParameterEvaluationStrategy returns RegexParameterEvaluationStrategy and true boolean if UnitTestToolCallParameterEval is RegexParameterEvaluationStrategy.

func (UnitTestToolCallParameterEval) IsExactParameterEvaluationStrategy

func (s UnitTestToolCallParameterEval) IsExactParameterEvaluationStrategy() bool

IsExactParameterEvaluationStrategy reports whether UnitTestToolCallParameterEval is ExactParameterEvaluationStrategy.

func (UnitTestToolCallParameterEval) IsLLMParameterEvaluationStrategy

func (s UnitTestToolCallParameterEval) IsLLMParameterEvaluationStrategy() bool

IsLLMParameterEvaluationStrategy reports whether UnitTestToolCallParameterEval is LLMParameterEvaluationStrategy.

func (UnitTestToolCallParameterEval) IsMatchAnythingParameterEvaluationStrategy

func (s UnitTestToolCallParameterEval) IsMatchAnythingParameterEvaluationStrategy() bool

IsMatchAnythingParameterEvaluationStrategy reports whether UnitTestToolCallParameterEval is MatchAnythingParameterEvaluationStrategy.

func (UnitTestToolCallParameterEval) IsRegexParameterEvaluationStrategy

func (s UnitTestToolCallParameterEval) IsRegexParameterEvaluationStrategy() bool

IsRegexParameterEvaluationStrategy reports whether UnitTestToolCallParameterEval is RegexParameterEvaluationStrategy.

func (UnitTestToolCallParameterEval) MarshalJSON

func (s UnitTestToolCallParameterEval) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UnitTestToolCallParameterEval) SetExactParameterEvaluationStrategy

func (s *UnitTestToolCallParameterEval) SetExactParameterEvaluationStrategy(v ExactParameterEvaluationStrategy)

SetExactParameterEvaluationStrategy sets UnitTestToolCallParameterEval to ExactParameterEvaluationStrategy.

func (*UnitTestToolCallParameterEval) SetLLMParameterEvaluationStrategy

func (s *UnitTestToolCallParameterEval) SetLLMParameterEvaluationStrategy(v LLMParameterEvaluationStrategy)

SetLLMParameterEvaluationStrategy sets UnitTestToolCallParameterEval to LLMParameterEvaluationStrategy.

func (*UnitTestToolCallParameterEval) SetMatchAnythingParameterEvaluationStrategy

func (s *UnitTestToolCallParameterEval) SetMatchAnythingParameterEvaluationStrategy(v MatchAnythingParameterEvaluationStrategy)

SetMatchAnythingParameterEvaluationStrategy sets UnitTestToolCallParameterEval to MatchAnythingParameterEvaluationStrategy.

func (*UnitTestToolCallParameterEval) SetRegexParameterEvaluationStrategy

func (s *UnitTestToolCallParameterEval) SetRegexParameterEvaluationStrategy(v RegexParameterEvaluationStrategy)

SetRegexParameterEvaluationStrategy sets UnitTestToolCallParameterEval to RegexParameterEvaluationStrategy.

func (*UnitTestToolCallParameterEval) UnmarshalJSON

func (s *UnitTestToolCallParameterEval) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (UnitTestToolCallParameterEval) Validate

func (s UnitTestToolCallParameterEval) Validate() error

type UnitTestToolCallParameterEvalType

type UnitTestToolCallParameterEvalType string

UnitTestToolCallParameterEvalType is oneOf type of UnitTestToolCallParameterEval.

const (
	LLMParameterEvaluationStrategyUnitTestToolCallParameterEval           UnitTestToolCallParameterEvalType = "llm"
	RegexParameterEvaluationStrategyUnitTestToolCallParameterEval         UnitTestToolCallParameterEvalType = "regex"
	ExactParameterEvaluationStrategyUnitTestToolCallParameterEval         UnitTestToolCallParameterEvalType = "exact"
	MatchAnythingParameterEvaluationStrategyUnitTestToolCallParameterEval UnitTestToolCallParameterEvalType = "anything"
)

Possible values for UnitTestToolCallParameterEvalType.

type UnshareResourceEndpointOKApplicationJSON

type UnshareResourceEndpointOKApplicationJSON jx.Raw

func (*UnshareResourceEndpointOKApplicationJSON) Decode

Decode decodes UnshareResourceEndpointOKApplicationJSON from json.

func (UnshareResourceEndpointOKApplicationJSON) Encode

Encode encodes UnshareResourceEndpointOKApplicationJSON as json.

func (UnshareResourceEndpointOKApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*UnshareResourceEndpointOKApplicationJSON) UnmarshalJSON

func (s *UnshareResourceEndpointOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UnshareResourceEndpointParams

type UnshareResourceEndpointParams struct {
	// The ID of the target resource.
	ResourceID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

UnshareResourceEndpointParams is parameters of unshare_resource_endpoint operation.

type UnshareResourceEndpointRes

type UnshareResourceEndpointRes interface {
	// contains filtered or unexported methods
}

type UpdateAgentResponseTestRouteParams

type UpdateAgentResponseTestRouteParams struct {
	// The id of a chat response test. This is returned on test creation.
	TestID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

UpdateAgentResponseTestRouteParams is parameters of update_agent_response_test_route operation.

type UpdateAgentResponseTestRouteRes

type UpdateAgentResponseTestRouteRes interface {
	// contains filtered or unexported methods
}

type UpdateDashboardSettingsRouteParams

type UpdateDashboardSettingsRouteParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

UpdateDashboardSettingsRouteParams is parameters of update_dashboard_settings_route operation.

type UpdateDashboardSettingsRouteRes

type UpdateDashboardSettingsRouteRes interface {
	// contains filtered or unexported methods
}

type UpdateDocumentRouteOK

type UpdateDocumentRouteOK struct {
	Type                                UpdateDocumentRouteOKType // switch on this field
	GetKnowledgeBaseURLResponseModel    GetKnowledgeBaseURLResponseModel
	GetKnowledgeBaseFileResponseModel   GetKnowledgeBaseFileResponseModel
	GetKnowledgeBaseTextResponseModel   GetKnowledgeBaseTextResponseModel
	GetKnowledgeBaseFolderResponseModel GetKnowledgeBaseFolderResponseModel
}

UpdateDocumentRouteOK represents sum type.

func NewGetKnowledgeBaseFileResponseModelUpdateDocumentRouteOK

func NewGetKnowledgeBaseFileResponseModelUpdateDocumentRouteOK(v GetKnowledgeBaseFileResponseModel) UpdateDocumentRouteOK

NewGetKnowledgeBaseFileResponseModelUpdateDocumentRouteOK returns new UpdateDocumentRouteOK from GetKnowledgeBaseFileResponseModel.

func NewGetKnowledgeBaseFolderResponseModelUpdateDocumentRouteOK

func NewGetKnowledgeBaseFolderResponseModelUpdateDocumentRouteOK(v GetKnowledgeBaseFolderResponseModel) UpdateDocumentRouteOK

NewGetKnowledgeBaseFolderResponseModelUpdateDocumentRouteOK returns new UpdateDocumentRouteOK from GetKnowledgeBaseFolderResponseModel.

func NewGetKnowledgeBaseTextResponseModelUpdateDocumentRouteOK

func NewGetKnowledgeBaseTextResponseModelUpdateDocumentRouteOK(v GetKnowledgeBaseTextResponseModel) UpdateDocumentRouteOK

NewGetKnowledgeBaseTextResponseModelUpdateDocumentRouteOK returns new UpdateDocumentRouteOK from GetKnowledgeBaseTextResponseModel.

func NewGetKnowledgeBaseURLResponseModelUpdateDocumentRouteOK

func NewGetKnowledgeBaseURLResponseModelUpdateDocumentRouteOK(v GetKnowledgeBaseURLResponseModel) UpdateDocumentRouteOK

NewGetKnowledgeBaseURLResponseModelUpdateDocumentRouteOK returns new UpdateDocumentRouteOK from GetKnowledgeBaseURLResponseModel.

func (*UpdateDocumentRouteOK) Decode

func (s *UpdateDocumentRouteOK) Decode(d *jx.Decoder) error

Decode decodes UpdateDocumentRouteOK from json.

func (UpdateDocumentRouteOK) Encode

func (s UpdateDocumentRouteOK) Encode(e *jx.Encoder)

Encode encodes UpdateDocumentRouteOK as json.

func (UpdateDocumentRouteOK) GetGetKnowledgeBaseFileResponseModel

func (s UpdateDocumentRouteOK) GetGetKnowledgeBaseFileResponseModel() (v GetKnowledgeBaseFileResponseModel, ok bool)

GetGetKnowledgeBaseFileResponseModel returns GetKnowledgeBaseFileResponseModel and true boolean if UpdateDocumentRouteOK is GetKnowledgeBaseFileResponseModel.

func (UpdateDocumentRouteOK) GetGetKnowledgeBaseFolderResponseModel

func (s UpdateDocumentRouteOK) GetGetKnowledgeBaseFolderResponseModel() (v GetKnowledgeBaseFolderResponseModel, ok bool)

GetGetKnowledgeBaseFolderResponseModel returns GetKnowledgeBaseFolderResponseModel and true boolean if UpdateDocumentRouteOK is GetKnowledgeBaseFolderResponseModel.

func (UpdateDocumentRouteOK) GetGetKnowledgeBaseTextResponseModel

func (s UpdateDocumentRouteOK) GetGetKnowledgeBaseTextResponseModel() (v GetKnowledgeBaseTextResponseModel, ok bool)

GetGetKnowledgeBaseTextResponseModel returns GetKnowledgeBaseTextResponseModel and true boolean if UpdateDocumentRouteOK is GetKnowledgeBaseTextResponseModel.

func (UpdateDocumentRouteOK) GetGetKnowledgeBaseURLResponseModel

func (s UpdateDocumentRouteOK) GetGetKnowledgeBaseURLResponseModel() (v GetKnowledgeBaseURLResponseModel, ok bool)

GetGetKnowledgeBaseURLResponseModel returns GetKnowledgeBaseURLResponseModel and true boolean if UpdateDocumentRouteOK is GetKnowledgeBaseURLResponseModel.

func (UpdateDocumentRouteOK) IsGetKnowledgeBaseFileResponseModel

func (s UpdateDocumentRouteOK) IsGetKnowledgeBaseFileResponseModel() bool

IsGetKnowledgeBaseFileResponseModel reports whether UpdateDocumentRouteOK is GetKnowledgeBaseFileResponseModel.

func (UpdateDocumentRouteOK) IsGetKnowledgeBaseFolderResponseModel

func (s UpdateDocumentRouteOK) IsGetKnowledgeBaseFolderResponseModel() bool

IsGetKnowledgeBaseFolderResponseModel reports whether UpdateDocumentRouteOK is GetKnowledgeBaseFolderResponseModel.

func (UpdateDocumentRouteOK) IsGetKnowledgeBaseTextResponseModel

func (s UpdateDocumentRouteOK) IsGetKnowledgeBaseTextResponseModel() bool

IsGetKnowledgeBaseTextResponseModel reports whether UpdateDocumentRouteOK is GetKnowledgeBaseTextResponseModel.

func (UpdateDocumentRouteOK) IsGetKnowledgeBaseURLResponseModel

func (s UpdateDocumentRouteOK) IsGetKnowledgeBaseURLResponseModel() bool

IsGetKnowledgeBaseURLResponseModel reports whether UpdateDocumentRouteOK is GetKnowledgeBaseURLResponseModel.

func (UpdateDocumentRouteOK) MarshalJSON

func (s UpdateDocumentRouteOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateDocumentRouteOK) SetGetKnowledgeBaseFileResponseModel

func (s *UpdateDocumentRouteOK) SetGetKnowledgeBaseFileResponseModel(v GetKnowledgeBaseFileResponseModel)

SetGetKnowledgeBaseFileResponseModel sets UpdateDocumentRouteOK to GetKnowledgeBaseFileResponseModel.

func (*UpdateDocumentRouteOK) SetGetKnowledgeBaseFolderResponseModel

func (s *UpdateDocumentRouteOK) SetGetKnowledgeBaseFolderResponseModel(v GetKnowledgeBaseFolderResponseModel)

SetGetKnowledgeBaseFolderResponseModel sets UpdateDocumentRouteOK to GetKnowledgeBaseFolderResponseModel.

func (*UpdateDocumentRouteOK) SetGetKnowledgeBaseTextResponseModel

func (s *UpdateDocumentRouteOK) SetGetKnowledgeBaseTextResponseModel(v GetKnowledgeBaseTextResponseModel)

SetGetKnowledgeBaseTextResponseModel sets UpdateDocumentRouteOK to GetKnowledgeBaseTextResponseModel.

func (*UpdateDocumentRouteOK) SetGetKnowledgeBaseURLResponseModel

func (s *UpdateDocumentRouteOK) SetGetKnowledgeBaseURLResponseModel(v GetKnowledgeBaseURLResponseModel)

SetGetKnowledgeBaseURLResponseModel sets UpdateDocumentRouteOK to GetKnowledgeBaseURLResponseModel.

func (*UpdateDocumentRouteOK) UnmarshalJSON

func (s *UpdateDocumentRouteOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (UpdateDocumentRouteOK) Validate

func (s UpdateDocumentRouteOK) Validate() error

type UpdateDocumentRouteOKType

type UpdateDocumentRouteOKType string

UpdateDocumentRouteOKType is oneOf type of UpdateDocumentRouteOK.

const (
	GetKnowledgeBaseURLResponseModelUpdateDocumentRouteOK    UpdateDocumentRouteOKType = "url"
	GetKnowledgeBaseFileResponseModelUpdateDocumentRouteOK   UpdateDocumentRouteOKType = "file"
	GetKnowledgeBaseTextResponseModelUpdateDocumentRouteOK   UpdateDocumentRouteOKType = "text"
	GetKnowledgeBaseFolderResponseModelUpdateDocumentRouteOK UpdateDocumentRouteOKType = "folder"
)

Possible values for UpdateDocumentRouteOKType.

type UpdateDocumentRouteParams

type UpdateDocumentRouteParams struct {
	// The id of a document from the knowledge base. This is returned on document addition.
	DocumentationID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

UpdateDocumentRouteParams is parameters of update_document_route operation.

type UpdateDocumentRouteRes

type UpdateDocumentRouteRes interface {
	// contains filtered or unexported methods
}

type UpdatePhoneNumberRequest

type UpdatePhoneNumberRequest struct {
	AgentID             OptNilString                          `json:"agent_id"`
	InboundTrunkConfig  OptInboundSIPTrunkConfigRequestModel  `json:"inbound_trunk_config"`
	LivekitStack        OptLivekitStackType                   `json:"livekit_stack"`
	OutboundTrunkConfig OptOutboundSIPTrunkConfigRequestModel `json:"outbound_trunk_config"`
}

Ref: #/components/schemas/UpdatePhoneNumberRequest

func (*UpdatePhoneNumberRequest) Decode

func (s *UpdatePhoneNumberRequest) Decode(d *jx.Decoder) error

Decode decodes UpdatePhoneNumberRequest from json.

func (*UpdatePhoneNumberRequest) Encode

func (s *UpdatePhoneNumberRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdatePhoneNumberRequest) GetAgentID

func (s *UpdatePhoneNumberRequest) GetAgentID() OptNilString

GetAgentID returns the value of AgentID.

func (*UpdatePhoneNumberRequest) GetInboundTrunkConfig

GetInboundTrunkConfig returns the value of InboundTrunkConfig.

func (*UpdatePhoneNumberRequest) GetLivekitStack

func (s *UpdatePhoneNumberRequest) GetLivekitStack() OptLivekitStackType

GetLivekitStack returns the value of LivekitStack.

func (*UpdatePhoneNumberRequest) GetOutboundTrunkConfig

GetOutboundTrunkConfig returns the value of OutboundTrunkConfig.

func (*UpdatePhoneNumberRequest) MarshalJSON

func (s *UpdatePhoneNumberRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdatePhoneNumberRequest) SetAgentID

func (s *UpdatePhoneNumberRequest) SetAgentID(val OptNilString)

SetAgentID sets the value of AgentID.

func (*UpdatePhoneNumberRequest) SetInboundTrunkConfig

func (s *UpdatePhoneNumberRequest) SetInboundTrunkConfig(val OptInboundSIPTrunkConfigRequestModel)

SetInboundTrunkConfig sets the value of InboundTrunkConfig.

func (*UpdatePhoneNumberRequest) SetLivekitStack

func (s *UpdatePhoneNumberRequest) SetLivekitStack(val OptLivekitStackType)

SetLivekitStack sets the value of LivekitStack.

func (*UpdatePhoneNumberRequest) SetOutboundTrunkConfig

func (s *UpdatePhoneNumberRequest) SetOutboundTrunkConfig(val OptOutboundSIPTrunkConfigRequestModel)

SetOutboundTrunkConfig sets the value of OutboundTrunkConfig.

func (*UpdatePhoneNumberRequest) UnmarshalJSON

func (s *UpdatePhoneNumberRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdatePhoneNumberRequest) Validate

func (s *UpdatePhoneNumberRequest) Validate() error

type UpdatePhoneNumberRouteOK

type UpdatePhoneNumberRouteOK struct {
	Type                                UpdatePhoneNumberRouteOKType // switch on this field
	GetPhoneNumberTwilioResponseModel   GetPhoneNumberTwilioResponseModel
	GetPhoneNumberSIPTrunkResponseModel GetPhoneNumberSIPTrunkResponseModel
}

UpdatePhoneNumberRouteOK represents sum type.

func NewGetPhoneNumberSIPTrunkResponseModelUpdatePhoneNumberRouteOK

func NewGetPhoneNumberSIPTrunkResponseModelUpdatePhoneNumberRouteOK(v GetPhoneNumberSIPTrunkResponseModel) UpdatePhoneNumberRouteOK

NewGetPhoneNumberSIPTrunkResponseModelUpdatePhoneNumberRouteOK returns new UpdatePhoneNumberRouteOK from GetPhoneNumberSIPTrunkResponseModel.

func NewGetPhoneNumberTwilioResponseModelUpdatePhoneNumberRouteOK

func NewGetPhoneNumberTwilioResponseModelUpdatePhoneNumberRouteOK(v GetPhoneNumberTwilioResponseModel) UpdatePhoneNumberRouteOK

NewGetPhoneNumberTwilioResponseModelUpdatePhoneNumberRouteOK returns new UpdatePhoneNumberRouteOK from GetPhoneNumberTwilioResponseModel.

func (*UpdatePhoneNumberRouteOK) Decode

func (s *UpdatePhoneNumberRouteOK) Decode(d *jx.Decoder) error

Decode decodes UpdatePhoneNumberRouteOK from json.

func (UpdatePhoneNumberRouteOK) Encode

func (s UpdatePhoneNumberRouteOK) Encode(e *jx.Encoder)

Encode encodes UpdatePhoneNumberRouteOK as json.

func (UpdatePhoneNumberRouteOK) GetGetPhoneNumberSIPTrunkResponseModel

func (s UpdatePhoneNumberRouteOK) GetGetPhoneNumberSIPTrunkResponseModel() (v GetPhoneNumberSIPTrunkResponseModel, ok bool)

GetGetPhoneNumberSIPTrunkResponseModel returns GetPhoneNumberSIPTrunkResponseModel and true boolean if UpdatePhoneNumberRouteOK is GetPhoneNumberSIPTrunkResponseModel.

func (UpdatePhoneNumberRouteOK) GetGetPhoneNumberTwilioResponseModel

func (s UpdatePhoneNumberRouteOK) GetGetPhoneNumberTwilioResponseModel() (v GetPhoneNumberTwilioResponseModel, ok bool)

GetGetPhoneNumberTwilioResponseModel returns GetPhoneNumberTwilioResponseModel and true boolean if UpdatePhoneNumberRouteOK is GetPhoneNumberTwilioResponseModel.

func (UpdatePhoneNumberRouteOK) IsGetPhoneNumberSIPTrunkResponseModel

func (s UpdatePhoneNumberRouteOK) IsGetPhoneNumberSIPTrunkResponseModel() bool

IsGetPhoneNumberSIPTrunkResponseModel reports whether UpdatePhoneNumberRouteOK is GetPhoneNumberSIPTrunkResponseModel.

func (UpdatePhoneNumberRouteOK) IsGetPhoneNumberTwilioResponseModel

func (s UpdatePhoneNumberRouteOK) IsGetPhoneNumberTwilioResponseModel() bool

IsGetPhoneNumberTwilioResponseModel reports whether UpdatePhoneNumberRouteOK is GetPhoneNumberTwilioResponseModel.

func (UpdatePhoneNumberRouteOK) MarshalJSON

func (s UpdatePhoneNumberRouteOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdatePhoneNumberRouteOK) SetGetPhoneNumberSIPTrunkResponseModel

func (s *UpdatePhoneNumberRouteOK) SetGetPhoneNumberSIPTrunkResponseModel(v GetPhoneNumberSIPTrunkResponseModel)

SetGetPhoneNumberSIPTrunkResponseModel sets UpdatePhoneNumberRouteOK to GetPhoneNumberSIPTrunkResponseModel.

func (*UpdatePhoneNumberRouteOK) SetGetPhoneNumberTwilioResponseModel

func (s *UpdatePhoneNumberRouteOK) SetGetPhoneNumberTwilioResponseModel(v GetPhoneNumberTwilioResponseModel)

SetGetPhoneNumberTwilioResponseModel sets UpdatePhoneNumberRouteOK to GetPhoneNumberTwilioResponseModel.

func (*UpdatePhoneNumberRouteOK) UnmarshalJSON

func (s *UpdatePhoneNumberRouteOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (UpdatePhoneNumberRouteOK) Validate

func (s UpdatePhoneNumberRouteOK) Validate() error

type UpdatePhoneNumberRouteOKType

type UpdatePhoneNumberRouteOKType string

UpdatePhoneNumberRouteOKType is oneOf type of UpdatePhoneNumberRouteOK.

const (
	GetPhoneNumberTwilioResponseModelUpdatePhoneNumberRouteOK   UpdatePhoneNumberRouteOKType = "twilio"
	GetPhoneNumberSIPTrunkResponseModelUpdatePhoneNumberRouteOK UpdatePhoneNumberRouteOKType = "sip_trunk"
)

Possible values for UpdatePhoneNumberRouteOKType.

type UpdatePhoneNumberRouteParams

type UpdatePhoneNumberRouteParams struct {
	// The id of an agent. This is returned on agent creation.
	PhoneNumberID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

UpdatePhoneNumberRouteParams is parameters of update_phone_number_route operation.

type UpdatePhoneNumberRouteRes

type UpdatePhoneNumberRouteRes interface {
	// contains filtered or unexported methods
}

type UpdatePronunciationDictionariesParams

type UpdatePronunciationDictionariesParams struct {
	// The ID of the Studio project.
	ProjectID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

UpdatePronunciationDictionariesParams is parameters of update_pronunciation_dictionaries operation.

type UpdatePronunciationDictionariesRes

type UpdatePronunciationDictionariesRes interface {
	// contains filtered or unexported methods
}

type UpdateSecretRouteParams

type UpdateSecretRouteParams struct {
	SecretID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

UpdateSecretRouteParams is parameters of update_secret_route operation.

type UpdateSecretRouteRes

type UpdateSecretRouteRes interface {
	// contains filtered or unexported methods
}

type UpdateSegmentLanguageParams

type UpdateSegmentLanguageParams struct {
	// ID of the dubbing project.
	DubbingID string
	// ID of the segment.
	SegmentID string
	// ID of the language.
	Language string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

UpdateSegmentLanguageParams is parameters of update_segment_language operation.

type UpdateSegmentLanguageRes

type UpdateSegmentLanguageRes interface {
	// contains filtered or unexported methods
}

type UpdateSettingsRouteParams

type UpdateSettingsRouteParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

UpdateSettingsRouteParams is parameters of update_settings_route operation.

type UpdateSettingsRouteRes

type UpdateSettingsRouteRes interface {
	// contains filtered or unexported methods
}

type UpdateSpeakerParams

type UpdateSpeakerParams struct {
	// ID of the dubbing project.
	DubbingID string
	// ID of the speaker.
	SpeakerID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

UpdateSpeakerParams is parameters of update_speaker operation.

type UpdateSpeakerRes

type UpdateSpeakerRes interface {
	// contains filtered or unexported methods
}

type UpdateUnitTestRequest

type UpdateUnitTestRequest struct {
	ChatHistory []ConversationHistoryTranscriptCommonModelInput `json:"chat_history"`
	// Dynamic variables to replace in the agent config during testing.
	DynamicVariables OptUpdateUnitTestRequestDynamicVariables `json:"dynamic_variables"`
	// Non-empty list of example responses that should be considered failures.
	FailureExamples []AgentFailureResponseExample `json:"failure_examples"`
	// Metadata of a conversation this test was created from (if applicable).
	FromConversationMetadata OptTestFromConversationMetadataInput `json:"from_conversation_metadata"`
	Name                     string                               `json:"name"`
	// A prompt that evaluates whether the agent's response is successful. Should return True or False.
	SuccessCondition string `json:"success_condition"`
	// Non-empty list of example responses that should be considered successful.
	SuccessExamples []AgentSuccessfulResponseExample `json:"success_examples"`
	// How to evaluate the agent's tool call (if any). If empty, the tool call is not evaluated.
	ToolCallParameters OptUnitTestToolCallEvaluationModelInput `json:"tool_call_parameters"`
	Type               OptUnitTestCommonModelType              `json:"type"`
}

Ref: #/components/schemas/UpdateUnitTestRequest

func (*UpdateUnitTestRequest) Decode

func (s *UpdateUnitTestRequest) Decode(d *jx.Decoder) error

Decode decodes UpdateUnitTestRequest from json.

func (*UpdateUnitTestRequest) Encode

func (s *UpdateUnitTestRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateUnitTestRequest) GetChatHistory

GetChatHistory returns the value of ChatHistory.

func (*UpdateUnitTestRequest) GetDynamicVariables

GetDynamicVariables returns the value of DynamicVariables.

func (*UpdateUnitTestRequest) GetFailureExamples

func (s *UpdateUnitTestRequest) GetFailureExamples() []AgentFailureResponseExample

GetFailureExamples returns the value of FailureExamples.

func (*UpdateUnitTestRequest) GetFromConversationMetadata

func (s *UpdateUnitTestRequest) GetFromConversationMetadata() OptTestFromConversationMetadataInput

GetFromConversationMetadata returns the value of FromConversationMetadata.

func (*UpdateUnitTestRequest) GetName

func (s *UpdateUnitTestRequest) GetName() string

GetName returns the value of Name.

func (*UpdateUnitTestRequest) GetSuccessCondition

func (s *UpdateUnitTestRequest) GetSuccessCondition() string

GetSuccessCondition returns the value of SuccessCondition.

func (*UpdateUnitTestRequest) GetSuccessExamples

func (s *UpdateUnitTestRequest) GetSuccessExamples() []AgentSuccessfulResponseExample

GetSuccessExamples returns the value of SuccessExamples.

func (*UpdateUnitTestRequest) GetToolCallParameters

GetToolCallParameters returns the value of ToolCallParameters.

func (*UpdateUnitTestRequest) GetType

GetType returns the value of Type.

func (*UpdateUnitTestRequest) MarshalJSON

func (s *UpdateUnitTestRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateUnitTestRequest) SetChatHistory

SetChatHistory sets the value of ChatHistory.

func (*UpdateUnitTestRequest) SetDynamicVariables

SetDynamicVariables sets the value of DynamicVariables.

func (*UpdateUnitTestRequest) SetFailureExamples

func (s *UpdateUnitTestRequest) SetFailureExamples(val []AgentFailureResponseExample)

SetFailureExamples sets the value of FailureExamples.

func (*UpdateUnitTestRequest) SetFromConversationMetadata

func (s *UpdateUnitTestRequest) SetFromConversationMetadata(val OptTestFromConversationMetadataInput)

SetFromConversationMetadata sets the value of FromConversationMetadata.

func (*UpdateUnitTestRequest) SetName

func (s *UpdateUnitTestRequest) SetName(val string)

SetName sets the value of Name.

func (*UpdateUnitTestRequest) SetSuccessCondition

func (s *UpdateUnitTestRequest) SetSuccessCondition(val string)

SetSuccessCondition sets the value of SuccessCondition.

func (*UpdateUnitTestRequest) SetSuccessExamples

func (s *UpdateUnitTestRequest) SetSuccessExamples(val []AgentSuccessfulResponseExample)

SetSuccessExamples sets the value of SuccessExamples.

func (*UpdateUnitTestRequest) SetToolCallParameters

func (s *UpdateUnitTestRequest) SetToolCallParameters(val OptUnitTestToolCallEvaluationModelInput)

SetToolCallParameters sets the value of ToolCallParameters.

func (*UpdateUnitTestRequest) SetType

SetType sets the value of Type.

func (*UpdateUnitTestRequest) UnmarshalJSON

func (s *UpdateUnitTestRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateUnitTestRequest) Validate

func (s *UpdateUnitTestRequest) Validate() error

type UpdateUnitTestRequestDynamicVariables

type UpdateUnitTestRequestDynamicVariables map[string]NilUpdateUnitTestRequestDynamicVariablesItem

Dynamic variables to replace in the agent config during testing.

func (*UpdateUnitTestRequestDynamicVariables) Decode

Decode decodes UpdateUnitTestRequestDynamicVariables from json.

func (UpdateUnitTestRequestDynamicVariables) Encode

Encode implements json.Marshaler.

func (UpdateUnitTestRequestDynamicVariables) MarshalJSON

func (s UpdateUnitTestRequestDynamicVariables) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateUnitTestRequestDynamicVariables) UnmarshalJSON

func (s *UpdateUnitTestRequestDynamicVariables) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (UpdateUnitTestRequestDynamicVariables) Validate

type UpdateUnitTestRequestDynamicVariablesItem

type UpdateUnitTestRequestDynamicVariablesItem struct {
	Type    UpdateUnitTestRequestDynamicVariablesItemType // switch on this field
	String  string
	Float64 float64
	Int     int
	Bool    bool
}

UpdateUnitTestRequestDynamicVariablesItem represents sum type.

func NewBoolUpdateUnitTestRequestDynamicVariablesItem

func NewBoolUpdateUnitTestRequestDynamicVariablesItem(v bool) UpdateUnitTestRequestDynamicVariablesItem

NewBoolUpdateUnitTestRequestDynamicVariablesItem returns new UpdateUnitTestRequestDynamicVariablesItem from bool.

func NewFloat64UpdateUnitTestRequestDynamicVariablesItem

func NewFloat64UpdateUnitTestRequestDynamicVariablesItem(v float64) UpdateUnitTestRequestDynamicVariablesItem

NewFloat64UpdateUnitTestRequestDynamicVariablesItem returns new UpdateUnitTestRequestDynamicVariablesItem from float64.

func NewIntUpdateUnitTestRequestDynamicVariablesItem

func NewIntUpdateUnitTestRequestDynamicVariablesItem(v int) UpdateUnitTestRequestDynamicVariablesItem

NewIntUpdateUnitTestRequestDynamicVariablesItem returns new UpdateUnitTestRequestDynamicVariablesItem from int.

func NewStringUpdateUnitTestRequestDynamicVariablesItem

func NewStringUpdateUnitTestRequestDynamicVariablesItem(v string) UpdateUnitTestRequestDynamicVariablesItem

NewStringUpdateUnitTestRequestDynamicVariablesItem returns new UpdateUnitTestRequestDynamicVariablesItem from string.

func (*UpdateUnitTestRequestDynamicVariablesItem) Decode

Decode decodes UpdateUnitTestRequestDynamicVariablesItem from json.

func (UpdateUnitTestRequestDynamicVariablesItem) Encode

Encode encodes UpdateUnitTestRequestDynamicVariablesItem as json.

func (UpdateUnitTestRequestDynamicVariablesItem) GetBool

GetBool returns bool and true boolean if UpdateUnitTestRequestDynamicVariablesItem is bool.

func (UpdateUnitTestRequestDynamicVariablesItem) GetFloat64

GetFloat64 returns float64 and true boolean if UpdateUnitTestRequestDynamicVariablesItem is float64.

func (UpdateUnitTestRequestDynamicVariablesItem) GetInt

GetInt returns int and true boolean if UpdateUnitTestRequestDynamicVariablesItem is int.

func (UpdateUnitTestRequestDynamicVariablesItem) GetString

GetString returns string and true boolean if UpdateUnitTestRequestDynamicVariablesItem is string.

func (UpdateUnitTestRequestDynamicVariablesItem) IsBool

IsBool reports whether UpdateUnitTestRequestDynamicVariablesItem is bool.

func (UpdateUnitTestRequestDynamicVariablesItem) IsFloat64

IsFloat64 reports whether UpdateUnitTestRequestDynamicVariablesItem is float64.

func (UpdateUnitTestRequestDynamicVariablesItem) IsInt

IsInt reports whether UpdateUnitTestRequestDynamicVariablesItem is int.

func (UpdateUnitTestRequestDynamicVariablesItem) IsString

IsString reports whether UpdateUnitTestRequestDynamicVariablesItem is string.

func (UpdateUnitTestRequestDynamicVariablesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*UpdateUnitTestRequestDynamicVariablesItem) SetBool

SetBool sets UpdateUnitTestRequestDynamicVariablesItem to bool.

func (*UpdateUnitTestRequestDynamicVariablesItem) SetFloat64

SetFloat64 sets UpdateUnitTestRequestDynamicVariablesItem to float64.

func (*UpdateUnitTestRequestDynamicVariablesItem) SetInt

SetInt sets UpdateUnitTestRequestDynamicVariablesItem to int.

func (*UpdateUnitTestRequestDynamicVariablesItem) SetString

SetString sets UpdateUnitTestRequestDynamicVariablesItem to string.

func (*UpdateUnitTestRequestDynamicVariablesItem) UnmarshalJSON

func (s *UpdateUnitTestRequestDynamicVariablesItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (UpdateUnitTestRequestDynamicVariablesItem) Validate

type UpdateUnitTestRequestDynamicVariablesItemType

type UpdateUnitTestRequestDynamicVariablesItemType string

UpdateUnitTestRequestDynamicVariablesItemType is oneOf type of UpdateUnitTestRequestDynamicVariablesItem.

const (
	StringUpdateUnitTestRequestDynamicVariablesItem  UpdateUnitTestRequestDynamicVariablesItemType = "string"
	Float64UpdateUnitTestRequestDynamicVariablesItem UpdateUnitTestRequestDynamicVariablesItemType = "float64"
	IntUpdateUnitTestRequestDynamicVariablesItem     UpdateUnitTestRequestDynamicVariablesItemType = "int"
	BoolUpdateUnitTestRequestDynamicVariablesItem    UpdateUnitTestRequestDynamicVariablesItemType = "bool"
)

Possible values for UpdateUnitTestRequestDynamicVariablesItemType.

type UpdateWhatsAppAccountRequest

type UpdateWhatsAppAccountRequest struct {
	AssignedAgentID OptNilString `json:"assigned_agent_id"`
}

Ref: #/components/schemas/UpdateWhatsAppAccountRequest

func (*UpdateWhatsAppAccountRequest) Decode

Decode decodes UpdateWhatsAppAccountRequest from json.

func (*UpdateWhatsAppAccountRequest) Encode

func (s *UpdateWhatsAppAccountRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateWhatsAppAccountRequest) GetAssignedAgentID

func (s *UpdateWhatsAppAccountRequest) GetAssignedAgentID() OptNilString

GetAssignedAgentID returns the value of AssignedAgentID.

func (*UpdateWhatsAppAccountRequest) MarshalJSON

func (s *UpdateWhatsAppAccountRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateWhatsAppAccountRequest) SetAssignedAgentID

func (s *UpdateWhatsAppAccountRequest) SetAssignedAgentID(val OptNilString)

SetAssignedAgentID sets the value of AssignedAgentID.

func (*UpdateWhatsAppAccountRequest) UnmarshalJSON

func (s *UpdateWhatsAppAccountRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateWhatsappAccountOKApplicationJSON

type UpdateWhatsappAccountOKApplicationJSON jx.Raw

func (*UpdateWhatsappAccountOKApplicationJSON) Decode

Decode decodes UpdateWhatsappAccountOKApplicationJSON from json.

func (UpdateWhatsappAccountOKApplicationJSON) Encode

Encode encodes UpdateWhatsappAccountOKApplicationJSON as json.

func (UpdateWhatsappAccountOKApplicationJSON) MarshalJSON

func (s UpdateWhatsappAccountOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateWhatsappAccountOKApplicationJSON) UnmarshalJSON

func (s *UpdateWhatsappAccountOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateWhatsappAccountParams

type UpdateWhatsappAccountParams struct {
	PhoneNumberID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

UpdateWhatsappAccountParams is parameters of update_whatsapp_account operation.

type UpdateWhatsappAccountRes

type UpdateWhatsappAccountRes interface {
	// contains filtered or unexported methods
}

type UpdateWorkspaceMemberParams

type UpdateWorkspaceMemberParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

UpdateWorkspaceMemberParams is parameters of update_workspace_member operation.

type UpdateWorkspaceMemberRes

type UpdateWorkspaceMemberRes interface {
	// contains filtered or unexported methods
}

type UpdateWorkspaceMemberResponseModel

type UpdateWorkspaceMemberResponseModel struct {
	// The status of the workspace member update request. If the request was successful, the status will
	// be 'ok'. Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/UpdateWorkspaceMemberResponseModel

func (*UpdateWorkspaceMemberResponseModel) Decode

Decode decodes UpdateWorkspaceMemberResponseModel from json.

func (*UpdateWorkspaceMemberResponseModel) Encode

Encode implements json.Marshaler.

func (*UpdateWorkspaceMemberResponseModel) GetStatus

GetStatus returns the value of Status.

func (*UpdateWorkspaceMemberResponseModel) MarshalJSON

func (s *UpdateWorkspaceMemberResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateWorkspaceMemberResponseModel) SetStatus

func (s *UpdateWorkspaceMemberResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*UpdateWorkspaceMemberResponseModel) UnmarshalJSON

func (s *UpdateWorkspaceMemberResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UsageAggregationInterval

type UsageAggregationInterval string

The time interval over which to aggregate the usage data. Ref: #/components/schemas/UsageAggregationInterval

const (
	UsageAggregationIntervalHour       UsageAggregationInterval = "hour"
	UsageAggregationIntervalDay        UsageAggregationInterval = "day"
	UsageAggregationIntervalWeek       UsageAggregationInterval = "week"
	UsageAggregationIntervalMonth      UsageAggregationInterval = "month"
	UsageAggregationIntervalCumulative UsageAggregationInterval = "cumulative"
)

func (UsageAggregationInterval) AllValues

AllValues returns all UsageAggregationInterval values.

func (UsageAggregationInterval) MarshalText

func (s UsageAggregationInterval) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UsageAggregationInterval) UnmarshalText

func (s *UsageAggregationInterval) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UsageAggregationInterval) Validate

func (s UsageAggregationInterval) Validate() error

type UsageCharactersParams

type UsageCharactersParams struct {
	// UTC Unix timestamp for the start of the usage window, in milliseconds. To include the first day of
	// the window, the timestamp should be at 00:00:00 of that day.
	StartUnix int
	// UTC Unix timestamp for the end of the usage window, in milliseconds. To include the last day of
	// the window, the timestamp should be at 23:59:59 of that day.
	EndUnix int
	// Whether or not to include the statistics of the entire workspace.
	IncludeWorkspaceMetrics OptBool `json:",omitempty,omitzero"`
	// How to break down the information. Cannot be "user" if include_workspace_metrics is False.
	BreakdownType OptBreakdownTypes `json:",omitempty,omitzero"`
	// How to aggregate usage data over time. Can be "hour", "day", "week", "month", or "cumulative".
	AggregationInterval OptUsageAggregationInterval `json:",omitempty,omitzero"`
	// Aggregation bucket size in seconds. Overrides the aggregation interval.
	AggregationBucketSize OptNilInt `json:",omitempty,omitzero"`
	// Which metric to aggregate.
	Metric OptMetricType `json:",omitempty,omitzero"`
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

UsageCharactersParams is parameters of usage_characters operation.

type UsageCharactersRes

type UsageCharactersRes interface {
	// contains filtered or unexported methods
}

type UsageCharactersResponseModel

type UsageCharactersResponseModel struct {
	// The time axis with unix timestamps for each day.
	Time []int `json:"time"`
	// The usage of each breakdown type along the time axis.
	Usage UsageCharactersResponseModelUsage `json:"usage"`
}

Ref: #/components/schemas/UsageCharactersResponseModel

func (*UsageCharactersResponseModel) Decode

Decode decodes UsageCharactersResponseModel from json.

func (*UsageCharactersResponseModel) Encode

func (s *UsageCharactersResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UsageCharactersResponseModel) GetTime

func (s *UsageCharactersResponseModel) GetTime() []int

GetTime returns the value of Time.

func (*UsageCharactersResponseModel) GetUsage

GetUsage returns the value of Usage.

func (*UsageCharactersResponseModel) MarshalJSON

func (s *UsageCharactersResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UsageCharactersResponseModel) SetTime

func (s *UsageCharactersResponseModel) SetTime(val []int)

SetTime sets the value of Time.

func (*UsageCharactersResponseModel) SetUsage

SetUsage sets the value of Usage.

func (*UsageCharactersResponseModel) UnmarshalJSON

func (s *UsageCharactersResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UsageCharactersResponseModel) Validate

func (s *UsageCharactersResponseModel) Validate() error

type UsageCharactersResponseModelUsage

type UsageCharactersResponseModelUsage map[string][]float64

The usage of each breakdown type along the time axis.

func (*UsageCharactersResponseModelUsage) Decode

Decode decodes UsageCharactersResponseModelUsage from json.

func (UsageCharactersResponseModelUsage) Encode

Encode implements json.Marshaler.

func (UsageCharactersResponseModelUsage) MarshalJSON

func (s UsageCharactersResponseModelUsage) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UsageCharactersResponseModelUsage) UnmarshalJSON

func (s *UsageCharactersResponseModelUsage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (UsageCharactersResponseModelUsage) Validate

type UserFeedback

type UserFeedback struct {
	Score          UserFeedbackScore `json:"score"`
	TimeInCallSecs int               `json:"time_in_call_secs"`
}

Ref: #/components/schemas/UserFeedback

func (*UserFeedback) Decode

func (s *UserFeedback) Decode(d *jx.Decoder) error

Decode decodes UserFeedback from json.

func (*UserFeedback) Encode

func (s *UserFeedback) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserFeedback) GetScore

func (s *UserFeedback) GetScore() UserFeedbackScore

GetScore returns the value of Score.

func (*UserFeedback) GetTimeInCallSecs

func (s *UserFeedback) GetTimeInCallSecs() int

GetTimeInCallSecs returns the value of TimeInCallSecs.

func (*UserFeedback) MarshalJSON

func (s *UserFeedback) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserFeedback) SetScore

func (s *UserFeedback) SetScore(val UserFeedbackScore)

SetScore sets the value of Score.

func (*UserFeedback) SetTimeInCallSecs

func (s *UserFeedback) SetTimeInCallSecs(val int)

SetTimeInCallSecs sets the value of TimeInCallSecs.

func (*UserFeedback) UnmarshalJSON

func (s *UserFeedback) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserFeedback) Validate

func (s *UserFeedback) Validate() error

type UserFeedbackScore

type UserFeedbackScore string

Ref: #/components/schemas/UserFeedbackScore

const (
	UserFeedbackScoreLike    UserFeedbackScore = "like"
	UserFeedbackScoreDislike UserFeedbackScore = "dislike"
)

func (UserFeedbackScore) AllValues

func (UserFeedbackScore) AllValues() []UserFeedbackScore

AllValues returns all UserFeedbackScore values.

func (*UserFeedbackScore) Decode

func (s *UserFeedbackScore) Decode(d *jx.Decoder) error

Decode decodes UserFeedbackScore from json.

func (UserFeedbackScore) Encode

func (s UserFeedbackScore) Encode(e *jx.Encoder)

Encode encodes UserFeedbackScore as json.

func (UserFeedbackScore) MarshalJSON

func (s UserFeedbackScore) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (UserFeedbackScore) MarshalText

func (s UserFeedbackScore) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UserFeedbackScore) UnmarshalJSON

func (s *UserFeedbackScore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserFeedbackScore) UnmarshalText

func (s *UserFeedbackScore) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UserFeedbackScore) Validate

func (s UserFeedbackScore) Validate() error

type UserResponseModel

type UserResponseModel struct {
	// This field is deprecated and will be removed in a future major version. Instead use subscription.
	// trust_on_invoice_creation.
	//
	// Deprecated: schema marks this property as deprecated.
	CanUseDelayedPaymentMethods bool `json:"can_use_delayed_payment_methods"`
	// The unix timestamp of the user's creation. 0 if the user was created before the unix timestamp was
	// added.
	CreatedAt int `json:"created_at"`
	// First name of the user.
	FirstName OptNilString `json:"first_name"`
	// Whether the user's API key is hashed.
	IsAPIKeyHashed OptBool `json:"is_api_key_hashed"`
	// Whether the user is new. This field is deprecated and will be removed in the future. Use
	// 'created_at' instead.
	//
	// Deprecated: schema marks this property as deprecated.
	IsNewUser bool `json:"is_new_user"`
	// Whether the user's onboarding checklist is completed.
	IsOnboardingChecklistCompleted bool `json:"is_onboarding_checklist_completed"`
	// Whether the user's onboarding is completed.
	IsOnboardingCompleted bool `json:"is_onboarding_completed"`
	// The Partnerstack partner default link of the user.
	PartnerstackPartnerDefaultLink OptNilString `json:"partnerstack_partner_default_link"`
	// The referral link code of the user.
	ReferralLinkCode OptNilString `json:"referral_link_code"`
	// Details of the user's subscription.
	Subscription SubscriptionResponseModel `json:"subscription"`
	// The unique identifier of the user.
	UserID string `json:"user_id"`
	// The API key of the user.
	XiAPIKey OptNilString `json:"xi_api_key"`
	// The preview of the user's API key.
	XiAPIKeyPreview OptNilString `json:"xi_api_key_preview"`
}

Ref: #/components/schemas/UserResponseModel

func (*UserResponseModel) Decode

func (s *UserResponseModel) Decode(d *jx.Decoder) error

Decode decodes UserResponseModel from json.

func (*UserResponseModel) Encode

func (s *UserResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserResponseModel) GetCanUseDelayedPaymentMethods

func (s *UserResponseModel) GetCanUseDelayedPaymentMethods() bool

GetCanUseDelayedPaymentMethods returns the value of CanUseDelayedPaymentMethods.

func (*UserResponseModel) GetCreatedAt

func (s *UserResponseModel) GetCreatedAt() int

GetCreatedAt returns the value of CreatedAt.

func (*UserResponseModel) GetFirstName

func (s *UserResponseModel) GetFirstName() OptNilString

GetFirstName returns the value of FirstName.

func (*UserResponseModel) GetIsAPIKeyHashed

func (s *UserResponseModel) GetIsAPIKeyHashed() OptBool

GetIsAPIKeyHashed returns the value of IsAPIKeyHashed.

func (*UserResponseModel) GetIsNewUser

func (s *UserResponseModel) GetIsNewUser() bool

GetIsNewUser returns the value of IsNewUser.

func (*UserResponseModel) GetIsOnboardingChecklistCompleted

func (s *UserResponseModel) GetIsOnboardingChecklistCompleted() bool

GetIsOnboardingChecklistCompleted returns the value of IsOnboardingChecklistCompleted.

func (*UserResponseModel) GetIsOnboardingCompleted

func (s *UserResponseModel) GetIsOnboardingCompleted() bool

GetIsOnboardingCompleted returns the value of IsOnboardingCompleted.

func (s *UserResponseModel) GetPartnerstackPartnerDefaultLink() OptNilString

GetPartnerstackPartnerDefaultLink returns the value of PartnerstackPartnerDefaultLink.

func (*UserResponseModel) GetReferralLinkCode

func (s *UserResponseModel) GetReferralLinkCode() OptNilString

GetReferralLinkCode returns the value of ReferralLinkCode.

func (*UserResponseModel) GetSubscription

func (s *UserResponseModel) GetSubscription() SubscriptionResponseModel

GetSubscription returns the value of Subscription.

func (*UserResponseModel) GetUserID

func (s *UserResponseModel) GetUserID() string

GetUserID returns the value of UserID.

func (*UserResponseModel) GetXiAPIKey

func (s *UserResponseModel) GetXiAPIKey() OptNilString

GetXiAPIKey returns the value of XiAPIKey.

func (*UserResponseModel) GetXiAPIKeyPreview

func (s *UserResponseModel) GetXiAPIKeyPreview() OptNilString

GetXiAPIKeyPreview returns the value of XiAPIKeyPreview.

func (*UserResponseModel) MarshalJSON

func (s *UserResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserResponseModel) SetCanUseDelayedPaymentMethods

func (s *UserResponseModel) SetCanUseDelayedPaymentMethods(val bool)

SetCanUseDelayedPaymentMethods sets the value of CanUseDelayedPaymentMethods.

func (*UserResponseModel) SetCreatedAt

func (s *UserResponseModel) SetCreatedAt(val int)

SetCreatedAt sets the value of CreatedAt.

func (*UserResponseModel) SetFirstName

func (s *UserResponseModel) SetFirstName(val OptNilString)

SetFirstName sets the value of FirstName.

func (*UserResponseModel) SetIsAPIKeyHashed

func (s *UserResponseModel) SetIsAPIKeyHashed(val OptBool)

SetIsAPIKeyHashed sets the value of IsAPIKeyHashed.

func (*UserResponseModel) SetIsNewUser

func (s *UserResponseModel) SetIsNewUser(val bool)

SetIsNewUser sets the value of IsNewUser.

func (*UserResponseModel) SetIsOnboardingChecklistCompleted

func (s *UserResponseModel) SetIsOnboardingChecklistCompleted(val bool)

SetIsOnboardingChecklistCompleted sets the value of IsOnboardingChecklistCompleted.

func (*UserResponseModel) SetIsOnboardingCompleted

func (s *UserResponseModel) SetIsOnboardingCompleted(val bool)

SetIsOnboardingCompleted sets the value of IsOnboardingCompleted.

func (s *UserResponseModel) SetPartnerstackPartnerDefaultLink(val OptNilString)

SetPartnerstackPartnerDefaultLink sets the value of PartnerstackPartnerDefaultLink.

func (*UserResponseModel) SetReferralLinkCode

func (s *UserResponseModel) SetReferralLinkCode(val OptNilString)

SetReferralLinkCode sets the value of ReferralLinkCode.

func (*UserResponseModel) SetSubscription

func (s *UserResponseModel) SetSubscription(val SubscriptionResponseModel)

SetSubscription sets the value of Subscription.

func (*UserResponseModel) SetUserID

func (s *UserResponseModel) SetUserID(val string)

SetUserID sets the value of UserID.

func (*UserResponseModel) SetXiAPIKey

func (s *UserResponseModel) SetXiAPIKey(val OptNilString)

SetXiAPIKey sets the value of XiAPIKey.

func (*UserResponseModel) SetXiAPIKeyPreview

func (s *UserResponseModel) SetXiAPIKeyPreview(val OptNilString)

SetXiAPIKeyPreview sets the value of XiAPIKeyPreview.

func (*UserResponseModel) UnmarshalJSON

func (s *UserResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserResponseModel) Validate

func (s *UserResponseModel) Validate() error

type UtteranceResponseModel

type UtteranceResponseModel struct {
	// The end time of the utterance in seconds.
	End float64 `json:"end"`
	// The start time of the utterance in seconds.
	Start float64 `json:"start"`
}

Ref: #/components/schemas/UtteranceResponseModel

func (*UtteranceResponseModel) Decode

func (s *UtteranceResponseModel) Decode(d *jx.Decoder) error

Decode decodes UtteranceResponseModel from json.

func (*UtteranceResponseModel) Encode

func (s *UtteranceResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UtteranceResponseModel) GetEnd

func (s *UtteranceResponseModel) GetEnd() float64

GetEnd returns the value of End.

func (*UtteranceResponseModel) GetStart

func (s *UtteranceResponseModel) GetStart() float64

GetStart returns the value of Start.

func (*UtteranceResponseModel) MarshalJSON

func (s *UtteranceResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UtteranceResponseModel) SetEnd

func (s *UtteranceResponseModel) SetEnd(val float64)

SetEnd sets the value of End.

func (*UtteranceResponseModel) SetStart

func (s *UtteranceResponseModel) SetStart(val float64)

SetStart sets the value of Start.

func (*UtteranceResponseModel) UnmarshalJSON

func (s *UtteranceResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UtteranceResponseModel) Validate

func (s *UtteranceResponseModel) Validate() error

type ValidationError

type ValidationError struct {
	Loc  []ValidationErrorLocItem `json:"loc"`
	Msg  string                   `json:"msg"`
	Type string                   `json:"type"`
}

Ref: #/components/schemas/ValidationError

func (*ValidationError) Decode

func (s *ValidationError) Decode(d *jx.Decoder) error

Decode decodes ValidationError from json.

func (*ValidationError) Encode

func (s *ValidationError) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ValidationError) GetLoc

GetLoc returns the value of Loc.

func (*ValidationError) GetMsg

func (s *ValidationError) GetMsg() string

GetMsg returns the value of Msg.

func (*ValidationError) GetType

func (s *ValidationError) GetType() string

GetType returns the value of Type.

func (*ValidationError) MarshalJSON

func (s *ValidationError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ValidationError) SetLoc

func (s *ValidationError) SetLoc(val []ValidationErrorLocItem)

SetLoc sets the value of Loc.

func (*ValidationError) SetMsg

func (s *ValidationError) SetMsg(val string)

SetMsg sets the value of Msg.

func (*ValidationError) SetType

func (s *ValidationError) SetType(val string)

SetType sets the value of Type.

func (*ValidationError) UnmarshalJSON

func (s *ValidationError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ValidationError) Validate

func (s *ValidationError) Validate() error

type ValidationErrorLocItem

type ValidationErrorLocItem struct {
	Type   ValidationErrorLocItemType // switch on this field
	String string
	Int    int
}

ValidationErrorLocItem represents sum type.

func NewIntValidationErrorLocItem

func NewIntValidationErrorLocItem(v int) ValidationErrorLocItem

NewIntValidationErrorLocItem returns new ValidationErrorLocItem from int.

func NewStringValidationErrorLocItem

func NewStringValidationErrorLocItem(v string) ValidationErrorLocItem

NewStringValidationErrorLocItem returns new ValidationErrorLocItem from string.

func (*ValidationErrorLocItem) Decode

func (s *ValidationErrorLocItem) Decode(d *jx.Decoder) error

Decode decodes ValidationErrorLocItem from json.

func (ValidationErrorLocItem) Encode

func (s ValidationErrorLocItem) Encode(e *jx.Encoder)

Encode encodes ValidationErrorLocItem as json.

func (ValidationErrorLocItem) GetInt

func (s ValidationErrorLocItem) GetInt() (v int, ok bool)

GetInt returns int and true boolean if ValidationErrorLocItem is int.

func (ValidationErrorLocItem) GetString

func (s ValidationErrorLocItem) GetString() (v string, ok bool)

GetString returns string and true boolean if ValidationErrorLocItem is string.

func (ValidationErrorLocItem) IsInt

func (s ValidationErrorLocItem) IsInt() bool

IsInt reports whether ValidationErrorLocItem is int.

func (ValidationErrorLocItem) IsString

func (s ValidationErrorLocItem) IsString() bool

IsString reports whether ValidationErrorLocItem is string.

func (ValidationErrorLocItem) MarshalJSON

func (s ValidationErrorLocItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ValidationErrorLocItem) SetInt

func (s *ValidationErrorLocItem) SetInt(v int)

SetInt sets ValidationErrorLocItem to int.

func (*ValidationErrorLocItem) SetString

func (s *ValidationErrorLocItem) SetString(v string)

SetString sets ValidationErrorLocItem to string.

func (*ValidationErrorLocItem) UnmarshalJSON

func (s *ValidationErrorLocItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ValidationErrorLocItemType

type ValidationErrorLocItemType string

ValidationErrorLocItemType is oneOf type of ValidationErrorLocItem.

const (
	StringValidationErrorLocItem ValidationErrorLocItemType = "string"
	IntValidationErrorLocItem    ValidationErrorLocItemType = "int"
)

Possible values for ValidationErrorLocItemType.

type VerificationAttemptResponseModel

type VerificationAttemptResponseModel struct {
	// Whether the verification attempt was accepted.
	Accepted bool `json:"accepted"`
	// The date of the verification attempt in Unix time.
	DateUnix int `json:"date_unix"`
	// The Levenshtein distance of the verification attempt.
	LevenshteinDistance float64 `json:"levenshtein_distance"`
	// The recording of the verification attempt.
	Recording OptRecordingResponseModel `json:"recording"`
	// The similarity of the verification attempt.
	Similarity float64 `json:"similarity"`
	// The text of the verification attempt.
	Text string `json:"text"`
}

Ref: #/components/schemas/VerificationAttemptResponseModel

func (*VerificationAttemptResponseModel) Decode

Decode decodes VerificationAttemptResponseModel from json.

func (*VerificationAttemptResponseModel) Encode

Encode implements json.Marshaler.

func (*VerificationAttemptResponseModel) GetAccepted

func (s *VerificationAttemptResponseModel) GetAccepted() bool

GetAccepted returns the value of Accepted.

func (*VerificationAttemptResponseModel) GetDateUnix

func (s *VerificationAttemptResponseModel) GetDateUnix() int

GetDateUnix returns the value of DateUnix.

func (*VerificationAttemptResponseModel) GetLevenshteinDistance

func (s *VerificationAttemptResponseModel) GetLevenshteinDistance() float64

GetLevenshteinDistance returns the value of LevenshteinDistance.

func (*VerificationAttemptResponseModel) GetRecording

GetRecording returns the value of Recording.

func (*VerificationAttemptResponseModel) GetSimilarity

func (s *VerificationAttemptResponseModel) GetSimilarity() float64

GetSimilarity returns the value of Similarity.

func (*VerificationAttemptResponseModel) GetText

GetText returns the value of Text.

func (*VerificationAttemptResponseModel) MarshalJSON

func (s *VerificationAttemptResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VerificationAttemptResponseModel) SetAccepted

func (s *VerificationAttemptResponseModel) SetAccepted(val bool)

SetAccepted sets the value of Accepted.

func (*VerificationAttemptResponseModel) SetDateUnix

func (s *VerificationAttemptResponseModel) SetDateUnix(val int)

SetDateUnix sets the value of DateUnix.

func (*VerificationAttemptResponseModel) SetLevenshteinDistance

func (s *VerificationAttemptResponseModel) SetLevenshteinDistance(val float64)

SetLevenshteinDistance sets the value of LevenshteinDistance.

func (*VerificationAttemptResponseModel) SetRecording

SetRecording sets the value of Recording.

func (*VerificationAttemptResponseModel) SetSimilarity

func (s *VerificationAttemptResponseModel) SetSimilarity(val float64)

SetSimilarity sets the value of Similarity.

func (*VerificationAttemptResponseModel) SetText

func (s *VerificationAttemptResponseModel) SetText(val string)

SetText sets the value of Text.

func (*VerificationAttemptResponseModel) UnmarshalJSON

func (s *VerificationAttemptResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VerificationAttemptResponseModel) Validate

type VerifiedVoiceLanguageResponseModel

type VerifiedVoiceLanguageResponseModel struct {
	// The voice's accent, if applicable.
	Accent OptNilString `json:"accent"`
	// The language of the voice.
	Language string `json:"language"`
	// The voice's locale, if applicable.
	Locale OptNilString `json:"locale"`
	// The voice's model ID.
	ModelID string `json:"model_id"`
	// The voice's preview URL, if applicable.
	PreviewURL OptNilString `json:"preview_url"`
}

Ref: #/components/schemas/VerifiedVoiceLanguageResponseModel

func (*VerifiedVoiceLanguageResponseModel) Decode

Decode decodes VerifiedVoiceLanguageResponseModel from json.

func (*VerifiedVoiceLanguageResponseModel) Encode

Encode implements json.Marshaler.

func (*VerifiedVoiceLanguageResponseModel) GetAccent

GetAccent returns the value of Accent.

func (*VerifiedVoiceLanguageResponseModel) GetLanguage

func (s *VerifiedVoiceLanguageResponseModel) GetLanguage() string

GetLanguage returns the value of Language.

func (*VerifiedVoiceLanguageResponseModel) GetLocale

GetLocale returns the value of Locale.

func (*VerifiedVoiceLanguageResponseModel) GetModelID

GetModelID returns the value of ModelID.

func (*VerifiedVoiceLanguageResponseModel) GetPreviewURL

GetPreviewURL returns the value of PreviewURL.

func (*VerifiedVoiceLanguageResponseModel) MarshalJSON

func (s *VerifiedVoiceLanguageResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VerifiedVoiceLanguageResponseModel) SetAccent

SetAccent sets the value of Accent.

func (*VerifiedVoiceLanguageResponseModel) SetLanguage

func (s *VerifiedVoiceLanguageResponseModel) SetLanguage(val string)

SetLanguage sets the value of Language.

func (*VerifiedVoiceLanguageResponseModel) SetLocale

SetLocale sets the value of Locale.

func (*VerifiedVoiceLanguageResponseModel) SetModelID

func (s *VerifiedVoiceLanguageResponseModel) SetModelID(val string)

SetModelID sets the value of ModelID.

func (*VerifiedVoiceLanguageResponseModel) SetPreviewURL

func (s *VerifiedVoiceLanguageResponseModel) SetPreviewURL(val OptNilString)

SetPreviewURL sets the value of PreviewURL.

func (*VerifiedVoiceLanguageResponseModel) UnmarshalJSON

func (s *VerifiedVoiceLanguageResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type VerifyPVCVoiceCaptchaResponseModel

type VerifyPVCVoiceCaptchaResponseModel struct {
	// The status of the verify PVC captcha request. If the request was successful, the status will be
	// 'ok'. Otherwise an error message with status 500 will be returned.
	Status string `json:"status"`
}

Ref: #/components/schemas/VerifyPVCVoiceCaptchaResponseModel

func (*VerifyPVCVoiceCaptchaResponseModel) Decode

Decode decodes VerifyPVCVoiceCaptchaResponseModel from json.

func (*VerifyPVCVoiceCaptchaResponseModel) Encode

Encode implements json.Marshaler.

func (*VerifyPVCVoiceCaptchaResponseModel) GetStatus

GetStatus returns the value of Status.

func (*VerifyPVCVoiceCaptchaResponseModel) MarshalJSON

func (s *VerifyPVCVoiceCaptchaResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VerifyPVCVoiceCaptchaResponseModel) SetStatus

func (s *VerifyPVCVoiceCaptchaResponseModel) SetStatus(val string)

SetStatus sets the value of Status.

func (*VerifyPVCVoiceCaptchaResponseModel) UnmarshalJSON

func (s *VerifyPVCVoiceCaptchaResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type VerifyPvcVoiceCaptchaParams

type VerifyPvcVoiceCaptchaParams struct {
	// Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available
	// voices.
	VoiceID string
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

VerifyPvcVoiceCaptchaParams is parameters of verify_pvc_voice_captcha operation.

type VerifyPvcVoiceCaptchaRes

type VerifyPvcVoiceCaptchaRes interface {
	// contains filtered or unexported methods
}

type VoiceDesignRequestModel

type VoiceDesignRequestModel struct {
	// Whether to automatically generate a text suitable for the voice description.
	AutoGenerateText OptBool `json:"auto_generate_text"`
	// Controls how closely the AI follows the prompt. Lower numbers give the AI more freedom to be
	// creative, while higher numbers force it to stick more to the prompt. High numbers can cause voice
	// to sound artificial or robotic. We recommend to use longer, more detailed prompts at lower
	// Guidance Scale.
	GuidanceScale OptFloat64 `json:"guidance_scale"`
	// Controls the volume level of the generated voice. -1 is quietest, 1 is loudest, 0 corresponds to
	// roughly -24 LUFS.
	Loudness OptFloat64 `json:"loudness"`
	// Model to use for the voice generation. Possible values: eleven_multilingual_ttv_v2, eleven_ttv_v3.
	ModelID OptVoiceDesignRequestModelModelID `json:"model_id"`
	// Controls the balance of prompt versus reference audio when generating voice samples. 0 means
	// almost no prompt influence, 1 means almost no reference audio influence. Only supported when using
	// the eleven_ttv_v3 model and providing reference audio.
	PromptStrength OptNilFloat64 `json:"prompt_strength"`
	// Higher quality results in better voice output but less variety.
	Quality OptNilFloat64 `json:"quality"`
	// Reference audio to use for the voice generation. The audio should be base64 encoded. Only
	// supported when using the  eleven_ttv_v3 model.
	ReferenceAudioBase64 OptNilString `json:"reference_audio_base64"`
	// The remixing session id.
	RemixingSessionID OptNilString `json:"remixing_session_id"`
	// The id of the remixing session iteration where these generations should be attached to. If not
	// provided, a new iteration will be created.
	RemixingSessionIterationID OptNilString `json:"remixing_session_iteration_id"`
	// Random number that controls the voice generation. Same seed with same inputs produces same voice.
	Seed OptNilInt `json:"seed"`
	// Whether to enhance the voice description using AI to add more detail and improve voice generation
	// quality. When enabled, the system will automatically expand simple prompts into more detailed
	// voice descriptions. Defaults to False.
	ShouldEnhance OptBool `json:"should_enhance"`
	// Determines whether the Text to Voice previews should be included in the response. If true, only
	// the generated IDs will be returned which can then be streamed via the
	// /v1/text-to-voice/:generated_voice_id/stream endpoint.
	StreamPreviews OptBool `json:"stream_previews"`
	// Text to generate, text length has to be between 100 and 1000.
	Text OptNilString `json:"text"`
	// Description to use for the created voice.
	VoiceDescription string `json:"voice_description"`
}

Ref: #/components/schemas/VoiceDesignRequestModel

func (*VoiceDesignRequestModel) Decode

func (s *VoiceDesignRequestModel) Decode(d *jx.Decoder) error

Decode decodes VoiceDesignRequestModel from json.

func (*VoiceDesignRequestModel) Encode

func (s *VoiceDesignRequestModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VoiceDesignRequestModel) GetAutoGenerateText

func (s *VoiceDesignRequestModel) GetAutoGenerateText() OptBool

GetAutoGenerateText returns the value of AutoGenerateText.

func (*VoiceDesignRequestModel) GetGuidanceScale

func (s *VoiceDesignRequestModel) GetGuidanceScale() OptFloat64

GetGuidanceScale returns the value of GuidanceScale.

func (*VoiceDesignRequestModel) GetLoudness

func (s *VoiceDesignRequestModel) GetLoudness() OptFloat64

GetLoudness returns the value of Loudness.

func (*VoiceDesignRequestModel) GetModelID

GetModelID returns the value of ModelID.

func (*VoiceDesignRequestModel) GetPromptStrength

func (s *VoiceDesignRequestModel) GetPromptStrength() OptNilFloat64

GetPromptStrength returns the value of PromptStrength.

func (*VoiceDesignRequestModel) GetQuality

func (s *VoiceDesignRequestModel) GetQuality() OptNilFloat64

GetQuality returns the value of Quality.

func (*VoiceDesignRequestModel) GetReferenceAudioBase64

func (s *VoiceDesignRequestModel) GetReferenceAudioBase64() OptNilString

GetReferenceAudioBase64 returns the value of ReferenceAudioBase64.

func (*VoiceDesignRequestModel) GetRemixingSessionID

func (s *VoiceDesignRequestModel) GetRemixingSessionID() OptNilString

GetRemixingSessionID returns the value of RemixingSessionID.

func (*VoiceDesignRequestModel) GetRemixingSessionIterationID

func (s *VoiceDesignRequestModel) GetRemixingSessionIterationID() OptNilString

GetRemixingSessionIterationID returns the value of RemixingSessionIterationID.

func (*VoiceDesignRequestModel) GetSeed

func (s *VoiceDesignRequestModel) GetSeed() OptNilInt

GetSeed returns the value of Seed.

func (*VoiceDesignRequestModel) GetShouldEnhance

func (s *VoiceDesignRequestModel) GetShouldEnhance() OptBool

GetShouldEnhance returns the value of ShouldEnhance.

func (*VoiceDesignRequestModel) GetStreamPreviews

func (s *VoiceDesignRequestModel) GetStreamPreviews() OptBool

GetStreamPreviews returns the value of StreamPreviews.

func (*VoiceDesignRequestModel) GetText

GetText returns the value of Text.

func (*VoiceDesignRequestModel) GetVoiceDescription

func (s *VoiceDesignRequestModel) GetVoiceDescription() string

GetVoiceDescription returns the value of VoiceDescription.

func (*VoiceDesignRequestModel) MarshalJSON

func (s *VoiceDesignRequestModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoiceDesignRequestModel) SetAutoGenerateText

func (s *VoiceDesignRequestModel) SetAutoGenerateText(val OptBool)

SetAutoGenerateText sets the value of AutoGenerateText.

func (*VoiceDesignRequestModel) SetGuidanceScale

func (s *VoiceDesignRequestModel) SetGuidanceScale(val OptFloat64)

SetGuidanceScale sets the value of GuidanceScale.

func (*VoiceDesignRequestModel) SetLoudness

func (s *VoiceDesignRequestModel) SetLoudness(val OptFloat64)

SetLoudness sets the value of Loudness.

func (*VoiceDesignRequestModel) SetModelID

SetModelID sets the value of ModelID.

func (*VoiceDesignRequestModel) SetPromptStrength

func (s *VoiceDesignRequestModel) SetPromptStrength(val OptNilFloat64)

SetPromptStrength sets the value of PromptStrength.

func (*VoiceDesignRequestModel) SetQuality

func (s *VoiceDesignRequestModel) SetQuality(val OptNilFloat64)

SetQuality sets the value of Quality.

func (*VoiceDesignRequestModel) SetReferenceAudioBase64

func (s *VoiceDesignRequestModel) SetReferenceAudioBase64(val OptNilString)

SetReferenceAudioBase64 sets the value of ReferenceAudioBase64.

func (*VoiceDesignRequestModel) SetRemixingSessionID

func (s *VoiceDesignRequestModel) SetRemixingSessionID(val OptNilString)

SetRemixingSessionID sets the value of RemixingSessionID.

func (*VoiceDesignRequestModel) SetRemixingSessionIterationID

func (s *VoiceDesignRequestModel) SetRemixingSessionIterationID(val OptNilString)

SetRemixingSessionIterationID sets the value of RemixingSessionIterationID.

func (*VoiceDesignRequestModel) SetSeed

func (s *VoiceDesignRequestModel) SetSeed(val OptNilInt)

SetSeed sets the value of Seed.

func (*VoiceDesignRequestModel) SetShouldEnhance

func (s *VoiceDesignRequestModel) SetShouldEnhance(val OptBool)

SetShouldEnhance sets the value of ShouldEnhance.

func (*VoiceDesignRequestModel) SetStreamPreviews

func (s *VoiceDesignRequestModel) SetStreamPreviews(val OptBool)

SetStreamPreviews sets the value of StreamPreviews.

func (*VoiceDesignRequestModel) SetText

func (s *VoiceDesignRequestModel) SetText(val OptNilString)

SetText sets the value of Text.

func (*VoiceDesignRequestModel) SetVoiceDescription

func (s *VoiceDesignRequestModel) SetVoiceDescription(val string)

SetVoiceDescription sets the value of VoiceDescription.

func (*VoiceDesignRequestModel) UnmarshalJSON

func (s *VoiceDesignRequestModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceDesignRequestModel) Validate

func (s *VoiceDesignRequestModel) Validate() error

type VoiceDesignRequestModelModelID

type VoiceDesignRequestModelModelID string

Model to use for the voice generation. Possible values: eleven_multilingual_ttv_v2, eleven_ttv_v3.

const (
	VoiceDesignRequestModelModelIDElevenMultilingualTtvV2 VoiceDesignRequestModelModelID = "eleven_multilingual_ttv_v2"
	VoiceDesignRequestModelModelIDElevenTtvV3             VoiceDesignRequestModelModelID = "eleven_ttv_v3"
)

func (VoiceDesignRequestModelModelID) AllValues

AllValues returns all VoiceDesignRequestModelModelID values.

func (*VoiceDesignRequestModelModelID) Decode

Decode decodes VoiceDesignRequestModelModelID from json.

func (VoiceDesignRequestModelModelID) Encode

Encode encodes VoiceDesignRequestModelModelID as json.

func (VoiceDesignRequestModelModelID) MarshalJSON

func (s VoiceDesignRequestModelModelID) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (VoiceDesignRequestModelModelID) MarshalText

func (s VoiceDesignRequestModelModelID) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*VoiceDesignRequestModelModelID) UnmarshalJSON

func (s *VoiceDesignRequestModelModelID) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceDesignRequestModelModelID) UnmarshalText

func (s *VoiceDesignRequestModelModelID) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (VoiceDesignRequestModelModelID) Validate

type VoiceGenerationParameterOptionResponseModel

type VoiceGenerationParameterOptionResponseModel struct {
	Code string `json:"code"`
	Name string `json:"name"`
}

Ref: #/components/schemas/VoiceGenerationParameterOptionResponseModel

func (*VoiceGenerationParameterOptionResponseModel) Decode

Decode decodes VoiceGenerationParameterOptionResponseModel from json.

func (*VoiceGenerationParameterOptionResponseModel) Encode

Encode implements json.Marshaler.

func (*VoiceGenerationParameterOptionResponseModel) GetCode

GetCode returns the value of Code.

func (*VoiceGenerationParameterOptionResponseModel) GetName

GetName returns the value of Name.

func (*VoiceGenerationParameterOptionResponseModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*VoiceGenerationParameterOptionResponseModel) SetCode

SetCode sets the value of Code.

func (*VoiceGenerationParameterOptionResponseModel) SetName

SetName sets the value of Name.

func (*VoiceGenerationParameterOptionResponseModel) UnmarshalJSON

func (s *VoiceGenerationParameterOptionResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type VoiceGenerationParameterResponseModel

type VoiceGenerationParameterResponseModel struct {
	Accents               []VoiceGenerationParameterOptionResponseModel `json:"accents"`
	Ages                  []VoiceGenerationParameterOptionResponseModel `json:"ages"`
	Genders               []VoiceGenerationParameterOptionResponseModel `json:"genders"`
	MaximumAccentStrength float64                                       `json:"maximum_accent_strength"`
	MaximumCharacters     int                                           `json:"maximum_characters"`
	MinimumAccentStrength float64                                       `json:"minimum_accent_strength"`
	MinimumCharacters     int                                           `json:"minimum_characters"`
}

Ref: #/components/schemas/VoiceGenerationParameterResponseModel

func (*VoiceGenerationParameterResponseModel) Decode

Decode decodes VoiceGenerationParameterResponseModel from json.

func (*VoiceGenerationParameterResponseModel) Encode

Encode implements json.Marshaler.

func (*VoiceGenerationParameterResponseModel) GetAccents

GetAccents returns the value of Accents.

func (*VoiceGenerationParameterResponseModel) GetAges

GetAges returns the value of Ages.

func (*VoiceGenerationParameterResponseModel) GetGenders

GetGenders returns the value of Genders.

func (*VoiceGenerationParameterResponseModel) GetMaximumAccentStrength

func (s *VoiceGenerationParameterResponseModel) GetMaximumAccentStrength() float64

GetMaximumAccentStrength returns the value of MaximumAccentStrength.

func (*VoiceGenerationParameterResponseModel) GetMaximumCharacters

func (s *VoiceGenerationParameterResponseModel) GetMaximumCharacters() int

GetMaximumCharacters returns the value of MaximumCharacters.

func (*VoiceGenerationParameterResponseModel) GetMinimumAccentStrength

func (s *VoiceGenerationParameterResponseModel) GetMinimumAccentStrength() float64

GetMinimumAccentStrength returns the value of MinimumAccentStrength.

func (*VoiceGenerationParameterResponseModel) GetMinimumCharacters

func (s *VoiceGenerationParameterResponseModel) GetMinimumCharacters() int

GetMinimumCharacters returns the value of MinimumCharacters.

func (*VoiceGenerationParameterResponseModel) MarshalJSON

func (s *VoiceGenerationParameterResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoiceGenerationParameterResponseModel) SetAccents

SetAccents sets the value of Accents.

func (*VoiceGenerationParameterResponseModel) SetAges

SetAges sets the value of Ages.

func (*VoiceGenerationParameterResponseModel) SetGenders

SetGenders sets the value of Genders.

func (*VoiceGenerationParameterResponseModel) SetMaximumAccentStrength

func (s *VoiceGenerationParameterResponseModel) SetMaximumAccentStrength(val float64)

SetMaximumAccentStrength sets the value of MaximumAccentStrength.

func (*VoiceGenerationParameterResponseModel) SetMaximumCharacters

func (s *VoiceGenerationParameterResponseModel) SetMaximumCharacters(val int)

SetMaximumCharacters sets the value of MaximumCharacters.

func (*VoiceGenerationParameterResponseModel) SetMinimumAccentStrength

func (s *VoiceGenerationParameterResponseModel) SetMinimumAccentStrength(val float64)

SetMinimumAccentStrength sets the value of MinimumAccentStrength.

func (*VoiceGenerationParameterResponseModel) SetMinimumCharacters

func (s *VoiceGenerationParameterResponseModel) SetMinimumCharacters(val int)

SetMinimumCharacters sets the value of MinimumCharacters.

func (*VoiceGenerationParameterResponseModel) UnmarshalJSON

func (s *VoiceGenerationParameterResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceGenerationParameterResponseModel) Validate

type VoiceMailDetectionResultSuccessModel

type VoiceMailDetectionResultSuccessModel struct {
	Reason           OptNilString                                      `json:"reason"`
	ResultType       OptVoiceMailDetectionResultSuccessModelResultType `json:"result_type"`
	Status           OptVoiceMailDetectionResultSuccessModelStatus     `json:"status"`
	VoicemailMessage OptNilString                                      `json:"voicemail_message"`
}

Ref: #/components/schemas/VoiceMailDetectionResultSuccessModel

func (*VoiceMailDetectionResultSuccessModel) Decode

Decode decodes VoiceMailDetectionResultSuccessModel from json.

func (*VoiceMailDetectionResultSuccessModel) Encode

Encode implements json.Marshaler.

func (*VoiceMailDetectionResultSuccessModel) GetReason

GetReason returns the value of Reason.

func (*VoiceMailDetectionResultSuccessModel) GetResultType

GetResultType returns the value of ResultType.

func (*VoiceMailDetectionResultSuccessModel) GetStatus

GetStatus returns the value of Status.

func (*VoiceMailDetectionResultSuccessModel) GetVoicemailMessage

func (s *VoiceMailDetectionResultSuccessModel) GetVoicemailMessage() OptNilString

GetVoicemailMessage returns the value of VoicemailMessage.

func (*VoiceMailDetectionResultSuccessModel) MarshalJSON

func (s *VoiceMailDetectionResultSuccessModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoiceMailDetectionResultSuccessModel) SetReason

SetReason sets the value of Reason.

func (*VoiceMailDetectionResultSuccessModel) SetResultType

SetResultType sets the value of ResultType.

func (*VoiceMailDetectionResultSuccessModel) SetStatus

SetStatus sets the value of Status.

func (*VoiceMailDetectionResultSuccessModel) SetVoicemailMessage

func (s *VoiceMailDetectionResultSuccessModel) SetVoicemailMessage(val OptNilString)

SetVoicemailMessage sets the value of VoicemailMessage.

func (*VoiceMailDetectionResultSuccessModel) UnmarshalJSON

func (s *VoiceMailDetectionResultSuccessModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceMailDetectionResultSuccessModel) Validate

type VoiceMailDetectionResultSuccessModelResultType

type VoiceMailDetectionResultSuccessModelResultType string
const (
	VoiceMailDetectionResultSuccessModelResultTypeVoicemailDetectionSuccess VoiceMailDetectionResultSuccessModelResultType = "voicemail_detection_success"
)

func (VoiceMailDetectionResultSuccessModelResultType) AllValues

AllValues returns all VoiceMailDetectionResultSuccessModelResultType values.

func (*VoiceMailDetectionResultSuccessModelResultType) Decode

Decode decodes VoiceMailDetectionResultSuccessModelResultType from json.

func (VoiceMailDetectionResultSuccessModelResultType) Encode

Encode encodes VoiceMailDetectionResultSuccessModelResultType as json.

func (VoiceMailDetectionResultSuccessModelResultType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (VoiceMailDetectionResultSuccessModelResultType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*VoiceMailDetectionResultSuccessModelResultType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceMailDetectionResultSuccessModelResultType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (VoiceMailDetectionResultSuccessModelResultType) Validate

type VoiceMailDetectionResultSuccessModelStatus

type VoiceMailDetectionResultSuccessModelStatus string
const (
	VoiceMailDetectionResultSuccessModelStatusSuccess VoiceMailDetectionResultSuccessModelStatus = "success"
)

func (VoiceMailDetectionResultSuccessModelStatus) AllValues

AllValues returns all VoiceMailDetectionResultSuccessModelStatus values.

func (*VoiceMailDetectionResultSuccessModelStatus) Decode

Decode decodes VoiceMailDetectionResultSuccessModelStatus from json.

func (VoiceMailDetectionResultSuccessModelStatus) Encode

Encode encodes VoiceMailDetectionResultSuccessModelStatus as json.

func (VoiceMailDetectionResultSuccessModelStatus) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (VoiceMailDetectionResultSuccessModelStatus) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*VoiceMailDetectionResultSuccessModelStatus) UnmarshalJSON

func (s *VoiceMailDetectionResultSuccessModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceMailDetectionResultSuccessModelStatus) UnmarshalText

func (s *VoiceMailDetectionResultSuccessModelStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (VoiceMailDetectionResultSuccessModelStatus) Validate

type VoicePreviewResponseModel

type VoicePreviewResponseModel struct {
	// The base64 encoded audio of the preview.
	AudioBase64 string `json:"audio_base_64"`
	// The duration of the preview in seconds.
	DurationSecs float64 `json:"duration_secs"`
	// The ID of the generated voice. Use it to create a voice from the preview.
	GeneratedVoiceID string `json:"generated_voice_id"`
	// The language of the preview.
	Language NilString `json:"language"`
	// The media type of the preview.
	MediaType string `json:"media_type"`
}

Ref: #/components/schemas/VoicePreviewResponseModel

func (*VoicePreviewResponseModel) Decode

func (s *VoicePreviewResponseModel) Decode(d *jx.Decoder) error

Decode decodes VoicePreviewResponseModel from json.

func (*VoicePreviewResponseModel) Encode

func (s *VoicePreviewResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VoicePreviewResponseModel) GetAudioBase64

func (s *VoicePreviewResponseModel) GetAudioBase64() string

GetAudioBase64 returns the value of AudioBase64.

func (*VoicePreviewResponseModel) GetDurationSecs

func (s *VoicePreviewResponseModel) GetDurationSecs() float64

GetDurationSecs returns the value of DurationSecs.

func (*VoicePreviewResponseModel) GetGeneratedVoiceID

func (s *VoicePreviewResponseModel) GetGeneratedVoiceID() string

GetGeneratedVoiceID returns the value of GeneratedVoiceID.

func (*VoicePreviewResponseModel) GetLanguage

func (s *VoicePreviewResponseModel) GetLanguage() NilString

GetLanguage returns the value of Language.

func (*VoicePreviewResponseModel) GetMediaType

func (s *VoicePreviewResponseModel) GetMediaType() string

GetMediaType returns the value of MediaType.

func (*VoicePreviewResponseModel) MarshalJSON

func (s *VoicePreviewResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoicePreviewResponseModel) SetAudioBase64

func (s *VoicePreviewResponseModel) SetAudioBase64(val string)

SetAudioBase64 sets the value of AudioBase64.

func (*VoicePreviewResponseModel) SetDurationSecs

func (s *VoicePreviewResponseModel) SetDurationSecs(val float64)

SetDurationSecs sets the value of DurationSecs.

func (*VoicePreviewResponseModel) SetGeneratedVoiceID

func (s *VoicePreviewResponseModel) SetGeneratedVoiceID(val string)

SetGeneratedVoiceID sets the value of GeneratedVoiceID.

func (*VoicePreviewResponseModel) SetLanguage

func (s *VoicePreviewResponseModel) SetLanguage(val NilString)

SetLanguage sets the value of Language.

func (*VoicePreviewResponseModel) SetMediaType

func (s *VoicePreviewResponseModel) SetMediaType(val string)

SetMediaType sets the value of MediaType.

func (*VoicePreviewResponseModel) UnmarshalJSON

func (s *VoicePreviewResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoicePreviewResponseModel) Validate

func (s *VoicePreviewResponseModel) Validate() error

type VoicePreviewsRequestModel

type VoicePreviewsRequestModel struct {
	// Whether to automatically generate a text suitable for the voice description.
	AutoGenerateText OptBool `json:"auto_generate_text"`
	// Controls how closely the AI follows the prompt. Lower numbers give the AI more freedom to be
	// creative, while higher numbers force it to stick more to the prompt. High numbers can cause voice
	// to sound artificial or robotic. We recommend to use longer, more detailed prompts at lower
	// Guidance Scale.
	GuidanceScale OptFloat64 `json:"guidance_scale"`
	// Controls the volume level of the generated voice. -1 is quietest, 1 is loudest, 0 corresponds to
	// roughly -24 LUFS.
	Loudness OptFloat64 `json:"loudness"`
	// Higher quality results in better voice output but less variety.
	Quality OptFloat64 `json:"quality"`
	// Random number that controls the voice generation. Same seed with same inputs produces same voice.
	Seed OptNilInt `json:"seed"`
	// Whether to enhance the voice description using AI to add more detail and improve voice generation
	// quality. When enabled, the system will automatically expand simple prompts into more detailed
	// voice descriptions. Defaults to False.
	ShouldEnhance OptBool `json:"should_enhance"`
	// Text to generate, text length has to be between 100 and 1000.
	Text OptNilString `json:"text"`
	// Description to use for the created voice.
	VoiceDescription string `json:"voice_description"`
}

Ref: #/components/schemas/VoicePreviewsRequestModel

func (*VoicePreviewsRequestModel) Decode

func (s *VoicePreviewsRequestModel) Decode(d *jx.Decoder) error

Decode decodes VoicePreviewsRequestModel from json.

func (*VoicePreviewsRequestModel) Encode

func (s *VoicePreviewsRequestModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VoicePreviewsRequestModel) GetAutoGenerateText

func (s *VoicePreviewsRequestModel) GetAutoGenerateText() OptBool

GetAutoGenerateText returns the value of AutoGenerateText.

func (*VoicePreviewsRequestModel) GetGuidanceScale

func (s *VoicePreviewsRequestModel) GetGuidanceScale() OptFloat64

GetGuidanceScale returns the value of GuidanceScale.

func (*VoicePreviewsRequestModel) GetLoudness

func (s *VoicePreviewsRequestModel) GetLoudness() OptFloat64

GetLoudness returns the value of Loudness.

func (*VoicePreviewsRequestModel) GetQuality

func (s *VoicePreviewsRequestModel) GetQuality() OptFloat64

GetQuality returns the value of Quality.

func (*VoicePreviewsRequestModel) GetSeed

func (s *VoicePreviewsRequestModel) GetSeed() OptNilInt

GetSeed returns the value of Seed.

func (*VoicePreviewsRequestModel) GetShouldEnhance

func (s *VoicePreviewsRequestModel) GetShouldEnhance() OptBool

GetShouldEnhance returns the value of ShouldEnhance.

func (*VoicePreviewsRequestModel) GetText

GetText returns the value of Text.

func (*VoicePreviewsRequestModel) GetVoiceDescription

func (s *VoicePreviewsRequestModel) GetVoiceDescription() string

GetVoiceDescription returns the value of VoiceDescription.

func (*VoicePreviewsRequestModel) MarshalJSON

func (s *VoicePreviewsRequestModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoicePreviewsRequestModel) SetAutoGenerateText

func (s *VoicePreviewsRequestModel) SetAutoGenerateText(val OptBool)

SetAutoGenerateText sets the value of AutoGenerateText.

func (*VoicePreviewsRequestModel) SetGuidanceScale

func (s *VoicePreviewsRequestModel) SetGuidanceScale(val OptFloat64)

SetGuidanceScale sets the value of GuidanceScale.

func (*VoicePreviewsRequestModel) SetLoudness

func (s *VoicePreviewsRequestModel) SetLoudness(val OptFloat64)

SetLoudness sets the value of Loudness.

func (*VoicePreviewsRequestModel) SetQuality

func (s *VoicePreviewsRequestModel) SetQuality(val OptFloat64)

SetQuality sets the value of Quality.

func (*VoicePreviewsRequestModel) SetSeed

func (s *VoicePreviewsRequestModel) SetSeed(val OptNilInt)

SetSeed sets the value of Seed.

func (*VoicePreviewsRequestModel) SetShouldEnhance

func (s *VoicePreviewsRequestModel) SetShouldEnhance(val OptBool)

SetShouldEnhance sets the value of ShouldEnhance.

func (*VoicePreviewsRequestModel) SetText

func (s *VoicePreviewsRequestModel) SetText(val OptNilString)

SetText sets the value of Text.

func (*VoicePreviewsRequestModel) SetVoiceDescription

func (s *VoicePreviewsRequestModel) SetVoiceDescription(val string)

SetVoiceDescription sets the value of VoiceDescription.

func (*VoicePreviewsRequestModel) UnmarshalJSON

func (s *VoicePreviewsRequestModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoicePreviewsRequestModel) Validate

func (s *VoicePreviewsRequestModel) Validate() error

type VoicePreviewsResponseModel

type VoicePreviewsResponseModel struct {
	// The previews of the generated voices.
	Previews []VoicePreviewResponseModel `json:"previews"`
	// The text used to preview the voices.
	Text string `json:"text"`
}

Ref: #/components/schemas/VoicePreviewsResponseModel

func (*VoicePreviewsResponseModel) Decode

Decode decodes VoicePreviewsResponseModel from json.

func (*VoicePreviewsResponseModel) Encode

func (s *VoicePreviewsResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VoicePreviewsResponseModel) GetPreviews

GetPreviews returns the value of Previews.

func (*VoicePreviewsResponseModel) GetText

func (s *VoicePreviewsResponseModel) GetText() string

GetText returns the value of Text.

func (*VoicePreviewsResponseModel) MarshalJSON

func (s *VoicePreviewsResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoicePreviewsResponseModel) SetPreviews

SetPreviews sets the value of Previews.

func (*VoicePreviewsResponseModel) SetText

func (s *VoicePreviewsResponseModel) SetText(val string)

SetText sets the value of Text.

func (*VoicePreviewsResponseModel) UnmarshalJSON

func (s *VoicePreviewsResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoicePreviewsResponseModel) Validate

func (s *VoicePreviewsResponseModel) Validate() error

type VoiceRemixRequestModel

type VoiceRemixRequestModel struct {
	// Whether to automatically generate a text suitable for the voice description.
	AutoGenerateText OptBool `json:"auto_generate_text"`
	// Controls how closely the AI follows the prompt. Lower numbers give the AI more freedom to be
	// creative, while higher numbers force it to stick more to the prompt. High numbers can cause voice
	// to sound artificial or robotic. We recommend to use longer, more detailed prompts at lower
	// Guidance Scale.
	GuidanceScale OptFloat64 `json:"guidance_scale"`
	// Controls the volume level of the generated voice. -1 is quietest, 1 is loudest, 0 corresponds to
	// roughly -24 LUFS.
	Loudness OptFloat64 `json:"loudness"`
	// Controls the balance of prompt versus reference audio when generating voice samples. 0 means
	// almost no prompt influence, 1 means almost no reference audio influence. Only supported when using
	// the eleven_ttv_v3 model and providing reference audio.
	PromptStrength OptNilFloat64 `json:"prompt_strength"`
	// The remixing session id.
	RemixingSessionID OptNilString `json:"remixing_session_id"`
	// The id of the remixing session iteration where these generations should be attached to. If not
	// provided, a new iteration will be created.
	RemixingSessionIterationID OptNilString `json:"remixing_session_iteration_id"`
	// Random number that controls the voice generation. Same seed with same inputs produces same voice.
	Seed OptNilInt `json:"seed"`
	// Determines whether the Text to Voice previews should be included in the response. If true, only
	// the generated IDs will be returned which can then be streamed via the
	// /v1/text-to-voice/:generated_voice_id/stream endpoint.
	StreamPreviews OptBool `json:"stream_previews"`
	// Text to generate, text length has to be between 100 and 1000.
	Text OptNilString `json:"text"`
	// Description of the changes to make to the voice.
	VoiceDescription string `json:"voice_description"`
}

Ref: #/components/schemas/VoiceRemixRequestModel

func (*VoiceRemixRequestModel) Decode

func (s *VoiceRemixRequestModel) Decode(d *jx.Decoder) error

Decode decodes VoiceRemixRequestModel from json.

func (*VoiceRemixRequestModel) Encode

func (s *VoiceRemixRequestModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VoiceRemixRequestModel) GetAutoGenerateText

func (s *VoiceRemixRequestModel) GetAutoGenerateText() OptBool

GetAutoGenerateText returns the value of AutoGenerateText.

func (*VoiceRemixRequestModel) GetGuidanceScale

func (s *VoiceRemixRequestModel) GetGuidanceScale() OptFloat64

GetGuidanceScale returns the value of GuidanceScale.

func (*VoiceRemixRequestModel) GetLoudness

func (s *VoiceRemixRequestModel) GetLoudness() OptFloat64

GetLoudness returns the value of Loudness.

func (*VoiceRemixRequestModel) GetPromptStrength

func (s *VoiceRemixRequestModel) GetPromptStrength() OptNilFloat64

GetPromptStrength returns the value of PromptStrength.

func (*VoiceRemixRequestModel) GetRemixingSessionID

func (s *VoiceRemixRequestModel) GetRemixingSessionID() OptNilString

GetRemixingSessionID returns the value of RemixingSessionID.

func (*VoiceRemixRequestModel) GetRemixingSessionIterationID

func (s *VoiceRemixRequestModel) GetRemixingSessionIterationID() OptNilString

GetRemixingSessionIterationID returns the value of RemixingSessionIterationID.

func (*VoiceRemixRequestModel) GetSeed

func (s *VoiceRemixRequestModel) GetSeed() OptNilInt

GetSeed returns the value of Seed.

func (*VoiceRemixRequestModel) GetStreamPreviews

func (s *VoiceRemixRequestModel) GetStreamPreviews() OptBool

GetStreamPreviews returns the value of StreamPreviews.

func (*VoiceRemixRequestModel) GetText

func (s *VoiceRemixRequestModel) GetText() OptNilString

GetText returns the value of Text.

func (*VoiceRemixRequestModel) GetVoiceDescription

func (s *VoiceRemixRequestModel) GetVoiceDescription() string

GetVoiceDescription returns the value of VoiceDescription.

func (*VoiceRemixRequestModel) MarshalJSON

func (s *VoiceRemixRequestModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoiceRemixRequestModel) SetAutoGenerateText

func (s *VoiceRemixRequestModel) SetAutoGenerateText(val OptBool)

SetAutoGenerateText sets the value of AutoGenerateText.

func (*VoiceRemixRequestModel) SetGuidanceScale

func (s *VoiceRemixRequestModel) SetGuidanceScale(val OptFloat64)

SetGuidanceScale sets the value of GuidanceScale.

func (*VoiceRemixRequestModel) SetLoudness

func (s *VoiceRemixRequestModel) SetLoudness(val OptFloat64)

SetLoudness sets the value of Loudness.

func (*VoiceRemixRequestModel) SetPromptStrength

func (s *VoiceRemixRequestModel) SetPromptStrength(val OptNilFloat64)

SetPromptStrength sets the value of PromptStrength.

func (*VoiceRemixRequestModel) SetRemixingSessionID

func (s *VoiceRemixRequestModel) SetRemixingSessionID(val OptNilString)

SetRemixingSessionID sets the value of RemixingSessionID.

func (*VoiceRemixRequestModel) SetRemixingSessionIterationID

func (s *VoiceRemixRequestModel) SetRemixingSessionIterationID(val OptNilString)

SetRemixingSessionIterationID sets the value of RemixingSessionIterationID.

func (*VoiceRemixRequestModel) SetSeed

func (s *VoiceRemixRequestModel) SetSeed(val OptNilInt)

SetSeed sets the value of Seed.

func (*VoiceRemixRequestModel) SetStreamPreviews

func (s *VoiceRemixRequestModel) SetStreamPreviews(val OptBool)

SetStreamPreviews sets the value of StreamPreviews.

func (*VoiceRemixRequestModel) SetText

func (s *VoiceRemixRequestModel) SetText(val OptNilString)

SetText sets the value of Text.

func (*VoiceRemixRequestModel) SetVoiceDescription

func (s *VoiceRemixRequestModel) SetVoiceDescription(val string)

SetVoiceDescription sets the value of VoiceDescription.

func (*VoiceRemixRequestModel) UnmarshalJSON

func (s *VoiceRemixRequestModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceRemixRequestModel) Validate

func (s *VoiceRemixRequestModel) Validate() error

type VoiceResponseModel

type VoiceResponseModel struct {
	// The tiers the voice is available for.
	AvailableForTiers []string `json:"available_for_tiers"`
	// The category of the voice.
	Category VoiceResponseModelCategory `json:"category"`
	// The creation time of the voice in Unix time.
	CreatedAtUnix OptNilInt `json:"created_at_unix"`
	// The description of the voice.
	Description OptNilString `json:"description"`
	// Timestamp when the voice was marked as favorite in Unix time.
	FavoritedAtUnix OptNilInt `json:"favorited_at_unix"`
	// Fine-tuning information for the voice.
	FineTuning OptFineTuningResponseModel `json:"fine_tuning"`
	// The base model IDs for high-quality voices.
	HighQualityBaseModelIds []string `json:"high_quality_base_model_ids"`
	// Whether the voice is legacy.
	IsLegacy OptBool `json:"is_legacy"`
	// Whether the voice is mixed.
	IsMixed OptBool `json:"is_mixed"`
	// Whether the voice is owned by the user.
	IsOwner OptNilBool `json:"is_owner"`
	// Labels associated with the voice.
	Labels VoiceResponseModelLabels `json:"labels"`
	// The name of the voice.
	Name string `json:"name"`
	// The permission on the resource of the voice.
	PermissionOnResource OptNilString `json:"permission_on_resource"`
	// The preview URL of the voice.
	PreviewURL OptNilString `json:"preview_url"`
	// The safety controls of the voice.
	SafetyControl OptNilVoiceResponseModelSafetyControl `json:"safety_control"`
	// List of samples associated with the voice.
	Samples OptNilSampleResponseModelArray `json:"samples"`
	// The settings of the voice.
	Settings OptVoiceSettingsResponseModel `json:"settings"`
	// The sharing information of the voice.
	Sharing OptVoiceSharingResponseModel `json:"sharing"`
	// The verified languages of the voice.
	VerifiedLanguages OptNilVerifiedVoiceLanguageResponseModelArray `json:"verified_languages"`
	// The ID of the voice.
	VoiceID string `json:"voice_id"`
	// The voice verification of the voice.
	VoiceVerification OptVoiceVerificationResponseModel `json:"voice_verification"`
}

Ref: #/components/schemas/VoiceResponseModel

func (*VoiceResponseModel) Decode

func (s *VoiceResponseModel) Decode(d *jx.Decoder) error

Decode decodes VoiceResponseModel from json.

func (*VoiceResponseModel) Encode

func (s *VoiceResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VoiceResponseModel) GetAvailableForTiers

func (s *VoiceResponseModel) GetAvailableForTiers() []string

GetAvailableForTiers returns the value of AvailableForTiers.

func (*VoiceResponseModel) GetCategory

GetCategory returns the value of Category.

func (*VoiceResponseModel) GetCreatedAtUnix

func (s *VoiceResponseModel) GetCreatedAtUnix() OptNilInt

GetCreatedAtUnix returns the value of CreatedAtUnix.

func (*VoiceResponseModel) GetDescription

func (s *VoiceResponseModel) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*VoiceResponseModel) GetFavoritedAtUnix

func (s *VoiceResponseModel) GetFavoritedAtUnix() OptNilInt

GetFavoritedAtUnix returns the value of FavoritedAtUnix.

func (*VoiceResponseModel) GetFineTuning

GetFineTuning returns the value of FineTuning.

func (*VoiceResponseModel) GetHighQualityBaseModelIds

func (s *VoiceResponseModel) GetHighQualityBaseModelIds() []string

GetHighQualityBaseModelIds returns the value of HighQualityBaseModelIds.

func (*VoiceResponseModel) GetIsLegacy

func (s *VoiceResponseModel) GetIsLegacy() OptBool

GetIsLegacy returns the value of IsLegacy.

func (*VoiceResponseModel) GetIsMixed

func (s *VoiceResponseModel) GetIsMixed() OptBool

GetIsMixed returns the value of IsMixed.

func (*VoiceResponseModel) GetIsOwner

func (s *VoiceResponseModel) GetIsOwner() OptNilBool

GetIsOwner returns the value of IsOwner.

func (*VoiceResponseModel) GetLabels

GetLabels returns the value of Labels.

func (*VoiceResponseModel) GetName

func (s *VoiceResponseModel) GetName() string

GetName returns the value of Name.

func (*VoiceResponseModel) GetPermissionOnResource

func (s *VoiceResponseModel) GetPermissionOnResource() OptNilString

GetPermissionOnResource returns the value of PermissionOnResource.

func (*VoiceResponseModel) GetPreviewURL

func (s *VoiceResponseModel) GetPreviewURL() OptNilString

GetPreviewURL returns the value of PreviewURL.

func (*VoiceResponseModel) GetSafetyControl

GetSafetyControl returns the value of SafetyControl.

func (*VoiceResponseModel) GetSamples

GetSamples returns the value of Samples.

func (*VoiceResponseModel) GetSettings

GetSettings returns the value of Settings.

func (*VoiceResponseModel) GetSharing

GetSharing returns the value of Sharing.

func (*VoiceResponseModel) GetVerifiedLanguages

GetVerifiedLanguages returns the value of VerifiedLanguages.

func (*VoiceResponseModel) GetVoiceID

func (s *VoiceResponseModel) GetVoiceID() string

GetVoiceID returns the value of VoiceID.

func (*VoiceResponseModel) GetVoiceVerification

func (s *VoiceResponseModel) GetVoiceVerification() OptVoiceVerificationResponseModel

GetVoiceVerification returns the value of VoiceVerification.

func (*VoiceResponseModel) MarshalJSON

func (s *VoiceResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoiceResponseModel) SetAvailableForTiers

func (s *VoiceResponseModel) SetAvailableForTiers(val []string)

SetAvailableForTiers sets the value of AvailableForTiers.

func (*VoiceResponseModel) SetCategory

func (s *VoiceResponseModel) SetCategory(val VoiceResponseModelCategory)

SetCategory sets the value of Category.

func (*VoiceResponseModel) SetCreatedAtUnix

func (s *VoiceResponseModel) SetCreatedAtUnix(val OptNilInt)

SetCreatedAtUnix sets the value of CreatedAtUnix.

func (*VoiceResponseModel) SetDescription

func (s *VoiceResponseModel) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*VoiceResponseModel) SetFavoritedAtUnix

func (s *VoiceResponseModel) SetFavoritedAtUnix(val OptNilInt)

SetFavoritedAtUnix sets the value of FavoritedAtUnix.

func (*VoiceResponseModel) SetFineTuning

func (s *VoiceResponseModel) SetFineTuning(val OptFineTuningResponseModel)

SetFineTuning sets the value of FineTuning.

func (*VoiceResponseModel) SetHighQualityBaseModelIds

func (s *VoiceResponseModel) SetHighQualityBaseModelIds(val []string)

SetHighQualityBaseModelIds sets the value of HighQualityBaseModelIds.

func (*VoiceResponseModel) SetIsLegacy

func (s *VoiceResponseModel) SetIsLegacy(val OptBool)

SetIsLegacy sets the value of IsLegacy.

func (*VoiceResponseModel) SetIsMixed

func (s *VoiceResponseModel) SetIsMixed(val OptBool)

SetIsMixed sets the value of IsMixed.

func (*VoiceResponseModel) SetIsOwner

func (s *VoiceResponseModel) SetIsOwner(val OptNilBool)

SetIsOwner sets the value of IsOwner.

func (*VoiceResponseModel) SetLabels

func (s *VoiceResponseModel) SetLabels(val VoiceResponseModelLabels)

SetLabels sets the value of Labels.

func (*VoiceResponseModel) SetName

func (s *VoiceResponseModel) SetName(val string)

SetName sets the value of Name.

func (*VoiceResponseModel) SetPermissionOnResource

func (s *VoiceResponseModel) SetPermissionOnResource(val OptNilString)

SetPermissionOnResource sets the value of PermissionOnResource.

func (*VoiceResponseModel) SetPreviewURL

func (s *VoiceResponseModel) SetPreviewURL(val OptNilString)

SetPreviewURL sets the value of PreviewURL.

func (*VoiceResponseModel) SetSafetyControl

SetSafetyControl sets the value of SafetyControl.

func (*VoiceResponseModel) SetSamples

SetSamples sets the value of Samples.

func (*VoiceResponseModel) SetSettings

SetSettings sets the value of Settings.

func (*VoiceResponseModel) SetSharing

SetSharing sets the value of Sharing.

func (*VoiceResponseModel) SetVerifiedLanguages

SetVerifiedLanguages sets the value of VerifiedLanguages.

func (*VoiceResponseModel) SetVoiceID

func (s *VoiceResponseModel) SetVoiceID(val string)

SetVoiceID sets the value of VoiceID.

func (*VoiceResponseModel) SetVoiceVerification

func (s *VoiceResponseModel) SetVoiceVerification(val OptVoiceVerificationResponseModel)

SetVoiceVerification sets the value of VoiceVerification.

func (*VoiceResponseModel) UnmarshalJSON

func (s *VoiceResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceResponseModel) Validate

func (s *VoiceResponseModel) Validate() error

type VoiceResponseModelCategory

type VoiceResponseModelCategory string

The category of the voice.

const (
	VoiceResponseModelCategoryGenerated    VoiceResponseModelCategory = "generated"
	VoiceResponseModelCategoryCloned       VoiceResponseModelCategory = "cloned"
	VoiceResponseModelCategoryPremade      VoiceResponseModelCategory = "premade"
	VoiceResponseModelCategoryProfessional VoiceResponseModelCategory = "professional"
	VoiceResponseModelCategoryFamous       VoiceResponseModelCategory = "famous"
	VoiceResponseModelCategoryHighQuality  VoiceResponseModelCategory = "high_quality"
)

func (VoiceResponseModelCategory) AllValues

AllValues returns all VoiceResponseModelCategory values.

func (*VoiceResponseModelCategory) Decode

Decode decodes VoiceResponseModelCategory from json.

func (VoiceResponseModelCategory) Encode

func (s VoiceResponseModelCategory) Encode(e *jx.Encoder)

Encode encodes VoiceResponseModelCategory as json.

func (VoiceResponseModelCategory) MarshalJSON

func (s VoiceResponseModelCategory) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (VoiceResponseModelCategory) MarshalText

func (s VoiceResponseModelCategory) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*VoiceResponseModelCategory) UnmarshalJSON

func (s *VoiceResponseModelCategory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceResponseModelCategory) UnmarshalText

func (s *VoiceResponseModelCategory) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (VoiceResponseModelCategory) Validate

func (s VoiceResponseModelCategory) Validate() error

type VoiceResponseModelLabels

type VoiceResponseModelLabels map[string]string

Labels associated with the voice.

func (*VoiceResponseModelLabels) Decode

func (s *VoiceResponseModelLabels) Decode(d *jx.Decoder) error

Decode decodes VoiceResponseModelLabels from json.

func (VoiceResponseModelLabels) Encode

func (s VoiceResponseModelLabels) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (VoiceResponseModelLabels) MarshalJSON

func (s VoiceResponseModelLabels) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoiceResponseModelLabels) UnmarshalJSON

func (s *VoiceResponseModelLabels) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type VoiceResponseModelSafetyControl

type VoiceResponseModelSafetyControl string

The safety controls of the voice.

const (
	VoiceResponseModelSafetyControlNONE              VoiceResponseModelSafetyControl = "NONE"
	VoiceResponseModelSafetyControlBAN               VoiceResponseModelSafetyControl = "BAN"
	VoiceResponseModelSafetyControlCAPTCHA           VoiceResponseModelSafetyControl = "CAPTCHA"
	VoiceResponseModelSafetyControlENTERPRISEBAN     VoiceResponseModelSafetyControl = "ENTERPRISE_BAN"
	VoiceResponseModelSafetyControlENTERPRISECAPTCHA VoiceResponseModelSafetyControl = "ENTERPRISE_CAPTCHA"
)

func (VoiceResponseModelSafetyControl) AllValues

AllValues returns all VoiceResponseModelSafetyControl values.

func (*VoiceResponseModelSafetyControl) Decode

Decode decodes VoiceResponseModelSafetyControl from json.

func (VoiceResponseModelSafetyControl) Encode

Encode encodes VoiceResponseModelSafetyControl as json.

func (VoiceResponseModelSafetyControl) MarshalJSON

func (s VoiceResponseModelSafetyControl) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (VoiceResponseModelSafetyControl) MarshalText

func (s VoiceResponseModelSafetyControl) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*VoiceResponseModelSafetyControl) UnmarshalJSON

func (s *VoiceResponseModelSafetyControl) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceResponseModelSafetyControl) UnmarshalText

func (s *VoiceResponseModelSafetyControl) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (VoiceResponseModelSafetyControl) Validate

type VoiceSamplePreviewResponseModel

type VoiceSamplePreviewResponseModel struct {
	// The base64 encoded audio.
	AudioBase64 string `json:"audio_base_64"`
	// The duration of the audio in seconds.
	DurationSecs OptNilFloat64 `json:"duration_secs"`
	// The media type of the audio.
	MediaType string `json:"media_type"`
	// The ID of the sample.
	SampleID string `json:"sample_id"`
	// The ID of the voice.
	VoiceID string `json:"voice_id"`
}

Ref: #/components/schemas/VoiceSamplePreviewResponseModel

func (*VoiceSamplePreviewResponseModel) Decode

Decode decodes VoiceSamplePreviewResponseModel from json.

func (*VoiceSamplePreviewResponseModel) Encode

Encode implements json.Marshaler.

func (*VoiceSamplePreviewResponseModel) GetAudioBase64

func (s *VoiceSamplePreviewResponseModel) GetAudioBase64() string

GetAudioBase64 returns the value of AudioBase64.

func (*VoiceSamplePreviewResponseModel) GetDurationSecs

func (s *VoiceSamplePreviewResponseModel) GetDurationSecs() OptNilFloat64

GetDurationSecs returns the value of DurationSecs.

func (*VoiceSamplePreviewResponseModel) GetMediaType

func (s *VoiceSamplePreviewResponseModel) GetMediaType() string

GetMediaType returns the value of MediaType.

func (*VoiceSamplePreviewResponseModel) GetSampleID

func (s *VoiceSamplePreviewResponseModel) GetSampleID() string

GetSampleID returns the value of SampleID.

func (*VoiceSamplePreviewResponseModel) GetVoiceID

func (s *VoiceSamplePreviewResponseModel) GetVoiceID() string

GetVoiceID returns the value of VoiceID.

func (*VoiceSamplePreviewResponseModel) MarshalJSON

func (s *VoiceSamplePreviewResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoiceSamplePreviewResponseModel) SetAudioBase64

func (s *VoiceSamplePreviewResponseModel) SetAudioBase64(val string)

SetAudioBase64 sets the value of AudioBase64.

func (*VoiceSamplePreviewResponseModel) SetDurationSecs

func (s *VoiceSamplePreviewResponseModel) SetDurationSecs(val OptNilFloat64)

SetDurationSecs sets the value of DurationSecs.

func (*VoiceSamplePreviewResponseModel) SetMediaType

func (s *VoiceSamplePreviewResponseModel) SetMediaType(val string)

SetMediaType sets the value of MediaType.

func (*VoiceSamplePreviewResponseModel) SetSampleID

func (s *VoiceSamplePreviewResponseModel) SetSampleID(val string)

SetSampleID sets the value of SampleID.

func (*VoiceSamplePreviewResponseModel) SetVoiceID

func (s *VoiceSamplePreviewResponseModel) SetVoiceID(val string)

SetVoiceID sets the value of VoiceID.

func (*VoiceSamplePreviewResponseModel) UnmarshalJSON

func (s *VoiceSamplePreviewResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceSamplePreviewResponseModel) Validate

func (s *VoiceSamplePreviewResponseModel) Validate() error

type VoiceSampleVisualWaveformResponseModel

type VoiceSampleVisualWaveformResponseModel struct {
	// The ID of the sample.
	SampleID string `json:"sample_id"`
	// The visual waveform of the sample, represented as a list of floats.
	VisualWaveform []float64 `json:"visual_waveform"`
}

Ref: #/components/schemas/VoiceSampleVisualWaveformResponseModel

func (*VoiceSampleVisualWaveformResponseModel) Decode

Decode decodes VoiceSampleVisualWaveformResponseModel from json.

func (*VoiceSampleVisualWaveformResponseModel) Encode

Encode implements json.Marshaler.

func (*VoiceSampleVisualWaveformResponseModel) GetSampleID

GetSampleID returns the value of SampleID.

func (*VoiceSampleVisualWaveformResponseModel) GetVisualWaveform

func (s *VoiceSampleVisualWaveformResponseModel) GetVisualWaveform() []float64

GetVisualWaveform returns the value of VisualWaveform.

func (*VoiceSampleVisualWaveformResponseModel) MarshalJSON

func (s *VoiceSampleVisualWaveformResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoiceSampleVisualWaveformResponseModel) SetSampleID

func (s *VoiceSampleVisualWaveformResponseModel) SetSampleID(val string)

SetSampleID sets the value of SampleID.

func (*VoiceSampleVisualWaveformResponseModel) SetVisualWaveform

func (s *VoiceSampleVisualWaveformResponseModel) SetVisualWaveform(val []float64)

SetVisualWaveform sets the value of VisualWaveform.

func (*VoiceSampleVisualWaveformResponseModel) UnmarshalJSON

func (s *VoiceSampleVisualWaveformResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceSampleVisualWaveformResponseModel) Validate

type VoiceSegment

type VoiceSegment struct {
	// End index in the characters array (exclusive).
	CharacterEndIndex int `json:"character_end_index"`
	// Start index in the characters array.
	CharacterStartIndex int `json:"character_start_index"`
	// Line of the dialogue (script) that this segment is a part of.
	DialogueInputIndex int `json:"dialogue_input_index"`
	// End time of this voice segment.
	EndTimeSeconds float64 `json:"end_time_seconds"`
	// Start time of this voice segment.
	StartTimeSeconds float64 `json:"start_time_seconds"`
	// The voice ID used for this segment.
	VoiceID string `json:"voice_id"`
}

Ref: #/components/schemas/VoiceSegment

func (*VoiceSegment) Decode

func (s *VoiceSegment) Decode(d *jx.Decoder) error

Decode decodes VoiceSegment from json.

func (*VoiceSegment) Encode

func (s *VoiceSegment) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VoiceSegment) GetCharacterEndIndex

func (s *VoiceSegment) GetCharacterEndIndex() int

GetCharacterEndIndex returns the value of CharacterEndIndex.

func (*VoiceSegment) GetCharacterStartIndex

func (s *VoiceSegment) GetCharacterStartIndex() int

GetCharacterStartIndex returns the value of CharacterStartIndex.

func (*VoiceSegment) GetDialogueInputIndex

func (s *VoiceSegment) GetDialogueInputIndex() int

GetDialogueInputIndex returns the value of DialogueInputIndex.

func (*VoiceSegment) GetEndTimeSeconds

func (s *VoiceSegment) GetEndTimeSeconds() float64

GetEndTimeSeconds returns the value of EndTimeSeconds.

func (*VoiceSegment) GetStartTimeSeconds

func (s *VoiceSegment) GetStartTimeSeconds() float64

GetStartTimeSeconds returns the value of StartTimeSeconds.

func (*VoiceSegment) GetVoiceID

func (s *VoiceSegment) GetVoiceID() string

GetVoiceID returns the value of VoiceID.

func (*VoiceSegment) MarshalJSON

func (s *VoiceSegment) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoiceSegment) SetCharacterEndIndex

func (s *VoiceSegment) SetCharacterEndIndex(val int)

SetCharacterEndIndex sets the value of CharacterEndIndex.

func (*VoiceSegment) SetCharacterStartIndex

func (s *VoiceSegment) SetCharacterStartIndex(val int)

SetCharacterStartIndex sets the value of CharacterStartIndex.

func (*VoiceSegment) SetDialogueInputIndex

func (s *VoiceSegment) SetDialogueInputIndex(val int)

SetDialogueInputIndex sets the value of DialogueInputIndex.

func (*VoiceSegment) SetEndTimeSeconds

func (s *VoiceSegment) SetEndTimeSeconds(val float64)

SetEndTimeSeconds sets the value of EndTimeSeconds.

func (*VoiceSegment) SetStartTimeSeconds

func (s *VoiceSegment) SetStartTimeSeconds(val float64)

SetStartTimeSeconds sets the value of StartTimeSeconds.

func (*VoiceSegment) SetVoiceID

func (s *VoiceSegment) SetVoiceID(val string)

SetVoiceID sets the value of VoiceID.

func (*VoiceSegment) UnmarshalJSON

func (s *VoiceSegment) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceSegment) Validate

func (s *VoiceSegment) Validate() error

type VoiceSettingsResponseModel

type VoiceSettingsResponseModel struct {
	// Determines how closely the AI should adhere to the original voice when attempting to replicate it.
	SimilarityBoost OptNilFloat64 `json:"similarity_boost"`
	// Adjusts the speed of the voice. A value of 1.0 is the default speed, while values less than 1.0
	// slow down the speech, and values greater than 1.0 speed it up.
	Speed OptNilFloat64 `json:"speed"`
	// Determines how stable the voice is and the randomness between each generation. Lower values
	// introduce broader emotional range for the voice. Higher values can result in a monotonous voice
	// with limited emotion.
	Stability OptNilFloat64 `json:"stability"`
	// Determines the style exaggeration of the voice. This setting attempts to amplify the style of the
	// original speaker. It does consume additional computational resources and might increase latency if
	// set to anything other than 0.
	Style OptNilFloat64 `json:"style"`
	// This setting boosts the similarity to the original speaker. Using this setting requires a slightly
	// higher computational load, which in turn increases latency.
	UseSpeakerBoost OptNilBool `json:"use_speaker_boost"`
}

Ref: #/components/schemas/VoiceSettingsResponseModel

func (*VoiceSettingsResponseModel) Decode

Decode decodes VoiceSettingsResponseModel from json.

func (*VoiceSettingsResponseModel) Encode

func (s *VoiceSettingsResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VoiceSettingsResponseModel) GetSimilarityBoost

func (s *VoiceSettingsResponseModel) GetSimilarityBoost() OptNilFloat64

GetSimilarityBoost returns the value of SimilarityBoost.

func (*VoiceSettingsResponseModel) GetSpeed

GetSpeed returns the value of Speed.

func (*VoiceSettingsResponseModel) GetStability

func (s *VoiceSettingsResponseModel) GetStability() OptNilFloat64

GetStability returns the value of Stability.

func (*VoiceSettingsResponseModel) GetStyle

GetStyle returns the value of Style.

func (*VoiceSettingsResponseModel) GetUseSpeakerBoost

func (s *VoiceSettingsResponseModel) GetUseSpeakerBoost() OptNilBool

GetUseSpeakerBoost returns the value of UseSpeakerBoost.

func (*VoiceSettingsResponseModel) MarshalJSON

func (s *VoiceSettingsResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoiceSettingsResponseModel) SetSimilarityBoost

func (s *VoiceSettingsResponseModel) SetSimilarityBoost(val OptNilFloat64)

SetSimilarityBoost sets the value of SimilarityBoost.

func (*VoiceSettingsResponseModel) SetSpeed

func (s *VoiceSettingsResponseModel) SetSpeed(val OptNilFloat64)

SetSpeed sets the value of Speed.

func (*VoiceSettingsResponseModel) SetStability

func (s *VoiceSettingsResponseModel) SetStability(val OptNilFloat64)

SetStability sets the value of Stability.

func (*VoiceSettingsResponseModel) SetStyle

func (s *VoiceSettingsResponseModel) SetStyle(val OptNilFloat64)

SetStyle sets the value of Style.

func (*VoiceSettingsResponseModel) SetUseSpeakerBoost

func (s *VoiceSettingsResponseModel) SetUseSpeakerBoost(val OptNilBool)

SetUseSpeakerBoost sets the value of UseSpeakerBoost.

func (*VoiceSettingsResponseModel) UnmarshalJSON

func (s *VoiceSettingsResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceSettingsResponseModel) Validate

func (s *VoiceSettingsResponseModel) Validate() error

type VoiceSharingModerationCheckResponseModel

type VoiceSharingModerationCheckResponseModel struct {
	// A list of CAPTCHA check values.
	CaptchaChecks OptNilFloat64Array `json:"captcha_checks"`
	// A list of captcha IDs.
	CaptchaIds OptNilStringArray `json:"captcha_ids"`
	// The date the moderation check was made in Unix time.
	DateCheckedUnix OptNilInt `json:"date_checked_unix"`
	// Whether the description check was successful.
	DescriptionCheck OptNilBool `json:"description_check"`
	// The description value of the voice.
	DescriptionValue OptNilString `json:"description_value"`
	// Whether the name check was successful.
	NameCheck OptNilBool `json:"name_check"`
	// The name value of the voice.
	NameValue OptNilString `json:"name_value"`
	// A list of sample checks.
	SampleChecks OptNilFloat64Array `json:"sample_checks"`
	// A list of sample IDs.
	SampleIds OptNilStringArray `json:"sample_ids"`
}

Ref: #/components/schemas/VoiceSharingModerationCheckResponseModel

func (*VoiceSharingModerationCheckResponseModel) Decode

Decode decodes VoiceSharingModerationCheckResponseModel from json.

func (*VoiceSharingModerationCheckResponseModel) Encode

Encode implements json.Marshaler.

func (*VoiceSharingModerationCheckResponseModel) GetCaptchaChecks

GetCaptchaChecks returns the value of CaptchaChecks.

func (*VoiceSharingModerationCheckResponseModel) GetCaptchaIds

GetCaptchaIds returns the value of CaptchaIds.

func (*VoiceSharingModerationCheckResponseModel) GetDateCheckedUnix

func (s *VoiceSharingModerationCheckResponseModel) GetDateCheckedUnix() OptNilInt

GetDateCheckedUnix returns the value of DateCheckedUnix.

func (*VoiceSharingModerationCheckResponseModel) GetDescriptionCheck

func (s *VoiceSharingModerationCheckResponseModel) GetDescriptionCheck() OptNilBool

GetDescriptionCheck returns the value of DescriptionCheck.

func (*VoiceSharingModerationCheckResponseModel) GetDescriptionValue

func (s *VoiceSharingModerationCheckResponseModel) GetDescriptionValue() OptNilString

GetDescriptionValue returns the value of DescriptionValue.

func (*VoiceSharingModerationCheckResponseModel) GetNameCheck

GetNameCheck returns the value of NameCheck.

func (*VoiceSharingModerationCheckResponseModel) GetNameValue

GetNameValue returns the value of NameValue.

func (*VoiceSharingModerationCheckResponseModel) GetSampleChecks

GetSampleChecks returns the value of SampleChecks.

func (*VoiceSharingModerationCheckResponseModel) GetSampleIds

GetSampleIds returns the value of SampleIds.

func (*VoiceSharingModerationCheckResponseModel) MarshalJSON

func (s *VoiceSharingModerationCheckResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoiceSharingModerationCheckResponseModel) SetCaptchaChecks

SetCaptchaChecks sets the value of CaptchaChecks.

func (*VoiceSharingModerationCheckResponseModel) SetCaptchaIds

SetCaptchaIds sets the value of CaptchaIds.

func (*VoiceSharingModerationCheckResponseModel) SetDateCheckedUnix

func (s *VoiceSharingModerationCheckResponseModel) SetDateCheckedUnix(val OptNilInt)

SetDateCheckedUnix sets the value of DateCheckedUnix.

func (*VoiceSharingModerationCheckResponseModel) SetDescriptionCheck

func (s *VoiceSharingModerationCheckResponseModel) SetDescriptionCheck(val OptNilBool)

SetDescriptionCheck sets the value of DescriptionCheck.

func (*VoiceSharingModerationCheckResponseModel) SetDescriptionValue

func (s *VoiceSharingModerationCheckResponseModel) SetDescriptionValue(val OptNilString)

SetDescriptionValue sets the value of DescriptionValue.

func (*VoiceSharingModerationCheckResponseModel) SetNameCheck

SetNameCheck sets the value of NameCheck.

func (*VoiceSharingModerationCheckResponseModel) SetNameValue

SetNameValue sets the value of NameValue.

func (*VoiceSharingModerationCheckResponseModel) SetSampleChecks

SetSampleChecks sets the value of SampleChecks.

func (*VoiceSharingModerationCheckResponseModel) SetSampleIds

SetSampleIds sets the value of SampleIds.

func (*VoiceSharingModerationCheckResponseModel) UnmarshalJSON

func (s *VoiceSharingModerationCheckResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceSharingModerationCheckResponseModel) Validate

type VoiceSharingResponseModel

type VoiceSharingResponseModel struct {
	// The ban reason of the voice.
	BanReason OptNilString `json:"ban_reason"`
	// The category of the voice.
	Category VoiceSharingResponseModelCategory `json:"category"`
	// The number of clones on the voice.
	ClonedByCount int `json:"cloned_by_count"`
	// The date of the voice sharing in Unix time.
	DateUnix int `json:"date_unix"`
	// The description of the voice.
	Description OptNilString `json:"description"`
	// The date of the voice sharing in Unix time.
	DisableAtUnix OptNilInt `json:"disable_at_unix"`
	// Whether the voice is enabled in the library.
	EnabledInLibrary bool `json:"enabled_in_library"`
	// Whether the voice is featured.
	Featured bool `json:"featured"`
	// The rate of the voice sharing in USD per 1000 credits.
	FiatRate OptNilFloat64 `json:"fiat_rate"`
	// Whether financial rewards are enabled.
	FinancialRewardsEnabled bool `json:"financial_rewards_enabled"`
	// Whether free users are allowed.
	FreeUsersAllowed bool `json:"free_users_allowed"`
	// The sample ID of the history item.
	HistoryItemSampleID OptNilString `json:"history_item_sample_id"`
	// The image URL of the voice.
	ImageURL OptNilString `json:"image_url"`
	// The Instagram username of the voice.
	InstagramUsername OptNilString `json:"instagram_username"`
	// The labels of the voice.
	Labels VoiceSharingResponseModelLabels `json:"labels"`
	// The number of likes on the voice.
	LikedByCount int `json:"liked_by_count"`
	// Whether live moderation is enabled.
	LiveModerationEnabled bool `json:"live_moderation_enabled"`
	// The moderation check of the voice.
	ModerationCheck OptVoiceSharingModerationCheckResponseModel `json:"moderation_check"`
	// The name of the voice.
	Name string `json:"name"`
	// The notice period of the voice sharing.
	NoticePeriod int `json:"notice_period"`
	// The ID of the original voice.
	OriginalVoiceID string `json:"original_voice_id"`
	// The ID of the public owner.
	PublicOwnerID string `json:"public_owner_id"`
	// The rate of the voice sharing.
	Rate OptNilFloat64 `json:"rate"`
	// Whether the reader app is enabled.
	ReaderAppEnabled OptNilBool `json:"reader_app_enabled"`
	// The reader restricted on of the voice.
	ReaderRestrictedOn OptNilReaderResourceResponseModelArray `json:"reader_restricted_on"`
	// The review message of the voice.
	ReviewMessage OptNilString `json:"review_message"`
	// The review status of the voice.
	ReviewStatus VoiceSharingResponseModelReviewStatus `json:"review_status"`
	// The status of the voice sharing.
	Status VoiceSharingResponseModelStatus `json:"status"`
	// The TikTok username of the voice.
	TiktokUsername OptNilString `json:"tiktok_username"`
	// The Twitter/X username of the voice.
	TwitterUsername OptNilString `json:"twitter_username"`
	// Whether voice mixing is allowed.
	VoiceMixingAllowed bool `json:"voice_mixing_allowed"`
	// A list of whitelisted emails.
	WhitelistedEmails []string `json:"whitelisted_emails"`
	// The YouTube username of the voice.
	YoutubeUsername OptNilString `json:"youtube_username"`
}

Ref: #/components/schemas/VoiceSharingResponseModel

func (*VoiceSharingResponseModel) Decode

func (s *VoiceSharingResponseModel) Decode(d *jx.Decoder) error

Decode decodes VoiceSharingResponseModel from json.

func (*VoiceSharingResponseModel) Encode

func (s *VoiceSharingResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VoiceSharingResponseModel) GetBanReason

func (s *VoiceSharingResponseModel) GetBanReason() OptNilString

GetBanReason returns the value of BanReason.

func (*VoiceSharingResponseModel) GetCategory

GetCategory returns the value of Category.

func (*VoiceSharingResponseModel) GetClonedByCount

func (s *VoiceSharingResponseModel) GetClonedByCount() int

GetClonedByCount returns the value of ClonedByCount.

func (*VoiceSharingResponseModel) GetDateUnix

func (s *VoiceSharingResponseModel) GetDateUnix() int

GetDateUnix returns the value of DateUnix.

func (*VoiceSharingResponseModel) GetDescription

func (s *VoiceSharingResponseModel) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*VoiceSharingResponseModel) GetDisableAtUnix

func (s *VoiceSharingResponseModel) GetDisableAtUnix() OptNilInt

GetDisableAtUnix returns the value of DisableAtUnix.

func (*VoiceSharingResponseModel) GetEnabledInLibrary

func (s *VoiceSharingResponseModel) GetEnabledInLibrary() bool

GetEnabledInLibrary returns the value of EnabledInLibrary.

func (*VoiceSharingResponseModel) GetFeatured

func (s *VoiceSharingResponseModel) GetFeatured() bool

GetFeatured returns the value of Featured.

func (*VoiceSharingResponseModel) GetFiatRate

func (s *VoiceSharingResponseModel) GetFiatRate() OptNilFloat64

GetFiatRate returns the value of FiatRate.

func (*VoiceSharingResponseModel) GetFinancialRewardsEnabled

func (s *VoiceSharingResponseModel) GetFinancialRewardsEnabled() bool

GetFinancialRewardsEnabled returns the value of FinancialRewardsEnabled.

func (*VoiceSharingResponseModel) GetFreeUsersAllowed

func (s *VoiceSharingResponseModel) GetFreeUsersAllowed() bool

GetFreeUsersAllowed returns the value of FreeUsersAllowed.

func (*VoiceSharingResponseModel) GetHistoryItemSampleID

func (s *VoiceSharingResponseModel) GetHistoryItemSampleID() OptNilString

GetHistoryItemSampleID returns the value of HistoryItemSampleID.

func (*VoiceSharingResponseModel) GetImageURL

func (s *VoiceSharingResponseModel) GetImageURL() OptNilString

GetImageURL returns the value of ImageURL.

func (*VoiceSharingResponseModel) GetInstagramUsername

func (s *VoiceSharingResponseModel) GetInstagramUsername() OptNilString

GetInstagramUsername returns the value of InstagramUsername.

func (*VoiceSharingResponseModel) GetLabels

GetLabels returns the value of Labels.

func (*VoiceSharingResponseModel) GetLikedByCount

func (s *VoiceSharingResponseModel) GetLikedByCount() int

GetLikedByCount returns the value of LikedByCount.

func (*VoiceSharingResponseModel) GetLiveModerationEnabled

func (s *VoiceSharingResponseModel) GetLiveModerationEnabled() bool

GetLiveModerationEnabled returns the value of LiveModerationEnabled.

func (*VoiceSharingResponseModel) GetModerationCheck

GetModerationCheck returns the value of ModerationCheck.

func (*VoiceSharingResponseModel) GetName

func (s *VoiceSharingResponseModel) GetName() string

GetName returns the value of Name.

func (*VoiceSharingResponseModel) GetNoticePeriod

func (s *VoiceSharingResponseModel) GetNoticePeriod() int

GetNoticePeriod returns the value of NoticePeriod.

func (*VoiceSharingResponseModel) GetOriginalVoiceID

func (s *VoiceSharingResponseModel) GetOriginalVoiceID() string

GetOriginalVoiceID returns the value of OriginalVoiceID.

func (*VoiceSharingResponseModel) GetPublicOwnerID

func (s *VoiceSharingResponseModel) GetPublicOwnerID() string

GetPublicOwnerID returns the value of PublicOwnerID.

func (*VoiceSharingResponseModel) GetRate

GetRate returns the value of Rate.

func (*VoiceSharingResponseModel) GetReaderAppEnabled

func (s *VoiceSharingResponseModel) GetReaderAppEnabled() OptNilBool

GetReaderAppEnabled returns the value of ReaderAppEnabled.

func (*VoiceSharingResponseModel) GetReaderRestrictedOn

GetReaderRestrictedOn returns the value of ReaderRestrictedOn.

func (*VoiceSharingResponseModel) GetReviewMessage

func (s *VoiceSharingResponseModel) GetReviewMessage() OptNilString

GetReviewMessage returns the value of ReviewMessage.

func (*VoiceSharingResponseModel) GetReviewStatus

GetReviewStatus returns the value of ReviewStatus.

func (*VoiceSharingResponseModel) GetStatus

GetStatus returns the value of Status.

func (*VoiceSharingResponseModel) GetTiktokUsername

func (s *VoiceSharingResponseModel) GetTiktokUsername() OptNilString

GetTiktokUsername returns the value of TiktokUsername.

func (*VoiceSharingResponseModel) GetTwitterUsername

func (s *VoiceSharingResponseModel) GetTwitterUsername() OptNilString

GetTwitterUsername returns the value of TwitterUsername.

func (*VoiceSharingResponseModel) GetVoiceMixingAllowed

func (s *VoiceSharingResponseModel) GetVoiceMixingAllowed() bool

GetVoiceMixingAllowed returns the value of VoiceMixingAllowed.

func (*VoiceSharingResponseModel) GetWhitelistedEmails

func (s *VoiceSharingResponseModel) GetWhitelistedEmails() []string

GetWhitelistedEmails returns the value of WhitelistedEmails.

func (*VoiceSharingResponseModel) GetYoutubeUsername

func (s *VoiceSharingResponseModel) GetYoutubeUsername() OptNilString

GetYoutubeUsername returns the value of YoutubeUsername.

func (*VoiceSharingResponseModel) MarshalJSON

func (s *VoiceSharingResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoiceSharingResponseModel) SetBanReason

func (s *VoiceSharingResponseModel) SetBanReason(val OptNilString)

SetBanReason sets the value of BanReason.

func (*VoiceSharingResponseModel) SetCategory

SetCategory sets the value of Category.

func (*VoiceSharingResponseModel) SetClonedByCount

func (s *VoiceSharingResponseModel) SetClonedByCount(val int)

SetClonedByCount sets the value of ClonedByCount.

func (*VoiceSharingResponseModel) SetDateUnix

func (s *VoiceSharingResponseModel) SetDateUnix(val int)

SetDateUnix sets the value of DateUnix.

func (*VoiceSharingResponseModel) SetDescription

func (s *VoiceSharingResponseModel) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*VoiceSharingResponseModel) SetDisableAtUnix

func (s *VoiceSharingResponseModel) SetDisableAtUnix(val OptNilInt)

SetDisableAtUnix sets the value of DisableAtUnix.

func (*VoiceSharingResponseModel) SetEnabledInLibrary

func (s *VoiceSharingResponseModel) SetEnabledInLibrary(val bool)

SetEnabledInLibrary sets the value of EnabledInLibrary.

func (*VoiceSharingResponseModel) SetFeatured

func (s *VoiceSharingResponseModel) SetFeatured(val bool)

SetFeatured sets the value of Featured.

func (*VoiceSharingResponseModel) SetFiatRate

func (s *VoiceSharingResponseModel) SetFiatRate(val OptNilFloat64)

SetFiatRate sets the value of FiatRate.

func (*VoiceSharingResponseModel) SetFinancialRewardsEnabled

func (s *VoiceSharingResponseModel) SetFinancialRewardsEnabled(val bool)

SetFinancialRewardsEnabled sets the value of FinancialRewardsEnabled.

func (*VoiceSharingResponseModel) SetFreeUsersAllowed

func (s *VoiceSharingResponseModel) SetFreeUsersAllowed(val bool)

SetFreeUsersAllowed sets the value of FreeUsersAllowed.

func (*VoiceSharingResponseModel) SetHistoryItemSampleID

func (s *VoiceSharingResponseModel) SetHistoryItemSampleID(val OptNilString)

SetHistoryItemSampleID sets the value of HistoryItemSampleID.

func (*VoiceSharingResponseModel) SetImageURL

func (s *VoiceSharingResponseModel) SetImageURL(val OptNilString)

SetImageURL sets the value of ImageURL.

func (*VoiceSharingResponseModel) SetInstagramUsername

func (s *VoiceSharingResponseModel) SetInstagramUsername(val OptNilString)

SetInstagramUsername sets the value of InstagramUsername.

func (*VoiceSharingResponseModel) SetLabels

SetLabels sets the value of Labels.

func (*VoiceSharingResponseModel) SetLikedByCount

func (s *VoiceSharingResponseModel) SetLikedByCount(val int)

SetLikedByCount sets the value of LikedByCount.

func (*VoiceSharingResponseModel) SetLiveModerationEnabled

func (s *VoiceSharingResponseModel) SetLiveModerationEnabled(val bool)

SetLiveModerationEnabled sets the value of LiveModerationEnabled.

func (*VoiceSharingResponseModel) SetModerationCheck

SetModerationCheck sets the value of ModerationCheck.

func (*VoiceSharingResponseModel) SetName

func (s *VoiceSharingResponseModel) SetName(val string)

SetName sets the value of Name.

func (*VoiceSharingResponseModel) SetNoticePeriod

func (s *VoiceSharingResponseModel) SetNoticePeriod(val int)

SetNoticePeriod sets the value of NoticePeriod.

func (*VoiceSharingResponseModel) SetOriginalVoiceID

func (s *VoiceSharingResponseModel) SetOriginalVoiceID(val string)

SetOriginalVoiceID sets the value of OriginalVoiceID.

func (*VoiceSharingResponseModel) SetPublicOwnerID

func (s *VoiceSharingResponseModel) SetPublicOwnerID(val string)

SetPublicOwnerID sets the value of PublicOwnerID.

func (*VoiceSharingResponseModel) SetRate

func (s *VoiceSharingResponseModel) SetRate(val OptNilFloat64)

SetRate sets the value of Rate.

func (*VoiceSharingResponseModel) SetReaderAppEnabled

func (s *VoiceSharingResponseModel) SetReaderAppEnabled(val OptNilBool)

SetReaderAppEnabled sets the value of ReaderAppEnabled.

func (*VoiceSharingResponseModel) SetReaderRestrictedOn

SetReaderRestrictedOn sets the value of ReaderRestrictedOn.

func (*VoiceSharingResponseModel) SetReviewMessage

func (s *VoiceSharingResponseModel) SetReviewMessage(val OptNilString)

SetReviewMessage sets the value of ReviewMessage.

func (*VoiceSharingResponseModel) SetReviewStatus

SetReviewStatus sets the value of ReviewStatus.

func (*VoiceSharingResponseModel) SetStatus

SetStatus sets the value of Status.

func (*VoiceSharingResponseModel) SetTiktokUsername

func (s *VoiceSharingResponseModel) SetTiktokUsername(val OptNilString)

SetTiktokUsername sets the value of TiktokUsername.

func (*VoiceSharingResponseModel) SetTwitterUsername

func (s *VoiceSharingResponseModel) SetTwitterUsername(val OptNilString)

SetTwitterUsername sets the value of TwitterUsername.

func (*VoiceSharingResponseModel) SetVoiceMixingAllowed

func (s *VoiceSharingResponseModel) SetVoiceMixingAllowed(val bool)

SetVoiceMixingAllowed sets the value of VoiceMixingAllowed.

func (*VoiceSharingResponseModel) SetWhitelistedEmails

func (s *VoiceSharingResponseModel) SetWhitelistedEmails(val []string)

SetWhitelistedEmails sets the value of WhitelistedEmails.

func (*VoiceSharingResponseModel) SetYoutubeUsername

func (s *VoiceSharingResponseModel) SetYoutubeUsername(val OptNilString)

SetYoutubeUsername sets the value of YoutubeUsername.

func (*VoiceSharingResponseModel) UnmarshalJSON

func (s *VoiceSharingResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceSharingResponseModel) Validate

func (s *VoiceSharingResponseModel) Validate() error

type VoiceSharingResponseModelCategory

type VoiceSharingResponseModelCategory string

The category of the voice.

const (
	VoiceSharingResponseModelCategoryGenerated    VoiceSharingResponseModelCategory = "generated"
	VoiceSharingResponseModelCategoryCloned       VoiceSharingResponseModelCategory = "cloned"
	VoiceSharingResponseModelCategoryPremade      VoiceSharingResponseModelCategory = "premade"
	VoiceSharingResponseModelCategoryProfessional VoiceSharingResponseModelCategory = "professional"
	VoiceSharingResponseModelCategoryFamous       VoiceSharingResponseModelCategory = "famous"
	VoiceSharingResponseModelCategoryHighQuality  VoiceSharingResponseModelCategory = "high_quality"
)

func (VoiceSharingResponseModelCategory) AllValues

AllValues returns all VoiceSharingResponseModelCategory values.

func (*VoiceSharingResponseModelCategory) Decode

Decode decodes VoiceSharingResponseModelCategory from json.

func (VoiceSharingResponseModelCategory) Encode

Encode encodes VoiceSharingResponseModelCategory as json.

func (VoiceSharingResponseModelCategory) MarshalJSON

func (s VoiceSharingResponseModelCategory) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (VoiceSharingResponseModelCategory) MarshalText

func (s VoiceSharingResponseModelCategory) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*VoiceSharingResponseModelCategory) UnmarshalJSON

func (s *VoiceSharingResponseModelCategory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceSharingResponseModelCategory) UnmarshalText

func (s *VoiceSharingResponseModelCategory) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (VoiceSharingResponseModelCategory) Validate

type VoiceSharingResponseModelLabels

type VoiceSharingResponseModelLabels map[string]string

The labels of the voice.

func (*VoiceSharingResponseModelLabels) Decode

Decode decodes VoiceSharingResponseModelLabels from json.

func (VoiceSharingResponseModelLabels) Encode

Encode implements json.Marshaler.

func (VoiceSharingResponseModelLabels) MarshalJSON

func (s VoiceSharingResponseModelLabels) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoiceSharingResponseModelLabels) UnmarshalJSON

func (s *VoiceSharingResponseModelLabels) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type VoiceSharingResponseModelReviewStatus

type VoiceSharingResponseModelReviewStatus string

The review status of the voice.

const (
	VoiceSharingResponseModelReviewStatusNotRequested       VoiceSharingResponseModelReviewStatus = "not_requested"
	VoiceSharingResponseModelReviewStatusPending            VoiceSharingResponseModelReviewStatus = "pending"
	VoiceSharingResponseModelReviewStatusDeclined           VoiceSharingResponseModelReviewStatus = "declined"
	VoiceSharingResponseModelReviewStatusAllowed            VoiceSharingResponseModelReviewStatus = "allowed"
	VoiceSharingResponseModelReviewStatusAllowedWithChanges VoiceSharingResponseModelReviewStatus = "allowed_with_changes"
)

func (VoiceSharingResponseModelReviewStatus) AllValues

AllValues returns all VoiceSharingResponseModelReviewStatus values.

func (*VoiceSharingResponseModelReviewStatus) Decode

Decode decodes VoiceSharingResponseModelReviewStatus from json.

func (VoiceSharingResponseModelReviewStatus) Encode

Encode encodes VoiceSharingResponseModelReviewStatus as json.

func (VoiceSharingResponseModelReviewStatus) MarshalJSON

func (s VoiceSharingResponseModelReviewStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (VoiceSharingResponseModelReviewStatus) MarshalText

func (s VoiceSharingResponseModelReviewStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*VoiceSharingResponseModelReviewStatus) UnmarshalJSON

func (s *VoiceSharingResponseModelReviewStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceSharingResponseModelReviewStatus) UnmarshalText

func (s *VoiceSharingResponseModelReviewStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (VoiceSharingResponseModelReviewStatus) Validate

type VoiceSharingResponseModelStatus

type VoiceSharingResponseModelStatus string

The status of the voice sharing.

const (
	VoiceSharingResponseModelStatusEnabled        VoiceSharingResponseModelStatus = "enabled"
	VoiceSharingResponseModelStatusDisabled       VoiceSharingResponseModelStatus = "disabled"
	VoiceSharingResponseModelStatusCopied         VoiceSharingResponseModelStatus = "copied"
	VoiceSharingResponseModelStatusCopiedDisabled VoiceSharingResponseModelStatus = "copied_disabled"
)

func (VoiceSharingResponseModelStatus) AllValues

AllValues returns all VoiceSharingResponseModelStatus values.

func (*VoiceSharingResponseModelStatus) Decode

Decode decodes VoiceSharingResponseModelStatus from json.

func (VoiceSharingResponseModelStatus) Encode

Encode encodes VoiceSharingResponseModelStatus as json.

func (VoiceSharingResponseModelStatus) MarshalJSON

func (s VoiceSharingResponseModelStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (VoiceSharingResponseModelStatus) MarshalText

func (s VoiceSharingResponseModelStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*VoiceSharingResponseModelStatus) UnmarshalJSON

func (s *VoiceSharingResponseModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceSharingResponseModelStatus) UnmarshalText

func (s *VoiceSharingResponseModelStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (VoiceSharingResponseModelStatus) Validate

type VoiceVerificationResponseModel

type VoiceVerificationResponseModel struct {
	// Whether the voice has been verified.
	IsVerified bool `json:"is_verified"`
	// The language of the voice.
	Language OptNilString `json:"language"`
	// Whether the voice requires verification.
	RequiresVerification bool `json:"requires_verification"`
	// Number of times a verification was attempted.
	VerificationAttempts OptNilVerificationAttemptResponseModelArray `json:"verification_attempts"`
	// The number of verification attempts.
	VerificationAttemptsCount int `json:"verification_attempts_count"`
	// List of verification failures.
	VerificationFailures []string `json:"verification_failures"`
}

Ref: #/components/schemas/VoiceVerificationResponseModel

func (*VoiceVerificationResponseModel) Decode

Decode decodes VoiceVerificationResponseModel from json.

func (*VoiceVerificationResponseModel) Encode

Encode implements json.Marshaler.

func (*VoiceVerificationResponseModel) GetIsVerified

func (s *VoiceVerificationResponseModel) GetIsVerified() bool

GetIsVerified returns the value of IsVerified.

func (*VoiceVerificationResponseModel) GetLanguage

GetLanguage returns the value of Language.

func (*VoiceVerificationResponseModel) GetRequiresVerification

func (s *VoiceVerificationResponseModel) GetRequiresVerification() bool

GetRequiresVerification returns the value of RequiresVerification.

func (*VoiceVerificationResponseModel) GetVerificationAttempts

GetVerificationAttempts returns the value of VerificationAttempts.

func (*VoiceVerificationResponseModel) GetVerificationAttemptsCount

func (s *VoiceVerificationResponseModel) GetVerificationAttemptsCount() int

GetVerificationAttemptsCount returns the value of VerificationAttemptsCount.

func (*VoiceVerificationResponseModel) GetVerificationFailures

func (s *VoiceVerificationResponseModel) GetVerificationFailures() []string

GetVerificationFailures returns the value of VerificationFailures.

func (*VoiceVerificationResponseModel) MarshalJSON

func (s *VoiceVerificationResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoiceVerificationResponseModel) SetIsVerified

func (s *VoiceVerificationResponseModel) SetIsVerified(val bool)

SetIsVerified sets the value of IsVerified.

func (*VoiceVerificationResponseModel) SetLanguage

func (s *VoiceVerificationResponseModel) SetLanguage(val OptNilString)

SetLanguage sets the value of Language.

func (*VoiceVerificationResponseModel) SetRequiresVerification

func (s *VoiceVerificationResponseModel) SetRequiresVerification(val bool)

SetRequiresVerification sets the value of RequiresVerification.

func (*VoiceVerificationResponseModel) SetVerificationAttempts

SetVerificationAttempts sets the value of VerificationAttempts.

func (*VoiceVerificationResponseModel) SetVerificationAttemptsCount

func (s *VoiceVerificationResponseModel) SetVerificationAttemptsCount(val int)

SetVerificationAttemptsCount sets the value of VerificationAttemptsCount.

func (*VoiceVerificationResponseModel) SetVerificationFailures

func (s *VoiceVerificationResponseModel) SetVerificationFailures(val []string)

SetVerificationFailures sets the value of VerificationFailures.

func (*VoiceVerificationResponseModel) UnmarshalJSON

func (s *VoiceVerificationResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceVerificationResponseModel) Validate

func (s *VoiceVerificationResponseModel) Validate() error

type WebhookAuthMethodType

type WebhookAuthMethodType string

Ref: #/components/schemas/WebhookAuthMethodType

const (
	WebhookAuthMethodTypeHmac   WebhookAuthMethodType = "hmac"
	WebhookAuthMethodTypeOAuth2 WebhookAuthMethodType = "oauth2"
	WebhookAuthMethodTypeMtls   WebhookAuthMethodType = "mtls"
)

func (WebhookAuthMethodType) AllValues

AllValues returns all WebhookAuthMethodType values.

func (*WebhookAuthMethodType) Decode

func (s *WebhookAuthMethodType) Decode(d *jx.Decoder) error

Decode decodes WebhookAuthMethodType from json.

func (WebhookAuthMethodType) Encode

func (s WebhookAuthMethodType) Encode(e *jx.Encoder)

Encode encodes WebhookAuthMethodType as json.

func (WebhookAuthMethodType) MarshalJSON

func (s WebhookAuthMethodType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (WebhookAuthMethodType) MarshalText

func (s WebhookAuthMethodType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*WebhookAuthMethodType) UnmarshalJSON

func (s *WebhookAuthMethodType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookAuthMethodType) UnmarshalText

func (s *WebhookAuthMethodType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WebhookAuthMethodType) Validate

func (s WebhookAuthMethodType) Validate() error

type WebhookEventType

type WebhookEventType string

Ref: #/components/schemas/WebhookEventType

const (
	WebhookEventTypeTranscript            WebhookEventType = "transcript"
	WebhookEventTypeAudio                 WebhookEventType = "audio"
	WebhookEventTypeCallInitiationFailure WebhookEventType = "call_initiation_failure"
)

func (WebhookEventType) AllValues

func (WebhookEventType) AllValues() []WebhookEventType

AllValues returns all WebhookEventType values.

func (*WebhookEventType) Decode

func (s *WebhookEventType) Decode(d *jx.Decoder) error

Decode decodes WebhookEventType from json.

func (WebhookEventType) Encode

func (s WebhookEventType) Encode(e *jx.Encoder)

Encode encodes WebhookEventType as json.

func (WebhookEventType) MarshalJSON

func (s WebhookEventType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (WebhookEventType) MarshalText

func (s WebhookEventType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*WebhookEventType) UnmarshalJSON

func (s *WebhookEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookEventType) UnmarshalText

func (s *WebhookEventType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WebhookEventType) Validate

func (s WebhookEventType) Validate() error

type WebhookHMACSettings

type WebhookHMACSettings struct {
	// The authentication type for this webhook.
	AuthType WebhookHMACSettingsAuthType `json:"auth_type"`
	// The display name for this webhook.
	Name string `json:"name"`
	// The HTTPS callback URL that will be called when this webhook is triggered.
	WebhookURL string `json:"webhook_url"`
}

Settings for creating an HMAC-authenticated webhook. Ref: #/components/schemas/WebhookHMACSettings

func (*WebhookHMACSettings) Decode

func (s *WebhookHMACSettings) Decode(d *jx.Decoder) error

Decode decodes WebhookHMACSettings from json.

func (*WebhookHMACSettings) Encode

func (s *WebhookHMACSettings) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookHMACSettings) GetAuthType

GetAuthType returns the value of AuthType.

func (*WebhookHMACSettings) GetName

func (s *WebhookHMACSettings) GetName() string

GetName returns the value of Name.

func (*WebhookHMACSettings) GetWebhookURL

func (s *WebhookHMACSettings) GetWebhookURL() string

GetWebhookURL returns the value of WebhookURL.

func (*WebhookHMACSettings) MarshalJSON

func (s *WebhookHMACSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookHMACSettings) SetAuthType

SetAuthType sets the value of AuthType.

func (*WebhookHMACSettings) SetName

func (s *WebhookHMACSettings) SetName(val string)

SetName sets the value of Name.

func (*WebhookHMACSettings) SetWebhookURL

func (s *WebhookHMACSettings) SetWebhookURL(val string)

SetWebhookURL sets the value of WebhookURL.

func (*WebhookHMACSettings) UnmarshalJSON

func (s *WebhookHMACSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookHMACSettings) Validate

func (s *WebhookHMACSettings) Validate() error

type WebhookHMACSettingsAuthType

type WebhookHMACSettingsAuthType string

The authentication type for this webhook.

const (
	WebhookHMACSettingsAuthTypeHmac WebhookHMACSettingsAuthType = "hmac"
)

func (WebhookHMACSettingsAuthType) AllValues

AllValues returns all WebhookHMACSettingsAuthType values.

func (*WebhookHMACSettingsAuthType) Decode

Decode decodes WebhookHMACSettingsAuthType from json.

func (WebhookHMACSettingsAuthType) Encode

func (s WebhookHMACSettingsAuthType) Encode(e *jx.Encoder)

Encode encodes WebhookHMACSettingsAuthType as json.

func (WebhookHMACSettingsAuthType) MarshalJSON

func (s WebhookHMACSettingsAuthType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (WebhookHMACSettingsAuthType) MarshalText

func (s WebhookHMACSettingsAuthType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*WebhookHMACSettingsAuthType) UnmarshalJSON

func (s *WebhookHMACSettingsAuthType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookHMACSettingsAuthType) UnmarshalText

func (s *WebhookHMACSettingsAuthType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WebhookHMACSettingsAuthType) Validate

func (s WebhookHMACSettingsAuthType) Validate() error

type WebhookUsageType

type WebhookUsageType string

Ref: #/components/schemas/WebhookUsageType

const (
	WebhookUsageTypeConvAIAgentSettings        WebhookUsageType = "ConvAI Agent Settings"
	WebhookUsageTypeConvAISettings             WebhookUsageType = "ConvAI Settings"
	WebhookUsageTypeVoiceLibraryRemovalNotices WebhookUsageType = "Voice Library Removal Notices"
	WebhookUsageTypeSpeechToText               WebhookUsageType = "Speech to Text"
)

func (WebhookUsageType) AllValues

func (WebhookUsageType) AllValues() []WebhookUsageType

AllValues returns all WebhookUsageType values.

func (*WebhookUsageType) Decode

func (s *WebhookUsageType) Decode(d *jx.Decoder) error

Decode decodes WebhookUsageType from json.

func (WebhookUsageType) Encode

func (s WebhookUsageType) Encode(e *jx.Encoder)

Encode encodes WebhookUsageType as json.

func (WebhookUsageType) MarshalJSON

func (s WebhookUsageType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (WebhookUsageType) MarshalText

func (s WebhookUsageType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*WebhookUsageType) UnmarshalJSON

func (s *WebhookUsageType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookUsageType) UnmarshalText

func (s *WebhookUsageType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WebhookUsageType) Validate

func (s WebhookUsageType) Validate() error

type WhatsAppConversationInfo

type WhatsAppConversationInfo struct {
	Direction             OptWhatsAppConversationInfoDirection `json:"direction"`
	WhatsappPhoneNumberID OptNilString                         `json:"whatsapp_phone_number_id"`
	WhatsappUserID        string                               `json:"whatsapp_user_id"`
}

Ref: #/components/schemas/WhatsAppConversationInfo

func (*WhatsAppConversationInfo) Decode

func (s *WhatsAppConversationInfo) Decode(d *jx.Decoder) error

Decode decodes WhatsAppConversationInfo from json.

func (*WhatsAppConversationInfo) Encode

func (s *WhatsAppConversationInfo) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WhatsAppConversationInfo) GetDirection

GetDirection returns the value of Direction.

func (*WhatsAppConversationInfo) GetWhatsappPhoneNumberID

func (s *WhatsAppConversationInfo) GetWhatsappPhoneNumberID() OptNilString

GetWhatsappPhoneNumberID returns the value of WhatsappPhoneNumberID.

func (*WhatsAppConversationInfo) GetWhatsappUserID

func (s *WhatsAppConversationInfo) GetWhatsappUserID() string

GetWhatsappUserID returns the value of WhatsappUserID.

func (*WhatsAppConversationInfo) MarshalJSON

func (s *WhatsAppConversationInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WhatsAppConversationInfo) SetDirection

SetDirection sets the value of Direction.

func (*WhatsAppConversationInfo) SetWhatsappPhoneNumberID

func (s *WhatsAppConversationInfo) SetWhatsappPhoneNumberID(val OptNilString)

SetWhatsappPhoneNumberID sets the value of WhatsappPhoneNumberID.

func (*WhatsAppConversationInfo) SetWhatsappUserID

func (s *WhatsAppConversationInfo) SetWhatsappUserID(val string)

SetWhatsappUserID sets the value of WhatsappUserID.

func (*WhatsAppConversationInfo) UnmarshalJSON

func (s *WhatsAppConversationInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WhatsAppConversationInfo) Validate

func (s *WhatsAppConversationInfo) Validate() error

type WhatsAppConversationInfoDirection

type WhatsAppConversationInfoDirection string
const (
	WhatsAppConversationInfoDirectionInbound  WhatsAppConversationInfoDirection = "inbound"
	WhatsAppConversationInfoDirectionOutbound WhatsAppConversationInfoDirection = "outbound"
	WhatsAppConversationInfoDirectionUnknown  WhatsAppConversationInfoDirection = "unknown"
)

func (WhatsAppConversationInfoDirection) AllValues

AllValues returns all WhatsAppConversationInfoDirection values.

func (*WhatsAppConversationInfoDirection) Decode

Decode decodes WhatsAppConversationInfoDirection from json.

func (WhatsAppConversationInfoDirection) Encode

Encode encodes WhatsAppConversationInfoDirection as json.

func (WhatsAppConversationInfoDirection) MarshalJSON

func (s WhatsAppConversationInfoDirection) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (WhatsAppConversationInfoDirection) MarshalText

func (s WhatsAppConversationInfoDirection) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*WhatsAppConversationInfoDirection) UnmarshalJSON

func (s *WhatsAppConversationInfoDirection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WhatsAppConversationInfoDirection) UnmarshalText

func (s *WhatsAppConversationInfoDirection) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WhatsAppConversationInfoDirection) Validate

type WhatsAppOutboundCallResponse

type WhatsAppOutboundCallResponse struct {
	ConversationID NilString `json:"conversation_id"`
	Message        string    `json:"message"`
	Success        bool      `json:"success"`
}

Ref: #/components/schemas/WhatsAppOutboundCallResponse

func (*WhatsAppOutboundCallResponse) Decode

Decode decodes WhatsAppOutboundCallResponse from json.

func (*WhatsAppOutboundCallResponse) Encode

func (s *WhatsAppOutboundCallResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WhatsAppOutboundCallResponse) GetConversationID

func (s *WhatsAppOutboundCallResponse) GetConversationID() NilString

GetConversationID returns the value of ConversationID.

func (*WhatsAppOutboundCallResponse) GetMessage

func (s *WhatsAppOutboundCallResponse) GetMessage() string

GetMessage returns the value of Message.

func (*WhatsAppOutboundCallResponse) GetSuccess

func (s *WhatsAppOutboundCallResponse) GetSuccess() bool

GetSuccess returns the value of Success.

func (*WhatsAppOutboundCallResponse) MarshalJSON

func (s *WhatsAppOutboundCallResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WhatsAppOutboundCallResponse) SetConversationID

func (s *WhatsAppOutboundCallResponse) SetConversationID(val NilString)

SetConversationID sets the value of ConversationID.

func (*WhatsAppOutboundCallResponse) SetMessage

func (s *WhatsAppOutboundCallResponse) SetMessage(val string)

SetMessage sets the value of Message.

func (*WhatsAppOutboundCallResponse) SetSuccess

func (s *WhatsAppOutboundCallResponse) SetSuccess(val bool)

SetSuccess sets the value of Success.

func (*WhatsAppOutboundCallResponse) UnmarshalJSON

func (s *WhatsAppOutboundCallResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WhatsappOutboundCallParams

type WhatsappOutboundCallParams struct {
	// Your API key. This is required by most endpoints to access our API programmatically. You can view
	// your xi-api-key using the 'Profile' tab on the website.
	XiAPIKey OptNilString `json:",omitempty,omitzero"`
}

WhatsappOutboundCallParams is parameters of whatsapp_outbound_call operation.

type WhatsappOutboundCallRes

type WhatsappOutboundCallRes interface {
	// contains filtered or unexported methods
}

type WorkflowFeaturesUsageCommonModel

type WorkflowFeaturesUsageCommonModel struct {
	Enabled             OptBool                     `json:"enabled"`
	EndNode             OptFeatureStatusCommonModel `json:"end_node"`
	PhoneNumberNode     OptFeatureStatusCommonModel `json:"phone_number_node"`
	StandaloneAgentNode OptFeatureStatusCommonModel `json:"standalone_agent_node"`
	ToolNode            OptFeatureStatusCommonModel `json:"tool_node"`
}

Ref: #/components/schemas/WorkflowFeaturesUsageCommonModel

func (*WorkflowFeaturesUsageCommonModel) Decode

Decode decodes WorkflowFeaturesUsageCommonModel from json.

func (*WorkflowFeaturesUsageCommonModel) Encode

Encode implements json.Marshaler.

func (*WorkflowFeaturesUsageCommonModel) GetEnabled

func (s *WorkflowFeaturesUsageCommonModel) GetEnabled() OptBool

GetEnabled returns the value of Enabled.

func (*WorkflowFeaturesUsageCommonModel) GetEndNode

GetEndNode returns the value of EndNode.

func (*WorkflowFeaturesUsageCommonModel) GetPhoneNumberNode

GetPhoneNumberNode returns the value of PhoneNumberNode.

func (*WorkflowFeaturesUsageCommonModel) GetStandaloneAgentNode

GetStandaloneAgentNode returns the value of StandaloneAgentNode.

func (*WorkflowFeaturesUsageCommonModel) GetToolNode

GetToolNode returns the value of ToolNode.

func (*WorkflowFeaturesUsageCommonModel) MarshalJSON

func (s *WorkflowFeaturesUsageCommonModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkflowFeaturesUsageCommonModel) SetEnabled

func (s *WorkflowFeaturesUsageCommonModel) SetEnabled(val OptBool)

SetEnabled sets the value of Enabled.

func (*WorkflowFeaturesUsageCommonModel) SetEndNode

SetEndNode sets the value of EndNode.

func (*WorkflowFeaturesUsageCommonModel) SetPhoneNumberNode

SetPhoneNumberNode sets the value of PhoneNumberNode.

func (*WorkflowFeaturesUsageCommonModel) SetStandaloneAgentNode

func (s *WorkflowFeaturesUsageCommonModel) SetStandaloneAgentNode(val OptFeatureStatusCommonModel)

SetStandaloneAgentNode sets the value of StandaloneAgentNode.

func (*WorkflowFeaturesUsageCommonModel) SetToolNode

SetToolNode sets the value of ToolNode.

func (*WorkflowFeaturesUsageCommonModel) UnmarshalJSON

func (s *WorkflowFeaturesUsageCommonModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WorkflowToolEdgeStepModel

type WorkflowToolEdgeStepModel struct {
	EdgeID          string                           `json:"edge_id"`
	StepLatencySecs float64                          `json:"step_latency_secs"`
	TargetNodeID    string                           `json:"target_node_id"`
	Type            OptWorkflowToolEdgeStepModelType `json:"type"`
}

Ref: #/components/schemas/WorkflowToolEdgeStepModel

func (*WorkflowToolEdgeStepModel) Decode

func (s *WorkflowToolEdgeStepModel) Decode(d *jx.Decoder) error

Decode decodes WorkflowToolEdgeStepModel from json.

func (*WorkflowToolEdgeStepModel) Encode

func (s *WorkflowToolEdgeStepModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WorkflowToolEdgeStepModel) GetEdgeID

func (s *WorkflowToolEdgeStepModel) GetEdgeID() string

GetEdgeID returns the value of EdgeID.

func (*WorkflowToolEdgeStepModel) GetStepLatencySecs

func (s *WorkflowToolEdgeStepModel) GetStepLatencySecs() float64

GetStepLatencySecs returns the value of StepLatencySecs.

func (*WorkflowToolEdgeStepModel) GetTargetNodeID

func (s *WorkflowToolEdgeStepModel) GetTargetNodeID() string

GetTargetNodeID returns the value of TargetNodeID.

func (*WorkflowToolEdgeStepModel) GetType

GetType returns the value of Type.

func (*WorkflowToolEdgeStepModel) MarshalJSON

func (s *WorkflowToolEdgeStepModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkflowToolEdgeStepModel) SetEdgeID

func (s *WorkflowToolEdgeStepModel) SetEdgeID(val string)

SetEdgeID sets the value of EdgeID.

func (*WorkflowToolEdgeStepModel) SetStepLatencySecs

func (s *WorkflowToolEdgeStepModel) SetStepLatencySecs(val float64)

SetStepLatencySecs sets the value of StepLatencySecs.

func (*WorkflowToolEdgeStepModel) SetTargetNodeID

func (s *WorkflowToolEdgeStepModel) SetTargetNodeID(val string)

SetTargetNodeID sets the value of TargetNodeID.

func (*WorkflowToolEdgeStepModel) SetType

SetType sets the value of Type.

func (*WorkflowToolEdgeStepModel) UnmarshalJSON

func (s *WorkflowToolEdgeStepModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkflowToolEdgeStepModel) Validate

func (s *WorkflowToolEdgeStepModel) Validate() error

type WorkflowToolEdgeStepModelType

type WorkflowToolEdgeStepModelType string
const (
	WorkflowToolEdgeStepModelTypeEdge WorkflowToolEdgeStepModelType = "edge"
)

func (WorkflowToolEdgeStepModelType) AllValues

AllValues returns all WorkflowToolEdgeStepModelType values.

func (*WorkflowToolEdgeStepModelType) Decode

Decode decodes WorkflowToolEdgeStepModelType from json.

func (WorkflowToolEdgeStepModelType) Encode

Encode encodes WorkflowToolEdgeStepModelType as json.

func (WorkflowToolEdgeStepModelType) MarshalJSON

func (s WorkflowToolEdgeStepModelType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (WorkflowToolEdgeStepModelType) MarshalText

func (s WorkflowToolEdgeStepModelType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*WorkflowToolEdgeStepModelType) UnmarshalJSON

func (s *WorkflowToolEdgeStepModelType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkflowToolEdgeStepModelType) UnmarshalText

func (s *WorkflowToolEdgeStepModelType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WorkflowToolEdgeStepModelType) Validate

func (s WorkflowToolEdgeStepModelType) Validate() error

type WorkflowToolMaxIterationsExceededStepModel

type WorkflowToolMaxIterationsExceededStepModel struct {
	MaxIterations   int                                               `json:"max_iterations"`
	StepLatencySecs float64                                           `json:"step_latency_secs"`
	Type            OptWorkflowToolMaxIterationsExceededStepModelType `json:"type"`
}

Ref: #/components/schemas/WorkflowToolMaxIterationsExceededStepModel

func (*WorkflowToolMaxIterationsExceededStepModel) Decode

Decode decodes WorkflowToolMaxIterationsExceededStepModel from json.

func (*WorkflowToolMaxIterationsExceededStepModel) Encode

Encode implements json.Marshaler.

func (*WorkflowToolMaxIterationsExceededStepModel) GetMaxIterations

func (s *WorkflowToolMaxIterationsExceededStepModel) GetMaxIterations() int

GetMaxIterations returns the value of MaxIterations.

func (*WorkflowToolMaxIterationsExceededStepModel) GetStepLatencySecs

func (s *WorkflowToolMaxIterationsExceededStepModel) GetStepLatencySecs() float64

GetStepLatencySecs returns the value of StepLatencySecs.

func (*WorkflowToolMaxIterationsExceededStepModel) GetType

GetType returns the value of Type.

func (*WorkflowToolMaxIterationsExceededStepModel) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*WorkflowToolMaxIterationsExceededStepModel) SetMaxIterations

func (s *WorkflowToolMaxIterationsExceededStepModel) SetMaxIterations(val int)

SetMaxIterations sets the value of MaxIterations.

func (*WorkflowToolMaxIterationsExceededStepModel) SetStepLatencySecs

func (s *WorkflowToolMaxIterationsExceededStepModel) SetStepLatencySecs(val float64)

SetStepLatencySecs sets the value of StepLatencySecs.

func (*WorkflowToolMaxIterationsExceededStepModel) SetType

SetType sets the value of Type.

func (*WorkflowToolMaxIterationsExceededStepModel) UnmarshalJSON

func (s *WorkflowToolMaxIterationsExceededStepModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkflowToolMaxIterationsExceededStepModel) Validate

type WorkflowToolMaxIterationsExceededStepModelType

type WorkflowToolMaxIterationsExceededStepModelType string
const (
	WorkflowToolMaxIterationsExceededStepModelTypeMaxIterationsExceeded WorkflowToolMaxIterationsExceededStepModelType = "max_iterations_exceeded"
)

func (WorkflowToolMaxIterationsExceededStepModelType) AllValues

AllValues returns all WorkflowToolMaxIterationsExceededStepModelType values.

func (*WorkflowToolMaxIterationsExceededStepModelType) Decode

Decode decodes WorkflowToolMaxIterationsExceededStepModelType from json.

func (WorkflowToolMaxIterationsExceededStepModelType) Encode

Encode encodes WorkflowToolMaxIterationsExceededStepModelType as json.

func (WorkflowToolMaxIterationsExceededStepModelType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (WorkflowToolMaxIterationsExceededStepModelType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*WorkflowToolMaxIterationsExceededStepModelType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkflowToolMaxIterationsExceededStepModelType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (WorkflowToolMaxIterationsExceededStepModelType) Validate

type WorkflowToolNestedToolsStepModelInput

type WorkflowToolNestedToolsStepModelInput struct {
	IsSuccessful    bool                                                    `json:"is_successful"`
	NodeID          string                                                  `json:"node_id"`
	Requests        []ConversationHistoryTranscriptToolCallCommonModelInput `json:"requests"`
	Results         []WorkflowToolNestedToolsStepModelInputResultsItem      `json:"results"`
	StepLatencySecs float64                                                 `json:"step_latency_secs"`
	Type            OptWorkflowToolNestedToolsStepModelInputType            `json:"type"`
}

Ref: #/components/schemas/WorkflowToolNestedToolsStepModel-Input

func (*WorkflowToolNestedToolsStepModelInput) Decode

Decode decodes WorkflowToolNestedToolsStepModelInput from json.

func (*WorkflowToolNestedToolsStepModelInput) Encode

Encode implements json.Marshaler.

func (*WorkflowToolNestedToolsStepModelInput) GetIsSuccessful

func (s *WorkflowToolNestedToolsStepModelInput) GetIsSuccessful() bool

GetIsSuccessful returns the value of IsSuccessful.

func (*WorkflowToolNestedToolsStepModelInput) GetNodeID

GetNodeID returns the value of NodeID.

func (*WorkflowToolNestedToolsStepModelInput) GetRequests

GetRequests returns the value of Requests.

func (*WorkflowToolNestedToolsStepModelInput) GetResults

GetResults returns the value of Results.

func (*WorkflowToolNestedToolsStepModelInput) GetStepLatencySecs

func (s *WorkflowToolNestedToolsStepModelInput) GetStepLatencySecs() float64

GetStepLatencySecs returns the value of StepLatencySecs.

func (*WorkflowToolNestedToolsStepModelInput) GetType

GetType returns the value of Type.

func (*WorkflowToolNestedToolsStepModelInput) MarshalJSON

func (s *WorkflowToolNestedToolsStepModelInput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkflowToolNestedToolsStepModelInput) SetIsSuccessful

func (s *WorkflowToolNestedToolsStepModelInput) SetIsSuccessful(val bool)

SetIsSuccessful sets the value of IsSuccessful.

func (*WorkflowToolNestedToolsStepModelInput) SetNodeID

SetNodeID sets the value of NodeID.

func (*WorkflowToolNestedToolsStepModelInput) SetRequests

SetRequests sets the value of Requests.

func (*WorkflowToolNestedToolsStepModelInput) SetResults

SetResults sets the value of Results.

func (*WorkflowToolNestedToolsStepModelInput) SetStepLatencySecs

func (s *WorkflowToolNestedToolsStepModelInput) SetStepLatencySecs(val float64)

SetStepLatencySecs sets the value of StepLatencySecs.

func (*WorkflowToolNestedToolsStepModelInput) SetType

SetType sets the value of Type.

func (*WorkflowToolNestedToolsStepModelInput) UnmarshalJSON

func (s *WorkflowToolNestedToolsStepModelInput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkflowToolNestedToolsStepModelInput) Validate

type WorkflowToolNestedToolsStepModelInputResultsItem

type WorkflowToolNestedToolsStepModelInputResultsItem struct {
	Type                                                                     WorkflowToolNestedToolsStepModelInputResultsItemType // switch on this field
	ConversationHistoryTranscriptOtherToolsResultCommonModel                 ConversationHistoryTranscriptOtherToolsResultCommonModel
	ConversationHistoryTranscriptSystemToolResultCommonModel                 ConversationHistoryTranscriptSystemToolResultCommonModel
	ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel
	ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput         ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput
}

WorkflowToolNestedToolsStepModelInputResultsItem represents sum type.

func NewConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelWorkflowToolNestedToolsStepModelInputResultsItem

func NewConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelWorkflowToolNestedToolsStepModelInputResultsItem(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) WorkflowToolNestedToolsStepModelInputResultsItem

NewConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelWorkflowToolNestedToolsStepModelInputResultsItem returns new WorkflowToolNestedToolsStepModelInputResultsItem from ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.

func NewConversationHistoryTranscriptOtherToolsResultCommonModelWorkflowToolNestedToolsStepModelInputResultsItem

func NewConversationHistoryTranscriptOtherToolsResultCommonModelWorkflowToolNestedToolsStepModelInputResultsItem(v ConversationHistoryTranscriptOtherToolsResultCommonModel) WorkflowToolNestedToolsStepModelInputResultsItem

NewConversationHistoryTranscriptOtherToolsResultCommonModelWorkflowToolNestedToolsStepModelInputResultsItem returns new WorkflowToolNestedToolsStepModelInputResultsItem from ConversationHistoryTranscriptOtherToolsResultCommonModel.

func NewConversationHistoryTranscriptSystemToolResultCommonModelWorkflowToolNestedToolsStepModelInputResultsItem

func NewConversationHistoryTranscriptSystemToolResultCommonModelWorkflowToolNestedToolsStepModelInputResultsItem(v ConversationHistoryTranscriptSystemToolResultCommonModel) WorkflowToolNestedToolsStepModelInputResultsItem

NewConversationHistoryTranscriptSystemToolResultCommonModelWorkflowToolNestedToolsStepModelInputResultsItem returns new WorkflowToolNestedToolsStepModelInputResultsItem from ConversationHistoryTranscriptSystemToolResultCommonModel.

func NewConversationHistoryTranscriptWorkflowToolsResultCommonModelInputWorkflowToolNestedToolsStepModelInputResultsItem

func NewConversationHistoryTranscriptWorkflowToolsResultCommonModelInputWorkflowToolNestedToolsStepModelInputResultsItem(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) WorkflowToolNestedToolsStepModelInputResultsItem

NewConversationHistoryTranscriptWorkflowToolsResultCommonModelInputWorkflowToolNestedToolsStepModelInputResultsItem returns new WorkflowToolNestedToolsStepModelInputResultsItem from ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.

func (*WorkflowToolNestedToolsStepModelInputResultsItem) Decode

Decode decodes WorkflowToolNestedToolsStepModelInputResultsItem from json.

func (WorkflowToolNestedToolsStepModelInputResultsItem) Encode

Encode encodes WorkflowToolNestedToolsStepModelInputResultsItem as json.

func (WorkflowToolNestedToolsStepModelInputResultsItem) GetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel

func (s WorkflowToolNestedToolsStepModelInputResultsItem) GetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel() (v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel, ok bool)

GetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel returns ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel and true boolean if WorkflowToolNestedToolsStepModelInputResultsItem is ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.

func (WorkflowToolNestedToolsStepModelInputResultsItem) GetConversationHistoryTranscriptOtherToolsResultCommonModel

func (s WorkflowToolNestedToolsStepModelInputResultsItem) GetConversationHistoryTranscriptOtherToolsResultCommonModel() (v ConversationHistoryTranscriptOtherToolsResultCommonModel, ok bool)

GetConversationHistoryTranscriptOtherToolsResultCommonModel returns ConversationHistoryTranscriptOtherToolsResultCommonModel and true boolean if WorkflowToolNestedToolsStepModelInputResultsItem is ConversationHistoryTranscriptOtherToolsResultCommonModel.

func (WorkflowToolNestedToolsStepModelInputResultsItem) GetConversationHistoryTranscriptSystemToolResultCommonModel

func (s WorkflowToolNestedToolsStepModelInputResultsItem) GetConversationHistoryTranscriptSystemToolResultCommonModel() (v ConversationHistoryTranscriptSystemToolResultCommonModel, ok bool)

GetConversationHistoryTranscriptSystemToolResultCommonModel returns ConversationHistoryTranscriptSystemToolResultCommonModel and true boolean if WorkflowToolNestedToolsStepModelInputResultsItem is ConversationHistoryTranscriptSystemToolResultCommonModel.

func (WorkflowToolNestedToolsStepModelInputResultsItem) GetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput

func (s WorkflowToolNestedToolsStepModelInputResultsItem) GetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput() (v ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput, ok bool)

GetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput returns ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput and true boolean if WorkflowToolNestedToolsStepModelInputResultsItem is ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.

func (WorkflowToolNestedToolsStepModelInputResultsItem) IsConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel

func (s WorkflowToolNestedToolsStepModelInputResultsItem) IsConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel() bool

IsConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel reports whether WorkflowToolNestedToolsStepModelInputResultsItem is ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.

func (WorkflowToolNestedToolsStepModelInputResultsItem) IsConversationHistoryTranscriptOtherToolsResultCommonModel

func (s WorkflowToolNestedToolsStepModelInputResultsItem) IsConversationHistoryTranscriptOtherToolsResultCommonModel() bool

IsConversationHistoryTranscriptOtherToolsResultCommonModel reports whether WorkflowToolNestedToolsStepModelInputResultsItem is ConversationHistoryTranscriptOtherToolsResultCommonModel.

func (WorkflowToolNestedToolsStepModelInputResultsItem) IsConversationHistoryTranscriptSystemToolResultCommonModel

func (s WorkflowToolNestedToolsStepModelInputResultsItem) IsConversationHistoryTranscriptSystemToolResultCommonModel() bool

IsConversationHistoryTranscriptSystemToolResultCommonModel reports whether WorkflowToolNestedToolsStepModelInputResultsItem is ConversationHistoryTranscriptSystemToolResultCommonModel.

func (WorkflowToolNestedToolsStepModelInputResultsItem) IsConversationHistoryTranscriptWorkflowToolsResultCommonModelInput

func (s WorkflowToolNestedToolsStepModelInputResultsItem) IsConversationHistoryTranscriptWorkflowToolsResultCommonModelInput() bool

IsConversationHistoryTranscriptWorkflowToolsResultCommonModelInput reports whether WorkflowToolNestedToolsStepModelInputResultsItem is ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.

func (WorkflowToolNestedToolsStepModelInputResultsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*WorkflowToolNestedToolsStepModelInputResultsItem) SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel

func (s *WorkflowToolNestedToolsStepModelInputResultsItem) SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel)

SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel sets WorkflowToolNestedToolsStepModelInputResultsItem to ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.

func (*WorkflowToolNestedToolsStepModelInputResultsItem) SetConversationHistoryTranscriptOtherToolsResultCommonModel

func (s *WorkflowToolNestedToolsStepModelInputResultsItem) SetConversationHistoryTranscriptOtherToolsResultCommonModel(v ConversationHistoryTranscriptOtherToolsResultCommonModel)

SetConversationHistoryTranscriptOtherToolsResultCommonModel sets WorkflowToolNestedToolsStepModelInputResultsItem to ConversationHistoryTranscriptOtherToolsResultCommonModel.

func (*WorkflowToolNestedToolsStepModelInputResultsItem) SetConversationHistoryTranscriptSystemToolResultCommonModel

func (s *WorkflowToolNestedToolsStepModelInputResultsItem) SetConversationHistoryTranscriptSystemToolResultCommonModel(v ConversationHistoryTranscriptSystemToolResultCommonModel)

SetConversationHistoryTranscriptSystemToolResultCommonModel sets WorkflowToolNestedToolsStepModelInputResultsItem to ConversationHistoryTranscriptSystemToolResultCommonModel.

func (*WorkflowToolNestedToolsStepModelInputResultsItem) SetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput

func (s *WorkflowToolNestedToolsStepModelInputResultsItem) SetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput)

SetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput sets WorkflowToolNestedToolsStepModelInputResultsItem to ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.

func (*WorkflowToolNestedToolsStepModelInputResultsItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (WorkflowToolNestedToolsStepModelInputResultsItem) Validate

type WorkflowToolNestedToolsStepModelInputResultsItemType

type WorkflowToolNestedToolsStepModelInputResultsItemType string

WorkflowToolNestedToolsStepModelInputResultsItemType is oneOf type of WorkflowToolNestedToolsStepModelInputResultsItem.

const (
	ConversationHistoryTranscriptOtherToolsResultCommonModelWorkflowToolNestedToolsStepModelInputResultsItem                 WorkflowToolNestedToolsStepModelInputResultsItemType = "ConversationHistoryTranscriptOtherToolsResultCommonModel"
	ConversationHistoryTranscriptSystemToolResultCommonModelWorkflowToolNestedToolsStepModelInputResultsItem                 WorkflowToolNestedToolsStepModelInputResultsItemType = "ConversationHistoryTranscriptSystemToolResultCommonModel"
	ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelWorkflowToolNestedToolsStepModelInputResultsItem WorkflowToolNestedToolsStepModelInputResultsItemType = "ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel"
	ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputWorkflowToolNestedToolsStepModelInputResultsItem         WorkflowToolNestedToolsStepModelInputResultsItemType = "ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput"
)

Possible values for WorkflowToolNestedToolsStepModelInputResultsItemType.

type WorkflowToolNestedToolsStepModelInputType

type WorkflowToolNestedToolsStepModelInputType string
const (
	WorkflowToolNestedToolsStepModelInputTypeNestedTools WorkflowToolNestedToolsStepModelInputType = "nested_tools"
)

func (WorkflowToolNestedToolsStepModelInputType) AllValues

AllValues returns all WorkflowToolNestedToolsStepModelInputType values.

func (*WorkflowToolNestedToolsStepModelInputType) Decode

Decode decodes WorkflowToolNestedToolsStepModelInputType from json.

func (WorkflowToolNestedToolsStepModelInputType) Encode

Encode encodes WorkflowToolNestedToolsStepModelInputType as json.

func (WorkflowToolNestedToolsStepModelInputType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (WorkflowToolNestedToolsStepModelInputType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*WorkflowToolNestedToolsStepModelInputType) UnmarshalJSON

func (s *WorkflowToolNestedToolsStepModelInputType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkflowToolNestedToolsStepModelInputType) UnmarshalText

func (s *WorkflowToolNestedToolsStepModelInputType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WorkflowToolNestedToolsStepModelInputType) Validate

type WorkflowToolNestedToolsStepModelOutput

type WorkflowToolNestedToolsStepModelOutput struct {
	IsSuccessful    bool                                                     `json:"is_successful"`
	NodeID          string                                                   `json:"node_id"`
	Requests        []ConversationHistoryTranscriptToolCallCommonModelOutput `json:"requests"`
	Results         []WorkflowToolNestedToolsStepModelOutputResultsItem      `json:"results"`
	StepLatencySecs float64                                                  `json:"step_latency_secs"`
	Type            OptWorkflowToolNestedToolsStepModelOutputType            `json:"type"`
}

Ref: #/components/schemas/WorkflowToolNestedToolsStepModel-Output

func (*WorkflowToolNestedToolsStepModelOutput) Decode

Decode decodes WorkflowToolNestedToolsStepModelOutput from json.

func (*WorkflowToolNestedToolsStepModelOutput) Encode

Encode implements json.Marshaler.

func (*WorkflowToolNestedToolsStepModelOutput) GetIsSuccessful

func (s *WorkflowToolNestedToolsStepModelOutput) GetIsSuccessful() bool

GetIsSuccessful returns the value of IsSuccessful.

func (*WorkflowToolNestedToolsStepModelOutput) GetNodeID

GetNodeID returns the value of NodeID.

func (*WorkflowToolNestedToolsStepModelOutput) GetRequests

GetRequests returns the value of Requests.

func (*WorkflowToolNestedToolsStepModelOutput) GetResults

GetResults returns the value of Results.

func (*WorkflowToolNestedToolsStepModelOutput) GetStepLatencySecs

func (s *WorkflowToolNestedToolsStepModelOutput) GetStepLatencySecs() float64

GetStepLatencySecs returns the value of StepLatencySecs.

func (*WorkflowToolNestedToolsStepModelOutput) GetType

GetType returns the value of Type.

func (*WorkflowToolNestedToolsStepModelOutput) MarshalJSON

func (s *WorkflowToolNestedToolsStepModelOutput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkflowToolNestedToolsStepModelOutput) SetIsSuccessful

func (s *WorkflowToolNestedToolsStepModelOutput) SetIsSuccessful(val bool)

SetIsSuccessful sets the value of IsSuccessful.

func (*WorkflowToolNestedToolsStepModelOutput) SetNodeID

SetNodeID sets the value of NodeID.

func (*WorkflowToolNestedToolsStepModelOutput) SetRequests

SetRequests sets the value of Requests.

func (*WorkflowToolNestedToolsStepModelOutput) SetResults

SetResults sets the value of Results.

func (*WorkflowToolNestedToolsStepModelOutput) SetStepLatencySecs

func (s *WorkflowToolNestedToolsStepModelOutput) SetStepLatencySecs(val float64)

SetStepLatencySecs sets the value of StepLatencySecs.

func (*WorkflowToolNestedToolsStepModelOutput) SetType

SetType sets the value of Type.

func (*WorkflowToolNestedToolsStepModelOutput) UnmarshalJSON

func (s *WorkflowToolNestedToolsStepModelOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkflowToolNestedToolsStepModelOutput) Validate

type WorkflowToolNestedToolsStepModelOutputResultsItem

type WorkflowToolNestedToolsStepModelOutputResultsItem struct {
	Type                                                                     WorkflowToolNestedToolsStepModelOutputResultsItemType // switch on this field
	ConversationHistoryTranscriptOtherToolsResultCommonModel                 ConversationHistoryTranscriptOtherToolsResultCommonModel
	ConversationHistoryTranscriptSystemToolResultCommonModel                 ConversationHistoryTranscriptSystemToolResultCommonModel
	ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel
	ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput        ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput
}

WorkflowToolNestedToolsStepModelOutputResultsItem represents sum type.

func NewConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelWorkflowToolNestedToolsStepModelOutputResultsItem

func NewConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelWorkflowToolNestedToolsStepModelOutputResultsItem(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) WorkflowToolNestedToolsStepModelOutputResultsItem

NewConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelWorkflowToolNestedToolsStepModelOutputResultsItem returns new WorkflowToolNestedToolsStepModelOutputResultsItem from ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.

func NewConversationHistoryTranscriptOtherToolsResultCommonModelWorkflowToolNestedToolsStepModelOutputResultsItem

func NewConversationHistoryTranscriptOtherToolsResultCommonModelWorkflowToolNestedToolsStepModelOutputResultsItem(v ConversationHistoryTranscriptOtherToolsResultCommonModel) WorkflowToolNestedToolsStepModelOutputResultsItem

NewConversationHistoryTranscriptOtherToolsResultCommonModelWorkflowToolNestedToolsStepModelOutputResultsItem returns new WorkflowToolNestedToolsStepModelOutputResultsItem from ConversationHistoryTranscriptOtherToolsResultCommonModel.

func NewConversationHistoryTranscriptSystemToolResultCommonModelWorkflowToolNestedToolsStepModelOutputResultsItem

func NewConversationHistoryTranscriptSystemToolResultCommonModelWorkflowToolNestedToolsStepModelOutputResultsItem(v ConversationHistoryTranscriptSystemToolResultCommonModel) WorkflowToolNestedToolsStepModelOutputResultsItem

NewConversationHistoryTranscriptSystemToolResultCommonModelWorkflowToolNestedToolsStepModelOutputResultsItem returns new WorkflowToolNestedToolsStepModelOutputResultsItem from ConversationHistoryTranscriptSystemToolResultCommonModel.

func NewConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputWorkflowToolNestedToolsStepModelOutputResultsItem

func NewConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputWorkflowToolNestedToolsStepModelOutputResultsItem(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) WorkflowToolNestedToolsStepModelOutputResultsItem

NewConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputWorkflowToolNestedToolsStepModelOutputResultsItem returns new WorkflowToolNestedToolsStepModelOutputResultsItem from ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.

func (*WorkflowToolNestedToolsStepModelOutputResultsItem) Decode

Decode decodes WorkflowToolNestedToolsStepModelOutputResultsItem from json.

func (WorkflowToolNestedToolsStepModelOutputResultsItem) Encode

Encode encodes WorkflowToolNestedToolsStepModelOutputResultsItem as json.

func (WorkflowToolNestedToolsStepModelOutputResultsItem) GetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel

func (s WorkflowToolNestedToolsStepModelOutputResultsItem) GetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel() (v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel, ok bool)

GetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel returns ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel and true boolean if WorkflowToolNestedToolsStepModelOutputResultsItem is ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.

func (WorkflowToolNestedToolsStepModelOutputResultsItem) GetConversationHistoryTranscriptOtherToolsResultCommonModel

func (s WorkflowToolNestedToolsStepModelOutputResultsItem) GetConversationHistoryTranscriptOtherToolsResultCommonModel() (v ConversationHistoryTranscriptOtherToolsResultCommonModel, ok bool)

GetConversationHistoryTranscriptOtherToolsResultCommonModel returns ConversationHistoryTranscriptOtherToolsResultCommonModel and true boolean if WorkflowToolNestedToolsStepModelOutputResultsItem is ConversationHistoryTranscriptOtherToolsResultCommonModel.

func (WorkflowToolNestedToolsStepModelOutputResultsItem) GetConversationHistoryTranscriptSystemToolResultCommonModel

func (s WorkflowToolNestedToolsStepModelOutputResultsItem) GetConversationHistoryTranscriptSystemToolResultCommonModel() (v ConversationHistoryTranscriptSystemToolResultCommonModel, ok bool)

GetConversationHistoryTranscriptSystemToolResultCommonModel returns ConversationHistoryTranscriptSystemToolResultCommonModel and true boolean if WorkflowToolNestedToolsStepModelOutputResultsItem is ConversationHistoryTranscriptSystemToolResultCommonModel.

func (WorkflowToolNestedToolsStepModelOutputResultsItem) GetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput

func (s WorkflowToolNestedToolsStepModelOutputResultsItem) GetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput() (v ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput, ok bool)

GetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput returns ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput and true boolean if WorkflowToolNestedToolsStepModelOutputResultsItem is ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.

func (WorkflowToolNestedToolsStepModelOutputResultsItem) IsConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel

func (s WorkflowToolNestedToolsStepModelOutputResultsItem) IsConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel() bool

IsConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel reports whether WorkflowToolNestedToolsStepModelOutputResultsItem is ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.

func (WorkflowToolNestedToolsStepModelOutputResultsItem) IsConversationHistoryTranscriptOtherToolsResultCommonModel

func (s WorkflowToolNestedToolsStepModelOutputResultsItem) IsConversationHistoryTranscriptOtherToolsResultCommonModel() bool

IsConversationHistoryTranscriptOtherToolsResultCommonModel reports whether WorkflowToolNestedToolsStepModelOutputResultsItem is ConversationHistoryTranscriptOtherToolsResultCommonModel.

func (WorkflowToolNestedToolsStepModelOutputResultsItem) IsConversationHistoryTranscriptSystemToolResultCommonModel

func (s WorkflowToolNestedToolsStepModelOutputResultsItem) IsConversationHistoryTranscriptSystemToolResultCommonModel() bool

IsConversationHistoryTranscriptSystemToolResultCommonModel reports whether WorkflowToolNestedToolsStepModelOutputResultsItem is ConversationHistoryTranscriptSystemToolResultCommonModel.

func (WorkflowToolNestedToolsStepModelOutputResultsItem) IsConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput

func (s WorkflowToolNestedToolsStepModelOutputResultsItem) IsConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput() bool

IsConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput reports whether WorkflowToolNestedToolsStepModelOutputResultsItem is ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.

func (WorkflowToolNestedToolsStepModelOutputResultsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*WorkflowToolNestedToolsStepModelOutputResultsItem) SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel

func (s *WorkflowToolNestedToolsStepModelOutputResultsItem) SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel)

SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel sets WorkflowToolNestedToolsStepModelOutputResultsItem to ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.

func (*WorkflowToolNestedToolsStepModelOutputResultsItem) SetConversationHistoryTranscriptOtherToolsResultCommonModel

func (s *WorkflowToolNestedToolsStepModelOutputResultsItem) SetConversationHistoryTranscriptOtherToolsResultCommonModel(v ConversationHistoryTranscriptOtherToolsResultCommonModel)

SetConversationHistoryTranscriptOtherToolsResultCommonModel sets WorkflowToolNestedToolsStepModelOutputResultsItem to ConversationHistoryTranscriptOtherToolsResultCommonModel.

func (*WorkflowToolNestedToolsStepModelOutputResultsItem) SetConversationHistoryTranscriptSystemToolResultCommonModel

func (s *WorkflowToolNestedToolsStepModelOutputResultsItem) SetConversationHistoryTranscriptSystemToolResultCommonModel(v ConversationHistoryTranscriptSystemToolResultCommonModel)

SetConversationHistoryTranscriptSystemToolResultCommonModel sets WorkflowToolNestedToolsStepModelOutputResultsItem to ConversationHistoryTranscriptSystemToolResultCommonModel.

func (*WorkflowToolNestedToolsStepModelOutputResultsItem) SetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput

func (s *WorkflowToolNestedToolsStepModelOutputResultsItem) SetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput)

SetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput sets WorkflowToolNestedToolsStepModelOutputResultsItem to ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.

func (*WorkflowToolNestedToolsStepModelOutputResultsItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (WorkflowToolNestedToolsStepModelOutputResultsItem) Validate

type WorkflowToolNestedToolsStepModelOutputResultsItemType

type WorkflowToolNestedToolsStepModelOutputResultsItemType string

WorkflowToolNestedToolsStepModelOutputResultsItemType is oneOf type of WorkflowToolNestedToolsStepModelOutputResultsItem.

const (
	ConversationHistoryTranscriptOtherToolsResultCommonModelWorkflowToolNestedToolsStepModelOutputResultsItem                 WorkflowToolNestedToolsStepModelOutputResultsItemType = "ConversationHistoryTranscriptOtherToolsResultCommonModel"
	ConversationHistoryTranscriptSystemToolResultCommonModelWorkflowToolNestedToolsStepModelOutputResultsItem                 WorkflowToolNestedToolsStepModelOutputResultsItemType = "ConversationHistoryTranscriptSystemToolResultCommonModel"
	ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelWorkflowToolNestedToolsStepModelOutputResultsItem WorkflowToolNestedToolsStepModelOutputResultsItemType = "ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel"
	ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputWorkflowToolNestedToolsStepModelOutputResultsItem        WorkflowToolNestedToolsStepModelOutputResultsItemType = "ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput"
)

Possible values for WorkflowToolNestedToolsStepModelOutputResultsItemType.

type WorkflowToolNestedToolsStepModelOutputType

type WorkflowToolNestedToolsStepModelOutputType string
const (
	WorkflowToolNestedToolsStepModelOutputTypeNestedTools WorkflowToolNestedToolsStepModelOutputType = "nested_tools"
)

func (WorkflowToolNestedToolsStepModelOutputType) AllValues

AllValues returns all WorkflowToolNestedToolsStepModelOutputType values.

func (*WorkflowToolNestedToolsStepModelOutputType) Decode

Decode decodes WorkflowToolNestedToolsStepModelOutputType from json.

func (WorkflowToolNestedToolsStepModelOutputType) Encode

Encode encodes WorkflowToolNestedToolsStepModelOutputType as json.

func (WorkflowToolNestedToolsStepModelOutputType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (WorkflowToolNestedToolsStepModelOutputType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*WorkflowToolNestedToolsStepModelOutputType) UnmarshalJSON

func (s *WorkflowToolNestedToolsStepModelOutputType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkflowToolNestedToolsStepModelOutputType) UnmarshalText

func (s *WorkflowToolNestedToolsStepModelOutputType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WorkflowToolNestedToolsStepModelOutputType) Validate

type WorkflowToolResponseModelInput

type WorkflowToolResponseModelInput struct {
	Steps []WorkflowToolResponseModelInputStepsItem `json:"steps"`
}

A common model for workflow tool responses. Ref: #/components/schemas/WorkflowToolResponseModel-Input

func (*WorkflowToolResponseModelInput) Decode

Decode decodes WorkflowToolResponseModelInput from json.

func (*WorkflowToolResponseModelInput) Encode

Encode implements json.Marshaler.

func (*WorkflowToolResponseModelInput) GetSteps

GetSteps returns the value of Steps.

func (*WorkflowToolResponseModelInput) MarshalJSON

func (s *WorkflowToolResponseModelInput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkflowToolResponseModelInput) SetSteps

SetSteps sets the value of Steps.

func (*WorkflowToolResponseModelInput) UnmarshalJSON

func (s *WorkflowToolResponseModelInput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkflowToolResponseModelInput) Validate

func (s *WorkflowToolResponseModelInput) Validate() error

type WorkflowToolResponseModelInputStepsItem

type WorkflowToolResponseModelInputStepsItem struct {
	Type                                       WorkflowToolResponseModelInputStepsItemType // switch on this field
	WorkflowToolEdgeStepModel                  WorkflowToolEdgeStepModel
	WorkflowToolNestedToolsStepModelInput      WorkflowToolNestedToolsStepModelInput
	WorkflowToolMaxIterationsExceededStepModel WorkflowToolMaxIterationsExceededStepModel
}

WorkflowToolResponseModelInputStepsItem represents sum type.

func NewWorkflowToolEdgeStepModelWorkflowToolResponseModelInputStepsItem

func NewWorkflowToolEdgeStepModelWorkflowToolResponseModelInputStepsItem(v WorkflowToolEdgeStepModel) WorkflowToolResponseModelInputStepsItem

NewWorkflowToolEdgeStepModelWorkflowToolResponseModelInputStepsItem returns new WorkflowToolResponseModelInputStepsItem from WorkflowToolEdgeStepModel.

func NewWorkflowToolMaxIterationsExceededStepModelWorkflowToolResponseModelInputStepsItem

func NewWorkflowToolMaxIterationsExceededStepModelWorkflowToolResponseModelInputStepsItem(v WorkflowToolMaxIterationsExceededStepModel) WorkflowToolResponseModelInputStepsItem

NewWorkflowToolMaxIterationsExceededStepModelWorkflowToolResponseModelInputStepsItem returns new WorkflowToolResponseModelInputStepsItem from WorkflowToolMaxIterationsExceededStepModel.

func NewWorkflowToolNestedToolsStepModelInputWorkflowToolResponseModelInputStepsItem

func NewWorkflowToolNestedToolsStepModelInputWorkflowToolResponseModelInputStepsItem(v WorkflowToolNestedToolsStepModelInput) WorkflowToolResponseModelInputStepsItem

NewWorkflowToolNestedToolsStepModelInputWorkflowToolResponseModelInputStepsItem returns new WorkflowToolResponseModelInputStepsItem from WorkflowToolNestedToolsStepModelInput.

func (*WorkflowToolResponseModelInputStepsItem) Decode

Decode decodes WorkflowToolResponseModelInputStepsItem from json.

func (WorkflowToolResponseModelInputStepsItem) Encode

Encode encodes WorkflowToolResponseModelInputStepsItem as json.

func (WorkflowToolResponseModelInputStepsItem) GetWorkflowToolEdgeStepModel

func (s WorkflowToolResponseModelInputStepsItem) GetWorkflowToolEdgeStepModel() (v WorkflowToolEdgeStepModel, ok bool)

GetWorkflowToolEdgeStepModel returns WorkflowToolEdgeStepModel and true boolean if WorkflowToolResponseModelInputStepsItem is WorkflowToolEdgeStepModel.

func (WorkflowToolResponseModelInputStepsItem) GetWorkflowToolMaxIterationsExceededStepModel

func (s WorkflowToolResponseModelInputStepsItem) GetWorkflowToolMaxIterationsExceededStepModel() (v WorkflowToolMaxIterationsExceededStepModel, ok bool)

GetWorkflowToolMaxIterationsExceededStepModel returns WorkflowToolMaxIterationsExceededStepModel and true boolean if WorkflowToolResponseModelInputStepsItem is WorkflowToolMaxIterationsExceededStepModel.

func (WorkflowToolResponseModelInputStepsItem) GetWorkflowToolNestedToolsStepModelInput

func (s WorkflowToolResponseModelInputStepsItem) GetWorkflowToolNestedToolsStepModelInput() (v WorkflowToolNestedToolsStepModelInput, ok bool)

GetWorkflowToolNestedToolsStepModelInput returns WorkflowToolNestedToolsStepModelInput and true boolean if WorkflowToolResponseModelInputStepsItem is WorkflowToolNestedToolsStepModelInput.

func (WorkflowToolResponseModelInputStepsItem) IsWorkflowToolEdgeStepModel

func (s WorkflowToolResponseModelInputStepsItem) IsWorkflowToolEdgeStepModel() bool

IsWorkflowToolEdgeStepModel reports whether WorkflowToolResponseModelInputStepsItem is WorkflowToolEdgeStepModel.

func (WorkflowToolResponseModelInputStepsItem) IsWorkflowToolMaxIterationsExceededStepModel

func (s WorkflowToolResponseModelInputStepsItem) IsWorkflowToolMaxIterationsExceededStepModel() bool

IsWorkflowToolMaxIterationsExceededStepModel reports whether WorkflowToolResponseModelInputStepsItem is WorkflowToolMaxIterationsExceededStepModel.

func (WorkflowToolResponseModelInputStepsItem) IsWorkflowToolNestedToolsStepModelInput

func (s WorkflowToolResponseModelInputStepsItem) IsWorkflowToolNestedToolsStepModelInput() bool

IsWorkflowToolNestedToolsStepModelInput reports whether WorkflowToolResponseModelInputStepsItem is WorkflowToolNestedToolsStepModelInput.

func (WorkflowToolResponseModelInputStepsItem) MarshalJSON

func (s WorkflowToolResponseModelInputStepsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkflowToolResponseModelInputStepsItem) SetWorkflowToolEdgeStepModel

func (s *WorkflowToolResponseModelInputStepsItem) SetWorkflowToolEdgeStepModel(v WorkflowToolEdgeStepModel)

SetWorkflowToolEdgeStepModel sets WorkflowToolResponseModelInputStepsItem to WorkflowToolEdgeStepModel.

func (*WorkflowToolResponseModelInputStepsItem) SetWorkflowToolMaxIterationsExceededStepModel

func (s *WorkflowToolResponseModelInputStepsItem) SetWorkflowToolMaxIterationsExceededStepModel(v WorkflowToolMaxIterationsExceededStepModel)

SetWorkflowToolMaxIterationsExceededStepModel sets WorkflowToolResponseModelInputStepsItem to WorkflowToolMaxIterationsExceededStepModel.

func (*WorkflowToolResponseModelInputStepsItem) SetWorkflowToolNestedToolsStepModelInput

func (s *WorkflowToolResponseModelInputStepsItem) SetWorkflowToolNestedToolsStepModelInput(v WorkflowToolNestedToolsStepModelInput)

SetWorkflowToolNestedToolsStepModelInput sets WorkflowToolResponseModelInputStepsItem to WorkflowToolNestedToolsStepModelInput.

func (*WorkflowToolResponseModelInputStepsItem) UnmarshalJSON

func (s *WorkflowToolResponseModelInputStepsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (WorkflowToolResponseModelInputStepsItem) Validate

type WorkflowToolResponseModelInputStepsItemType

type WorkflowToolResponseModelInputStepsItemType string

WorkflowToolResponseModelInputStepsItemType is oneOf type of WorkflowToolResponseModelInputStepsItem.

const (
	WorkflowToolEdgeStepModelWorkflowToolResponseModelInputStepsItem                  WorkflowToolResponseModelInputStepsItemType = "edge"
	WorkflowToolNestedToolsStepModelInputWorkflowToolResponseModelInputStepsItem      WorkflowToolResponseModelInputStepsItemType = "nested_tools"
	WorkflowToolMaxIterationsExceededStepModelWorkflowToolResponseModelInputStepsItem WorkflowToolResponseModelInputStepsItemType = "max_iterations_exceeded"
)

Possible values for WorkflowToolResponseModelInputStepsItemType.

type WorkflowToolResponseModelOutput

type WorkflowToolResponseModelOutput struct {
	Steps []WorkflowToolResponseModelOutputStepsItem `json:"steps"`
}

A common model for workflow tool responses. Ref: #/components/schemas/WorkflowToolResponseModel-Output

func (*WorkflowToolResponseModelOutput) Decode

Decode decodes WorkflowToolResponseModelOutput from json.

func (*WorkflowToolResponseModelOutput) Encode

Encode implements json.Marshaler.

func (*WorkflowToolResponseModelOutput) GetSteps

GetSteps returns the value of Steps.

func (*WorkflowToolResponseModelOutput) MarshalJSON

func (s *WorkflowToolResponseModelOutput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkflowToolResponseModelOutput) SetSteps

SetSteps sets the value of Steps.

func (*WorkflowToolResponseModelOutput) UnmarshalJSON

func (s *WorkflowToolResponseModelOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkflowToolResponseModelOutput) Validate

func (s *WorkflowToolResponseModelOutput) Validate() error

type WorkflowToolResponseModelOutputStepsItem

type WorkflowToolResponseModelOutputStepsItem struct {
	Type                                       WorkflowToolResponseModelOutputStepsItemType // switch on this field
	WorkflowToolEdgeStepModel                  WorkflowToolEdgeStepModel
	WorkflowToolNestedToolsStepModelOutput     WorkflowToolNestedToolsStepModelOutput
	WorkflowToolMaxIterationsExceededStepModel WorkflowToolMaxIterationsExceededStepModel
}

WorkflowToolResponseModelOutputStepsItem represents sum type.

func NewWorkflowToolEdgeStepModelWorkflowToolResponseModelOutputStepsItem

func NewWorkflowToolEdgeStepModelWorkflowToolResponseModelOutputStepsItem(v WorkflowToolEdgeStepModel) WorkflowToolResponseModelOutputStepsItem

NewWorkflowToolEdgeStepModelWorkflowToolResponseModelOutputStepsItem returns new WorkflowToolResponseModelOutputStepsItem from WorkflowToolEdgeStepModel.

func NewWorkflowToolMaxIterationsExceededStepModelWorkflowToolResponseModelOutputStepsItem

func NewWorkflowToolMaxIterationsExceededStepModelWorkflowToolResponseModelOutputStepsItem(v WorkflowToolMaxIterationsExceededStepModel) WorkflowToolResponseModelOutputStepsItem

NewWorkflowToolMaxIterationsExceededStepModelWorkflowToolResponseModelOutputStepsItem returns new WorkflowToolResponseModelOutputStepsItem from WorkflowToolMaxIterationsExceededStepModel.

func NewWorkflowToolNestedToolsStepModelOutputWorkflowToolResponseModelOutputStepsItem

func NewWorkflowToolNestedToolsStepModelOutputWorkflowToolResponseModelOutputStepsItem(v WorkflowToolNestedToolsStepModelOutput) WorkflowToolResponseModelOutputStepsItem

NewWorkflowToolNestedToolsStepModelOutputWorkflowToolResponseModelOutputStepsItem returns new WorkflowToolResponseModelOutputStepsItem from WorkflowToolNestedToolsStepModelOutput.

func (*WorkflowToolResponseModelOutputStepsItem) Decode

Decode decodes WorkflowToolResponseModelOutputStepsItem from json.

func (WorkflowToolResponseModelOutputStepsItem) Encode

Encode encodes WorkflowToolResponseModelOutputStepsItem as json.

func (WorkflowToolResponseModelOutputStepsItem) GetWorkflowToolEdgeStepModel

func (s WorkflowToolResponseModelOutputStepsItem) GetWorkflowToolEdgeStepModel() (v WorkflowToolEdgeStepModel, ok bool)

GetWorkflowToolEdgeStepModel returns WorkflowToolEdgeStepModel and true boolean if WorkflowToolResponseModelOutputStepsItem is WorkflowToolEdgeStepModel.

func (WorkflowToolResponseModelOutputStepsItem) GetWorkflowToolMaxIterationsExceededStepModel

func (s WorkflowToolResponseModelOutputStepsItem) GetWorkflowToolMaxIterationsExceededStepModel() (v WorkflowToolMaxIterationsExceededStepModel, ok bool)

GetWorkflowToolMaxIterationsExceededStepModel returns WorkflowToolMaxIterationsExceededStepModel and true boolean if WorkflowToolResponseModelOutputStepsItem is WorkflowToolMaxIterationsExceededStepModel.

func (WorkflowToolResponseModelOutputStepsItem) GetWorkflowToolNestedToolsStepModelOutput

func (s WorkflowToolResponseModelOutputStepsItem) GetWorkflowToolNestedToolsStepModelOutput() (v WorkflowToolNestedToolsStepModelOutput, ok bool)

GetWorkflowToolNestedToolsStepModelOutput returns WorkflowToolNestedToolsStepModelOutput and true boolean if WorkflowToolResponseModelOutputStepsItem is WorkflowToolNestedToolsStepModelOutput.

func (WorkflowToolResponseModelOutputStepsItem) IsWorkflowToolEdgeStepModel

func (s WorkflowToolResponseModelOutputStepsItem) IsWorkflowToolEdgeStepModel() bool

IsWorkflowToolEdgeStepModel reports whether WorkflowToolResponseModelOutputStepsItem is WorkflowToolEdgeStepModel.

func (WorkflowToolResponseModelOutputStepsItem) IsWorkflowToolMaxIterationsExceededStepModel

func (s WorkflowToolResponseModelOutputStepsItem) IsWorkflowToolMaxIterationsExceededStepModel() bool

IsWorkflowToolMaxIterationsExceededStepModel reports whether WorkflowToolResponseModelOutputStepsItem is WorkflowToolMaxIterationsExceededStepModel.

func (WorkflowToolResponseModelOutputStepsItem) IsWorkflowToolNestedToolsStepModelOutput

func (s WorkflowToolResponseModelOutputStepsItem) IsWorkflowToolNestedToolsStepModelOutput() bool

IsWorkflowToolNestedToolsStepModelOutput reports whether WorkflowToolResponseModelOutputStepsItem is WorkflowToolNestedToolsStepModelOutput.

func (WorkflowToolResponseModelOutputStepsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*WorkflowToolResponseModelOutputStepsItem) SetWorkflowToolEdgeStepModel

func (s *WorkflowToolResponseModelOutputStepsItem) SetWorkflowToolEdgeStepModel(v WorkflowToolEdgeStepModel)

SetWorkflowToolEdgeStepModel sets WorkflowToolResponseModelOutputStepsItem to WorkflowToolEdgeStepModel.

func (*WorkflowToolResponseModelOutputStepsItem) SetWorkflowToolMaxIterationsExceededStepModel

func (s *WorkflowToolResponseModelOutputStepsItem) SetWorkflowToolMaxIterationsExceededStepModel(v WorkflowToolMaxIterationsExceededStepModel)

SetWorkflowToolMaxIterationsExceededStepModel sets WorkflowToolResponseModelOutputStepsItem to WorkflowToolMaxIterationsExceededStepModel.

func (*WorkflowToolResponseModelOutputStepsItem) SetWorkflowToolNestedToolsStepModelOutput

func (s *WorkflowToolResponseModelOutputStepsItem) SetWorkflowToolNestedToolsStepModelOutput(v WorkflowToolNestedToolsStepModelOutput)

SetWorkflowToolNestedToolsStepModelOutput sets WorkflowToolResponseModelOutputStepsItem to WorkflowToolNestedToolsStepModelOutput.

func (*WorkflowToolResponseModelOutputStepsItem) UnmarshalJSON

func (s *WorkflowToolResponseModelOutputStepsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (WorkflowToolResponseModelOutputStepsItem) Validate

type WorkflowToolResponseModelOutputStepsItemType

type WorkflowToolResponseModelOutputStepsItemType string

WorkflowToolResponseModelOutputStepsItemType is oneOf type of WorkflowToolResponseModelOutputStepsItem.

const (
	WorkflowToolEdgeStepModelWorkflowToolResponseModelOutputStepsItem                  WorkflowToolResponseModelOutputStepsItemType = "edge"
	WorkflowToolNestedToolsStepModelOutputWorkflowToolResponseModelOutputStepsItem     WorkflowToolResponseModelOutputStepsItemType = "nested_tools"
	WorkflowToolMaxIterationsExceededStepModelWorkflowToolResponseModelOutputStepsItem WorkflowToolResponseModelOutputStepsItemType = "max_iterations_exceeded"
)

Possible values for WorkflowToolResponseModelOutputStepsItemType.

type WorkspaceApiKeyListResponseModel

type WorkspaceApiKeyListResponseModel struct {
	APIMinusKeys []WorkspaceApiKeyResponseModel `json:"api-keys"`
}

Ref: #/components/schemas/WorkspaceApiKeyListResponseModel

func (*WorkspaceApiKeyListResponseModel) Decode

Decode decodes WorkspaceApiKeyListResponseModel from json.

func (*WorkspaceApiKeyListResponseModel) Encode

Encode implements json.Marshaler.

func (*WorkspaceApiKeyListResponseModel) GetAPIMinusKeys

GetAPIMinusKeys returns the value of APIMinusKeys.

func (*WorkspaceApiKeyListResponseModel) MarshalJSON

func (s *WorkspaceApiKeyListResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkspaceApiKeyListResponseModel) SetAPIMinusKeys

SetAPIMinusKeys sets the value of APIMinusKeys.

func (*WorkspaceApiKeyListResponseModel) UnmarshalJSON

func (s *WorkspaceApiKeyListResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkspaceApiKeyListResponseModel) Validate

type WorkspaceApiKeyResponseModel

type WorkspaceApiKeyResponseModel struct {
	CharacterCount       OptNilInt                                              `json:"character_count"`
	CharacterLimit       OptNilInt                                              `json:"character_limit"`
	CreatedAtUnix        OptNilInt                                              `json:"created_at_unix"`
	Hint                 string                                                 `json:"hint"`
	IsDisabled           OptBool                                                `json:"is_disabled"`
	KeyID                string                                                 `json:"key_id"`
	Name                 string                                                 `json:"name"`
	Permissions          OptNilWorkspaceApiKeyResponseModelPermissionsItemArray `json:"permissions"`
	ServiceAccountUserID string                                                 `json:"service_account_user_id"`
}

Ref: #/components/schemas/WorkspaceApiKeyResponseModel

func (*WorkspaceApiKeyResponseModel) Decode

Decode decodes WorkspaceApiKeyResponseModel from json.

func (*WorkspaceApiKeyResponseModel) Encode

func (s *WorkspaceApiKeyResponseModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WorkspaceApiKeyResponseModel) GetCharacterCount

func (s *WorkspaceApiKeyResponseModel) GetCharacterCount() OptNilInt

GetCharacterCount returns the value of CharacterCount.

func (*WorkspaceApiKeyResponseModel) GetCharacterLimit

func (s *WorkspaceApiKeyResponseModel) GetCharacterLimit() OptNilInt

GetCharacterLimit returns the value of CharacterLimit.

func (*WorkspaceApiKeyResponseModel) GetCreatedAtUnix

func (s *WorkspaceApiKeyResponseModel) GetCreatedAtUnix() OptNilInt

GetCreatedAtUnix returns the value of CreatedAtUnix.

func (*WorkspaceApiKeyResponseModel) GetHint

func (s *WorkspaceApiKeyResponseModel) GetHint() string

GetHint returns the value of Hint.

func (*WorkspaceApiKeyResponseModel) GetIsDisabled

func (s *WorkspaceApiKeyResponseModel) GetIsDisabled() OptBool

GetIsDisabled returns the value of IsDisabled.

func (*WorkspaceApiKeyResponseModel) GetKeyID

func (s *WorkspaceApiKeyResponseModel) GetKeyID() string

GetKeyID returns the value of KeyID.

func (*WorkspaceApiKeyResponseModel) GetName

func (s *WorkspaceApiKeyResponseModel) GetName() string

GetName returns the value of Name.

func (*WorkspaceApiKeyResponseModel) GetPermissions

GetPermissions returns the value of Permissions.

func (*WorkspaceApiKeyResponseModel) GetServiceAccountUserID

func (s *WorkspaceApiKeyResponseModel) GetServiceAccountUserID() string

GetServiceAccountUserID returns the value of ServiceAccountUserID.

func (*WorkspaceApiKeyResponseModel) MarshalJSON

func (s *WorkspaceApiKeyResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkspaceApiKeyResponseModel) SetCharacterCount

func (s *WorkspaceApiKeyResponseModel) SetCharacterCount(val OptNilInt)

SetCharacterCount sets the value of CharacterCount.

func (*WorkspaceApiKeyResponseModel) SetCharacterLimit

func (s *WorkspaceApiKeyResponseModel) SetCharacterLimit(val OptNilInt)

SetCharacterLimit sets the value of CharacterLimit.

func (*WorkspaceApiKeyResponseModel) SetCreatedAtUnix

func (s *WorkspaceApiKeyResponseModel) SetCreatedAtUnix(val OptNilInt)

SetCreatedAtUnix sets the value of CreatedAtUnix.

func (*WorkspaceApiKeyResponseModel) SetHint

func (s *WorkspaceApiKeyResponseModel) SetHint(val string)

SetHint sets the value of Hint.

func (*WorkspaceApiKeyResponseModel) SetIsDisabled

func (s *WorkspaceApiKeyResponseModel) SetIsDisabled(val OptBool)

SetIsDisabled sets the value of IsDisabled.

func (*WorkspaceApiKeyResponseModel) SetKeyID

func (s *WorkspaceApiKeyResponseModel) SetKeyID(val string)

SetKeyID sets the value of KeyID.

func (*WorkspaceApiKeyResponseModel) SetName

func (s *WorkspaceApiKeyResponseModel) SetName(val string)

SetName sets the value of Name.

func (*WorkspaceApiKeyResponseModel) SetPermissions

SetPermissions sets the value of Permissions.

func (*WorkspaceApiKeyResponseModel) SetServiceAccountUserID

func (s *WorkspaceApiKeyResponseModel) SetServiceAccountUserID(val string)

SetServiceAccountUserID sets the value of ServiceAccountUserID.

func (*WorkspaceApiKeyResponseModel) UnmarshalJSON

func (s *WorkspaceApiKeyResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkspaceApiKeyResponseModel) Validate

func (s *WorkspaceApiKeyResponseModel) Validate() error

type WorkspaceApiKeyResponseModelPermissionsItem

type WorkspaceApiKeyResponseModelPermissionsItem string
const (
	WorkspaceApiKeyResponseModelPermissionsItemTextToSpeech                   WorkspaceApiKeyResponseModelPermissionsItem = "text_to_speech"
	WorkspaceApiKeyResponseModelPermissionsItemSpeechToSpeech                 WorkspaceApiKeyResponseModelPermissionsItem = "speech_to_speech"
	WorkspaceApiKeyResponseModelPermissionsItemSpeechToText                   WorkspaceApiKeyResponseModelPermissionsItem = "speech_to_text"
	WorkspaceApiKeyResponseModelPermissionsItemModelsRead                     WorkspaceApiKeyResponseModelPermissionsItem = "models_read"
	WorkspaceApiKeyResponseModelPermissionsItemModelsWrite                    WorkspaceApiKeyResponseModelPermissionsItem = "models_write"
	WorkspaceApiKeyResponseModelPermissionsItemVoicesRead                     WorkspaceApiKeyResponseModelPermissionsItem = "voices_read"
	WorkspaceApiKeyResponseModelPermissionsItemVoicesWrite                    WorkspaceApiKeyResponseModelPermissionsItem = "voices_write"
	WorkspaceApiKeyResponseModelPermissionsItemSpeechHistoryRead              WorkspaceApiKeyResponseModelPermissionsItem = "speech_history_read"
	WorkspaceApiKeyResponseModelPermissionsItemSpeechHistoryWrite             WorkspaceApiKeyResponseModelPermissionsItem = "speech_history_write"
	WorkspaceApiKeyResponseModelPermissionsItemSoundGeneration                WorkspaceApiKeyResponseModelPermissionsItem = "sound_generation"
	WorkspaceApiKeyResponseModelPermissionsItemAudioIsolation                 WorkspaceApiKeyResponseModelPermissionsItem = "audio_isolation"
	WorkspaceApiKeyResponseModelPermissionsItemVoiceGeneration                WorkspaceApiKeyResponseModelPermissionsItem = "voice_generation"
	WorkspaceApiKeyResponseModelPermissionsItemDubbingRead                    WorkspaceApiKeyResponseModelPermissionsItem = "dubbing_read"
	WorkspaceApiKeyResponseModelPermissionsItemDubbingWrite                   WorkspaceApiKeyResponseModelPermissionsItem = "dubbing_write"
	WorkspaceApiKeyResponseModelPermissionsItemPronunciationDictionariesRead  WorkspaceApiKeyResponseModelPermissionsItem = "pronunciation_dictionaries_read"
	WorkspaceApiKeyResponseModelPermissionsItemPronunciationDictionariesWrite WorkspaceApiKeyResponseModelPermissionsItem = "pronunciation_dictionaries_write"
	WorkspaceApiKeyResponseModelPermissionsItemUserRead                       WorkspaceApiKeyResponseModelPermissionsItem = "user_read"
	WorkspaceApiKeyResponseModelPermissionsItemUserWrite                      WorkspaceApiKeyResponseModelPermissionsItem = "user_write"
	WorkspaceApiKeyResponseModelPermissionsItemProjectsRead                   WorkspaceApiKeyResponseModelPermissionsItem = "projects_read"
	WorkspaceApiKeyResponseModelPermissionsItemProjectsWrite                  WorkspaceApiKeyResponseModelPermissionsItem = "projects_write"
	WorkspaceApiKeyResponseModelPermissionsItemAudioNativeRead                WorkspaceApiKeyResponseModelPermissionsItem = "audio_native_read"
	WorkspaceApiKeyResponseModelPermissionsItemAudioNativeWrite               WorkspaceApiKeyResponseModelPermissionsItem = "audio_native_write"
	WorkspaceApiKeyResponseModelPermissionsItemWorkspaceRead                  WorkspaceApiKeyResponseModelPermissionsItem = "workspace_read"
	WorkspaceApiKeyResponseModelPermissionsItemWorkspaceWrite                 WorkspaceApiKeyResponseModelPermissionsItem = "workspace_write"
	WorkspaceApiKeyResponseModelPermissionsItemForcedAlignment                WorkspaceApiKeyResponseModelPermissionsItem = "forced_alignment"
	WorkspaceApiKeyResponseModelPermissionsItemConvaiRead                     WorkspaceApiKeyResponseModelPermissionsItem = "convai_read"
	WorkspaceApiKeyResponseModelPermissionsItemConvaiWrite                    WorkspaceApiKeyResponseModelPermissionsItem = "convai_write"
	WorkspaceApiKeyResponseModelPermissionsItemMusicGeneration                WorkspaceApiKeyResponseModelPermissionsItem = "music_generation"
)

func (WorkspaceApiKeyResponseModelPermissionsItem) AllValues

AllValues returns all WorkspaceApiKeyResponseModelPermissionsItem values.

func (*WorkspaceApiKeyResponseModelPermissionsItem) Decode

Decode decodes WorkspaceApiKeyResponseModelPermissionsItem from json.

func (WorkspaceApiKeyResponseModelPermissionsItem) Encode

Encode encodes WorkspaceApiKeyResponseModelPermissionsItem as json.

func (WorkspaceApiKeyResponseModelPermissionsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (WorkspaceApiKeyResponseModelPermissionsItem) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*WorkspaceApiKeyResponseModelPermissionsItem) UnmarshalJSON

func (s *WorkspaceApiKeyResponseModelPermissionsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkspaceApiKeyResponseModelPermissionsItem) UnmarshalText

func (s *WorkspaceApiKeyResponseModelPermissionsItem) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WorkspaceApiKeyResponseModelPermissionsItem) Validate

type WorkspaceBatchCallsResponse

type WorkspaceBatchCallsResponse struct {
	BatchCalls []BatchCallResponse `json:"batch_calls"`
	// Whether there are more batch calls to paginate through.
	HasMore OptBool `json:"has_more"`
	// The next document, used to paginate through the batch calls.
	NextDoc OptNilString `json:"next_doc"`
}

Ref: #/components/schemas/WorkspaceBatchCallsResponse

func (*WorkspaceBatchCallsResponse) Decode

Decode decodes WorkspaceBatchCallsResponse from json.

func (*WorkspaceBatchCallsResponse) Encode

func (s *WorkspaceBatchCallsResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WorkspaceBatchCallsResponse) GetBatchCalls

func (s *WorkspaceBatchCallsResponse) GetBatchCalls() []BatchCallResponse

GetBatchCalls returns the value of BatchCalls.

func (*WorkspaceBatchCallsResponse) GetHasMore

func (s *WorkspaceBatchCallsResponse) GetHasMore() OptBool

GetHasMore returns the value of HasMore.

func (*WorkspaceBatchCallsResponse) GetNextDoc

func (s *WorkspaceBatchCallsResponse) GetNextDoc() OptNilString

GetNextDoc returns the value of NextDoc.

func (*WorkspaceBatchCallsResponse) MarshalJSON

func (s *WorkspaceBatchCallsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkspaceBatchCallsResponse) SetBatchCalls

func (s *WorkspaceBatchCallsResponse) SetBatchCalls(val []BatchCallResponse)

SetBatchCalls sets the value of BatchCalls.

func (*WorkspaceBatchCallsResponse) SetHasMore

func (s *WorkspaceBatchCallsResponse) SetHasMore(val OptBool)

SetHasMore sets the value of HasMore.

func (*WorkspaceBatchCallsResponse) SetNextDoc

func (s *WorkspaceBatchCallsResponse) SetNextDoc(val OptNilString)

SetNextDoc sets the value of NextDoc.

func (*WorkspaceBatchCallsResponse) UnmarshalJSON

func (s *WorkspaceBatchCallsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkspaceBatchCallsResponse) Validate

func (s *WorkspaceBatchCallsResponse) Validate() error

type WorkspaceCreateApiKeyResponseModel

type WorkspaceCreateApiKeyResponseModel struct {
	KeyID              string `json:"key_id"`
	XiMinusAPIMinusKey string `json:"xi-api-key"`
}

Ref: #/components/schemas/WorkspaceCreateApiKeyResponseModel

func (*WorkspaceCreateApiKeyResponseModel) Decode

Decode decodes WorkspaceCreateApiKeyResponseModel from json.

func (*WorkspaceCreateApiKeyResponseModel) Encode

Encode implements json.Marshaler.

func (*WorkspaceCreateApiKeyResponseModel) GetKeyID

GetKeyID returns the value of KeyID.

func (*WorkspaceCreateApiKeyResponseModel) GetXiMinusAPIMinusKey

func (s *WorkspaceCreateApiKeyResponseModel) GetXiMinusAPIMinusKey() string

GetXiMinusAPIMinusKey returns the value of XiMinusAPIMinusKey.

func (*WorkspaceCreateApiKeyResponseModel) MarshalJSON

func (s *WorkspaceCreateApiKeyResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkspaceCreateApiKeyResponseModel) SetKeyID

func (s *WorkspaceCreateApiKeyResponseModel) SetKeyID(val string)

SetKeyID sets the value of KeyID.

func (*WorkspaceCreateApiKeyResponseModel) SetXiMinusAPIMinusKey

func (s *WorkspaceCreateApiKeyResponseModel) SetXiMinusAPIMinusKey(val string)

SetXiMinusAPIMinusKey sets the value of XiMinusAPIMinusKey.

func (*WorkspaceCreateApiKeyResponseModel) UnmarshalJSON

func (s *WorkspaceCreateApiKeyResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WorkspaceCreateWebhookResponseModel

type WorkspaceCreateWebhookResponseModel struct {
	WebhookID     string       `json:"webhook_id"`
	WebhookSecret OptNilString `json:"webhook_secret"`
}

Ref: #/components/schemas/WorkspaceCreateWebhookResponseModel

func (*WorkspaceCreateWebhookResponseModel) Decode

Decode decodes WorkspaceCreateWebhookResponseModel from json.

func (*WorkspaceCreateWebhookResponseModel) Encode

Encode implements json.Marshaler.

func (*WorkspaceCreateWebhookResponseModel) GetWebhookID

func (s *WorkspaceCreateWebhookResponseModel) GetWebhookID() string

GetWebhookID returns the value of WebhookID.

func (*WorkspaceCreateWebhookResponseModel) GetWebhookSecret

func (s *WorkspaceCreateWebhookResponseModel) GetWebhookSecret() OptNilString

GetWebhookSecret returns the value of WebhookSecret.

func (*WorkspaceCreateWebhookResponseModel) MarshalJSON

func (s *WorkspaceCreateWebhookResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkspaceCreateWebhookResponseModel) SetWebhookID

func (s *WorkspaceCreateWebhookResponseModel) SetWebhookID(val string)

SetWebhookID sets the value of WebhookID.

func (*WorkspaceCreateWebhookResponseModel) SetWebhookSecret

func (s *WorkspaceCreateWebhookResponseModel) SetWebhookSecret(val OptNilString)

SetWebhookSecret sets the value of WebhookSecret.

func (*WorkspaceCreateWebhookResponseModel) UnmarshalJSON

func (s *WorkspaceCreateWebhookResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WorkspaceGroupByNameResponseModel

type WorkspaceGroupByNameResponseModel struct {
	// The ID of the workspace group.
	ID string `json:"id"`
	// The emails of the members of the workspace group.
	MembersEmails []string `json:"members_emails"`
	// The name of the workspace group.
	Name string `json:"name"`
}

Ref: #/components/schemas/WorkspaceGroupByNameResponseModel

func (*WorkspaceGroupByNameResponseModel) Decode

Decode decodes WorkspaceGroupByNameResponseModel from json.

func (*WorkspaceGroupByNameResponseModel) Encode

Encode implements json.Marshaler.

func (*WorkspaceGroupByNameResponseModel) GetID

GetID returns the value of ID.

func (*WorkspaceGroupByNameResponseModel) GetMembersEmails

func (s *WorkspaceGroupByNameResponseModel) GetMembersEmails() []string

GetMembersEmails returns the value of MembersEmails.

func (*WorkspaceGroupByNameResponseModel) GetName

GetName returns the value of Name.

func (*WorkspaceGroupByNameResponseModel) MarshalJSON

func (s *WorkspaceGroupByNameResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkspaceGroupByNameResponseModel) SetID

SetID sets the value of ID.

func (*WorkspaceGroupByNameResponseModel) SetMembersEmails

func (s *WorkspaceGroupByNameResponseModel) SetMembersEmails(val []string)

SetMembersEmails sets the value of MembersEmails.

func (*WorkspaceGroupByNameResponseModel) SetName

func (s *WorkspaceGroupByNameResponseModel) SetName(val string)

SetName sets the value of Name.

func (*WorkspaceGroupByNameResponseModel) UnmarshalJSON

func (s *WorkspaceGroupByNameResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkspaceGroupByNameResponseModel) Validate

type WorkspaceResourceType

type WorkspaceResourceType string

Resource types that can be shared in the workspace. The name always need to match the collection names. Ref: #/components/schemas/WorkspaceResourceType

const (
	WorkspaceResourceTypeVoice                                  WorkspaceResourceType = "voice"
	WorkspaceResourceTypeVoiceCollection                        WorkspaceResourceType = "voice_collection"
	WorkspaceResourceTypePronunciationDictionary                WorkspaceResourceType = "pronunciation_dictionary"
	WorkspaceResourceTypeDubbing                                WorkspaceResourceType = "dubbing"
	WorkspaceResourceTypeProject                                WorkspaceResourceType = "project"
	WorkspaceResourceTypeConvaiAgents                           WorkspaceResourceType = "convai_agents"
	WorkspaceResourceTypeConvaiKnowledgeBaseDocuments           WorkspaceResourceType = "convai_knowledge_base_documents"
	WorkspaceResourceTypeConvaiTools                            WorkspaceResourceType = "convai_tools"
	WorkspaceResourceTypeConvaiSettings                         WorkspaceResourceType = "convai_settings"
	WorkspaceResourceTypeConvaiSecrets                          WorkspaceResourceType = "convai_secrets"
	WorkspaceResourceTypeWorkspaceAuthConnections               WorkspaceResourceType = "workspace_auth_connections"
	WorkspaceResourceTypeConvaiPhoneNumbers                     WorkspaceResourceType = "convai_phone_numbers"
	WorkspaceResourceTypeConvaiMcpServers                       WorkspaceResourceType = "convai_mcp_servers"
	WorkspaceResourceTypeConvaiAPIIntegrationConnections        WorkspaceResourceType = "convai_api_integration_connections"
	WorkspaceResourceTypeConvaiAPIIntegrationTriggerConnections WorkspaceResourceType = "convai_api_integration_trigger_connections"
	WorkspaceResourceTypeConvaiBatchCalls                       WorkspaceResourceType = "convai_batch_calls"
	WorkspaceResourceTypeConvaiAgentResponseTests               WorkspaceResourceType = "convai_agent_response_tests"
	WorkspaceResourceTypeConvaiTestSuiteInvocations             WorkspaceResourceType = "convai_test_suite_invocations"
	WorkspaceResourceTypeConvaiCrawlJobs                        WorkspaceResourceType = "convai_crawl_jobs"
	WorkspaceResourceTypeConvaiCrawlTasks                       WorkspaceResourceType = "convai_crawl_tasks"
	WorkspaceResourceTypeConvaiWhatsappAccounts                 WorkspaceResourceType = "convai_whatsapp_accounts"
	WorkspaceResourceTypeConvaiAgentVersions                    WorkspaceResourceType = "convai_agent_versions"
	WorkspaceResourceTypeConvaiAgentBranches                    WorkspaceResourceType = "convai_agent_branches"
	WorkspaceResourceTypeConvaiAgentVersionsDeployments         WorkspaceResourceType = "convai_agent_versions_deployments"
	WorkspaceResourceTypeDashboard                              WorkspaceResourceType = "dashboard"
	WorkspaceResourceTypeDashboardConfiguration                 WorkspaceResourceType = "dashboard_configuration"
	WorkspaceResourceTypeConvaiAgentDrafts                      WorkspaceResourceType = "convai_agent_drafts"
	WorkspaceResourceTypeResourceLocators                       WorkspaceResourceType = "resource_locators"
)

func (WorkspaceResourceType) AllValues

AllValues returns all WorkspaceResourceType values.

func (*WorkspaceResourceType) Decode

func (s *WorkspaceResourceType) Decode(d *jx.Decoder) error

Decode decodes WorkspaceResourceType from json.

func (WorkspaceResourceType) Encode

func (s WorkspaceResourceType) Encode(e *jx.Encoder)

Encode encodes WorkspaceResourceType as json.

func (WorkspaceResourceType) MarshalJSON

func (s WorkspaceResourceType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (WorkspaceResourceType) MarshalText

func (s WorkspaceResourceType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*WorkspaceResourceType) UnmarshalJSON

func (s *WorkspaceResourceType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkspaceResourceType) UnmarshalText

func (s *WorkspaceResourceType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WorkspaceResourceType) Validate

func (s WorkspaceResourceType) Validate() error

type WorkspaceServiceAccountListResponseModel

type WorkspaceServiceAccountListResponseModel struct {
	ServiceMinusAccounts []WorkspaceServiceAccountResponseModel `json:"service-accounts"`
}

Ref: #/components/schemas/WorkspaceServiceAccountListResponseModel

func (*WorkspaceServiceAccountListResponseModel) Decode

Decode decodes WorkspaceServiceAccountListResponseModel from json.

func (*WorkspaceServiceAccountListResponseModel) Encode

Encode implements json.Marshaler.

func (*WorkspaceServiceAccountListResponseModel) GetServiceMinusAccounts

GetServiceMinusAccounts returns the value of ServiceMinusAccounts.

func (*WorkspaceServiceAccountListResponseModel) MarshalJSON

func (s *WorkspaceServiceAccountListResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkspaceServiceAccountListResponseModel) SetServiceMinusAccounts

SetServiceMinusAccounts sets the value of ServiceMinusAccounts.

func (*WorkspaceServiceAccountListResponseModel) UnmarshalJSON

func (s *WorkspaceServiceAccountListResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkspaceServiceAccountListResponseModel) Validate

type WorkspaceServiceAccountResponseModel

type WorkspaceServiceAccountResponseModel struct {
	APIMinusKeys         []WorkspaceApiKeyResponseModel `json:"api-keys"`
	CreatedAtUnix        OptNilInt                      `json:"created_at_unix"`
	Name                 string                         `json:"name"`
	ServiceAccountUserID string                         `json:"service_account_user_id"`
}

Ref: #/components/schemas/WorkspaceServiceAccountResponseModel

func (*WorkspaceServiceAccountResponseModel) Decode

Decode decodes WorkspaceServiceAccountResponseModel from json.

func (*WorkspaceServiceAccountResponseModel) Encode

Encode implements json.Marshaler.

func (*WorkspaceServiceAccountResponseModel) GetAPIMinusKeys

GetAPIMinusKeys returns the value of APIMinusKeys.

func (*WorkspaceServiceAccountResponseModel) GetCreatedAtUnix

func (s *WorkspaceServiceAccountResponseModel) GetCreatedAtUnix() OptNilInt

GetCreatedAtUnix returns the value of CreatedAtUnix.

func (*WorkspaceServiceAccountResponseModel) GetName

GetName returns the value of Name.

func (*WorkspaceServiceAccountResponseModel) GetServiceAccountUserID

func (s *WorkspaceServiceAccountResponseModel) GetServiceAccountUserID() string

GetServiceAccountUserID returns the value of ServiceAccountUserID.

func (*WorkspaceServiceAccountResponseModel) MarshalJSON

func (s *WorkspaceServiceAccountResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkspaceServiceAccountResponseModel) SetAPIMinusKeys

SetAPIMinusKeys sets the value of APIMinusKeys.

func (*WorkspaceServiceAccountResponseModel) SetCreatedAtUnix

func (s *WorkspaceServiceAccountResponseModel) SetCreatedAtUnix(val OptNilInt)

SetCreatedAtUnix sets the value of CreatedAtUnix.

func (*WorkspaceServiceAccountResponseModel) SetName

SetName sets the value of Name.

func (*WorkspaceServiceAccountResponseModel) SetServiceAccountUserID

func (s *WorkspaceServiceAccountResponseModel) SetServiceAccountUserID(val string)

SetServiceAccountUserID sets the value of ServiceAccountUserID.

func (*WorkspaceServiceAccountResponseModel) UnmarshalJSON

func (s *WorkspaceServiceAccountResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkspaceServiceAccountResponseModel) Validate

type WorkspaceWebhookListResponseModel

type WorkspaceWebhookListResponseModel struct {
	// List of webhooks currently configured for the workspace.
	Webhooks []WorkspaceWebhookResponseModel `json:"webhooks"`
}

Ref: #/components/schemas/WorkspaceWebhookListResponseModel

func (*WorkspaceWebhookListResponseModel) Decode

Decode decodes WorkspaceWebhookListResponseModel from json.

func (*WorkspaceWebhookListResponseModel) Encode

Encode implements json.Marshaler.

func (*WorkspaceWebhookListResponseModel) GetWebhooks

GetWebhooks returns the value of Webhooks.

func (*WorkspaceWebhookListResponseModel) MarshalJSON

func (s *WorkspaceWebhookListResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkspaceWebhookListResponseModel) SetWebhooks

SetWebhooks sets the value of Webhooks.

func (*WorkspaceWebhookListResponseModel) UnmarshalJSON

func (s *WorkspaceWebhookListResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkspaceWebhookListResponseModel) Validate

type WorkspaceWebhookResponseModel

type WorkspaceWebhookResponseModel struct {
	// The authentication mode used to secure the webhook.
	AuthType WebhookAuthMethodType `json:"auth_type"`
	// Original creation time of the webhook.
	CreatedAtUnix int `json:"created_at_unix"`
	// Whether the webhook has been automatically disabled due to repeated consecutive failures over a
	// long period of time.
	IsAutoDisabled bool `json:"is_auto_disabled"`
	// Whether the webhook has been manually disabled by a user.
	IsDisabled bool `json:"is_disabled"`
	// The most recent error code returned from the callback URL.
	MostRecentFailureErrorCode OptNilInt `json:"most_recent_failure_error_code"`
	// The most recent time the webhook failed, failures are any non-200 codes returned by the callback
	// URL.
	MostRecentFailureTimestamp OptNilInt `json:"most_recent_failure_timestamp"`
	// The display name for this webhook.
	Name string `json:"name"`
	// The list of products that are currently configured to trigger this webhook.
	Usage OptNilWorkspaceWebhookUsageResponseModelArray `json:"usage"`
	// The unique ID for this webhook.
	WebhookID string `json:"webhook_id"`
	// The HTTPS callback URL that is called when this webhook is triggered in the platform.
	WebhookURL string `json:"webhook_url"`
}

Ref: #/components/schemas/WorkspaceWebhookResponseModel

func (*WorkspaceWebhookResponseModel) Decode

Decode decodes WorkspaceWebhookResponseModel from json.

func (*WorkspaceWebhookResponseModel) Encode

Encode implements json.Marshaler.

func (*WorkspaceWebhookResponseModel) GetAuthType

GetAuthType returns the value of AuthType.

func (*WorkspaceWebhookResponseModel) GetCreatedAtUnix

func (s *WorkspaceWebhookResponseModel) GetCreatedAtUnix() int

GetCreatedAtUnix returns the value of CreatedAtUnix.

func (*WorkspaceWebhookResponseModel) GetIsAutoDisabled

func (s *WorkspaceWebhookResponseModel) GetIsAutoDisabled() bool

GetIsAutoDisabled returns the value of IsAutoDisabled.

func (*WorkspaceWebhookResponseModel) GetIsDisabled

func (s *WorkspaceWebhookResponseModel) GetIsDisabled() bool

GetIsDisabled returns the value of IsDisabled.

func (*WorkspaceWebhookResponseModel) GetMostRecentFailureErrorCode

func (s *WorkspaceWebhookResponseModel) GetMostRecentFailureErrorCode() OptNilInt

GetMostRecentFailureErrorCode returns the value of MostRecentFailureErrorCode.

func (*WorkspaceWebhookResponseModel) GetMostRecentFailureTimestamp

func (s *WorkspaceWebhookResponseModel) GetMostRecentFailureTimestamp() OptNilInt

GetMostRecentFailureTimestamp returns the value of MostRecentFailureTimestamp.

func (*WorkspaceWebhookResponseModel) GetName

GetName returns the value of Name.

func (*WorkspaceWebhookResponseModel) GetUsage

GetUsage returns the value of Usage.

func (*WorkspaceWebhookResponseModel) GetWebhookID

func (s *WorkspaceWebhookResponseModel) GetWebhookID() string

GetWebhookID returns the value of WebhookID.

func (*WorkspaceWebhookResponseModel) GetWebhookURL

func (s *WorkspaceWebhookResponseModel) GetWebhookURL() string

GetWebhookURL returns the value of WebhookURL.

func (*WorkspaceWebhookResponseModel) MarshalJSON

func (s *WorkspaceWebhookResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkspaceWebhookResponseModel) SetAuthType

SetAuthType sets the value of AuthType.

func (*WorkspaceWebhookResponseModel) SetCreatedAtUnix

func (s *WorkspaceWebhookResponseModel) SetCreatedAtUnix(val int)

SetCreatedAtUnix sets the value of CreatedAtUnix.

func (*WorkspaceWebhookResponseModel) SetIsAutoDisabled

func (s *WorkspaceWebhookResponseModel) SetIsAutoDisabled(val bool)

SetIsAutoDisabled sets the value of IsAutoDisabled.

func (*WorkspaceWebhookResponseModel) SetIsDisabled

func (s *WorkspaceWebhookResponseModel) SetIsDisabled(val bool)

SetIsDisabled sets the value of IsDisabled.

func (*WorkspaceWebhookResponseModel) SetMostRecentFailureErrorCode

func (s *WorkspaceWebhookResponseModel) SetMostRecentFailureErrorCode(val OptNilInt)

SetMostRecentFailureErrorCode sets the value of MostRecentFailureErrorCode.

func (*WorkspaceWebhookResponseModel) SetMostRecentFailureTimestamp

func (s *WorkspaceWebhookResponseModel) SetMostRecentFailureTimestamp(val OptNilInt)

SetMostRecentFailureTimestamp sets the value of MostRecentFailureTimestamp.

func (*WorkspaceWebhookResponseModel) SetName

func (s *WorkspaceWebhookResponseModel) SetName(val string)

SetName sets the value of Name.

func (*WorkspaceWebhookResponseModel) SetUsage

SetUsage sets the value of Usage.

func (*WorkspaceWebhookResponseModel) SetWebhookID

func (s *WorkspaceWebhookResponseModel) SetWebhookID(val string)

SetWebhookID sets the value of WebhookID.

func (*WorkspaceWebhookResponseModel) SetWebhookURL

func (s *WorkspaceWebhookResponseModel) SetWebhookURL(val string)

SetWebhookURL sets the value of WebhookURL.

func (*WorkspaceWebhookResponseModel) UnmarshalJSON

func (s *WorkspaceWebhookResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkspaceWebhookResponseModel) Validate

func (s *WorkspaceWebhookResponseModel) Validate() error

type WorkspaceWebhookUsageResponseModel

type WorkspaceWebhookUsageResponseModel struct {
	UsageType WebhookUsageType `json:"usage_type"`
}

Ref: #/components/schemas/WorkspaceWebhookUsageResponseModel

func (*WorkspaceWebhookUsageResponseModel) Decode

Decode decodes WorkspaceWebhookUsageResponseModel from json.

func (*WorkspaceWebhookUsageResponseModel) Encode

Encode implements json.Marshaler.

func (*WorkspaceWebhookUsageResponseModel) GetUsageType

GetUsageType returns the value of UsageType.

func (*WorkspaceWebhookUsageResponseModel) MarshalJSON

func (s *WorkspaceWebhookUsageResponseModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkspaceWebhookUsageResponseModel) SetUsageType

SetUsageType sets the value of UsageType.

func (*WorkspaceWebhookUsageResponseModel) UnmarshalJSON

func (s *WorkspaceWebhookUsageResponseModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkspaceWebhookUsageResponseModel) Validate

type ZendeskConversationInitiationTrigger

type ZendeskConversationInitiationTrigger struct {
	TicketID    int                                                `json:"ticket_id"`
	TriggerType OptZendeskConversationInitiationTriggerTriggerType `json:"trigger_type"`
}

Trigger for Zendesk-initiated conversations. Ref: #/components/schemas/ZendeskConversationInitiationTrigger

func (*ZendeskConversationInitiationTrigger) Decode

Decode decodes ZendeskConversationInitiationTrigger from json.

func (*ZendeskConversationInitiationTrigger) Encode

Encode implements json.Marshaler.

func (*ZendeskConversationInitiationTrigger) GetTicketID

func (s *ZendeskConversationInitiationTrigger) GetTicketID() int

GetTicketID returns the value of TicketID.

func (*ZendeskConversationInitiationTrigger) GetTriggerType

GetTriggerType returns the value of TriggerType.

func (*ZendeskConversationInitiationTrigger) MarshalJSON

func (s *ZendeskConversationInitiationTrigger) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ZendeskConversationInitiationTrigger) SetTicketID

func (s *ZendeskConversationInitiationTrigger) SetTicketID(val int)

SetTicketID sets the value of TicketID.

func (*ZendeskConversationInitiationTrigger) SetTriggerType

SetTriggerType sets the value of TriggerType.

func (*ZendeskConversationInitiationTrigger) UnmarshalJSON

func (s *ZendeskConversationInitiationTrigger) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ZendeskConversationInitiationTrigger) Validate

type ZendeskConversationInitiationTriggerTriggerType

type ZendeskConversationInitiationTriggerTriggerType string
const (
	ZendeskConversationInitiationTriggerTriggerTypeZendesk ZendeskConversationInitiationTriggerTriggerType = "zendesk"
)

func (ZendeskConversationInitiationTriggerTriggerType) AllValues

AllValues returns all ZendeskConversationInitiationTriggerTriggerType values.

func (*ZendeskConversationInitiationTriggerTriggerType) Decode

Decode decodes ZendeskConversationInitiationTriggerTriggerType from json.

func (ZendeskConversationInitiationTriggerTriggerType) Encode

Encode encodes ZendeskConversationInitiationTriggerTriggerType as json.

func (ZendeskConversationInitiationTriggerTriggerType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (ZendeskConversationInitiationTriggerTriggerType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*ZendeskConversationInitiationTriggerTriggerType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ZendeskConversationInitiationTriggerTriggerType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (ZendeskConversationInitiationTriggerTriggerType) Validate

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL