Documentation
¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type AddDocumentationToKnowledgeBaseParams
- type AddDocumentationToKnowledgeBaseRes
- type AddFromFileParams
- type AddFromFileRes
- type AddKnowledgeBaseResponseModel
- func (s *AddKnowledgeBaseResponseModel) Decode(d *jx.Decoder) error
- func (s *AddKnowledgeBaseResponseModel) Encode(e *jx.Encoder)
- func (s *AddKnowledgeBaseResponseModel) GetID() string
- func (s *AddKnowledgeBaseResponseModel) GetName() string
- func (s *AddKnowledgeBaseResponseModel) MarshalJSON() ([]byte, error)
- func (s *AddKnowledgeBaseResponseModel) SetID(val string)
- func (s *AddKnowledgeBaseResponseModel) SetName(val string)
- func (s *AddKnowledgeBaseResponseModel) UnmarshalJSON(data []byte) error
- type AddLanguageParams
- type AddLanguageRes
- type AddMemberParams
- type AddMemberRes
- type AddProjectParams
- type AddProjectRes
- type AddProjectResponseModel
- func (s *AddProjectResponseModel) Decode(d *jx.Decoder) error
- func (s *AddProjectResponseModel) Encode(e *jx.Encoder)
- func (s *AddProjectResponseModel) GetProject() ProjectResponseModel
- func (s *AddProjectResponseModel) MarshalJSON() ([]byte, error)
- func (s *AddProjectResponseModel) SetProject(val ProjectResponseModel)
- func (s *AddProjectResponseModel) UnmarshalJSON(data []byte) error
- func (s *AddProjectResponseModel) Validate() error
- type AddPronunciationDictionaryResponseModel
- func (s *AddPronunciationDictionaryResponseModel) Decode(d *jx.Decoder) error
- func (s *AddPronunciationDictionaryResponseModel) Encode(e *jx.Encoder)
- func (s *AddPronunciationDictionaryResponseModel) GetCreatedBy() string
- func (s *AddPronunciationDictionaryResponseModel) GetCreationTimeUnix() int
- func (s *AddPronunciationDictionaryResponseModel) GetDescription() OptNilString
- func (s *AddPronunciationDictionaryResponseModel) GetID() string
- func (s *AddPronunciationDictionaryResponseModel) GetName() string
- func (s *AddPronunciationDictionaryResponseModel) GetPermissionOnResource() NilAddPronunciationDictionaryResponseModelPermissionOnResource
- func (s *AddPronunciationDictionaryResponseModel) GetVersionID() string
- func (s *AddPronunciationDictionaryResponseModel) GetVersionRulesNum() int
- func (s *AddPronunciationDictionaryResponseModel) MarshalJSON() ([]byte, error)
- func (s *AddPronunciationDictionaryResponseModel) SetCreatedBy(val string)
- func (s *AddPronunciationDictionaryResponseModel) SetCreationTimeUnix(val int)
- func (s *AddPronunciationDictionaryResponseModel) SetDescription(val OptNilString)
- func (s *AddPronunciationDictionaryResponseModel) SetID(val string)
- func (s *AddPronunciationDictionaryResponseModel) SetName(val string)
- func (s *AddPronunciationDictionaryResponseModel) SetPermissionOnResource(val NilAddPronunciationDictionaryResponseModelPermissionOnResource)
- func (s *AddPronunciationDictionaryResponseModel) SetVersionID(val string)
- func (s *AddPronunciationDictionaryResponseModel) SetVersionRulesNum(val int)
- func (s *AddPronunciationDictionaryResponseModel) UnmarshalJSON(data []byte) error
- func (s *AddPronunciationDictionaryResponseModel) Validate() error
- type AddPronunciationDictionaryResponseModelPermissionOnResource
- func (AddPronunciationDictionaryResponseModelPermissionOnResource) AllValues() []AddPronunciationDictionaryResponseModelPermissionOnResource
- func (s *AddPronunciationDictionaryResponseModelPermissionOnResource) Decode(d *jx.Decoder) error
- func (s AddPronunciationDictionaryResponseModelPermissionOnResource) Encode(e *jx.Encoder)
- func (s AddPronunciationDictionaryResponseModelPermissionOnResource) MarshalJSON() ([]byte, error)
- func (s AddPronunciationDictionaryResponseModelPermissionOnResource) MarshalText() ([]byte, error)
- func (s *AddPronunciationDictionaryResponseModelPermissionOnResource) UnmarshalJSON(data []byte) error
- func (s *AddPronunciationDictionaryResponseModelPermissionOnResource) UnmarshalText(data []byte) error
- func (s AddPronunciationDictionaryResponseModelPermissionOnResource) Validate() error
- type AddPvcVoiceSamplesOKApplicationJSON
- func (s *AddPvcVoiceSamplesOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s AddPvcVoiceSamplesOKApplicationJSON) Encode(e *jx.Encoder)
- func (s AddPvcVoiceSamplesOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *AddPvcVoiceSamplesOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s AddPvcVoiceSamplesOKApplicationJSON) Validate() error
- type AddPvcVoiceSamplesParams
- type AddPvcVoiceSamplesRes
- type AddSharingVoiceParams
- type AddSharingVoiceRes
- type AddVoiceIVCResponseModel
- func (s *AddVoiceIVCResponseModel) Decode(d *jx.Decoder) error
- func (s *AddVoiceIVCResponseModel) Encode(e *jx.Encoder)
- func (s *AddVoiceIVCResponseModel) GetRequiresVerification() bool
- func (s *AddVoiceIVCResponseModel) GetVoiceID() string
- func (s *AddVoiceIVCResponseModel) MarshalJSON() ([]byte, error)
- func (s *AddVoiceIVCResponseModel) SetRequiresVerification(val bool)
- func (s *AddVoiceIVCResponseModel) SetVoiceID(val string)
- func (s *AddVoiceIVCResponseModel) UnmarshalJSON(data []byte) error
- type AddVoiceParams
- type AddVoiceRes
- type AddVoiceResponseModel
- func (s *AddVoiceResponseModel) Decode(d *jx.Decoder) error
- func (s *AddVoiceResponseModel) Encode(e *jx.Encoder)
- func (s *AddVoiceResponseModel) GetVoiceID() string
- func (s *AddVoiceResponseModel) MarshalJSON() ([]byte, error)
- func (s *AddVoiceResponseModel) SetVoiceID(val string)
- func (s *AddVoiceResponseModel) UnmarshalJSON(data []byte) error
- type AddWorkspaceGroupMemberResponseModel
- func (s *AddWorkspaceGroupMemberResponseModel) Decode(d *jx.Decoder) error
- func (s *AddWorkspaceGroupMemberResponseModel) Encode(e *jx.Encoder)
- func (s *AddWorkspaceGroupMemberResponseModel) GetStatus() string
- func (s *AddWorkspaceGroupMemberResponseModel) MarshalJSON() ([]byte, error)
- func (s *AddWorkspaceGroupMemberResponseModel) SetStatus(val string)
- func (s *AddWorkspaceGroupMemberResponseModel) UnmarshalJSON(data []byte) error
- type AddWorkspaceInviteResponseModel
- func (s *AddWorkspaceInviteResponseModel) Decode(d *jx.Decoder) error
- func (s *AddWorkspaceInviteResponseModel) Encode(e *jx.Encoder)
- func (s *AddWorkspaceInviteResponseModel) GetStatus() string
- func (s *AddWorkspaceInviteResponseModel) MarshalJSON() ([]byte, error)
- func (s *AddWorkspaceInviteResponseModel) SetStatus(val string)
- func (s *AddWorkspaceInviteResponseModel) UnmarshalJSON(data []byte) error
- type AdditionalFormatResponseModel
- func (s *AdditionalFormatResponseModel) Decode(d *jx.Decoder) error
- func (s *AdditionalFormatResponseModel) Encode(e *jx.Encoder)
- func (s *AdditionalFormatResponseModel) GetContent() string
- func (s *AdditionalFormatResponseModel) GetContentType() string
- func (s *AdditionalFormatResponseModel) GetFileExtension() string
- func (s *AdditionalFormatResponseModel) GetIsBase64Encoded() bool
- func (s *AdditionalFormatResponseModel) GetRequestedFormat() string
- func (s *AdditionalFormatResponseModel) MarshalJSON() ([]byte, error)
- func (s *AdditionalFormatResponseModel) SetContent(val string)
- func (s *AdditionalFormatResponseModel) SetContentType(val string)
- func (s *AdditionalFormatResponseModel) SetFileExtension(val string)
- func (s *AdditionalFormatResponseModel) SetIsBase64Encoded(val bool)
- func (s *AdditionalFormatResponseModel) SetRequestedFormat(val string)
- func (s *AdditionalFormatResponseModel) UnmarshalJSON(data []byte) error
- type AdditionalFormats
- type AgentConfigOverrideInput
- func (s *AgentConfigOverrideInput) Decode(d *jx.Decoder) error
- func (s *AgentConfigOverrideInput) Encode(e *jx.Encoder)
- func (s *AgentConfigOverrideInput) GetFirstMessage() OptNilString
- func (s *AgentConfigOverrideInput) GetLanguage() OptNilString
- func (s *AgentConfigOverrideInput) GetPrompt() OptPromptAgentAPIModelOverride
- func (s *AgentConfigOverrideInput) MarshalJSON() ([]byte, error)
- func (s *AgentConfigOverrideInput) SetFirstMessage(val OptNilString)
- func (s *AgentConfigOverrideInput) SetLanguage(val OptNilString)
- func (s *AgentConfigOverrideInput) SetPrompt(val OptPromptAgentAPIModelOverride)
- func (s *AgentConfigOverrideInput) UnmarshalJSON(data []byte) error
- func (s *AgentConfigOverrideInput) Validate() error
- type AgentConfigOverrideOutput
- func (s *AgentConfigOverrideOutput) Decode(d *jx.Decoder) error
- func (s *AgentConfigOverrideOutput) Encode(e *jx.Encoder)
- func (s *AgentConfigOverrideOutput) GetFirstMessage() OptNilString
- func (s *AgentConfigOverrideOutput) GetLanguage() OptNilString
- func (s *AgentConfigOverrideOutput) GetPrompt() OptPromptAgentAPIModelOverride
- func (s *AgentConfigOverrideOutput) MarshalJSON() ([]byte, error)
- func (s *AgentConfigOverrideOutput) SetFirstMessage(val OptNilString)
- func (s *AgentConfigOverrideOutput) SetLanguage(val OptNilString)
- func (s *AgentConfigOverrideOutput) SetPrompt(val OptPromptAgentAPIModelOverride)
- func (s *AgentConfigOverrideOutput) UnmarshalJSON(data []byte) error
- func (s *AgentConfigOverrideOutput) Validate() error
- type AgentDefinitionSource
- func (AgentDefinitionSource) AllValues() []AgentDefinitionSource
- func (s *AgentDefinitionSource) Decode(d *jx.Decoder) error
- func (s AgentDefinitionSource) Encode(e *jx.Encoder)
- func (s AgentDefinitionSource) MarshalJSON() ([]byte, error)
- func (s AgentDefinitionSource) MarshalText() ([]byte, error)
- func (s *AgentDefinitionSource) UnmarshalJSON(data []byte) error
- func (s *AgentDefinitionSource) UnmarshalText(data []byte) error
- func (s AgentDefinitionSource) Validate() error
- type AgentFailureResponseExample
- func (s *AgentFailureResponseExample) Decode(d *jx.Decoder) error
- func (s *AgentFailureResponseExample) Encode(e *jx.Encoder)
- func (s *AgentFailureResponseExample) GetResponse() string
- func (s *AgentFailureResponseExample) GetType() AgentFailureResponseExampleType
- func (s *AgentFailureResponseExample) MarshalJSON() ([]byte, error)
- func (s *AgentFailureResponseExample) SetResponse(val string)
- func (s *AgentFailureResponseExample) SetType(val AgentFailureResponseExampleType)
- func (s *AgentFailureResponseExample) UnmarshalJSON(data []byte) error
- func (s *AgentFailureResponseExample) Validate() error
- type AgentFailureResponseExampleType
- func (AgentFailureResponseExampleType) AllValues() []AgentFailureResponseExampleType
- func (s *AgentFailureResponseExampleType) Decode(d *jx.Decoder) error
- func (s AgentFailureResponseExampleType) Encode(e *jx.Encoder)
- func (s AgentFailureResponseExampleType) MarshalJSON() ([]byte, error)
- func (s AgentFailureResponseExampleType) MarshalText() ([]byte, error)
- func (s *AgentFailureResponseExampleType) UnmarshalJSON(data []byte) error
- func (s *AgentFailureResponseExampleType) UnmarshalText(data []byte) error
- func (s AgentFailureResponseExampleType) Validate() error
- type AgentMetadata
- func (s *AgentMetadata) Decode(d *jx.Decoder) error
- func (s *AgentMetadata) Encode(e *jx.Encoder)
- func (s *AgentMetadata) GetAgentID() string
- func (s *AgentMetadata) GetBranchID() OptNilString
- func (s *AgentMetadata) GetWorkflowNodeID() OptNilString
- func (s *AgentMetadata) MarshalJSON() ([]byte, error)
- func (s *AgentMetadata) SetAgentID(val string)
- func (s *AgentMetadata) SetBranchID(val OptNilString)
- func (s *AgentMetadata) SetWorkflowNodeID(val OptNilString)
- func (s *AgentMetadata) UnmarshalJSON(data []byte) error
- type AgentSortBy
- type AgentSuccessfulResponseExample
- func (s *AgentSuccessfulResponseExample) Decode(d *jx.Decoder) error
- func (s *AgentSuccessfulResponseExample) Encode(e *jx.Encoder)
- func (s *AgentSuccessfulResponseExample) GetResponse() string
- func (s *AgentSuccessfulResponseExample) GetType() AgentSuccessfulResponseExampleType
- func (s *AgentSuccessfulResponseExample) MarshalJSON() ([]byte, error)
- func (s *AgentSuccessfulResponseExample) SetResponse(val string)
- func (s *AgentSuccessfulResponseExample) SetType(val AgentSuccessfulResponseExampleType)
- func (s *AgentSuccessfulResponseExample) UnmarshalJSON(data []byte) error
- func (s *AgentSuccessfulResponseExample) Validate() error
- type AgentSuccessfulResponseExampleType
- func (AgentSuccessfulResponseExampleType) AllValues() []AgentSuccessfulResponseExampleType
- func (s *AgentSuccessfulResponseExampleType) Decode(d *jx.Decoder) error
- func (s AgentSuccessfulResponseExampleType) Encode(e *jx.Encoder)
- func (s AgentSuccessfulResponseExampleType) MarshalJSON() ([]byte, error)
- func (s AgentSuccessfulResponseExampleType) MarshalText() ([]byte, error)
- func (s *AgentSuccessfulResponseExampleType) UnmarshalJSON(data []byte) error
- func (s *AgentSuccessfulResponseExampleType) UnmarshalText(data []byte) error
- func (s AgentSuccessfulResponseExampleType) Validate() error
- type AgentSummaryResponseModel
- func (s *AgentSummaryResponseModel) Decode(d *jx.Decoder) error
- func (s *AgentSummaryResponseModel) Encode(e *jx.Encoder)
- func (s *AgentSummaryResponseModel) GetAccessInfo() ResourceAccessInfo
- func (s *AgentSummaryResponseModel) GetAgentID() string
- func (s *AgentSummaryResponseModel) GetArchived() OptBool
- func (s *AgentSummaryResponseModel) GetCreatedAtUnixSecs() int
- func (s *AgentSummaryResponseModel) GetLastCallTimeUnixSecs() OptNilInt
- func (s *AgentSummaryResponseModel) GetName() string
- func (s *AgentSummaryResponseModel) GetTags() []string
- func (s *AgentSummaryResponseModel) MarshalJSON() ([]byte, error)
- func (s *AgentSummaryResponseModel) SetAccessInfo(val ResourceAccessInfo)
- func (s *AgentSummaryResponseModel) SetAgentID(val string)
- func (s *AgentSummaryResponseModel) SetArchived(val OptBool)
- func (s *AgentSummaryResponseModel) SetCreatedAtUnixSecs(val int)
- func (s *AgentSummaryResponseModel) SetLastCallTimeUnixSecs(val OptNilInt)
- func (s *AgentSummaryResponseModel) SetName(val string)
- func (s *AgentSummaryResponseModel) SetTags(val []string)
- func (s *AgentSummaryResponseModel) UnmarshalJSON(data []byte) error
- func (s *AgentSummaryResponseModel) Validate() error
- type AsyncConversationMetadata
- func (s *AsyncConversationMetadata) Decode(d *jx.Decoder) error
- func (s *AsyncConversationMetadata) Encode(e *jx.Encoder)
- func (s *AsyncConversationMetadata) GetDeliveryError() OptNilString
- func (s *AsyncConversationMetadata) GetDeliveryStatus() AsyncConversationMetadataDeliveryStatus
- func (s *AsyncConversationMetadata) GetDeliveryTimestamp() int
- func (s *AsyncConversationMetadata) GetExternalID() string
- func (s *AsyncConversationMetadata) GetExternalSystem() string
- func (s *AsyncConversationMetadata) GetLastRetryTimestamp() OptNilInt
- func (s *AsyncConversationMetadata) GetRetryCount() OptInt
- func (s *AsyncConversationMetadata) MarshalJSON() ([]byte, error)
- func (s *AsyncConversationMetadata) SetDeliveryError(val OptNilString)
- func (s *AsyncConversationMetadata) SetDeliveryStatus(val AsyncConversationMetadataDeliveryStatus)
- func (s *AsyncConversationMetadata) SetDeliveryTimestamp(val int)
- func (s *AsyncConversationMetadata) SetExternalID(val string)
- func (s *AsyncConversationMetadata) SetExternalSystem(val string)
- func (s *AsyncConversationMetadata) SetLastRetryTimestamp(val OptNilInt)
- func (s *AsyncConversationMetadata) SetRetryCount(val OptInt)
- func (s *AsyncConversationMetadata) UnmarshalJSON(data []byte) error
- func (s *AsyncConversationMetadata) Validate() error
- type AsyncConversationMetadataDeliveryStatus
- func (AsyncConversationMetadataDeliveryStatus) AllValues() []AsyncConversationMetadataDeliveryStatus
- func (s *AsyncConversationMetadataDeliveryStatus) Decode(d *jx.Decoder) error
- func (s AsyncConversationMetadataDeliveryStatus) Encode(e *jx.Encoder)
- func (s AsyncConversationMetadataDeliveryStatus) MarshalJSON() ([]byte, error)
- func (s AsyncConversationMetadataDeliveryStatus) MarshalText() ([]byte, error)
- func (s *AsyncConversationMetadataDeliveryStatus) UnmarshalJSON(data []byte) error
- func (s *AsyncConversationMetadataDeliveryStatus) UnmarshalText(data []byte) error
- func (s AsyncConversationMetadataDeliveryStatus) Validate() error
- type AudioIsolationOK
- type AudioIsolationParams
- type AudioIsolationRes
- type AudioIsolationStreamOK
- type AudioIsolationStreamParams
- type AudioIsolationStreamRes
- type AudioNativeCreateProjectResponseModel
- func (s *AudioNativeCreateProjectResponseModel) Decode(d *jx.Decoder) error
- func (s *AudioNativeCreateProjectResponseModel) Encode(e *jx.Encoder)
- func (s *AudioNativeCreateProjectResponseModel) GetConverting() bool
- func (s *AudioNativeCreateProjectResponseModel) GetHTMLSnippet() string
- func (s *AudioNativeCreateProjectResponseModel) GetProjectID() string
- func (s *AudioNativeCreateProjectResponseModel) MarshalJSON() ([]byte, error)
- func (s *AudioNativeCreateProjectResponseModel) SetConverting(val bool)
- func (s *AudioNativeCreateProjectResponseModel) SetHTMLSnippet(val string)
- func (s *AudioNativeCreateProjectResponseModel) SetProjectID(val string)
- func (s *AudioNativeCreateProjectResponseModel) UnmarshalJSON(data []byte) error
- type AudioNativeEditContentResponseModel
- func (s *AudioNativeEditContentResponseModel) Decode(d *jx.Decoder) error
- func (s *AudioNativeEditContentResponseModel) Encode(e *jx.Encoder)
- func (s *AudioNativeEditContentResponseModel) GetConverting() bool
- func (s *AudioNativeEditContentResponseModel) GetHTMLSnippet() string
- func (s *AudioNativeEditContentResponseModel) GetProjectID() string
- func (s *AudioNativeEditContentResponseModel) GetPublishing() bool
- func (s *AudioNativeEditContentResponseModel) MarshalJSON() ([]byte, error)
- func (s *AudioNativeEditContentResponseModel) SetConverting(val bool)
- func (s *AudioNativeEditContentResponseModel) SetHTMLSnippet(val string)
- func (s *AudioNativeEditContentResponseModel) SetProjectID(val string)
- func (s *AudioNativeEditContentResponseModel) SetPublishing(val bool)
- func (s *AudioNativeEditContentResponseModel) UnmarshalJSON(data []byte) error
- type AudioNativeProjectSettingsResponseModel
- func (s *AudioNativeProjectSettingsResponseModel) Decode(d *jx.Decoder) error
- func (s *AudioNativeProjectSettingsResponseModel) Encode(e *jx.Encoder)
- func (s *AudioNativeProjectSettingsResponseModel) GetAudioPath() OptNilString
- func (s *AudioNativeProjectSettingsResponseModel) GetAudioURL() OptNilString
- func (s *AudioNativeProjectSettingsResponseModel) GetAuthor() string
- func (s *AudioNativeProjectSettingsResponseModel) GetBackgroundColor() string
- func (s *AudioNativeProjectSettingsResponseModel) GetImage() string
- func (s *AudioNativeProjectSettingsResponseModel) GetSessionization() int
- func (s *AudioNativeProjectSettingsResponseModel) GetSmall() bool
- func (s *AudioNativeProjectSettingsResponseModel) GetStatus() OptAudioNativeProjectSettingsResponseModelStatus
- func (s *AudioNativeProjectSettingsResponseModel) GetTextColor() string
- func (s *AudioNativeProjectSettingsResponseModel) GetTitle() string
- func (s *AudioNativeProjectSettingsResponseModel) MarshalJSON() ([]byte, error)
- func (s *AudioNativeProjectSettingsResponseModel) SetAudioPath(val OptNilString)
- func (s *AudioNativeProjectSettingsResponseModel) SetAudioURL(val OptNilString)
- func (s *AudioNativeProjectSettingsResponseModel) SetAuthor(val string)
- func (s *AudioNativeProjectSettingsResponseModel) SetBackgroundColor(val string)
- func (s *AudioNativeProjectSettingsResponseModel) SetImage(val string)
- func (s *AudioNativeProjectSettingsResponseModel) SetSessionization(val int)
- func (s *AudioNativeProjectSettingsResponseModel) SetSmall(val bool)
- func (s *AudioNativeProjectSettingsResponseModel) SetStatus(val OptAudioNativeProjectSettingsResponseModelStatus)
- func (s *AudioNativeProjectSettingsResponseModel) SetTextColor(val string)
- func (s *AudioNativeProjectSettingsResponseModel) SetTitle(val string)
- func (s *AudioNativeProjectSettingsResponseModel) UnmarshalJSON(data []byte) error
- func (s *AudioNativeProjectSettingsResponseModel) Validate() error
- type AudioNativeProjectSettingsResponseModelStatus
- func (AudioNativeProjectSettingsResponseModelStatus) AllValues() []AudioNativeProjectSettingsResponseModelStatus
- func (s *AudioNativeProjectSettingsResponseModelStatus) Decode(d *jx.Decoder) error
- func (s AudioNativeProjectSettingsResponseModelStatus) Encode(e *jx.Encoder)
- func (s AudioNativeProjectSettingsResponseModelStatus) MarshalJSON() ([]byte, error)
- func (s AudioNativeProjectSettingsResponseModelStatus) MarshalText() ([]byte, error)
- func (s *AudioNativeProjectSettingsResponseModelStatus) UnmarshalJSON(data []byte) error
- func (s *AudioNativeProjectSettingsResponseModelStatus) UnmarshalText(data []byte) error
- func (s AudioNativeProjectSettingsResponseModelStatus) Validate() error
- type AudioNativeProjectUpdateContentEndpointParams
- type AudioNativeProjectUpdateContentEndpointRes
- type AudioWithTimestampsAndVoiceSegmentsResponseModel
- func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) Decode(d *jx.Decoder) error
- func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) Encode(e *jx.Encoder)
- func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) GetAlignment() OptCharacterAlignmentResponseModel
- func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) GetAudioBase64() string
- func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) GetNormalizedAlignment() OptCharacterAlignmentResponseModel
- func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) GetVoiceSegments() []VoiceSegment
- func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) MarshalJSON() ([]byte, error)
- func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) SetAlignment(val OptCharacterAlignmentResponseModel)
- func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) SetAudioBase64(val string)
- func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) SetNormalizedAlignment(val OptCharacterAlignmentResponseModel)
- func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) SetVoiceSegments(val []VoiceSegment)
- func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) UnmarshalJSON(data []byte) error
- func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) Validate() error
- type AudioWithTimestampsResponseModel
- func (s *AudioWithTimestampsResponseModel) Decode(d *jx.Decoder) error
- func (s *AudioWithTimestampsResponseModel) Encode(e *jx.Encoder)
- func (s *AudioWithTimestampsResponseModel) GetAlignment() OptCharacterAlignmentResponseModel
- func (s *AudioWithTimestampsResponseModel) GetAudioBase64() string
- func (s *AudioWithTimestampsResponseModel) GetNormalizedAlignment() OptCharacterAlignmentResponseModel
- func (s *AudioWithTimestampsResponseModel) MarshalJSON() ([]byte, error)
- func (s *AudioWithTimestampsResponseModel) SetAlignment(val OptCharacterAlignmentResponseModel)
- func (s *AudioWithTimestampsResponseModel) SetAudioBase64(val string)
- func (s *AudioWithTimestampsResponseModel) SetNormalizedAlignment(val OptCharacterAlignmentResponseModel)
- func (s *AudioWithTimestampsResponseModel) UnmarshalJSON(data []byte) error
- func (s *AudioWithTimestampsResponseModel) Validate() error
- type AuthorizationMethod
- func (AuthorizationMethod) AllValues() []AuthorizationMethod
- func (s *AuthorizationMethod) Decode(d *jx.Decoder) error
- func (s AuthorizationMethod) Encode(e *jx.Encoder)
- func (s AuthorizationMethod) MarshalJSON() ([]byte, error)
- func (s AuthorizationMethod) MarshalText() ([]byte, error)
- func (s *AuthorizationMethod) UnmarshalJSON(data []byte) error
- func (s *AuthorizationMethod) UnmarshalText(data []byte) error
- func (s AuthorizationMethod) Validate() error
- type BatchCallDetailedResponse
- func (s *BatchCallDetailedResponse) Decode(d *jx.Decoder) error
- func (s *BatchCallDetailedResponse) Encode(e *jx.Encoder)
- func (s *BatchCallDetailedResponse) GetAgentID() string
- func (s *BatchCallDetailedResponse) GetAgentName() string
- func (s *BatchCallDetailedResponse) GetCreatedAtUnix() int
- func (s *BatchCallDetailedResponse) GetID() string
- func (s *BatchCallDetailedResponse) GetLastUpdatedAtUnix() int
- func (s *BatchCallDetailedResponse) GetName() string
- func (s *BatchCallDetailedResponse) GetPhoneNumberID() OptNilString
- func (s *BatchCallDetailedResponse) GetPhoneProvider() OptTelephonyProvider
- func (s *BatchCallDetailedResponse) GetRecipients() []OutboundCallRecipientResponseModel
- func (s *BatchCallDetailedResponse) GetRetryCount() OptInt
- func (s *BatchCallDetailedResponse) GetScheduledTimeUnix() int
- func (s *BatchCallDetailedResponse) GetStatus() BatchCallStatus
- func (s *BatchCallDetailedResponse) GetTotalCallsDispatched() int
- func (s *BatchCallDetailedResponse) GetTotalCallsScheduled() int
- func (s *BatchCallDetailedResponse) GetWhatsappParams() OptBatchCallWhatsAppParams
- func (s *BatchCallDetailedResponse) MarshalJSON() ([]byte, error)
- func (s *BatchCallDetailedResponse) SetAgentID(val string)
- func (s *BatchCallDetailedResponse) SetAgentName(val string)
- func (s *BatchCallDetailedResponse) SetCreatedAtUnix(val int)
- func (s *BatchCallDetailedResponse) SetID(val string)
- func (s *BatchCallDetailedResponse) SetLastUpdatedAtUnix(val int)
- func (s *BatchCallDetailedResponse) SetName(val string)
- func (s *BatchCallDetailedResponse) SetPhoneNumberID(val OptNilString)
- func (s *BatchCallDetailedResponse) SetPhoneProvider(val OptTelephonyProvider)
- func (s *BatchCallDetailedResponse) SetRecipients(val []OutboundCallRecipientResponseModel)
- func (s *BatchCallDetailedResponse) SetRetryCount(val OptInt)
- func (s *BatchCallDetailedResponse) SetScheduledTimeUnix(val int)
- func (s *BatchCallDetailedResponse) SetStatus(val BatchCallStatus)
- func (s *BatchCallDetailedResponse) SetTotalCallsDispatched(val int)
- func (s *BatchCallDetailedResponse) SetTotalCallsScheduled(val int)
- func (s *BatchCallDetailedResponse) SetWhatsappParams(val OptBatchCallWhatsAppParams)
- func (s *BatchCallDetailedResponse) UnmarshalJSON(data []byte) error
- func (s *BatchCallDetailedResponse) Validate() error
- type BatchCallRecipientStatus
- func (BatchCallRecipientStatus) AllValues() []BatchCallRecipientStatus
- func (s *BatchCallRecipientStatus) Decode(d *jx.Decoder) error
- func (s BatchCallRecipientStatus) Encode(e *jx.Encoder)
- func (s BatchCallRecipientStatus) MarshalJSON() ([]byte, error)
- func (s BatchCallRecipientStatus) MarshalText() ([]byte, error)
- func (s *BatchCallRecipientStatus) UnmarshalJSON(data []byte) error
- func (s *BatchCallRecipientStatus) UnmarshalText(data []byte) error
- func (s BatchCallRecipientStatus) Validate() error
- type BatchCallResponse
- func (s *BatchCallResponse) Decode(d *jx.Decoder) error
- func (s *BatchCallResponse) Encode(e *jx.Encoder)
- func (s *BatchCallResponse) GetAgentID() string
- func (s *BatchCallResponse) GetAgentName() string
- func (s *BatchCallResponse) GetCreatedAtUnix() int
- func (s *BatchCallResponse) GetID() string
- func (s *BatchCallResponse) GetLastUpdatedAtUnix() int
- func (s *BatchCallResponse) GetName() string
- func (s *BatchCallResponse) GetPhoneNumberID() OptNilString
- func (s *BatchCallResponse) GetPhoneProvider() OptTelephonyProvider
- func (s *BatchCallResponse) GetRetryCount() OptInt
- func (s *BatchCallResponse) GetScheduledTimeUnix() int
- func (s *BatchCallResponse) GetStatus() BatchCallStatus
- func (s *BatchCallResponse) GetTotalCallsDispatched() int
- func (s *BatchCallResponse) GetTotalCallsScheduled() int
- func (s *BatchCallResponse) GetWhatsappParams() OptBatchCallWhatsAppParams
- func (s *BatchCallResponse) MarshalJSON() ([]byte, error)
- func (s *BatchCallResponse) SetAgentID(val string)
- func (s *BatchCallResponse) SetAgentName(val string)
- func (s *BatchCallResponse) SetCreatedAtUnix(val int)
- func (s *BatchCallResponse) SetID(val string)
- func (s *BatchCallResponse) SetLastUpdatedAtUnix(val int)
- func (s *BatchCallResponse) SetName(val string)
- func (s *BatchCallResponse) SetPhoneNumberID(val OptNilString)
- func (s *BatchCallResponse) SetPhoneProvider(val OptTelephonyProvider)
- func (s *BatchCallResponse) SetRetryCount(val OptInt)
- func (s *BatchCallResponse) SetScheduledTimeUnix(val int)
- func (s *BatchCallResponse) SetStatus(val BatchCallStatus)
- func (s *BatchCallResponse) SetTotalCallsDispatched(val int)
- func (s *BatchCallResponse) SetTotalCallsScheduled(val int)
- func (s *BatchCallResponse) SetWhatsappParams(val OptBatchCallWhatsAppParams)
- func (s *BatchCallResponse) UnmarshalJSON(data []byte) error
- func (s *BatchCallResponse) Validate() error
- type BatchCallStatus
- func (BatchCallStatus) AllValues() []BatchCallStatus
- func (s *BatchCallStatus) Decode(d *jx.Decoder) error
- func (s BatchCallStatus) Encode(e *jx.Encoder)
- func (s BatchCallStatus) MarshalJSON() ([]byte, error)
- func (s BatchCallStatus) MarshalText() ([]byte, error)
- func (s *BatchCallStatus) UnmarshalJSON(data []byte) error
- func (s *BatchCallStatus) UnmarshalText(data []byte) error
- func (s BatchCallStatus) Validate() error
- type BatchCallWhatsAppParams
- func (s *BatchCallWhatsAppParams) Decode(d *jx.Decoder) error
- func (s *BatchCallWhatsAppParams) Encode(e *jx.Encoder)
- func (s *BatchCallWhatsAppParams) GetWhatsappCallPermissionRequestTemplateLanguageCode() string
- func (s *BatchCallWhatsAppParams) GetWhatsappCallPermissionRequestTemplateName() string
- func (s *BatchCallWhatsAppParams) GetWhatsappPhoneNumberID() OptNilString
- func (s *BatchCallWhatsAppParams) MarshalJSON() ([]byte, error)
- func (s *BatchCallWhatsAppParams) SetWhatsappCallPermissionRequestTemplateLanguageCode(val string)
- func (s *BatchCallWhatsAppParams) SetWhatsappCallPermissionRequestTemplateName(val string)
- func (s *BatchCallWhatsAppParams) SetWhatsappPhoneNumberID(val OptNilString)
- func (s *BatchCallWhatsAppParams) UnmarshalJSON(data []byte) error
- type BatchFailureResponseModel
- func (s *BatchFailureResponseModel) Decode(d *jx.Decoder) error
- func (s *BatchFailureResponseModel) Encode(e *jx.Encoder)
- func (s *BatchFailureResponseModel) GetErrorCode() int
- func (s *BatchFailureResponseModel) GetErrorMessage() string
- func (s *BatchFailureResponseModel) GetErrorStatus() string
- func (s *BatchFailureResponseModel) GetStatus() BatchFailureResponseModelStatus
- func (s *BatchFailureResponseModel) MarshalJSON() ([]byte, error)
- func (s *BatchFailureResponseModel) SetErrorCode(val int)
- func (s *BatchFailureResponseModel) SetErrorMessage(val string)
- func (s *BatchFailureResponseModel) SetErrorStatus(val string)
- func (s *BatchFailureResponseModel) SetStatus(val BatchFailureResponseModelStatus)
- func (s *BatchFailureResponseModel) UnmarshalJSON(data []byte) error
- func (s *BatchFailureResponseModel) Validate() error
- type BatchFailureResponseModelStatus
- func (BatchFailureResponseModelStatus) AllValues() []BatchFailureResponseModelStatus
- func (s *BatchFailureResponseModelStatus) Decode(d *jx.Decoder) error
- func (s BatchFailureResponseModelStatus) Encode(e *jx.Encoder)
- func (s BatchFailureResponseModelStatus) MarshalJSON() ([]byte, error)
- func (s BatchFailureResponseModelStatus) MarshalText() ([]byte, error)
- func (s *BatchFailureResponseModelStatus) UnmarshalJSON(data []byte) error
- func (s *BatchFailureResponseModelStatus) UnmarshalText(data []byte) error
- func (s BatchFailureResponseModelStatus) Validate() error
- type BillingPeriod
- func (BillingPeriod) AllValues() []BillingPeriod
- func (s *BillingPeriod) Decode(d *jx.Decoder) error
- func (s BillingPeriod) Encode(e *jx.Encoder)
- func (s BillingPeriod) MarshalJSON() ([]byte, error)
- func (s BillingPeriod) MarshalText() ([]byte, error)
- func (s *BillingPeriod) UnmarshalJSON(data []byte) error
- func (s *BillingPeriod) UnmarshalText(data []byte) error
- func (s BillingPeriod) Validate() error
- type BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost
- func (s *BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) Decode(d *jx.Decoder) error
- func (s *BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) Encode(e *jx.Encoder)
- func (s *BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) GetLanguage() NilString
- func (s *BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) MarshalJSON() ([]byte, error)
- func (s *BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) SetLanguage(val NilString)
- func (s *BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) UnmarshalJSON(data []byte) error
- type BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart
- func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) GetDescription() OptNilString
- func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) GetFile() OptNilString
- func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) GetName() string
- func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) GetWorkspaceAccess() ...
- func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) SetDescription(val OptNilString)
- func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) SetFile(val OptNilString)
- func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) SetName(val string)
- func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) SetWorkspaceAccess(...)
- func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) Validate() error
- type BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess
- func (BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) AllValues() ...
- func (s BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) MarshalText() ([]byte, error)
- func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) UnmarshalText(data []byte) error
- func (s BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) Validate() error
- type BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost
- func (s *BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) Decode(d *jx.Decoder) error
- func (s *BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) Encode(e *jx.Encoder)
- func (s *BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) GetEmail() string
- func (s *BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) MarshalJSON() ([]byte, error)
- func (s *BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) SetEmail(val string)
- func (s *BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) UnmarshalJSON(data []byte) error
- type BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart
- func (s *BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart) GetFiles() []ht.MultipartFile
- func (s *BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart) GetRemoveBackgroundNoise() OptBool
- func (s *BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart) SetFiles(val []ht.MultipartFile)
- func (s *BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart) SetRemoveBackgroundNoise(val OptBool)
- type BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost
- func (s *BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) Decode(d *jx.Decoder) error
- func (s *BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) Encode(e *jx.Encoder)
- func (s *BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) GetNewName() string
- func (s *BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) MarshalJSON() ([]byte, error)
- func (s *BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) SetNewName(val string)
- func (s *BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) UnmarshalJSON(data []byte) error
- type BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart
- func (s *BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) GetFile() OptMultipartFile
- func (s *BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) GetName() OptNilString
- func (s *BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) GetURL() OptString
- func (s *BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) SetFile(val OptMultipartFile)
- func (s *BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) SetName(val OptNilString)
- func (s *BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) SetURL(val OptString)
- func (s *BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) Validate() error
- type BodyAddVoiceV1VoicesAddPostMultipart
- func (s *BodyAddVoiceV1VoicesAddPostMultipart) GetDescription() OptNilString
- func (s *BodyAddVoiceV1VoicesAddPostMultipart) GetFiles() []ht.MultipartFile
- func (s *BodyAddVoiceV1VoicesAddPostMultipart) GetLabels() OptNilString
- func (s *BodyAddVoiceV1VoicesAddPostMultipart) GetName() string
- func (s *BodyAddVoiceV1VoicesAddPostMultipart) GetRemoveBackgroundNoise() OptBool
- func (s *BodyAddVoiceV1VoicesAddPostMultipart) SetDescription(val OptNilString)
- func (s *BodyAddVoiceV1VoicesAddPostMultipart) SetFiles(val []ht.MultipartFile)
- func (s *BodyAddVoiceV1VoicesAddPostMultipart) SetLabels(val OptNilString)
- func (s *BodyAddVoiceV1VoicesAddPostMultipart) SetName(val string)
- func (s *BodyAddVoiceV1VoicesAddPostMultipart) SetRemoveBackgroundNoise(val OptBool)
- type BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart
- func (s *BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) GetAudio() ht.MultipartFile
- func (s *BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) GetFileFormat() OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat
- func (s *BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) SetAudio(val ht.MultipartFile)
- func (s *BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) SetFileFormat(...)
- func (s *BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) Validate() error
- type BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat
- func (BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) AllValues() []BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat
- func (s BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) MarshalText() ([]byte, error)
- func (s *BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) UnmarshalText(data []byte) error
- func (s BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) Validate() error
- type BodyAudioIsolationV1AudioIsolationPostMultipart
- func (s *BodyAudioIsolationV1AudioIsolationPostMultipart) GetAudio() ht.MultipartFile
- func (s *BodyAudioIsolationV1AudioIsolationPostMultipart) GetFileFormat() OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat
- func (s *BodyAudioIsolationV1AudioIsolationPostMultipart) GetPreviewB64() OptNilString
- func (s *BodyAudioIsolationV1AudioIsolationPostMultipart) SetAudio(val ht.MultipartFile)
- func (s *BodyAudioIsolationV1AudioIsolationPostMultipart) SetFileFormat(val OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat)
- func (s *BodyAudioIsolationV1AudioIsolationPostMultipart) SetPreviewB64(val OptNilString)
- func (s *BodyAudioIsolationV1AudioIsolationPostMultipart) Validate() error
- type BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat
- func (BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) AllValues() []BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat
- func (s BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) MarshalText() ([]byte, error)
- func (s *BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) UnmarshalText(data []byte) error
- func (s BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) Validate() error
- type BodyComposeMusicV1MusicPost
- func (s *BodyComposeMusicV1MusicPost) Decode(d *jx.Decoder) error
- func (s *BodyComposeMusicV1MusicPost) Encode(e *jx.Encoder)
- func (s *BodyComposeMusicV1MusicPost) GetCompositionPlan() OptMusicPrompt
- func (s *BodyComposeMusicV1MusicPost) GetFinetuneID() OptNilString
- func (s *BodyComposeMusicV1MusicPost) GetForceInstrumental() OptBool
- func (s *BodyComposeMusicV1MusicPost) GetModelID() OptBodyComposeMusicV1MusicPostModelID
- func (s *BodyComposeMusicV1MusicPost) GetMusicLengthMs() OptNilInt
- func (s *BodyComposeMusicV1MusicPost) GetMusicPrompt() OptMusicPrompt
- func (s *BodyComposeMusicV1MusicPost) GetPrompt() OptNilString
- func (s *BodyComposeMusicV1MusicPost) GetRespectSectionsDurations() OptBool
- func (s *BodyComposeMusicV1MusicPost) GetSeed() OptNilInt
- func (s *BodyComposeMusicV1MusicPost) GetSignWithC2pa() OptBool
- func (s *BodyComposeMusicV1MusicPost) GetStoreForInpainting() OptBool
- func (s *BodyComposeMusicV1MusicPost) MarshalJSON() ([]byte, error)
- func (s *BodyComposeMusicV1MusicPost) SetCompositionPlan(val OptMusicPrompt)
- func (s *BodyComposeMusicV1MusicPost) SetFinetuneID(val OptNilString)
- func (s *BodyComposeMusicV1MusicPost) SetForceInstrumental(val OptBool)
- func (s *BodyComposeMusicV1MusicPost) SetModelID(val OptBodyComposeMusicV1MusicPostModelID)
- func (s *BodyComposeMusicV1MusicPost) SetMusicLengthMs(val OptNilInt)
- func (s *BodyComposeMusicV1MusicPost) SetMusicPrompt(val OptMusicPrompt)
- func (s *BodyComposeMusicV1MusicPost) SetPrompt(val OptNilString)
- func (s *BodyComposeMusicV1MusicPost) SetRespectSectionsDurations(val OptBool)
- func (s *BodyComposeMusicV1MusicPost) SetSeed(val OptNilInt)
- func (s *BodyComposeMusicV1MusicPost) SetSignWithC2pa(val OptBool)
- func (s *BodyComposeMusicV1MusicPost) SetStoreForInpainting(val OptBool)
- func (s *BodyComposeMusicV1MusicPost) UnmarshalJSON(data []byte) error
- func (s *BodyComposeMusicV1MusicPost) Validate() error
- type BodyComposeMusicV1MusicPostModelID
- func (BodyComposeMusicV1MusicPostModelID) AllValues() []BodyComposeMusicV1MusicPostModelID
- func (s *BodyComposeMusicV1MusicPostModelID) Decode(d *jx.Decoder) error
- func (s BodyComposeMusicV1MusicPostModelID) Encode(e *jx.Encoder)
- func (s BodyComposeMusicV1MusicPostModelID) MarshalJSON() ([]byte, error)
- func (s BodyComposeMusicV1MusicPostModelID) MarshalText() ([]byte, error)
- func (s *BodyComposeMusicV1MusicPostModelID) UnmarshalJSON(data []byte) error
- func (s *BodyComposeMusicV1MusicPostModelID) UnmarshalText(data []byte) error
- func (s BodyComposeMusicV1MusicPostModelID) Validate() error
- type BodyComposeMusicWithADetailedResponseV1MusicDetailedPost
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Decode(d *jx.Decoder) error
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Encode(e *jx.Encoder)
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetCompositionPlan() OptMusicPrompt
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetFinetuneID() OptNilString
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetForceInstrumental() OptBool
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetModelID() OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetMusicLengthMs() OptNilInt
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetMusicPrompt() OptMusicPrompt
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetPrompt() OptNilString
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetSeed() OptNilInt
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetSignWithC2pa() OptBool
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetStoreForInpainting() OptBool
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetWithTimestamps() OptBool
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) MarshalJSON() ([]byte, error)
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetCompositionPlan(val OptMusicPrompt)
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetFinetuneID(val OptNilString)
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetForceInstrumental(val OptBool)
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetModelID(val OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID)
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetMusicLengthMs(val OptNilInt)
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetMusicPrompt(val OptMusicPrompt)
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetPrompt(val OptNilString)
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetSeed(val OptNilInt)
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetSignWithC2pa(val OptBool)
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetStoreForInpainting(val OptBool)
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetWithTimestamps(val OptBool)
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) UnmarshalJSON(data []byte) error
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Validate() error
- type BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID
- func (BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) AllValues() []BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Decode(d *jx.Decoder) error
- func (s BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Encode(e *jx.Encoder)
- func (s BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) MarshalJSON() ([]byte, error)
- func (s BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) MarshalText() ([]byte, error)
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) UnmarshalJSON(data []byte) error
- func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) UnmarshalText(data []byte) error
- func (s BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Validate() error
- type BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost
- func (s *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) Decode(d *jx.Decoder) error
- func (s *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) Encode(e *jx.Encoder)
- func (s *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) GetItems() []GetOrCreateRAGIndexRequestModel
- func (s *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) MarshalJSON() ([]byte, error)
- func (s *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) SetItems(val []GetOrCreateRAGIndexRequestModel)
- func (s *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) UnmarshalJSON(data []byte) error
- func (s *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) Validate() error
- type BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost
- func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Decode(d *jx.Decoder) error
- func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Encode(e *jx.Encoder)
- func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetSpeakerName() OptNilString
- func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetVoiceID() OptNilString
- func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetVoiceSimilarity() OptNilFloat64
- func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetVoiceStability() OptNilFloat64
- func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetVoiceStyle() OptNilFloat64
- func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) MarshalJSON() ([]byte, error)
- func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetSpeakerName(val OptNilString)
- func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetVoiceID(val OptNilString)
- func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetVoiceSimilarity(val OptNilFloat64)
- func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetVoiceStability(val OptNilFloat64)
- func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetVoiceStyle(val OptNilFloat64)
- func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) UnmarshalJSON(data []byte) error
- func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Validate() error
- type BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost
- func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) Decode(d *jx.Decoder) error
- func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) Encode(e *jx.Encoder)
- func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetGeneratedVoiceID() string
- func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetLabels() OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels
- func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetPlayedNotSelectedVoiceIds() OptNilStringArray
- func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetVoiceDescription() string
- func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetVoiceName() string
- func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) MarshalJSON() ([]byte, error)
- func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetGeneratedVoiceID(val string)
- func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetLabels(val OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels)
- func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetPlayedNotSelectedVoiceIds(val OptNilStringArray)
- func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetVoiceDescription(val string)
- func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetVoiceName(val string)
- func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) UnmarshalJSON(data []byte) error
- func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) Validate() error
- type BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels
- func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Decode(d *jx.Decoder) error
- func (s BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Encode(e *jx.Encoder)
- func (s BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) MarshalJSON() ([]byte, error)
- func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) UnmarshalJSON(data []byte) error
- type BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost
- func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) Decode(d *jx.Decoder) error
- func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) Encode(e *jx.Encoder)
- func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetGeneratedVoiceID() string
- func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetLabels() ...
- func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetPlayedNotSelectedVoiceIds() OptNilStringArray
- func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetVoiceDescription() string
- func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetVoiceName() string
- func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) MarshalJSON() ([]byte, error)
- func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetGeneratedVoiceID(val string)
- func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetLabels(...)
- func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetPlayedNotSelectedVoiceIds(val OptNilStringArray)
- func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetVoiceDescription(val string)
- func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetVoiceName(val string)
- func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) UnmarshalJSON(data []byte) error
- func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) Validate() error
- type BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels
- func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Decode(d *jx.Decoder) error
- func (s BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Encode(e *jx.Encoder)
- func (s BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) MarshalJSON() ([]byte, error)
- func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) UnmarshalJSON(data []byte) error
- type BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart
- func (s *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) GetFile() ht.MultipartFile
- func (s *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) GetName() OptNilString
- func (s *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) GetParentFolderID() OptNilString
- func (s *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) SetFile(val ht.MultipartFile)
- func (s *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) SetName(val OptNilString)
- func (s *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) SetParentFolderID(val OptNilString)
- func (s *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) Validate() error
- type BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart
- func (s *BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) GetEnabledSpooledFile() OptBool
- func (s *BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) GetFile() ht.MultipartFile
- func (s *BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) GetText() string
- func (s *BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) SetEnabledSpooledFile(val OptBool)
- func (s *BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) SetFile(val ht.MultipartFile)
- func (s *BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) SetText(val string)
- type BodyCreatePVCVoiceV1VoicesPvcPost
- func (s *BodyCreatePVCVoiceV1VoicesPvcPost) Decode(d *jx.Decoder) error
- func (s *BodyCreatePVCVoiceV1VoicesPvcPost) Encode(e *jx.Encoder)
- func (s *BodyCreatePVCVoiceV1VoicesPvcPost) GetDescription() OptNilString
- func (s *BodyCreatePVCVoiceV1VoicesPvcPost) GetLabels() OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels
- func (s *BodyCreatePVCVoiceV1VoicesPvcPost) GetLanguage() string
- func (s *BodyCreatePVCVoiceV1VoicesPvcPost) GetName() string
- func (s *BodyCreatePVCVoiceV1VoicesPvcPost) MarshalJSON() ([]byte, error)
- func (s *BodyCreatePVCVoiceV1VoicesPvcPost) SetDescription(val OptNilString)
- func (s *BodyCreatePVCVoiceV1VoicesPvcPost) SetLabels(val OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels)
- func (s *BodyCreatePVCVoiceV1VoicesPvcPost) SetLanguage(val string)
- func (s *BodyCreatePVCVoiceV1VoicesPvcPost) SetName(val string)
- func (s *BodyCreatePVCVoiceV1VoicesPvcPost) UnmarshalJSON(data []byte) error
- func (s *BodyCreatePVCVoiceV1VoicesPvcPost) Validate() error
- type BodyCreatePVCVoiceV1VoicesPvcPostLabels
- func (s *BodyCreatePVCVoiceV1VoicesPvcPostLabels) Decode(d *jx.Decoder) error
- func (s BodyCreatePVCVoiceV1VoicesPvcPostLabels) Encode(e *jx.Encoder)
- func (s BodyCreatePVCVoiceV1VoicesPvcPostLabels) MarshalJSON() ([]byte, error)
- func (s *BodyCreatePVCVoiceV1VoicesPvcPostLabels) UnmarshalJSON(data []byte) error
- type BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost
- func (s *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) Decode(d *jx.Decoder) error
- func (s *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) Encode(e *jx.Encoder)
- func (s *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) GetInvalidateAffectedText() OptBool
- func (s *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) GetPronunciationDictionaryLocators() []PronunciationDictionaryVersionLocatorDBModel
- func (s *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) MarshalJSON() ([]byte, error)
- func (s *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) SetInvalidateAffectedText(val OptBool)
- func (s *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) SetPronunciationDictionaryLocators(val []PronunciationDictionaryVersionLocatorDBModel)
- func (s *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) UnmarshalJSON(data []byte) error
- func (s *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) Validate() error
- type BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) Decode(d *jx.Decoder) error
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) Encode(e *jx.Encoder)
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) GetCharacterLimit() OptNilInt
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) GetName() string
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) GetPermissions() ...
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) MarshalJSON() ([]byte, error)
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) SetCharacterLimit(val OptNilInt)
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) SetName(val string)
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) SetPermissions(...)
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) UnmarshalJSON(data []byte) error
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) Validate() error
- type BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions
- func NewBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArrayBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions(...) ...
- func NewBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions(...) ...
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) Decode(d *jx.Decoder) error
- func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) Encode(e *jx.Encoder)
- func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) GetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArray() (...)
- func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) GetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1() (...)
- func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) IsBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArray() bool
- func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) IsBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1() bool
- func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) MarshalJSON() ([]byte, error)
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) SetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArray(...)
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) SetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1(...)
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) UnmarshalJSON(data []byte) error
- func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) Validate() error
- type BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item
- func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) AllValues() ...
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) Decode(d *jx.Decoder) error
- func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) Encode(e *jx.Encoder)
- func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) MarshalJSON() ([]byte, error)
- func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) MarshalText() ([]byte, error)
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) UnmarshalJSON(data []byte) error
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) UnmarshalText(data []byte) error
- func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) Validate() error
- type BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1
- func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) AllValues() ...
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) Decode(d *jx.Decoder) error
- func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) Encode(e *jx.Encoder)
- func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) MarshalJSON() ([]byte, error)
- func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) MarshalText() ([]byte, error)
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) UnmarshalJSON(data []byte) error
- func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) UnmarshalText(data []byte) error
- func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) Validate() error
- type BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissionsType
- type BodyCreateStudioProjectV1StudioProjectsPostMultipart
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetAcxVolumeNormalization() OptBool
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetApplyTextNormalization() ...
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetAuthor() OptNilString
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetAutoAssignVoices() OptNilBool
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetAutoConvert() OptBool
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetCallbackURL() OptNilString
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetContentType() OptNilString
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetDefaultModelID() OptNilString
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetDefaultParagraphVoiceID() OptNilString
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetDefaultTitleVoiceID() OptNilString
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetDescription() OptNilString
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetFiction() OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetFromContentJSON() OptString
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetFromDocument() OptNilString
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetFromURL() OptNilString
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetGenres() []string
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetIsbnNumber() OptNilString
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetLanguage() OptNilString
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetMatureContent() OptNilBool
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetName() string
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetOriginalPublicationDate() OptNilString
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetPronunciationDictionaryLocators() []string
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetQualityPreset() OptString
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetSourceType() OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetTargetAudience() OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetTitle() OptNilString
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetVoiceSettings() []string
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetVolumeNormalization() OptBool
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetAcxVolumeNormalization(val OptBool)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetApplyTextNormalization(...)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetAuthor(val OptNilString)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetAutoAssignVoices(val OptNilBool)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetAutoConvert(val OptBool)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetCallbackURL(val OptNilString)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetContentType(val OptNilString)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetDefaultModelID(val OptNilString)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetDefaultParagraphVoiceID(val OptNilString)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetDefaultTitleVoiceID(val OptNilString)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetDescription(val OptNilString)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetFiction(val OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetFromContentJSON(val OptString)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetFromDocument(val OptNilString)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetFromURL(val OptNilString)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetGenres(val []string)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetIsbnNumber(val OptNilString)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetLanguage(val OptNilString)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetMatureContent(val OptNilBool)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetName(val string)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetOriginalPublicationDate(val OptNilString)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetPronunciationDictionaryLocators(val []string)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetQualityPreset(val OptString)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetSourceType(val OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetTargetAudience(val OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetTitle(val OptNilString)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetVoiceSettings(val []string)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetVolumeNormalization(val OptBool)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) Validate() error
- type BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization
- func (BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) AllValues() []BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization
- func (s BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) MarshalText() ([]byte, error)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) UnmarshalText(data []byte) error
- func (s BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) Validate() error
- type BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction
- func (BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) AllValues() []BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction
- func (s BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) MarshalText() ([]byte, error)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) UnmarshalText(data []byte) error
- func (s BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) Validate() error
- type BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType
- func (BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) AllValues() []BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType
- func (s BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) MarshalText() ([]byte, error)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) UnmarshalText(data []byte) error
- func (s BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) Validate() error
- type BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience
- func (BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) AllValues() []BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience
- func (s BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) MarshalText() ([]byte, error)
- func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) UnmarshalText(data []byte) error
- func (s BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) Validate() error
- type BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost
- func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) Decode(d *jx.Decoder) error
- func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) Encode(e *jx.Encoder)
- func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) GetName() OptNilString
- func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) GetParentFolderID() OptNilString
- func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) GetText() string
- func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) MarshalJSON() ([]byte, error)
- func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) SetName(val OptNilString)
- func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) SetParentFolderID(val OptNilString)
- func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) SetText(val string)
- func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) UnmarshalJSON(data []byte) error
- func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) Validate() error
- type BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost
- func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) Decode(d *jx.Decoder) error
- func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) Encode(e *jx.Encoder)
- func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) GetName() OptNilString
- func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) GetParentFolderID() OptNilString
- func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) GetURL() string
- func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) MarshalJSON() ([]byte, error)
- func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) SetName(val OptNilString)
- func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) SetParentFolderID(val OptNilString)
- func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) SetURL(val string)
- func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) UnmarshalJSON(data []byte) error
- func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) Validate() error
- type BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost
- func (s *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) Decode(d *jx.Decoder) error
- func (s *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) Encode(e *jx.Encoder)
- func (s *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) GetSettings() WebhookHMACSettings
- func (s *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) MarshalJSON() ([]byte, error)
- func (s *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) SetSettings(val WebhookHMACSettings)
- func (s *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) UnmarshalJSON(data []byte) error
- func (s *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) Validate() error
- type BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetApplyTextNormalization() ...
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetAuthor() OptNilString
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetAutoConvert() OptBool
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetBackgroundColor() OptNilString
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetFile() OptMultipartFile
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetImage() OptNilString
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetModelID() OptNilString
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetName() string
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetPronunciationDictionaryLocators() []string
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetSessionization() OptInt
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetSmall() OptBool
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetTextColor() OptNilString
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetTitle() OptNilString
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetVoiceID() OptNilString
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetApplyTextNormalization(...)
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetAuthor(val OptNilString)
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetAutoConvert(val OptBool)
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetBackgroundColor(val OptNilString)
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetFile(val OptMultipartFile)
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetImage(val OptNilString)
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetModelID(val OptNilString)
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetName(val string)
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetPronunciationDictionaryLocators(val []string)
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetSessionization(val OptInt)
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetSmall(val OptBool)
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetTextColor(val OptNilString)
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetTitle(val OptNilString)
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetVoiceID(val OptNilString)
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) Validate() error
- type BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization
- func (BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) AllValues() ...
- func (s BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) MarshalText() ([]byte, error)
- func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) UnmarshalText(data []byte) error
- func (s BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) Validate() error
- type BodyDeleteExistingInvitationV1WorkspaceInvitesDelete
- func (s *BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) Decode(d *jx.Decoder) error
- func (s *BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) Encode(e *jx.Encoder)
- func (s *BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) GetEmail() string
- func (s *BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) MarshalJSON() ([]byte, error)
- func (s *BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) SetEmail(val string)
- func (s *BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) UnmarshalJSON(data []byte) error
- type BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost
- func (s *BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) Decode(d *jx.Decoder) error
- func (s *BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) Encode(e *jx.Encoder)
- func (s *BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) GetEmail() string
- func (s *BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) MarshalJSON() ([]byte, error)
- func (s *BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) SetEmail(val string)
- func (s *BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) UnmarshalJSON(data []byte) error
- type BodyDownloadHistoryItemsV1HistoryDownloadPost
- func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) Decode(d *jx.Decoder) error
- func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) Encode(e *jx.Encoder)
- func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) GetHistoryItemIds() []string
- func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) GetOutputFormat() OptNilString
- func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) MarshalJSON() ([]byte, error)
- func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) SetHistoryItemIds(val []string)
- func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) SetOutputFormat(val OptNilString)
- func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) UnmarshalJSON(data []byte) error
- func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) Validate() error
- type BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetBackgroundAudioFile() OptNilString
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetCsvFile() OptNilString
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetCsvFps() OptNilFloat64
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetDisableVoiceCloning() OptBool
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetDropBackgroundAudio() OptBool
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetDubbingStudio() OptBool
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetEndTime() OptNilInt
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetFile() OptNilString
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetForegroundAudioFile() OptNilString
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetHighestResolution() OptBool
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetMode() OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetName() OptNilString
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetNumSpeakers() OptInt
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetSourceLang() OptString
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetSourceURL() OptNilString
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetStartTime() OptNilInt
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetTargetAccent() OptNilString
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetTargetLang() OptNilString
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetUseProfanityFilter() OptNilBool
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetWatermark() OptBool
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetBackgroundAudioFile(val OptNilString)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetCsvFile(val OptNilString)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetCsvFps(val OptNilFloat64)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetDisableVoiceCloning(val OptBool)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetDropBackgroundAudio(val OptBool)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetDubbingStudio(val OptBool)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetEndTime(val OptNilInt)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetFile(val OptNilString)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetForegroundAudioFile(val OptNilString)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetHighestResolution(val OptBool)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetMode(val OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetName(val OptNilString)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetNumSpeakers(val OptInt)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetSourceLang(val OptString)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetSourceURL(val OptNilString)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetStartTime(val OptNilInt)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetTargetAccent(val OptNilString)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetTargetLang(val OptNilString)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetUseProfanityFilter(val OptNilBool)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetWatermark(val OptBool)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) Validate() error
- type BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode
- func (BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) AllValues() []BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode
- func (s BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) MarshalText() ([]byte, error)
- func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) UnmarshalText(data []byte) error
- func (s BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) Validate() error
- type BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost
- func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) Decode(d *jx.Decoder) error
- func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) Encode(e *jx.Encoder)
- func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) GetLanguages() []string
- func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) GetSegments() []string
- func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) MarshalJSON() ([]byte, error)
- func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) SetLanguages(val []string)
- func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) SetSegments(val []string)
- func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) UnmarshalJSON(data []byte) error
- func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) Validate() error
- type BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost
- func (s *BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Decode(d *jx.Decoder) error
- func (s *BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Encode(e *jx.Encoder)
- func (s *BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) GetName() OptNilString
- func (s *BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) MarshalJSON() ([]byte, error)
- func (s *BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) SetName(val OptNilString)
- func (s *BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) UnmarshalJSON(data []byte) error
- type BodyEditPVCVoiceV1VoicesPvcVoiceIDPost
- func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Decode(d *jx.Decoder) error
- func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Encode(e *jx.Encoder)
- func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) GetDescription() OptNilString
- func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) GetLabels() OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels
- func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) GetLanguage() OptString
- func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) GetName() OptString
- func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) MarshalJSON() ([]byte, error)
- func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetDescription(val OptNilString)
- func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetLabels(val OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels)
- func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetLanguage(val OptString)
- func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetName(val OptString)
- func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) UnmarshalJSON(data []byte) error
- func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Validate() error
- type BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels
- func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Decode(d *jx.Decoder) error
- func (s BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Encode(e *jx.Encoder)
- func (s BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) MarshalJSON() ([]byte, error)
- func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) UnmarshalJSON(data []byte) error
- type BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) Decode(d *jx.Decoder) error
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) Encode(e *jx.Encoder)
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) GetCharacterLimit() OptNilInt
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) GetIsEnabled() bool
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) GetName() string
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) GetPermissions() ...
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) MarshalJSON() ([]byte, error)
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) SetCharacterLimit(val OptNilInt)
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) SetIsEnabled(val bool)
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) SetName(val string)
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) SetPermissions(...)
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) UnmarshalJSON(data []byte) error
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) Validate() error
- type BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions
- func NewBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArrayBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions(...) ...
- func NewBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions(...) ...
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) Decode(d *jx.Decoder) error
- func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) Encode(e *jx.Encoder)
- func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) GetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArray() (...)
- func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) GetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1() (...)
- func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) IsBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArray() bool
- func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) IsBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1() bool
- func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) MarshalJSON() ([]byte, error)
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) SetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArray(...)
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) SetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1(...)
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) UnmarshalJSON(data []byte) error
- func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) Validate() error
- type BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item
- func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) AllValues() ...
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) Decode(d *jx.Decoder) error
- func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) Encode(e *jx.Encoder)
- func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) MarshalJSON() ([]byte, error)
- func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) MarshalText() ([]byte, error)
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) UnmarshalJSON(data []byte) error
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) UnmarshalText(data []byte) error
- func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) Validate() error
- type BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1
- func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) AllValues() ...
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) Decode(d *jx.Decoder) error
- func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) Encode(e *jx.Encoder)
- func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) MarshalJSON() ([]byte, error)
- func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) MarshalText() ([]byte, error)
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) UnmarshalJSON(data []byte) error
- func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) UnmarshalText(data []byte) error
- func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) Validate() error
- type BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissionsType
- type BodyEditVoiceV1VoicesVoiceIDEditPostMultipart
- func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetDescription() OptNilString
- func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetFiles() []ht.MultipartFile
- func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetLabels() OptNilString
- func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetName() string
- func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetRemoveBackgroundNoise() OptBool
- func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetDescription(val OptNilString)
- func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetFiles(val []ht.MultipartFile)
- func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetLabels(val OptNilString)
- func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetName(val string)
- func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetRemoveBackgroundNoise(val OptBool)
- type BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) Decode(d *jx.Decoder) error
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) Encode(e *jx.Encoder)
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetAccent() string
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetAccentStrength() float64
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetAge() BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetGender() BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetText() string
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) MarshalJSON() ([]byte, error)
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetAccent(val string)
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetAccentStrength(val float64)
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetAge(val BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge)
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetGender(val BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender)
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetText(val string)
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) UnmarshalJSON(data []byte) error
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) Validate() error
- type BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge
- func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) AllValues() []BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) Decode(d *jx.Decoder) error
- func (s BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) Encode(e *jx.Encoder)
- func (s BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) MarshalJSON() ([]byte, error)
- func (s BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) MarshalText() ([]byte, error)
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) UnmarshalJSON(data []byte) error
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) UnmarshalText(data []byte) error
- func (s BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) Validate() error
- type BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender
- func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) AllValues() []BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) Decode(d *jx.Decoder) error
- func (s BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) Encode(e *jx.Encoder)
- func (s BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) MarshalJSON() ([]byte, error)
- func (s BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) MarshalText() ([]byte, error)
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) UnmarshalJSON(data []byte) error
- func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) UnmarshalText(data []byte) error
- func (s BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) Validate() error
- type BodyGenerateCompositionPlanV1MusicPlanPost
- func (s *BodyGenerateCompositionPlanV1MusicPlanPost) Decode(d *jx.Decoder) error
- func (s *BodyGenerateCompositionPlanV1MusicPlanPost) Encode(e *jx.Encoder)
- func (s *BodyGenerateCompositionPlanV1MusicPlanPost) GetModelID() OptBodyGenerateCompositionPlanV1MusicPlanPostModelID
- func (s *BodyGenerateCompositionPlanV1MusicPlanPost) GetMusicLengthMs() OptNilInt
- func (s *BodyGenerateCompositionPlanV1MusicPlanPost) GetPrompt() string
- func (s *BodyGenerateCompositionPlanV1MusicPlanPost) GetSourceCompositionPlan() OptMusicPrompt
- func (s *BodyGenerateCompositionPlanV1MusicPlanPost) MarshalJSON() ([]byte, error)
- func (s *BodyGenerateCompositionPlanV1MusicPlanPost) SetModelID(val OptBodyGenerateCompositionPlanV1MusicPlanPostModelID)
- func (s *BodyGenerateCompositionPlanV1MusicPlanPost) SetMusicLengthMs(val OptNilInt)
- func (s *BodyGenerateCompositionPlanV1MusicPlanPost) SetPrompt(val string)
- func (s *BodyGenerateCompositionPlanV1MusicPlanPost) SetSourceCompositionPlan(val OptMusicPrompt)
- func (s *BodyGenerateCompositionPlanV1MusicPlanPost) UnmarshalJSON(data []byte) error
- func (s *BodyGenerateCompositionPlanV1MusicPlanPost) Validate() error
- type BodyGenerateCompositionPlanV1MusicPlanPostModelID
- func (BodyGenerateCompositionPlanV1MusicPlanPostModelID) AllValues() []BodyGenerateCompositionPlanV1MusicPlanPostModelID
- func (s *BodyGenerateCompositionPlanV1MusicPlanPostModelID) Decode(d *jx.Decoder) error
- func (s BodyGenerateCompositionPlanV1MusicPlanPostModelID) Encode(e *jx.Encoder)
- func (s BodyGenerateCompositionPlanV1MusicPlanPostModelID) MarshalJSON() ([]byte, error)
- func (s BodyGenerateCompositionPlanV1MusicPlanPostModelID) MarshalText() ([]byte, error)
- func (s *BodyGenerateCompositionPlanV1MusicPlanPostModelID) UnmarshalJSON(data []byte) error
- func (s *BodyGenerateCompositionPlanV1MusicPlanPostModelID) UnmarshalText(data []byte) error
- func (s BodyGenerateCompositionPlanV1MusicPlanPostModelID) Validate() error
- type BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart
- func (s *BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) GetAudioFile() OptMultipartFile
- func (s *BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) GetSimilarityThreshold() OptNilFloat64
- func (s *BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) GetTopK() OptNilInt
- func (s *BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) SetAudioFile(val OptMultipartFile)
- func (s *BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) SetSimilarityThreshold(val OptNilFloat64)
- func (s *BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) SetTopK(val OptNilInt)
- func (s *BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) Validate() error
- type BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost
- func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) Decode(d *jx.Decoder) error
- func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) Encode(e *jx.Encoder)
- func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) GetAgentID() string
- func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) GetAgentPhoneNumberID() string
- func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) GetConversationInitiationClientData() OptConversationInitiationClientDataRequestInput
- func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) GetToNumber() string
- func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) MarshalJSON() ([]byte, error)
- func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) SetAgentID(val string)
- func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) SetAgentPhoneNumberID(val string)
- func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) SetConversationInitiationClientData(val OptConversationInitiationClientDataRequestInput)
- func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) SetToNumber(val string)
- func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) UnmarshalJSON(data []byte) error
- func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) Validate() error
- type BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost
- func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) Decode(d *jx.Decoder) error
- func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) Encode(e *jx.Encoder)
- func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) GetAgentID() string
- func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) GetAgentPhoneNumberID() string
- func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) GetConversationInitiationClientData() OptConversationInitiationClientDataRequestInput
- func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) GetToNumber() string
- func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) MarshalJSON() ([]byte, error)
- func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) SetAgentID(val string)
- func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) SetAgentPhoneNumberID(val string)
- func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) SetConversationInitiationClientData(val OptConversationInitiationClientDataRequestInput)
- func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) SetToNumber(val string)
- func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) UnmarshalJSON(data []byte) error
- func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) Validate() error
- type BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost
- func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) Decode(d *jx.Decoder) error
- func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) Encode(e *jx.Encoder)
- func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) GetEmails() []string
- func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) GetGroupIds() OptNilStringArray
- func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) MarshalJSON() ([]byte, error)
- func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) SetEmails(val []string)
- func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) SetGroupIds(val OptNilStringArray)
- func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) UnmarshalJSON(data []byte) error
- func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) Validate() error
- type BodyInviteUserV1WorkspaceInvitesAddPost
- func (s *BodyInviteUserV1WorkspaceInvitesAddPost) Decode(d *jx.Decoder) error
- func (s *BodyInviteUserV1WorkspaceInvitesAddPost) Encode(e *jx.Encoder)
- func (s *BodyInviteUserV1WorkspaceInvitesAddPost) GetEmail() string
- func (s *BodyInviteUserV1WorkspaceInvitesAddPost) GetGroupIds() OptNilStringArray
- func (s *BodyInviteUserV1WorkspaceInvitesAddPost) GetWorkspacePermission() OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission
- func (s *BodyInviteUserV1WorkspaceInvitesAddPost) MarshalJSON() ([]byte, error)
- func (s *BodyInviteUserV1WorkspaceInvitesAddPost) SetEmail(val string)
- func (s *BodyInviteUserV1WorkspaceInvitesAddPost) SetGroupIds(val OptNilStringArray)
- func (s *BodyInviteUserV1WorkspaceInvitesAddPost) SetWorkspacePermission(val OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission)
- func (s *BodyInviteUserV1WorkspaceInvitesAddPost) UnmarshalJSON(data []byte) error
- func (s *BodyInviteUserV1WorkspaceInvitesAddPost) Validate() error
- type BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission
- func (BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) AllValues() []BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission
- func (s *BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Decode(d *jx.Decoder) error
- func (s BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Encode(e *jx.Encoder)
- func (s BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) MarshalJSON() ([]byte, error)
- func (s BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) MarshalText() ([]byte, error)
- func (s *BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) UnmarshalJSON(data []byte) error
- func (s *BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) UnmarshalText(data []byte) error
- func (s BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Validate() error
- type BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost
- func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) Decode(d *jx.Decoder) error
- func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) Encode(e *jx.Encoder)
- func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetAgentID() string
- func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetConversationInitiationClientData() OptConversationInitiationClientDataRequestInput
- func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetWhatsappCallPermissionRequestTemplateLanguageCode() string
- func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetWhatsappCallPermissionRequestTemplateName() string
- func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetWhatsappPhoneNumberID() string
- func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetWhatsappUserID() string
- func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) MarshalJSON() ([]byte, error)
- func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetAgentID(val string)
- func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetConversationInitiationClientData(val OptConversationInitiationClientDataRequestInput)
- func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetWhatsappCallPermissionRequestTemplateLanguageCode(val string)
- func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetWhatsappCallPermissionRequestTemplateName(val string)
- func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetWhatsappPhoneNumberID(val string)
- func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetWhatsappUserID(val string)
- func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) UnmarshalJSON(data []byte) error
- func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) Validate() error
- type BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost
- func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) Decode(d *jx.Decoder) error
- func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) Encode(e *jx.Encoder)
- func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) GetSegmentIds() []string
- func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) GetSpeakerID() string
- func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) MarshalJSON() ([]byte, error)
- func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) SetSegmentIds(val []string)
- func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) SetSpeakerID(val string)
- func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) UnmarshalJSON(data []byte) error
- func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) Validate() error
- type BodyPostAgentAvatarV1ConvaiAgentsAgentIDAvatarPostMultipart
- type BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) Decode(d *jx.Decoder) error
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) Encode(e *jx.Encoder)
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetAgentID() string
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetConversationInitiationClientData() OptConversationInitiationClientDataRequestInput
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetDirection() ...
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetFromNumber() string
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetToNumber() string
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) MarshalJSON() ([]byte, error)
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetAgentID(val string)
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetConversationInitiationClientData(val OptConversationInitiationClientDataRequestInput)
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetDirection(...)
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetFromNumber(val string)
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetToNumber(val string)
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) UnmarshalJSON(data []byte) error
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) Validate() error
- type BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection
- func (BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) AllValues() []BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Decode(d *jx.Decoder) error
- func (s BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Encode(e *jx.Encoder)
- func (s BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) MarshalJSON() ([]byte, error)
- func (s BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) MarshalText() ([]byte, error)
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) UnmarshalJSON(data []byte) error
- func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) UnmarshalText(data []byte) error
- func (s BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Validate() error
- type BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost
- func (s *BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) Decode(d *jx.Decoder) error
- func (s *BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) Encode(e *jx.Encoder)
- func (s *BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) GetRuleStrings() []string
- func (s *BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) MarshalJSON() ([]byte, error)
- func (s *BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) SetRuleStrings(val []string)
- func (s *BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) UnmarshalJSON(data []byte) error
- func (s *BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) Validate() error
- type BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart
- func (s *BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart) GetExtraText() OptNilString
- func (s *BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart) GetFiles() []ht.MultipartFile
- func (s *BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart) SetExtraText(val OptNilString)
- func (s *BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart) SetFiles(val []ht.MultipartFile)
- type BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost
- func (s *BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Decode(d *jx.Decoder) error
- func (s *BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Encode(e *jx.Encoder)
- func (s *BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) GetModelID() OptNilString
- func (s *BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) MarshalJSON() ([]byte, error)
- func (s *BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) SetModelID(val OptNilString)
- func (s *BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) UnmarshalJSON(data []byte) error
- type BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) Decode(d *jx.Decoder) error
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) Encode(e *jx.Encoder)
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetGroupID() OptNilString
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetResourceType() WorkspaceResourceType
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetRole() BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetUserEmail() OptNilString
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetWorkspaceAPIKeyID() OptNilString
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) MarshalJSON() ([]byte, error)
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetGroupID(val OptNilString)
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetResourceType(val WorkspaceResourceType)
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetRole(val BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole)
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetUserEmail(val OptNilString)
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetWorkspaceAPIKeyID(val OptNilString)
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) UnmarshalJSON(data []byte) error
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) Validate() error
- type BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole
- func (BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) AllValues() []BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) Decode(d *jx.Decoder) error
- func (s BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) Encode(e *jx.Encoder)
- func (s BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) MarshalJSON() ([]byte, error)
- func (s BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) MarshalText() ([]byte, error)
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) UnmarshalJSON(data []byte) error
- func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) UnmarshalText(data []byte) error
- func (s BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) Validate() error
- type BodySoundGenerationV1SoundGenerationPost
- func (s *BodySoundGenerationV1SoundGenerationPost) Decode(d *jx.Decoder) error
- func (s *BodySoundGenerationV1SoundGenerationPost) Encode(e *jx.Encoder)
- func (s *BodySoundGenerationV1SoundGenerationPost) GetDurationSeconds() OptNilFloat64
- func (s *BodySoundGenerationV1SoundGenerationPost) GetLoop() OptBool
- func (s *BodySoundGenerationV1SoundGenerationPost) GetModelID() OptString
- func (s *BodySoundGenerationV1SoundGenerationPost) GetPromptInfluence() OptNilFloat64
- func (s *BodySoundGenerationV1SoundGenerationPost) GetText() string
- func (s *BodySoundGenerationV1SoundGenerationPost) MarshalJSON() ([]byte, error)
- func (s *BodySoundGenerationV1SoundGenerationPost) SetDurationSeconds(val OptNilFloat64)
- func (s *BodySoundGenerationV1SoundGenerationPost) SetLoop(val OptBool)
- func (s *BodySoundGenerationV1SoundGenerationPost) SetModelID(val OptString)
- func (s *BodySoundGenerationV1SoundGenerationPost) SetPromptInfluence(val OptNilFloat64)
- func (s *BodySoundGenerationV1SoundGenerationPost) SetText(val string)
- func (s *BodySoundGenerationV1SoundGenerationPost) UnmarshalJSON(data []byte) error
- func (s *BodySoundGenerationV1SoundGenerationPost) Validate() error
- type BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart
- func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetAudio() ht.MultipartFile
- func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetFileFormat() ...
- func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetModelID() OptString
- func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetRemoveBackgroundNoise() OptBool
- func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetSeed() OptNilInt
- func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetVoiceSettings() OptNilString
- func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetAudio(val ht.MultipartFile)
- func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetFileFormat(...)
- func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetModelID(val OptString)
- func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetRemoveBackgroundNoise(val OptBool)
- func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetSeed(val OptNilInt)
- func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetVoiceSettings(val OptNilString)
- func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) Validate() error
- type BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat
- func (BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) AllValues() ...
- func (s BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) MarshalText() ([]byte, error)
- func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) UnmarshalText(data []byte) error
- func (s BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) Validate() error
- type BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart
- func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetAudio() ht.MultipartFile
- func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetFileFormat() OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat
- func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetModelID() OptString
- func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetRemoveBackgroundNoise() OptBool
- func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetSeed() OptNilInt
- func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetVoiceSettings() OptNilString
- func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetAudio(val ht.MultipartFile)
- func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetFileFormat(val OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat)
- func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetModelID(val OptString)
- func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetRemoveBackgroundNoise(val OptBool)
- func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetSeed(val OptNilInt)
- func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetVoiceSettings(val OptNilString)
- func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) Validate() error
- type BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat
- func (BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) AllValues() []BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat
- func (s BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) MarshalText() ([]byte, error)
- func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) UnmarshalText(data []byte) error
- func (s BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) Validate() error
- type BodySpeechToTextV1SpeechToTextPostMultipart
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetAdditionalFormats() AdditionalFormats
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetCloudStorageURL() OptNilString
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetDiarizationThreshold() OptNilFloat64
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetDiarize() OptBool
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetFile() OptNilString
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetFileFormat() OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetLanguageCode() OptNilString
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetModelID() string
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetNumSpeakers() OptNilInt
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetSeed() OptNilInt
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetTagAudioEvents() OptBool
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetTemperature() OptNilFloat64
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetTimestampsGranularity() OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetUseMultiChannel() OptBool
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetWebhook() OptBool
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetWebhookID() OptNilString
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetWebhookMetadata() OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetAdditionalFormats(val AdditionalFormats)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetCloudStorageURL(val OptNilString)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetDiarizationThreshold(val OptNilFloat64)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetDiarize(val OptBool)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetFile(val OptNilString)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetFileFormat(val OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetLanguageCode(val OptNilString)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetModelID(val string)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetNumSpeakers(val OptNilInt)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetSeed(val OptNilInt)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetTagAudioEvents(val OptBool)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetTemperature(val OptNilFloat64)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetTimestampsGranularity(val OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetUseMultiChannel(val OptBool)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetWebhook(val OptBool)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetWebhookID(val OptNilString)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetWebhookMetadata(val OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipart) Validate() error
- type BodySpeechToTextV1SpeechToTextPostMultipartFileFormat
- func (BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) AllValues() []BodySpeechToTextV1SpeechToTextPostMultipartFileFormat
- func (s BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) MarshalText() ([]byte, error)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) UnmarshalText(data []byte) error
- func (s BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) Validate() error
- type BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity
- func (BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) AllValues() []BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity
- func (s BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) MarshalText() ([]byte, error)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) UnmarshalText(data []byte) error
- func (s BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) Validate() error
- type BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata
- func NewBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata(v BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata
- func NewStringBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata(v string) BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata
- func (s *BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Decode(d *jx.Decoder) error
- func (s BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Encode(e *jx.Encoder)
- func (s BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) GetBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1() (v BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1, ok bool)
- func (s BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) GetString() (v string, ok bool)
- func (s BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) IsBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1() bool
- func (s BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) IsString() bool
- func (s BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) MarshalJSON() ([]byte, error)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) SetBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1(v BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) SetString(v string)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) UnmarshalJSON(data []byte) error
- type BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1
- func (s *BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) Decode(d *jx.Decoder) error
- func (s *BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) Encode(e *jx.Encoder)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) MarshalJSON() ([]byte, error)
- func (s *BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) UnmarshalJSON(data []byte) error
- type BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadataType
- type BodyStemSeparationV1MusicStemSeparationPostMultipart
- func (s *BodyStemSeparationV1MusicStemSeparationPostMultipart) GetFile() ht.MultipartFile
- func (s *BodyStemSeparationV1MusicStemSeparationPostMultipart) GetSignWithC2pa() OptBool
- func (s *BodyStemSeparationV1MusicStemSeparationPostMultipart) GetStemVariationID() OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID
- func (s *BodyStemSeparationV1MusicStemSeparationPostMultipart) SetFile(val ht.MultipartFile)
- func (s *BodyStemSeparationV1MusicStemSeparationPostMultipart) SetSignWithC2pa(val OptBool)
- func (s *BodyStemSeparationV1MusicStemSeparationPostMultipart) SetStemVariationID(val OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID)
- func (s *BodyStemSeparationV1MusicStemSeparationPostMultipart) Validate() error
- type BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID
- func (BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) AllValues() []BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID
- func (s BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) MarshalText() ([]byte, error)
- func (s *BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) UnmarshalText(data []byte) error
- func (s BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) Validate() error
- type BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost
- func (s *BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Decode(d *jx.Decoder) error
- func (s *BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Encode(e *jx.Encoder)
- func (s *BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) GetConvertToMpeg() OptBool
- func (s *BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) MarshalJSON() ([]byte, error)
- func (s *BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) SetConvertToMpeg(val OptBool)
- func (s *BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) UnmarshalJSON(data []byte) error
- type BodyStreamComposedMusicV1MusicStreamPost
- func (s *BodyStreamComposedMusicV1MusicStreamPost) Decode(d *jx.Decoder) error
- func (s *BodyStreamComposedMusicV1MusicStreamPost) Encode(e *jx.Encoder)
- func (s *BodyStreamComposedMusicV1MusicStreamPost) GetCompositionPlan() OptMusicPrompt
- func (s *BodyStreamComposedMusicV1MusicStreamPost) GetFinetuneID() OptNilString
- func (s *BodyStreamComposedMusicV1MusicStreamPost) GetForceInstrumental() OptBool
- func (s *BodyStreamComposedMusicV1MusicStreamPost) GetModelID() OptBodyStreamComposedMusicV1MusicStreamPostModelID
- func (s *BodyStreamComposedMusicV1MusicStreamPost) GetMusicLengthMs() OptNilInt
- func (s *BodyStreamComposedMusicV1MusicStreamPost) GetMusicPrompt() OptMusicPrompt
- func (s *BodyStreamComposedMusicV1MusicStreamPost) GetPrompt() OptNilString
- func (s *BodyStreamComposedMusicV1MusicStreamPost) GetSeed() OptNilInt
- func (s *BodyStreamComposedMusicV1MusicStreamPost) GetStoreForInpainting() OptBool
- func (s *BodyStreamComposedMusicV1MusicStreamPost) MarshalJSON() ([]byte, error)
- func (s *BodyStreamComposedMusicV1MusicStreamPost) SetCompositionPlan(val OptMusicPrompt)
- func (s *BodyStreamComposedMusicV1MusicStreamPost) SetFinetuneID(val OptNilString)
- func (s *BodyStreamComposedMusicV1MusicStreamPost) SetForceInstrumental(val OptBool)
- func (s *BodyStreamComposedMusicV1MusicStreamPost) SetModelID(val OptBodyStreamComposedMusicV1MusicStreamPostModelID)
- func (s *BodyStreamComposedMusicV1MusicStreamPost) SetMusicLengthMs(val OptNilInt)
- func (s *BodyStreamComposedMusicV1MusicStreamPost) SetMusicPrompt(val OptMusicPrompt)
- func (s *BodyStreamComposedMusicV1MusicStreamPost) SetPrompt(val OptNilString)
- func (s *BodyStreamComposedMusicV1MusicStreamPost) SetSeed(val OptNilInt)
- func (s *BodyStreamComposedMusicV1MusicStreamPost) SetStoreForInpainting(val OptBool)
- func (s *BodyStreamComposedMusicV1MusicStreamPost) UnmarshalJSON(data []byte) error
- func (s *BodyStreamComposedMusicV1MusicStreamPost) Validate() error
- type BodyStreamComposedMusicV1MusicStreamPostModelID
- func (BodyStreamComposedMusicV1MusicStreamPostModelID) AllValues() []BodyStreamComposedMusicV1MusicStreamPostModelID
- func (s *BodyStreamComposedMusicV1MusicStreamPostModelID) Decode(d *jx.Decoder) error
- func (s BodyStreamComposedMusicV1MusicStreamPostModelID) Encode(e *jx.Encoder)
- func (s BodyStreamComposedMusicV1MusicStreamPostModelID) MarshalJSON() ([]byte, error)
- func (s BodyStreamComposedMusicV1MusicStreamPostModelID) MarshalText() ([]byte, error)
- func (s *BodyStreamComposedMusicV1MusicStreamPostModelID) UnmarshalJSON(data []byte) error
- func (s *BodyStreamComposedMusicV1MusicStreamPostModelID) UnmarshalText(data []byte) error
- func (s BodyStreamComposedMusicV1MusicStreamPostModelID) Validate() error
- type BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost
- func (s *BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Decode(d *jx.Decoder) error
- func (s *BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Encode(e *jx.Encoder)
- func (s *BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) GetConvertToMpeg() OptBool
- func (s *BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) MarshalJSON() ([]byte, error)
- func (s *BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) SetConvertToMpeg(val OptBool)
- func (s *BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) UnmarshalJSON(data []byte) error
- type BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost
- func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) Decode(d *jx.Decoder) error
- func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) Encode(e *jx.Encoder)
- func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetAgentID() string
- func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetAgentPhoneNumberID() OptNilString
- func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetCallName() string
- func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetRecipients() []OutboundCallRecipient
- func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetScheduledTimeUnix() OptNilInt
- func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetWhatsappParams() OptBatchCallWhatsAppParams
- func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) MarshalJSON() ([]byte, error)
- func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetAgentID(val string)
- func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetAgentPhoneNumberID(val OptNilString)
- func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetCallName(val string)
- func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetRecipients(val []OutboundCallRecipient)
- func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetScheduledTimeUnix(val OptNilInt)
- func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetWhatsappParams(val OptBatchCallWhatsAppParams)
- func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) UnmarshalJSON(data []byte) error
- func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) Validate() error
- type BodyTextToDialogueFullWithTimestamps
- func (s *BodyTextToDialogueFullWithTimestamps) Decode(d *jx.Decoder) error
- func (s *BodyTextToDialogueFullWithTimestamps) Encode(e *jx.Encoder)
- func (s *BodyTextToDialogueFullWithTimestamps) GetApplyTextNormalization() OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization
- func (s *BodyTextToDialogueFullWithTimestamps) GetInputs() []DialogueInput
- func (s *BodyTextToDialogueFullWithTimestamps) GetLanguageCode() OptNilString
- func (s *BodyTextToDialogueFullWithTimestamps) GetModelID() OptString
- func (s *BodyTextToDialogueFullWithTimestamps) GetPronunciationDictionaryLocators() OptNilPronunciationDictionaryVersionLocatorRequestModelArray
- func (s *BodyTextToDialogueFullWithTimestamps) GetSeed() OptNilInt
- func (s *BodyTextToDialogueFullWithTimestamps) GetSettings() OptModelSettingsResponseModel
- func (s *BodyTextToDialogueFullWithTimestamps) MarshalJSON() ([]byte, error)
- func (s *BodyTextToDialogueFullWithTimestamps) SetApplyTextNormalization(val OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization)
- func (s *BodyTextToDialogueFullWithTimestamps) SetInputs(val []DialogueInput)
- func (s *BodyTextToDialogueFullWithTimestamps) SetLanguageCode(val OptNilString)
- func (s *BodyTextToDialogueFullWithTimestamps) SetModelID(val OptString)
- func (s *BodyTextToDialogueFullWithTimestamps) SetPronunciationDictionaryLocators(val OptNilPronunciationDictionaryVersionLocatorRequestModelArray)
- func (s *BodyTextToDialogueFullWithTimestamps) SetSeed(val OptNilInt)
- func (s *BodyTextToDialogueFullWithTimestamps) SetSettings(val OptModelSettingsResponseModel)
- func (s *BodyTextToDialogueFullWithTimestamps) UnmarshalJSON(data []byte) error
- func (s *BodyTextToDialogueFullWithTimestamps) Validate() error
- type BodyTextToDialogueFullWithTimestampsApplyTextNormalization
- func (BodyTextToDialogueFullWithTimestampsApplyTextNormalization) AllValues() []BodyTextToDialogueFullWithTimestampsApplyTextNormalization
- func (s *BodyTextToDialogueFullWithTimestampsApplyTextNormalization) Decode(d *jx.Decoder) error
- func (s BodyTextToDialogueFullWithTimestampsApplyTextNormalization) Encode(e *jx.Encoder)
- func (s BodyTextToDialogueFullWithTimestampsApplyTextNormalization) MarshalJSON() ([]byte, error)
- func (s BodyTextToDialogueFullWithTimestampsApplyTextNormalization) MarshalText() ([]byte, error)
- func (s *BodyTextToDialogueFullWithTimestampsApplyTextNormalization) UnmarshalJSON(data []byte) error
- func (s *BodyTextToDialogueFullWithTimestampsApplyTextNormalization) UnmarshalText(data []byte) error
- func (s BodyTextToDialogueFullWithTimestampsApplyTextNormalization) Validate() error
- type BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) Decode(d *jx.Decoder) error
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) Encode(e *jx.Encoder)
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetApplyTextNormalization() ...
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetInputs() []DialogueInput
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetLanguageCode() OptNilString
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetModelID() OptString
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetPronunciationDictionaryLocators() OptNilPronunciationDictionaryVersionLocatorRequestModelArray
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetSeed() OptNilInt
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetSettings() OptModelSettingsResponseModel
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) MarshalJSON() ([]byte, error)
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetApplyTextNormalization(...)
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetInputs(val []DialogueInput)
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetLanguageCode(val OptNilString)
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetModelID(val OptString)
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetPronunciationDictionaryLocators(val OptNilPronunciationDictionaryVersionLocatorRequestModelArray)
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetSeed(val OptNilInt)
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetSettings(val OptModelSettingsResponseModel)
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) UnmarshalJSON(data []byte) error
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) Validate() error
- type BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization
- func (BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) AllValues() ...
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Decode(d *jx.Decoder) error
- func (s BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Encode(e *jx.Encoder)
- func (s BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) MarshalJSON() ([]byte, error)
- func (s BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) MarshalText() ([]byte, error)
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) UnmarshalJSON(data []byte) error
- func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) UnmarshalText(data []byte) error
- func (s BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Validate() error
- type BodyTextToDialogueMultiVoiceV1TextToDialoguePost
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) Decode(d *jx.Decoder) error
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) Encode(e *jx.Encoder)
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetApplyTextNormalization() OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetInputs() []DialogueInput
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetLanguageCode() OptNilString
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetModelID() OptString
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetPronunciationDictionaryLocators() OptNilPronunciationDictionaryVersionLocatorRequestModelArray
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetSeed() OptNilInt
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetSettings() OptModelSettingsResponseModel
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) MarshalJSON() ([]byte, error)
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetApplyTextNormalization(val OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization)
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetInputs(val []DialogueInput)
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetLanguageCode(val OptNilString)
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetModelID(val OptString)
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetPronunciationDictionaryLocators(val OptNilPronunciationDictionaryVersionLocatorRequestModelArray)
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetSeed(val OptNilInt)
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetSettings(val OptModelSettingsResponseModel)
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) UnmarshalJSON(data []byte) error
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) Validate() error
- type BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization
- func (BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) AllValues() []BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Decode(d *jx.Decoder) error
- func (s BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Encode(e *jx.Encoder)
- func (s BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) MarshalJSON() ([]byte, error)
- func (s BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) MarshalText() ([]byte, error)
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) UnmarshalJSON(data []byte) error
- func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) UnmarshalText(data []byte) error
- func (s BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Validate() error
- type BodyTextToDialogueStreamWithTimestamps
- func (s *BodyTextToDialogueStreamWithTimestamps) Decode(d *jx.Decoder) error
- func (s *BodyTextToDialogueStreamWithTimestamps) Encode(e *jx.Encoder)
- func (s *BodyTextToDialogueStreamWithTimestamps) GetApplyTextNormalization() OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization
- func (s *BodyTextToDialogueStreamWithTimestamps) GetInputs() []DialogueInput
- func (s *BodyTextToDialogueStreamWithTimestamps) GetLanguageCode() OptNilString
- func (s *BodyTextToDialogueStreamWithTimestamps) GetModelID() OptString
- func (s *BodyTextToDialogueStreamWithTimestamps) GetPronunciationDictionaryLocators() OptNilPronunciationDictionaryVersionLocatorRequestModelArray
- func (s *BodyTextToDialogueStreamWithTimestamps) GetSeed() OptNilInt
- func (s *BodyTextToDialogueStreamWithTimestamps) GetSettings() OptModelSettingsResponseModel
- func (s *BodyTextToDialogueStreamWithTimestamps) MarshalJSON() ([]byte, error)
- func (s *BodyTextToDialogueStreamWithTimestamps) SetApplyTextNormalization(val OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization)
- func (s *BodyTextToDialogueStreamWithTimestamps) SetInputs(val []DialogueInput)
- func (s *BodyTextToDialogueStreamWithTimestamps) SetLanguageCode(val OptNilString)
- func (s *BodyTextToDialogueStreamWithTimestamps) SetModelID(val OptString)
- func (s *BodyTextToDialogueStreamWithTimestamps) SetPronunciationDictionaryLocators(val OptNilPronunciationDictionaryVersionLocatorRequestModelArray)
- func (s *BodyTextToDialogueStreamWithTimestamps) SetSeed(val OptNilInt)
- func (s *BodyTextToDialogueStreamWithTimestamps) SetSettings(val OptModelSettingsResponseModel)
- func (s *BodyTextToDialogueStreamWithTimestamps) UnmarshalJSON(data []byte) error
- func (s *BodyTextToDialogueStreamWithTimestamps) Validate() error
- type BodyTextToDialogueStreamWithTimestampsApplyTextNormalization
- func (BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) AllValues() []BodyTextToDialogueStreamWithTimestampsApplyTextNormalization
- func (s *BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Decode(d *jx.Decoder) error
- func (s BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Encode(e *jx.Encoder)
- func (s BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) MarshalJSON() ([]byte, error)
- func (s BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) MarshalText() ([]byte, error)
- func (s *BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) UnmarshalJSON(data []byte) error
- func (s *BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) UnmarshalText(data []byte) error
- func (s BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Validate() error
- type BodyTextToSpeechFull
- func (s *BodyTextToSpeechFull) Decode(d *jx.Decoder) error
- func (s *BodyTextToSpeechFull) Encode(e *jx.Encoder)
- func (s *BodyTextToSpeechFull) GetApplyLanguageTextNormalization() OptBool
- func (s *BodyTextToSpeechFull) GetApplyTextNormalization() OptBodyTextToSpeechFullApplyTextNormalization
- func (s *BodyTextToSpeechFull) GetLanguageCode() OptNilString
- func (s *BodyTextToSpeechFull) GetModelID() OptString
- func (s *BodyTextToSpeechFull) GetNextRequestIds() OptNilStringArray
- func (s *BodyTextToSpeechFull) GetNextText() OptNilString
- func (s *BodyTextToSpeechFull) GetPreviousRequestIds() OptNilStringArray
- func (s *BodyTextToSpeechFull) GetPreviousText() OptNilString
- func (s *BodyTextToSpeechFull) GetPronunciationDictionaryLocators() OptNilPronunciationDictionaryVersionLocatorRequestModelArray
- func (s *BodyTextToSpeechFull) GetSeed() OptNilInt
- func (s *BodyTextToSpeechFull) GetText() string
- func (s *BodyTextToSpeechFull) GetUsePvcAsIvc() OptBool
- func (s *BodyTextToSpeechFull) GetVoiceSettings() OptVoiceSettingsResponseModel
- func (s *BodyTextToSpeechFull) MarshalJSON() ([]byte, error)
- func (s *BodyTextToSpeechFull) SetApplyLanguageTextNormalization(val OptBool)
- func (s *BodyTextToSpeechFull) SetApplyTextNormalization(val OptBodyTextToSpeechFullApplyTextNormalization)
- func (s *BodyTextToSpeechFull) SetLanguageCode(val OptNilString)
- func (s *BodyTextToSpeechFull) SetModelID(val OptString)
- func (s *BodyTextToSpeechFull) SetNextRequestIds(val OptNilStringArray)
- func (s *BodyTextToSpeechFull) SetNextText(val OptNilString)
- func (s *BodyTextToSpeechFull) SetPreviousRequestIds(val OptNilStringArray)
- func (s *BodyTextToSpeechFull) SetPreviousText(val OptNilString)
- func (s *BodyTextToSpeechFull) SetPronunciationDictionaryLocators(val OptNilPronunciationDictionaryVersionLocatorRequestModelArray)
- func (s *BodyTextToSpeechFull) SetSeed(val OptNilInt)
- func (s *BodyTextToSpeechFull) SetText(val string)
- func (s *BodyTextToSpeechFull) SetUsePvcAsIvc(val OptBool)
- func (s *BodyTextToSpeechFull) SetVoiceSettings(val OptVoiceSettingsResponseModel)
- func (s *BodyTextToSpeechFull) UnmarshalJSON(data []byte) error
- func (s *BodyTextToSpeechFull) Validate() error
- type BodyTextToSpeechFullApplyTextNormalization
- func (BodyTextToSpeechFullApplyTextNormalization) AllValues() []BodyTextToSpeechFullApplyTextNormalization
- func (s *BodyTextToSpeechFullApplyTextNormalization) Decode(d *jx.Decoder) error
- func (s BodyTextToSpeechFullApplyTextNormalization) Encode(e *jx.Encoder)
- func (s BodyTextToSpeechFullApplyTextNormalization) MarshalJSON() ([]byte, error)
- func (s BodyTextToSpeechFullApplyTextNormalization) MarshalText() ([]byte, error)
- func (s *BodyTextToSpeechFullApplyTextNormalization) UnmarshalJSON(data []byte) error
- func (s *BodyTextToSpeechFullApplyTextNormalization) UnmarshalText(data []byte) error
- func (s BodyTextToSpeechFullApplyTextNormalization) Validate() error
- type BodyTextToSpeechFullWithTimestamps
- func (s *BodyTextToSpeechFullWithTimestamps) Decode(d *jx.Decoder) error
- func (s *BodyTextToSpeechFullWithTimestamps) Encode(e *jx.Encoder)
- func (s *BodyTextToSpeechFullWithTimestamps) GetApplyLanguageTextNormalization() OptBool
- func (s *BodyTextToSpeechFullWithTimestamps) GetApplyTextNormalization() OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization
- func (s *BodyTextToSpeechFullWithTimestamps) GetLanguageCode() OptNilString
- func (s *BodyTextToSpeechFullWithTimestamps) GetModelID() OptString
- func (s *BodyTextToSpeechFullWithTimestamps) GetNextRequestIds() []string
- func (s *BodyTextToSpeechFullWithTimestamps) GetNextText() OptNilString
- func (s *BodyTextToSpeechFullWithTimestamps) GetPreviousRequestIds() []string
- func (s *BodyTextToSpeechFullWithTimestamps) GetPreviousText() OptNilString
- func (s *BodyTextToSpeechFullWithTimestamps) GetPronunciationDictionaryLocators() []PronunciationDictionaryVersionLocatorRequestModel
- func (s *BodyTextToSpeechFullWithTimestamps) GetSeed() OptNilInt
- func (s *BodyTextToSpeechFullWithTimestamps) GetText() string
- func (s *BodyTextToSpeechFullWithTimestamps) GetUsePvcAsIvc() OptBool
- func (s *BodyTextToSpeechFullWithTimestamps) GetVoiceSettings() OptVoiceSettingsResponseModel
- func (s *BodyTextToSpeechFullWithTimestamps) MarshalJSON() ([]byte, error)
- func (s *BodyTextToSpeechFullWithTimestamps) SetApplyLanguageTextNormalization(val OptBool)
- func (s *BodyTextToSpeechFullWithTimestamps) SetApplyTextNormalization(val OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization)
- func (s *BodyTextToSpeechFullWithTimestamps) SetLanguageCode(val OptNilString)
- func (s *BodyTextToSpeechFullWithTimestamps) SetModelID(val OptString)
- func (s *BodyTextToSpeechFullWithTimestamps) SetNextRequestIds(val []string)
- func (s *BodyTextToSpeechFullWithTimestamps) SetNextText(val OptNilString)
- func (s *BodyTextToSpeechFullWithTimestamps) SetPreviousRequestIds(val []string)
- func (s *BodyTextToSpeechFullWithTimestamps) SetPreviousText(val OptNilString)
- func (s *BodyTextToSpeechFullWithTimestamps) SetPronunciationDictionaryLocators(val []PronunciationDictionaryVersionLocatorRequestModel)
- func (s *BodyTextToSpeechFullWithTimestamps) SetSeed(val OptNilInt)
- func (s *BodyTextToSpeechFullWithTimestamps) SetText(val string)
- func (s *BodyTextToSpeechFullWithTimestamps) SetUsePvcAsIvc(val OptBool)
- func (s *BodyTextToSpeechFullWithTimestamps) SetVoiceSettings(val OptVoiceSettingsResponseModel)
- func (s *BodyTextToSpeechFullWithTimestamps) UnmarshalJSON(data []byte) error
- func (s *BodyTextToSpeechFullWithTimestamps) Validate() error
- type BodyTextToSpeechFullWithTimestampsApplyTextNormalization
- func (BodyTextToSpeechFullWithTimestampsApplyTextNormalization) AllValues() []BodyTextToSpeechFullWithTimestampsApplyTextNormalization
- func (s *BodyTextToSpeechFullWithTimestampsApplyTextNormalization) Decode(d *jx.Decoder) error
- func (s BodyTextToSpeechFullWithTimestampsApplyTextNormalization) Encode(e *jx.Encoder)
- func (s BodyTextToSpeechFullWithTimestampsApplyTextNormalization) MarshalJSON() ([]byte, error)
- func (s BodyTextToSpeechFullWithTimestampsApplyTextNormalization) MarshalText() ([]byte, error)
- func (s *BodyTextToSpeechFullWithTimestampsApplyTextNormalization) UnmarshalJSON(data []byte) error
- func (s *BodyTextToSpeechFullWithTimestampsApplyTextNormalization) UnmarshalText(data []byte) error
- func (s BodyTextToSpeechFullWithTimestampsApplyTextNormalization) Validate() error
- type BodyTextToSpeechStream
- func (s *BodyTextToSpeechStream) Decode(d *jx.Decoder) error
- func (s *BodyTextToSpeechStream) Encode(e *jx.Encoder)
- func (s *BodyTextToSpeechStream) GetApplyLanguageTextNormalization() OptBool
- func (s *BodyTextToSpeechStream) GetApplyTextNormalization() OptBodyTextToSpeechStreamApplyTextNormalization
- func (s *BodyTextToSpeechStream) GetLanguageCode() OptNilString
- func (s *BodyTextToSpeechStream) GetModelID() OptString
- func (s *BodyTextToSpeechStream) GetNextRequestIds() OptNilStringArray
- func (s *BodyTextToSpeechStream) GetNextText() OptNilString
- func (s *BodyTextToSpeechStream) GetPreviousRequestIds() OptNilStringArray
- func (s *BodyTextToSpeechStream) GetPreviousText() OptNilString
- func (s *BodyTextToSpeechStream) GetPronunciationDictionaryLocators() OptNilPronunciationDictionaryVersionLocatorRequestModelArray
- func (s *BodyTextToSpeechStream) GetSeed() OptNilInt
- func (s *BodyTextToSpeechStream) GetText() string
- func (s *BodyTextToSpeechStream) GetUsePvcAsIvc() OptBool
- func (s *BodyTextToSpeechStream) GetVoiceSettings() OptVoiceSettingsResponseModel
- func (s *BodyTextToSpeechStream) MarshalJSON() ([]byte, error)
- func (s *BodyTextToSpeechStream) SetApplyLanguageTextNormalization(val OptBool)
- func (s *BodyTextToSpeechStream) SetApplyTextNormalization(val OptBodyTextToSpeechStreamApplyTextNormalization)
- func (s *BodyTextToSpeechStream) SetLanguageCode(val OptNilString)
- func (s *BodyTextToSpeechStream) SetModelID(val OptString)
- func (s *BodyTextToSpeechStream) SetNextRequestIds(val OptNilStringArray)
- func (s *BodyTextToSpeechStream) SetNextText(val OptNilString)
- func (s *BodyTextToSpeechStream) SetPreviousRequestIds(val OptNilStringArray)
- func (s *BodyTextToSpeechStream) SetPreviousText(val OptNilString)
- func (s *BodyTextToSpeechStream) SetPronunciationDictionaryLocators(val OptNilPronunciationDictionaryVersionLocatorRequestModelArray)
- func (s *BodyTextToSpeechStream) SetSeed(val OptNilInt)
- func (s *BodyTextToSpeechStream) SetText(val string)
- func (s *BodyTextToSpeechStream) SetUsePvcAsIvc(val OptBool)
- func (s *BodyTextToSpeechStream) SetVoiceSettings(val OptVoiceSettingsResponseModel)
- func (s *BodyTextToSpeechStream) UnmarshalJSON(data []byte) error
- func (s *BodyTextToSpeechStream) Validate() error
- type BodyTextToSpeechStreamApplyTextNormalization
- func (BodyTextToSpeechStreamApplyTextNormalization) AllValues() []BodyTextToSpeechStreamApplyTextNormalization
- func (s *BodyTextToSpeechStreamApplyTextNormalization) Decode(d *jx.Decoder) error
- func (s BodyTextToSpeechStreamApplyTextNormalization) Encode(e *jx.Encoder)
- func (s BodyTextToSpeechStreamApplyTextNormalization) MarshalJSON() ([]byte, error)
- func (s BodyTextToSpeechStreamApplyTextNormalization) MarshalText() ([]byte, error)
- func (s *BodyTextToSpeechStreamApplyTextNormalization) UnmarshalJSON(data []byte) error
- func (s *BodyTextToSpeechStreamApplyTextNormalization) UnmarshalText(data []byte) error
- func (s BodyTextToSpeechStreamApplyTextNormalization) Validate() error
- type BodyTextToSpeechStreamWithTimestamps
- func (s *BodyTextToSpeechStreamWithTimestamps) Decode(d *jx.Decoder) error
- func (s *BodyTextToSpeechStreamWithTimestamps) Encode(e *jx.Encoder)
- func (s *BodyTextToSpeechStreamWithTimestamps) GetApplyLanguageTextNormalization() OptBool
- func (s *BodyTextToSpeechStreamWithTimestamps) GetApplyTextNormalization() OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization
- func (s *BodyTextToSpeechStreamWithTimestamps) GetLanguageCode() OptNilString
- func (s *BodyTextToSpeechStreamWithTimestamps) GetModelID() OptString
- func (s *BodyTextToSpeechStreamWithTimestamps) GetNextRequestIds() OptNilStringArray
- func (s *BodyTextToSpeechStreamWithTimestamps) GetNextText() OptNilString
- func (s *BodyTextToSpeechStreamWithTimestamps) GetPreviousRequestIds() OptNilStringArray
- func (s *BodyTextToSpeechStreamWithTimestamps) GetPreviousText() OptNilString
- func (s *BodyTextToSpeechStreamWithTimestamps) GetPronunciationDictionaryLocators() OptNilPronunciationDictionaryVersionLocatorRequestModelArray
- func (s *BodyTextToSpeechStreamWithTimestamps) GetSeed() OptNilInt
- func (s *BodyTextToSpeechStreamWithTimestamps) GetText() string
- func (s *BodyTextToSpeechStreamWithTimestamps) GetUsePvcAsIvc() OptBool
- func (s *BodyTextToSpeechStreamWithTimestamps) GetVoiceSettings() OptVoiceSettingsResponseModel
- func (s *BodyTextToSpeechStreamWithTimestamps) MarshalJSON() ([]byte, error)
- func (s *BodyTextToSpeechStreamWithTimestamps) SetApplyLanguageTextNormalization(val OptBool)
- func (s *BodyTextToSpeechStreamWithTimestamps) SetApplyTextNormalization(val OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization)
- func (s *BodyTextToSpeechStreamWithTimestamps) SetLanguageCode(val OptNilString)
- func (s *BodyTextToSpeechStreamWithTimestamps) SetModelID(val OptString)
- func (s *BodyTextToSpeechStreamWithTimestamps) SetNextRequestIds(val OptNilStringArray)
- func (s *BodyTextToSpeechStreamWithTimestamps) SetNextText(val OptNilString)
- func (s *BodyTextToSpeechStreamWithTimestamps) SetPreviousRequestIds(val OptNilStringArray)
- func (s *BodyTextToSpeechStreamWithTimestamps) SetPreviousText(val OptNilString)
- func (s *BodyTextToSpeechStreamWithTimestamps) SetPronunciationDictionaryLocators(val OptNilPronunciationDictionaryVersionLocatorRequestModelArray)
- func (s *BodyTextToSpeechStreamWithTimestamps) SetSeed(val OptNilInt)
- func (s *BodyTextToSpeechStreamWithTimestamps) SetText(val string)
- func (s *BodyTextToSpeechStreamWithTimestamps) SetUsePvcAsIvc(val OptBool)
- func (s *BodyTextToSpeechStreamWithTimestamps) SetVoiceSettings(val OptVoiceSettingsResponseModel)
- func (s *BodyTextToSpeechStreamWithTimestamps) UnmarshalJSON(data []byte) error
- func (s *BodyTextToSpeechStreamWithTimestamps) Validate() error
- type BodyTextToSpeechStreamWithTimestampsApplyTextNormalization
- func (BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) AllValues() []BodyTextToSpeechStreamWithTimestampsApplyTextNormalization
- func (s *BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Decode(d *jx.Decoder) error
- func (s BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Encode(e *jx.Encoder)
- func (s BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) MarshalJSON() ([]byte, error)
- func (s BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) MarshalText() ([]byte, error)
- func (s *BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) UnmarshalJSON(data []byte) error
- func (s *BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) UnmarshalText(data []byte) error
- func (s BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Validate() error
- type BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost
- func (s *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) Decode(d *jx.Decoder) error
- func (s *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) Encode(e *jx.Encoder)
- func (s *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) GetSegments() []string
- func (s *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) MarshalJSON() ([]byte, error)
- func (s *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) SetSegments(val []string)
- func (s *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) UnmarshalJSON(data []byte) error
- func (s *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) Validate() error
- type BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost
- func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) Decode(d *jx.Decoder) error
- func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) Encode(e *jx.Encoder)
- func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) GetLanguages() []string
- func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) GetSegments() []string
- func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) MarshalJSON() ([]byte, error)
- func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) SetLanguages(val []string)
- func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) SetSegments(val []string)
- func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) UnmarshalJSON(data []byte) error
- func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) Validate() error
- type BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost
- func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) Decode(d *jx.Decoder) error
- func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) Encode(e *jx.Encoder)
- func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) GetGroupID() OptNilString
- func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) GetResourceType() WorkspaceResourceType
- func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) GetUserEmail() OptNilString
- func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) GetWorkspaceAPIKeyID() OptNilString
- func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) MarshalJSON() ([]byte, error)
- func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) SetGroupID(val OptNilString)
- func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) SetResourceType(val WorkspaceResourceType)
- func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) SetUserEmail(val OptNilString)
- func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) SetWorkspaceAPIKeyID(val OptNilString)
- func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) UnmarshalJSON(data []byte) error
- func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) Validate() error
- type BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart
- func (s *BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) GetAutoConvert() OptBool
- func (s *BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) GetAutoPublish() OptBool
- func (s *BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) GetFile() OptMultipartFile
- func (s *BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) SetAutoConvert(val OptBool)
- func (s *BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) SetAutoPublish(val OptBool)
- func (s *BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) SetFile(val OptMultipartFile)
- type BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch
- func (s *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) Decode(d *jx.Decoder) error
- func (s *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) Encode(e *jx.Encoder)
- func (s *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) GetName() string
- func (s *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) MarshalJSON() ([]byte, error)
- func (s *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) SetName(val string)
- func (s *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) UnmarshalJSON(data []byte) error
- func (s *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) Validate() error
- type BodyUpdateMemberV1WorkspaceMembersPost
- func (s *BodyUpdateMemberV1WorkspaceMembersPost) Decode(d *jx.Decoder) error
- func (s *BodyUpdateMemberV1WorkspaceMembersPost) Encode(e *jx.Encoder)
- func (s *BodyUpdateMemberV1WorkspaceMembersPost) GetEmail() string
- func (s *BodyUpdateMemberV1WorkspaceMembersPost) GetIsLocked() OptNilBool
- func (s *BodyUpdateMemberV1WorkspaceMembersPost) GetWorkspaceRole() OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole
- func (s *BodyUpdateMemberV1WorkspaceMembersPost) MarshalJSON() ([]byte, error)
- func (s *BodyUpdateMemberV1WorkspaceMembersPost) SetEmail(val string)
- func (s *BodyUpdateMemberV1WorkspaceMembersPost) SetIsLocked(val OptNilBool)
- func (s *BodyUpdateMemberV1WorkspaceMembersPost) SetWorkspaceRole(val OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole)
- func (s *BodyUpdateMemberV1WorkspaceMembersPost) UnmarshalJSON(data []byte) error
- func (s *BodyUpdateMemberV1WorkspaceMembersPost) Validate() error
- type BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole
- func (BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) AllValues() []BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole
- func (s *BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Decode(d *jx.Decoder) error
- func (s BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Encode(e *jx.Encoder)
- func (s BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) MarshalJSON() ([]byte, error)
- func (s BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) MarshalText() ([]byte, error)
- func (s *BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) UnmarshalJSON(data []byte) error
- func (s *BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) UnmarshalText(data []byte) error
- func (s BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Validate() error
- type BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch
- func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Decode(d *jx.Decoder) error
- func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Encode(e *jx.Encoder)
- func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetLanguages() OptNilStringArray
- func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetSpeakerName() OptNilString
- func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetVoiceID() OptNilString
- func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetVoiceSimilarity() OptNilFloat64
- func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetVoiceStability() OptNilFloat64
- func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetVoiceStyle() OptNilFloat64
- func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) MarshalJSON() ([]byte, error)
- func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetLanguages(val OptNilStringArray)
- func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetSpeakerName(val OptNilString)
- func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetVoiceID(val OptNilString)
- func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetVoiceSimilarity(val OptNilFloat64)
- func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetVoiceStability(val OptNilFloat64)
- func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetVoiceStyle(val OptNilFloat64)
- func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) UnmarshalJSON(data []byte) error
- func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Validate() error
- type BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost
- func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Decode(d *jx.Decoder) error
- func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Encode(e *jx.Encoder)
- func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetFileName() OptNilString
- func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetRemoveBackgroundNoise() OptBool
- func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetSelectedSpeakerIds() OptNilStringArray
- func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetTrimEndTime() OptNilInt
- func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetTrimStartTime() OptNilInt
- func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) MarshalJSON() ([]byte, error)
- func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetFileName(val OptNilString)
- func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetRemoveBackgroundNoise(val OptBool)
- func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetSelectedSpeakerIds(val OptNilStringArray)
- func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetTrimEndTime(val OptNilInt)
- func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetTrimStartTime(val OptNilInt)
- func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) UnmarshalJSON(data []byte) error
- func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Validate() error
- type BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch
- func (s *BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Decode(d *jx.Decoder) error
- func (s *BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Encode(e *jx.Encoder)
- func (s *BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) GetArchived() OptBool
- func (s *BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) GetName() OptString
- func (s *BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) MarshalJSON() ([]byte, error)
- func (s *BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) SetArchived(val OptBool)
- func (s *BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) SetName(val OptString)
- func (s *BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) UnmarshalJSON(data []byte) error
- type BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart
- func (s *BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) GetAutoConvert() OptBool
- func (s *BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) GetFromContentJSON() OptString
- func (s *BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) GetFromDocument() OptNilString
- func (s *BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) GetFromURL() OptNilString
- func (s *BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetAutoConvert(val OptBool)
- func (s *BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetFromContentJSON(val OptString)
- func (s *BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetFromDocument(val OptNilString)
- func (s *BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetFromURL(val OptNilString)
- type BodyUpdateStudioProjectV1StudioProjectsProjectIDPost
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) Decode(d *jx.Decoder) error
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) Encode(e *jx.Encoder)
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetAuthor() OptNilString
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetDefaultParagraphVoiceID() string
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetDefaultTitleVoiceID() string
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetIsbnNumber() OptNilString
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetName() string
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetTitle() OptNilString
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetVolumeNormalization() OptBool
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) MarshalJSON() ([]byte, error)
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetAuthor(val OptNilString)
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetDefaultParagraphVoiceID(val string)
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetDefaultTitleVoiceID(val string)
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetIsbnNumber(val OptNilString)
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetName(val string)
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetTitle(val OptNilString)
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetVolumeNormalization(val OptBool)
- func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) UnmarshalJSON(data []byte) error
- type BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch
- func (s *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) Decode(d *jx.Decoder) error
- func (s *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) Encode(e *jx.Encoder)
- func (s *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) GetIsDisabled() bool
- func (s *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) GetName() string
- func (s *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) MarshalJSON() ([]byte, error)
- func (s *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) SetIsDisabled(val bool)
- func (s *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) SetName(val string)
- func (s *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) UnmarshalJSON(data []byte) error
- type BodyVerifyPVCVoiceCaptchaV1VoicesPvcVoiceIDCaptchaPostMultipart
- type BreakdownTypes
- type CancelBatchCallParams
- type CancelBatchCallRes
- type CaptionStyleCharacterAnimationModel
- func (s *CaptionStyleCharacterAnimationModel) Decode(d *jx.Decoder) error
- func (s *CaptionStyleCharacterAnimationModel) Encode(e *jx.Encoder)
- func (s *CaptionStyleCharacterAnimationModel) GetEnterType() CaptionStyleCharacterAnimationModelEnterType
- func (s *CaptionStyleCharacterAnimationModel) GetExitType() CaptionStyleCharacterAnimationModelExitType
- func (s *CaptionStyleCharacterAnimationModel) MarshalJSON() ([]byte, error)
- func (s *CaptionStyleCharacterAnimationModel) SetEnterType(val CaptionStyleCharacterAnimationModelEnterType)
- func (s *CaptionStyleCharacterAnimationModel) SetExitType(val CaptionStyleCharacterAnimationModelExitType)
- func (s *CaptionStyleCharacterAnimationModel) UnmarshalJSON(data []byte) error
- func (s *CaptionStyleCharacterAnimationModel) Validate() error
- type CaptionStyleCharacterAnimationModelEnterType
- func (CaptionStyleCharacterAnimationModelEnterType) AllValues() []CaptionStyleCharacterAnimationModelEnterType
- func (s *CaptionStyleCharacterAnimationModelEnterType) Decode(d *jx.Decoder) error
- func (s CaptionStyleCharacterAnimationModelEnterType) Encode(e *jx.Encoder)
- func (s CaptionStyleCharacterAnimationModelEnterType) MarshalJSON() ([]byte, error)
- func (s CaptionStyleCharacterAnimationModelEnterType) MarshalText() ([]byte, error)
- func (s *CaptionStyleCharacterAnimationModelEnterType) UnmarshalJSON(data []byte) error
- func (s *CaptionStyleCharacterAnimationModelEnterType) UnmarshalText(data []byte) error
- func (s CaptionStyleCharacterAnimationModelEnterType) Validate() error
- type CaptionStyleCharacterAnimationModelExitType
- func (CaptionStyleCharacterAnimationModelExitType) AllValues() []CaptionStyleCharacterAnimationModelExitType
- func (s *CaptionStyleCharacterAnimationModelExitType) Decode(d *jx.Decoder) error
- func (s CaptionStyleCharacterAnimationModelExitType) Encode(e *jx.Encoder)
- func (s CaptionStyleCharacterAnimationModelExitType) MarshalJSON() ([]byte, error)
- func (s CaptionStyleCharacterAnimationModelExitType) MarshalText() ([]byte, error)
- func (s *CaptionStyleCharacterAnimationModelExitType) UnmarshalJSON(data []byte) error
- func (s *CaptionStyleCharacterAnimationModelExitType) UnmarshalText(data []byte) error
- func (s CaptionStyleCharacterAnimationModelExitType) Validate() error
- type CaptionStyleHorizontalPlacementModel
- func (s *CaptionStyleHorizontalPlacementModel) Decode(d *jx.Decoder) error
- func (s *CaptionStyleHorizontalPlacementModel) Encode(e *jx.Encoder)
- func (s *CaptionStyleHorizontalPlacementModel) GetAlign() CaptionStyleHorizontalPlacementModelAlign
- func (s *CaptionStyleHorizontalPlacementModel) GetTranslatePct() float64
- func (s *CaptionStyleHorizontalPlacementModel) MarshalJSON() ([]byte, error)
- func (s *CaptionStyleHorizontalPlacementModel) SetAlign(val CaptionStyleHorizontalPlacementModelAlign)
- func (s *CaptionStyleHorizontalPlacementModel) SetTranslatePct(val float64)
- func (s *CaptionStyleHorizontalPlacementModel) UnmarshalJSON(data []byte) error
- func (s *CaptionStyleHorizontalPlacementModel) Validate() error
- type CaptionStyleHorizontalPlacementModelAlign
- func (CaptionStyleHorizontalPlacementModelAlign) AllValues() []CaptionStyleHorizontalPlacementModelAlign
- func (s *CaptionStyleHorizontalPlacementModelAlign) Decode(d *jx.Decoder) error
- func (s CaptionStyleHorizontalPlacementModelAlign) Encode(e *jx.Encoder)
- func (s CaptionStyleHorizontalPlacementModelAlign) MarshalJSON() ([]byte, error)
- func (s CaptionStyleHorizontalPlacementModelAlign) MarshalText() ([]byte, error)
- func (s *CaptionStyleHorizontalPlacementModelAlign) UnmarshalJSON(data []byte) error
- func (s *CaptionStyleHorizontalPlacementModelAlign) UnmarshalText(data []byte) error
- func (s CaptionStyleHorizontalPlacementModelAlign) Validate() error
- type CaptionStyleModel
- func (s *CaptionStyleModel) Decode(d *jx.Decoder) error
- func (s *CaptionStyleModel) Encode(e *jx.Encoder)
- func (s *CaptionStyleModel) GetAutoBreakEnabled() OptNilBool
- func (s *CaptionStyleModel) GetBackgroundColor() OptNilString
- func (s *CaptionStyleModel) GetBackgroundEnabled() OptNilBool
- func (s *CaptionStyleModel) GetBackgroundOpacity() OptNilFloat64
- func (s *CaptionStyleModel) GetCharacterAnimation() OptCaptionStyleCharacterAnimationModel
- func (s *CaptionStyleModel) GetHorizontalPlacement() OptCaptionStyleHorizontalPlacementModel
- func (s *CaptionStyleModel) GetMaxLinesPerSection() OptNilInt
- func (s *CaptionStyleModel) GetMaxWordsPerLine() OptNilInt
- func (s *CaptionStyleModel) GetSectionAnimation() OptCaptionStyleSectionAnimationModel
- func (s *CaptionStyleModel) GetTemplate() OptCaptionStyleTemplateModel
- func (s *CaptionStyleModel) GetTextAlign() OptNilCaptionStyleModelTextAlign
- func (s *CaptionStyleModel) GetTextColor() OptNilString
- func (s *CaptionStyleModel) GetTextFont() OptNilString
- func (s *CaptionStyleModel) GetTextScale() OptNilFloat64
- func (s *CaptionStyleModel) GetTextStyle() OptNilCaptionStyleModelTextStyle
- func (s *CaptionStyleModel) GetTextWeight() OptNilCaptionStyleModelTextWeight
- func (s *CaptionStyleModel) GetVerticalPlacement() OptCaptionStyleVerticalPlacementModel
- func (s *CaptionStyleModel) GetWidthPct() OptNilFloat64
- func (s *CaptionStyleModel) GetWordAnimation() OptCaptionStyleWordAnimationModel
- func (s *CaptionStyleModel) GetWordHighlightsBackgroundColor() OptNilString
- func (s *CaptionStyleModel) GetWordHighlightsColor() OptNilString
- func (s *CaptionStyleModel) GetWordHighlightsEnabled() OptNilBool
- func (s *CaptionStyleModel) GetWordHighlightsOpacity() OptNilFloat64
- func (s *CaptionStyleModel) MarshalJSON() ([]byte, error)
- func (s *CaptionStyleModel) SetAutoBreakEnabled(val OptNilBool)
- func (s *CaptionStyleModel) SetBackgroundColor(val OptNilString)
- func (s *CaptionStyleModel) SetBackgroundEnabled(val OptNilBool)
- func (s *CaptionStyleModel) SetBackgroundOpacity(val OptNilFloat64)
- func (s *CaptionStyleModel) SetCharacterAnimation(val OptCaptionStyleCharacterAnimationModel)
- func (s *CaptionStyleModel) SetHorizontalPlacement(val OptCaptionStyleHorizontalPlacementModel)
- func (s *CaptionStyleModel) SetMaxLinesPerSection(val OptNilInt)
- func (s *CaptionStyleModel) SetMaxWordsPerLine(val OptNilInt)
- func (s *CaptionStyleModel) SetSectionAnimation(val OptCaptionStyleSectionAnimationModel)
- func (s *CaptionStyleModel) SetTemplate(val OptCaptionStyleTemplateModel)
- func (s *CaptionStyleModel) SetTextAlign(val OptNilCaptionStyleModelTextAlign)
- func (s *CaptionStyleModel) SetTextColor(val OptNilString)
- func (s *CaptionStyleModel) SetTextFont(val OptNilString)
- func (s *CaptionStyleModel) SetTextScale(val OptNilFloat64)
- func (s *CaptionStyleModel) SetTextStyle(val OptNilCaptionStyleModelTextStyle)
- func (s *CaptionStyleModel) SetTextWeight(val OptNilCaptionStyleModelTextWeight)
- func (s *CaptionStyleModel) SetVerticalPlacement(val OptCaptionStyleVerticalPlacementModel)
- func (s *CaptionStyleModel) SetWidthPct(val OptNilFloat64)
- func (s *CaptionStyleModel) SetWordAnimation(val OptCaptionStyleWordAnimationModel)
- func (s *CaptionStyleModel) SetWordHighlightsBackgroundColor(val OptNilString)
- func (s *CaptionStyleModel) SetWordHighlightsColor(val OptNilString)
- func (s *CaptionStyleModel) SetWordHighlightsEnabled(val OptNilBool)
- func (s *CaptionStyleModel) SetWordHighlightsOpacity(val OptNilFloat64)
- func (s *CaptionStyleModel) UnmarshalJSON(data []byte) error
- func (s *CaptionStyleModel) Validate() error
- type CaptionStyleModelTextAlign
- func (CaptionStyleModelTextAlign) AllValues() []CaptionStyleModelTextAlign
- func (s *CaptionStyleModelTextAlign) Decode(d *jx.Decoder) error
- func (s CaptionStyleModelTextAlign) Encode(e *jx.Encoder)
- func (s CaptionStyleModelTextAlign) MarshalJSON() ([]byte, error)
- func (s CaptionStyleModelTextAlign) MarshalText() ([]byte, error)
- func (s *CaptionStyleModelTextAlign) UnmarshalJSON(data []byte) error
- func (s *CaptionStyleModelTextAlign) UnmarshalText(data []byte) error
- func (s CaptionStyleModelTextAlign) Validate() error
- type CaptionStyleModelTextStyle
- func (CaptionStyleModelTextStyle) AllValues() []CaptionStyleModelTextStyle
- func (s *CaptionStyleModelTextStyle) Decode(d *jx.Decoder) error
- func (s CaptionStyleModelTextStyle) Encode(e *jx.Encoder)
- func (s CaptionStyleModelTextStyle) MarshalJSON() ([]byte, error)
- func (s CaptionStyleModelTextStyle) MarshalText() ([]byte, error)
- func (s *CaptionStyleModelTextStyle) UnmarshalJSON(data []byte) error
- func (s *CaptionStyleModelTextStyle) UnmarshalText(data []byte) error
- func (s CaptionStyleModelTextStyle) Validate() error
- type CaptionStyleModelTextWeight
- func (CaptionStyleModelTextWeight) AllValues() []CaptionStyleModelTextWeight
- func (s *CaptionStyleModelTextWeight) Decode(d *jx.Decoder) error
- func (s CaptionStyleModelTextWeight) Encode(e *jx.Encoder)
- func (s CaptionStyleModelTextWeight) MarshalJSON() ([]byte, error)
- func (s CaptionStyleModelTextWeight) MarshalText() ([]byte, error)
- func (s *CaptionStyleModelTextWeight) UnmarshalJSON(data []byte) error
- func (s *CaptionStyleModelTextWeight) UnmarshalText(data []byte) error
- func (s CaptionStyleModelTextWeight) Validate() error
- type CaptionStyleSectionAnimationModel
- func (s *CaptionStyleSectionAnimationModel) Decode(d *jx.Decoder) error
- func (s *CaptionStyleSectionAnimationModel) Encode(e *jx.Encoder)
- func (s *CaptionStyleSectionAnimationModel) GetEnterType() CaptionStyleSectionAnimationModelEnterType
- func (s *CaptionStyleSectionAnimationModel) GetExitType() CaptionStyleSectionAnimationModelExitType
- func (s *CaptionStyleSectionAnimationModel) MarshalJSON() ([]byte, error)
- func (s *CaptionStyleSectionAnimationModel) SetEnterType(val CaptionStyleSectionAnimationModelEnterType)
- func (s *CaptionStyleSectionAnimationModel) SetExitType(val CaptionStyleSectionAnimationModelExitType)
- func (s *CaptionStyleSectionAnimationModel) UnmarshalJSON(data []byte) error
- func (s *CaptionStyleSectionAnimationModel) Validate() error
- type CaptionStyleSectionAnimationModelEnterType
- func (CaptionStyleSectionAnimationModelEnterType) AllValues() []CaptionStyleSectionAnimationModelEnterType
- func (s *CaptionStyleSectionAnimationModelEnterType) Decode(d *jx.Decoder) error
- func (s CaptionStyleSectionAnimationModelEnterType) Encode(e *jx.Encoder)
- func (s CaptionStyleSectionAnimationModelEnterType) MarshalJSON() ([]byte, error)
- func (s CaptionStyleSectionAnimationModelEnterType) MarshalText() ([]byte, error)
- func (s *CaptionStyleSectionAnimationModelEnterType) UnmarshalJSON(data []byte) error
- func (s *CaptionStyleSectionAnimationModelEnterType) UnmarshalText(data []byte) error
- func (s CaptionStyleSectionAnimationModelEnterType) Validate() error
- type CaptionStyleSectionAnimationModelExitType
- func (CaptionStyleSectionAnimationModelExitType) AllValues() []CaptionStyleSectionAnimationModelExitType
- func (s *CaptionStyleSectionAnimationModelExitType) Decode(d *jx.Decoder) error
- func (s CaptionStyleSectionAnimationModelExitType) Encode(e *jx.Encoder)
- func (s CaptionStyleSectionAnimationModelExitType) MarshalJSON() ([]byte, error)
- func (s CaptionStyleSectionAnimationModelExitType) MarshalText() ([]byte, error)
- func (s *CaptionStyleSectionAnimationModelExitType) UnmarshalJSON(data []byte) error
- func (s *CaptionStyleSectionAnimationModelExitType) UnmarshalText(data []byte) error
- func (s CaptionStyleSectionAnimationModelExitType) Validate() error
- type CaptionStyleTemplateModel
- func (s *CaptionStyleTemplateModel) Decode(d *jx.Decoder) error
- func (s *CaptionStyleTemplateModel) Encode(e *jx.Encoder)
- func (s *CaptionStyleTemplateModel) GetKey() string
- func (s *CaptionStyleTemplateModel) GetLabel() string
- func (s *CaptionStyleTemplateModel) GetRequiresHighFps() OptBool
- func (s *CaptionStyleTemplateModel) MarshalJSON() ([]byte, error)
- func (s *CaptionStyleTemplateModel) SetKey(val string)
- func (s *CaptionStyleTemplateModel) SetLabel(val string)
- func (s *CaptionStyleTemplateModel) SetRequiresHighFps(val OptBool)
- func (s *CaptionStyleTemplateModel) UnmarshalJSON(data []byte) error
- type CaptionStyleVerticalPlacementModel
- func (s *CaptionStyleVerticalPlacementModel) Decode(d *jx.Decoder) error
- func (s *CaptionStyleVerticalPlacementModel) Encode(e *jx.Encoder)
- func (s *CaptionStyleVerticalPlacementModel) GetAlign() CaptionStyleVerticalPlacementModelAlign
- func (s *CaptionStyleVerticalPlacementModel) GetTranslatePct() float64
- func (s *CaptionStyleVerticalPlacementModel) MarshalJSON() ([]byte, error)
- func (s *CaptionStyleVerticalPlacementModel) SetAlign(val CaptionStyleVerticalPlacementModelAlign)
- func (s *CaptionStyleVerticalPlacementModel) SetTranslatePct(val float64)
- func (s *CaptionStyleVerticalPlacementModel) UnmarshalJSON(data []byte) error
- func (s *CaptionStyleVerticalPlacementModel) Validate() error
- type CaptionStyleVerticalPlacementModelAlign
- func (CaptionStyleVerticalPlacementModelAlign) AllValues() []CaptionStyleVerticalPlacementModelAlign
- func (s *CaptionStyleVerticalPlacementModelAlign) Decode(d *jx.Decoder) error
- func (s CaptionStyleVerticalPlacementModelAlign) Encode(e *jx.Encoder)
- func (s CaptionStyleVerticalPlacementModelAlign) MarshalJSON() ([]byte, error)
- func (s CaptionStyleVerticalPlacementModelAlign) MarshalText() ([]byte, error)
- func (s *CaptionStyleVerticalPlacementModelAlign) UnmarshalJSON(data []byte) error
- func (s *CaptionStyleVerticalPlacementModelAlign) UnmarshalText(data []byte) error
- func (s CaptionStyleVerticalPlacementModelAlign) Validate() error
- type CaptionStyleWordAnimationModel
- func (s *CaptionStyleWordAnimationModel) Decode(d *jx.Decoder) error
- func (s *CaptionStyleWordAnimationModel) Encode(e *jx.Encoder)
- func (s *CaptionStyleWordAnimationModel) GetEnterType() CaptionStyleWordAnimationModelEnterType
- func (s *CaptionStyleWordAnimationModel) GetExitType() CaptionStyleWordAnimationModelExitType
- func (s *CaptionStyleWordAnimationModel) MarshalJSON() ([]byte, error)
- func (s *CaptionStyleWordAnimationModel) SetEnterType(val CaptionStyleWordAnimationModelEnterType)
- func (s *CaptionStyleWordAnimationModel) SetExitType(val CaptionStyleWordAnimationModelExitType)
- func (s *CaptionStyleWordAnimationModel) UnmarshalJSON(data []byte) error
- func (s *CaptionStyleWordAnimationModel) Validate() error
- type CaptionStyleWordAnimationModelEnterType
- func (CaptionStyleWordAnimationModelEnterType) AllValues() []CaptionStyleWordAnimationModelEnterType
- func (s *CaptionStyleWordAnimationModelEnterType) Decode(d *jx.Decoder) error
- func (s CaptionStyleWordAnimationModelEnterType) Encode(e *jx.Encoder)
- func (s CaptionStyleWordAnimationModelEnterType) MarshalJSON() ([]byte, error)
- func (s CaptionStyleWordAnimationModelEnterType) MarshalText() ([]byte, error)
- func (s *CaptionStyleWordAnimationModelEnterType) UnmarshalJSON(data []byte) error
- func (s *CaptionStyleWordAnimationModelEnterType) UnmarshalText(data []byte) error
- func (s CaptionStyleWordAnimationModelEnterType) Validate() error
- type CaptionStyleWordAnimationModelExitType
- func (CaptionStyleWordAnimationModelExitType) AllValues() []CaptionStyleWordAnimationModelExitType
- func (s *CaptionStyleWordAnimationModelExitType) Decode(d *jx.Decoder) error
- func (s CaptionStyleWordAnimationModelExitType) Encode(e *jx.Encoder)
- func (s CaptionStyleWordAnimationModelExitType) MarshalJSON() ([]byte, error)
- func (s CaptionStyleWordAnimationModelExitType) MarshalText() ([]byte, error)
- func (s *CaptionStyleWordAnimationModelExitType) UnmarshalJSON(data []byte) error
- func (s *CaptionStyleWordAnimationModelExitType) UnmarshalText(data []byte) error
- func (s CaptionStyleWordAnimationModelExitType) Validate() error
- type ChapterResponseModel
- func (s *ChapterResponseModel) Decode(d *jx.Decoder) error
- func (s *ChapterResponseModel) Encode(e *jx.Encoder)
- func (s *ChapterResponseModel) GetCanBeDownloaded() bool
- func (s *ChapterResponseModel) GetChapterID() string
- func (s *ChapterResponseModel) GetConversionProgress() OptNilFloat64
- func (s *ChapterResponseModel) GetHasVideo() OptNilBool
- func (s *ChapterResponseModel) GetLastConversionDateUnix() OptNilInt
- func (s *ChapterResponseModel) GetLastConversionError() OptNilString
- func (s *ChapterResponseModel) GetName() string
- func (s *ChapterResponseModel) GetState() ChapterResponseModelState
- func (s *ChapterResponseModel) GetStatistics() OptChapterStatisticsResponseModel
- func (s *ChapterResponseModel) GetVoiceIds() OptNilStringArray
- func (s *ChapterResponseModel) MarshalJSON() ([]byte, error)
- func (s *ChapterResponseModel) SetCanBeDownloaded(val bool)
- func (s *ChapterResponseModel) SetChapterID(val string)
- func (s *ChapterResponseModel) SetConversionProgress(val OptNilFloat64)
- func (s *ChapterResponseModel) SetHasVideo(val OptNilBool)
- func (s *ChapterResponseModel) SetLastConversionDateUnix(val OptNilInt)
- func (s *ChapterResponseModel) SetLastConversionError(val OptNilString)
- func (s *ChapterResponseModel) SetName(val string)
- func (s *ChapterResponseModel) SetState(val ChapterResponseModelState)
- func (s *ChapterResponseModel) SetStatistics(val OptChapterStatisticsResponseModel)
- func (s *ChapterResponseModel) SetVoiceIds(val OptNilStringArray)
- func (s *ChapterResponseModel) UnmarshalJSON(data []byte) error
- func (s *ChapterResponseModel) Validate() error
- type ChapterResponseModelState
- func (ChapterResponseModelState) AllValues() []ChapterResponseModelState
- func (s *ChapterResponseModelState) Decode(d *jx.Decoder) error
- func (s ChapterResponseModelState) Encode(e *jx.Encoder)
- func (s ChapterResponseModelState) MarshalJSON() ([]byte, error)
- func (s ChapterResponseModelState) MarshalText() ([]byte, error)
- func (s *ChapterResponseModelState) UnmarshalJSON(data []byte) error
- func (s *ChapterResponseModelState) UnmarshalText(data []byte) error
- func (s ChapterResponseModelState) Validate() error
- type ChapterSnapshotExtendedResponseModel
- func (s *ChapterSnapshotExtendedResponseModel) Decode(d *jx.Decoder) error
- func (s *ChapterSnapshotExtendedResponseModel) Encode(e *jx.Encoder)
- func (s *ChapterSnapshotExtendedResponseModel) GetChapterID() string
- func (s *ChapterSnapshotExtendedResponseModel) GetChapterSnapshotID() string
- func (s *ChapterSnapshotExtendedResponseModel) GetCharacterAlignments() []CharacterAlignmentModel
- func (s *ChapterSnapshotExtendedResponseModel) GetCreatedAtUnix() int
- func (s *ChapterSnapshotExtendedResponseModel) GetName() string
- func (s *ChapterSnapshotExtendedResponseModel) GetProjectID() string
- func (s *ChapterSnapshotExtendedResponseModel) MarshalJSON() ([]byte, error)
- func (s *ChapterSnapshotExtendedResponseModel) SetChapterID(val string)
- func (s *ChapterSnapshotExtendedResponseModel) SetChapterSnapshotID(val string)
- func (s *ChapterSnapshotExtendedResponseModel) SetCharacterAlignments(val []CharacterAlignmentModel)
- func (s *ChapterSnapshotExtendedResponseModel) SetCreatedAtUnix(val int)
- func (s *ChapterSnapshotExtendedResponseModel) SetName(val string)
- func (s *ChapterSnapshotExtendedResponseModel) SetProjectID(val string)
- func (s *ChapterSnapshotExtendedResponseModel) UnmarshalJSON(data []byte) error
- func (s *ChapterSnapshotExtendedResponseModel) Validate() error
- type ChapterSnapshotResponseModel
- func (s *ChapterSnapshotResponseModel) Decode(d *jx.Decoder) error
- func (s *ChapterSnapshotResponseModel) Encode(e *jx.Encoder)
- func (s *ChapterSnapshotResponseModel) GetChapterID() string
- func (s *ChapterSnapshotResponseModel) GetChapterSnapshotID() string
- func (s *ChapterSnapshotResponseModel) GetCreatedAtUnix() int
- func (s *ChapterSnapshotResponseModel) GetName() string
- func (s *ChapterSnapshotResponseModel) GetProjectID() string
- func (s *ChapterSnapshotResponseModel) MarshalJSON() ([]byte, error)
- func (s *ChapterSnapshotResponseModel) SetChapterID(val string)
- func (s *ChapterSnapshotResponseModel) SetChapterSnapshotID(val string)
- func (s *ChapterSnapshotResponseModel) SetCreatedAtUnix(val int)
- func (s *ChapterSnapshotResponseModel) SetName(val string)
- func (s *ChapterSnapshotResponseModel) SetProjectID(val string)
- func (s *ChapterSnapshotResponseModel) UnmarshalJSON(data []byte) error
- type ChapterSnapshotsResponseModel
- func (s *ChapterSnapshotsResponseModel) Decode(d *jx.Decoder) error
- func (s *ChapterSnapshotsResponseModel) Encode(e *jx.Encoder)
- func (s *ChapterSnapshotsResponseModel) GetSnapshots() []ChapterSnapshotResponseModel
- func (s *ChapterSnapshotsResponseModel) MarshalJSON() ([]byte, error)
- func (s *ChapterSnapshotsResponseModel) SetSnapshots(val []ChapterSnapshotResponseModel)
- func (s *ChapterSnapshotsResponseModel) UnmarshalJSON(data []byte) error
- func (s *ChapterSnapshotsResponseModel) Validate() error
- type ChapterStatisticsResponseModel
- func (s *ChapterStatisticsResponseModel) Decode(d *jx.Decoder) error
- func (s *ChapterStatisticsResponseModel) Encode(e *jx.Encoder)
- func (s *ChapterStatisticsResponseModel) GetCharactersConverted() int
- func (s *ChapterStatisticsResponseModel) GetCharactersUnconverted() int
- func (s *ChapterStatisticsResponseModel) GetParagraphsConverted() int
- func (s *ChapterStatisticsResponseModel) GetParagraphsUnconverted() int
- func (s *ChapterStatisticsResponseModel) MarshalJSON() ([]byte, error)
- func (s *ChapterStatisticsResponseModel) SetCharactersConverted(val int)
- func (s *ChapterStatisticsResponseModel) SetCharactersUnconverted(val int)
- func (s *ChapterStatisticsResponseModel) SetParagraphsConverted(val int)
- func (s *ChapterStatisticsResponseModel) SetParagraphsUnconverted(val int)
- func (s *ChapterStatisticsResponseModel) UnmarshalJSON(data []byte) error
- type CharacterAlignmentModel
- func (s *CharacterAlignmentModel) Decode(d *jx.Decoder) error
- func (s *CharacterAlignmentModel) Encode(e *jx.Encoder)
- func (s *CharacterAlignmentModel) GetCharacterEndTimesSeconds() []float64
- func (s *CharacterAlignmentModel) GetCharacterStartTimesSeconds() []float64
- func (s *CharacterAlignmentModel) GetCharacters() []string
- func (s *CharacterAlignmentModel) MarshalJSON() ([]byte, error)
- func (s *CharacterAlignmentModel) SetCharacterEndTimesSeconds(val []float64)
- func (s *CharacterAlignmentModel) SetCharacterStartTimesSeconds(val []float64)
- func (s *CharacterAlignmentModel) SetCharacters(val []string)
- func (s *CharacterAlignmentModel) UnmarshalJSON(data []byte) error
- func (s *CharacterAlignmentModel) Validate() error
- type CharacterAlignmentResponseModel
- func (s *CharacterAlignmentResponseModel) Decode(d *jx.Decoder) error
- func (s *CharacterAlignmentResponseModel) Encode(e *jx.Encoder)
- func (s *CharacterAlignmentResponseModel) GetCharacterEndTimesSeconds() []float64
- func (s *CharacterAlignmentResponseModel) GetCharacterStartTimesSeconds() []float64
- func (s *CharacterAlignmentResponseModel) GetCharacters() []string
- func (s *CharacterAlignmentResponseModel) MarshalJSON() ([]byte, error)
- func (s *CharacterAlignmentResponseModel) SetCharacterEndTimesSeconds(val []float64)
- func (s *CharacterAlignmentResponseModel) SetCharacterStartTimesSeconds(val []float64)
- func (s *CharacterAlignmentResponseModel) SetCharacters(val []string)
- func (s *CharacterAlignmentResponseModel) UnmarshalJSON(data []byte) error
- func (s *CharacterAlignmentResponseModel) Validate() error
- type CharacterRefreshPeriod
- func (CharacterRefreshPeriod) AllValues() []CharacterRefreshPeriod
- func (s *CharacterRefreshPeriod) Decode(d *jx.Decoder) error
- func (s CharacterRefreshPeriod) Encode(e *jx.Encoder)
- func (s CharacterRefreshPeriod) MarshalJSON() ([]byte, error)
- func (s CharacterRefreshPeriod) MarshalText() ([]byte, error)
- func (s *CharacterRefreshPeriod) UnmarshalJSON(data []byte) error
- func (s *CharacterRefreshPeriod) UnmarshalText(data []byte) error
- func (s CharacterRefreshPeriod) Validate() error
- type Client
- func (c *Client) AddDocumentationToKnowledgeBase(ctx context.Context, ...) (AddDocumentationToKnowledgeBaseRes, error)deprecated
- func (c *Client) AddFromFile(ctx context.Context, ...) (AddFromFileRes, error)
- func (c *Client) AddLanguage(ctx context.Context, ...) (AddLanguageRes, error)
- func (c *Client) AddMember(ctx context.Context, ...) (AddMemberRes, error)
- func (c *Client) AddProject(ctx context.Context, ...) (AddProjectRes, error)
- func (c *Client) AddPvcVoiceSamples(ctx context.Context, ...) (AddPvcVoiceSamplesRes, error)
- func (c *Client) AddSharingVoice(ctx context.Context, ...) (AddSharingVoiceRes, error)
- func (c *Client) AddVoice(ctx context.Context, request *BodyAddVoiceV1VoicesAddPostMultipart, ...) (AddVoiceRes, error)
- func (c *Client) AudioIsolation(ctx context.Context, request *BodyAudioIsolationV1AudioIsolationPostMultipart, ...) (AudioIsolationRes, error)
- func (c *Client) AudioIsolationStream(ctx context.Context, ...) (AudioIsolationStreamRes, error)
- func (c *Client) AudioNativeProjectUpdateContentEndpoint(ctx context.Context, ...) (AudioNativeProjectUpdateContentEndpointRes, error)
- func (c *Client) CancelBatchCall(ctx context.Context, params CancelBatchCallParams) (CancelBatchCallRes, error)
- func (c *Client) ComposeDetailed(ctx context.Context, ...) (ComposeDetailedRes, error)
- func (c *Client) ComposePlan(ctx context.Context, request *BodyGenerateCompositionPlanV1MusicPlanPost, ...) (ComposePlanRes, error)
- func (c *Client) ConvertChapterEndpoint(ctx context.Context, params ConvertChapterEndpointParams) (ConvertChapterEndpointRes, error)
- func (c *Client) ConvertProjectEndpoint(ctx context.Context, params ConvertProjectEndpointParams) (ConvertProjectEndpointRes, error)
- func (c *Client) CreateAgentResponseTestRoute(ctx context.Context, request *CreateUnitTestRequest, ...) (CreateAgentResponseTestRouteRes, error)
- func (c *Client) CreateAudioNativeProject(ctx context.Context, ...) (CreateAudioNativeProjectRes, error)
- func (c *Client) CreateBatchCall(ctx context.Context, ...) (CreateBatchCallRes, error)
- func (c *Client) CreateClip(ctx context.Context, request *SegmentCreatePayload, params CreateClipParams) (CreateClipRes, error)
- func (c *Client) CreateDubbing(ctx context.Context, ...) (CreateDubbingRes, error)
- func (c *Client) CreateFileDocumentRoute(ctx context.Context, ...) (CreateFileDocumentRouteRes, error)
- func (c *Client) CreatePvcVoice(ctx context.Context, request *BodyCreatePVCVoiceV1VoicesPvcPost, ...) (CreatePvcVoiceRes, error)
- func (c *Client) CreateSecretRoute(ctx context.Context, request *PostWorkspaceSecretRequest, ...) (CreateSecretRouteRes, error)
- func (c *Client) CreateServiceAccountAPIKey(ctx context.Context, ...) (CreateServiceAccountAPIKeyRes, error)
- func (c *Client) CreateSpeaker(ctx context.Context, ...) (CreateSpeakerRes, error)
- func (c *Client) CreateTextDocumentRoute(ctx context.Context, ...) (CreateTextDocumentRouteRes, error)
- func (c *Client) CreateURLDocumentRoute(ctx context.Context, ...) (CreateURLDocumentRouteRes, error)
- func (c *Client) CreateVoice(ctx context.Context, ...) (CreateVoiceRes, error)
- func (c *Client) CreateVoiceOld(ctx context.Context, ...) (CreateVoiceOldRes, error)
- func (c *Client) CreateWorkspaceWebhookRoute(ctx context.Context, ...) (CreateWorkspaceWebhookRouteRes, error)
- func (c *Client) DeleteAgentRoute(ctx context.Context, params DeleteAgentRouteParams) (DeleteAgentRouteRes, error)
- func (c *Client) DeleteChapterEndpoint(ctx context.Context, params DeleteChapterEndpointParams) (DeleteChapterEndpointRes, error)
- func (c *Client) DeleteChatResponseTestRoute(ctx context.Context, params DeleteChatResponseTestRouteParams) (DeleteChatResponseTestRouteRes, error)
- func (c *Client) DeleteConversationRoute(ctx context.Context, params DeleteConversationRouteParams) (DeleteConversationRouteRes, error)
- func (c *Client) DeleteDubbing(ctx context.Context, params DeleteDubbingParams) (DeleteDubbingRes, error)
- func (c *Client) DeleteInvite(ctx context.Context, ...) (DeleteInviteRes, error)
- func (c *Client) DeleteKnowledgeBaseDocument(ctx context.Context, params DeleteKnowledgeBaseDocumentParams) (DeleteKnowledgeBaseDocumentRes, error)
- func (c *Client) DeleteMcpServerRoute(ctx context.Context, params DeleteMcpServerRouteParams) (DeleteMcpServerRouteRes, error)
- func (c *Client) DeletePhoneNumberRoute(ctx context.Context, params DeletePhoneNumberRouteParams) (DeletePhoneNumberRouteRes, error)
- func (c *Client) DeleteProject(ctx context.Context, params DeleteProjectParams) (DeleteProjectRes, error)
- func (c *Client) DeletePvcVoiceSample(ctx context.Context, params DeletePvcVoiceSampleParams) (DeletePvcVoiceSampleRes, error)
- func (c *Client) DeleteRagIndex(ctx context.Context, params DeleteRagIndexParams) (DeleteRagIndexRes, error)
- func (c *Client) DeleteSample(ctx context.Context, params DeleteSampleParams) (DeleteSampleRes, error)
- func (c *Client) DeleteSecretRoute(ctx context.Context, params DeleteSecretRouteParams) (DeleteSecretRouteRes, error)
- func (c *Client) DeleteSegment(ctx context.Context, params DeleteSegmentParams) (DeleteSegmentRes, error)
- func (c *Client) DeleteServiceAccountAPIKey(ctx context.Context, params DeleteServiceAccountAPIKeyParams) (DeleteServiceAccountAPIKeyRes, error)
- func (c *Client) DeleteSpeechHistoryItem(ctx context.Context, params DeleteSpeechHistoryItemParams) (DeleteSpeechHistoryItemRes, error)
- func (c *Client) DeleteToolRoute(ctx context.Context, params DeleteToolRouteParams) (DeleteToolRouteRes, error)
- func (c *Client) DeleteTranscriptByID(ctx context.Context, params DeleteTranscriptByIDParams) (DeleteTranscriptByIDRes, error)
- func (c *Client) DeleteVoice(ctx context.Context, params DeleteVoiceParams) (DeleteVoiceRes, error)
- func (c *Client) DeleteWhatsappAccount(ctx context.Context, params DeleteWhatsappAccountParams) (DeleteWhatsappAccountRes, error)
- func (c *Client) DeleteWorkspaceWebhookRoute(ctx context.Context, params DeleteWorkspaceWebhookRouteParams) (DeleteWorkspaceWebhookRouteRes, error)
- func (c *Client) DownloadSpeechHistoryItems(ctx context.Context, request *BodyDownloadHistoryItemsV1HistoryDownloadPost, ...) (DownloadSpeechHistoryItemsRes, error)
- func (c *Client) Dub(ctx context.Context, ...) (DubRes, error)
- func (c *Client) DuplicateAgentRoute(ctx context.Context, ...) (DuplicateAgentRouteRes, error)
- func (c *Client) EditProject(ctx context.Context, ...) (EditProjectRes, error)
- func (c *Client) EditProjectContent(ctx context.Context, ...) (EditProjectContentRes, error)
- func (c *Client) EditPvcVoice(ctx context.Context, request OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost, ...) (EditPvcVoiceRes, error)
- func (c *Client) EditPvcVoiceSample(ctx context.Context, ...) (EditPvcVoiceSampleRes, error)
- func (c *Client) EditServiceAccountAPIKey(ctx context.Context, ...) (EditServiceAccountAPIKeyRes, error)
- func (c *Client) EditVoice(ctx context.Context, request *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart, ...) (EditVoiceRes, error)
- func (c *Client) EditVoiceSettings(ctx context.Context, request *VoiceSettingsResponseModel, ...) (EditVoiceSettingsRes, error)
- func (c *Client) EditWorkspaceWebhookRoute(ctx context.Context, ...) (EditWorkspaceWebhookRouteRes, error)
- func (c *Client) ForcedAlignment(ctx context.Context, ...) (ForcedAlignmentRes, error)
- func (c *Client) Generate(ctx context.Context, request OptBodyComposeMusicV1MusicPost, ...) (GenerateRes, error)
- func (c *Client) GenerateRandomVoice(ctx context.Context, ...) (GenerateRandomVoiceRes, error)
- func (c *Client) GetAgentKnowledgeBaseSize(ctx context.Context, params GetAgentKnowledgeBaseSizeParams) (GetAgentKnowledgeBaseSizeRes, error)
- func (c *Client) GetAgentKnowledgeBaseSummariesRoute(ctx context.Context, params GetAgentKnowledgeBaseSummariesRouteParams) (GetAgentKnowledgeBaseSummariesRouteRes, error)
- func (c *Client) GetAgentLinkRoute(ctx context.Context, params GetAgentLinkRouteParams) (GetAgentLinkRouteRes, error)
- func (c *Client) GetAgentLlmExpectedCostCalculation(ctx context.Context, request *LLMUsageCalculatorRequestModel, ...) (GetAgentLlmExpectedCostCalculationRes, error)
- func (c *Client) GetAgentResponseTestRoute(ctx context.Context, params GetAgentResponseTestRouteParams) (GetAgentResponseTestRouteRes, error)
- func (c *Client) GetAgentResponseTestsSummariesRoute(ctx context.Context, request *ListTestsByIdsRequestModel, ...) (GetAgentResponseTestsSummariesRouteRes, error)
- func (c *Client) GetAgentsRoute(ctx context.Context, params GetAgentsRouteParams) (GetAgentsRouteRes, error)
- func (c *Client) GetAudioFromSample(ctx context.Context, params GetAudioFromSampleParams) (GetAudioFromSampleRes, error)
- func (c *Client) GetAudioFullFromSpeechHistoryItem(ctx context.Context, params GetAudioFullFromSpeechHistoryItemParams) (GetAudioFullFromSpeechHistoryItemRes, error)
- func (c *Client) GetAudioNativeProjectSettingsEndpoint(ctx context.Context, params GetAudioNativeProjectSettingsEndpointParams) (GetAudioNativeProjectSettingsEndpointRes, error)
- func (c *Client) GetBatchCall(ctx context.Context, params GetBatchCallParams) (GetBatchCallRes, error)
- func (c *Client) GetChapterSnapshotEndpoint(ctx context.Context, params GetChapterSnapshotEndpointParams) (GetChapterSnapshotEndpointRes, error)
- func (c *Client) GetChapterSnapshots(ctx context.Context, params GetChapterSnapshotsParams) (GetChapterSnapshotsRes, error)
- func (c *Client) GetChapters(ctx context.Context, params GetChaptersParams) (GetChaptersRes, error)
- func (c *Client) GetConversationAudioRoute(ctx context.Context, params GetConversationAudioRouteParams) (GetConversationAudioRouteRes, error)
- func (c *Client) GetConversationHistoriesRoute(ctx context.Context, params GetConversationHistoriesRouteParams) (GetConversationHistoriesRouteRes, error)
- func (c *Client) GetConversationHistoryRoute(ctx context.Context, params GetConversationHistoryRouteParams) (GetConversationHistoryRouteRes, error)
- func (c *Client) GetConversationSignedLink(ctx context.Context, params GetConversationSignedLinkParams) (GetConversationSignedLinkRes, error)
- func (c *Client) GetDashboardSettingsRoute(ctx context.Context, params GetDashboardSettingsRouteParams) (GetDashboardSettingsRouteRes, error)
- func (c *Client) GetDocumentationChunkFromKnowledgeBase(ctx context.Context, params GetDocumentationChunkFromKnowledgeBaseParams) (GetDocumentationChunkFromKnowledgeBaseRes, error)
- func (c *Client) GetDocumentationFromKnowledgeBase(ctx context.Context, params GetDocumentationFromKnowledgeBaseParams) (GetDocumentationFromKnowledgeBaseRes, error)
- func (c *Client) GetDubbedFile(ctx context.Context, params GetDubbedFileParams) (GetDubbedFileRes, error)
- func (c *Client) GetDubbedMetadata(ctx context.Context, params GetDubbedMetadataParams) (GetDubbedMetadataRes, error)
- func (c *Client) GetDubbedTranscriptFile(ctx context.Context, params GetDubbedTranscriptFileParams) (GetDubbedTranscriptFileRes, error)
- func (c *Client) GetDubbingResource(ctx context.Context, params GetDubbingResourceParams) (GetDubbingResourceRes, error)
- func (c *Client) GetGenerateVoiceParameters(ctx context.Context) (*VoiceGenerationParameterResponseModel, error)
- func (c *Client) GetKnowledgeBaseContent(ctx context.Context, params GetKnowledgeBaseContentParams) (GetKnowledgeBaseContentRes, error)
- func (c *Client) GetKnowledgeBaseDependentAgents(ctx context.Context, params GetKnowledgeBaseDependentAgentsParams) (GetKnowledgeBaseDependentAgentsRes, error)
- func (c *Client) GetKnowledgeBaseListRoute(ctx context.Context, params GetKnowledgeBaseListRouteParams) (GetKnowledgeBaseListRouteRes, error)
- func (c *Client) GetLibraryVoices(ctx context.Context, params GetLibraryVoicesParams) (GetLibraryVoicesRes, error)
- func (c *Client) GetLiveCount(ctx context.Context, params GetLiveCountParams) (GetLiveCountRes, error)
- func (c *Client) GetLivekitToken(ctx context.Context, params GetLivekitTokenParams) (GetLivekitTokenRes, error)
- func (c *Client) GetMcpToolConfigOverrideRoute(ctx context.Context, params GetMcpToolConfigOverrideRouteParams) (GetMcpToolConfigOverrideRouteRes, error)
- func (c *Client) GetModels(ctx context.Context, params GetModelsParams) (GetModelsRes, error)
- func (c *Client) GetOrCreateRagIndexes(ctx context.Context, ...) (GetOrCreateRagIndexesRes, error)
- func (c *Client) GetPhoneNumberRoute(ctx context.Context, params GetPhoneNumberRouteParams) (GetPhoneNumberRouteRes, error)
- func (c *Client) GetProjectSnapshotEndpoint(ctx context.Context, params GetProjectSnapshotEndpointParams) (GetProjectSnapshotEndpointRes, error)
- func (c *Client) GetProjectSnapshots(ctx context.Context, params GetProjectSnapshotsParams) (GetProjectSnapshotsRes, error)
- func (c *Client) GetProjects(ctx context.Context, params GetProjectsParams) (GetProjectsRes, error)
- func (c *Client) GetPronunciationDictionariesMetadata(ctx context.Context, params GetPronunciationDictionariesMetadataParams) (GetPronunciationDictionariesMetadataRes, error)
- func (c *Client) GetPronunciationDictionaryMetadata(ctx context.Context, params GetPronunciationDictionaryMetadataParams) (GetPronunciationDictionaryMetadataRes, error)
- func (c *Client) GetPronunciationDictionaryVersionPls(ctx context.Context, params GetPronunciationDictionaryVersionPlsParams) (GetPronunciationDictionaryVersionPlsRes, error)
- func (c *Client) GetPublicLlmExpectedCostCalculation(ctx context.Context, request *LLMUsageCalculatorPublicRequestModel) (GetPublicLlmExpectedCostCalculationRes, error)
- func (c *Client) GetPvcSampleAudio(ctx context.Context, params GetPvcSampleAudioParams) (GetPvcSampleAudioRes, error)
- func (c *Client) GetPvcSampleSpeakers(ctx context.Context, params GetPvcSampleSpeakersParams) (GetPvcSampleSpeakersRes, error)
- func (c *Client) GetPvcSampleVisualWaveform(ctx context.Context, params GetPvcSampleVisualWaveformParams) (GetPvcSampleVisualWaveformRes, error)
- func (c *Client) GetPvcVoiceCaptcha(ctx context.Context, params GetPvcVoiceCaptchaParams) (GetPvcVoiceCaptchaRes, error)
- func (c *Client) GetRagIndexOverview(ctx context.Context, params GetRagIndexOverviewParams) (GetRagIndexOverviewRes, error)
- func (c *Client) GetRagIndexes(ctx context.Context, params GetRagIndexesParams) (GetRagIndexesRes, error)
- func (c *Client) GetResourceMetadata(ctx context.Context, params GetResourceMetadataParams) (GetResourceMetadataRes, error)
- func (c *Client) GetSecretsRoute(ctx context.Context, params GetSecretsRouteParams) (GetSecretsRouteRes, error)
- func (c *Client) GetServiceAccountAPIKeysRoute(ctx context.Context, params GetServiceAccountAPIKeysRouteParams) (GetServiceAccountAPIKeysRouteRes, error)
- func (c *Client) GetSettingsRoute(ctx context.Context, params GetSettingsRouteParams) (GetSettingsRouteRes, error)
- func (c *Client) GetSignedURLDeprecated(ctx context.Context, params GetSignedURLDeprecatedParams) (GetSignedURLDeprecatedRes, error)deprecated
- func (c *Client) GetSimilarLibraryVoices(ctx context.Context, ...) (GetSimilarLibraryVoicesRes, error)
- func (c *Client) GetSimilarVoicesForSpeaker(ctx context.Context, params GetSimilarVoicesForSpeakerParams) (GetSimilarVoicesForSpeakerRes, error)
- func (c *Client) GetSingleUseToken(ctx context.Context, params GetSingleUseTokenParams) (GetSingleUseTokenRes, error)
- func (c *Client) GetSpeakerAudio(ctx context.Context, params GetSpeakerAudioParams) (GetSpeakerAudioRes, error)
- func (c *Client) GetSpeechHistory(ctx context.Context, params GetSpeechHistoryParams) (GetSpeechHistoryRes, error)
- func (c *Client) GetSpeechHistoryItemByID(ctx context.Context, params GetSpeechHistoryItemByIDParams) (GetSpeechHistoryItemByIDRes, error)
- func (c *Client) GetTestInvocationRoute(ctx context.Context, params GetTestInvocationRouteParams) (GetTestInvocationRouteRes, error)
- func (c *Client) GetToolDependentAgentsRoute(ctx context.Context, params GetToolDependentAgentsRouteParams) (GetToolDependentAgentsRouteRes, error)
- func (c *Client) GetTranscriptByID(ctx context.Context, params GetTranscriptByIDParams) (GetTranscriptByIDRes, error)
- func (c *Client) GetUserInfo(ctx context.Context, params GetUserInfoParams) (GetUserInfoRes, error)
- func (c *Client) GetUserVoicesV2(ctx context.Context, params GetUserVoicesV2Params) (GetUserVoicesV2Res, error)
- func (c *Client) GetVoiceByID(ctx context.Context, params GetVoiceByIDParams) (GetVoiceByIDRes, error)
- func (c *Client) GetVoiceSettings(ctx context.Context, params GetVoiceSettingsParams) (GetVoiceSettingsRes, error)
- func (c *Client) GetVoiceSettingsDefault(ctx context.Context) (*VoiceSettingsResponseModel, error)
- func (c *Client) GetVoices(ctx context.Context, params GetVoicesParams) (GetVoicesRes, error)
- func (c *Client) GetWhatsappAccount(ctx context.Context, params GetWhatsappAccountParams) (GetWhatsappAccountRes, error)
- func (c *Client) GetWorkspaceBatchCalls(ctx context.Context, params GetWorkspaceBatchCallsParams) (GetWorkspaceBatchCallsRes, error)
- func (c *Client) GetWorkspaceServiceAccounts(ctx context.Context, params GetWorkspaceServiceAccountsParams) (GetWorkspaceServiceAccountsRes, error)
- func (c *Client) GetWorkspaceWebhooksRoute(ctx context.Context, params GetWorkspaceWebhooksRouteParams) (GetWorkspaceWebhooksRouteRes, error)
- func (c *Client) HandleSipTrunkOutboundCall(ctx context.Context, ...) (HandleSipTrunkOutboundCallRes, error)
- func (c *Client) HandleTwilioOutboundCall(ctx context.Context, ...) (HandleTwilioOutboundCallRes, error)
- func (c *Client) ImportWhatsappAccount(ctx context.Context, request *ImportWhatsAppAccountRequest, ...) (ImportWhatsappAccountRes, error)
- func (c *Client) InviteUser(ctx context.Context, request *BodyInviteUserV1WorkspaceInvitesAddPost, ...) (InviteUserRes, error)
- func (c *Client) InviteUsersBulk(ctx context.Context, ...) (InviteUsersBulkRes, error)
- func (c *Client) ListChatResponseTestsRoute(ctx context.Context, params ListChatResponseTestsRouteParams) (ListChatResponseTestsRouteRes, error)
- func (c *Client) ListDubs(ctx context.Context, params ListDubsParams) (ListDubsRes, error)
- func (c *Client) ListMcpServerToolsRoute(ctx context.Context, params ListMcpServerToolsRouteParams) (ListMcpServerToolsRouteRes, error)
- func (c *Client) ListPhoneNumbersRoute(ctx context.Context, params ListPhoneNumbersRouteParams) (ListPhoneNumbersRouteRes, error)
- func (c *Client) ListTestInvocationsRoute(ctx context.Context, params ListTestInvocationsRouteParams) (ListTestInvocationsRouteRes, error)
- func (c *Client) ListWhatsappAccounts(ctx context.Context, params ListWhatsappAccountsParams) (ListWhatsappAccountsRes, error)
- func (c *Client) MigrateSegments(ctx context.Context, ...) (MigrateSegmentsRes, error)
- func (c *Client) PatchPronunciationDictionary(ctx context.Context, ...) (PatchPronunciationDictionaryRes, error)
- func (c *Client) PostAgentAvatarRoute(ctx context.Context, ...) (PostAgentAvatarRouteRes, error)
- func (c *Client) PostConversationFeedbackRoute(ctx context.Context, request *ConversationFeedbackRequestModel, ...) (PostConversationFeedbackRouteRes, error)
- func (c *Client) RagIndexStatus(ctx context.Context, request *RAGIndexRequestModel, ...) (RagIndexStatusRes, error)
- func (c *Client) RedirectToMintlify(ctx context.Context) (jx.Raw, error)
- func (c *Client) RegisterTwilioCall(ctx context.Context, ...) (RegisterTwilioCallRes, error)
- func (c *Client) RemoveMember(ctx context.Context, ...) (RemoveMemberRes, error)
- func (c *Client) RemoveRules(ctx context.Context, ...) (RemoveRulesRes, error)
- func (c *Client) RequestPvcManualVerification(ctx context.Context, ...) (RequestPvcManualVerificationRes, error)
- func (c *Client) RetryBatchCall(ctx context.Context, params RetryBatchCallParams) (RetryBatchCallRes, error)
- func (c *Client) RunPvcVoiceTraining(ctx context.Context, request OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost, ...) (RunPvcVoiceTrainingRes, error)
- func (c *Client) SearchGroups(ctx context.Context, params SearchGroupsParams) (SearchGroupsRes, error)
- func (c *Client) SeparateSongStems(ctx context.Context, ...) (SeparateSongStemsRes, error)
- func (c *Client) ShareResourceEndpoint(ctx context.Context, ...) (ShareResourceEndpointRes, error)
- func (c *Client) SoundGeneration(ctx context.Context, request *BodySoundGenerationV1SoundGenerationPost, ...) (SoundGenerationRes, error)
- func (c *Client) SpeechToSpeechFull(ctx context.Context, ...) (SpeechToSpeechFullRes, error)
- func (c *Client) SpeechToSpeechStream(ctx context.Context, ...) (SpeechToSpeechStreamRes, error)
- func (c *Client) SpeechToText(ctx context.Context, request *BodySpeechToTextV1SpeechToTextPostMultipart, ...) (SpeechToTextRes, error)
- func (c *Client) StartSpeakerSeparation(ctx context.Context, params StartSpeakerSeparationParams) (StartSpeakerSeparationRes, error)
- func (c *Client) StreamChapterSnapshotAudio(ctx context.Context, ...) (StreamChapterSnapshotAudioRes, error)
- func (c *Client) StreamCompose(ctx context.Context, request OptBodyStreamComposedMusicV1MusicStreamPost, ...) (StreamComposeRes, error)
- func (c *Client) StreamProjectSnapshotArchiveEndpoint(ctx context.Context, params StreamProjectSnapshotArchiveEndpointParams) (StreamProjectSnapshotArchiveEndpointRes, error)
- func (c *Client) StreamProjectSnapshotAudioEndpoint(ctx context.Context, ...) (StreamProjectSnapshotAudioEndpointRes, error)
- func (c *Client) TextToDialogue(ctx context.Context, request *BodyTextToDialogueMultiVoiceV1TextToDialoguePost, ...) (TextToDialogueRes, error)
- func (c *Client) TextToDialogueFullWithTimestamps(ctx context.Context, request *BodyTextToDialogueFullWithTimestamps, ...) (TextToDialogueFullWithTimestampsRes, error)
- func (c *Client) TextToDialogueStream(ctx context.Context, ...) (TextToDialogueStreamRes, error)
- func (c *Client) TextToDialogueStreamWithTimestamps(ctx context.Context, request *BodyTextToDialogueStreamWithTimestamps, ...) (TextToDialogueStreamWithTimestampsRes, error)
- func (c *Client) TextToSpeechFull(ctx context.Context, request *BodyTextToSpeechFull, ...) (TextToSpeechFullRes, error)
- func (c *Client) TextToSpeechFullWithTimestamps(ctx context.Context, request *BodyTextToSpeechFullWithTimestamps, ...) (TextToSpeechFullWithTimestampsRes, error)
- func (c *Client) TextToSpeechStream(ctx context.Context, request *BodyTextToSpeechStream, ...) (TextToSpeechStreamRes, error)
- func (c *Client) TextToSpeechStreamWithTimestamps(ctx context.Context, request *BodyTextToSpeechStreamWithTimestamps, ...) (TextToSpeechStreamWithTimestampsRes, error)
- func (c *Client) TextToVoice(ctx context.Context, request *VoicePreviewsRequestModel, ...) (TextToVoiceRes, error)
- func (c *Client) TextToVoiceDesign(ctx context.Context, request *VoiceDesignRequestModel, ...) (TextToVoiceDesignRes, error)
- func (c *Client) TextToVoicePreviewStream(ctx context.Context, params TextToVoicePreviewStreamParams) (TextToVoicePreviewStreamRes, error)
- func (c *Client) TextToVoiceRemix(ctx context.Context, request *VoiceRemixRequestModel, ...) (TextToVoiceRemixRes, error)
- func (c *Client) Transcribe(ctx context.Context, ...) (TranscribeRes, error)
- func (c *Client) Translate(ctx context.Context, ...) (TranslateRes, error)
- func (c *Client) UnshareResourceEndpoint(ctx context.Context, ...) (UnshareResourceEndpointRes, error)
- func (c *Client) UpdateAgentResponseTestRoute(ctx context.Context, request *UpdateUnitTestRequest, ...) (UpdateAgentResponseTestRouteRes, error)
- func (c *Client) UpdateDashboardSettingsRoute(ctx context.Context, request *PatchConvAIDashboardSettingsRequest, ...) (UpdateDashboardSettingsRouteRes, error)
- func (c *Client) UpdateDocumentRoute(ctx context.Context, ...) (UpdateDocumentRouteRes, error)
- func (c *Client) UpdatePhoneNumberRoute(ctx context.Context, request *UpdatePhoneNumberRequest, ...) (UpdatePhoneNumberRouteRes, error)
- func (c *Client) UpdatePronunciationDictionaries(ctx context.Context, ...) (UpdatePronunciationDictionariesRes, error)
- func (c *Client) UpdateSecretRoute(ctx context.Context, request *PatchWorkspaceSecretRequest, ...) (UpdateSecretRouteRes, error)
- func (c *Client) UpdateSegmentLanguage(ctx context.Context, request *SegmentUpdatePayload, ...) (UpdateSegmentLanguageRes, error)
- func (c *Client) UpdateSettingsRoute(ctx context.Context, request *PatchConvAISettingsRequest, ...) (UpdateSettingsRouteRes, error)
- func (c *Client) UpdateSpeaker(ctx context.Context, ...) (UpdateSpeakerRes, error)
- func (c *Client) UpdateWhatsappAccount(ctx context.Context, request *UpdateWhatsAppAccountRequest, ...) (UpdateWhatsappAccountRes, error)
- func (c *Client) UpdateWorkspaceMember(ctx context.Context, request *BodyUpdateMemberV1WorkspaceMembersPost, ...) (UpdateWorkspaceMemberRes, error)
- func (c *Client) UsageCharacters(ctx context.Context, params UsageCharactersParams) (UsageCharactersRes, error)
- func (c *Client) VerifyPvcVoiceCaptcha(ctx context.Context, ...) (VerifyPvcVoiceCaptchaRes, error)
- func (c *Client) WhatsappOutboundCall(ctx context.Context, ...) (WhatsappOutboundCallRes, error)
- type ClientOption
- type ComposeDetailedOK
- type ComposeDetailedOKHeaders
- type ComposeDetailedOutputFormat
- type ComposeDetailedParams
- type ComposeDetailedRes
- type ComposePlanParams
- type ComposePlanRes
- type ConvAISecretLocator
- func (s *ConvAISecretLocator) Decode(d *jx.Decoder) error
- func (s *ConvAISecretLocator) Encode(e *jx.Encoder)
- func (s *ConvAISecretLocator) GetSecretID() string
- func (s *ConvAISecretLocator) MarshalJSON() ([]byte, error)
- func (s *ConvAISecretLocator) SetSecretID(val string)
- func (s *ConvAISecretLocator) UnmarshalJSON(data []byte) error
- type ConvAIStoredSecretDependencies
- func (s *ConvAIStoredSecretDependencies) Decode(d *jx.Decoder) error
- func (s *ConvAIStoredSecretDependencies) Encode(e *jx.Encoder)
- func (s *ConvAIStoredSecretDependencies) GetAgents() []ConvAIStoredSecretDependenciesAgentsItem
- func (s *ConvAIStoredSecretDependencies) GetOthers() []SecretDependencyType
- func (s *ConvAIStoredSecretDependencies) GetPhoneNumbers() []DependentPhoneNumberIdentifier
- func (s *ConvAIStoredSecretDependencies) GetTools() []ConvAIStoredSecretDependenciesToolsItem
- func (s *ConvAIStoredSecretDependencies) MarshalJSON() ([]byte, error)
- func (s *ConvAIStoredSecretDependencies) SetAgents(val []ConvAIStoredSecretDependenciesAgentsItem)
- func (s *ConvAIStoredSecretDependencies) SetOthers(val []SecretDependencyType)
- func (s *ConvAIStoredSecretDependencies) SetPhoneNumbers(val []DependentPhoneNumberIdentifier)
- func (s *ConvAIStoredSecretDependencies) SetTools(val []ConvAIStoredSecretDependenciesToolsItem)
- func (s *ConvAIStoredSecretDependencies) UnmarshalJSON(data []byte) error
- func (s *ConvAIStoredSecretDependencies) Validate() error
- type ConvAIStoredSecretDependenciesAgentsItem
- func NewDependentAvailableAgentIdentifierConvAIStoredSecretDependenciesAgentsItem(v DependentAvailableAgentIdentifier) ConvAIStoredSecretDependenciesAgentsItem
- func NewDependentUnknownAgentIdentifierConvAIStoredSecretDependenciesAgentsItem(v DependentUnknownAgentIdentifier) ConvAIStoredSecretDependenciesAgentsItem
- func (s *ConvAIStoredSecretDependenciesAgentsItem) Decode(d *jx.Decoder) error
- func (s ConvAIStoredSecretDependenciesAgentsItem) Encode(e *jx.Encoder)
- func (s ConvAIStoredSecretDependenciesAgentsItem) GetDependentAvailableAgentIdentifier() (v DependentAvailableAgentIdentifier, ok bool)
- func (s ConvAIStoredSecretDependenciesAgentsItem) GetDependentUnknownAgentIdentifier() (v DependentUnknownAgentIdentifier, ok bool)
- func (s ConvAIStoredSecretDependenciesAgentsItem) IsDependentAvailableAgentIdentifier() bool
- func (s ConvAIStoredSecretDependenciesAgentsItem) IsDependentUnknownAgentIdentifier() bool
- func (s ConvAIStoredSecretDependenciesAgentsItem) MarshalJSON() ([]byte, error)
- func (s *ConvAIStoredSecretDependenciesAgentsItem) SetDependentAvailableAgentIdentifier(v DependentAvailableAgentIdentifier)
- func (s *ConvAIStoredSecretDependenciesAgentsItem) SetDependentUnknownAgentIdentifier(v DependentUnknownAgentIdentifier)
- func (s *ConvAIStoredSecretDependenciesAgentsItem) UnmarshalJSON(data []byte) error
- func (s ConvAIStoredSecretDependenciesAgentsItem) Validate() error
- type ConvAIStoredSecretDependenciesAgentsItemType
- type ConvAIStoredSecretDependenciesToolsItem
- func NewDependentAvailableToolIdentifierConvAIStoredSecretDependenciesToolsItem(v DependentAvailableToolIdentifier) ConvAIStoredSecretDependenciesToolsItem
- func NewDependentUnknownToolIdentifierConvAIStoredSecretDependenciesToolsItem(v DependentUnknownToolIdentifier) ConvAIStoredSecretDependenciesToolsItem
- func (s *ConvAIStoredSecretDependenciesToolsItem) Decode(d *jx.Decoder) error
- func (s ConvAIStoredSecretDependenciesToolsItem) Encode(e *jx.Encoder)
- func (s ConvAIStoredSecretDependenciesToolsItem) GetDependentAvailableToolIdentifier() (v DependentAvailableToolIdentifier, ok bool)
- func (s ConvAIStoredSecretDependenciesToolsItem) GetDependentUnknownToolIdentifier() (v DependentUnknownToolIdentifier, ok bool)
- func (s ConvAIStoredSecretDependenciesToolsItem) IsDependentAvailableToolIdentifier() bool
- func (s ConvAIStoredSecretDependenciesToolsItem) IsDependentUnknownToolIdentifier() bool
- func (s ConvAIStoredSecretDependenciesToolsItem) MarshalJSON() ([]byte, error)
- func (s *ConvAIStoredSecretDependenciesToolsItem) SetDependentAvailableToolIdentifier(v DependentAvailableToolIdentifier)
- func (s *ConvAIStoredSecretDependenciesToolsItem) SetDependentUnknownToolIdentifier(v DependentUnknownToolIdentifier)
- func (s *ConvAIStoredSecretDependenciesToolsItem) UnmarshalJSON(data []byte) error
- func (s ConvAIStoredSecretDependenciesToolsItem) Validate() error
- type ConvAIStoredSecretDependenciesToolsItemType
- type ConvAIWebhooks
- func (s *ConvAIWebhooks) Decode(d *jx.Decoder) error
- func (s *ConvAIWebhooks) Encode(e *jx.Encoder)
- func (s *ConvAIWebhooks) GetEvents() []WebhookEventType
- func (s *ConvAIWebhooks) GetPostCallWebhookID() OptNilString
- func (s *ConvAIWebhooks) GetSendAudio() OptNilBool
- func (s *ConvAIWebhooks) MarshalJSON() ([]byte, error)
- func (s *ConvAIWebhooks) SetEvents(val []WebhookEventType)
- func (s *ConvAIWebhooks) SetPostCallWebhookID(val OptNilString)
- func (s *ConvAIWebhooks) SetSendAudio(val OptNilBool)
- func (s *ConvAIWebhooks) UnmarshalJSON(data []byte) error
- func (s *ConvAIWebhooks) Validate() error
- type ConvAIWorkspaceStoredSecretConfig
- func (s *ConvAIWorkspaceStoredSecretConfig) Decode(d *jx.Decoder) error
- func (s *ConvAIWorkspaceStoredSecretConfig) Encode(e *jx.Encoder)
- func (s *ConvAIWorkspaceStoredSecretConfig) GetName() string
- func (s *ConvAIWorkspaceStoredSecretConfig) GetSecretID() string
- func (s *ConvAIWorkspaceStoredSecretConfig) GetType() ConvAIWorkspaceStoredSecretConfigType
- func (s *ConvAIWorkspaceStoredSecretConfig) GetUsedBy() ConvAIStoredSecretDependencies
- func (s *ConvAIWorkspaceStoredSecretConfig) MarshalJSON() ([]byte, error)
- func (s *ConvAIWorkspaceStoredSecretConfig) SetName(val string)
- func (s *ConvAIWorkspaceStoredSecretConfig) SetSecretID(val string)
- func (s *ConvAIWorkspaceStoredSecretConfig) SetType(val ConvAIWorkspaceStoredSecretConfigType)
- func (s *ConvAIWorkspaceStoredSecretConfig) SetUsedBy(val ConvAIStoredSecretDependencies)
- func (s *ConvAIWorkspaceStoredSecretConfig) UnmarshalJSON(data []byte) error
- func (s *ConvAIWorkspaceStoredSecretConfig) Validate() error
- type ConvAIWorkspaceStoredSecretConfigType
- func (ConvAIWorkspaceStoredSecretConfigType) AllValues() []ConvAIWorkspaceStoredSecretConfigType
- func (s *ConvAIWorkspaceStoredSecretConfigType) Decode(d *jx.Decoder) error
- func (s ConvAIWorkspaceStoredSecretConfigType) Encode(e *jx.Encoder)
- func (s ConvAIWorkspaceStoredSecretConfigType) MarshalJSON() ([]byte, error)
- func (s ConvAIWorkspaceStoredSecretConfigType) MarshalText() ([]byte, error)
- func (s *ConvAIWorkspaceStoredSecretConfigType) UnmarshalJSON(data []byte) error
- func (s *ConvAIWorkspaceStoredSecretConfigType) UnmarshalText(data []byte) error
- func (s ConvAIWorkspaceStoredSecretConfigType) Validate() error
- type ConversationChargingCommonModel
- func (s *ConversationChargingCommonModel) Decode(d *jx.Decoder) error
- func (s *ConversationChargingCommonModel) Encode(e *jx.Encoder)
- func (s *ConversationChargingCommonModel) GetCallCharge() OptNilInt
- func (s *ConversationChargingCommonModel) GetDevDiscount() OptBool
- func (s *ConversationChargingCommonModel) GetFreeLlmDollarsConsumed() OptFloat64
- func (s *ConversationChargingCommonModel) GetFreeMinutesConsumed() OptFloat64
- func (s *ConversationChargingCommonModel) GetIsBurst() OptBool
- func (s *ConversationChargingCommonModel) GetLlmCharge() OptNilInt
- func (s *ConversationChargingCommonModel) GetLlmPrice() OptNilFloat64
- func (s *ConversationChargingCommonModel) GetLlmUsage() OptLLMCategoryUsage
- func (s *ConversationChargingCommonModel) GetTier() OptNilString
- func (s *ConversationChargingCommonModel) MarshalJSON() ([]byte, error)
- func (s *ConversationChargingCommonModel) SetCallCharge(val OptNilInt)
- func (s *ConversationChargingCommonModel) SetDevDiscount(val OptBool)
- func (s *ConversationChargingCommonModel) SetFreeLlmDollarsConsumed(val OptFloat64)
- func (s *ConversationChargingCommonModel) SetFreeMinutesConsumed(val OptFloat64)
- func (s *ConversationChargingCommonModel) SetIsBurst(val OptBool)
- func (s *ConversationChargingCommonModel) SetLlmCharge(val OptNilInt)
- func (s *ConversationChargingCommonModel) SetLlmPrice(val OptNilFloat64)
- func (s *ConversationChargingCommonModel) SetLlmUsage(val OptLLMCategoryUsage)
- func (s *ConversationChargingCommonModel) SetTier(val OptNilString)
- func (s *ConversationChargingCommonModel) UnmarshalJSON(data []byte) error
- func (s *ConversationChargingCommonModel) Validate() error
- type ConversationConfigClientOverrideInput
- func (s *ConversationConfigClientOverrideInput) Decode(d *jx.Decoder) error
- func (s *ConversationConfigClientOverrideInput) Encode(e *jx.Encoder)
- func (s *ConversationConfigClientOverrideInput) GetAgent() OptAgentConfigOverrideInput
- func (s *ConversationConfigClientOverrideInput) GetConversation() OptConversationConfigOverride
- func (s *ConversationConfigClientOverrideInput) GetTts() OptTTSConversationalConfigOverride
- func (s *ConversationConfigClientOverrideInput) GetTurn() OptTurnConfigOverride
- func (s *ConversationConfigClientOverrideInput) MarshalJSON() ([]byte, error)
- func (s *ConversationConfigClientOverrideInput) SetAgent(val OptAgentConfigOverrideInput)
- func (s *ConversationConfigClientOverrideInput) SetConversation(val OptConversationConfigOverride)
- func (s *ConversationConfigClientOverrideInput) SetTts(val OptTTSConversationalConfigOverride)
- func (s *ConversationConfigClientOverrideInput) SetTurn(val OptTurnConfigOverride)
- func (s *ConversationConfigClientOverrideInput) UnmarshalJSON(data []byte) error
- func (s *ConversationConfigClientOverrideInput) Validate() error
- type ConversationConfigClientOverrideOutput
- func (s *ConversationConfigClientOverrideOutput) Decode(d *jx.Decoder) error
- func (s *ConversationConfigClientOverrideOutput) Encode(e *jx.Encoder)
- func (s *ConversationConfigClientOverrideOutput) GetAgent() OptAgentConfigOverrideOutput
- func (s *ConversationConfigClientOverrideOutput) GetConversation() OptConversationConfigOverride
- func (s *ConversationConfigClientOverrideOutput) GetTts() OptTTSConversationalConfigOverride
- func (s *ConversationConfigClientOverrideOutput) GetTurn() OptTurnConfigOverride
- func (s *ConversationConfigClientOverrideOutput) MarshalJSON() ([]byte, error)
- func (s *ConversationConfigClientOverrideOutput) SetAgent(val OptAgentConfigOverrideOutput)
- func (s *ConversationConfigClientOverrideOutput) SetConversation(val OptConversationConfigOverride)
- func (s *ConversationConfigClientOverrideOutput) SetTts(val OptTTSConversationalConfigOverride)
- func (s *ConversationConfigClientOverrideOutput) SetTurn(val OptTurnConfigOverride)
- func (s *ConversationConfigClientOverrideOutput) UnmarshalJSON(data []byte) error
- func (s *ConversationConfigClientOverrideOutput) Validate() error
- type ConversationConfigOverride
- func (s *ConversationConfigOverride) Decode(d *jx.Decoder) error
- func (s *ConversationConfigOverride) Encode(e *jx.Encoder)
- func (s *ConversationConfigOverride) GetTextOnly() OptNilBool
- func (s *ConversationConfigOverride) MarshalJSON() ([]byte, error)
- func (s *ConversationConfigOverride) SetTextOnly(val OptNilBool)
- func (s *ConversationConfigOverride) UnmarshalJSON(data []byte) error
- type ConversationDeletionSettings
- func (s *ConversationDeletionSettings) Decode(d *jx.Decoder) error
- func (s *ConversationDeletionSettings) Encode(e *jx.Encoder)
- func (s *ConversationDeletionSettings) GetDeleteAudio() OptBool
- func (s *ConversationDeletionSettings) GetDeleteTranscriptAndPii() OptBool
- func (s *ConversationDeletionSettings) GetDeletedAudioAtTimeUnixSecs() OptNilInt
- func (s *ConversationDeletionSettings) GetDeletedLogsAtTimeUnixSecs() OptNilInt
- func (s *ConversationDeletionSettings) GetDeletedTranscriptAtTimeUnixSecs() OptNilInt
- func (s *ConversationDeletionSettings) GetDeletionTimeUnixSecs() OptNilInt
- func (s *ConversationDeletionSettings) MarshalJSON() ([]byte, error)
- func (s *ConversationDeletionSettings) SetDeleteAudio(val OptBool)
- func (s *ConversationDeletionSettings) SetDeleteTranscriptAndPii(val OptBool)
- func (s *ConversationDeletionSettings) SetDeletedAudioAtTimeUnixSecs(val OptNilInt)
- func (s *ConversationDeletionSettings) SetDeletedLogsAtTimeUnixSecs(val OptNilInt)
- func (s *ConversationDeletionSettings) SetDeletedTranscriptAtTimeUnixSecs(val OptNilInt)
- func (s *ConversationDeletionSettings) SetDeletionTimeUnixSecs(val OptNilInt)
- func (s *ConversationDeletionSettings) UnmarshalJSON(data []byte) error
- type ConversationFeedbackRequestModel
- func (s *ConversationFeedbackRequestModel) Decode(d *jx.Decoder) error
- func (s *ConversationFeedbackRequestModel) Encode(e *jx.Encoder)
- func (s *ConversationFeedbackRequestModel) GetFeedback() OptUserFeedbackScore
- func (s *ConversationFeedbackRequestModel) MarshalJSON() ([]byte, error)
- func (s *ConversationFeedbackRequestModel) SetFeedback(val OptUserFeedbackScore)
- func (s *ConversationFeedbackRequestModel) UnmarshalJSON(data []byte) error
- func (s *ConversationFeedbackRequestModel) Validate() error
- type ConversationFeedbackType
- func (ConversationFeedbackType) AllValues() []ConversationFeedbackType
- func (s *ConversationFeedbackType) Decode(d *jx.Decoder) error
- func (s ConversationFeedbackType) Encode(e *jx.Encoder)
- func (s ConversationFeedbackType) MarshalJSON() ([]byte, error)
- func (s ConversationFeedbackType) MarshalText() ([]byte, error)
- func (s *ConversationFeedbackType) UnmarshalJSON(data []byte) error
- func (s *ConversationFeedbackType) UnmarshalText(data []byte) error
- func (s ConversationFeedbackType) Validate() error
- type ConversationHistoryAnalysisCommonModel
- func (s *ConversationHistoryAnalysisCommonModel) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryAnalysisCommonModel) Encode(e *jx.Encoder)
- func (s *ConversationHistoryAnalysisCommonModel) GetCallSuccessful() EvaluationSuccessResult
- func (s *ConversationHistoryAnalysisCommonModel) GetCallSummaryTitle() OptNilString
- func (s *ConversationHistoryAnalysisCommonModel) GetDataCollectionResults() OptConversationHistoryAnalysisCommonModelDataCollectionResults
- func (s *ConversationHistoryAnalysisCommonModel) GetEvaluationCriteriaResults() OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults
- func (s *ConversationHistoryAnalysisCommonModel) GetTranscriptSummary() string
- func (s *ConversationHistoryAnalysisCommonModel) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryAnalysisCommonModel) SetCallSuccessful(val EvaluationSuccessResult)
- func (s *ConversationHistoryAnalysisCommonModel) SetCallSummaryTitle(val OptNilString)
- func (s *ConversationHistoryAnalysisCommonModel) SetDataCollectionResults(val OptConversationHistoryAnalysisCommonModelDataCollectionResults)
- func (s *ConversationHistoryAnalysisCommonModel) SetEvaluationCriteriaResults(val OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults)
- func (s *ConversationHistoryAnalysisCommonModel) SetTranscriptSummary(val string)
- func (s *ConversationHistoryAnalysisCommonModel) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryAnalysisCommonModel) Validate() error
- type ConversationHistoryAnalysisCommonModelDataCollectionResults
- func (s *ConversationHistoryAnalysisCommonModelDataCollectionResults) Decode(d *jx.Decoder) error
- func (s ConversationHistoryAnalysisCommonModelDataCollectionResults) Encode(e *jx.Encoder)
- func (s ConversationHistoryAnalysisCommonModelDataCollectionResults) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryAnalysisCommonModelDataCollectionResults) UnmarshalJSON(data []byte) error
- func (s ConversationHistoryAnalysisCommonModelDataCollectionResults) Validate() error
- type ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults
- func (s *ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Decode(d *jx.Decoder) error
- func (s ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Encode(e *jx.Encoder)
- func (s ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) UnmarshalJSON(data []byte) error
- func (s ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Validate() error
- type ConversationHistoryBatchCallModel
- func (s *ConversationHistoryBatchCallModel) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryBatchCallModel) Encode(e *jx.Encoder)
- func (s *ConversationHistoryBatchCallModel) GetBatchCallID() string
- func (s *ConversationHistoryBatchCallModel) GetBatchCallRecipientID() string
- func (s *ConversationHistoryBatchCallModel) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryBatchCallModel) SetBatchCallID(val string)
- func (s *ConversationHistoryBatchCallModel) SetBatchCallRecipientID(val string)
- func (s *ConversationHistoryBatchCallModel) UnmarshalJSON(data []byte) error
- type ConversationHistoryElevenAssistantCommonModel
- func (s *ConversationHistoryElevenAssistantCommonModel) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryElevenAssistantCommonModel) Encode(e *jx.Encoder)
- func (s *ConversationHistoryElevenAssistantCommonModel) GetIsElevenAssistant() OptBool
- func (s *ConversationHistoryElevenAssistantCommonModel) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryElevenAssistantCommonModel) SetIsElevenAssistant(val OptBool)
- func (s *ConversationHistoryElevenAssistantCommonModel) UnmarshalJSON(data []byte) error
- type ConversationHistoryErrorCommonModel
- func (s *ConversationHistoryErrorCommonModel) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryErrorCommonModel) Encode(e *jx.Encoder)
- func (s *ConversationHistoryErrorCommonModel) GetCode() int
- func (s *ConversationHistoryErrorCommonModel) GetReason() OptNilString
- func (s *ConversationHistoryErrorCommonModel) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryErrorCommonModel) SetCode(val int)
- func (s *ConversationHistoryErrorCommonModel) SetReason(val OptNilString)
- func (s *ConversationHistoryErrorCommonModel) UnmarshalJSON(data []byte) error
- type ConversationHistoryEvaluationCriteriaResultCommonModel
- func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) Encode(e *jx.Encoder)
- func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) GetCriteriaID() string
- func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) GetRationale() string
- func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) GetResult() EvaluationSuccessResult
- func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) SetCriteriaID(val string)
- func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) SetRationale(val string)
- func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) SetResult(val EvaluationSuccessResult)
- func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) Validate() error
- type ConversationHistoryFeedbackCommonModel
- func (s *ConversationHistoryFeedbackCommonModel) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryFeedbackCommonModel) Encode(e *jx.Encoder)
- func (s *ConversationHistoryFeedbackCommonModel) GetComment() OptNilString
- func (s *ConversationHistoryFeedbackCommonModel) GetDislikes() OptInt
- func (s *ConversationHistoryFeedbackCommonModel) GetLikes() OptInt
- func (s *ConversationHistoryFeedbackCommonModel) GetOverallScore() OptUserFeedbackScore
- func (s *ConversationHistoryFeedbackCommonModel) GetRating() OptNilInt
- func (s *ConversationHistoryFeedbackCommonModel) GetType() OptConversationFeedbackType
- func (s *ConversationHistoryFeedbackCommonModel) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryFeedbackCommonModel) SetComment(val OptNilString)
- func (s *ConversationHistoryFeedbackCommonModel) SetDislikes(val OptInt)
- func (s *ConversationHistoryFeedbackCommonModel) SetLikes(val OptInt)
- func (s *ConversationHistoryFeedbackCommonModel) SetOverallScore(val OptUserFeedbackScore)
- func (s *ConversationHistoryFeedbackCommonModel) SetRating(val OptNilInt)
- func (s *ConversationHistoryFeedbackCommonModel) SetType(val OptConversationFeedbackType)
- func (s *ConversationHistoryFeedbackCommonModel) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryFeedbackCommonModel) Validate() error
- type ConversationHistoryMetadataCommonModel
- func (s *ConversationHistoryMetadataCommonModel) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryMetadataCommonModel) Encode(e *jx.Encoder)
- func (s *ConversationHistoryMetadataCommonModel) GetAcceptedTimeUnixSecs() OptNilInt
- func (s *ConversationHistoryMetadataCommonModel) GetAgentCreatedFrom() OptAgentDefinitionSource
- func (s *ConversationHistoryMetadataCommonModel) GetAgentLastUpdatedFrom() OptAgentDefinitionSource
- func (s *ConversationHistoryMetadataCommonModel) GetAsyncMetadata() OptAsyncConversationMetadata
- func (s *ConversationHistoryMetadataCommonModel) GetAuthorizationMethod() OptAuthorizationMethod
- func (s *ConversationHistoryMetadataCommonModel) GetBatchCall() OptConversationHistoryBatchCallModel
- func (s *ConversationHistoryMetadataCommonModel) GetCallDurationSecs() int
- func (s *ConversationHistoryMetadataCommonModel) GetCharging() OptConversationChargingCommonModel
- func (s *ConversationHistoryMetadataCommonModel) GetConversationInitiationSource() OptConversationInitiationSource
- func (s *ConversationHistoryMetadataCommonModel) GetConversationInitiationSourceVersion() OptNilString
- func (s *ConversationHistoryMetadataCommonModel) GetCost() OptNilInt
- func (s *ConversationHistoryMetadataCommonModel) GetDeletionSettings() OptConversationDeletionSettings
- func (s *ConversationHistoryMetadataCommonModel) GetElevenAssistant() OptConversationHistoryElevenAssistantCommonModel
- func (s *ConversationHistoryMetadataCommonModel) GetError() OptConversationHistoryErrorCommonModel
- func (s *ConversationHistoryMetadataCommonModel) GetFeaturesUsage() OptFeaturesUsageCommonModel
- func (s *ConversationHistoryMetadataCommonModel) GetFeedback() OptConversationHistoryFeedbackCommonModel
- func (s *ConversationHistoryMetadataCommonModel) GetInitiationTrigger() OptConversationHistoryMetadataCommonModelInitiationTrigger
- func (s *ConversationHistoryMetadataCommonModel) GetInitiatorID() OptNilString
- func (s *ConversationHistoryMetadataCommonModel) GetMainLanguage() OptNilString
- func (s *ConversationHistoryMetadataCommonModel) GetPhoneCall() OptNilConversationHistoryMetadataCommonModelPhoneCall
- func (s *ConversationHistoryMetadataCommonModel) GetRagUsage() OptConversationHistoryRagUsageCommonModel
- func (s *ConversationHistoryMetadataCommonModel) GetStartTimeUnixSecs() int
- func (s *ConversationHistoryMetadataCommonModel) GetTerminationReason() OptString
- func (s *ConversationHistoryMetadataCommonModel) GetTextOnly() OptBool
- func (s *ConversationHistoryMetadataCommonModel) GetTimezone() OptNilString
- func (s *ConversationHistoryMetadataCommonModel) GetWarnings() []string
- func (s *ConversationHistoryMetadataCommonModel) GetWhatsapp() OptWhatsAppConversationInfo
- func (s *ConversationHistoryMetadataCommonModel) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryMetadataCommonModel) SetAcceptedTimeUnixSecs(val OptNilInt)
- func (s *ConversationHistoryMetadataCommonModel) SetAgentCreatedFrom(val OptAgentDefinitionSource)
- func (s *ConversationHistoryMetadataCommonModel) SetAgentLastUpdatedFrom(val OptAgentDefinitionSource)
- func (s *ConversationHistoryMetadataCommonModel) SetAsyncMetadata(val OptAsyncConversationMetadata)
- func (s *ConversationHistoryMetadataCommonModel) SetAuthorizationMethod(val OptAuthorizationMethod)
- func (s *ConversationHistoryMetadataCommonModel) SetBatchCall(val OptConversationHistoryBatchCallModel)
- func (s *ConversationHistoryMetadataCommonModel) SetCallDurationSecs(val int)
- func (s *ConversationHistoryMetadataCommonModel) SetCharging(val OptConversationChargingCommonModel)
- func (s *ConversationHistoryMetadataCommonModel) SetConversationInitiationSource(val OptConversationInitiationSource)
- func (s *ConversationHistoryMetadataCommonModel) SetConversationInitiationSourceVersion(val OptNilString)
- func (s *ConversationHistoryMetadataCommonModel) SetCost(val OptNilInt)
- func (s *ConversationHistoryMetadataCommonModel) SetDeletionSettings(val OptConversationDeletionSettings)
- func (s *ConversationHistoryMetadataCommonModel) SetElevenAssistant(val OptConversationHistoryElevenAssistantCommonModel)
- func (s *ConversationHistoryMetadataCommonModel) SetError(val OptConversationHistoryErrorCommonModel)
- func (s *ConversationHistoryMetadataCommonModel) SetFeaturesUsage(val OptFeaturesUsageCommonModel)
- func (s *ConversationHistoryMetadataCommonModel) SetFeedback(val OptConversationHistoryFeedbackCommonModel)
- func (s *ConversationHistoryMetadataCommonModel) SetInitiationTrigger(val OptConversationHistoryMetadataCommonModelInitiationTrigger)
- func (s *ConversationHistoryMetadataCommonModel) SetInitiatorID(val OptNilString)
- func (s *ConversationHistoryMetadataCommonModel) SetMainLanguage(val OptNilString)
- func (s *ConversationHistoryMetadataCommonModel) SetPhoneCall(val OptNilConversationHistoryMetadataCommonModelPhoneCall)
- func (s *ConversationHistoryMetadataCommonModel) SetRagUsage(val OptConversationHistoryRagUsageCommonModel)
- func (s *ConversationHistoryMetadataCommonModel) SetStartTimeUnixSecs(val int)
- func (s *ConversationHistoryMetadataCommonModel) SetTerminationReason(val OptString)
- func (s *ConversationHistoryMetadataCommonModel) SetTextOnly(val OptBool)
- func (s *ConversationHistoryMetadataCommonModel) SetTimezone(val OptNilString)
- func (s *ConversationHistoryMetadataCommonModel) SetWarnings(val []string)
- func (s *ConversationHistoryMetadataCommonModel) SetWhatsapp(val OptWhatsAppConversationInfo)
- func (s *ConversationHistoryMetadataCommonModel) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryMetadataCommonModel) Validate() error
- type ConversationHistoryMetadataCommonModelInitiationTrigger
- func NewDefaultConversationInitiationTriggerConversationHistoryMetadataCommonModelInitiationTrigger(v DefaultConversationInitiationTrigger) ConversationHistoryMetadataCommonModelInitiationTrigger
- func NewZendeskConversationInitiationTriggerConversationHistoryMetadataCommonModelInitiationTrigger(v ZendeskConversationInitiationTrigger) ConversationHistoryMetadataCommonModelInitiationTrigger
- func (s *ConversationHistoryMetadataCommonModelInitiationTrigger) Decode(d *jx.Decoder) error
- func (s ConversationHistoryMetadataCommonModelInitiationTrigger) Encode(e *jx.Encoder)
- func (s ConversationHistoryMetadataCommonModelInitiationTrigger) GetDefaultConversationInitiationTrigger() (v DefaultConversationInitiationTrigger, ok bool)
- func (s ConversationHistoryMetadataCommonModelInitiationTrigger) GetZendeskConversationInitiationTrigger() (v ZendeskConversationInitiationTrigger, ok bool)
- func (s ConversationHistoryMetadataCommonModelInitiationTrigger) IsDefaultConversationInitiationTrigger() bool
- func (s ConversationHistoryMetadataCommonModelInitiationTrigger) IsZendeskConversationInitiationTrigger() bool
- func (s ConversationHistoryMetadataCommonModelInitiationTrigger) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryMetadataCommonModelInitiationTrigger) SetDefaultConversationInitiationTrigger(v DefaultConversationInitiationTrigger)
- func (s *ConversationHistoryMetadataCommonModelInitiationTrigger) SetZendeskConversationInitiationTrigger(v ZendeskConversationInitiationTrigger)
- func (s *ConversationHistoryMetadataCommonModelInitiationTrigger) UnmarshalJSON(data []byte) error
- func (s ConversationHistoryMetadataCommonModelInitiationTrigger) Validate() error
- type ConversationHistoryMetadataCommonModelInitiationTriggerType
- type ConversationHistoryMetadataCommonModelPhoneCall
- func NewConversationHistorySIPTrunkingPhoneCallModelConversationHistoryMetadataCommonModelPhoneCall(v ConversationHistorySIPTrunkingPhoneCallModel) ConversationHistoryMetadataCommonModelPhoneCall
- func NewConversationHistoryTwilioPhoneCallModelConversationHistoryMetadataCommonModelPhoneCall(v ConversationHistoryTwilioPhoneCallModel) ConversationHistoryMetadataCommonModelPhoneCall
- func (s *ConversationHistoryMetadataCommonModelPhoneCall) Decode(d *jx.Decoder) error
- func (s ConversationHistoryMetadataCommonModelPhoneCall) Encode(e *jx.Encoder)
- func (s ConversationHistoryMetadataCommonModelPhoneCall) GetConversationHistorySIPTrunkingPhoneCallModel() (v ConversationHistorySIPTrunkingPhoneCallModel, ok bool)
- func (s ConversationHistoryMetadataCommonModelPhoneCall) GetConversationHistoryTwilioPhoneCallModel() (v ConversationHistoryTwilioPhoneCallModel, ok bool)
- func (s ConversationHistoryMetadataCommonModelPhoneCall) IsConversationHistorySIPTrunkingPhoneCallModel() bool
- func (s ConversationHistoryMetadataCommonModelPhoneCall) IsConversationHistoryTwilioPhoneCallModel() bool
- func (s ConversationHistoryMetadataCommonModelPhoneCall) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryMetadataCommonModelPhoneCall) SetConversationHistorySIPTrunkingPhoneCallModel(v ConversationHistorySIPTrunkingPhoneCallModel)
- func (s *ConversationHistoryMetadataCommonModelPhoneCall) SetConversationHistoryTwilioPhoneCallModel(v ConversationHistoryTwilioPhoneCallModel)
- func (s *ConversationHistoryMetadataCommonModelPhoneCall) UnmarshalJSON(data []byte) error
- func (s ConversationHistoryMetadataCommonModelPhoneCall) Validate() error
- type ConversationHistoryMetadataCommonModelPhoneCallType
- type ConversationHistoryMultivoiceMessageModel
- func (s *ConversationHistoryMultivoiceMessageModel) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryMultivoiceMessageModel) Encode(e *jx.Encoder)
- func (s *ConversationHistoryMultivoiceMessageModel) GetParts() []ConversationHistoryMultivoiceMessagePartModel
- func (s *ConversationHistoryMultivoiceMessageModel) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryMultivoiceMessageModel) SetParts(val []ConversationHistoryMultivoiceMessagePartModel)
- func (s *ConversationHistoryMultivoiceMessageModel) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryMultivoiceMessageModel) Validate() error
- type ConversationHistoryMultivoiceMessagePartModel
- func (s *ConversationHistoryMultivoiceMessagePartModel) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryMultivoiceMessagePartModel) Encode(e *jx.Encoder)
- func (s *ConversationHistoryMultivoiceMessagePartModel) GetText() string
- func (s *ConversationHistoryMultivoiceMessagePartModel) GetTimeInCallSecs() NilInt
- func (s *ConversationHistoryMultivoiceMessagePartModel) GetVoiceLabel() NilString
- func (s *ConversationHistoryMultivoiceMessagePartModel) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryMultivoiceMessagePartModel) SetText(val string)
- func (s *ConversationHistoryMultivoiceMessagePartModel) SetTimeInCallSecs(val NilInt)
- func (s *ConversationHistoryMultivoiceMessagePartModel) SetVoiceLabel(val NilString)
- func (s *ConversationHistoryMultivoiceMessagePartModel) UnmarshalJSON(data []byte) error
- type ConversationHistoryRagUsageCommonModel
- func (s *ConversationHistoryRagUsageCommonModel) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryRagUsageCommonModel) Encode(e *jx.Encoder)
- func (s *ConversationHistoryRagUsageCommonModel) GetEmbeddingModel() string
- func (s *ConversationHistoryRagUsageCommonModel) GetUsageCount() int
- func (s *ConversationHistoryRagUsageCommonModel) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryRagUsageCommonModel) SetEmbeddingModel(val string)
- func (s *ConversationHistoryRagUsageCommonModel) SetUsageCount(val int)
- func (s *ConversationHistoryRagUsageCommonModel) UnmarshalJSON(data []byte) error
- type ConversationHistorySIPTrunkingPhoneCallModel
- func (s *ConversationHistorySIPTrunkingPhoneCallModel) Decode(d *jx.Decoder) error
- func (s *ConversationHistorySIPTrunkingPhoneCallModel) Encode(e *jx.Encoder)
- func (s *ConversationHistorySIPTrunkingPhoneCallModel) GetAgentNumber() string
- func (s *ConversationHistorySIPTrunkingPhoneCallModel) GetCallSid() string
- func (s *ConversationHistorySIPTrunkingPhoneCallModel) GetDirection() ConversationHistorySIPTrunkingPhoneCallModelDirection
- func (s *ConversationHistorySIPTrunkingPhoneCallModel) GetExternalNumber() string
- func (s *ConversationHistorySIPTrunkingPhoneCallModel) GetPhoneNumberID() string
- func (s *ConversationHistorySIPTrunkingPhoneCallModel) GetType() ConversationHistorySIPTrunkingPhoneCallModelType
- func (s *ConversationHistorySIPTrunkingPhoneCallModel) MarshalJSON() ([]byte, error)
- func (s *ConversationHistorySIPTrunkingPhoneCallModel) SetAgentNumber(val string)
- func (s *ConversationHistorySIPTrunkingPhoneCallModel) SetCallSid(val string)
- func (s *ConversationHistorySIPTrunkingPhoneCallModel) SetDirection(val ConversationHistorySIPTrunkingPhoneCallModelDirection)
- func (s *ConversationHistorySIPTrunkingPhoneCallModel) SetExternalNumber(val string)
- func (s *ConversationHistorySIPTrunkingPhoneCallModel) SetPhoneNumberID(val string)
- func (s *ConversationHistorySIPTrunkingPhoneCallModel) SetType(val ConversationHistorySIPTrunkingPhoneCallModelType)
- func (s *ConversationHistorySIPTrunkingPhoneCallModel) UnmarshalJSON(data []byte) error
- func (s *ConversationHistorySIPTrunkingPhoneCallModel) Validate() error
- type ConversationHistorySIPTrunkingPhoneCallModelDirection
- func (ConversationHistorySIPTrunkingPhoneCallModelDirection) AllValues() []ConversationHistorySIPTrunkingPhoneCallModelDirection
- func (s *ConversationHistorySIPTrunkingPhoneCallModelDirection) Decode(d *jx.Decoder) error
- func (s ConversationHistorySIPTrunkingPhoneCallModelDirection) Encode(e *jx.Encoder)
- func (s ConversationHistorySIPTrunkingPhoneCallModelDirection) MarshalJSON() ([]byte, error)
- func (s ConversationHistorySIPTrunkingPhoneCallModelDirection) MarshalText() ([]byte, error)
- func (s *ConversationHistorySIPTrunkingPhoneCallModelDirection) UnmarshalJSON(data []byte) error
- func (s *ConversationHistorySIPTrunkingPhoneCallModelDirection) UnmarshalText(data []byte) error
- func (s ConversationHistorySIPTrunkingPhoneCallModelDirection) Validate() error
- type ConversationHistorySIPTrunkingPhoneCallModelType
- func (ConversationHistorySIPTrunkingPhoneCallModelType) AllValues() []ConversationHistorySIPTrunkingPhoneCallModelType
- func (s *ConversationHistorySIPTrunkingPhoneCallModelType) Decode(d *jx.Decoder) error
- func (s ConversationHistorySIPTrunkingPhoneCallModelType) Encode(e *jx.Encoder)
- func (s ConversationHistorySIPTrunkingPhoneCallModelType) MarshalJSON() ([]byte, error)
- func (s ConversationHistorySIPTrunkingPhoneCallModelType) MarshalText() ([]byte, error)
- func (s *ConversationHistorySIPTrunkingPhoneCallModelType) UnmarshalJSON(data []byte) error
- func (s *ConversationHistorySIPTrunkingPhoneCallModelType) UnmarshalText(data []byte) error
- func (s ConversationHistorySIPTrunkingPhoneCallModelType) Validate() error
- type ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) Encode(e *jx.Encoder)
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetCredentialID() string
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetDynamicVariableUpdates() []DynamicVariableUpdateCommonModel
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetIntegrationConnectionID() string
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetIntegrationID() string
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetIsError() bool
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetRequestID() string
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetResultValue() string
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetToolHasBeenCalled() bool
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetToolLatencySecs() OptFloat64
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetToolName() string
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetType() ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetCredentialID(val string)
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetDynamicVariableUpdates(val []DynamicVariableUpdateCommonModel)
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetIntegrationConnectionID(val string)
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetIntegrationID(val string)
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetIsError(val bool)
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetRequestID(val string)
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetResultValue(val string)
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetToolHasBeenCalled(val bool)
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetToolLatencySecs(val OptFloat64)
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetToolName(val string)
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetType(...)
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) Validate() error
- type ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType
- func (ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) AllValues() []ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) MarshalJSON() ([]byte, error)
- func (s ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) MarshalText() ([]byte, error)
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) UnmarshalText(data []byte) error
- func (s ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) Validate() error
- type ConversationHistoryTranscriptCommonModelInput
- func (s *ConversationHistoryTranscriptCommonModelInput) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryTranscriptCommonModelInput) Encode(e *jx.Encoder)
- func (s *ConversationHistoryTranscriptCommonModelInput) GetAgentMetadata() OptAgentMetadata
- func (s *ConversationHistoryTranscriptCommonModelInput) GetConversationTurnMetrics() OptConversationTurnMetrics
- func (s *ConversationHistoryTranscriptCommonModelInput) GetFeedback() OptUserFeedback
- func (s *ConversationHistoryTranscriptCommonModelInput) GetInterrupted() OptBool
- func (s *ConversationHistoryTranscriptCommonModelInput) GetLlmOverride() OptNilString
- func (s *ConversationHistoryTranscriptCommonModelInput) GetLlmUsage() OptLLMUsageInput
- func (s *ConversationHistoryTranscriptCommonModelInput) GetMessage() OptNilString
- func (s *ConversationHistoryTranscriptCommonModelInput) GetMultivoiceMessage() OptConversationHistoryMultivoiceMessageModel
- func (s *ConversationHistoryTranscriptCommonModelInput) GetOriginalMessage() OptNilString
- func (s *ConversationHistoryTranscriptCommonModelInput) GetRagRetrievalInfo() OptRagRetrievalInfo
- func (s *ConversationHistoryTranscriptCommonModelInput) GetRole() ConversationHistoryTranscriptCommonModelInputRole
- func (s *ConversationHistoryTranscriptCommonModelInput) GetSourceMedium() OptNilConversationHistoryTranscriptCommonModelInputSourceMedium
- func (s *ConversationHistoryTranscriptCommonModelInput) GetTimeInCallSecs() int
- func (s *ConversationHistoryTranscriptCommonModelInput) GetToolCalls() []ConversationHistoryTranscriptToolCallCommonModelInput
- func (s *ConversationHistoryTranscriptCommonModelInput) GetToolResults() []ConversationHistoryTranscriptCommonModelInputToolResultsItem
- func (s *ConversationHistoryTranscriptCommonModelInput) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptCommonModelInput) SetAgentMetadata(val OptAgentMetadata)
- func (s *ConversationHistoryTranscriptCommonModelInput) SetConversationTurnMetrics(val OptConversationTurnMetrics)
- func (s *ConversationHistoryTranscriptCommonModelInput) SetFeedback(val OptUserFeedback)
- func (s *ConversationHistoryTranscriptCommonModelInput) SetInterrupted(val OptBool)
- func (s *ConversationHistoryTranscriptCommonModelInput) SetLlmOverride(val OptNilString)
- func (s *ConversationHistoryTranscriptCommonModelInput) SetLlmUsage(val OptLLMUsageInput)
- func (s *ConversationHistoryTranscriptCommonModelInput) SetMessage(val OptNilString)
- func (s *ConversationHistoryTranscriptCommonModelInput) SetMultivoiceMessage(val OptConversationHistoryMultivoiceMessageModel)
- func (s *ConversationHistoryTranscriptCommonModelInput) SetOriginalMessage(val OptNilString)
- func (s *ConversationHistoryTranscriptCommonModelInput) SetRagRetrievalInfo(val OptRagRetrievalInfo)
- func (s *ConversationHistoryTranscriptCommonModelInput) SetRole(val ConversationHistoryTranscriptCommonModelInputRole)
- func (s *ConversationHistoryTranscriptCommonModelInput) SetSourceMedium(val OptNilConversationHistoryTranscriptCommonModelInputSourceMedium)
- func (s *ConversationHistoryTranscriptCommonModelInput) SetTimeInCallSecs(val int)
- func (s *ConversationHistoryTranscriptCommonModelInput) SetToolCalls(val []ConversationHistoryTranscriptToolCallCommonModelInput)
- func (s *ConversationHistoryTranscriptCommonModelInput) SetToolResults(val []ConversationHistoryTranscriptCommonModelInputToolResultsItem)
- func (s *ConversationHistoryTranscriptCommonModelInput) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptCommonModelInput) Validate() error
- type ConversationHistoryTranscriptCommonModelInputRole
- func (ConversationHistoryTranscriptCommonModelInputRole) AllValues() []ConversationHistoryTranscriptCommonModelInputRole
- func (s *ConversationHistoryTranscriptCommonModelInputRole) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptCommonModelInputRole) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptCommonModelInputRole) MarshalJSON() ([]byte, error)
- func (s ConversationHistoryTranscriptCommonModelInputRole) MarshalText() ([]byte, error)
- func (s *ConversationHistoryTranscriptCommonModelInputRole) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptCommonModelInputRole) UnmarshalText(data []byte) error
- func (s ConversationHistoryTranscriptCommonModelInputRole) Validate() error
- type ConversationHistoryTranscriptCommonModelInputSourceMedium
- func (ConversationHistoryTranscriptCommonModelInputSourceMedium) AllValues() []ConversationHistoryTranscriptCommonModelInputSourceMedium
- func (s *ConversationHistoryTranscriptCommonModelInputSourceMedium) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptCommonModelInputSourceMedium) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptCommonModelInputSourceMedium) MarshalJSON() ([]byte, error)
- func (s ConversationHistoryTranscriptCommonModelInputSourceMedium) MarshalText() ([]byte, error)
- func (s *ConversationHistoryTranscriptCommonModelInputSourceMedium) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptCommonModelInputSourceMedium) UnmarshalText(data []byte) error
- func (s ConversationHistoryTranscriptCommonModelInputSourceMedium) Validate() error
- type ConversationHistoryTranscriptCommonModelInputToolResultsItem
- func NewConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelConversationHistoryTranscriptCommonModelInputToolResultsItem(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) ConversationHistoryTranscriptCommonModelInputToolResultsItem
- func NewConversationHistoryTranscriptOtherToolsResultCommonModelConversationHistoryTranscriptCommonModelInputToolResultsItem(v ConversationHistoryTranscriptOtherToolsResultCommonModel) ConversationHistoryTranscriptCommonModelInputToolResultsItem
- func NewConversationHistoryTranscriptSystemToolResultCommonModelConversationHistoryTranscriptCommonModelInputToolResultsItem(v ConversationHistoryTranscriptSystemToolResultCommonModel) ConversationHistoryTranscriptCommonModelInputToolResultsItem
- func NewConversationHistoryTranscriptWorkflowToolsResultCommonModelInputConversationHistoryTranscriptCommonModelInputToolResultsItem(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) ConversationHistoryTranscriptCommonModelInputToolResultsItem
- func (s *ConversationHistoryTranscriptCommonModelInputToolResultsItem) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) GetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel() (v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel, ...)
- func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) GetConversationHistoryTranscriptOtherToolsResultCommonModel() (v ConversationHistoryTranscriptOtherToolsResultCommonModel, ok bool)
- func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) GetConversationHistoryTranscriptSystemToolResultCommonModel() (v ConversationHistoryTranscriptSystemToolResultCommonModel, ok bool)
- func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) GetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput() (v ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput, ok bool)
- func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) IsConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel() bool
- func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) IsConversationHistoryTranscriptOtherToolsResultCommonModel() bool
- func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) IsConversationHistoryTranscriptSystemToolResultCommonModel() bool
- func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) IsConversationHistoryTranscriptWorkflowToolsResultCommonModelInput() bool
- func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel)
- func (s *ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptOtherToolsResultCommonModel(v ConversationHistoryTranscriptOtherToolsResultCommonModel)
- func (s *ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptSystemToolResultCommonModel(v ConversationHistoryTranscriptSystemToolResultCommonModel)
- func (s *ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput)
- func (s *ConversationHistoryTranscriptCommonModelInputToolResultsItem) UnmarshalJSON(data []byte) error
- func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) Validate() error
- type ConversationHistoryTranscriptCommonModelInputToolResultsItemType
- type ConversationHistoryTranscriptCommonModelOutput
- func (s *ConversationHistoryTranscriptCommonModelOutput) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryTranscriptCommonModelOutput) Encode(e *jx.Encoder)
- func (s *ConversationHistoryTranscriptCommonModelOutput) GetAgentMetadata() OptAgentMetadata
- func (s *ConversationHistoryTranscriptCommonModelOutput) GetConversationTurnMetrics() OptConversationTurnMetrics
- func (s *ConversationHistoryTranscriptCommonModelOutput) GetFeedback() OptUserFeedback
- func (s *ConversationHistoryTranscriptCommonModelOutput) GetInterrupted() OptBool
- func (s *ConversationHistoryTranscriptCommonModelOutput) GetLlmOverride() OptNilString
- func (s *ConversationHistoryTranscriptCommonModelOutput) GetLlmUsage() OptLLMUsageOutput
- func (s *ConversationHistoryTranscriptCommonModelOutput) GetMessage() OptNilString
- func (s *ConversationHistoryTranscriptCommonModelOutput) GetMultivoiceMessage() OptConversationHistoryMultivoiceMessageModel
- func (s *ConversationHistoryTranscriptCommonModelOutput) GetOriginalMessage() OptNilString
- func (s *ConversationHistoryTranscriptCommonModelOutput) GetRagRetrievalInfo() OptRagRetrievalInfo
- func (s *ConversationHistoryTranscriptCommonModelOutput) GetRole() ConversationHistoryTranscriptCommonModelOutputRole
- func (s *ConversationHistoryTranscriptCommonModelOutput) GetSourceMedium() OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium
- func (s *ConversationHistoryTranscriptCommonModelOutput) GetTimeInCallSecs() int
- func (s *ConversationHistoryTranscriptCommonModelOutput) GetToolCalls() []ConversationHistoryTranscriptToolCallCommonModelOutput
- func (s *ConversationHistoryTranscriptCommonModelOutput) GetToolResults() []ConversationHistoryTranscriptCommonModelOutputToolResultsItem
- func (s *ConversationHistoryTranscriptCommonModelOutput) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptCommonModelOutput) SetAgentMetadata(val OptAgentMetadata)
- func (s *ConversationHistoryTranscriptCommonModelOutput) SetConversationTurnMetrics(val OptConversationTurnMetrics)
- func (s *ConversationHistoryTranscriptCommonModelOutput) SetFeedback(val OptUserFeedback)
- func (s *ConversationHistoryTranscriptCommonModelOutput) SetInterrupted(val OptBool)
- func (s *ConversationHistoryTranscriptCommonModelOutput) SetLlmOverride(val OptNilString)
- func (s *ConversationHistoryTranscriptCommonModelOutput) SetLlmUsage(val OptLLMUsageOutput)
- func (s *ConversationHistoryTranscriptCommonModelOutput) SetMessage(val OptNilString)
- func (s *ConversationHistoryTranscriptCommonModelOutput) SetMultivoiceMessage(val OptConversationHistoryMultivoiceMessageModel)
- func (s *ConversationHistoryTranscriptCommonModelOutput) SetOriginalMessage(val OptNilString)
- func (s *ConversationHistoryTranscriptCommonModelOutput) SetRagRetrievalInfo(val OptRagRetrievalInfo)
- func (s *ConversationHistoryTranscriptCommonModelOutput) SetRole(val ConversationHistoryTranscriptCommonModelOutputRole)
- func (s *ConversationHistoryTranscriptCommonModelOutput) SetSourceMedium(val OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium)
- func (s *ConversationHistoryTranscriptCommonModelOutput) SetTimeInCallSecs(val int)
- func (s *ConversationHistoryTranscriptCommonModelOutput) SetToolCalls(val []ConversationHistoryTranscriptToolCallCommonModelOutput)
- func (s *ConversationHistoryTranscriptCommonModelOutput) SetToolResults(val []ConversationHistoryTranscriptCommonModelOutputToolResultsItem)
- func (s *ConversationHistoryTranscriptCommonModelOutput) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptCommonModelOutput) Validate() error
- type ConversationHistoryTranscriptCommonModelOutputRole
- func (ConversationHistoryTranscriptCommonModelOutputRole) AllValues() []ConversationHistoryTranscriptCommonModelOutputRole
- func (s *ConversationHistoryTranscriptCommonModelOutputRole) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptCommonModelOutputRole) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptCommonModelOutputRole) MarshalJSON() ([]byte, error)
- func (s ConversationHistoryTranscriptCommonModelOutputRole) MarshalText() ([]byte, error)
- func (s *ConversationHistoryTranscriptCommonModelOutputRole) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptCommonModelOutputRole) UnmarshalText(data []byte) error
- func (s ConversationHistoryTranscriptCommonModelOutputRole) Validate() error
- type ConversationHistoryTranscriptCommonModelOutputSourceMedium
- func (ConversationHistoryTranscriptCommonModelOutputSourceMedium) AllValues() []ConversationHistoryTranscriptCommonModelOutputSourceMedium
- func (s *ConversationHistoryTranscriptCommonModelOutputSourceMedium) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptCommonModelOutputSourceMedium) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptCommonModelOutputSourceMedium) MarshalJSON() ([]byte, error)
- func (s ConversationHistoryTranscriptCommonModelOutputSourceMedium) MarshalText() ([]byte, error)
- func (s *ConversationHistoryTranscriptCommonModelOutputSourceMedium) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptCommonModelOutputSourceMedium) UnmarshalText(data []byte) error
- func (s ConversationHistoryTranscriptCommonModelOutputSourceMedium) Validate() error
- type ConversationHistoryTranscriptCommonModelOutputToolResultsItem
- func NewConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelConversationHistoryTranscriptCommonModelOutputToolResultsItem(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) ConversationHistoryTranscriptCommonModelOutputToolResultsItem
- func NewConversationHistoryTranscriptOtherToolsResultCommonModelConversationHistoryTranscriptCommonModelOutputToolResultsItem(v ConversationHistoryTranscriptOtherToolsResultCommonModel) ConversationHistoryTranscriptCommonModelOutputToolResultsItem
- func NewConversationHistoryTranscriptSystemToolResultCommonModelConversationHistoryTranscriptCommonModelOutputToolResultsItem(v ConversationHistoryTranscriptSystemToolResultCommonModel) ConversationHistoryTranscriptCommonModelOutputToolResultsItem
- func NewConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputConversationHistoryTranscriptCommonModelOutputToolResultsItem(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) ConversationHistoryTranscriptCommonModelOutputToolResultsItem
- func (s *ConversationHistoryTranscriptCommonModelOutputToolResultsItem) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) GetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel() (v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel, ...)
- func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) GetConversationHistoryTranscriptOtherToolsResultCommonModel() (v ConversationHistoryTranscriptOtherToolsResultCommonModel, ok bool)
- func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) GetConversationHistoryTranscriptSystemToolResultCommonModel() (v ConversationHistoryTranscriptSystemToolResultCommonModel, ok bool)
- func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) GetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput() (v ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput, ok bool)
- func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) IsConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel() bool
- func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) IsConversationHistoryTranscriptOtherToolsResultCommonModel() bool
- func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) IsConversationHistoryTranscriptSystemToolResultCommonModel() bool
- func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) IsConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput() bool
- func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel)
- func (s *ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptOtherToolsResultCommonModel(v ConversationHistoryTranscriptOtherToolsResultCommonModel)
- func (s *ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptSystemToolResultCommonModel(v ConversationHistoryTranscriptSystemToolResultCommonModel)
- func (s *ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput)
- func (s *ConversationHistoryTranscriptCommonModelOutputToolResultsItem) UnmarshalJSON(data []byte) error
- func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) Validate() error
- type ConversationHistoryTranscriptCommonModelOutputToolResultsItemType
- type ConversationHistoryTranscriptOtherToolsResultCommonModel
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) Encode(e *jx.Encoder)
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) GetDynamicVariableUpdates() []DynamicVariableUpdateCommonModel
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) GetIsError() bool
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) GetRequestID() string
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) GetResultValue() string
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) GetToolHasBeenCalled() bool
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) GetToolLatencySecs() OptFloat64
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) GetToolName() string
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) GetType() OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) SetDynamicVariableUpdates(val []DynamicVariableUpdateCommonModel)
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) SetIsError(val bool)
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) SetRequestID(val string)
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) SetResultValue(val string)
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) SetToolHasBeenCalled(val bool)
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) SetToolLatencySecs(val OptFloat64)
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) SetToolName(val string)
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) SetType(val OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType)
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) Validate() error
- type ConversationHistoryTranscriptOtherToolsResultCommonModelType
- func (ConversationHistoryTranscriptOtherToolsResultCommonModelType) AllValues() []ConversationHistoryTranscriptOtherToolsResultCommonModelType
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModelType) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptOtherToolsResultCommonModelType) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptOtherToolsResultCommonModelType) MarshalJSON() ([]byte, error)
- func (s ConversationHistoryTranscriptOtherToolsResultCommonModelType) MarshalText() ([]byte, error)
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModelType) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptOtherToolsResultCommonModelType) UnmarshalText(data []byte) error
- func (s ConversationHistoryTranscriptOtherToolsResultCommonModelType) Validate() error
- type ConversationHistoryTranscriptSystemToolResultCommonModel
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) Encode(e *jx.Encoder)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetDynamicVariableUpdates() []DynamicVariableUpdateCommonModel
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetIsError() bool
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetRequestID() string
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetResult() OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetResultValue() string
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetToolHasBeenCalled() bool
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetToolLatencySecs() OptFloat64
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetToolName() string
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetType() ConversationHistoryTranscriptSystemToolResultCommonModelType
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetDynamicVariableUpdates(val []DynamicVariableUpdateCommonModel)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetIsError(val bool)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetRequestID(val string)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetResult(val OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetResultValue(val string)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetToolHasBeenCalled(val bool)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetToolLatencySecs(val OptFloat64)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetToolName(val string)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetType(val ConversationHistoryTranscriptSystemToolResultCommonModelType)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) Validate() error
- type ConversationHistoryTranscriptSystemToolResultCommonModelResult
- func NewEndCallToolResultModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v EndCallToolResultModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult
- func NewLanguageDetectionToolResultModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v LanguageDetectionToolResultModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult
- func NewPlayDTMFResultErrorModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v PlayDTMFResultErrorModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult
- func NewPlayDTMFResultSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v PlayDTMFResultSuccessModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult
- func NewSkipTurnToolResponseModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v SkipTurnToolResponseModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult
- func NewTestToolResultModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v TestToolResultModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult
- func NewTransferToAgentToolResultErrorModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v TransferToAgentToolResultErrorModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult
- func NewTransferToAgentToolResultSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v TransferToAgentToolResultSuccessModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult
- func NewTransferToNumberResultErrorModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v TransferToNumberResultErrorModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult
- func NewTransferToNumberResultSipSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v TransferToNumberResultSipSuccessModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult
- func NewTransferToNumberResultTwilioSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v TransferToNumberResultTwilioSuccessModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult
- func NewVoiceMailDetectionResultSuccessModelConversationHistoryTranscriptSystemToolResultCommonModelResult(v VoiceMailDetectionResultSuccessModel) ConversationHistoryTranscriptSystemToolResultCommonModelResult
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetEndCallToolResultModel() (v EndCallToolResultModel, ok bool)
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetLanguageDetectionToolResultModel() (v LanguageDetectionToolResultModel, ok bool)
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetPlayDTMFResultErrorModel() (v PlayDTMFResultErrorModel, ok bool)
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetPlayDTMFResultSuccessModel() (v PlayDTMFResultSuccessModel, ok bool)
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetSkipTurnToolResponseModel() (v SkipTurnToolResponseModel, ok bool)
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTestToolResultModel() (v TestToolResultModel, ok bool)
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToAgentToolResultErrorModel() (v TransferToAgentToolResultErrorModel, ok bool)
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToAgentToolResultSuccessModel() (v TransferToAgentToolResultSuccessModel, ok bool)
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToNumberResultErrorModel() (v TransferToNumberResultErrorModel, ok bool)
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToNumberResultSipSuccessModel() (v TransferToNumberResultSipSuccessModel, ok bool)
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToNumberResultTwilioSuccessModel() (v TransferToNumberResultTwilioSuccessModel, ok bool)
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetVoiceMailDetectionResultSuccessModel() (v VoiceMailDetectionResultSuccessModel, ok bool)
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsEndCallToolResultModel() bool
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsLanguageDetectionToolResultModel() bool
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsPlayDTMFResultErrorModel() bool
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsPlayDTMFResultSuccessModel() bool
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsSkipTurnToolResponseModel() bool
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTestToolResultModel() bool
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTransferToAgentToolResultErrorModel() bool
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTransferToAgentToolResultSuccessModel() bool
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTransferToNumberResultErrorModel() bool
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTransferToNumberResultSipSuccessModel() bool
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTransferToNumberResultTwilioSuccessModel() bool
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsVoiceMailDetectionResultSuccessModel() bool
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetEndCallToolResultModel(v EndCallToolResultModel)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetLanguageDetectionToolResultModel(v LanguageDetectionToolResultModel)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetPlayDTMFResultErrorModel(v PlayDTMFResultErrorModel)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetPlayDTMFResultSuccessModel(v PlayDTMFResultSuccessModel)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetSkipTurnToolResponseModel(v SkipTurnToolResponseModel)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTestToolResultModel(v TestToolResultModel)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToAgentToolResultErrorModel(v TransferToAgentToolResultErrorModel)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToAgentToolResultSuccessModel(v TransferToAgentToolResultSuccessModel)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToNumberResultErrorModel(v TransferToNumberResultErrorModel)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToNumberResultSipSuccessModel(v TransferToNumberResultSipSuccessModel)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToNumberResultTwilioSuccessModel(v TransferToNumberResultTwilioSuccessModel)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetVoiceMailDetectionResultSuccessModel(v VoiceMailDetectionResultSuccessModel)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) UnmarshalJSON(data []byte) error
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) Validate() error
- type ConversationHistoryTranscriptSystemToolResultCommonModelResultType
- type ConversationHistoryTranscriptSystemToolResultCommonModelType
- func (ConversationHistoryTranscriptSystemToolResultCommonModelType) AllValues() []ConversationHistoryTranscriptSystemToolResultCommonModelType
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModelType) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelType) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelType) MarshalJSON() ([]byte, error)
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelType) MarshalText() ([]byte, error)
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModelType) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptSystemToolResultCommonModelType) UnmarshalText(data []byte) error
- func (s ConversationHistoryTranscriptSystemToolResultCommonModelType) Validate() error
- type ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) Encode(e *jx.Encoder)
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetCredentialID() string
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetIntegrationConnectionID() string
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetIntegrationID() string
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetType() OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetWebhookDetails() ConversationHistoryTranscriptToolCallWebhookDetails
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetCredentialID(val string)
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetIntegrationConnectionID(val string)
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetIntegrationID(val string)
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetType(val OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType)
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetWebhookDetails(val ConversationHistoryTranscriptToolCallWebhookDetails)
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) Validate() error
- type ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType
- func (ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) AllValues() []ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) MarshalJSON() ([]byte, error)
- func (s ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) MarshalText() ([]byte, error)
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) UnmarshalText(data []byte) error
- func (s ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Validate() error
- type ConversationHistoryTranscriptToolCallClientDetails
- func (s *ConversationHistoryTranscriptToolCallClientDetails) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryTranscriptToolCallClientDetails) Encode(e *jx.Encoder)
- func (s *ConversationHistoryTranscriptToolCallClientDetails) GetParameters() string
- func (s *ConversationHistoryTranscriptToolCallClientDetails) GetType() OptConversationHistoryTranscriptToolCallClientDetailsType
- func (s *ConversationHistoryTranscriptToolCallClientDetails) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptToolCallClientDetails) SetParameters(val string)
- func (s *ConversationHistoryTranscriptToolCallClientDetails) SetType(val OptConversationHistoryTranscriptToolCallClientDetailsType)
- func (s *ConversationHistoryTranscriptToolCallClientDetails) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptToolCallClientDetails) Validate() error
- type ConversationHistoryTranscriptToolCallClientDetailsType
- func (ConversationHistoryTranscriptToolCallClientDetailsType) AllValues() []ConversationHistoryTranscriptToolCallClientDetailsType
- func (s *ConversationHistoryTranscriptToolCallClientDetailsType) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptToolCallClientDetailsType) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptToolCallClientDetailsType) MarshalJSON() ([]byte, error)
- func (s ConversationHistoryTranscriptToolCallClientDetailsType) MarshalText() ([]byte, error)
- func (s *ConversationHistoryTranscriptToolCallClientDetailsType) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptToolCallClientDetailsType) UnmarshalText(data []byte) error
- func (s ConversationHistoryTranscriptToolCallClientDetailsType) Validate() error
- type ConversationHistoryTranscriptToolCallCommonModelInput
- func (s *ConversationHistoryTranscriptToolCallCommonModelInput) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryTranscriptToolCallCommonModelInput) Encode(e *jx.Encoder)
- func (s *ConversationHistoryTranscriptToolCallCommonModelInput) GetParamsAsJSON() string
- func (s *ConversationHistoryTranscriptToolCallCommonModelInput) GetRequestID() string
- func (s *ConversationHistoryTranscriptToolCallCommonModelInput) GetToolDetails() OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails
- func (s *ConversationHistoryTranscriptToolCallCommonModelInput) GetToolHasBeenCalled() bool
- func (s *ConversationHistoryTranscriptToolCallCommonModelInput) GetToolName() string
- func (s *ConversationHistoryTranscriptToolCallCommonModelInput) GetType() OptToolType
- func (s *ConversationHistoryTranscriptToolCallCommonModelInput) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptToolCallCommonModelInput) SetParamsAsJSON(val string)
- func (s *ConversationHistoryTranscriptToolCallCommonModelInput) SetRequestID(val string)
- func (s *ConversationHistoryTranscriptToolCallCommonModelInput) SetToolDetails(val OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails)
- func (s *ConversationHistoryTranscriptToolCallCommonModelInput) SetToolHasBeenCalled(val bool)
- func (s *ConversationHistoryTranscriptToolCallCommonModelInput) SetToolName(val string)
- func (s *ConversationHistoryTranscriptToolCallCommonModelInput) SetType(val OptToolType)
- func (s *ConversationHistoryTranscriptToolCallCommonModelInput) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptToolCallCommonModelInput) Validate() error
- type ConversationHistoryTranscriptToolCallCommonModelInputToolDetails
- func NewConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails(v ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) ConversationHistoryTranscriptToolCallCommonModelInputToolDetails
- func NewConversationHistoryTranscriptToolCallClientDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails(v ConversationHistoryTranscriptToolCallClientDetails) ConversationHistoryTranscriptToolCallCommonModelInputToolDetails
- func NewConversationHistoryTranscriptToolCallMCPDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails(v ConversationHistoryTranscriptToolCallMCPDetails) ConversationHistoryTranscriptToolCallCommonModelInputToolDetails
- func NewConversationHistoryTranscriptToolCallWebhookDetailsConversationHistoryTranscriptToolCallCommonModelInputToolDetails(v ConversationHistoryTranscriptToolCallWebhookDetails) ConversationHistoryTranscriptToolCallCommonModelInputToolDetails
- func (s *ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) GetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails() (v ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails, ok bool)
- func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) GetConversationHistoryTranscriptToolCallClientDetails() (v ConversationHistoryTranscriptToolCallClientDetails, ok bool)
- func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) GetConversationHistoryTranscriptToolCallMCPDetails() (v ConversationHistoryTranscriptToolCallMCPDetails, ok bool)
- func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) GetConversationHistoryTranscriptToolCallWebhookDetails() (v ConversationHistoryTranscriptToolCallWebhookDetails, ok bool)
- func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails() bool
- func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsConversationHistoryTranscriptToolCallClientDetails() bool
- func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsConversationHistoryTranscriptToolCallMCPDetails() bool
- func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsConversationHistoryTranscriptToolCallWebhookDetails() bool
- func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails(v ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails)
- func (s *ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetConversationHistoryTranscriptToolCallClientDetails(v ConversationHistoryTranscriptToolCallClientDetails)
- func (s *ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetConversationHistoryTranscriptToolCallMCPDetails(v ConversationHistoryTranscriptToolCallMCPDetails)
- func (s *ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetConversationHistoryTranscriptToolCallWebhookDetails(v ConversationHistoryTranscriptToolCallWebhookDetails)
- func (s *ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) UnmarshalJSON(data []byte) error
- func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Validate() error
- type ConversationHistoryTranscriptToolCallCommonModelInputToolDetailsType
- type ConversationHistoryTranscriptToolCallCommonModelOutput
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) Encode(e *jx.Encoder)
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) GetParamsAsJSON() string
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) GetRequestID() string
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) GetToolDetails() OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) GetToolHasBeenCalled() bool
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) GetToolName() string
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) GetType() OptToolType
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) SetParamsAsJSON(val string)
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) SetRequestID(val string)
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) SetToolDetails(val OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails)
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) SetToolHasBeenCalled(val bool)
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) SetToolName(val string)
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) SetType(val OptToolType)
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) Validate() error
- type ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails
- func NewConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails(v ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails
- func NewConversationHistoryTranscriptToolCallClientDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails(v ConversationHistoryTranscriptToolCallClientDetails) ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails
- func NewConversationHistoryTranscriptToolCallMCPDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails(v ConversationHistoryTranscriptToolCallMCPDetails) ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails
- func NewConversationHistoryTranscriptToolCallWebhookDetailsConversationHistoryTranscriptToolCallCommonModelOutputToolDetails(v ConversationHistoryTranscriptToolCallWebhookDetails) ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) GetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails() (v ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails, ok bool)
- func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) GetConversationHistoryTranscriptToolCallClientDetails() (v ConversationHistoryTranscriptToolCallClientDetails, ok bool)
- func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) GetConversationHistoryTranscriptToolCallMCPDetails() (v ConversationHistoryTranscriptToolCallMCPDetails, ok bool)
- func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) GetConversationHistoryTranscriptToolCallWebhookDetails() (v ConversationHistoryTranscriptToolCallWebhookDetails, ok bool)
- func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails() bool
- func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsConversationHistoryTranscriptToolCallClientDetails() bool
- func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsConversationHistoryTranscriptToolCallMCPDetails() bool
- func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsConversationHistoryTranscriptToolCallWebhookDetails() bool
- func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails(v ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails)
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetConversationHistoryTranscriptToolCallClientDetails(v ConversationHistoryTranscriptToolCallClientDetails)
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetConversationHistoryTranscriptToolCallMCPDetails(v ConversationHistoryTranscriptToolCallMCPDetails)
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetConversationHistoryTranscriptToolCallWebhookDetails(v ConversationHistoryTranscriptToolCallWebhookDetails)
- func (s *ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) UnmarshalJSON(data []byte) error
- func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Validate() error
- type ConversationHistoryTranscriptToolCallCommonModelOutputToolDetailsType
- type ConversationHistoryTranscriptToolCallMCPDetails
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) Encode(e *jx.Encoder)
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetApprovalPolicy() string
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetIntegrationType() string
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetMcpServerID() string
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetMcpServerName() string
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetMcpToolDescription() OptString
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetMcpToolName() OptString
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetParameters() OptConversationHistoryTranscriptToolCallMCPDetailsParameters
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetRequiresApproval() OptBool
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetType() OptConversationHistoryTranscriptToolCallMCPDetailsType
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetApprovalPolicy(val string)
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetIntegrationType(val string)
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetMcpServerID(val string)
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetMcpServerName(val string)
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetMcpToolDescription(val OptString)
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetMcpToolName(val OptString)
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetParameters(val OptConversationHistoryTranscriptToolCallMCPDetailsParameters)
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetRequiresApproval(val OptBool)
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetType(val OptConversationHistoryTranscriptToolCallMCPDetailsType)
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptToolCallMCPDetails) Validate() error
- type ConversationHistoryTranscriptToolCallMCPDetailsParameters
- func (s *ConversationHistoryTranscriptToolCallMCPDetailsParameters) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptToolCallMCPDetailsParameters) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptToolCallMCPDetailsParameters) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptToolCallMCPDetailsParameters) UnmarshalJSON(data []byte) error
- type ConversationHistoryTranscriptToolCallMCPDetailsType
- func (ConversationHistoryTranscriptToolCallMCPDetailsType) AllValues() []ConversationHistoryTranscriptToolCallMCPDetailsType
- func (s *ConversationHistoryTranscriptToolCallMCPDetailsType) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptToolCallMCPDetailsType) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptToolCallMCPDetailsType) MarshalJSON() ([]byte, error)
- func (s ConversationHistoryTranscriptToolCallMCPDetailsType) MarshalText() ([]byte, error)
- func (s *ConversationHistoryTranscriptToolCallMCPDetailsType) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptToolCallMCPDetailsType) UnmarshalText(data []byte) error
- func (s ConversationHistoryTranscriptToolCallMCPDetailsType) Validate() error
- type ConversationHistoryTranscriptToolCallWebhookDetails
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) Encode(e *jx.Encoder)
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) GetBody() OptNilString
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) GetHeaders() OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) GetMethod() string
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) GetPathParams() OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) GetQueryParams() OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) GetType() OptConversationHistoryTranscriptToolCallWebhookDetailsType
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) GetURL() string
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) SetBody(val OptNilString)
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) SetHeaders(val OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders)
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) SetMethod(val string)
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) SetPathParams(val OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams)
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) SetQueryParams(val OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams)
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) SetType(val OptConversationHistoryTranscriptToolCallWebhookDetailsType)
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) SetURL(val string)
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptToolCallWebhookDetails) Validate() error
- type ConversationHistoryTranscriptToolCallWebhookDetailsHeaders
- func (s *ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) UnmarshalJSON(data []byte) error
- type ConversationHistoryTranscriptToolCallWebhookDetailsPathParams
- func (s *ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) UnmarshalJSON(data []byte) error
- type ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams
- func (s *ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) UnmarshalJSON(data []byte) error
- type ConversationHistoryTranscriptToolCallWebhookDetailsType
- func (ConversationHistoryTranscriptToolCallWebhookDetailsType) AllValues() []ConversationHistoryTranscriptToolCallWebhookDetailsType
- func (s *ConversationHistoryTranscriptToolCallWebhookDetailsType) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptToolCallWebhookDetailsType) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptToolCallWebhookDetailsType) MarshalJSON() ([]byte, error)
- func (s ConversationHistoryTranscriptToolCallWebhookDetailsType) MarshalText() ([]byte, error)
- func (s *ConversationHistoryTranscriptToolCallWebhookDetailsType) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptToolCallWebhookDetailsType) UnmarshalText(data []byte) error
- func (s ConversationHistoryTranscriptToolCallWebhookDetailsType) Validate() error
- type ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) Encode(e *jx.Encoder)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetDynamicVariableUpdates() []DynamicVariableUpdateCommonModel
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetIsError() bool
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetRequestID() string
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetResult() OptWorkflowToolResponseModelInput
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetResultValue() string
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetToolHasBeenCalled() bool
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetToolLatencySecs() OptFloat64
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetToolName() string
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetType() ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetDynamicVariableUpdates(val []DynamicVariableUpdateCommonModel)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetIsError(val bool)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetRequestID(val string)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetResult(val OptWorkflowToolResponseModelInput)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetResultValue(val string)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetToolHasBeenCalled(val bool)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetToolLatencySecs(val OptFloat64)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetToolName(val string)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetType(val ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) Validate() error
- type ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType
- func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) AllValues() []ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) MarshalJSON() ([]byte, error)
- func (s ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) MarshalText() ([]byte, error)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) UnmarshalText(data []byte) error
- func (s ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) Validate() error
- type ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) Encode(e *jx.Encoder)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetDynamicVariableUpdates() []DynamicVariableUpdateCommonModel
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetIsError() bool
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetRequestID() string
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetResult() OptWorkflowToolResponseModelOutput
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetResultValue() string
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetToolHasBeenCalled() bool
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetToolLatencySecs() OptFloat64
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetToolName() string
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetType() ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetDynamicVariableUpdates(val []DynamicVariableUpdateCommonModel)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetIsError(val bool)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetRequestID(val string)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetResult(val OptWorkflowToolResponseModelOutput)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetResultValue(val string)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetToolHasBeenCalled(val bool)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetToolLatencySecs(val OptFloat64)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetToolName(val string)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetType(val ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) Validate() error
- type ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType
- func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) AllValues() []ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) Encode(e *jx.Encoder)
- func (s ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) MarshalJSON() ([]byte, error)
- func (s ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) MarshalText() ([]byte, error)
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) UnmarshalText(data []byte) error
- func (s ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) Validate() error
- type ConversationHistoryTwilioPhoneCallModel
- func (s *ConversationHistoryTwilioPhoneCallModel) Decode(d *jx.Decoder) error
- func (s *ConversationHistoryTwilioPhoneCallModel) Encode(e *jx.Encoder)
- func (s *ConversationHistoryTwilioPhoneCallModel) GetAgentNumber() string
- func (s *ConversationHistoryTwilioPhoneCallModel) GetCallSid() string
- func (s *ConversationHistoryTwilioPhoneCallModel) GetDirection() ConversationHistoryTwilioPhoneCallModelDirection
- func (s *ConversationHistoryTwilioPhoneCallModel) GetExternalNumber() string
- func (s *ConversationHistoryTwilioPhoneCallModel) GetPhoneNumberID() string
- func (s *ConversationHistoryTwilioPhoneCallModel) GetStreamSid() string
- func (s *ConversationHistoryTwilioPhoneCallModel) GetType() ConversationHistoryTwilioPhoneCallModelType
- func (s *ConversationHistoryTwilioPhoneCallModel) MarshalJSON() ([]byte, error)
- func (s *ConversationHistoryTwilioPhoneCallModel) SetAgentNumber(val string)
- func (s *ConversationHistoryTwilioPhoneCallModel) SetCallSid(val string)
- func (s *ConversationHistoryTwilioPhoneCallModel) SetDirection(val ConversationHistoryTwilioPhoneCallModelDirection)
- func (s *ConversationHistoryTwilioPhoneCallModel) SetExternalNumber(val string)
- func (s *ConversationHistoryTwilioPhoneCallModel) SetPhoneNumberID(val string)
- func (s *ConversationHistoryTwilioPhoneCallModel) SetStreamSid(val string)
- func (s *ConversationHistoryTwilioPhoneCallModel) SetType(val ConversationHistoryTwilioPhoneCallModelType)
- func (s *ConversationHistoryTwilioPhoneCallModel) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTwilioPhoneCallModel) Validate() error
- type ConversationHistoryTwilioPhoneCallModelDirection
- func (ConversationHistoryTwilioPhoneCallModelDirection) AllValues() []ConversationHistoryTwilioPhoneCallModelDirection
- func (s *ConversationHistoryTwilioPhoneCallModelDirection) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTwilioPhoneCallModelDirection) Encode(e *jx.Encoder)
- func (s ConversationHistoryTwilioPhoneCallModelDirection) MarshalJSON() ([]byte, error)
- func (s ConversationHistoryTwilioPhoneCallModelDirection) MarshalText() ([]byte, error)
- func (s *ConversationHistoryTwilioPhoneCallModelDirection) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTwilioPhoneCallModelDirection) UnmarshalText(data []byte) error
- func (s ConversationHistoryTwilioPhoneCallModelDirection) Validate() error
- type ConversationHistoryTwilioPhoneCallModelType
- func (ConversationHistoryTwilioPhoneCallModelType) AllValues() []ConversationHistoryTwilioPhoneCallModelType
- func (s *ConversationHistoryTwilioPhoneCallModelType) Decode(d *jx.Decoder) error
- func (s ConversationHistoryTwilioPhoneCallModelType) Encode(e *jx.Encoder)
- func (s ConversationHistoryTwilioPhoneCallModelType) MarshalJSON() ([]byte, error)
- func (s ConversationHistoryTwilioPhoneCallModelType) MarshalText() ([]byte, error)
- func (s *ConversationHistoryTwilioPhoneCallModelType) UnmarshalJSON(data []byte) error
- func (s *ConversationHistoryTwilioPhoneCallModelType) UnmarshalText(data []byte) error
- func (s ConversationHistoryTwilioPhoneCallModelType) Validate() error
- type ConversationInitiationClientDataInternal
- func (s *ConversationInitiationClientDataInternal) Decode(d *jx.Decoder) error
- func (s *ConversationInitiationClientDataInternal) Encode(e *jx.Encoder)
- func (s *ConversationInitiationClientDataInternal) GetConversationConfigOverride() OptConversationConfigClientOverrideOutput
- func (s *ConversationInitiationClientDataInternal) GetCustomLlmExtraBody() *ConversationInitiationClientDataInternalCustomLlmExtraBody
- func (s *ConversationInitiationClientDataInternal) GetDynamicVariables() OptConversationInitiationClientDataInternalDynamicVariables
- func (s *ConversationInitiationClientDataInternal) GetSourceInfo() OptConversationInitiationSourceInfo
- func (s *ConversationInitiationClientDataInternal) GetUserID() OptNilString
- func (s *ConversationInitiationClientDataInternal) MarshalJSON() ([]byte, error)
- func (s *ConversationInitiationClientDataInternal) SetConversationConfigOverride(val OptConversationConfigClientOverrideOutput)
- func (s *ConversationInitiationClientDataInternal) SetCustomLlmExtraBody(val *ConversationInitiationClientDataInternalCustomLlmExtraBody)
- func (s *ConversationInitiationClientDataInternal) SetDynamicVariables(val OptConversationInitiationClientDataInternalDynamicVariables)
- func (s *ConversationInitiationClientDataInternal) SetSourceInfo(val OptConversationInitiationSourceInfo)
- func (s *ConversationInitiationClientDataInternal) SetUserID(val OptNilString)
- func (s *ConversationInitiationClientDataInternal) UnmarshalJSON(data []byte) error
- func (s *ConversationInitiationClientDataInternal) Validate() error
- type ConversationInitiationClientDataInternalCustomLlmExtraBody
- func (s *ConversationInitiationClientDataInternalCustomLlmExtraBody) Decode(d *jx.Decoder) error
- func (s *ConversationInitiationClientDataInternalCustomLlmExtraBody) Encode(e *jx.Encoder)
- func (s *ConversationInitiationClientDataInternalCustomLlmExtraBody) MarshalJSON() ([]byte, error)
- func (s *ConversationInitiationClientDataInternalCustomLlmExtraBody) UnmarshalJSON(data []byte) error
- type ConversationInitiationClientDataInternalDynamicVariables
- func (s *ConversationInitiationClientDataInternalDynamicVariables) Decode(d *jx.Decoder) error
- func (s ConversationInitiationClientDataInternalDynamicVariables) Encode(e *jx.Encoder)
- func (s ConversationInitiationClientDataInternalDynamicVariables) MarshalJSON() ([]byte, error)
- func (s *ConversationInitiationClientDataInternalDynamicVariables) UnmarshalJSON(data []byte) error
- func (s ConversationInitiationClientDataInternalDynamicVariables) Validate() error
- type ConversationInitiationClientDataInternalDynamicVariablesItem
- func NewBoolConversationInitiationClientDataInternalDynamicVariablesItem(v bool) ConversationInitiationClientDataInternalDynamicVariablesItem
- func NewFloat64ConversationInitiationClientDataInternalDynamicVariablesItem(v float64) ConversationInitiationClientDataInternalDynamicVariablesItem
- func NewIntConversationInitiationClientDataInternalDynamicVariablesItem(v int) ConversationInitiationClientDataInternalDynamicVariablesItem
- func NewStringConversationInitiationClientDataInternalDynamicVariablesItem(v string) ConversationInitiationClientDataInternalDynamicVariablesItem
- func (s *ConversationInitiationClientDataInternalDynamicVariablesItem) Decode(d *jx.Decoder) error
- func (s ConversationInitiationClientDataInternalDynamicVariablesItem) Encode(e *jx.Encoder)
- func (s ConversationInitiationClientDataInternalDynamicVariablesItem) GetBool() (v bool, ok bool)
- func (s ConversationInitiationClientDataInternalDynamicVariablesItem) GetFloat64() (v float64, ok bool)
- func (s ConversationInitiationClientDataInternalDynamicVariablesItem) GetInt() (v int, ok bool)
- func (s ConversationInitiationClientDataInternalDynamicVariablesItem) GetString() (v string, ok bool)
- func (s ConversationInitiationClientDataInternalDynamicVariablesItem) IsBool() bool
- func (s ConversationInitiationClientDataInternalDynamicVariablesItem) IsFloat64() bool
- func (s ConversationInitiationClientDataInternalDynamicVariablesItem) IsInt() bool
- func (s ConversationInitiationClientDataInternalDynamicVariablesItem) IsString() bool
- func (s ConversationInitiationClientDataInternalDynamicVariablesItem) MarshalJSON() ([]byte, error)
- func (s *ConversationInitiationClientDataInternalDynamicVariablesItem) SetBool(v bool)
- func (s *ConversationInitiationClientDataInternalDynamicVariablesItem) SetFloat64(v float64)
- func (s *ConversationInitiationClientDataInternalDynamicVariablesItem) SetInt(v int)
- func (s *ConversationInitiationClientDataInternalDynamicVariablesItem) SetString(v string)
- func (s *ConversationInitiationClientDataInternalDynamicVariablesItem) UnmarshalJSON(data []byte) error
- func (s ConversationInitiationClientDataInternalDynamicVariablesItem) Validate() error
- type ConversationInitiationClientDataInternalDynamicVariablesItemType
- type ConversationInitiationClientDataRequestInput
- func (s *ConversationInitiationClientDataRequestInput) Decode(d *jx.Decoder) error
- func (s *ConversationInitiationClientDataRequestInput) Encode(e *jx.Encoder)
- func (s *ConversationInitiationClientDataRequestInput) GetConversationConfigOverride() OptConversationConfigClientOverrideInput
- func (s *ConversationInitiationClientDataRequestInput) GetCustomLlmExtraBody() *ConversationInitiationClientDataRequestInputCustomLlmExtraBody
- func (s *ConversationInitiationClientDataRequestInput) GetDynamicVariables() OptConversationInitiationClientDataRequestInputDynamicVariables
- func (s *ConversationInitiationClientDataRequestInput) GetSourceInfo() OptConversationInitiationSourceInfo
- func (s *ConversationInitiationClientDataRequestInput) GetUserID() OptNilString
- func (s *ConversationInitiationClientDataRequestInput) MarshalJSON() ([]byte, error)
- func (s *ConversationInitiationClientDataRequestInput) SetConversationConfigOverride(val OptConversationConfigClientOverrideInput)
- func (s *ConversationInitiationClientDataRequestInput) SetCustomLlmExtraBody(val *ConversationInitiationClientDataRequestInputCustomLlmExtraBody)
- func (s *ConversationInitiationClientDataRequestInput) SetDynamicVariables(val OptConversationInitiationClientDataRequestInputDynamicVariables)
- func (s *ConversationInitiationClientDataRequestInput) SetSourceInfo(val OptConversationInitiationSourceInfo)
- func (s *ConversationInitiationClientDataRequestInput) SetUserID(val OptNilString)
- func (s *ConversationInitiationClientDataRequestInput) UnmarshalJSON(data []byte) error
- func (s *ConversationInitiationClientDataRequestInput) Validate() error
- type ConversationInitiationClientDataRequestInputCustomLlmExtraBody
- func (s *ConversationInitiationClientDataRequestInputCustomLlmExtraBody) Decode(d *jx.Decoder) error
- func (s *ConversationInitiationClientDataRequestInputCustomLlmExtraBody) Encode(e *jx.Encoder)
- func (s *ConversationInitiationClientDataRequestInputCustomLlmExtraBody) MarshalJSON() ([]byte, error)
- func (s *ConversationInitiationClientDataRequestInputCustomLlmExtraBody) UnmarshalJSON(data []byte) error
- type ConversationInitiationClientDataRequestInputDynamicVariables
- func (s *ConversationInitiationClientDataRequestInputDynamicVariables) Decode(d *jx.Decoder) error
- func (s ConversationInitiationClientDataRequestInputDynamicVariables) Encode(e *jx.Encoder)
- func (s ConversationInitiationClientDataRequestInputDynamicVariables) MarshalJSON() ([]byte, error)
- func (s *ConversationInitiationClientDataRequestInputDynamicVariables) UnmarshalJSON(data []byte) error
- func (s ConversationInitiationClientDataRequestInputDynamicVariables) Validate() error
- type ConversationInitiationClientDataRequestInputDynamicVariablesItem
- func NewBoolConversationInitiationClientDataRequestInputDynamicVariablesItem(v bool) ConversationInitiationClientDataRequestInputDynamicVariablesItem
- func NewFloat64ConversationInitiationClientDataRequestInputDynamicVariablesItem(v float64) ConversationInitiationClientDataRequestInputDynamicVariablesItem
- func NewIntConversationInitiationClientDataRequestInputDynamicVariablesItem(v int) ConversationInitiationClientDataRequestInputDynamicVariablesItem
- func NewStringConversationInitiationClientDataRequestInputDynamicVariablesItem(v string) ConversationInitiationClientDataRequestInputDynamicVariablesItem
- func (s *ConversationInitiationClientDataRequestInputDynamicVariablesItem) Decode(d *jx.Decoder) error
- func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) Encode(e *jx.Encoder)
- func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) GetBool() (v bool, ok bool)
- func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) GetFloat64() (v float64, ok bool)
- func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) GetInt() (v int, ok bool)
- func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) GetString() (v string, ok bool)
- func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) IsBool() bool
- func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) IsFloat64() bool
- func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) IsInt() bool
- func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) IsString() bool
- func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) MarshalJSON() ([]byte, error)
- func (s *ConversationInitiationClientDataRequestInputDynamicVariablesItem) SetBool(v bool)
- func (s *ConversationInitiationClientDataRequestInputDynamicVariablesItem) SetFloat64(v float64)
- func (s *ConversationInitiationClientDataRequestInputDynamicVariablesItem) SetInt(v int)
- func (s *ConversationInitiationClientDataRequestInputDynamicVariablesItem) SetString(v string)
- func (s *ConversationInitiationClientDataRequestInputDynamicVariablesItem) UnmarshalJSON(data []byte) error
- func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) Validate() error
- type ConversationInitiationClientDataRequestInputDynamicVariablesItemType
- type ConversationInitiationClientDataRequestOutput
- func (s *ConversationInitiationClientDataRequestOutput) Decode(d *jx.Decoder) error
- func (s *ConversationInitiationClientDataRequestOutput) Encode(e *jx.Encoder)
- func (s *ConversationInitiationClientDataRequestOutput) GetConversationConfigOverride() OptConversationConfigClientOverrideOutput
- func (s *ConversationInitiationClientDataRequestOutput) GetCustomLlmExtraBody() *ConversationInitiationClientDataRequestOutputCustomLlmExtraBody
- func (s *ConversationInitiationClientDataRequestOutput) GetDynamicVariables() OptConversationInitiationClientDataRequestOutputDynamicVariables
- func (s *ConversationInitiationClientDataRequestOutput) GetSourceInfo() OptConversationInitiationSourceInfo
- func (s *ConversationInitiationClientDataRequestOutput) GetUserID() OptNilString
- func (s *ConversationInitiationClientDataRequestOutput) MarshalJSON() ([]byte, error)
- func (s *ConversationInitiationClientDataRequestOutput) SetConversationConfigOverride(val OptConversationConfigClientOverrideOutput)
- func (s *ConversationInitiationClientDataRequestOutput) SetCustomLlmExtraBody(val *ConversationInitiationClientDataRequestOutputCustomLlmExtraBody)
- func (s *ConversationInitiationClientDataRequestOutput) SetDynamicVariables(val OptConversationInitiationClientDataRequestOutputDynamicVariables)
- func (s *ConversationInitiationClientDataRequestOutput) SetSourceInfo(val OptConversationInitiationSourceInfo)
- func (s *ConversationInitiationClientDataRequestOutput) SetUserID(val OptNilString)
- func (s *ConversationInitiationClientDataRequestOutput) UnmarshalJSON(data []byte) error
- func (s *ConversationInitiationClientDataRequestOutput) Validate() error
- type ConversationInitiationClientDataRequestOutputCustomLlmExtraBody
- func (s *ConversationInitiationClientDataRequestOutputCustomLlmExtraBody) Decode(d *jx.Decoder) error
- func (s *ConversationInitiationClientDataRequestOutputCustomLlmExtraBody) Encode(e *jx.Encoder)
- func (s *ConversationInitiationClientDataRequestOutputCustomLlmExtraBody) MarshalJSON() ([]byte, error)
- func (s *ConversationInitiationClientDataRequestOutputCustomLlmExtraBody) UnmarshalJSON(data []byte) error
- type ConversationInitiationClientDataRequestOutputDynamicVariables
- func (s *ConversationInitiationClientDataRequestOutputDynamicVariables) Decode(d *jx.Decoder) error
- func (s ConversationInitiationClientDataRequestOutputDynamicVariables) Encode(e *jx.Encoder)
- func (s ConversationInitiationClientDataRequestOutputDynamicVariables) MarshalJSON() ([]byte, error)
- func (s *ConversationInitiationClientDataRequestOutputDynamicVariables) UnmarshalJSON(data []byte) error
- func (s ConversationInitiationClientDataRequestOutputDynamicVariables) Validate() error
- type ConversationInitiationClientDataRequestOutputDynamicVariablesItem
- func NewBoolConversationInitiationClientDataRequestOutputDynamicVariablesItem(v bool) ConversationInitiationClientDataRequestOutputDynamicVariablesItem
- func NewFloat64ConversationInitiationClientDataRequestOutputDynamicVariablesItem(v float64) ConversationInitiationClientDataRequestOutputDynamicVariablesItem
- func NewIntConversationInitiationClientDataRequestOutputDynamicVariablesItem(v int) ConversationInitiationClientDataRequestOutputDynamicVariablesItem
- func NewStringConversationInitiationClientDataRequestOutputDynamicVariablesItem(v string) ConversationInitiationClientDataRequestOutputDynamicVariablesItem
- func (s *ConversationInitiationClientDataRequestOutputDynamicVariablesItem) Decode(d *jx.Decoder) error
- func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) Encode(e *jx.Encoder)
- func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) GetBool() (v bool, ok bool)
- func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) GetFloat64() (v float64, ok bool)
- func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) GetInt() (v int, ok bool)
- func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) GetString() (v string, ok bool)
- func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsBool() bool
- func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsFloat64() bool
- func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsInt() bool
- func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsString() bool
- func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) MarshalJSON() ([]byte, error)
- func (s *ConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetBool(v bool)
- func (s *ConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetFloat64(v float64)
- func (s *ConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetInt(v int)
- func (s *ConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetString(v string)
- func (s *ConversationInitiationClientDataRequestOutputDynamicVariablesItem) UnmarshalJSON(data []byte) error
- func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) Validate() error
- type ConversationInitiationClientDataRequestOutputDynamicVariablesItemType
- type ConversationInitiationClientDataWebhook
- func (s *ConversationInitiationClientDataWebhook) Decode(d *jx.Decoder) error
- func (s *ConversationInitiationClientDataWebhook) Encode(e *jx.Encoder)
- func (s *ConversationInitiationClientDataWebhook) GetRequestHeaders() ConversationInitiationClientDataWebhookRequestHeaders
- func (s *ConversationInitiationClientDataWebhook) GetURL() string
- func (s *ConversationInitiationClientDataWebhook) MarshalJSON() ([]byte, error)
- func (s *ConversationInitiationClientDataWebhook) SetRequestHeaders(val ConversationInitiationClientDataWebhookRequestHeaders)
- func (s *ConversationInitiationClientDataWebhook) SetURL(val string)
- func (s *ConversationInitiationClientDataWebhook) UnmarshalJSON(data []byte) error
- type ConversationInitiationClientDataWebhookRequestHeaders
- func (s *ConversationInitiationClientDataWebhookRequestHeaders) Decode(d *jx.Decoder) error
- func (s ConversationInitiationClientDataWebhookRequestHeaders) Encode(e *jx.Encoder)
- func (s ConversationInitiationClientDataWebhookRequestHeaders) MarshalJSON() ([]byte, error)
- func (s *ConversationInitiationClientDataWebhookRequestHeaders) UnmarshalJSON(data []byte) error
- type ConversationInitiationClientDataWebhookRequestHeadersItem
- func NewConvAISecretLocatorConversationInitiationClientDataWebhookRequestHeadersItem(v ConvAISecretLocator) ConversationInitiationClientDataWebhookRequestHeadersItem
- func NewStringConversationInitiationClientDataWebhookRequestHeadersItem(v string) ConversationInitiationClientDataWebhookRequestHeadersItem
- func (s *ConversationInitiationClientDataWebhookRequestHeadersItem) Decode(d *jx.Decoder) error
- func (s ConversationInitiationClientDataWebhookRequestHeadersItem) Encode(e *jx.Encoder)
- func (s ConversationInitiationClientDataWebhookRequestHeadersItem) GetConvAISecretLocator() (v ConvAISecretLocator, ok bool)
- func (s ConversationInitiationClientDataWebhookRequestHeadersItem) GetString() (v string, ok bool)
- func (s ConversationInitiationClientDataWebhookRequestHeadersItem) IsConvAISecretLocator() bool
- func (s ConversationInitiationClientDataWebhookRequestHeadersItem) IsString() bool
- func (s ConversationInitiationClientDataWebhookRequestHeadersItem) MarshalJSON() ([]byte, error)
- func (s *ConversationInitiationClientDataWebhookRequestHeadersItem) SetConvAISecretLocator(v ConvAISecretLocator)
- func (s *ConversationInitiationClientDataWebhookRequestHeadersItem) SetString(v string)
- func (s *ConversationInitiationClientDataWebhookRequestHeadersItem) UnmarshalJSON(data []byte) error
- type ConversationInitiationClientDataWebhookRequestHeadersItemType
- type ConversationInitiationSource
- func (ConversationInitiationSource) AllValues() []ConversationInitiationSource
- func (s *ConversationInitiationSource) Decode(d *jx.Decoder) error
- func (s ConversationInitiationSource) Encode(e *jx.Encoder)
- func (s ConversationInitiationSource) MarshalJSON() ([]byte, error)
- func (s ConversationInitiationSource) MarshalText() ([]byte, error)
- func (s *ConversationInitiationSource) UnmarshalJSON(data []byte) error
- func (s *ConversationInitiationSource) UnmarshalText(data []byte) error
- func (s ConversationInitiationSource) Validate() error
- type ConversationInitiationSourceInfo
- func (s *ConversationInitiationSourceInfo) Decode(d *jx.Decoder) error
- func (s *ConversationInitiationSourceInfo) Encode(e *jx.Encoder)
- func (s *ConversationInitiationSourceInfo) GetSource() OptConversationInitiationSource
- func (s *ConversationInitiationSourceInfo) GetVersion() OptNilString
- func (s *ConversationInitiationSourceInfo) MarshalJSON() ([]byte, error)
- func (s *ConversationInitiationSourceInfo) SetSource(val OptConversationInitiationSource)
- func (s *ConversationInitiationSourceInfo) SetVersion(val OptNilString)
- func (s *ConversationInitiationSourceInfo) UnmarshalJSON(data []byte) error
- func (s *ConversationInitiationSourceInfo) Validate() error
- type ConversationSignedUrlResponseModel
- func (s *ConversationSignedUrlResponseModel) Decode(d *jx.Decoder) error
- func (s *ConversationSignedUrlResponseModel) Encode(e *jx.Encoder)
- func (s *ConversationSignedUrlResponseModel) GetSignedURL() string
- func (s *ConversationSignedUrlResponseModel) MarshalJSON() ([]byte, error)
- func (s *ConversationSignedUrlResponseModel) SetSignedURL(val string)
- func (s *ConversationSignedUrlResponseModel) UnmarshalJSON(data []byte) error
- type ConversationSummaryResponseModel
- func (s *ConversationSummaryResponseModel) Decode(d *jx.Decoder) error
- func (s *ConversationSummaryResponseModel) Encode(e *jx.Encoder)
- func (s *ConversationSummaryResponseModel) GetAgentID() string
- func (s *ConversationSummaryResponseModel) GetAgentName() OptNilString
- func (s *ConversationSummaryResponseModel) GetBranchID() OptNilString
- func (s *ConversationSummaryResponseModel) GetCallDurationSecs() int
- func (s *ConversationSummaryResponseModel) GetCallSuccessful() EvaluationSuccessResult
- func (s *ConversationSummaryResponseModel) GetCallSummaryTitle() OptNilString
- func (s *ConversationSummaryResponseModel) GetConversationID() string
- func (s *ConversationSummaryResponseModel) GetDirection() OptNilConversationSummaryResponseModelDirection
- func (s *ConversationSummaryResponseModel) GetMessageCount() int
- func (s *ConversationSummaryResponseModel) GetRating() OptNilFloat64
- func (s *ConversationSummaryResponseModel) GetStartTimeUnixSecs() int
- func (s *ConversationSummaryResponseModel) GetStatus() ConversationSummaryResponseModelStatus
- func (s *ConversationSummaryResponseModel) GetTranscriptSummary() OptNilString
- func (s *ConversationSummaryResponseModel) MarshalJSON() ([]byte, error)
- func (s *ConversationSummaryResponseModel) SetAgentID(val string)
- func (s *ConversationSummaryResponseModel) SetAgentName(val OptNilString)
- func (s *ConversationSummaryResponseModel) SetBranchID(val OptNilString)
- func (s *ConversationSummaryResponseModel) SetCallDurationSecs(val int)
- func (s *ConversationSummaryResponseModel) SetCallSuccessful(val EvaluationSuccessResult)
- func (s *ConversationSummaryResponseModel) SetCallSummaryTitle(val OptNilString)
- func (s *ConversationSummaryResponseModel) SetConversationID(val string)
- func (s *ConversationSummaryResponseModel) SetDirection(val OptNilConversationSummaryResponseModelDirection)
- func (s *ConversationSummaryResponseModel) SetMessageCount(val int)
- func (s *ConversationSummaryResponseModel) SetRating(val OptNilFloat64)
- func (s *ConversationSummaryResponseModel) SetStartTimeUnixSecs(val int)
- func (s *ConversationSummaryResponseModel) SetStatus(val ConversationSummaryResponseModelStatus)
- func (s *ConversationSummaryResponseModel) SetTranscriptSummary(val OptNilString)
- func (s *ConversationSummaryResponseModel) UnmarshalJSON(data []byte) error
- func (s *ConversationSummaryResponseModel) Validate() error
- type ConversationSummaryResponseModelDirection
- func (ConversationSummaryResponseModelDirection) AllValues() []ConversationSummaryResponseModelDirection
- func (s *ConversationSummaryResponseModelDirection) Decode(d *jx.Decoder) error
- func (s ConversationSummaryResponseModelDirection) Encode(e *jx.Encoder)
- func (s ConversationSummaryResponseModelDirection) MarshalJSON() ([]byte, error)
- func (s ConversationSummaryResponseModelDirection) MarshalText() ([]byte, error)
- func (s *ConversationSummaryResponseModelDirection) UnmarshalJSON(data []byte) error
- func (s *ConversationSummaryResponseModelDirection) UnmarshalText(data []byte) error
- func (s ConversationSummaryResponseModelDirection) Validate() error
- type ConversationSummaryResponseModelStatus
- func (ConversationSummaryResponseModelStatus) AllValues() []ConversationSummaryResponseModelStatus
- func (s *ConversationSummaryResponseModelStatus) Decode(d *jx.Decoder) error
- func (s ConversationSummaryResponseModelStatus) Encode(e *jx.Encoder)
- func (s ConversationSummaryResponseModelStatus) MarshalJSON() ([]byte, error)
- func (s ConversationSummaryResponseModelStatus) MarshalText() ([]byte, error)
- func (s *ConversationSummaryResponseModelStatus) UnmarshalJSON(data []byte) error
- func (s *ConversationSummaryResponseModelStatus) UnmarshalText(data []byte) error
- func (s ConversationSummaryResponseModelStatus) Validate() error
- type ConversationTokenDBModel
- func (s *ConversationTokenDBModel) Decode(d *jx.Decoder) error
- func (s *ConversationTokenDBModel) Encode(e *jx.Encoder)
- func (s *ConversationTokenDBModel) GetAgentID() string
- func (s *ConversationTokenDBModel) GetConversationID() OptNilString
- func (s *ConversationTokenDBModel) GetConversationToken() string
- func (s *ConversationTokenDBModel) GetExpirationTimeUnixSecs() OptNilInt
- func (s *ConversationTokenDBModel) GetPurpose() OptConversationTokenPurpose
- func (s *ConversationTokenDBModel) GetTokenRequesterUserID() OptNilString
- func (s *ConversationTokenDBModel) MarshalJSON() ([]byte, error)
- func (s *ConversationTokenDBModel) SetAgentID(val string)
- func (s *ConversationTokenDBModel) SetConversationID(val OptNilString)
- func (s *ConversationTokenDBModel) SetConversationToken(val string)
- func (s *ConversationTokenDBModel) SetExpirationTimeUnixSecs(val OptNilInt)
- func (s *ConversationTokenDBModel) SetPurpose(val OptConversationTokenPurpose)
- func (s *ConversationTokenDBModel) SetTokenRequesterUserID(val OptNilString)
- func (s *ConversationTokenDBModel) UnmarshalJSON(data []byte) error
- func (s *ConversationTokenDBModel) Validate() error
- type ConversationTokenPurpose
- func (ConversationTokenPurpose) AllValues() []ConversationTokenPurpose
- func (s *ConversationTokenPurpose) Decode(d *jx.Decoder) error
- func (s ConversationTokenPurpose) Encode(e *jx.Encoder)
- func (s ConversationTokenPurpose) MarshalJSON() ([]byte, error)
- func (s ConversationTokenPurpose) MarshalText() ([]byte, error)
- func (s *ConversationTokenPurpose) UnmarshalJSON(data []byte) error
- func (s *ConversationTokenPurpose) UnmarshalText(data []byte) error
- func (s ConversationTokenPurpose) Validate() error
- type ConversationTurnMetrics
- func (s *ConversationTurnMetrics) Decode(d *jx.Decoder) error
- func (s *ConversationTurnMetrics) Encode(e *jx.Encoder)
- func (s *ConversationTurnMetrics) GetMetrics() OptConversationTurnMetricsMetrics
- func (s *ConversationTurnMetrics) MarshalJSON() ([]byte, error)
- func (s *ConversationTurnMetrics) SetMetrics(val OptConversationTurnMetricsMetrics)
- func (s *ConversationTurnMetrics) UnmarshalJSON(data []byte) error
- func (s *ConversationTurnMetrics) Validate() error
- type ConversationTurnMetricsMetrics
- func (s *ConversationTurnMetricsMetrics) Decode(d *jx.Decoder) error
- func (s ConversationTurnMetricsMetrics) Encode(e *jx.Encoder)
- func (s ConversationTurnMetricsMetrics) MarshalJSON() ([]byte, error)
- func (s *ConversationTurnMetricsMetrics) UnmarshalJSON(data []byte) error
- func (s ConversationTurnMetricsMetrics) Validate() error
- type ConvertChapterEndpointParams
- type ConvertChapterEndpointRes
- type ConvertChapterResponseModel
- func (s *ConvertChapterResponseModel) Decode(d *jx.Decoder) error
- func (s *ConvertChapterResponseModel) Encode(e *jx.Encoder)
- func (s *ConvertChapterResponseModel) GetStatus() string
- func (s *ConvertChapterResponseModel) MarshalJSON() ([]byte, error)
- func (s *ConvertChapterResponseModel) SetStatus(val string)
- func (s *ConvertChapterResponseModel) UnmarshalJSON(data []byte) error
- type ConvertProjectEndpointParams
- type ConvertProjectEndpointRes
- type ConvertProjectResponseModel
- func (s *ConvertProjectResponseModel) Decode(d *jx.Decoder) error
- func (s *ConvertProjectResponseModel) Encode(e *jx.Encoder)
- func (s *ConvertProjectResponseModel) GetStatus() string
- func (s *ConvertProjectResponseModel) MarshalJSON() ([]byte, error)
- func (s *ConvertProjectResponseModel) SetStatus(val string)
- func (s *ConvertProjectResponseModel) UnmarshalJSON(data []byte) error
- type CreateAgentResponseModel
- func (s *CreateAgentResponseModel) Decode(d *jx.Decoder) error
- func (s *CreateAgentResponseModel) Encode(e *jx.Encoder)
- func (s *CreateAgentResponseModel) GetAgentID() string
- func (s *CreateAgentResponseModel) MarshalJSON() ([]byte, error)
- func (s *CreateAgentResponseModel) SetAgentID(val string)
- func (s *CreateAgentResponseModel) UnmarshalJSON(data []byte) error
- type CreateAgentResponseTestRouteParams
- type CreateAgentResponseTestRouteRes
- type CreateAudioNativeProjectParams
- type CreateAudioNativeProjectRes
- type CreateBatchCallParams
- type CreateBatchCallRes
- type CreateClipParams
- type CreateClipRes
- type CreateDubbingParams
- type CreateDubbingRes
- type CreateFileDocumentRouteParams
- type CreateFileDocumentRouteRes
- type CreatePronunciationDictionaryResponseModel
- func (s *CreatePronunciationDictionaryResponseModel) Decode(d *jx.Decoder) error
- func (s *CreatePronunciationDictionaryResponseModel) Encode(e *jx.Encoder)
- func (s *CreatePronunciationDictionaryResponseModel) GetStatus() string
- func (s *CreatePronunciationDictionaryResponseModel) MarshalJSON() ([]byte, error)
- func (s *CreatePronunciationDictionaryResponseModel) SetStatus(val string)
- func (s *CreatePronunciationDictionaryResponseModel) UnmarshalJSON(data []byte) error
- type CreatePvcVoiceParams
- type CreatePvcVoiceRes
- type CreateSecretRouteParams
- type CreateSecretRouteRes
- type CreateServiceAccountAPIKeyParams
- type CreateServiceAccountAPIKeyRes
- type CreateSpeakerParams
- type CreateSpeakerRes
- type CreateTextDocumentRouteParams
- type CreateTextDocumentRouteRes
- type CreateURLDocumentRouteParams
- type CreateURLDocumentRouteRes
- type CreateUnitTestRequest
- func (s *CreateUnitTestRequest) Decode(d *jx.Decoder) error
- func (s *CreateUnitTestRequest) Encode(e *jx.Encoder)
- func (s *CreateUnitTestRequest) GetChatHistory() []ConversationHistoryTranscriptCommonModelInput
- func (s *CreateUnitTestRequest) GetDynamicVariables() OptCreateUnitTestRequestDynamicVariables
- func (s *CreateUnitTestRequest) GetFailureExamples() []AgentFailureResponseExample
- func (s *CreateUnitTestRequest) GetFromConversationMetadata() OptTestFromConversationMetadataInput
- func (s *CreateUnitTestRequest) GetName() string
- func (s *CreateUnitTestRequest) GetSuccessCondition() string
- func (s *CreateUnitTestRequest) GetSuccessExamples() []AgentSuccessfulResponseExample
- func (s *CreateUnitTestRequest) GetToolCallParameters() OptUnitTestToolCallEvaluationModelInput
- func (s *CreateUnitTestRequest) GetType() OptUnitTestCommonModelType
- func (s *CreateUnitTestRequest) MarshalJSON() ([]byte, error)
- func (s *CreateUnitTestRequest) SetChatHistory(val []ConversationHistoryTranscriptCommonModelInput)
- func (s *CreateUnitTestRequest) SetDynamicVariables(val OptCreateUnitTestRequestDynamicVariables)
- func (s *CreateUnitTestRequest) SetFailureExamples(val []AgentFailureResponseExample)
- func (s *CreateUnitTestRequest) SetFromConversationMetadata(val OptTestFromConversationMetadataInput)
- func (s *CreateUnitTestRequest) SetName(val string)
- func (s *CreateUnitTestRequest) SetSuccessCondition(val string)
- func (s *CreateUnitTestRequest) SetSuccessExamples(val []AgentSuccessfulResponseExample)
- func (s *CreateUnitTestRequest) SetToolCallParameters(val OptUnitTestToolCallEvaluationModelInput)
- func (s *CreateUnitTestRequest) SetType(val OptUnitTestCommonModelType)
- func (s *CreateUnitTestRequest) UnmarshalJSON(data []byte) error
- func (s *CreateUnitTestRequest) Validate() error
- type CreateUnitTestRequestDynamicVariables
- func (s *CreateUnitTestRequestDynamicVariables) Decode(d *jx.Decoder) error
- func (s CreateUnitTestRequestDynamicVariables) Encode(e *jx.Encoder)
- func (s CreateUnitTestRequestDynamicVariables) MarshalJSON() ([]byte, error)
- func (s *CreateUnitTestRequestDynamicVariables) UnmarshalJSON(data []byte) error
- func (s CreateUnitTestRequestDynamicVariables) Validate() error
- type CreateUnitTestRequestDynamicVariablesItem
- func NewBoolCreateUnitTestRequestDynamicVariablesItem(v bool) CreateUnitTestRequestDynamicVariablesItem
- func NewFloat64CreateUnitTestRequestDynamicVariablesItem(v float64) CreateUnitTestRequestDynamicVariablesItem
- func NewIntCreateUnitTestRequestDynamicVariablesItem(v int) CreateUnitTestRequestDynamicVariablesItem
- func NewStringCreateUnitTestRequestDynamicVariablesItem(v string) CreateUnitTestRequestDynamicVariablesItem
- func (s *CreateUnitTestRequestDynamicVariablesItem) Decode(d *jx.Decoder) error
- func (s CreateUnitTestRequestDynamicVariablesItem) Encode(e *jx.Encoder)
- func (s CreateUnitTestRequestDynamicVariablesItem) GetBool() (v bool, ok bool)
- func (s CreateUnitTestRequestDynamicVariablesItem) GetFloat64() (v float64, ok bool)
- func (s CreateUnitTestRequestDynamicVariablesItem) GetInt() (v int, ok bool)
- func (s CreateUnitTestRequestDynamicVariablesItem) GetString() (v string, ok bool)
- func (s CreateUnitTestRequestDynamicVariablesItem) IsBool() bool
- func (s CreateUnitTestRequestDynamicVariablesItem) IsFloat64() bool
- func (s CreateUnitTestRequestDynamicVariablesItem) IsInt() bool
- func (s CreateUnitTestRequestDynamicVariablesItem) IsString() bool
- func (s CreateUnitTestRequestDynamicVariablesItem) MarshalJSON() ([]byte, error)
- func (s *CreateUnitTestRequestDynamicVariablesItem) SetBool(v bool)
- func (s *CreateUnitTestRequestDynamicVariablesItem) SetFloat64(v float64)
- func (s *CreateUnitTestRequestDynamicVariablesItem) SetInt(v int)
- func (s *CreateUnitTestRequestDynamicVariablesItem) SetString(v string)
- func (s *CreateUnitTestRequestDynamicVariablesItem) UnmarshalJSON(data []byte) error
- func (s CreateUnitTestRequestDynamicVariablesItem) Validate() error
- type CreateUnitTestRequestDynamicVariablesItemType
- type CreateUnitTestResponseModel
- func (s *CreateUnitTestResponseModel) Decode(d *jx.Decoder) error
- func (s *CreateUnitTestResponseModel) Encode(e *jx.Encoder)
- func (s *CreateUnitTestResponseModel) GetID() string
- func (s *CreateUnitTestResponseModel) MarshalJSON() ([]byte, error)
- func (s *CreateUnitTestResponseModel) SetID(val string)
- func (s *CreateUnitTestResponseModel) UnmarshalJSON(data []byte) error
- type CreateVoiceOldParams
- type CreateVoiceOldRes
- type CreateVoiceParams
- type CreateVoiceRes
- type CreateWorkspaceWebhookRouteParams
- type CreateWorkspaceWebhookRouteRes
- type DashboardCallSuccessChartModel
- func (s *DashboardCallSuccessChartModel) Decode(d *jx.Decoder) error
- func (s *DashboardCallSuccessChartModel) Encode(e *jx.Encoder)
- func (s *DashboardCallSuccessChartModel) GetName() string
- func (s *DashboardCallSuccessChartModel) GetType() OptDashboardCallSuccessChartModelType
- func (s *DashboardCallSuccessChartModel) MarshalJSON() ([]byte, error)
- func (s *DashboardCallSuccessChartModel) SetName(val string)
- func (s *DashboardCallSuccessChartModel) SetType(val OptDashboardCallSuccessChartModelType)
- func (s *DashboardCallSuccessChartModel) UnmarshalJSON(data []byte) error
- func (s *DashboardCallSuccessChartModel) Validate() error
- type DashboardCallSuccessChartModelType
- func (DashboardCallSuccessChartModelType) AllValues() []DashboardCallSuccessChartModelType
- func (s *DashboardCallSuccessChartModelType) Decode(d *jx.Decoder) error
- func (s DashboardCallSuccessChartModelType) Encode(e *jx.Encoder)
- func (s DashboardCallSuccessChartModelType) MarshalJSON() ([]byte, error)
- func (s DashboardCallSuccessChartModelType) MarshalText() ([]byte, error)
- func (s *DashboardCallSuccessChartModelType) UnmarshalJSON(data []byte) error
- func (s *DashboardCallSuccessChartModelType) UnmarshalText(data []byte) error
- func (s DashboardCallSuccessChartModelType) Validate() error
- type DashboardCriteriaChartModel
- func (s *DashboardCriteriaChartModel) Decode(d *jx.Decoder) error
- func (s *DashboardCriteriaChartModel) Encode(e *jx.Encoder)
- func (s *DashboardCriteriaChartModel) GetCriteriaID() string
- func (s *DashboardCriteriaChartModel) GetName() string
- func (s *DashboardCriteriaChartModel) GetType() OptDashboardCriteriaChartModelType
- func (s *DashboardCriteriaChartModel) MarshalJSON() ([]byte, error)
- func (s *DashboardCriteriaChartModel) SetCriteriaID(val string)
- func (s *DashboardCriteriaChartModel) SetName(val string)
- func (s *DashboardCriteriaChartModel) SetType(val OptDashboardCriteriaChartModelType)
- func (s *DashboardCriteriaChartModel) UnmarshalJSON(data []byte) error
- func (s *DashboardCriteriaChartModel) Validate() error
- type DashboardCriteriaChartModelType
- func (DashboardCriteriaChartModelType) AllValues() []DashboardCriteriaChartModelType
- func (s *DashboardCriteriaChartModelType) Decode(d *jx.Decoder) error
- func (s DashboardCriteriaChartModelType) Encode(e *jx.Encoder)
- func (s DashboardCriteriaChartModelType) MarshalJSON() ([]byte, error)
- func (s DashboardCriteriaChartModelType) MarshalText() ([]byte, error)
- func (s *DashboardCriteriaChartModelType) UnmarshalJSON(data []byte) error
- func (s *DashboardCriteriaChartModelType) UnmarshalText(data []byte) error
- func (s DashboardCriteriaChartModelType) Validate() error
- type DashboardDataCollectionChartModel
- func (s *DashboardDataCollectionChartModel) Decode(d *jx.Decoder) error
- func (s *DashboardDataCollectionChartModel) Encode(e *jx.Encoder)
- func (s *DashboardDataCollectionChartModel) GetDataCollectionID() string
- func (s *DashboardDataCollectionChartModel) GetName() string
- func (s *DashboardDataCollectionChartModel) GetType() OptDashboardDataCollectionChartModelType
- func (s *DashboardDataCollectionChartModel) MarshalJSON() ([]byte, error)
- func (s *DashboardDataCollectionChartModel) SetDataCollectionID(val string)
- func (s *DashboardDataCollectionChartModel) SetName(val string)
- func (s *DashboardDataCollectionChartModel) SetType(val OptDashboardDataCollectionChartModelType)
- func (s *DashboardDataCollectionChartModel) UnmarshalJSON(data []byte) error
- func (s *DashboardDataCollectionChartModel) Validate() error
- type DashboardDataCollectionChartModelType
- func (DashboardDataCollectionChartModelType) AllValues() []DashboardDataCollectionChartModelType
- func (s *DashboardDataCollectionChartModelType) Decode(d *jx.Decoder) error
- func (s DashboardDataCollectionChartModelType) Encode(e *jx.Encoder)
- func (s DashboardDataCollectionChartModelType) MarshalJSON() ([]byte, error)
- func (s DashboardDataCollectionChartModelType) MarshalText() ([]byte, error)
- func (s *DashboardDataCollectionChartModelType) UnmarshalJSON(data []byte) error
- func (s *DashboardDataCollectionChartModelType) UnmarshalText(data []byte) error
- func (s DashboardDataCollectionChartModelType) Validate() error
- type DataCollectionResultCommonModel
- func (s *DataCollectionResultCommonModel) Decode(d *jx.Decoder) error
- func (s *DataCollectionResultCommonModel) Encode(e *jx.Encoder)
- func (s *DataCollectionResultCommonModel) GetDataCollectionID() string
- func (s *DataCollectionResultCommonModel) GetJSONSchema() OptLiteralJsonSchemaProperty
- func (s *DataCollectionResultCommonModel) GetRationale() string
- func (s *DataCollectionResultCommonModel) GetValue() jx.Raw
- func (s *DataCollectionResultCommonModel) MarshalJSON() ([]byte, error)
- func (s *DataCollectionResultCommonModel) SetDataCollectionID(val string)
- func (s *DataCollectionResultCommonModel) SetJSONSchema(val OptLiteralJsonSchemaProperty)
- func (s *DataCollectionResultCommonModel) SetRationale(val string)
- func (s *DataCollectionResultCommonModel) SetValue(val jx.Raw)
- func (s *DataCollectionResultCommonModel) UnmarshalJSON(data []byte) error
- func (s *DataCollectionResultCommonModel) Validate() error
- type DefaultConversationInitiationTrigger
- func (s *DefaultConversationInitiationTrigger) Decode(d *jx.Decoder) error
- func (s *DefaultConversationInitiationTrigger) Encode(e *jx.Encoder)
- func (s *DefaultConversationInitiationTrigger) GetTriggerType() OptDefaultConversationInitiationTriggerTriggerType
- func (s *DefaultConversationInitiationTrigger) MarshalJSON() ([]byte, error)
- func (s *DefaultConversationInitiationTrigger) SetTriggerType(val OptDefaultConversationInitiationTriggerTriggerType)
- func (s *DefaultConversationInitiationTrigger) UnmarshalJSON(data []byte) error
- func (s *DefaultConversationInitiationTrigger) Validate() error
- type DefaultConversationInitiationTriggerTriggerType
- func (DefaultConversationInitiationTriggerTriggerType) AllValues() []DefaultConversationInitiationTriggerTriggerType
- func (s *DefaultConversationInitiationTriggerTriggerType) Decode(d *jx.Decoder) error
- func (s DefaultConversationInitiationTriggerTriggerType) Encode(e *jx.Encoder)
- func (s DefaultConversationInitiationTriggerTriggerType) MarshalJSON() ([]byte, error)
- func (s DefaultConversationInitiationTriggerTriggerType) MarshalText() ([]byte, error)
- func (s *DefaultConversationInitiationTriggerTriggerType) UnmarshalJSON(data []byte) error
- func (s *DefaultConversationInitiationTriggerTriggerType) UnmarshalText(data []byte) error
- func (s DefaultConversationInitiationTriggerTriggerType) Validate() error
- type DeleteAgentRouteNoContent
- type DeleteAgentRouteOK
- type DeleteAgentRouteParams
- type DeleteAgentRouteRes
- type DeleteChapterEndpointParams
- type DeleteChapterEndpointRes
- type DeleteChapterResponseModel
- func (s *DeleteChapterResponseModel) Decode(d *jx.Decoder) error
- func (s *DeleteChapterResponseModel) Encode(e *jx.Encoder)
- func (s *DeleteChapterResponseModel) GetStatus() string
- func (s *DeleteChapterResponseModel) MarshalJSON() ([]byte, error)
- func (s *DeleteChapterResponseModel) SetStatus(val string)
- func (s *DeleteChapterResponseModel) UnmarshalJSON(data []byte) error
- type DeleteChatResponseTestRouteOKApplicationJSON
- func (s *DeleteChatResponseTestRouteOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s DeleteChatResponseTestRouteOKApplicationJSON) Encode(e *jx.Encoder)
- func (s DeleteChatResponseTestRouteOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *DeleteChatResponseTestRouteOKApplicationJSON) UnmarshalJSON(data []byte) error
- type DeleteChatResponseTestRouteParams
- type DeleteChatResponseTestRouteRes
- type DeleteConversationRouteOKApplicationJSON
- func (s *DeleteConversationRouteOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s DeleteConversationRouteOKApplicationJSON) Encode(e *jx.Encoder)
- func (s DeleteConversationRouteOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *DeleteConversationRouteOKApplicationJSON) UnmarshalJSON(data []byte) error
- type DeleteConversationRouteParams
- type DeleteConversationRouteRes
- type DeleteDubbingParams
- type DeleteDubbingRes
- type DeleteDubbingResponseModel
- func (s *DeleteDubbingResponseModel) Decode(d *jx.Decoder) error
- func (s *DeleteDubbingResponseModel) Encode(e *jx.Encoder)
- func (s *DeleteDubbingResponseModel) GetStatus() string
- func (s *DeleteDubbingResponseModel) MarshalJSON() ([]byte, error)
- func (s *DeleteDubbingResponseModel) SetStatus(val string)
- func (s *DeleteDubbingResponseModel) UnmarshalJSON(data []byte) error
- type DeleteHistoryItemResponse
- func (s *DeleteHistoryItemResponse) Decode(d *jx.Decoder) error
- func (s *DeleteHistoryItemResponse) Encode(e *jx.Encoder)
- func (s *DeleteHistoryItemResponse) GetStatus() string
- func (s *DeleteHistoryItemResponse) MarshalJSON() ([]byte, error)
- func (s *DeleteHistoryItemResponse) SetStatus(val string)
- func (s *DeleteHistoryItemResponse) UnmarshalJSON(data []byte) error
- type DeleteInviteParams
- type DeleteInviteRes
- type DeleteKnowledgeBaseDocumentOKApplicationJSON
- func (s *DeleteKnowledgeBaseDocumentOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s DeleteKnowledgeBaseDocumentOKApplicationJSON) Encode(e *jx.Encoder)
- func (s DeleteKnowledgeBaseDocumentOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *DeleteKnowledgeBaseDocumentOKApplicationJSON) UnmarshalJSON(data []byte) error
- type DeleteKnowledgeBaseDocumentParams
- type DeleteKnowledgeBaseDocumentRes
- type DeleteMcpServerRouteOKApplicationJSON
- func (s *DeleteMcpServerRouteOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s DeleteMcpServerRouteOKApplicationJSON) Encode(e *jx.Encoder)
- func (s DeleteMcpServerRouteOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *DeleteMcpServerRouteOKApplicationJSON) UnmarshalJSON(data []byte) error
- type DeleteMcpServerRouteParams
- type DeleteMcpServerRouteRes
- type DeletePhoneNumberRouteOKApplicationJSON
- func (s *DeletePhoneNumberRouteOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s DeletePhoneNumberRouteOKApplicationJSON) Encode(e *jx.Encoder)
- func (s DeletePhoneNumberRouteOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *DeletePhoneNumberRouteOKApplicationJSON) UnmarshalJSON(data []byte) error
- type DeletePhoneNumberRouteParams
- type DeletePhoneNumberRouteRes
- type DeleteProjectParams
- type DeleteProjectRes
- type DeleteProjectResponseModel
- func (s *DeleteProjectResponseModel) Decode(d *jx.Decoder) error
- func (s *DeleteProjectResponseModel) Encode(e *jx.Encoder)
- func (s *DeleteProjectResponseModel) GetStatus() string
- func (s *DeleteProjectResponseModel) MarshalJSON() ([]byte, error)
- func (s *DeleteProjectResponseModel) SetStatus(val string)
- func (s *DeleteProjectResponseModel) UnmarshalJSON(data []byte) error
- type DeletePvcVoiceSampleParams
- type DeletePvcVoiceSampleRes
- type DeleteRagIndexParams
- type DeleteRagIndexRes
- type DeleteSampleParams
- type DeleteSampleRes
- type DeleteSampleResponseModel
- func (s *DeleteSampleResponseModel) Decode(d *jx.Decoder) error
- func (s *DeleteSampleResponseModel) Encode(e *jx.Encoder)
- func (s *DeleteSampleResponseModel) GetStatus() string
- func (s *DeleteSampleResponseModel) MarshalJSON() ([]byte, error)
- func (s *DeleteSampleResponseModel) SetStatus(val string)
- func (s *DeleteSampleResponseModel) UnmarshalJSON(data []byte) error
- type DeleteSecretRouteNoContent
- type DeleteSecretRouteParams
- type DeleteSecretRouteRes
- type DeleteSegmentParams
- type DeleteSegmentRes
- type DeleteServiceAccountAPIKeyOKApplicationJSON
- func (s *DeleteServiceAccountAPIKeyOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s DeleteServiceAccountAPIKeyOKApplicationJSON) Encode(e *jx.Encoder)
- func (s DeleteServiceAccountAPIKeyOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *DeleteServiceAccountAPIKeyOKApplicationJSON) UnmarshalJSON(data []byte) error
- type DeleteServiceAccountAPIKeyParams
- type DeleteServiceAccountAPIKeyRes
- type DeleteSpeechHistoryItemParams
- type DeleteSpeechHistoryItemRes
- type DeleteToolRouteOKApplicationJSON
- type DeleteToolRouteParams
- type DeleteToolRouteRes
- type DeleteTranscriptByIDOKApplicationJSON
- func (s *DeleteTranscriptByIDOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s DeleteTranscriptByIDOKApplicationJSON) Encode(e *jx.Encoder)
- func (s DeleteTranscriptByIDOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *DeleteTranscriptByIDOKApplicationJSON) UnmarshalJSON(data []byte) error
- type DeleteTranscriptByIDParams
- type DeleteTranscriptByIDRes
- type DeleteTranscriptByIDUnauthorizedApplicationJSON
- func (s *DeleteTranscriptByIDUnauthorizedApplicationJSON) Decode(d *jx.Decoder) error
- func (s DeleteTranscriptByIDUnauthorizedApplicationJSON) Encode(e *jx.Encoder)
- func (s DeleteTranscriptByIDUnauthorizedApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *DeleteTranscriptByIDUnauthorizedApplicationJSON) UnmarshalJSON(data []byte) error
- type DeleteVoiceParams
- type DeleteVoiceRes
- type DeleteVoiceResponseModel
- func (s *DeleteVoiceResponseModel) Decode(d *jx.Decoder) error
- func (s *DeleteVoiceResponseModel) Encode(e *jx.Encoder)
- func (s *DeleteVoiceResponseModel) GetStatus() string
- func (s *DeleteVoiceResponseModel) MarshalJSON() ([]byte, error)
- func (s *DeleteVoiceResponseModel) SetStatus(val string)
- func (s *DeleteVoiceResponseModel) UnmarshalJSON(data []byte) error
- type DeleteVoiceSampleResponseModel
- func (s *DeleteVoiceSampleResponseModel) Decode(d *jx.Decoder) error
- func (s *DeleteVoiceSampleResponseModel) Encode(e *jx.Encoder)
- func (s *DeleteVoiceSampleResponseModel) GetStatus() string
- func (s *DeleteVoiceSampleResponseModel) MarshalJSON() ([]byte, error)
- func (s *DeleteVoiceSampleResponseModel) SetStatus(val string)
- func (s *DeleteVoiceSampleResponseModel) UnmarshalJSON(data []byte) error
- type DeleteWhatsappAccountOKApplicationJSON
- func (s *DeleteWhatsappAccountOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s DeleteWhatsappAccountOKApplicationJSON) Encode(e *jx.Encoder)
- func (s DeleteWhatsappAccountOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *DeleteWhatsappAccountOKApplicationJSON) UnmarshalJSON(data []byte) error
- type DeleteWhatsappAccountParams
- type DeleteWhatsappAccountRes
- type DeleteWorkspaceGroupMemberResponseModel
- func (s *DeleteWorkspaceGroupMemberResponseModel) Decode(d *jx.Decoder) error
- func (s *DeleteWorkspaceGroupMemberResponseModel) Encode(e *jx.Encoder)
- func (s *DeleteWorkspaceGroupMemberResponseModel) GetStatus() string
- func (s *DeleteWorkspaceGroupMemberResponseModel) MarshalJSON() ([]byte, error)
- func (s *DeleteWorkspaceGroupMemberResponseModel) SetStatus(val string)
- func (s *DeleteWorkspaceGroupMemberResponseModel) UnmarshalJSON(data []byte) error
- type DeleteWorkspaceInviteResponseModel
- func (s *DeleteWorkspaceInviteResponseModel) Decode(d *jx.Decoder) error
- func (s *DeleteWorkspaceInviteResponseModel) Encode(e *jx.Encoder)
- func (s *DeleteWorkspaceInviteResponseModel) GetStatus() string
- func (s *DeleteWorkspaceInviteResponseModel) MarshalJSON() ([]byte, error)
- func (s *DeleteWorkspaceInviteResponseModel) SetStatus(val string)
- func (s *DeleteWorkspaceInviteResponseModel) UnmarshalJSON(data []byte) error
- type DeleteWorkspaceWebhookResponseModel
- func (s *DeleteWorkspaceWebhookResponseModel) Decode(d *jx.Decoder) error
- func (s *DeleteWorkspaceWebhookResponseModel) Encode(e *jx.Encoder)
- func (s *DeleteWorkspaceWebhookResponseModel) GetStatus() string
- func (s *DeleteWorkspaceWebhookResponseModel) MarshalJSON() ([]byte, error)
- func (s *DeleteWorkspaceWebhookResponseModel) SetStatus(val string)
- func (s *DeleteWorkspaceWebhookResponseModel) UnmarshalJSON(data []byte) error
- type DeleteWorkspaceWebhookRouteParams
- type DeleteWorkspaceWebhookRouteRes
- type DependentAvailableAgentIdentifier
- func (s *DependentAvailableAgentIdentifier) Decode(d *jx.Decoder) error
- func (s *DependentAvailableAgentIdentifier) Encode(e *jx.Encoder)
- func (s *DependentAvailableAgentIdentifier) GetAccessLevel() DependentAvailableAgentIdentifierAccessLevel
- func (s *DependentAvailableAgentIdentifier) GetCreatedAtUnixSecs() int
- func (s *DependentAvailableAgentIdentifier) GetID() string
- func (s *DependentAvailableAgentIdentifier) GetName() string
- func (s *DependentAvailableAgentIdentifier) GetReferencedResourceIds() []string
- func (s *DependentAvailableAgentIdentifier) GetType() OptDependentAvailableAgentIdentifierType
- func (s *DependentAvailableAgentIdentifier) MarshalJSON() ([]byte, error)
- func (s *DependentAvailableAgentIdentifier) SetAccessLevel(val DependentAvailableAgentIdentifierAccessLevel)
- func (s *DependentAvailableAgentIdentifier) SetCreatedAtUnixSecs(val int)
- func (s *DependentAvailableAgentIdentifier) SetID(val string)
- func (s *DependentAvailableAgentIdentifier) SetName(val string)
- func (s *DependentAvailableAgentIdentifier) SetReferencedResourceIds(val []string)
- func (s *DependentAvailableAgentIdentifier) SetType(val OptDependentAvailableAgentIdentifierType)
- func (s *DependentAvailableAgentIdentifier) UnmarshalJSON(data []byte) error
- func (s *DependentAvailableAgentIdentifier) Validate() error
- type DependentAvailableAgentIdentifierAccessLevel
- func (DependentAvailableAgentIdentifierAccessLevel) AllValues() []DependentAvailableAgentIdentifierAccessLevel
- func (s *DependentAvailableAgentIdentifierAccessLevel) Decode(d *jx.Decoder) error
- func (s DependentAvailableAgentIdentifierAccessLevel) Encode(e *jx.Encoder)
- func (s DependentAvailableAgentIdentifierAccessLevel) MarshalJSON() ([]byte, error)
- func (s DependentAvailableAgentIdentifierAccessLevel) MarshalText() ([]byte, error)
- func (s *DependentAvailableAgentIdentifierAccessLevel) UnmarshalJSON(data []byte) error
- func (s *DependentAvailableAgentIdentifierAccessLevel) UnmarshalText(data []byte) error
- func (s DependentAvailableAgentIdentifierAccessLevel) Validate() error
- type DependentAvailableAgentIdentifierType
- func (DependentAvailableAgentIdentifierType) AllValues() []DependentAvailableAgentIdentifierType
- func (s *DependentAvailableAgentIdentifierType) Decode(d *jx.Decoder) error
- func (s DependentAvailableAgentIdentifierType) Encode(e *jx.Encoder)
- func (s DependentAvailableAgentIdentifierType) MarshalJSON() ([]byte, error)
- func (s DependentAvailableAgentIdentifierType) MarshalText() ([]byte, error)
- func (s *DependentAvailableAgentIdentifierType) UnmarshalJSON(data []byte) error
- func (s *DependentAvailableAgentIdentifierType) UnmarshalText(data []byte) error
- func (s DependentAvailableAgentIdentifierType) Validate() error
- type DependentAvailableToolIdentifier
- func (s *DependentAvailableToolIdentifier) Decode(d *jx.Decoder) error
- func (s *DependentAvailableToolIdentifier) Encode(e *jx.Encoder)
- func (s *DependentAvailableToolIdentifier) GetAccessLevel() DependentAvailableToolIdentifierAccessLevel
- func (s *DependentAvailableToolIdentifier) GetCreatedAtUnixSecs() int
- func (s *DependentAvailableToolIdentifier) GetID() string
- func (s *DependentAvailableToolIdentifier) GetName() string
- func (s *DependentAvailableToolIdentifier) GetType() OptDependentAvailableToolIdentifierType
- func (s *DependentAvailableToolIdentifier) MarshalJSON() ([]byte, error)
- func (s *DependentAvailableToolIdentifier) SetAccessLevel(val DependentAvailableToolIdentifierAccessLevel)
- func (s *DependentAvailableToolIdentifier) SetCreatedAtUnixSecs(val int)
- func (s *DependentAvailableToolIdentifier) SetID(val string)
- func (s *DependentAvailableToolIdentifier) SetName(val string)
- func (s *DependentAvailableToolIdentifier) SetType(val OptDependentAvailableToolIdentifierType)
- func (s *DependentAvailableToolIdentifier) UnmarshalJSON(data []byte) error
- func (s *DependentAvailableToolIdentifier) Validate() error
- type DependentAvailableToolIdentifierAccessLevel
- func (DependentAvailableToolIdentifierAccessLevel) AllValues() []DependentAvailableToolIdentifierAccessLevel
- func (s *DependentAvailableToolIdentifierAccessLevel) Decode(d *jx.Decoder) error
- func (s DependentAvailableToolIdentifierAccessLevel) Encode(e *jx.Encoder)
- func (s DependentAvailableToolIdentifierAccessLevel) MarshalJSON() ([]byte, error)
- func (s DependentAvailableToolIdentifierAccessLevel) MarshalText() ([]byte, error)
- func (s *DependentAvailableToolIdentifierAccessLevel) UnmarshalJSON(data []byte) error
- func (s *DependentAvailableToolIdentifierAccessLevel) UnmarshalText(data []byte) error
- func (s DependentAvailableToolIdentifierAccessLevel) Validate() error
- type DependentAvailableToolIdentifierType
- func (DependentAvailableToolIdentifierType) AllValues() []DependentAvailableToolIdentifierType
- func (s *DependentAvailableToolIdentifierType) Decode(d *jx.Decoder) error
- func (s DependentAvailableToolIdentifierType) Encode(e *jx.Encoder)
- func (s DependentAvailableToolIdentifierType) MarshalJSON() ([]byte, error)
- func (s DependentAvailableToolIdentifierType) MarshalText() ([]byte, error)
- func (s *DependentAvailableToolIdentifierType) UnmarshalJSON(data []byte) error
- func (s *DependentAvailableToolIdentifierType) UnmarshalText(data []byte) error
- func (s DependentAvailableToolIdentifierType) Validate() error
- type DependentPhoneNumberIdentifier
- func (s *DependentPhoneNumberIdentifier) Decode(d *jx.Decoder) error
- func (s *DependentPhoneNumberIdentifier) Encode(e *jx.Encoder)
- func (s *DependentPhoneNumberIdentifier) GetLabel() string
- func (s *DependentPhoneNumberIdentifier) GetPhoneNumber() string
- func (s *DependentPhoneNumberIdentifier) GetPhoneNumberID() string
- func (s *DependentPhoneNumberIdentifier) GetProvider() TelephonyProvider
- func (s *DependentPhoneNumberIdentifier) MarshalJSON() ([]byte, error)
- func (s *DependentPhoneNumberIdentifier) SetLabel(val string)
- func (s *DependentPhoneNumberIdentifier) SetPhoneNumber(val string)
- func (s *DependentPhoneNumberIdentifier) SetPhoneNumberID(val string)
- func (s *DependentPhoneNumberIdentifier) SetProvider(val TelephonyProvider)
- func (s *DependentPhoneNumberIdentifier) UnmarshalJSON(data []byte) error
- func (s *DependentPhoneNumberIdentifier) Validate() error
- type DependentUnknownAgentIdentifier
- func (s *DependentUnknownAgentIdentifier) Decode(d *jx.Decoder) error
- func (s *DependentUnknownAgentIdentifier) Encode(e *jx.Encoder)
- func (s *DependentUnknownAgentIdentifier) GetReferencedResourceIds() []string
- func (s *DependentUnknownAgentIdentifier) GetType() OptDependentUnknownAgentIdentifierType
- func (s *DependentUnknownAgentIdentifier) MarshalJSON() ([]byte, error)
- func (s *DependentUnknownAgentIdentifier) SetReferencedResourceIds(val []string)
- func (s *DependentUnknownAgentIdentifier) SetType(val OptDependentUnknownAgentIdentifierType)
- func (s *DependentUnknownAgentIdentifier) UnmarshalJSON(data []byte) error
- func (s *DependentUnknownAgentIdentifier) Validate() error
- type DependentUnknownAgentIdentifierType
- func (DependentUnknownAgentIdentifierType) AllValues() []DependentUnknownAgentIdentifierType
- func (s *DependentUnknownAgentIdentifierType) Decode(d *jx.Decoder) error
- func (s DependentUnknownAgentIdentifierType) Encode(e *jx.Encoder)
- func (s DependentUnknownAgentIdentifierType) MarshalJSON() ([]byte, error)
- func (s DependentUnknownAgentIdentifierType) MarshalText() ([]byte, error)
- func (s *DependentUnknownAgentIdentifierType) UnmarshalJSON(data []byte) error
- func (s *DependentUnknownAgentIdentifierType) UnmarshalText(data []byte) error
- func (s DependentUnknownAgentIdentifierType) Validate() error
- type DependentUnknownToolIdentifier
- func (s *DependentUnknownToolIdentifier) Decode(d *jx.Decoder) error
- func (s *DependentUnknownToolIdentifier) Encode(e *jx.Encoder)
- func (s *DependentUnknownToolIdentifier) GetType() OptDependentUnknownToolIdentifierType
- func (s *DependentUnknownToolIdentifier) MarshalJSON() ([]byte, error)
- func (s *DependentUnknownToolIdentifier) SetType(val OptDependentUnknownToolIdentifierType)
- func (s *DependentUnknownToolIdentifier) UnmarshalJSON(data []byte) error
- func (s *DependentUnknownToolIdentifier) Validate() error
- type DependentUnknownToolIdentifierType
- func (DependentUnknownToolIdentifierType) AllValues() []DependentUnknownToolIdentifierType
- func (s *DependentUnknownToolIdentifierType) Decode(d *jx.Decoder) error
- func (s DependentUnknownToolIdentifierType) Encode(e *jx.Encoder)
- func (s DependentUnknownToolIdentifierType) MarshalJSON() ([]byte, error)
- func (s DependentUnknownToolIdentifierType) MarshalText() ([]byte, error)
- func (s *DependentUnknownToolIdentifierType) UnmarshalJSON(data []byte) error
- func (s *DependentUnknownToolIdentifierType) UnmarshalText(data []byte) error
- func (s DependentUnknownToolIdentifierType) Validate() error
- type DialogueInput
- func (s *DialogueInput) Decode(d *jx.Decoder) error
- func (s *DialogueInput) Encode(e *jx.Encoder)
- func (s *DialogueInput) GetText() string
- func (s *DialogueInput) GetVoiceID() string
- func (s *DialogueInput) MarshalJSON() ([]byte, error)
- func (s *DialogueInput) SetText(val string)
- func (s *DialogueInput) SetVoiceID(val string)
- func (s *DialogueInput) UnmarshalJSON(data []byte) error
- type DialogueInputResponseModel
- func (s *DialogueInputResponseModel) Decode(d *jx.Decoder) error
- func (s *DialogueInputResponseModel) Encode(e *jx.Encoder)
- func (s *DialogueInputResponseModel) GetText() string
- func (s *DialogueInputResponseModel) GetVoiceID() string
- func (s *DialogueInputResponseModel) GetVoiceName() string
- func (s *DialogueInputResponseModel) MarshalJSON() ([]byte, error)
- func (s *DialogueInputResponseModel) SetText(val string)
- func (s *DialogueInputResponseModel) SetVoiceID(val string)
- func (s *DialogueInputResponseModel) SetVoiceName(val string)
- func (s *DialogueInputResponseModel) UnmarshalJSON(data []byte) error
- type DoDubbingResponseModel
- func (s *DoDubbingResponseModel) Decode(d *jx.Decoder) error
- func (s *DoDubbingResponseModel) Encode(e *jx.Encoder)
- func (s *DoDubbingResponseModel) GetDubbingID() string
- func (s *DoDubbingResponseModel) GetExpectedDurationSec() float64
- func (s *DoDubbingResponseModel) MarshalJSON() ([]byte, error)
- func (s *DoDubbingResponseModel) SetDubbingID(val string)
- func (s *DoDubbingResponseModel) SetExpectedDurationSec(val float64)
- func (s *DoDubbingResponseModel) UnmarshalJSON(data []byte) error
- func (s *DoDubbingResponseModel) Validate() error
- type DocumentUsageModeEnum
- func (DocumentUsageModeEnum) AllValues() []DocumentUsageModeEnum
- func (s *DocumentUsageModeEnum) Decode(d *jx.Decoder) error
- func (s DocumentUsageModeEnum) Encode(e *jx.Encoder)
- func (s DocumentUsageModeEnum) MarshalJSON() ([]byte, error)
- func (s DocumentUsageModeEnum) MarshalText() ([]byte, error)
- func (s *DocumentUsageModeEnum) UnmarshalJSON(data []byte) error
- func (s *DocumentUsageModeEnum) UnmarshalText(data []byte) error
- func (s DocumentUsageModeEnum) Validate() error
- type DocxExportOptions
- func (s *DocxExportOptions) Decode(d *jx.Decoder) error
- func (s *DocxExportOptions) Encode(e *jx.Encoder)
- func (s *DocxExportOptions) GetFormat() DocxExportOptionsFormat
- func (s *DocxExportOptions) GetIncludeSpeakers() OptBool
- func (s *DocxExportOptions) GetIncludeTimestamps() OptBool
- func (s *DocxExportOptions) GetMaxSegmentChars() OptNilInt
- func (s *DocxExportOptions) GetMaxSegmentDurationS() OptNilFloat64
- func (s *DocxExportOptions) GetSegmentOnSilenceLongerThanS() OptNilFloat64
- func (s *DocxExportOptions) MarshalJSON() ([]byte, error)
- func (s *DocxExportOptions) SetFormat(val DocxExportOptionsFormat)
- func (s *DocxExportOptions) SetIncludeSpeakers(val OptBool)
- func (s *DocxExportOptions) SetIncludeTimestamps(val OptBool)
- func (s *DocxExportOptions) SetMaxSegmentChars(val OptNilInt)
- func (s *DocxExportOptions) SetMaxSegmentDurationS(val OptNilFloat64)
- func (s *DocxExportOptions) SetSegmentOnSilenceLongerThanS(val OptNilFloat64)
- func (s *DocxExportOptions) UnmarshalJSON(data []byte) error
- func (s *DocxExportOptions) Validate() error
- type DocxExportOptionsFormat
- func (DocxExportOptionsFormat) AllValues() []DocxExportOptionsFormat
- func (s *DocxExportOptionsFormat) Decode(d *jx.Decoder) error
- func (s DocxExportOptionsFormat) Encode(e *jx.Encoder)
- func (s DocxExportOptionsFormat) MarshalJSON() ([]byte, error)
- func (s DocxExportOptionsFormat) MarshalText() ([]byte, error)
- func (s *DocxExportOptionsFormat) UnmarshalJSON(data []byte) error
- func (s *DocxExportOptionsFormat) UnmarshalText(data []byte) error
- func (s DocxExportOptionsFormat) Validate() error
- type DownloadSpeechHistoryItemsBadRequest
- func (s *DownloadSpeechHistoryItemsBadRequest) Decode(d *jx.Decoder) error
- func (s *DownloadSpeechHistoryItemsBadRequest) Encode(e *jx.Encoder)
- func (s *DownloadSpeechHistoryItemsBadRequest) GetError() OptString
- func (s *DownloadSpeechHistoryItemsBadRequest) GetMessage() OptString
- func (s *DownloadSpeechHistoryItemsBadRequest) MarshalJSON() ([]byte, error)
- func (s *DownloadSpeechHistoryItemsBadRequest) SetError(val OptString)
- func (s *DownloadSpeechHistoryItemsBadRequest) SetMessage(val OptString)
- func (s *DownloadSpeechHistoryItemsBadRequest) UnmarshalJSON(data []byte) error
- type DownloadSpeechHistoryItemsOK
- type DownloadSpeechHistoryItemsParams
- type DownloadSpeechHistoryItemsRes
- type DubParams
- type DubRes
- type DubbedSegment
- func (s *DubbedSegment) Decode(d *jx.Decoder) error
- func (s *DubbedSegment) Encode(e *jx.Encoder)
- func (s *DubbedSegment) GetAudioStale() bool
- func (s *DubbedSegment) GetEndTime() float64
- func (s *DubbedSegment) GetMediaRef() DubbingMediaReference
- func (s *DubbedSegment) GetStartTime() float64
- func (s *DubbedSegment) GetSubtitles() []SegmentSubtitleFrame
- func (s *DubbedSegment) GetText() NilString
- func (s *DubbedSegment) MarshalJSON() ([]byte, error)
- func (s *DubbedSegment) SetAudioStale(val bool)
- func (s *DubbedSegment) SetEndTime(val float64)
- func (s *DubbedSegment) SetMediaRef(val DubbingMediaReference)
- func (s *DubbedSegment) SetStartTime(val float64)
- func (s *DubbedSegment) SetSubtitles(val []SegmentSubtitleFrame)
- func (s *DubbedSegment) SetText(val NilString)
- func (s *DubbedSegment) UnmarshalJSON(data []byte) error
- func (s *DubbedSegment) Validate() error
- type DubbingMediaMetadata
- func (s *DubbingMediaMetadata) Decode(d *jx.Decoder) error
- func (s *DubbingMediaMetadata) Encode(e *jx.Encoder)
- func (s *DubbingMediaMetadata) GetContentType() string
- func (s *DubbingMediaMetadata) GetDuration() float64
- func (s *DubbingMediaMetadata) MarshalJSON() ([]byte, error)
- func (s *DubbingMediaMetadata) SetContentType(val string)
- func (s *DubbingMediaMetadata) SetDuration(val float64)
- func (s *DubbingMediaMetadata) UnmarshalJSON(data []byte) error
- func (s *DubbingMediaMetadata) Validate() error
- type DubbingMediaReference
- func (s *DubbingMediaReference) Decode(d *jx.Decoder) error
- func (s *DubbingMediaReference) Encode(e *jx.Encoder)
- func (s *DubbingMediaReference) GetBucketName() string
- func (s *DubbingMediaReference) GetContentType() string
- func (s *DubbingMediaReference) GetDurationSecs() float64
- func (s *DubbingMediaReference) GetIsAudio() bool
- func (s *DubbingMediaReference) GetRandomPathSlug() string
- func (s *DubbingMediaReference) GetSrc() string
- func (s *DubbingMediaReference) GetURL() string
- func (s *DubbingMediaReference) MarshalJSON() ([]byte, error)
- func (s *DubbingMediaReference) SetBucketName(val string)
- func (s *DubbingMediaReference) SetContentType(val string)
- func (s *DubbingMediaReference) SetDurationSecs(val float64)
- func (s *DubbingMediaReference) SetIsAudio(val bool)
- func (s *DubbingMediaReference) SetRandomPathSlug(val string)
- func (s *DubbingMediaReference) SetSrc(val string)
- func (s *DubbingMediaReference) SetURL(val string)
- func (s *DubbingMediaReference) UnmarshalJSON(data []byte) error
- func (s *DubbingMediaReference) Validate() error
- type DubbingMetadataPageResponseModel
- func (s *DubbingMetadataPageResponseModel) Decode(d *jx.Decoder) error
- func (s *DubbingMetadataPageResponseModel) Encode(e *jx.Encoder)
- func (s *DubbingMetadataPageResponseModel) GetDubs() []DubbingMetadataResponse
- func (s *DubbingMetadataPageResponseModel) GetHasMore() bool
- func (s *DubbingMetadataPageResponseModel) GetNextCursor() NilString
- func (s *DubbingMetadataPageResponseModel) MarshalJSON() ([]byte, error)
- func (s *DubbingMetadataPageResponseModel) SetDubs(val []DubbingMetadataResponse)
- func (s *DubbingMetadataPageResponseModel) SetHasMore(val bool)
- func (s *DubbingMetadataPageResponseModel) SetNextCursor(val NilString)
- func (s *DubbingMetadataPageResponseModel) UnmarshalJSON(data []byte) error
- func (s *DubbingMetadataPageResponseModel) Validate() error
- type DubbingMetadataResponse
- func (s *DubbingMetadataResponse) Decode(d *jx.Decoder) error
- func (s *DubbingMetadataResponse) Encode(e *jx.Encoder)
- func (s *DubbingMetadataResponse) GetCreatedAt() time.Time
- func (s *DubbingMetadataResponse) GetDubbingID() string
- func (s *DubbingMetadataResponse) GetEditable() OptBool
- func (s *DubbingMetadataResponse) GetError() OptNilString
- func (s *DubbingMetadataResponse) GetMediaMetadata() OptDubbingMediaMetadata
- func (s *DubbingMetadataResponse) GetName() string
- func (s *DubbingMetadataResponse) GetStatus() string
- func (s *DubbingMetadataResponse) GetTargetLanguages() []string
- func (s *DubbingMetadataResponse) MarshalJSON() ([]byte, error)
- func (s *DubbingMetadataResponse) SetCreatedAt(val time.Time)
- func (s *DubbingMetadataResponse) SetDubbingID(val string)
- func (s *DubbingMetadataResponse) SetEditable(val OptBool)
- func (s *DubbingMetadataResponse) SetError(val OptNilString)
- func (s *DubbingMetadataResponse) SetMediaMetadata(val OptDubbingMediaMetadata)
- func (s *DubbingMetadataResponse) SetName(val string)
- func (s *DubbingMetadataResponse) SetStatus(val string)
- func (s *DubbingMetadataResponse) SetTargetLanguages(val []string)
- func (s *DubbingMetadataResponse) UnmarshalJSON(data []byte) error
- func (s *DubbingMetadataResponse) Validate() error
- type DubbingResource
- func (s *DubbingResource) Decode(d *jx.Decoder) error
- func (s *DubbingResource) Encode(e *jx.Encoder)
- func (s *DubbingResource) GetBackground() DubbingMediaReference
- func (s *DubbingResource) GetForeground() DubbingMediaReference
- func (s *DubbingResource) GetID() string
- func (s *DubbingResource) GetInput() DubbingMediaReference
- func (s *DubbingResource) GetRenders() DubbingResourceRenders
- func (s *DubbingResource) GetSourceLanguage() string
- func (s *DubbingResource) GetSpeakerSegments() DubbingResourceSpeakerSegments
- func (s *DubbingResource) GetSpeakerTracks() DubbingResourceSpeakerTracks
- func (s *DubbingResource) GetTargetLanguages() []string
- func (s *DubbingResource) GetVersion() int
- func (s *DubbingResource) MarshalJSON() ([]byte, error)
- func (s *DubbingResource) SetBackground(val DubbingMediaReference)
- func (s *DubbingResource) SetForeground(val DubbingMediaReference)
- func (s *DubbingResource) SetID(val string)
- func (s *DubbingResource) SetInput(val DubbingMediaReference)
- func (s *DubbingResource) SetRenders(val DubbingResourceRenders)
- func (s *DubbingResource) SetSourceLanguage(val string)
- func (s *DubbingResource) SetSpeakerSegments(val DubbingResourceSpeakerSegments)
- func (s *DubbingResource) SetSpeakerTracks(val DubbingResourceSpeakerTracks)
- func (s *DubbingResource) SetTargetLanguages(val []string)
- func (s *DubbingResource) SetVersion(val int)
- func (s *DubbingResource) UnmarshalJSON(data []byte) error
- func (s *DubbingResource) Validate() error
- type DubbingResourceRenders
- type DubbingResourceSpeakerSegments
- func (s *DubbingResourceSpeakerSegments) Decode(d *jx.Decoder) error
- func (s DubbingResourceSpeakerSegments) Encode(e *jx.Encoder)
- func (s DubbingResourceSpeakerSegments) MarshalJSON() ([]byte, error)
- func (s *DubbingResourceSpeakerSegments) UnmarshalJSON(data []byte) error
- func (s DubbingResourceSpeakerSegments) Validate() error
- type DubbingResourceSpeakerTracks
- func (s *DubbingResourceSpeakerTracks) Decode(d *jx.Decoder) error
- func (s DubbingResourceSpeakerTracks) Encode(e *jx.Encoder)
- func (s DubbingResourceSpeakerTracks) MarshalJSON() ([]byte, error)
- func (s *DubbingResourceSpeakerTracks) UnmarshalJSON(data []byte) error
- func (s DubbingResourceSpeakerTracks) Validate() error
- type DubbingTranscriptCharacter
- func (s *DubbingTranscriptCharacter) Decode(d *jx.Decoder) error
- func (s *DubbingTranscriptCharacter) Encode(e *jx.Encoder)
- func (s *DubbingTranscriptCharacter) GetEndS() OptFloat64
- func (s *DubbingTranscriptCharacter) GetStartS() OptFloat64
- func (s *DubbingTranscriptCharacter) GetText() OptString
- func (s *DubbingTranscriptCharacter) MarshalJSON() ([]byte, error)
- func (s *DubbingTranscriptCharacter) SetEndS(val OptFloat64)
- func (s *DubbingTranscriptCharacter) SetStartS(val OptFloat64)
- func (s *DubbingTranscriptCharacter) SetText(val OptString)
- func (s *DubbingTranscriptCharacter) UnmarshalJSON(data []byte) error
- func (s *DubbingTranscriptCharacter) Validate() error
- type DubbingTranscriptResponseModel
- func (s *DubbingTranscriptResponseModel) Decode(d *jx.Decoder) error
- func (s *DubbingTranscriptResponseModel) Encode(e *jx.Encoder)
- func (s *DubbingTranscriptResponseModel) GetLanguage() string
- func (s *DubbingTranscriptResponseModel) GetUtterances() []DubbingTranscriptUtterance
- func (s *DubbingTranscriptResponseModel) MarshalJSON() ([]byte, error)
- func (s *DubbingTranscriptResponseModel) SetLanguage(val string)
- func (s *DubbingTranscriptResponseModel) SetUtterances(val []DubbingTranscriptUtterance)
- func (s *DubbingTranscriptResponseModel) UnmarshalJSON(data []byte) error
- func (s *DubbingTranscriptResponseModel) Validate() error
- type DubbingTranscriptUtterance
- func (s *DubbingTranscriptUtterance) Decode(d *jx.Decoder) error
- func (s *DubbingTranscriptUtterance) Encode(e *jx.Encoder)
- func (s *DubbingTranscriptUtterance) GetEndS() OptFloat64
- func (s *DubbingTranscriptUtterance) GetSpeakerID() OptString
- func (s *DubbingTranscriptUtterance) GetStartS() OptFloat64
- func (s *DubbingTranscriptUtterance) GetText() OptString
- func (s *DubbingTranscriptUtterance) GetWords() []DubbingTranscriptWord
- func (s *DubbingTranscriptUtterance) MarshalJSON() ([]byte, error)
- func (s *DubbingTranscriptUtterance) SetEndS(val OptFloat64)
- func (s *DubbingTranscriptUtterance) SetSpeakerID(val OptString)
- func (s *DubbingTranscriptUtterance) SetStartS(val OptFloat64)
- func (s *DubbingTranscriptUtterance) SetText(val OptString)
- func (s *DubbingTranscriptUtterance) SetWords(val []DubbingTranscriptWord)
- func (s *DubbingTranscriptUtterance) UnmarshalJSON(data []byte) error
- func (s *DubbingTranscriptUtterance) Validate() error
- type DubbingTranscriptWord
- func (s *DubbingTranscriptWord) Decode(d *jx.Decoder) error
- func (s *DubbingTranscriptWord) Encode(e *jx.Encoder)
- func (s *DubbingTranscriptWord) GetCharacters() []DubbingTranscriptCharacter
- func (s *DubbingTranscriptWord) GetEndS() OptFloat64
- func (s *DubbingTranscriptWord) GetStartS() OptFloat64
- func (s *DubbingTranscriptWord) GetText() OptString
- func (s *DubbingTranscriptWord) GetWordType() OptString
- func (s *DubbingTranscriptWord) MarshalJSON() ([]byte, error)
- func (s *DubbingTranscriptWord) SetCharacters(val []DubbingTranscriptCharacter)
- func (s *DubbingTranscriptWord) SetEndS(val OptFloat64)
- func (s *DubbingTranscriptWord) SetStartS(val OptFloat64)
- func (s *DubbingTranscriptWord) SetText(val OptString)
- func (s *DubbingTranscriptWord) SetWordType(val OptString)
- func (s *DubbingTranscriptWord) UnmarshalJSON(data []byte) error
- func (s *DubbingTranscriptWord) Validate() error
- type DuplicateAgentRouteParams
- type DuplicateAgentRouteRes
- type DynamicVariableAssignment
- func (s *DynamicVariableAssignment) Decode(d *jx.Decoder) error
- func (s *DynamicVariableAssignment) Encode(e *jx.Encoder)
- func (s *DynamicVariableAssignment) GetDynamicVariable() string
- func (s *DynamicVariableAssignment) GetSource() OptDynamicVariableAssignmentSource
- func (s *DynamicVariableAssignment) GetValuePath() string
- func (s *DynamicVariableAssignment) MarshalJSON() ([]byte, error)
- func (s *DynamicVariableAssignment) SetDynamicVariable(val string)
- func (s *DynamicVariableAssignment) SetSource(val OptDynamicVariableAssignmentSource)
- func (s *DynamicVariableAssignment) SetValuePath(val string)
- func (s *DynamicVariableAssignment) UnmarshalJSON(data []byte) error
- func (s *DynamicVariableAssignment) Validate() error
- type DynamicVariableAssignmentSource
- func (DynamicVariableAssignmentSource) AllValues() []DynamicVariableAssignmentSource
- func (s *DynamicVariableAssignmentSource) Decode(d *jx.Decoder) error
- func (s DynamicVariableAssignmentSource) Encode(e *jx.Encoder)
- func (s DynamicVariableAssignmentSource) MarshalJSON() ([]byte, error)
- func (s DynamicVariableAssignmentSource) MarshalText() ([]byte, error)
- func (s *DynamicVariableAssignmentSource) UnmarshalJSON(data []byte) error
- func (s *DynamicVariableAssignmentSource) UnmarshalText(data []byte) error
- func (s DynamicVariableAssignmentSource) Validate() error
- type DynamicVariableUpdateCommonModel
- func (s *DynamicVariableUpdateCommonModel) Decode(d *jx.Decoder) error
- func (s *DynamicVariableUpdateCommonModel) Encode(e *jx.Encoder)
- func (s *DynamicVariableUpdateCommonModel) GetNewValue() string
- func (s *DynamicVariableUpdateCommonModel) GetOldValue() NilString
- func (s *DynamicVariableUpdateCommonModel) GetToolName() string
- func (s *DynamicVariableUpdateCommonModel) GetToolRequestID() string
- func (s *DynamicVariableUpdateCommonModel) GetUpdatedAt() float64
- func (s *DynamicVariableUpdateCommonModel) GetVariableName() string
- func (s *DynamicVariableUpdateCommonModel) MarshalJSON() ([]byte, error)
- func (s *DynamicVariableUpdateCommonModel) SetNewValue(val string)
- func (s *DynamicVariableUpdateCommonModel) SetOldValue(val NilString)
- func (s *DynamicVariableUpdateCommonModel) SetToolName(val string)
- func (s *DynamicVariableUpdateCommonModel) SetToolRequestID(val string)
- func (s *DynamicVariableUpdateCommonModel) SetUpdatedAt(val float64)
- func (s *DynamicVariableUpdateCommonModel) SetVariableName(val string)
- func (s *DynamicVariableUpdateCommonModel) UnmarshalJSON(data []byte) error
- func (s *DynamicVariableUpdateCommonModel) Validate() error
- type EditProjectContentParams
- type EditProjectContentRes
- type EditProjectParams
- type EditProjectRes
- type EditProjectResponseModel
- func (s *EditProjectResponseModel) Decode(d *jx.Decoder) error
- func (s *EditProjectResponseModel) Encode(e *jx.Encoder)
- func (s *EditProjectResponseModel) GetProject() ProjectResponseModel
- func (s *EditProjectResponseModel) MarshalJSON() ([]byte, error)
- func (s *EditProjectResponseModel) SetProject(val ProjectResponseModel)
- func (s *EditProjectResponseModel) UnmarshalJSON(data []byte) error
- func (s *EditProjectResponseModel) Validate() error
- type EditPvcVoiceParams
- type EditPvcVoiceRes
- type EditPvcVoiceSampleParams
- type EditPvcVoiceSampleRes
- type EditServiceAccountAPIKeyOKApplicationJSON
- func (s *EditServiceAccountAPIKeyOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s EditServiceAccountAPIKeyOKApplicationJSON) Encode(e *jx.Encoder)
- func (s EditServiceAccountAPIKeyOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *EditServiceAccountAPIKeyOKApplicationJSON) UnmarshalJSON(data []byte) error
- type EditServiceAccountAPIKeyParams
- type EditServiceAccountAPIKeyRes
- type EditVoiceParams
- type EditVoiceRes
- type EditVoiceResponseModel
- func (s *EditVoiceResponseModel) Decode(d *jx.Decoder) error
- func (s *EditVoiceResponseModel) Encode(e *jx.Encoder)
- func (s *EditVoiceResponseModel) GetStatus() string
- func (s *EditVoiceResponseModel) MarshalJSON() ([]byte, error)
- func (s *EditVoiceResponseModel) SetStatus(val string)
- func (s *EditVoiceResponseModel) UnmarshalJSON(data []byte) error
- type EditVoiceSettingsParams
- type EditVoiceSettingsRes
- type EditVoiceSettingsResponseModel
- func (s *EditVoiceSettingsResponseModel) Decode(d *jx.Decoder) error
- func (s *EditVoiceSettingsResponseModel) Encode(e *jx.Encoder)
- func (s *EditVoiceSettingsResponseModel) GetStatus() string
- func (s *EditVoiceSettingsResponseModel) MarshalJSON() ([]byte, error)
- func (s *EditVoiceSettingsResponseModel) SetStatus(val string)
- func (s *EditVoiceSettingsResponseModel) UnmarshalJSON(data []byte) error
- type EditWorkspaceWebhookRouteParams
- type EditWorkspaceWebhookRouteRes
- type EmbeddingModelEnum
- func (EmbeddingModelEnum) AllValues() []EmbeddingModelEnum
- func (s *EmbeddingModelEnum) Decode(d *jx.Decoder) error
- func (s EmbeddingModelEnum) Encode(e *jx.Encoder)
- func (s EmbeddingModelEnum) MarshalJSON() ([]byte, error)
- func (s EmbeddingModelEnum) MarshalText() ([]byte, error)
- func (s *EmbeddingModelEnum) UnmarshalJSON(data []byte) error
- func (s *EmbeddingModelEnum) UnmarshalText(data []byte) error
- func (s EmbeddingModelEnum) Validate() error
- type EndCallToolResultModel
- func (s *EndCallToolResultModel) Decode(d *jx.Decoder) error
- func (s *EndCallToolResultModel) Encode(e *jx.Encoder)
- func (s *EndCallToolResultModel) GetMessage() OptNilString
- func (s *EndCallToolResultModel) GetReason() OptNilString
- func (s *EndCallToolResultModel) GetResultType() OptEndCallToolResultModelResultType
- func (s *EndCallToolResultModel) GetStatus() OptEndCallToolResultModelStatus
- func (s *EndCallToolResultModel) MarshalJSON() ([]byte, error)
- func (s *EndCallToolResultModel) SetMessage(val OptNilString)
- func (s *EndCallToolResultModel) SetReason(val OptNilString)
- func (s *EndCallToolResultModel) SetResultType(val OptEndCallToolResultModelResultType)
- func (s *EndCallToolResultModel) SetStatus(val OptEndCallToolResultModelStatus)
- func (s *EndCallToolResultModel) UnmarshalJSON(data []byte) error
- func (s *EndCallToolResultModel) Validate() error
- type EndCallToolResultModelResultType
- func (EndCallToolResultModelResultType) AllValues() []EndCallToolResultModelResultType
- func (s *EndCallToolResultModelResultType) Decode(d *jx.Decoder) error
- func (s EndCallToolResultModelResultType) Encode(e *jx.Encoder)
- func (s EndCallToolResultModelResultType) MarshalJSON() ([]byte, error)
- func (s EndCallToolResultModelResultType) MarshalText() ([]byte, error)
- func (s *EndCallToolResultModelResultType) UnmarshalJSON(data []byte) error
- func (s *EndCallToolResultModelResultType) UnmarshalText(data []byte) error
- func (s EndCallToolResultModelResultType) Validate() error
- type EndCallToolResultModelStatus
- func (EndCallToolResultModelStatus) AllValues() []EndCallToolResultModelStatus
- func (s *EndCallToolResultModelStatus) Decode(d *jx.Decoder) error
- func (s EndCallToolResultModelStatus) Encode(e *jx.Encoder)
- func (s EndCallToolResultModelStatus) MarshalJSON() ([]byte, error)
- func (s EndCallToolResultModelStatus) MarshalText() ([]byte, error)
- func (s *EndCallToolResultModelStatus) UnmarshalJSON(data []byte) error
- func (s *EndCallToolResultModelStatus) UnmarshalText(data []byte) error
- func (s EndCallToolResultModelStatus) Validate() error
- type ErrorHandler
- type EvaluationSuccessResult
- func (EvaluationSuccessResult) AllValues() []EvaluationSuccessResult
- func (s *EvaluationSuccessResult) Decode(d *jx.Decoder) error
- func (s EvaluationSuccessResult) Encode(e *jx.Encoder)
- func (s EvaluationSuccessResult) MarshalJSON() ([]byte, error)
- func (s EvaluationSuccessResult) MarshalText() ([]byte, error)
- func (s *EvaluationSuccessResult) UnmarshalJSON(data []byte) error
- func (s *EvaluationSuccessResult) UnmarshalText(data []byte) error
- func (s EvaluationSuccessResult) Validate() error
- type ExactParameterEvaluationStrategy
- func (s *ExactParameterEvaluationStrategy) Decode(d *jx.Decoder) error
- func (s *ExactParameterEvaluationStrategy) Encode(e *jx.Encoder)
- func (s *ExactParameterEvaluationStrategy) GetExpectedValue() string
- func (s *ExactParameterEvaluationStrategy) GetType() ExactParameterEvaluationStrategyType
- func (s *ExactParameterEvaluationStrategy) MarshalJSON() ([]byte, error)
- func (s *ExactParameterEvaluationStrategy) SetExpectedValue(val string)
- func (s *ExactParameterEvaluationStrategy) SetType(val ExactParameterEvaluationStrategyType)
- func (s *ExactParameterEvaluationStrategy) UnmarshalJSON(data []byte) error
- func (s *ExactParameterEvaluationStrategy) Validate() error
- type ExactParameterEvaluationStrategyType
- func (ExactParameterEvaluationStrategyType) AllValues() []ExactParameterEvaluationStrategyType
- func (s *ExactParameterEvaluationStrategyType) Decode(d *jx.Decoder) error
- func (s ExactParameterEvaluationStrategyType) Encode(e *jx.Encoder)
- func (s ExactParameterEvaluationStrategyType) MarshalJSON() ([]byte, error)
- func (s ExactParameterEvaluationStrategyType) MarshalText() ([]byte, error)
- func (s *ExactParameterEvaluationStrategyType) UnmarshalJSON(data []byte) error
- func (s *ExactParameterEvaluationStrategyType) UnmarshalText(data []byte) error
- func (s ExactParameterEvaluationStrategyType) Validate() error
- type ExportOptions
- func NewDocxExportOptionsExportOptions(v DocxExportOptions) ExportOptions
- func NewHtmlExportOptionsExportOptions(v HtmlExportOptions) ExportOptions
- func NewPdfExportOptionsExportOptions(v PdfExportOptions) ExportOptions
- func NewSegmentedJsonExportOptionsExportOptions(v SegmentedJsonExportOptions) ExportOptions
- func NewSrtExportOptionsExportOptions(v SrtExportOptions) ExportOptions
- func NewTxtExportOptionsExportOptions(v TxtExportOptions) ExportOptions
- func (s *ExportOptions) Decode(d *jx.Decoder) error
- func (s ExportOptions) Encode(e *jx.Encoder)
- func (s ExportOptions) GetDocxExportOptions() (v DocxExportOptions, ok bool)
- func (s ExportOptions) GetHtmlExportOptions() (v HtmlExportOptions, ok bool)
- func (s ExportOptions) GetPdfExportOptions() (v PdfExportOptions, ok bool)
- func (s ExportOptions) GetSegmentedJsonExportOptions() (v SegmentedJsonExportOptions, ok bool)
- func (s ExportOptions) GetSrtExportOptions() (v SrtExportOptions, ok bool)
- func (s ExportOptions) GetTxtExportOptions() (v TxtExportOptions, ok bool)
- func (s ExportOptions) IsDocxExportOptions() bool
- func (s ExportOptions) IsHtmlExportOptions() bool
- func (s ExportOptions) IsPdfExportOptions() bool
- func (s ExportOptions) IsSegmentedJsonExportOptions() bool
- func (s ExportOptions) IsSrtExportOptions() bool
- func (s ExportOptions) IsTxtExportOptions() bool
- func (s ExportOptions) MarshalJSON() ([]byte, error)
- func (s *ExportOptions) SetDocxExportOptions(v DocxExportOptions)
- func (s *ExportOptions) SetHtmlExportOptions(v HtmlExportOptions)
- func (s *ExportOptions) SetPdfExportOptions(v PdfExportOptions)
- func (s *ExportOptions) SetSegmentedJsonExportOptions(v SegmentedJsonExportOptions)
- func (s *ExportOptions) SetSrtExportOptions(v SrtExportOptions)
- func (s *ExportOptions) SetTxtExportOptions(v TxtExportOptions)
- func (s *ExportOptions) UnmarshalJSON(data []byte) error
- func (s ExportOptions) Validate() error
- type ExportOptionsType
- type FeatureStatusCommonModel
- func (s *FeatureStatusCommonModel) Decode(d *jx.Decoder) error
- func (s *FeatureStatusCommonModel) Encode(e *jx.Encoder)
- func (s *FeatureStatusCommonModel) GetEnabled() OptBool
- func (s *FeatureStatusCommonModel) GetUsed() OptBool
- func (s *FeatureStatusCommonModel) MarshalJSON() ([]byte, error)
- func (s *FeatureStatusCommonModel) SetEnabled(val OptBool)
- func (s *FeatureStatusCommonModel) SetUsed(val OptBool)
- func (s *FeatureStatusCommonModel) UnmarshalJSON(data []byte) error
- type FeaturesUsageCommonModel
- func (s *FeaturesUsageCommonModel) Decode(d *jx.Decoder) error
- func (s *FeaturesUsageCommonModel) Encode(e *jx.Encoder)
- func (s *FeaturesUsageCommonModel) GetAgentTesting() OptTestsFeatureUsageCommonModel
- func (s *FeaturesUsageCommonModel) GetDtmfTones() OptFeatureStatusCommonModel
- func (s *FeaturesUsageCommonModel) GetExternalMcpServers() OptFeatureStatusCommonModel
- func (s *FeaturesUsageCommonModel) GetIsLivekit() OptBool
- func (s *FeaturesUsageCommonModel) GetLanguageDetection() OptFeatureStatusCommonModel
- func (s *FeaturesUsageCommonModel) GetMultivoice() OptFeatureStatusCommonModel
- func (s *FeaturesUsageCommonModel) GetPiiZrmAgent() OptBool
- func (s *FeaturesUsageCommonModel) GetPiiZrmWorkspace() OptBool
- func (s *FeaturesUsageCommonModel) GetToolDynamicVariableUpdates() OptFeatureStatusCommonModel
- func (s *FeaturesUsageCommonModel) GetTransferToAgent() OptFeatureStatusCommonModel
- func (s *FeaturesUsageCommonModel) GetTransferToNumber() OptFeatureStatusCommonModel
- func (s *FeaturesUsageCommonModel) GetVersioning() OptFeatureStatusCommonModel
- func (s *FeaturesUsageCommonModel) GetVoicemailDetection() OptFeatureStatusCommonModel
- func (s *FeaturesUsageCommonModel) GetWorkflow() OptWorkflowFeaturesUsageCommonModel
- func (s *FeaturesUsageCommonModel) MarshalJSON() ([]byte, error)
- func (s *FeaturesUsageCommonModel) SetAgentTesting(val OptTestsFeatureUsageCommonModel)
- func (s *FeaturesUsageCommonModel) SetDtmfTones(val OptFeatureStatusCommonModel)
- func (s *FeaturesUsageCommonModel) SetExternalMcpServers(val OptFeatureStatusCommonModel)
- func (s *FeaturesUsageCommonModel) SetIsLivekit(val OptBool)
- func (s *FeaturesUsageCommonModel) SetLanguageDetection(val OptFeatureStatusCommonModel)
- func (s *FeaturesUsageCommonModel) SetMultivoice(val OptFeatureStatusCommonModel)
- func (s *FeaturesUsageCommonModel) SetPiiZrmAgent(val OptBool)
- func (s *FeaturesUsageCommonModel) SetPiiZrmWorkspace(val OptBool)
- func (s *FeaturesUsageCommonModel) SetToolDynamicVariableUpdates(val OptFeatureStatusCommonModel)
- func (s *FeaturesUsageCommonModel) SetTransferToAgent(val OptFeatureStatusCommonModel)
- func (s *FeaturesUsageCommonModel) SetTransferToNumber(val OptFeatureStatusCommonModel)
- func (s *FeaturesUsageCommonModel) SetVersioning(val OptFeatureStatusCommonModel)
- func (s *FeaturesUsageCommonModel) SetVoicemailDetection(val OptFeatureStatusCommonModel)
- func (s *FeaturesUsageCommonModel) SetWorkflow(val OptWorkflowFeaturesUsageCommonModel)
- func (s *FeaturesUsageCommonModel) UnmarshalJSON(data []byte) error
- type FeedbackResponseModel
- func (s *FeedbackResponseModel) Decode(d *jx.Decoder) error
- func (s *FeedbackResponseModel) Encode(e *jx.Encoder)
- func (s *FeedbackResponseModel) GetAudioQuality() bool
- func (s *FeedbackResponseModel) GetEmotions() bool
- func (s *FeedbackResponseModel) GetFeedback() string
- func (s *FeedbackResponseModel) GetGlitches() bool
- func (s *FeedbackResponseModel) GetInaccurateClone() bool
- func (s *FeedbackResponseModel) GetOther() bool
- func (s *FeedbackResponseModel) GetReviewStatus() OptString
- func (s *FeedbackResponseModel) GetThumbsUp() bool
- func (s *FeedbackResponseModel) MarshalJSON() ([]byte, error)
- func (s *FeedbackResponseModel) SetAudioQuality(val bool)
- func (s *FeedbackResponseModel) SetEmotions(val bool)
- func (s *FeedbackResponseModel) SetFeedback(val string)
- func (s *FeedbackResponseModel) SetGlitches(val bool)
- func (s *FeedbackResponseModel) SetInaccurateClone(val bool)
- func (s *FeedbackResponseModel) SetOther(val bool)
- func (s *FeedbackResponseModel) SetReviewStatus(val OptString)
- func (s *FeedbackResponseModel) SetThumbsUp(val bool)
- func (s *FeedbackResponseModel) UnmarshalJSON(data []byte) error
- type FineTuningResponseModel
- func (s *FineTuningResponseModel) Decode(d *jx.Decoder) error
- func (s *FineTuningResponseModel) Encode(e *jx.Encoder)
- func (s *FineTuningResponseModel) GetDatasetDurationSeconds() OptNilFloat64
- func (s *FineTuningResponseModel) GetIsAllowedToFineTune() bool
- func (s *FineTuningResponseModel) GetLanguage() OptNilString
- func (s *FineTuningResponseModel) GetManualVerification() OptManualVerificationResponseModel
- func (s *FineTuningResponseModel) GetManualVerificationRequested() bool
- func (s *FineTuningResponseModel) GetMaxVerificationAttempts() OptNilInt
- func (s *FineTuningResponseModel) GetMessage() OptNilFineTuningResponseModelMessage
- func (s *FineTuningResponseModel) GetNextMaxVerificationAttemptsResetUnixMs() OptNilInt
- func (s *FineTuningResponseModel) GetProgress() OptNilFineTuningResponseModelProgress
- func (s *FineTuningResponseModel) GetSliceIds() OptNilStringArray
- func (s *FineTuningResponseModel) GetState() FineTuningResponseModelState
- func (s *FineTuningResponseModel) GetVerificationAttempts() OptNilVerificationAttemptResponseModelArray
- func (s *FineTuningResponseModel) GetVerificationAttemptsCount() int
- func (s *FineTuningResponseModel) GetVerificationFailures() []string
- func (s *FineTuningResponseModel) MarshalJSON() ([]byte, error)
- func (s *FineTuningResponseModel) SetDatasetDurationSeconds(val OptNilFloat64)
- func (s *FineTuningResponseModel) SetIsAllowedToFineTune(val bool)
- func (s *FineTuningResponseModel) SetLanguage(val OptNilString)
- func (s *FineTuningResponseModel) SetManualVerification(val OptManualVerificationResponseModel)
- func (s *FineTuningResponseModel) SetManualVerificationRequested(val bool)
- func (s *FineTuningResponseModel) SetMaxVerificationAttempts(val OptNilInt)
- func (s *FineTuningResponseModel) SetMessage(val OptNilFineTuningResponseModelMessage)
- func (s *FineTuningResponseModel) SetNextMaxVerificationAttemptsResetUnixMs(val OptNilInt)
- func (s *FineTuningResponseModel) SetProgress(val OptNilFineTuningResponseModelProgress)
- func (s *FineTuningResponseModel) SetSliceIds(val OptNilStringArray)
- func (s *FineTuningResponseModel) SetState(val FineTuningResponseModelState)
- func (s *FineTuningResponseModel) SetVerificationAttempts(val OptNilVerificationAttemptResponseModelArray)
- func (s *FineTuningResponseModel) SetVerificationAttemptsCount(val int)
- func (s *FineTuningResponseModel) SetVerificationFailures(val []string)
- func (s *FineTuningResponseModel) UnmarshalJSON(data []byte) error
- func (s *FineTuningResponseModel) Validate() error
- type FineTuningResponseModelMessage
- type FineTuningResponseModelProgress
- func (s *FineTuningResponseModelProgress) Decode(d *jx.Decoder) error
- func (s FineTuningResponseModelProgress) Encode(e *jx.Encoder)
- func (s FineTuningResponseModelProgress) MarshalJSON() ([]byte, error)
- func (s *FineTuningResponseModelProgress) UnmarshalJSON(data []byte) error
- func (s FineTuningResponseModelProgress) Validate() error
- type FineTuningResponseModelState
- func (s *FineTuningResponseModelState) Decode(d *jx.Decoder) error
- func (s FineTuningResponseModelState) Encode(e *jx.Encoder)
- func (s FineTuningResponseModelState) MarshalJSON() ([]byte, error)
- func (s *FineTuningResponseModelState) UnmarshalJSON(data []byte) error
- func (s FineTuningResponseModelState) Validate() error
- type FineTuningResponseModelStateItem
- func (FineTuningResponseModelStateItem) AllValues() []FineTuningResponseModelStateItem
- func (s *FineTuningResponseModelStateItem) Decode(d *jx.Decoder) error
- func (s FineTuningResponseModelStateItem) Encode(e *jx.Encoder)
- func (s FineTuningResponseModelStateItem) MarshalJSON() ([]byte, error)
- func (s FineTuningResponseModelStateItem) MarshalText() ([]byte, error)
- func (s *FineTuningResponseModelStateItem) UnmarshalJSON(data []byte) error
- func (s *FineTuningResponseModelStateItem) UnmarshalText(data []byte) error
- func (s FineTuningResponseModelStateItem) Validate() error
- type ForcedAlignmentCharacterResponseModel
- func (s *ForcedAlignmentCharacterResponseModel) Decode(d *jx.Decoder) error
- func (s *ForcedAlignmentCharacterResponseModel) Encode(e *jx.Encoder)
- func (s *ForcedAlignmentCharacterResponseModel) GetEnd() float64
- func (s *ForcedAlignmentCharacterResponseModel) GetStart() float64
- func (s *ForcedAlignmentCharacterResponseModel) GetText() string
- func (s *ForcedAlignmentCharacterResponseModel) MarshalJSON() ([]byte, error)
- func (s *ForcedAlignmentCharacterResponseModel) SetEnd(val float64)
- func (s *ForcedAlignmentCharacterResponseModel) SetStart(val float64)
- func (s *ForcedAlignmentCharacterResponseModel) SetText(val string)
- func (s *ForcedAlignmentCharacterResponseModel) UnmarshalJSON(data []byte) error
- func (s *ForcedAlignmentCharacterResponseModel) Validate() error
- type ForcedAlignmentParams
- type ForcedAlignmentRes
- type ForcedAlignmentResponseModel
- func (s *ForcedAlignmentResponseModel) Decode(d *jx.Decoder) error
- func (s *ForcedAlignmentResponseModel) Encode(e *jx.Encoder)
- func (s *ForcedAlignmentResponseModel) GetCharacters() []ForcedAlignmentCharacterResponseModel
- func (s *ForcedAlignmentResponseModel) GetLoss() float64
- func (s *ForcedAlignmentResponseModel) GetWords() []ForcedAlignmentWordResponseModel
- func (s *ForcedAlignmentResponseModel) MarshalJSON() ([]byte, error)
- func (s *ForcedAlignmentResponseModel) SetCharacters(val []ForcedAlignmentCharacterResponseModel)
- func (s *ForcedAlignmentResponseModel) SetLoss(val float64)
- func (s *ForcedAlignmentResponseModel) SetWords(val []ForcedAlignmentWordResponseModel)
- func (s *ForcedAlignmentResponseModel) UnmarshalJSON(data []byte) error
- func (s *ForcedAlignmentResponseModel) Validate() error
- type ForcedAlignmentWordResponseModel
- func (s *ForcedAlignmentWordResponseModel) Decode(d *jx.Decoder) error
- func (s *ForcedAlignmentWordResponseModel) Encode(e *jx.Encoder)
- func (s *ForcedAlignmentWordResponseModel) GetEnd() float64
- func (s *ForcedAlignmentWordResponseModel) GetLoss() float64
- func (s *ForcedAlignmentWordResponseModel) GetStart() float64
- func (s *ForcedAlignmentWordResponseModel) GetText() string
- func (s *ForcedAlignmentWordResponseModel) MarshalJSON() ([]byte, error)
- func (s *ForcedAlignmentWordResponseModel) SetEnd(val float64)
- func (s *ForcedAlignmentWordResponseModel) SetLoss(val float64)
- func (s *ForcedAlignmentWordResponseModel) SetStart(val float64)
- func (s *ForcedAlignmentWordResponseModel) SetText(val string)
- func (s *ForcedAlignmentWordResponseModel) UnmarshalJSON(data []byte) error
- func (s *ForcedAlignmentWordResponseModel) Validate() error
- type GenerateOK
- type GenerateOKHeaders
- func (s *GenerateOKHeaders) GetContentType() string
- func (s *GenerateOKHeaders) GetResponse() GenerateOK
- func (s *GenerateOKHeaders) GetSongID() OptString
- func (s *GenerateOKHeaders) SetContentType(val string)
- func (s *GenerateOKHeaders) SetResponse(val GenerateOK)
- func (s *GenerateOKHeaders) SetSongID(val OptString)
- type GenerateOutputFormat
- type GenerateParams
- type GenerateRandomVoiceOK
- type GenerateRandomVoiceParams
- type GenerateRandomVoiceRes
- type GenerateRes
- type GetAgentKnowledgeBaseSizeParams
- type GetAgentKnowledgeBaseSizeRes
- type GetAgentKnowledgeBaseSummariesRouteOK
- func (s *GetAgentKnowledgeBaseSummariesRouteOK) Decode(d *jx.Decoder) error
- func (s GetAgentKnowledgeBaseSummariesRouteOK) Encode(e *jx.Encoder)
- func (s GetAgentKnowledgeBaseSummariesRouteOK) MarshalJSON() ([]byte, error)
- func (s *GetAgentKnowledgeBaseSummariesRouteOK) UnmarshalJSON(data []byte) error
- func (s GetAgentKnowledgeBaseSummariesRouteOK) Validate() error
- type GetAgentKnowledgeBaseSummariesRouteOKItem
- func NewBatchFailureResponseModelGetAgentKnowledgeBaseSummariesRouteOKItem(v BatchFailureResponseModel) GetAgentKnowledgeBaseSummariesRouteOKItem
- func NewKnowledgeBaseSummaryBatchSuccessfulResponseModelGetAgentKnowledgeBaseSummariesRouteOKItem(v KnowledgeBaseSummaryBatchSuccessfulResponseModel) GetAgentKnowledgeBaseSummariesRouteOKItem
- func (s *GetAgentKnowledgeBaseSummariesRouteOKItem) Decode(d *jx.Decoder) error
- func (s GetAgentKnowledgeBaseSummariesRouteOKItem) Encode(e *jx.Encoder)
- func (s GetAgentKnowledgeBaseSummariesRouteOKItem) GetBatchFailureResponseModel() (v BatchFailureResponseModel, ok bool)
- func (s GetAgentKnowledgeBaseSummariesRouteOKItem) GetKnowledgeBaseSummaryBatchSuccessfulResponseModel() (v KnowledgeBaseSummaryBatchSuccessfulResponseModel, ok bool)
- func (s GetAgentKnowledgeBaseSummariesRouteOKItem) IsBatchFailureResponseModel() bool
- func (s GetAgentKnowledgeBaseSummariesRouteOKItem) IsKnowledgeBaseSummaryBatchSuccessfulResponseModel() bool
- func (s GetAgentKnowledgeBaseSummariesRouteOKItem) MarshalJSON() ([]byte, error)
- func (s *GetAgentKnowledgeBaseSummariesRouteOKItem) SetBatchFailureResponseModel(v BatchFailureResponseModel)
- func (s *GetAgentKnowledgeBaseSummariesRouteOKItem) SetKnowledgeBaseSummaryBatchSuccessfulResponseModel(v KnowledgeBaseSummaryBatchSuccessfulResponseModel)
- func (s *GetAgentKnowledgeBaseSummariesRouteOKItem) UnmarshalJSON(data []byte) error
- func (s GetAgentKnowledgeBaseSummariesRouteOKItem) Validate() error
- type GetAgentKnowledgeBaseSummariesRouteOKItemType
- type GetAgentKnowledgeBaseSummariesRouteParams
- type GetAgentKnowledgeBaseSummariesRouteRes
- type GetAgentKnowledgebaseSizeResponseModel
- func (s *GetAgentKnowledgebaseSizeResponseModel) Decode(d *jx.Decoder) error
- func (s *GetAgentKnowledgebaseSizeResponseModel) Encode(e *jx.Encoder)
- func (s *GetAgentKnowledgebaseSizeResponseModel) GetNumberOfPages() float64
- func (s *GetAgentKnowledgebaseSizeResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetAgentKnowledgebaseSizeResponseModel) SetNumberOfPages(val float64)
- func (s *GetAgentKnowledgebaseSizeResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetAgentKnowledgebaseSizeResponseModel) Validate() error
- type GetAgentLinkResponseModel
- func (s *GetAgentLinkResponseModel) Decode(d *jx.Decoder) error
- func (s *GetAgentLinkResponseModel) Encode(e *jx.Encoder)
- func (s *GetAgentLinkResponseModel) GetAgentID() string
- func (s *GetAgentLinkResponseModel) GetToken() OptConversationTokenDBModel
- func (s *GetAgentLinkResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetAgentLinkResponseModel) SetAgentID(val string)
- func (s *GetAgentLinkResponseModel) SetToken(val OptConversationTokenDBModel)
- func (s *GetAgentLinkResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetAgentLinkResponseModel) Validate() error
- type GetAgentLinkRouteParams
- type GetAgentLinkRouteRes
- type GetAgentLlmExpectedCostCalculationParams
- type GetAgentLlmExpectedCostCalculationRes
- type GetAgentResponseTestRouteParams
- type GetAgentResponseTestRouteRes
- type GetAgentResponseTestsSummariesRouteParams
- type GetAgentResponseTestsSummariesRouteRes
- type GetAgentsPageResponseModel
- func (s *GetAgentsPageResponseModel) Decode(d *jx.Decoder) error
- func (s *GetAgentsPageResponseModel) Encode(e *jx.Encoder)
- func (s *GetAgentsPageResponseModel) GetAgents() []AgentSummaryResponseModel
- func (s *GetAgentsPageResponseModel) GetHasMore() bool
- func (s *GetAgentsPageResponseModel) GetNextCursor() OptNilString
- func (s *GetAgentsPageResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetAgentsPageResponseModel) SetAgents(val []AgentSummaryResponseModel)
- func (s *GetAgentsPageResponseModel) SetHasMore(val bool)
- func (s *GetAgentsPageResponseModel) SetNextCursor(val OptNilString)
- func (s *GetAgentsPageResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetAgentsPageResponseModel) Validate() error
- type GetAgentsRouteParams
- type GetAgentsRouteRes
- type GetAudioFromSampleOK
- type GetAudioFromSampleOKHeaders
- type GetAudioFromSampleParams
- type GetAudioFromSampleRes
- type GetAudioFullFromSpeechHistoryItemOK
- type GetAudioFullFromSpeechHistoryItemParams
- type GetAudioFullFromSpeechHistoryItemRes
- type GetAudioNativeProjectSettingsEndpointParams
- type GetAudioNativeProjectSettingsEndpointRes
- type GetAudioNativeProjectSettingsResponseModel
- func (s *GetAudioNativeProjectSettingsResponseModel) Decode(d *jx.Decoder) error
- func (s *GetAudioNativeProjectSettingsResponseModel) Encode(e *jx.Encoder)
- func (s *GetAudioNativeProjectSettingsResponseModel) GetEnabled() bool
- func (s *GetAudioNativeProjectSettingsResponseModel) GetSettings() OptAudioNativeProjectSettingsResponseModel
- func (s *GetAudioNativeProjectSettingsResponseModel) GetSnapshotID() OptNilString
- func (s *GetAudioNativeProjectSettingsResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetAudioNativeProjectSettingsResponseModel) SetEnabled(val bool)
- func (s *GetAudioNativeProjectSettingsResponseModel) SetSettings(val OptAudioNativeProjectSettingsResponseModel)
- func (s *GetAudioNativeProjectSettingsResponseModel) SetSnapshotID(val OptNilString)
- func (s *GetAudioNativeProjectSettingsResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetAudioNativeProjectSettingsResponseModel) Validate() error
- type GetBatchCallParams
- type GetBatchCallRes
- type GetChapterSnapshotEndpointParams
- type GetChapterSnapshotEndpointRes
- type GetChapterSnapshotsParams
- type GetChapterSnapshotsRes
- type GetChaptersParams
- type GetChaptersRes
- type GetChaptersResponseModel
- func (s *GetChaptersResponseModel) Decode(d *jx.Decoder) error
- func (s *GetChaptersResponseModel) Encode(e *jx.Encoder)
- func (s *GetChaptersResponseModel) GetChapters() []ChapterResponseModel
- func (s *GetChaptersResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetChaptersResponseModel) SetChapters(val []ChapterResponseModel)
- func (s *GetChaptersResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetChaptersResponseModel) Validate() error
- type GetConvAIDashboardSettingsResponseModel
- func (s *GetConvAIDashboardSettingsResponseModel) Decode(d *jx.Decoder) error
- func (s *GetConvAIDashboardSettingsResponseModel) Encode(e *jx.Encoder)
- func (s *GetConvAIDashboardSettingsResponseModel) GetCharts() []GetConvAIDashboardSettingsResponseModelChartsItem
- func (s *GetConvAIDashboardSettingsResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetConvAIDashboardSettingsResponseModel) SetCharts(val []GetConvAIDashboardSettingsResponseModelChartsItem)
- func (s *GetConvAIDashboardSettingsResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetConvAIDashboardSettingsResponseModel) Validate() error
- type GetConvAIDashboardSettingsResponseModelChartsItem
- func NewDashboardCallSuccessChartModelGetConvAIDashboardSettingsResponseModelChartsItem(v DashboardCallSuccessChartModel) GetConvAIDashboardSettingsResponseModelChartsItem
- func NewDashboardCriteriaChartModelGetConvAIDashboardSettingsResponseModelChartsItem(v DashboardCriteriaChartModel) GetConvAIDashboardSettingsResponseModelChartsItem
- func NewDashboardDataCollectionChartModelGetConvAIDashboardSettingsResponseModelChartsItem(v DashboardDataCollectionChartModel) GetConvAIDashboardSettingsResponseModelChartsItem
- func (s *GetConvAIDashboardSettingsResponseModelChartsItem) Decode(d *jx.Decoder) error
- func (s GetConvAIDashboardSettingsResponseModelChartsItem) Encode(e *jx.Encoder)
- func (s GetConvAIDashboardSettingsResponseModelChartsItem) GetDashboardCallSuccessChartModel() (v DashboardCallSuccessChartModel, ok bool)
- func (s GetConvAIDashboardSettingsResponseModelChartsItem) GetDashboardCriteriaChartModel() (v DashboardCriteriaChartModel, ok bool)
- func (s GetConvAIDashboardSettingsResponseModelChartsItem) GetDashboardDataCollectionChartModel() (v DashboardDataCollectionChartModel, ok bool)
- func (s GetConvAIDashboardSettingsResponseModelChartsItem) IsDashboardCallSuccessChartModel() bool
- func (s GetConvAIDashboardSettingsResponseModelChartsItem) IsDashboardCriteriaChartModel() bool
- func (s GetConvAIDashboardSettingsResponseModelChartsItem) IsDashboardDataCollectionChartModel() bool
- func (s GetConvAIDashboardSettingsResponseModelChartsItem) MarshalJSON() ([]byte, error)
- func (s *GetConvAIDashboardSettingsResponseModelChartsItem) SetDashboardCallSuccessChartModel(v DashboardCallSuccessChartModel)
- func (s *GetConvAIDashboardSettingsResponseModelChartsItem) SetDashboardCriteriaChartModel(v DashboardCriteriaChartModel)
- func (s *GetConvAIDashboardSettingsResponseModelChartsItem) SetDashboardDataCollectionChartModel(v DashboardDataCollectionChartModel)
- func (s *GetConvAIDashboardSettingsResponseModelChartsItem) UnmarshalJSON(data []byte) error
- func (s GetConvAIDashboardSettingsResponseModelChartsItem) Validate() error
- type GetConvAIDashboardSettingsResponseModelChartsItemType
- type GetConvAISettingsResponseModel
- func (s *GetConvAISettingsResponseModel) Decode(d *jx.Decoder) error
- func (s *GetConvAISettingsResponseModel) Encode(e *jx.Encoder)
- func (s *GetConvAISettingsResponseModel) GetCanUseMcpServers() OptBool
- func (s *GetConvAISettingsResponseModel) GetConversationInitiationClientDataWebhook() OptConversationInitiationClientDataWebhook
- func (s *GetConvAISettingsResponseModel) GetDefaultLivekitStack() OptLivekitStackType
- func (s *GetConvAISettingsResponseModel) GetRagRetentionPeriodDays() OptInt
- func (s *GetConvAISettingsResponseModel) GetWebhooks() OptConvAIWebhooks
- func (s *GetConvAISettingsResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetConvAISettingsResponseModel) SetCanUseMcpServers(val OptBool)
- func (s *GetConvAISettingsResponseModel) SetConversationInitiationClientDataWebhook(val OptConversationInitiationClientDataWebhook)
- func (s *GetConvAISettingsResponseModel) SetDefaultLivekitStack(val OptLivekitStackType)
- func (s *GetConvAISettingsResponseModel) SetRagRetentionPeriodDays(val OptInt)
- func (s *GetConvAISettingsResponseModel) SetWebhooks(val OptConvAIWebhooks)
- func (s *GetConvAISettingsResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetConvAISettingsResponseModel) Validate() error
- type GetConversationAudioRouteOK
- type GetConversationAudioRouteParams
- type GetConversationAudioRouteRes
- type GetConversationHistoriesRouteParams
- type GetConversationHistoriesRouteRes
- type GetConversationHistoriesRouteSummaryMode
- func (GetConversationHistoriesRouteSummaryMode) AllValues() []GetConversationHistoriesRouteSummaryMode
- func (s GetConversationHistoriesRouteSummaryMode) MarshalText() ([]byte, error)
- func (s *GetConversationHistoriesRouteSummaryMode) UnmarshalText(data []byte) error
- func (s GetConversationHistoriesRouteSummaryMode) Validate() error
- type GetConversationHistoryRouteParams
- type GetConversationHistoryRouteRes
- type GetConversationResponseModel
- func (s *GetConversationResponseModel) Decode(d *jx.Decoder) error
- func (s *GetConversationResponseModel) Encode(e *jx.Encoder)
- func (s *GetConversationResponseModel) GetAgentID() string
- func (s *GetConversationResponseModel) GetAnalysis() OptConversationHistoryAnalysisCommonModel
- func (s *GetConversationResponseModel) GetBranchID() OptNilString
- func (s *GetConversationResponseModel) GetConversationID() string
- func (s *GetConversationResponseModel) GetConversationInitiationClientData() OptConversationInitiationClientDataRequestOutput
- func (s *GetConversationResponseModel) GetHasAudio() bool
- func (s *GetConversationResponseModel) GetHasResponseAudio() bool
- func (s *GetConversationResponseModel) GetHasUserAudio() bool
- func (s *GetConversationResponseModel) GetMetadata() ConversationHistoryMetadataCommonModel
- func (s *GetConversationResponseModel) GetStatus() GetConversationResponseModelStatus
- func (s *GetConversationResponseModel) GetTranscript() []ConversationHistoryTranscriptCommonModelOutput
- func (s *GetConversationResponseModel) GetUserID() OptNilString
- func (s *GetConversationResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetConversationResponseModel) SetAgentID(val string)
- func (s *GetConversationResponseModel) SetAnalysis(val OptConversationHistoryAnalysisCommonModel)
- func (s *GetConversationResponseModel) SetBranchID(val OptNilString)
- func (s *GetConversationResponseModel) SetConversationID(val string)
- func (s *GetConversationResponseModel) SetConversationInitiationClientData(val OptConversationInitiationClientDataRequestOutput)
- func (s *GetConversationResponseModel) SetHasAudio(val bool)
- func (s *GetConversationResponseModel) SetHasResponseAudio(val bool)
- func (s *GetConversationResponseModel) SetHasUserAudio(val bool)
- func (s *GetConversationResponseModel) SetMetadata(val ConversationHistoryMetadataCommonModel)
- func (s *GetConversationResponseModel) SetStatus(val GetConversationResponseModelStatus)
- func (s *GetConversationResponseModel) SetTranscript(val []ConversationHistoryTranscriptCommonModelOutput)
- func (s *GetConversationResponseModel) SetUserID(val OptNilString)
- func (s *GetConversationResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetConversationResponseModel) Validate() error
- type GetConversationResponseModelStatus
- func (GetConversationResponseModelStatus) AllValues() []GetConversationResponseModelStatus
- func (s *GetConversationResponseModelStatus) Decode(d *jx.Decoder) error
- func (s GetConversationResponseModelStatus) Encode(e *jx.Encoder)
- func (s GetConversationResponseModelStatus) MarshalJSON() ([]byte, error)
- func (s GetConversationResponseModelStatus) MarshalText() ([]byte, error)
- func (s *GetConversationResponseModelStatus) UnmarshalJSON(data []byte) error
- func (s *GetConversationResponseModelStatus) UnmarshalText(data []byte) error
- func (s GetConversationResponseModelStatus) Validate() error
- type GetConversationSignedLinkParams
- type GetConversationSignedLinkRes
- type GetConversationsPageResponseModel
- func (s *GetConversationsPageResponseModel) Decode(d *jx.Decoder) error
- func (s *GetConversationsPageResponseModel) Encode(e *jx.Encoder)
- func (s *GetConversationsPageResponseModel) GetConversations() []ConversationSummaryResponseModel
- func (s *GetConversationsPageResponseModel) GetHasMore() bool
- func (s *GetConversationsPageResponseModel) GetNextCursor() OptNilString
- func (s *GetConversationsPageResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetConversationsPageResponseModel) SetConversations(val []ConversationSummaryResponseModel)
- func (s *GetConversationsPageResponseModel) SetHasMore(val bool)
- func (s *GetConversationsPageResponseModel) SetNextCursor(val OptNilString)
- func (s *GetConversationsPageResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetConversationsPageResponseModel) Validate() error
- type GetDashboardSettingsRouteParams
- type GetDashboardSettingsRouteRes
- type GetDocumentationChunkFromKnowledgeBaseParams
- type GetDocumentationChunkFromKnowledgeBaseRes
- type GetDocumentationFromKnowledgeBaseOK
- func NewGetKnowledgeBaseFileResponseModelGetDocumentationFromKnowledgeBaseOK(v GetKnowledgeBaseFileResponseModel) GetDocumentationFromKnowledgeBaseOK
- func NewGetKnowledgeBaseFolderResponseModelGetDocumentationFromKnowledgeBaseOK(v GetKnowledgeBaseFolderResponseModel) GetDocumentationFromKnowledgeBaseOK
- func NewGetKnowledgeBaseTextResponseModelGetDocumentationFromKnowledgeBaseOK(v GetKnowledgeBaseTextResponseModel) GetDocumentationFromKnowledgeBaseOK
- func NewGetKnowledgeBaseURLResponseModelGetDocumentationFromKnowledgeBaseOK(v GetKnowledgeBaseURLResponseModel) GetDocumentationFromKnowledgeBaseOK
- func (s *GetDocumentationFromKnowledgeBaseOK) Decode(d *jx.Decoder) error
- func (s GetDocumentationFromKnowledgeBaseOK) Encode(e *jx.Encoder)
- func (s GetDocumentationFromKnowledgeBaseOK) GetGetKnowledgeBaseFileResponseModel() (v GetKnowledgeBaseFileResponseModel, ok bool)
- func (s GetDocumentationFromKnowledgeBaseOK) GetGetKnowledgeBaseFolderResponseModel() (v GetKnowledgeBaseFolderResponseModel, ok bool)
- func (s GetDocumentationFromKnowledgeBaseOK) GetGetKnowledgeBaseTextResponseModel() (v GetKnowledgeBaseTextResponseModel, ok bool)
- func (s GetDocumentationFromKnowledgeBaseOK) GetGetKnowledgeBaseURLResponseModel() (v GetKnowledgeBaseURLResponseModel, ok bool)
- func (s GetDocumentationFromKnowledgeBaseOK) IsGetKnowledgeBaseFileResponseModel() bool
- func (s GetDocumentationFromKnowledgeBaseOK) IsGetKnowledgeBaseFolderResponseModel() bool
- func (s GetDocumentationFromKnowledgeBaseOK) IsGetKnowledgeBaseTextResponseModel() bool
- func (s GetDocumentationFromKnowledgeBaseOK) IsGetKnowledgeBaseURLResponseModel() bool
- func (s GetDocumentationFromKnowledgeBaseOK) MarshalJSON() ([]byte, error)
- func (s *GetDocumentationFromKnowledgeBaseOK) SetGetKnowledgeBaseFileResponseModel(v GetKnowledgeBaseFileResponseModel)
- func (s *GetDocumentationFromKnowledgeBaseOK) SetGetKnowledgeBaseFolderResponseModel(v GetKnowledgeBaseFolderResponseModel)
- func (s *GetDocumentationFromKnowledgeBaseOK) SetGetKnowledgeBaseTextResponseModel(v GetKnowledgeBaseTextResponseModel)
- func (s *GetDocumentationFromKnowledgeBaseOK) SetGetKnowledgeBaseURLResponseModel(v GetKnowledgeBaseURLResponseModel)
- func (s *GetDocumentationFromKnowledgeBaseOK) UnmarshalJSON(data []byte) error
- func (s GetDocumentationFromKnowledgeBaseOK) Validate() error
- type GetDocumentationFromKnowledgeBaseOKType
- type GetDocumentationFromKnowledgeBaseParams
- type GetDocumentationFromKnowledgeBaseRes
- type GetDubbedFileForbiddenApplicationJSON
- func (s *GetDubbedFileForbiddenApplicationJSON) Decode(d *jx.Decoder) error
- func (s GetDubbedFileForbiddenApplicationJSON) Encode(e *jx.Encoder)
- func (s GetDubbedFileForbiddenApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *GetDubbedFileForbiddenApplicationJSON) UnmarshalJSON(data []byte) error
- type GetDubbedFileNotFoundApplicationJSON
- type GetDubbedFileOKAudioMpeg
- type GetDubbedFileOKVideoMP4
- type GetDubbedFileParams
- type GetDubbedFileRes
- type GetDubbedFileTooEarlyApplicationJSON
- type GetDubbedMetadataParams
- type GetDubbedMetadataRes
- type GetDubbedTranscriptFileForbiddenApplicationJSON
- func (s *GetDubbedTranscriptFileForbiddenApplicationJSON) Decode(d *jx.Decoder) error
- func (s GetDubbedTranscriptFileForbiddenApplicationJSON) Encode(e *jx.Encoder)
- func (s GetDubbedTranscriptFileForbiddenApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *GetDubbedTranscriptFileForbiddenApplicationJSON) UnmarshalJSON(data []byte) error
- type GetDubbedTranscriptFileFormatType
- type GetDubbedTranscriptFileNotFoundApplicationJSON
- func (s *GetDubbedTranscriptFileNotFoundApplicationJSON) Decode(d *jx.Decoder) error
- func (s GetDubbedTranscriptFileNotFoundApplicationJSON) Encode(e *jx.Encoder)
- func (s GetDubbedTranscriptFileNotFoundApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *GetDubbedTranscriptFileNotFoundApplicationJSON) UnmarshalJSON(data []byte) error
- type GetDubbedTranscriptFileOKApplicationJSON
- func (s *GetDubbedTranscriptFileOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s GetDubbedTranscriptFileOKApplicationJSON) Encode(e *jx.Encoder)
- func (s GetDubbedTranscriptFileOKApplicationJSON) GetDubbingTranscriptResponseModel() (v DubbingTranscriptResponseModel, ok bool)
- func (s GetDubbedTranscriptFileOKApplicationJSON) GetString() (v string, ok bool)
- func (s GetDubbedTranscriptFileOKApplicationJSON) IsDubbingTranscriptResponseModel() bool
- func (s GetDubbedTranscriptFileOKApplicationJSON) IsString() bool
- func (s GetDubbedTranscriptFileOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *GetDubbedTranscriptFileOKApplicationJSON) SetDubbingTranscriptResponseModel(v DubbingTranscriptResponseModel)
- func (s *GetDubbedTranscriptFileOKApplicationJSON) SetString(v string)
- func (s *GetDubbedTranscriptFileOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s GetDubbedTranscriptFileOKApplicationJSON) Validate() error
- type GetDubbedTranscriptFileOKApplicationJSONType
- type GetDubbedTranscriptFileOKTextPlain
- type GetDubbedTranscriptFileParams
- type GetDubbedTranscriptFileRes
- type GetDubbedTranscriptFileTooEarlyApplicationJSON
- func (s *GetDubbedTranscriptFileTooEarlyApplicationJSON) Decode(d *jx.Decoder) error
- func (s GetDubbedTranscriptFileTooEarlyApplicationJSON) Encode(e *jx.Encoder)
- func (s GetDubbedTranscriptFileTooEarlyApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *GetDubbedTranscriptFileTooEarlyApplicationJSON) UnmarshalJSON(data []byte) error
- type GetDubbingResourceParams
- type GetDubbingResourceRes
- type GetKnowledgeBaseContentOK
- type GetKnowledgeBaseContentParams
- type GetKnowledgeBaseContentRes
- type GetKnowledgeBaseDependentAgentsParams
- type GetKnowledgeBaseDependentAgentsRes
- type GetKnowledgeBaseDependentAgentsResponseModel
- func (s *GetKnowledgeBaseDependentAgentsResponseModel) Decode(d *jx.Decoder) error
- func (s *GetKnowledgeBaseDependentAgentsResponseModel) Encode(e *jx.Encoder)
- func (s *GetKnowledgeBaseDependentAgentsResponseModel) GetAgents() []GetKnowledgeBaseDependentAgentsResponseModelAgentsItem
- func (s *GetKnowledgeBaseDependentAgentsResponseModel) GetHasMore() bool
- func (s *GetKnowledgeBaseDependentAgentsResponseModel) GetNextCursor() OptNilString
- func (s *GetKnowledgeBaseDependentAgentsResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetKnowledgeBaseDependentAgentsResponseModel) SetAgents(val []GetKnowledgeBaseDependentAgentsResponseModelAgentsItem)
- func (s *GetKnowledgeBaseDependentAgentsResponseModel) SetHasMore(val bool)
- func (s *GetKnowledgeBaseDependentAgentsResponseModel) SetNextCursor(val OptNilString)
- func (s *GetKnowledgeBaseDependentAgentsResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseDependentAgentsResponseModel) Validate() error
- type GetKnowledgeBaseDependentAgentsResponseModelAgentsItem
- func NewDependentAvailableAgentIdentifierGetKnowledgeBaseDependentAgentsResponseModelAgentsItem(v DependentAvailableAgentIdentifier) GetKnowledgeBaseDependentAgentsResponseModelAgentsItem
- func NewDependentUnknownAgentIdentifierGetKnowledgeBaseDependentAgentsResponseModelAgentsItem(v DependentUnknownAgentIdentifier) GetKnowledgeBaseDependentAgentsResponseModelAgentsItem
- func (s *GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) Decode(d *jx.Decoder) error
- func (s GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) Encode(e *jx.Encoder)
- func (s GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) GetDependentAvailableAgentIdentifier() (v DependentAvailableAgentIdentifier, ok bool)
- func (s GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) GetDependentUnknownAgentIdentifier() (v DependentUnknownAgentIdentifier, ok bool)
- func (s GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) IsDependentAvailableAgentIdentifier() bool
- func (s GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) IsDependentUnknownAgentIdentifier() bool
- func (s GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) MarshalJSON() ([]byte, error)
- func (s *GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) SetDependentAvailableAgentIdentifier(v DependentAvailableAgentIdentifier)
- func (s *GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) SetDependentUnknownAgentIdentifier(v DependentUnknownAgentIdentifier)
- func (s *GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) UnmarshalJSON(data []byte) error
- func (s GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) Validate() error
- type GetKnowledgeBaseDependentAgentsResponseModelAgentsItemType
- type GetKnowledgeBaseFileResponseModel
- func (s *GetKnowledgeBaseFileResponseModel) Decode(d *jx.Decoder) error
- func (s *GetKnowledgeBaseFileResponseModel) Encode(e *jx.Encoder)
- func (s *GetKnowledgeBaseFileResponseModel) GetAccessInfo() ResourceAccessInfo
- func (s *GetKnowledgeBaseFileResponseModel) GetExtractedInnerHTML() string
- func (s *GetKnowledgeBaseFileResponseModel) GetFolderParentID() OptNilString
- func (s *GetKnowledgeBaseFileResponseModel) GetFolderPath() []KnowledgeBaseFolderPathSegmentResponseModel
- func (s *GetKnowledgeBaseFileResponseModel) GetID() string
- func (s *GetKnowledgeBaseFileResponseModel) GetMetadata() KnowledgeBaseDocumentMetadataResponseModel
- func (s *GetKnowledgeBaseFileResponseModel) GetName() string
- func (s *GetKnowledgeBaseFileResponseModel) GetSupportedUsages() []DocumentUsageModeEnum
- func (s *GetKnowledgeBaseFileResponseModel) GetType() GetKnowledgeBaseFileResponseModelType
- func (s *GetKnowledgeBaseFileResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetKnowledgeBaseFileResponseModel) SetAccessInfo(val ResourceAccessInfo)
- func (s *GetKnowledgeBaseFileResponseModel) SetExtractedInnerHTML(val string)
- func (s *GetKnowledgeBaseFileResponseModel) SetFolderParentID(val OptNilString)
- func (s *GetKnowledgeBaseFileResponseModel) SetFolderPath(val []KnowledgeBaseFolderPathSegmentResponseModel)
- func (s *GetKnowledgeBaseFileResponseModel) SetID(val string)
- func (s *GetKnowledgeBaseFileResponseModel) SetMetadata(val KnowledgeBaseDocumentMetadataResponseModel)
- func (s *GetKnowledgeBaseFileResponseModel) SetName(val string)
- func (s *GetKnowledgeBaseFileResponseModel) SetSupportedUsages(val []DocumentUsageModeEnum)
- func (s *GetKnowledgeBaseFileResponseModel) SetType(val GetKnowledgeBaseFileResponseModelType)
- func (s *GetKnowledgeBaseFileResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseFileResponseModel) Validate() error
- type GetKnowledgeBaseFileResponseModelType
- func (GetKnowledgeBaseFileResponseModelType) AllValues() []GetKnowledgeBaseFileResponseModelType
- func (s *GetKnowledgeBaseFileResponseModelType) Decode(d *jx.Decoder) error
- func (s GetKnowledgeBaseFileResponseModelType) Encode(e *jx.Encoder)
- func (s GetKnowledgeBaseFileResponseModelType) MarshalJSON() ([]byte, error)
- func (s GetKnowledgeBaseFileResponseModelType) MarshalText() ([]byte, error)
- func (s *GetKnowledgeBaseFileResponseModelType) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseFileResponseModelType) UnmarshalText(data []byte) error
- func (s GetKnowledgeBaseFileResponseModelType) Validate() error
- type GetKnowledgeBaseFolderResponseModel
- func (s *GetKnowledgeBaseFolderResponseModel) Decode(d *jx.Decoder) error
- func (s *GetKnowledgeBaseFolderResponseModel) Encode(e *jx.Encoder)
- func (s *GetKnowledgeBaseFolderResponseModel) GetAccessInfo() ResourceAccessInfo
- func (s *GetKnowledgeBaseFolderResponseModel) GetChildrenCount() int
- func (s *GetKnowledgeBaseFolderResponseModel) GetFolderParentID() OptNilString
- func (s *GetKnowledgeBaseFolderResponseModel) GetFolderPath() []KnowledgeBaseFolderPathSegmentResponseModel
- func (s *GetKnowledgeBaseFolderResponseModel) GetID() string
- func (s *GetKnowledgeBaseFolderResponseModel) GetMetadata() KnowledgeBaseDocumentMetadataResponseModel
- func (s *GetKnowledgeBaseFolderResponseModel) GetName() string
- func (s *GetKnowledgeBaseFolderResponseModel) GetSupportedUsages() []DocumentUsageModeEnum
- func (s *GetKnowledgeBaseFolderResponseModel) GetType() GetKnowledgeBaseFolderResponseModelType
- func (s *GetKnowledgeBaseFolderResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetKnowledgeBaseFolderResponseModel) SetAccessInfo(val ResourceAccessInfo)
- func (s *GetKnowledgeBaseFolderResponseModel) SetChildrenCount(val int)
- func (s *GetKnowledgeBaseFolderResponseModel) SetFolderParentID(val OptNilString)
- func (s *GetKnowledgeBaseFolderResponseModel) SetFolderPath(val []KnowledgeBaseFolderPathSegmentResponseModel)
- func (s *GetKnowledgeBaseFolderResponseModel) SetID(val string)
- func (s *GetKnowledgeBaseFolderResponseModel) SetMetadata(val KnowledgeBaseDocumentMetadataResponseModel)
- func (s *GetKnowledgeBaseFolderResponseModel) SetName(val string)
- func (s *GetKnowledgeBaseFolderResponseModel) SetSupportedUsages(val []DocumentUsageModeEnum)
- func (s *GetKnowledgeBaseFolderResponseModel) SetType(val GetKnowledgeBaseFolderResponseModelType)
- func (s *GetKnowledgeBaseFolderResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseFolderResponseModel) Validate() error
- type GetKnowledgeBaseFolderResponseModelType
- func (GetKnowledgeBaseFolderResponseModelType) AllValues() []GetKnowledgeBaseFolderResponseModelType
- func (s *GetKnowledgeBaseFolderResponseModelType) Decode(d *jx.Decoder) error
- func (s GetKnowledgeBaseFolderResponseModelType) Encode(e *jx.Encoder)
- func (s GetKnowledgeBaseFolderResponseModelType) MarshalJSON() ([]byte, error)
- func (s GetKnowledgeBaseFolderResponseModelType) MarshalText() ([]byte, error)
- func (s *GetKnowledgeBaseFolderResponseModelType) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseFolderResponseModelType) UnmarshalText(data []byte) error
- func (s GetKnowledgeBaseFolderResponseModelType) Validate() error
- type GetKnowledgeBaseListResponseModel
- func (s *GetKnowledgeBaseListResponseModel) Decode(d *jx.Decoder) error
- func (s *GetKnowledgeBaseListResponseModel) Encode(e *jx.Encoder)
- func (s *GetKnowledgeBaseListResponseModel) GetDocuments() []GetKnowledgeBaseListResponseModelDocumentsItem
- func (s *GetKnowledgeBaseListResponseModel) GetHasMore() bool
- func (s *GetKnowledgeBaseListResponseModel) GetNextCursor() OptNilString
- func (s *GetKnowledgeBaseListResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetKnowledgeBaseListResponseModel) SetDocuments(val []GetKnowledgeBaseListResponseModelDocumentsItem)
- func (s *GetKnowledgeBaseListResponseModel) SetHasMore(val bool)
- func (s *GetKnowledgeBaseListResponseModel) SetNextCursor(val OptNilString)
- func (s *GetKnowledgeBaseListResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseListResponseModel) Validate() error
- type GetKnowledgeBaseListResponseModelDocumentsItem
- func NewGetKnowledgeBaseSummaryFileResponseModelGetKnowledgeBaseListResponseModelDocumentsItem(v GetKnowledgeBaseSummaryFileResponseModel) GetKnowledgeBaseListResponseModelDocumentsItem
- func NewGetKnowledgeBaseSummaryFolderResponseModelGetKnowledgeBaseListResponseModelDocumentsItem(v GetKnowledgeBaseSummaryFolderResponseModel) GetKnowledgeBaseListResponseModelDocumentsItem
- func NewGetKnowledgeBaseSummaryTextResponseModelGetKnowledgeBaseListResponseModelDocumentsItem(v GetKnowledgeBaseSummaryTextResponseModel) GetKnowledgeBaseListResponseModelDocumentsItem
- func NewGetKnowledgeBaseSummaryURLResponseModelGetKnowledgeBaseListResponseModelDocumentsItem(v GetKnowledgeBaseSummaryURLResponseModel) GetKnowledgeBaseListResponseModelDocumentsItem
- func (s *GetKnowledgeBaseListResponseModelDocumentsItem) Decode(d *jx.Decoder) error
- func (s GetKnowledgeBaseListResponseModelDocumentsItem) Encode(e *jx.Encoder)
- func (s GetKnowledgeBaseListResponseModelDocumentsItem) GetGetKnowledgeBaseSummaryFileResponseModel() (v GetKnowledgeBaseSummaryFileResponseModel, ok bool)
- func (s GetKnowledgeBaseListResponseModelDocumentsItem) GetGetKnowledgeBaseSummaryFolderResponseModel() (v GetKnowledgeBaseSummaryFolderResponseModel, ok bool)
- func (s GetKnowledgeBaseListResponseModelDocumentsItem) GetGetKnowledgeBaseSummaryTextResponseModel() (v GetKnowledgeBaseSummaryTextResponseModel, ok bool)
- func (s GetKnowledgeBaseListResponseModelDocumentsItem) GetGetKnowledgeBaseSummaryURLResponseModel() (v GetKnowledgeBaseSummaryURLResponseModel, ok bool)
- func (s GetKnowledgeBaseListResponseModelDocumentsItem) IsGetKnowledgeBaseSummaryFileResponseModel() bool
- func (s GetKnowledgeBaseListResponseModelDocumentsItem) IsGetKnowledgeBaseSummaryFolderResponseModel() bool
- func (s GetKnowledgeBaseListResponseModelDocumentsItem) IsGetKnowledgeBaseSummaryTextResponseModel() bool
- func (s GetKnowledgeBaseListResponseModelDocumentsItem) IsGetKnowledgeBaseSummaryURLResponseModel() bool
- func (s GetKnowledgeBaseListResponseModelDocumentsItem) MarshalJSON() ([]byte, error)
- func (s *GetKnowledgeBaseListResponseModelDocumentsItem) SetGetKnowledgeBaseSummaryFileResponseModel(v GetKnowledgeBaseSummaryFileResponseModel)
- func (s *GetKnowledgeBaseListResponseModelDocumentsItem) SetGetKnowledgeBaseSummaryFolderResponseModel(v GetKnowledgeBaseSummaryFolderResponseModel)
- func (s *GetKnowledgeBaseListResponseModelDocumentsItem) SetGetKnowledgeBaseSummaryTextResponseModel(v GetKnowledgeBaseSummaryTextResponseModel)
- func (s *GetKnowledgeBaseListResponseModelDocumentsItem) SetGetKnowledgeBaseSummaryURLResponseModel(v GetKnowledgeBaseSummaryURLResponseModel)
- func (s *GetKnowledgeBaseListResponseModelDocumentsItem) UnmarshalJSON(data []byte) error
- func (s GetKnowledgeBaseListResponseModelDocumentsItem) Validate() error
- type GetKnowledgeBaseListResponseModelDocumentsItemType
- type GetKnowledgeBaseListRouteParams
- type GetKnowledgeBaseListRouteRes
- type GetKnowledgeBaseSummaryFileResponseModel
- func (s *GetKnowledgeBaseSummaryFileResponseModel) Decode(d *jx.Decoder) error
- func (s *GetKnowledgeBaseSummaryFileResponseModel) Encode(e *jx.Encoder)
- func (s *GetKnowledgeBaseSummaryFileResponseModel) GetAccessInfo() ResourceAccessInfo
- func (s *GetKnowledgeBaseSummaryFileResponseModel) GetDependentAgents() []GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem
- func (s *GetKnowledgeBaseSummaryFileResponseModel) GetFolderParentID() OptNilString
- func (s *GetKnowledgeBaseSummaryFileResponseModel) GetID() string
- func (s *GetKnowledgeBaseSummaryFileResponseModel) GetMetadata() KnowledgeBaseDocumentMetadataResponseModel
- func (s *GetKnowledgeBaseSummaryFileResponseModel) GetName() string
- func (s *GetKnowledgeBaseSummaryFileResponseModel) GetSupportedUsages() []DocumentUsageModeEnum
- func (s *GetKnowledgeBaseSummaryFileResponseModel) GetType() GetKnowledgeBaseSummaryFileResponseModelType
- func (s *GetKnowledgeBaseSummaryFileResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetKnowledgeBaseSummaryFileResponseModel) SetAccessInfo(val ResourceAccessInfo)
- func (s *GetKnowledgeBaseSummaryFileResponseModel) SetDependentAgents(val []GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem)
- func (s *GetKnowledgeBaseSummaryFileResponseModel) SetFolderParentID(val OptNilString)
- func (s *GetKnowledgeBaseSummaryFileResponseModel) SetID(val string)
- func (s *GetKnowledgeBaseSummaryFileResponseModel) SetMetadata(val KnowledgeBaseDocumentMetadataResponseModel)
- func (s *GetKnowledgeBaseSummaryFileResponseModel) SetName(val string)
- func (s *GetKnowledgeBaseSummaryFileResponseModel) SetSupportedUsages(val []DocumentUsageModeEnum)
- func (s *GetKnowledgeBaseSummaryFileResponseModel) SetType(val GetKnowledgeBaseSummaryFileResponseModelType)
- func (s *GetKnowledgeBaseSummaryFileResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseSummaryFileResponseModel) Validate() error
- type GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem
- func NewDependentAvailableAgentIdentifierGetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem(v DependentAvailableAgentIdentifier) GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem
- func NewDependentUnknownAgentIdentifierGetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem(v DependentUnknownAgentIdentifier) GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem
- func (s *GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) Decode(d *jx.Decoder) error
- func (s GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) Encode(e *jx.Encoder)
- func (s GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) GetDependentAvailableAgentIdentifier() (v DependentAvailableAgentIdentifier, ok bool)
- func (s GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) GetDependentUnknownAgentIdentifier() (v DependentUnknownAgentIdentifier, ok bool)
- func (s GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) IsDependentAvailableAgentIdentifier() bool
- func (s GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) IsDependentUnknownAgentIdentifier() bool
- func (s GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) MarshalJSON() ([]byte, error)
- func (s *GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) SetDependentAvailableAgentIdentifier(v DependentAvailableAgentIdentifier)
- func (s *GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) SetDependentUnknownAgentIdentifier(v DependentUnknownAgentIdentifier)
- func (s *GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) UnmarshalJSON(data []byte) error
- func (s GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) Validate() error
- type GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItemType
- type GetKnowledgeBaseSummaryFileResponseModelType
- func (GetKnowledgeBaseSummaryFileResponseModelType) AllValues() []GetKnowledgeBaseSummaryFileResponseModelType
- func (s *GetKnowledgeBaseSummaryFileResponseModelType) Decode(d *jx.Decoder) error
- func (s GetKnowledgeBaseSummaryFileResponseModelType) Encode(e *jx.Encoder)
- func (s GetKnowledgeBaseSummaryFileResponseModelType) MarshalJSON() ([]byte, error)
- func (s GetKnowledgeBaseSummaryFileResponseModelType) MarshalText() ([]byte, error)
- func (s *GetKnowledgeBaseSummaryFileResponseModelType) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseSummaryFileResponseModelType) UnmarshalText(data []byte) error
- func (s GetKnowledgeBaseSummaryFileResponseModelType) Validate() error
- type GetKnowledgeBaseSummaryFolderResponseModel
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) Decode(d *jx.Decoder) error
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) Encode(e *jx.Encoder)
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetAccessInfo() ResourceAccessInfo
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetChildrenCount() int
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetDependentAgents() []GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetFolderParentID() OptNilString
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetID() string
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetMetadata() KnowledgeBaseDocumentMetadataResponseModel
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetName() string
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetSupportedUsages() []DocumentUsageModeEnum
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetType() GetKnowledgeBaseSummaryFolderResponseModelType
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetAccessInfo(val ResourceAccessInfo)
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetChildrenCount(val int)
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetDependentAgents(val []GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem)
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetFolderParentID(val OptNilString)
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetID(val string)
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetMetadata(val KnowledgeBaseDocumentMetadataResponseModel)
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetName(val string)
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetSupportedUsages(val []DocumentUsageModeEnum)
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetType(val GetKnowledgeBaseSummaryFolderResponseModelType)
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseSummaryFolderResponseModel) Validate() error
- type GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem
- func NewDependentAvailableAgentIdentifierGetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem(v DependentAvailableAgentIdentifier) GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem
- func NewDependentUnknownAgentIdentifierGetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem(v DependentUnknownAgentIdentifier) GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem
- func (s *GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) Decode(d *jx.Decoder) error
- func (s GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) Encode(e *jx.Encoder)
- func (s GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) GetDependentAvailableAgentIdentifier() (v DependentAvailableAgentIdentifier, ok bool)
- func (s GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) GetDependentUnknownAgentIdentifier() (v DependentUnknownAgentIdentifier, ok bool)
- func (s GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) IsDependentAvailableAgentIdentifier() bool
- func (s GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) IsDependentUnknownAgentIdentifier() bool
- func (s GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) MarshalJSON() ([]byte, error)
- func (s *GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) SetDependentAvailableAgentIdentifier(v DependentAvailableAgentIdentifier)
- func (s *GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) SetDependentUnknownAgentIdentifier(v DependentUnknownAgentIdentifier)
- func (s *GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) UnmarshalJSON(data []byte) error
- func (s GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) Validate() error
- type GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItemType
- type GetKnowledgeBaseSummaryFolderResponseModelType
- func (GetKnowledgeBaseSummaryFolderResponseModelType) AllValues() []GetKnowledgeBaseSummaryFolderResponseModelType
- func (s *GetKnowledgeBaseSummaryFolderResponseModelType) Decode(d *jx.Decoder) error
- func (s GetKnowledgeBaseSummaryFolderResponseModelType) Encode(e *jx.Encoder)
- func (s GetKnowledgeBaseSummaryFolderResponseModelType) MarshalJSON() ([]byte, error)
- func (s GetKnowledgeBaseSummaryFolderResponseModelType) MarshalText() ([]byte, error)
- func (s *GetKnowledgeBaseSummaryFolderResponseModelType) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseSummaryFolderResponseModelType) UnmarshalText(data []byte) error
- func (s GetKnowledgeBaseSummaryFolderResponseModelType) Validate() error
- type GetKnowledgeBaseSummaryTextResponseModel
- func (s *GetKnowledgeBaseSummaryTextResponseModel) Decode(d *jx.Decoder) error
- func (s *GetKnowledgeBaseSummaryTextResponseModel) Encode(e *jx.Encoder)
- func (s *GetKnowledgeBaseSummaryTextResponseModel) GetAccessInfo() ResourceAccessInfo
- func (s *GetKnowledgeBaseSummaryTextResponseModel) GetDependentAgents() []GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem
- func (s *GetKnowledgeBaseSummaryTextResponseModel) GetFolderParentID() OptNilString
- func (s *GetKnowledgeBaseSummaryTextResponseModel) GetID() string
- func (s *GetKnowledgeBaseSummaryTextResponseModel) GetMetadata() KnowledgeBaseDocumentMetadataResponseModel
- func (s *GetKnowledgeBaseSummaryTextResponseModel) GetName() string
- func (s *GetKnowledgeBaseSummaryTextResponseModel) GetSupportedUsages() []DocumentUsageModeEnum
- func (s *GetKnowledgeBaseSummaryTextResponseModel) GetType() GetKnowledgeBaseSummaryTextResponseModelType
- func (s *GetKnowledgeBaseSummaryTextResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetKnowledgeBaseSummaryTextResponseModel) SetAccessInfo(val ResourceAccessInfo)
- func (s *GetKnowledgeBaseSummaryTextResponseModel) SetDependentAgents(val []GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem)
- func (s *GetKnowledgeBaseSummaryTextResponseModel) SetFolderParentID(val OptNilString)
- func (s *GetKnowledgeBaseSummaryTextResponseModel) SetID(val string)
- func (s *GetKnowledgeBaseSummaryTextResponseModel) SetMetadata(val KnowledgeBaseDocumentMetadataResponseModel)
- func (s *GetKnowledgeBaseSummaryTextResponseModel) SetName(val string)
- func (s *GetKnowledgeBaseSummaryTextResponseModel) SetSupportedUsages(val []DocumentUsageModeEnum)
- func (s *GetKnowledgeBaseSummaryTextResponseModel) SetType(val GetKnowledgeBaseSummaryTextResponseModelType)
- func (s *GetKnowledgeBaseSummaryTextResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseSummaryTextResponseModel) Validate() error
- type GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem
- func NewDependentAvailableAgentIdentifierGetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem(v DependentAvailableAgentIdentifier) GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem
- func NewDependentUnknownAgentIdentifierGetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem(v DependentUnknownAgentIdentifier) GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem
- func (s *GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) Decode(d *jx.Decoder) error
- func (s GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) Encode(e *jx.Encoder)
- func (s GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) GetDependentAvailableAgentIdentifier() (v DependentAvailableAgentIdentifier, ok bool)
- func (s GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) GetDependentUnknownAgentIdentifier() (v DependentUnknownAgentIdentifier, ok bool)
- func (s GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) IsDependentAvailableAgentIdentifier() bool
- func (s GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) IsDependentUnknownAgentIdentifier() bool
- func (s GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) MarshalJSON() ([]byte, error)
- func (s *GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) SetDependentAvailableAgentIdentifier(v DependentAvailableAgentIdentifier)
- func (s *GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) SetDependentUnknownAgentIdentifier(v DependentUnknownAgentIdentifier)
- func (s *GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) UnmarshalJSON(data []byte) error
- func (s GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) Validate() error
- type GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItemType
- type GetKnowledgeBaseSummaryTextResponseModelType
- func (GetKnowledgeBaseSummaryTextResponseModelType) AllValues() []GetKnowledgeBaseSummaryTextResponseModelType
- func (s *GetKnowledgeBaseSummaryTextResponseModelType) Decode(d *jx.Decoder) error
- func (s GetKnowledgeBaseSummaryTextResponseModelType) Encode(e *jx.Encoder)
- func (s GetKnowledgeBaseSummaryTextResponseModelType) MarshalJSON() ([]byte, error)
- func (s GetKnowledgeBaseSummaryTextResponseModelType) MarshalText() ([]byte, error)
- func (s *GetKnowledgeBaseSummaryTextResponseModelType) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseSummaryTextResponseModelType) UnmarshalText(data []byte) error
- func (s GetKnowledgeBaseSummaryTextResponseModelType) Validate() error
- type GetKnowledgeBaseSummaryURLResponseModel
- func (s *GetKnowledgeBaseSummaryURLResponseModel) Decode(d *jx.Decoder) error
- func (s *GetKnowledgeBaseSummaryURLResponseModel) Encode(e *jx.Encoder)
- func (s *GetKnowledgeBaseSummaryURLResponseModel) GetAccessInfo() ResourceAccessInfo
- func (s *GetKnowledgeBaseSummaryURLResponseModel) GetDependentAgents() []GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem
- func (s *GetKnowledgeBaseSummaryURLResponseModel) GetFolderParentID() OptNilString
- func (s *GetKnowledgeBaseSummaryURLResponseModel) GetID() string
- func (s *GetKnowledgeBaseSummaryURLResponseModel) GetMetadata() KnowledgeBaseDocumentMetadataResponseModel
- func (s *GetKnowledgeBaseSummaryURLResponseModel) GetName() string
- func (s *GetKnowledgeBaseSummaryURLResponseModel) GetSupportedUsages() []DocumentUsageModeEnum
- func (s *GetKnowledgeBaseSummaryURLResponseModel) GetType() GetKnowledgeBaseSummaryURLResponseModelType
- func (s *GetKnowledgeBaseSummaryURLResponseModel) GetURL() string
- func (s *GetKnowledgeBaseSummaryURLResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetKnowledgeBaseSummaryURLResponseModel) SetAccessInfo(val ResourceAccessInfo)
- func (s *GetKnowledgeBaseSummaryURLResponseModel) SetDependentAgents(val []GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem)
- func (s *GetKnowledgeBaseSummaryURLResponseModel) SetFolderParentID(val OptNilString)
- func (s *GetKnowledgeBaseSummaryURLResponseModel) SetID(val string)
- func (s *GetKnowledgeBaseSummaryURLResponseModel) SetMetadata(val KnowledgeBaseDocumentMetadataResponseModel)
- func (s *GetKnowledgeBaseSummaryURLResponseModel) SetName(val string)
- func (s *GetKnowledgeBaseSummaryURLResponseModel) SetSupportedUsages(val []DocumentUsageModeEnum)
- func (s *GetKnowledgeBaseSummaryURLResponseModel) SetType(val GetKnowledgeBaseSummaryURLResponseModelType)
- func (s *GetKnowledgeBaseSummaryURLResponseModel) SetURL(val string)
- func (s *GetKnowledgeBaseSummaryURLResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseSummaryURLResponseModel) Validate() error
- type GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem
- func NewDependentAvailableAgentIdentifierGetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem(v DependentAvailableAgentIdentifier) GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem
- func NewDependentUnknownAgentIdentifierGetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem(v DependentUnknownAgentIdentifier) GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem
- func (s *GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) Decode(d *jx.Decoder) error
- func (s GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) Encode(e *jx.Encoder)
- func (s GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) GetDependentAvailableAgentIdentifier() (v DependentAvailableAgentIdentifier, ok bool)
- func (s GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) GetDependentUnknownAgentIdentifier() (v DependentUnknownAgentIdentifier, ok bool)
- func (s GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) IsDependentAvailableAgentIdentifier() bool
- func (s GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) IsDependentUnknownAgentIdentifier() bool
- func (s GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) MarshalJSON() ([]byte, error)
- func (s *GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) SetDependentAvailableAgentIdentifier(v DependentAvailableAgentIdentifier)
- func (s *GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) SetDependentUnknownAgentIdentifier(v DependentUnknownAgentIdentifier)
- func (s *GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) UnmarshalJSON(data []byte) error
- func (s GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) Validate() error
- type GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItemType
- type GetKnowledgeBaseSummaryURLResponseModelType
- func (GetKnowledgeBaseSummaryURLResponseModelType) AllValues() []GetKnowledgeBaseSummaryURLResponseModelType
- func (s *GetKnowledgeBaseSummaryURLResponseModelType) Decode(d *jx.Decoder) error
- func (s GetKnowledgeBaseSummaryURLResponseModelType) Encode(e *jx.Encoder)
- func (s GetKnowledgeBaseSummaryURLResponseModelType) MarshalJSON() ([]byte, error)
- func (s GetKnowledgeBaseSummaryURLResponseModelType) MarshalText() ([]byte, error)
- func (s *GetKnowledgeBaseSummaryURLResponseModelType) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseSummaryURLResponseModelType) UnmarshalText(data []byte) error
- func (s GetKnowledgeBaseSummaryURLResponseModelType) Validate() error
- type GetKnowledgeBaseTextResponseModel
- func (s *GetKnowledgeBaseTextResponseModel) Decode(d *jx.Decoder) error
- func (s *GetKnowledgeBaseTextResponseModel) Encode(e *jx.Encoder)
- func (s *GetKnowledgeBaseTextResponseModel) GetAccessInfo() ResourceAccessInfo
- func (s *GetKnowledgeBaseTextResponseModel) GetExtractedInnerHTML() string
- func (s *GetKnowledgeBaseTextResponseModel) GetFolderParentID() OptNilString
- func (s *GetKnowledgeBaseTextResponseModel) GetFolderPath() []KnowledgeBaseFolderPathSegmentResponseModel
- func (s *GetKnowledgeBaseTextResponseModel) GetID() string
- func (s *GetKnowledgeBaseTextResponseModel) GetMetadata() KnowledgeBaseDocumentMetadataResponseModel
- func (s *GetKnowledgeBaseTextResponseModel) GetName() string
- func (s *GetKnowledgeBaseTextResponseModel) GetSupportedUsages() []DocumentUsageModeEnum
- func (s *GetKnowledgeBaseTextResponseModel) GetType() GetKnowledgeBaseTextResponseModelType
- func (s *GetKnowledgeBaseTextResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetKnowledgeBaseTextResponseModel) SetAccessInfo(val ResourceAccessInfo)
- func (s *GetKnowledgeBaseTextResponseModel) SetExtractedInnerHTML(val string)
- func (s *GetKnowledgeBaseTextResponseModel) SetFolderParentID(val OptNilString)
- func (s *GetKnowledgeBaseTextResponseModel) SetFolderPath(val []KnowledgeBaseFolderPathSegmentResponseModel)
- func (s *GetKnowledgeBaseTextResponseModel) SetID(val string)
- func (s *GetKnowledgeBaseTextResponseModel) SetMetadata(val KnowledgeBaseDocumentMetadataResponseModel)
- func (s *GetKnowledgeBaseTextResponseModel) SetName(val string)
- func (s *GetKnowledgeBaseTextResponseModel) SetSupportedUsages(val []DocumentUsageModeEnum)
- func (s *GetKnowledgeBaseTextResponseModel) SetType(val GetKnowledgeBaseTextResponseModelType)
- func (s *GetKnowledgeBaseTextResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseTextResponseModel) Validate() error
- type GetKnowledgeBaseTextResponseModelType
- func (GetKnowledgeBaseTextResponseModelType) AllValues() []GetKnowledgeBaseTextResponseModelType
- func (s *GetKnowledgeBaseTextResponseModelType) Decode(d *jx.Decoder) error
- func (s GetKnowledgeBaseTextResponseModelType) Encode(e *jx.Encoder)
- func (s GetKnowledgeBaseTextResponseModelType) MarshalJSON() ([]byte, error)
- func (s GetKnowledgeBaseTextResponseModelType) MarshalText() ([]byte, error)
- func (s *GetKnowledgeBaseTextResponseModelType) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseTextResponseModelType) UnmarshalText(data []byte) error
- func (s GetKnowledgeBaseTextResponseModelType) Validate() error
- type GetKnowledgeBaseURLResponseModel
- func (s *GetKnowledgeBaseURLResponseModel) Decode(d *jx.Decoder) error
- func (s *GetKnowledgeBaseURLResponseModel) Encode(e *jx.Encoder)
- func (s *GetKnowledgeBaseURLResponseModel) GetAccessInfo() ResourceAccessInfo
- func (s *GetKnowledgeBaseURLResponseModel) GetExtractedInnerHTML() string
- func (s *GetKnowledgeBaseURLResponseModel) GetFolderParentID() OptNilString
- func (s *GetKnowledgeBaseURLResponseModel) GetFolderPath() []KnowledgeBaseFolderPathSegmentResponseModel
- func (s *GetKnowledgeBaseURLResponseModel) GetID() string
- func (s *GetKnowledgeBaseURLResponseModel) GetMetadata() KnowledgeBaseDocumentMetadataResponseModel
- func (s *GetKnowledgeBaseURLResponseModel) GetName() string
- func (s *GetKnowledgeBaseURLResponseModel) GetSupportedUsages() []DocumentUsageModeEnum
- func (s *GetKnowledgeBaseURLResponseModel) GetType() GetKnowledgeBaseURLResponseModelType
- func (s *GetKnowledgeBaseURLResponseModel) GetURL() string
- func (s *GetKnowledgeBaseURLResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetKnowledgeBaseURLResponseModel) SetAccessInfo(val ResourceAccessInfo)
- func (s *GetKnowledgeBaseURLResponseModel) SetExtractedInnerHTML(val string)
- func (s *GetKnowledgeBaseURLResponseModel) SetFolderParentID(val OptNilString)
- func (s *GetKnowledgeBaseURLResponseModel) SetFolderPath(val []KnowledgeBaseFolderPathSegmentResponseModel)
- func (s *GetKnowledgeBaseURLResponseModel) SetID(val string)
- func (s *GetKnowledgeBaseURLResponseModel) SetMetadata(val KnowledgeBaseDocumentMetadataResponseModel)
- func (s *GetKnowledgeBaseURLResponseModel) SetName(val string)
- func (s *GetKnowledgeBaseURLResponseModel) SetSupportedUsages(val []DocumentUsageModeEnum)
- func (s *GetKnowledgeBaseURLResponseModel) SetType(val GetKnowledgeBaseURLResponseModelType)
- func (s *GetKnowledgeBaseURLResponseModel) SetURL(val string)
- func (s *GetKnowledgeBaseURLResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseURLResponseModel) Validate() error
- type GetKnowledgeBaseURLResponseModelType
- func (GetKnowledgeBaseURLResponseModelType) AllValues() []GetKnowledgeBaseURLResponseModelType
- func (s *GetKnowledgeBaseURLResponseModelType) Decode(d *jx.Decoder) error
- func (s GetKnowledgeBaseURLResponseModelType) Encode(e *jx.Encoder)
- func (s GetKnowledgeBaseURLResponseModelType) MarshalJSON() ([]byte, error)
- func (s GetKnowledgeBaseURLResponseModelType) MarshalText() ([]byte, error)
- func (s *GetKnowledgeBaseURLResponseModelType) UnmarshalJSON(data []byte) error
- func (s *GetKnowledgeBaseURLResponseModelType) UnmarshalText(data []byte) error
- func (s GetKnowledgeBaseURLResponseModelType) Validate() error
- type GetLibraryVoicesCategory
- type GetLibraryVoicesParams
- type GetLibraryVoicesRes
- type GetLibraryVoicesResponseModel
- func (s *GetLibraryVoicesResponseModel) Decode(d *jx.Decoder) error
- func (s *GetLibraryVoicesResponseModel) Encode(e *jx.Encoder)
- func (s *GetLibraryVoicesResponseModel) GetHasMore() bool
- func (s *GetLibraryVoicesResponseModel) GetLastSortID() OptNilString
- func (s *GetLibraryVoicesResponseModel) GetVoices() []LibraryVoiceResponseModel
- func (s *GetLibraryVoicesResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetLibraryVoicesResponseModel) SetHasMore(val bool)
- func (s *GetLibraryVoicesResponseModel) SetLastSortID(val OptNilString)
- func (s *GetLibraryVoicesResponseModel) SetVoices(val []LibraryVoiceResponseModel)
- func (s *GetLibraryVoicesResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetLibraryVoicesResponseModel) Validate() error
- type GetLiveCountParams
- type GetLiveCountRes
- type GetLiveCountResponse
- func (s *GetLiveCountResponse) Decode(d *jx.Decoder) error
- func (s *GetLiveCountResponse) Encode(e *jx.Encoder)
- func (s *GetLiveCountResponse) GetCount() int
- func (s *GetLiveCountResponse) MarshalJSON() ([]byte, error)
- func (s *GetLiveCountResponse) SetCount(val int)
- func (s *GetLiveCountResponse) UnmarshalJSON(data []byte) error
- type GetLivekitTokenParams
- type GetLivekitTokenRes
- type GetMcpToolConfigOverrideRouteNotFound
- type GetMcpToolConfigOverrideRouteParams
- type GetMcpToolConfigOverrideRouteRes
- type GetModelsOKApplicationJSON
- func (s *GetModelsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s GetModelsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s GetModelsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *GetModelsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s GetModelsOKApplicationJSON) Validate() error
- type GetModelsParams
- type GetModelsRes
- type GetOrCreateRAGIndexRequestModel
- func (s *GetOrCreateRAGIndexRequestModel) Decode(d *jx.Decoder) error
- func (s *GetOrCreateRAGIndexRequestModel) Encode(e *jx.Encoder)
- func (s *GetOrCreateRAGIndexRequestModel) GetCreateIfMissing() bool
- func (s *GetOrCreateRAGIndexRequestModel) GetDocumentID() string
- func (s *GetOrCreateRAGIndexRequestModel) GetModel() EmbeddingModelEnum
- func (s *GetOrCreateRAGIndexRequestModel) MarshalJSON() ([]byte, error)
- func (s *GetOrCreateRAGIndexRequestModel) SetCreateIfMissing(val bool)
- func (s *GetOrCreateRAGIndexRequestModel) SetDocumentID(val string)
- func (s *GetOrCreateRAGIndexRequestModel) SetModel(val EmbeddingModelEnum)
- func (s *GetOrCreateRAGIndexRequestModel) UnmarshalJSON(data []byte) error
- func (s *GetOrCreateRAGIndexRequestModel) Validate() error
- type GetOrCreateRagIndexesOK
- type GetOrCreateRagIndexesOKItem
- func (s *GetOrCreateRagIndexesOKItem) Decode(d *jx.Decoder) error
- func (s GetOrCreateRagIndexesOKItem) Encode(e *jx.Encoder)
- func (s GetOrCreateRagIndexesOKItem) GetBatchFailureResponseModel() (v BatchFailureResponseModel, ok bool)
- func (s GetOrCreateRagIndexesOKItem) GetRAGIndexBatchSuccessfulResponseModel() (v RAGIndexBatchSuccessfulResponseModel, ok bool)
- func (s GetOrCreateRagIndexesOKItem) IsBatchFailureResponseModel() bool
- func (s GetOrCreateRagIndexesOKItem) IsRAGIndexBatchSuccessfulResponseModel() bool
- func (s GetOrCreateRagIndexesOKItem) MarshalJSON() ([]byte, error)
- func (s *GetOrCreateRagIndexesOKItem) SetBatchFailureResponseModel(v BatchFailureResponseModel)
- func (s *GetOrCreateRagIndexesOKItem) SetRAGIndexBatchSuccessfulResponseModel(v RAGIndexBatchSuccessfulResponseModel)
- func (s *GetOrCreateRagIndexesOKItem) UnmarshalJSON(data []byte) error
- func (s GetOrCreateRagIndexesOKItem) Validate() error
- type GetOrCreateRagIndexesOKItemType
- type GetOrCreateRagIndexesParams
- type GetOrCreateRagIndexesRes
- type GetPhoneNumberInboundSIPTrunkConfigResponseModel
- func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) Decode(d *jx.Decoder) error
- func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) Encode(e *jx.Encoder)
- func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetAllowedAddresses() []string
- func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetAllowedNumbers() []string
- func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetHasAuthCredentials() bool
- func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetMediaEncryption() SIPMediaEncryptionEnum
- func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetRemoteDomains() OptNilStringArray
- func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetUsername() OptNilString
- func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetAllowedAddresses(val []string)
- func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetAllowedNumbers(val []string)
- func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetHasAuthCredentials(val bool)
- func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetMediaEncryption(val SIPMediaEncryptionEnum)
- func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetRemoteDomains(val OptNilStringArray)
- func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetUsername(val OptNilString)
- func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) Validate() error
- type GetPhoneNumberOutboundSIPTrunkConfigResponseModel
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) Decode(d *jx.Decoder) error
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) Encode(e *jx.Encoder)
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetAddress() string
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetHasAuthCredentials() bool
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetHasOutboundTrunk() OptBool
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetHeaders() OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetMediaEncryption() SIPMediaEncryptionEnum
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetTransport() SIPTrunkTransportEnum
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetUsername() OptNilString
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetAddress(val string)
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetHasAuthCredentials(val bool)
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetHasOutboundTrunk(val OptBool)
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetHeaders(val OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders)
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetMediaEncryption(val SIPMediaEncryptionEnum)
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetTransport(val SIPTrunkTransportEnum)
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetUsername(val OptNilString)
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) Validate() error
- type GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Decode(d *jx.Decoder) error
- func (s GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Encode(e *jx.Encoder)
- func (s GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) MarshalJSON() ([]byte, error)
- func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) UnmarshalJSON(data []byte) error
- type GetPhoneNumberRouteOK
- func (s *GetPhoneNumberRouteOK) Decode(d *jx.Decoder) error
- func (s GetPhoneNumberRouteOK) Encode(e *jx.Encoder)
- func (s GetPhoneNumberRouteOK) GetGetPhoneNumberSIPTrunkResponseModel() (v GetPhoneNumberSIPTrunkResponseModel, ok bool)
- func (s GetPhoneNumberRouteOK) GetGetPhoneNumberTwilioResponseModel() (v GetPhoneNumberTwilioResponseModel, ok bool)
- func (s GetPhoneNumberRouteOK) IsGetPhoneNumberSIPTrunkResponseModel() bool
- func (s GetPhoneNumberRouteOK) IsGetPhoneNumberTwilioResponseModel() bool
- func (s GetPhoneNumberRouteOK) MarshalJSON() ([]byte, error)
- func (s *GetPhoneNumberRouteOK) SetGetPhoneNumberSIPTrunkResponseModel(v GetPhoneNumberSIPTrunkResponseModel)
- func (s *GetPhoneNumberRouteOK) SetGetPhoneNumberTwilioResponseModel(v GetPhoneNumberTwilioResponseModel)
- func (s *GetPhoneNumberRouteOK) UnmarshalJSON(data []byte) error
- func (s GetPhoneNumberRouteOK) Validate() error
- type GetPhoneNumberRouteOKType
- type GetPhoneNumberRouteParams
- type GetPhoneNumberRouteRes
- type GetPhoneNumberSIPTrunkResponseModel
- func (s *GetPhoneNumberSIPTrunkResponseModel) Decode(d *jx.Decoder) error
- func (s *GetPhoneNumberSIPTrunkResponseModel) Encode(e *jx.Encoder)
- func (s *GetPhoneNumberSIPTrunkResponseModel) GetAssignedAgent() OptPhoneNumberAgentInfo
- func (s *GetPhoneNumberSIPTrunkResponseModel) GetInboundTrunk() OptGetPhoneNumberInboundSIPTrunkConfigResponseModel
- func (s *GetPhoneNumberSIPTrunkResponseModel) GetLabel() string
- func (s *GetPhoneNumberSIPTrunkResponseModel) GetLivekitStack() LivekitStackType
- func (s *GetPhoneNumberSIPTrunkResponseModel) GetOutboundTrunk() OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel
- func (s *GetPhoneNumberSIPTrunkResponseModel) GetPhoneNumber() string
- func (s *GetPhoneNumberSIPTrunkResponseModel) GetPhoneNumberID() string
- func (s *GetPhoneNumberSIPTrunkResponseModel) GetProvider() OptGetPhoneNumberSIPTrunkResponseModelProvider
- func (s *GetPhoneNumberSIPTrunkResponseModel) GetProviderConfig() OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel
- func (s *GetPhoneNumberSIPTrunkResponseModel) GetSupportsInbound() OptBool
- func (s *GetPhoneNumberSIPTrunkResponseModel) GetSupportsOutbound() OptBool
- func (s *GetPhoneNumberSIPTrunkResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetPhoneNumberSIPTrunkResponseModel) SetAssignedAgent(val OptPhoneNumberAgentInfo)
- func (s *GetPhoneNumberSIPTrunkResponseModel) SetInboundTrunk(val OptGetPhoneNumberInboundSIPTrunkConfigResponseModel)
- func (s *GetPhoneNumberSIPTrunkResponseModel) SetLabel(val string)
- func (s *GetPhoneNumberSIPTrunkResponseModel) SetLivekitStack(val LivekitStackType)
- func (s *GetPhoneNumberSIPTrunkResponseModel) SetOutboundTrunk(val OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel)
- func (s *GetPhoneNumberSIPTrunkResponseModel) SetPhoneNumber(val string)
- func (s *GetPhoneNumberSIPTrunkResponseModel) SetPhoneNumberID(val string)
- func (s *GetPhoneNumberSIPTrunkResponseModel) SetProvider(val OptGetPhoneNumberSIPTrunkResponseModelProvider)
- func (s *GetPhoneNumberSIPTrunkResponseModel) SetProviderConfig(val OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel)
- func (s *GetPhoneNumberSIPTrunkResponseModel) SetSupportsInbound(val OptBool)
- func (s *GetPhoneNumberSIPTrunkResponseModel) SetSupportsOutbound(val OptBool)
- func (s *GetPhoneNumberSIPTrunkResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetPhoneNumberSIPTrunkResponseModel) Validate() error
- type GetPhoneNumberSIPTrunkResponseModelProvider
- func (GetPhoneNumberSIPTrunkResponseModelProvider) AllValues() []GetPhoneNumberSIPTrunkResponseModelProvider
- func (s *GetPhoneNumberSIPTrunkResponseModelProvider) Decode(d *jx.Decoder) error
- func (s GetPhoneNumberSIPTrunkResponseModelProvider) Encode(e *jx.Encoder)
- func (s GetPhoneNumberSIPTrunkResponseModelProvider) MarshalJSON() ([]byte, error)
- func (s GetPhoneNumberSIPTrunkResponseModelProvider) MarshalText() ([]byte, error)
- func (s *GetPhoneNumberSIPTrunkResponseModelProvider) UnmarshalJSON(data []byte) error
- func (s *GetPhoneNumberSIPTrunkResponseModelProvider) UnmarshalText(data []byte) error
- func (s GetPhoneNumberSIPTrunkResponseModelProvider) Validate() error
- type GetPhoneNumberTwilioResponseModel
- func (s *GetPhoneNumberTwilioResponseModel) Decode(d *jx.Decoder) error
- func (s *GetPhoneNumberTwilioResponseModel) Encode(e *jx.Encoder)
- func (s *GetPhoneNumberTwilioResponseModel) GetAssignedAgent() OptPhoneNumberAgentInfo
- func (s *GetPhoneNumberTwilioResponseModel) GetLabel() string
- func (s *GetPhoneNumberTwilioResponseModel) GetPhoneNumber() string
- func (s *GetPhoneNumberTwilioResponseModel) GetPhoneNumberID() string
- func (s *GetPhoneNumberTwilioResponseModel) GetProvider() OptGetPhoneNumberTwilioResponseModelProvider
- func (s *GetPhoneNumberTwilioResponseModel) GetSupportsInbound() OptBool
- func (s *GetPhoneNumberTwilioResponseModel) GetSupportsOutbound() OptBool
- func (s *GetPhoneNumberTwilioResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetPhoneNumberTwilioResponseModel) SetAssignedAgent(val OptPhoneNumberAgentInfo)
- func (s *GetPhoneNumberTwilioResponseModel) SetLabel(val string)
- func (s *GetPhoneNumberTwilioResponseModel) SetPhoneNumber(val string)
- func (s *GetPhoneNumberTwilioResponseModel) SetPhoneNumberID(val string)
- func (s *GetPhoneNumberTwilioResponseModel) SetProvider(val OptGetPhoneNumberTwilioResponseModelProvider)
- func (s *GetPhoneNumberTwilioResponseModel) SetSupportsInbound(val OptBool)
- func (s *GetPhoneNumberTwilioResponseModel) SetSupportsOutbound(val OptBool)
- func (s *GetPhoneNumberTwilioResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetPhoneNumberTwilioResponseModel) Validate() error
- type GetPhoneNumberTwilioResponseModelProvider
- func (GetPhoneNumberTwilioResponseModelProvider) AllValues() []GetPhoneNumberTwilioResponseModelProvider
- func (s *GetPhoneNumberTwilioResponseModelProvider) Decode(d *jx.Decoder) error
- func (s GetPhoneNumberTwilioResponseModelProvider) Encode(e *jx.Encoder)
- func (s GetPhoneNumberTwilioResponseModelProvider) MarshalJSON() ([]byte, error)
- func (s GetPhoneNumberTwilioResponseModelProvider) MarshalText() ([]byte, error)
- func (s *GetPhoneNumberTwilioResponseModelProvider) UnmarshalJSON(data []byte) error
- func (s *GetPhoneNumberTwilioResponseModelProvider) UnmarshalText(data []byte) error
- func (s GetPhoneNumberTwilioResponseModelProvider) Validate() error
- type GetProjectSnapshotEndpointParams
- type GetProjectSnapshotEndpointRes
- type GetProjectSnapshotsParams
- type GetProjectSnapshotsRes
- type GetProjectsParams
- type GetProjectsRes
- type GetProjectsResponseModel
- func (s *GetProjectsResponseModel) Decode(d *jx.Decoder) error
- func (s *GetProjectsResponseModel) Encode(e *jx.Encoder)
- func (s *GetProjectsResponseModel) GetProjects() []ProjectResponseModel
- func (s *GetProjectsResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetProjectsResponseModel) SetProjects(val []ProjectResponseModel)
- func (s *GetProjectsResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetProjectsResponseModel) Validate() error
- type GetPronunciationDictionariesMetadataParams
- type GetPronunciationDictionariesMetadataRes
- type GetPronunciationDictionariesMetadataResponseModel
- func (s *GetPronunciationDictionariesMetadataResponseModel) Decode(d *jx.Decoder) error
- func (s *GetPronunciationDictionariesMetadataResponseModel) Encode(e *jx.Encoder)
- func (s *GetPronunciationDictionariesMetadataResponseModel) GetHasMore() bool
- func (s *GetPronunciationDictionariesMetadataResponseModel) GetNextCursor() OptNilString
- func (s *GetPronunciationDictionariesMetadataResponseModel) GetPronunciationDictionaries() []GetPronunciationDictionaryMetadataResponseModel
- func (s *GetPronunciationDictionariesMetadataResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetPronunciationDictionariesMetadataResponseModel) SetHasMore(val bool)
- func (s *GetPronunciationDictionariesMetadataResponseModel) SetNextCursor(val OptNilString)
- func (s *GetPronunciationDictionariesMetadataResponseModel) SetPronunciationDictionaries(val []GetPronunciationDictionaryMetadataResponseModel)
- func (s *GetPronunciationDictionariesMetadataResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetPronunciationDictionariesMetadataResponseModel) Validate() error
- type GetPronunciationDictionariesMetadataSort
- func (GetPronunciationDictionariesMetadataSort) AllValues() []GetPronunciationDictionariesMetadataSort
- func (s GetPronunciationDictionariesMetadataSort) MarshalText() ([]byte, error)
- func (s *GetPronunciationDictionariesMetadataSort) UnmarshalText(data []byte) error
- func (s GetPronunciationDictionariesMetadataSort) Validate() error
- type GetPronunciationDictionaryMetadataParams
- type GetPronunciationDictionaryMetadataRes
- type GetPronunciationDictionaryMetadataResponseModel
- func (s *GetPronunciationDictionaryMetadataResponseModel) Decode(d *jx.Decoder) error
- func (s *GetPronunciationDictionaryMetadataResponseModel) Encode(e *jx.Encoder)
- func (s *GetPronunciationDictionaryMetadataResponseModel) GetArchivedTimeUnix() OptNilInt
- func (s *GetPronunciationDictionaryMetadataResponseModel) GetCreatedBy() string
- func (s *GetPronunciationDictionaryMetadataResponseModel) GetCreationTimeUnix() int
- func (s *GetPronunciationDictionaryMetadataResponseModel) GetDescription() OptNilString
- func (s *GetPronunciationDictionaryMetadataResponseModel) GetID() string
- func (s *GetPronunciationDictionaryMetadataResponseModel) GetLatestVersionID() string
- func (s *GetPronunciationDictionaryMetadataResponseModel) GetLatestVersionRulesNum() int
- func (s *GetPronunciationDictionaryMetadataResponseModel) GetName() string
- func (s *GetPronunciationDictionaryMetadataResponseModel) GetPermissionOnResource() NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource
- func (s *GetPronunciationDictionaryMetadataResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetPronunciationDictionaryMetadataResponseModel) SetArchivedTimeUnix(val OptNilInt)
- func (s *GetPronunciationDictionaryMetadataResponseModel) SetCreatedBy(val string)
- func (s *GetPronunciationDictionaryMetadataResponseModel) SetCreationTimeUnix(val int)
- func (s *GetPronunciationDictionaryMetadataResponseModel) SetDescription(val OptNilString)
- func (s *GetPronunciationDictionaryMetadataResponseModel) SetID(val string)
- func (s *GetPronunciationDictionaryMetadataResponseModel) SetLatestVersionID(val string)
- func (s *GetPronunciationDictionaryMetadataResponseModel) SetLatestVersionRulesNum(val int)
- func (s *GetPronunciationDictionaryMetadataResponseModel) SetName(val string)
- func (s *GetPronunciationDictionaryMetadataResponseModel) SetPermissionOnResource(val NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource)
- func (s *GetPronunciationDictionaryMetadataResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetPronunciationDictionaryMetadataResponseModel) Validate() error
- type GetPronunciationDictionaryMetadataResponseModelPermissionOnResource
- func (GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) AllValues() []GetPronunciationDictionaryMetadataResponseModelPermissionOnResource
- func (s *GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Decode(d *jx.Decoder) error
- func (s GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Encode(e *jx.Encoder)
- func (s GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) MarshalJSON() ([]byte, error)
- func (s GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) MarshalText() ([]byte, error)
- func (s *GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) UnmarshalJSON(data []byte) error
- func (s *GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) UnmarshalText(data []byte) error
- func (s GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Validate() error
- type GetPronunciationDictionaryVersionPlsOK
- type GetPronunciationDictionaryVersionPlsOKHeaders
- func (s *GetPronunciationDictionaryVersionPlsOKHeaders) GetContentDisposition() OptString
- func (s *GetPronunciationDictionaryVersionPlsOKHeaders) GetResponse() GetPronunciationDictionaryVersionPlsOK
- func (s *GetPronunciationDictionaryVersionPlsOKHeaders) SetContentDisposition(val OptString)
- func (s *GetPronunciationDictionaryVersionPlsOKHeaders) SetResponse(val GetPronunciationDictionaryVersionPlsOK)
- type GetPronunciationDictionaryVersionPlsParams
- type GetPronunciationDictionaryVersionPlsRes
- type GetPublicLlmExpectedCostCalculationRes
- type GetPvcSampleAudioParams
- type GetPvcSampleAudioRes
- type GetPvcSampleSpeakersParams
- type GetPvcSampleSpeakersRes
- type GetPvcSampleVisualWaveformParams
- type GetPvcSampleVisualWaveformRes
- type GetPvcVoiceCaptchaOK
- type GetPvcVoiceCaptchaParams
- type GetPvcVoiceCaptchaRes
- type GetRagIndexOverviewParams
- type GetRagIndexOverviewRes
- type GetRagIndexesParams
- type GetRagIndexesRes
- type GetResourceMetadataParams
- type GetResourceMetadataRes
- type GetSecretsRouteParams
- type GetSecretsRouteRes
- type GetServiceAccountAPIKeysRouteParams
- type GetServiceAccountAPIKeysRouteRes
- type GetSettingsRouteParams
- type GetSettingsRouteRes
- type GetSignedURLDeprecatedParams
- type GetSignedURLDeprecatedRes
- type GetSimilarLibraryVoicesParams
- type GetSimilarLibraryVoicesRes
- type GetSimilarVoicesForSpeakerParams
- type GetSimilarVoicesForSpeakerRes
- type GetSingleUseTokenParams
- type GetSingleUseTokenRes
- type GetSpeakerAudioParams
- type GetSpeakerAudioRes
- type GetSpeechHistoryItemByIDParams
- type GetSpeechHistoryItemByIDRes
- type GetSpeechHistoryParams
- type GetSpeechHistoryRes
- type GetSpeechHistoryResponseModel
- func (s *GetSpeechHistoryResponseModel) Decode(d *jx.Decoder) error
- func (s *GetSpeechHistoryResponseModel) Encode(e *jx.Encoder)
- func (s *GetSpeechHistoryResponseModel) GetHasMore() bool
- func (s *GetSpeechHistoryResponseModel) GetHistory() []SpeechHistoryItemResponseModel
- func (s *GetSpeechHistoryResponseModel) GetLastHistoryItemID() OptNilString
- func (s *GetSpeechHistoryResponseModel) GetScannedUntil() OptNilInt
- func (s *GetSpeechHistoryResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetSpeechHistoryResponseModel) SetHasMore(val bool)
- func (s *GetSpeechHistoryResponseModel) SetHistory(val []SpeechHistoryItemResponseModel)
- func (s *GetSpeechHistoryResponseModel) SetLastHistoryItemID(val OptNilString)
- func (s *GetSpeechHistoryResponseModel) SetScannedUntil(val OptNilInt)
- func (s *GetSpeechHistoryResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetSpeechHistoryResponseModel) Validate() error
- type GetSpeechHistorySortDirection
- type GetSpeechHistorySource
- type GetTestInvocationRouteParams
- type GetTestInvocationRouteRes
- type GetTestInvocationsPageResponseModel
- func (s *GetTestInvocationsPageResponseModel) Decode(d *jx.Decoder) error
- func (s *GetTestInvocationsPageResponseModel) Encode(e *jx.Encoder)
- func (s *GetTestInvocationsPageResponseModel) GetHasMore() bool
- func (s *GetTestInvocationsPageResponseModel) GetMeta() OptListResponseMeta
- func (s *GetTestInvocationsPageResponseModel) GetNextCursor() OptNilString
- func (s *GetTestInvocationsPageResponseModel) GetResults() []TestInvocationSummaryResponseModel
- func (s *GetTestInvocationsPageResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetTestInvocationsPageResponseModel) SetHasMore(val bool)
- func (s *GetTestInvocationsPageResponseModel) SetMeta(val OptListResponseMeta)
- func (s *GetTestInvocationsPageResponseModel) SetNextCursor(val OptNilString)
- func (s *GetTestInvocationsPageResponseModel) SetResults(val []TestInvocationSummaryResponseModel)
- func (s *GetTestInvocationsPageResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetTestInvocationsPageResponseModel) Validate() error
- type GetTestSuiteInvocationResponseModel
- func (s *GetTestSuiteInvocationResponseModel) Decode(d *jx.Decoder) error
- func (s *GetTestSuiteInvocationResponseModel) Encode(e *jx.Encoder)
- func (s *GetTestSuiteInvocationResponseModel) GetAgentID() OptNilString
- func (s *GetTestSuiteInvocationResponseModel) GetBranchID() OptNilString
- func (s *GetTestSuiteInvocationResponseModel) GetCreatedAt() OptInt
- func (s *GetTestSuiteInvocationResponseModel) GetID() string
- func (s *GetTestSuiteInvocationResponseModel) GetTestRuns() []UnitTestRunResponseModel
- func (s *GetTestSuiteInvocationResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetTestSuiteInvocationResponseModel) SetAgentID(val OptNilString)
- func (s *GetTestSuiteInvocationResponseModel) SetBranchID(val OptNilString)
- func (s *GetTestSuiteInvocationResponseModel) SetCreatedAt(val OptInt)
- func (s *GetTestSuiteInvocationResponseModel) SetID(val string)
- func (s *GetTestSuiteInvocationResponseModel) SetTestRuns(val []UnitTestRunResponseModel)
- func (s *GetTestSuiteInvocationResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetTestSuiteInvocationResponseModel) Validate() error
- type GetTestsPageResponseModel
- func (s *GetTestsPageResponseModel) Decode(d *jx.Decoder) error
- func (s *GetTestsPageResponseModel) Encode(e *jx.Encoder)
- func (s *GetTestsPageResponseModel) GetHasMore() bool
- func (s *GetTestsPageResponseModel) GetNextCursor() OptNilString
- func (s *GetTestsPageResponseModel) GetTests() []UnitTestSummaryResponseModel
- func (s *GetTestsPageResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetTestsPageResponseModel) SetHasMore(val bool)
- func (s *GetTestsPageResponseModel) SetNextCursor(val OptNilString)
- func (s *GetTestsPageResponseModel) SetTests(val []UnitTestSummaryResponseModel)
- func (s *GetTestsPageResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetTestsPageResponseModel) Validate() error
- type GetTestsSummariesByIdsResponseModel
- func (s *GetTestsSummariesByIdsResponseModel) Decode(d *jx.Decoder) error
- func (s *GetTestsSummariesByIdsResponseModel) Encode(e *jx.Encoder)
- func (s *GetTestsSummariesByIdsResponseModel) GetTests() GetTestsSummariesByIdsResponseModelTests
- func (s *GetTestsSummariesByIdsResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetTestsSummariesByIdsResponseModel) SetTests(val GetTestsSummariesByIdsResponseModelTests)
- func (s *GetTestsSummariesByIdsResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetTestsSummariesByIdsResponseModel) Validate() error
- type GetTestsSummariesByIdsResponseModelTests
- func (s *GetTestsSummariesByIdsResponseModelTests) Decode(d *jx.Decoder) error
- func (s GetTestsSummariesByIdsResponseModelTests) Encode(e *jx.Encoder)
- func (s GetTestsSummariesByIdsResponseModelTests) MarshalJSON() ([]byte, error)
- func (s *GetTestsSummariesByIdsResponseModelTests) UnmarshalJSON(data []byte) error
- func (s GetTestsSummariesByIdsResponseModelTests) Validate() error
- type GetToolDependentAgentsResponseModel
- func (s *GetToolDependentAgentsResponseModel) Decode(d *jx.Decoder) error
- func (s *GetToolDependentAgentsResponseModel) Encode(e *jx.Encoder)
- func (s *GetToolDependentAgentsResponseModel) GetAgents() []GetToolDependentAgentsResponseModelAgentsItem
- func (s *GetToolDependentAgentsResponseModel) GetHasMore() bool
- func (s *GetToolDependentAgentsResponseModel) GetNextCursor() OptNilString
- func (s *GetToolDependentAgentsResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetToolDependentAgentsResponseModel) SetAgents(val []GetToolDependentAgentsResponseModelAgentsItem)
- func (s *GetToolDependentAgentsResponseModel) SetHasMore(val bool)
- func (s *GetToolDependentAgentsResponseModel) SetNextCursor(val OptNilString)
- func (s *GetToolDependentAgentsResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetToolDependentAgentsResponseModel) Validate() error
- type GetToolDependentAgentsResponseModelAgentsItem
- func NewDependentAvailableAgentIdentifierGetToolDependentAgentsResponseModelAgentsItem(v DependentAvailableAgentIdentifier) GetToolDependentAgentsResponseModelAgentsItem
- func NewDependentUnknownAgentIdentifierGetToolDependentAgentsResponseModelAgentsItem(v DependentUnknownAgentIdentifier) GetToolDependentAgentsResponseModelAgentsItem
- func (s *GetToolDependentAgentsResponseModelAgentsItem) Decode(d *jx.Decoder) error
- func (s GetToolDependentAgentsResponseModelAgentsItem) Encode(e *jx.Encoder)
- func (s GetToolDependentAgentsResponseModelAgentsItem) GetDependentAvailableAgentIdentifier() (v DependentAvailableAgentIdentifier, ok bool)
- func (s GetToolDependentAgentsResponseModelAgentsItem) GetDependentUnknownAgentIdentifier() (v DependentUnknownAgentIdentifier, ok bool)
- func (s GetToolDependentAgentsResponseModelAgentsItem) IsDependentAvailableAgentIdentifier() bool
- func (s GetToolDependentAgentsResponseModelAgentsItem) IsDependentUnknownAgentIdentifier() bool
- func (s GetToolDependentAgentsResponseModelAgentsItem) MarshalJSON() ([]byte, error)
- func (s *GetToolDependentAgentsResponseModelAgentsItem) SetDependentAvailableAgentIdentifier(v DependentAvailableAgentIdentifier)
- func (s *GetToolDependentAgentsResponseModelAgentsItem) SetDependentUnknownAgentIdentifier(v DependentUnknownAgentIdentifier)
- func (s *GetToolDependentAgentsResponseModelAgentsItem) UnmarshalJSON(data []byte) error
- func (s GetToolDependentAgentsResponseModelAgentsItem) Validate() error
- type GetToolDependentAgentsResponseModelAgentsItemType
- type GetToolDependentAgentsRouteParams
- type GetToolDependentAgentsRouteRes
- type GetTranscriptByIDNotFoundApplicationJSON
- func (s *GetTranscriptByIDNotFoundApplicationJSON) Decode(d *jx.Decoder) error
- func (s GetTranscriptByIDNotFoundApplicationJSON) Encode(e *jx.Encoder)
- func (s GetTranscriptByIDNotFoundApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *GetTranscriptByIDNotFoundApplicationJSON) UnmarshalJSON(data []byte) error
- type GetTranscriptByIDOK
- func (s *GetTranscriptByIDOK) Decode(d *jx.Decoder) error
- func (s GetTranscriptByIDOK) Encode(e *jx.Encoder)
- func (s GetTranscriptByIDOK) GetMultichannelSpeechToTextResponseModel() (v MultichannelSpeechToTextResponseModel, ok bool)
- func (s GetTranscriptByIDOK) GetSpeechToTextChunkResponseModel() (v SpeechToTextChunkResponseModel, ok bool)
- func (s GetTranscriptByIDOK) IsMultichannelSpeechToTextResponseModel() bool
- func (s GetTranscriptByIDOK) IsSpeechToTextChunkResponseModel() bool
- func (s GetTranscriptByIDOK) MarshalJSON() ([]byte, error)
- func (s *GetTranscriptByIDOK) SetMultichannelSpeechToTextResponseModel(v MultichannelSpeechToTextResponseModel)
- func (s *GetTranscriptByIDOK) SetSpeechToTextChunkResponseModel(v SpeechToTextChunkResponseModel)
- func (s *GetTranscriptByIDOK) UnmarshalJSON(data []byte) error
- func (s GetTranscriptByIDOK) Validate() error
- type GetTranscriptByIDOKType
- type GetTranscriptByIDParams
- type GetTranscriptByIDRes
- type GetTranscriptByIDUnauthorizedApplicationJSON
- func (s *GetTranscriptByIDUnauthorizedApplicationJSON) Decode(d *jx.Decoder) error
- func (s GetTranscriptByIDUnauthorizedApplicationJSON) Encode(e *jx.Encoder)
- func (s GetTranscriptByIDUnauthorizedApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *GetTranscriptByIDUnauthorizedApplicationJSON) UnmarshalJSON(data []byte) error
- type GetUnitTestResponseModel
- func (s *GetUnitTestResponseModel) Decode(d *jx.Decoder) error
- func (s *GetUnitTestResponseModel) Encode(e *jx.Encoder)
- func (s *GetUnitTestResponseModel) GetChatHistory() []ConversationHistoryTranscriptCommonModelOutput
- func (s *GetUnitTestResponseModel) GetDynamicVariables() OptGetUnitTestResponseModelDynamicVariables
- func (s *GetUnitTestResponseModel) GetFailureExamples() []AgentFailureResponseExample
- func (s *GetUnitTestResponseModel) GetFromConversationMetadata() OptTestFromConversationMetadataOutput
- func (s *GetUnitTestResponseModel) GetID() string
- func (s *GetUnitTestResponseModel) GetName() string
- func (s *GetUnitTestResponseModel) GetSuccessCondition() string
- func (s *GetUnitTestResponseModel) GetSuccessExamples() []AgentSuccessfulResponseExample
- func (s *GetUnitTestResponseModel) GetToolCallParameters() OptUnitTestToolCallEvaluationModelOutput
- func (s *GetUnitTestResponseModel) GetType() OptUnitTestCommonModelType
- func (s *GetUnitTestResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetUnitTestResponseModel) SetChatHistory(val []ConversationHistoryTranscriptCommonModelOutput)
- func (s *GetUnitTestResponseModel) SetDynamicVariables(val OptGetUnitTestResponseModelDynamicVariables)
- func (s *GetUnitTestResponseModel) SetFailureExamples(val []AgentFailureResponseExample)
- func (s *GetUnitTestResponseModel) SetFromConversationMetadata(val OptTestFromConversationMetadataOutput)
- func (s *GetUnitTestResponseModel) SetID(val string)
- func (s *GetUnitTestResponseModel) SetName(val string)
- func (s *GetUnitTestResponseModel) SetSuccessCondition(val string)
- func (s *GetUnitTestResponseModel) SetSuccessExamples(val []AgentSuccessfulResponseExample)
- func (s *GetUnitTestResponseModel) SetToolCallParameters(val OptUnitTestToolCallEvaluationModelOutput)
- func (s *GetUnitTestResponseModel) SetType(val OptUnitTestCommonModelType)
- func (s *GetUnitTestResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetUnitTestResponseModel) Validate() error
- type GetUnitTestResponseModelDynamicVariables
- func (s *GetUnitTestResponseModelDynamicVariables) Decode(d *jx.Decoder) error
- func (s GetUnitTestResponseModelDynamicVariables) Encode(e *jx.Encoder)
- func (s GetUnitTestResponseModelDynamicVariables) MarshalJSON() ([]byte, error)
- func (s *GetUnitTestResponseModelDynamicVariables) UnmarshalJSON(data []byte) error
- func (s GetUnitTestResponseModelDynamicVariables) Validate() error
- type GetUnitTestResponseModelDynamicVariablesItem
- func NewBoolGetUnitTestResponseModelDynamicVariablesItem(v bool) GetUnitTestResponseModelDynamicVariablesItem
- func NewFloat64GetUnitTestResponseModelDynamicVariablesItem(v float64) GetUnitTestResponseModelDynamicVariablesItem
- func NewIntGetUnitTestResponseModelDynamicVariablesItem(v int) GetUnitTestResponseModelDynamicVariablesItem
- func NewStringGetUnitTestResponseModelDynamicVariablesItem(v string) GetUnitTestResponseModelDynamicVariablesItem
- func (s *GetUnitTestResponseModelDynamicVariablesItem) Decode(d *jx.Decoder) error
- func (s GetUnitTestResponseModelDynamicVariablesItem) Encode(e *jx.Encoder)
- func (s GetUnitTestResponseModelDynamicVariablesItem) GetBool() (v bool, ok bool)
- func (s GetUnitTestResponseModelDynamicVariablesItem) GetFloat64() (v float64, ok bool)
- func (s GetUnitTestResponseModelDynamicVariablesItem) GetInt() (v int, ok bool)
- func (s GetUnitTestResponseModelDynamicVariablesItem) GetString() (v string, ok bool)
- func (s GetUnitTestResponseModelDynamicVariablesItem) IsBool() bool
- func (s GetUnitTestResponseModelDynamicVariablesItem) IsFloat64() bool
- func (s GetUnitTestResponseModelDynamicVariablesItem) IsInt() bool
- func (s GetUnitTestResponseModelDynamicVariablesItem) IsString() bool
- func (s GetUnitTestResponseModelDynamicVariablesItem) MarshalJSON() ([]byte, error)
- func (s *GetUnitTestResponseModelDynamicVariablesItem) SetBool(v bool)
- func (s *GetUnitTestResponseModelDynamicVariablesItem) SetFloat64(v float64)
- func (s *GetUnitTestResponseModelDynamicVariablesItem) SetInt(v int)
- func (s *GetUnitTestResponseModelDynamicVariablesItem) SetString(v string)
- func (s *GetUnitTestResponseModelDynamicVariablesItem) UnmarshalJSON(data []byte) error
- func (s GetUnitTestResponseModelDynamicVariablesItem) Validate() error
- type GetUnitTestResponseModelDynamicVariablesItemType
- type GetUserInfoParams
- type GetUserInfoRes
- type GetUserVoicesV2Params
- type GetUserVoicesV2Res
- type GetVoiceByIDParams
- type GetVoiceByIDRes
- type GetVoiceSettingsParams
- type GetVoiceSettingsRes
- type GetVoicesParams
- type GetVoicesRes
- type GetVoicesResponseModel
- func (s *GetVoicesResponseModel) Decode(d *jx.Decoder) error
- func (s *GetVoicesResponseModel) Encode(e *jx.Encoder)
- func (s *GetVoicesResponseModel) GetVoices() []VoiceResponseModel
- func (s *GetVoicesResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetVoicesResponseModel) SetVoices(val []VoiceResponseModel)
- func (s *GetVoicesResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetVoicesResponseModel) Validate() error
- type GetVoicesV2ResponseModel
- func (s *GetVoicesV2ResponseModel) Decode(d *jx.Decoder) error
- func (s *GetVoicesV2ResponseModel) Encode(e *jx.Encoder)
- func (s *GetVoicesV2ResponseModel) GetHasMore() bool
- func (s *GetVoicesV2ResponseModel) GetNextPageToken() OptNilString
- func (s *GetVoicesV2ResponseModel) GetTotalCount() int
- func (s *GetVoicesV2ResponseModel) GetVoices() []VoiceResponseModel
- func (s *GetVoicesV2ResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetVoicesV2ResponseModel) SetHasMore(val bool)
- func (s *GetVoicesV2ResponseModel) SetNextPageToken(val OptNilString)
- func (s *GetVoicesV2ResponseModel) SetTotalCount(val int)
- func (s *GetVoicesV2ResponseModel) SetVoices(val []VoiceResponseModel)
- func (s *GetVoicesV2ResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetVoicesV2ResponseModel) Validate() error
- type GetWhatsAppAccountResponse
- func (s *GetWhatsAppAccountResponse) Decode(d *jx.Decoder) error
- func (s *GetWhatsAppAccountResponse) Encode(e *jx.Encoder)
- func (s *GetWhatsAppAccountResponse) GetAssignedAgentID() OptNilString
- func (s *GetWhatsAppAccountResponse) GetAssignedAgentName() NilString
- func (s *GetWhatsAppAccountResponse) GetBusinessAccountID() string
- func (s *GetWhatsAppAccountResponse) GetBusinessAccountName() string
- func (s *GetWhatsAppAccountResponse) GetPhoneNumber() string
- func (s *GetWhatsAppAccountResponse) GetPhoneNumberID() string
- func (s *GetWhatsAppAccountResponse) GetPhoneNumberName() string
- func (s *GetWhatsAppAccountResponse) MarshalJSON() ([]byte, error)
- func (s *GetWhatsAppAccountResponse) SetAssignedAgentID(val OptNilString)
- func (s *GetWhatsAppAccountResponse) SetAssignedAgentName(val NilString)
- func (s *GetWhatsAppAccountResponse) SetBusinessAccountID(val string)
- func (s *GetWhatsAppAccountResponse) SetBusinessAccountName(val string)
- func (s *GetWhatsAppAccountResponse) SetPhoneNumber(val string)
- func (s *GetWhatsAppAccountResponse) SetPhoneNumberID(val string)
- func (s *GetWhatsAppAccountResponse) SetPhoneNumberName(val string)
- func (s *GetWhatsAppAccountResponse) UnmarshalJSON(data []byte) error
- type GetWhatsappAccountParams
- type GetWhatsappAccountRes
- type GetWorkspaceBatchCallsParams
- type GetWorkspaceBatchCallsRes
- type GetWorkspaceSecretsResponseModel
- func (s *GetWorkspaceSecretsResponseModel) Decode(d *jx.Decoder) error
- func (s *GetWorkspaceSecretsResponseModel) Encode(e *jx.Encoder)
- func (s *GetWorkspaceSecretsResponseModel) GetSecrets() []ConvAIWorkspaceStoredSecretConfig
- func (s *GetWorkspaceSecretsResponseModel) MarshalJSON() ([]byte, error)
- func (s *GetWorkspaceSecretsResponseModel) SetSecrets(val []ConvAIWorkspaceStoredSecretConfig)
- func (s *GetWorkspaceSecretsResponseModel) UnmarshalJSON(data []byte) error
- func (s *GetWorkspaceSecretsResponseModel) Validate() error
- type GetWorkspaceServiceAccountsParams
- type GetWorkspaceServiceAccountsRes
- type GetWorkspaceWebhooksRouteParams
- type GetWorkspaceWebhooksRouteRes
- type HTTPValidationError
- func (s *HTTPValidationError) Decode(d *jx.Decoder) error
- func (s *HTTPValidationError) Encode(e *jx.Encoder)
- func (s *HTTPValidationError) GetDetail() []ValidationError
- func (s *HTTPValidationError) MarshalJSON() ([]byte, error)
- func (s *HTTPValidationError) SetDetail(val []ValidationError)
- func (s *HTTPValidationError) UnmarshalJSON(data []byte) error
- func (s *HTTPValidationError) Validate() error
- type HandleSipTrunkOutboundCallParams
- type HandleSipTrunkOutboundCallRes
- type HandleTwilioOutboundCallParams
- type HandleTwilioOutboundCallRes
- type Handler
- type HistoryAlignmentResponseModel
- func (s *HistoryAlignmentResponseModel) Decode(d *jx.Decoder) error
- func (s *HistoryAlignmentResponseModel) Encode(e *jx.Encoder)
- func (s *HistoryAlignmentResponseModel) GetCharacterEndTimesSeconds() []float64
- func (s *HistoryAlignmentResponseModel) GetCharacterStartTimesSeconds() []float64
- func (s *HistoryAlignmentResponseModel) GetCharacters() []string
- func (s *HistoryAlignmentResponseModel) MarshalJSON() ([]byte, error)
- func (s *HistoryAlignmentResponseModel) SetCharacterEndTimesSeconds(val []float64)
- func (s *HistoryAlignmentResponseModel) SetCharacterStartTimesSeconds(val []float64)
- func (s *HistoryAlignmentResponseModel) SetCharacters(val []string)
- func (s *HistoryAlignmentResponseModel) UnmarshalJSON(data []byte) error
- func (s *HistoryAlignmentResponseModel) Validate() error
- type HistoryAlignmentsResponseModel
- func (s *HistoryAlignmentsResponseModel) Decode(d *jx.Decoder) error
- func (s *HistoryAlignmentsResponseModel) Encode(e *jx.Encoder)
- func (s *HistoryAlignmentsResponseModel) GetAlignment() HistoryAlignmentResponseModel
- func (s *HistoryAlignmentsResponseModel) GetNormalizedAlignment() HistoryAlignmentResponseModel
- func (s *HistoryAlignmentsResponseModel) MarshalJSON() ([]byte, error)
- func (s *HistoryAlignmentsResponseModel) SetAlignment(val HistoryAlignmentResponseModel)
- func (s *HistoryAlignmentsResponseModel) SetNormalizedAlignment(val HistoryAlignmentResponseModel)
- func (s *HistoryAlignmentsResponseModel) UnmarshalJSON(data []byte) error
- func (s *HistoryAlignmentsResponseModel) Validate() error
- type HtmlExportOptions
- func (s *HtmlExportOptions) Decode(d *jx.Decoder) error
- func (s *HtmlExportOptions) Encode(e *jx.Encoder)
- func (s *HtmlExportOptions) GetFormat() HtmlExportOptionsFormat
- func (s *HtmlExportOptions) GetIncludeSpeakers() OptBool
- func (s *HtmlExportOptions) GetIncludeTimestamps() OptBool
- func (s *HtmlExportOptions) GetMaxSegmentChars() OptNilInt
- func (s *HtmlExportOptions) GetMaxSegmentDurationS() OptNilFloat64
- func (s *HtmlExportOptions) GetSegmentOnSilenceLongerThanS() OptNilFloat64
- func (s *HtmlExportOptions) MarshalJSON() ([]byte, error)
- func (s *HtmlExportOptions) SetFormat(val HtmlExportOptionsFormat)
- func (s *HtmlExportOptions) SetIncludeSpeakers(val OptBool)
- func (s *HtmlExportOptions) SetIncludeTimestamps(val OptBool)
- func (s *HtmlExportOptions) SetMaxSegmentChars(val OptNilInt)
- func (s *HtmlExportOptions) SetMaxSegmentDurationS(val OptNilFloat64)
- func (s *HtmlExportOptions) SetSegmentOnSilenceLongerThanS(val OptNilFloat64)
- func (s *HtmlExportOptions) UnmarshalJSON(data []byte) error
- func (s *HtmlExportOptions) Validate() error
- type HtmlExportOptionsFormat
- func (HtmlExportOptionsFormat) AllValues() []HtmlExportOptionsFormat
- func (s *HtmlExportOptionsFormat) Decode(d *jx.Decoder) error
- func (s HtmlExportOptionsFormat) Encode(e *jx.Encoder)
- func (s HtmlExportOptionsFormat) MarshalJSON() ([]byte, error)
- func (s HtmlExportOptionsFormat) MarshalText() ([]byte, error)
- func (s *HtmlExportOptionsFormat) UnmarshalJSON(data []byte) error
- func (s *HtmlExportOptionsFormat) UnmarshalText(data []byte) error
- func (s HtmlExportOptionsFormat) Validate() error
- type ImportWhatsAppAccountRequest
- func (s *ImportWhatsAppAccountRequest) Decode(d *jx.Decoder) error
- func (s *ImportWhatsAppAccountRequest) Encode(e *jx.Encoder)
- func (s *ImportWhatsAppAccountRequest) GetBusinessAccountID() string
- func (s *ImportWhatsAppAccountRequest) GetPhoneNumberID() string
- func (s *ImportWhatsAppAccountRequest) GetTokenCode() string
- func (s *ImportWhatsAppAccountRequest) MarshalJSON() ([]byte, error)
- func (s *ImportWhatsAppAccountRequest) SetBusinessAccountID(val string)
- func (s *ImportWhatsAppAccountRequest) SetPhoneNumberID(val string)
- func (s *ImportWhatsAppAccountRequest) SetTokenCode(val string)
- func (s *ImportWhatsAppAccountRequest) UnmarshalJSON(data []byte) error
- type ImportWhatsAppAccountResponse
- func (s *ImportWhatsAppAccountResponse) Decode(d *jx.Decoder) error
- func (s *ImportWhatsAppAccountResponse) Encode(e *jx.Encoder)
- func (s *ImportWhatsAppAccountResponse) GetPhoneNumberID() string
- func (s *ImportWhatsAppAccountResponse) MarshalJSON() ([]byte, error)
- func (s *ImportWhatsAppAccountResponse) SetPhoneNumberID(val string)
- func (s *ImportWhatsAppAccountResponse) UnmarshalJSON(data []byte) error
- type ImportWhatsappAccountParams
- type ImportWhatsappAccountRes
- type InboundSIPTrunkConfigRequestModel
- func (s *InboundSIPTrunkConfigRequestModel) Decode(d *jx.Decoder) error
- func (s *InboundSIPTrunkConfigRequestModel) Encode(e *jx.Encoder)
- func (s *InboundSIPTrunkConfigRequestModel) GetAllowedAddresses() OptNilStringArray
- func (s *InboundSIPTrunkConfigRequestModel) GetAllowedNumbers() OptNilStringArray
- func (s *InboundSIPTrunkConfigRequestModel) GetCredentials() OptSIPTrunkCredentialsRequestModel
- func (s *InboundSIPTrunkConfigRequestModel) GetMediaEncryption() OptSIPMediaEncryptionEnum
- func (s *InboundSIPTrunkConfigRequestModel) GetRemoteDomains() OptNilStringArray
- func (s *InboundSIPTrunkConfigRequestModel) MarshalJSON() ([]byte, error)
- func (s *InboundSIPTrunkConfigRequestModel) SetAllowedAddresses(val OptNilStringArray)
- func (s *InboundSIPTrunkConfigRequestModel) SetAllowedNumbers(val OptNilStringArray)
- func (s *InboundSIPTrunkConfigRequestModel) SetCredentials(val OptSIPTrunkCredentialsRequestModel)
- func (s *InboundSIPTrunkConfigRequestModel) SetMediaEncryption(val OptSIPMediaEncryptionEnum)
- func (s *InboundSIPTrunkConfigRequestModel) SetRemoteDomains(val OptNilStringArray)
- func (s *InboundSIPTrunkConfigRequestModel) UnmarshalJSON(data []byte) error
- func (s *InboundSIPTrunkConfigRequestModel) Validate() error
- type InviteUserParams
- type InviteUserRes
- type InviteUsersBulkParams
- type InviteUsersBulkRes
- type Invoker
- type KnowledgeBaseDependentType
- type KnowledgeBaseDocumentChunkResponseModel
- func (s *KnowledgeBaseDocumentChunkResponseModel) Decode(d *jx.Decoder) error
- func (s *KnowledgeBaseDocumentChunkResponseModel) Encode(e *jx.Encoder)
- func (s *KnowledgeBaseDocumentChunkResponseModel) GetContent() string
- func (s *KnowledgeBaseDocumentChunkResponseModel) GetID() string
- func (s *KnowledgeBaseDocumentChunkResponseModel) GetName() string
- func (s *KnowledgeBaseDocumentChunkResponseModel) MarshalJSON() ([]byte, error)
- func (s *KnowledgeBaseDocumentChunkResponseModel) SetContent(val string)
- func (s *KnowledgeBaseDocumentChunkResponseModel) SetID(val string)
- func (s *KnowledgeBaseDocumentChunkResponseModel) SetName(val string)
- func (s *KnowledgeBaseDocumentChunkResponseModel) UnmarshalJSON(data []byte) error
- type KnowledgeBaseDocumentMetadataResponseModel
- func (s *KnowledgeBaseDocumentMetadataResponseModel) Decode(d *jx.Decoder) error
- func (s *KnowledgeBaseDocumentMetadataResponseModel) Encode(e *jx.Encoder)
- func (s *KnowledgeBaseDocumentMetadataResponseModel) GetCreatedAtUnixSecs() int
- func (s *KnowledgeBaseDocumentMetadataResponseModel) GetLastUpdatedAtUnixSecs() int
- func (s *KnowledgeBaseDocumentMetadataResponseModel) GetSizeBytes() int
- func (s *KnowledgeBaseDocumentMetadataResponseModel) MarshalJSON() ([]byte, error)
- func (s *KnowledgeBaseDocumentMetadataResponseModel) SetCreatedAtUnixSecs(val int)
- func (s *KnowledgeBaseDocumentMetadataResponseModel) SetLastUpdatedAtUnixSecs(val int)
- func (s *KnowledgeBaseDocumentMetadataResponseModel) SetSizeBytes(val int)
- func (s *KnowledgeBaseDocumentMetadataResponseModel) UnmarshalJSON(data []byte) error
- type KnowledgeBaseDocumentType
- type KnowledgeBaseFolderPathSegmentResponseModel
- func (s *KnowledgeBaseFolderPathSegmentResponseModel) Decode(d *jx.Decoder) error
- func (s *KnowledgeBaseFolderPathSegmentResponseModel) Encode(e *jx.Encoder)
- func (s *KnowledgeBaseFolderPathSegmentResponseModel) GetID() string
- func (s *KnowledgeBaseFolderPathSegmentResponseModel) GetName() NilString
- func (s *KnowledgeBaseFolderPathSegmentResponseModel) MarshalJSON() ([]byte, error)
- func (s *KnowledgeBaseFolderPathSegmentResponseModel) SetID(val string)
- func (s *KnowledgeBaseFolderPathSegmentResponseModel) SetName(val NilString)
- func (s *KnowledgeBaseFolderPathSegmentResponseModel) UnmarshalJSON(data []byte) error
- type KnowledgeBaseSortBy
- type KnowledgeBaseSummaryBatchSuccessfulResponseModel
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) Decode(d *jx.Decoder) error
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) Encode(e *jx.Encoder)
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) GetData() KnowledgeBaseSummaryBatchSuccessfulResponseModelData
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) GetStatus() KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) MarshalJSON() ([]byte, error)
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) SetData(val KnowledgeBaseSummaryBatchSuccessfulResponseModelData)
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) SetStatus(val KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus)
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) UnmarshalJSON(data []byte) error
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) Validate() error
- type KnowledgeBaseSummaryBatchSuccessfulResponseModelData
- func NewGetKnowledgeBaseSummaryFileResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData(v GetKnowledgeBaseSummaryFileResponseModel) KnowledgeBaseSummaryBatchSuccessfulResponseModelData
- func NewGetKnowledgeBaseSummaryFolderResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData(v GetKnowledgeBaseSummaryFolderResponseModel) KnowledgeBaseSummaryBatchSuccessfulResponseModelData
- func NewGetKnowledgeBaseSummaryTextResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData(v GetKnowledgeBaseSummaryTextResponseModel) KnowledgeBaseSummaryBatchSuccessfulResponseModelData
- func NewGetKnowledgeBaseSummaryURLResponseModelKnowledgeBaseSummaryBatchSuccessfulResponseModelData(v GetKnowledgeBaseSummaryURLResponseModel) KnowledgeBaseSummaryBatchSuccessfulResponseModelData
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelData) Decode(d *jx.Decoder) error
- func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) Encode(e *jx.Encoder)
- func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) GetGetKnowledgeBaseSummaryFileResponseModel() (v GetKnowledgeBaseSummaryFileResponseModel, ok bool)
- func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) GetGetKnowledgeBaseSummaryFolderResponseModel() (v GetKnowledgeBaseSummaryFolderResponseModel, ok bool)
- func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) GetGetKnowledgeBaseSummaryTextResponseModel() (v GetKnowledgeBaseSummaryTextResponseModel, ok bool)
- func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) GetGetKnowledgeBaseSummaryURLResponseModel() (v GetKnowledgeBaseSummaryURLResponseModel, ok bool)
- func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) IsGetKnowledgeBaseSummaryFileResponseModel() bool
- func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) IsGetKnowledgeBaseSummaryFolderResponseModel() bool
- func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) IsGetKnowledgeBaseSummaryTextResponseModel() bool
- func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) IsGetKnowledgeBaseSummaryURLResponseModel() bool
- func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) MarshalJSON() ([]byte, error)
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelData) SetGetKnowledgeBaseSummaryFileResponseModel(v GetKnowledgeBaseSummaryFileResponseModel)
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelData) SetGetKnowledgeBaseSummaryFolderResponseModel(v GetKnowledgeBaseSummaryFolderResponseModel)
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelData) SetGetKnowledgeBaseSummaryTextResponseModel(v GetKnowledgeBaseSummaryTextResponseModel)
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelData) SetGetKnowledgeBaseSummaryURLResponseModel(v GetKnowledgeBaseSummaryURLResponseModel)
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelData) UnmarshalJSON(data []byte) error
- func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) Validate() error
- type KnowledgeBaseSummaryBatchSuccessfulResponseModelDataType
- type KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus
- func (KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) AllValues() []KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) Decode(d *jx.Decoder) error
- func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) Encode(e *jx.Encoder)
- func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) MarshalJSON() ([]byte, error)
- func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) MarshalText() ([]byte, error)
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) UnmarshalJSON(data []byte) error
- func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) UnmarshalText(data []byte) error
- func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) Validate() error
- type LLM
- func (LLM) AllValues() []LLM
- func (s *LLM) Decode(d *jx.Decoder) error
- func (s LLM) Encode(e *jx.Encoder)
- func (s LLM) MarshalJSON() ([]byte, error)
- func (s LLM) MarshalText() ([]byte, error)
- func (s *LLM) UnmarshalJSON(data []byte) error
- func (s *LLM) UnmarshalText(data []byte) error
- func (s LLM) Validate() error
- type LLMCategoryUsage
- func (s *LLMCategoryUsage) Decode(d *jx.Decoder) error
- func (s *LLMCategoryUsage) Encode(e *jx.Encoder)
- func (s *LLMCategoryUsage) GetInitiatedGeneration() OptLLMUsageOutput
- func (s *LLMCategoryUsage) GetIrreversibleGeneration() OptLLMUsageOutput
- func (s *LLMCategoryUsage) MarshalJSON() ([]byte, error)
- func (s *LLMCategoryUsage) SetInitiatedGeneration(val OptLLMUsageOutput)
- func (s *LLMCategoryUsage) SetIrreversibleGeneration(val OptLLMUsageOutput)
- func (s *LLMCategoryUsage) UnmarshalJSON(data []byte) error
- func (s *LLMCategoryUsage) Validate() error
- type LLMInputOutputTokensUsage
- func (s *LLMInputOutputTokensUsage) Decode(d *jx.Decoder) error
- func (s *LLMInputOutputTokensUsage) Encode(e *jx.Encoder)
- func (s *LLMInputOutputTokensUsage) GetInput() OptLLMTokensCategoryUsage
- func (s *LLMInputOutputTokensUsage) GetInputCacheRead() OptLLMTokensCategoryUsage
- func (s *LLMInputOutputTokensUsage) GetInputCacheWrite() OptLLMTokensCategoryUsage
- func (s *LLMInputOutputTokensUsage) GetOutputTotal() OptLLMTokensCategoryUsage
- func (s *LLMInputOutputTokensUsage) MarshalJSON() ([]byte, error)
- func (s *LLMInputOutputTokensUsage) SetInput(val OptLLMTokensCategoryUsage)
- func (s *LLMInputOutputTokensUsage) SetInputCacheRead(val OptLLMTokensCategoryUsage)
- func (s *LLMInputOutputTokensUsage) SetInputCacheWrite(val OptLLMTokensCategoryUsage)
- func (s *LLMInputOutputTokensUsage) SetOutputTotal(val OptLLMTokensCategoryUsage)
- func (s *LLMInputOutputTokensUsage) UnmarshalJSON(data []byte) error
- func (s *LLMInputOutputTokensUsage) Validate() error
- type LLMParameterEvaluationStrategy
- func (s *LLMParameterEvaluationStrategy) Decode(d *jx.Decoder) error
- func (s *LLMParameterEvaluationStrategy) Encode(e *jx.Encoder)
- func (s *LLMParameterEvaluationStrategy) GetDescription() string
- func (s *LLMParameterEvaluationStrategy) GetType() LLMParameterEvaluationStrategyType
- func (s *LLMParameterEvaluationStrategy) MarshalJSON() ([]byte, error)
- func (s *LLMParameterEvaluationStrategy) SetDescription(val string)
- func (s *LLMParameterEvaluationStrategy) SetType(val LLMParameterEvaluationStrategyType)
- func (s *LLMParameterEvaluationStrategy) UnmarshalJSON(data []byte) error
- func (s *LLMParameterEvaluationStrategy) Validate() error
- type LLMParameterEvaluationStrategyType
- func (LLMParameterEvaluationStrategyType) AllValues() []LLMParameterEvaluationStrategyType
- func (s *LLMParameterEvaluationStrategyType) Decode(d *jx.Decoder) error
- func (s LLMParameterEvaluationStrategyType) Encode(e *jx.Encoder)
- func (s LLMParameterEvaluationStrategyType) MarshalJSON() ([]byte, error)
- func (s LLMParameterEvaluationStrategyType) MarshalText() ([]byte, error)
- func (s *LLMParameterEvaluationStrategyType) UnmarshalJSON(data []byte) error
- func (s *LLMParameterEvaluationStrategyType) UnmarshalText(data []byte) error
- func (s LLMParameterEvaluationStrategyType) Validate() error
- type LLMTokensCategoryUsage
- func (s *LLMTokensCategoryUsage) Decode(d *jx.Decoder) error
- func (s *LLMTokensCategoryUsage) Encode(e *jx.Encoder)
- func (s *LLMTokensCategoryUsage) GetPrice() OptFloat64
- func (s *LLMTokensCategoryUsage) GetTokens() OptInt
- func (s *LLMTokensCategoryUsage) MarshalJSON() ([]byte, error)
- func (s *LLMTokensCategoryUsage) SetPrice(val OptFloat64)
- func (s *LLMTokensCategoryUsage) SetTokens(val OptInt)
- func (s *LLMTokensCategoryUsage) UnmarshalJSON(data []byte) error
- func (s *LLMTokensCategoryUsage) Validate() error
- type LLMUsageCalculatorLLMResponseModel
- func (s *LLMUsageCalculatorLLMResponseModel) Decode(d *jx.Decoder) error
- func (s *LLMUsageCalculatorLLMResponseModel) Encode(e *jx.Encoder)
- func (s *LLMUsageCalculatorLLMResponseModel) GetLlm() LLM
- func (s *LLMUsageCalculatorLLMResponseModel) GetPricePerMinute() float64
- func (s *LLMUsageCalculatorLLMResponseModel) MarshalJSON() ([]byte, error)
- func (s *LLMUsageCalculatorLLMResponseModel) SetLlm(val LLM)
- func (s *LLMUsageCalculatorLLMResponseModel) SetPricePerMinute(val float64)
- func (s *LLMUsageCalculatorLLMResponseModel) UnmarshalJSON(data []byte) error
- func (s *LLMUsageCalculatorLLMResponseModel) Validate() error
- type LLMUsageCalculatorPublicRequestModel
- func (s *LLMUsageCalculatorPublicRequestModel) Decode(d *jx.Decoder) error
- func (s *LLMUsageCalculatorPublicRequestModel) Encode(e *jx.Encoder)
- func (s *LLMUsageCalculatorPublicRequestModel) GetNumberOfPages() int
- func (s *LLMUsageCalculatorPublicRequestModel) GetPromptLength() int
- func (s *LLMUsageCalculatorPublicRequestModel) GetRagEnabled() bool
- func (s *LLMUsageCalculatorPublicRequestModel) MarshalJSON() ([]byte, error)
- func (s *LLMUsageCalculatorPublicRequestModel) SetNumberOfPages(val int)
- func (s *LLMUsageCalculatorPublicRequestModel) SetPromptLength(val int)
- func (s *LLMUsageCalculatorPublicRequestModel) SetRagEnabled(val bool)
- func (s *LLMUsageCalculatorPublicRequestModel) UnmarshalJSON(data []byte) error
- type LLMUsageCalculatorRequestModel
- func (s *LLMUsageCalculatorRequestModel) Decode(d *jx.Decoder) error
- func (s *LLMUsageCalculatorRequestModel) Encode(e *jx.Encoder)
- func (s *LLMUsageCalculatorRequestModel) GetNumberOfPages() OptNilInt
- func (s *LLMUsageCalculatorRequestModel) GetPromptLength() OptNilInt
- func (s *LLMUsageCalculatorRequestModel) GetRagEnabled() OptNilBool
- func (s *LLMUsageCalculatorRequestModel) MarshalJSON() ([]byte, error)
- func (s *LLMUsageCalculatorRequestModel) SetNumberOfPages(val OptNilInt)
- func (s *LLMUsageCalculatorRequestModel) SetPromptLength(val OptNilInt)
- func (s *LLMUsageCalculatorRequestModel) SetRagEnabled(val OptNilBool)
- func (s *LLMUsageCalculatorRequestModel) UnmarshalJSON(data []byte) error
- type LLMUsageCalculatorResponseModel
- func (s *LLMUsageCalculatorResponseModel) Decode(d *jx.Decoder) error
- func (s *LLMUsageCalculatorResponseModel) Encode(e *jx.Encoder)
- func (s *LLMUsageCalculatorResponseModel) GetLlmPrices() []LLMUsageCalculatorLLMResponseModel
- func (s *LLMUsageCalculatorResponseModel) MarshalJSON() ([]byte, error)
- func (s *LLMUsageCalculatorResponseModel) SetLlmPrices(val []LLMUsageCalculatorLLMResponseModel)
- func (s *LLMUsageCalculatorResponseModel) UnmarshalJSON(data []byte) error
- func (s *LLMUsageCalculatorResponseModel) Validate() error
- type LLMUsageInput
- func (s *LLMUsageInput) Decode(d *jx.Decoder) error
- func (s *LLMUsageInput) Encode(e *jx.Encoder)
- func (s *LLMUsageInput) GetModelUsage() OptLLMUsageInputModelUsage
- func (s *LLMUsageInput) MarshalJSON() ([]byte, error)
- func (s *LLMUsageInput) SetModelUsage(val OptLLMUsageInputModelUsage)
- func (s *LLMUsageInput) UnmarshalJSON(data []byte) error
- func (s *LLMUsageInput) Validate() error
- type LLMUsageInputModelUsage
- type LLMUsageOutput
- func (s *LLMUsageOutput) Decode(d *jx.Decoder) error
- func (s *LLMUsageOutput) Encode(e *jx.Encoder)
- func (s *LLMUsageOutput) GetModelUsage() OptLLMUsageOutputModelUsage
- func (s *LLMUsageOutput) MarshalJSON() ([]byte, error)
- func (s *LLMUsageOutput) SetModelUsage(val OptLLMUsageOutputModelUsage)
- func (s *LLMUsageOutput) UnmarshalJSON(data []byte) error
- func (s *LLMUsageOutput) Validate() error
- type LLMUsageOutputModelUsage
- func (s *LLMUsageOutputModelUsage) Decode(d *jx.Decoder) error
- func (s LLMUsageOutputModelUsage) Encode(e *jx.Encoder)
- func (s LLMUsageOutputModelUsage) MarshalJSON() ([]byte, error)
- func (s *LLMUsageOutputModelUsage) UnmarshalJSON(data []byte) error
- func (s LLMUsageOutputModelUsage) Validate() error
- type Labeler
- type LanguageAddedResponse
- func (s *LanguageAddedResponse) Decode(d *jx.Decoder) error
- func (s *LanguageAddedResponse) Encode(e *jx.Encoder)
- func (s *LanguageAddedResponse) GetVersion() int
- func (s *LanguageAddedResponse) MarshalJSON() ([]byte, error)
- func (s *LanguageAddedResponse) SetVersion(val int)
- func (s *LanguageAddedResponse) UnmarshalJSON(data []byte) error
- type LanguageDetectionToolResultModel
- func (s *LanguageDetectionToolResultModel) Decode(d *jx.Decoder) error
- func (s *LanguageDetectionToolResultModel) Encode(e *jx.Encoder)
- func (s *LanguageDetectionToolResultModel) GetLanguage() OptNilString
- func (s *LanguageDetectionToolResultModel) GetReason() OptNilString
- func (s *LanguageDetectionToolResultModel) GetResultType() OptLanguageDetectionToolResultModelResultType
- func (s *LanguageDetectionToolResultModel) GetStatus() OptLanguageDetectionToolResultModelStatus
- func (s *LanguageDetectionToolResultModel) MarshalJSON() ([]byte, error)
- func (s *LanguageDetectionToolResultModel) SetLanguage(val OptNilString)
- func (s *LanguageDetectionToolResultModel) SetReason(val OptNilString)
- func (s *LanguageDetectionToolResultModel) SetResultType(val OptLanguageDetectionToolResultModelResultType)
- func (s *LanguageDetectionToolResultModel) SetStatus(val OptLanguageDetectionToolResultModelStatus)
- func (s *LanguageDetectionToolResultModel) UnmarshalJSON(data []byte) error
- func (s *LanguageDetectionToolResultModel) Validate() error
- type LanguageDetectionToolResultModelResultType
- func (LanguageDetectionToolResultModelResultType) AllValues() []LanguageDetectionToolResultModelResultType
- func (s *LanguageDetectionToolResultModelResultType) Decode(d *jx.Decoder) error
- func (s LanguageDetectionToolResultModelResultType) Encode(e *jx.Encoder)
- func (s LanguageDetectionToolResultModelResultType) MarshalJSON() ([]byte, error)
- func (s LanguageDetectionToolResultModelResultType) MarshalText() ([]byte, error)
- func (s *LanguageDetectionToolResultModelResultType) UnmarshalJSON(data []byte) error
- func (s *LanguageDetectionToolResultModelResultType) UnmarshalText(data []byte) error
- func (s LanguageDetectionToolResultModelResultType) Validate() error
- type LanguageDetectionToolResultModelStatus
- func (LanguageDetectionToolResultModelStatus) AllValues() []LanguageDetectionToolResultModelStatus
- func (s *LanguageDetectionToolResultModelStatus) Decode(d *jx.Decoder) error
- func (s LanguageDetectionToolResultModelStatus) Encode(e *jx.Encoder)
- func (s LanguageDetectionToolResultModelStatus) MarshalJSON() ([]byte, error)
- func (s LanguageDetectionToolResultModelStatus) MarshalText() ([]byte, error)
- func (s *LanguageDetectionToolResultModelStatus) UnmarshalJSON(data []byte) error
- func (s *LanguageDetectionToolResultModelStatus) UnmarshalText(data []byte) error
- func (s LanguageDetectionToolResultModelStatus) Validate() error
- type LanguageResponseModel
- func (s *LanguageResponseModel) Decode(d *jx.Decoder) error
- func (s *LanguageResponseModel) Encode(e *jx.Encoder)
- func (s *LanguageResponseModel) GetLanguageID() string
- func (s *LanguageResponseModel) GetName() string
- func (s *LanguageResponseModel) MarshalJSON() ([]byte, error)
- func (s *LanguageResponseModel) SetLanguageID(val string)
- func (s *LanguageResponseModel) SetName(val string)
- func (s *LanguageResponseModel) UnmarshalJSON(data []byte) error
- type LibraryVoiceResponseModel
- func (s *LibraryVoiceResponseModel) Decode(d *jx.Decoder) error
- func (s *LibraryVoiceResponseModel) Encode(e *jx.Encoder)
- func (s *LibraryVoiceResponseModel) GetAccent() string
- func (s *LibraryVoiceResponseModel) GetAge() string
- func (s *LibraryVoiceResponseModel) GetCategory() LibraryVoiceResponseModelCategory
- func (s *LibraryVoiceResponseModel) GetClonedByCount() int
- func (s *LibraryVoiceResponseModel) GetDateUnix() int
- func (s *LibraryVoiceResponseModel) GetDescription() OptNilString
- func (s *LibraryVoiceResponseModel) GetDescriptive() string
- func (s *LibraryVoiceResponseModel) GetFeatured() bool
- func (s *LibraryVoiceResponseModel) GetFiatRate() OptNilFloat64
- func (s *LibraryVoiceResponseModel) GetFreeUsersAllowed() bool
- func (s *LibraryVoiceResponseModel) GetGender() string
- func (s *LibraryVoiceResponseModel) GetImageURL() OptNilString
- func (s *LibraryVoiceResponseModel) GetInstagramUsername() OptNilString
- func (s *LibraryVoiceResponseModel) GetIsAddedByUser() OptNilBool
- func (s *LibraryVoiceResponseModel) GetLanguage() OptNilString
- func (s *LibraryVoiceResponseModel) GetLiveModerationEnabled() bool
- func (s *LibraryVoiceResponseModel) GetLocale() OptNilString
- func (s *LibraryVoiceResponseModel) GetName() string
- func (s *LibraryVoiceResponseModel) GetNoticePeriod() OptNilInt
- func (s *LibraryVoiceResponseModel) GetPlayAPIUsageCharacterCount1y() int
- func (s *LibraryVoiceResponseModel) GetPreviewURL() OptNilString
- func (s *LibraryVoiceResponseModel) GetPublicOwnerID() string
- func (s *LibraryVoiceResponseModel) GetRate() OptNilFloat64
- func (s *LibraryVoiceResponseModel) GetTiktokUsername() OptNilString
- func (s *LibraryVoiceResponseModel) GetTwitterUsername() OptNilString
- func (s *LibraryVoiceResponseModel) GetUsageCharacterCount1y() int
- func (s *LibraryVoiceResponseModel) GetUsageCharacterCount7d() int
- func (s *LibraryVoiceResponseModel) GetUseCase() string
- func (s *LibraryVoiceResponseModel) GetVerifiedLanguages() OptNilVerifiedVoiceLanguageResponseModelArray
- func (s *LibraryVoiceResponseModel) GetVoiceID() string
- func (s *LibraryVoiceResponseModel) GetYoutubeUsername() OptNilString
- func (s *LibraryVoiceResponseModel) MarshalJSON() ([]byte, error)
- func (s *LibraryVoiceResponseModel) SetAccent(val string)
- func (s *LibraryVoiceResponseModel) SetAge(val string)
- func (s *LibraryVoiceResponseModel) SetCategory(val LibraryVoiceResponseModelCategory)
- func (s *LibraryVoiceResponseModel) SetClonedByCount(val int)
- func (s *LibraryVoiceResponseModel) SetDateUnix(val int)
- func (s *LibraryVoiceResponseModel) SetDescription(val OptNilString)
- func (s *LibraryVoiceResponseModel) SetDescriptive(val string)
- func (s *LibraryVoiceResponseModel) SetFeatured(val bool)
- func (s *LibraryVoiceResponseModel) SetFiatRate(val OptNilFloat64)
- func (s *LibraryVoiceResponseModel) SetFreeUsersAllowed(val bool)
- func (s *LibraryVoiceResponseModel) SetGender(val string)
- func (s *LibraryVoiceResponseModel) SetImageURL(val OptNilString)
- func (s *LibraryVoiceResponseModel) SetInstagramUsername(val OptNilString)
- func (s *LibraryVoiceResponseModel) SetIsAddedByUser(val OptNilBool)
- func (s *LibraryVoiceResponseModel) SetLanguage(val OptNilString)
- func (s *LibraryVoiceResponseModel) SetLiveModerationEnabled(val bool)
- func (s *LibraryVoiceResponseModel) SetLocale(val OptNilString)
- func (s *LibraryVoiceResponseModel) SetName(val string)
- func (s *LibraryVoiceResponseModel) SetNoticePeriod(val OptNilInt)
- func (s *LibraryVoiceResponseModel) SetPlayAPIUsageCharacterCount1y(val int)
- func (s *LibraryVoiceResponseModel) SetPreviewURL(val OptNilString)
- func (s *LibraryVoiceResponseModel) SetPublicOwnerID(val string)
- func (s *LibraryVoiceResponseModel) SetRate(val OptNilFloat64)
- func (s *LibraryVoiceResponseModel) SetTiktokUsername(val OptNilString)
- func (s *LibraryVoiceResponseModel) SetTwitterUsername(val OptNilString)
- func (s *LibraryVoiceResponseModel) SetUsageCharacterCount1y(val int)
- func (s *LibraryVoiceResponseModel) SetUsageCharacterCount7d(val int)
- func (s *LibraryVoiceResponseModel) SetUseCase(val string)
- func (s *LibraryVoiceResponseModel) SetVerifiedLanguages(val OptNilVerifiedVoiceLanguageResponseModelArray)
- func (s *LibraryVoiceResponseModel) SetVoiceID(val string)
- func (s *LibraryVoiceResponseModel) SetYoutubeUsername(val OptNilString)
- func (s *LibraryVoiceResponseModel) UnmarshalJSON(data []byte) error
- func (s *LibraryVoiceResponseModel) Validate() error
- type LibraryVoiceResponseModelCategory
- func (LibraryVoiceResponseModelCategory) AllValues() []LibraryVoiceResponseModelCategory
- func (s *LibraryVoiceResponseModelCategory) Decode(d *jx.Decoder) error
- func (s LibraryVoiceResponseModelCategory) Encode(e *jx.Encoder)
- func (s LibraryVoiceResponseModelCategory) MarshalJSON() ([]byte, error)
- func (s LibraryVoiceResponseModelCategory) MarshalText() ([]byte, error)
- func (s *LibraryVoiceResponseModelCategory) UnmarshalJSON(data []byte) error
- func (s *LibraryVoiceResponseModelCategory) UnmarshalText(data []byte) error
- func (s LibraryVoiceResponseModelCategory) Validate() error
- type ListChatResponseTestsRouteParams
- type ListChatResponseTestsRouteRes
- type ListDubsDubbingStatus
- type ListDubsFilterByCreator
- type ListDubsOrderBy
- type ListDubsOrderDirection
- type ListDubsParams
- type ListDubsRes
- type ListMCPToolsResponseModel
- func (s *ListMCPToolsResponseModel) Decode(d *jx.Decoder) error
- func (s *ListMCPToolsResponseModel) Encode(e *jx.Encoder)
- func (s *ListMCPToolsResponseModel) GetErrorMessage() OptNilString
- func (s *ListMCPToolsResponseModel) GetSuccess() bool
- func (s *ListMCPToolsResponseModel) GetTools() []Tool
- func (s *ListMCPToolsResponseModel) MarshalJSON() ([]byte, error)
- func (s *ListMCPToolsResponseModel) SetErrorMessage(val OptNilString)
- func (s *ListMCPToolsResponseModel) SetSuccess(val bool)
- func (s *ListMCPToolsResponseModel) SetTools(val []Tool)
- func (s *ListMCPToolsResponseModel) UnmarshalJSON(data []byte) error
- func (s *ListMCPToolsResponseModel) Validate() error
- type ListMcpServerToolsRouteParams
- type ListMcpServerToolsRouteRes
- type ListPhoneNumbersRouteOKApplicationJSON
- func (s *ListPhoneNumbersRouteOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListPhoneNumbersRouteOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListPhoneNumbersRouteOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListPhoneNumbersRouteOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListPhoneNumbersRouteOKApplicationJSON) Validate() error
- type ListPhoneNumbersRouteOKItem
- func (s *ListPhoneNumbersRouteOKItem) Decode(d *jx.Decoder) error
- func (s ListPhoneNumbersRouteOKItem) Encode(e *jx.Encoder)
- func (s ListPhoneNumbersRouteOKItem) GetGetPhoneNumberSIPTrunkResponseModel() (v GetPhoneNumberSIPTrunkResponseModel, ok bool)
- func (s ListPhoneNumbersRouteOKItem) GetGetPhoneNumberTwilioResponseModel() (v GetPhoneNumberTwilioResponseModel, ok bool)
- func (s ListPhoneNumbersRouteOKItem) IsGetPhoneNumberSIPTrunkResponseModel() bool
- func (s ListPhoneNumbersRouteOKItem) IsGetPhoneNumberTwilioResponseModel() bool
- func (s ListPhoneNumbersRouteOKItem) MarshalJSON() ([]byte, error)
- func (s *ListPhoneNumbersRouteOKItem) SetGetPhoneNumberSIPTrunkResponseModel(v GetPhoneNumberSIPTrunkResponseModel)
- func (s *ListPhoneNumbersRouteOKItem) SetGetPhoneNumberTwilioResponseModel(v GetPhoneNumberTwilioResponseModel)
- func (s *ListPhoneNumbersRouteOKItem) UnmarshalJSON(data []byte) error
- func (s ListPhoneNumbersRouteOKItem) Validate() error
- type ListPhoneNumbersRouteOKItemType
- type ListPhoneNumbersRouteParams
- type ListPhoneNumbersRouteRes
- type ListResponseMeta
- func (s *ListResponseMeta) Decode(d *jx.Decoder) error
- func (s *ListResponseMeta) Encode(e *jx.Encoder)
- func (s *ListResponseMeta) GetPage() OptNilInt
- func (s *ListResponseMeta) GetPageSize() OptNilInt
- func (s *ListResponseMeta) GetTotal() OptNilInt
- func (s *ListResponseMeta) MarshalJSON() ([]byte, error)
- func (s *ListResponseMeta) SetPage(val OptNilInt)
- func (s *ListResponseMeta) SetPageSize(val OptNilInt)
- func (s *ListResponseMeta) SetTotal(val OptNilInt)
- func (s *ListResponseMeta) UnmarshalJSON(data []byte) error
- type ListTestInvocationsRouteParams
- type ListTestInvocationsRouteRes
- type ListTestsByIdsRequestModel
- func (s *ListTestsByIdsRequestModel) Decode(d *jx.Decoder) error
- func (s *ListTestsByIdsRequestModel) Encode(e *jx.Encoder)
- func (s *ListTestsByIdsRequestModel) GetTestIds() []string
- func (s *ListTestsByIdsRequestModel) MarshalJSON() ([]byte, error)
- func (s *ListTestsByIdsRequestModel) SetTestIds(val []string)
- func (s *ListTestsByIdsRequestModel) UnmarshalJSON(data []byte) error
- func (s *ListTestsByIdsRequestModel) Validate() error
- type ListWhatsAppAccountsResponse
- func (s *ListWhatsAppAccountsResponse) Decode(d *jx.Decoder) error
- func (s *ListWhatsAppAccountsResponse) Encode(e *jx.Encoder)
- func (s *ListWhatsAppAccountsResponse) GetItems() []GetWhatsAppAccountResponse
- func (s *ListWhatsAppAccountsResponse) MarshalJSON() ([]byte, error)
- func (s *ListWhatsAppAccountsResponse) SetItems(val []GetWhatsAppAccountResponse)
- func (s *ListWhatsAppAccountsResponse) UnmarshalJSON(data []byte) error
- func (s *ListWhatsAppAccountsResponse) Validate() error
- type ListWhatsappAccountsParams
- type ListWhatsappAccountsRes
- type LiteralJsonSchemaProperty
- func (s *LiteralJsonSchemaProperty) Decode(d *jx.Decoder) error
- func (s *LiteralJsonSchemaProperty) Encode(e *jx.Encoder)
- func (s *LiteralJsonSchemaProperty) GetConstantValue() OptLiteralJsonSchemaPropertyConstantValue
- func (s *LiteralJsonSchemaProperty) GetDescription() OptString
- func (s *LiteralJsonSchemaProperty) GetDynamicVariable() OptString
- func (s *LiteralJsonSchemaProperty) GetEnum() OptNilStringArray
- func (s *LiteralJsonSchemaProperty) GetIsSystemProvided() OptBool
- func (s *LiteralJsonSchemaProperty) GetType() LiteralJsonSchemaPropertyType
- func (s *LiteralJsonSchemaProperty) MarshalJSON() ([]byte, error)
- func (s *LiteralJsonSchemaProperty) SetConstantValue(val OptLiteralJsonSchemaPropertyConstantValue)
- func (s *LiteralJsonSchemaProperty) SetDescription(val OptString)
- func (s *LiteralJsonSchemaProperty) SetDynamicVariable(val OptString)
- func (s *LiteralJsonSchemaProperty) SetEnum(val OptNilStringArray)
- func (s *LiteralJsonSchemaProperty) SetIsSystemProvided(val OptBool)
- func (s *LiteralJsonSchemaProperty) SetType(val LiteralJsonSchemaPropertyType)
- func (s *LiteralJsonSchemaProperty) UnmarshalJSON(data []byte) error
- func (s *LiteralJsonSchemaProperty) Validate() error
- type LiteralJsonSchemaPropertyConstantValue
- func NewBoolLiteralJsonSchemaPropertyConstantValue(v bool) LiteralJsonSchemaPropertyConstantValue
- func NewFloat64LiteralJsonSchemaPropertyConstantValue(v float64) LiteralJsonSchemaPropertyConstantValue
- func NewIntLiteralJsonSchemaPropertyConstantValue(v int) LiteralJsonSchemaPropertyConstantValue
- func NewStringLiteralJsonSchemaPropertyConstantValue(v string) LiteralJsonSchemaPropertyConstantValue
- func (s *LiteralJsonSchemaPropertyConstantValue) Decode(d *jx.Decoder) error
- func (s LiteralJsonSchemaPropertyConstantValue) Encode(e *jx.Encoder)
- func (s LiteralJsonSchemaPropertyConstantValue) GetBool() (v bool, ok bool)
- func (s LiteralJsonSchemaPropertyConstantValue) GetFloat64() (v float64, ok bool)
- func (s LiteralJsonSchemaPropertyConstantValue) GetInt() (v int, ok bool)
- func (s LiteralJsonSchemaPropertyConstantValue) GetString() (v string, ok bool)
- func (s LiteralJsonSchemaPropertyConstantValue) IsBool() bool
- func (s LiteralJsonSchemaPropertyConstantValue) IsFloat64() bool
- func (s LiteralJsonSchemaPropertyConstantValue) IsInt() bool
- func (s LiteralJsonSchemaPropertyConstantValue) IsString() bool
- func (s LiteralJsonSchemaPropertyConstantValue) MarshalJSON() ([]byte, error)
- func (s *LiteralJsonSchemaPropertyConstantValue) SetBool(v bool)
- func (s *LiteralJsonSchemaPropertyConstantValue) SetFloat64(v float64)
- func (s *LiteralJsonSchemaPropertyConstantValue) SetInt(v int)
- func (s *LiteralJsonSchemaPropertyConstantValue) SetString(v string)
- func (s *LiteralJsonSchemaPropertyConstantValue) UnmarshalJSON(data []byte) error
- func (s LiteralJsonSchemaPropertyConstantValue) Validate() error
- type LiteralJsonSchemaPropertyConstantValueType
- type LiteralJsonSchemaPropertyType
- func (LiteralJsonSchemaPropertyType) AllValues() []LiteralJsonSchemaPropertyType
- func (s *LiteralJsonSchemaPropertyType) Decode(d *jx.Decoder) error
- func (s LiteralJsonSchemaPropertyType) Encode(e *jx.Encoder)
- func (s LiteralJsonSchemaPropertyType) MarshalJSON() ([]byte, error)
- func (s LiteralJsonSchemaPropertyType) MarshalText() ([]byte, error)
- func (s *LiteralJsonSchemaPropertyType) UnmarshalJSON(data []byte) error
- func (s *LiteralJsonSchemaPropertyType) UnmarshalText(data []byte) error
- func (s LiteralJsonSchemaPropertyType) Validate() error
- type LivekitStackType
- func (LivekitStackType) AllValues() []LivekitStackType
- func (s *LivekitStackType) Decode(d *jx.Decoder) error
- func (s LivekitStackType) Encode(e *jx.Encoder)
- func (s LivekitStackType) MarshalJSON() ([]byte, error)
- func (s LivekitStackType) MarshalText() ([]byte, error)
- func (s *LivekitStackType) UnmarshalJSON(data []byte) error
- func (s *LivekitStackType) UnmarshalText(data []byte) error
- func (s LivekitStackType) Validate() error
- type MCPToolConfigOverride
- func (s *MCPToolConfigOverride) Decode(d *jx.Decoder) error
- func (s *MCPToolConfigOverride) Encode(e *jx.Encoder)
- func (s *MCPToolConfigOverride) GetAssignments() []DynamicVariableAssignment
- func (s *MCPToolConfigOverride) GetDisableInterruptions() OptNilBool
- func (s *MCPToolConfigOverride) GetExecutionMode() OptToolExecutionMode
- func (s *MCPToolConfigOverride) GetForcePreToolSpeech() OptNilBool
- func (s *MCPToolConfigOverride) GetToolCallSound() OptToolCallSoundType
- func (s *MCPToolConfigOverride) GetToolCallSoundBehavior() OptToolCallSoundBehavior
- func (s *MCPToolConfigOverride) GetToolName() string
- func (s *MCPToolConfigOverride) MarshalJSON() ([]byte, error)
- func (s *MCPToolConfigOverride) SetAssignments(val []DynamicVariableAssignment)
- func (s *MCPToolConfigOverride) SetDisableInterruptions(val OptNilBool)
- func (s *MCPToolConfigOverride) SetExecutionMode(val OptToolExecutionMode)
- func (s *MCPToolConfigOverride) SetForcePreToolSpeech(val OptNilBool)
- func (s *MCPToolConfigOverride) SetToolCallSound(val OptToolCallSoundType)
- func (s *MCPToolConfigOverride) SetToolCallSoundBehavior(val OptToolCallSoundBehavior)
- func (s *MCPToolConfigOverride) SetToolName(val string)
- func (s *MCPToolConfigOverride) UnmarshalJSON(data []byte) error
- func (s *MCPToolConfigOverride) Validate() error
- type ManualVerificationFileResponseModel
- func (s *ManualVerificationFileResponseModel) Decode(d *jx.Decoder) error
- func (s *ManualVerificationFileResponseModel) Encode(e *jx.Encoder)
- func (s *ManualVerificationFileResponseModel) GetFileID() string
- func (s *ManualVerificationFileResponseModel) GetFileName() string
- func (s *ManualVerificationFileResponseModel) GetMimeType() string
- func (s *ManualVerificationFileResponseModel) GetSizeBytes() int
- func (s *ManualVerificationFileResponseModel) GetUploadDateUnix() int
- func (s *ManualVerificationFileResponseModel) MarshalJSON() ([]byte, error)
- func (s *ManualVerificationFileResponseModel) SetFileID(val string)
- func (s *ManualVerificationFileResponseModel) SetFileName(val string)
- func (s *ManualVerificationFileResponseModel) SetMimeType(val string)
- func (s *ManualVerificationFileResponseModel) SetSizeBytes(val int)
- func (s *ManualVerificationFileResponseModel) SetUploadDateUnix(val int)
- func (s *ManualVerificationFileResponseModel) UnmarshalJSON(data []byte) error
- type ManualVerificationResponseModel
- func (s *ManualVerificationResponseModel) Decode(d *jx.Decoder) error
- func (s *ManualVerificationResponseModel) Encode(e *jx.Encoder)
- func (s *ManualVerificationResponseModel) GetExtraText() string
- func (s *ManualVerificationResponseModel) GetFiles() []ManualVerificationFileResponseModel
- func (s *ManualVerificationResponseModel) GetRequestTimeUnix() int
- func (s *ManualVerificationResponseModel) MarshalJSON() ([]byte, error)
- func (s *ManualVerificationResponseModel) SetExtraText(val string)
- func (s *ManualVerificationResponseModel) SetFiles(val []ManualVerificationFileResponseModel)
- func (s *ManualVerificationResponseModel) SetRequestTimeUnix(val int)
- func (s *ManualVerificationResponseModel) UnmarshalJSON(data []byte) error
- func (s *ManualVerificationResponseModel) Validate() error
- type MatchAnythingParameterEvaluationStrategy
- func (s *MatchAnythingParameterEvaluationStrategy) Decode(d *jx.Decoder) error
- func (s *MatchAnythingParameterEvaluationStrategy) Encode(e *jx.Encoder)
- func (s *MatchAnythingParameterEvaluationStrategy) GetType() MatchAnythingParameterEvaluationStrategyType
- func (s *MatchAnythingParameterEvaluationStrategy) MarshalJSON() ([]byte, error)
- func (s *MatchAnythingParameterEvaluationStrategy) SetType(val MatchAnythingParameterEvaluationStrategyType)
- func (s *MatchAnythingParameterEvaluationStrategy) UnmarshalJSON(data []byte) error
- func (s *MatchAnythingParameterEvaluationStrategy) Validate() error
- type MatchAnythingParameterEvaluationStrategyType
- func (MatchAnythingParameterEvaluationStrategyType) AllValues() []MatchAnythingParameterEvaluationStrategyType
- func (s *MatchAnythingParameterEvaluationStrategyType) Decode(d *jx.Decoder) error
- func (s MatchAnythingParameterEvaluationStrategyType) Encode(e *jx.Encoder)
- func (s MatchAnythingParameterEvaluationStrategyType) MarshalJSON() ([]byte, error)
- func (s MatchAnythingParameterEvaluationStrategyType) MarshalText() ([]byte, error)
- func (s *MatchAnythingParameterEvaluationStrategyType) UnmarshalJSON(data []byte) error
- func (s *MatchAnythingParameterEvaluationStrategyType) UnmarshalText(data []byte) error
- func (s MatchAnythingParameterEvaluationStrategyType) Validate() error
- type MetricRecord
- func (s *MetricRecord) Decode(d *jx.Decoder) error
- func (s *MetricRecord) Encode(e *jx.Encoder)
- func (s *MetricRecord) GetElapsedTime() float64
- func (s *MetricRecord) MarshalJSON() ([]byte, error)
- func (s *MetricRecord) SetElapsedTime(val float64)
- func (s *MetricRecord) UnmarshalJSON(data []byte) error
- func (s *MetricRecord) Validate() error
- type MetricType
- type Middleware
- type MigrateSegmentsParams
- type MigrateSegmentsRes
- type ModelRatesResponseModel
- func (s *ModelRatesResponseModel) Decode(d *jx.Decoder) error
- func (s *ModelRatesResponseModel) Encode(e *jx.Encoder)
- func (s *ModelRatesResponseModel) GetCharacterCostMultiplier() float64
- func (s *ModelRatesResponseModel) MarshalJSON() ([]byte, error)
- func (s *ModelRatesResponseModel) SetCharacterCostMultiplier(val float64)
- func (s *ModelRatesResponseModel) UnmarshalJSON(data []byte) error
- func (s *ModelRatesResponseModel) Validate() error
- type ModelResponseModel
- func (s *ModelResponseModel) Decode(d *jx.Decoder) error
- func (s *ModelResponseModel) Encode(e *jx.Encoder)
- func (s *ModelResponseModel) GetCanBeFinetuned() bool
- func (s *ModelResponseModel) GetCanDoTextToSpeech() bool
- func (s *ModelResponseModel) GetCanDoVoiceConversion() bool
- func (s *ModelResponseModel) GetCanUseSpeakerBoost() bool
- func (s *ModelResponseModel) GetCanUseStyle() bool
- func (s *ModelResponseModel) GetConcurrencyGroup() string
- func (s *ModelResponseModel) GetDescription() string
- func (s *ModelResponseModel) GetLanguages() []LanguageResponseModel
- func (s *ModelResponseModel) GetMaxCharactersRequestFreeUser() int
- func (s *ModelResponseModel) GetMaxCharactersRequestSubscribedUser() int
- func (s *ModelResponseModel) GetMaximumTextLengthPerRequest() int
- func (s *ModelResponseModel) GetModelID() string
- func (s *ModelResponseModel) GetModelRates() ModelRatesResponseModel
- func (s *ModelResponseModel) GetName() string
- func (s *ModelResponseModel) GetRequiresAlphaAccess() bool
- func (s *ModelResponseModel) GetServesProVoices() bool
- func (s *ModelResponseModel) GetTokenCostFactor() float64
- func (s *ModelResponseModel) MarshalJSON() ([]byte, error)
- func (s *ModelResponseModel) SetCanBeFinetuned(val bool)
- func (s *ModelResponseModel) SetCanDoTextToSpeech(val bool)
- func (s *ModelResponseModel) SetCanDoVoiceConversion(val bool)
- func (s *ModelResponseModel) SetCanUseSpeakerBoost(val bool)
- func (s *ModelResponseModel) SetCanUseStyle(val bool)
- func (s *ModelResponseModel) SetConcurrencyGroup(val string)
- func (s *ModelResponseModel) SetDescription(val string)
- func (s *ModelResponseModel) SetLanguages(val []LanguageResponseModel)
- func (s *ModelResponseModel) SetMaxCharactersRequestFreeUser(val int)
- func (s *ModelResponseModel) SetMaxCharactersRequestSubscribedUser(val int)
- func (s *ModelResponseModel) SetMaximumTextLengthPerRequest(val int)
- func (s *ModelResponseModel) SetModelID(val string)
- func (s *ModelResponseModel) SetModelRates(val ModelRatesResponseModel)
- func (s *ModelResponseModel) SetName(val string)
- func (s *ModelResponseModel) SetRequiresAlphaAccess(val bool)
- func (s *ModelResponseModel) SetServesProVoices(val bool)
- func (s *ModelResponseModel) SetTokenCostFactor(val float64)
- func (s *ModelResponseModel) UnmarshalJSON(data []byte) error
- func (s *ModelResponseModel) Validate() error
- type ModelSettingsResponseModel
- func (s *ModelSettingsResponseModel) Decode(d *jx.Decoder) error
- func (s *ModelSettingsResponseModel) Encode(e *jx.Encoder)
- func (s *ModelSettingsResponseModel) GetStability() OptNilFloat64
- func (s *ModelSettingsResponseModel) MarshalJSON() ([]byte, error)
- func (s *ModelSettingsResponseModel) SetStability(val OptNilFloat64)
- func (s *ModelSettingsResponseModel) UnmarshalJSON(data []byte) error
- func (s *ModelSettingsResponseModel) Validate() error
- type MultichannelSpeechToTextResponseModel
- func (s *MultichannelSpeechToTextResponseModel) Decode(d *jx.Decoder) error
- func (s *MultichannelSpeechToTextResponseModel) Encode(e *jx.Encoder)
- func (s *MultichannelSpeechToTextResponseModel) GetTranscriptionID() OptNilString
- func (s *MultichannelSpeechToTextResponseModel) GetTranscripts() []SpeechToTextChunkResponseModel
- func (s *MultichannelSpeechToTextResponseModel) MarshalJSON() ([]byte, error)
- func (s *MultichannelSpeechToTextResponseModel) SetTranscriptionID(val OptNilString)
- func (s *MultichannelSpeechToTextResponseModel) SetTranscripts(val []SpeechToTextChunkResponseModel)
- func (s *MultichannelSpeechToTextResponseModel) UnmarshalJSON(data []byte) error
- func (s *MultichannelSpeechToTextResponseModel) Validate() error
- type MusicPrompt
- func (s *MusicPrompt) Decode(d *jx.Decoder) error
- func (s *MusicPrompt) Encode(e *jx.Encoder)
- func (s *MusicPrompt) GetNegativeGlobalStyles() []string
- func (s *MusicPrompt) GetPositiveGlobalStyles() []string
- func (s *MusicPrompt) GetSections() []SongSection
- func (s *MusicPrompt) MarshalJSON() ([]byte, error)
- func (s *MusicPrompt) SetNegativeGlobalStyles(val []string)
- func (s *MusicPrompt) SetPositiveGlobalStyles(val []string)
- func (s *MusicPrompt) SetSections(val []SongSection)
- func (s *MusicPrompt) UnmarshalJSON(data []byte) error
- func (s *MusicPrompt) Validate() error
- type NilAddPronunciationDictionaryResponseModelPermissionOnResource
- func (o *NilAddPronunciationDictionaryResponseModelPermissionOnResource) Decode(d *jx.Decoder) error
- func (o NilAddPronunciationDictionaryResponseModelPermissionOnResource) Encode(e *jx.Encoder)
- func (o NilAddPronunciationDictionaryResponseModelPermissionOnResource) Get() (v AddPronunciationDictionaryResponseModelPermissionOnResource, ok bool)
- func (o NilAddPronunciationDictionaryResponseModelPermissionOnResource) IsNull() bool
- func (s NilAddPronunciationDictionaryResponseModelPermissionOnResource) MarshalJSON() ([]byte, error)
- func (o NilAddPronunciationDictionaryResponseModelPermissionOnResource) Or(d AddPronunciationDictionaryResponseModelPermissionOnResource) AddPronunciationDictionaryResponseModelPermissionOnResource
- func (o *NilAddPronunciationDictionaryResponseModelPermissionOnResource) SetTo(v AddPronunciationDictionaryResponseModelPermissionOnResource)
- func (o *NilAddPronunciationDictionaryResponseModelPermissionOnResource) SetToNull()
- func (s *NilAddPronunciationDictionaryResponseModelPermissionOnResource) UnmarshalJSON(data []byte) error
- type NilConversationInitiationClientDataInternalDynamicVariablesItem
- func (o *NilConversationInitiationClientDataInternalDynamicVariablesItem) Decode(d *jx.Decoder) error
- func (o NilConversationInitiationClientDataInternalDynamicVariablesItem) Encode(e *jx.Encoder)
- func (o NilConversationInitiationClientDataInternalDynamicVariablesItem) Get() (v ConversationInitiationClientDataInternalDynamicVariablesItem, ok bool)
- func (o NilConversationInitiationClientDataInternalDynamicVariablesItem) IsNull() bool
- func (s NilConversationInitiationClientDataInternalDynamicVariablesItem) MarshalJSON() ([]byte, error)
- func (o NilConversationInitiationClientDataInternalDynamicVariablesItem) Or(d ConversationInitiationClientDataInternalDynamicVariablesItem) ConversationInitiationClientDataInternalDynamicVariablesItem
- func (o *NilConversationInitiationClientDataInternalDynamicVariablesItem) SetTo(v ConversationInitiationClientDataInternalDynamicVariablesItem)
- func (o *NilConversationInitiationClientDataInternalDynamicVariablesItem) SetToNull()
- func (s *NilConversationInitiationClientDataInternalDynamicVariablesItem) UnmarshalJSON(data []byte) error
- type NilConversationInitiationClientDataRequestInputDynamicVariablesItem
- func (o *NilConversationInitiationClientDataRequestInputDynamicVariablesItem) Decode(d *jx.Decoder) error
- func (o NilConversationInitiationClientDataRequestInputDynamicVariablesItem) Encode(e *jx.Encoder)
- func (o NilConversationInitiationClientDataRequestInputDynamicVariablesItem) Get() (v ConversationInitiationClientDataRequestInputDynamicVariablesItem, ok bool)
- func (o NilConversationInitiationClientDataRequestInputDynamicVariablesItem) IsNull() bool
- func (s NilConversationInitiationClientDataRequestInputDynamicVariablesItem) MarshalJSON() ([]byte, error)
- func (o NilConversationInitiationClientDataRequestInputDynamicVariablesItem) Or(d ConversationInitiationClientDataRequestInputDynamicVariablesItem) ConversationInitiationClientDataRequestInputDynamicVariablesItem
- func (o *NilConversationInitiationClientDataRequestInputDynamicVariablesItem) SetTo(v ConversationInitiationClientDataRequestInputDynamicVariablesItem)
- func (o *NilConversationInitiationClientDataRequestInputDynamicVariablesItem) SetToNull()
- func (s *NilConversationInitiationClientDataRequestInputDynamicVariablesItem) UnmarshalJSON(data []byte) error
- type NilConversationInitiationClientDataRequestOutputDynamicVariablesItem
- func (o *NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) Decode(d *jx.Decoder) error
- func (o NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) Encode(e *jx.Encoder)
- func (o NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) Get() (v ConversationInitiationClientDataRequestOutputDynamicVariablesItem, ok bool)
- func (o NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsNull() bool
- func (s NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) MarshalJSON() ([]byte, error)
- func (o NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) Or(d ConversationInitiationClientDataRequestOutputDynamicVariablesItem) ConversationInitiationClientDataRequestOutputDynamicVariablesItem
- func (o *NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetTo(v ConversationInitiationClientDataRequestOutputDynamicVariablesItem)
- func (o *NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetToNull()
- func (s *NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) UnmarshalJSON(data []byte) error
- type NilCreateUnitTestRequestDynamicVariablesItem
- func (o *NilCreateUnitTestRequestDynamicVariablesItem) Decode(d *jx.Decoder) error
- func (o NilCreateUnitTestRequestDynamicVariablesItem) Encode(e *jx.Encoder)
- func (o NilCreateUnitTestRequestDynamicVariablesItem) Get() (v CreateUnitTestRequestDynamicVariablesItem, ok bool)
- func (o NilCreateUnitTestRequestDynamicVariablesItem) IsNull() bool
- func (s NilCreateUnitTestRequestDynamicVariablesItem) MarshalJSON() ([]byte, error)
- func (o NilCreateUnitTestRequestDynamicVariablesItem) Or(d CreateUnitTestRequestDynamicVariablesItem) CreateUnitTestRequestDynamicVariablesItem
- func (o *NilCreateUnitTestRequestDynamicVariablesItem) SetTo(v CreateUnitTestRequestDynamicVariablesItem)
- func (o *NilCreateUnitTestRequestDynamicVariablesItem) SetToNull()
- func (s *NilCreateUnitTestRequestDynamicVariablesItem) UnmarshalJSON(data []byte) error
- type NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource
- func (o *NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Decode(d *jx.Decoder) error
- func (o NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Encode(e *jx.Encoder)
- func (o NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Get() (v GetPronunciationDictionaryMetadataResponseModelPermissionOnResource, ok bool)
- func (o NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) IsNull() bool
- func (s NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) MarshalJSON() ([]byte, error)
- func (o NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Or(d GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) GetPronunciationDictionaryMetadataResponseModelPermissionOnResource
- func (o *NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) SetTo(v GetPronunciationDictionaryMetadataResponseModelPermissionOnResource)
- func (o *NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) SetToNull()
- func (s *NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) UnmarshalJSON(data []byte) error
- type NilGetUnitTestResponseModelDynamicVariablesItem
- func (o *NilGetUnitTestResponseModelDynamicVariablesItem) Decode(d *jx.Decoder) error
- func (o NilGetUnitTestResponseModelDynamicVariablesItem) Encode(e *jx.Encoder)
- func (o NilGetUnitTestResponseModelDynamicVariablesItem) Get() (v GetUnitTestResponseModelDynamicVariablesItem, ok bool)
- func (o NilGetUnitTestResponseModelDynamicVariablesItem) IsNull() bool
- func (s NilGetUnitTestResponseModelDynamicVariablesItem) MarshalJSON() ([]byte, error)
- func (o NilGetUnitTestResponseModelDynamicVariablesItem) Or(d GetUnitTestResponseModelDynamicVariablesItem) GetUnitTestResponseModelDynamicVariablesItem
- func (o *NilGetUnitTestResponseModelDynamicVariablesItem) SetTo(v GetUnitTestResponseModelDynamicVariablesItem)
- func (o *NilGetUnitTestResponseModelDynamicVariablesItem) SetToNull()
- func (s *NilGetUnitTestResponseModelDynamicVariablesItem) UnmarshalJSON(data []byte) error
- type NilInt
- func (o *NilInt) Decode(d *jx.Decoder) error
- func (o NilInt) Encode(e *jx.Encoder)
- func (o NilInt) Get() (v int, ok bool)
- func (o NilInt) IsNull() bool
- func (s NilInt) MarshalJSON() ([]byte, error)
- func (o NilInt) Or(d int) int
- func (o *NilInt) SetTo(v int)
- func (o *NilInt) SetToNull()
- func (s *NilInt) UnmarshalJSON(data []byte) error
- type NilResourceMetadataResponseModelAnonymousAccessLevelOverride
- func (o *NilResourceMetadataResponseModelAnonymousAccessLevelOverride) Decode(d *jx.Decoder) error
- func (o NilResourceMetadataResponseModelAnonymousAccessLevelOverride) Encode(e *jx.Encoder)
- func (o NilResourceMetadataResponseModelAnonymousAccessLevelOverride) Get() (v ResourceMetadataResponseModelAnonymousAccessLevelOverride, ok bool)
- func (o NilResourceMetadataResponseModelAnonymousAccessLevelOverride) IsNull() bool
- func (s NilResourceMetadataResponseModelAnonymousAccessLevelOverride) MarshalJSON() ([]byte, error)
- func (o NilResourceMetadataResponseModelAnonymousAccessLevelOverride) Or(d ResourceMetadataResponseModelAnonymousAccessLevelOverride) ResourceMetadataResponseModelAnonymousAccessLevelOverride
- func (o *NilResourceMetadataResponseModelAnonymousAccessLevelOverride) SetTo(v ResourceMetadataResponseModelAnonymousAccessLevelOverride)
- func (o *NilResourceMetadataResponseModelAnonymousAccessLevelOverride) SetToNull()
- func (s *NilResourceMetadataResponseModelAnonymousAccessLevelOverride) UnmarshalJSON(data []byte) error
- type NilString
- func (o *NilString) Decode(d *jx.Decoder) error
- func (o NilString) Encode(e *jx.Encoder)
- func (o NilString) Get() (v string, ok bool)
- func (o NilString) IsNull() bool
- func (s NilString) MarshalJSON() ([]byte, error)
- func (o NilString) Or(d string) string
- func (o *NilString) SetTo(v string)
- func (o *NilString) SetToNull()
- func (s *NilString) UnmarshalJSON(data []byte) error
- type NilUnitTestCommonModelDynamicVariablesItem
- func (o *NilUnitTestCommonModelDynamicVariablesItem) Decode(d *jx.Decoder) error
- func (o NilUnitTestCommonModelDynamicVariablesItem) Encode(e *jx.Encoder)
- func (o NilUnitTestCommonModelDynamicVariablesItem) Get() (v UnitTestCommonModelDynamicVariablesItem, ok bool)
- func (o NilUnitTestCommonModelDynamicVariablesItem) IsNull() bool
- func (s NilUnitTestCommonModelDynamicVariablesItem) MarshalJSON() ([]byte, error)
- func (o NilUnitTestCommonModelDynamicVariablesItem) Or(d UnitTestCommonModelDynamicVariablesItem) UnitTestCommonModelDynamicVariablesItem
- func (o *NilUnitTestCommonModelDynamicVariablesItem) SetTo(v UnitTestCommonModelDynamicVariablesItem)
- func (o *NilUnitTestCommonModelDynamicVariablesItem) SetToNull()
- func (s *NilUnitTestCommonModelDynamicVariablesItem) UnmarshalJSON(data []byte) error
- type NilUpdateUnitTestRequestDynamicVariablesItem
- func (o *NilUpdateUnitTestRequestDynamicVariablesItem) Decode(d *jx.Decoder) error
- func (o NilUpdateUnitTestRequestDynamicVariablesItem) Encode(e *jx.Encoder)
- func (o NilUpdateUnitTestRequestDynamicVariablesItem) Get() (v UpdateUnitTestRequestDynamicVariablesItem, ok bool)
- func (o NilUpdateUnitTestRequestDynamicVariablesItem) IsNull() bool
- func (s NilUpdateUnitTestRequestDynamicVariablesItem) MarshalJSON() ([]byte, error)
- func (o NilUpdateUnitTestRequestDynamicVariablesItem) Or(d UpdateUnitTestRequestDynamicVariablesItem) UpdateUnitTestRequestDynamicVariablesItem
- func (o *NilUpdateUnitTestRequestDynamicVariablesItem) SetTo(v UpdateUnitTestRequestDynamicVariablesItem)
- func (o *NilUpdateUnitTestRequestDynamicVariablesItem) SetToNull()
- func (s *NilUpdateUnitTestRequestDynamicVariablesItem) UnmarshalJSON(data []byte) error
- type OperationName
- type OptAgentConfigOverrideInput
- func (o *OptAgentConfigOverrideInput) Decode(d *jx.Decoder) error
- func (o OptAgentConfigOverrideInput) Encode(e *jx.Encoder)
- func (o OptAgentConfigOverrideInput) Get() (v AgentConfigOverrideInput, ok bool)
- func (o OptAgentConfigOverrideInput) IsSet() bool
- func (s OptAgentConfigOverrideInput) MarshalJSON() ([]byte, error)
- func (o OptAgentConfigOverrideInput) Or(d AgentConfigOverrideInput) AgentConfigOverrideInput
- func (o *OptAgentConfigOverrideInput) Reset()
- func (o *OptAgentConfigOverrideInput) SetTo(v AgentConfigOverrideInput)
- func (s *OptAgentConfigOverrideInput) UnmarshalJSON(data []byte) error
- type OptAgentConfigOverrideOutput
- func (o *OptAgentConfigOverrideOutput) Decode(d *jx.Decoder) error
- func (o OptAgentConfigOverrideOutput) Encode(e *jx.Encoder)
- func (o OptAgentConfigOverrideOutput) Get() (v AgentConfigOverrideOutput, ok bool)
- func (o OptAgentConfigOverrideOutput) IsSet() bool
- func (s OptAgentConfigOverrideOutput) MarshalJSON() ([]byte, error)
- func (o OptAgentConfigOverrideOutput) Or(d AgentConfigOverrideOutput) AgentConfigOverrideOutput
- func (o *OptAgentConfigOverrideOutput) Reset()
- func (o *OptAgentConfigOverrideOutput) SetTo(v AgentConfigOverrideOutput)
- func (s *OptAgentConfigOverrideOutput) UnmarshalJSON(data []byte) error
- type OptAgentDefinitionSource
- func (o *OptAgentDefinitionSource) Decode(d *jx.Decoder) error
- func (o OptAgentDefinitionSource) Encode(e *jx.Encoder)
- func (o OptAgentDefinitionSource) Get() (v AgentDefinitionSource, ok bool)
- func (o OptAgentDefinitionSource) IsSet() bool
- func (s OptAgentDefinitionSource) MarshalJSON() ([]byte, error)
- func (o OptAgentDefinitionSource) Or(d AgentDefinitionSource) AgentDefinitionSource
- func (o *OptAgentDefinitionSource) Reset()
- func (o *OptAgentDefinitionSource) SetTo(v AgentDefinitionSource)
- func (s *OptAgentDefinitionSource) UnmarshalJSON(data []byte) error
- type OptAgentMetadata
- func (o *OptAgentMetadata) Decode(d *jx.Decoder) error
- func (o OptAgentMetadata) Encode(e *jx.Encoder)
- func (o OptAgentMetadata) Get() (v AgentMetadata, ok bool)
- func (o OptAgentMetadata) IsSet() bool
- func (s OptAgentMetadata) MarshalJSON() ([]byte, error)
- func (o OptAgentMetadata) Or(d AgentMetadata) AgentMetadata
- func (o *OptAgentMetadata) Reset()
- func (o *OptAgentMetadata) SetTo(v AgentMetadata)
- func (s *OptAgentMetadata) UnmarshalJSON(data []byte) error
- type OptAgentSortBy
- type OptAsyncConversationMetadata
- func (o *OptAsyncConversationMetadata) Decode(d *jx.Decoder) error
- func (o OptAsyncConversationMetadata) Encode(e *jx.Encoder)
- func (o OptAsyncConversationMetadata) Get() (v AsyncConversationMetadata, ok bool)
- func (o OptAsyncConversationMetadata) IsSet() bool
- func (s OptAsyncConversationMetadata) MarshalJSON() ([]byte, error)
- func (o OptAsyncConversationMetadata) Or(d AsyncConversationMetadata) AsyncConversationMetadata
- func (o *OptAsyncConversationMetadata) Reset()
- func (o *OptAsyncConversationMetadata) SetTo(v AsyncConversationMetadata)
- func (s *OptAsyncConversationMetadata) UnmarshalJSON(data []byte) error
- type OptAudioNativeProjectSettingsResponseModel
- func (o *OptAudioNativeProjectSettingsResponseModel) Decode(d *jx.Decoder) error
- func (o OptAudioNativeProjectSettingsResponseModel) Encode(e *jx.Encoder)
- func (o OptAudioNativeProjectSettingsResponseModel) Get() (v AudioNativeProjectSettingsResponseModel, ok bool)
- func (o OptAudioNativeProjectSettingsResponseModel) IsSet() bool
- func (s OptAudioNativeProjectSettingsResponseModel) MarshalJSON() ([]byte, error)
- func (o OptAudioNativeProjectSettingsResponseModel) Or(d AudioNativeProjectSettingsResponseModel) AudioNativeProjectSettingsResponseModel
- func (o *OptAudioNativeProjectSettingsResponseModel) Reset()
- func (o *OptAudioNativeProjectSettingsResponseModel) SetTo(v AudioNativeProjectSettingsResponseModel)
- func (s *OptAudioNativeProjectSettingsResponseModel) UnmarshalJSON(data []byte) error
- type OptAudioNativeProjectSettingsResponseModelStatus
- func (o *OptAudioNativeProjectSettingsResponseModelStatus) Decode(d *jx.Decoder) error
- func (o OptAudioNativeProjectSettingsResponseModelStatus) Encode(e *jx.Encoder)
- func (o OptAudioNativeProjectSettingsResponseModelStatus) Get() (v AudioNativeProjectSettingsResponseModelStatus, ok bool)
- func (o OptAudioNativeProjectSettingsResponseModelStatus) IsSet() bool
- func (s OptAudioNativeProjectSettingsResponseModelStatus) MarshalJSON() ([]byte, error)
- func (o OptAudioNativeProjectSettingsResponseModelStatus) Or(d AudioNativeProjectSettingsResponseModelStatus) AudioNativeProjectSettingsResponseModelStatus
- func (o *OptAudioNativeProjectSettingsResponseModelStatus) Reset()
- func (o *OptAudioNativeProjectSettingsResponseModelStatus) SetTo(v AudioNativeProjectSettingsResponseModelStatus)
- func (s *OptAudioNativeProjectSettingsResponseModelStatus) UnmarshalJSON(data []byte) error
- type OptAuthorizationMethod
- func (o *OptAuthorizationMethod) Decode(d *jx.Decoder) error
- func (o OptAuthorizationMethod) Encode(e *jx.Encoder)
- func (o OptAuthorizationMethod) Get() (v AuthorizationMethod, ok bool)
- func (o OptAuthorizationMethod) IsSet() bool
- func (s OptAuthorizationMethod) MarshalJSON() ([]byte, error)
- func (o OptAuthorizationMethod) Or(d AuthorizationMethod) AuthorizationMethod
- func (o *OptAuthorizationMethod) Reset()
- func (o *OptAuthorizationMethod) SetTo(v AuthorizationMethod)
- func (s *OptAuthorizationMethod) UnmarshalJSON(data []byte) error
- type OptBatchCallWhatsAppParams
- func (o *OptBatchCallWhatsAppParams) Decode(d *jx.Decoder) error
- func (o OptBatchCallWhatsAppParams) Encode(e *jx.Encoder)
- func (o OptBatchCallWhatsAppParams) Get() (v BatchCallWhatsAppParams, ok bool)
- func (o OptBatchCallWhatsAppParams) IsSet() bool
- func (s OptBatchCallWhatsAppParams) MarshalJSON() ([]byte, error)
- func (o OptBatchCallWhatsAppParams) Or(d BatchCallWhatsAppParams) BatchCallWhatsAppParams
- func (o *OptBatchCallWhatsAppParams) Reset()
- func (o *OptBatchCallWhatsAppParams) SetTo(v BatchCallWhatsAppParams)
- func (s *OptBatchCallWhatsAppParams) UnmarshalJSON(data []byte) error
- type OptBillingPeriod
- func (o *OptBillingPeriod) Decode(d *jx.Decoder) error
- func (o OptBillingPeriod) Encode(e *jx.Encoder)
- func (o OptBillingPeriod) Get() (v BillingPeriod, ok bool)
- func (o OptBillingPeriod) IsSet() bool
- func (s OptBillingPeriod) MarshalJSON() ([]byte, error)
- func (o OptBillingPeriod) Or(d BillingPeriod) BillingPeriod
- func (o *OptBillingPeriod) Reset()
- func (o *OptBillingPeriod) SetTo(v BillingPeriod)
- func (s *OptBillingPeriod) UnmarshalJSON(data []byte) error
- type OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart
- func (o OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) Get() (v BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart, ok bool)
- func (o OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) IsSet() bool
- func (o OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) Or(d BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart
- func (o *OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) Reset()
- func (o *OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) SetTo(v BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart)
- type OptBodyComposeMusicV1MusicPost
- func (o *OptBodyComposeMusicV1MusicPost) Decode(d *jx.Decoder) error
- func (o OptBodyComposeMusicV1MusicPost) Encode(e *jx.Encoder)
- func (o OptBodyComposeMusicV1MusicPost) Get() (v BodyComposeMusicV1MusicPost, ok bool)
- func (o OptBodyComposeMusicV1MusicPost) IsSet() bool
- func (s OptBodyComposeMusicV1MusicPost) MarshalJSON() ([]byte, error)
- func (o OptBodyComposeMusicV1MusicPost) Or(d BodyComposeMusicV1MusicPost) BodyComposeMusicV1MusicPost
- func (o *OptBodyComposeMusicV1MusicPost) Reset()
- func (o *OptBodyComposeMusicV1MusicPost) SetTo(v BodyComposeMusicV1MusicPost)
- func (s *OptBodyComposeMusicV1MusicPost) UnmarshalJSON(data []byte) error
- type OptBodyComposeMusicV1MusicPostModelID
- func (o *OptBodyComposeMusicV1MusicPostModelID) Decode(d *jx.Decoder) error
- func (o OptBodyComposeMusicV1MusicPostModelID) Encode(e *jx.Encoder)
- func (o OptBodyComposeMusicV1MusicPostModelID) Get() (v BodyComposeMusicV1MusicPostModelID, ok bool)
- func (o OptBodyComposeMusicV1MusicPostModelID) IsSet() bool
- func (s OptBodyComposeMusicV1MusicPostModelID) MarshalJSON() ([]byte, error)
- func (o OptBodyComposeMusicV1MusicPostModelID) Or(d BodyComposeMusicV1MusicPostModelID) BodyComposeMusicV1MusicPostModelID
- func (o *OptBodyComposeMusicV1MusicPostModelID) Reset()
- func (o *OptBodyComposeMusicV1MusicPostModelID) SetTo(v BodyComposeMusicV1MusicPostModelID)
- func (s *OptBodyComposeMusicV1MusicPostModelID) UnmarshalJSON(data []byte) error
- type OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost
- func (o *OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Decode(d *jx.Decoder) error
- func (o OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Encode(e *jx.Encoder)
- func (o OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Get() (v BodyComposeMusicWithADetailedResponseV1MusicDetailedPost, ok bool)
- func (o OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) IsSet() bool
- func (s OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) MarshalJSON() ([]byte, error)
- func (o OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Or(d BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) BodyComposeMusicWithADetailedResponseV1MusicDetailedPost
- func (o *OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Reset()
- func (o *OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetTo(v BodyComposeMusicWithADetailedResponseV1MusicDetailedPost)
- func (s *OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) UnmarshalJSON(data []byte) error
- type OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID
- func (o *OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Decode(d *jx.Decoder) error
- func (o OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Encode(e *jx.Encoder)
- func (o OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Get() (v BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID, ok bool)
- func (o OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) IsSet() bool
- func (s OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) MarshalJSON() ([]byte, error)
- func (o OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Or(d BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID
- func (o *OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Reset()
- func (o *OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) SetTo(v BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID)
- func (s *OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) UnmarshalJSON(data []byte) error
- type OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost
- func (o *OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Decode(d *jx.Decoder) error
- func (o OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Encode(e *jx.Encoder)
- func (o OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Get() (v BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost, ok bool)
- func (o OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) IsSet() bool
- func (s OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) MarshalJSON() ([]byte, error)
- func (o OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Or(d BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost
- func (o *OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Reset()
- func (o *OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetTo(v BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost)
- func (s *OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) UnmarshalJSON(data []byte) error
- type OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart
- func (o OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) Get() (v BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart, ok bool)
- func (o OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) IsSet() bool
- func (o OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) Or(d BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart
- func (o *OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) Reset()
- func (o *OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetTo(v BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart)
- type OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode
- func (o OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) Get() (v BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode, ok bool)
- func (o OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) IsSet() bool
- func (o OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) Or(d BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode
- func (o *OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) Reset()
- func (o *OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) SetTo(v BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode)
- type OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost
- func (o *OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Decode(d *jx.Decoder) error
- func (o OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Encode(e *jx.Encoder)
- func (o OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Get() (v BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost, ok bool)
- func (o OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) IsSet() bool
- func (s OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) MarshalJSON() ([]byte, error)
- func (o OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Or(d BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost
- func (o *OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Reset()
- func (o *OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) SetTo(v BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost)
- func (s *OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) UnmarshalJSON(data []byte) error
- type OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost
- func (o *OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Decode(d *jx.Decoder) error
- func (o OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Encode(e *jx.Encoder)
- func (o OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Get() (v BodyEditPVCVoiceV1VoicesPvcVoiceIDPost, ok bool)
- func (o OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) IsSet() bool
- func (s OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) MarshalJSON() ([]byte, error)
- func (o OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Or(d BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) BodyEditPVCVoiceV1VoicesPvcVoiceIDPost
- func (o *OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Reset()
- func (o *OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetTo(v BodyEditPVCVoiceV1VoicesPvcVoiceIDPost)
- func (s *OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) UnmarshalJSON(data []byte) error
- type OptBodyGenerateCompositionPlanV1MusicPlanPostModelID
- func (o *OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Decode(d *jx.Decoder) error
- func (o OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Encode(e *jx.Encoder)
- func (o OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Get() (v BodyGenerateCompositionPlanV1MusicPlanPostModelID, ok bool)
- func (o OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) IsSet() bool
- func (s OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) MarshalJSON() ([]byte, error)
- func (o OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Or(d BodyGenerateCompositionPlanV1MusicPlanPostModelID) BodyGenerateCompositionPlanV1MusicPlanPostModelID
- func (o *OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Reset()
- func (o *OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) SetTo(v BodyGenerateCompositionPlanV1MusicPlanPostModelID)
- func (s *OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) UnmarshalJSON(data []byte) error
- type OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart
- func (o OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) Get() (v BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart, ok bool)
- func (o OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) IsSet() bool
- func (o OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) Or(d BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart
- func (o *OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) Reset()
- func (o *OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) SetTo(v BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart)
- type OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection
- func (o *OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Decode(d *jx.Decoder) error
- func (o OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Encode(e *jx.Encoder)
- func (o OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Get() (v BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection, ...)
- func (o OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) IsSet() bool
- func (s OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) MarshalJSON() ([]byte, error)
- func (o OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Or(d BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection
- func (o *OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Reset()
- func (o *OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) SetTo(v BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection)
- func (s *OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) UnmarshalJSON(data []byte) error
- type OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost
- func (o *OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Decode(d *jx.Decoder) error
- func (o OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Encode(e *jx.Encoder)
- func (o OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Get() (v BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost, ok bool)
- func (o OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) IsSet() bool
- func (s OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) MarshalJSON() ([]byte, error)
- func (o OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Or(d BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost
- func (o *OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Reset()
- func (o *OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) SetTo(v BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost)
- func (s *OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) UnmarshalJSON(data []byte) error
- type OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat
- func (o OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) Get() (v BodySpeechToTextV1SpeechToTextPostMultipartFileFormat, ok bool)
- func (o OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) IsSet() bool
- func (o OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) Or(d BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) BodySpeechToTextV1SpeechToTextPostMultipartFileFormat
- func (o *OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) Reset()
- func (o *OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) SetTo(v BodySpeechToTextV1SpeechToTextPostMultipartFileFormat)
- type OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity
- func (o OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) Get() (v BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity, ok bool)
- func (o OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) IsSet() bool
- func (o OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) Or(d BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity
- func (o *OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) Reset()
- func (o *OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) SetTo(v BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity)
- type OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID
- func (o OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) Get() (v BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID, ok bool)
- func (o OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) IsSet() bool
- func (o OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) Or(d BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID
- func (o *OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) Reset()
- func (o *OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) SetTo(v BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID)
- type OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost
- func (o *OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Decode(d *jx.Decoder) error
- func (o OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Encode(e *jx.Encoder)
- func (o OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Get() (...)
- func (o OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) IsSet() bool
- func (s OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) MarshalJSON() ([]byte, error)
- func (o OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Or(...) ...
- func (o *OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Reset()
- func (o *OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) SetTo(...)
- func (s *OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) UnmarshalJSON(data []byte) error
- type OptBodyStreamComposedMusicV1MusicStreamPost
- func (o *OptBodyStreamComposedMusicV1MusicStreamPost) Decode(d *jx.Decoder) error
- func (o OptBodyStreamComposedMusicV1MusicStreamPost) Encode(e *jx.Encoder)
- func (o OptBodyStreamComposedMusicV1MusicStreamPost) Get() (v BodyStreamComposedMusicV1MusicStreamPost, ok bool)
- func (o OptBodyStreamComposedMusicV1MusicStreamPost) IsSet() bool
- func (s OptBodyStreamComposedMusicV1MusicStreamPost) MarshalJSON() ([]byte, error)
- func (o OptBodyStreamComposedMusicV1MusicStreamPost) Or(d BodyStreamComposedMusicV1MusicStreamPost) BodyStreamComposedMusicV1MusicStreamPost
- func (o *OptBodyStreamComposedMusicV1MusicStreamPost) Reset()
- func (o *OptBodyStreamComposedMusicV1MusicStreamPost) SetTo(v BodyStreamComposedMusicV1MusicStreamPost)
- func (s *OptBodyStreamComposedMusicV1MusicStreamPost) UnmarshalJSON(data []byte) error
- type OptBodyStreamComposedMusicV1MusicStreamPostModelID
- func (o *OptBodyStreamComposedMusicV1MusicStreamPostModelID) Decode(d *jx.Decoder) error
- func (o OptBodyStreamComposedMusicV1MusicStreamPostModelID) Encode(e *jx.Encoder)
- func (o OptBodyStreamComposedMusicV1MusicStreamPostModelID) Get() (v BodyStreamComposedMusicV1MusicStreamPostModelID, ok bool)
- func (o OptBodyStreamComposedMusicV1MusicStreamPostModelID) IsSet() bool
- func (s OptBodyStreamComposedMusicV1MusicStreamPostModelID) MarshalJSON() ([]byte, error)
- func (o OptBodyStreamComposedMusicV1MusicStreamPostModelID) Or(d BodyStreamComposedMusicV1MusicStreamPostModelID) BodyStreamComposedMusicV1MusicStreamPostModelID
- func (o *OptBodyStreamComposedMusicV1MusicStreamPostModelID) Reset()
- func (o *OptBodyStreamComposedMusicV1MusicStreamPostModelID) SetTo(v BodyStreamComposedMusicV1MusicStreamPostModelID)
- func (s *OptBodyStreamComposedMusicV1MusicStreamPostModelID) UnmarshalJSON(data []byte) error
- type OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost
- func (o *OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Decode(d *jx.Decoder) error
- func (o OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Encode(e *jx.Encoder)
- func (o OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Get() (...)
- func (o OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) IsSet() bool
- func (s OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) MarshalJSON() ([]byte, error)
- func (o OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Or(...) ...
- func (o *OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Reset()
- func (o *OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) SetTo(...)
- func (s *OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) UnmarshalJSON(data []byte) error
- type OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization
- func (o *OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Decode(d *jx.Decoder) error
- func (o OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Encode(e *jx.Encoder)
- func (o OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Get() (v BodyTextToDialogueFullWithTimestampsApplyTextNormalization, ok bool)
- func (o OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) IsSet() bool
- func (s OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) MarshalJSON() ([]byte, error)
- func (o OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Or(d BodyTextToDialogueFullWithTimestampsApplyTextNormalization) BodyTextToDialogueFullWithTimestampsApplyTextNormalization
- func (o *OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Reset()
- func (o *OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) SetTo(v BodyTextToDialogueFullWithTimestampsApplyTextNormalization)
- func (s *OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) UnmarshalJSON(data []byte) error
- type OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization
- func (o *OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Decode(d *jx.Decoder) error
- func (o OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Encode(e *jx.Encoder)
- func (o OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Get() (...)
- func (o OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) IsSet() bool
- func (s OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) MarshalJSON() ([]byte, error)
- func (o OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Or(...) ...
- func (o *OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Reset()
- func (o *OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) SetTo(...)
- func (s *OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) UnmarshalJSON(data []byte) error
- type OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization
- func (o *OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Decode(d *jx.Decoder) error
- func (o OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Encode(e *jx.Encoder)
- func (o OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Get() (v BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization, ...)
- func (o OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) IsSet() bool
- func (s OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) MarshalJSON() ([]byte, error)
- func (o OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Or(d BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization
- func (o *OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Reset()
- func (o *OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) SetTo(v BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization)
- func (s *OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) UnmarshalJSON(data []byte) error
- type OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization
- func (o *OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Decode(d *jx.Decoder) error
- func (o OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Encode(e *jx.Encoder)
- func (o OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Get() (v BodyTextToDialogueStreamWithTimestampsApplyTextNormalization, ok bool)
- func (o OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) IsSet() bool
- func (s OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) MarshalJSON() ([]byte, error)
- func (o OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Or(d BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) BodyTextToDialogueStreamWithTimestampsApplyTextNormalization
- func (o *OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Reset()
- func (o *OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) SetTo(v BodyTextToDialogueStreamWithTimestampsApplyTextNormalization)
- func (s *OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) UnmarshalJSON(data []byte) error
- type OptBodyTextToSpeechFullApplyTextNormalization
- func (o *OptBodyTextToSpeechFullApplyTextNormalization) Decode(d *jx.Decoder) error
- func (o OptBodyTextToSpeechFullApplyTextNormalization) Encode(e *jx.Encoder)
- func (o OptBodyTextToSpeechFullApplyTextNormalization) Get() (v BodyTextToSpeechFullApplyTextNormalization, ok bool)
- func (o OptBodyTextToSpeechFullApplyTextNormalization) IsSet() bool
- func (s OptBodyTextToSpeechFullApplyTextNormalization) MarshalJSON() ([]byte, error)
- func (o OptBodyTextToSpeechFullApplyTextNormalization) Or(d BodyTextToSpeechFullApplyTextNormalization) BodyTextToSpeechFullApplyTextNormalization
- func (o *OptBodyTextToSpeechFullApplyTextNormalization) Reset()
- func (o *OptBodyTextToSpeechFullApplyTextNormalization) SetTo(v BodyTextToSpeechFullApplyTextNormalization)
- func (s *OptBodyTextToSpeechFullApplyTextNormalization) UnmarshalJSON(data []byte) error
- type OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization
- func (o *OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Decode(d *jx.Decoder) error
- func (o OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Encode(e *jx.Encoder)
- func (o OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Get() (v BodyTextToSpeechFullWithTimestampsApplyTextNormalization, ok bool)
- func (o OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) IsSet() bool
- func (s OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) MarshalJSON() ([]byte, error)
- func (o OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Or(d BodyTextToSpeechFullWithTimestampsApplyTextNormalization) BodyTextToSpeechFullWithTimestampsApplyTextNormalization
- func (o *OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Reset()
- func (o *OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) SetTo(v BodyTextToSpeechFullWithTimestampsApplyTextNormalization)
- func (s *OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) UnmarshalJSON(data []byte) error
- type OptBodyTextToSpeechStreamApplyTextNormalization
- func (o *OptBodyTextToSpeechStreamApplyTextNormalization) Decode(d *jx.Decoder) error
- func (o OptBodyTextToSpeechStreamApplyTextNormalization) Encode(e *jx.Encoder)
- func (o OptBodyTextToSpeechStreamApplyTextNormalization) Get() (v BodyTextToSpeechStreamApplyTextNormalization, ok bool)
- func (o OptBodyTextToSpeechStreamApplyTextNormalization) IsSet() bool
- func (s OptBodyTextToSpeechStreamApplyTextNormalization) MarshalJSON() ([]byte, error)
- func (o OptBodyTextToSpeechStreamApplyTextNormalization) Or(d BodyTextToSpeechStreamApplyTextNormalization) BodyTextToSpeechStreamApplyTextNormalization
- func (o *OptBodyTextToSpeechStreamApplyTextNormalization) Reset()
- func (o *OptBodyTextToSpeechStreamApplyTextNormalization) SetTo(v BodyTextToSpeechStreamApplyTextNormalization)
- func (s *OptBodyTextToSpeechStreamApplyTextNormalization) UnmarshalJSON(data []byte) error
- type OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization
- func (o *OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Decode(d *jx.Decoder) error
- func (o OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Encode(e *jx.Encoder)
- func (o OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Get() (v BodyTextToSpeechStreamWithTimestampsApplyTextNormalization, ok bool)
- func (o OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) IsSet() bool
- func (s OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) MarshalJSON() ([]byte, error)
- func (o OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Or(d BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) BodyTextToSpeechStreamWithTimestampsApplyTextNormalization
- func (o *OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Reset()
- func (o *OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) SetTo(v BodyTextToSpeechStreamWithTimestampsApplyTextNormalization)
- func (s *OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) UnmarshalJSON(data []byte) error
- type OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart
- func (o OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) Get() (...)
- func (o OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) IsSet() bool
- func (o OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) Or(...) BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart
- func (o *OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) Reset()
- func (o *OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) SetTo(...)
- type OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch
- func (o *OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Decode(d *jx.Decoder) error
- func (o OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Encode(e *jx.Encoder)
- func (o OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Get() (v BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch, ...)
- func (o OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) IsSet() bool
- func (s OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) MarshalJSON() ([]byte, error)
- func (o OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Or(d BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch
- func (o *OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Reset()
- func (o *OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetTo(v BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch)
- func (s *OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) UnmarshalJSON(data []byte) error
- type OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost
- func (o *OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Decode(d *jx.Decoder) error
- func (o OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Encode(e *jx.Encoder)
- func (o OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Get() (v BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost, ok bool)
- func (o OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) IsSet() bool
- func (s OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) MarshalJSON() ([]byte, error)
- func (o OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Or(d BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost
- func (o *OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Reset()
- func (o *OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetTo(v BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost)
- func (s *OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) UnmarshalJSON(data []byte) error
- type OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch
- func (o *OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Decode(d *jx.Decoder) error
- func (o OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Encode(e *jx.Encoder)
- func (o OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Get() (...)
- func (o OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) IsSet() bool
- func (s OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) MarshalJSON() ([]byte, error)
- func (o OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Or(...) ...
- func (o *OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Reset()
- func (o *OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) SetTo(...)
- func (s *OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) UnmarshalJSON(data []byte) error
- type OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart
- func (o OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) Get() (v BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart, ...)
- func (o OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) IsSet() bool
- func (o OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) Or(d BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart
- func (o *OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) Reset()
- func (o *OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetTo(v BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart)
- type OptBool
- func (o *OptBool) Decode(d *jx.Decoder) error
- func (o OptBool) Encode(e *jx.Encoder)
- func (o OptBool) Get() (v bool, ok bool)
- func (o OptBool) IsSet() bool
- func (s OptBool) MarshalJSON() ([]byte, error)
- func (o OptBool) Or(d bool) bool
- func (o *OptBool) Reset()
- func (o *OptBool) SetTo(v bool)
- func (s *OptBool) UnmarshalJSON(data []byte) error
- type OptBreakdownTypes
- type OptCaptionStyleCharacterAnimationModel
- func (o *OptCaptionStyleCharacterAnimationModel) Decode(d *jx.Decoder) error
- func (o OptCaptionStyleCharacterAnimationModel) Encode(e *jx.Encoder)
- func (o OptCaptionStyleCharacterAnimationModel) Get() (v CaptionStyleCharacterAnimationModel, ok bool)
- func (o OptCaptionStyleCharacterAnimationModel) IsSet() bool
- func (s OptCaptionStyleCharacterAnimationModel) MarshalJSON() ([]byte, error)
- func (o OptCaptionStyleCharacterAnimationModel) Or(d CaptionStyleCharacterAnimationModel) CaptionStyleCharacterAnimationModel
- func (o *OptCaptionStyleCharacterAnimationModel) Reset()
- func (o *OptCaptionStyleCharacterAnimationModel) SetTo(v CaptionStyleCharacterAnimationModel)
- func (s *OptCaptionStyleCharacterAnimationModel) UnmarshalJSON(data []byte) error
- type OptCaptionStyleHorizontalPlacementModel
- func (o *OptCaptionStyleHorizontalPlacementModel) Decode(d *jx.Decoder) error
- func (o OptCaptionStyleHorizontalPlacementModel) Encode(e *jx.Encoder)
- func (o OptCaptionStyleHorizontalPlacementModel) Get() (v CaptionStyleHorizontalPlacementModel, ok bool)
- func (o OptCaptionStyleHorizontalPlacementModel) IsSet() bool
- func (s OptCaptionStyleHorizontalPlacementModel) MarshalJSON() ([]byte, error)
- func (o OptCaptionStyleHorizontalPlacementModel) Or(d CaptionStyleHorizontalPlacementModel) CaptionStyleHorizontalPlacementModel
- func (o *OptCaptionStyleHorizontalPlacementModel) Reset()
- func (o *OptCaptionStyleHorizontalPlacementModel) SetTo(v CaptionStyleHorizontalPlacementModel)
- func (s *OptCaptionStyleHorizontalPlacementModel) UnmarshalJSON(data []byte) error
- type OptCaptionStyleModel
- func (o *OptCaptionStyleModel) Decode(d *jx.Decoder) error
- func (o OptCaptionStyleModel) Encode(e *jx.Encoder)
- func (o OptCaptionStyleModel) Get() (v CaptionStyleModel, ok bool)
- func (o OptCaptionStyleModel) IsSet() bool
- func (s OptCaptionStyleModel) MarshalJSON() ([]byte, error)
- func (o OptCaptionStyleModel) Or(d CaptionStyleModel) CaptionStyleModel
- func (o *OptCaptionStyleModel) Reset()
- func (o *OptCaptionStyleModel) SetTo(v CaptionStyleModel)
- func (s *OptCaptionStyleModel) UnmarshalJSON(data []byte) error
- type OptCaptionStyleSectionAnimationModel
- func (o *OptCaptionStyleSectionAnimationModel) Decode(d *jx.Decoder) error
- func (o OptCaptionStyleSectionAnimationModel) Encode(e *jx.Encoder)
- func (o OptCaptionStyleSectionAnimationModel) Get() (v CaptionStyleSectionAnimationModel, ok bool)
- func (o OptCaptionStyleSectionAnimationModel) IsSet() bool
- func (s OptCaptionStyleSectionAnimationModel) MarshalJSON() ([]byte, error)
- func (o OptCaptionStyleSectionAnimationModel) Or(d CaptionStyleSectionAnimationModel) CaptionStyleSectionAnimationModel
- func (o *OptCaptionStyleSectionAnimationModel) Reset()
- func (o *OptCaptionStyleSectionAnimationModel) SetTo(v CaptionStyleSectionAnimationModel)
- func (s *OptCaptionStyleSectionAnimationModel) UnmarshalJSON(data []byte) error
- type OptCaptionStyleTemplateModel
- func (o *OptCaptionStyleTemplateModel) Decode(d *jx.Decoder) error
- func (o OptCaptionStyleTemplateModel) Encode(e *jx.Encoder)
- func (o OptCaptionStyleTemplateModel) Get() (v CaptionStyleTemplateModel, ok bool)
- func (o OptCaptionStyleTemplateModel) IsSet() bool
- func (s OptCaptionStyleTemplateModel) MarshalJSON() ([]byte, error)
- func (o OptCaptionStyleTemplateModel) Or(d CaptionStyleTemplateModel) CaptionStyleTemplateModel
- func (o *OptCaptionStyleTemplateModel) Reset()
- func (o *OptCaptionStyleTemplateModel) SetTo(v CaptionStyleTemplateModel)
- func (s *OptCaptionStyleTemplateModel) UnmarshalJSON(data []byte) error
- type OptCaptionStyleVerticalPlacementModel
- func (o *OptCaptionStyleVerticalPlacementModel) Decode(d *jx.Decoder) error
- func (o OptCaptionStyleVerticalPlacementModel) Encode(e *jx.Encoder)
- func (o OptCaptionStyleVerticalPlacementModel) Get() (v CaptionStyleVerticalPlacementModel, ok bool)
- func (o OptCaptionStyleVerticalPlacementModel) IsSet() bool
- func (s OptCaptionStyleVerticalPlacementModel) MarshalJSON() ([]byte, error)
- func (o OptCaptionStyleVerticalPlacementModel) Or(d CaptionStyleVerticalPlacementModel) CaptionStyleVerticalPlacementModel
- func (o *OptCaptionStyleVerticalPlacementModel) Reset()
- func (o *OptCaptionStyleVerticalPlacementModel) SetTo(v CaptionStyleVerticalPlacementModel)
- func (s *OptCaptionStyleVerticalPlacementModel) UnmarshalJSON(data []byte) error
- type OptCaptionStyleWordAnimationModel
- func (o *OptCaptionStyleWordAnimationModel) Decode(d *jx.Decoder) error
- func (o OptCaptionStyleWordAnimationModel) Encode(e *jx.Encoder)
- func (o OptCaptionStyleWordAnimationModel) Get() (v CaptionStyleWordAnimationModel, ok bool)
- func (o OptCaptionStyleWordAnimationModel) IsSet() bool
- func (s OptCaptionStyleWordAnimationModel) MarshalJSON() ([]byte, error)
- func (o OptCaptionStyleWordAnimationModel) Or(d CaptionStyleWordAnimationModel) CaptionStyleWordAnimationModel
- func (o *OptCaptionStyleWordAnimationModel) Reset()
- func (o *OptCaptionStyleWordAnimationModel) SetTo(v CaptionStyleWordAnimationModel)
- func (s *OptCaptionStyleWordAnimationModel) UnmarshalJSON(data []byte) error
- type OptChapterStatisticsResponseModel
- func (o *OptChapterStatisticsResponseModel) Decode(d *jx.Decoder) error
- func (o OptChapterStatisticsResponseModel) Encode(e *jx.Encoder)
- func (o OptChapterStatisticsResponseModel) Get() (v ChapterStatisticsResponseModel, ok bool)
- func (o OptChapterStatisticsResponseModel) IsSet() bool
- func (s OptChapterStatisticsResponseModel) MarshalJSON() ([]byte, error)
- func (o OptChapterStatisticsResponseModel) Or(d ChapterStatisticsResponseModel) ChapterStatisticsResponseModel
- func (o *OptChapterStatisticsResponseModel) Reset()
- func (o *OptChapterStatisticsResponseModel) SetTo(v ChapterStatisticsResponseModel)
- func (s *OptChapterStatisticsResponseModel) UnmarshalJSON(data []byte) error
- type OptCharacterAlignmentResponseModel
- func (o *OptCharacterAlignmentResponseModel) Decode(d *jx.Decoder) error
- func (o OptCharacterAlignmentResponseModel) Encode(e *jx.Encoder)
- func (o OptCharacterAlignmentResponseModel) Get() (v CharacterAlignmentResponseModel, ok bool)
- func (o OptCharacterAlignmentResponseModel) IsSet() bool
- func (s OptCharacterAlignmentResponseModel) MarshalJSON() ([]byte, error)
- func (o OptCharacterAlignmentResponseModel) Or(d CharacterAlignmentResponseModel) CharacterAlignmentResponseModel
- func (o *OptCharacterAlignmentResponseModel) Reset()
- func (o *OptCharacterAlignmentResponseModel) SetTo(v CharacterAlignmentResponseModel)
- func (s *OptCharacterAlignmentResponseModel) UnmarshalJSON(data []byte) error
- type OptCharacterRefreshPeriod
- func (o *OptCharacterRefreshPeriod) Decode(d *jx.Decoder) error
- func (o OptCharacterRefreshPeriod) Encode(e *jx.Encoder)
- func (o OptCharacterRefreshPeriod) Get() (v CharacterRefreshPeriod, ok bool)
- func (o OptCharacterRefreshPeriod) IsSet() bool
- func (s OptCharacterRefreshPeriod) MarshalJSON() ([]byte, error)
- func (o OptCharacterRefreshPeriod) Or(d CharacterRefreshPeriod) CharacterRefreshPeriod
- func (o *OptCharacterRefreshPeriod) Reset()
- func (o *OptCharacterRefreshPeriod) SetTo(v CharacterRefreshPeriod)
- func (s *OptCharacterRefreshPeriod) UnmarshalJSON(data []byte) error
- type OptComposeDetailedOutputFormat
- func (o OptComposeDetailedOutputFormat) Get() (v ComposeDetailedOutputFormat, ok bool)
- func (o OptComposeDetailedOutputFormat) IsSet() bool
- func (o OptComposeDetailedOutputFormat) Or(d ComposeDetailedOutputFormat) ComposeDetailedOutputFormat
- func (o *OptComposeDetailedOutputFormat) Reset()
- func (o *OptComposeDetailedOutputFormat) SetTo(v ComposeDetailedOutputFormat)
- type OptConvAIWebhooks
- func (o *OptConvAIWebhooks) Decode(d *jx.Decoder) error
- func (o OptConvAIWebhooks) Encode(e *jx.Encoder)
- func (o OptConvAIWebhooks) Get() (v ConvAIWebhooks, ok bool)
- func (o OptConvAIWebhooks) IsSet() bool
- func (s OptConvAIWebhooks) MarshalJSON() ([]byte, error)
- func (o OptConvAIWebhooks) Or(d ConvAIWebhooks) ConvAIWebhooks
- func (o *OptConvAIWebhooks) Reset()
- func (o *OptConvAIWebhooks) SetTo(v ConvAIWebhooks)
- func (s *OptConvAIWebhooks) UnmarshalJSON(data []byte) error
- type OptConversationChargingCommonModel
- func (o *OptConversationChargingCommonModel) Decode(d *jx.Decoder) error
- func (o OptConversationChargingCommonModel) Encode(e *jx.Encoder)
- func (o OptConversationChargingCommonModel) Get() (v ConversationChargingCommonModel, ok bool)
- func (o OptConversationChargingCommonModel) IsSet() bool
- func (s OptConversationChargingCommonModel) MarshalJSON() ([]byte, error)
- func (o OptConversationChargingCommonModel) Or(d ConversationChargingCommonModel) ConversationChargingCommonModel
- func (o *OptConversationChargingCommonModel) Reset()
- func (o *OptConversationChargingCommonModel) SetTo(v ConversationChargingCommonModel)
- func (s *OptConversationChargingCommonModel) UnmarshalJSON(data []byte) error
- type OptConversationConfigClientOverrideInput
- func (o *OptConversationConfigClientOverrideInput) Decode(d *jx.Decoder) error
- func (o OptConversationConfigClientOverrideInput) Encode(e *jx.Encoder)
- func (o OptConversationConfigClientOverrideInput) Get() (v ConversationConfigClientOverrideInput, ok bool)
- func (o OptConversationConfigClientOverrideInput) IsSet() bool
- func (s OptConversationConfigClientOverrideInput) MarshalJSON() ([]byte, error)
- func (o OptConversationConfigClientOverrideInput) Or(d ConversationConfigClientOverrideInput) ConversationConfigClientOverrideInput
- func (o *OptConversationConfigClientOverrideInput) Reset()
- func (o *OptConversationConfigClientOverrideInput) SetTo(v ConversationConfigClientOverrideInput)
- func (s *OptConversationConfigClientOverrideInput) UnmarshalJSON(data []byte) error
- type OptConversationConfigClientOverrideOutput
- func (o *OptConversationConfigClientOverrideOutput) Decode(d *jx.Decoder) error
- func (o OptConversationConfigClientOverrideOutput) Encode(e *jx.Encoder)
- func (o OptConversationConfigClientOverrideOutput) Get() (v ConversationConfigClientOverrideOutput, ok bool)
- func (o OptConversationConfigClientOverrideOutput) IsSet() bool
- func (s OptConversationConfigClientOverrideOutput) MarshalJSON() ([]byte, error)
- func (o OptConversationConfigClientOverrideOutput) Or(d ConversationConfigClientOverrideOutput) ConversationConfigClientOverrideOutput
- func (o *OptConversationConfigClientOverrideOutput) Reset()
- func (o *OptConversationConfigClientOverrideOutput) SetTo(v ConversationConfigClientOverrideOutput)
- func (s *OptConversationConfigClientOverrideOutput) UnmarshalJSON(data []byte) error
- type OptConversationConfigOverride
- func (o *OptConversationConfigOverride) Decode(d *jx.Decoder) error
- func (o OptConversationConfigOverride) Encode(e *jx.Encoder)
- func (o OptConversationConfigOverride) Get() (v ConversationConfigOverride, ok bool)
- func (o OptConversationConfigOverride) IsSet() bool
- func (s OptConversationConfigOverride) MarshalJSON() ([]byte, error)
- func (o OptConversationConfigOverride) Or(d ConversationConfigOverride) ConversationConfigOverride
- func (o *OptConversationConfigOverride) Reset()
- func (o *OptConversationConfigOverride) SetTo(v ConversationConfigOverride)
- func (s *OptConversationConfigOverride) UnmarshalJSON(data []byte) error
- type OptConversationDeletionSettings
- func (o *OptConversationDeletionSettings) Decode(d *jx.Decoder) error
- func (o OptConversationDeletionSettings) Encode(e *jx.Encoder)
- func (o OptConversationDeletionSettings) Get() (v ConversationDeletionSettings, ok bool)
- func (o OptConversationDeletionSettings) IsSet() bool
- func (s OptConversationDeletionSettings) MarshalJSON() ([]byte, error)
- func (o OptConversationDeletionSettings) Or(d ConversationDeletionSettings) ConversationDeletionSettings
- func (o *OptConversationDeletionSettings) Reset()
- func (o *OptConversationDeletionSettings) SetTo(v ConversationDeletionSettings)
- func (s *OptConversationDeletionSettings) UnmarshalJSON(data []byte) error
- type OptConversationFeedbackType
- func (o *OptConversationFeedbackType) Decode(d *jx.Decoder) error
- func (o OptConversationFeedbackType) Encode(e *jx.Encoder)
- func (o OptConversationFeedbackType) Get() (v ConversationFeedbackType, ok bool)
- func (o OptConversationFeedbackType) IsSet() bool
- func (s OptConversationFeedbackType) MarshalJSON() ([]byte, error)
- func (o OptConversationFeedbackType) Or(d ConversationFeedbackType) ConversationFeedbackType
- func (o *OptConversationFeedbackType) Reset()
- func (o *OptConversationFeedbackType) SetTo(v ConversationFeedbackType)
- func (s *OptConversationFeedbackType) UnmarshalJSON(data []byte) error
- type OptConversationHistoryAnalysisCommonModel
- func (o *OptConversationHistoryAnalysisCommonModel) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryAnalysisCommonModel) Encode(e *jx.Encoder)
- func (o OptConversationHistoryAnalysisCommonModel) Get() (v ConversationHistoryAnalysisCommonModel, ok bool)
- func (o OptConversationHistoryAnalysisCommonModel) IsSet() bool
- func (s OptConversationHistoryAnalysisCommonModel) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryAnalysisCommonModel) Or(d ConversationHistoryAnalysisCommonModel) ConversationHistoryAnalysisCommonModel
- func (o *OptConversationHistoryAnalysisCommonModel) Reset()
- func (o *OptConversationHistoryAnalysisCommonModel) SetTo(v ConversationHistoryAnalysisCommonModel)
- func (s *OptConversationHistoryAnalysisCommonModel) UnmarshalJSON(data []byte) error
- type OptConversationHistoryAnalysisCommonModelDataCollectionResults
- func (o *OptConversationHistoryAnalysisCommonModelDataCollectionResults) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryAnalysisCommonModelDataCollectionResults) Encode(e *jx.Encoder)
- func (o OptConversationHistoryAnalysisCommonModelDataCollectionResults) Get() (v ConversationHistoryAnalysisCommonModelDataCollectionResults, ok bool)
- func (o OptConversationHistoryAnalysisCommonModelDataCollectionResults) IsSet() bool
- func (s OptConversationHistoryAnalysisCommonModelDataCollectionResults) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryAnalysisCommonModelDataCollectionResults) Or(d ConversationHistoryAnalysisCommonModelDataCollectionResults) ConversationHistoryAnalysisCommonModelDataCollectionResults
- func (o *OptConversationHistoryAnalysisCommonModelDataCollectionResults) Reset()
- func (o *OptConversationHistoryAnalysisCommonModelDataCollectionResults) SetTo(v ConversationHistoryAnalysisCommonModelDataCollectionResults)
- func (s *OptConversationHistoryAnalysisCommonModelDataCollectionResults) UnmarshalJSON(data []byte) error
- type OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults
- func (o *OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Encode(e *jx.Encoder)
- func (o OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Get() (v ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults, ok bool)
- func (o OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) IsSet() bool
- func (s OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Or(d ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults
- func (o *OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Reset()
- func (o *OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) SetTo(v ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults)
- func (s *OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) UnmarshalJSON(data []byte) error
- type OptConversationHistoryBatchCallModel
- func (o *OptConversationHistoryBatchCallModel) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryBatchCallModel) Encode(e *jx.Encoder)
- func (o OptConversationHistoryBatchCallModel) Get() (v ConversationHistoryBatchCallModel, ok bool)
- func (o OptConversationHistoryBatchCallModel) IsSet() bool
- func (s OptConversationHistoryBatchCallModel) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryBatchCallModel) Or(d ConversationHistoryBatchCallModel) ConversationHistoryBatchCallModel
- func (o *OptConversationHistoryBatchCallModel) Reset()
- func (o *OptConversationHistoryBatchCallModel) SetTo(v ConversationHistoryBatchCallModel)
- func (s *OptConversationHistoryBatchCallModel) UnmarshalJSON(data []byte) error
- type OptConversationHistoryElevenAssistantCommonModel
- func (o *OptConversationHistoryElevenAssistantCommonModel) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryElevenAssistantCommonModel) Encode(e *jx.Encoder)
- func (o OptConversationHistoryElevenAssistantCommonModel) Get() (v ConversationHistoryElevenAssistantCommonModel, ok bool)
- func (o OptConversationHistoryElevenAssistantCommonModel) IsSet() bool
- func (s OptConversationHistoryElevenAssistantCommonModel) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryElevenAssistantCommonModel) Or(d ConversationHistoryElevenAssistantCommonModel) ConversationHistoryElevenAssistantCommonModel
- func (o *OptConversationHistoryElevenAssistantCommonModel) Reset()
- func (o *OptConversationHistoryElevenAssistantCommonModel) SetTo(v ConversationHistoryElevenAssistantCommonModel)
- func (s *OptConversationHistoryElevenAssistantCommonModel) UnmarshalJSON(data []byte) error
- type OptConversationHistoryErrorCommonModel
- func (o *OptConversationHistoryErrorCommonModel) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryErrorCommonModel) Encode(e *jx.Encoder)
- func (o OptConversationHistoryErrorCommonModel) Get() (v ConversationHistoryErrorCommonModel, ok bool)
- func (o OptConversationHistoryErrorCommonModel) IsSet() bool
- func (s OptConversationHistoryErrorCommonModel) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryErrorCommonModel) Or(d ConversationHistoryErrorCommonModel) ConversationHistoryErrorCommonModel
- func (o *OptConversationHistoryErrorCommonModel) Reset()
- func (o *OptConversationHistoryErrorCommonModel) SetTo(v ConversationHistoryErrorCommonModel)
- func (s *OptConversationHistoryErrorCommonModel) UnmarshalJSON(data []byte) error
- type OptConversationHistoryFeedbackCommonModel
- func (o *OptConversationHistoryFeedbackCommonModel) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryFeedbackCommonModel) Encode(e *jx.Encoder)
- func (o OptConversationHistoryFeedbackCommonModel) Get() (v ConversationHistoryFeedbackCommonModel, ok bool)
- func (o OptConversationHistoryFeedbackCommonModel) IsSet() bool
- func (s OptConversationHistoryFeedbackCommonModel) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryFeedbackCommonModel) Or(d ConversationHistoryFeedbackCommonModel) ConversationHistoryFeedbackCommonModel
- func (o *OptConversationHistoryFeedbackCommonModel) Reset()
- func (o *OptConversationHistoryFeedbackCommonModel) SetTo(v ConversationHistoryFeedbackCommonModel)
- func (s *OptConversationHistoryFeedbackCommonModel) UnmarshalJSON(data []byte) error
- type OptConversationHistoryMetadataCommonModelInitiationTrigger
- func (o *OptConversationHistoryMetadataCommonModelInitiationTrigger) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryMetadataCommonModelInitiationTrigger) Encode(e *jx.Encoder)
- func (o OptConversationHistoryMetadataCommonModelInitiationTrigger) Get() (v ConversationHistoryMetadataCommonModelInitiationTrigger, ok bool)
- func (o OptConversationHistoryMetadataCommonModelInitiationTrigger) IsSet() bool
- func (s OptConversationHistoryMetadataCommonModelInitiationTrigger) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryMetadataCommonModelInitiationTrigger) Or(d ConversationHistoryMetadataCommonModelInitiationTrigger) ConversationHistoryMetadataCommonModelInitiationTrigger
- func (o *OptConversationHistoryMetadataCommonModelInitiationTrigger) Reset()
- func (o *OptConversationHistoryMetadataCommonModelInitiationTrigger) SetTo(v ConversationHistoryMetadataCommonModelInitiationTrigger)
- func (s *OptConversationHistoryMetadataCommonModelInitiationTrigger) UnmarshalJSON(data []byte) error
- type OptConversationHistoryMultivoiceMessageModel
- func (o *OptConversationHistoryMultivoiceMessageModel) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryMultivoiceMessageModel) Encode(e *jx.Encoder)
- func (o OptConversationHistoryMultivoiceMessageModel) Get() (v ConversationHistoryMultivoiceMessageModel, ok bool)
- func (o OptConversationHistoryMultivoiceMessageModel) IsSet() bool
- func (s OptConversationHistoryMultivoiceMessageModel) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryMultivoiceMessageModel) Or(d ConversationHistoryMultivoiceMessageModel) ConversationHistoryMultivoiceMessageModel
- func (o *OptConversationHistoryMultivoiceMessageModel) Reset()
- func (o *OptConversationHistoryMultivoiceMessageModel) SetTo(v ConversationHistoryMultivoiceMessageModel)
- func (s *OptConversationHistoryMultivoiceMessageModel) UnmarshalJSON(data []byte) error
- type OptConversationHistoryRagUsageCommonModel
- func (o *OptConversationHistoryRagUsageCommonModel) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryRagUsageCommonModel) Encode(e *jx.Encoder)
- func (o OptConversationHistoryRagUsageCommonModel) Get() (v ConversationHistoryRagUsageCommonModel, ok bool)
- func (o OptConversationHistoryRagUsageCommonModel) IsSet() bool
- func (s OptConversationHistoryRagUsageCommonModel) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryRagUsageCommonModel) Or(d ConversationHistoryRagUsageCommonModel) ConversationHistoryRagUsageCommonModel
- func (o *OptConversationHistoryRagUsageCommonModel) Reset()
- func (o *OptConversationHistoryRagUsageCommonModel) SetTo(v ConversationHistoryRagUsageCommonModel)
- func (s *OptConversationHistoryRagUsageCommonModel) UnmarshalJSON(data []byte) error
- type OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType
- func (o *OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Encode(e *jx.Encoder)
- func (o OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Get() (v ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType, ...)
- func (o OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) IsSet() bool
- func (s OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Or(d ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType
- func (o *OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Reset()
- func (o *OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) SetTo(v ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType)
- func (s *OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) UnmarshalJSON(data []byte) error
- type OptConversationHistoryTranscriptToolCallClientDetailsType
- func (o *OptConversationHistoryTranscriptToolCallClientDetailsType) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryTranscriptToolCallClientDetailsType) Encode(e *jx.Encoder)
- func (o OptConversationHistoryTranscriptToolCallClientDetailsType) Get() (v ConversationHistoryTranscriptToolCallClientDetailsType, ok bool)
- func (o OptConversationHistoryTranscriptToolCallClientDetailsType) IsSet() bool
- func (s OptConversationHistoryTranscriptToolCallClientDetailsType) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryTranscriptToolCallClientDetailsType) Or(d ConversationHistoryTranscriptToolCallClientDetailsType) ConversationHistoryTranscriptToolCallClientDetailsType
- func (o *OptConversationHistoryTranscriptToolCallClientDetailsType) Reset()
- func (o *OptConversationHistoryTranscriptToolCallClientDetailsType) SetTo(v ConversationHistoryTranscriptToolCallClientDetailsType)
- func (s *OptConversationHistoryTranscriptToolCallClientDetailsType) UnmarshalJSON(data []byte) error
- type OptConversationHistoryTranscriptToolCallMCPDetailsParameters
- func (o *OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Encode(e *jx.Encoder)
- func (o OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Get() (v ConversationHistoryTranscriptToolCallMCPDetailsParameters, ok bool)
- func (o OptConversationHistoryTranscriptToolCallMCPDetailsParameters) IsSet() bool
- func (s OptConversationHistoryTranscriptToolCallMCPDetailsParameters) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Or(d ConversationHistoryTranscriptToolCallMCPDetailsParameters) ConversationHistoryTranscriptToolCallMCPDetailsParameters
- func (o *OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Reset()
- func (o *OptConversationHistoryTranscriptToolCallMCPDetailsParameters) SetTo(v ConversationHistoryTranscriptToolCallMCPDetailsParameters)
- func (s *OptConversationHistoryTranscriptToolCallMCPDetailsParameters) UnmarshalJSON(data []byte) error
- type OptConversationHistoryTranscriptToolCallMCPDetailsType
- func (o *OptConversationHistoryTranscriptToolCallMCPDetailsType) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryTranscriptToolCallMCPDetailsType) Encode(e *jx.Encoder)
- func (o OptConversationHistoryTranscriptToolCallMCPDetailsType) Get() (v ConversationHistoryTranscriptToolCallMCPDetailsType, ok bool)
- func (o OptConversationHistoryTranscriptToolCallMCPDetailsType) IsSet() bool
- func (s OptConversationHistoryTranscriptToolCallMCPDetailsType) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryTranscriptToolCallMCPDetailsType) Or(d ConversationHistoryTranscriptToolCallMCPDetailsType) ConversationHistoryTranscriptToolCallMCPDetailsType
- func (o *OptConversationHistoryTranscriptToolCallMCPDetailsType) Reset()
- func (o *OptConversationHistoryTranscriptToolCallMCPDetailsType) SetTo(v ConversationHistoryTranscriptToolCallMCPDetailsType)
- func (s *OptConversationHistoryTranscriptToolCallMCPDetailsType) UnmarshalJSON(data []byte) error
- type OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders
- func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Encode(e *jx.Encoder)
- func (o OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Get() (v ConversationHistoryTranscriptToolCallWebhookDetailsHeaders, ok bool)
- func (o OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) IsSet() bool
- func (s OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Or(d ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) ConversationHistoryTranscriptToolCallWebhookDetailsHeaders
- func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Reset()
- func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) SetTo(v ConversationHistoryTranscriptToolCallWebhookDetailsHeaders)
- func (s *OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) UnmarshalJSON(data []byte) error
- type OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams
- func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Encode(e *jx.Encoder)
- func (o OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Get() (v ConversationHistoryTranscriptToolCallWebhookDetailsPathParams, ok bool)
- func (o OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) IsSet() bool
- func (s OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Or(d ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) ConversationHistoryTranscriptToolCallWebhookDetailsPathParams
- func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Reset()
- func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) SetTo(v ConversationHistoryTranscriptToolCallWebhookDetailsPathParams)
- func (s *OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) UnmarshalJSON(data []byte) error
- type OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams
- func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Encode(e *jx.Encoder)
- func (o OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Get() (v ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams, ok bool)
- func (o OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) IsSet() bool
- func (s OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Or(d ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams
- func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Reset()
- func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) SetTo(v ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams)
- func (s *OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) UnmarshalJSON(data []byte) error
- type OptConversationHistoryTranscriptToolCallWebhookDetailsType
- func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsType) Decode(d *jx.Decoder) error
- func (o OptConversationHistoryTranscriptToolCallWebhookDetailsType) Encode(e *jx.Encoder)
- func (o OptConversationHistoryTranscriptToolCallWebhookDetailsType) Get() (v ConversationHistoryTranscriptToolCallWebhookDetailsType, ok bool)
- func (o OptConversationHistoryTranscriptToolCallWebhookDetailsType) IsSet() bool
- func (s OptConversationHistoryTranscriptToolCallWebhookDetailsType) MarshalJSON() ([]byte, error)
- func (o OptConversationHistoryTranscriptToolCallWebhookDetailsType) Or(d ConversationHistoryTranscriptToolCallWebhookDetailsType) ConversationHistoryTranscriptToolCallWebhookDetailsType
- func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsType) Reset()
- func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsType) SetTo(v ConversationHistoryTranscriptToolCallWebhookDetailsType)
- func (s *OptConversationHistoryTranscriptToolCallWebhookDetailsType) UnmarshalJSON(data []byte) error
- type OptConversationInitiationClientDataInternal
- func (o *OptConversationInitiationClientDataInternal) Decode(d *jx.Decoder) error
- func (o OptConversationInitiationClientDataInternal) Encode(e *jx.Encoder)
- func (o OptConversationInitiationClientDataInternal) Get() (v ConversationInitiationClientDataInternal, ok bool)
- func (o OptConversationInitiationClientDataInternal) IsSet() bool
- func (s OptConversationInitiationClientDataInternal) MarshalJSON() ([]byte, error)
- func (o OptConversationInitiationClientDataInternal) Or(d ConversationInitiationClientDataInternal) ConversationInitiationClientDataInternal
- func (o *OptConversationInitiationClientDataInternal) Reset()
- func (o *OptConversationInitiationClientDataInternal) SetTo(v ConversationInitiationClientDataInternal)
- func (s *OptConversationInitiationClientDataInternal) UnmarshalJSON(data []byte) error
- type OptConversationInitiationClientDataInternalDynamicVariables
- func (o *OptConversationInitiationClientDataInternalDynamicVariables) Decode(d *jx.Decoder) error
- func (o OptConversationInitiationClientDataInternalDynamicVariables) Encode(e *jx.Encoder)
- func (o OptConversationInitiationClientDataInternalDynamicVariables) Get() (v ConversationInitiationClientDataInternalDynamicVariables, ok bool)
- func (o OptConversationInitiationClientDataInternalDynamicVariables) IsSet() bool
- func (s OptConversationInitiationClientDataInternalDynamicVariables) MarshalJSON() ([]byte, error)
- func (o OptConversationInitiationClientDataInternalDynamicVariables) Or(d ConversationInitiationClientDataInternalDynamicVariables) ConversationInitiationClientDataInternalDynamicVariables
- func (o *OptConversationInitiationClientDataInternalDynamicVariables) Reset()
- func (o *OptConversationInitiationClientDataInternalDynamicVariables) SetTo(v ConversationInitiationClientDataInternalDynamicVariables)
- func (s *OptConversationInitiationClientDataInternalDynamicVariables) UnmarshalJSON(data []byte) error
- type OptConversationInitiationClientDataRequestInput
- func (o *OptConversationInitiationClientDataRequestInput) Decode(d *jx.Decoder) error
- func (o OptConversationInitiationClientDataRequestInput) Encode(e *jx.Encoder)
- func (o OptConversationInitiationClientDataRequestInput) Get() (v ConversationInitiationClientDataRequestInput, ok bool)
- func (o OptConversationInitiationClientDataRequestInput) IsSet() bool
- func (s OptConversationInitiationClientDataRequestInput) MarshalJSON() ([]byte, error)
- func (o OptConversationInitiationClientDataRequestInput) Or(d ConversationInitiationClientDataRequestInput) ConversationInitiationClientDataRequestInput
- func (o *OptConversationInitiationClientDataRequestInput) Reset()
- func (o *OptConversationInitiationClientDataRequestInput) SetTo(v ConversationInitiationClientDataRequestInput)
- func (s *OptConversationInitiationClientDataRequestInput) UnmarshalJSON(data []byte) error
- type OptConversationInitiationClientDataRequestInputDynamicVariables
- func (o *OptConversationInitiationClientDataRequestInputDynamicVariables) Decode(d *jx.Decoder) error
- func (o OptConversationInitiationClientDataRequestInputDynamicVariables) Encode(e *jx.Encoder)
- func (o OptConversationInitiationClientDataRequestInputDynamicVariables) Get() (v ConversationInitiationClientDataRequestInputDynamicVariables, ok bool)
- func (o OptConversationInitiationClientDataRequestInputDynamicVariables) IsSet() bool
- func (s OptConversationInitiationClientDataRequestInputDynamicVariables) MarshalJSON() ([]byte, error)
- func (o OptConversationInitiationClientDataRequestInputDynamicVariables) Or(d ConversationInitiationClientDataRequestInputDynamicVariables) ConversationInitiationClientDataRequestInputDynamicVariables
- func (o *OptConversationInitiationClientDataRequestInputDynamicVariables) Reset()
- func (o *OptConversationInitiationClientDataRequestInputDynamicVariables) SetTo(v ConversationInitiationClientDataRequestInputDynamicVariables)
- func (s *OptConversationInitiationClientDataRequestInputDynamicVariables) UnmarshalJSON(data []byte) error
- type OptConversationInitiationClientDataRequestOutput
- func (o *OptConversationInitiationClientDataRequestOutput) Decode(d *jx.Decoder) error
- func (o OptConversationInitiationClientDataRequestOutput) Encode(e *jx.Encoder)
- func (o OptConversationInitiationClientDataRequestOutput) Get() (v ConversationInitiationClientDataRequestOutput, ok bool)
- func (o OptConversationInitiationClientDataRequestOutput) IsSet() bool
- func (s OptConversationInitiationClientDataRequestOutput) MarshalJSON() ([]byte, error)
- func (o OptConversationInitiationClientDataRequestOutput) Or(d ConversationInitiationClientDataRequestOutput) ConversationInitiationClientDataRequestOutput
- func (o *OptConversationInitiationClientDataRequestOutput) Reset()
- func (o *OptConversationInitiationClientDataRequestOutput) SetTo(v ConversationInitiationClientDataRequestOutput)
- func (s *OptConversationInitiationClientDataRequestOutput) UnmarshalJSON(data []byte) error
- type OptConversationInitiationClientDataRequestOutputDynamicVariables
- func (o *OptConversationInitiationClientDataRequestOutputDynamicVariables) Decode(d *jx.Decoder) error
- func (o OptConversationInitiationClientDataRequestOutputDynamicVariables) Encode(e *jx.Encoder)
- func (o OptConversationInitiationClientDataRequestOutputDynamicVariables) Get() (v ConversationInitiationClientDataRequestOutputDynamicVariables, ok bool)
- func (o OptConversationInitiationClientDataRequestOutputDynamicVariables) IsSet() bool
- func (s OptConversationInitiationClientDataRequestOutputDynamicVariables) MarshalJSON() ([]byte, error)
- func (o OptConversationInitiationClientDataRequestOutputDynamicVariables) Or(d ConversationInitiationClientDataRequestOutputDynamicVariables) ConversationInitiationClientDataRequestOutputDynamicVariables
- func (o *OptConversationInitiationClientDataRequestOutputDynamicVariables) Reset()
- func (o *OptConversationInitiationClientDataRequestOutputDynamicVariables) SetTo(v ConversationInitiationClientDataRequestOutputDynamicVariables)
- func (s *OptConversationInitiationClientDataRequestOutputDynamicVariables) UnmarshalJSON(data []byte) error
- type OptConversationInitiationClientDataWebhook
- func (o *OptConversationInitiationClientDataWebhook) Decode(d *jx.Decoder) error
- func (o OptConversationInitiationClientDataWebhook) Encode(e *jx.Encoder)
- func (o OptConversationInitiationClientDataWebhook) Get() (v ConversationInitiationClientDataWebhook, ok bool)
- func (o OptConversationInitiationClientDataWebhook) IsSet() bool
- func (s OptConversationInitiationClientDataWebhook) MarshalJSON() ([]byte, error)
- func (o OptConversationInitiationClientDataWebhook) Or(d ConversationInitiationClientDataWebhook) ConversationInitiationClientDataWebhook
- func (o *OptConversationInitiationClientDataWebhook) Reset()
- func (o *OptConversationInitiationClientDataWebhook) SetTo(v ConversationInitiationClientDataWebhook)
- func (s *OptConversationInitiationClientDataWebhook) UnmarshalJSON(data []byte) error
- type OptConversationInitiationSource
- func (o *OptConversationInitiationSource) Decode(d *jx.Decoder) error
- func (o OptConversationInitiationSource) Encode(e *jx.Encoder)
- func (o OptConversationInitiationSource) Get() (v ConversationInitiationSource, ok bool)
- func (o OptConversationInitiationSource) IsSet() bool
- func (s OptConversationInitiationSource) MarshalJSON() ([]byte, error)
- func (o OptConversationInitiationSource) Or(d ConversationInitiationSource) ConversationInitiationSource
- func (o *OptConversationInitiationSource) Reset()
- func (o *OptConversationInitiationSource) SetTo(v ConversationInitiationSource)
- func (s *OptConversationInitiationSource) UnmarshalJSON(data []byte) error
- type OptConversationInitiationSourceInfo
- func (o *OptConversationInitiationSourceInfo) Decode(d *jx.Decoder) error
- func (o OptConversationInitiationSourceInfo) Encode(e *jx.Encoder)
- func (o OptConversationInitiationSourceInfo) Get() (v ConversationInitiationSourceInfo, ok bool)
- func (o OptConversationInitiationSourceInfo) IsSet() bool
- func (s OptConversationInitiationSourceInfo) MarshalJSON() ([]byte, error)
- func (o OptConversationInitiationSourceInfo) Or(d ConversationInitiationSourceInfo) ConversationInitiationSourceInfo
- func (o *OptConversationInitiationSourceInfo) Reset()
- func (o *OptConversationInitiationSourceInfo) SetTo(v ConversationInitiationSourceInfo)
- func (s *OptConversationInitiationSourceInfo) UnmarshalJSON(data []byte) error
- type OptConversationTokenDBModel
- func (o *OptConversationTokenDBModel) Decode(d *jx.Decoder) error
- func (o OptConversationTokenDBModel) Encode(e *jx.Encoder)
- func (o OptConversationTokenDBModel) Get() (v ConversationTokenDBModel, ok bool)
- func (o OptConversationTokenDBModel) IsSet() bool
- func (s OptConversationTokenDBModel) MarshalJSON() ([]byte, error)
- func (o OptConversationTokenDBModel) Or(d ConversationTokenDBModel) ConversationTokenDBModel
- func (o *OptConversationTokenDBModel) Reset()
- func (o *OptConversationTokenDBModel) SetTo(v ConversationTokenDBModel)
- func (s *OptConversationTokenDBModel) UnmarshalJSON(data []byte) error
- type OptConversationTokenPurpose
- func (o *OptConversationTokenPurpose) Decode(d *jx.Decoder) error
- func (o OptConversationTokenPurpose) Encode(e *jx.Encoder)
- func (o OptConversationTokenPurpose) Get() (v ConversationTokenPurpose, ok bool)
- func (o OptConversationTokenPurpose) IsSet() bool
- func (s OptConversationTokenPurpose) MarshalJSON() ([]byte, error)
- func (o OptConversationTokenPurpose) Or(d ConversationTokenPurpose) ConversationTokenPurpose
- func (o *OptConversationTokenPurpose) Reset()
- func (o *OptConversationTokenPurpose) SetTo(v ConversationTokenPurpose)
- func (s *OptConversationTokenPurpose) UnmarshalJSON(data []byte) error
- type OptConversationTurnMetrics
- func (o *OptConversationTurnMetrics) Decode(d *jx.Decoder) error
- func (o OptConversationTurnMetrics) Encode(e *jx.Encoder)
- func (o OptConversationTurnMetrics) Get() (v ConversationTurnMetrics, ok bool)
- func (o OptConversationTurnMetrics) IsSet() bool
- func (s OptConversationTurnMetrics) MarshalJSON() ([]byte, error)
- func (o OptConversationTurnMetrics) Or(d ConversationTurnMetrics) ConversationTurnMetrics
- func (o *OptConversationTurnMetrics) Reset()
- func (o *OptConversationTurnMetrics) SetTo(v ConversationTurnMetrics)
- func (s *OptConversationTurnMetrics) UnmarshalJSON(data []byte) error
- type OptConversationTurnMetricsMetrics
- func (o *OptConversationTurnMetricsMetrics) Decode(d *jx.Decoder) error
- func (o OptConversationTurnMetricsMetrics) Encode(e *jx.Encoder)
- func (o OptConversationTurnMetricsMetrics) Get() (v ConversationTurnMetricsMetrics, ok bool)
- func (o OptConversationTurnMetricsMetrics) IsSet() bool
- func (s OptConversationTurnMetricsMetrics) MarshalJSON() ([]byte, error)
- func (o OptConversationTurnMetricsMetrics) Or(d ConversationTurnMetricsMetrics) ConversationTurnMetricsMetrics
- func (o *OptConversationTurnMetricsMetrics) Reset()
- func (o *OptConversationTurnMetricsMetrics) SetTo(v ConversationTurnMetricsMetrics)
- func (s *OptConversationTurnMetricsMetrics) UnmarshalJSON(data []byte) error
- type OptCreateUnitTestRequestDynamicVariables
- func (o *OptCreateUnitTestRequestDynamicVariables) Decode(d *jx.Decoder) error
- func (o OptCreateUnitTestRequestDynamicVariables) Encode(e *jx.Encoder)
- func (o OptCreateUnitTestRequestDynamicVariables) Get() (v CreateUnitTestRequestDynamicVariables, ok bool)
- func (o OptCreateUnitTestRequestDynamicVariables) IsSet() bool
- func (s OptCreateUnitTestRequestDynamicVariables) MarshalJSON() ([]byte, error)
- func (o OptCreateUnitTestRequestDynamicVariables) Or(d CreateUnitTestRequestDynamicVariables) CreateUnitTestRequestDynamicVariables
- func (o *OptCreateUnitTestRequestDynamicVariables) Reset()
- func (o *OptCreateUnitTestRequestDynamicVariables) SetTo(v CreateUnitTestRequestDynamicVariables)
- func (s *OptCreateUnitTestRequestDynamicVariables) UnmarshalJSON(data []byte) error
- type OptDashboardCallSuccessChartModelType
- func (o *OptDashboardCallSuccessChartModelType) Decode(d *jx.Decoder) error
- func (o OptDashboardCallSuccessChartModelType) Encode(e *jx.Encoder)
- func (o OptDashboardCallSuccessChartModelType) Get() (v DashboardCallSuccessChartModelType, ok bool)
- func (o OptDashboardCallSuccessChartModelType) IsSet() bool
- func (s OptDashboardCallSuccessChartModelType) MarshalJSON() ([]byte, error)
- func (o OptDashboardCallSuccessChartModelType) Or(d DashboardCallSuccessChartModelType) DashboardCallSuccessChartModelType
- func (o *OptDashboardCallSuccessChartModelType) Reset()
- func (o *OptDashboardCallSuccessChartModelType) SetTo(v DashboardCallSuccessChartModelType)
- func (s *OptDashboardCallSuccessChartModelType) UnmarshalJSON(data []byte) error
- type OptDashboardCriteriaChartModelType
- func (o *OptDashboardCriteriaChartModelType) Decode(d *jx.Decoder) error
- func (o OptDashboardCriteriaChartModelType) Encode(e *jx.Encoder)
- func (o OptDashboardCriteriaChartModelType) Get() (v DashboardCriteriaChartModelType, ok bool)
- func (o OptDashboardCriteriaChartModelType) IsSet() bool
- func (s OptDashboardCriteriaChartModelType) MarshalJSON() ([]byte, error)
- func (o OptDashboardCriteriaChartModelType) Or(d DashboardCriteriaChartModelType) DashboardCriteriaChartModelType
- func (o *OptDashboardCriteriaChartModelType) Reset()
- func (o *OptDashboardCriteriaChartModelType) SetTo(v DashboardCriteriaChartModelType)
- func (s *OptDashboardCriteriaChartModelType) UnmarshalJSON(data []byte) error
- type OptDashboardDataCollectionChartModelType
- func (o *OptDashboardDataCollectionChartModelType) Decode(d *jx.Decoder) error
- func (o OptDashboardDataCollectionChartModelType) Encode(e *jx.Encoder)
- func (o OptDashboardDataCollectionChartModelType) Get() (v DashboardDataCollectionChartModelType, ok bool)
- func (o OptDashboardDataCollectionChartModelType) IsSet() bool
- func (s OptDashboardDataCollectionChartModelType) MarshalJSON() ([]byte, error)
- func (o OptDashboardDataCollectionChartModelType) Or(d DashboardDataCollectionChartModelType) DashboardDataCollectionChartModelType
- func (o *OptDashboardDataCollectionChartModelType) Reset()
- func (o *OptDashboardDataCollectionChartModelType) SetTo(v DashboardDataCollectionChartModelType)
- func (s *OptDashboardDataCollectionChartModelType) UnmarshalJSON(data []byte) error
- type OptDefaultConversationInitiationTriggerTriggerType
- func (o *OptDefaultConversationInitiationTriggerTriggerType) Decode(d *jx.Decoder) error
- func (o OptDefaultConversationInitiationTriggerTriggerType) Encode(e *jx.Encoder)
- func (o OptDefaultConversationInitiationTriggerTriggerType) Get() (v DefaultConversationInitiationTriggerTriggerType, ok bool)
- func (o OptDefaultConversationInitiationTriggerTriggerType) IsSet() bool
- func (s OptDefaultConversationInitiationTriggerTriggerType) MarshalJSON() ([]byte, error)
- func (o OptDefaultConversationInitiationTriggerTriggerType) Or(d DefaultConversationInitiationTriggerTriggerType) DefaultConversationInitiationTriggerTriggerType
- func (o *OptDefaultConversationInitiationTriggerTriggerType) Reset()
- func (o *OptDefaultConversationInitiationTriggerTriggerType) SetTo(v DefaultConversationInitiationTriggerTriggerType)
- func (s *OptDefaultConversationInitiationTriggerTriggerType) UnmarshalJSON(data []byte) error
- type OptDependentAvailableAgentIdentifierType
- func (o *OptDependentAvailableAgentIdentifierType) Decode(d *jx.Decoder) error
- func (o OptDependentAvailableAgentIdentifierType) Encode(e *jx.Encoder)
- func (o OptDependentAvailableAgentIdentifierType) Get() (v DependentAvailableAgentIdentifierType, ok bool)
- func (o OptDependentAvailableAgentIdentifierType) IsSet() bool
- func (s OptDependentAvailableAgentIdentifierType) MarshalJSON() ([]byte, error)
- func (o OptDependentAvailableAgentIdentifierType) Or(d DependentAvailableAgentIdentifierType) DependentAvailableAgentIdentifierType
- func (o *OptDependentAvailableAgentIdentifierType) Reset()
- func (o *OptDependentAvailableAgentIdentifierType) SetTo(v DependentAvailableAgentIdentifierType)
- func (s *OptDependentAvailableAgentIdentifierType) UnmarshalJSON(data []byte) error
- type OptDependentAvailableToolIdentifierType
- func (o *OptDependentAvailableToolIdentifierType) Decode(d *jx.Decoder) error
- func (o OptDependentAvailableToolIdentifierType) Encode(e *jx.Encoder)
- func (o OptDependentAvailableToolIdentifierType) Get() (v DependentAvailableToolIdentifierType, ok bool)
- func (o OptDependentAvailableToolIdentifierType) IsSet() bool
- func (s OptDependentAvailableToolIdentifierType) MarshalJSON() ([]byte, error)
- func (o OptDependentAvailableToolIdentifierType) Or(d DependentAvailableToolIdentifierType) DependentAvailableToolIdentifierType
- func (o *OptDependentAvailableToolIdentifierType) Reset()
- func (o *OptDependentAvailableToolIdentifierType) SetTo(v DependentAvailableToolIdentifierType)
- func (s *OptDependentAvailableToolIdentifierType) UnmarshalJSON(data []byte) error
- type OptDependentUnknownAgentIdentifierType
- func (o *OptDependentUnknownAgentIdentifierType) Decode(d *jx.Decoder) error
- func (o OptDependentUnknownAgentIdentifierType) Encode(e *jx.Encoder)
- func (o OptDependentUnknownAgentIdentifierType) Get() (v DependentUnknownAgentIdentifierType, ok bool)
- func (o OptDependentUnknownAgentIdentifierType) IsSet() bool
- func (s OptDependentUnknownAgentIdentifierType) MarshalJSON() ([]byte, error)
- func (o OptDependentUnknownAgentIdentifierType) Or(d DependentUnknownAgentIdentifierType) DependentUnknownAgentIdentifierType
- func (o *OptDependentUnknownAgentIdentifierType) Reset()
- func (o *OptDependentUnknownAgentIdentifierType) SetTo(v DependentUnknownAgentIdentifierType)
- func (s *OptDependentUnknownAgentIdentifierType) UnmarshalJSON(data []byte) error
- type OptDependentUnknownToolIdentifierType
- func (o *OptDependentUnknownToolIdentifierType) Decode(d *jx.Decoder) error
- func (o OptDependentUnknownToolIdentifierType) Encode(e *jx.Encoder)
- func (o OptDependentUnknownToolIdentifierType) Get() (v DependentUnknownToolIdentifierType, ok bool)
- func (o OptDependentUnknownToolIdentifierType) IsSet() bool
- func (s OptDependentUnknownToolIdentifierType) MarshalJSON() ([]byte, error)
- func (o OptDependentUnknownToolIdentifierType) Or(d DependentUnknownToolIdentifierType) DependentUnknownToolIdentifierType
- func (o *OptDependentUnknownToolIdentifierType) Reset()
- func (o *OptDependentUnknownToolIdentifierType) SetTo(v DependentUnknownToolIdentifierType)
- func (s *OptDependentUnknownToolIdentifierType) UnmarshalJSON(data []byte) error
- type OptDubbingMediaMetadata
- func (o *OptDubbingMediaMetadata) Decode(d *jx.Decoder) error
- func (o OptDubbingMediaMetadata) Encode(e *jx.Encoder)
- func (o OptDubbingMediaMetadata) Get() (v DubbingMediaMetadata, ok bool)
- func (o OptDubbingMediaMetadata) IsSet() bool
- func (s OptDubbingMediaMetadata) MarshalJSON() ([]byte, error)
- func (o OptDubbingMediaMetadata) Or(d DubbingMediaMetadata) DubbingMediaMetadata
- func (o *OptDubbingMediaMetadata) Reset()
- func (o *OptDubbingMediaMetadata) SetTo(v DubbingMediaMetadata)
- func (s *OptDubbingMediaMetadata) UnmarshalJSON(data []byte) error
- type OptDynamicVariableAssignmentSource
- func (o *OptDynamicVariableAssignmentSource) Decode(d *jx.Decoder) error
- func (o OptDynamicVariableAssignmentSource) Encode(e *jx.Encoder)
- func (o OptDynamicVariableAssignmentSource) Get() (v DynamicVariableAssignmentSource, ok bool)
- func (o OptDynamicVariableAssignmentSource) IsSet() bool
- func (s OptDynamicVariableAssignmentSource) MarshalJSON() ([]byte, error)
- func (o OptDynamicVariableAssignmentSource) Or(d DynamicVariableAssignmentSource) DynamicVariableAssignmentSource
- func (o *OptDynamicVariableAssignmentSource) Reset()
- func (o *OptDynamicVariableAssignmentSource) SetTo(v DynamicVariableAssignmentSource)
- func (s *OptDynamicVariableAssignmentSource) UnmarshalJSON(data []byte) error
- type OptEndCallToolResultModelResultType
- func (o *OptEndCallToolResultModelResultType) Decode(d *jx.Decoder) error
- func (o OptEndCallToolResultModelResultType) Encode(e *jx.Encoder)
- func (o OptEndCallToolResultModelResultType) Get() (v EndCallToolResultModelResultType, ok bool)
- func (o OptEndCallToolResultModelResultType) IsSet() bool
- func (s OptEndCallToolResultModelResultType) MarshalJSON() ([]byte, error)
- func (o OptEndCallToolResultModelResultType) Or(d EndCallToolResultModelResultType) EndCallToolResultModelResultType
- func (o *OptEndCallToolResultModelResultType) Reset()
- func (o *OptEndCallToolResultModelResultType) SetTo(v EndCallToolResultModelResultType)
- func (s *OptEndCallToolResultModelResultType) UnmarshalJSON(data []byte) error
- type OptEndCallToolResultModelStatus
- func (o *OptEndCallToolResultModelStatus) Decode(d *jx.Decoder) error
- func (o OptEndCallToolResultModelStatus) Encode(e *jx.Encoder)
- func (o OptEndCallToolResultModelStatus) Get() (v EndCallToolResultModelStatus, ok bool)
- func (o OptEndCallToolResultModelStatus) IsSet() bool
- func (s OptEndCallToolResultModelStatus) MarshalJSON() ([]byte, error)
- func (o OptEndCallToolResultModelStatus) Or(d EndCallToolResultModelStatus) EndCallToolResultModelStatus
- func (o *OptEndCallToolResultModelStatus) Reset()
- func (o *OptEndCallToolResultModelStatus) SetTo(v EndCallToolResultModelStatus)
- func (s *OptEndCallToolResultModelStatus) UnmarshalJSON(data []byte) error
- type OptEvaluationSuccessResult
- func (o OptEvaluationSuccessResult) Get() (v EvaluationSuccessResult, ok bool)
- func (o OptEvaluationSuccessResult) IsSet() bool
- func (o OptEvaluationSuccessResult) Or(d EvaluationSuccessResult) EvaluationSuccessResult
- func (o *OptEvaluationSuccessResult) Reset()
- func (o *OptEvaluationSuccessResult) SetTo(v EvaluationSuccessResult)
- type OptFeatureStatusCommonModel
- func (o *OptFeatureStatusCommonModel) Decode(d *jx.Decoder) error
- func (o OptFeatureStatusCommonModel) Encode(e *jx.Encoder)
- func (o OptFeatureStatusCommonModel) Get() (v FeatureStatusCommonModel, ok bool)
- func (o OptFeatureStatusCommonModel) IsSet() bool
- func (s OptFeatureStatusCommonModel) MarshalJSON() ([]byte, error)
- func (o OptFeatureStatusCommonModel) Or(d FeatureStatusCommonModel) FeatureStatusCommonModel
- func (o *OptFeatureStatusCommonModel) Reset()
- func (o *OptFeatureStatusCommonModel) SetTo(v FeatureStatusCommonModel)
- func (s *OptFeatureStatusCommonModel) UnmarshalJSON(data []byte) error
- type OptFeaturesUsageCommonModel
- func (o *OptFeaturesUsageCommonModel) Decode(d *jx.Decoder) error
- func (o OptFeaturesUsageCommonModel) Encode(e *jx.Encoder)
- func (o OptFeaturesUsageCommonModel) Get() (v FeaturesUsageCommonModel, ok bool)
- func (o OptFeaturesUsageCommonModel) IsSet() bool
- func (s OptFeaturesUsageCommonModel) MarshalJSON() ([]byte, error)
- func (o OptFeaturesUsageCommonModel) Or(d FeaturesUsageCommonModel) FeaturesUsageCommonModel
- func (o *OptFeaturesUsageCommonModel) Reset()
- func (o *OptFeaturesUsageCommonModel) SetTo(v FeaturesUsageCommonModel)
- func (s *OptFeaturesUsageCommonModel) UnmarshalJSON(data []byte) error
- type OptFeedbackResponseModel
- func (o *OptFeedbackResponseModel) Decode(d *jx.Decoder) error
- func (o OptFeedbackResponseModel) Encode(e *jx.Encoder)
- func (o OptFeedbackResponseModel) Get() (v FeedbackResponseModel, ok bool)
- func (o OptFeedbackResponseModel) IsSet() bool
- func (s OptFeedbackResponseModel) MarshalJSON() ([]byte, error)
- func (o OptFeedbackResponseModel) Or(d FeedbackResponseModel) FeedbackResponseModel
- func (o *OptFeedbackResponseModel) Reset()
- func (o *OptFeedbackResponseModel) SetTo(v FeedbackResponseModel)
- func (s *OptFeedbackResponseModel) UnmarshalJSON(data []byte) error
- type OptFineTuningResponseModel
- func (o *OptFineTuningResponseModel) Decode(d *jx.Decoder) error
- func (o OptFineTuningResponseModel) Encode(e *jx.Encoder)
- func (o OptFineTuningResponseModel) Get() (v FineTuningResponseModel, ok bool)
- func (o OptFineTuningResponseModel) IsSet() bool
- func (s OptFineTuningResponseModel) MarshalJSON() ([]byte, error)
- func (o OptFineTuningResponseModel) Or(d FineTuningResponseModel) FineTuningResponseModel
- func (o *OptFineTuningResponseModel) Reset()
- func (o *OptFineTuningResponseModel) SetTo(v FineTuningResponseModel)
- func (s *OptFineTuningResponseModel) UnmarshalJSON(data []byte) error
- type OptFloat64
- func (o *OptFloat64) Decode(d *jx.Decoder) error
- func (o OptFloat64) Encode(e *jx.Encoder)
- func (o OptFloat64) Get() (v float64, ok bool)
- func (o OptFloat64) IsSet() bool
- func (s OptFloat64) MarshalJSON() ([]byte, error)
- func (o OptFloat64) Or(d float64) float64
- func (o *OptFloat64) Reset()
- func (o *OptFloat64) SetTo(v float64)
- func (s *OptFloat64) UnmarshalJSON(data []byte) error
- type OptGenerateOutputFormat
- func (o OptGenerateOutputFormat) Get() (v GenerateOutputFormat, ok bool)
- func (o OptGenerateOutputFormat) IsSet() bool
- func (o OptGenerateOutputFormat) Or(d GenerateOutputFormat) GenerateOutputFormat
- func (o *OptGenerateOutputFormat) Reset()
- func (o *OptGenerateOutputFormat) SetTo(v GenerateOutputFormat)
- type OptGetConversationHistoriesRouteSummaryMode
- func (o OptGetConversationHistoriesRouteSummaryMode) Get() (v GetConversationHistoriesRouteSummaryMode, ok bool)
- func (o OptGetConversationHistoriesRouteSummaryMode) IsSet() bool
- func (o OptGetConversationHistoriesRouteSummaryMode) Or(d GetConversationHistoriesRouteSummaryMode) GetConversationHistoriesRouteSummaryMode
- func (o *OptGetConversationHistoriesRouteSummaryMode) Reset()
- func (o *OptGetConversationHistoriesRouteSummaryMode) SetTo(v GetConversationHistoriesRouteSummaryMode)
- type OptGetDubbedTranscriptFileFormatType
- func (o OptGetDubbedTranscriptFileFormatType) Get() (v GetDubbedTranscriptFileFormatType, ok bool)
- func (o OptGetDubbedTranscriptFileFormatType) IsSet() bool
- func (o OptGetDubbedTranscriptFileFormatType) Or(d GetDubbedTranscriptFileFormatType) GetDubbedTranscriptFileFormatType
- func (o *OptGetDubbedTranscriptFileFormatType) Reset()
- func (o *OptGetDubbedTranscriptFileFormatType) SetTo(v GetDubbedTranscriptFileFormatType)
- type OptGetPhoneNumberInboundSIPTrunkConfigResponseModel
- func (o *OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Decode(d *jx.Decoder) error
- func (o OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Encode(e *jx.Encoder)
- func (o OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Get() (v GetPhoneNumberInboundSIPTrunkConfigResponseModel, ok bool)
- func (o OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) IsSet() bool
- func (s OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) MarshalJSON() ([]byte, error)
- func (o OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Or(d GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetPhoneNumberInboundSIPTrunkConfigResponseModel
- func (o *OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Reset()
- func (o *OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) SetTo(v GetPhoneNumberInboundSIPTrunkConfigResponseModel)
- func (s *OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) UnmarshalJSON(data []byte) error
- type OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel
- func (o *OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Decode(d *jx.Decoder) error
- func (o OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Encode(e *jx.Encoder)
- func (o OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Get() (v GetPhoneNumberOutboundSIPTrunkConfigResponseModel, ok bool)
- func (o OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) IsSet() bool
- func (s OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) MarshalJSON() ([]byte, error)
- func (o OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Or(d GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetPhoneNumberOutboundSIPTrunkConfigResponseModel
- func (o *OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Reset()
- func (o *OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetTo(v GetPhoneNumberOutboundSIPTrunkConfigResponseModel)
- func (s *OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) UnmarshalJSON(data []byte) error
- type OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders
- func (o *OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Decode(d *jx.Decoder) error
- func (o OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Encode(e *jx.Encoder)
- func (o OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Get() (v GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders, ok bool)
- func (o OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) IsSet() bool
- func (s OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) MarshalJSON() ([]byte, error)
- func (o OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Or(d GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders
- func (o *OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Reset()
- func (o *OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) SetTo(v GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders)
- func (s *OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) UnmarshalJSON(data []byte) error
- type OptGetPhoneNumberSIPTrunkResponseModelProvider
- func (o *OptGetPhoneNumberSIPTrunkResponseModelProvider) Decode(d *jx.Decoder) error
- func (o OptGetPhoneNumberSIPTrunkResponseModelProvider) Encode(e *jx.Encoder)
- func (o OptGetPhoneNumberSIPTrunkResponseModelProvider) Get() (v GetPhoneNumberSIPTrunkResponseModelProvider, ok bool)
- func (o OptGetPhoneNumberSIPTrunkResponseModelProvider) IsSet() bool
- func (s OptGetPhoneNumberSIPTrunkResponseModelProvider) MarshalJSON() ([]byte, error)
- func (o OptGetPhoneNumberSIPTrunkResponseModelProvider) Or(d GetPhoneNumberSIPTrunkResponseModelProvider) GetPhoneNumberSIPTrunkResponseModelProvider
- func (o *OptGetPhoneNumberSIPTrunkResponseModelProvider) Reset()
- func (o *OptGetPhoneNumberSIPTrunkResponseModelProvider) SetTo(v GetPhoneNumberSIPTrunkResponseModelProvider)
- func (s *OptGetPhoneNumberSIPTrunkResponseModelProvider) UnmarshalJSON(data []byte) error
- type OptGetPhoneNumberTwilioResponseModelProvider
- func (o *OptGetPhoneNumberTwilioResponseModelProvider) Decode(d *jx.Decoder) error
- func (o OptGetPhoneNumberTwilioResponseModelProvider) Encode(e *jx.Encoder)
- func (o OptGetPhoneNumberTwilioResponseModelProvider) Get() (v GetPhoneNumberTwilioResponseModelProvider, ok bool)
- func (o OptGetPhoneNumberTwilioResponseModelProvider) IsSet() bool
- func (s OptGetPhoneNumberTwilioResponseModelProvider) MarshalJSON() ([]byte, error)
- func (o OptGetPhoneNumberTwilioResponseModelProvider) Or(d GetPhoneNumberTwilioResponseModelProvider) GetPhoneNumberTwilioResponseModelProvider
- func (o *OptGetPhoneNumberTwilioResponseModelProvider) Reset()
- func (o *OptGetPhoneNumberTwilioResponseModelProvider) SetTo(v GetPhoneNumberTwilioResponseModelProvider)
- func (s *OptGetPhoneNumberTwilioResponseModelProvider) UnmarshalJSON(data []byte) error
- type OptGetUnitTestResponseModelDynamicVariables
- func (o *OptGetUnitTestResponseModelDynamicVariables) Decode(d *jx.Decoder) error
- func (o OptGetUnitTestResponseModelDynamicVariables) Encode(e *jx.Encoder)
- func (o OptGetUnitTestResponseModelDynamicVariables) Get() (v GetUnitTestResponseModelDynamicVariables, ok bool)
- func (o OptGetUnitTestResponseModelDynamicVariables) IsSet() bool
- func (s OptGetUnitTestResponseModelDynamicVariables) MarshalJSON() ([]byte, error)
- func (o OptGetUnitTestResponseModelDynamicVariables) Or(d GetUnitTestResponseModelDynamicVariables) GetUnitTestResponseModelDynamicVariables
- func (o *OptGetUnitTestResponseModelDynamicVariables) Reset()
- func (o *OptGetUnitTestResponseModelDynamicVariables) SetTo(v GetUnitTestResponseModelDynamicVariables)
- func (s *OptGetUnitTestResponseModelDynamicVariables) UnmarshalJSON(data []byte) error
- type OptHistoryAlignmentsResponseModel
- func (o *OptHistoryAlignmentsResponseModel) Decode(d *jx.Decoder) error
- func (o OptHistoryAlignmentsResponseModel) Encode(e *jx.Encoder)
- func (o OptHistoryAlignmentsResponseModel) Get() (v HistoryAlignmentsResponseModel, ok bool)
- func (o OptHistoryAlignmentsResponseModel) IsSet() bool
- func (s OptHistoryAlignmentsResponseModel) MarshalJSON() ([]byte, error)
- func (o OptHistoryAlignmentsResponseModel) Or(d HistoryAlignmentsResponseModel) HistoryAlignmentsResponseModel
- func (o *OptHistoryAlignmentsResponseModel) Reset()
- func (o *OptHistoryAlignmentsResponseModel) SetTo(v HistoryAlignmentsResponseModel)
- func (s *OptHistoryAlignmentsResponseModel) UnmarshalJSON(data []byte) error
- type OptInboundSIPTrunkConfigRequestModel
- func (o *OptInboundSIPTrunkConfigRequestModel) Decode(d *jx.Decoder) error
- func (o OptInboundSIPTrunkConfigRequestModel) Encode(e *jx.Encoder)
- func (o OptInboundSIPTrunkConfigRequestModel) Get() (v InboundSIPTrunkConfigRequestModel, ok bool)
- func (o OptInboundSIPTrunkConfigRequestModel) IsSet() bool
- func (s OptInboundSIPTrunkConfigRequestModel) MarshalJSON() ([]byte, error)
- func (o OptInboundSIPTrunkConfigRequestModel) Or(d InboundSIPTrunkConfigRequestModel) InboundSIPTrunkConfigRequestModel
- func (o *OptInboundSIPTrunkConfigRequestModel) Reset()
- func (o *OptInboundSIPTrunkConfigRequestModel) SetTo(v InboundSIPTrunkConfigRequestModel)
- func (s *OptInboundSIPTrunkConfigRequestModel) UnmarshalJSON(data []byte) error
- type OptInt
- func (o *OptInt) Decode(d *jx.Decoder) error
- func (o OptInt) Encode(e *jx.Encoder)
- func (o OptInt) Get() (v int, ok bool)
- func (o OptInt) IsSet() bool
- func (s OptInt) MarshalJSON() ([]byte, error)
- func (o OptInt) Or(d int) int
- func (o *OptInt) Reset()
- func (o *OptInt) SetTo(v int)
- func (s *OptInt) UnmarshalJSON(data []byte) error
- type OptKnowledgeBaseDependentType
- func (o OptKnowledgeBaseDependentType) Get() (v KnowledgeBaseDependentType, ok bool)
- func (o OptKnowledgeBaseDependentType) IsSet() bool
- func (o OptKnowledgeBaseDependentType) Or(d KnowledgeBaseDependentType) KnowledgeBaseDependentType
- func (o *OptKnowledgeBaseDependentType) Reset()
- func (o *OptKnowledgeBaseDependentType) SetTo(v KnowledgeBaseDependentType)
- type OptKnowledgeBaseSortBy
- type OptLLM
- func (o *OptLLM) Decode(d *jx.Decoder) error
- func (o OptLLM) Encode(e *jx.Encoder)
- func (o OptLLM) Get() (v LLM, ok bool)
- func (o OptLLM) IsSet() bool
- func (s OptLLM) MarshalJSON() ([]byte, error)
- func (o OptLLM) Or(d LLM) LLM
- func (o *OptLLM) Reset()
- func (o *OptLLM) SetTo(v LLM)
- func (s *OptLLM) UnmarshalJSON(data []byte) error
- type OptLLMCategoryUsage
- func (o *OptLLMCategoryUsage) Decode(d *jx.Decoder) error
- func (o OptLLMCategoryUsage) Encode(e *jx.Encoder)
- func (o OptLLMCategoryUsage) Get() (v LLMCategoryUsage, ok bool)
- func (o OptLLMCategoryUsage) IsSet() bool
- func (s OptLLMCategoryUsage) MarshalJSON() ([]byte, error)
- func (o OptLLMCategoryUsage) Or(d LLMCategoryUsage) LLMCategoryUsage
- func (o *OptLLMCategoryUsage) Reset()
- func (o *OptLLMCategoryUsage) SetTo(v LLMCategoryUsage)
- func (s *OptLLMCategoryUsage) UnmarshalJSON(data []byte) error
- type OptLLMTokensCategoryUsage
- func (o *OptLLMTokensCategoryUsage) Decode(d *jx.Decoder) error
- func (o OptLLMTokensCategoryUsage) Encode(e *jx.Encoder)
- func (o OptLLMTokensCategoryUsage) Get() (v LLMTokensCategoryUsage, ok bool)
- func (o OptLLMTokensCategoryUsage) IsSet() bool
- func (s OptLLMTokensCategoryUsage) MarshalJSON() ([]byte, error)
- func (o OptLLMTokensCategoryUsage) Or(d LLMTokensCategoryUsage) LLMTokensCategoryUsage
- func (o *OptLLMTokensCategoryUsage) Reset()
- func (o *OptLLMTokensCategoryUsage) SetTo(v LLMTokensCategoryUsage)
- func (s *OptLLMTokensCategoryUsage) UnmarshalJSON(data []byte) error
- type OptLLMUsageInput
- func (o *OptLLMUsageInput) Decode(d *jx.Decoder) error
- func (o OptLLMUsageInput) Encode(e *jx.Encoder)
- func (o OptLLMUsageInput) Get() (v LLMUsageInput, ok bool)
- func (o OptLLMUsageInput) IsSet() bool
- func (s OptLLMUsageInput) MarshalJSON() ([]byte, error)
- func (o OptLLMUsageInput) Or(d LLMUsageInput) LLMUsageInput
- func (o *OptLLMUsageInput) Reset()
- func (o *OptLLMUsageInput) SetTo(v LLMUsageInput)
- func (s *OptLLMUsageInput) UnmarshalJSON(data []byte) error
- type OptLLMUsageInputModelUsage
- func (o *OptLLMUsageInputModelUsage) Decode(d *jx.Decoder) error
- func (o OptLLMUsageInputModelUsage) Encode(e *jx.Encoder)
- func (o OptLLMUsageInputModelUsage) Get() (v LLMUsageInputModelUsage, ok bool)
- func (o OptLLMUsageInputModelUsage) IsSet() bool
- func (s OptLLMUsageInputModelUsage) MarshalJSON() ([]byte, error)
- func (o OptLLMUsageInputModelUsage) Or(d LLMUsageInputModelUsage) LLMUsageInputModelUsage
- func (o *OptLLMUsageInputModelUsage) Reset()
- func (o *OptLLMUsageInputModelUsage) SetTo(v LLMUsageInputModelUsage)
- func (s *OptLLMUsageInputModelUsage) UnmarshalJSON(data []byte) error
- type OptLLMUsageOutput
- func (o *OptLLMUsageOutput) Decode(d *jx.Decoder) error
- func (o OptLLMUsageOutput) Encode(e *jx.Encoder)
- func (o OptLLMUsageOutput) Get() (v LLMUsageOutput, ok bool)
- func (o OptLLMUsageOutput) IsSet() bool
- func (s OptLLMUsageOutput) MarshalJSON() ([]byte, error)
- func (o OptLLMUsageOutput) Or(d LLMUsageOutput) LLMUsageOutput
- func (o *OptLLMUsageOutput) Reset()
- func (o *OptLLMUsageOutput) SetTo(v LLMUsageOutput)
- func (s *OptLLMUsageOutput) UnmarshalJSON(data []byte) error
- type OptLLMUsageOutputModelUsage
- func (o *OptLLMUsageOutputModelUsage) Decode(d *jx.Decoder) error
- func (o OptLLMUsageOutputModelUsage) Encode(e *jx.Encoder)
- func (o OptLLMUsageOutputModelUsage) Get() (v LLMUsageOutputModelUsage, ok bool)
- func (o OptLLMUsageOutputModelUsage) IsSet() bool
- func (s OptLLMUsageOutputModelUsage) MarshalJSON() ([]byte, error)
- func (o OptLLMUsageOutputModelUsage) Or(d LLMUsageOutputModelUsage) LLMUsageOutputModelUsage
- func (o *OptLLMUsageOutputModelUsage) Reset()
- func (o *OptLLMUsageOutputModelUsage) SetTo(v LLMUsageOutputModelUsage)
- func (s *OptLLMUsageOutputModelUsage) UnmarshalJSON(data []byte) error
- type OptLanguageDetectionToolResultModelResultType
- func (o *OptLanguageDetectionToolResultModelResultType) Decode(d *jx.Decoder) error
- func (o OptLanguageDetectionToolResultModelResultType) Encode(e *jx.Encoder)
- func (o OptLanguageDetectionToolResultModelResultType) Get() (v LanguageDetectionToolResultModelResultType, ok bool)
- func (o OptLanguageDetectionToolResultModelResultType) IsSet() bool
- func (s OptLanguageDetectionToolResultModelResultType) MarshalJSON() ([]byte, error)
- func (o OptLanguageDetectionToolResultModelResultType) Or(d LanguageDetectionToolResultModelResultType) LanguageDetectionToolResultModelResultType
- func (o *OptLanguageDetectionToolResultModelResultType) Reset()
- func (o *OptLanguageDetectionToolResultModelResultType) SetTo(v LanguageDetectionToolResultModelResultType)
- func (s *OptLanguageDetectionToolResultModelResultType) UnmarshalJSON(data []byte) error
- type OptLanguageDetectionToolResultModelStatus
- func (o *OptLanguageDetectionToolResultModelStatus) Decode(d *jx.Decoder) error
- func (o OptLanguageDetectionToolResultModelStatus) Encode(e *jx.Encoder)
- func (o OptLanguageDetectionToolResultModelStatus) Get() (v LanguageDetectionToolResultModelStatus, ok bool)
- func (o OptLanguageDetectionToolResultModelStatus) IsSet() bool
- func (s OptLanguageDetectionToolResultModelStatus) MarshalJSON() ([]byte, error)
- func (o OptLanguageDetectionToolResultModelStatus) Or(d LanguageDetectionToolResultModelStatus) LanguageDetectionToolResultModelStatus
- func (o *OptLanguageDetectionToolResultModelStatus) Reset()
- func (o *OptLanguageDetectionToolResultModelStatus) SetTo(v LanguageDetectionToolResultModelStatus)
- func (s *OptLanguageDetectionToolResultModelStatus) UnmarshalJSON(data []byte) error
- type OptListDubsDubbingStatus
- func (o OptListDubsDubbingStatus) Get() (v ListDubsDubbingStatus, ok bool)
- func (o OptListDubsDubbingStatus) IsSet() bool
- func (o OptListDubsDubbingStatus) Or(d ListDubsDubbingStatus) ListDubsDubbingStatus
- func (o *OptListDubsDubbingStatus) Reset()
- func (o *OptListDubsDubbingStatus) SetTo(v ListDubsDubbingStatus)
- type OptListDubsFilterByCreator
- func (o OptListDubsFilterByCreator) Get() (v ListDubsFilterByCreator, ok bool)
- func (o OptListDubsFilterByCreator) IsSet() bool
- func (o OptListDubsFilterByCreator) Or(d ListDubsFilterByCreator) ListDubsFilterByCreator
- func (o *OptListDubsFilterByCreator) Reset()
- func (o *OptListDubsFilterByCreator) SetTo(v ListDubsFilterByCreator)
- type OptListDubsOrderBy
- type OptListDubsOrderDirection
- func (o OptListDubsOrderDirection) Get() (v ListDubsOrderDirection, ok bool)
- func (o OptListDubsOrderDirection) IsSet() bool
- func (o OptListDubsOrderDirection) Or(d ListDubsOrderDirection) ListDubsOrderDirection
- func (o *OptListDubsOrderDirection) Reset()
- func (o *OptListDubsOrderDirection) SetTo(v ListDubsOrderDirection)
- type OptListResponseMeta
- func (o *OptListResponseMeta) Decode(d *jx.Decoder) error
- func (o OptListResponseMeta) Encode(e *jx.Encoder)
- func (o OptListResponseMeta) Get() (v ListResponseMeta, ok bool)
- func (o OptListResponseMeta) IsSet() bool
- func (s OptListResponseMeta) MarshalJSON() ([]byte, error)
- func (o OptListResponseMeta) Or(d ListResponseMeta) ListResponseMeta
- func (o *OptListResponseMeta) Reset()
- func (o *OptListResponseMeta) SetTo(v ListResponseMeta)
- func (s *OptListResponseMeta) UnmarshalJSON(data []byte) error
- type OptLiteralJsonSchemaProperty
- func (o *OptLiteralJsonSchemaProperty) Decode(d *jx.Decoder) error
- func (o OptLiteralJsonSchemaProperty) Encode(e *jx.Encoder)
- func (o OptLiteralJsonSchemaProperty) Get() (v LiteralJsonSchemaProperty, ok bool)
- func (o OptLiteralJsonSchemaProperty) IsSet() bool
- func (s OptLiteralJsonSchemaProperty) MarshalJSON() ([]byte, error)
- func (o OptLiteralJsonSchemaProperty) Or(d LiteralJsonSchemaProperty) LiteralJsonSchemaProperty
- func (o *OptLiteralJsonSchemaProperty) Reset()
- func (o *OptLiteralJsonSchemaProperty) SetTo(v LiteralJsonSchemaProperty)
- func (s *OptLiteralJsonSchemaProperty) UnmarshalJSON(data []byte) error
- type OptLiteralJsonSchemaPropertyConstantValue
- func (o *OptLiteralJsonSchemaPropertyConstantValue) Decode(d *jx.Decoder) error
- func (o OptLiteralJsonSchemaPropertyConstantValue) Encode(e *jx.Encoder)
- func (o OptLiteralJsonSchemaPropertyConstantValue) Get() (v LiteralJsonSchemaPropertyConstantValue, ok bool)
- func (o OptLiteralJsonSchemaPropertyConstantValue) IsSet() bool
- func (s OptLiteralJsonSchemaPropertyConstantValue) MarshalJSON() ([]byte, error)
- func (o OptLiteralJsonSchemaPropertyConstantValue) Or(d LiteralJsonSchemaPropertyConstantValue) LiteralJsonSchemaPropertyConstantValue
- func (o *OptLiteralJsonSchemaPropertyConstantValue) Reset()
- func (o *OptLiteralJsonSchemaPropertyConstantValue) SetTo(v LiteralJsonSchemaPropertyConstantValue)
- func (s *OptLiteralJsonSchemaPropertyConstantValue) UnmarshalJSON(data []byte) error
- type OptLivekitStackType
- func (o *OptLivekitStackType) Decode(d *jx.Decoder) error
- func (o OptLivekitStackType) Encode(e *jx.Encoder)
- func (o OptLivekitStackType) Get() (v LivekitStackType, ok bool)
- func (o OptLivekitStackType) IsSet() bool
- func (s OptLivekitStackType) MarshalJSON() ([]byte, error)
- func (o OptLivekitStackType) Or(d LivekitStackType) LivekitStackType
- func (o *OptLivekitStackType) Reset()
- func (o *OptLivekitStackType) SetTo(v LivekitStackType)
- func (s *OptLivekitStackType) UnmarshalJSON(data []byte) error
- type OptManualVerificationResponseModel
- func (o *OptManualVerificationResponseModel) Decode(d *jx.Decoder) error
- func (o OptManualVerificationResponseModel) Encode(e *jx.Encoder)
- func (o OptManualVerificationResponseModel) Get() (v ManualVerificationResponseModel, ok bool)
- func (o OptManualVerificationResponseModel) IsSet() bool
- func (s OptManualVerificationResponseModel) MarshalJSON() ([]byte, error)
- func (o OptManualVerificationResponseModel) Or(d ManualVerificationResponseModel) ManualVerificationResponseModel
- func (o *OptManualVerificationResponseModel) Reset()
- func (o *OptManualVerificationResponseModel) SetTo(v ManualVerificationResponseModel)
- func (s *OptManualVerificationResponseModel) UnmarshalJSON(data []byte) error
- type OptMetricType
- type OptModelSettingsResponseModel
- func (o *OptModelSettingsResponseModel) Decode(d *jx.Decoder) error
- func (o OptModelSettingsResponseModel) Encode(e *jx.Encoder)
- func (o OptModelSettingsResponseModel) Get() (v ModelSettingsResponseModel, ok bool)
- func (o OptModelSettingsResponseModel) IsSet() bool
- func (s OptModelSettingsResponseModel) MarshalJSON() ([]byte, error)
- func (o OptModelSettingsResponseModel) Or(d ModelSettingsResponseModel) ModelSettingsResponseModel
- func (o *OptModelSettingsResponseModel) Reset()
- func (o *OptModelSettingsResponseModel) SetTo(v ModelSettingsResponseModel)
- func (s *OptModelSettingsResponseModel) UnmarshalJSON(data []byte) error
- type OptMultipartFile
- type OptMusicPrompt
- func (o *OptMusicPrompt) Decode(d *jx.Decoder) error
- func (o OptMusicPrompt) Encode(e *jx.Encoder)
- func (o OptMusicPrompt) Get() (v MusicPrompt, ok bool)
- func (o OptMusicPrompt) IsSet() bool
- func (s OptMusicPrompt) MarshalJSON() ([]byte, error)
- func (o OptMusicPrompt) Or(d MusicPrompt) MusicPrompt
- func (o *OptMusicPrompt) Reset()
- func (o *OptMusicPrompt) SetTo(v MusicPrompt)
- func (s *OptMusicPrompt) UnmarshalJSON(data []byte) error
- type OptNilAdditionalFormatResponseModelArray
- func (o *OptNilAdditionalFormatResponseModelArray) Decode(d *jx.Decoder) error
- func (o OptNilAdditionalFormatResponseModelArray) Encode(e *jx.Encoder)
- func (o OptNilAdditionalFormatResponseModelArray) Get() (v []AdditionalFormatResponseModel, ok bool)
- func (o OptNilAdditionalFormatResponseModelArray) IsNull() bool
- func (o OptNilAdditionalFormatResponseModelArray) IsSet() bool
- func (s OptNilAdditionalFormatResponseModelArray) MarshalJSON() ([]byte, error)
- func (o OptNilAdditionalFormatResponseModelArray) Or(d []AdditionalFormatResponseModel) []AdditionalFormatResponseModel
- func (o *OptNilAdditionalFormatResponseModelArray) Reset()
- func (o *OptNilAdditionalFormatResponseModelArray) SetTo(v []AdditionalFormatResponseModel)
- func (o *OptNilAdditionalFormatResponseModelArray) SetToNull()
- func (s *OptNilAdditionalFormatResponseModelArray) UnmarshalJSON(data []byte) error
- type OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess
- func (o OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) Get() (...)
- func (o OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) IsNull() bool
- func (o OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) IsSet() bool
- func (o OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) Or(...) ...
- func (o *OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) Reset()
- func (o *OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) SetTo(...)
- func (o *OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) SetToNull()
- type OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat
- func (o OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) Get() (v BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat, ...)
- func (o OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) IsNull() bool
- func (o OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) IsSet() bool
- func (o OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) Or(d BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat
- func (o *OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) Reset()
- func (o *OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) SetTo(v BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat)
- func (o *OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) SetToNull()
- type OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat
- func (o OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) Get() (v BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat, ok bool)
- func (o OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) IsNull() bool
- func (o OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) IsSet() bool
- func (o OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) Or(d BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat
- func (o *OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) Reset()
- func (o *OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) SetTo(v BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat)
- func (o *OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) SetToNull()
- type OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels
- func (o *OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Decode(d *jx.Decoder) error
- func (o OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Encode(e *jx.Encoder)
- func (o OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Get() (v BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels, ok bool)
- func (o OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) IsNull() bool
- func (o OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) IsSet() bool
- func (s OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) MarshalJSON() ([]byte, error)
- func (o OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Or(d BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels
- func (o *OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Reset()
- func (o *OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) SetTo(v BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels)
- func (o *OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) SetToNull()
- func (s *OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) UnmarshalJSON(data []byte) error
- type OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels
- func (o *OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Decode(d *jx.Decoder) error
- func (o OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Encode(e *jx.Encoder)
- func (o OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Get() (v BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels, ...)
- func (o OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) IsNull() bool
- func (o OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) IsSet() bool
- func (s OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) MarshalJSON() ([]byte, error)
- func (o OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Or(d BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels
- func (o *OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Reset()
- func (o *OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) SetTo(v BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels)
- func (o *OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) SetToNull()
- func (s *OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) UnmarshalJSON(data []byte) error
- type OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels
- func (o *OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Decode(d *jx.Decoder) error
- func (o OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Encode(e *jx.Encoder)
- func (o OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Get() (v BodyCreatePVCVoiceV1VoicesPvcPostLabels, ok bool)
- func (o OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) IsNull() bool
- func (o OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) IsSet() bool
- func (s OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) MarshalJSON() ([]byte, error)
- func (o OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Or(d BodyCreatePVCVoiceV1VoicesPvcPostLabels) BodyCreatePVCVoiceV1VoicesPvcPostLabels
- func (o *OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Reset()
- func (o *OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) SetTo(v BodyCreatePVCVoiceV1VoicesPvcPostLabels)
- func (o *OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) SetToNull()
- func (s *OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) UnmarshalJSON(data []byte) error
- type OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization
- func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) Get() (v BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization, ...)
- func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) IsNull() bool
- func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) IsSet() bool
- func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) Or(d BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization
- func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) Reset()
- func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) SetTo(v BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization)
- func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) SetToNull()
- type OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction
- func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) Get() (v BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction, ok bool)
- func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) IsNull() bool
- func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) IsSet() bool
- func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) Or(d BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction
- func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) Reset()
- func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) SetTo(v BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction)
- func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) SetToNull()
- type OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType
- func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) Get() (v BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType, ok bool)
- func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) IsNull() bool
- func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) IsSet() bool
- func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) Or(d BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType
- func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) Reset()
- func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) SetTo(v BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType)
- func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) SetToNull()
- type OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience
- func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) Get() (v BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience, ok bool)
- func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) IsNull() bool
- func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) IsSet() bool
- func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) Or(d BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience
- func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) Reset()
- func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) SetTo(v BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience)
- func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) SetToNull()
- type OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization
- func (o OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) Get() (...)
- func (o OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) IsNull() bool
- func (o OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) IsSet() bool
- func (o OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) Or(...) ...
- func (o *OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) Reset()
- func (o *OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) SetTo(...)
- func (o *OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) SetToNull()
- type OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels
- func (o *OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Decode(d *jx.Decoder) error
- func (o OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Encode(e *jx.Encoder)
- func (o OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Get() (v BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels, ok bool)
- func (o OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) IsNull() bool
- func (o OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) IsSet() bool
- func (s OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) MarshalJSON() ([]byte, error)
- func (o OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Or(d BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels
- func (o *OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Reset()
- func (o *OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) SetTo(v BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels)
- func (o *OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) SetToNull()
- func (s *OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) UnmarshalJSON(data []byte) error
- type OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission
- func (o *OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Decode(d *jx.Decoder) error
- func (o OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Encode(e *jx.Encoder)
- func (o OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Get() (v BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission, ok bool)
- func (o OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) IsNull() bool
- func (o OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) IsSet() bool
- func (s OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) MarshalJSON() ([]byte, error)
- func (o OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Or(d BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission
- func (o *OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Reset()
- func (o *OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) SetTo(v BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission)
- func (o *OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) SetToNull()
- func (s *OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) UnmarshalJSON(data []byte) error
- type OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat
- func (o OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) Get() (...)
- func (o OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) IsNull() bool
- func (o OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) IsSet() bool
- func (o OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) Or(...) ...
- func (o *OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) Reset()
- func (o *OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) SetTo(...)
- func (o *OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) SetToNull()
- type OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat
- func (o OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) Get() (v BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat, ok bool)
- func (o OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) IsNull() bool
- func (o OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) IsSet() bool
- func (o OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) Or(d BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat
- func (o *OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) Reset()
- func (o *OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) SetTo(v BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat)
- func (o *OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) SetToNull()
- type OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata
- func (o *OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Decode(d *jx.Decoder) error
- func (o OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Encode(e *jx.Encoder)
- func (o OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Get() (v BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata, ok bool)
- func (o OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) IsNull() bool
- func (o OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) IsSet() bool
- func (s OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) MarshalJSON() ([]byte, error)
- func (o OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Or(d BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata
- func (o *OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Reset()
- func (o *OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) SetTo(v BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata)
- func (o *OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) SetToNull()
- func (s *OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) UnmarshalJSON(data []byte) error
- type OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole
- func (o *OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Decode(d *jx.Decoder) error
- func (o OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Encode(e *jx.Encoder)
- func (o OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Get() (v BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole, ok bool)
- func (o OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) IsNull() bool
- func (o OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) IsSet() bool
- func (s OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) MarshalJSON() ([]byte, error)
- func (o OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Or(d BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole
- func (o *OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Reset()
- func (o *OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) SetTo(v BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole)
- func (o *OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) SetToNull()
- func (s *OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) UnmarshalJSON(data []byte) error
- type OptNilBool
- func (o *OptNilBool) Decode(d *jx.Decoder) error
- func (o OptNilBool) Encode(e *jx.Encoder)
- func (o OptNilBool) Get() (v bool, ok bool)
- func (o OptNilBool) IsNull() bool
- func (o OptNilBool) IsSet() bool
- func (s OptNilBool) MarshalJSON() ([]byte, error)
- func (o OptNilBool) Or(d bool) bool
- func (o *OptNilBool) Reset()
- func (o *OptNilBool) SetTo(v bool)
- func (o *OptNilBool) SetToNull()
- func (s *OptNilBool) UnmarshalJSON(data []byte) error
- type OptNilCaptionStyleModelTextAlign
- func (o *OptNilCaptionStyleModelTextAlign) Decode(d *jx.Decoder) error
- func (o OptNilCaptionStyleModelTextAlign) Encode(e *jx.Encoder)
- func (o OptNilCaptionStyleModelTextAlign) Get() (v CaptionStyleModelTextAlign, ok bool)
- func (o OptNilCaptionStyleModelTextAlign) IsNull() bool
- func (o OptNilCaptionStyleModelTextAlign) IsSet() bool
- func (s OptNilCaptionStyleModelTextAlign) MarshalJSON() ([]byte, error)
- func (o OptNilCaptionStyleModelTextAlign) Or(d CaptionStyleModelTextAlign) CaptionStyleModelTextAlign
- func (o *OptNilCaptionStyleModelTextAlign) Reset()
- func (o *OptNilCaptionStyleModelTextAlign) SetTo(v CaptionStyleModelTextAlign)
- func (o *OptNilCaptionStyleModelTextAlign) SetToNull()
- func (s *OptNilCaptionStyleModelTextAlign) UnmarshalJSON(data []byte) error
- type OptNilCaptionStyleModelTextStyle
- func (o *OptNilCaptionStyleModelTextStyle) Decode(d *jx.Decoder) error
- func (o OptNilCaptionStyleModelTextStyle) Encode(e *jx.Encoder)
- func (o OptNilCaptionStyleModelTextStyle) Get() (v CaptionStyleModelTextStyle, ok bool)
- func (o OptNilCaptionStyleModelTextStyle) IsNull() bool
- func (o OptNilCaptionStyleModelTextStyle) IsSet() bool
- func (s OptNilCaptionStyleModelTextStyle) MarshalJSON() ([]byte, error)
- func (o OptNilCaptionStyleModelTextStyle) Or(d CaptionStyleModelTextStyle) CaptionStyleModelTextStyle
- func (o *OptNilCaptionStyleModelTextStyle) Reset()
- func (o *OptNilCaptionStyleModelTextStyle) SetTo(v CaptionStyleModelTextStyle)
- func (o *OptNilCaptionStyleModelTextStyle) SetToNull()
- func (s *OptNilCaptionStyleModelTextStyle) UnmarshalJSON(data []byte) error
- type OptNilCaptionStyleModelTextWeight
- func (o *OptNilCaptionStyleModelTextWeight) Decode(d *jx.Decoder) error
- func (o OptNilCaptionStyleModelTextWeight) Encode(e *jx.Encoder)
- func (o OptNilCaptionStyleModelTextWeight) Get() (v CaptionStyleModelTextWeight, ok bool)
- func (o OptNilCaptionStyleModelTextWeight) IsNull() bool
- func (o OptNilCaptionStyleModelTextWeight) IsSet() bool
- func (s OptNilCaptionStyleModelTextWeight) MarshalJSON() ([]byte, error)
- func (o OptNilCaptionStyleModelTextWeight) Or(d CaptionStyleModelTextWeight) CaptionStyleModelTextWeight
- func (o *OptNilCaptionStyleModelTextWeight) Reset()
- func (o *OptNilCaptionStyleModelTextWeight) SetTo(v CaptionStyleModelTextWeight)
- func (o *OptNilCaptionStyleModelTextWeight) SetToNull()
- func (s *OptNilCaptionStyleModelTextWeight) UnmarshalJSON(data []byte) error
- type OptNilConversationHistoryMetadataCommonModelPhoneCall
- func (o *OptNilConversationHistoryMetadataCommonModelPhoneCall) Decode(d *jx.Decoder) error
- func (o OptNilConversationHistoryMetadataCommonModelPhoneCall) Encode(e *jx.Encoder)
- func (o OptNilConversationHistoryMetadataCommonModelPhoneCall) Get() (v ConversationHistoryMetadataCommonModelPhoneCall, ok bool)
- func (o OptNilConversationHistoryMetadataCommonModelPhoneCall) IsNull() bool
- func (o OptNilConversationHistoryMetadataCommonModelPhoneCall) IsSet() bool
- func (s OptNilConversationHistoryMetadataCommonModelPhoneCall) MarshalJSON() ([]byte, error)
- func (o OptNilConversationHistoryMetadataCommonModelPhoneCall) Or(d ConversationHistoryMetadataCommonModelPhoneCall) ConversationHistoryMetadataCommonModelPhoneCall
- func (o *OptNilConversationHistoryMetadataCommonModelPhoneCall) Reset()
- func (o *OptNilConversationHistoryMetadataCommonModelPhoneCall) SetTo(v ConversationHistoryMetadataCommonModelPhoneCall)
- func (o *OptNilConversationHistoryMetadataCommonModelPhoneCall) SetToNull()
- func (s *OptNilConversationHistoryMetadataCommonModelPhoneCall) UnmarshalJSON(data []byte) error
- type OptNilConversationHistoryTranscriptCommonModelInputSourceMedium
- func (o *OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Decode(d *jx.Decoder) error
- func (o OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Encode(e *jx.Encoder)
- func (o OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Get() (v ConversationHistoryTranscriptCommonModelInputSourceMedium, ok bool)
- func (o OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) IsNull() bool
- func (o OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) IsSet() bool
- func (s OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) MarshalJSON() ([]byte, error)
- func (o OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Or(d ConversationHistoryTranscriptCommonModelInputSourceMedium) ConversationHistoryTranscriptCommonModelInputSourceMedium
- func (o *OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Reset()
- func (o *OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) SetTo(v ConversationHistoryTranscriptCommonModelInputSourceMedium)
- func (o *OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) SetToNull()
- func (s *OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) UnmarshalJSON(data []byte) error
- type OptNilConversationHistoryTranscriptCommonModelOutputArray
- func (o *OptNilConversationHistoryTranscriptCommonModelOutputArray) Decode(d *jx.Decoder) error
- func (o OptNilConversationHistoryTranscriptCommonModelOutputArray) Encode(e *jx.Encoder)
- func (o OptNilConversationHistoryTranscriptCommonModelOutputArray) Get() (v []ConversationHistoryTranscriptCommonModelOutput, ok bool)
- func (o OptNilConversationHistoryTranscriptCommonModelOutputArray) IsNull() bool
- func (o OptNilConversationHistoryTranscriptCommonModelOutputArray) IsSet() bool
- func (s OptNilConversationHistoryTranscriptCommonModelOutputArray) MarshalJSON() ([]byte, error)
- func (o OptNilConversationHistoryTranscriptCommonModelOutputArray) Or(d []ConversationHistoryTranscriptCommonModelOutput) []ConversationHistoryTranscriptCommonModelOutput
- func (o *OptNilConversationHistoryTranscriptCommonModelOutputArray) Reset()
- func (o *OptNilConversationHistoryTranscriptCommonModelOutputArray) SetTo(v []ConversationHistoryTranscriptCommonModelOutput)
- func (o *OptNilConversationHistoryTranscriptCommonModelOutputArray) SetToNull()
- func (s *OptNilConversationHistoryTranscriptCommonModelOutputArray) UnmarshalJSON(data []byte) error
- type OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium
- func (o *OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Decode(d *jx.Decoder) error
- func (o OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Encode(e *jx.Encoder)
- func (o OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Get() (v ConversationHistoryTranscriptCommonModelOutputSourceMedium, ok bool)
- func (o OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) IsNull() bool
- func (o OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) IsSet() bool
- func (s OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) MarshalJSON() ([]byte, error)
- func (o OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Or(d ConversationHistoryTranscriptCommonModelOutputSourceMedium) ConversationHistoryTranscriptCommonModelOutputSourceMedium
- func (o *OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Reset()
- func (o *OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) SetTo(v ConversationHistoryTranscriptCommonModelOutputSourceMedium)
- func (o *OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) SetToNull()
- func (s *OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) UnmarshalJSON(data []byte) error
- type OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType
- func (o *OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Decode(d *jx.Decoder) error
- func (o OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Encode(e *jx.Encoder)
- func (o OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Get() (v ConversationHistoryTranscriptOtherToolsResultCommonModelType, ok bool)
- func (o OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) IsNull() bool
- func (o OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) IsSet() bool
- func (s OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) MarshalJSON() ([]byte, error)
- func (o OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Or(d ConversationHistoryTranscriptOtherToolsResultCommonModelType) ConversationHistoryTranscriptOtherToolsResultCommonModelType
- func (o *OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Reset()
- func (o *OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) SetTo(v ConversationHistoryTranscriptOtherToolsResultCommonModelType)
- func (o *OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) SetToNull()
- func (s *OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) UnmarshalJSON(data []byte) error
- type OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult
- func (o *OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Decode(d *jx.Decoder) error
- func (o OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Encode(e *jx.Encoder)
- func (o OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Get() (v ConversationHistoryTranscriptSystemToolResultCommonModelResult, ok bool)
- func (o OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) IsNull() bool
- func (o OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) IsSet() bool
- func (s OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) MarshalJSON() ([]byte, error)
- func (o OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Or(d ConversationHistoryTranscriptSystemToolResultCommonModelResult) ConversationHistoryTranscriptSystemToolResultCommonModelResult
- func (o *OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Reset()
- func (o *OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTo(v ConversationHistoryTranscriptSystemToolResultCommonModelResult)
- func (o *OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) SetToNull()
- func (s *OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) UnmarshalJSON(data []byte) error
- type OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails
- func (o *OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Decode(d *jx.Decoder) error
- func (o OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Encode(e *jx.Encoder)
- func (o OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Get() (v ConversationHistoryTranscriptToolCallCommonModelInputToolDetails, ok bool)
- func (o OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsNull() bool
- func (o OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsSet() bool
- func (s OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) MarshalJSON() ([]byte, error)
- func (o OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Or(d ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) ConversationHistoryTranscriptToolCallCommonModelInputToolDetails
- func (o *OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Reset()
- func (o *OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetTo(v ConversationHistoryTranscriptToolCallCommonModelInputToolDetails)
- func (o *OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetToNull()
- func (s *OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) UnmarshalJSON(data []byte) error
- type OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails
- func (o *OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Decode(d *jx.Decoder) error
- func (o OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Encode(e *jx.Encoder)
- func (o OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Get() (v ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails, ok bool)
- func (o OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsNull() bool
- func (o OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsSet() bool
- func (s OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) MarshalJSON() ([]byte, error)
- func (o OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Or(d ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails
- func (o *OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Reset()
- func (o *OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetTo(v ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails)
- func (o *OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetToNull()
- func (s *OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) UnmarshalJSON(data []byte) error
- type OptNilConversationSummaryResponseModelDirection
- func (o *OptNilConversationSummaryResponseModelDirection) Decode(d *jx.Decoder) error
- func (o OptNilConversationSummaryResponseModelDirection) Encode(e *jx.Encoder)
- func (o OptNilConversationSummaryResponseModelDirection) Get() (v ConversationSummaryResponseModelDirection, ok bool)
- func (o OptNilConversationSummaryResponseModelDirection) IsNull() bool
- func (o OptNilConversationSummaryResponseModelDirection) IsSet() bool
- func (s OptNilConversationSummaryResponseModelDirection) MarshalJSON() ([]byte, error)
- func (o OptNilConversationSummaryResponseModelDirection) Or(d ConversationSummaryResponseModelDirection) ConversationSummaryResponseModelDirection
- func (o *OptNilConversationSummaryResponseModelDirection) Reset()
- func (o *OptNilConversationSummaryResponseModelDirection) SetTo(v ConversationSummaryResponseModelDirection)
- func (o *OptNilConversationSummaryResponseModelDirection) SetToNull()
- func (s *OptNilConversationSummaryResponseModelDirection) UnmarshalJSON(data []byte) error
- type OptNilDialogueInputResponseModelArray
- func (o *OptNilDialogueInputResponseModelArray) Decode(d *jx.Decoder) error
- func (o OptNilDialogueInputResponseModelArray) Encode(e *jx.Encoder)
- func (o OptNilDialogueInputResponseModelArray) Get() (v []DialogueInputResponseModel, ok bool)
- func (o OptNilDialogueInputResponseModelArray) IsNull() bool
- func (o OptNilDialogueInputResponseModelArray) IsSet() bool
- func (s OptNilDialogueInputResponseModelArray) MarshalJSON() ([]byte, error)
- func (o OptNilDialogueInputResponseModelArray) Or(d []DialogueInputResponseModel) []DialogueInputResponseModel
- func (o *OptNilDialogueInputResponseModelArray) Reset()
- func (o *OptNilDialogueInputResponseModelArray) SetTo(v []DialogueInputResponseModel)
- func (o *OptNilDialogueInputResponseModelArray) SetToNull()
- func (s *OptNilDialogueInputResponseModelArray) UnmarshalJSON(data []byte) error
- type OptNilFineTuningResponseModelMessage
- func (o *OptNilFineTuningResponseModelMessage) Decode(d *jx.Decoder) error
- func (o OptNilFineTuningResponseModelMessage) Encode(e *jx.Encoder)
- func (o OptNilFineTuningResponseModelMessage) Get() (v FineTuningResponseModelMessage, ok bool)
- func (o OptNilFineTuningResponseModelMessage) IsNull() bool
- func (o OptNilFineTuningResponseModelMessage) IsSet() bool
- func (s OptNilFineTuningResponseModelMessage) MarshalJSON() ([]byte, error)
- func (o OptNilFineTuningResponseModelMessage) Or(d FineTuningResponseModelMessage) FineTuningResponseModelMessage
- func (o *OptNilFineTuningResponseModelMessage) Reset()
- func (o *OptNilFineTuningResponseModelMessage) SetTo(v FineTuningResponseModelMessage)
- func (o *OptNilFineTuningResponseModelMessage) SetToNull()
- func (s *OptNilFineTuningResponseModelMessage) UnmarshalJSON(data []byte) error
- type OptNilFineTuningResponseModelProgress
- func (o *OptNilFineTuningResponseModelProgress) Decode(d *jx.Decoder) error
- func (o OptNilFineTuningResponseModelProgress) Encode(e *jx.Encoder)
- func (o OptNilFineTuningResponseModelProgress) Get() (v FineTuningResponseModelProgress, ok bool)
- func (o OptNilFineTuningResponseModelProgress) IsNull() bool
- func (o OptNilFineTuningResponseModelProgress) IsSet() bool
- func (s OptNilFineTuningResponseModelProgress) MarshalJSON() ([]byte, error)
- func (o OptNilFineTuningResponseModelProgress) Or(d FineTuningResponseModelProgress) FineTuningResponseModelProgress
- func (o *OptNilFineTuningResponseModelProgress) Reset()
- func (o *OptNilFineTuningResponseModelProgress) SetTo(v FineTuningResponseModelProgress)
- func (o *OptNilFineTuningResponseModelProgress) SetToNull()
- func (s *OptNilFineTuningResponseModelProgress) UnmarshalJSON(data []byte) error
- type OptNilFloat64
- func (o *OptNilFloat64) Decode(d *jx.Decoder) error
- func (o OptNilFloat64) Encode(e *jx.Encoder)
- func (o OptNilFloat64) Get() (v float64, ok bool)
- func (o OptNilFloat64) IsNull() bool
- func (o OptNilFloat64) IsSet() bool
- func (s OptNilFloat64) MarshalJSON() ([]byte, error)
- func (o OptNilFloat64) Or(d float64) float64
- func (o *OptNilFloat64) Reset()
- func (o *OptNilFloat64) SetTo(v float64)
- func (o *OptNilFloat64) SetToNull()
- func (s *OptNilFloat64) UnmarshalJSON(data []byte) error
- type OptNilFloat64Array
- func (o *OptNilFloat64Array) Decode(d *jx.Decoder) error
- func (o OptNilFloat64Array) Encode(e *jx.Encoder)
- func (o OptNilFloat64Array) Get() (v []float64, ok bool)
- func (o OptNilFloat64Array) IsNull() bool
- func (o OptNilFloat64Array) IsSet() bool
- func (s OptNilFloat64Array) MarshalJSON() ([]byte, error)
- func (o OptNilFloat64Array) Or(d []float64) []float64
- func (o *OptNilFloat64Array) Reset()
- func (o *OptNilFloat64Array) SetTo(v []float64)
- func (o *OptNilFloat64Array) SetToNull()
- func (s *OptNilFloat64Array) UnmarshalJSON(data []byte) error
- type OptNilGetLibraryVoicesCategory
- func (o OptNilGetLibraryVoicesCategory) Get() (v GetLibraryVoicesCategory, ok bool)
- func (o OptNilGetLibraryVoicesCategory) IsNull() bool
- func (o OptNilGetLibraryVoicesCategory) IsSet() bool
- func (o OptNilGetLibraryVoicesCategory) Or(d GetLibraryVoicesCategory) GetLibraryVoicesCategory
- func (o *OptNilGetLibraryVoicesCategory) Reset()
- func (o *OptNilGetLibraryVoicesCategory) SetTo(v GetLibraryVoicesCategory)
- func (o *OptNilGetLibraryVoicesCategory) SetToNull()
- type OptNilGetPronunciationDictionariesMetadataSort
- func (o OptNilGetPronunciationDictionariesMetadataSort) Get() (v GetPronunciationDictionariesMetadataSort, ok bool)
- func (o OptNilGetPronunciationDictionariesMetadataSort) IsNull() bool
- func (o OptNilGetPronunciationDictionariesMetadataSort) IsSet() bool
- func (o OptNilGetPronunciationDictionariesMetadataSort) Or(d GetPronunciationDictionariesMetadataSort) GetPronunciationDictionariesMetadataSort
- func (o *OptNilGetPronunciationDictionariesMetadataSort) Reset()
- func (o *OptNilGetPronunciationDictionariesMetadataSort) SetTo(v GetPronunciationDictionariesMetadataSort)
- func (o *OptNilGetPronunciationDictionariesMetadataSort) SetToNull()
- type OptNilGetSpeechHistorySortDirection
- func (o OptNilGetSpeechHistorySortDirection) Get() (v GetSpeechHistorySortDirection, ok bool)
- func (o OptNilGetSpeechHistorySortDirection) IsNull() bool
- func (o OptNilGetSpeechHistorySortDirection) IsSet() bool
- func (o OptNilGetSpeechHistorySortDirection) Or(d GetSpeechHistorySortDirection) GetSpeechHistorySortDirection
- func (o *OptNilGetSpeechHistorySortDirection) Reset()
- func (o *OptNilGetSpeechHistorySortDirection) SetTo(v GetSpeechHistorySortDirection)
- func (o *OptNilGetSpeechHistorySortDirection) SetToNull()
- type OptNilGetSpeechHistorySource
- func (o OptNilGetSpeechHistorySource) Get() (v GetSpeechHistorySource, ok bool)
- func (o OptNilGetSpeechHistorySource) IsNull() bool
- func (o OptNilGetSpeechHistorySource) IsSet() bool
- func (o OptNilGetSpeechHistorySource) Or(d GetSpeechHistorySource) GetSpeechHistorySource
- func (o *OptNilGetSpeechHistorySource) Reset()
- func (o *OptNilGetSpeechHistorySource) SetTo(v GetSpeechHistorySource)
- func (o *OptNilGetSpeechHistorySource) SetToNull()
- type OptNilInt
- func (o *OptNilInt) Decode(d *jx.Decoder) error
- func (o OptNilInt) Encode(e *jx.Encoder)
- func (o OptNilInt) Get() (v int, ok bool)
- func (o OptNilInt) IsNull() bool
- func (o OptNilInt) IsSet() bool
- func (s OptNilInt) MarshalJSON() ([]byte, error)
- func (o OptNilInt) Or(d int) int
- func (o *OptNilInt) Reset()
- func (o *OptNilInt) SetTo(v int)
- func (o *OptNilInt) SetToNull()
- func (s *OptNilInt) UnmarshalJSON(data []byte) error
- type OptNilKnowledgeBaseDocumentTypeArray
- func (o OptNilKnowledgeBaseDocumentTypeArray) Get() (v []KnowledgeBaseDocumentType, ok bool)
- func (o OptNilKnowledgeBaseDocumentTypeArray) IsNull() bool
- func (o OptNilKnowledgeBaseDocumentTypeArray) IsSet() bool
- func (o OptNilKnowledgeBaseDocumentTypeArray) Or(d []KnowledgeBaseDocumentType) []KnowledgeBaseDocumentType
- func (o *OptNilKnowledgeBaseDocumentTypeArray) Reset()
- func (o *OptNilKnowledgeBaseDocumentTypeArray) SetTo(v []KnowledgeBaseDocumentType)
- func (o *OptNilKnowledgeBaseDocumentTypeArray) SetToNull()
- type OptNilProjectResponseModelAspectRatio
- func (o *OptNilProjectResponseModelAspectRatio) Decode(d *jx.Decoder) error
- func (o OptNilProjectResponseModelAspectRatio) Encode(e *jx.Encoder)
- func (o OptNilProjectResponseModelAspectRatio) Get() (v ProjectResponseModelAspectRatio, ok bool)
- func (o OptNilProjectResponseModelAspectRatio) IsNull() bool
- func (o OptNilProjectResponseModelAspectRatio) IsSet() bool
- func (s OptNilProjectResponseModelAspectRatio) MarshalJSON() ([]byte, error)
- func (o OptNilProjectResponseModelAspectRatio) Or(d ProjectResponseModelAspectRatio) ProjectResponseModelAspectRatio
- func (o *OptNilProjectResponseModelAspectRatio) Reset()
- func (o *OptNilProjectResponseModelAspectRatio) SetTo(v ProjectResponseModelAspectRatio)
- func (o *OptNilProjectResponseModelAspectRatio) SetToNull()
- func (s *OptNilProjectResponseModelAspectRatio) UnmarshalJSON(data []byte) error
- type OptNilProjectResponseModelFiction
- func (o *OptNilProjectResponseModelFiction) Decode(d *jx.Decoder) error
- func (o OptNilProjectResponseModelFiction) Encode(e *jx.Encoder)
- func (o OptNilProjectResponseModelFiction) Get() (v ProjectResponseModelFiction, ok bool)
- func (o OptNilProjectResponseModelFiction) IsNull() bool
- func (o OptNilProjectResponseModelFiction) IsSet() bool
- func (s OptNilProjectResponseModelFiction) MarshalJSON() ([]byte, error)
- func (o OptNilProjectResponseModelFiction) Or(d ProjectResponseModelFiction) ProjectResponseModelFiction
- func (o *OptNilProjectResponseModelFiction) Reset()
- func (o *OptNilProjectResponseModelFiction) SetTo(v ProjectResponseModelFiction)
- func (o *OptNilProjectResponseModelFiction) SetToNull()
- func (s *OptNilProjectResponseModelFiction) UnmarshalJSON(data []byte) error
- type OptNilProjectResponseModelSourceType
- func (o *OptNilProjectResponseModelSourceType) Decode(d *jx.Decoder) error
- func (o OptNilProjectResponseModelSourceType) Encode(e *jx.Encoder)
- func (o OptNilProjectResponseModelSourceType) Get() (v ProjectResponseModelSourceType, ok bool)
- func (o OptNilProjectResponseModelSourceType) IsNull() bool
- func (o OptNilProjectResponseModelSourceType) IsSet() bool
- func (s OptNilProjectResponseModelSourceType) MarshalJSON() ([]byte, error)
- func (o OptNilProjectResponseModelSourceType) Or(d ProjectResponseModelSourceType) ProjectResponseModelSourceType
- func (o *OptNilProjectResponseModelSourceType) Reset()
- func (o *OptNilProjectResponseModelSourceType) SetTo(v ProjectResponseModelSourceType)
- func (o *OptNilProjectResponseModelSourceType) SetToNull()
- func (s *OptNilProjectResponseModelSourceType) UnmarshalJSON(data []byte) error
- type OptNilProjectResponseModelTargetAudience
- func (o *OptNilProjectResponseModelTargetAudience) Decode(d *jx.Decoder) error
- func (o OptNilProjectResponseModelTargetAudience) Encode(e *jx.Encoder)
- func (o OptNilProjectResponseModelTargetAudience) Get() (v ProjectResponseModelTargetAudience, ok bool)
- func (o OptNilProjectResponseModelTargetAudience) IsNull() bool
- func (o OptNilProjectResponseModelTargetAudience) IsSet() bool
- func (s OptNilProjectResponseModelTargetAudience) MarshalJSON() ([]byte, error)
- func (o OptNilProjectResponseModelTargetAudience) Or(d ProjectResponseModelTargetAudience) ProjectResponseModelTargetAudience
- func (o *OptNilProjectResponseModelTargetAudience) Reset()
- func (o *OptNilProjectResponseModelTargetAudience) SetTo(v ProjectResponseModelTargetAudience)
- func (o *OptNilProjectResponseModelTargetAudience) SetToNull()
- func (s *OptNilProjectResponseModelTargetAudience) UnmarshalJSON(data []byte) error
- type OptNilPronunciationDictionaryVersionLocatorRequestModelArray
- func (o *OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Decode(d *jx.Decoder) error
- func (o OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Encode(e *jx.Encoder)
- func (o OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Get() (v []PronunciationDictionaryVersionLocatorRequestModel, ok bool)
- func (o OptNilPronunciationDictionaryVersionLocatorRequestModelArray) IsNull() bool
- func (o OptNilPronunciationDictionaryVersionLocatorRequestModelArray) IsSet() bool
- func (s OptNilPronunciationDictionaryVersionLocatorRequestModelArray) MarshalJSON() ([]byte, error)
- func (o OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Or(d []PronunciationDictionaryVersionLocatorRequestModel) []PronunciationDictionaryVersionLocatorRequestModel
- func (o *OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Reset()
- func (o *OptNilPronunciationDictionaryVersionLocatorRequestModelArray) SetTo(v []PronunciationDictionaryVersionLocatorRequestModel)
- func (o *OptNilPronunciationDictionaryVersionLocatorRequestModelArray) SetToNull()
- func (s *OptNilPronunciationDictionaryVersionLocatorRequestModelArray) UnmarshalJSON(data []byte) error
- type OptNilReaderResourceResponseModelArray
- func (o *OptNilReaderResourceResponseModelArray) Decode(d *jx.Decoder) error
- func (o OptNilReaderResourceResponseModelArray) Encode(e *jx.Encoder)
- func (o OptNilReaderResourceResponseModelArray) Get() (v []ReaderResourceResponseModel, ok bool)
- func (o OptNilReaderResourceResponseModelArray) IsNull() bool
- func (o OptNilReaderResourceResponseModelArray) IsSet() bool
- func (s OptNilReaderResourceResponseModelArray) MarshalJSON() ([]byte, error)
- func (o OptNilReaderResourceResponseModelArray) Or(d []ReaderResourceResponseModel) []ReaderResourceResponseModel
- func (o *OptNilReaderResourceResponseModelArray) Reset()
- func (o *OptNilReaderResourceResponseModelArray) SetTo(v []ReaderResourceResponseModel)
- func (o *OptNilReaderResourceResponseModelArray) SetToNull()
- func (s *OptNilReaderResourceResponseModelArray) UnmarshalJSON(data []byte) error
- type OptNilSampleResponseModelArray
- func (o *OptNilSampleResponseModelArray) Decode(d *jx.Decoder) error
- func (o OptNilSampleResponseModelArray) Encode(e *jx.Encoder)
- func (o OptNilSampleResponseModelArray) Get() (v []SampleResponseModel, ok bool)
- func (o OptNilSampleResponseModelArray) IsNull() bool
- func (o OptNilSampleResponseModelArray) IsSet() bool
- func (s OptNilSampleResponseModelArray) MarshalJSON() ([]byte, error)
- func (o OptNilSampleResponseModelArray) Or(d []SampleResponseModel) []SampleResponseModel
- func (o *OptNilSampleResponseModelArray) Reset()
- func (o *OptNilSampleResponseModelArray) SetTo(v []SampleResponseModel)
- func (o *OptNilSampleResponseModelArray) SetToNull()
- func (s *OptNilSampleResponseModelArray) UnmarshalJSON(data []byte) error
- type OptNilSegmentCreatePayloadTranslations
- func (o *OptNilSegmentCreatePayloadTranslations) Decode(d *jx.Decoder) error
- func (o OptNilSegmentCreatePayloadTranslations) Encode(e *jx.Encoder)
- func (o OptNilSegmentCreatePayloadTranslations) Get() (v SegmentCreatePayloadTranslations, ok bool)
- func (o OptNilSegmentCreatePayloadTranslations) IsNull() bool
- func (o OptNilSegmentCreatePayloadTranslations) IsSet() bool
- func (s OptNilSegmentCreatePayloadTranslations) MarshalJSON() ([]byte, error)
- func (o OptNilSegmentCreatePayloadTranslations) Or(d SegmentCreatePayloadTranslations) SegmentCreatePayloadTranslations
- func (o *OptNilSegmentCreatePayloadTranslations) Reset()
- func (o *OptNilSegmentCreatePayloadTranslations) SetTo(v SegmentCreatePayloadTranslations)
- func (o *OptNilSegmentCreatePayloadTranslations) SetToNull()
- func (s *OptNilSegmentCreatePayloadTranslations) UnmarshalJSON(data []byte) error
- type OptNilSpeakerSeparationResponseModelSpeakers
- func (o *OptNilSpeakerSeparationResponseModelSpeakers) Decode(d *jx.Decoder) error
- func (o OptNilSpeakerSeparationResponseModelSpeakers) Encode(e *jx.Encoder)
- func (o OptNilSpeakerSeparationResponseModelSpeakers) Get() (v SpeakerSeparationResponseModelSpeakers, ok bool)
- func (o OptNilSpeakerSeparationResponseModelSpeakers) IsNull() bool
- func (o OptNilSpeakerSeparationResponseModelSpeakers) IsSet() bool
- func (s OptNilSpeakerSeparationResponseModelSpeakers) MarshalJSON() ([]byte, error)
- func (o OptNilSpeakerSeparationResponseModelSpeakers) Or(d SpeakerSeparationResponseModelSpeakers) SpeakerSeparationResponseModelSpeakers
- func (o *OptNilSpeakerSeparationResponseModelSpeakers) Reset()
- func (o *OptNilSpeakerSeparationResponseModelSpeakers) SetTo(v SpeakerSeparationResponseModelSpeakers)
- func (o *OptNilSpeakerSeparationResponseModelSpeakers) SetToNull()
- func (s *OptNilSpeakerSeparationResponseModelSpeakers) UnmarshalJSON(data []byte) error
- type OptNilSpeechHistoryItemResponseModelSource
- func (o *OptNilSpeechHistoryItemResponseModelSource) Decode(d *jx.Decoder) error
- func (o OptNilSpeechHistoryItemResponseModelSource) Encode(e *jx.Encoder)
- func (o OptNilSpeechHistoryItemResponseModelSource) Get() (v SpeechHistoryItemResponseModelSource, ok bool)
- func (o OptNilSpeechHistoryItemResponseModelSource) IsNull() bool
- func (o OptNilSpeechHistoryItemResponseModelSource) IsSet() bool
- func (s OptNilSpeechHistoryItemResponseModelSource) MarshalJSON() ([]byte, error)
- func (o OptNilSpeechHistoryItemResponseModelSource) Or(d SpeechHistoryItemResponseModelSource) SpeechHistoryItemResponseModelSource
- func (o *OptNilSpeechHistoryItemResponseModelSource) Reset()
- func (o *OptNilSpeechHistoryItemResponseModelSource) SetTo(v SpeechHistoryItemResponseModelSource)
- func (o *OptNilSpeechHistoryItemResponseModelSource) SetToNull()
- func (s *OptNilSpeechHistoryItemResponseModelSource) UnmarshalJSON(data []byte) error
- type OptNilSpeechHistoryItemResponseModelVoiceCategory
- func (o *OptNilSpeechHistoryItemResponseModelVoiceCategory) Decode(d *jx.Decoder) error
- func (o OptNilSpeechHistoryItemResponseModelVoiceCategory) Encode(e *jx.Encoder)
- func (o OptNilSpeechHistoryItemResponseModelVoiceCategory) Get() (v SpeechHistoryItemResponseModelVoiceCategory, ok bool)
- func (o OptNilSpeechHistoryItemResponseModelVoiceCategory) IsNull() bool
- func (o OptNilSpeechHistoryItemResponseModelVoiceCategory) IsSet() bool
- func (s OptNilSpeechHistoryItemResponseModelVoiceCategory) MarshalJSON() ([]byte, error)
- func (o OptNilSpeechHistoryItemResponseModelVoiceCategory) Or(d SpeechHistoryItemResponseModelVoiceCategory) SpeechHistoryItemResponseModelVoiceCategory
- func (o *OptNilSpeechHistoryItemResponseModelVoiceCategory) Reset()
- func (o *OptNilSpeechHistoryItemResponseModelVoiceCategory) SetTo(v SpeechHistoryItemResponseModelVoiceCategory)
- func (o *OptNilSpeechHistoryItemResponseModelVoiceCategory) SetToNull()
- func (s *OptNilSpeechHistoryItemResponseModelVoiceCategory) UnmarshalJSON(data []byte) error
- type OptNilSpeechToTextCharacterResponseModelArray
- func (o *OptNilSpeechToTextCharacterResponseModelArray) Decode(d *jx.Decoder) error
- func (o OptNilSpeechToTextCharacterResponseModelArray) Encode(e *jx.Encoder)
- func (o OptNilSpeechToTextCharacterResponseModelArray) Get() (v []SpeechToTextCharacterResponseModel, ok bool)
- func (o OptNilSpeechToTextCharacterResponseModelArray) IsNull() bool
- func (o OptNilSpeechToTextCharacterResponseModelArray) IsSet() bool
- func (s OptNilSpeechToTextCharacterResponseModelArray) MarshalJSON() ([]byte, error)
- func (o OptNilSpeechToTextCharacterResponseModelArray) Or(d []SpeechToTextCharacterResponseModel) []SpeechToTextCharacterResponseModel
- func (o *OptNilSpeechToTextCharacterResponseModelArray) Reset()
- func (o *OptNilSpeechToTextCharacterResponseModelArray) SetTo(v []SpeechToTextCharacterResponseModel)
- func (o *OptNilSpeechToTextCharacterResponseModelArray) SetToNull()
- func (s *OptNilSpeechToTextCharacterResponseModelArray) UnmarshalJSON(data []byte) error
- type OptNilString
- func (o *OptNilString) Decode(d *jx.Decoder) error
- func (o OptNilString) Encode(e *jx.Encoder)
- func (o OptNilString) Get() (v string, ok bool)
- func (o OptNilString) IsNull() bool
- func (o OptNilString) IsSet() bool
- func (s OptNilString) MarshalJSON() ([]byte, error)
- func (o OptNilString) Or(d string) string
- func (o *OptNilString) Reset()
- func (o *OptNilString) SetTo(v string)
- func (o *OptNilString) SetToNull()
- func (s *OptNilString) UnmarshalJSON(data []byte) error
- type OptNilStringArray
- func (o *OptNilStringArray) Decode(d *jx.Decoder) error
- func (o OptNilStringArray) Encode(e *jx.Encoder)
- func (o OptNilStringArray) Get() (v []string, ok bool)
- func (o OptNilStringArray) IsNull() bool
- func (o OptNilStringArray) IsSet() bool
- func (s OptNilStringArray) MarshalJSON() ([]byte, error)
- func (o OptNilStringArray) Or(d []string) []string
- func (o *OptNilStringArray) Reset()
- func (o *OptNilStringArray) SetTo(v []string)
- func (o *OptNilStringArray) SetToNull()
- func (s *OptNilStringArray) UnmarshalJSON(data []byte) error
- type OptNilSubscriptionResponseModelCurrency
- func (o *OptNilSubscriptionResponseModelCurrency) Decode(d *jx.Decoder) error
- func (o OptNilSubscriptionResponseModelCurrency) Encode(e *jx.Encoder)
- func (o OptNilSubscriptionResponseModelCurrency) Get() (v SubscriptionResponseModelCurrency, ok bool)
- func (o OptNilSubscriptionResponseModelCurrency) IsNull() bool
- func (o OptNilSubscriptionResponseModelCurrency) IsSet() bool
- func (s OptNilSubscriptionResponseModelCurrency) MarshalJSON() ([]byte, error)
- func (o OptNilSubscriptionResponseModelCurrency) Or(d SubscriptionResponseModelCurrency) SubscriptionResponseModelCurrency
- func (o *OptNilSubscriptionResponseModelCurrency) Reset()
- func (o *OptNilSubscriptionResponseModelCurrency) SetTo(v SubscriptionResponseModelCurrency)
- func (o *OptNilSubscriptionResponseModelCurrency) SetToNull()
- func (s *OptNilSubscriptionResponseModelCurrency) UnmarshalJSON(data []byte) error
- type OptNilUtteranceResponseModelArray
- func (o *OptNilUtteranceResponseModelArray) Decode(d *jx.Decoder) error
- func (o OptNilUtteranceResponseModelArray) Encode(e *jx.Encoder)
- func (o OptNilUtteranceResponseModelArray) Get() (v []UtteranceResponseModel, ok bool)
- func (o OptNilUtteranceResponseModelArray) IsNull() bool
- func (o OptNilUtteranceResponseModelArray) IsSet() bool
- func (s OptNilUtteranceResponseModelArray) MarshalJSON() ([]byte, error)
- func (o OptNilUtteranceResponseModelArray) Or(d []UtteranceResponseModel) []UtteranceResponseModel
- func (o *OptNilUtteranceResponseModelArray) Reset()
- func (o *OptNilUtteranceResponseModelArray) SetTo(v []UtteranceResponseModel)
- func (o *OptNilUtteranceResponseModelArray) SetToNull()
- func (s *OptNilUtteranceResponseModelArray) UnmarshalJSON(data []byte) error
- type OptNilVerificationAttemptResponseModelArray
- func (o *OptNilVerificationAttemptResponseModelArray) Decode(d *jx.Decoder) error
- func (o OptNilVerificationAttemptResponseModelArray) Encode(e *jx.Encoder)
- func (o OptNilVerificationAttemptResponseModelArray) Get() (v []VerificationAttemptResponseModel, ok bool)
- func (o OptNilVerificationAttemptResponseModelArray) IsNull() bool
- func (o OptNilVerificationAttemptResponseModelArray) IsSet() bool
- func (s OptNilVerificationAttemptResponseModelArray) MarshalJSON() ([]byte, error)
- func (o OptNilVerificationAttemptResponseModelArray) Or(d []VerificationAttemptResponseModel) []VerificationAttemptResponseModel
- func (o *OptNilVerificationAttemptResponseModelArray) Reset()
- func (o *OptNilVerificationAttemptResponseModelArray) SetTo(v []VerificationAttemptResponseModel)
- func (o *OptNilVerificationAttemptResponseModelArray) SetToNull()
- func (s *OptNilVerificationAttemptResponseModelArray) UnmarshalJSON(data []byte) error
- type OptNilVerifiedVoiceLanguageResponseModelArray
- func (o *OptNilVerifiedVoiceLanguageResponseModelArray) Decode(d *jx.Decoder) error
- func (o OptNilVerifiedVoiceLanguageResponseModelArray) Encode(e *jx.Encoder)
- func (o OptNilVerifiedVoiceLanguageResponseModelArray) Get() (v []VerifiedVoiceLanguageResponseModel, ok bool)
- func (o OptNilVerifiedVoiceLanguageResponseModelArray) IsNull() bool
- func (o OptNilVerifiedVoiceLanguageResponseModelArray) IsSet() bool
- func (s OptNilVerifiedVoiceLanguageResponseModelArray) MarshalJSON() ([]byte, error)
- func (o OptNilVerifiedVoiceLanguageResponseModelArray) Or(d []VerifiedVoiceLanguageResponseModel) []VerifiedVoiceLanguageResponseModel
- func (o *OptNilVerifiedVoiceLanguageResponseModelArray) Reset()
- func (o *OptNilVerifiedVoiceLanguageResponseModelArray) SetTo(v []VerifiedVoiceLanguageResponseModel)
- func (o *OptNilVerifiedVoiceLanguageResponseModelArray) SetToNull()
- func (s *OptNilVerifiedVoiceLanguageResponseModelArray) UnmarshalJSON(data []byte) error
- type OptNilVoiceResponseModelSafetyControl
- func (o *OptNilVoiceResponseModelSafetyControl) Decode(d *jx.Decoder) error
- func (o OptNilVoiceResponseModelSafetyControl) Encode(e *jx.Encoder)
- func (o OptNilVoiceResponseModelSafetyControl) Get() (v VoiceResponseModelSafetyControl, ok bool)
- func (o OptNilVoiceResponseModelSafetyControl) IsNull() bool
- func (o OptNilVoiceResponseModelSafetyControl) IsSet() bool
- func (s OptNilVoiceResponseModelSafetyControl) MarshalJSON() ([]byte, error)
- func (o OptNilVoiceResponseModelSafetyControl) Or(d VoiceResponseModelSafetyControl) VoiceResponseModelSafetyControl
- func (o *OptNilVoiceResponseModelSafetyControl) Reset()
- func (o *OptNilVoiceResponseModelSafetyControl) SetTo(v VoiceResponseModelSafetyControl)
- func (o *OptNilVoiceResponseModelSafetyControl) SetToNull()
- func (s *OptNilVoiceResponseModelSafetyControl) UnmarshalJSON(data []byte) error
- type OptNilWorkspaceApiKeyResponseModelPermissionsItemArray
- func (o *OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Decode(d *jx.Decoder) error
- func (o OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Encode(e *jx.Encoder)
- func (o OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Get() (v []WorkspaceApiKeyResponseModelPermissionsItem, ok bool)
- func (o OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) IsNull() bool
- func (o OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) IsSet() bool
- func (s OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) MarshalJSON() ([]byte, error)
- func (o OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Or(d []WorkspaceApiKeyResponseModelPermissionsItem) []WorkspaceApiKeyResponseModelPermissionsItem
- func (o *OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Reset()
- func (o *OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) SetTo(v []WorkspaceApiKeyResponseModelPermissionsItem)
- func (o *OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) SetToNull()
- func (s *OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) UnmarshalJSON(data []byte) error
- type OptNilWorkspaceWebhookUsageResponseModelArray
- func (o *OptNilWorkspaceWebhookUsageResponseModelArray) Decode(d *jx.Decoder) error
- func (o OptNilWorkspaceWebhookUsageResponseModelArray) Encode(e *jx.Encoder)
- func (o OptNilWorkspaceWebhookUsageResponseModelArray) Get() (v []WorkspaceWebhookUsageResponseModel, ok bool)
- func (o OptNilWorkspaceWebhookUsageResponseModelArray) IsNull() bool
- func (o OptNilWorkspaceWebhookUsageResponseModelArray) IsSet() bool
- func (s OptNilWorkspaceWebhookUsageResponseModelArray) MarshalJSON() ([]byte, error)
- func (o OptNilWorkspaceWebhookUsageResponseModelArray) Or(d []WorkspaceWebhookUsageResponseModel) []WorkspaceWebhookUsageResponseModel
- func (o *OptNilWorkspaceWebhookUsageResponseModelArray) Reset()
- func (o *OptNilWorkspaceWebhookUsageResponseModelArray) SetTo(v []WorkspaceWebhookUsageResponseModel)
- func (o *OptNilWorkspaceWebhookUsageResponseModelArray) SetToNull()
- func (s *OptNilWorkspaceWebhookUsageResponseModelArray) UnmarshalJSON(data []byte) error
- type OptOutboundSIPTrunkConfigRequestModel
- func (o *OptOutboundSIPTrunkConfigRequestModel) Decode(d *jx.Decoder) error
- func (o OptOutboundSIPTrunkConfigRequestModel) Encode(e *jx.Encoder)
- func (o OptOutboundSIPTrunkConfigRequestModel) Get() (v OutboundSIPTrunkConfigRequestModel, ok bool)
- func (o OptOutboundSIPTrunkConfigRequestModel) IsSet() bool
- func (s OptOutboundSIPTrunkConfigRequestModel) MarshalJSON() ([]byte, error)
- func (o OptOutboundSIPTrunkConfigRequestModel) Or(d OutboundSIPTrunkConfigRequestModel) OutboundSIPTrunkConfigRequestModel
- func (o *OptOutboundSIPTrunkConfigRequestModel) Reset()
- func (o *OptOutboundSIPTrunkConfigRequestModel) SetTo(v OutboundSIPTrunkConfigRequestModel)
- func (s *OptOutboundSIPTrunkConfigRequestModel) UnmarshalJSON(data []byte) error
- type OptOutboundSIPTrunkConfigRequestModelHeaders
- func (o *OptOutboundSIPTrunkConfigRequestModelHeaders) Decode(d *jx.Decoder) error
- func (o OptOutboundSIPTrunkConfigRequestModelHeaders) Encode(e *jx.Encoder)
- func (o OptOutboundSIPTrunkConfigRequestModelHeaders) Get() (v OutboundSIPTrunkConfigRequestModelHeaders, ok bool)
- func (o OptOutboundSIPTrunkConfigRequestModelHeaders) IsSet() bool
- func (s OptOutboundSIPTrunkConfigRequestModelHeaders) MarshalJSON() ([]byte, error)
- func (o OptOutboundSIPTrunkConfigRequestModelHeaders) Or(d OutboundSIPTrunkConfigRequestModelHeaders) OutboundSIPTrunkConfigRequestModelHeaders
- func (o *OptOutboundSIPTrunkConfigRequestModelHeaders) Reset()
- func (o *OptOutboundSIPTrunkConfigRequestModelHeaders) SetTo(v OutboundSIPTrunkConfigRequestModelHeaders)
- func (s *OptOutboundSIPTrunkConfigRequestModelHeaders) UnmarshalJSON(data []byte) error
- type OptPhoneNumberAgentInfo
- func (o *OptPhoneNumberAgentInfo) Decode(d *jx.Decoder) error
- func (o OptPhoneNumberAgentInfo) Encode(e *jx.Encoder)
- func (o OptPhoneNumberAgentInfo) Get() (v PhoneNumberAgentInfo, ok bool)
- func (o OptPhoneNumberAgentInfo) IsSet() bool
- func (s OptPhoneNumberAgentInfo) MarshalJSON() ([]byte, error)
- func (o OptPhoneNumberAgentInfo) Or(d PhoneNumberAgentInfo) PhoneNumberAgentInfo
- func (o *OptPhoneNumberAgentInfo) Reset()
- func (o *OptPhoneNumberAgentInfo) SetTo(v PhoneNumberAgentInfo)
- func (s *OptPhoneNumberAgentInfo) UnmarshalJSON(data []byte) error
- type OptPlayDTMFResultErrorModelResultType
- func (o *OptPlayDTMFResultErrorModelResultType) Decode(d *jx.Decoder) error
- func (o OptPlayDTMFResultErrorModelResultType) Encode(e *jx.Encoder)
- func (o OptPlayDTMFResultErrorModelResultType) Get() (v PlayDTMFResultErrorModelResultType, ok bool)
- func (o OptPlayDTMFResultErrorModelResultType) IsSet() bool
- func (s OptPlayDTMFResultErrorModelResultType) MarshalJSON() ([]byte, error)
- func (o OptPlayDTMFResultErrorModelResultType) Or(d PlayDTMFResultErrorModelResultType) PlayDTMFResultErrorModelResultType
- func (o *OptPlayDTMFResultErrorModelResultType) Reset()
- func (o *OptPlayDTMFResultErrorModelResultType) SetTo(v PlayDTMFResultErrorModelResultType)
- func (s *OptPlayDTMFResultErrorModelResultType) UnmarshalJSON(data []byte) error
- type OptPlayDTMFResultErrorModelStatus
- func (o *OptPlayDTMFResultErrorModelStatus) Decode(d *jx.Decoder) error
- func (o OptPlayDTMFResultErrorModelStatus) Encode(e *jx.Encoder)
- func (o OptPlayDTMFResultErrorModelStatus) Get() (v PlayDTMFResultErrorModelStatus, ok bool)
- func (o OptPlayDTMFResultErrorModelStatus) IsSet() bool
- func (s OptPlayDTMFResultErrorModelStatus) MarshalJSON() ([]byte, error)
- func (o OptPlayDTMFResultErrorModelStatus) Or(d PlayDTMFResultErrorModelStatus) PlayDTMFResultErrorModelStatus
- func (o *OptPlayDTMFResultErrorModelStatus) Reset()
- func (o *OptPlayDTMFResultErrorModelStatus) SetTo(v PlayDTMFResultErrorModelStatus)
- func (s *OptPlayDTMFResultErrorModelStatus) UnmarshalJSON(data []byte) error
- type OptPlayDTMFResultSuccessModelResultType
- func (o *OptPlayDTMFResultSuccessModelResultType) Decode(d *jx.Decoder) error
- func (o OptPlayDTMFResultSuccessModelResultType) Encode(e *jx.Encoder)
- func (o OptPlayDTMFResultSuccessModelResultType) Get() (v PlayDTMFResultSuccessModelResultType, ok bool)
- func (o OptPlayDTMFResultSuccessModelResultType) IsSet() bool
- func (s OptPlayDTMFResultSuccessModelResultType) MarshalJSON() ([]byte, error)
- func (o OptPlayDTMFResultSuccessModelResultType) Or(d PlayDTMFResultSuccessModelResultType) PlayDTMFResultSuccessModelResultType
- func (o *OptPlayDTMFResultSuccessModelResultType) Reset()
- func (o *OptPlayDTMFResultSuccessModelResultType) SetTo(v PlayDTMFResultSuccessModelResultType)
- func (s *OptPlayDTMFResultSuccessModelResultType) UnmarshalJSON(data []byte) error
- type OptPlayDTMFResultSuccessModelStatus
- func (o *OptPlayDTMFResultSuccessModelStatus) Decode(d *jx.Decoder) error
- func (o OptPlayDTMFResultSuccessModelStatus) Encode(e *jx.Encoder)
- func (o OptPlayDTMFResultSuccessModelStatus) Get() (v PlayDTMFResultSuccessModelStatus, ok bool)
- func (o OptPlayDTMFResultSuccessModelStatus) IsSet() bool
- func (s OptPlayDTMFResultSuccessModelStatus) MarshalJSON() ([]byte, error)
- func (o OptPlayDTMFResultSuccessModelStatus) Or(d PlayDTMFResultSuccessModelStatus) PlayDTMFResultSuccessModelStatus
- func (o *OptPlayDTMFResultSuccessModelStatus) Reset()
- func (o *OptPlayDTMFResultSuccessModelStatus) SetTo(v PlayDTMFResultSuccessModelStatus)
- func (s *OptPlayDTMFResultSuccessModelStatus) UnmarshalJSON(data []byte) error
- type OptProjectCreationMetaResponseModel
- func (o *OptProjectCreationMetaResponseModel) Decode(d *jx.Decoder) error
- func (o OptProjectCreationMetaResponseModel) Encode(e *jx.Encoder)
- func (o OptProjectCreationMetaResponseModel) Get() (v ProjectCreationMetaResponseModel, ok bool)
- func (o OptProjectCreationMetaResponseModel) IsSet() bool
- func (s OptProjectCreationMetaResponseModel) MarshalJSON() ([]byte, error)
- func (o OptProjectCreationMetaResponseModel) Or(d ProjectCreationMetaResponseModel) ProjectCreationMetaResponseModel
- func (o *OptProjectCreationMetaResponseModel) Reset()
- func (o *OptProjectCreationMetaResponseModel) SetTo(v ProjectCreationMetaResponseModel)
- func (s *OptProjectCreationMetaResponseModel) UnmarshalJSON(data []byte) error
- type OptProjectSnapshotExtendedResponseModelAudioUpload
- func (o *OptProjectSnapshotExtendedResponseModelAudioUpload) Decode(d *jx.Decoder) error
- func (o OptProjectSnapshotExtendedResponseModelAudioUpload) Encode(e *jx.Encoder)
- func (o OptProjectSnapshotExtendedResponseModelAudioUpload) Get() (v *ProjectSnapshotExtendedResponseModelAudioUpload, ok bool)
- func (o OptProjectSnapshotExtendedResponseModelAudioUpload) IsSet() bool
- func (s OptProjectSnapshotExtendedResponseModelAudioUpload) MarshalJSON() ([]byte, error)
- func (o OptProjectSnapshotExtendedResponseModelAudioUpload) Or(d *ProjectSnapshotExtendedResponseModelAudioUpload) *ProjectSnapshotExtendedResponseModelAudioUpload
- func (o *OptProjectSnapshotExtendedResponseModelAudioUpload) Reset()
- func (o *OptProjectSnapshotExtendedResponseModelAudioUpload) SetTo(v *ProjectSnapshotExtendedResponseModelAudioUpload)
- func (s *OptProjectSnapshotExtendedResponseModelAudioUpload) UnmarshalJSON(data []byte) error
- type OptProjectSnapshotExtendedResponseModelZipUpload
- func (o *OptProjectSnapshotExtendedResponseModelZipUpload) Decode(d *jx.Decoder) error
- func (o OptProjectSnapshotExtendedResponseModelZipUpload) Encode(e *jx.Encoder)
- func (o OptProjectSnapshotExtendedResponseModelZipUpload) Get() (v *ProjectSnapshotExtendedResponseModelZipUpload, ok bool)
- func (o OptProjectSnapshotExtendedResponseModelZipUpload) IsSet() bool
- func (s OptProjectSnapshotExtendedResponseModelZipUpload) MarshalJSON() ([]byte, error)
- func (o OptProjectSnapshotExtendedResponseModelZipUpload) Or(d *ProjectSnapshotExtendedResponseModelZipUpload) *ProjectSnapshotExtendedResponseModelZipUpload
- func (o *OptProjectSnapshotExtendedResponseModelZipUpload) Reset()
- func (o *OptProjectSnapshotExtendedResponseModelZipUpload) SetTo(v *ProjectSnapshotExtendedResponseModelZipUpload)
- func (s *OptProjectSnapshotExtendedResponseModelZipUpload) UnmarshalJSON(data []byte) error
- type OptProjectSnapshotResponseModelAudioUpload
- func (o *OptProjectSnapshotResponseModelAudioUpload) Decode(d *jx.Decoder) error
- func (o OptProjectSnapshotResponseModelAudioUpload) Encode(e *jx.Encoder)
- func (o OptProjectSnapshotResponseModelAudioUpload) Get() (v *ProjectSnapshotResponseModelAudioUpload, ok bool)
- func (o OptProjectSnapshotResponseModelAudioUpload) IsSet() bool
- func (s OptProjectSnapshotResponseModelAudioUpload) MarshalJSON() ([]byte, error)
- func (o OptProjectSnapshotResponseModelAudioUpload) Or(d *ProjectSnapshotResponseModelAudioUpload) *ProjectSnapshotResponseModelAudioUpload
- func (o *OptProjectSnapshotResponseModelAudioUpload) Reset()
- func (o *OptProjectSnapshotResponseModelAudioUpload) SetTo(v *ProjectSnapshotResponseModelAudioUpload)
- func (s *OptProjectSnapshotResponseModelAudioUpload) UnmarshalJSON(data []byte) error
- type OptProjectSnapshotResponseModelZipUpload
- func (o *OptProjectSnapshotResponseModelZipUpload) Decode(d *jx.Decoder) error
- func (o OptProjectSnapshotResponseModelZipUpload) Encode(e *jx.Encoder)
- func (o OptProjectSnapshotResponseModelZipUpload) Get() (v *ProjectSnapshotResponseModelZipUpload, ok bool)
- func (o OptProjectSnapshotResponseModelZipUpload) IsSet() bool
- func (s OptProjectSnapshotResponseModelZipUpload) MarshalJSON() ([]byte, error)
- func (o OptProjectSnapshotResponseModelZipUpload) Or(d *ProjectSnapshotResponseModelZipUpload) *ProjectSnapshotResponseModelZipUpload
- func (o *OptProjectSnapshotResponseModelZipUpload) Reset()
- func (o *OptProjectSnapshotResponseModelZipUpload) SetTo(v *ProjectSnapshotResponseModelZipUpload)
- func (s *OptProjectSnapshotResponseModelZipUpload) UnmarshalJSON(data []byte) error
- type OptPromptAgentAPIModelOverride
- func (o *OptPromptAgentAPIModelOverride) Decode(d *jx.Decoder) error
- func (o OptPromptAgentAPIModelOverride) Encode(e *jx.Encoder)
- func (o OptPromptAgentAPIModelOverride) Get() (v PromptAgentAPIModelOverride, ok bool)
- func (o OptPromptAgentAPIModelOverride) IsSet() bool
- func (s OptPromptAgentAPIModelOverride) MarshalJSON() ([]byte, error)
- func (o OptPromptAgentAPIModelOverride) Or(d PromptAgentAPIModelOverride) PromptAgentAPIModelOverride
- func (o *OptPromptAgentAPIModelOverride) Reset()
- func (o *OptPromptAgentAPIModelOverride) SetTo(v PromptAgentAPIModelOverride)
- func (s *OptPromptAgentAPIModelOverride) UnmarshalJSON(data []byte) error
- type OptRagRetrievalInfo
- func (o *OptRagRetrievalInfo) Decode(d *jx.Decoder) error
- func (o OptRagRetrievalInfo) Encode(e *jx.Encoder)
- func (o OptRagRetrievalInfo) Get() (v RagRetrievalInfo, ok bool)
- func (o OptRagRetrievalInfo) IsSet() bool
- func (s OptRagRetrievalInfo) MarshalJSON() ([]byte, error)
- func (o OptRagRetrievalInfo) Or(d RagRetrievalInfo) RagRetrievalInfo
- func (o *OptRagRetrievalInfo) Reset()
- func (o *OptRagRetrievalInfo) SetTo(v RagRetrievalInfo)
- func (s *OptRagRetrievalInfo) UnmarshalJSON(data []byte) error
- type OptRecordingResponseModel
- func (o *OptRecordingResponseModel) Decode(d *jx.Decoder) error
- func (o OptRecordingResponseModel) Encode(e *jx.Encoder)
- func (o OptRecordingResponseModel) Get() (v RecordingResponseModel, ok bool)
- func (o OptRecordingResponseModel) IsSet() bool
- func (s OptRecordingResponseModel) MarshalJSON() ([]byte, error)
- func (o OptRecordingResponseModel) Or(d RecordingResponseModel) RecordingResponseModel
- func (o *OptRecordingResponseModel) Reset()
- func (o *OptRecordingResponseModel) SetTo(v RecordingResponseModel)
- func (s *OptRecordingResponseModel) UnmarshalJSON(data []byte) error
- type OptReferencedToolCommonModel
- func (o *OptReferencedToolCommonModel) Decode(d *jx.Decoder) error
- func (o OptReferencedToolCommonModel) Encode(e *jx.Encoder)
- func (o OptReferencedToolCommonModel) Get() (v ReferencedToolCommonModel, ok bool)
- func (o OptReferencedToolCommonModel) IsSet() bool
- func (s OptReferencedToolCommonModel) MarshalJSON() ([]byte, error)
- func (o OptReferencedToolCommonModel) Or(d ReferencedToolCommonModel) ReferencedToolCommonModel
- func (o *OptReferencedToolCommonModel) Reset()
- func (o *OptReferencedToolCommonModel) SetTo(v ReferencedToolCommonModel)
- func (s *OptReferencedToolCommonModel) UnmarshalJSON(data []byte) error
- type OptResourceAccessInfo
- func (o *OptResourceAccessInfo) Decode(d *jx.Decoder) error
- func (o OptResourceAccessInfo) Encode(e *jx.Encoder)
- func (o OptResourceAccessInfo) Get() (v ResourceAccessInfo, ok bool)
- func (o OptResourceAccessInfo) IsSet() bool
- func (s OptResourceAccessInfo) MarshalJSON() ([]byte, error)
- func (o OptResourceAccessInfo) Or(d ResourceAccessInfo) ResourceAccessInfo
- func (o *OptResourceAccessInfo) Reset()
- func (o *OptResourceAccessInfo) SetTo(v ResourceAccessInfo)
- func (s *OptResourceAccessInfo) UnmarshalJSON(data []byte) error
- type OptSIPMediaEncryptionEnum
- func (o *OptSIPMediaEncryptionEnum) Decode(d *jx.Decoder) error
- func (o OptSIPMediaEncryptionEnum) Encode(e *jx.Encoder)
- func (o OptSIPMediaEncryptionEnum) Get() (v SIPMediaEncryptionEnum, ok bool)
- func (o OptSIPMediaEncryptionEnum) IsSet() bool
- func (s OptSIPMediaEncryptionEnum) MarshalJSON() ([]byte, error)
- func (o OptSIPMediaEncryptionEnum) Or(d SIPMediaEncryptionEnum) SIPMediaEncryptionEnum
- func (o *OptSIPMediaEncryptionEnum) Reset()
- func (o *OptSIPMediaEncryptionEnum) SetTo(v SIPMediaEncryptionEnum)
- func (s *OptSIPMediaEncryptionEnum) UnmarshalJSON(data []byte) error
- type OptSIPTrunkCredentialsRequestModel
- func (o *OptSIPTrunkCredentialsRequestModel) Decode(d *jx.Decoder) error
- func (o OptSIPTrunkCredentialsRequestModel) Encode(e *jx.Encoder)
- func (o OptSIPTrunkCredentialsRequestModel) Get() (v SIPTrunkCredentialsRequestModel, ok bool)
- func (o OptSIPTrunkCredentialsRequestModel) IsSet() bool
- func (s OptSIPTrunkCredentialsRequestModel) MarshalJSON() ([]byte, error)
- func (o OptSIPTrunkCredentialsRequestModel) Or(d SIPTrunkCredentialsRequestModel) SIPTrunkCredentialsRequestModel
- func (o *OptSIPTrunkCredentialsRequestModel) Reset()
- func (o *OptSIPTrunkCredentialsRequestModel) SetTo(v SIPTrunkCredentialsRequestModel)
- func (s *OptSIPTrunkCredentialsRequestModel) UnmarshalJSON(data []byte) error
- type OptSIPTrunkTransportEnum
- func (o *OptSIPTrunkTransportEnum) Decode(d *jx.Decoder) error
- func (o OptSIPTrunkTransportEnum) Encode(e *jx.Encoder)
- func (o OptSIPTrunkTransportEnum) Get() (v SIPTrunkTransportEnum, ok bool)
- func (o OptSIPTrunkTransportEnum) IsSet() bool
- func (s OptSIPTrunkTransportEnum) MarshalJSON() ([]byte, error)
- func (o OptSIPTrunkTransportEnum) Or(d SIPTrunkTransportEnum) SIPTrunkTransportEnum
- func (o *OptSIPTrunkTransportEnum) Reset()
- func (o *OptSIPTrunkTransportEnum) SetTo(v SIPTrunkTransportEnum)
- func (s *OptSIPTrunkTransportEnum) UnmarshalJSON(data []byte) error
- type OptSectionSource
- func (o *OptSectionSource) Decode(d *jx.Decoder) error
- func (o OptSectionSource) Encode(e *jx.Encoder)
- func (o OptSectionSource) Get() (v SectionSource, ok bool)
- func (o OptSectionSource) IsSet() bool
- func (s OptSectionSource) MarshalJSON() ([]byte, error)
- func (o OptSectionSource) Or(d SectionSource) SectionSource
- func (o *OptSectionSource) Reset()
- func (o *OptSectionSource) SetTo(v SectionSource)
- func (s *OptSectionSource) UnmarshalJSON(data []byte) error
- type OptSeparateSongStemsOutputFormat
- func (o OptSeparateSongStemsOutputFormat) Get() (v SeparateSongStemsOutputFormat, ok bool)
- func (o OptSeparateSongStemsOutputFormat) IsSet() bool
- func (o OptSeparateSongStemsOutputFormat) Or(d SeparateSongStemsOutputFormat) SeparateSongStemsOutputFormat
- func (o *OptSeparateSongStemsOutputFormat) Reset()
- func (o *OptSeparateSongStemsOutputFormat) SetTo(v SeparateSongStemsOutputFormat)
- type OptSkipTurnToolResponseModelResultType
- func (o *OptSkipTurnToolResponseModelResultType) Decode(d *jx.Decoder) error
- func (o OptSkipTurnToolResponseModelResultType) Encode(e *jx.Encoder)
- func (o OptSkipTurnToolResponseModelResultType) Get() (v SkipTurnToolResponseModelResultType, ok bool)
- func (o OptSkipTurnToolResponseModelResultType) IsSet() bool
- func (s OptSkipTurnToolResponseModelResultType) MarshalJSON() ([]byte, error)
- func (o OptSkipTurnToolResponseModelResultType) Or(d SkipTurnToolResponseModelResultType) SkipTurnToolResponseModelResultType
- func (o *OptSkipTurnToolResponseModelResultType) Reset()
- func (o *OptSkipTurnToolResponseModelResultType) SetTo(v SkipTurnToolResponseModelResultType)
- func (s *OptSkipTurnToolResponseModelResultType) UnmarshalJSON(data []byte) error
- type OptSkipTurnToolResponseModelStatus
- func (o *OptSkipTurnToolResponseModelStatus) Decode(d *jx.Decoder) error
- func (o OptSkipTurnToolResponseModelStatus) Encode(e *jx.Encoder)
- func (o OptSkipTurnToolResponseModelStatus) Get() (v SkipTurnToolResponseModelStatus, ok bool)
- func (o OptSkipTurnToolResponseModelStatus) IsSet() bool
- func (s OptSkipTurnToolResponseModelStatus) MarshalJSON() ([]byte, error)
- func (o OptSkipTurnToolResponseModelStatus) Or(d SkipTurnToolResponseModelStatus) SkipTurnToolResponseModelStatus
- func (o *OptSkipTurnToolResponseModelStatus) Reset()
- func (o *OptSkipTurnToolResponseModelStatus) SetTo(v SkipTurnToolResponseModelStatus)
- func (s *OptSkipTurnToolResponseModelStatus) UnmarshalJSON(data []byte) error
- type OptSoftTimeoutConfigOverride
- func (o *OptSoftTimeoutConfigOverride) Decode(d *jx.Decoder) error
- func (o OptSoftTimeoutConfigOverride) Encode(e *jx.Encoder)
- func (o OptSoftTimeoutConfigOverride) Get() (v SoftTimeoutConfigOverride, ok bool)
- func (o OptSoftTimeoutConfigOverride) IsSet() bool
- func (s OptSoftTimeoutConfigOverride) MarshalJSON() ([]byte, error)
- func (o OptSoftTimeoutConfigOverride) Or(d SoftTimeoutConfigOverride) SoftTimeoutConfigOverride
- func (o *OptSoftTimeoutConfigOverride) Reset()
- func (o *OptSoftTimeoutConfigOverride) SetTo(v SoftTimeoutConfigOverride)
- func (s *OptSoftTimeoutConfigOverride) UnmarshalJSON(data []byte) error
- type OptSortDirection
- type OptSoundGenerationOutputFormat
- func (o OptSoundGenerationOutputFormat) Get() (v SoundGenerationOutputFormat, ok bool)
- func (o OptSoundGenerationOutputFormat) IsSet() bool
- func (o OptSoundGenerationOutputFormat) Or(d SoundGenerationOutputFormat) SoundGenerationOutputFormat
- func (o *OptSoundGenerationOutputFormat) Reset()
- func (o *OptSoundGenerationOutputFormat) SetTo(v SoundGenerationOutputFormat)
- type OptSpeakerSeparationResponseModel
- func (o *OptSpeakerSeparationResponseModel) Decode(d *jx.Decoder) error
- func (o OptSpeakerSeparationResponseModel) Encode(e *jx.Encoder)
- func (o OptSpeakerSeparationResponseModel) Get() (v SpeakerSeparationResponseModel, ok bool)
- func (o OptSpeakerSeparationResponseModel) IsSet() bool
- func (s OptSpeakerSeparationResponseModel) MarshalJSON() ([]byte, error)
- func (o OptSpeakerSeparationResponseModel) Or(d SpeakerSeparationResponseModel) SpeakerSeparationResponseModel
- func (o *OptSpeakerSeparationResponseModel) Reset()
- func (o *OptSpeakerSeparationResponseModel) SetTo(v SpeakerSeparationResponseModel)
- func (s *OptSpeakerSeparationResponseModel) UnmarshalJSON(data []byte) error
- type OptSpeechHistoryItemResponseModelSettings
- func (o *OptSpeechHistoryItemResponseModelSettings) Decode(d *jx.Decoder) error
- func (o OptSpeechHistoryItemResponseModelSettings) Encode(e *jx.Encoder)
- func (o OptSpeechHistoryItemResponseModelSettings) Get() (v *SpeechHistoryItemResponseModelSettings, ok bool)
- func (o OptSpeechHistoryItemResponseModelSettings) IsSet() bool
- func (s OptSpeechHistoryItemResponseModelSettings) MarshalJSON() ([]byte, error)
- func (o OptSpeechHistoryItemResponseModelSettings) Or(d *SpeechHistoryItemResponseModelSettings) *SpeechHistoryItemResponseModelSettings
- func (o *OptSpeechHistoryItemResponseModelSettings) Reset()
- func (o *OptSpeechHistoryItemResponseModelSettings) SetTo(v *SpeechHistoryItemResponseModelSettings)
- func (s *OptSpeechHistoryItemResponseModelSettings) UnmarshalJSON(data []byte) error
- type OptSpeechToSpeechFullOutputFormat
- func (o OptSpeechToSpeechFullOutputFormat) Get() (v SpeechToSpeechFullOutputFormat, ok bool)
- func (o OptSpeechToSpeechFullOutputFormat) IsSet() bool
- func (o OptSpeechToSpeechFullOutputFormat) Or(d SpeechToSpeechFullOutputFormat) SpeechToSpeechFullOutputFormat
- func (o *OptSpeechToSpeechFullOutputFormat) Reset()
- func (o *OptSpeechToSpeechFullOutputFormat) SetTo(v SpeechToSpeechFullOutputFormat)
- type OptSpeechToSpeechStreamOutputFormat
- func (o OptSpeechToSpeechStreamOutputFormat) Get() (v SpeechToSpeechStreamOutputFormat, ok bool)
- func (o OptSpeechToSpeechStreamOutputFormat) IsSet() bool
- func (o OptSpeechToSpeechStreamOutputFormat) Or(d SpeechToSpeechStreamOutputFormat) SpeechToSpeechStreamOutputFormat
- func (o *OptSpeechToSpeechStreamOutputFormat) Reset()
- func (o *OptSpeechToSpeechStreamOutputFormat) SetTo(v SpeechToSpeechStreamOutputFormat)
- type OptStreamComposeOutputFormat
- func (o OptStreamComposeOutputFormat) Get() (v StreamComposeOutputFormat, ok bool)
- func (o OptStreamComposeOutputFormat) IsSet() bool
- func (o OptStreamComposeOutputFormat) Or(d StreamComposeOutputFormat) StreamComposeOutputFormat
- func (o *OptStreamComposeOutputFormat) Reset()
- func (o *OptStreamComposeOutputFormat) SetTo(v StreamComposeOutputFormat)
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- type OptTTSConversationalConfigOverride
- func (o *OptTTSConversationalConfigOverride) Decode(d *jx.Decoder) error
- func (o OptTTSConversationalConfigOverride) Encode(e *jx.Encoder)
- func (o OptTTSConversationalConfigOverride) Get() (v TTSConversationalConfigOverride, ok bool)
- func (o OptTTSConversationalConfigOverride) IsSet() bool
- func (s OptTTSConversationalConfigOverride) MarshalJSON() ([]byte, error)
- func (o OptTTSConversationalConfigOverride) Or(d TTSConversationalConfigOverride) TTSConversationalConfigOverride
- func (o *OptTTSConversationalConfigOverride) Reset()
- func (o *OptTTSConversationalConfigOverride) SetTo(v TTSConversationalConfigOverride)
- func (s *OptTTSConversationalConfigOverride) UnmarshalJSON(data []byte) error
- type OptTelephonyProvider
- func (o *OptTelephonyProvider) Decode(d *jx.Decoder) error
- func (o OptTelephonyProvider) Encode(e *jx.Encoder)
- func (o OptTelephonyProvider) Get() (v TelephonyProvider, ok bool)
- func (o OptTelephonyProvider) IsSet() bool
- func (s OptTelephonyProvider) MarshalJSON() ([]byte, error)
- func (o OptTelephonyProvider) Or(d TelephonyProvider) TelephonyProvider
- func (o *OptTelephonyProvider) Reset()
- func (o *OptTelephonyProvider) SetTo(v TelephonyProvider)
- func (s *OptTelephonyProvider) UnmarshalJSON(data []byte) error
- type OptTestConditionRationaleCommonModel
- func (o *OptTestConditionRationaleCommonModel) Decode(d *jx.Decoder) error
- func (o OptTestConditionRationaleCommonModel) Encode(e *jx.Encoder)
- func (o OptTestConditionRationaleCommonModel) Get() (v TestConditionRationaleCommonModel, ok bool)
- func (o OptTestConditionRationaleCommonModel) IsSet() bool
- func (s OptTestConditionRationaleCommonModel) MarshalJSON() ([]byte, error)
- func (o OptTestConditionRationaleCommonModel) Or(d TestConditionRationaleCommonModel) TestConditionRationaleCommonModel
- func (o *OptTestConditionRationaleCommonModel) Reset()
- func (o *OptTestConditionRationaleCommonModel) SetTo(v TestConditionRationaleCommonModel)
- func (s *OptTestConditionRationaleCommonModel) UnmarshalJSON(data []byte) error
- type OptTestConditionResultCommonModel
- func (o *OptTestConditionResultCommonModel) Decode(d *jx.Decoder) error
- func (o OptTestConditionResultCommonModel) Encode(e *jx.Encoder)
- func (o OptTestConditionResultCommonModel) Get() (v TestConditionResultCommonModel, ok bool)
- func (o OptTestConditionResultCommonModel) IsSet() bool
- func (s OptTestConditionResultCommonModel) MarshalJSON() ([]byte, error)
- func (o OptTestConditionResultCommonModel) Or(d TestConditionResultCommonModel) TestConditionResultCommonModel
- func (o *OptTestConditionResultCommonModel) Reset()
- func (o *OptTestConditionResultCommonModel) SetTo(v TestConditionResultCommonModel)
- func (s *OptTestConditionResultCommonModel) UnmarshalJSON(data []byte) error
- type OptTestFromConversationMetadataInput
- func (o *OptTestFromConversationMetadataInput) Decode(d *jx.Decoder) error
- func (o OptTestFromConversationMetadataInput) Encode(e *jx.Encoder)
- func (o OptTestFromConversationMetadataInput) Get() (v TestFromConversationMetadataInput, ok bool)
- func (o OptTestFromConversationMetadataInput) IsSet() bool
- func (s OptTestFromConversationMetadataInput) MarshalJSON() ([]byte, error)
- func (o OptTestFromConversationMetadataInput) Or(d TestFromConversationMetadataInput) TestFromConversationMetadataInput
- func (o *OptTestFromConversationMetadataInput) Reset()
- func (o *OptTestFromConversationMetadataInput) SetTo(v TestFromConversationMetadataInput)
- func (s *OptTestFromConversationMetadataInput) UnmarshalJSON(data []byte) error
- type OptTestFromConversationMetadataOutput
- func (o *OptTestFromConversationMetadataOutput) Decode(d *jx.Decoder) error
- func (o OptTestFromConversationMetadataOutput) Encode(e *jx.Encoder)
- func (o OptTestFromConversationMetadataOutput) Get() (v TestFromConversationMetadataOutput, ok bool)
- func (o OptTestFromConversationMetadataOutput) IsSet() bool
- func (s OptTestFromConversationMetadataOutput) MarshalJSON() ([]byte, error)
- func (o OptTestFromConversationMetadataOutput) Or(d TestFromConversationMetadataOutput) TestFromConversationMetadataOutput
- func (o *OptTestFromConversationMetadataOutput) Reset()
- func (o *OptTestFromConversationMetadataOutput) SetTo(v TestFromConversationMetadataOutput)
- func (s *OptTestFromConversationMetadataOutput) UnmarshalJSON(data []byte) error
- type OptTestRunMetadata
- func (o *OptTestRunMetadata) Decode(d *jx.Decoder) error
- func (o OptTestRunMetadata) Encode(e *jx.Encoder)
- func (o OptTestRunMetadata) Get() (v TestRunMetadata, ok bool)
- func (o OptTestRunMetadata) IsSet() bool
- func (s OptTestRunMetadata) MarshalJSON() ([]byte, error)
- func (o OptTestRunMetadata) Or(d TestRunMetadata) TestRunMetadata
- func (o *OptTestRunMetadata) Reset()
- func (o *OptTestRunMetadata) SetTo(v TestRunMetadata)
- func (s *OptTestRunMetadata) UnmarshalJSON(data []byte) error
- type OptTestRunMetadataTestType
- func (o *OptTestRunMetadataTestType) Decode(d *jx.Decoder) error
- func (o OptTestRunMetadataTestType) Encode(e *jx.Encoder)
- func (o OptTestRunMetadataTestType) Get() (v TestRunMetadataTestType, ok bool)
- func (o OptTestRunMetadataTestType) IsSet() bool
- func (s OptTestRunMetadataTestType) MarshalJSON() ([]byte, error)
- func (o OptTestRunMetadataTestType) Or(d TestRunMetadataTestType) TestRunMetadataTestType
- func (o *OptTestRunMetadataTestType) Reset()
- func (o *OptTestRunMetadataTestType) SetTo(v TestRunMetadataTestType)
- func (s *OptTestRunMetadataTestType) UnmarshalJSON(data []byte) error
- type OptTestToolResultModelResultType
- func (o *OptTestToolResultModelResultType) Decode(d *jx.Decoder) error
- func (o OptTestToolResultModelResultType) Encode(e *jx.Encoder)
- func (o OptTestToolResultModelResultType) Get() (v TestToolResultModelResultType, ok bool)
- func (o OptTestToolResultModelResultType) IsSet() bool
- func (s OptTestToolResultModelResultType) MarshalJSON() ([]byte, error)
- func (o OptTestToolResultModelResultType) Or(d TestToolResultModelResultType) TestToolResultModelResultType
- func (o *OptTestToolResultModelResultType) Reset()
- func (o *OptTestToolResultModelResultType) SetTo(v TestToolResultModelResultType)
- func (s *OptTestToolResultModelResultType) UnmarshalJSON(data []byte) error
- type OptTestToolResultModelStatus
- func (o *OptTestToolResultModelStatus) Decode(d *jx.Decoder) error
- func (o OptTestToolResultModelStatus) Encode(e *jx.Encoder)
- func (o OptTestToolResultModelStatus) Get() (v TestToolResultModelStatus, ok bool)
- func (o OptTestToolResultModelStatus) IsSet() bool
- func (s OptTestToolResultModelStatus) MarshalJSON() ([]byte, error)
- func (o OptTestToolResultModelStatus) Or(d TestToolResultModelStatus) TestToolResultModelStatus
- func (o *OptTestToolResultModelStatus) Reset()
- func (o *OptTestToolResultModelStatus) SetTo(v TestToolResultModelStatus)
- func (s *OptTestToolResultModelStatus) UnmarshalJSON(data []byte) error
- type OptTestsFeatureUsageCommonModel
- func (o *OptTestsFeatureUsageCommonModel) Decode(d *jx.Decoder) error
- func (o OptTestsFeatureUsageCommonModel) Encode(e *jx.Encoder)
- func (o OptTestsFeatureUsageCommonModel) Get() (v TestsFeatureUsageCommonModel, ok bool)
- func (o OptTestsFeatureUsageCommonModel) IsSet() bool
- func (s OptTestsFeatureUsageCommonModel) MarshalJSON() ([]byte, error)
- func (o OptTestsFeatureUsageCommonModel) Or(d TestsFeatureUsageCommonModel) TestsFeatureUsageCommonModel
- func (o *OptTestsFeatureUsageCommonModel) Reset()
- func (o *OptTestsFeatureUsageCommonModel) SetTo(v TestsFeatureUsageCommonModel)
- func (s *OptTestsFeatureUsageCommonModel) UnmarshalJSON(data []byte) error
- type OptTextToDialogueFullWithTimestampsOutputFormat
- func (o OptTextToDialogueFullWithTimestampsOutputFormat) Get() (v TextToDialogueFullWithTimestampsOutputFormat, ok bool)
- func (o OptTextToDialogueFullWithTimestampsOutputFormat) IsSet() bool
- func (o OptTextToDialogueFullWithTimestampsOutputFormat) Or(d TextToDialogueFullWithTimestampsOutputFormat) TextToDialogueFullWithTimestampsOutputFormat
- func (o *OptTextToDialogueFullWithTimestampsOutputFormat) Reset()
- func (o *OptTextToDialogueFullWithTimestampsOutputFormat) SetTo(v TextToDialogueFullWithTimestampsOutputFormat)
- type OptTextToDialogueOutputFormat
- func (o OptTextToDialogueOutputFormat) Get() (v TextToDialogueOutputFormat, ok bool)
- func (o OptTextToDialogueOutputFormat) IsSet() bool
- func (o OptTextToDialogueOutputFormat) Or(d TextToDialogueOutputFormat) TextToDialogueOutputFormat
- func (o *OptTextToDialogueOutputFormat) Reset()
- func (o *OptTextToDialogueOutputFormat) SetTo(v TextToDialogueOutputFormat)
- type OptTextToDialogueStreamOutputFormat
- func (o OptTextToDialogueStreamOutputFormat) Get() (v TextToDialogueStreamOutputFormat, ok bool)
- func (o OptTextToDialogueStreamOutputFormat) IsSet() bool
- func (o OptTextToDialogueStreamOutputFormat) Or(d TextToDialogueStreamOutputFormat) TextToDialogueStreamOutputFormat
- func (o *OptTextToDialogueStreamOutputFormat) Reset()
- func (o *OptTextToDialogueStreamOutputFormat) SetTo(v TextToDialogueStreamOutputFormat)
- type OptTextToDialogueStreamWithTimestampsOutputFormat
- func (o OptTextToDialogueStreamWithTimestampsOutputFormat) Get() (v TextToDialogueStreamWithTimestampsOutputFormat, ok bool)
- func (o OptTextToDialogueStreamWithTimestampsOutputFormat) IsSet() bool
- func (o OptTextToDialogueStreamWithTimestampsOutputFormat) Or(d TextToDialogueStreamWithTimestampsOutputFormat) TextToDialogueStreamWithTimestampsOutputFormat
- func (o *OptTextToDialogueStreamWithTimestampsOutputFormat) Reset()
- func (o *OptTextToDialogueStreamWithTimestampsOutputFormat) SetTo(v TextToDialogueStreamWithTimestampsOutputFormat)
- type OptTextToSpeechFullOutputFormat
- func (o OptTextToSpeechFullOutputFormat) Get() (v TextToSpeechFullOutputFormat, ok bool)
- func (o OptTextToSpeechFullOutputFormat) IsSet() bool
- func (o OptTextToSpeechFullOutputFormat) Or(d TextToSpeechFullOutputFormat) TextToSpeechFullOutputFormat
- func (o *OptTextToSpeechFullOutputFormat) Reset()
- func (o *OptTextToSpeechFullOutputFormat) SetTo(v TextToSpeechFullOutputFormat)
- type OptTextToSpeechFullWithTimestampsOutputFormat
- func (o OptTextToSpeechFullWithTimestampsOutputFormat) Get() (v TextToSpeechFullWithTimestampsOutputFormat, ok bool)
- func (o OptTextToSpeechFullWithTimestampsOutputFormat) IsSet() bool
- func (o OptTextToSpeechFullWithTimestampsOutputFormat) Or(d TextToSpeechFullWithTimestampsOutputFormat) TextToSpeechFullWithTimestampsOutputFormat
- func (o *OptTextToSpeechFullWithTimestampsOutputFormat) Reset()
- func (o *OptTextToSpeechFullWithTimestampsOutputFormat) SetTo(v TextToSpeechFullWithTimestampsOutputFormat)
- type OptTextToSpeechStreamOutputFormat
- func (o OptTextToSpeechStreamOutputFormat) Get() (v TextToSpeechStreamOutputFormat, ok bool)
- func (o OptTextToSpeechStreamOutputFormat) IsSet() bool
- func (o OptTextToSpeechStreamOutputFormat) Or(d TextToSpeechStreamOutputFormat) TextToSpeechStreamOutputFormat
- func (o *OptTextToSpeechStreamOutputFormat) Reset()
- func (o *OptTextToSpeechStreamOutputFormat) SetTo(v TextToSpeechStreamOutputFormat)
- type OptTextToSpeechStreamWithTimestampsOutputFormat
- func (o OptTextToSpeechStreamWithTimestampsOutputFormat) Get() (v TextToSpeechStreamWithTimestampsOutputFormat, ok bool)
- func (o OptTextToSpeechStreamWithTimestampsOutputFormat) IsSet() bool
- func (o OptTextToSpeechStreamWithTimestampsOutputFormat) Or(d TextToSpeechStreamWithTimestampsOutputFormat) TextToSpeechStreamWithTimestampsOutputFormat
- func (o *OptTextToSpeechStreamWithTimestampsOutputFormat) Reset()
- func (o *OptTextToSpeechStreamWithTimestampsOutputFormat) SetTo(v TextToSpeechStreamWithTimestampsOutputFormat)
- type OptTextToVoiceDesignOutputFormat
- func (o OptTextToVoiceDesignOutputFormat) Get() (v TextToVoiceDesignOutputFormat, ok bool)
- func (o OptTextToVoiceDesignOutputFormat) IsSet() bool
- func (o OptTextToVoiceDesignOutputFormat) Or(d TextToVoiceDesignOutputFormat) TextToVoiceDesignOutputFormat
- func (o *OptTextToVoiceDesignOutputFormat) Reset()
- func (o *OptTextToVoiceDesignOutputFormat) SetTo(v TextToVoiceDesignOutputFormat)
- type OptTextToVoiceOutputFormat
- func (o OptTextToVoiceOutputFormat) Get() (v TextToVoiceOutputFormat, ok bool)
- func (o OptTextToVoiceOutputFormat) IsSet() bool
- func (o OptTextToVoiceOutputFormat) Or(d TextToVoiceOutputFormat) TextToVoiceOutputFormat
- func (o *OptTextToVoiceOutputFormat) Reset()
- func (o *OptTextToVoiceOutputFormat) SetTo(v TextToVoiceOutputFormat)
- type OptTextToVoiceRemixOutputFormat
- func (o OptTextToVoiceRemixOutputFormat) Get() (v TextToVoiceRemixOutputFormat, ok bool)
- func (o OptTextToVoiceRemixOutputFormat) IsSet() bool
- func (o OptTextToVoiceRemixOutputFormat) Or(d TextToVoiceRemixOutputFormat) TextToVoiceRemixOutputFormat
- func (o *OptTextToVoiceRemixOutputFormat) Reset()
- func (o *OptTextToVoiceRemixOutputFormat) SetTo(v TextToVoiceRemixOutputFormat)
- type OptToolAnnotations
- func (o *OptToolAnnotations) Decode(d *jx.Decoder) error
- func (o OptToolAnnotations) Encode(e *jx.Encoder)
- func (o OptToolAnnotations) Get() (v ToolAnnotations, ok bool)
- func (o OptToolAnnotations) IsSet() bool
- func (s OptToolAnnotations) MarshalJSON() ([]byte, error)
- func (o OptToolAnnotations) Or(d ToolAnnotations) ToolAnnotations
- func (o *OptToolAnnotations) Reset()
- func (o *OptToolAnnotations) SetTo(v ToolAnnotations)
- func (s *OptToolAnnotations) UnmarshalJSON(data []byte) error
- type OptToolCallSoundBehavior
- func (o *OptToolCallSoundBehavior) Decode(d *jx.Decoder) error
- func (o OptToolCallSoundBehavior) Encode(e *jx.Encoder)
- func (o OptToolCallSoundBehavior) Get() (v ToolCallSoundBehavior, ok bool)
- func (o OptToolCallSoundBehavior) IsSet() bool
- func (s OptToolCallSoundBehavior) MarshalJSON() ([]byte, error)
- func (o OptToolCallSoundBehavior) Or(d ToolCallSoundBehavior) ToolCallSoundBehavior
- func (o *OptToolCallSoundBehavior) Reset()
- func (o *OptToolCallSoundBehavior) SetTo(v ToolCallSoundBehavior)
- func (s *OptToolCallSoundBehavior) UnmarshalJSON(data []byte) error
- type OptToolCallSoundType
- func (o *OptToolCallSoundType) Decode(d *jx.Decoder) error
- func (o OptToolCallSoundType) Encode(e *jx.Encoder)
- func (o OptToolCallSoundType) Get() (v ToolCallSoundType, ok bool)
- func (o OptToolCallSoundType) IsSet() bool
- func (s OptToolCallSoundType) MarshalJSON() ([]byte, error)
- func (o OptToolCallSoundType) Or(d ToolCallSoundType) ToolCallSoundType
- func (o *OptToolCallSoundType) Reset()
- func (o *OptToolCallSoundType) SetTo(v ToolCallSoundType)
- func (s *OptToolCallSoundType) UnmarshalJSON(data []byte) error
- type OptToolExecutionMode
- func (o *OptToolExecutionMode) Decode(d *jx.Decoder) error
- func (o OptToolExecutionMode) Encode(e *jx.Encoder)
- func (o OptToolExecutionMode) Get() (v ToolExecutionMode, ok bool)
- func (o OptToolExecutionMode) IsSet() bool
- func (s OptToolExecutionMode) MarshalJSON() ([]byte, error)
- func (o OptToolExecutionMode) Or(d ToolExecutionMode) ToolExecutionMode
- func (o *OptToolExecutionMode) Reset()
- func (o *OptToolExecutionMode) SetTo(v ToolExecutionMode)
- func (s *OptToolExecutionMode) UnmarshalJSON(data []byte) error
- type OptToolMeta
- func (o *OptToolMeta) Decode(d *jx.Decoder) error
- func (o OptToolMeta) Encode(e *jx.Encoder)
- func (o OptToolMeta) Get() (v *ToolMeta, ok bool)
- func (o OptToolMeta) IsSet() bool
- func (s OptToolMeta) MarshalJSON() ([]byte, error)
- func (o OptToolMeta) Or(d *ToolMeta) *ToolMeta
- func (o *OptToolMeta) Reset()
- func (o *OptToolMeta) SetTo(v *ToolMeta)
- func (s *OptToolMeta) UnmarshalJSON(data []byte) error
- type OptToolOutputSchema
- func (o *OptToolOutputSchema) Decode(d *jx.Decoder) error
- func (o OptToolOutputSchema) Encode(e *jx.Encoder)
- func (o OptToolOutputSchema) Get() (v *ToolOutputSchema, ok bool)
- func (o OptToolOutputSchema) IsSet() bool
- func (s OptToolOutputSchema) MarshalJSON() ([]byte, error)
- func (o OptToolOutputSchema) Or(d *ToolOutputSchema) *ToolOutputSchema
- func (o *OptToolOutputSchema) Reset()
- func (o *OptToolOutputSchema) SetTo(v *ToolOutputSchema)
- func (s *OptToolOutputSchema) UnmarshalJSON(data []byte) error
- type OptToolType
- func (o *OptToolType) Decode(d *jx.Decoder) error
- func (o OptToolType) Encode(e *jx.Encoder)
- func (o OptToolType) Get() (v ToolType, ok bool)
- func (o OptToolType) IsSet() bool
- func (s OptToolType) MarshalJSON() ([]byte, error)
- func (o OptToolType) Or(d ToolType) ToolType
- func (o *OptToolType) Reset()
- func (o *OptToolType) SetTo(v ToolType)
- func (s *OptToolType) UnmarshalJSON(data []byte) error
- type OptTransferToAgentToolResultErrorModelResultType
- func (o *OptTransferToAgentToolResultErrorModelResultType) Decode(d *jx.Decoder) error
- func (o OptTransferToAgentToolResultErrorModelResultType) Encode(e *jx.Encoder)
- func (o OptTransferToAgentToolResultErrorModelResultType) Get() (v TransferToAgentToolResultErrorModelResultType, ok bool)
- func (o OptTransferToAgentToolResultErrorModelResultType) IsSet() bool
- func (s OptTransferToAgentToolResultErrorModelResultType) MarshalJSON() ([]byte, error)
- func (o OptTransferToAgentToolResultErrorModelResultType) Or(d TransferToAgentToolResultErrorModelResultType) TransferToAgentToolResultErrorModelResultType
- func (o *OptTransferToAgentToolResultErrorModelResultType) Reset()
- func (o *OptTransferToAgentToolResultErrorModelResultType) SetTo(v TransferToAgentToolResultErrorModelResultType)
- func (s *OptTransferToAgentToolResultErrorModelResultType) UnmarshalJSON(data []byte) error
- type OptTransferToAgentToolResultErrorModelStatus
- func (o *OptTransferToAgentToolResultErrorModelStatus) Decode(d *jx.Decoder) error
- func (o OptTransferToAgentToolResultErrorModelStatus) Encode(e *jx.Encoder)
- func (o OptTransferToAgentToolResultErrorModelStatus) Get() (v TransferToAgentToolResultErrorModelStatus, ok bool)
- func (o OptTransferToAgentToolResultErrorModelStatus) IsSet() bool
- func (s OptTransferToAgentToolResultErrorModelStatus) MarshalJSON() ([]byte, error)
- func (o OptTransferToAgentToolResultErrorModelStatus) Or(d TransferToAgentToolResultErrorModelStatus) TransferToAgentToolResultErrorModelStatus
- func (o *OptTransferToAgentToolResultErrorModelStatus) Reset()
- func (o *OptTransferToAgentToolResultErrorModelStatus) SetTo(v TransferToAgentToolResultErrorModelStatus)
- func (s *OptTransferToAgentToolResultErrorModelStatus) UnmarshalJSON(data []byte) error
- type OptTransferToAgentToolResultSuccessModelResultType
- func (o *OptTransferToAgentToolResultSuccessModelResultType) Decode(d *jx.Decoder) error
- func (o OptTransferToAgentToolResultSuccessModelResultType) Encode(e *jx.Encoder)
- func (o OptTransferToAgentToolResultSuccessModelResultType) Get() (v TransferToAgentToolResultSuccessModelResultType, ok bool)
- func (o OptTransferToAgentToolResultSuccessModelResultType) IsSet() bool
- func (s OptTransferToAgentToolResultSuccessModelResultType) MarshalJSON() ([]byte, error)
- func (o OptTransferToAgentToolResultSuccessModelResultType) Or(d TransferToAgentToolResultSuccessModelResultType) TransferToAgentToolResultSuccessModelResultType
- func (o *OptTransferToAgentToolResultSuccessModelResultType) Reset()
- func (o *OptTransferToAgentToolResultSuccessModelResultType) SetTo(v TransferToAgentToolResultSuccessModelResultType)
- func (s *OptTransferToAgentToolResultSuccessModelResultType) UnmarshalJSON(data []byte) error
- type OptTransferToAgentToolResultSuccessModelStatus
- func (o *OptTransferToAgentToolResultSuccessModelStatus) Decode(d *jx.Decoder) error
- func (o OptTransferToAgentToolResultSuccessModelStatus) Encode(e *jx.Encoder)
- func (o OptTransferToAgentToolResultSuccessModelStatus) Get() (v TransferToAgentToolResultSuccessModelStatus, ok bool)
- func (o OptTransferToAgentToolResultSuccessModelStatus) IsSet() bool
- func (s OptTransferToAgentToolResultSuccessModelStatus) MarshalJSON() ([]byte, error)
- func (o OptTransferToAgentToolResultSuccessModelStatus) Or(d TransferToAgentToolResultSuccessModelStatus) TransferToAgentToolResultSuccessModelStatus
- func (o *OptTransferToAgentToolResultSuccessModelStatus) Reset()
- func (o *OptTransferToAgentToolResultSuccessModelStatus) SetTo(v TransferToAgentToolResultSuccessModelStatus)
- func (s *OptTransferToAgentToolResultSuccessModelStatus) UnmarshalJSON(data []byte) error
- type OptTransferToNumberResultErrorModelResultType
- func (o *OptTransferToNumberResultErrorModelResultType) Decode(d *jx.Decoder) error
- func (o OptTransferToNumberResultErrorModelResultType) Encode(e *jx.Encoder)
- func (o OptTransferToNumberResultErrorModelResultType) Get() (v TransferToNumberResultErrorModelResultType, ok bool)
- func (o OptTransferToNumberResultErrorModelResultType) IsSet() bool
- func (s OptTransferToNumberResultErrorModelResultType) MarshalJSON() ([]byte, error)
- func (o OptTransferToNumberResultErrorModelResultType) Or(d TransferToNumberResultErrorModelResultType) TransferToNumberResultErrorModelResultType
- func (o *OptTransferToNumberResultErrorModelResultType) Reset()
- func (o *OptTransferToNumberResultErrorModelResultType) SetTo(v TransferToNumberResultErrorModelResultType)
- func (s *OptTransferToNumberResultErrorModelResultType) UnmarshalJSON(data []byte) error
- type OptTransferToNumberResultErrorModelStatus
- func (o *OptTransferToNumberResultErrorModelStatus) Decode(d *jx.Decoder) error
- func (o OptTransferToNumberResultErrorModelStatus) Encode(e *jx.Encoder)
- func (o OptTransferToNumberResultErrorModelStatus) Get() (v TransferToNumberResultErrorModelStatus, ok bool)
- func (o OptTransferToNumberResultErrorModelStatus) IsSet() bool
- func (s OptTransferToNumberResultErrorModelStatus) MarshalJSON() ([]byte, error)
- func (o OptTransferToNumberResultErrorModelStatus) Or(d TransferToNumberResultErrorModelStatus) TransferToNumberResultErrorModelStatus
- func (o *OptTransferToNumberResultErrorModelStatus) Reset()
- func (o *OptTransferToNumberResultErrorModelStatus) SetTo(v TransferToNumberResultErrorModelStatus)
- func (s *OptTransferToNumberResultErrorModelStatus) UnmarshalJSON(data []byte) error
- type OptTransferToNumberResultSipSuccessModelResultType
- func (o *OptTransferToNumberResultSipSuccessModelResultType) Decode(d *jx.Decoder) error
- func (o OptTransferToNumberResultSipSuccessModelResultType) Encode(e *jx.Encoder)
- func (o OptTransferToNumberResultSipSuccessModelResultType) Get() (v TransferToNumberResultSipSuccessModelResultType, ok bool)
- func (o OptTransferToNumberResultSipSuccessModelResultType) IsSet() bool
- func (s OptTransferToNumberResultSipSuccessModelResultType) MarshalJSON() ([]byte, error)
- func (o OptTransferToNumberResultSipSuccessModelResultType) Or(d TransferToNumberResultSipSuccessModelResultType) TransferToNumberResultSipSuccessModelResultType
- func (o *OptTransferToNumberResultSipSuccessModelResultType) Reset()
- func (o *OptTransferToNumberResultSipSuccessModelResultType) SetTo(v TransferToNumberResultSipSuccessModelResultType)
- func (s *OptTransferToNumberResultSipSuccessModelResultType) UnmarshalJSON(data []byte) error
- type OptTransferToNumberResultSipSuccessModelStatus
- func (o *OptTransferToNumberResultSipSuccessModelStatus) Decode(d *jx.Decoder) error
- func (o OptTransferToNumberResultSipSuccessModelStatus) Encode(e *jx.Encoder)
- func (o OptTransferToNumberResultSipSuccessModelStatus) Get() (v TransferToNumberResultSipSuccessModelStatus, ok bool)
- func (o OptTransferToNumberResultSipSuccessModelStatus) IsSet() bool
- func (s OptTransferToNumberResultSipSuccessModelStatus) MarshalJSON() ([]byte, error)
- func (o OptTransferToNumberResultSipSuccessModelStatus) Or(d TransferToNumberResultSipSuccessModelStatus) TransferToNumberResultSipSuccessModelStatus
- func (o *OptTransferToNumberResultSipSuccessModelStatus) Reset()
- func (o *OptTransferToNumberResultSipSuccessModelStatus) SetTo(v TransferToNumberResultSipSuccessModelStatus)
- func (s *OptTransferToNumberResultSipSuccessModelStatus) UnmarshalJSON(data []byte) error
- type OptTransferToNumberResultTwilioSuccessModelResultType
- func (o *OptTransferToNumberResultTwilioSuccessModelResultType) Decode(d *jx.Decoder) error
- func (o OptTransferToNumberResultTwilioSuccessModelResultType) Encode(e *jx.Encoder)
- func (o OptTransferToNumberResultTwilioSuccessModelResultType) Get() (v TransferToNumberResultTwilioSuccessModelResultType, ok bool)
- func (o OptTransferToNumberResultTwilioSuccessModelResultType) IsSet() bool
- func (s OptTransferToNumberResultTwilioSuccessModelResultType) MarshalJSON() ([]byte, error)
- func (o OptTransferToNumberResultTwilioSuccessModelResultType) Or(d TransferToNumberResultTwilioSuccessModelResultType) TransferToNumberResultTwilioSuccessModelResultType
- func (o *OptTransferToNumberResultTwilioSuccessModelResultType) Reset()
- func (o *OptTransferToNumberResultTwilioSuccessModelResultType) SetTo(v TransferToNumberResultTwilioSuccessModelResultType)
- func (s *OptTransferToNumberResultTwilioSuccessModelResultType) UnmarshalJSON(data []byte) error
- type OptTransferToNumberResultTwilioSuccessModelStatus
- func (o *OptTransferToNumberResultTwilioSuccessModelStatus) Decode(d *jx.Decoder) error
- func (o OptTransferToNumberResultTwilioSuccessModelStatus) Encode(e *jx.Encoder)
- func (o OptTransferToNumberResultTwilioSuccessModelStatus) Get() (v TransferToNumberResultTwilioSuccessModelStatus, ok bool)
- func (o OptTransferToNumberResultTwilioSuccessModelStatus) IsSet() bool
- func (s OptTransferToNumberResultTwilioSuccessModelStatus) MarshalJSON() ([]byte, error)
- func (o OptTransferToNumberResultTwilioSuccessModelStatus) Or(d TransferToNumberResultTwilioSuccessModelStatus) TransferToNumberResultTwilioSuccessModelStatus
- func (o *OptTransferToNumberResultTwilioSuccessModelStatus) Reset()
- func (o *OptTransferToNumberResultTwilioSuccessModelStatus) SetTo(v TransferToNumberResultTwilioSuccessModelStatus)
- func (s *OptTransferToNumberResultTwilioSuccessModelStatus) UnmarshalJSON(data []byte) error
- type OptTurnConfigOverride
- func (o *OptTurnConfigOverride) Decode(d *jx.Decoder) error
- func (o OptTurnConfigOverride) Encode(e *jx.Encoder)
- func (o OptTurnConfigOverride) Get() (v TurnConfigOverride, ok bool)
- func (o OptTurnConfigOverride) IsSet() bool
- func (s OptTurnConfigOverride) MarshalJSON() ([]byte, error)
- func (o OptTurnConfigOverride) Or(d TurnConfigOverride) TurnConfigOverride
- func (o *OptTurnConfigOverride) Reset()
- func (o *OptTurnConfigOverride) SetTo(v TurnConfigOverride)
- func (s *OptTurnConfigOverride) UnmarshalJSON(data []byte) error
- type OptUnitTestCommonModel
- func (o *OptUnitTestCommonModel) Decode(d *jx.Decoder) error
- func (o OptUnitTestCommonModel) Encode(e *jx.Encoder)
- func (o OptUnitTestCommonModel) Get() (v UnitTestCommonModel, ok bool)
- func (o OptUnitTestCommonModel) IsSet() bool
- func (s OptUnitTestCommonModel) MarshalJSON() ([]byte, error)
- func (o OptUnitTestCommonModel) Or(d UnitTestCommonModel) UnitTestCommonModel
- func (o *OptUnitTestCommonModel) Reset()
- func (o *OptUnitTestCommonModel) SetTo(v UnitTestCommonModel)
- func (s *OptUnitTestCommonModel) UnmarshalJSON(data []byte) error
- type OptUnitTestCommonModelDynamicVariables
- func (o *OptUnitTestCommonModelDynamicVariables) Decode(d *jx.Decoder) error
- func (o OptUnitTestCommonModelDynamicVariables) Encode(e *jx.Encoder)
- func (o OptUnitTestCommonModelDynamicVariables) Get() (v UnitTestCommonModelDynamicVariables, ok bool)
- func (o OptUnitTestCommonModelDynamicVariables) IsSet() bool
- func (s OptUnitTestCommonModelDynamicVariables) MarshalJSON() ([]byte, error)
- func (o OptUnitTestCommonModelDynamicVariables) Or(d UnitTestCommonModelDynamicVariables) UnitTestCommonModelDynamicVariables
- func (o *OptUnitTestCommonModelDynamicVariables) Reset()
- func (o *OptUnitTestCommonModelDynamicVariables) SetTo(v UnitTestCommonModelDynamicVariables)
- func (s *OptUnitTestCommonModelDynamicVariables) UnmarshalJSON(data []byte) error
- type OptUnitTestCommonModelType
- func (o *OptUnitTestCommonModelType) Decode(d *jx.Decoder) error
- func (o OptUnitTestCommonModelType) Encode(e *jx.Encoder)
- func (o OptUnitTestCommonModelType) Get() (v UnitTestCommonModelType, ok bool)
- func (o OptUnitTestCommonModelType) IsSet() bool
- func (s OptUnitTestCommonModelType) MarshalJSON() ([]byte, error)
- func (o OptUnitTestCommonModelType) Or(d UnitTestCommonModelType) UnitTestCommonModelType
- func (o *OptUnitTestCommonModelType) Reset()
- func (o *OptUnitTestCommonModelType) SetTo(v UnitTestCommonModelType)
- func (s *OptUnitTestCommonModelType) UnmarshalJSON(data []byte) error
- type OptUnitTestToolCallEvaluationModelInput
- func (o *OptUnitTestToolCallEvaluationModelInput) Decode(d *jx.Decoder) error
- func (o OptUnitTestToolCallEvaluationModelInput) Encode(e *jx.Encoder)
- func (o OptUnitTestToolCallEvaluationModelInput) Get() (v UnitTestToolCallEvaluationModelInput, ok bool)
- func (o OptUnitTestToolCallEvaluationModelInput) IsSet() bool
- func (s OptUnitTestToolCallEvaluationModelInput) MarshalJSON() ([]byte, error)
- func (o OptUnitTestToolCallEvaluationModelInput) Or(d UnitTestToolCallEvaluationModelInput) UnitTestToolCallEvaluationModelInput
- func (o *OptUnitTestToolCallEvaluationModelInput) Reset()
- func (o *OptUnitTestToolCallEvaluationModelInput) SetTo(v UnitTestToolCallEvaluationModelInput)
- func (s *OptUnitTestToolCallEvaluationModelInput) UnmarshalJSON(data []byte) error
- type OptUnitTestToolCallEvaluationModelOutput
- func (o *OptUnitTestToolCallEvaluationModelOutput) Decode(d *jx.Decoder) error
- func (o OptUnitTestToolCallEvaluationModelOutput) Encode(e *jx.Encoder)
- func (o OptUnitTestToolCallEvaluationModelOutput) Get() (v UnitTestToolCallEvaluationModelOutput, ok bool)
- func (o OptUnitTestToolCallEvaluationModelOutput) IsSet() bool
- func (s OptUnitTestToolCallEvaluationModelOutput) MarshalJSON() ([]byte, error)
- func (o OptUnitTestToolCallEvaluationModelOutput) Or(d UnitTestToolCallEvaluationModelOutput) UnitTestToolCallEvaluationModelOutput
- func (o *OptUnitTestToolCallEvaluationModelOutput) Reset()
- func (o *OptUnitTestToolCallEvaluationModelOutput) SetTo(v UnitTestToolCallEvaluationModelOutput)
- func (s *OptUnitTestToolCallEvaluationModelOutput) UnmarshalJSON(data []byte) error
- type OptUpdateUnitTestRequestDynamicVariables
- func (o *OptUpdateUnitTestRequestDynamicVariables) Decode(d *jx.Decoder) error
- func (o OptUpdateUnitTestRequestDynamicVariables) Encode(e *jx.Encoder)
- func (o OptUpdateUnitTestRequestDynamicVariables) Get() (v UpdateUnitTestRequestDynamicVariables, ok bool)
- func (o OptUpdateUnitTestRequestDynamicVariables) IsSet() bool
- func (s OptUpdateUnitTestRequestDynamicVariables) MarshalJSON() ([]byte, error)
- func (o OptUpdateUnitTestRequestDynamicVariables) Or(d UpdateUnitTestRequestDynamicVariables) UpdateUnitTestRequestDynamicVariables
- func (o *OptUpdateUnitTestRequestDynamicVariables) Reset()
- func (o *OptUpdateUnitTestRequestDynamicVariables) SetTo(v UpdateUnitTestRequestDynamicVariables)
- func (s *OptUpdateUnitTestRequestDynamicVariables) UnmarshalJSON(data []byte) error
- type OptUsageAggregationInterval
- func (o OptUsageAggregationInterval) Get() (v UsageAggregationInterval, ok bool)
- func (o OptUsageAggregationInterval) IsSet() bool
- func (o OptUsageAggregationInterval) Or(d UsageAggregationInterval) UsageAggregationInterval
- func (o *OptUsageAggregationInterval) Reset()
- func (o *OptUsageAggregationInterval) SetTo(v UsageAggregationInterval)
- type OptUserFeedback
- func (o *OptUserFeedback) Decode(d *jx.Decoder) error
- func (o OptUserFeedback) Encode(e *jx.Encoder)
- func (o OptUserFeedback) Get() (v UserFeedback, ok bool)
- func (o OptUserFeedback) IsSet() bool
- func (s OptUserFeedback) MarshalJSON() ([]byte, error)
- func (o OptUserFeedback) Or(d UserFeedback) UserFeedback
- func (o *OptUserFeedback) Reset()
- func (o *OptUserFeedback) SetTo(v UserFeedback)
- func (s *OptUserFeedback) UnmarshalJSON(data []byte) error
- type OptUserFeedbackScore
- func (o *OptUserFeedbackScore) Decode(d *jx.Decoder) error
- func (o OptUserFeedbackScore) Encode(e *jx.Encoder)
- func (o OptUserFeedbackScore) Get() (v UserFeedbackScore, ok bool)
- func (o OptUserFeedbackScore) IsSet() bool
- func (s OptUserFeedbackScore) MarshalJSON() ([]byte, error)
- func (o OptUserFeedbackScore) Or(d UserFeedbackScore) UserFeedbackScore
- func (o *OptUserFeedbackScore) Reset()
- func (o *OptUserFeedbackScore) SetTo(v UserFeedbackScore)
- func (s *OptUserFeedbackScore) UnmarshalJSON(data []byte) error
- type OptVoiceDesignRequestModelModelID
- func (o *OptVoiceDesignRequestModelModelID) Decode(d *jx.Decoder) error
- func (o OptVoiceDesignRequestModelModelID) Encode(e *jx.Encoder)
- func (o OptVoiceDesignRequestModelModelID) Get() (v VoiceDesignRequestModelModelID, ok bool)
- func (o OptVoiceDesignRequestModelModelID) IsSet() bool
- func (s OptVoiceDesignRequestModelModelID) MarshalJSON() ([]byte, error)
- func (o OptVoiceDesignRequestModelModelID) Or(d VoiceDesignRequestModelModelID) VoiceDesignRequestModelModelID
- func (o *OptVoiceDesignRequestModelModelID) Reset()
- func (o *OptVoiceDesignRequestModelModelID) SetTo(v VoiceDesignRequestModelModelID)
- func (s *OptVoiceDesignRequestModelModelID) UnmarshalJSON(data []byte) error
- type OptVoiceMailDetectionResultSuccessModelResultType
- func (o *OptVoiceMailDetectionResultSuccessModelResultType) Decode(d *jx.Decoder) error
- func (o OptVoiceMailDetectionResultSuccessModelResultType) Encode(e *jx.Encoder)
- func (o OptVoiceMailDetectionResultSuccessModelResultType) Get() (v VoiceMailDetectionResultSuccessModelResultType, ok bool)
- func (o OptVoiceMailDetectionResultSuccessModelResultType) IsSet() bool
- func (s OptVoiceMailDetectionResultSuccessModelResultType) MarshalJSON() ([]byte, error)
- func (o OptVoiceMailDetectionResultSuccessModelResultType) Or(d VoiceMailDetectionResultSuccessModelResultType) VoiceMailDetectionResultSuccessModelResultType
- func (o *OptVoiceMailDetectionResultSuccessModelResultType) Reset()
- func (o *OptVoiceMailDetectionResultSuccessModelResultType) SetTo(v VoiceMailDetectionResultSuccessModelResultType)
- func (s *OptVoiceMailDetectionResultSuccessModelResultType) UnmarshalJSON(data []byte) error
- type OptVoiceMailDetectionResultSuccessModelStatus
- func (o *OptVoiceMailDetectionResultSuccessModelStatus) Decode(d *jx.Decoder) error
- func (o OptVoiceMailDetectionResultSuccessModelStatus) Encode(e *jx.Encoder)
- func (o OptVoiceMailDetectionResultSuccessModelStatus) Get() (v VoiceMailDetectionResultSuccessModelStatus, ok bool)
- func (o OptVoiceMailDetectionResultSuccessModelStatus) IsSet() bool
- func (s OptVoiceMailDetectionResultSuccessModelStatus) MarshalJSON() ([]byte, error)
- func (o OptVoiceMailDetectionResultSuccessModelStatus) Or(d VoiceMailDetectionResultSuccessModelStatus) VoiceMailDetectionResultSuccessModelStatus
- func (o *OptVoiceMailDetectionResultSuccessModelStatus) Reset()
- func (o *OptVoiceMailDetectionResultSuccessModelStatus) SetTo(v VoiceMailDetectionResultSuccessModelStatus)
- func (s *OptVoiceMailDetectionResultSuccessModelStatus) UnmarshalJSON(data []byte) error
- type OptVoiceSettingsResponseModel
- func (o *OptVoiceSettingsResponseModel) Decode(d *jx.Decoder) error
- func (o OptVoiceSettingsResponseModel) Encode(e *jx.Encoder)
- func (o OptVoiceSettingsResponseModel) Get() (v VoiceSettingsResponseModel, ok bool)
- func (o OptVoiceSettingsResponseModel) IsSet() bool
- func (s OptVoiceSettingsResponseModel) MarshalJSON() ([]byte, error)
- func (o OptVoiceSettingsResponseModel) Or(d VoiceSettingsResponseModel) VoiceSettingsResponseModel
- func (o *OptVoiceSettingsResponseModel) Reset()
- func (o *OptVoiceSettingsResponseModel) SetTo(v VoiceSettingsResponseModel)
- func (s *OptVoiceSettingsResponseModel) UnmarshalJSON(data []byte) error
- type OptVoiceSharingModerationCheckResponseModel
- func (o *OptVoiceSharingModerationCheckResponseModel) Decode(d *jx.Decoder) error
- func (o OptVoiceSharingModerationCheckResponseModel) Encode(e *jx.Encoder)
- func (o OptVoiceSharingModerationCheckResponseModel) Get() (v VoiceSharingModerationCheckResponseModel, ok bool)
- func (o OptVoiceSharingModerationCheckResponseModel) IsSet() bool
- func (s OptVoiceSharingModerationCheckResponseModel) MarshalJSON() ([]byte, error)
- func (o OptVoiceSharingModerationCheckResponseModel) Or(d VoiceSharingModerationCheckResponseModel) VoiceSharingModerationCheckResponseModel
- func (o *OptVoiceSharingModerationCheckResponseModel) Reset()
- func (o *OptVoiceSharingModerationCheckResponseModel) SetTo(v VoiceSharingModerationCheckResponseModel)
- func (s *OptVoiceSharingModerationCheckResponseModel) UnmarshalJSON(data []byte) error
- type OptVoiceSharingResponseModel
- func (o *OptVoiceSharingResponseModel) Decode(d *jx.Decoder) error
- func (o OptVoiceSharingResponseModel) Encode(e *jx.Encoder)
- func (o OptVoiceSharingResponseModel) Get() (v VoiceSharingResponseModel, ok bool)
- func (o OptVoiceSharingResponseModel) IsSet() bool
- func (s OptVoiceSharingResponseModel) MarshalJSON() ([]byte, error)
- func (o OptVoiceSharingResponseModel) Or(d VoiceSharingResponseModel) VoiceSharingResponseModel
- func (o *OptVoiceSharingResponseModel) Reset()
- func (o *OptVoiceSharingResponseModel) SetTo(v VoiceSharingResponseModel)
- func (s *OptVoiceSharingResponseModel) UnmarshalJSON(data []byte) error
- type OptVoiceVerificationResponseModel
- func (o *OptVoiceVerificationResponseModel) Decode(d *jx.Decoder) error
- func (o OptVoiceVerificationResponseModel) Encode(e *jx.Encoder)
- func (o OptVoiceVerificationResponseModel) Get() (v VoiceVerificationResponseModel, ok bool)
- func (o OptVoiceVerificationResponseModel) IsSet() bool
- func (s OptVoiceVerificationResponseModel) MarshalJSON() ([]byte, error)
- func (o OptVoiceVerificationResponseModel) Or(d VoiceVerificationResponseModel) VoiceVerificationResponseModel
- func (o *OptVoiceVerificationResponseModel) Reset()
- func (o *OptVoiceVerificationResponseModel) SetTo(v VoiceVerificationResponseModel)
- func (s *OptVoiceVerificationResponseModel) UnmarshalJSON(data []byte) error
- type OptWhatsAppConversationInfo
- func (o *OptWhatsAppConversationInfo) Decode(d *jx.Decoder) error
- func (o OptWhatsAppConversationInfo) Encode(e *jx.Encoder)
- func (o OptWhatsAppConversationInfo) Get() (v WhatsAppConversationInfo, ok bool)
- func (o OptWhatsAppConversationInfo) IsSet() bool
- func (s OptWhatsAppConversationInfo) MarshalJSON() ([]byte, error)
- func (o OptWhatsAppConversationInfo) Or(d WhatsAppConversationInfo) WhatsAppConversationInfo
- func (o *OptWhatsAppConversationInfo) Reset()
- func (o *OptWhatsAppConversationInfo) SetTo(v WhatsAppConversationInfo)
- func (s *OptWhatsAppConversationInfo) UnmarshalJSON(data []byte) error
- type OptWhatsAppConversationInfoDirection
- func (o *OptWhatsAppConversationInfoDirection) Decode(d *jx.Decoder) error
- func (o OptWhatsAppConversationInfoDirection) Encode(e *jx.Encoder)
- func (o OptWhatsAppConversationInfoDirection) Get() (v WhatsAppConversationInfoDirection, ok bool)
- func (o OptWhatsAppConversationInfoDirection) IsSet() bool
- func (s OptWhatsAppConversationInfoDirection) MarshalJSON() ([]byte, error)
- func (o OptWhatsAppConversationInfoDirection) Or(d WhatsAppConversationInfoDirection) WhatsAppConversationInfoDirection
- func (o *OptWhatsAppConversationInfoDirection) Reset()
- func (o *OptWhatsAppConversationInfoDirection) SetTo(v WhatsAppConversationInfoDirection)
- func (s *OptWhatsAppConversationInfoDirection) UnmarshalJSON(data []byte) error
- type OptWorkflowFeaturesUsageCommonModel
- func (o *OptWorkflowFeaturesUsageCommonModel) Decode(d *jx.Decoder) error
- func (o OptWorkflowFeaturesUsageCommonModel) Encode(e *jx.Encoder)
- func (o OptWorkflowFeaturesUsageCommonModel) Get() (v WorkflowFeaturesUsageCommonModel, ok bool)
- func (o OptWorkflowFeaturesUsageCommonModel) IsSet() bool
- func (s OptWorkflowFeaturesUsageCommonModel) MarshalJSON() ([]byte, error)
- func (o OptWorkflowFeaturesUsageCommonModel) Or(d WorkflowFeaturesUsageCommonModel) WorkflowFeaturesUsageCommonModel
- func (o *OptWorkflowFeaturesUsageCommonModel) Reset()
- func (o *OptWorkflowFeaturesUsageCommonModel) SetTo(v WorkflowFeaturesUsageCommonModel)
- func (s *OptWorkflowFeaturesUsageCommonModel) UnmarshalJSON(data []byte) error
- type OptWorkflowToolEdgeStepModelType
- func (o *OptWorkflowToolEdgeStepModelType) Decode(d *jx.Decoder) error
- func (o OptWorkflowToolEdgeStepModelType) Encode(e *jx.Encoder)
- func (o OptWorkflowToolEdgeStepModelType) Get() (v WorkflowToolEdgeStepModelType, ok bool)
- func (o OptWorkflowToolEdgeStepModelType) IsSet() bool
- func (s OptWorkflowToolEdgeStepModelType) MarshalJSON() ([]byte, error)
- func (o OptWorkflowToolEdgeStepModelType) Or(d WorkflowToolEdgeStepModelType) WorkflowToolEdgeStepModelType
- func (o *OptWorkflowToolEdgeStepModelType) Reset()
- func (o *OptWorkflowToolEdgeStepModelType) SetTo(v WorkflowToolEdgeStepModelType)
- func (s *OptWorkflowToolEdgeStepModelType) UnmarshalJSON(data []byte) error
- type OptWorkflowToolMaxIterationsExceededStepModelType
- func (o *OptWorkflowToolMaxIterationsExceededStepModelType) Decode(d *jx.Decoder) error
- func (o OptWorkflowToolMaxIterationsExceededStepModelType) Encode(e *jx.Encoder)
- func (o OptWorkflowToolMaxIterationsExceededStepModelType) Get() (v WorkflowToolMaxIterationsExceededStepModelType, ok bool)
- func (o OptWorkflowToolMaxIterationsExceededStepModelType) IsSet() bool
- func (s OptWorkflowToolMaxIterationsExceededStepModelType) MarshalJSON() ([]byte, error)
- func (o OptWorkflowToolMaxIterationsExceededStepModelType) Or(d WorkflowToolMaxIterationsExceededStepModelType) WorkflowToolMaxIterationsExceededStepModelType
- func (o *OptWorkflowToolMaxIterationsExceededStepModelType) Reset()
- func (o *OptWorkflowToolMaxIterationsExceededStepModelType) SetTo(v WorkflowToolMaxIterationsExceededStepModelType)
- func (s *OptWorkflowToolMaxIterationsExceededStepModelType) UnmarshalJSON(data []byte) error
- type OptWorkflowToolNestedToolsStepModelInputType
- func (o *OptWorkflowToolNestedToolsStepModelInputType) Decode(d *jx.Decoder) error
- func (o OptWorkflowToolNestedToolsStepModelInputType) Encode(e *jx.Encoder)
- func (o OptWorkflowToolNestedToolsStepModelInputType) Get() (v WorkflowToolNestedToolsStepModelInputType, ok bool)
- func (o OptWorkflowToolNestedToolsStepModelInputType) IsSet() bool
- func (s OptWorkflowToolNestedToolsStepModelInputType) MarshalJSON() ([]byte, error)
- func (o OptWorkflowToolNestedToolsStepModelInputType) Or(d WorkflowToolNestedToolsStepModelInputType) WorkflowToolNestedToolsStepModelInputType
- func (o *OptWorkflowToolNestedToolsStepModelInputType) Reset()
- func (o *OptWorkflowToolNestedToolsStepModelInputType) SetTo(v WorkflowToolNestedToolsStepModelInputType)
- func (s *OptWorkflowToolNestedToolsStepModelInputType) UnmarshalJSON(data []byte) error
- type OptWorkflowToolNestedToolsStepModelOutputType
- func (o *OptWorkflowToolNestedToolsStepModelOutputType) Decode(d *jx.Decoder) error
- func (o OptWorkflowToolNestedToolsStepModelOutputType) Encode(e *jx.Encoder)
- func (o OptWorkflowToolNestedToolsStepModelOutputType) Get() (v WorkflowToolNestedToolsStepModelOutputType, ok bool)
- func (o OptWorkflowToolNestedToolsStepModelOutputType) IsSet() bool
- func (s OptWorkflowToolNestedToolsStepModelOutputType) MarshalJSON() ([]byte, error)
- func (o OptWorkflowToolNestedToolsStepModelOutputType) Or(d WorkflowToolNestedToolsStepModelOutputType) WorkflowToolNestedToolsStepModelOutputType
- func (o *OptWorkflowToolNestedToolsStepModelOutputType) Reset()
- func (o *OptWorkflowToolNestedToolsStepModelOutputType) SetTo(v WorkflowToolNestedToolsStepModelOutputType)
- func (s *OptWorkflowToolNestedToolsStepModelOutputType) UnmarshalJSON(data []byte) error
- type OptWorkflowToolResponseModelInput
- func (o *OptWorkflowToolResponseModelInput) Decode(d *jx.Decoder) error
- func (o OptWorkflowToolResponseModelInput) Encode(e *jx.Encoder)
- func (o OptWorkflowToolResponseModelInput) Get() (v WorkflowToolResponseModelInput, ok bool)
- func (o OptWorkflowToolResponseModelInput) IsSet() bool
- func (s OptWorkflowToolResponseModelInput) MarshalJSON() ([]byte, error)
- func (o OptWorkflowToolResponseModelInput) Or(d WorkflowToolResponseModelInput) WorkflowToolResponseModelInput
- func (o *OptWorkflowToolResponseModelInput) Reset()
- func (o *OptWorkflowToolResponseModelInput) SetTo(v WorkflowToolResponseModelInput)
- func (s *OptWorkflowToolResponseModelInput) UnmarshalJSON(data []byte) error
- type OptWorkflowToolResponseModelOutput
- func (o *OptWorkflowToolResponseModelOutput) Decode(d *jx.Decoder) error
- func (o OptWorkflowToolResponseModelOutput) Encode(e *jx.Encoder)
- func (o OptWorkflowToolResponseModelOutput) Get() (v WorkflowToolResponseModelOutput, ok bool)
- func (o OptWorkflowToolResponseModelOutput) IsSet() bool
- func (s OptWorkflowToolResponseModelOutput) MarshalJSON() ([]byte, error)
- func (o OptWorkflowToolResponseModelOutput) Or(d WorkflowToolResponseModelOutput) WorkflowToolResponseModelOutput
- func (o *OptWorkflowToolResponseModelOutput) Reset()
- func (o *OptWorkflowToolResponseModelOutput) SetTo(v WorkflowToolResponseModelOutput)
- func (s *OptWorkflowToolResponseModelOutput) UnmarshalJSON(data []byte) error
- type OptZendeskConversationInitiationTriggerTriggerType
- func (o *OptZendeskConversationInitiationTriggerTriggerType) Decode(d *jx.Decoder) error
- func (o OptZendeskConversationInitiationTriggerTriggerType) Encode(e *jx.Encoder)
- func (o OptZendeskConversationInitiationTriggerTriggerType) Get() (v ZendeskConversationInitiationTriggerTriggerType, ok bool)
- func (o OptZendeskConversationInitiationTriggerTriggerType) IsSet() bool
- func (s OptZendeskConversationInitiationTriggerTriggerType) MarshalJSON() ([]byte, error)
- func (o OptZendeskConversationInitiationTriggerTriggerType) Or(d ZendeskConversationInitiationTriggerTriggerType) ZendeskConversationInitiationTriggerTriggerType
- func (o *OptZendeskConversationInitiationTriggerTriggerType) Reset()
- func (o *OptZendeskConversationInitiationTriggerTriggerType) SetTo(v ZendeskConversationInitiationTriggerTriggerType)
- func (s *OptZendeskConversationInitiationTriggerTriggerType) UnmarshalJSON(data []byte) error
- type Option
- type OutboundCallRecipient
- func (s *OutboundCallRecipient) Decode(d *jx.Decoder) error
- func (s *OutboundCallRecipient) Encode(e *jx.Encoder)
- func (s *OutboundCallRecipient) GetConversationInitiationClientData() OptConversationInitiationClientDataRequestInput
- func (s *OutboundCallRecipient) GetID() OptNilString
- func (s *OutboundCallRecipient) GetPhoneNumber() OptNilString
- func (s *OutboundCallRecipient) GetWhatsappUserID() OptNilString
- func (s *OutboundCallRecipient) MarshalJSON() ([]byte, error)
- func (s *OutboundCallRecipient) SetConversationInitiationClientData(val OptConversationInitiationClientDataRequestInput)
- func (s *OutboundCallRecipient) SetID(val OptNilString)
- func (s *OutboundCallRecipient) SetPhoneNumber(val OptNilString)
- func (s *OutboundCallRecipient) SetWhatsappUserID(val OptNilString)
- func (s *OutboundCallRecipient) UnmarshalJSON(data []byte) error
- func (s *OutboundCallRecipient) Validate() error
- type OutboundCallRecipientResponseModel
- func (s *OutboundCallRecipientResponseModel) Decode(d *jx.Decoder) error
- func (s *OutboundCallRecipientResponseModel) Encode(e *jx.Encoder)
- func (s *OutboundCallRecipientResponseModel) GetConversationID() NilString
- func (s *OutboundCallRecipientResponseModel) GetConversationInitiationClientData() OptConversationInitiationClientDataInternal
- func (s *OutboundCallRecipientResponseModel) GetCreatedAtUnix() int
- func (s *OutboundCallRecipientResponseModel) GetID() string
- func (s *OutboundCallRecipientResponseModel) GetPhoneNumber() OptNilString
- func (s *OutboundCallRecipientResponseModel) GetStatus() BatchCallRecipientStatus
- func (s *OutboundCallRecipientResponseModel) GetUpdatedAtUnix() int
- func (s *OutboundCallRecipientResponseModel) GetWhatsappUserID() OptNilString
- func (s *OutboundCallRecipientResponseModel) MarshalJSON() ([]byte, error)
- func (s *OutboundCallRecipientResponseModel) SetConversationID(val NilString)
- func (s *OutboundCallRecipientResponseModel) SetConversationInitiationClientData(val OptConversationInitiationClientDataInternal)
- func (s *OutboundCallRecipientResponseModel) SetCreatedAtUnix(val int)
- func (s *OutboundCallRecipientResponseModel) SetID(val string)
- func (s *OutboundCallRecipientResponseModel) SetPhoneNumber(val OptNilString)
- func (s *OutboundCallRecipientResponseModel) SetStatus(val BatchCallRecipientStatus)
- func (s *OutboundCallRecipientResponseModel) SetUpdatedAtUnix(val int)
- func (s *OutboundCallRecipientResponseModel) SetWhatsappUserID(val OptNilString)
- func (s *OutboundCallRecipientResponseModel) UnmarshalJSON(data []byte) error
- func (s *OutboundCallRecipientResponseModel) Validate() error
- type OutboundSIPTrunkConfigRequestModel
- func (s *OutboundSIPTrunkConfigRequestModel) Decode(d *jx.Decoder) error
- func (s *OutboundSIPTrunkConfigRequestModel) Encode(e *jx.Encoder)
- func (s *OutboundSIPTrunkConfigRequestModel) GetAddress() string
- func (s *OutboundSIPTrunkConfigRequestModel) GetCredentials() OptSIPTrunkCredentialsRequestModel
- func (s *OutboundSIPTrunkConfigRequestModel) GetHeaders() OptOutboundSIPTrunkConfigRequestModelHeaders
- func (s *OutboundSIPTrunkConfigRequestModel) GetMediaEncryption() OptSIPMediaEncryptionEnum
- func (s *OutboundSIPTrunkConfigRequestModel) GetTransport() OptSIPTrunkTransportEnum
- func (s *OutboundSIPTrunkConfigRequestModel) MarshalJSON() ([]byte, error)
- func (s *OutboundSIPTrunkConfigRequestModel) SetAddress(val string)
- func (s *OutboundSIPTrunkConfigRequestModel) SetCredentials(val OptSIPTrunkCredentialsRequestModel)
- func (s *OutboundSIPTrunkConfigRequestModel) SetHeaders(val OptOutboundSIPTrunkConfigRequestModelHeaders)
- func (s *OutboundSIPTrunkConfigRequestModel) SetMediaEncryption(val OptSIPMediaEncryptionEnum)
- func (s *OutboundSIPTrunkConfigRequestModel) SetTransport(val OptSIPTrunkTransportEnum)
- func (s *OutboundSIPTrunkConfigRequestModel) UnmarshalJSON(data []byte) error
- func (s *OutboundSIPTrunkConfigRequestModel) Validate() error
- type OutboundSIPTrunkConfigRequestModelHeaders
- func (s *OutboundSIPTrunkConfigRequestModelHeaders) Decode(d *jx.Decoder) error
- func (s OutboundSIPTrunkConfigRequestModelHeaders) Encode(e *jx.Encoder)
- func (s OutboundSIPTrunkConfigRequestModelHeaders) MarshalJSON() ([]byte, error)
- func (s *OutboundSIPTrunkConfigRequestModelHeaders) UnmarshalJSON(data []byte) error
- type PatchConvAIDashboardSettingsRequest
- func (s *PatchConvAIDashboardSettingsRequest) Decode(d *jx.Decoder) error
- func (s *PatchConvAIDashboardSettingsRequest) Encode(e *jx.Encoder)
- func (s *PatchConvAIDashboardSettingsRequest) GetCharts() []PatchConvAIDashboardSettingsRequestChartsItem
- func (s *PatchConvAIDashboardSettingsRequest) MarshalJSON() ([]byte, error)
- func (s *PatchConvAIDashboardSettingsRequest) SetCharts(val []PatchConvAIDashboardSettingsRequestChartsItem)
- func (s *PatchConvAIDashboardSettingsRequest) UnmarshalJSON(data []byte) error
- func (s *PatchConvAIDashboardSettingsRequest) Validate() error
- type PatchConvAIDashboardSettingsRequestChartsItem
- func NewDashboardCallSuccessChartModelPatchConvAIDashboardSettingsRequestChartsItem(v DashboardCallSuccessChartModel) PatchConvAIDashboardSettingsRequestChartsItem
- func NewDashboardCriteriaChartModelPatchConvAIDashboardSettingsRequestChartsItem(v DashboardCriteriaChartModel) PatchConvAIDashboardSettingsRequestChartsItem
- func NewDashboardDataCollectionChartModelPatchConvAIDashboardSettingsRequestChartsItem(v DashboardDataCollectionChartModel) PatchConvAIDashboardSettingsRequestChartsItem
- func (s *PatchConvAIDashboardSettingsRequestChartsItem) Decode(d *jx.Decoder) error
- func (s PatchConvAIDashboardSettingsRequestChartsItem) Encode(e *jx.Encoder)
- func (s PatchConvAIDashboardSettingsRequestChartsItem) GetDashboardCallSuccessChartModel() (v DashboardCallSuccessChartModel, ok bool)
- func (s PatchConvAIDashboardSettingsRequestChartsItem) GetDashboardCriteriaChartModel() (v DashboardCriteriaChartModel, ok bool)
- func (s PatchConvAIDashboardSettingsRequestChartsItem) GetDashboardDataCollectionChartModel() (v DashboardDataCollectionChartModel, ok bool)
- func (s PatchConvAIDashboardSettingsRequestChartsItem) IsDashboardCallSuccessChartModel() bool
- func (s PatchConvAIDashboardSettingsRequestChartsItem) IsDashboardCriteriaChartModel() bool
- func (s PatchConvAIDashboardSettingsRequestChartsItem) IsDashboardDataCollectionChartModel() bool
- func (s PatchConvAIDashboardSettingsRequestChartsItem) MarshalJSON() ([]byte, error)
- func (s *PatchConvAIDashboardSettingsRequestChartsItem) SetDashboardCallSuccessChartModel(v DashboardCallSuccessChartModel)
- func (s *PatchConvAIDashboardSettingsRequestChartsItem) SetDashboardCriteriaChartModel(v DashboardCriteriaChartModel)
- func (s *PatchConvAIDashboardSettingsRequestChartsItem) SetDashboardDataCollectionChartModel(v DashboardDataCollectionChartModel)
- func (s *PatchConvAIDashboardSettingsRequestChartsItem) UnmarshalJSON(data []byte) error
- func (s PatchConvAIDashboardSettingsRequestChartsItem) Validate() error
- type PatchConvAIDashboardSettingsRequestChartsItemType
- type PatchConvAISettingsRequest
- func (s *PatchConvAISettingsRequest) Decode(d *jx.Decoder) error
- func (s *PatchConvAISettingsRequest) Encode(e *jx.Encoder)
- func (s *PatchConvAISettingsRequest) GetCanUseMcpServers() OptBool
- func (s *PatchConvAISettingsRequest) GetConversationInitiationClientDataWebhook() OptConversationInitiationClientDataWebhook
- func (s *PatchConvAISettingsRequest) GetDefaultLivekitStack() OptLivekitStackType
- func (s *PatchConvAISettingsRequest) GetRagRetentionPeriodDays() OptInt
- func (s *PatchConvAISettingsRequest) GetWebhooks() OptConvAIWebhooks
- func (s *PatchConvAISettingsRequest) MarshalJSON() ([]byte, error)
- func (s *PatchConvAISettingsRequest) SetCanUseMcpServers(val OptBool)
- func (s *PatchConvAISettingsRequest) SetConversationInitiationClientDataWebhook(val OptConversationInitiationClientDataWebhook)
- func (s *PatchConvAISettingsRequest) SetDefaultLivekitStack(val OptLivekitStackType)
- func (s *PatchConvAISettingsRequest) SetRagRetentionPeriodDays(val OptInt)
- func (s *PatchConvAISettingsRequest) SetWebhooks(val OptConvAIWebhooks)
- func (s *PatchConvAISettingsRequest) UnmarshalJSON(data []byte) error
- func (s *PatchConvAISettingsRequest) Validate() error
- type PatchPronunciationDictionaryParams
- type PatchPronunciationDictionaryRes
- type PatchWorkspaceSecretRequest
- func (s *PatchWorkspaceSecretRequest) Decode(d *jx.Decoder) error
- func (s *PatchWorkspaceSecretRequest) Encode(e *jx.Encoder)
- func (s *PatchWorkspaceSecretRequest) GetName() string
- func (s *PatchWorkspaceSecretRequest) GetType() PatchWorkspaceSecretRequestType
- func (s *PatchWorkspaceSecretRequest) GetValue() string
- func (s *PatchWorkspaceSecretRequest) MarshalJSON() ([]byte, error)
- func (s *PatchWorkspaceSecretRequest) SetName(val string)
- func (s *PatchWorkspaceSecretRequest) SetType(val PatchWorkspaceSecretRequestType)
- func (s *PatchWorkspaceSecretRequest) SetValue(val string)
- func (s *PatchWorkspaceSecretRequest) UnmarshalJSON(data []byte) error
- func (s *PatchWorkspaceSecretRequest) Validate() error
- type PatchWorkspaceSecretRequestType
- func (PatchWorkspaceSecretRequestType) AllValues() []PatchWorkspaceSecretRequestType
- func (s *PatchWorkspaceSecretRequestType) Decode(d *jx.Decoder) error
- func (s PatchWorkspaceSecretRequestType) Encode(e *jx.Encoder)
- func (s PatchWorkspaceSecretRequestType) MarshalJSON() ([]byte, error)
- func (s PatchWorkspaceSecretRequestType) MarshalText() ([]byte, error)
- func (s *PatchWorkspaceSecretRequestType) UnmarshalJSON(data []byte) error
- func (s *PatchWorkspaceSecretRequestType) UnmarshalText(data []byte) error
- func (s PatchWorkspaceSecretRequestType) Validate() error
- type PatchWorkspaceWebhookResponseModel
- func (s *PatchWorkspaceWebhookResponseModel) Decode(d *jx.Decoder) error
- func (s *PatchWorkspaceWebhookResponseModel) Encode(e *jx.Encoder)
- func (s *PatchWorkspaceWebhookResponseModel) GetStatus() string
- func (s *PatchWorkspaceWebhookResponseModel) MarshalJSON() ([]byte, error)
- func (s *PatchWorkspaceWebhookResponseModel) SetStatus(val string)
- func (s *PatchWorkspaceWebhookResponseModel) UnmarshalJSON(data []byte) error
- type PdfExportOptions
- func (s *PdfExportOptions) Decode(d *jx.Decoder) error
- func (s *PdfExportOptions) Encode(e *jx.Encoder)
- func (s *PdfExportOptions) GetFormat() PdfExportOptionsFormat
- func (s *PdfExportOptions) GetIncludeSpeakers() OptBool
- func (s *PdfExportOptions) GetIncludeTimestamps() OptBool
- func (s *PdfExportOptions) GetMaxSegmentChars() OptNilInt
- func (s *PdfExportOptions) GetMaxSegmentDurationS() OptNilFloat64
- func (s *PdfExportOptions) GetSegmentOnSilenceLongerThanS() OptNilFloat64
- func (s *PdfExportOptions) MarshalJSON() ([]byte, error)
- func (s *PdfExportOptions) SetFormat(val PdfExportOptionsFormat)
- func (s *PdfExportOptions) SetIncludeSpeakers(val OptBool)
- func (s *PdfExportOptions) SetIncludeTimestamps(val OptBool)
- func (s *PdfExportOptions) SetMaxSegmentChars(val OptNilInt)
- func (s *PdfExportOptions) SetMaxSegmentDurationS(val OptNilFloat64)
- func (s *PdfExportOptions) SetSegmentOnSilenceLongerThanS(val OptNilFloat64)
- func (s *PdfExportOptions) UnmarshalJSON(data []byte) error
- func (s *PdfExportOptions) Validate() error
- type PdfExportOptionsFormat
- func (PdfExportOptionsFormat) AllValues() []PdfExportOptionsFormat
- func (s *PdfExportOptionsFormat) Decode(d *jx.Decoder) error
- func (s PdfExportOptionsFormat) Encode(e *jx.Encoder)
- func (s PdfExportOptionsFormat) MarshalJSON() ([]byte, error)
- func (s PdfExportOptionsFormat) MarshalText() ([]byte, error)
- func (s *PdfExportOptionsFormat) UnmarshalJSON(data []byte) error
- func (s *PdfExportOptionsFormat) UnmarshalText(data []byte) error
- func (s PdfExportOptionsFormat) Validate() error
- type PhoneNumberAgentInfo
- func (s *PhoneNumberAgentInfo) Decode(d *jx.Decoder) error
- func (s *PhoneNumberAgentInfo) Encode(e *jx.Encoder)
- func (s *PhoneNumberAgentInfo) GetAgentID() string
- func (s *PhoneNumberAgentInfo) GetAgentName() string
- func (s *PhoneNumberAgentInfo) MarshalJSON() ([]byte, error)
- func (s *PhoneNumberAgentInfo) SetAgentID(val string)
- func (s *PhoneNumberAgentInfo) SetAgentName(val string)
- func (s *PhoneNumberAgentInfo) UnmarshalJSON(data []byte) error
- type PlayDTMFResultErrorModel
- func (s *PlayDTMFResultErrorModel) Decode(d *jx.Decoder) error
- func (s *PlayDTMFResultErrorModel) Encode(e *jx.Encoder)
- func (s *PlayDTMFResultErrorModel) GetDetails() OptNilString
- func (s *PlayDTMFResultErrorModel) GetError() string
- func (s *PlayDTMFResultErrorModel) GetResultType() OptPlayDTMFResultErrorModelResultType
- func (s *PlayDTMFResultErrorModel) GetStatus() OptPlayDTMFResultErrorModelStatus
- func (s *PlayDTMFResultErrorModel) MarshalJSON() ([]byte, error)
- func (s *PlayDTMFResultErrorModel) SetDetails(val OptNilString)
- func (s *PlayDTMFResultErrorModel) SetError(val string)
- func (s *PlayDTMFResultErrorModel) SetResultType(val OptPlayDTMFResultErrorModelResultType)
- func (s *PlayDTMFResultErrorModel) SetStatus(val OptPlayDTMFResultErrorModelStatus)
- func (s *PlayDTMFResultErrorModel) UnmarshalJSON(data []byte) error
- func (s *PlayDTMFResultErrorModel) Validate() error
- type PlayDTMFResultErrorModelResultType
- func (PlayDTMFResultErrorModelResultType) AllValues() []PlayDTMFResultErrorModelResultType
- func (s *PlayDTMFResultErrorModelResultType) Decode(d *jx.Decoder) error
- func (s PlayDTMFResultErrorModelResultType) Encode(e *jx.Encoder)
- func (s PlayDTMFResultErrorModelResultType) MarshalJSON() ([]byte, error)
- func (s PlayDTMFResultErrorModelResultType) MarshalText() ([]byte, error)
- func (s *PlayDTMFResultErrorModelResultType) UnmarshalJSON(data []byte) error
- func (s *PlayDTMFResultErrorModelResultType) UnmarshalText(data []byte) error
- func (s PlayDTMFResultErrorModelResultType) Validate() error
- type PlayDTMFResultErrorModelStatus
- func (PlayDTMFResultErrorModelStatus) AllValues() []PlayDTMFResultErrorModelStatus
- func (s *PlayDTMFResultErrorModelStatus) Decode(d *jx.Decoder) error
- func (s PlayDTMFResultErrorModelStatus) Encode(e *jx.Encoder)
- func (s PlayDTMFResultErrorModelStatus) MarshalJSON() ([]byte, error)
- func (s PlayDTMFResultErrorModelStatus) MarshalText() ([]byte, error)
- func (s *PlayDTMFResultErrorModelStatus) UnmarshalJSON(data []byte) error
- func (s *PlayDTMFResultErrorModelStatus) UnmarshalText(data []byte) error
- func (s PlayDTMFResultErrorModelStatus) Validate() error
- type PlayDTMFResultSuccessModel
- func (s *PlayDTMFResultSuccessModel) Decode(d *jx.Decoder) error
- func (s *PlayDTMFResultSuccessModel) Encode(e *jx.Encoder)
- func (s *PlayDTMFResultSuccessModel) GetDtmfTones() string
- func (s *PlayDTMFResultSuccessModel) GetReason() OptNilString
- func (s *PlayDTMFResultSuccessModel) GetResultType() OptPlayDTMFResultSuccessModelResultType
- func (s *PlayDTMFResultSuccessModel) GetStatus() OptPlayDTMFResultSuccessModelStatus
- func (s *PlayDTMFResultSuccessModel) MarshalJSON() ([]byte, error)
- func (s *PlayDTMFResultSuccessModel) SetDtmfTones(val string)
- func (s *PlayDTMFResultSuccessModel) SetReason(val OptNilString)
- func (s *PlayDTMFResultSuccessModel) SetResultType(val OptPlayDTMFResultSuccessModelResultType)
- func (s *PlayDTMFResultSuccessModel) SetStatus(val OptPlayDTMFResultSuccessModelStatus)
- func (s *PlayDTMFResultSuccessModel) UnmarshalJSON(data []byte) error
- func (s *PlayDTMFResultSuccessModel) Validate() error
- type PlayDTMFResultSuccessModelResultType
- func (PlayDTMFResultSuccessModelResultType) AllValues() []PlayDTMFResultSuccessModelResultType
- func (s *PlayDTMFResultSuccessModelResultType) Decode(d *jx.Decoder) error
- func (s PlayDTMFResultSuccessModelResultType) Encode(e *jx.Encoder)
- func (s PlayDTMFResultSuccessModelResultType) MarshalJSON() ([]byte, error)
- func (s PlayDTMFResultSuccessModelResultType) MarshalText() ([]byte, error)
- func (s *PlayDTMFResultSuccessModelResultType) UnmarshalJSON(data []byte) error
- func (s *PlayDTMFResultSuccessModelResultType) UnmarshalText(data []byte) error
- func (s PlayDTMFResultSuccessModelResultType) Validate() error
- type PlayDTMFResultSuccessModelStatus
- func (PlayDTMFResultSuccessModelStatus) AllValues() []PlayDTMFResultSuccessModelStatus
- func (s *PlayDTMFResultSuccessModelStatus) Decode(d *jx.Decoder) error
- func (s PlayDTMFResultSuccessModelStatus) Encode(e *jx.Encoder)
- func (s PlayDTMFResultSuccessModelStatus) MarshalJSON() ([]byte, error)
- func (s PlayDTMFResultSuccessModelStatus) MarshalText() ([]byte, error)
- func (s *PlayDTMFResultSuccessModelStatus) UnmarshalJSON(data []byte) error
- func (s *PlayDTMFResultSuccessModelStatus) UnmarshalText(data []byte) error
- func (s PlayDTMFResultSuccessModelStatus) Validate() error
- type PostAgentAvatarResponseModel
- func (s *PostAgentAvatarResponseModel) Decode(d *jx.Decoder) error
- func (s *PostAgentAvatarResponseModel) Encode(e *jx.Encoder)
- func (s *PostAgentAvatarResponseModel) GetAgentID() string
- func (s *PostAgentAvatarResponseModel) GetAvatarURL() OptNilString
- func (s *PostAgentAvatarResponseModel) MarshalJSON() ([]byte, error)
- func (s *PostAgentAvatarResponseModel) SetAgentID(val string)
- func (s *PostAgentAvatarResponseModel) SetAvatarURL(val OptNilString)
- func (s *PostAgentAvatarResponseModel) UnmarshalJSON(data []byte) error
- type PostAgentAvatarRouteParams
- type PostAgentAvatarRouteRes
- type PostConversationFeedbackRouteOKApplicationJSON
- func (s *PostConversationFeedbackRouteOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s PostConversationFeedbackRouteOKApplicationJSON) Encode(e *jx.Encoder)
- func (s PostConversationFeedbackRouteOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *PostConversationFeedbackRouteOKApplicationJSON) UnmarshalJSON(data []byte) error
- type PostConversationFeedbackRouteParams
- type PostConversationFeedbackRouteRes
- type PostWorkspaceSecretRequest
- func (s *PostWorkspaceSecretRequest) Decode(d *jx.Decoder) error
- func (s *PostWorkspaceSecretRequest) Encode(e *jx.Encoder)
- func (s *PostWorkspaceSecretRequest) GetName() string
- func (s *PostWorkspaceSecretRequest) GetType() PostWorkspaceSecretRequestType
- func (s *PostWorkspaceSecretRequest) GetValue() string
- func (s *PostWorkspaceSecretRequest) MarshalJSON() ([]byte, error)
- func (s *PostWorkspaceSecretRequest) SetName(val string)
- func (s *PostWorkspaceSecretRequest) SetType(val PostWorkspaceSecretRequestType)
- func (s *PostWorkspaceSecretRequest) SetValue(val string)
- func (s *PostWorkspaceSecretRequest) UnmarshalJSON(data []byte) error
- func (s *PostWorkspaceSecretRequest) Validate() error
- type PostWorkspaceSecretRequestType
- func (PostWorkspaceSecretRequestType) AllValues() []PostWorkspaceSecretRequestType
- func (s *PostWorkspaceSecretRequestType) Decode(d *jx.Decoder) error
- func (s PostWorkspaceSecretRequestType) Encode(e *jx.Encoder)
- func (s PostWorkspaceSecretRequestType) MarshalJSON() ([]byte, error)
- func (s PostWorkspaceSecretRequestType) MarshalText() ([]byte, error)
- func (s *PostWorkspaceSecretRequestType) UnmarshalJSON(data []byte) error
- func (s *PostWorkspaceSecretRequestType) UnmarshalText(data []byte) error
- func (s PostWorkspaceSecretRequestType) Validate() error
- type PostWorkspaceSecretResponseModel
- func (s *PostWorkspaceSecretResponseModel) Decode(d *jx.Decoder) error
- func (s *PostWorkspaceSecretResponseModel) Encode(e *jx.Encoder)
- func (s *PostWorkspaceSecretResponseModel) GetName() string
- func (s *PostWorkspaceSecretResponseModel) GetSecretID() string
- func (s *PostWorkspaceSecretResponseModel) GetType() PostWorkspaceSecretResponseModelType
- func (s *PostWorkspaceSecretResponseModel) MarshalJSON() ([]byte, error)
- func (s *PostWorkspaceSecretResponseModel) SetName(val string)
- func (s *PostWorkspaceSecretResponseModel) SetSecretID(val string)
- func (s *PostWorkspaceSecretResponseModel) SetType(val PostWorkspaceSecretResponseModelType)
- func (s *PostWorkspaceSecretResponseModel) UnmarshalJSON(data []byte) error
- func (s *PostWorkspaceSecretResponseModel) Validate() error
- type PostWorkspaceSecretResponseModelType
- func (PostWorkspaceSecretResponseModelType) AllValues() []PostWorkspaceSecretResponseModelType
- func (s *PostWorkspaceSecretResponseModelType) Decode(d *jx.Decoder) error
- func (s PostWorkspaceSecretResponseModelType) Encode(e *jx.Encoder)
- func (s PostWorkspaceSecretResponseModelType) MarshalJSON() ([]byte, error)
- func (s PostWorkspaceSecretResponseModelType) MarshalText() ([]byte, error)
- func (s *PostWorkspaceSecretResponseModelType) UnmarshalJSON(data []byte) error
- func (s *PostWorkspaceSecretResponseModelType) UnmarshalText(data []byte) error
- func (s PostWorkspaceSecretResponseModelType) Validate() error
- type ProjectCreationMetaResponseModel
- func (s *ProjectCreationMetaResponseModel) Decode(d *jx.Decoder) error
- func (s *ProjectCreationMetaResponseModel) Encode(e *jx.Encoder)
- func (s *ProjectCreationMetaResponseModel) GetCreationProgress() float64
- func (s *ProjectCreationMetaResponseModel) GetStatus() ProjectCreationMetaResponseModelStatus
- func (s *ProjectCreationMetaResponseModel) GetType() ProjectCreationMetaResponseModelType
- func (s *ProjectCreationMetaResponseModel) MarshalJSON() ([]byte, error)
- func (s *ProjectCreationMetaResponseModel) SetCreationProgress(val float64)
- func (s *ProjectCreationMetaResponseModel) SetStatus(val ProjectCreationMetaResponseModelStatus)
- func (s *ProjectCreationMetaResponseModel) SetType(val ProjectCreationMetaResponseModelType)
- func (s *ProjectCreationMetaResponseModel) UnmarshalJSON(data []byte) error
- func (s *ProjectCreationMetaResponseModel) Validate() error
- type ProjectCreationMetaResponseModelStatus
- func (ProjectCreationMetaResponseModelStatus) AllValues() []ProjectCreationMetaResponseModelStatus
- func (s *ProjectCreationMetaResponseModelStatus) Decode(d *jx.Decoder) error
- func (s ProjectCreationMetaResponseModelStatus) Encode(e *jx.Encoder)
- func (s ProjectCreationMetaResponseModelStatus) MarshalJSON() ([]byte, error)
- func (s ProjectCreationMetaResponseModelStatus) MarshalText() ([]byte, error)
- func (s *ProjectCreationMetaResponseModelStatus) UnmarshalJSON(data []byte) error
- func (s *ProjectCreationMetaResponseModelStatus) UnmarshalText(data []byte) error
- func (s ProjectCreationMetaResponseModelStatus) Validate() error
- type ProjectCreationMetaResponseModelType
- func (ProjectCreationMetaResponseModelType) AllValues() []ProjectCreationMetaResponseModelType
- func (s *ProjectCreationMetaResponseModelType) Decode(d *jx.Decoder) error
- func (s ProjectCreationMetaResponseModelType) Encode(e *jx.Encoder)
- func (s ProjectCreationMetaResponseModelType) MarshalJSON() ([]byte, error)
- func (s ProjectCreationMetaResponseModelType) MarshalText() ([]byte, error)
- func (s *ProjectCreationMetaResponseModelType) UnmarshalJSON(data []byte) error
- func (s *ProjectCreationMetaResponseModelType) UnmarshalText(data []byte) error
- func (s ProjectCreationMetaResponseModelType) Validate() error
- type ProjectResponseModel
- func (s *ProjectResponseModel) Decode(d *jx.Decoder) error
- func (s *ProjectResponseModel) Encode(e *jx.Encoder)
- func (s *ProjectResponseModel) GetAccessLevel() ProjectResponseModelAccessLevel
- func (s *ProjectResponseModel) GetAspectRatio() OptNilProjectResponseModelAspectRatio
- func (s *ProjectResponseModel) GetAuthor() OptNilString
- func (s *ProjectResponseModel) GetCanBeDownloaded() bool
- func (s *ProjectResponseModel) GetCaptionStyle() OptCaptionStyleModel
- func (s *ProjectResponseModel) GetCaptionsEnabled() OptNilBool
- func (s *ProjectResponseModel) GetChaptersEnabled() OptNilBool
- func (s *ProjectResponseModel) GetContentType() OptNilString
- func (s *ProjectResponseModel) GetCoverImageURL() OptNilString
- func (s *ProjectResponseModel) GetCreateDateUnix() int
- func (s *ProjectResponseModel) GetCreatedByUserID() NilString
- func (s *ProjectResponseModel) GetCreationMeta() OptProjectCreationMetaResponseModel
- func (s *ProjectResponseModel) GetDefaultModelID() string
- func (s *ProjectResponseModel) GetDefaultParagraphVoiceID() string
- func (s *ProjectResponseModel) GetDefaultTitleVoiceID() string
- func (s *ProjectResponseModel) GetDescription() OptNilString
- func (s *ProjectResponseModel) GetFiction() OptNilProjectResponseModelFiction
- func (s *ProjectResponseModel) GetGenres() OptNilStringArray
- func (s *ProjectResponseModel) GetIsbnNumber() OptNilString
- func (s *ProjectResponseModel) GetLanguage() OptNilString
- func (s *ProjectResponseModel) GetLastConversionDateUnix() OptNilInt
- func (s *ProjectResponseModel) GetMatureContent() OptNilBool
- func (s *ProjectResponseModel) GetName() string
- func (s *ProjectResponseModel) GetOriginalPublicationDate() OptNilString
- func (s *ProjectResponseModel) GetProjectID() string
- func (s *ProjectResponseModel) GetPublicShareID() OptNilString
- func (s *ProjectResponseModel) GetQualityCheckOn() bool
- func (s *ProjectResponseModel) GetQualityCheckOnWhenBulkConvert() bool
- func (s *ProjectResponseModel) GetSourceType() OptNilProjectResponseModelSourceType
- func (s *ProjectResponseModel) GetState() ProjectResponseModelState
- func (s *ProjectResponseModel) GetTargetAudience() OptNilProjectResponseModelTargetAudience
- func (s *ProjectResponseModel) GetTitle() OptNilString
- func (s *ProjectResponseModel) GetVolumeNormalization() bool
- func (s *ProjectResponseModel) MarshalJSON() ([]byte, error)
- func (s *ProjectResponseModel) SetAccessLevel(val ProjectResponseModelAccessLevel)
- func (s *ProjectResponseModel) SetAspectRatio(val OptNilProjectResponseModelAspectRatio)
- func (s *ProjectResponseModel) SetAuthor(val OptNilString)
- func (s *ProjectResponseModel) SetCanBeDownloaded(val bool)
- func (s *ProjectResponseModel) SetCaptionStyle(val OptCaptionStyleModel)
- func (s *ProjectResponseModel) SetCaptionsEnabled(val OptNilBool)
- func (s *ProjectResponseModel) SetChaptersEnabled(val OptNilBool)
- func (s *ProjectResponseModel) SetContentType(val OptNilString)
- func (s *ProjectResponseModel) SetCoverImageURL(val OptNilString)
- func (s *ProjectResponseModel) SetCreateDateUnix(val int)
- func (s *ProjectResponseModel) SetCreatedByUserID(val NilString)
- func (s *ProjectResponseModel) SetCreationMeta(val OptProjectCreationMetaResponseModel)
- func (s *ProjectResponseModel) SetDefaultModelID(val string)
- func (s *ProjectResponseModel) SetDefaultParagraphVoiceID(val string)
- func (s *ProjectResponseModel) SetDefaultTitleVoiceID(val string)
- func (s *ProjectResponseModel) SetDescription(val OptNilString)
- func (s *ProjectResponseModel) SetFiction(val OptNilProjectResponseModelFiction)
- func (s *ProjectResponseModel) SetGenres(val OptNilStringArray)
- func (s *ProjectResponseModel) SetIsbnNumber(val OptNilString)
- func (s *ProjectResponseModel) SetLanguage(val OptNilString)
- func (s *ProjectResponseModel) SetLastConversionDateUnix(val OptNilInt)
- func (s *ProjectResponseModel) SetMatureContent(val OptNilBool)
- func (s *ProjectResponseModel) SetName(val string)
- func (s *ProjectResponseModel) SetOriginalPublicationDate(val OptNilString)
- func (s *ProjectResponseModel) SetProjectID(val string)
- func (s *ProjectResponseModel) SetPublicShareID(val OptNilString)
- func (s *ProjectResponseModel) SetQualityCheckOn(val bool)
- func (s *ProjectResponseModel) SetQualityCheckOnWhenBulkConvert(val bool)
- func (s *ProjectResponseModel) SetSourceType(val OptNilProjectResponseModelSourceType)
- func (s *ProjectResponseModel) SetState(val ProjectResponseModelState)
- func (s *ProjectResponseModel) SetTargetAudience(val OptNilProjectResponseModelTargetAudience)
- func (s *ProjectResponseModel) SetTitle(val OptNilString)
- func (s *ProjectResponseModel) SetVolumeNormalization(val bool)
- func (s *ProjectResponseModel) UnmarshalJSON(data []byte) error
- func (s *ProjectResponseModel) Validate() error
- type ProjectResponseModelAccessLevel
- func (ProjectResponseModelAccessLevel) AllValues() []ProjectResponseModelAccessLevel
- func (s *ProjectResponseModelAccessLevel) Decode(d *jx.Decoder) error
- func (s ProjectResponseModelAccessLevel) Encode(e *jx.Encoder)
- func (s ProjectResponseModelAccessLevel) MarshalJSON() ([]byte, error)
- func (s ProjectResponseModelAccessLevel) MarshalText() ([]byte, error)
- func (s *ProjectResponseModelAccessLevel) UnmarshalJSON(data []byte) error
- func (s *ProjectResponseModelAccessLevel) UnmarshalText(data []byte) error
- func (s ProjectResponseModelAccessLevel) Validate() error
- type ProjectResponseModelAspectRatio
- func (ProjectResponseModelAspectRatio) AllValues() []ProjectResponseModelAspectRatio
- func (s *ProjectResponseModelAspectRatio) Decode(d *jx.Decoder) error
- func (s ProjectResponseModelAspectRatio) Encode(e *jx.Encoder)
- func (s ProjectResponseModelAspectRatio) MarshalJSON() ([]byte, error)
- func (s ProjectResponseModelAspectRatio) MarshalText() ([]byte, error)
- func (s *ProjectResponseModelAspectRatio) UnmarshalJSON(data []byte) error
- func (s *ProjectResponseModelAspectRatio) UnmarshalText(data []byte) error
- func (s ProjectResponseModelAspectRatio) Validate() error
- type ProjectResponseModelFiction
- func (ProjectResponseModelFiction) AllValues() []ProjectResponseModelFiction
- func (s *ProjectResponseModelFiction) Decode(d *jx.Decoder) error
- func (s ProjectResponseModelFiction) Encode(e *jx.Encoder)
- func (s ProjectResponseModelFiction) MarshalJSON() ([]byte, error)
- func (s ProjectResponseModelFiction) MarshalText() ([]byte, error)
- func (s *ProjectResponseModelFiction) UnmarshalJSON(data []byte) error
- func (s *ProjectResponseModelFiction) UnmarshalText(data []byte) error
- func (s ProjectResponseModelFiction) Validate() error
- type ProjectResponseModelSourceType
- func (ProjectResponseModelSourceType) AllValues() []ProjectResponseModelSourceType
- func (s *ProjectResponseModelSourceType) Decode(d *jx.Decoder) error
- func (s ProjectResponseModelSourceType) Encode(e *jx.Encoder)
- func (s ProjectResponseModelSourceType) MarshalJSON() ([]byte, error)
- func (s ProjectResponseModelSourceType) MarshalText() ([]byte, error)
- func (s *ProjectResponseModelSourceType) UnmarshalJSON(data []byte) error
- func (s *ProjectResponseModelSourceType) UnmarshalText(data []byte) error
- func (s ProjectResponseModelSourceType) Validate() error
- type ProjectResponseModelState
- func (ProjectResponseModelState) AllValues() []ProjectResponseModelState
- func (s *ProjectResponseModelState) Decode(d *jx.Decoder) error
- func (s ProjectResponseModelState) Encode(e *jx.Encoder)
- func (s ProjectResponseModelState) MarshalJSON() ([]byte, error)
- func (s ProjectResponseModelState) MarshalText() ([]byte, error)
- func (s *ProjectResponseModelState) UnmarshalJSON(data []byte) error
- func (s *ProjectResponseModelState) UnmarshalText(data []byte) error
- func (s ProjectResponseModelState) Validate() error
- type ProjectResponseModelTargetAudience
- func (ProjectResponseModelTargetAudience) AllValues() []ProjectResponseModelTargetAudience
- func (s *ProjectResponseModelTargetAudience) Decode(d *jx.Decoder) error
- func (s ProjectResponseModelTargetAudience) Encode(e *jx.Encoder)
- func (s ProjectResponseModelTargetAudience) MarshalJSON() ([]byte, error)
- func (s ProjectResponseModelTargetAudience) MarshalText() ([]byte, error)
- func (s *ProjectResponseModelTargetAudience) UnmarshalJSON(data []byte) error
- func (s *ProjectResponseModelTargetAudience) UnmarshalText(data []byte) error
- func (s ProjectResponseModelTargetAudience) Validate() error
- type ProjectSnapshotExtendedResponseModel
- func (s *ProjectSnapshotExtendedResponseModel) Decode(d *jx.Decoder) error
- func (s *ProjectSnapshotExtendedResponseModel) Encode(e *jx.Encoder)
- func (s *ProjectSnapshotExtendedResponseModel) GetAudioDurationSecs() float64
- func (s *ProjectSnapshotExtendedResponseModel) GetAudioUpload() OptProjectSnapshotExtendedResponseModelAudioUpload
- func (s *ProjectSnapshotExtendedResponseModel) GetCharacterAlignments() []CharacterAlignmentModel
- func (s *ProjectSnapshotExtendedResponseModel) GetCreatedAtUnix() int
- func (s *ProjectSnapshotExtendedResponseModel) GetName() string
- func (s *ProjectSnapshotExtendedResponseModel) GetProjectID() string
- func (s *ProjectSnapshotExtendedResponseModel) GetProjectSnapshotID() string
- func (s *ProjectSnapshotExtendedResponseModel) GetZipUpload() OptProjectSnapshotExtendedResponseModelZipUpload
- func (s *ProjectSnapshotExtendedResponseModel) MarshalJSON() ([]byte, error)
- func (s *ProjectSnapshotExtendedResponseModel) SetAudioDurationSecs(val float64)
- func (s *ProjectSnapshotExtendedResponseModel) SetAudioUpload(val OptProjectSnapshotExtendedResponseModelAudioUpload)
- func (s *ProjectSnapshotExtendedResponseModel) SetCharacterAlignments(val []CharacterAlignmentModel)
- func (s *ProjectSnapshotExtendedResponseModel) SetCreatedAtUnix(val int)
- func (s *ProjectSnapshotExtendedResponseModel) SetName(val string)
- func (s *ProjectSnapshotExtendedResponseModel) SetProjectID(val string)
- func (s *ProjectSnapshotExtendedResponseModel) SetProjectSnapshotID(val string)
- func (s *ProjectSnapshotExtendedResponseModel) SetZipUpload(val OptProjectSnapshotExtendedResponseModelZipUpload)
- func (s *ProjectSnapshotExtendedResponseModel) UnmarshalJSON(data []byte) error
- func (s *ProjectSnapshotExtendedResponseModel) Validate() error
- type ProjectSnapshotExtendedResponseModelAudioUpload
- func (s *ProjectSnapshotExtendedResponseModelAudioUpload) Decode(d *jx.Decoder) error
- func (s *ProjectSnapshotExtendedResponseModelAudioUpload) Encode(e *jx.Encoder)
- func (s *ProjectSnapshotExtendedResponseModelAudioUpload) MarshalJSON() ([]byte, error)
- func (s *ProjectSnapshotExtendedResponseModelAudioUpload) UnmarshalJSON(data []byte) error
- type ProjectSnapshotExtendedResponseModelZipUpload
- func (s *ProjectSnapshotExtendedResponseModelZipUpload) Decode(d *jx.Decoder) error
- func (s *ProjectSnapshotExtendedResponseModelZipUpload) Encode(e *jx.Encoder)
- func (s *ProjectSnapshotExtendedResponseModelZipUpload) MarshalJSON() ([]byte, error)
- func (s *ProjectSnapshotExtendedResponseModelZipUpload) UnmarshalJSON(data []byte) error
- type ProjectSnapshotResponseModel
- func (s *ProjectSnapshotResponseModel) Decode(d *jx.Decoder) error
- func (s *ProjectSnapshotResponseModel) Encode(e *jx.Encoder)
- func (s *ProjectSnapshotResponseModel) GetAudioUpload() OptProjectSnapshotResponseModelAudioUpload
- func (s *ProjectSnapshotResponseModel) GetCreatedAtUnix() int
- func (s *ProjectSnapshotResponseModel) GetName() string
- func (s *ProjectSnapshotResponseModel) GetProjectID() string
- func (s *ProjectSnapshotResponseModel) GetProjectSnapshotID() string
- func (s *ProjectSnapshotResponseModel) GetZipUpload() OptProjectSnapshotResponseModelZipUpload
- func (s *ProjectSnapshotResponseModel) MarshalJSON() ([]byte, error)
- func (s *ProjectSnapshotResponseModel) SetAudioUpload(val OptProjectSnapshotResponseModelAudioUpload)
- func (s *ProjectSnapshotResponseModel) SetCreatedAtUnix(val int)
- func (s *ProjectSnapshotResponseModel) SetName(val string)
- func (s *ProjectSnapshotResponseModel) SetProjectID(val string)
- func (s *ProjectSnapshotResponseModel) SetProjectSnapshotID(val string)
- func (s *ProjectSnapshotResponseModel) SetZipUpload(val OptProjectSnapshotResponseModelZipUpload)
- func (s *ProjectSnapshotResponseModel) UnmarshalJSON(data []byte) error
- type ProjectSnapshotResponseModelAudioUpload
- func (s *ProjectSnapshotResponseModelAudioUpload) Decode(d *jx.Decoder) error
- func (s *ProjectSnapshotResponseModelAudioUpload) Encode(e *jx.Encoder)
- func (s *ProjectSnapshotResponseModelAudioUpload) MarshalJSON() ([]byte, error)
- func (s *ProjectSnapshotResponseModelAudioUpload) UnmarshalJSON(data []byte) error
- type ProjectSnapshotResponseModelZipUpload
- func (s *ProjectSnapshotResponseModelZipUpload) Decode(d *jx.Decoder) error
- func (s *ProjectSnapshotResponseModelZipUpload) Encode(e *jx.Encoder)
- func (s *ProjectSnapshotResponseModelZipUpload) MarshalJSON() ([]byte, error)
- func (s *ProjectSnapshotResponseModelZipUpload) UnmarshalJSON(data []byte) error
- type ProjectSnapshotsResponseModel
- func (s *ProjectSnapshotsResponseModel) Decode(d *jx.Decoder) error
- func (s *ProjectSnapshotsResponseModel) Encode(e *jx.Encoder)
- func (s *ProjectSnapshotsResponseModel) GetSnapshots() []ProjectSnapshotResponseModel
- func (s *ProjectSnapshotsResponseModel) MarshalJSON() ([]byte, error)
- func (s *ProjectSnapshotsResponseModel) SetSnapshots(val []ProjectSnapshotResponseModel)
- func (s *ProjectSnapshotsResponseModel) UnmarshalJSON(data []byte) error
- func (s *ProjectSnapshotsResponseModel) Validate() error
- type PromptAgentAPIModelOverride
- func (s *PromptAgentAPIModelOverride) Decode(d *jx.Decoder) error
- func (s *PromptAgentAPIModelOverride) Encode(e *jx.Encoder)
- func (s *PromptAgentAPIModelOverride) GetLlm() OptLLM
- func (s *PromptAgentAPIModelOverride) GetNativeMcpServerIds() OptNilStringArray
- func (s *PromptAgentAPIModelOverride) GetPrompt() OptNilString
- func (s *PromptAgentAPIModelOverride) MarshalJSON() ([]byte, error)
- func (s *PromptAgentAPIModelOverride) SetLlm(val OptLLM)
- func (s *PromptAgentAPIModelOverride) SetNativeMcpServerIds(val OptNilStringArray)
- func (s *PromptAgentAPIModelOverride) SetPrompt(val OptNilString)
- func (s *PromptAgentAPIModelOverride) UnmarshalJSON(data []byte) error
- func (s *PromptAgentAPIModelOverride) Validate() error
- type PronunciationDictionaryRulesResponseModel
- func (s *PronunciationDictionaryRulesResponseModel) Decode(d *jx.Decoder) error
- func (s *PronunciationDictionaryRulesResponseModel) Encode(e *jx.Encoder)
- func (s *PronunciationDictionaryRulesResponseModel) GetID() string
- func (s *PronunciationDictionaryRulesResponseModel) GetVersionID() string
- func (s *PronunciationDictionaryRulesResponseModel) GetVersionRulesNum() int
- func (s *PronunciationDictionaryRulesResponseModel) MarshalJSON() ([]byte, error)
- func (s *PronunciationDictionaryRulesResponseModel) SetID(val string)
- func (s *PronunciationDictionaryRulesResponseModel) SetVersionID(val string)
- func (s *PronunciationDictionaryRulesResponseModel) SetVersionRulesNum(val int)
- func (s *PronunciationDictionaryRulesResponseModel) UnmarshalJSON(data []byte) error
- type PronunciationDictionaryVersionLocatorDBModel
- func (s *PronunciationDictionaryVersionLocatorDBModel) Decode(d *jx.Decoder) error
- func (s *PronunciationDictionaryVersionLocatorDBModel) Encode(e *jx.Encoder)
- func (s *PronunciationDictionaryVersionLocatorDBModel) GetPronunciationDictionaryID() string
- func (s *PronunciationDictionaryVersionLocatorDBModel) GetVersionID() NilString
- func (s *PronunciationDictionaryVersionLocatorDBModel) MarshalJSON() ([]byte, error)
- func (s *PronunciationDictionaryVersionLocatorDBModel) SetPronunciationDictionaryID(val string)
- func (s *PronunciationDictionaryVersionLocatorDBModel) SetVersionID(val NilString)
- func (s *PronunciationDictionaryVersionLocatorDBModel) UnmarshalJSON(data []byte) error
- type PronunciationDictionaryVersionLocatorRequestModel
- func (s *PronunciationDictionaryVersionLocatorRequestModel) Decode(d *jx.Decoder) error
- func (s *PronunciationDictionaryVersionLocatorRequestModel) Encode(e *jx.Encoder)
- func (s *PronunciationDictionaryVersionLocatorRequestModel) GetPronunciationDictionaryID() string
- func (s *PronunciationDictionaryVersionLocatorRequestModel) GetVersionID() OptNilString
- func (s *PronunciationDictionaryVersionLocatorRequestModel) MarshalJSON() ([]byte, error)
- func (s *PronunciationDictionaryVersionLocatorRequestModel) SetPronunciationDictionaryID(val string)
- func (s *PronunciationDictionaryVersionLocatorRequestModel) SetVersionID(val OptNilString)
- func (s *PronunciationDictionaryVersionLocatorRequestModel) UnmarshalJSON(data []byte) error
- type RAGDocumentIndexResponseModel
- func (s *RAGDocumentIndexResponseModel) Decode(d *jx.Decoder) error
- func (s *RAGDocumentIndexResponseModel) Encode(e *jx.Encoder)
- func (s *RAGDocumentIndexResponseModel) GetDocumentModelIndexUsage() RAGDocumentIndexUsage
- func (s *RAGDocumentIndexResponseModel) GetID() string
- func (s *RAGDocumentIndexResponseModel) GetModel() EmbeddingModelEnum
- func (s *RAGDocumentIndexResponseModel) GetProgressPercentage() float64
- func (s *RAGDocumentIndexResponseModel) GetStatus() RAGIndexStatus
- func (s *RAGDocumentIndexResponseModel) MarshalJSON() ([]byte, error)
- func (s *RAGDocumentIndexResponseModel) SetDocumentModelIndexUsage(val RAGDocumentIndexUsage)
- func (s *RAGDocumentIndexResponseModel) SetID(val string)
- func (s *RAGDocumentIndexResponseModel) SetModel(val EmbeddingModelEnum)
- func (s *RAGDocumentIndexResponseModel) SetProgressPercentage(val float64)
- func (s *RAGDocumentIndexResponseModel) SetStatus(val RAGIndexStatus)
- func (s *RAGDocumentIndexResponseModel) UnmarshalJSON(data []byte) error
- func (s *RAGDocumentIndexResponseModel) Validate() error
- type RAGDocumentIndexUsage
- func (s *RAGDocumentIndexUsage) Decode(d *jx.Decoder) error
- func (s *RAGDocumentIndexUsage) Encode(e *jx.Encoder)
- func (s *RAGDocumentIndexUsage) GetUsedBytes() int
- func (s *RAGDocumentIndexUsage) MarshalJSON() ([]byte, error)
- func (s *RAGDocumentIndexUsage) SetUsedBytes(val int)
- func (s *RAGDocumentIndexUsage) UnmarshalJSON(data []byte) error
- type RAGDocumentIndexesResponseModel
- func (s *RAGDocumentIndexesResponseModel) Decode(d *jx.Decoder) error
- func (s *RAGDocumentIndexesResponseModel) Encode(e *jx.Encoder)
- func (s *RAGDocumentIndexesResponseModel) GetIndexes() []RAGDocumentIndexResponseModel
- func (s *RAGDocumentIndexesResponseModel) MarshalJSON() ([]byte, error)
- func (s *RAGDocumentIndexesResponseModel) SetIndexes(val []RAGDocumentIndexResponseModel)
- func (s *RAGDocumentIndexesResponseModel) UnmarshalJSON(data []byte) error
- func (s *RAGDocumentIndexesResponseModel) Validate() error
- type RAGIndexBatchSuccessfulResponseModel
- func (s *RAGIndexBatchSuccessfulResponseModel) Decode(d *jx.Decoder) error
- func (s *RAGIndexBatchSuccessfulResponseModel) Encode(e *jx.Encoder)
- func (s *RAGIndexBatchSuccessfulResponseModel) GetData() RAGDocumentIndexResponseModel
- func (s *RAGIndexBatchSuccessfulResponseModel) GetStatus() RAGIndexBatchSuccessfulResponseModelStatus
- func (s *RAGIndexBatchSuccessfulResponseModel) MarshalJSON() ([]byte, error)
- func (s *RAGIndexBatchSuccessfulResponseModel) SetData(val RAGDocumentIndexResponseModel)
- func (s *RAGIndexBatchSuccessfulResponseModel) SetStatus(val RAGIndexBatchSuccessfulResponseModelStatus)
- func (s *RAGIndexBatchSuccessfulResponseModel) UnmarshalJSON(data []byte) error
- func (s *RAGIndexBatchSuccessfulResponseModel) Validate() error
- type RAGIndexBatchSuccessfulResponseModelStatus
- func (RAGIndexBatchSuccessfulResponseModelStatus) AllValues() []RAGIndexBatchSuccessfulResponseModelStatus
- func (s *RAGIndexBatchSuccessfulResponseModelStatus) Decode(d *jx.Decoder) error
- func (s RAGIndexBatchSuccessfulResponseModelStatus) Encode(e *jx.Encoder)
- func (s RAGIndexBatchSuccessfulResponseModelStatus) MarshalJSON() ([]byte, error)
- func (s RAGIndexBatchSuccessfulResponseModelStatus) MarshalText() ([]byte, error)
- func (s *RAGIndexBatchSuccessfulResponseModelStatus) UnmarshalJSON(data []byte) error
- func (s *RAGIndexBatchSuccessfulResponseModelStatus) UnmarshalText(data []byte) error
- func (s RAGIndexBatchSuccessfulResponseModelStatus) Validate() error
- type RAGIndexOverviewEmbeddingModelResponseModel
- func (s *RAGIndexOverviewEmbeddingModelResponseModel) Decode(d *jx.Decoder) error
- func (s *RAGIndexOverviewEmbeddingModelResponseModel) Encode(e *jx.Encoder)
- func (s *RAGIndexOverviewEmbeddingModelResponseModel) GetModel() EmbeddingModelEnum
- func (s *RAGIndexOverviewEmbeddingModelResponseModel) GetUsedBytes() int
- func (s *RAGIndexOverviewEmbeddingModelResponseModel) MarshalJSON() ([]byte, error)
- func (s *RAGIndexOverviewEmbeddingModelResponseModel) SetModel(val EmbeddingModelEnum)
- func (s *RAGIndexOverviewEmbeddingModelResponseModel) SetUsedBytes(val int)
- func (s *RAGIndexOverviewEmbeddingModelResponseModel) UnmarshalJSON(data []byte) error
- func (s *RAGIndexOverviewEmbeddingModelResponseModel) Validate() error
- type RAGIndexOverviewResponseModel
- func (s *RAGIndexOverviewResponseModel) Decode(d *jx.Decoder) error
- func (s *RAGIndexOverviewResponseModel) Encode(e *jx.Encoder)
- func (s *RAGIndexOverviewResponseModel) GetModels() []RAGIndexOverviewEmbeddingModelResponseModel
- func (s *RAGIndexOverviewResponseModel) GetTotalMaxBytes() int
- func (s *RAGIndexOverviewResponseModel) GetTotalUsedBytes() int
- func (s *RAGIndexOverviewResponseModel) MarshalJSON() ([]byte, error)
- func (s *RAGIndexOverviewResponseModel) SetModels(val []RAGIndexOverviewEmbeddingModelResponseModel)
- func (s *RAGIndexOverviewResponseModel) SetTotalMaxBytes(val int)
- func (s *RAGIndexOverviewResponseModel) SetTotalUsedBytes(val int)
- func (s *RAGIndexOverviewResponseModel) UnmarshalJSON(data []byte) error
- func (s *RAGIndexOverviewResponseModel) Validate() error
- type RAGIndexRequestModel
- func (s *RAGIndexRequestModel) Decode(d *jx.Decoder) error
- func (s *RAGIndexRequestModel) Encode(e *jx.Encoder)
- func (s *RAGIndexRequestModel) GetModel() EmbeddingModelEnum
- func (s *RAGIndexRequestModel) MarshalJSON() ([]byte, error)
- func (s *RAGIndexRequestModel) SetModel(val EmbeddingModelEnum)
- func (s *RAGIndexRequestModel) UnmarshalJSON(data []byte) error
- func (s *RAGIndexRequestModel) Validate() error
- type RAGIndexStatus
- func (RAGIndexStatus) AllValues() []RAGIndexStatus
- func (s *RAGIndexStatus) Decode(d *jx.Decoder) error
- func (s RAGIndexStatus) Encode(e *jx.Encoder)
- func (s RAGIndexStatus) MarshalJSON() ([]byte, error)
- func (s RAGIndexStatus) MarshalText() ([]byte, error)
- func (s *RAGIndexStatus) UnmarshalJSON(data []byte) error
- func (s *RAGIndexStatus) UnmarshalText(data []byte) error
- func (s RAGIndexStatus) Validate() error
- type RagChunkMetadata
- func (s *RagChunkMetadata) Decode(d *jx.Decoder) error
- func (s *RagChunkMetadata) Encode(e *jx.Encoder)
- func (s *RagChunkMetadata) GetChunkID() string
- func (s *RagChunkMetadata) GetDocumentID() string
- func (s *RagChunkMetadata) GetVectorDistance() float64
- func (s *RagChunkMetadata) MarshalJSON() ([]byte, error)
- func (s *RagChunkMetadata) SetChunkID(val string)
- func (s *RagChunkMetadata) SetDocumentID(val string)
- func (s *RagChunkMetadata) SetVectorDistance(val float64)
- func (s *RagChunkMetadata) UnmarshalJSON(data []byte) error
- func (s *RagChunkMetadata) Validate() error
- type RagIndexStatusParams
- type RagIndexStatusRes
- type RagRetrievalInfo
- func (s *RagRetrievalInfo) Decode(d *jx.Decoder) error
- func (s *RagRetrievalInfo) Encode(e *jx.Encoder)
- func (s *RagRetrievalInfo) GetChunks() []RagChunkMetadata
- func (s *RagRetrievalInfo) GetEmbeddingModel() EmbeddingModelEnum
- func (s *RagRetrievalInfo) GetRagLatencySecs() float64
- func (s *RagRetrievalInfo) GetRetrievalQuery() string
- func (s *RagRetrievalInfo) MarshalJSON() ([]byte, error)
- func (s *RagRetrievalInfo) SetChunks(val []RagChunkMetadata)
- func (s *RagRetrievalInfo) SetEmbeddingModel(val EmbeddingModelEnum)
- func (s *RagRetrievalInfo) SetRagLatencySecs(val float64)
- func (s *RagRetrievalInfo) SetRetrievalQuery(val string)
- func (s *RagRetrievalInfo) UnmarshalJSON(data []byte) error
- func (s *RagRetrievalInfo) Validate() error
- type ReaderResourceResponseModel
- func (s *ReaderResourceResponseModel) Decode(d *jx.Decoder) error
- func (s *ReaderResourceResponseModel) Encode(e *jx.Encoder)
- func (s *ReaderResourceResponseModel) GetResourceID() string
- func (s *ReaderResourceResponseModel) GetResourceType() ReaderResourceResponseModelResourceType
- func (s *ReaderResourceResponseModel) MarshalJSON() ([]byte, error)
- func (s *ReaderResourceResponseModel) SetResourceID(val string)
- func (s *ReaderResourceResponseModel) SetResourceType(val ReaderResourceResponseModelResourceType)
- func (s *ReaderResourceResponseModel) UnmarshalJSON(data []byte) error
- func (s *ReaderResourceResponseModel) Validate() error
- type ReaderResourceResponseModelResourceType
- func (ReaderResourceResponseModelResourceType) AllValues() []ReaderResourceResponseModelResourceType
- func (s *ReaderResourceResponseModelResourceType) Decode(d *jx.Decoder) error
- func (s ReaderResourceResponseModelResourceType) Encode(e *jx.Encoder)
- func (s ReaderResourceResponseModelResourceType) MarshalJSON() ([]byte, error)
- func (s ReaderResourceResponseModelResourceType) MarshalText() ([]byte, error)
- func (s *ReaderResourceResponseModelResourceType) UnmarshalJSON(data []byte) error
- func (s *ReaderResourceResponseModelResourceType) UnmarshalText(data []byte) error
- func (s ReaderResourceResponseModelResourceType) Validate() error
- type RecordingResponseModel
- func (s *RecordingResponseModel) Decode(d *jx.Decoder) error
- func (s *RecordingResponseModel) Encode(e *jx.Encoder)
- func (s *RecordingResponseModel) GetMimeType() string
- func (s *RecordingResponseModel) GetRecordingID() string
- func (s *RecordingResponseModel) GetSizeBytes() int
- func (s *RecordingResponseModel) GetTranscription() string
- func (s *RecordingResponseModel) GetUploadDateUnix() int
- func (s *RecordingResponseModel) MarshalJSON() ([]byte, error)
- func (s *RecordingResponseModel) SetMimeType(val string)
- func (s *RecordingResponseModel) SetRecordingID(val string)
- func (s *RecordingResponseModel) SetSizeBytes(val int)
- func (s *RecordingResponseModel) SetTranscription(val string)
- func (s *RecordingResponseModel) SetUploadDateUnix(val int)
- func (s *RecordingResponseModel) UnmarshalJSON(data []byte) error
- type ReferencedToolCommonModel
- func (s *ReferencedToolCommonModel) Decode(d *jx.Decoder) error
- func (s *ReferencedToolCommonModel) Encode(e *jx.Encoder)
- func (s *ReferencedToolCommonModel) GetID() string
- func (s *ReferencedToolCommonModel) GetType() ReferencedToolCommonModelType
- func (s *ReferencedToolCommonModel) MarshalJSON() ([]byte, error)
- func (s *ReferencedToolCommonModel) SetID(val string)
- func (s *ReferencedToolCommonModel) SetType(val ReferencedToolCommonModelType)
- func (s *ReferencedToolCommonModel) UnmarshalJSON(data []byte) error
- func (s *ReferencedToolCommonModel) Validate() error
- type ReferencedToolCommonModelType
- func (ReferencedToolCommonModelType) AllValues() []ReferencedToolCommonModelType
- func (s *ReferencedToolCommonModelType) Decode(d *jx.Decoder) error
- func (s ReferencedToolCommonModelType) Encode(e *jx.Encoder)
- func (s ReferencedToolCommonModelType) MarshalJSON() ([]byte, error)
- func (s ReferencedToolCommonModelType) MarshalText() ([]byte, error)
- func (s *ReferencedToolCommonModelType) UnmarshalJSON(data []byte) error
- func (s *ReferencedToolCommonModelType) UnmarshalText(data []byte) error
- func (s ReferencedToolCommonModelType) Validate() error
- type RegexParameterEvaluationStrategy
- func (s *RegexParameterEvaluationStrategy) Decode(d *jx.Decoder) error
- func (s *RegexParameterEvaluationStrategy) Encode(e *jx.Encoder)
- func (s *RegexParameterEvaluationStrategy) GetPattern() string
- func (s *RegexParameterEvaluationStrategy) GetType() RegexParameterEvaluationStrategyType
- func (s *RegexParameterEvaluationStrategy) MarshalJSON() ([]byte, error)
- func (s *RegexParameterEvaluationStrategy) SetPattern(val string)
- func (s *RegexParameterEvaluationStrategy) SetType(val RegexParameterEvaluationStrategyType)
- func (s *RegexParameterEvaluationStrategy) UnmarshalJSON(data []byte) error
- func (s *RegexParameterEvaluationStrategy) Validate() error
- type RegexParameterEvaluationStrategyType
- func (RegexParameterEvaluationStrategyType) AllValues() []RegexParameterEvaluationStrategyType
- func (s *RegexParameterEvaluationStrategyType) Decode(d *jx.Decoder) error
- func (s RegexParameterEvaluationStrategyType) Encode(e *jx.Encoder)
- func (s RegexParameterEvaluationStrategyType) MarshalJSON() ([]byte, error)
- func (s RegexParameterEvaluationStrategyType) MarshalText() ([]byte, error)
- func (s *RegexParameterEvaluationStrategyType) UnmarshalJSON(data []byte) error
- func (s *RegexParameterEvaluationStrategyType) UnmarshalText(data []byte) error
- func (s RegexParameterEvaluationStrategyType) Validate() error
- type RegisterTwilioCallOK
- type RegisterTwilioCallParams
- type RegisterTwilioCallRes
- type RemoveMemberParams
- type RemoveMemberRes
- type RemoveRulesParams
- type RemoveRulesRes
- type Render
- func (s *Render) Decode(d *jx.Decoder) error
- func (s *Render) Encode(e *jx.Encoder)
- func (s *Render) GetID() string
- func (s *Render) GetLanguage() NilString
- func (s *Render) GetMediaRef() DubbingMediaReference
- func (s *Render) GetStatus() RenderStatus
- func (s *Render) GetType() RenderType
- func (s *Render) GetVersion() int
- func (s *Render) MarshalJSON() ([]byte, error)
- func (s *Render) SetID(val string)
- func (s *Render) SetLanguage(val NilString)
- func (s *Render) SetMediaRef(val DubbingMediaReference)
- func (s *Render) SetStatus(val RenderStatus)
- func (s *Render) SetType(val RenderType)
- func (s *Render) SetVersion(val int)
- func (s *Render) UnmarshalJSON(data []byte) error
- func (s *Render) Validate() error
- type RenderStatus
- func (RenderStatus) AllValues() []RenderStatus
- func (s *RenderStatus) Decode(d *jx.Decoder) error
- func (s RenderStatus) Encode(e *jx.Encoder)
- func (s RenderStatus) MarshalJSON() ([]byte, error)
- func (s RenderStatus) MarshalText() ([]byte, error)
- func (s *RenderStatus) UnmarshalJSON(data []byte) error
- func (s *RenderStatus) UnmarshalText(data []byte) error
- func (s RenderStatus) Validate() error
- type RenderType
- func (RenderType) AllValues() []RenderType
- func (s *RenderType) Decode(d *jx.Decoder) error
- func (s RenderType) Encode(e *jx.Encoder)
- func (s RenderType) MarshalJSON() ([]byte, error)
- func (s RenderType) MarshalText() ([]byte, error)
- func (s *RenderType) UnmarshalJSON(data []byte) error
- func (s *RenderType) UnmarshalText(data []byte) error
- func (s RenderType) Validate() error
- type RequestPVCManualVerificationResponseModel
- func (s *RequestPVCManualVerificationResponseModel) Decode(d *jx.Decoder) error
- func (s *RequestPVCManualVerificationResponseModel) Encode(e *jx.Encoder)
- func (s *RequestPVCManualVerificationResponseModel) GetStatus() string
- func (s *RequestPVCManualVerificationResponseModel) MarshalJSON() ([]byte, error)
- func (s *RequestPVCManualVerificationResponseModel) SetStatus(val string)
- func (s *RequestPVCManualVerificationResponseModel) UnmarshalJSON(data []byte) error
- type RequestPvcManualVerificationParams
- type RequestPvcManualVerificationRes
- type ResourceAccessInfo
- func (s *ResourceAccessInfo) Decode(d *jx.Decoder) error
- func (s *ResourceAccessInfo) Encode(e *jx.Encoder)
- func (s *ResourceAccessInfo) GetCreatorEmail() string
- func (s *ResourceAccessInfo) GetCreatorName() string
- func (s *ResourceAccessInfo) GetIsCreator() bool
- func (s *ResourceAccessInfo) GetRole() ResourceAccessInfoRole
- func (s *ResourceAccessInfo) MarshalJSON() ([]byte, error)
- func (s *ResourceAccessInfo) SetCreatorEmail(val string)
- func (s *ResourceAccessInfo) SetCreatorName(val string)
- func (s *ResourceAccessInfo) SetIsCreator(val bool)
- func (s *ResourceAccessInfo) SetRole(val ResourceAccessInfoRole)
- func (s *ResourceAccessInfo) UnmarshalJSON(data []byte) error
- func (s *ResourceAccessInfo) Validate() error
- type ResourceAccessInfoRole
- func (ResourceAccessInfoRole) AllValues() []ResourceAccessInfoRole
- func (s *ResourceAccessInfoRole) Decode(d *jx.Decoder) error
- func (s ResourceAccessInfoRole) Encode(e *jx.Encoder)
- func (s ResourceAccessInfoRole) MarshalJSON() ([]byte, error)
- func (s ResourceAccessInfoRole) MarshalText() ([]byte, error)
- func (s *ResourceAccessInfoRole) UnmarshalJSON(data []byte) error
- func (s *ResourceAccessInfoRole) UnmarshalText(data []byte) error
- func (s ResourceAccessInfoRole) Validate() error
- type ResourceMetadataResponseModel
- func (s *ResourceMetadataResponseModel) Decode(d *jx.Decoder) error
- func (s *ResourceMetadataResponseModel) Encode(e *jx.Encoder)
- func (s *ResourceMetadataResponseModel) GetAnonymousAccessLevelOverride() NilResourceMetadataResponseModelAnonymousAccessLevelOverride
- func (s *ResourceMetadataResponseModel) GetCreatorUserID() NilString
- func (s *ResourceMetadataResponseModel) GetResourceID() string
- func (s *ResourceMetadataResponseModel) GetResourceType() WorkspaceResourceType
- func (s *ResourceMetadataResponseModel) GetRoleToGroupIds() ResourceMetadataResponseModelRoleToGroupIds
- func (s *ResourceMetadataResponseModel) GetShareOptions() []ShareOptionResponseModel
- func (s *ResourceMetadataResponseModel) MarshalJSON() ([]byte, error)
- func (s *ResourceMetadataResponseModel) SetAnonymousAccessLevelOverride(val NilResourceMetadataResponseModelAnonymousAccessLevelOverride)
- func (s *ResourceMetadataResponseModel) SetCreatorUserID(val NilString)
- func (s *ResourceMetadataResponseModel) SetResourceID(val string)
- func (s *ResourceMetadataResponseModel) SetResourceType(val WorkspaceResourceType)
- func (s *ResourceMetadataResponseModel) SetRoleToGroupIds(val ResourceMetadataResponseModelRoleToGroupIds)
- func (s *ResourceMetadataResponseModel) SetShareOptions(val []ShareOptionResponseModel)
- func (s *ResourceMetadataResponseModel) UnmarshalJSON(data []byte) error
- func (s *ResourceMetadataResponseModel) Validate() error
- type ResourceMetadataResponseModelAnonymousAccessLevelOverride
- func (ResourceMetadataResponseModelAnonymousAccessLevelOverride) AllValues() []ResourceMetadataResponseModelAnonymousAccessLevelOverride
- func (s *ResourceMetadataResponseModelAnonymousAccessLevelOverride) Decode(d *jx.Decoder) error
- func (s ResourceMetadataResponseModelAnonymousAccessLevelOverride) Encode(e *jx.Encoder)
- func (s ResourceMetadataResponseModelAnonymousAccessLevelOverride) MarshalJSON() ([]byte, error)
- func (s ResourceMetadataResponseModelAnonymousAccessLevelOverride) MarshalText() ([]byte, error)
- func (s *ResourceMetadataResponseModelAnonymousAccessLevelOverride) UnmarshalJSON(data []byte) error
- func (s *ResourceMetadataResponseModelAnonymousAccessLevelOverride) UnmarshalText(data []byte) error
- func (s ResourceMetadataResponseModelAnonymousAccessLevelOverride) Validate() error
- type ResourceMetadataResponseModelRoleToGroupIds
- func (s *ResourceMetadataResponseModelRoleToGroupIds) Decode(d *jx.Decoder) error
- func (s ResourceMetadataResponseModelRoleToGroupIds) Encode(e *jx.Encoder)
- func (s ResourceMetadataResponseModelRoleToGroupIds) MarshalJSON() ([]byte, error)
- func (s *ResourceMetadataResponseModelRoleToGroupIds) UnmarshalJSON(data []byte) error
- func (s ResourceMetadataResponseModelRoleToGroupIds) Validate() error
- type RetryBatchCallParams
- type RetryBatchCallRes
- type Route
- type RunPvcVoiceTrainingParams
- type RunPvcVoiceTrainingRes
- type SIPMediaEncryptionEnum
- func (SIPMediaEncryptionEnum) AllValues() []SIPMediaEncryptionEnum
- func (s *SIPMediaEncryptionEnum) Decode(d *jx.Decoder) error
- func (s SIPMediaEncryptionEnum) Encode(e *jx.Encoder)
- func (s SIPMediaEncryptionEnum) MarshalJSON() ([]byte, error)
- func (s SIPMediaEncryptionEnum) MarshalText() ([]byte, error)
- func (s *SIPMediaEncryptionEnum) UnmarshalJSON(data []byte) error
- func (s *SIPMediaEncryptionEnum) UnmarshalText(data []byte) error
- func (s SIPMediaEncryptionEnum) Validate() error
- type SIPTrunkCredentialsRequestModel
- func (s *SIPTrunkCredentialsRequestModel) Decode(d *jx.Decoder) error
- func (s *SIPTrunkCredentialsRequestModel) Encode(e *jx.Encoder)
- func (s *SIPTrunkCredentialsRequestModel) GetPassword() OptNilString
- func (s *SIPTrunkCredentialsRequestModel) GetUsername() string
- func (s *SIPTrunkCredentialsRequestModel) MarshalJSON() ([]byte, error)
- func (s *SIPTrunkCredentialsRequestModel) SetPassword(val OptNilString)
- func (s *SIPTrunkCredentialsRequestModel) SetUsername(val string)
- func (s *SIPTrunkCredentialsRequestModel) UnmarshalJSON(data []byte) error
- type SIPTrunkOutboundCallResponse
- func (s *SIPTrunkOutboundCallResponse) Decode(d *jx.Decoder) error
- func (s *SIPTrunkOutboundCallResponse) Encode(e *jx.Encoder)
- func (s *SIPTrunkOutboundCallResponse) GetConversationID() NilString
- func (s *SIPTrunkOutboundCallResponse) GetMessage() string
- func (s *SIPTrunkOutboundCallResponse) GetSipCallID() NilString
- func (s *SIPTrunkOutboundCallResponse) GetSuccess() bool
- func (s *SIPTrunkOutboundCallResponse) MarshalJSON() ([]byte, error)
- func (s *SIPTrunkOutboundCallResponse) SetConversationID(val NilString)
- func (s *SIPTrunkOutboundCallResponse) SetMessage(val string)
- func (s *SIPTrunkOutboundCallResponse) SetSipCallID(val NilString)
- func (s *SIPTrunkOutboundCallResponse) SetSuccess(val bool)
- func (s *SIPTrunkOutboundCallResponse) UnmarshalJSON(data []byte) error
- type SIPTrunkTransportEnum
- func (SIPTrunkTransportEnum) AllValues() []SIPTrunkTransportEnum
- func (s *SIPTrunkTransportEnum) Decode(d *jx.Decoder) error
- func (s SIPTrunkTransportEnum) Encode(e *jx.Encoder)
- func (s SIPTrunkTransportEnum) MarshalJSON() ([]byte, error)
- func (s SIPTrunkTransportEnum) MarshalText() ([]byte, error)
- func (s *SIPTrunkTransportEnum) UnmarshalJSON(data []byte) error
- func (s *SIPTrunkTransportEnum) UnmarshalText(data []byte) error
- func (s SIPTrunkTransportEnum) Validate() error
- type SampleResponseModel
- func (s *SampleResponseModel) Decode(d *jx.Decoder) error
- func (s *SampleResponseModel) Encode(e *jx.Encoder)
- func (s *SampleResponseModel) GetDurationSecs() OptNilFloat64
- func (s *SampleResponseModel) GetFileName() string
- func (s *SampleResponseModel) GetHasIsolatedAudio() OptNilBool
- func (s *SampleResponseModel) GetHasIsolatedAudioPreview() OptNilBool
- func (s *SampleResponseModel) GetHash() string
- func (s *SampleResponseModel) GetMimeType() string
- func (s *SampleResponseModel) GetRemoveBackgroundNoise() OptNilBool
- func (s *SampleResponseModel) GetSampleID() string
- func (s *SampleResponseModel) GetSizeBytes() int
- func (s *SampleResponseModel) GetSpeakerSeparation() OptSpeakerSeparationResponseModel
- func (s *SampleResponseModel) GetTrimEnd() OptNilInt
- func (s *SampleResponseModel) GetTrimStart() OptNilInt
- func (s *SampleResponseModel) MarshalJSON() ([]byte, error)
- func (s *SampleResponseModel) SetDurationSecs(val OptNilFloat64)
- func (s *SampleResponseModel) SetFileName(val string)
- func (s *SampleResponseModel) SetHasIsolatedAudio(val OptNilBool)
- func (s *SampleResponseModel) SetHasIsolatedAudioPreview(val OptNilBool)
- func (s *SampleResponseModel) SetHash(val string)
- func (s *SampleResponseModel) SetMimeType(val string)
- func (s *SampleResponseModel) SetRemoveBackgroundNoise(val OptNilBool)
- func (s *SampleResponseModel) SetSampleID(val string)
- func (s *SampleResponseModel) SetSizeBytes(val int)
- func (s *SampleResponseModel) SetSpeakerSeparation(val OptSpeakerSeparationResponseModel)
- func (s *SampleResponseModel) SetTrimEnd(val OptNilInt)
- func (s *SampleResponseModel) SetTrimStart(val OptNilInt)
- func (s *SampleResponseModel) UnmarshalJSON(data []byte) error
- func (s *SampleResponseModel) Validate() error
- type SearchGroupsOKApplicationJSON
- func (s *SearchGroupsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s SearchGroupsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s SearchGroupsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *SearchGroupsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s SearchGroupsOKApplicationJSON) Validate() error
- type SearchGroupsParams
- type SearchGroupsRes
- type SecretDependencyType
- func (SecretDependencyType) AllValues() []SecretDependencyType
- func (s *SecretDependencyType) Decode(d *jx.Decoder) error
- func (s SecretDependencyType) Encode(e *jx.Encoder)
- func (s SecretDependencyType) MarshalJSON() ([]byte, error)
- func (s SecretDependencyType) MarshalText() ([]byte, error)
- func (s *SecretDependencyType) UnmarshalJSON(data []byte) error
- func (s *SecretDependencyType) UnmarshalText(data []byte) error
- func (s SecretDependencyType) Validate() error
- type SectionSource
- func (s *SectionSource) Decode(d *jx.Decoder) error
- func (s *SectionSource) Encode(e *jx.Encoder)
- func (s *SectionSource) GetNegativeRanges() []TimeRange
- func (s *SectionSource) GetRange() TimeRange
- func (s *SectionSource) GetSongID() string
- func (s *SectionSource) MarshalJSON() ([]byte, error)
- func (s *SectionSource) SetNegativeRanges(val []TimeRange)
- func (s *SectionSource) SetRange(val TimeRange)
- func (s *SectionSource) SetSongID(val string)
- func (s *SectionSource) UnmarshalJSON(data []byte) error
- func (s *SectionSource) Validate() error
- type SegmentCreatePayload
- func (s *SegmentCreatePayload) Decode(d *jx.Decoder) error
- func (s *SegmentCreatePayload) Encode(e *jx.Encoder)
- func (s *SegmentCreatePayload) GetEndTime() float64
- func (s *SegmentCreatePayload) GetStartTime() float64
- func (s *SegmentCreatePayload) GetText() OptNilString
- func (s *SegmentCreatePayload) GetTranslations() OptNilSegmentCreatePayloadTranslations
- func (s *SegmentCreatePayload) MarshalJSON() ([]byte, error)
- func (s *SegmentCreatePayload) SetEndTime(val float64)
- func (s *SegmentCreatePayload) SetStartTime(val float64)
- func (s *SegmentCreatePayload) SetText(val OptNilString)
- func (s *SegmentCreatePayload) SetTranslations(val OptNilSegmentCreatePayloadTranslations)
- func (s *SegmentCreatePayload) UnmarshalJSON(data []byte) error
- func (s *SegmentCreatePayload) Validate() error
- type SegmentCreatePayloadTranslations
- type SegmentCreateResponse
- func (s *SegmentCreateResponse) Decode(d *jx.Decoder) error
- func (s *SegmentCreateResponse) Encode(e *jx.Encoder)
- func (s *SegmentCreateResponse) GetNewSegment() string
- func (s *SegmentCreateResponse) GetVersion() int
- func (s *SegmentCreateResponse) MarshalJSON() ([]byte, error)
- func (s *SegmentCreateResponse) SetNewSegment(val string)
- func (s *SegmentCreateResponse) SetVersion(val int)
- func (s *SegmentCreateResponse) UnmarshalJSON(data []byte) error
- type SegmentDeleteResponse
- func (s *SegmentDeleteResponse) Decode(d *jx.Decoder) error
- func (s *SegmentDeleteResponse) Encode(e *jx.Encoder)
- func (s *SegmentDeleteResponse) GetVersion() int
- func (s *SegmentDeleteResponse) MarshalJSON() ([]byte, error)
- func (s *SegmentDeleteResponse) SetVersion(val int)
- func (s *SegmentDeleteResponse) UnmarshalJSON(data []byte) error
- type SegmentDubResponse
- func (s *SegmentDubResponse) Decode(d *jx.Decoder) error
- func (s *SegmentDubResponse) Encode(e *jx.Encoder)
- func (s *SegmentDubResponse) GetVersion() int
- func (s *SegmentDubResponse) MarshalJSON() ([]byte, error)
- func (s *SegmentDubResponse) SetVersion(val int)
- func (s *SegmentDubResponse) UnmarshalJSON(data []byte) error
- type SegmentMigrationResponse
- func (s *SegmentMigrationResponse) Decode(d *jx.Decoder) error
- func (s *SegmentMigrationResponse) Encode(e *jx.Encoder)
- func (s *SegmentMigrationResponse) GetVersion() int
- func (s *SegmentMigrationResponse) MarshalJSON() ([]byte, error)
- func (s *SegmentMigrationResponse) SetVersion(val int)
- func (s *SegmentMigrationResponse) UnmarshalJSON(data []byte) error
- type SegmentSubtitleFrame
- func (s *SegmentSubtitleFrame) Decode(d *jx.Decoder) error
- func (s *SegmentSubtitleFrame) Encode(e *jx.Encoder)
- func (s *SegmentSubtitleFrame) GetEndTime() float64
- func (s *SegmentSubtitleFrame) GetLines() []string
- func (s *SegmentSubtitleFrame) GetStartTime() float64
- func (s *SegmentSubtitleFrame) MarshalJSON() ([]byte, error)
- func (s *SegmentSubtitleFrame) SetEndTime(val float64)
- func (s *SegmentSubtitleFrame) SetLines(val []string)
- func (s *SegmentSubtitleFrame) SetStartTime(val float64)
- func (s *SegmentSubtitleFrame) UnmarshalJSON(data []byte) error
- func (s *SegmentSubtitleFrame) Validate() error
- type SegmentTranscriptionResponse
- func (s *SegmentTranscriptionResponse) Decode(d *jx.Decoder) error
- func (s *SegmentTranscriptionResponse) Encode(e *jx.Encoder)
- func (s *SegmentTranscriptionResponse) GetVersion() int
- func (s *SegmentTranscriptionResponse) MarshalJSON() ([]byte, error)
- func (s *SegmentTranscriptionResponse) SetVersion(val int)
- func (s *SegmentTranscriptionResponse) UnmarshalJSON(data []byte) error
- type SegmentTranslationResponse
- func (s *SegmentTranslationResponse) Decode(d *jx.Decoder) error
- func (s *SegmentTranslationResponse) Encode(e *jx.Encoder)
- func (s *SegmentTranslationResponse) GetVersion() int
- func (s *SegmentTranslationResponse) MarshalJSON() ([]byte, error)
- func (s *SegmentTranslationResponse) SetVersion(val int)
- func (s *SegmentTranslationResponse) UnmarshalJSON(data []byte) error
- type SegmentUpdatePayload
- func (s *SegmentUpdatePayload) Decode(d *jx.Decoder) error
- func (s *SegmentUpdatePayload) Encode(e *jx.Encoder)
- func (s *SegmentUpdatePayload) GetEndTime() OptNilFloat64
- func (s *SegmentUpdatePayload) GetStartTime() OptNilFloat64
- func (s *SegmentUpdatePayload) GetText() OptNilString
- func (s *SegmentUpdatePayload) MarshalJSON() ([]byte, error)
- func (s *SegmentUpdatePayload) SetEndTime(val OptNilFloat64)
- func (s *SegmentUpdatePayload) SetStartTime(val OptNilFloat64)
- func (s *SegmentUpdatePayload) SetText(val OptNilString)
- func (s *SegmentUpdatePayload) UnmarshalJSON(data []byte) error
- func (s *SegmentUpdatePayload) Validate() error
- type SegmentUpdateResponse
- func (s *SegmentUpdateResponse) Decode(d *jx.Decoder) error
- func (s *SegmentUpdateResponse) Encode(e *jx.Encoder)
- func (s *SegmentUpdateResponse) GetVersion() int
- func (s *SegmentUpdateResponse) MarshalJSON() ([]byte, error)
- func (s *SegmentUpdateResponse) SetVersion(val int)
- func (s *SegmentUpdateResponse) UnmarshalJSON(data []byte) error
- type SegmentedJsonExportOptions
- func (s *SegmentedJsonExportOptions) Decode(d *jx.Decoder) error
- func (s *SegmentedJsonExportOptions) Encode(e *jx.Encoder)
- func (s *SegmentedJsonExportOptions) GetFormat() SegmentedJsonExportOptionsFormat
- func (s *SegmentedJsonExportOptions) GetIncludeSpeakers() OptBool
- func (s *SegmentedJsonExportOptions) GetIncludeTimestamps() OptBool
- func (s *SegmentedJsonExportOptions) GetMaxSegmentChars() OptNilInt
- func (s *SegmentedJsonExportOptions) GetMaxSegmentDurationS() OptNilFloat64
- func (s *SegmentedJsonExportOptions) GetSegmentOnSilenceLongerThanS() OptNilFloat64
- func (s *SegmentedJsonExportOptions) MarshalJSON() ([]byte, error)
- func (s *SegmentedJsonExportOptions) SetFormat(val SegmentedJsonExportOptionsFormat)
- func (s *SegmentedJsonExportOptions) SetIncludeSpeakers(val OptBool)
- func (s *SegmentedJsonExportOptions) SetIncludeTimestamps(val OptBool)
- func (s *SegmentedJsonExportOptions) SetMaxSegmentChars(val OptNilInt)
- func (s *SegmentedJsonExportOptions) SetMaxSegmentDurationS(val OptNilFloat64)
- func (s *SegmentedJsonExportOptions) SetSegmentOnSilenceLongerThanS(val OptNilFloat64)
- func (s *SegmentedJsonExportOptions) UnmarshalJSON(data []byte) error
- func (s *SegmentedJsonExportOptions) Validate() error
- type SegmentedJsonExportOptionsFormat
- func (SegmentedJsonExportOptionsFormat) AllValues() []SegmentedJsonExportOptionsFormat
- func (s *SegmentedJsonExportOptionsFormat) Decode(d *jx.Decoder) error
- func (s SegmentedJsonExportOptionsFormat) Encode(e *jx.Encoder)
- func (s SegmentedJsonExportOptionsFormat) MarshalJSON() ([]byte, error)
- func (s SegmentedJsonExportOptionsFormat) MarshalText() ([]byte, error)
- func (s *SegmentedJsonExportOptionsFormat) UnmarshalJSON(data []byte) error
- func (s *SegmentedJsonExportOptionsFormat) UnmarshalText(data []byte) error
- func (s SegmentedJsonExportOptionsFormat) Validate() error
- type SeparateSongStemsOK
- type SeparateSongStemsOKHeaders
- type SeparateSongStemsOutputFormat
- type SeparateSongStemsParams
- type SeparateSongStemsRes
- type Server
- type ServerOption
- func WithErrorHandler(h ErrorHandler) ServerOption
- func WithMaxMultipartMemory(max int64) ServerOption
- func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
- func WithMiddleware(m ...Middleware) ServerOption
- func WithNotFound(notFound http.HandlerFunc) ServerOption
- func WithPathPrefix(prefix string) ServerOption
- type ShareOptionResponseModel
- func (s *ShareOptionResponseModel) Decode(d *jx.Decoder) error
- func (s *ShareOptionResponseModel) Encode(e *jx.Encoder)
- func (s *ShareOptionResponseModel) GetID() string
- func (s *ShareOptionResponseModel) GetName() string
- func (s *ShareOptionResponseModel) GetType() ShareOptionResponseModelType
- func (s *ShareOptionResponseModel) MarshalJSON() ([]byte, error)
- func (s *ShareOptionResponseModel) SetID(val string)
- func (s *ShareOptionResponseModel) SetName(val string)
- func (s *ShareOptionResponseModel) SetType(val ShareOptionResponseModelType)
- func (s *ShareOptionResponseModel) UnmarshalJSON(data []byte) error
- func (s *ShareOptionResponseModel) Validate() error
- type ShareOptionResponseModelType
- func (ShareOptionResponseModelType) AllValues() []ShareOptionResponseModelType
- func (s *ShareOptionResponseModelType) Decode(d *jx.Decoder) error
- func (s ShareOptionResponseModelType) Encode(e *jx.Encoder)
- func (s ShareOptionResponseModelType) MarshalJSON() ([]byte, error)
- func (s ShareOptionResponseModelType) MarshalText() ([]byte, error)
- func (s *ShareOptionResponseModelType) UnmarshalJSON(data []byte) error
- func (s *ShareOptionResponseModelType) UnmarshalText(data []byte) error
- func (s ShareOptionResponseModelType) Validate() error
- type ShareResourceEndpointOKApplicationJSON
- func (s *ShareResourceEndpointOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ShareResourceEndpointOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ShareResourceEndpointOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ShareResourceEndpointOKApplicationJSON) UnmarshalJSON(data []byte) error
- type ShareResourceEndpointParams
- type ShareResourceEndpointRes
- type SimilarVoice
- func (s *SimilarVoice) Decode(d *jx.Decoder) error
- func (s *SimilarVoice) Encode(e *jx.Encoder)
- func (s *SimilarVoice) GetCategory() SimilarVoiceCategory
- func (s *SimilarVoice) GetDescription() OptNilString
- func (s *SimilarVoice) GetName() string
- func (s *SimilarVoice) GetPreviewURL() OptNilString
- func (s *SimilarVoice) GetVoiceID() string
- func (s *SimilarVoice) MarshalJSON() ([]byte, error)
- func (s *SimilarVoice) SetCategory(val SimilarVoiceCategory)
- func (s *SimilarVoice) SetDescription(val OptNilString)
- func (s *SimilarVoice) SetName(val string)
- func (s *SimilarVoice) SetPreviewURL(val OptNilString)
- func (s *SimilarVoice) SetVoiceID(val string)
- func (s *SimilarVoice) UnmarshalJSON(data []byte) error
- func (s *SimilarVoice) Validate() error
- type SimilarVoiceCategory
- func (SimilarVoiceCategory) AllValues() []SimilarVoiceCategory
- func (s *SimilarVoiceCategory) Decode(d *jx.Decoder) error
- func (s SimilarVoiceCategory) Encode(e *jx.Encoder)
- func (s SimilarVoiceCategory) MarshalJSON() ([]byte, error)
- func (s SimilarVoiceCategory) MarshalText() ([]byte, error)
- func (s *SimilarVoiceCategory) UnmarshalJSON(data []byte) error
- func (s *SimilarVoiceCategory) UnmarshalText(data []byte) error
- func (s SimilarVoiceCategory) Validate() error
- type SimilarVoicesForSpeakerResponse
- func (s *SimilarVoicesForSpeakerResponse) Decode(d *jx.Decoder) error
- func (s *SimilarVoicesForSpeakerResponse) Encode(e *jx.Encoder)
- func (s *SimilarVoicesForSpeakerResponse) GetVoices() []SimilarVoice
- func (s *SimilarVoicesForSpeakerResponse) MarshalJSON() ([]byte, error)
- func (s *SimilarVoicesForSpeakerResponse) SetVoices(val []SimilarVoice)
- func (s *SimilarVoicesForSpeakerResponse) UnmarshalJSON(data []byte) error
- func (s *SimilarVoicesForSpeakerResponse) Validate() error
- type SingleUseTokenResponseModel
- func (s *SingleUseTokenResponseModel) Decode(d *jx.Decoder) error
- func (s *SingleUseTokenResponseModel) Encode(e *jx.Encoder)
- func (s *SingleUseTokenResponseModel) GetToken() string
- func (s *SingleUseTokenResponseModel) MarshalJSON() ([]byte, error)
- func (s *SingleUseTokenResponseModel) SetToken(val string)
- func (s *SingleUseTokenResponseModel) UnmarshalJSON(data []byte) error
- type SingleUseTokenType
- type SkipTurnToolResponseModel
- func (s *SkipTurnToolResponseModel) Decode(d *jx.Decoder) error
- func (s *SkipTurnToolResponseModel) Encode(e *jx.Encoder)
- func (s *SkipTurnToolResponseModel) GetReason() OptNilString
- func (s *SkipTurnToolResponseModel) GetResultType() OptSkipTurnToolResponseModelResultType
- func (s *SkipTurnToolResponseModel) GetStatus() OptSkipTurnToolResponseModelStatus
- func (s *SkipTurnToolResponseModel) MarshalJSON() ([]byte, error)
- func (s *SkipTurnToolResponseModel) SetReason(val OptNilString)
- func (s *SkipTurnToolResponseModel) SetResultType(val OptSkipTurnToolResponseModelResultType)
- func (s *SkipTurnToolResponseModel) SetStatus(val OptSkipTurnToolResponseModelStatus)
- func (s *SkipTurnToolResponseModel) UnmarshalJSON(data []byte) error
- func (s *SkipTurnToolResponseModel) Validate() error
- type SkipTurnToolResponseModelResultType
- func (SkipTurnToolResponseModelResultType) AllValues() []SkipTurnToolResponseModelResultType
- func (s *SkipTurnToolResponseModelResultType) Decode(d *jx.Decoder) error
- func (s SkipTurnToolResponseModelResultType) Encode(e *jx.Encoder)
- func (s SkipTurnToolResponseModelResultType) MarshalJSON() ([]byte, error)
- func (s SkipTurnToolResponseModelResultType) MarshalText() ([]byte, error)
- func (s *SkipTurnToolResponseModelResultType) UnmarshalJSON(data []byte) error
- func (s *SkipTurnToolResponseModelResultType) UnmarshalText(data []byte) error
- func (s SkipTurnToolResponseModelResultType) Validate() error
- type SkipTurnToolResponseModelStatus
- func (SkipTurnToolResponseModelStatus) AllValues() []SkipTurnToolResponseModelStatus
- func (s *SkipTurnToolResponseModelStatus) Decode(d *jx.Decoder) error
- func (s SkipTurnToolResponseModelStatus) Encode(e *jx.Encoder)
- func (s SkipTurnToolResponseModelStatus) MarshalJSON() ([]byte, error)
- func (s SkipTurnToolResponseModelStatus) MarshalText() ([]byte, error)
- func (s *SkipTurnToolResponseModelStatus) UnmarshalJSON(data []byte) error
- func (s *SkipTurnToolResponseModelStatus) UnmarshalText(data []byte) error
- func (s SkipTurnToolResponseModelStatus) Validate() error
- type SoftTimeoutConfigOverride
- func (s *SoftTimeoutConfigOverride) Decode(d *jx.Decoder) error
- func (s *SoftTimeoutConfigOverride) Encode(e *jx.Encoder)
- func (s *SoftTimeoutConfigOverride) GetMessage() OptNilString
- func (s *SoftTimeoutConfigOverride) MarshalJSON() ([]byte, error)
- func (s *SoftTimeoutConfigOverride) SetMessage(val OptNilString)
- func (s *SoftTimeoutConfigOverride) UnmarshalJSON(data []byte) error
- type SongSection
- func (s *SongSection) Decode(d *jx.Decoder) error
- func (s *SongSection) Encode(e *jx.Encoder)
- func (s *SongSection) GetDurationMs() int
- func (s *SongSection) GetLines() []string
- func (s *SongSection) GetNegativeLocalStyles() []string
- func (s *SongSection) GetPositiveLocalStyles() []string
- func (s *SongSection) GetSectionName() string
- func (s *SongSection) GetSourceFrom() OptSectionSource
- func (s *SongSection) MarshalJSON() ([]byte, error)
- func (s *SongSection) SetDurationMs(val int)
- func (s *SongSection) SetLines(val []string)
- func (s *SongSection) SetNegativeLocalStyles(val []string)
- func (s *SongSection) SetPositiveLocalStyles(val []string)
- func (s *SongSection) SetSectionName(val string)
- func (s *SongSection) SetSourceFrom(val OptSectionSource)
- func (s *SongSection) UnmarshalJSON(data []byte) error
- func (s *SongSection) Validate() error
- type SortDirection
- type SoundGenerationOK
- type SoundGenerationOKHeaders
- type SoundGenerationOutputFormat
- type SoundGenerationParams
- type SoundGenerationRes
- type SpeakerAudioResponseModel
- func (s *SpeakerAudioResponseModel) Decode(d *jx.Decoder) error
- func (s *SpeakerAudioResponseModel) Encode(e *jx.Encoder)
- func (s *SpeakerAudioResponseModel) GetAudioBase64() string
- func (s *SpeakerAudioResponseModel) GetDurationSecs() float64
- func (s *SpeakerAudioResponseModel) GetMediaType() string
- func (s *SpeakerAudioResponseModel) MarshalJSON() ([]byte, error)
- func (s *SpeakerAudioResponseModel) SetAudioBase64(val string)
- func (s *SpeakerAudioResponseModel) SetDurationSecs(val float64)
- func (s *SpeakerAudioResponseModel) SetMediaType(val string)
- func (s *SpeakerAudioResponseModel) UnmarshalJSON(data []byte) error
- func (s *SpeakerAudioResponseModel) Validate() error
- type SpeakerCreatedResponse
- func (s *SpeakerCreatedResponse) Decode(d *jx.Decoder) error
- func (s *SpeakerCreatedResponse) Encode(e *jx.Encoder)
- func (s *SpeakerCreatedResponse) GetSpeakerID() string
- func (s *SpeakerCreatedResponse) GetVersion() int
- func (s *SpeakerCreatedResponse) MarshalJSON() ([]byte, error)
- func (s *SpeakerCreatedResponse) SetSpeakerID(val string)
- func (s *SpeakerCreatedResponse) SetVersion(val int)
- func (s *SpeakerCreatedResponse) UnmarshalJSON(data []byte) error
- type SpeakerResponseModel
- func (s *SpeakerResponseModel) Decode(d *jx.Decoder) error
- func (s *SpeakerResponseModel) Encode(e *jx.Encoder)
- func (s *SpeakerResponseModel) GetDurationSecs() float64
- func (s *SpeakerResponseModel) GetSpeakerID() string
- func (s *SpeakerResponseModel) GetUtterances() OptNilUtteranceResponseModelArray
- func (s *SpeakerResponseModel) MarshalJSON() ([]byte, error)
- func (s *SpeakerResponseModel) SetDurationSecs(val float64)
- func (s *SpeakerResponseModel) SetSpeakerID(val string)
- func (s *SpeakerResponseModel) SetUtterances(val OptNilUtteranceResponseModelArray)
- func (s *SpeakerResponseModel) UnmarshalJSON(data []byte) error
- func (s *SpeakerResponseModel) Validate() error
- type SpeakerSegment
- func (s *SpeakerSegment) Decode(d *jx.Decoder) error
- func (s *SpeakerSegment) Encode(e *jx.Encoder)
- func (s *SpeakerSegment) GetDubs() SpeakerSegmentDubs
- func (s *SpeakerSegment) GetEndTime() float64
- func (s *SpeakerSegment) GetID() string
- func (s *SpeakerSegment) GetStartTime() float64
- func (s *SpeakerSegment) GetSubtitles() []SegmentSubtitleFrame
- func (s *SpeakerSegment) GetText() string
- func (s *SpeakerSegment) MarshalJSON() ([]byte, error)
- func (s *SpeakerSegment) SetDubs(val SpeakerSegmentDubs)
- func (s *SpeakerSegment) SetEndTime(val float64)
- func (s *SpeakerSegment) SetID(val string)
- func (s *SpeakerSegment) SetStartTime(val float64)
- func (s *SpeakerSegment) SetSubtitles(val []SegmentSubtitleFrame)
- func (s *SpeakerSegment) SetText(val string)
- func (s *SpeakerSegment) UnmarshalJSON(data []byte) error
- func (s *SpeakerSegment) Validate() error
- type SpeakerSegmentDubs
- type SpeakerSeparationResponseModel
- func (s *SpeakerSeparationResponseModel) Decode(d *jx.Decoder) error
- func (s *SpeakerSeparationResponseModel) Encode(e *jx.Encoder)
- func (s *SpeakerSeparationResponseModel) GetSampleID() string
- func (s *SpeakerSeparationResponseModel) GetSelectedSpeakerIds() OptNilStringArray
- func (s *SpeakerSeparationResponseModel) GetSpeakers() OptNilSpeakerSeparationResponseModelSpeakers
- func (s *SpeakerSeparationResponseModel) GetStatus() SpeakerSeparationResponseModelStatus
- func (s *SpeakerSeparationResponseModel) GetVoiceID() string
- func (s *SpeakerSeparationResponseModel) MarshalJSON() ([]byte, error)
- func (s *SpeakerSeparationResponseModel) SetSampleID(val string)
- func (s *SpeakerSeparationResponseModel) SetSelectedSpeakerIds(val OptNilStringArray)
- func (s *SpeakerSeparationResponseModel) SetSpeakers(val OptNilSpeakerSeparationResponseModelSpeakers)
- func (s *SpeakerSeparationResponseModel) SetStatus(val SpeakerSeparationResponseModelStatus)
- func (s *SpeakerSeparationResponseModel) SetVoiceID(val string)
- func (s *SpeakerSeparationResponseModel) UnmarshalJSON(data []byte) error
- func (s *SpeakerSeparationResponseModel) Validate() error
- type SpeakerSeparationResponseModelSpeakers
- func (s *SpeakerSeparationResponseModelSpeakers) Decode(d *jx.Decoder) error
- func (s SpeakerSeparationResponseModelSpeakers) Encode(e *jx.Encoder)
- func (s SpeakerSeparationResponseModelSpeakers) MarshalJSON() ([]byte, error)
- func (s *SpeakerSeparationResponseModelSpeakers) UnmarshalJSON(data []byte) error
- func (s SpeakerSeparationResponseModelSpeakers) Validate() error
- type SpeakerSeparationResponseModelStatus
- func (SpeakerSeparationResponseModelStatus) AllValues() []SpeakerSeparationResponseModelStatus
- func (s *SpeakerSeparationResponseModelStatus) Decode(d *jx.Decoder) error
- func (s SpeakerSeparationResponseModelStatus) Encode(e *jx.Encoder)
- func (s SpeakerSeparationResponseModelStatus) MarshalJSON() ([]byte, error)
- func (s SpeakerSeparationResponseModelStatus) MarshalText() ([]byte, error)
- func (s *SpeakerSeparationResponseModelStatus) UnmarshalJSON(data []byte) error
- func (s *SpeakerSeparationResponseModelStatus) UnmarshalText(data []byte) error
- func (s SpeakerSeparationResponseModelStatus) Validate() error
- type SpeakerTrack
- func (s *SpeakerTrack) Decode(d *jx.Decoder) error
- func (s *SpeakerTrack) Encode(e *jx.Encoder)
- func (s *SpeakerTrack) GetID() string
- func (s *SpeakerTrack) GetMediaRef() DubbingMediaReference
- func (s *SpeakerTrack) GetSegments() []string
- func (s *SpeakerTrack) GetSpeakerName() string
- func (s *SpeakerTrack) GetVoices() SpeakerTrackVoices
- func (s *SpeakerTrack) MarshalJSON() ([]byte, error)
- func (s *SpeakerTrack) SetID(val string)
- func (s *SpeakerTrack) SetMediaRef(val DubbingMediaReference)
- func (s *SpeakerTrack) SetSegments(val []string)
- func (s *SpeakerTrack) SetSpeakerName(val string)
- func (s *SpeakerTrack) SetVoices(val SpeakerTrackVoices)
- func (s *SpeakerTrack) UnmarshalJSON(data []byte) error
- func (s *SpeakerTrack) Validate() error
- type SpeakerTrackVoices
- type SpeakerUpdatedResponse
- func (s *SpeakerUpdatedResponse) Decode(d *jx.Decoder) error
- func (s *SpeakerUpdatedResponse) Encode(e *jx.Encoder)
- func (s *SpeakerUpdatedResponse) GetVersion() int
- func (s *SpeakerUpdatedResponse) MarshalJSON() ([]byte, error)
- func (s *SpeakerUpdatedResponse) SetVersion(val int)
- func (s *SpeakerUpdatedResponse) UnmarshalJSON(data []byte) error
- type SpeechHistoryItemResponseModel
- func (s *SpeechHistoryItemResponseModel) Decode(d *jx.Decoder) error
- func (s *SpeechHistoryItemResponseModel) Encode(e *jx.Encoder)
- func (s *SpeechHistoryItemResponseModel) GetAlignments() OptHistoryAlignmentsResponseModel
- func (s *SpeechHistoryItemResponseModel) GetCharacterCountChangeFrom() int
- func (s *SpeechHistoryItemResponseModel) GetCharacterCountChangeTo() int
- func (s *SpeechHistoryItemResponseModel) GetContentType() string
- func (s *SpeechHistoryItemResponseModel) GetDateUnix() int
- func (s *SpeechHistoryItemResponseModel) GetDialogue() OptNilDialogueInputResponseModelArray
- func (s *SpeechHistoryItemResponseModel) GetFeedback() OptFeedbackResponseModel
- func (s *SpeechHistoryItemResponseModel) GetHistoryItemID() string
- func (s *SpeechHistoryItemResponseModel) GetModelID() OptNilString
- func (s *SpeechHistoryItemResponseModel) GetRequestID() OptNilString
- func (s *SpeechHistoryItemResponseModel) GetSettings() OptSpeechHistoryItemResponseModelSettings
- func (s *SpeechHistoryItemResponseModel) GetShareLinkID() OptNilString
- func (s *SpeechHistoryItemResponseModel) GetSource() OptNilSpeechHistoryItemResponseModelSource
- func (s *SpeechHistoryItemResponseModel) GetState() SpeechHistoryItemResponseModelState
- func (s *SpeechHistoryItemResponseModel) GetText() OptNilString
- func (s *SpeechHistoryItemResponseModel) GetVoiceCategory() OptNilSpeechHistoryItemResponseModelVoiceCategory
- func (s *SpeechHistoryItemResponseModel) GetVoiceID() OptNilString
- func (s *SpeechHistoryItemResponseModel) GetVoiceName() OptNilString
- func (s *SpeechHistoryItemResponseModel) MarshalJSON() ([]byte, error)
- func (s *SpeechHistoryItemResponseModel) SetAlignments(val OptHistoryAlignmentsResponseModel)
- func (s *SpeechHistoryItemResponseModel) SetCharacterCountChangeFrom(val int)
- func (s *SpeechHistoryItemResponseModel) SetCharacterCountChangeTo(val int)
- func (s *SpeechHistoryItemResponseModel) SetContentType(val string)
- func (s *SpeechHistoryItemResponseModel) SetDateUnix(val int)
- func (s *SpeechHistoryItemResponseModel) SetDialogue(val OptNilDialogueInputResponseModelArray)
- func (s *SpeechHistoryItemResponseModel) SetFeedback(val OptFeedbackResponseModel)
- func (s *SpeechHistoryItemResponseModel) SetHistoryItemID(val string)
- func (s *SpeechHistoryItemResponseModel) SetModelID(val OptNilString)
- func (s *SpeechHistoryItemResponseModel) SetRequestID(val OptNilString)
- func (s *SpeechHistoryItemResponseModel) SetSettings(val OptSpeechHistoryItemResponseModelSettings)
- func (s *SpeechHistoryItemResponseModel) SetShareLinkID(val OptNilString)
- func (s *SpeechHistoryItemResponseModel) SetSource(val OptNilSpeechHistoryItemResponseModelSource)
- func (s *SpeechHistoryItemResponseModel) SetState(val SpeechHistoryItemResponseModelState)
- func (s *SpeechHistoryItemResponseModel) SetText(val OptNilString)
- func (s *SpeechHistoryItemResponseModel) SetVoiceCategory(val OptNilSpeechHistoryItemResponseModelVoiceCategory)
- func (s *SpeechHistoryItemResponseModel) SetVoiceID(val OptNilString)
- func (s *SpeechHistoryItemResponseModel) SetVoiceName(val OptNilString)
- func (s *SpeechHistoryItemResponseModel) UnmarshalJSON(data []byte) error
- func (s *SpeechHistoryItemResponseModel) Validate() error
- type SpeechHistoryItemResponseModelSettings
- func (s *SpeechHistoryItemResponseModelSettings) Decode(d *jx.Decoder) error
- func (s *SpeechHistoryItemResponseModelSettings) Encode(e *jx.Encoder)
- func (s *SpeechHistoryItemResponseModelSettings) MarshalJSON() ([]byte, error)
- func (s *SpeechHistoryItemResponseModelSettings) UnmarshalJSON(data []byte) error
- type SpeechHistoryItemResponseModelSource
- func (SpeechHistoryItemResponseModelSource) AllValues() []SpeechHistoryItemResponseModelSource
- func (s *SpeechHistoryItemResponseModelSource) Decode(d *jx.Decoder) error
- func (s SpeechHistoryItemResponseModelSource) Encode(e *jx.Encoder)
- func (s SpeechHistoryItemResponseModelSource) MarshalJSON() ([]byte, error)
- func (s SpeechHistoryItemResponseModelSource) MarshalText() ([]byte, error)
- func (s *SpeechHistoryItemResponseModelSource) UnmarshalJSON(data []byte) error
- func (s *SpeechHistoryItemResponseModelSource) UnmarshalText(data []byte) error
- func (s SpeechHistoryItemResponseModelSource) Validate() error
- type SpeechHistoryItemResponseModelState
- func (SpeechHistoryItemResponseModelState) AllValues() []SpeechHistoryItemResponseModelState
- func (s *SpeechHistoryItemResponseModelState) Decode(d *jx.Decoder) error
- func (s SpeechHistoryItemResponseModelState) Encode(e *jx.Encoder)
- func (s SpeechHistoryItemResponseModelState) MarshalJSON() ([]byte, error)
- func (s SpeechHistoryItemResponseModelState) MarshalText() ([]byte, error)
- func (s *SpeechHistoryItemResponseModelState) UnmarshalJSON(data []byte) error
- func (s *SpeechHistoryItemResponseModelState) UnmarshalText(data []byte) error
- func (s SpeechHistoryItemResponseModelState) Validate() error
- type SpeechHistoryItemResponseModelVoiceCategory
- func (SpeechHistoryItemResponseModelVoiceCategory) AllValues() []SpeechHistoryItemResponseModelVoiceCategory
- func (s *SpeechHistoryItemResponseModelVoiceCategory) Decode(d *jx.Decoder) error
- func (s SpeechHistoryItemResponseModelVoiceCategory) Encode(e *jx.Encoder)
- func (s SpeechHistoryItemResponseModelVoiceCategory) MarshalJSON() ([]byte, error)
- func (s SpeechHistoryItemResponseModelVoiceCategory) MarshalText() ([]byte, error)
- func (s *SpeechHistoryItemResponseModelVoiceCategory) UnmarshalJSON(data []byte) error
- func (s *SpeechHistoryItemResponseModelVoiceCategory) UnmarshalText(data []byte) error
- func (s SpeechHistoryItemResponseModelVoiceCategory) Validate() error
- type SpeechToSpeechFullOK
- type SpeechToSpeechFullOutputFormat
- type SpeechToSpeechFullParams
- type SpeechToSpeechFullRes
- type SpeechToSpeechStreamOK
- type SpeechToSpeechStreamOutputFormat
- type SpeechToSpeechStreamParams
- type SpeechToSpeechStreamRes
- type SpeechToTextAcceptedApplicationJSON
- type SpeechToTextCharacterResponseModel
- func (s *SpeechToTextCharacterResponseModel) Decode(d *jx.Decoder) error
- func (s *SpeechToTextCharacterResponseModel) Encode(e *jx.Encoder)
- func (s *SpeechToTextCharacterResponseModel) GetEnd() OptNilFloat64
- func (s *SpeechToTextCharacterResponseModel) GetStart() OptNilFloat64
- func (s *SpeechToTextCharacterResponseModel) GetText() string
- func (s *SpeechToTextCharacterResponseModel) MarshalJSON() ([]byte, error)
- func (s *SpeechToTextCharacterResponseModel) SetEnd(val OptNilFloat64)
- func (s *SpeechToTextCharacterResponseModel) SetStart(val OptNilFloat64)
- func (s *SpeechToTextCharacterResponseModel) SetText(val string)
- func (s *SpeechToTextCharacterResponseModel) UnmarshalJSON(data []byte) error
- func (s *SpeechToTextCharacterResponseModel) Validate() error
- type SpeechToTextChunkResponseModel
- func (s *SpeechToTextChunkResponseModel) Decode(d *jx.Decoder) error
- func (s *SpeechToTextChunkResponseModel) Encode(e *jx.Encoder)
- func (s *SpeechToTextChunkResponseModel) GetAdditionalFormats() OptNilAdditionalFormatResponseModelArray
- func (s *SpeechToTextChunkResponseModel) GetChannelIndex() OptNilInt
- func (s *SpeechToTextChunkResponseModel) GetLanguageCode() string
- func (s *SpeechToTextChunkResponseModel) GetLanguageProbability() float64
- func (s *SpeechToTextChunkResponseModel) GetText() string
- func (s *SpeechToTextChunkResponseModel) GetTranscriptionID() OptNilString
- func (s *SpeechToTextChunkResponseModel) GetWords() []SpeechToTextWordResponseModel
- func (s *SpeechToTextChunkResponseModel) MarshalJSON() ([]byte, error)
- func (s *SpeechToTextChunkResponseModel) SetAdditionalFormats(val OptNilAdditionalFormatResponseModelArray)
- func (s *SpeechToTextChunkResponseModel) SetChannelIndex(val OptNilInt)
- func (s *SpeechToTextChunkResponseModel) SetLanguageCode(val string)
- func (s *SpeechToTextChunkResponseModel) SetLanguageProbability(val float64)
- func (s *SpeechToTextChunkResponseModel) SetText(val string)
- func (s *SpeechToTextChunkResponseModel) SetTranscriptionID(val OptNilString)
- func (s *SpeechToTextChunkResponseModel) SetWords(val []SpeechToTextWordResponseModel)
- func (s *SpeechToTextChunkResponseModel) UnmarshalJSON(data []byte) error
- func (s *SpeechToTextChunkResponseModel) Validate() error
- type SpeechToTextOK
- func (s *SpeechToTextOK) Decode(d *jx.Decoder) error
- func (s SpeechToTextOK) Encode(e *jx.Encoder)
- func (s SpeechToTextOK) GetMultichannelSpeechToTextResponseModel() (v MultichannelSpeechToTextResponseModel, ok bool)
- func (s SpeechToTextOK) GetSpeechToTextChunkResponseModel() (v SpeechToTextChunkResponseModel, ok bool)
- func (s SpeechToTextOK) IsMultichannelSpeechToTextResponseModel() bool
- func (s SpeechToTextOK) IsSpeechToTextChunkResponseModel() bool
- func (s SpeechToTextOK) MarshalJSON() ([]byte, error)
- func (s *SpeechToTextOK) SetMultichannelSpeechToTextResponseModel(v MultichannelSpeechToTextResponseModel)
- func (s *SpeechToTextOK) SetSpeechToTextChunkResponseModel(v SpeechToTextChunkResponseModel)
- func (s *SpeechToTextOK) UnmarshalJSON(data []byte) error
- func (s SpeechToTextOK) Validate() error
- type SpeechToTextOKType
- type SpeechToTextParams
- type SpeechToTextRes
- type SpeechToTextWordResponseModel
- func (s *SpeechToTextWordResponseModel) Decode(d *jx.Decoder) error
- func (s *SpeechToTextWordResponseModel) Encode(e *jx.Encoder)
- func (s *SpeechToTextWordResponseModel) GetCharacters() OptNilSpeechToTextCharacterResponseModelArray
- func (s *SpeechToTextWordResponseModel) GetEnd() OptNilFloat64
- func (s *SpeechToTextWordResponseModel) GetLogprob() float64
- func (s *SpeechToTextWordResponseModel) GetSpeakerID() OptNilString
- func (s *SpeechToTextWordResponseModel) GetStart() OptNilFloat64
- func (s *SpeechToTextWordResponseModel) GetText() string
- func (s *SpeechToTextWordResponseModel) GetType() SpeechToTextWordResponseModelType
- func (s *SpeechToTextWordResponseModel) MarshalJSON() ([]byte, error)
- func (s *SpeechToTextWordResponseModel) SetCharacters(val OptNilSpeechToTextCharacterResponseModelArray)
- func (s *SpeechToTextWordResponseModel) SetEnd(val OptNilFloat64)
- func (s *SpeechToTextWordResponseModel) SetLogprob(val float64)
- func (s *SpeechToTextWordResponseModel) SetSpeakerID(val OptNilString)
- func (s *SpeechToTextWordResponseModel) SetStart(val OptNilFloat64)
- func (s *SpeechToTextWordResponseModel) SetText(val string)
- func (s *SpeechToTextWordResponseModel) SetType(val SpeechToTextWordResponseModelType)
- func (s *SpeechToTextWordResponseModel) UnmarshalJSON(data []byte) error
- func (s *SpeechToTextWordResponseModel) Validate() error
- type SpeechToTextWordResponseModelType
- func (SpeechToTextWordResponseModelType) AllValues() []SpeechToTextWordResponseModelType
- func (s *SpeechToTextWordResponseModelType) Decode(d *jx.Decoder) error
- func (s SpeechToTextWordResponseModelType) Encode(e *jx.Encoder)
- func (s SpeechToTextWordResponseModelType) MarshalJSON() ([]byte, error)
- func (s SpeechToTextWordResponseModelType) MarshalText() ([]byte, error)
- func (s *SpeechToTextWordResponseModelType) UnmarshalJSON(data []byte) error
- func (s *SpeechToTextWordResponseModelType) UnmarshalText(data []byte) error
- func (s SpeechToTextWordResponseModelType) Validate() error
- type SrtExportOptions
- func (s *SrtExportOptions) Decode(d *jx.Decoder) error
- func (s *SrtExportOptions) Encode(e *jx.Encoder)
- func (s *SrtExportOptions) GetFormat() SrtExportOptionsFormat
- func (s *SrtExportOptions) GetIncludeSpeakers() OptBool
- func (s *SrtExportOptions) GetIncludeTimestamps() OptBool
- func (s *SrtExportOptions) GetMaxCharactersPerLine() OptNilInt
- func (s *SrtExportOptions) GetMaxSegmentChars() OptNilInt
- func (s *SrtExportOptions) GetMaxSegmentDurationS() OptNilFloat64
- func (s *SrtExportOptions) GetSegmentOnSilenceLongerThanS() OptNilFloat64
- func (s *SrtExportOptions) MarshalJSON() ([]byte, error)
- func (s *SrtExportOptions) SetFormat(val SrtExportOptionsFormat)
- func (s *SrtExportOptions) SetIncludeSpeakers(val OptBool)
- func (s *SrtExportOptions) SetIncludeTimestamps(val OptBool)
- func (s *SrtExportOptions) SetMaxCharactersPerLine(val OptNilInt)
- func (s *SrtExportOptions) SetMaxSegmentChars(val OptNilInt)
- func (s *SrtExportOptions) SetMaxSegmentDurationS(val OptNilFloat64)
- func (s *SrtExportOptions) SetSegmentOnSilenceLongerThanS(val OptNilFloat64)
- func (s *SrtExportOptions) UnmarshalJSON(data []byte) error
- func (s *SrtExportOptions) Validate() error
- type SrtExportOptionsFormat
- func (SrtExportOptionsFormat) AllValues() []SrtExportOptionsFormat
- func (s *SrtExportOptionsFormat) Decode(d *jx.Decoder) error
- func (s SrtExportOptionsFormat) Encode(e *jx.Encoder)
- func (s SrtExportOptionsFormat) MarshalJSON() ([]byte, error)
- func (s SrtExportOptionsFormat) MarshalText() ([]byte, error)
- func (s *SrtExportOptionsFormat) UnmarshalJSON(data []byte) error
- func (s *SrtExportOptionsFormat) UnmarshalText(data []byte) error
- func (s SrtExportOptionsFormat) Validate() error
- type StartPVCVoiceTrainingResponseModel
- func (s *StartPVCVoiceTrainingResponseModel) Decode(d *jx.Decoder) error
- func (s *StartPVCVoiceTrainingResponseModel) Encode(e *jx.Encoder)
- func (s *StartPVCVoiceTrainingResponseModel) GetStatus() string
- func (s *StartPVCVoiceTrainingResponseModel) MarshalJSON() ([]byte, error)
- func (s *StartPVCVoiceTrainingResponseModel) SetStatus(val string)
- func (s *StartPVCVoiceTrainingResponseModel) UnmarshalJSON(data []byte) error
- type StartSpeakerSeparationParams
- type StartSpeakerSeparationRes
- type StartSpeakerSeparationResponseModel
- func (s *StartSpeakerSeparationResponseModel) Decode(d *jx.Decoder) error
- func (s *StartSpeakerSeparationResponseModel) Encode(e *jx.Encoder)
- func (s *StartSpeakerSeparationResponseModel) GetStatus() string
- func (s *StartSpeakerSeparationResponseModel) MarshalJSON() ([]byte, error)
- func (s *StartSpeakerSeparationResponseModel) SetStatus(val string)
- func (s *StartSpeakerSeparationResponseModel) UnmarshalJSON(data []byte) error
- type StreamChapterSnapshotAudioOK
- type StreamChapterSnapshotAudioParams
- type StreamChapterSnapshotAudioRes
- type StreamComposeOK
- type StreamComposeOKHeaders
- func (s *StreamComposeOKHeaders) GetContentType() string
- func (s *StreamComposeOKHeaders) GetResponse() StreamComposeOK
- func (s *StreamComposeOKHeaders) GetSongID() OptString
- func (s *StreamComposeOKHeaders) SetContentType(val string)
- func (s *StreamComposeOKHeaders) SetResponse(val StreamComposeOK)
- func (s *StreamComposeOKHeaders) SetSongID(val OptString)
- type StreamComposeOutputFormat
- type StreamComposeParams
- type StreamComposeRes
- type StreamProjectSnapshotArchiveEndpointOK
- type StreamProjectSnapshotArchiveEndpointParams
- type StreamProjectSnapshotArchiveEndpointRes
- type StreamProjectSnapshotAudioEndpointOK
- type StreamProjectSnapshotAudioEndpointParams
- type StreamProjectSnapshotAudioEndpointRes
- type StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel
- func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) Decode(d *jx.Decoder) error
- func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) Encode(e *jx.Encoder)
- func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) GetAlignment() OptCharacterAlignmentResponseModel
- func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) GetAudioBase64() string
- func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) GetNormalizedAlignment() OptCharacterAlignmentResponseModel
- func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) GetVoiceSegments() []VoiceSegment
- func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) MarshalJSON() ([]byte, error)
- func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) SetAlignment(val OptCharacterAlignmentResponseModel)
- func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) SetAudioBase64(val string)
- func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) SetNormalizedAlignment(val OptCharacterAlignmentResponseModel)
- func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) SetVoiceSegments(val []VoiceSegment)
- func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) UnmarshalJSON(data []byte) error
- func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) Validate() error
- type StreamingAudioChunkWithTimestampsResponseModel
- func (s *StreamingAudioChunkWithTimestampsResponseModel) Decode(d *jx.Decoder) error
- func (s *StreamingAudioChunkWithTimestampsResponseModel) Encode(e *jx.Encoder)
- func (s *StreamingAudioChunkWithTimestampsResponseModel) GetAlignment() OptCharacterAlignmentResponseModel
- func (s *StreamingAudioChunkWithTimestampsResponseModel) GetAudioBase64() string
- func (s *StreamingAudioChunkWithTimestampsResponseModel) GetNormalizedAlignment() OptCharacterAlignmentResponseModel
- func (s *StreamingAudioChunkWithTimestampsResponseModel) MarshalJSON() ([]byte, error)
- func (s *StreamingAudioChunkWithTimestampsResponseModel) SetAlignment(val OptCharacterAlignmentResponseModel)
- func (s *StreamingAudioChunkWithTimestampsResponseModel) SetAudioBase64(val string)
- func (s *StreamingAudioChunkWithTimestampsResponseModel) SetNormalizedAlignment(val OptCharacterAlignmentResponseModel)
- func (s *StreamingAudioChunkWithTimestampsResponseModel) UnmarshalJSON(data []byte) error
- func (s *StreamingAudioChunkWithTimestampsResponseModel) Validate() error
- type SubscriptionResponseModel
- func (s *SubscriptionResponseModel) Decode(d *jx.Decoder) error
- func (s *SubscriptionResponseModel) Encode(e *jx.Encoder)
- func (s *SubscriptionResponseModel) GetAllowedToExtendCharacterLimit() bool
- func (s *SubscriptionResponseModel) GetBillingPeriod() OptBillingPeriod
- func (s *SubscriptionResponseModel) GetCanExtendCharacterLimit() bool
- func (s *SubscriptionResponseModel) GetCanExtendVoiceLimit() bool
- func (s *SubscriptionResponseModel) GetCanUseInstantVoiceCloning() bool
- func (s *SubscriptionResponseModel) GetCanUseProfessionalVoiceCloning() bool
- func (s *SubscriptionResponseModel) GetCharacterCount() int
- func (s *SubscriptionResponseModel) GetCharacterLimit() int
- func (s *SubscriptionResponseModel) GetCharacterRefreshPeriod() OptCharacterRefreshPeriod
- func (s *SubscriptionResponseModel) GetCurrency() OptNilSubscriptionResponseModelCurrency
- func (s *SubscriptionResponseModel) GetMaxCharacterLimitExtension() NilInt
- func (s *SubscriptionResponseModel) GetMaxVoiceAddEdits() OptNilInt
- func (s *SubscriptionResponseModel) GetNextCharacterCountResetUnix() OptNilInt
- func (s *SubscriptionResponseModel) GetProfessionalVoiceLimit() int
- func (s *SubscriptionResponseModel) GetProfessionalVoiceSlotsUsed() int
- func (s *SubscriptionResponseModel) GetStatus() SubscriptionStatusType
- func (s *SubscriptionResponseModel) GetTier() string
- func (s *SubscriptionResponseModel) GetVoiceAddEditCounter() int
- func (s *SubscriptionResponseModel) GetVoiceLimit() int
- func (s *SubscriptionResponseModel) GetVoiceSlotsUsed() int
- func (s *SubscriptionResponseModel) MarshalJSON() ([]byte, error)
- func (s *SubscriptionResponseModel) SetAllowedToExtendCharacterLimit(val bool)
- func (s *SubscriptionResponseModel) SetBillingPeriod(val OptBillingPeriod)
- func (s *SubscriptionResponseModel) SetCanExtendCharacterLimit(val bool)
- func (s *SubscriptionResponseModel) SetCanExtendVoiceLimit(val bool)
- func (s *SubscriptionResponseModel) SetCanUseInstantVoiceCloning(val bool)
- func (s *SubscriptionResponseModel) SetCanUseProfessionalVoiceCloning(val bool)
- func (s *SubscriptionResponseModel) SetCharacterCount(val int)
- func (s *SubscriptionResponseModel) SetCharacterLimit(val int)
- func (s *SubscriptionResponseModel) SetCharacterRefreshPeriod(val OptCharacterRefreshPeriod)
- func (s *SubscriptionResponseModel) SetCurrency(val OptNilSubscriptionResponseModelCurrency)
- func (s *SubscriptionResponseModel) SetMaxCharacterLimitExtension(val NilInt)
- func (s *SubscriptionResponseModel) SetMaxVoiceAddEdits(val OptNilInt)
- func (s *SubscriptionResponseModel) SetNextCharacterCountResetUnix(val OptNilInt)
- func (s *SubscriptionResponseModel) SetProfessionalVoiceLimit(val int)
- func (s *SubscriptionResponseModel) SetProfessionalVoiceSlotsUsed(val int)
- func (s *SubscriptionResponseModel) SetStatus(val SubscriptionStatusType)
- func (s *SubscriptionResponseModel) SetTier(val string)
- func (s *SubscriptionResponseModel) SetVoiceAddEditCounter(val int)
- func (s *SubscriptionResponseModel) SetVoiceLimit(val int)
- func (s *SubscriptionResponseModel) SetVoiceSlotsUsed(val int)
- func (s *SubscriptionResponseModel) UnmarshalJSON(data []byte) error
- func (s *SubscriptionResponseModel) Validate() error
- type SubscriptionResponseModelCurrency
- func (SubscriptionResponseModelCurrency) AllValues() []SubscriptionResponseModelCurrency
- func (s *SubscriptionResponseModelCurrency) Decode(d *jx.Decoder) error
- func (s SubscriptionResponseModelCurrency) Encode(e *jx.Encoder)
- func (s SubscriptionResponseModelCurrency) MarshalJSON() ([]byte, error)
- func (s SubscriptionResponseModelCurrency) MarshalText() ([]byte, error)
- func (s *SubscriptionResponseModelCurrency) UnmarshalJSON(data []byte) error
- func (s *SubscriptionResponseModelCurrency) UnmarshalText(data []byte) error
- func (s SubscriptionResponseModelCurrency) Validate() error
- type SubscriptionStatusType
- func (SubscriptionStatusType) AllValues() []SubscriptionStatusType
- func (s *SubscriptionStatusType) Decode(d *jx.Decoder) error
- func (s SubscriptionStatusType) Encode(e *jx.Encoder)
- func (s SubscriptionStatusType) MarshalJSON() ([]byte, error)
- func (s SubscriptionStatusType) MarshalText() ([]byte, error)
- func (s *SubscriptionStatusType) UnmarshalJSON(data []byte) error
- func (s *SubscriptionStatusType) UnmarshalText(data []byte) error
- func (s SubscriptionStatusType) Validate() error
- type TTSConversationalConfigOverride
- func (s *TTSConversationalConfigOverride) Decode(d *jx.Decoder) error
- func (s *TTSConversationalConfigOverride) Encode(e *jx.Encoder)
- func (s *TTSConversationalConfigOverride) GetSimilarityBoost() OptNilFloat64
- func (s *TTSConversationalConfigOverride) GetSpeed() OptNilFloat64
- func (s *TTSConversationalConfigOverride) GetStability() OptNilFloat64
- func (s *TTSConversationalConfigOverride) GetVoiceID() OptNilString
- func (s *TTSConversationalConfigOverride) MarshalJSON() ([]byte, error)
- func (s *TTSConversationalConfigOverride) SetSimilarityBoost(val OptNilFloat64)
- func (s *TTSConversationalConfigOverride) SetSpeed(val OptNilFloat64)
- func (s *TTSConversationalConfigOverride) SetStability(val OptNilFloat64)
- func (s *TTSConversationalConfigOverride) SetVoiceID(val OptNilString)
- func (s *TTSConversationalConfigOverride) UnmarshalJSON(data []byte) error
- func (s *TTSConversationalConfigOverride) Validate() error
- type TelephonyProvider
- func (TelephonyProvider) AllValues() []TelephonyProvider
- func (s *TelephonyProvider) Decode(d *jx.Decoder) error
- func (s TelephonyProvider) Encode(e *jx.Encoder)
- func (s TelephonyProvider) MarshalJSON() ([]byte, error)
- func (s TelephonyProvider) MarshalText() ([]byte, error)
- func (s *TelephonyProvider) UnmarshalJSON(data []byte) error
- func (s *TelephonyProvider) UnmarshalText(data []byte) error
- func (s TelephonyProvider) Validate() error
- type TestConditionRationaleCommonModel
- func (s *TestConditionRationaleCommonModel) Decode(d *jx.Decoder) error
- func (s *TestConditionRationaleCommonModel) Encode(e *jx.Encoder)
- func (s *TestConditionRationaleCommonModel) GetMessages() []string
- func (s *TestConditionRationaleCommonModel) GetSummary() OptString
- func (s *TestConditionRationaleCommonModel) MarshalJSON() ([]byte, error)
- func (s *TestConditionRationaleCommonModel) SetMessages(val []string)
- func (s *TestConditionRationaleCommonModel) SetSummary(val OptString)
- func (s *TestConditionRationaleCommonModel) UnmarshalJSON(data []byte) error
- type TestConditionResultCommonModel
- func (s *TestConditionResultCommonModel) Decode(d *jx.Decoder) error
- func (s *TestConditionResultCommonModel) Encode(e *jx.Encoder)
- func (s *TestConditionResultCommonModel) GetRationale() OptTestConditionRationaleCommonModel
- func (s *TestConditionResultCommonModel) GetResult() EvaluationSuccessResult
- func (s *TestConditionResultCommonModel) MarshalJSON() ([]byte, error)
- func (s *TestConditionResultCommonModel) SetRationale(val OptTestConditionRationaleCommonModel)
- func (s *TestConditionResultCommonModel) SetResult(val EvaluationSuccessResult)
- func (s *TestConditionResultCommonModel) UnmarshalJSON(data []byte) error
- func (s *TestConditionResultCommonModel) Validate() error
- type TestFromConversationMetadataInput
- func (s *TestFromConversationMetadataInput) Decode(d *jx.Decoder) error
- func (s *TestFromConversationMetadataInput) Encode(e *jx.Encoder)
- func (s *TestFromConversationMetadataInput) GetAgentID() string
- func (s *TestFromConversationMetadataInput) GetConversationID() string
- func (s *TestFromConversationMetadataInput) GetOriginalAgentReply() []ConversationHistoryTranscriptCommonModelInput
- func (s *TestFromConversationMetadataInput) GetWorkflowNodeID() OptNilString
- func (s *TestFromConversationMetadataInput) MarshalJSON() ([]byte, error)
- func (s *TestFromConversationMetadataInput) SetAgentID(val string)
- func (s *TestFromConversationMetadataInput) SetConversationID(val string)
- func (s *TestFromConversationMetadataInput) SetOriginalAgentReply(val []ConversationHistoryTranscriptCommonModelInput)
- func (s *TestFromConversationMetadataInput) SetWorkflowNodeID(val OptNilString)
- func (s *TestFromConversationMetadataInput) UnmarshalJSON(data []byte) error
- func (s *TestFromConversationMetadataInput) Validate() error
- type TestFromConversationMetadataOutput
- func (s *TestFromConversationMetadataOutput) Decode(d *jx.Decoder) error
- func (s *TestFromConversationMetadataOutput) Encode(e *jx.Encoder)
- func (s *TestFromConversationMetadataOutput) GetAgentID() string
- func (s *TestFromConversationMetadataOutput) GetConversationID() string
- func (s *TestFromConversationMetadataOutput) GetOriginalAgentReply() []ConversationHistoryTranscriptCommonModelOutput
- func (s *TestFromConversationMetadataOutput) GetWorkflowNodeID() OptNilString
- func (s *TestFromConversationMetadataOutput) MarshalJSON() ([]byte, error)
- func (s *TestFromConversationMetadataOutput) SetAgentID(val string)
- func (s *TestFromConversationMetadataOutput) SetConversationID(val string)
- func (s *TestFromConversationMetadataOutput) SetOriginalAgentReply(val []ConversationHistoryTranscriptCommonModelOutput)
- func (s *TestFromConversationMetadataOutput) SetWorkflowNodeID(val OptNilString)
- func (s *TestFromConversationMetadataOutput) UnmarshalJSON(data []byte) error
- func (s *TestFromConversationMetadataOutput) Validate() error
- type TestInvocationSummaryResponseModel
- func (s *TestInvocationSummaryResponseModel) Decode(d *jx.Decoder) error
- func (s *TestInvocationSummaryResponseModel) Encode(e *jx.Encoder)
- func (s *TestInvocationSummaryResponseModel) GetAccessInfo() OptResourceAccessInfo
- func (s *TestInvocationSummaryResponseModel) GetAgentID() OptNilString
- func (s *TestInvocationSummaryResponseModel) GetBranchID() OptNilString
- func (s *TestInvocationSummaryResponseModel) GetCreatedAtUnixSecs() int
- func (s *TestInvocationSummaryResponseModel) GetFailedCount() int
- func (s *TestInvocationSummaryResponseModel) GetID() string
- func (s *TestInvocationSummaryResponseModel) GetPassedCount() int
- func (s *TestInvocationSummaryResponseModel) GetPendingCount() int
- func (s *TestInvocationSummaryResponseModel) GetTestRunCount() int
- func (s *TestInvocationSummaryResponseModel) GetTitle() string
- func (s *TestInvocationSummaryResponseModel) MarshalJSON() ([]byte, error)
- func (s *TestInvocationSummaryResponseModel) SetAccessInfo(val OptResourceAccessInfo)
- func (s *TestInvocationSummaryResponseModel) SetAgentID(val OptNilString)
- func (s *TestInvocationSummaryResponseModel) SetBranchID(val OptNilString)
- func (s *TestInvocationSummaryResponseModel) SetCreatedAtUnixSecs(val int)
- func (s *TestInvocationSummaryResponseModel) SetFailedCount(val int)
- func (s *TestInvocationSummaryResponseModel) SetID(val string)
- func (s *TestInvocationSummaryResponseModel) SetPassedCount(val int)
- func (s *TestInvocationSummaryResponseModel) SetPendingCount(val int)
- func (s *TestInvocationSummaryResponseModel) SetTestRunCount(val int)
- func (s *TestInvocationSummaryResponseModel) SetTitle(val string)
- func (s *TestInvocationSummaryResponseModel) UnmarshalJSON(data []byte) error
- func (s *TestInvocationSummaryResponseModel) Validate() error
- type TestRunMetadata
- func (s *TestRunMetadata) Decode(d *jx.Decoder) error
- func (s *TestRunMetadata) Encode(e *jx.Encoder)
- func (s *TestRunMetadata) GetRanByUserEmail() string
- func (s *TestRunMetadata) GetTestName() string
- func (s *TestRunMetadata) GetTestType() OptTestRunMetadataTestType
- func (s *TestRunMetadata) GetWorkspaceID() string
- func (s *TestRunMetadata) MarshalJSON() ([]byte, error)
- func (s *TestRunMetadata) SetRanByUserEmail(val string)
- func (s *TestRunMetadata) SetTestName(val string)
- func (s *TestRunMetadata) SetTestType(val OptTestRunMetadataTestType)
- func (s *TestRunMetadata) SetWorkspaceID(val string)
- func (s *TestRunMetadata) UnmarshalJSON(data []byte) error
- func (s *TestRunMetadata) Validate() error
- type TestRunMetadataTestType
- func (TestRunMetadataTestType) AllValues() []TestRunMetadataTestType
- func (s *TestRunMetadataTestType) Decode(d *jx.Decoder) error
- func (s TestRunMetadataTestType) Encode(e *jx.Encoder)
- func (s TestRunMetadataTestType) MarshalJSON() ([]byte, error)
- func (s TestRunMetadataTestType) MarshalText() ([]byte, error)
- func (s *TestRunMetadataTestType) UnmarshalJSON(data []byte) error
- func (s *TestRunMetadataTestType) UnmarshalText(data []byte) error
- func (s TestRunMetadataTestType) Validate() error
- type TestRunStatus
- func (TestRunStatus) AllValues() []TestRunStatus
- func (s *TestRunStatus) Decode(d *jx.Decoder) error
- func (s TestRunStatus) Encode(e *jx.Encoder)
- func (s TestRunStatus) MarshalJSON() ([]byte, error)
- func (s TestRunStatus) MarshalText() ([]byte, error)
- func (s *TestRunStatus) UnmarshalJSON(data []byte) error
- func (s *TestRunStatus) UnmarshalText(data []byte) error
- func (s TestRunStatus) Validate() error
- type TestToolResultModel
- func (s *TestToolResultModel) Decode(d *jx.Decoder) error
- func (s *TestToolResultModel) Encode(e *jx.Encoder)
- func (s *TestToolResultModel) GetReason() OptString
- func (s *TestToolResultModel) GetResultType() OptTestToolResultModelResultType
- func (s *TestToolResultModel) GetStatus() OptTestToolResultModelStatus
- func (s *TestToolResultModel) MarshalJSON() ([]byte, error)
- func (s *TestToolResultModel) SetReason(val OptString)
- func (s *TestToolResultModel) SetResultType(val OptTestToolResultModelResultType)
- func (s *TestToolResultModel) SetStatus(val OptTestToolResultModelStatus)
- func (s *TestToolResultModel) UnmarshalJSON(data []byte) error
- func (s *TestToolResultModel) Validate() error
- type TestToolResultModelResultType
- func (TestToolResultModelResultType) AllValues() []TestToolResultModelResultType
- func (s *TestToolResultModelResultType) Decode(d *jx.Decoder) error
- func (s TestToolResultModelResultType) Encode(e *jx.Encoder)
- func (s TestToolResultModelResultType) MarshalJSON() ([]byte, error)
- func (s TestToolResultModelResultType) MarshalText() ([]byte, error)
- func (s *TestToolResultModelResultType) UnmarshalJSON(data []byte) error
- func (s *TestToolResultModelResultType) UnmarshalText(data []byte) error
- func (s TestToolResultModelResultType) Validate() error
- type TestToolResultModelStatus
- func (TestToolResultModelStatus) AllValues() []TestToolResultModelStatus
- func (s *TestToolResultModelStatus) Decode(d *jx.Decoder) error
- func (s TestToolResultModelStatus) Encode(e *jx.Encoder)
- func (s TestToolResultModelStatus) MarshalJSON() ([]byte, error)
- func (s TestToolResultModelStatus) MarshalText() ([]byte, error)
- func (s *TestToolResultModelStatus) UnmarshalJSON(data []byte) error
- func (s *TestToolResultModelStatus) UnmarshalText(data []byte) error
- func (s TestToolResultModelStatus) Validate() error
- type TestsFeatureUsageCommonModel
- func (s *TestsFeatureUsageCommonModel) Decode(d *jx.Decoder) error
- func (s *TestsFeatureUsageCommonModel) Encode(e *jx.Encoder)
- func (s *TestsFeatureUsageCommonModel) GetEnabled() OptBool
- func (s *TestsFeatureUsageCommonModel) GetTestsRanAfterLastModification() OptBool
- func (s *TestsFeatureUsageCommonModel) GetTestsRanInLast7Days() OptBool
- func (s *TestsFeatureUsageCommonModel) MarshalJSON() ([]byte, error)
- func (s *TestsFeatureUsageCommonModel) SetEnabled(val OptBool)
- func (s *TestsFeatureUsageCommonModel) SetTestsRanAfterLastModification(val OptBool)
- func (s *TestsFeatureUsageCommonModel) SetTestsRanInLast7Days(val OptBool)
- func (s *TestsFeatureUsageCommonModel) UnmarshalJSON(data []byte) error
- type TextToDialogueFullWithTimestampsOutputFormat
- func (TextToDialogueFullWithTimestampsOutputFormat) AllValues() []TextToDialogueFullWithTimestampsOutputFormat
- func (s TextToDialogueFullWithTimestampsOutputFormat) MarshalText() ([]byte, error)
- func (s *TextToDialogueFullWithTimestampsOutputFormat) UnmarshalText(data []byte) error
- func (s TextToDialogueFullWithTimestampsOutputFormat) Validate() error
- type TextToDialogueFullWithTimestampsParams
- type TextToDialogueFullWithTimestampsRes
- type TextToDialogueOK
- type TextToDialogueOutputFormat
- type TextToDialogueParams
- type TextToDialogueRes
- type TextToDialogueStreamOK
- type TextToDialogueStreamOutputFormat
- type TextToDialogueStreamParams
- type TextToDialogueStreamRes
- type TextToDialogueStreamWithTimestampsOutputFormat
- func (TextToDialogueStreamWithTimestampsOutputFormat) AllValues() []TextToDialogueStreamWithTimestampsOutputFormat
- func (s TextToDialogueStreamWithTimestampsOutputFormat) MarshalText() ([]byte, error)
- func (s *TextToDialogueStreamWithTimestampsOutputFormat) UnmarshalText(data []byte) error
- func (s TextToDialogueStreamWithTimestampsOutputFormat) Validate() error
- type TextToDialogueStreamWithTimestampsParams
- type TextToDialogueStreamWithTimestampsRes
- type TextToSpeechFullOK
- type TextToSpeechFullOutputFormat
- type TextToSpeechFullParams
- type TextToSpeechFullRes
- type TextToSpeechFullWithTimestampsOutputFormat
- func (TextToSpeechFullWithTimestampsOutputFormat) AllValues() []TextToSpeechFullWithTimestampsOutputFormat
- func (s TextToSpeechFullWithTimestampsOutputFormat) MarshalText() ([]byte, error)
- func (s *TextToSpeechFullWithTimestampsOutputFormat) UnmarshalText(data []byte) error
- func (s TextToSpeechFullWithTimestampsOutputFormat) Validate() error
- type TextToSpeechFullWithTimestampsParams
- type TextToSpeechFullWithTimestampsRes
- type TextToSpeechStreamOK
- type TextToSpeechStreamOutputFormat
- type TextToSpeechStreamParams
- type TextToSpeechStreamRes
- type TextToSpeechStreamWithTimestampsOutputFormat
- func (TextToSpeechStreamWithTimestampsOutputFormat) AllValues() []TextToSpeechStreamWithTimestampsOutputFormat
- func (s TextToSpeechStreamWithTimestampsOutputFormat) MarshalText() ([]byte, error)
- func (s *TextToSpeechStreamWithTimestampsOutputFormat) UnmarshalText(data []byte) error
- func (s TextToSpeechStreamWithTimestampsOutputFormat) Validate() error
- type TextToSpeechStreamWithTimestampsParams
- type TextToSpeechStreamWithTimestampsRes
- type TextToVoiceDesignOutputFormat
- type TextToVoiceDesignParams
- type TextToVoiceDesignRes
- type TextToVoiceOutputFormat
- type TextToVoiceParams
- type TextToVoicePreviewStreamOK
- type TextToVoicePreviewStreamParams
- type TextToVoicePreviewStreamRes
- type TextToVoiceRemixOutputFormat
- type TextToVoiceRemixParams
- type TextToVoiceRemixRes
- type TextToVoiceRes
- type TimeRange
- func (s *TimeRange) Decode(d *jx.Decoder) error
- func (s *TimeRange) Encode(e *jx.Encoder)
- func (s *TimeRange) GetEndMs() int
- func (s *TimeRange) GetStartMs() int
- func (s *TimeRange) MarshalJSON() ([]byte, error)
- func (s *TimeRange) SetEndMs(val int)
- func (s *TimeRange) SetStartMs(val int)
- func (s *TimeRange) UnmarshalJSON(data []byte) error
- type TokenResponseModel
- func (s *TokenResponseModel) Decode(d *jx.Decoder) error
- func (s *TokenResponseModel) Encode(e *jx.Encoder)
- func (s *TokenResponseModel) GetToken() string
- func (s *TokenResponseModel) MarshalJSON() ([]byte, error)
- func (s *TokenResponseModel) SetToken(val string)
- func (s *TokenResponseModel) UnmarshalJSON(data []byte) error
- type Tool
- func (s *Tool) Decode(d *jx.Decoder) error
- func (s *Tool) Encode(e *jx.Encoder)
- func (s *Tool) GetAdditionalProps() ToolAdditional
- func (s *Tool) GetAnnotations() OptToolAnnotations
- func (s *Tool) GetDescription() OptNilString
- func (s *Tool) GetInputSchema() ToolInputSchema
- func (s *Tool) GetMeta() OptToolMeta
- func (s *Tool) GetName() string
- func (s *Tool) GetOutputSchema() OptToolOutputSchema
- func (s *Tool) GetTitle() OptNilString
- func (s *Tool) MarshalJSON() ([]byte, error)
- func (s *Tool) SetAdditionalProps(val ToolAdditional)
- func (s *Tool) SetAnnotations(val OptToolAnnotations)
- func (s *Tool) SetDescription(val OptNilString)
- func (s *Tool) SetInputSchema(val ToolInputSchema)
- func (s *Tool) SetMeta(val OptToolMeta)
- func (s *Tool) SetName(val string)
- func (s *Tool) SetOutputSchema(val OptToolOutputSchema)
- func (s *Tool) SetTitle(val OptNilString)
- func (s *Tool) UnmarshalJSON(data []byte) error
- type ToolAdditional
- type ToolAnnotations
- func (s *ToolAnnotations) Decode(d *jx.Decoder) error
- func (s *ToolAnnotations) Encode(e *jx.Encoder)
- func (s *ToolAnnotations) GetAdditionalProps() ToolAnnotationsAdditional
- func (s *ToolAnnotations) GetDestructiveHint() OptNilBool
- func (s *ToolAnnotations) GetIdempotentHint() OptNilBool
- func (s *ToolAnnotations) GetOpenWorldHint() OptNilBool
- func (s *ToolAnnotations) GetReadOnlyHint() OptNilBool
- func (s *ToolAnnotations) GetTitle() OptNilString
- func (s *ToolAnnotations) MarshalJSON() ([]byte, error)
- func (s *ToolAnnotations) SetAdditionalProps(val ToolAnnotationsAdditional)
- func (s *ToolAnnotations) SetDestructiveHint(val OptNilBool)
- func (s *ToolAnnotations) SetIdempotentHint(val OptNilBool)
- func (s *ToolAnnotations) SetOpenWorldHint(val OptNilBool)
- func (s *ToolAnnotations) SetReadOnlyHint(val OptNilBool)
- func (s *ToolAnnotations) SetTitle(val OptNilString)
- func (s *ToolAnnotations) UnmarshalJSON(data []byte) error
- type ToolAnnotationsAdditional
- type ToolCallSoundBehavior
- func (ToolCallSoundBehavior) AllValues() []ToolCallSoundBehavior
- func (s *ToolCallSoundBehavior) Decode(d *jx.Decoder) error
- func (s ToolCallSoundBehavior) Encode(e *jx.Encoder)
- func (s ToolCallSoundBehavior) MarshalJSON() ([]byte, error)
- func (s ToolCallSoundBehavior) MarshalText() ([]byte, error)
- func (s *ToolCallSoundBehavior) UnmarshalJSON(data []byte) error
- func (s *ToolCallSoundBehavior) UnmarshalText(data []byte) error
- func (s ToolCallSoundBehavior) Validate() error
- type ToolCallSoundType
- func (ToolCallSoundType) AllValues() []ToolCallSoundType
- func (s *ToolCallSoundType) Decode(d *jx.Decoder) error
- func (s ToolCallSoundType) Encode(e *jx.Encoder)
- func (s ToolCallSoundType) MarshalJSON() ([]byte, error)
- func (s ToolCallSoundType) MarshalText() ([]byte, error)
- func (s *ToolCallSoundType) UnmarshalJSON(data []byte) error
- func (s *ToolCallSoundType) UnmarshalText(data []byte) error
- func (s ToolCallSoundType) Validate() error
- type ToolExecutionMode
- func (ToolExecutionMode) AllValues() []ToolExecutionMode
- func (s *ToolExecutionMode) Decode(d *jx.Decoder) error
- func (s ToolExecutionMode) Encode(e *jx.Encoder)
- func (s ToolExecutionMode) MarshalJSON() ([]byte, error)
- func (s ToolExecutionMode) MarshalText() ([]byte, error)
- func (s *ToolExecutionMode) UnmarshalJSON(data []byte) error
- func (s *ToolExecutionMode) UnmarshalText(data []byte) error
- func (s ToolExecutionMode) Validate() error
- type ToolInputSchema
- type ToolMeta
- type ToolOutputSchema
- type ToolType
- func (ToolType) AllValues() []ToolType
- func (s *ToolType) Decode(d *jx.Decoder) error
- func (s ToolType) Encode(e *jx.Encoder)
- func (s ToolType) MarshalJSON() ([]byte, error)
- func (s ToolType) MarshalText() ([]byte, error)
- func (s *ToolType) UnmarshalJSON(data []byte) error
- func (s *ToolType) UnmarshalText(data []byte) error
- func (s ToolType) Validate() error
- type TranscribeParams
- type TranscribeRes
- type TransferToAgentToolResultErrorModel
- func (s *TransferToAgentToolResultErrorModel) Decode(d *jx.Decoder) error
- func (s *TransferToAgentToolResultErrorModel) Encode(e *jx.Encoder)
- func (s *TransferToAgentToolResultErrorModel) GetError() string
- func (s *TransferToAgentToolResultErrorModel) GetFromAgent() string
- func (s *TransferToAgentToolResultErrorModel) GetResultType() OptTransferToAgentToolResultErrorModelResultType
- func (s *TransferToAgentToolResultErrorModel) GetStatus() OptTransferToAgentToolResultErrorModelStatus
- func (s *TransferToAgentToolResultErrorModel) MarshalJSON() ([]byte, error)
- func (s *TransferToAgentToolResultErrorModel) SetError(val string)
- func (s *TransferToAgentToolResultErrorModel) SetFromAgent(val string)
- func (s *TransferToAgentToolResultErrorModel) SetResultType(val OptTransferToAgentToolResultErrorModelResultType)
- func (s *TransferToAgentToolResultErrorModel) SetStatus(val OptTransferToAgentToolResultErrorModelStatus)
- func (s *TransferToAgentToolResultErrorModel) UnmarshalJSON(data []byte) error
- func (s *TransferToAgentToolResultErrorModel) Validate() error
- type TransferToAgentToolResultErrorModelResultType
- func (TransferToAgentToolResultErrorModelResultType) AllValues() []TransferToAgentToolResultErrorModelResultType
- func (s *TransferToAgentToolResultErrorModelResultType) Decode(d *jx.Decoder) error
- func (s TransferToAgentToolResultErrorModelResultType) Encode(e *jx.Encoder)
- func (s TransferToAgentToolResultErrorModelResultType) MarshalJSON() ([]byte, error)
- func (s TransferToAgentToolResultErrorModelResultType) MarshalText() ([]byte, error)
- func (s *TransferToAgentToolResultErrorModelResultType) UnmarshalJSON(data []byte) error
- func (s *TransferToAgentToolResultErrorModelResultType) UnmarshalText(data []byte) error
- func (s TransferToAgentToolResultErrorModelResultType) Validate() error
- type TransferToAgentToolResultErrorModelStatus
- func (TransferToAgentToolResultErrorModelStatus) AllValues() []TransferToAgentToolResultErrorModelStatus
- func (s *TransferToAgentToolResultErrorModelStatus) Decode(d *jx.Decoder) error
- func (s TransferToAgentToolResultErrorModelStatus) Encode(e *jx.Encoder)
- func (s TransferToAgentToolResultErrorModelStatus) MarshalJSON() ([]byte, error)
- func (s TransferToAgentToolResultErrorModelStatus) MarshalText() ([]byte, error)
- func (s *TransferToAgentToolResultErrorModelStatus) UnmarshalJSON(data []byte) error
- func (s *TransferToAgentToolResultErrorModelStatus) UnmarshalText(data []byte) error
- func (s TransferToAgentToolResultErrorModelStatus) Validate() error
- type TransferToAgentToolResultSuccessModel
- func (s *TransferToAgentToolResultSuccessModel) Decode(d *jx.Decoder) error
- func (s *TransferToAgentToolResultSuccessModel) Encode(e *jx.Encoder)
- func (s *TransferToAgentToolResultSuccessModel) GetCondition() string
- func (s *TransferToAgentToolResultSuccessModel) GetDelayMs() OptInt
- func (s *TransferToAgentToolResultSuccessModel) GetEnableTransferredAgentFirstMessage() OptBool
- func (s *TransferToAgentToolResultSuccessModel) GetFromAgent() string
- func (s *TransferToAgentToolResultSuccessModel) GetResultType() OptTransferToAgentToolResultSuccessModelResultType
- func (s *TransferToAgentToolResultSuccessModel) GetStatus() OptTransferToAgentToolResultSuccessModelStatus
- func (s *TransferToAgentToolResultSuccessModel) GetToAgent() string
- func (s *TransferToAgentToolResultSuccessModel) GetTransferMessage() OptNilString
- func (s *TransferToAgentToolResultSuccessModel) MarshalJSON() ([]byte, error)
- func (s *TransferToAgentToolResultSuccessModel) SetCondition(val string)
- func (s *TransferToAgentToolResultSuccessModel) SetDelayMs(val OptInt)
- func (s *TransferToAgentToolResultSuccessModel) SetEnableTransferredAgentFirstMessage(val OptBool)
- func (s *TransferToAgentToolResultSuccessModel) SetFromAgent(val string)
- func (s *TransferToAgentToolResultSuccessModel) SetResultType(val OptTransferToAgentToolResultSuccessModelResultType)
- func (s *TransferToAgentToolResultSuccessModel) SetStatus(val OptTransferToAgentToolResultSuccessModelStatus)
- func (s *TransferToAgentToolResultSuccessModel) SetToAgent(val string)
- func (s *TransferToAgentToolResultSuccessModel) SetTransferMessage(val OptNilString)
- func (s *TransferToAgentToolResultSuccessModel) UnmarshalJSON(data []byte) error
- func (s *TransferToAgentToolResultSuccessModel) Validate() error
- type TransferToAgentToolResultSuccessModelResultType
- func (TransferToAgentToolResultSuccessModelResultType) AllValues() []TransferToAgentToolResultSuccessModelResultType
- func (s *TransferToAgentToolResultSuccessModelResultType) Decode(d *jx.Decoder) error
- func (s TransferToAgentToolResultSuccessModelResultType) Encode(e *jx.Encoder)
- func (s TransferToAgentToolResultSuccessModelResultType) MarshalJSON() ([]byte, error)
- func (s TransferToAgentToolResultSuccessModelResultType) MarshalText() ([]byte, error)
- func (s *TransferToAgentToolResultSuccessModelResultType) UnmarshalJSON(data []byte) error
- func (s *TransferToAgentToolResultSuccessModelResultType) UnmarshalText(data []byte) error
- func (s TransferToAgentToolResultSuccessModelResultType) Validate() error
- type TransferToAgentToolResultSuccessModelStatus
- func (TransferToAgentToolResultSuccessModelStatus) AllValues() []TransferToAgentToolResultSuccessModelStatus
- func (s *TransferToAgentToolResultSuccessModelStatus) Decode(d *jx.Decoder) error
- func (s TransferToAgentToolResultSuccessModelStatus) Encode(e *jx.Encoder)
- func (s TransferToAgentToolResultSuccessModelStatus) MarshalJSON() ([]byte, error)
- func (s TransferToAgentToolResultSuccessModelStatus) MarshalText() ([]byte, error)
- func (s *TransferToAgentToolResultSuccessModelStatus) UnmarshalJSON(data []byte) error
- func (s *TransferToAgentToolResultSuccessModelStatus) UnmarshalText(data []byte) error
- func (s TransferToAgentToolResultSuccessModelStatus) Validate() error
- type TransferToNumberResultErrorModel
- func (s *TransferToNumberResultErrorModel) Decode(d *jx.Decoder) error
- func (s *TransferToNumberResultErrorModel) Encode(e *jx.Encoder)
- func (s *TransferToNumberResultErrorModel) GetDetails() OptNilString
- func (s *TransferToNumberResultErrorModel) GetError() string
- func (s *TransferToNumberResultErrorModel) GetResultType() OptTransferToNumberResultErrorModelResultType
- func (s *TransferToNumberResultErrorModel) GetStatus() OptTransferToNumberResultErrorModelStatus
- func (s *TransferToNumberResultErrorModel) MarshalJSON() ([]byte, error)
- func (s *TransferToNumberResultErrorModel) SetDetails(val OptNilString)
- func (s *TransferToNumberResultErrorModel) SetError(val string)
- func (s *TransferToNumberResultErrorModel) SetResultType(val OptTransferToNumberResultErrorModelResultType)
- func (s *TransferToNumberResultErrorModel) SetStatus(val OptTransferToNumberResultErrorModelStatus)
- func (s *TransferToNumberResultErrorModel) UnmarshalJSON(data []byte) error
- func (s *TransferToNumberResultErrorModel) Validate() error
- type TransferToNumberResultErrorModelResultType
- func (TransferToNumberResultErrorModelResultType) AllValues() []TransferToNumberResultErrorModelResultType
- func (s *TransferToNumberResultErrorModelResultType) Decode(d *jx.Decoder) error
- func (s TransferToNumberResultErrorModelResultType) Encode(e *jx.Encoder)
- func (s TransferToNumberResultErrorModelResultType) MarshalJSON() ([]byte, error)
- func (s TransferToNumberResultErrorModelResultType) MarshalText() ([]byte, error)
- func (s *TransferToNumberResultErrorModelResultType) UnmarshalJSON(data []byte) error
- func (s *TransferToNumberResultErrorModelResultType) UnmarshalText(data []byte) error
- func (s TransferToNumberResultErrorModelResultType) Validate() error
- type TransferToNumberResultErrorModelStatus
- func (TransferToNumberResultErrorModelStatus) AllValues() []TransferToNumberResultErrorModelStatus
- func (s *TransferToNumberResultErrorModelStatus) Decode(d *jx.Decoder) error
- func (s TransferToNumberResultErrorModelStatus) Encode(e *jx.Encoder)
- func (s TransferToNumberResultErrorModelStatus) MarshalJSON() ([]byte, error)
- func (s TransferToNumberResultErrorModelStatus) MarshalText() ([]byte, error)
- func (s *TransferToNumberResultErrorModelStatus) UnmarshalJSON(data []byte) error
- func (s *TransferToNumberResultErrorModelStatus) UnmarshalText(data []byte) error
- func (s TransferToNumberResultErrorModelStatus) Validate() error
- type TransferToNumberResultSipSuccessModel
- func (s *TransferToNumberResultSipSuccessModel) Decode(d *jx.Decoder) error
- func (s *TransferToNumberResultSipSuccessModel) Encode(e *jx.Encoder)
- func (s *TransferToNumberResultSipSuccessModel) GetNote() OptNilString
- func (s *TransferToNumberResultSipSuccessModel) GetReason() OptNilString
- func (s *TransferToNumberResultSipSuccessModel) GetResultType() OptTransferToNumberResultSipSuccessModelResultType
- func (s *TransferToNumberResultSipSuccessModel) GetStatus() OptTransferToNumberResultSipSuccessModelStatus
- func (s *TransferToNumberResultSipSuccessModel) GetTransferNumber() string
- func (s *TransferToNumberResultSipSuccessModel) MarshalJSON() ([]byte, error)
- func (s *TransferToNumberResultSipSuccessModel) SetNote(val OptNilString)
- func (s *TransferToNumberResultSipSuccessModel) SetReason(val OptNilString)
- func (s *TransferToNumberResultSipSuccessModel) SetResultType(val OptTransferToNumberResultSipSuccessModelResultType)
- func (s *TransferToNumberResultSipSuccessModel) SetStatus(val OptTransferToNumberResultSipSuccessModelStatus)
- func (s *TransferToNumberResultSipSuccessModel) SetTransferNumber(val string)
- func (s *TransferToNumberResultSipSuccessModel) UnmarshalJSON(data []byte) error
- func (s *TransferToNumberResultSipSuccessModel) Validate() error
- type TransferToNumberResultSipSuccessModelResultType
- func (TransferToNumberResultSipSuccessModelResultType) AllValues() []TransferToNumberResultSipSuccessModelResultType
- func (s *TransferToNumberResultSipSuccessModelResultType) Decode(d *jx.Decoder) error
- func (s TransferToNumberResultSipSuccessModelResultType) Encode(e *jx.Encoder)
- func (s TransferToNumberResultSipSuccessModelResultType) MarshalJSON() ([]byte, error)
- func (s TransferToNumberResultSipSuccessModelResultType) MarshalText() ([]byte, error)
- func (s *TransferToNumberResultSipSuccessModelResultType) UnmarshalJSON(data []byte) error
- func (s *TransferToNumberResultSipSuccessModelResultType) UnmarshalText(data []byte) error
- func (s TransferToNumberResultSipSuccessModelResultType) Validate() error
- type TransferToNumberResultSipSuccessModelStatus
- func (TransferToNumberResultSipSuccessModelStatus) AllValues() []TransferToNumberResultSipSuccessModelStatus
- func (s *TransferToNumberResultSipSuccessModelStatus) Decode(d *jx.Decoder) error
- func (s TransferToNumberResultSipSuccessModelStatus) Encode(e *jx.Encoder)
- func (s TransferToNumberResultSipSuccessModelStatus) MarshalJSON() ([]byte, error)
- func (s TransferToNumberResultSipSuccessModelStatus) MarshalText() ([]byte, error)
- func (s *TransferToNumberResultSipSuccessModelStatus) UnmarshalJSON(data []byte) error
- func (s *TransferToNumberResultSipSuccessModelStatus) UnmarshalText(data []byte) error
- func (s TransferToNumberResultSipSuccessModelStatus) Validate() error
- type TransferToNumberResultTwilioSuccessModel
- func (s *TransferToNumberResultTwilioSuccessModel) Decode(d *jx.Decoder) error
- func (s *TransferToNumberResultTwilioSuccessModel) Encode(e *jx.Encoder)
- func (s *TransferToNumberResultTwilioSuccessModel) GetAgentMessage() string
- func (s *TransferToNumberResultTwilioSuccessModel) GetClientMessage() OptNilString
- func (s *TransferToNumberResultTwilioSuccessModel) GetConferenceName() string
- func (s *TransferToNumberResultTwilioSuccessModel) GetNote() OptNilString
- func (s *TransferToNumberResultTwilioSuccessModel) GetReason() OptNilString
- func (s *TransferToNumberResultTwilioSuccessModel) GetResultType() OptTransferToNumberResultTwilioSuccessModelResultType
- func (s *TransferToNumberResultTwilioSuccessModel) GetStatus() OptTransferToNumberResultTwilioSuccessModelStatus
- func (s *TransferToNumberResultTwilioSuccessModel) GetTransferNumber() string
- func (s *TransferToNumberResultTwilioSuccessModel) MarshalJSON() ([]byte, error)
- func (s *TransferToNumberResultTwilioSuccessModel) SetAgentMessage(val string)
- func (s *TransferToNumberResultTwilioSuccessModel) SetClientMessage(val OptNilString)
- func (s *TransferToNumberResultTwilioSuccessModel) SetConferenceName(val string)
- func (s *TransferToNumberResultTwilioSuccessModel) SetNote(val OptNilString)
- func (s *TransferToNumberResultTwilioSuccessModel) SetReason(val OptNilString)
- func (s *TransferToNumberResultTwilioSuccessModel) SetResultType(val OptTransferToNumberResultTwilioSuccessModelResultType)
- func (s *TransferToNumberResultTwilioSuccessModel) SetStatus(val OptTransferToNumberResultTwilioSuccessModelStatus)
- func (s *TransferToNumberResultTwilioSuccessModel) SetTransferNumber(val string)
- func (s *TransferToNumberResultTwilioSuccessModel) UnmarshalJSON(data []byte) error
- func (s *TransferToNumberResultTwilioSuccessModel) Validate() error
- type TransferToNumberResultTwilioSuccessModelResultType
- func (TransferToNumberResultTwilioSuccessModelResultType) AllValues() []TransferToNumberResultTwilioSuccessModelResultType
- func (s *TransferToNumberResultTwilioSuccessModelResultType) Decode(d *jx.Decoder) error
- func (s TransferToNumberResultTwilioSuccessModelResultType) Encode(e *jx.Encoder)
- func (s TransferToNumberResultTwilioSuccessModelResultType) MarshalJSON() ([]byte, error)
- func (s TransferToNumberResultTwilioSuccessModelResultType) MarshalText() ([]byte, error)
- func (s *TransferToNumberResultTwilioSuccessModelResultType) UnmarshalJSON(data []byte) error
- func (s *TransferToNumberResultTwilioSuccessModelResultType) UnmarshalText(data []byte) error
- func (s TransferToNumberResultTwilioSuccessModelResultType) Validate() error
- type TransferToNumberResultTwilioSuccessModelStatus
- func (TransferToNumberResultTwilioSuccessModelStatus) AllValues() []TransferToNumberResultTwilioSuccessModelStatus
- func (s *TransferToNumberResultTwilioSuccessModelStatus) Decode(d *jx.Decoder) error
- func (s TransferToNumberResultTwilioSuccessModelStatus) Encode(e *jx.Encoder)
- func (s TransferToNumberResultTwilioSuccessModelStatus) MarshalJSON() ([]byte, error)
- func (s TransferToNumberResultTwilioSuccessModelStatus) MarshalText() ([]byte, error)
- func (s *TransferToNumberResultTwilioSuccessModelStatus) UnmarshalJSON(data []byte) error
- func (s *TransferToNumberResultTwilioSuccessModelStatus) UnmarshalText(data []byte) error
- func (s TransferToNumberResultTwilioSuccessModelStatus) Validate() error
- type TranslateParams
- type TranslateRes
- type TurnConfigOverride
- func (s *TurnConfigOverride) Decode(d *jx.Decoder) error
- func (s *TurnConfigOverride) Encode(e *jx.Encoder)
- func (s *TurnConfigOverride) GetSoftTimeoutConfig() OptSoftTimeoutConfigOverride
- func (s *TurnConfigOverride) MarshalJSON() ([]byte, error)
- func (s *TurnConfigOverride) SetSoftTimeoutConfig(val OptSoftTimeoutConfigOverride)
- func (s *TurnConfigOverride) UnmarshalJSON(data []byte) error
- type TwilioOutboundCallResponse
- func (s *TwilioOutboundCallResponse) Decode(d *jx.Decoder) error
- func (s *TwilioOutboundCallResponse) Encode(e *jx.Encoder)
- func (s *TwilioOutboundCallResponse) GetCallSid() NilString
- func (s *TwilioOutboundCallResponse) GetConversationID() NilString
- func (s *TwilioOutboundCallResponse) GetMessage() string
- func (s *TwilioOutboundCallResponse) GetSuccess() bool
- func (s *TwilioOutboundCallResponse) MarshalJSON() ([]byte, error)
- func (s *TwilioOutboundCallResponse) SetCallSid(val NilString)
- func (s *TwilioOutboundCallResponse) SetConversationID(val NilString)
- func (s *TwilioOutboundCallResponse) SetMessage(val string)
- func (s *TwilioOutboundCallResponse) SetSuccess(val bool)
- func (s *TwilioOutboundCallResponse) UnmarshalJSON(data []byte) error
- type TxtExportOptions
- func (s *TxtExportOptions) Decode(d *jx.Decoder) error
- func (s *TxtExportOptions) Encode(e *jx.Encoder)
- func (s *TxtExportOptions) GetFormat() TxtExportOptionsFormat
- func (s *TxtExportOptions) GetIncludeSpeakers() OptBool
- func (s *TxtExportOptions) GetIncludeTimestamps() OptBool
- func (s *TxtExportOptions) GetMaxCharactersPerLine() OptNilInt
- func (s *TxtExportOptions) GetMaxSegmentChars() OptNilInt
- func (s *TxtExportOptions) GetMaxSegmentDurationS() OptNilFloat64
- func (s *TxtExportOptions) GetSegmentOnSilenceLongerThanS() OptNilFloat64
- func (s *TxtExportOptions) MarshalJSON() ([]byte, error)
- func (s *TxtExportOptions) SetFormat(val TxtExportOptionsFormat)
- func (s *TxtExportOptions) SetIncludeSpeakers(val OptBool)
- func (s *TxtExportOptions) SetIncludeTimestamps(val OptBool)
- func (s *TxtExportOptions) SetMaxCharactersPerLine(val OptNilInt)
- func (s *TxtExportOptions) SetMaxSegmentChars(val OptNilInt)
- func (s *TxtExportOptions) SetMaxSegmentDurationS(val OptNilFloat64)
- func (s *TxtExportOptions) SetSegmentOnSilenceLongerThanS(val OptNilFloat64)
- func (s *TxtExportOptions) UnmarshalJSON(data []byte) error
- func (s *TxtExportOptions) Validate() error
- type TxtExportOptionsFormat
- func (TxtExportOptionsFormat) AllValues() []TxtExportOptionsFormat
- func (s *TxtExportOptionsFormat) Decode(d *jx.Decoder) error
- func (s TxtExportOptionsFormat) Encode(e *jx.Encoder)
- func (s TxtExportOptionsFormat) MarshalJSON() ([]byte, error)
- func (s TxtExportOptionsFormat) MarshalText() ([]byte, error)
- func (s *TxtExportOptionsFormat) UnmarshalJSON(data []byte) error
- func (s *TxtExportOptionsFormat) UnmarshalText(data []byte) error
- func (s TxtExportOptionsFormat) Validate() error
- type UnimplementedHandler
- func (UnimplementedHandler) AddDocumentationToKnowledgeBase(ctx context.Context, ...) (r AddDocumentationToKnowledgeBaseRes, _ error)deprecated
- func (UnimplementedHandler) AddFromFile(ctx context.Context, ...) (r AddFromFileRes, _ error)
- func (UnimplementedHandler) AddLanguage(ctx context.Context, ...) (r AddLanguageRes, _ error)
- func (UnimplementedHandler) AddMember(ctx context.Context, ...) (r AddMemberRes, _ error)
- func (UnimplementedHandler) AddProject(ctx context.Context, req *BodyCreateStudioProjectV1StudioProjectsPostMultipart, ...) (r AddProjectRes, _ error)
- func (UnimplementedHandler) AddPvcVoiceSamples(ctx context.Context, ...) (r AddPvcVoiceSamplesRes, _ error)
- func (UnimplementedHandler) AddSharingVoice(ctx context.Context, req *BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost, ...) (r AddSharingVoiceRes, _ error)
- func (UnimplementedHandler) AddVoice(ctx context.Context, req *BodyAddVoiceV1VoicesAddPostMultipart, ...) (r AddVoiceRes, _ error)
- func (UnimplementedHandler) AudioIsolation(ctx context.Context, req *BodyAudioIsolationV1AudioIsolationPostMultipart, ...) (r AudioIsolationRes, _ error)
- func (UnimplementedHandler) AudioIsolationStream(ctx context.Context, ...) (r AudioIsolationStreamRes, _ error)
- func (UnimplementedHandler) AudioNativeProjectUpdateContentEndpoint(ctx context.Context, ...) (r AudioNativeProjectUpdateContentEndpointRes, _ error)
- func (UnimplementedHandler) CancelBatchCall(ctx context.Context, params CancelBatchCallParams) (r CancelBatchCallRes, _ error)
- func (UnimplementedHandler) ComposeDetailed(ctx context.Context, ...) (r ComposeDetailedRes, _ error)
- func (UnimplementedHandler) ComposePlan(ctx context.Context, req *BodyGenerateCompositionPlanV1MusicPlanPost, ...) (r ComposePlanRes, _ error)
- func (UnimplementedHandler) ConvertChapterEndpoint(ctx context.Context, params ConvertChapterEndpointParams) (r ConvertChapterEndpointRes, _ error)
- func (UnimplementedHandler) ConvertProjectEndpoint(ctx context.Context, params ConvertProjectEndpointParams) (r ConvertProjectEndpointRes, _ error)
- func (UnimplementedHandler) CreateAgentResponseTestRoute(ctx context.Context, req *CreateUnitTestRequest, ...) (r CreateAgentResponseTestRouteRes, _ error)
- func (UnimplementedHandler) CreateAudioNativeProject(ctx context.Context, ...) (r CreateAudioNativeProjectRes, _ error)
- func (UnimplementedHandler) CreateBatchCall(ctx context.Context, ...) (r CreateBatchCallRes, _ error)
- func (UnimplementedHandler) CreateClip(ctx context.Context, req *SegmentCreatePayload, params CreateClipParams) (r CreateClipRes, _ error)
- func (UnimplementedHandler) CreateDubbing(ctx context.Context, req OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart, ...) (r CreateDubbingRes, _ error)
- func (UnimplementedHandler) CreateFileDocumentRoute(ctx context.Context, ...) (r CreateFileDocumentRouteRes, _ error)
- func (UnimplementedHandler) CreatePvcVoice(ctx context.Context, req *BodyCreatePVCVoiceV1VoicesPvcPost, ...) (r CreatePvcVoiceRes, _ error)
- func (UnimplementedHandler) CreateSecretRoute(ctx context.Context, req *PostWorkspaceSecretRequest, ...) (r CreateSecretRouteRes, _ error)
- func (UnimplementedHandler) CreateServiceAccountAPIKey(ctx context.Context, ...) (r CreateServiceAccountAPIKeyRes, _ error)
- func (UnimplementedHandler) CreateSpeaker(ctx context.Context, ...) (r CreateSpeakerRes, _ error)
- func (UnimplementedHandler) CreateTextDocumentRoute(ctx context.Context, req *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost, ...) (r CreateTextDocumentRouteRes, _ error)
- func (UnimplementedHandler) CreateURLDocumentRoute(ctx context.Context, req *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost, ...) (r CreateURLDocumentRouteRes, _ error)
- func (UnimplementedHandler) CreateVoice(ctx context.Context, req *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost, ...) (r CreateVoiceRes, _ error)
- func (UnimplementedHandler) CreateVoiceOld(ctx context.Context, ...) (r CreateVoiceOldRes, _ error)
- func (UnimplementedHandler) CreateWorkspaceWebhookRoute(ctx context.Context, req *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost, ...) (r CreateWorkspaceWebhookRouteRes, _ error)
- func (UnimplementedHandler) DeleteAgentRoute(ctx context.Context, params DeleteAgentRouteParams) (r DeleteAgentRouteRes, _ error)
- func (UnimplementedHandler) DeleteChapterEndpoint(ctx context.Context, params DeleteChapterEndpointParams) (r DeleteChapterEndpointRes, _ error)
- func (UnimplementedHandler) DeleteChatResponseTestRoute(ctx context.Context, params DeleteChatResponseTestRouteParams) (r DeleteChatResponseTestRouteRes, _ error)
- func (UnimplementedHandler) DeleteConversationRoute(ctx context.Context, params DeleteConversationRouteParams) (r DeleteConversationRouteRes, _ error)
- func (UnimplementedHandler) DeleteDubbing(ctx context.Context, params DeleteDubbingParams) (r DeleteDubbingRes, _ error)
- func (UnimplementedHandler) DeleteInvite(ctx context.Context, req *BodyDeleteExistingInvitationV1WorkspaceInvitesDelete, ...) (r DeleteInviteRes, _ error)
- func (UnimplementedHandler) DeleteKnowledgeBaseDocument(ctx context.Context, params DeleteKnowledgeBaseDocumentParams) (r DeleteKnowledgeBaseDocumentRes, _ error)
- func (UnimplementedHandler) DeleteMcpServerRoute(ctx context.Context, params DeleteMcpServerRouteParams) (r DeleteMcpServerRouteRes, _ error)
- func (UnimplementedHandler) DeletePhoneNumberRoute(ctx context.Context, params DeletePhoneNumberRouteParams) (r DeletePhoneNumberRouteRes, _ error)
- func (UnimplementedHandler) DeleteProject(ctx context.Context, params DeleteProjectParams) (r DeleteProjectRes, _ error)
- func (UnimplementedHandler) DeletePvcVoiceSample(ctx context.Context, params DeletePvcVoiceSampleParams) (r DeletePvcVoiceSampleRes, _ error)
- func (UnimplementedHandler) DeleteRagIndex(ctx context.Context, params DeleteRagIndexParams) (r DeleteRagIndexRes, _ error)
- func (UnimplementedHandler) DeleteSample(ctx context.Context, params DeleteSampleParams) (r DeleteSampleRes, _ error)
- func (UnimplementedHandler) DeleteSecretRoute(ctx context.Context, params DeleteSecretRouteParams) (r DeleteSecretRouteRes, _ error)
- func (UnimplementedHandler) DeleteSegment(ctx context.Context, params DeleteSegmentParams) (r DeleteSegmentRes, _ error)
- func (UnimplementedHandler) DeleteServiceAccountAPIKey(ctx context.Context, params DeleteServiceAccountAPIKeyParams) (r DeleteServiceAccountAPIKeyRes, _ error)
- func (UnimplementedHandler) DeleteSpeechHistoryItem(ctx context.Context, params DeleteSpeechHistoryItemParams) (r DeleteSpeechHistoryItemRes, _ error)
- func (UnimplementedHandler) DeleteToolRoute(ctx context.Context, params DeleteToolRouteParams) (r DeleteToolRouteRes, _ error)
- func (UnimplementedHandler) DeleteTranscriptByID(ctx context.Context, params DeleteTranscriptByIDParams) (r DeleteTranscriptByIDRes, _ error)
- func (UnimplementedHandler) DeleteVoice(ctx context.Context, params DeleteVoiceParams) (r DeleteVoiceRes, _ error)
- func (UnimplementedHandler) DeleteWhatsappAccount(ctx context.Context, params DeleteWhatsappAccountParams) (r DeleteWhatsappAccountRes, _ error)
- func (UnimplementedHandler) DeleteWorkspaceWebhookRoute(ctx context.Context, params DeleteWorkspaceWebhookRouteParams) (r DeleteWorkspaceWebhookRouteRes, _ error)
- func (UnimplementedHandler) DownloadSpeechHistoryItems(ctx context.Context, req *BodyDownloadHistoryItemsV1HistoryDownloadPost, ...) (r DownloadSpeechHistoryItemsRes, _ error)
- func (UnimplementedHandler) Dub(ctx context.Context, ...) (r DubRes, _ error)
- func (UnimplementedHandler) DuplicateAgentRoute(ctx context.Context, ...) (r DuplicateAgentRouteRes, _ error)
- func (UnimplementedHandler) EditProject(ctx context.Context, req *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost, ...) (r EditProjectRes, _ error)
- func (UnimplementedHandler) EditProjectContent(ctx context.Context, ...) (r EditProjectContentRes, _ error)
- func (UnimplementedHandler) EditPvcVoice(ctx context.Context, req OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost, ...) (r EditPvcVoiceRes, _ error)
- func (UnimplementedHandler) EditPvcVoiceSample(ctx context.Context, ...) (r EditPvcVoiceSampleRes, _ error)
- func (UnimplementedHandler) EditServiceAccountAPIKey(ctx context.Context, ...) (r EditServiceAccountAPIKeyRes, _ error)
- func (UnimplementedHandler) EditVoice(ctx context.Context, req *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart, ...) (r EditVoiceRes, _ error)
- func (UnimplementedHandler) EditVoiceSettings(ctx context.Context, req *VoiceSettingsResponseModel, ...) (r EditVoiceSettingsRes, _ error)
- func (UnimplementedHandler) EditWorkspaceWebhookRoute(ctx context.Context, ...) (r EditWorkspaceWebhookRouteRes, _ error)
- func (UnimplementedHandler) ForcedAlignment(ctx context.Context, ...) (r ForcedAlignmentRes, _ error)
- func (UnimplementedHandler) Generate(ctx context.Context, req OptBodyComposeMusicV1MusicPost, params GenerateParams) (r GenerateRes, _ error)
- func (UnimplementedHandler) GenerateRandomVoice(ctx context.Context, ...) (r GenerateRandomVoiceRes, _ error)
- func (UnimplementedHandler) GetAgentKnowledgeBaseSize(ctx context.Context, params GetAgentKnowledgeBaseSizeParams) (r GetAgentKnowledgeBaseSizeRes, _ error)
- func (UnimplementedHandler) GetAgentKnowledgeBaseSummariesRoute(ctx context.Context, params GetAgentKnowledgeBaseSummariesRouteParams) (r GetAgentKnowledgeBaseSummariesRouteRes, _ error)
- func (UnimplementedHandler) GetAgentLinkRoute(ctx context.Context, params GetAgentLinkRouteParams) (r GetAgentLinkRouteRes, _ error)
- func (UnimplementedHandler) GetAgentLlmExpectedCostCalculation(ctx context.Context, req *LLMUsageCalculatorRequestModel, ...) (r GetAgentLlmExpectedCostCalculationRes, _ error)
- func (UnimplementedHandler) GetAgentResponseTestRoute(ctx context.Context, params GetAgentResponseTestRouteParams) (r GetAgentResponseTestRouteRes, _ error)
- func (UnimplementedHandler) GetAgentResponseTestsSummariesRoute(ctx context.Context, req *ListTestsByIdsRequestModel, ...) (r GetAgentResponseTestsSummariesRouteRes, _ error)
- func (UnimplementedHandler) GetAgentsRoute(ctx context.Context, params GetAgentsRouteParams) (r GetAgentsRouteRes, _ error)
- func (UnimplementedHandler) GetAudioFromSample(ctx context.Context, params GetAudioFromSampleParams) (r GetAudioFromSampleRes, _ error)
- func (UnimplementedHandler) GetAudioFullFromSpeechHistoryItem(ctx context.Context, params GetAudioFullFromSpeechHistoryItemParams) (r GetAudioFullFromSpeechHistoryItemRes, _ error)
- func (UnimplementedHandler) GetAudioNativeProjectSettingsEndpoint(ctx context.Context, params GetAudioNativeProjectSettingsEndpointParams) (r GetAudioNativeProjectSettingsEndpointRes, _ error)
- func (UnimplementedHandler) GetBatchCall(ctx context.Context, params GetBatchCallParams) (r GetBatchCallRes, _ error)
- func (UnimplementedHandler) GetChapterSnapshotEndpoint(ctx context.Context, params GetChapterSnapshotEndpointParams) (r GetChapterSnapshotEndpointRes, _ error)
- func (UnimplementedHandler) GetChapterSnapshots(ctx context.Context, params GetChapterSnapshotsParams) (r GetChapterSnapshotsRes, _ error)
- func (UnimplementedHandler) GetChapters(ctx context.Context, params GetChaptersParams) (r GetChaptersRes, _ error)
- func (UnimplementedHandler) GetConversationAudioRoute(ctx context.Context, params GetConversationAudioRouteParams) (r GetConversationAudioRouteRes, _ error)
- func (UnimplementedHandler) GetConversationHistoriesRoute(ctx context.Context, params GetConversationHistoriesRouteParams) (r GetConversationHistoriesRouteRes, _ error)
- func (UnimplementedHandler) GetConversationHistoryRoute(ctx context.Context, params GetConversationHistoryRouteParams) (r GetConversationHistoryRouteRes, _ error)
- func (UnimplementedHandler) GetConversationSignedLink(ctx context.Context, params GetConversationSignedLinkParams) (r GetConversationSignedLinkRes, _ error)
- func (UnimplementedHandler) GetDashboardSettingsRoute(ctx context.Context, params GetDashboardSettingsRouteParams) (r GetDashboardSettingsRouteRes, _ error)
- func (UnimplementedHandler) GetDocumentationChunkFromKnowledgeBase(ctx context.Context, params GetDocumentationChunkFromKnowledgeBaseParams) (r GetDocumentationChunkFromKnowledgeBaseRes, _ error)
- func (UnimplementedHandler) GetDocumentationFromKnowledgeBase(ctx context.Context, params GetDocumentationFromKnowledgeBaseParams) (r GetDocumentationFromKnowledgeBaseRes, _ error)
- func (UnimplementedHandler) GetDubbedFile(ctx context.Context, params GetDubbedFileParams) (r GetDubbedFileRes, _ error)
- func (UnimplementedHandler) GetDubbedMetadata(ctx context.Context, params GetDubbedMetadataParams) (r GetDubbedMetadataRes, _ error)
- func (UnimplementedHandler) GetDubbedTranscriptFile(ctx context.Context, params GetDubbedTranscriptFileParams) (r GetDubbedTranscriptFileRes, _ error)
- func (UnimplementedHandler) GetDubbingResource(ctx context.Context, params GetDubbingResourceParams) (r GetDubbingResourceRes, _ error)
- func (UnimplementedHandler) GetGenerateVoiceParameters(ctx context.Context) (r *VoiceGenerationParameterResponseModel, _ error)
- func (UnimplementedHandler) GetKnowledgeBaseContent(ctx context.Context, params GetKnowledgeBaseContentParams) (r GetKnowledgeBaseContentRes, _ error)
- func (UnimplementedHandler) GetKnowledgeBaseDependentAgents(ctx context.Context, params GetKnowledgeBaseDependentAgentsParams) (r GetKnowledgeBaseDependentAgentsRes, _ error)
- func (UnimplementedHandler) GetKnowledgeBaseListRoute(ctx context.Context, params GetKnowledgeBaseListRouteParams) (r GetKnowledgeBaseListRouteRes, _ error)
- func (UnimplementedHandler) GetLibraryVoices(ctx context.Context, params GetLibraryVoicesParams) (r GetLibraryVoicesRes, _ error)
- func (UnimplementedHandler) GetLiveCount(ctx context.Context, params GetLiveCountParams) (r GetLiveCountRes, _ error)
- func (UnimplementedHandler) GetLivekitToken(ctx context.Context, params GetLivekitTokenParams) (r GetLivekitTokenRes, _ error)
- func (UnimplementedHandler) GetMcpToolConfigOverrideRoute(ctx context.Context, params GetMcpToolConfigOverrideRouteParams) (r GetMcpToolConfigOverrideRouteRes, _ error)
- func (UnimplementedHandler) GetModels(ctx context.Context, params GetModelsParams) (r GetModelsRes, _ error)
- func (UnimplementedHandler) GetOrCreateRagIndexes(ctx context.Context, ...) (r GetOrCreateRagIndexesRes, _ error)
- func (UnimplementedHandler) GetPhoneNumberRoute(ctx context.Context, params GetPhoneNumberRouteParams) (r GetPhoneNumberRouteRes, _ error)
- func (UnimplementedHandler) GetProjectSnapshotEndpoint(ctx context.Context, params GetProjectSnapshotEndpointParams) (r GetProjectSnapshotEndpointRes, _ error)
- func (UnimplementedHandler) GetProjectSnapshots(ctx context.Context, params GetProjectSnapshotsParams) (r GetProjectSnapshotsRes, _ error)
- func (UnimplementedHandler) GetProjects(ctx context.Context, params GetProjectsParams) (r GetProjectsRes, _ error)
- func (UnimplementedHandler) GetPronunciationDictionariesMetadata(ctx context.Context, params GetPronunciationDictionariesMetadataParams) (r GetPronunciationDictionariesMetadataRes, _ error)
- func (UnimplementedHandler) GetPronunciationDictionaryMetadata(ctx context.Context, params GetPronunciationDictionaryMetadataParams) (r GetPronunciationDictionaryMetadataRes, _ error)
- func (UnimplementedHandler) GetPronunciationDictionaryVersionPls(ctx context.Context, params GetPronunciationDictionaryVersionPlsParams) (r GetPronunciationDictionaryVersionPlsRes, _ error)
- func (UnimplementedHandler) GetPublicLlmExpectedCostCalculation(ctx context.Context, req *LLMUsageCalculatorPublicRequestModel) (r GetPublicLlmExpectedCostCalculationRes, _ error)
- func (UnimplementedHandler) GetPvcSampleAudio(ctx context.Context, params GetPvcSampleAudioParams) (r GetPvcSampleAudioRes, _ error)
- func (UnimplementedHandler) GetPvcSampleSpeakers(ctx context.Context, params GetPvcSampleSpeakersParams) (r GetPvcSampleSpeakersRes, _ error)
- func (UnimplementedHandler) GetPvcSampleVisualWaveform(ctx context.Context, params GetPvcSampleVisualWaveformParams) (r GetPvcSampleVisualWaveformRes, _ error)
- func (UnimplementedHandler) GetPvcVoiceCaptcha(ctx context.Context, params GetPvcVoiceCaptchaParams) (r GetPvcVoiceCaptchaRes, _ error)
- func (UnimplementedHandler) GetRagIndexOverview(ctx context.Context, params GetRagIndexOverviewParams) (r GetRagIndexOverviewRes, _ error)
- func (UnimplementedHandler) GetRagIndexes(ctx context.Context, params GetRagIndexesParams) (r GetRagIndexesRes, _ error)
- func (UnimplementedHandler) GetResourceMetadata(ctx context.Context, params GetResourceMetadataParams) (r GetResourceMetadataRes, _ error)
- func (UnimplementedHandler) GetSecretsRoute(ctx context.Context, params GetSecretsRouteParams) (r GetSecretsRouteRes, _ error)
- func (UnimplementedHandler) GetServiceAccountAPIKeysRoute(ctx context.Context, params GetServiceAccountAPIKeysRouteParams) (r GetServiceAccountAPIKeysRouteRes, _ error)
- func (UnimplementedHandler) GetSettingsRoute(ctx context.Context, params GetSettingsRouteParams) (r GetSettingsRouteRes, _ error)
- func (UnimplementedHandler) GetSignedURLDeprecated(ctx context.Context, params GetSignedURLDeprecatedParams) (r GetSignedURLDeprecatedRes, _ error)deprecated
- func (UnimplementedHandler) GetSimilarLibraryVoices(ctx context.Context, ...) (r GetSimilarLibraryVoicesRes, _ error)
- func (UnimplementedHandler) GetSimilarVoicesForSpeaker(ctx context.Context, params GetSimilarVoicesForSpeakerParams) (r GetSimilarVoicesForSpeakerRes, _ error)
- func (UnimplementedHandler) GetSingleUseToken(ctx context.Context, params GetSingleUseTokenParams) (r GetSingleUseTokenRes, _ error)
- func (UnimplementedHandler) GetSpeakerAudio(ctx context.Context, params GetSpeakerAudioParams) (r GetSpeakerAudioRes, _ error)
- func (UnimplementedHandler) GetSpeechHistory(ctx context.Context, params GetSpeechHistoryParams) (r GetSpeechHistoryRes, _ error)
- func (UnimplementedHandler) GetSpeechHistoryItemByID(ctx context.Context, params GetSpeechHistoryItemByIDParams) (r GetSpeechHistoryItemByIDRes, _ error)
- func (UnimplementedHandler) GetTestInvocationRoute(ctx context.Context, params GetTestInvocationRouteParams) (r GetTestInvocationRouteRes, _ error)
- func (UnimplementedHandler) GetToolDependentAgentsRoute(ctx context.Context, params GetToolDependentAgentsRouteParams) (r GetToolDependentAgentsRouteRes, _ error)
- func (UnimplementedHandler) GetTranscriptByID(ctx context.Context, params GetTranscriptByIDParams) (r GetTranscriptByIDRes, _ error)
- func (UnimplementedHandler) GetUserInfo(ctx context.Context, params GetUserInfoParams) (r GetUserInfoRes, _ error)
- func (UnimplementedHandler) GetUserVoicesV2(ctx context.Context, params GetUserVoicesV2Params) (r GetUserVoicesV2Res, _ error)
- func (UnimplementedHandler) GetVoiceByID(ctx context.Context, params GetVoiceByIDParams) (r GetVoiceByIDRes, _ error)
- func (UnimplementedHandler) GetVoiceSettings(ctx context.Context, params GetVoiceSettingsParams) (r GetVoiceSettingsRes, _ error)
- func (UnimplementedHandler) GetVoiceSettingsDefault(ctx context.Context) (r *VoiceSettingsResponseModel, _ error)
- func (UnimplementedHandler) GetVoices(ctx context.Context, params GetVoicesParams) (r GetVoicesRes, _ error)
- func (UnimplementedHandler) GetWhatsappAccount(ctx context.Context, params GetWhatsappAccountParams) (r GetWhatsappAccountRes, _ error)
- func (UnimplementedHandler) GetWorkspaceBatchCalls(ctx context.Context, params GetWorkspaceBatchCallsParams) (r GetWorkspaceBatchCallsRes, _ error)
- func (UnimplementedHandler) GetWorkspaceServiceAccounts(ctx context.Context, params GetWorkspaceServiceAccountsParams) (r GetWorkspaceServiceAccountsRes, _ error)
- func (UnimplementedHandler) GetWorkspaceWebhooksRoute(ctx context.Context, params GetWorkspaceWebhooksRouteParams) (r GetWorkspaceWebhooksRouteRes, _ error)
- func (UnimplementedHandler) HandleSipTrunkOutboundCall(ctx context.Context, ...) (r HandleSipTrunkOutboundCallRes, _ error)
- func (UnimplementedHandler) HandleTwilioOutboundCall(ctx context.Context, ...) (r HandleTwilioOutboundCallRes, _ error)
- func (UnimplementedHandler) ImportWhatsappAccount(ctx context.Context, req *ImportWhatsAppAccountRequest, ...) (r ImportWhatsappAccountRes, _ error)
- func (UnimplementedHandler) InviteUser(ctx context.Context, req *BodyInviteUserV1WorkspaceInvitesAddPost, ...) (r InviteUserRes, _ error)
- func (UnimplementedHandler) InviteUsersBulk(ctx context.Context, req *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost, ...) (r InviteUsersBulkRes, _ error)
- func (UnimplementedHandler) ListChatResponseTestsRoute(ctx context.Context, params ListChatResponseTestsRouteParams) (r ListChatResponseTestsRouteRes, _ error)
- func (UnimplementedHandler) ListDubs(ctx context.Context, params ListDubsParams) (r ListDubsRes, _ error)
- func (UnimplementedHandler) ListMcpServerToolsRoute(ctx context.Context, params ListMcpServerToolsRouteParams) (r ListMcpServerToolsRouteRes, _ error)
- func (UnimplementedHandler) ListPhoneNumbersRoute(ctx context.Context, params ListPhoneNumbersRouteParams) (r ListPhoneNumbersRouteRes, _ error)
- func (UnimplementedHandler) ListTestInvocationsRoute(ctx context.Context, params ListTestInvocationsRouteParams) (r ListTestInvocationsRouteRes, _ error)
- func (UnimplementedHandler) ListWhatsappAccounts(ctx context.Context, params ListWhatsappAccountsParams) (r ListWhatsappAccountsRes, _ error)
- func (UnimplementedHandler) MigrateSegments(ctx context.Context, ...) (r MigrateSegmentsRes, _ error)
- func (UnimplementedHandler) PatchPronunciationDictionary(ctx context.Context, ...) (r PatchPronunciationDictionaryRes, _ error)
- func (UnimplementedHandler) PostAgentAvatarRoute(ctx context.Context, ...) (r PostAgentAvatarRouteRes, _ error)
- func (UnimplementedHandler) PostConversationFeedbackRoute(ctx context.Context, req *ConversationFeedbackRequestModel, ...) (r PostConversationFeedbackRouteRes, _ error)
- func (UnimplementedHandler) RagIndexStatus(ctx context.Context, req *RAGIndexRequestModel, params RagIndexStatusParams) (r RagIndexStatusRes, _ error)
- func (UnimplementedHandler) RedirectToMintlify(ctx context.Context) (r jx.Raw, _ error)
- func (UnimplementedHandler) RegisterTwilioCall(ctx context.Context, ...) (r RegisterTwilioCallRes, _ error)
- func (UnimplementedHandler) RemoveMember(ctx context.Context, ...) (r RemoveMemberRes, _ error)
- func (UnimplementedHandler) RemoveRules(ctx context.Context, ...) (r RemoveRulesRes, _ error)
- func (UnimplementedHandler) RequestPvcManualVerification(ctx context.Context, ...) (r RequestPvcManualVerificationRes, _ error)
- func (UnimplementedHandler) RetryBatchCall(ctx context.Context, params RetryBatchCallParams) (r RetryBatchCallRes, _ error)
- func (UnimplementedHandler) RunPvcVoiceTraining(ctx context.Context, req OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost, ...) (r RunPvcVoiceTrainingRes, _ error)
- func (UnimplementedHandler) SearchGroups(ctx context.Context, params SearchGroupsParams) (r SearchGroupsRes, _ error)
- func (UnimplementedHandler) SeparateSongStems(ctx context.Context, req *BodyStemSeparationV1MusicStemSeparationPostMultipart, ...) (r SeparateSongStemsRes, _ error)
- func (UnimplementedHandler) ShareResourceEndpoint(ctx context.Context, ...) (r ShareResourceEndpointRes, _ error)
- func (UnimplementedHandler) SoundGeneration(ctx context.Context, req *BodySoundGenerationV1SoundGenerationPost, ...) (r SoundGenerationRes, _ error)
- func (UnimplementedHandler) SpeechToSpeechFull(ctx context.Context, ...) (r SpeechToSpeechFullRes, _ error)
- func (UnimplementedHandler) SpeechToSpeechStream(ctx context.Context, ...) (r SpeechToSpeechStreamRes, _ error)
- func (UnimplementedHandler) SpeechToText(ctx context.Context, req *BodySpeechToTextV1SpeechToTextPostMultipart, ...) (r SpeechToTextRes, _ error)
- func (UnimplementedHandler) StartSpeakerSeparation(ctx context.Context, params StartSpeakerSeparationParams) (r StartSpeakerSeparationRes, _ error)
- func (UnimplementedHandler) StreamChapterSnapshotAudio(ctx context.Context, ...) (r StreamChapterSnapshotAudioRes, _ error)
- func (UnimplementedHandler) StreamCompose(ctx context.Context, req OptBodyStreamComposedMusicV1MusicStreamPost, ...) (r StreamComposeRes, _ error)
- func (UnimplementedHandler) StreamProjectSnapshotArchiveEndpoint(ctx context.Context, params StreamProjectSnapshotArchiveEndpointParams) (r StreamProjectSnapshotArchiveEndpointRes, _ error)
- func (UnimplementedHandler) StreamProjectSnapshotAudioEndpoint(ctx context.Context, ...) (r StreamProjectSnapshotAudioEndpointRes, _ error)
- func (UnimplementedHandler) TextToDialogue(ctx context.Context, req *BodyTextToDialogueMultiVoiceV1TextToDialoguePost, ...) (r TextToDialogueRes, _ error)
- func (UnimplementedHandler) TextToDialogueFullWithTimestamps(ctx context.Context, req *BodyTextToDialogueFullWithTimestamps, ...) (r TextToDialogueFullWithTimestampsRes, _ error)
- func (UnimplementedHandler) TextToDialogueStream(ctx context.Context, ...) (r TextToDialogueStreamRes, _ error)
- func (UnimplementedHandler) TextToDialogueStreamWithTimestamps(ctx context.Context, req *BodyTextToDialogueStreamWithTimestamps, ...) (r TextToDialogueStreamWithTimestampsRes, _ error)
- func (UnimplementedHandler) TextToSpeechFull(ctx context.Context, req *BodyTextToSpeechFull, params TextToSpeechFullParams) (r TextToSpeechFullRes, _ error)
- func (UnimplementedHandler) TextToSpeechFullWithTimestamps(ctx context.Context, req *BodyTextToSpeechFullWithTimestamps, ...) (r TextToSpeechFullWithTimestampsRes, _ error)
- func (UnimplementedHandler) TextToSpeechStream(ctx context.Context, req *BodyTextToSpeechStream, ...) (r TextToSpeechStreamRes, _ error)
- func (UnimplementedHandler) TextToSpeechStreamWithTimestamps(ctx context.Context, req *BodyTextToSpeechStreamWithTimestamps, ...) (r TextToSpeechStreamWithTimestampsRes, _ error)
- func (UnimplementedHandler) TextToVoice(ctx context.Context, req *VoicePreviewsRequestModel, params TextToVoiceParams) (r TextToVoiceRes, _ error)
- func (UnimplementedHandler) TextToVoiceDesign(ctx context.Context, req *VoiceDesignRequestModel, ...) (r TextToVoiceDesignRes, _ error)
- func (UnimplementedHandler) TextToVoicePreviewStream(ctx context.Context, params TextToVoicePreviewStreamParams) (r TextToVoicePreviewStreamRes, _ error)
- func (UnimplementedHandler) TextToVoiceRemix(ctx context.Context, req *VoiceRemixRequestModel, ...) (r TextToVoiceRemixRes, _ error)
- func (UnimplementedHandler) Transcribe(ctx context.Context, ...) (r TranscribeRes, _ error)
- func (UnimplementedHandler) Translate(ctx context.Context, ...) (r TranslateRes, _ error)
- func (UnimplementedHandler) UnshareResourceEndpoint(ctx context.Context, ...) (r UnshareResourceEndpointRes, _ error)
- func (UnimplementedHandler) UpdateAgentResponseTestRoute(ctx context.Context, req *UpdateUnitTestRequest, ...) (r UpdateAgentResponseTestRouteRes, _ error)
- func (UnimplementedHandler) UpdateDashboardSettingsRoute(ctx context.Context, req *PatchConvAIDashboardSettingsRequest, ...) (r UpdateDashboardSettingsRouteRes, _ error)
- func (UnimplementedHandler) UpdateDocumentRoute(ctx context.Context, ...) (r UpdateDocumentRouteRes, _ error)
- func (UnimplementedHandler) UpdatePhoneNumberRoute(ctx context.Context, req *UpdatePhoneNumberRequest, ...) (r UpdatePhoneNumberRouteRes, _ error)
- func (UnimplementedHandler) UpdatePronunciationDictionaries(ctx context.Context, ...) (r UpdatePronunciationDictionariesRes, _ error)
- func (UnimplementedHandler) UpdateSecretRoute(ctx context.Context, req *PatchWorkspaceSecretRequest, ...) (r UpdateSecretRouteRes, _ error)
- func (UnimplementedHandler) UpdateSegmentLanguage(ctx context.Context, req *SegmentUpdatePayload, ...) (r UpdateSegmentLanguageRes, _ error)
- func (UnimplementedHandler) UpdateSettingsRoute(ctx context.Context, req *PatchConvAISettingsRequest, ...) (r UpdateSettingsRouteRes, _ error)
- func (UnimplementedHandler) UpdateSpeaker(ctx context.Context, ...) (r UpdateSpeakerRes, _ error)
- func (UnimplementedHandler) UpdateWhatsappAccount(ctx context.Context, req *UpdateWhatsAppAccountRequest, ...) (r UpdateWhatsappAccountRes, _ error)
- func (UnimplementedHandler) UpdateWorkspaceMember(ctx context.Context, req *BodyUpdateMemberV1WorkspaceMembersPost, ...) (r UpdateWorkspaceMemberRes, _ error)
- func (UnimplementedHandler) UsageCharacters(ctx context.Context, params UsageCharactersParams) (r UsageCharactersRes, _ error)
- func (UnimplementedHandler) VerifyPvcVoiceCaptcha(ctx context.Context, ...) (r VerifyPvcVoiceCaptchaRes, _ error)
- func (UnimplementedHandler) WhatsappOutboundCall(ctx context.Context, ...) (r WhatsappOutboundCallRes, _ error)
- type UnitTestCommonModel
- func (s *UnitTestCommonModel) Decode(d *jx.Decoder) error
- func (s *UnitTestCommonModel) Encode(e *jx.Encoder)
- func (s *UnitTestCommonModel) GetChatHistory() []ConversationHistoryTranscriptCommonModelOutput
- func (s *UnitTestCommonModel) GetDynamicVariables() OptUnitTestCommonModelDynamicVariables
- func (s *UnitTestCommonModel) GetFailureExamples() []AgentFailureResponseExample
- func (s *UnitTestCommonModel) GetFromConversationMetadata() OptTestFromConversationMetadataOutput
- func (s *UnitTestCommonModel) GetSuccessCondition() string
- func (s *UnitTestCommonModel) GetSuccessExamples() []AgentSuccessfulResponseExample
- func (s *UnitTestCommonModel) GetToolCallParameters() OptUnitTestToolCallEvaluationModelOutput
- func (s *UnitTestCommonModel) GetType() OptUnitTestCommonModelType
- func (s *UnitTestCommonModel) MarshalJSON() ([]byte, error)
- func (s *UnitTestCommonModel) SetChatHistory(val []ConversationHistoryTranscriptCommonModelOutput)
- func (s *UnitTestCommonModel) SetDynamicVariables(val OptUnitTestCommonModelDynamicVariables)
- func (s *UnitTestCommonModel) SetFailureExamples(val []AgentFailureResponseExample)
- func (s *UnitTestCommonModel) SetFromConversationMetadata(val OptTestFromConversationMetadataOutput)
- func (s *UnitTestCommonModel) SetSuccessCondition(val string)
- func (s *UnitTestCommonModel) SetSuccessExamples(val []AgentSuccessfulResponseExample)
- func (s *UnitTestCommonModel) SetToolCallParameters(val OptUnitTestToolCallEvaluationModelOutput)
- func (s *UnitTestCommonModel) SetType(val OptUnitTestCommonModelType)
- func (s *UnitTestCommonModel) UnmarshalJSON(data []byte) error
- func (s *UnitTestCommonModel) Validate() error
- type UnitTestCommonModelDynamicVariables
- func (s *UnitTestCommonModelDynamicVariables) Decode(d *jx.Decoder) error
- func (s UnitTestCommonModelDynamicVariables) Encode(e *jx.Encoder)
- func (s UnitTestCommonModelDynamicVariables) MarshalJSON() ([]byte, error)
- func (s *UnitTestCommonModelDynamicVariables) UnmarshalJSON(data []byte) error
- func (s UnitTestCommonModelDynamicVariables) Validate() error
- type UnitTestCommonModelDynamicVariablesItem
- func NewBoolUnitTestCommonModelDynamicVariablesItem(v bool) UnitTestCommonModelDynamicVariablesItem
- func NewFloat64UnitTestCommonModelDynamicVariablesItem(v float64) UnitTestCommonModelDynamicVariablesItem
- func NewIntUnitTestCommonModelDynamicVariablesItem(v int) UnitTestCommonModelDynamicVariablesItem
- func NewStringUnitTestCommonModelDynamicVariablesItem(v string) UnitTestCommonModelDynamicVariablesItem
- func (s *UnitTestCommonModelDynamicVariablesItem) Decode(d *jx.Decoder) error
- func (s UnitTestCommonModelDynamicVariablesItem) Encode(e *jx.Encoder)
- func (s UnitTestCommonModelDynamicVariablesItem) GetBool() (v bool, ok bool)
- func (s UnitTestCommonModelDynamicVariablesItem) GetFloat64() (v float64, ok bool)
- func (s UnitTestCommonModelDynamicVariablesItem) GetInt() (v int, ok bool)
- func (s UnitTestCommonModelDynamicVariablesItem) GetString() (v string, ok bool)
- func (s UnitTestCommonModelDynamicVariablesItem) IsBool() bool
- func (s UnitTestCommonModelDynamicVariablesItem) IsFloat64() bool
- func (s UnitTestCommonModelDynamicVariablesItem) IsInt() bool
- func (s UnitTestCommonModelDynamicVariablesItem) IsString() bool
- func (s UnitTestCommonModelDynamicVariablesItem) MarshalJSON() ([]byte, error)
- func (s *UnitTestCommonModelDynamicVariablesItem) SetBool(v bool)
- func (s *UnitTestCommonModelDynamicVariablesItem) SetFloat64(v float64)
- func (s *UnitTestCommonModelDynamicVariablesItem) SetInt(v int)
- func (s *UnitTestCommonModelDynamicVariablesItem) SetString(v string)
- func (s *UnitTestCommonModelDynamicVariablesItem) UnmarshalJSON(data []byte) error
- func (s UnitTestCommonModelDynamicVariablesItem) Validate() error
- type UnitTestCommonModelDynamicVariablesItemType
- type UnitTestCommonModelType
- func (UnitTestCommonModelType) AllValues() []UnitTestCommonModelType
- func (s *UnitTestCommonModelType) Decode(d *jx.Decoder) error
- func (s UnitTestCommonModelType) Encode(e *jx.Encoder)
- func (s UnitTestCommonModelType) MarshalJSON() ([]byte, error)
- func (s UnitTestCommonModelType) MarshalText() ([]byte, error)
- func (s *UnitTestCommonModelType) UnmarshalJSON(data []byte) error
- func (s *UnitTestCommonModelType) UnmarshalText(data []byte) error
- func (s UnitTestCommonModelType) Validate() error
- type UnitTestRunResponseModel
- func (s *UnitTestRunResponseModel) Decode(d *jx.Decoder) error
- func (s *UnitTestRunResponseModel) Encode(e *jx.Encoder)
- func (s *UnitTestRunResponseModel) GetAgentID() string
- func (s *UnitTestRunResponseModel) GetAgentResponses() OptNilConversationHistoryTranscriptCommonModelOutputArray
- func (s *UnitTestRunResponseModel) GetBranchID() OptNilString
- func (s *UnitTestRunResponseModel) GetConditionResult() OptTestConditionResultCommonModel
- func (s *UnitTestRunResponseModel) GetLastUpdatedAtUnix() OptInt
- func (s *UnitTestRunResponseModel) GetMetadata() OptTestRunMetadata
- func (s *UnitTestRunResponseModel) GetStatus() TestRunStatus
- func (s *UnitTestRunResponseModel) GetTestID() string
- func (s *UnitTestRunResponseModel) GetTestInfo() OptUnitTestCommonModel
- func (s *UnitTestRunResponseModel) GetTestInvocationID() string
- func (s *UnitTestRunResponseModel) GetTestName() OptString
- func (s *UnitTestRunResponseModel) GetTestRunID() string
- func (s *UnitTestRunResponseModel) GetWorkflowNodeID() OptNilString
- func (s *UnitTestRunResponseModel) MarshalJSON() ([]byte, error)
- func (s *UnitTestRunResponseModel) SetAgentID(val string)
- func (s *UnitTestRunResponseModel) SetAgentResponses(val OptNilConversationHistoryTranscriptCommonModelOutputArray)
- func (s *UnitTestRunResponseModel) SetBranchID(val OptNilString)
- func (s *UnitTestRunResponseModel) SetConditionResult(val OptTestConditionResultCommonModel)
- func (s *UnitTestRunResponseModel) SetLastUpdatedAtUnix(val OptInt)
- func (s *UnitTestRunResponseModel) SetMetadata(val OptTestRunMetadata)
- func (s *UnitTestRunResponseModel) SetStatus(val TestRunStatus)
- func (s *UnitTestRunResponseModel) SetTestID(val string)
- func (s *UnitTestRunResponseModel) SetTestInfo(val OptUnitTestCommonModel)
- func (s *UnitTestRunResponseModel) SetTestInvocationID(val string)
- func (s *UnitTestRunResponseModel) SetTestName(val OptString)
- func (s *UnitTestRunResponseModel) SetTestRunID(val string)
- func (s *UnitTestRunResponseModel) SetWorkflowNodeID(val OptNilString)
- func (s *UnitTestRunResponseModel) UnmarshalJSON(data []byte) error
- func (s *UnitTestRunResponseModel) Validate() error
- type UnitTestSummaryResponseModel
- func (s *UnitTestSummaryResponseModel) Decode(d *jx.Decoder) error
- func (s *UnitTestSummaryResponseModel) Encode(e *jx.Encoder)
- func (s *UnitTestSummaryResponseModel) GetAccessInfo() OptResourceAccessInfo
- func (s *UnitTestSummaryResponseModel) GetCreatedAtUnixSecs() int
- func (s *UnitTestSummaryResponseModel) GetID() string
- func (s *UnitTestSummaryResponseModel) GetLastUpdatedAtUnixSecs() int
- func (s *UnitTestSummaryResponseModel) GetName() string
- func (s *UnitTestSummaryResponseModel) GetType() UnitTestCommonModelType
- func (s *UnitTestSummaryResponseModel) MarshalJSON() ([]byte, error)
- func (s *UnitTestSummaryResponseModel) SetAccessInfo(val OptResourceAccessInfo)
- func (s *UnitTestSummaryResponseModel) SetCreatedAtUnixSecs(val int)
- func (s *UnitTestSummaryResponseModel) SetID(val string)
- func (s *UnitTestSummaryResponseModel) SetLastUpdatedAtUnixSecs(val int)
- func (s *UnitTestSummaryResponseModel) SetName(val string)
- func (s *UnitTestSummaryResponseModel) SetType(val UnitTestCommonModelType)
- func (s *UnitTestSummaryResponseModel) UnmarshalJSON(data []byte) error
- func (s *UnitTestSummaryResponseModel) Validate() error
- type UnitTestToolCallEvaluationModelInput
- func (s *UnitTestToolCallEvaluationModelInput) Decode(d *jx.Decoder) error
- func (s *UnitTestToolCallEvaluationModelInput) Encode(e *jx.Encoder)
- func (s *UnitTestToolCallEvaluationModelInput) GetParameters() []UnitTestToolCallParameter
- func (s *UnitTestToolCallEvaluationModelInput) GetReferencedTool() OptReferencedToolCommonModel
- func (s *UnitTestToolCallEvaluationModelInput) GetVerifyAbsence() OptBool
- func (s *UnitTestToolCallEvaluationModelInput) MarshalJSON() ([]byte, error)
- func (s *UnitTestToolCallEvaluationModelInput) SetParameters(val []UnitTestToolCallParameter)
- func (s *UnitTestToolCallEvaluationModelInput) SetReferencedTool(val OptReferencedToolCommonModel)
- func (s *UnitTestToolCallEvaluationModelInput) SetVerifyAbsence(val OptBool)
- func (s *UnitTestToolCallEvaluationModelInput) UnmarshalJSON(data []byte) error
- func (s *UnitTestToolCallEvaluationModelInput) Validate() error
- type UnitTestToolCallEvaluationModelOutput
- func (s *UnitTestToolCallEvaluationModelOutput) Decode(d *jx.Decoder) error
- func (s *UnitTestToolCallEvaluationModelOutput) Encode(e *jx.Encoder)
- func (s *UnitTestToolCallEvaluationModelOutput) GetParameters() []UnitTestToolCallParameter
- func (s *UnitTestToolCallEvaluationModelOutput) GetReferencedTool() OptReferencedToolCommonModel
- func (s *UnitTestToolCallEvaluationModelOutput) GetVerifyAbsence() OptBool
- func (s *UnitTestToolCallEvaluationModelOutput) MarshalJSON() ([]byte, error)
- func (s *UnitTestToolCallEvaluationModelOutput) SetParameters(val []UnitTestToolCallParameter)
- func (s *UnitTestToolCallEvaluationModelOutput) SetReferencedTool(val OptReferencedToolCommonModel)
- func (s *UnitTestToolCallEvaluationModelOutput) SetVerifyAbsence(val OptBool)
- func (s *UnitTestToolCallEvaluationModelOutput) UnmarshalJSON(data []byte) error
- func (s *UnitTestToolCallEvaluationModelOutput) Validate() error
- type UnitTestToolCallParameter
- func (s *UnitTestToolCallParameter) Decode(d *jx.Decoder) error
- func (s *UnitTestToolCallParameter) Encode(e *jx.Encoder)
- func (s *UnitTestToolCallParameter) GetEval() UnitTestToolCallParameterEval
- func (s *UnitTestToolCallParameter) GetPath() string
- func (s *UnitTestToolCallParameter) MarshalJSON() ([]byte, error)
- func (s *UnitTestToolCallParameter) SetEval(val UnitTestToolCallParameterEval)
- func (s *UnitTestToolCallParameter) SetPath(val string)
- func (s *UnitTestToolCallParameter) UnmarshalJSON(data []byte) error
- func (s *UnitTestToolCallParameter) Validate() error
- type UnitTestToolCallParameterEval
- func NewExactParameterEvaluationStrategyUnitTestToolCallParameterEval(v ExactParameterEvaluationStrategy) UnitTestToolCallParameterEval
- func NewLLMParameterEvaluationStrategyUnitTestToolCallParameterEval(v LLMParameterEvaluationStrategy) UnitTestToolCallParameterEval
- func NewMatchAnythingParameterEvaluationStrategyUnitTestToolCallParameterEval(v MatchAnythingParameterEvaluationStrategy) UnitTestToolCallParameterEval
- func NewRegexParameterEvaluationStrategyUnitTestToolCallParameterEval(v RegexParameterEvaluationStrategy) UnitTestToolCallParameterEval
- func (s *UnitTestToolCallParameterEval) Decode(d *jx.Decoder) error
- func (s UnitTestToolCallParameterEval) Encode(e *jx.Encoder)
- func (s UnitTestToolCallParameterEval) GetExactParameterEvaluationStrategy() (v ExactParameterEvaluationStrategy, ok bool)
- func (s UnitTestToolCallParameterEval) GetLLMParameterEvaluationStrategy() (v LLMParameterEvaluationStrategy, ok bool)
- func (s UnitTestToolCallParameterEval) GetMatchAnythingParameterEvaluationStrategy() (v MatchAnythingParameterEvaluationStrategy, ok bool)
- func (s UnitTestToolCallParameterEval) GetRegexParameterEvaluationStrategy() (v RegexParameterEvaluationStrategy, ok bool)
- func (s UnitTestToolCallParameterEval) IsExactParameterEvaluationStrategy() bool
- func (s UnitTestToolCallParameterEval) IsLLMParameterEvaluationStrategy() bool
- func (s UnitTestToolCallParameterEval) IsMatchAnythingParameterEvaluationStrategy() bool
- func (s UnitTestToolCallParameterEval) IsRegexParameterEvaluationStrategy() bool
- func (s UnitTestToolCallParameterEval) MarshalJSON() ([]byte, error)
- func (s *UnitTestToolCallParameterEval) SetExactParameterEvaluationStrategy(v ExactParameterEvaluationStrategy)
- func (s *UnitTestToolCallParameterEval) SetLLMParameterEvaluationStrategy(v LLMParameterEvaluationStrategy)
- func (s *UnitTestToolCallParameterEval) SetMatchAnythingParameterEvaluationStrategy(v MatchAnythingParameterEvaluationStrategy)
- func (s *UnitTestToolCallParameterEval) SetRegexParameterEvaluationStrategy(v RegexParameterEvaluationStrategy)
- func (s *UnitTestToolCallParameterEval) UnmarshalJSON(data []byte) error
- func (s UnitTestToolCallParameterEval) Validate() error
- type UnitTestToolCallParameterEvalType
- type UnshareResourceEndpointOKApplicationJSON
- func (s *UnshareResourceEndpointOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s UnshareResourceEndpointOKApplicationJSON) Encode(e *jx.Encoder)
- func (s UnshareResourceEndpointOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *UnshareResourceEndpointOKApplicationJSON) UnmarshalJSON(data []byte) error
- type UnshareResourceEndpointParams
- type UnshareResourceEndpointRes
- type UpdateAgentResponseTestRouteParams
- type UpdateAgentResponseTestRouteRes
- type UpdateDashboardSettingsRouteParams
- type UpdateDashboardSettingsRouteRes
- type UpdateDocumentRouteOK
- func NewGetKnowledgeBaseFileResponseModelUpdateDocumentRouteOK(v GetKnowledgeBaseFileResponseModel) UpdateDocumentRouteOK
- func NewGetKnowledgeBaseFolderResponseModelUpdateDocumentRouteOK(v GetKnowledgeBaseFolderResponseModel) UpdateDocumentRouteOK
- func NewGetKnowledgeBaseTextResponseModelUpdateDocumentRouteOK(v GetKnowledgeBaseTextResponseModel) UpdateDocumentRouteOK
- func NewGetKnowledgeBaseURLResponseModelUpdateDocumentRouteOK(v GetKnowledgeBaseURLResponseModel) UpdateDocumentRouteOK
- func (s *UpdateDocumentRouteOK) Decode(d *jx.Decoder) error
- func (s UpdateDocumentRouteOK) Encode(e *jx.Encoder)
- func (s UpdateDocumentRouteOK) GetGetKnowledgeBaseFileResponseModel() (v GetKnowledgeBaseFileResponseModel, ok bool)
- func (s UpdateDocumentRouteOK) GetGetKnowledgeBaseFolderResponseModel() (v GetKnowledgeBaseFolderResponseModel, ok bool)
- func (s UpdateDocumentRouteOK) GetGetKnowledgeBaseTextResponseModel() (v GetKnowledgeBaseTextResponseModel, ok bool)
- func (s UpdateDocumentRouteOK) GetGetKnowledgeBaseURLResponseModel() (v GetKnowledgeBaseURLResponseModel, ok bool)
- func (s UpdateDocumentRouteOK) IsGetKnowledgeBaseFileResponseModel() bool
- func (s UpdateDocumentRouteOK) IsGetKnowledgeBaseFolderResponseModel() bool
- func (s UpdateDocumentRouteOK) IsGetKnowledgeBaseTextResponseModel() bool
- func (s UpdateDocumentRouteOK) IsGetKnowledgeBaseURLResponseModel() bool
- func (s UpdateDocumentRouteOK) MarshalJSON() ([]byte, error)
- func (s *UpdateDocumentRouteOK) SetGetKnowledgeBaseFileResponseModel(v GetKnowledgeBaseFileResponseModel)
- func (s *UpdateDocumentRouteOK) SetGetKnowledgeBaseFolderResponseModel(v GetKnowledgeBaseFolderResponseModel)
- func (s *UpdateDocumentRouteOK) SetGetKnowledgeBaseTextResponseModel(v GetKnowledgeBaseTextResponseModel)
- func (s *UpdateDocumentRouteOK) SetGetKnowledgeBaseURLResponseModel(v GetKnowledgeBaseURLResponseModel)
- func (s *UpdateDocumentRouteOK) UnmarshalJSON(data []byte) error
- func (s UpdateDocumentRouteOK) Validate() error
- type UpdateDocumentRouteOKType
- type UpdateDocumentRouteParams
- type UpdateDocumentRouteRes
- type UpdatePhoneNumberRequest
- func (s *UpdatePhoneNumberRequest) Decode(d *jx.Decoder) error
- func (s *UpdatePhoneNumberRequest) Encode(e *jx.Encoder)
- func (s *UpdatePhoneNumberRequest) GetAgentID() OptNilString
- func (s *UpdatePhoneNumberRequest) GetInboundTrunkConfig() OptInboundSIPTrunkConfigRequestModel
- func (s *UpdatePhoneNumberRequest) GetLivekitStack() OptLivekitStackType
- func (s *UpdatePhoneNumberRequest) GetOutboundTrunkConfig() OptOutboundSIPTrunkConfigRequestModel
- func (s *UpdatePhoneNumberRequest) MarshalJSON() ([]byte, error)
- func (s *UpdatePhoneNumberRequest) SetAgentID(val OptNilString)
- func (s *UpdatePhoneNumberRequest) SetInboundTrunkConfig(val OptInboundSIPTrunkConfigRequestModel)
- func (s *UpdatePhoneNumberRequest) SetLivekitStack(val OptLivekitStackType)
- func (s *UpdatePhoneNumberRequest) SetOutboundTrunkConfig(val OptOutboundSIPTrunkConfigRequestModel)
- func (s *UpdatePhoneNumberRequest) UnmarshalJSON(data []byte) error
- func (s *UpdatePhoneNumberRequest) Validate() error
- type UpdatePhoneNumberRouteOK
- func (s *UpdatePhoneNumberRouteOK) Decode(d *jx.Decoder) error
- func (s UpdatePhoneNumberRouteOK) Encode(e *jx.Encoder)
- func (s UpdatePhoneNumberRouteOK) GetGetPhoneNumberSIPTrunkResponseModel() (v GetPhoneNumberSIPTrunkResponseModel, ok bool)
- func (s UpdatePhoneNumberRouteOK) GetGetPhoneNumberTwilioResponseModel() (v GetPhoneNumberTwilioResponseModel, ok bool)
- func (s UpdatePhoneNumberRouteOK) IsGetPhoneNumberSIPTrunkResponseModel() bool
- func (s UpdatePhoneNumberRouteOK) IsGetPhoneNumberTwilioResponseModel() bool
- func (s UpdatePhoneNumberRouteOK) MarshalJSON() ([]byte, error)
- func (s *UpdatePhoneNumberRouteOK) SetGetPhoneNumberSIPTrunkResponseModel(v GetPhoneNumberSIPTrunkResponseModel)
- func (s *UpdatePhoneNumberRouteOK) SetGetPhoneNumberTwilioResponseModel(v GetPhoneNumberTwilioResponseModel)
- func (s *UpdatePhoneNumberRouteOK) UnmarshalJSON(data []byte) error
- func (s UpdatePhoneNumberRouteOK) Validate() error
- type UpdatePhoneNumberRouteOKType
- type UpdatePhoneNumberRouteParams
- type UpdatePhoneNumberRouteRes
- type UpdatePronunciationDictionariesParams
- type UpdatePronunciationDictionariesRes
- type UpdateSecretRouteParams
- type UpdateSecretRouteRes
- type UpdateSegmentLanguageParams
- type UpdateSegmentLanguageRes
- type UpdateSettingsRouteParams
- type UpdateSettingsRouteRes
- type UpdateSpeakerParams
- type UpdateSpeakerRes
- type UpdateUnitTestRequest
- func (s *UpdateUnitTestRequest) Decode(d *jx.Decoder) error
- func (s *UpdateUnitTestRequest) Encode(e *jx.Encoder)
- func (s *UpdateUnitTestRequest) GetChatHistory() []ConversationHistoryTranscriptCommonModelInput
- func (s *UpdateUnitTestRequest) GetDynamicVariables() OptUpdateUnitTestRequestDynamicVariables
- func (s *UpdateUnitTestRequest) GetFailureExamples() []AgentFailureResponseExample
- func (s *UpdateUnitTestRequest) GetFromConversationMetadata() OptTestFromConversationMetadataInput
- func (s *UpdateUnitTestRequest) GetName() string
- func (s *UpdateUnitTestRequest) GetSuccessCondition() string
- func (s *UpdateUnitTestRequest) GetSuccessExamples() []AgentSuccessfulResponseExample
- func (s *UpdateUnitTestRequest) GetToolCallParameters() OptUnitTestToolCallEvaluationModelInput
- func (s *UpdateUnitTestRequest) GetType() OptUnitTestCommonModelType
- func (s *UpdateUnitTestRequest) MarshalJSON() ([]byte, error)
- func (s *UpdateUnitTestRequest) SetChatHistory(val []ConversationHistoryTranscriptCommonModelInput)
- func (s *UpdateUnitTestRequest) SetDynamicVariables(val OptUpdateUnitTestRequestDynamicVariables)
- func (s *UpdateUnitTestRequest) SetFailureExamples(val []AgentFailureResponseExample)
- func (s *UpdateUnitTestRequest) SetFromConversationMetadata(val OptTestFromConversationMetadataInput)
- func (s *UpdateUnitTestRequest) SetName(val string)
- func (s *UpdateUnitTestRequest) SetSuccessCondition(val string)
- func (s *UpdateUnitTestRequest) SetSuccessExamples(val []AgentSuccessfulResponseExample)
- func (s *UpdateUnitTestRequest) SetToolCallParameters(val OptUnitTestToolCallEvaluationModelInput)
- func (s *UpdateUnitTestRequest) SetType(val OptUnitTestCommonModelType)
- func (s *UpdateUnitTestRequest) UnmarshalJSON(data []byte) error
- func (s *UpdateUnitTestRequest) Validate() error
- type UpdateUnitTestRequestDynamicVariables
- func (s *UpdateUnitTestRequestDynamicVariables) Decode(d *jx.Decoder) error
- func (s UpdateUnitTestRequestDynamicVariables) Encode(e *jx.Encoder)
- func (s UpdateUnitTestRequestDynamicVariables) MarshalJSON() ([]byte, error)
- func (s *UpdateUnitTestRequestDynamicVariables) UnmarshalJSON(data []byte) error
- func (s UpdateUnitTestRequestDynamicVariables) Validate() error
- type UpdateUnitTestRequestDynamicVariablesItem
- func NewBoolUpdateUnitTestRequestDynamicVariablesItem(v bool) UpdateUnitTestRequestDynamicVariablesItem
- func NewFloat64UpdateUnitTestRequestDynamicVariablesItem(v float64) UpdateUnitTestRequestDynamicVariablesItem
- func NewIntUpdateUnitTestRequestDynamicVariablesItem(v int) UpdateUnitTestRequestDynamicVariablesItem
- func NewStringUpdateUnitTestRequestDynamicVariablesItem(v string) UpdateUnitTestRequestDynamicVariablesItem
- func (s *UpdateUnitTestRequestDynamicVariablesItem) Decode(d *jx.Decoder) error
- func (s UpdateUnitTestRequestDynamicVariablesItem) Encode(e *jx.Encoder)
- func (s UpdateUnitTestRequestDynamicVariablesItem) GetBool() (v bool, ok bool)
- func (s UpdateUnitTestRequestDynamicVariablesItem) GetFloat64() (v float64, ok bool)
- func (s UpdateUnitTestRequestDynamicVariablesItem) GetInt() (v int, ok bool)
- func (s UpdateUnitTestRequestDynamicVariablesItem) GetString() (v string, ok bool)
- func (s UpdateUnitTestRequestDynamicVariablesItem) IsBool() bool
- func (s UpdateUnitTestRequestDynamicVariablesItem) IsFloat64() bool
- func (s UpdateUnitTestRequestDynamicVariablesItem) IsInt() bool
- func (s UpdateUnitTestRequestDynamicVariablesItem) IsString() bool
- func (s UpdateUnitTestRequestDynamicVariablesItem) MarshalJSON() ([]byte, error)
- func (s *UpdateUnitTestRequestDynamicVariablesItem) SetBool(v bool)
- func (s *UpdateUnitTestRequestDynamicVariablesItem) SetFloat64(v float64)
- func (s *UpdateUnitTestRequestDynamicVariablesItem) SetInt(v int)
- func (s *UpdateUnitTestRequestDynamicVariablesItem) SetString(v string)
- func (s *UpdateUnitTestRequestDynamicVariablesItem) UnmarshalJSON(data []byte) error
- func (s UpdateUnitTestRequestDynamicVariablesItem) Validate() error
- type UpdateUnitTestRequestDynamicVariablesItemType
- type UpdateWhatsAppAccountRequest
- func (s *UpdateWhatsAppAccountRequest) Decode(d *jx.Decoder) error
- func (s *UpdateWhatsAppAccountRequest) Encode(e *jx.Encoder)
- func (s *UpdateWhatsAppAccountRequest) GetAssignedAgentID() OptNilString
- func (s *UpdateWhatsAppAccountRequest) MarshalJSON() ([]byte, error)
- func (s *UpdateWhatsAppAccountRequest) SetAssignedAgentID(val OptNilString)
- func (s *UpdateWhatsAppAccountRequest) UnmarshalJSON(data []byte) error
- type UpdateWhatsappAccountOKApplicationJSON
- func (s *UpdateWhatsappAccountOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s UpdateWhatsappAccountOKApplicationJSON) Encode(e *jx.Encoder)
- func (s UpdateWhatsappAccountOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *UpdateWhatsappAccountOKApplicationJSON) UnmarshalJSON(data []byte) error
- type UpdateWhatsappAccountParams
- type UpdateWhatsappAccountRes
- type UpdateWorkspaceMemberParams
- type UpdateWorkspaceMemberRes
- type UpdateWorkspaceMemberResponseModel
- func (s *UpdateWorkspaceMemberResponseModel) Decode(d *jx.Decoder) error
- func (s *UpdateWorkspaceMemberResponseModel) Encode(e *jx.Encoder)
- func (s *UpdateWorkspaceMemberResponseModel) GetStatus() string
- func (s *UpdateWorkspaceMemberResponseModel) MarshalJSON() ([]byte, error)
- func (s *UpdateWorkspaceMemberResponseModel) SetStatus(val string)
- func (s *UpdateWorkspaceMemberResponseModel) UnmarshalJSON(data []byte) error
- type UsageAggregationInterval
- type UsageCharactersParams
- type UsageCharactersRes
- type UsageCharactersResponseModel
- func (s *UsageCharactersResponseModel) Decode(d *jx.Decoder) error
- func (s *UsageCharactersResponseModel) Encode(e *jx.Encoder)
- func (s *UsageCharactersResponseModel) GetTime() []int
- func (s *UsageCharactersResponseModel) GetUsage() UsageCharactersResponseModelUsage
- func (s *UsageCharactersResponseModel) MarshalJSON() ([]byte, error)
- func (s *UsageCharactersResponseModel) SetTime(val []int)
- func (s *UsageCharactersResponseModel) SetUsage(val UsageCharactersResponseModelUsage)
- func (s *UsageCharactersResponseModel) UnmarshalJSON(data []byte) error
- func (s *UsageCharactersResponseModel) Validate() error
- type UsageCharactersResponseModelUsage
- func (s *UsageCharactersResponseModelUsage) Decode(d *jx.Decoder) error
- func (s UsageCharactersResponseModelUsage) Encode(e *jx.Encoder)
- func (s UsageCharactersResponseModelUsage) MarshalJSON() ([]byte, error)
- func (s *UsageCharactersResponseModelUsage) UnmarshalJSON(data []byte) error
- func (s UsageCharactersResponseModelUsage) Validate() error
- type UserFeedback
- func (s *UserFeedback) Decode(d *jx.Decoder) error
- func (s *UserFeedback) Encode(e *jx.Encoder)
- func (s *UserFeedback) GetScore() UserFeedbackScore
- func (s *UserFeedback) GetTimeInCallSecs() int
- func (s *UserFeedback) MarshalJSON() ([]byte, error)
- func (s *UserFeedback) SetScore(val UserFeedbackScore)
- func (s *UserFeedback) SetTimeInCallSecs(val int)
- func (s *UserFeedback) UnmarshalJSON(data []byte) error
- func (s *UserFeedback) Validate() error
- type UserFeedbackScore
- func (UserFeedbackScore) AllValues() []UserFeedbackScore
- func (s *UserFeedbackScore) Decode(d *jx.Decoder) error
- func (s UserFeedbackScore) Encode(e *jx.Encoder)
- func (s UserFeedbackScore) MarshalJSON() ([]byte, error)
- func (s UserFeedbackScore) MarshalText() ([]byte, error)
- func (s *UserFeedbackScore) UnmarshalJSON(data []byte) error
- func (s *UserFeedbackScore) UnmarshalText(data []byte) error
- func (s UserFeedbackScore) Validate() error
- type UserResponseModel
- func (s *UserResponseModel) Decode(d *jx.Decoder) error
- func (s *UserResponseModel) Encode(e *jx.Encoder)
- func (s *UserResponseModel) GetCanUseDelayedPaymentMethods() bool
- func (s *UserResponseModel) GetCreatedAt() int
- func (s *UserResponseModel) GetFirstName() OptNilString
- func (s *UserResponseModel) GetIsAPIKeyHashed() OptBool
- func (s *UserResponseModel) GetIsNewUser() bool
- func (s *UserResponseModel) GetIsOnboardingChecklistCompleted() bool
- func (s *UserResponseModel) GetIsOnboardingCompleted() bool
- func (s *UserResponseModel) GetPartnerstackPartnerDefaultLink() OptNilString
- func (s *UserResponseModel) GetReferralLinkCode() OptNilString
- func (s *UserResponseModel) GetSubscription() SubscriptionResponseModel
- func (s *UserResponseModel) GetUserID() string
- func (s *UserResponseModel) GetXiAPIKey() OptNilString
- func (s *UserResponseModel) GetXiAPIKeyPreview() OptNilString
- func (s *UserResponseModel) MarshalJSON() ([]byte, error)
- func (s *UserResponseModel) SetCanUseDelayedPaymentMethods(val bool)
- func (s *UserResponseModel) SetCreatedAt(val int)
- func (s *UserResponseModel) SetFirstName(val OptNilString)
- func (s *UserResponseModel) SetIsAPIKeyHashed(val OptBool)
- func (s *UserResponseModel) SetIsNewUser(val bool)
- func (s *UserResponseModel) SetIsOnboardingChecklistCompleted(val bool)
- func (s *UserResponseModel) SetIsOnboardingCompleted(val bool)
- func (s *UserResponseModel) SetPartnerstackPartnerDefaultLink(val OptNilString)
- func (s *UserResponseModel) SetReferralLinkCode(val OptNilString)
- func (s *UserResponseModel) SetSubscription(val SubscriptionResponseModel)
- func (s *UserResponseModel) SetUserID(val string)
- func (s *UserResponseModel) SetXiAPIKey(val OptNilString)
- func (s *UserResponseModel) SetXiAPIKeyPreview(val OptNilString)
- func (s *UserResponseModel) UnmarshalJSON(data []byte) error
- func (s *UserResponseModel) Validate() error
- type UtteranceResponseModel
- func (s *UtteranceResponseModel) Decode(d *jx.Decoder) error
- func (s *UtteranceResponseModel) Encode(e *jx.Encoder)
- func (s *UtteranceResponseModel) GetEnd() float64
- func (s *UtteranceResponseModel) GetStart() float64
- func (s *UtteranceResponseModel) MarshalJSON() ([]byte, error)
- func (s *UtteranceResponseModel) SetEnd(val float64)
- func (s *UtteranceResponseModel) SetStart(val float64)
- func (s *UtteranceResponseModel) UnmarshalJSON(data []byte) error
- func (s *UtteranceResponseModel) Validate() error
- type ValidationError
- func (s *ValidationError) Decode(d *jx.Decoder) error
- func (s *ValidationError) Encode(e *jx.Encoder)
- func (s *ValidationError) GetLoc() []ValidationErrorLocItem
- func (s *ValidationError) GetMsg() string
- func (s *ValidationError) GetType() string
- func (s *ValidationError) MarshalJSON() ([]byte, error)
- func (s *ValidationError) SetLoc(val []ValidationErrorLocItem)
- func (s *ValidationError) SetMsg(val string)
- func (s *ValidationError) SetType(val string)
- func (s *ValidationError) UnmarshalJSON(data []byte) error
- func (s *ValidationError) Validate() error
- type ValidationErrorLocItem
- func (s *ValidationErrorLocItem) Decode(d *jx.Decoder) error
- func (s ValidationErrorLocItem) Encode(e *jx.Encoder)
- func (s ValidationErrorLocItem) GetInt() (v int, ok bool)
- func (s ValidationErrorLocItem) GetString() (v string, ok bool)
- func (s ValidationErrorLocItem) IsInt() bool
- func (s ValidationErrorLocItem) IsString() bool
- func (s ValidationErrorLocItem) MarshalJSON() ([]byte, error)
- func (s *ValidationErrorLocItem) SetInt(v int)
- func (s *ValidationErrorLocItem) SetString(v string)
- func (s *ValidationErrorLocItem) UnmarshalJSON(data []byte) error
- type ValidationErrorLocItemType
- type VerificationAttemptResponseModel
- func (s *VerificationAttemptResponseModel) Decode(d *jx.Decoder) error
- func (s *VerificationAttemptResponseModel) Encode(e *jx.Encoder)
- func (s *VerificationAttemptResponseModel) GetAccepted() bool
- func (s *VerificationAttemptResponseModel) GetDateUnix() int
- func (s *VerificationAttemptResponseModel) GetLevenshteinDistance() float64
- func (s *VerificationAttemptResponseModel) GetRecording() OptRecordingResponseModel
- func (s *VerificationAttemptResponseModel) GetSimilarity() float64
- func (s *VerificationAttemptResponseModel) GetText() string
- func (s *VerificationAttemptResponseModel) MarshalJSON() ([]byte, error)
- func (s *VerificationAttemptResponseModel) SetAccepted(val bool)
- func (s *VerificationAttemptResponseModel) SetDateUnix(val int)
- func (s *VerificationAttemptResponseModel) SetLevenshteinDistance(val float64)
- func (s *VerificationAttemptResponseModel) SetRecording(val OptRecordingResponseModel)
- func (s *VerificationAttemptResponseModel) SetSimilarity(val float64)
- func (s *VerificationAttemptResponseModel) SetText(val string)
- func (s *VerificationAttemptResponseModel) UnmarshalJSON(data []byte) error
- func (s *VerificationAttemptResponseModel) Validate() error
- type VerifiedVoiceLanguageResponseModel
- func (s *VerifiedVoiceLanguageResponseModel) Decode(d *jx.Decoder) error
- func (s *VerifiedVoiceLanguageResponseModel) Encode(e *jx.Encoder)
- func (s *VerifiedVoiceLanguageResponseModel) GetAccent() OptNilString
- func (s *VerifiedVoiceLanguageResponseModel) GetLanguage() string
- func (s *VerifiedVoiceLanguageResponseModel) GetLocale() OptNilString
- func (s *VerifiedVoiceLanguageResponseModel) GetModelID() string
- func (s *VerifiedVoiceLanguageResponseModel) GetPreviewURL() OptNilString
- func (s *VerifiedVoiceLanguageResponseModel) MarshalJSON() ([]byte, error)
- func (s *VerifiedVoiceLanguageResponseModel) SetAccent(val OptNilString)
- func (s *VerifiedVoiceLanguageResponseModel) SetLanguage(val string)
- func (s *VerifiedVoiceLanguageResponseModel) SetLocale(val OptNilString)
- func (s *VerifiedVoiceLanguageResponseModel) SetModelID(val string)
- func (s *VerifiedVoiceLanguageResponseModel) SetPreviewURL(val OptNilString)
- func (s *VerifiedVoiceLanguageResponseModel) UnmarshalJSON(data []byte) error
- type VerifyPVCVoiceCaptchaResponseModel
- func (s *VerifyPVCVoiceCaptchaResponseModel) Decode(d *jx.Decoder) error
- func (s *VerifyPVCVoiceCaptchaResponseModel) Encode(e *jx.Encoder)
- func (s *VerifyPVCVoiceCaptchaResponseModel) GetStatus() string
- func (s *VerifyPVCVoiceCaptchaResponseModel) MarshalJSON() ([]byte, error)
- func (s *VerifyPVCVoiceCaptchaResponseModel) SetStatus(val string)
- func (s *VerifyPVCVoiceCaptchaResponseModel) UnmarshalJSON(data []byte) error
- type VerifyPvcVoiceCaptchaParams
- type VerifyPvcVoiceCaptchaRes
- type VoiceDesignRequestModel
- func (s *VoiceDesignRequestModel) Decode(d *jx.Decoder) error
- func (s *VoiceDesignRequestModel) Encode(e *jx.Encoder)
- func (s *VoiceDesignRequestModel) GetAutoGenerateText() OptBool
- func (s *VoiceDesignRequestModel) GetGuidanceScale() OptFloat64
- func (s *VoiceDesignRequestModel) GetLoudness() OptFloat64
- func (s *VoiceDesignRequestModel) GetModelID() OptVoiceDesignRequestModelModelID
- func (s *VoiceDesignRequestModel) GetPromptStrength() OptNilFloat64
- func (s *VoiceDesignRequestModel) GetQuality() OptNilFloat64
- func (s *VoiceDesignRequestModel) GetReferenceAudioBase64() OptNilString
- func (s *VoiceDesignRequestModel) GetRemixingSessionID() OptNilString
- func (s *VoiceDesignRequestModel) GetRemixingSessionIterationID() OptNilString
- func (s *VoiceDesignRequestModel) GetSeed() OptNilInt
- func (s *VoiceDesignRequestModel) GetShouldEnhance() OptBool
- func (s *VoiceDesignRequestModel) GetStreamPreviews() OptBool
- func (s *VoiceDesignRequestModel) GetText() OptNilString
- func (s *VoiceDesignRequestModel) GetVoiceDescription() string
- func (s *VoiceDesignRequestModel) MarshalJSON() ([]byte, error)
- func (s *VoiceDesignRequestModel) SetAutoGenerateText(val OptBool)
- func (s *VoiceDesignRequestModel) SetGuidanceScale(val OptFloat64)
- func (s *VoiceDesignRequestModel) SetLoudness(val OptFloat64)
- func (s *VoiceDesignRequestModel) SetModelID(val OptVoiceDesignRequestModelModelID)
- func (s *VoiceDesignRequestModel) SetPromptStrength(val OptNilFloat64)
- func (s *VoiceDesignRequestModel) SetQuality(val OptNilFloat64)
- func (s *VoiceDesignRequestModel) SetReferenceAudioBase64(val OptNilString)
- func (s *VoiceDesignRequestModel) SetRemixingSessionID(val OptNilString)
- func (s *VoiceDesignRequestModel) SetRemixingSessionIterationID(val OptNilString)
- func (s *VoiceDesignRequestModel) SetSeed(val OptNilInt)
- func (s *VoiceDesignRequestModel) SetShouldEnhance(val OptBool)
- func (s *VoiceDesignRequestModel) SetStreamPreviews(val OptBool)
- func (s *VoiceDesignRequestModel) SetText(val OptNilString)
- func (s *VoiceDesignRequestModel) SetVoiceDescription(val string)
- func (s *VoiceDesignRequestModel) UnmarshalJSON(data []byte) error
- func (s *VoiceDesignRequestModel) Validate() error
- type VoiceDesignRequestModelModelID
- func (VoiceDesignRequestModelModelID) AllValues() []VoiceDesignRequestModelModelID
- func (s *VoiceDesignRequestModelModelID) Decode(d *jx.Decoder) error
- func (s VoiceDesignRequestModelModelID) Encode(e *jx.Encoder)
- func (s VoiceDesignRequestModelModelID) MarshalJSON() ([]byte, error)
- func (s VoiceDesignRequestModelModelID) MarshalText() ([]byte, error)
- func (s *VoiceDesignRequestModelModelID) UnmarshalJSON(data []byte) error
- func (s *VoiceDesignRequestModelModelID) UnmarshalText(data []byte) error
- func (s VoiceDesignRequestModelModelID) Validate() error
- type VoiceGenerationParameterOptionResponseModel
- func (s *VoiceGenerationParameterOptionResponseModel) Decode(d *jx.Decoder) error
- func (s *VoiceGenerationParameterOptionResponseModel) Encode(e *jx.Encoder)
- func (s *VoiceGenerationParameterOptionResponseModel) GetCode() string
- func (s *VoiceGenerationParameterOptionResponseModel) GetName() string
- func (s *VoiceGenerationParameterOptionResponseModel) MarshalJSON() ([]byte, error)
- func (s *VoiceGenerationParameterOptionResponseModel) SetCode(val string)
- func (s *VoiceGenerationParameterOptionResponseModel) SetName(val string)
- func (s *VoiceGenerationParameterOptionResponseModel) UnmarshalJSON(data []byte) error
- type VoiceGenerationParameterResponseModel
- func (s *VoiceGenerationParameterResponseModel) Decode(d *jx.Decoder) error
- func (s *VoiceGenerationParameterResponseModel) Encode(e *jx.Encoder)
- func (s *VoiceGenerationParameterResponseModel) GetAccents() []VoiceGenerationParameterOptionResponseModel
- func (s *VoiceGenerationParameterResponseModel) GetAges() []VoiceGenerationParameterOptionResponseModel
- func (s *VoiceGenerationParameterResponseModel) GetGenders() []VoiceGenerationParameterOptionResponseModel
- func (s *VoiceGenerationParameterResponseModel) GetMaximumAccentStrength() float64
- func (s *VoiceGenerationParameterResponseModel) GetMaximumCharacters() int
- func (s *VoiceGenerationParameterResponseModel) GetMinimumAccentStrength() float64
- func (s *VoiceGenerationParameterResponseModel) GetMinimumCharacters() int
- func (s *VoiceGenerationParameterResponseModel) MarshalJSON() ([]byte, error)
- func (s *VoiceGenerationParameterResponseModel) SetAccents(val []VoiceGenerationParameterOptionResponseModel)
- func (s *VoiceGenerationParameterResponseModel) SetAges(val []VoiceGenerationParameterOptionResponseModel)
- func (s *VoiceGenerationParameterResponseModel) SetGenders(val []VoiceGenerationParameterOptionResponseModel)
- func (s *VoiceGenerationParameterResponseModel) SetMaximumAccentStrength(val float64)
- func (s *VoiceGenerationParameterResponseModel) SetMaximumCharacters(val int)
- func (s *VoiceGenerationParameterResponseModel) SetMinimumAccentStrength(val float64)
- func (s *VoiceGenerationParameterResponseModel) SetMinimumCharacters(val int)
- func (s *VoiceGenerationParameterResponseModel) UnmarshalJSON(data []byte) error
- func (s *VoiceGenerationParameterResponseModel) Validate() error
- type VoiceMailDetectionResultSuccessModel
- func (s *VoiceMailDetectionResultSuccessModel) Decode(d *jx.Decoder) error
- func (s *VoiceMailDetectionResultSuccessModel) Encode(e *jx.Encoder)
- func (s *VoiceMailDetectionResultSuccessModel) GetReason() OptNilString
- func (s *VoiceMailDetectionResultSuccessModel) GetResultType() OptVoiceMailDetectionResultSuccessModelResultType
- func (s *VoiceMailDetectionResultSuccessModel) GetStatus() OptVoiceMailDetectionResultSuccessModelStatus
- func (s *VoiceMailDetectionResultSuccessModel) GetVoicemailMessage() OptNilString
- func (s *VoiceMailDetectionResultSuccessModel) MarshalJSON() ([]byte, error)
- func (s *VoiceMailDetectionResultSuccessModel) SetReason(val OptNilString)
- func (s *VoiceMailDetectionResultSuccessModel) SetResultType(val OptVoiceMailDetectionResultSuccessModelResultType)
- func (s *VoiceMailDetectionResultSuccessModel) SetStatus(val OptVoiceMailDetectionResultSuccessModelStatus)
- func (s *VoiceMailDetectionResultSuccessModel) SetVoicemailMessage(val OptNilString)
- func (s *VoiceMailDetectionResultSuccessModel) UnmarshalJSON(data []byte) error
- func (s *VoiceMailDetectionResultSuccessModel) Validate() error
- type VoiceMailDetectionResultSuccessModelResultType
- func (VoiceMailDetectionResultSuccessModelResultType) AllValues() []VoiceMailDetectionResultSuccessModelResultType
- func (s *VoiceMailDetectionResultSuccessModelResultType) Decode(d *jx.Decoder) error
- func (s VoiceMailDetectionResultSuccessModelResultType) Encode(e *jx.Encoder)
- func (s VoiceMailDetectionResultSuccessModelResultType) MarshalJSON() ([]byte, error)
- func (s VoiceMailDetectionResultSuccessModelResultType) MarshalText() ([]byte, error)
- func (s *VoiceMailDetectionResultSuccessModelResultType) UnmarshalJSON(data []byte) error
- func (s *VoiceMailDetectionResultSuccessModelResultType) UnmarshalText(data []byte) error
- func (s VoiceMailDetectionResultSuccessModelResultType) Validate() error
- type VoiceMailDetectionResultSuccessModelStatus
- func (VoiceMailDetectionResultSuccessModelStatus) AllValues() []VoiceMailDetectionResultSuccessModelStatus
- func (s *VoiceMailDetectionResultSuccessModelStatus) Decode(d *jx.Decoder) error
- func (s VoiceMailDetectionResultSuccessModelStatus) Encode(e *jx.Encoder)
- func (s VoiceMailDetectionResultSuccessModelStatus) MarshalJSON() ([]byte, error)
- func (s VoiceMailDetectionResultSuccessModelStatus) MarshalText() ([]byte, error)
- func (s *VoiceMailDetectionResultSuccessModelStatus) UnmarshalJSON(data []byte) error
- func (s *VoiceMailDetectionResultSuccessModelStatus) UnmarshalText(data []byte) error
- func (s VoiceMailDetectionResultSuccessModelStatus) Validate() error
- type VoicePreviewResponseModel
- func (s *VoicePreviewResponseModel) Decode(d *jx.Decoder) error
- func (s *VoicePreviewResponseModel) Encode(e *jx.Encoder)
- func (s *VoicePreviewResponseModel) GetAudioBase64() string
- func (s *VoicePreviewResponseModel) GetDurationSecs() float64
- func (s *VoicePreviewResponseModel) GetGeneratedVoiceID() string
- func (s *VoicePreviewResponseModel) GetLanguage() NilString
- func (s *VoicePreviewResponseModel) GetMediaType() string
- func (s *VoicePreviewResponseModel) MarshalJSON() ([]byte, error)
- func (s *VoicePreviewResponseModel) SetAudioBase64(val string)
- func (s *VoicePreviewResponseModel) SetDurationSecs(val float64)
- func (s *VoicePreviewResponseModel) SetGeneratedVoiceID(val string)
- func (s *VoicePreviewResponseModel) SetLanguage(val NilString)
- func (s *VoicePreviewResponseModel) SetMediaType(val string)
- func (s *VoicePreviewResponseModel) UnmarshalJSON(data []byte) error
- func (s *VoicePreviewResponseModel) Validate() error
- type VoicePreviewsRequestModel
- func (s *VoicePreviewsRequestModel) Decode(d *jx.Decoder) error
- func (s *VoicePreviewsRequestModel) Encode(e *jx.Encoder)
- func (s *VoicePreviewsRequestModel) GetAutoGenerateText() OptBool
- func (s *VoicePreviewsRequestModel) GetGuidanceScale() OptFloat64
- func (s *VoicePreviewsRequestModel) GetLoudness() OptFloat64
- func (s *VoicePreviewsRequestModel) GetQuality() OptFloat64
- func (s *VoicePreviewsRequestModel) GetSeed() OptNilInt
- func (s *VoicePreviewsRequestModel) GetShouldEnhance() OptBool
- func (s *VoicePreviewsRequestModel) GetText() OptNilString
- func (s *VoicePreviewsRequestModel) GetVoiceDescription() string
- func (s *VoicePreviewsRequestModel) MarshalJSON() ([]byte, error)
- func (s *VoicePreviewsRequestModel) SetAutoGenerateText(val OptBool)
- func (s *VoicePreviewsRequestModel) SetGuidanceScale(val OptFloat64)
- func (s *VoicePreviewsRequestModel) SetLoudness(val OptFloat64)
- func (s *VoicePreviewsRequestModel) SetQuality(val OptFloat64)
- func (s *VoicePreviewsRequestModel) SetSeed(val OptNilInt)
- func (s *VoicePreviewsRequestModel) SetShouldEnhance(val OptBool)
- func (s *VoicePreviewsRequestModel) SetText(val OptNilString)
- func (s *VoicePreviewsRequestModel) SetVoiceDescription(val string)
- func (s *VoicePreviewsRequestModel) UnmarshalJSON(data []byte) error
- func (s *VoicePreviewsRequestModel) Validate() error
- type VoicePreviewsResponseModel
- func (s *VoicePreviewsResponseModel) Decode(d *jx.Decoder) error
- func (s *VoicePreviewsResponseModel) Encode(e *jx.Encoder)
- func (s *VoicePreviewsResponseModel) GetPreviews() []VoicePreviewResponseModel
- func (s *VoicePreviewsResponseModel) GetText() string
- func (s *VoicePreviewsResponseModel) MarshalJSON() ([]byte, error)
- func (s *VoicePreviewsResponseModel) SetPreviews(val []VoicePreviewResponseModel)
- func (s *VoicePreviewsResponseModel) SetText(val string)
- func (s *VoicePreviewsResponseModel) UnmarshalJSON(data []byte) error
- func (s *VoicePreviewsResponseModel) Validate() error
- type VoiceRemixRequestModel
- func (s *VoiceRemixRequestModel) Decode(d *jx.Decoder) error
- func (s *VoiceRemixRequestModel) Encode(e *jx.Encoder)
- func (s *VoiceRemixRequestModel) GetAutoGenerateText() OptBool
- func (s *VoiceRemixRequestModel) GetGuidanceScale() OptFloat64
- func (s *VoiceRemixRequestModel) GetLoudness() OptFloat64
- func (s *VoiceRemixRequestModel) GetPromptStrength() OptNilFloat64
- func (s *VoiceRemixRequestModel) GetRemixingSessionID() OptNilString
- func (s *VoiceRemixRequestModel) GetRemixingSessionIterationID() OptNilString
- func (s *VoiceRemixRequestModel) GetSeed() OptNilInt
- func (s *VoiceRemixRequestModel) GetStreamPreviews() OptBool
- func (s *VoiceRemixRequestModel) GetText() OptNilString
- func (s *VoiceRemixRequestModel) GetVoiceDescription() string
- func (s *VoiceRemixRequestModel) MarshalJSON() ([]byte, error)
- func (s *VoiceRemixRequestModel) SetAutoGenerateText(val OptBool)
- func (s *VoiceRemixRequestModel) SetGuidanceScale(val OptFloat64)
- func (s *VoiceRemixRequestModel) SetLoudness(val OptFloat64)
- func (s *VoiceRemixRequestModel) SetPromptStrength(val OptNilFloat64)
- func (s *VoiceRemixRequestModel) SetRemixingSessionID(val OptNilString)
- func (s *VoiceRemixRequestModel) SetRemixingSessionIterationID(val OptNilString)
- func (s *VoiceRemixRequestModel) SetSeed(val OptNilInt)
- func (s *VoiceRemixRequestModel) SetStreamPreviews(val OptBool)
- func (s *VoiceRemixRequestModel) SetText(val OptNilString)
- func (s *VoiceRemixRequestModel) SetVoiceDescription(val string)
- func (s *VoiceRemixRequestModel) UnmarshalJSON(data []byte) error
- func (s *VoiceRemixRequestModel) Validate() error
- type VoiceResponseModel
- func (s *VoiceResponseModel) Decode(d *jx.Decoder) error
- func (s *VoiceResponseModel) Encode(e *jx.Encoder)
- func (s *VoiceResponseModel) GetAvailableForTiers() []string
- func (s *VoiceResponseModel) GetCategory() VoiceResponseModelCategory
- func (s *VoiceResponseModel) GetCreatedAtUnix() OptNilInt
- func (s *VoiceResponseModel) GetDescription() OptNilString
- func (s *VoiceResponseModel) GetFavoritedAtUnix() OptNilInt
- func (s *VoiceResponseModel) GetFineTuning() OptFineTuningResponseModel
- func (s *VoiceResponseModel) GetHighQualityBaseModelIds() []string
- func (s *VoiceResponseModel) GetIsLegacy() OptBool
- func (s *VoiceResponseModel) GetIsMixed() OptBool
- func (s *VoiceResponseModel) GetIsOwner() OptNilBool
- func (s *VoiceResponseModel) GetLabels() VoiceResponseModelLabels
- func (s *VoiceResponseModel) GetName() string
- func (s *VoiceResponseModel) GetPermissionOnResource() OptNilString
- func (s *VoiceResponseModel) GetPreviewURL() OptNilString
- func (s *VoiceResponseModel) GetSafetyControl() OptNilVoiceResponseModelSafetyControl
- func (s *VoiceResponseModel) GetSamples() OptNilSampleResponseModelArray
- func (s *VoiceResponseModel) GetSettings() OptVoiceSettingsResponseModel
- func (s *VoiceResponseModel) GetSharing() OptVoiceSharingResponseModel
- func (s *VoiceResponseModel) GetVerifiedLanguages() OptNilVerifiedVoiceLanguageResponseModelArray
- func (s *VoiceResponseModel) GetVoiceID() string
- func (s *VoiceResponseModel) GetVoiceVerification() OptVoiceVerificationResponseModel
- func (s *VoiceResponseModel) MarshalJSON() ([]byte, error)
- func (s *VoiceResponseModel) SetAvailableForTiers(val []string)
- func (s *VoiceResponseModel) SetCategory(val VoiceResponseModelCategory)
- func (s *VoiceResponseModel) SetCreatedAtUnix(val OptNilInt)
- func (s *VoiceResponseModel) SetDescription(val OptNilString)
- func (s *VoiceResponseModel) SetFavoritedAtUnix(val OptNilInt)
- func (s *VoiceResponseModel) SetFineTuning(val OptFineTuningResponseModel)
- func (s *VoiceResponseModel) SetHighQualityBaseModelIds(val []string)
- func (s *VoiceResponseModel) SetIsLegacy(val OptBool)
- func (s *VoiceResponseModel) SetIsMixed(val OptBool)
- func (s *VoiceResponseModel) SetIsOwner(val OptNilBool)
- func (s *VoiceResponseModel) SetLabels(val VoiceResponseModelLabels)
- func (s *VoiceResponseModel) SetName(val string)
- func (s *VoiceResponseModel) SetPermissionOnResource(val OptNilString)
- func (s *VoiceResponseModel) SetPreviewURL(val OptNilString)
- func (s *VoiceResponseModel) SetSafetyControl(val OptNilVoiceResponseModelSafetyControl)
- func (s *VoiceResponseModel) SetSamples(val OptNilSampleResponseModelArray)
- func (s *VoiceResponseModel) SetSettings(val OptVoiceSettingsResponseModel)
- func (s *VoiceResponseModel) SetSharing(val OptVoiceSharingResponseModel)
- func (s *VoiceResponseModel) SetVerifiedLanguages(val OptNilVerifiedVoiceLanguageResponseModelArray)
- func (s *VoiceResponseModel) SetVoiceID(val string)
- func (s *VoiceResponseModel) SetVoiceVerification(val OptVoiceVerificationResponseModel)
- func (s *VoiceResponseModel) UnmarshalJSON(data []byte) error
- func (s *VoiceResponseModel) Validate() error
- type VoiceResponseModelCategory
- func (VoiceResponseModelCategory) AllValues() []VoiceResponseModelCategory
- func (s *VoiceResponseModelCategory) Decode(d *jx.Decoder) error
- func (s VoiceResponseModelCategory) Encode(e *jx.Encoder)
- func (s VoiceResponseModelCategory) MarshalJSON() ([]byte, error)
- func (s VoiceResponseModelCategory) MarshalText() ([]byte, error)
- func (s *VoiceResponseModelCategory) UnmarshalJSON(data []byte) error
- func (s *VoiceResponseModelCategory) UnmarshalText(data []byte) error
- func (s VoiceResponseModelCategory) Validate() error
- type VoiceResponseModelLabels
- type VoiceResponseModelSafetyControl
- func (VoiceResponseModelSafetyControl) AllValues() []VoiceResponseModelSafetyControl
- func (s *VoiceResponseModelSafetyControl) Decode(d *jx.Decoder) error
- func (s VoiceResponseModelSafetyControl) Encode(e *jx.Encoder)
- func (s VoiceResponseModelSafetyControl) MarshalJSON() ([]byte, error)
- func (s VoiceResponseModelSafetyControl) MarshalText() ([]byte, error)
- func (s *VoiceResponseModelSafetyControl) UnmarshalJSON(data []byte) error
- func (s *VoiceResponseModelSafetyControl) UnmarshalText(data []byte) error
- func (s VoiceResponseModelSafetyControl) Validate() error
- type VoiceSamplePreviewResponseModel
- func (s *VoiceSamplePreviewResponseModel) Decode(d *jx.Decoder) error
- func (s *VoiceSamplePreviewResponseModel) Encode(e *jx.Encoder)
- func (s *VoiceSamplePreviewResponseModel) GetAudioBase64() string
- func (s *VoiceSamplePreviewResponseModel) GetDurationSecs() OptNilFloat64
- func (s *VoiceSamplePreviewResponseModel) GetMediaType() string
- func (s *VoiceSamplePreviewResponseModel) GetSampleID() string
- func (s *VoiceSamplePreviewResponseModel) GetVoiceID() string
- func (s *VoiceSamplePreviewResponseModel) MarshalJSON() ([]byte, error)
- func (s *VoiceSamplePreviewResponseModel) SetAudioBase64(val string)
- func (s *VoiceSamplePreviewResponseModel) SetDurationSecs(val OptNilFloat64)
- func (s *VoiceSamplePreviewResponseModel) SetMediaType(val string)
- func (s *VoiceSamplePreviewResponseModel) SetSampleID(val string)
- func (s *VoiceSamplePreviewResponseModel) SetVoiceID(val string)
- func (s *VoiceSamplePreviewResponseModel) UnmarshalJSON(data []byte) error
- func (s *VoiceSamplePreviewResponseModel) Validate() error
- type VoiceSampleVisualWaveformResponseModel
- func (s *VoiceSampleVisualWaveformResponseModel) Decode(d *jx.Decoder) error
- func (s *VoiceSampleVisualWaveformResponseModel) Encode(e *jx.Encoder)
- func (s *VoiceSampleVisualWaveformResponseModel) GetSampleID() string
- func (s *VoiceSampleVisualWaveformResponseModel) GetVisualWaveform() []float64
- func (s *VoiceSampleVisualWaveformResponseModel) MarshalJSON() ([]byte, error)
- func (s *VoiceSampleVisualWaveformResponseModel) SetSampleID(val string)
- func (s *VoiceSampleVisualWaveformResponseModel) SetVisualWaveform(val []float64)
- func (s *VoiceSampleVisualWaveformResponseModel) UnmarshalJSON(data []byte) error
- func (s *VoiceSampleVisualWaveformResponseModel) Validate() error
- type VoiceSegment
- func (s *VoiceSegment) Decode(d *jx.Decoder) error
- func (s *VoiceSegment) Encode(e *jx.Encoder)
- func (s *VoiceSegment) GetCharacterEndIndex() int
- func (s *VoiceSegment) GetCharacterStartIndex() int
- func (s *VoiceSegment) GetDialogueInputIndex() int
- func (s *VoiceSegment) GetEndTimeSeconds() float64
- func (s *VoiceSegment) GetStartTimeSeconds() float64
- func (s *VoiceSegment) GetVoiceID() string
- func (s *VoiceSegment) MarshalJSON() ([]byte, error)
- func (s *VoiceSegment) SetCharacterEndIndex(val int)
- func (s *VoiceSegment) SetCharacterStartIndex(val int)
- func (s *VoiceSegment) SetDialogueInputIndex(val int)
- func (s *VoiceSegment) SetEndTimeSeconds(val float64)
- func (s *VoiceSegment) SetStartTimeSeconds(val float64)
- func (s *VoiceSegment) SetVoiceID(val string)
- func (s *VoiceSegment) UnmarshalJSON(data []byte) error
- func (s *VoiceSegment) Validate() error
- type VoiceSettingsResponseModel
- func (s *VoiceSettingsResponseModel) Decode(d *jx.Decoder) error
- func (s *VoiceSettingsResponseModel) Encode(e *jx.Encoder)
- func (s *VoiceSettingsResponseModel) GetSimilarityBoost() OptNilFloat64
- func (s *VoiceSettingsResponseModel) GetSpeed() OptNilFloat64
- func (s *VoiceSettingsResponseModel) GetStability() OptNilFloat64
- func (s *VoiceSettingsResponseModel) GetStyle() OptNilFloat64
- func (s *VoiceSettingsResponseModel) GetUseSpeakerBoost() OptNilBool
- func (s *VoiceSettingsResponseModel) MarshalJSON() ([]byte, error)
- func (s *VoiceSettingsResponseModel) SetSimilarityBoost(val OptNilFloat64)
- func (s *VoiceSettingsResponseModel) SetSpeed(val OptNilFloat64)
- func (s *VoiceSettingsResponseModel) SetStability(val OptNilFloat64)
- func (s *VoiceSettingsResponseModel) SetStyle(val OptNilFloat64)
- func (s *VoiceSettingsResponseModel) SetUseSpeakerBoost(val OptNilBool)
- func (s *VoiceSettingsResponseModel) UnmarshalJSON(data []byte) error
- func (s *VoiceSettingsResponseModel) Validate() error
- type VoiceSharingModerationCheckResponseModel
- func (s *VoiceSharingModerationCheckResponseModel) Decode(d *jx.Decoder) error
- func (s *VoiceSharingModerationCheckResponseModel) Encode(e *jx.Encoder)
- func (s *VoiceSharingModerationCheckResponseModel) GetCaptchaChecks() OptNilFloat64Array
- func (s *VoiceSharingModerationCheckResponseModel) GetCaptchaIds() OptNilStringArray
- func (s *VoiceSharingModerationCheckResponseModel) GetDateCheckedUnix() OptNilInt
- func (s *VoiceSharingModerationCheckResponseModel) GetDescriptionCheck() OptNilBool
- func (s *VoiceSharingModerationCheckResponseModel) GetDescriptionValue() OptNilString
- func (s *VoiceSharingModerationCheckResponseModel) GetNameCheck() OptNilBool
- func (s *VoiceSharingModerationCheckResponseModel) GetNameValue() OptNilString
- func (s *VoiceSharingModerationCheckResponseModel) GetSampleChecks() OptNilFloat64Array
- func (s *VoiceSharingModerationCheckResponseModel) GetSampleIds() OptNilStringArray
- func (s *VoiceSharingModerationCheckResponseModel) MarshalJSON() ([]byte, error)
- func (s *VoiceSharingModerationCheckResponseModel) SetCaptchaChecks(val OptNilFloat64Array)
- func (s *VoiceSharingModerationCheckResponseModel) SetCaptchaIds(val OptNilStringArray)
- func (s *VoiceSharingModerationCheckResponseModel) SetDateCheckedUnix(val OptNilInt)
- func (s *VoiceSharingModerationCheckResponseModel) SetDescriptionCheck(val OptNilBool)
- func (s *VoiceSharingModerationCheckResponseModel) SetDescriptionValue(val OptNilString)
- func (s *VoiceSharingModerationCheckResponseModel) SetNameCheck(val OptNilBool)
- func (s *VoiceSharingModerationCheckResponseModel) SetNameValue(val OptNilString)
- func (s *VoiceSharingModerationCheckResponseModel) SetSampleChecks(val OptNilFloat64Array)
- func (s *VoiceSharingModerationCheckResponseModel) SetSampleIds(val OptNilStringArray)
- func (s *VoiceSharingModerationCheckResponseModel) UnmarshalJSON(data []byte) error
- func (s *VoiceSharingModerationCheckResponseModel) Validate() error
- type VoiceSharingResponseModel
- func (s *VoiceSharingResponseModel) Decode(d *jx.Decoder) error
- func (s *VoiceSharingResponseModel) Encode(e *jx.Encoder)
- func (s *VoiceSharingResponseModel) GetBanReason() OptNilString
- func (s *VoiceSharingResponseModel) GetCategory() VoiceSharingResponseModelCategory
- func (s *VoiceSharingResponseModel) GetClonedByCount() int
- func (s *VoiceSharingResponseModel) GetDateUnix() int
- func (s *VoiceSharingResponseModel) GetDescription() OptNilString
- func (s *VoiceSharingResponseModel) GetDisableAtUnix() OptNilInt
- func (s *VoiceSharingResponseModel) GetEnabledInLibrary() bool
- func (s *VoiceSharingResponseModel) GetFeatured() bool
- func (s *VoiceSharingResponseModel) GetFiatRate() OptNilFloat64
- func (s *VoiceSharingResponseModel) GetFinancialRewardsEnabled() bool
- func (s *VoiceSharingResponseModel) GetFreeUsersAllowed() bool
- func (s *VoiceSharingResponseModel) GetHistoryItemSampleID() OptNilString
- func (s *VoiceSharingResponseModel) GetImageURL() OptNilString
- func (s *VoiceSharingResponseModel) GetInstagramUsername() OptNilString
- func (s *VoiceSharingResponseModel) GetLabels() VoiceSharingResponseModelLabels
- func (s *VoiceSharingResponseModel) GetLikedByCount() int
- func (s *VoiceSharingResponseModel) GetLiveModerationEnabled() bool
- func (s *VoiceSharingResponseModel) GetModerationCheck() OptVoiceSharingModerationCheckResponseModel
- func (s *VoiceSharingResponseModel) GetName() string
- func (s *VoiceSharingResponseModel) GetNoticePeriod() int
- func (s *VoiceSharingResponseModel) GetOriginalVoiceID() string
- func (s *VoiceSharingResponseModel) GetPublicOwnerID() string
- func (s *VoiceSharingResponseModel) GetRate() OptNilFloat64
- func (s *VoiceSharingResponseModel) GetReaderAppEnabled() OptNilBool
- func (s *VoiceSharingResponseModel) GetReaderRestrictedOn() OptNilReaderResourceResponseModelArray
- func (s *VoiceSharingResponseModel) GetReviewMessage() OptNilString
- func (s *VoiceSharingResponseModel) GetReviewStatus() VoiceSharingResponseModelReviewStatus
- func (s *VoiceSharingResponseModel) GetStatus() VoiceSharingResponseModelStatus
- func (s *VoiceSharingResponseModel) GetTiktokUsername() OptNilString
- func (s *VoiceSharingResponseModel) GetTwitterUsername() OptNilString
- func (s *VoiceSharingResponseModel) GetVoiceMixingAllowed() bool
- func (s *VoiceSharingResponseModel) GetWhitelistedEmails() []string
- func (s *VoiceSharingResponseModel) GetYoutubeUsername() OptNilString
- func (s *VoiceSharingResponseModel) MarshalJSON() ([]byte, error)
- func (s *VoiceSharingResponseModel) SetBanReason(val OptNilString)
- func (s *VoiceSharingResponseModel) SetCategory(val VoiceSharingResponseModelCategory)
- func (s *VoiceSharingResponseModel) SetClonedByCount(val int)
- func (s *VoiceSharingResponseModel) SetDateUnix(val int)
- func (s *VoiceSharingResponseModel) SetDescription(val OptNilString)
- func (s *VoiceSharingResponseModel) SetDisableAtUnix(val OptNilInt)
- func (s *VoiceSharingResponseModel) SetEnabledInLibrary(val bool)
- func (s *VoiceSharingResponseModel) SetFeatured(val bool)
- func (s *VoiceSharingResponseModel) SetFiatRate(val OptNilFloat64)
- func (s *VoiceSharingResponseModel) SetFinancialRewardsEnabled(val bool)
- func (s *VoiceSharingResponseModel) SetFreeUsersAllowed(val bool)
- func (s *VoiceSharingResponseModel) SetHistoryItemSampleID(val OptNilString)
- func (s *VoiceSharingResponseModel) SetImageURL(val OptNilString)
- func (s *VoiceSharingResponseModel) SetInstagramUsername(val OptNilString)
- func (s *VoiceSharingResponseModel) SetLabels(val VoiceSharingResponseModelLabels)
- func (s *VoiceSharingResponseModel) SetLikedByCount(val int)
- func (s *VoiceSharingResponseModel) SetLiveModerationEnabled(val bool)
- func (s *VoiceSharingResponseModel) SetModerationCheck(val OptVoiceSharingModerationCheckResponseModel)
- func (s *VoiceSharingResponseModel) SetName(val string)
- func (s *VoiceSharingResponseModel) SetNoticePeriod(val int)
- func (s *VoiceSharingResponseModel) SetOriginalVoiceID(val string)
- func (s *VoiceSharingResponseModel) SetPublicOwnerID(val string)
- func (s *VoiceSharingResponseModel) SetRate(val OptNilFloat64)
- func (s *VoiceSharingResponseModel) SetReaderAppEnabled(val OptNilBool)
- func (s *VoiceSharingResponseModel) SetReaderRestrictedOn(val OptNilReaderResourceResponseModelArray)
- func (s *VoiceSharingResponseModel) SetReviewMessage(val OptNilString)
- func (s *VoiceSharingResponseModel) SetReviewStatus(val VoiceSharingResponseModelReviewStatus)
- func (s *VoiceSharingResponseModel) SetStatus(val VoiceSharingResponseModelStatus)
- func (s *VoiceSharingResponseModel) SetTiktokUsername(val OptNilString)
- func (s *VoiceSharingResponseModel) SetTwitterUsername(val OptNilString)
- func (s *VoiceSharingResponseModel) SetVoiceMixingAllowed(val bool)
- func (s *VoiceSharingResponseModel) SetWhitelistedEmails(val []string)
- func (s *VoiceSharingResponseModel) SetYoutubeUsername(val OptNilString)
- func (s *VoiceSharingResponseModel) UnmarshalJSON(data []byte) error
- func (s *VoiceSharingResponseModel) Validate() error
- type VoiceSharingResponseModelCategory
- func (VoiceSharingResponseModelCategory) AllValues() []VoiceSharingResponseModelCategory
- func (s *VoiceSharingResponseModelCategory) Decode(d *jx.Decoder) error
- func (s VoiceSharingResponseModelCategory) Encode(e *jx.Encoder)
- func (s VoiceSharingResponseModelCategory) MarshalJSON() ([]byte, error)
- func (s VoiceSharingResponseModelCategory) MarshalText() ([]byte, error)
- func (s *VoiceSharingResponseModelCategory) UnmarshalJSON(data []byte) error
- func (s *VoiceSharingResponseModelCategory) UnmarshalText(data []byte) error
- func (s VoiceSharingResponseModelCategory) Validate() error
- type VoiceSharingResponseModelLabels
- type VoiceSharingResponseModelReviewStatus
- func (VoiceSharingResponseModelReviewStatus) AllValues() []VoiceSharingResponseModelReviewStatus
- func (s *VoiceSharingResponseModelReviewStatus) Decode(d *jx.Decoder) error
- func (s VoiceSharingResponseModelReviewStatus) Encode(e *jx.Encoder)
- func (s VoiceSharingResponseModelReviewStatus) MarshalJSON() ([]byte, error)
- func (s VoiceSharingResponseModelReviewStatus) MarshalText() ([]byte, error)
- func (s *VoiceSharingResponseModelReviewStatus) UnmarshalJSON(data []byte) error
- func (s *VoiceSharingResponseModelReviewStatus) UnmarshalText(data []byte) error
- func (s VoiceSharingResponseModelReviewStatus) Validate() error
- type VoiceSharingResponseModelStatus
- func (VoiceSharingResponseModelStatus) AllValues() []VoiceSharingResponseModelStatus
- func (s *VoiceSharingResponseModelStatus) Decode(d *jx.Decoder) error
- func (s VoiceSharingResponseModelStatus) Encode(e *jx.Encoder)
- func (s VoiceSharingResponseModelStatus) MarshalJSON() ([]byte, error)
- func (s VoiceSharingResponseModelStatus) MarshalText() ([]byte, error)
- func (s *VoiceSharingResponseModelStatus) UnmarshalJSON(data []byte) error
- func (s *VoiceSharingResponseModelStatus) UnmarshalText(data []byte) error
- func (s VoiceSharingResponseModelStatus) Validate() error
- type VoiceVerificationResponseModel
- func (s *VoiceVerificationResponseModel) Decode(d *jx.Decoder) error
- func (s *VoiceVerificationResponseModel) Encode(e *jx.Encoder)
- func (s *VoiceVerificationResponseModel) GetIsVerified() bool
- func (s *VoiceVerificationResponseModel) GetLanguage() OptNilString
- func (s *VoiceVerificationResponseModel) GetRequiresVerification() bool
- func (s *VoiceVerificationResponseModel) GetVerificationAttempts() OptNilVerificationAttemptResponseModelArray
- func (s *VoiceVerificationResponseModel) GetVerificationAttemptsCount() int
- func (s *VoiceVerificationResponseModel) GetVerificationFailures() []string
- func (s *VoiceVerificationResponseModel) MarshalJSON() ([]byte, error)
- func (s *VoiceVerificationResponseModel) SetIsVerified(val bool)
- func (s *VoiceVerificationResponseModel) SetLanguage(val OptNilString)
- func (s *VoiceVerificationResponseModel) SetRequiresVerification(val bool)
- func (s *VoiceVerificationResponseModel) SetVerificationAttempts(val OptNilVerificationAttemptResponseModelArray)
- func (s *VoiceVerificationResponseModel) SetVerificationAttemptsCount(val int)
- func (s *VoiceVerificationResponseModel) SetVerificationFailures(val []string)
- func (s *VoiceVerificationResponseModel) UnmarshalJSON(data []byte) error
- func (s *VoiceVerificationResponseModel) Validate() error
- type WebhookAuthMethodType
- func (WebhookAuthMethodType) AllValues() []WebhookAuthMethodType
- func (s *WebhookAuthMethodType) Decode(d *jx.Decoder) error
- func (s WebhookAuthMethodType) Encode(e *jx.Encoder)
- func (s WebhookAuthMethodType) MarshalJSON() ([]byte, error)
- func (s WebhookAuthMethodType) MarshalText() ([]byte, error)
- func (s *WebhookAuthMethodType) UnmarshalJSON(data []byte) error
- func (s *WebhookAuthMethodType) UnmarshalText(data []byte) error
- func (s WebhookAuthMethodType) Validate() error
- type WebhookEventType
- func (WebhookEventType) AllValues() []WebhookEventType
- func (s *WebhookEventType) Decode(d *jx.Decoder) error
- func (s WebhookEventType) Encode(e *jx.Encoder)
- func (s WebhookEventType) MarshalJSON() ([]byte, error)
- func (s WebhookEventType) MarshalText() ([]byte, error)
- func (s *WebhookEventType) UnmarshalJSON(data []byte) error
- func (s *WebhookEventType) UnmarshalText(data []byte) error
- func (s WebhookEventType) Validate() error
- type WebhookHMACSettings
- func (s *WebhookHMACSettings) Decode(d *jx.Decoder) error
- func (s *WebhookHMACSettings) Encode(e *jx.Encoder)
- func (s *WebhookHMACSettings) GetAuthType() WebhookHMACSettingsAuthType
- func (s *WebhookHMACSettings) GetName() string
- func (s *WebhookHMACSettings) GetWebhookURL() string
- func (s *WebhookHMACSettings) MarshalJSON() ([]byte, error)
- func (s *WebhookHMACSettings) SetAuthType(val WebhookHMACSettingsAuthType)
- func (s *WebhookHMACSettings) SetName(val string)
- func (s *WebhookHMACSettings) SetWebhookURL(val string)
- func (s *WebhookHMACSettings) UnmarshalJSON(data []byte) error
- func (s *WebhookHMACSettings) Validate() error
- type WebhookHMACSettingsAuthType
- func (WebhookHMACSettingsAuthType) AllValues() []WebhookHMACSettingsAuthType
- func (s *WebhookHMACSettingsAuthType) Decode(d *jx.Decoder) error
- func (s WebhookHMACSettingsAuthType) Encode(e *jx.Encoder)
- func (s WebhookHMACSettingsAuthType) MarshalJSON() ([]byte, error)
- func (s WebhookHMACSettingsAuthType) MarshalText() ([]byte, error)
- func (s *WebhookHMACSettingsAuthType) UnmarshalJSON(data []byte) error
- func (s *WebhookHMACSettingsAuthType) UnmarshalText(data []byte) error
- func (s WebhookHMACSettingsAuthType) Validate() error
- type WebhookUsageType
- func (WebhookUsageType) AllValues() []WebhookUsageType
- func (s *WebhookUsageType) Decode(d *jx.Decoder) error
- func (s WebhookUsageType) Encode(e *jx.Encoder)
- func (s WebhookUsageType) MarshalJSON() ([]byte, error)
- func (s WebhookUsageType) MarshalText() ([]byte, error)
- func (s *WebhookUsageType) UnmarshalJSON(data []byte) error
- func (s *WebhookUsageType) UnmarshalText(data []byte) error
- func (s WebhookUsageType) Validate() error
- type WhatsAppConversationInfo
- func (s *WhatsAppConversationInfo) Decode(d *jx.Decoder) error
- func (s *WhatsAppConversationInfo) Encode(e *jx.Encoder)
- func (s *WhatsAppConversationInfo) GetDirection() OptWhatsAppConversationInfoDirection
- func (s *WhatsAppConversationInfo) GetWhatsappPhoneNumberID() OptNilString
- func (s *WhatsAppConversationInfo) GetWhatsappUserID() string
- func (s *WhatsAppConversationInfo) MarshalJSON() ([]byte, error)
- func (s *WhatsAppConversationInfo) SetDirection(val OptWhatsAppConversationInfoDirection)
- func (s *WhatsAppConversationInfo) SetWhatsappPhoneNumberID(val OptNilString)
- func (s *WhatsAppConversationInfo) SetWhatsappUserID(val string)
- func (s *WhatsAppConversationInfo) UnmarshalJSON(data []byte) error
- func (s *WhatsAppConversationInfo) Validate() error
- type WhatsAppConversationInfoDirection
- func (WhatsAppConversationInfoDirection) AllValues() []WhatsAppConversationInfoDirection
- func (s *WhatsAppConversationInfoDirection) Decode(d *jx.Decoder) error
- func (s WhatsAppConversationInfoDirection) Encode(e *jx.Encoder)
- func (s WhatsAppConversationInfoDirection) MarshalJSON() ([]byte, error)
- func (s WhatsAppConversationInfoDirection) MarshalText() ([]byte, error)
- func (s *WhatsAppConversationInfoDirection) UnmarshalJSON(data []byte) error
- func (s *WhatsAppConversationInfoDirection) UnmarshalText(data []byte) error
- func (s WhatsAppConversationInfoDirection) Validate() error
- type WhatsAppOutboundCallResponse
- func (s *WhatsAppOutboundCallResponse) Decode(d *jx.Decoder) error
- func (s *WhatsAppOutboundCallResponse) Encode(e *jx.Encoder)
- func (s *WhatsAppOutboundCallResponse) GetConversationID() NilString
- func (s *WhatsAppOutboundCallResponse) GetMessage() string
- func (s *WhatsAppOutboundCallResponse) GetSuccess() bool
- func (s *WhatsAppOutboundCallResponse) MarshalJSON() ([]byte, error)
- func (s *WhatsAppOutboundCallResponse) SetConversationID(val NilString)
- func (s *WhatsAppOutboundCallResponse) SetMessage(val string)
- func (s *WhatsAppOutboundCallResponse) SetSuccess(val bool)
- func (s *WhatsAppOutboundCallResponse) UnmarshalJSON(data []byte) error
- type WhatsappOutboundCallParams
- type WhatsappOutboundCallRes
- type WorkflowFeaturesUsageCommonModel
- func (s *WorkflowFeaturesUsageCommonModel) Decode(d *jx.Decoder) error
- func (s *WorkflowFeaturesUsageCommonModel) Encode(e *jx.Encoder)
- func (s *WorkflowFeaturesUsageCommonModel) GetEnabled() OptBool
- func (s *WorkflowFeaturesUsageCommonModel) GetEndNode() OptFeatureStatusCommonModel
- func (s *WorkflowFeaturesUsageCommonModel) GetPhoneNumberNode() OptFeatureStatusCommonModel
- func (s *WorkflowFeaturesUsageCommonModel) GetStandaloneAgentNode() OptFeatureStatusCommonModel
- func (s *WorkflowFeaturesUsageCommonModel) GetToolNode() OptFeatureStatusCommonModel
- func (s *WorkflowFeaturesUsageCommonModel) MarshalJSON() ([]byte, error)
- func (s *WorkflowFeaturesUsageCommonModel) SetEnabled(val OptBool)
- func (s *WorkflowFeaturesUsageCommonModel) SetEndNode(val OptFeatureStatusCommonModel)
- func (s *WorkflowFeaturesUsageCommonModel) SetPhoneNumberNode(val OptFeatureStatusCommonModel)
- func (s *WorkflowFeaturesUsageCommonModel) SetStandaloneAgentNode(val OptFeatureStatusCommonModel)
- func (s *WorkflowFeaturesUsageCommonModel) SetToolNode(val OptFeatureStatusCommonModel)
- func (s *WorkflowFeaturesUsageCommonModel) UnmarshalJSON(data []byte) error
- type WorkflowToolEdgeStepModel
- func (s *WorkflowToolEdgeStepModel) Decode(d *jx.Decoder) error
- func (s *WorkflowToolEdgeStepModel) Encode(e *jx.Encoder)
- func (s *WorkflowToolEdgeStepModel) GetEdgeID() string
- func (s *WorkflowToolEdgeStepModel) GetStepLatencySecs() float64
- func (s *WorkflowToolEdgeStepModel) GetTargetNodeID() string
- func (s *WorkflowToolEdgeStepModel) GetType() OptWorkflowToolEdgeStepModelType
- func (s *WorkflowToolEdgeStepModel) MarshalJSON() ([]byte, error)
- func (s *WorkflowToolEdgeStepModel) SetEdgeID(val string)
- func (s *WorkflowToolEdgeStepModel) SetStepLatencySecs(val float64)
- func (s *WorkflowToolEdgeStepModel) SetTargetNodeID(val string)
- func (s *WorkflowToolEdgeStepModel) SetType(val OptWorkflowToolEdgeStepModelType)
- func (s *WorkflowToolEdgeStepModel) UnmarshalJSON(data []byte) error
- func (s *WorkflowToolEdgeStepModel) Validate() error
- type WorkflowToolEdgeStepModelType
- func (WorkflowToolEdgeStepModelType) AllValues() []WorkflowToolEdgeStepModelType
- func (s *WorkflowToolEdgeStepModelType) Decode(d *jx.Decoder) error
- func (s WorkflowToolEdgeStepModelType) Encode(e *jx.Encoder)
- func (s WorkflowToolEdgeStepModelType) MarshalJSON() ([]byte, error)
- func (s WorkflowToolEdgeStepModelType) MarshalText() ([]byte, error)
- func (s *WorkflowToolEdgeStepModelType) UnmarshalJSON(data []byte) error
- func (s *WorkflowToolEdgeStepModelType) UnmarshalText(data []byte) error
- func (s WorkflowToolEdgeStepModelType) Validate() error
- type WorkflowToolMaxIterationsExceededStepModel
- func (s *WorkflowToolMaxIterationsExceededStepModel) Decode(d *jx.Decoder) error
- func (s *WorkflowToolMaxIterationsExceededStepModel) Encode(e *jx.Encoder)
- func (s *WorkflowToolMaxIterationsExceededStepModel) GetMaxIterations() int
- func (s *WorkflowToolMaxIterationsExceededStepModel) GetStepLatencySecs() float64
- func (s *WorkflowToolMaxIterationsExceededStepModel) GetType() OptWorkflowToolMaxIterationsExceededStepModelType
- func (s *WorkflowToolMaxIterationsExceededStepModel) MarshalJSON() ([]byte, error)
- func (s *WorkflowToolMaxIterationsExceededStepModel) SetMaxIterations(val int)
- func (s *WorkflowToolMaxIterationsExceededStepModel) SetStepLatencySecs(val float64)
- func (s *WorkflowToolMaxIterationsExceededStepModel) SetType(val OptWorkflowToolMaxIterationsExceededStepModelType)
- func (s *WorkflowToolMaxIterationsExceededStepModel) UnmarshalJSON(data []byte) error
- func (s *WorkflowToolMaxIterationsExceededStepModel) Validate() error
- type WorkflowToolMaxIterationsExceededStepModelType
- func (WorkflowToolMaxIterationsExceededStepModelType) AllValues() []WorkflowToolMaxIterationsExceededStepModelType
- func (s *WorkflowToolMaxIterationsExceededStepModelType) Decode(d *jx.Decoder) error
- func (s WorkflowToolMaxIterationsExceededStepModelType) Encode(e *jx.Encoder)
- func (s WorkflowToolMaxIterationsExceededStepModelType) MarshalJSON() ([]byte, error)
- func (s WorkflowToolMaxIterationsExceededStepModelType) MarshalText() ([]byte, error)
- func (s *WorkflowToolMaxIterationsExceededStepModelType) UnmarshalJSON(data []byte) error
- func (s *WorkflowToolMaxIterationsExceededStepModelType) UnmarshalText(data []byte) error
- func (s WorkflowToolMaxIterationsExceededStepModelType) Validate() error
- type WorkflowToolNestedToolsStepModelInput
- func (s *WorkflowToolNestedToolsStepModelInput) Decode(d *jx.Decoder) error
- func (s *WorkflowToolNestedToolsStepModelInput) Encode(e *jx.Encoder)
- func (s *WorkflowToolNestedToolsStepModelInput) GetIsSuccessful() bool
- func (s *WorkflowToolNestedToolsStepModelInput) GetNodeID() string
- func (s *WorkflowToolNestedToolsStepModelInput) GetRequests() []ConversationHistoryTranscriptToolCallCommonModelInput
- func (s *WorkflowToolNestedToolsStepModelInput) GetResults() []WorkflowToolNestedToolsStepModelInputResultsItem
- func (s *WorkflowToolNestedToolsStepModelInput) GetStepLatencySecs() float64
- func (s *WorkflowToolNestedToolsStepModelInput) GetType() OptWorkflowToolNestedToolsStepModelInputType
- func (s *WorkflowToolNestedToolsStepModelInput) MarshalJSON() ([]byte, error)
- func (s *WorkflowToolNestedToolsStepModelInput) SetIsSuccessful(val bool)
- func (s *WorkflowToolNestedToolsStepModelInput) SetNodeID(val string)
- func (s *WorkflowToolNestedToolsStepModelInput) SetRequests(val []ConversationHistoryTranscriptToolCallCommonModelInput)
- func (s *WorkflowToolNestedToolsStepModelInput) SetResults(val []WorkflowToolNestedToolsStepModelInputResultsItem)
- func (s *WorkflowToolNestedToolsStepModelInput) SetStepLatencySecs(val float64)
- func (s *WorkflowToolNestedToolsStepModelInput) SetType(val OptWorkflowToolNestedToolsStepModelInputType)
- func (s *WorkflowToolNestedToolsStepModelInput) UnmarshalJSON(data []byte) error
- func (s *WorkflowToolNestedToolsStepModelInput) Validate() error
- type WorkflowToolNestedToolsStepModelInputResultsItem
- func NewConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelWorkflowToolNestedToolsStepModelInputResultsItem(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) WorkflowToolNestedToolsStepModelInputResultsItem
- func NewConversationHistoryTranscriptOtherToolsResultCommonModelWorkflowToolNestedToolsStepModelInputResultsItem(v ConversationHistoryTranscriptOtherToolsResultCommonModel) WorkflowToolNestedToolsStepModelInputResultsItem
- func NewConversationHistoryTranscriptSystemToolResultCommonModelWorkflowToolNestedToolsStepModelInputResultsItem(v ConversationHistoryTranscriptSystemToolResultCommonModel) WorkflowToolNestedToolsStepModelInputResultsItem
- func NewConversationHistoryTranscriptWorkflowToolsResultCommonModelInputWorkflowToolNestedToolsStepModelInputResultsItem(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) WorkflowToolNestedToolsStepModelInputResultsItem
- func (s *WorkflowToolNestedToolsStepModelInputResultsItem) Decode(d *jx.Decoder) error
- func (s WorkflowToolNestedToolsStepModelInputResultsItem) Encode(e *jx.Encoder)
- func (s WorkflowToolNestedToolsStepModelInputResultsItem) GetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel() (v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel, ...)
- func (s WorkflowToolNestedToolsStepModelInputResultsItem) GetConversationHistoryTranscriptOtherToolsResultCommonModel() (v ConversationHistoryTranscriptOtherToolsResultCommonModel, ok bool)
- func (s WorkflowToolNestedToolsStepModelInputResultsItem) GetConversationHistoryTranscriptSystemToolResultCommonModel() (v ConversationHistoryTranscriptSystemToolResultCommonModel, ok bool)
- func (s WorkflowToolNestedToolsStepModelInputResultsItem) GetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput() (v ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput, ok bool)
- func (s WorkflowToolNestedToolsStepModelInputResultsItem) IsConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel() bool
- func (s WorkflowToolNestedToolsStepModelInputResultsItem) IsConversationHistoryTranscriptOtherToolsResultCommonModel() bool
- func (s WorkflowToolNestedToolsStepModelInputResultsItem) IsConversationHistoryTranscriptSystemToolResultCommonModel() bool
- func (s WorkflowToolNestedToolsStepModelInputResultsItem) IsConversationHistoryTranscriptWorkflowToolsResultCommonModelInput() bool
- func (s WorkflowToolNestedToolsStepModelInputResultsItem) MarshalJSON() ([]byte, error)
- func (s *WorkflowToolNestedToolsStepModelInputResultsItem) SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel)
- func (s *WorkflowToolNestedToolsStepModelInputResultsItem) SetConversationHistoryTranscriptOtherToolsResultCommonModel(v ConversationHistoryTranscriptOtherToolsResultCommonModel)
- func (s *WorkflowToolNestedToolsStepModelInputResultsItem) SetConversationHistoryTranscriptSystemToolResultCommonModel(v ConversationHistoryTranscriptSystemToolResultCommonModel)
- func (s *WorkflowToolNestedToolsStepModelInputResultsItem) SetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput)
- func (s *WorkflowToolNestedToolsStepModelInputResultsItem) UnmarshalJSON(data []byte) error
- func (s WorkflowToolNestedToolsStepModelInputResultsItem) Validate() error
- type WorkflowToolNestedToolsStepModelInputResultsItemType
- type WorkflowToolNestedToolsStepModelInputType
- func (WorkflowToolNestedToolsStepModelInputType) AllValues() []WorkflowToolNestedToolsStepModelInputType
- func (s *WorkflowToolNestedToolsStepModelInputType) Decode(d *jx.Decoder) error
- func (s WorkflowToolNestedToolsStepModelInputType) Encode(e *jx.Encoder)
- func (s WorkflowToolNestedToolsStepModelInputType) MarshalJSON() ([]byte, error)
- func (s WorkflowToolNestedToolsStepModelInputType) MarshalText() ([]byte, error)
- func (s *WorkflowToolNestedToolsStepModelInputType) UnmarshalJSON(data []byte) error
- func (s *WorkflowToolNestedToolsStepModelInputType) UnmarshalText(data []byte) error
- func (s WorkflowToolNestedToolsStepModelInputType) Validate() error
- type WorkflowToolNestedToolsStepModelOutput
- func (s *WorkflowToolNestedToolsStepModelOutput) Decode(d *jx.Decoder) error
- func (s *WorkflowToolNestedToolsStepModelOutput) Encode(e *jx.Encoder)
- func (s *WorkflowToolNestedToolsStepModelOutput) GetIsSuccessful() bool
- func (s *WorkflowToolNestedToolsStepModelOutput) GetNodeID() string
- func (s *WorkflowToolNestedToolsStepModelOutput) GetRequests() []ConversationHistoryTranscriptToolCallCommonModelOutput
- func (s *WorkflowToolNestedToolsStepModelOutput) GetResults() []WorkflowToolNestedToolsStepModelOutputResultsItem
- func (s *WorkflowToolNestedToolsStepModelOutput) GetStepLatencySecs() float64
- func (s *WorkflowToolNestedToolsStepModelOutput) GetType() OptWorkflowToolNestedToolsStepModelOutputType
- func (s *WorkflowToolNestedToolsStepModelOutput) MarshalJSON() ([]byte, error)
- func (s *WorkflowToolNestedToolsStepModelOutput) SetIsSuccessful(val bool)
- func (s *WorkflowToolNestedToolsStepModelOutput) SetNodeID(val string)
- func (s *WorkflowToolNestedToolsStepModelOutput) SetRequests(val []ConversationHistoryTranscriptToolCallCommonModelOutput)
- func (s *WorkflowToolNestedToolsStepModelOutput) SetResults(val []WorkflowToolNestedToolsStepModelOutputResultsItem)
- func (s *WorkflowToolNestedToolsStepModelOutput) SetStepLatencySecs(val float64)
- func (s *WorkflowToolNestedToolsStepModelOutput) SetType(val OptWorkflowToolNestedToolsStepModelOutputType)
- func (s *WorkflowToolNestedToolsStepModelOutput) UnmarshalJSON(data []byte) error
- func (s *WorkflowToolNestedToolsStepModelOutput) Validate() error
- type WorkflowToolNestedToolsStepModelOutputResultsItem
- func NewConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelWorkflowToolNestedToolsStepModelOutputResultsItem(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) WorkflowToolNestedToolsStepModelOutputResultsItem
- func NewConversationHistoryTranscriptOtherToolsResultCommonModelWorkflowToolNestedToolsStepModelOutputResultsItem(v ConversationHistoryTranscriptOtherToolsResultCommonModel) WorkflowToolNestedToolsStepModelOutputResultsItem
- func NewConversationHistoryTranscriptSystemToolResultCommonModelWorkflowToolNestedToolsStepModelOutputResultsItem(v ConversationHistoryTranscriptSystemToolResultCommonModel) WorkflowToolNestedToolsStepModelOutputResultsItem
- func NewConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputWorkflowToolNestedToolsStepModelOutputResultsItem(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) WorkflowToolNestedToolsStepModelOutputResultsItem
- func (s *WorkflowToolNestedToolsStepModelOutputResultsItem) Decode(d *jx.Decoder) error
- func (s WorkflowToolNestedToolsStepModelOutputResultsItem) Encode(e *jx.Encoder)
- func (s WorkflowToolNestedToolsStepModelOutputResultsItem) GetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel() (v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel, ...)
- func (s WorkflowToolNestedToolsStepModelOutputResultsItem) GetConversationHistoryTranscriptOtherToolsResultCommonModel() (v ConversationHistoryTranscriptOtherToolsResultCommonModel, ok bool)
- func (s WorkflowToolNestedToolsStepModelOutputResultsItem) GetConversationHistoryTranscriptSystemToolResultCommonModel() (v ConversationHistoryTranscriptSystemToolResultCommonModel, ok bool)
- func (s WorkflowToolNestedToolsStepModelOutputResultsItem) GetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput() (v ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput, ok bool)
- func (s WorkflowToolNestedToolsStepModelOutputResultsItem) IsConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel() bool
- func (s WorkflowToolNestedToolsStepModelOutputResultsItem) IsConversationHistoryTranscriptOtherToolsResultCommonModel() bool
- func (s WorkflowToolNestedToolsStepModelOutputResultsItem) IsConversationHistoryTranscriptSystemToolResultCommonModel() bool
- func (s WorkflowToolNestedToolsStepModelOutputResultsItem) IsConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput() bool
- func (s WorkflowToolNestedToolsStepModelOutputResultsItem) MarshalJSON() ([]byte, error)
- func (s *WorkflowToolNestedToolsStepModelOutputResultsItem) SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel)
- func (s *WorkflowToolNestedToolsStepModelOutputResultsItem) SetConversationHistoryTranscriptOtherToolsResultCommonModel(v ConversationHistoryTranscriptOtherToolsResultCommonModel)
- func (s *WorkflowToolNestedToolsStepModelOutputResultsItem) SetConversationHistoryTranscriptSystemToolResultCommonModel(v ConversationHistoryTranscriptSystemToolResultCommonModel)
- func (s *WorkflowToolNestedToolsStepModelOutputResultsItem) SetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput)
- func (s *WorkflowToolNestedToolsStepModelOutputResultsItem) UnmarshalJSON(data []byte) error
- func (s WorkflowToolNestedToolsStepModelOutputResultsItem) Validate() error
- type WorkflowToolNestedToolsStepModelOutputResultsItemType
- type WorkflowToolNestedToolsStepModelOutputType
- func (WorkflowToolNestedToolsStepModelOutputType) AllValues() []WorkflowToolNestedToolsStepModelOutputType
- func (s *WorkflowToolNestedToolsStepModelOutputType) Decode(d *jx.Decoder) error
- func (s WorkflowToolNestedToolsStepModelOutputType) Encode(e *jx.Encoder)
- func (s WorkflowToolNestedToolsStepModelOutputType) MarshalJSON() ([]byte, error)
- func (s WorkflowToolNestedToolsStepModelOutputType) MarshalText() ([]byte, error)
- func (s *WorkflowToolNestedToolsStepModelOutputType) UnmarshalJSON(data []byte) error
- func (s *WorkflowToolNestedToolsStepModelOutputType) UnmarshalText(data []byte) error
- func (s WorkflowToolNestedToolsStepModelOutputType) Validate() error
- type WorkflowToolResponseModelInput
- func (s *WorkflowToolResponseModelInput) Decode(d *jx.Decoder) error
- func (s *WorkflowToolResponseModelInput) Encode(e *jx.Encoder)
- func (s *WorkflowToolResponseModelInput) GetSteps() []WorkflowToolResponseModelInputStepsItem
- func (s *WorkflowToolResponseModelInput) MarshalJSON() ([]byte, error)
- func (s *WorkflowToolResponseModelInput) SetSteps(val []WorkflowToolResponseModelInputStepsItem)
- func (s *WorkflowToolResponseModelInput) UnmarshalJSON(data []byte) error
- func (s *WorkflowToolResponseModelInput) Validate() error
- type WorkflowToolResponseModelInputStepsItem
- func NewWorkflowToolEdgeStepModelWorkflowToolResponseModelInputStepsItem(v WorkflowToolEdgeStepModel) WorkflowToolResponseModelInputStepsItem
- func NewWorkflowToolMaxIterationsExceededStepModelWorkflowToolResponseModelInputStepsItem(v WorkflowToolMaxIterationsExceededStepModel) WorkflowToolResponseModelInputStepsItem
- func NewWorkflowToolNestedToolsStepModelInputWorkflowToolResponseModelInputStepsItem(v WorkflowToolNestedToolsStepModelInput) WorkflowToolResponseModelInputStepsItem
- func (s *WorkflowToolResponseModelInputStepsItem) Decode(d *jx.Decoder) error
- func (s WorkflowToolResponseModelInputStepsItem) Encode(e *jx.Encoder)
- func (s WorkflowToolResponseModelInputStepsItem) GetWorkflowToolEdgeStepModel() (v WorkflowToolEdgeStepModel, ok bool)
- func (s WorkflowToolResponseModelInputStepsItem) GetWorkflowToolMaxIterationsExceededStepModel() (v WorkflowToolMaxIterationsExceededStepModel, ok bool)
- func (s WorkflowToolResponseModelInputStepsItem) GetWorkflowToolNestedToolsStepModelInput() (v WorkflowToolNestedToolsStepModelInput, ok bool)
- func (s WorkflowToolResponseModelInputStepsItem) IsWorkflowToolEdgeStepModel() bool
- func (s WorkflowToolResponseModelInputStepsItem) IsWorkflowToolMaxIterationsExceededStepModel() bool
- func (s WorkflowToolResponseModelInputStepsItem) IsWorkflowToolNestedToolsStepModelInput() bool
- func (s WorkflowToolResponseModelInputStepsItem) MarshalJSON() ([]byte, error)
- func (s *WorkflowToolResponseModelInputStepsItem) SetWorkflowToolEdgeStepModel(v WorkflowToolEdgeStepModel)
- func (s *WorkflowToolResponseModelInputStepsItem) SetWorkflowToolMaxIterationsExceededStepModel(v WorkflowToolMaxIterationsExceededStepModel)
- func (s *WorkflowToolResponseModelInputStepsItem) SetWorkflowToolNestedToolsStepModelInput(v WorkflowToolNestedToolsStepModelInput)
- func (s *WorkflowToolResponseModelInputStepsItem) UnmarshalJSON(data []byte) error
- func (s WorkflowToolResponseModelInputStepsItem) Validate() error
- type WorkflowToolResponseModelInputStepsItemType
- type WorkflowToolResponseModelOutput
- func (s *WorkflowToolResponseModelOutput) Decode(d *jx.Decoder) error
- func (s *WorkflowToolResponseModelOutput) Encode(e *jx.Encoder)
- func (s *WorkflowToolResponseModelOutput) GetSteps() []WorkflowToolResponseModelOutputStepsItem
- func (s *WorkflowToolResponseModelOutput) MarshalJSON() ([]byte, error)
- func (s *WorkflowToolResponseModelOutput) SetSteps(val []WorkflowToolResponseModelOutputStepsItem)
- func (s *WorkflowToolResponseModelOutput) UnmarshalJSON(data []byte) error
- func (s *WorkflowToolResponseModelOutput) Validate() error
- type WorkflowToolResponseModelOutputStepsItem
- func NewWorkflowToolEdgeStepModelWorkflowToolResponseModelOutputStepsItem(v WorkflowToolEdgeStepModel) WorkflowToolResponseModelOutputStepsItem
- func NewWorkflowToolMaxIterationsExceededStepModelWorkflowToolResponseModelOutputStepsItem(v WorkflowToolMaxIterationsExceededStepModel) WorkflowToolResponseModelOutputStepsItem
- func NewWorkflowToolNestedToolsStepModelOutputWorkflowToolResponseModelOutputStepsItem(v WorkflowToolNestedToolsStepModelOutput) WorkflowToolResponseModelOutputStepsItem
- func (s *WorkflowToolResponseModelOutputStepsItem) Decode(d *jx.Decoder) error
- func (s WorkflowToolResponseModelOutputStepsItem) Encode(e *jx.Encoder)
- func (s WorkflowToolResponseModelOutputStepsItem) GetWorkflowToolEdgeStepModel() (v WorkflowToolEdgeStepModel, ok bool)
- func (s WorkflowToolResponseModelOutputStepsItem) GetWorkflowToolMaxIterationsExceededStepModel() (v WorkflowToolMaxIterationsExceededStepModel, ok bool)
- func (s WorkflowToolResponseModelOutputStepsItem) GetWorkflowToolNestedToolsStepModelOutput() (v WorkflowToolNestedToolsStepModelOutput, ok bool)
- func (s WorkflowToolResponseModelOutputStepsItem) IsWorkflowToolEdgeStepModel() bool
- func (s WorkflowToolResponseModelOutputStepsItem) IsWorkflowToolMaxIterationsExceededStepModel() bool
- func (s WorkflowToolResponseModelOutputStepsItem) IsWorkflowToolNestedToolsStepModelOutput() bool
- func (s WorkflowToolResponseModelOutputStepsItem) MarshalJSON() ([]byte, error)
- func (s *WorkflowToolResponseModelOutputStepsItem) SetWorkflowToolEdgeStepModel(v WorkflowToolEdgeStepModel)
- func (s *WorkflowToolResponseModelOutputStepsItem) SetWorkflowToolMaxIterationsExceededStepModel(v WorkflowToolMaxIterationsExceededStepModel)
- func (s *WorkflowToolResponseModelOutputStepsItem) SetWorkflowToolNestedToolsStepModelOutput(v WorkflowToolNestedToolsStepModelOutput)
- func (s *WorkflowToolResponseModelOutputStepsItem) UnmarshalJSON(data []byte) error
- func (s WorkflowToolResponseModelOutputStepsItem) Validate() error
- type WorkflowToolResponseModelOutputStepsItemType
- type WorkspaceApiKeyListResponseModel
- func (s *WorkspaceApiKeyListResponseModel) Decode(d *jx.Decoder) error
- func (s *WorkspaceApiKeyListResponseModel) Encode(e *jx.Encoder)
- func (s *WorkspaceApiKeyListResponseModel) GetAPIMinusKeys() []WorkspaceApiKeyResponseModel
- func (s *WorkspaceApiKeyListResponseModel) MarshalJSON() ([]byte, error)
- func (s *WorkspaceApiKeyListResponseModel) SetAPIMinusKeys(val []WorkspaceApiKeyResponseModel)
- func (s *WorkspaceApiKeyListResponseModel) UnmarshalJSON(data []byte) error
- func (s *WorkspaceApiKeyListResponseModel) Validate() error
- type WorkspaceApiKeyResponseModel
- func (s *WorkspaceApiKeyResponseModel) Decode(d *jx.Decoder) error
- func (s *WorkspaceApiKeyResponseModel) Encode(e *jx.Encoder)
- func (s *WorkspaceApiKeyResponseModel) GetCharacterCount() OptNilInt
- func (s *WorkspaceApiKeyResponseModel) GetCharacterLimit() OptNilInt
- func (s *WorkspaceApiKeyResponseModel) GetCreatedAtUnix() OptNilInt
- func (s *WorkspaceApiKeyResponseModel) GetHint() string
- func (s *WorkspaceApiKeyResponseModel) GetIsDisabled() OptBool
- func (s *WorkspaceApiKeyResponseModel) GetKeyID() string
- func (s *WorkspaceApiKeyResponseModel) GetName() string
- func (s *WorkspaceApiKeyResponseModel) GetPermissions() OptNilWorkspaceApiKeyResponseModelPermissionsItemArray
- func (s *WorkspaceApiKeyResponseModel) GetServiceAccountUserID() string
- func (s *WorkspaceApiKeyResponseModel) MarshalJSON() ([]byte, error)
- func (s *WorkspaceApiKeyResponseModel) SetCharacterCount(val OptNilInt)
- func (s *WorkspaceApiKeyResponseModel) SetCharacterLimit(val OptNilInt)
- func (s *WorkspaceApiKeyResponseModel) SetCreatedAtUnix(val OptNilInt)
- func (s *WorkspaceApiKeyResponseModel) SetHint(val string)
- func (s *WorkspaceApiKeyResponseModel) SetIsDisabled(val OptBool)
- func (s *WorkspaceApiKeyResponseModel) SetKeyID(val string)
- func (s *WorkspaceApiKeyResponseModel) SetName(val string)
- func (s *WorkspaceApiKeyResponseModel) SetPermissions(val OptNilWorkspaceApiKeyResponseModelPermissionsItemArray)
- func (s *WorkspaceApiKeyResponseModel) SetServiceAccountUserID(val string)
- func (s *WorkspaceApiKeyResponseModel) UnmarshalJSON(data []byte) error
- func (s *WorkspaceApiKeyResponseModel) Validate() error
- type WorkspaceApiKeyResponseModelPermissionsItem
- func (WorkspaceApiKeyResponseModelPermissionsItem) AllValues() []WorkspaceApiKeyResponseModelPermissionsItem
- func (s *WorkspaceApiKeyResponseModelPermissionsItem) Decode(d *jx.Decoder) error
- func (s WorkspaceApiKeyResponseModelPermissionsItem) Encode(e *jx.Encoder)
- func (s WorkspaceApiKeyResponseModelPermissionsItem) MarshalJSON() ([]byte, error)
- func (s WorkspaceApiKeyResponseModelPermissionsItem) MarshalText() ([]byte, error)
- func (s *WorkspaceApiKeyResponseModelPermissionsItem) UnmarshalJSON(data []byte) error
- func (s *WorkspaceApiKeyResponseModelPermissionsItem) UnmarshalText(data []byte) error
- func (s WorkspaceApiKeyResponseModelPermissionsItem) Validate() error
- type WorkspaceBatchCallsResponse
- func (s *WorkspaceBatchCallsResponse) Decode(d *jx.Decoder) error
- func (s *WorkspaceBatchCallsResponse) Encode(e *jx.Encoder)
- func (s *WorkspaceBatchCallsResponse) GetBatchCalls() []BatchCallResponse
- func (s *WorkspaceBatchCallsResponse) GetHasMore() OptBool
- func (s *WorkspaceBatchCallsResponse) GetNextDoc() OptNilString
- func (s *WorkspaceBatchCallsResponse) MarshalJSON() ([]byte, error)
- func (s *WorkspaceBatchCallsResponse) SetBatchCalls(val []BatchCallResponse)
- func (s *WorkspaceBatchCallsResponse) SetHasMore(val OptBool)
- func (s *WorkspaceBatchCallsResponse) SetNextDoc(val OptNilString)
- func (s *WorkspaceBatchCallsResponse) UnmarshalJSON(data []byte) error
- func (s *WorkspaceBatchCallsResponse) Validate() error
- type WorkspaceCreateApiKeyResponseModel
- func (s *WorkspaceCreateApiKeyResponseModel) Decode(d *jx.Decoder) error
- func (s *WorkspaceCreateApiKeyResponseModel) Encode(e *jx.Encoder)
- func (s *WorkspaceCreateApiKeyResponseModel) GetKeyID() string
- func (s *WorkspaceCreateApiKeyResponseModel) GetXiMinusAPIMinusKey() string
- func (s *WorkspaceCreateApiKeyResponseModel) MarshalJSON() ([]byte, error)
- func (s *WorkspaceCreateApiKeyResponseModel) SetKeyID(val string)
- func (s *WorkspaceCreateApiKeyResponseModel) SetXiMinusAPIMinusKey(val string)
- func (s *WorkspaceCreateApiKeyResponseModel) UnmarshalJSON(data []byte) error
- type WorkspaceCreateWebhookResponseModel
- func (s *WorkspaceCreateWebhookResponseModel) Decode(d *jx.Decoder) error
- func (s *WorkspaceCreateWebhookResponseModel) Encode(e *jx.Encoder)
- func (s *WorkspaceCreateWebhookResponseModel) GetWebhookID() string
- func (s *WorkspaceCreateWebhookResponseModel) GetWebhookSecret() OptNilString
- func (s *WorkspaceCreateWebhookResponseModel) MarshalJSON() ([]byte, error)
- func (s *WorkspaceCreateWebhookResponseModel) SetWebhookID(val string)
- func (s *WorkspaceCreateWebhookResponseModel) SetWebhookSecret(val OptNilString)
- func (s *WorkspaceCreateWebhookResponseModel) UnmarshalJSON(data []byte) error
- type WorkspaceGroupByNameResponseModel
- func (s *WorkspaceGroupByNameResponseModel) Decode(d *jx.Decoder) error
- func (s *WorkspaceGroupByNameResponseModel) Encode(e *jx.Encoder)
- func (s *WorkspaceGroupByNameResponseModel) GetID() string
- func (s *WorkspaceGroupByNameResponseModel) GetMembersEmails() []string
- func (s *WorkspaceGroupByNameResponseModel) GetName() string
- func (s *WorkspaceGroupByNameResponseModel) MarshalJSON() ([]byte, error)
- func (s *WorkspaceGroupByNameResponseModel) SetID(val string)
- func (s *WorkspaceGroupByNameResponseModel) SetMembersEmails(val []string)
- func (s *WorkspaceGroupByNameResponseModel) SetName(val string)
- func (s *WorkspaceGroupByNameResponseModel) UnmarshalJSON(data []byte) error
- func (s *WorkspaceGroupByNameResponseModel) Validate() error
- type WorkspaceResourceType
- func (WorkspaceResourceType) AllValues() []WorkspaceResourceType
- func (s *WorkspaceResourceType) Decode(d *jx.Decoder) error
- func (s WorkspaceResourceType) Encode(e *jx.Encoder)
- func (s WorkspaceResourceType) MarshalJSON() ([]byte, error)
- func (s WorkspaceResourceType) MarshalText() ([]byte, error)
- func (s *WorkspaceResourceType) UnmarshalJSON(data []byte) error
- func (s *WorkspaceResourceType) UnmarshalText(data []byte) error
- func (s WorkspaceResourceType) Validate() error
- type WorkspaceServiceAccountListResponseModel
- func (s *WorkspaceServiceAccountListResponseModel) Decode(d *jx.Decoder) error
- func (s *WorkspaceServiceAccountListResponseModel) Encode(e *jx.Encoder)
- func (s *WorkspaceServiceAccountListResponseModel) GetServiceMinusAccounts() []WorkspaceServiceAccountResponseModel
- func (s *WorkspaceServiceAccountListResponseModel) MarshalJSON() ([]byte, error)
- func (s *WorkspaceServiceAccountListResponseModel) SetServiceMinusAccounts(val []WorkspaceServiceAccountResponseModel)
- func (s *WorkspaceServiceAccountListResponseModel) UnmarshalJSON(data []byte) error
- func (s *WorkspaceServiceAccountListResponseModel) Validate() error
- type WorkspaceServiceAccountResponseModel
- func (s *WorkspaceServiceAccountResponseModel) Decode(d *jx.Decoder) error
- func (s *WorkspaceServiceAccountResponseModel) Encode(e *jx.Encoder)
- func (s *WorkspaceServiceAccountResponseModel) GetAPIMinusKeys() []WorkspaceApiKeyResponseModel
- func (s *WorkspaceServiceAccountResponseModel) GetCreatedAtUnix() OptNilInt
- func (s *WorkspaceServiceAccountResponseModel) GetName() string
- func (s *WorkspaceServiceAccountResponseModel) GetServiceAccountUserID() string
- func (s *WorkspaceServiceAccountResponseModel) MarshalJSON() ([]byte, error)
- func (s *WorkspaceServiceAccountResponseModel) SetAPIMinusKeys(val []WorkspaceApiKeyResponseModel)
- func (s *WorkspaceServiceAccountResponseModel) SetCreatedAtUnix(val OptNilInt)
- func (s *WorkspaceServiceAccountResponseModel) SetName(val string)
- func (s *WorkspaceServiceAccountResponseModel) SetServiceAccountUserID(val string)
- func (s *WorkspaceServiceAccountResponseModel) UnmarshalJSON(data []byte) error
- func (s *WorkspaceServiceAccountResponseModel) Validate() error
- type WorkspaceWebhookListResponseModel
- func (s *WorkspaceWebhookListResponseModel) Decode(d *jx.Decoder) error
- func (s *WorkspaceWebhookListResponseModel) Encode(e *jx.Encoder)
- func (s *WorkspaceWebhookListResponseModel) GetWebhooks() []WorkspaceWebhookResponseModel
- func (s *WorkspaceWebhookListResponseModel) MarshalJSON() ([]byte, error)
- func (s *WorkspaceWebhookListResponseModel) SetWebhooks(val []WorkspaceWebhookResponseModel)
- func (s *WorkspaceWebhookListResponseModel) UnmarshalJSON(data []byte) error
- func (s *WorkspaceWebhookListResponseModel) Validate() error
- type WorkspaceWebhookResponseModel
- func (s *WorkspaceWebhookResponseModel) Decode(d *jx.Decoder) error
- func (s *WorkspaceWebhookResponseModel) Encode(e *jx.Encoder)
- func (s *WorkspaceWebhookResponseModel) GetAuthType() WebhookAuthMethodType
- func (s *WorkspaceWebhookResponseModel) GetCreatedAtUnix() int
- func (s *WorkspaceWebhookResponseModel) GetIsAutoDisabled() bool
- func (s *WorkspaceWebhookResponseModel) GetIsDisabled() bool
- func (s *WorkspaceWebhookResponseModel) GetMostRecentFailureErrorCode() OptNilInt
- func (s *WorkspaceWebhookResponseModel) GetMostRecentFailureTimestamp() OptNilInt
- func (s *WorkspaceWebhookResponseModel) GetName() string
- func (s *WorkspaceWebhookResponseModel) GetUsage() OptNilWorkspaceWebhookUsageResponseModelArray
- func (s *WorkspaceWebhookResponseModel) GetWebhookID() string
- func (s *WorkspaceWebhookResponseModel) GetWebhookURL() string
- func (s *WorkspaceWebhookResponseModel) MarshalJSON() ([]byte, error)
- func (s *WorkspaceWebhookResponseModel) SetAuthType(val WebhookAuthMethodType)
- func (s *WorkspaceWebhookResponseModel) SetCreatedAtUnix(val int)
- func (s *WorkspaceWebhookResponseModel) SetIsAutoDisabled(val bool)
- func (s *WorkspaceWebhookResponseModel) SetIsDisabled(val bool)
- func (s *WorkspaceWebhookResponseModel) SetMostRecentFailureErrorCode(val OptNilInt)
- func (s *WorkspaceWebhookResponseModel) SetMostRecentFailureTimestamp(val OptNilInt)
- func (s *WorkspaceWebhookResponseModel) SetName(val string)
- func (s *WorkspaceWebhookResponseModel) SetUsage(val OptNilWorkspaceWebhookUsageResponseModelArray)
- func (s *WorkspaceWebhookResponseModel) SetWebhookID(val string)
- func (s *WorkspaceWebhookResponseModel) SetWebhookURL(val string)
- func (s *WorkspaceWebhookResponseModel) UnmarshalJSON(data []byte) error
- func (s *WorkspaceWebhookResponseModel) Validate() error
- type WorkspaceWebhookUsageResponseModel
- func (s *WorkspaceWebhookUsageResponseModel) Decode(d *jx.Decoder) error
- func (s *WorkspaceWebhookUsageResponseModel) Encode(e *jx.Encoder)
- func (s *WorkspaceWebhookUsageResponseModel) GetUsageType() WebhookUsageType
- func (s *WorkspaceWebhookUsageResponseModel) MarshalJSON() ([]byte, error)
- func (s *WorkspaceWebhookUsageResponseModel) SetUsageType(val WebhookUsageType)
- func (s *WorkspaceWebhookUsageResponseModel) UnmarshalJSON(data []byte) error
- func (s *WorkspaceWebhookUsageResponseModel) Validate() error
- type ZendeskConversationInitiationTrigger
- func (s *ZendeskConversationInitiationTrigger) Decode(d *jx.Decoder) error
- func (s *ZendeskConversationInitiationTrigger) Encode(e *jx.Encoder)
- func (s *ZendeskConversationInitiationTrigger) GetTicketID() int
- func (s *ZendeskConversationInitiationTrigger) GetTriggerType() OptZendeskConversationInitiationTriggerTriggerType
- func (s *ZendeskConversationInitiationTrigger) MarshalJSON() ([]byte, error)
- func (s *ZendeskConversationInitiationTrigger) SetTicketID(val int)
- func (s *ZendeskConversationInitiationTrigger) SetTriggerType(val OptZendeskConversationInitiationTriggerTriggerType)
- func (s *ZendeskConversationInitiationTrigger) UnmarshalJSON(data []byte) error
- func (s *ZendeskConversationInitiationTrigger) Validate() error
- type ZendeskConversationInitiationTriggerTriggerType
- func (ZendeskConversationInitiationTriggerTriggerType) AllValues() []ZendeskConversationInitiationTriggerTriggerType
- func (s *ZendeskConversationInitiationTriggerTriggerType) Decode(d *jx.Decoder) error
- func (s ZendeskConversationInitiationTriggerTriggerType) Encode(e *jx.Encoder)
- func (s ZendeskConversationInitiationTriggerTriggerType) MarshalJSON() ([]byte, error)
- func (s ZendeskConversationInitiationTriggerTriggerType) MarshalText() ([]byte, error)
- func (s *ZendeskConversationInitiationTriggerTriggerType) UnmarshalJSON(data []byte) error
- func (s *ZendeskConversationInitiationTriggerTriggerType) UnmarshalText(data []byte) error
- func (s ZendeskConversationInitiationTriggerTriggerType) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
Ref: #/components/schemas/AddKnowledgeBaseResponseModel
func (*AddKnowledgeBaseResponseModel) Decode ¶
func (s *AddKnowledgeBaseResponseModel) Decode(d *jx.Decoder) error
Decode decodes AddKnowledgeBaseResponseModel from json.
func (*AddKnowledgeBaseResponseModel) Encode ¶
func (s *AddKnowledgeBaseResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AddKnowledgeBaseResponseModel) GetID ¶
func (s *AddKnowledgeBaseResponseModel) GetID() string
GetID returns the value of ID.
func (*AddKnowledgeBaseResponseModel) GetName ¶
func (s *AddKnowledgeBaseResponseModel) GetName() string
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 ¶
func (s *AddProjectResponseModel) GetProject() ProjectResponseModel
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 ¶
func (s *AddPronunciationDictionaryResponseModel) Decode(d *jx.Decoder) error
Decode decodes AddPronunciationDictionaryResponseModel from json.
func (*AddPronunciationDictionaryResponseModel) Encode ¶
func (s *AddPronunciationDictionaryResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AddPronunciationDictionaryResponseModel) GetCreatedBy ¶
func (s *AddPronunciationDictionaryResponseModel) GetCreatedBy() string
GetCreatedBy returns the value of CreatedBy.
func (*AddPronunciationDictionaryResponseModel) GetCreationTimeUnix ¶
func (s *AddPronunciationDictionaryResponseModel) GetCreationTimeUnix() int
GetCreationTimeUnix returns the value of CreationTimeUnix.
func (*AddPronunciationDictionaryResponseModel) GetDescription ¶
func (s *AddPronunciationDictionaryResponseModel) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*AddPronunciationDictionaryResponseModel) GetID ¶
func (s *AddPronunciationDictionaryResponseModel) GetID() string
GetID returns the value of ID.
func (*AddPronunciationDictionaryResponseModel) GetName ¶
func (s *AddPronunciationDictionaryResponseModel) GetName() string
GetName returns the value of Name.
func (*AddPronunciationDictionaryResponseModel) GetPermissionOnResource ¶
func (s *AddPronunciationDictionaryResponseModel) GetPermissionOnResource() NilAddPronunciationDictionaryResponseModelPermissionOnResource
GetPermissionOnResource returns the value of PermissionOnResource.
func (*AddPronunciationDictionaryResponseModel) GetVersionID ¶
func (s *AddPronunciationDictionaryResponseModel) GetVersionID() string
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 ¶
func (s *AddPronunciationDictionaryResponseModel) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*AddPronunciationDictionaryResponseModel) SetID ¶
func (s *AddPronunciationDictionaryResponseModel) SetID(val string)
SetID sets the value of ID.
func (*AddPronunciationDictionaryResponseModel) SetName ¶
func (s *AddPronunciationDictionaryResponseModel) SetName(val string)
SetName sets the value of Name.
func (*AddPronunciationDictionaryResponseModel) SetPermissionOnResource ¶
func (s *AddPronunciationDictionaryResponseModel) SetPermissionOnResource(val NilAddPronunciationDictionaryResponseModelPermissionOnResource)
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 ¶
func (s *AddPronunciationDictionaryResponseModel) Validate() error
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 ¶
func (AddPronunciationDictionaryResponseModelPermissionOnResource) AllValues() []AddPronunciationDictionaryResponseModelPermissionOnResource
AllValues returns all AddPronunciationDictionaryResponseModelPermissionOnResource values.
func (*AddPronunciationDictionaryResponseModelPermissionOnResource) Decode ¶
func (s *AddPronunciationDictionaryResponseModelPermissionOnResource) Decode(d *jx.Decoder) error
Decode decodes AddPronunciationDictionaryResponseModelPermissionOnResource from json.
func (AddPronunciationDictionaryResponseModelPermissionOnResource) Encode ¶
func (s AddPronunciationDictionaryResponseModelPermissionOnResource) Encode(e *jx.Encoder)
Encode encodes AddPronunciationDictionaryResponseModelPermissionOnResource as json.
func (AddPronunciationDictionaryResponseModelPermissionOnResource) MarshalJSON ¶
func (s AddPronunciationDictionaryResponseModelPermissionOnResource) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (AddPronunciationDictionaryResponseModelPermissionOnResource) MarshalText ¶
func (s AddPronunciationDictionaryResponseModelPermissionOnResource) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*AddPronunciationDictionaryResponseModelPermissionOnResource) UnmarshalJSON ¶
func (s *AddPronunciationDictionaryResponseModelPermissionOnResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AddPronunciationDictionaryResponseModelPermissionOnResource) UnmarshalText ¶
func (s *AddPronunciationDictionaryResponseModelPermissionOnResource) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (AddPronunciationDictionaryResponseModelPermissionOnResource) Validate ¶
func (s AddPronunciationDictionaryResponseModelPermissionOnResource) Validate() error
type AddPvcVoiceSamplesOKApplicationJSON ¶
type AddPvcVoiceSamplesOKApplicationJSON []SampleResponseModel
func (*AddPvcVoiceSamplesOKApplicationJSON) Decode ¶
func (s *AddPvcVoiceSamplesOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes AddPvcVoiceSamplesOKApplicationJSON from json.
func (AddPvcVoiceSamplesOKApplicationJSON) Encode ¶
func (s AddPvcVoiceSamplesOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s AddPvcVoiceSamplesOKApplicationJSON) Validate() error
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 ¶
func (s *AddWorkspaceGroupMemberResponseModel) Decode(d *jx.Decoder) error
Decode decodes AddWorkspaceGroupMemberResponseModel from json.
func (*AddWorkspaceGroupMemberResponseModel) Encode ¶
func (s *AddWorkspaceGroupMemberResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AddWorkspaceGroupMemberResponseModel) GetStatus ¶
func (s *AddWorkspaceGroupMemberResponseModel) GetStatus() string
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 ¶
func (s *AddWorkspaceInviteResponseModel) Decode(d *jx.Decoder) error
Decode decodes AddWorkspaceInviteResponseModel from json.
func (*AddWorkspaceInviteResponseModel) Encode ¶
func (s *AddWorkspaceInviteResponseModel) Encode(e *jx.Encoder)
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 ¶
func (s *AdditionalFormatResponseModel) Decode(d *jx.Decoder) error
Decode decodes AdditionalFormatResponseModel from json.
func (*AdditionalFormatResponseModel) Encode ¶
func (s *AdditionalFormatResponseModel) Encode(e *jx.Encoder)
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 ¶
func (s *AgentConfigOverrideInput) GetPrompt() OptPromptAgentAPIModelOverride
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 ¶
func (s *AgentConfigOverrideInput) SetPrompt(val OptPromptAgentAPIModelOverride)
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 ¶
func (s *AgentConfigOverrideOutput) GetPrompt() OptPromptAgentAPIModelOverride
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 ¶
func (s *AgentConfigOverrideOutput) SetPrompt(val OptPromptAgentAPIModelOverride)
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 ¶
func (AgentDefinitionSource) AllValues() []AgentDefinitionSource
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 ¶
func (s *AgentFailureResponseExample) Decode(d *jx.Decoder) error
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 ¶
func (s *AgentFailureResponseExample) GetType() AgentFailureResponseExampleType
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 ¶
func (s *AgentFailureResponseExample) SetType(val AgentFailureResponseExampleType)
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 ¶
func (AgentFailureResponseExampleType) AllValues() []AgentFailureResponseExampleType
AllValues returns all AgentFailureResponseExampleType values.
func (*AgentFailureResponseExampleType) Decode ¶
func (s *AgentFailureResponseExampleType) Decode(d *jx.Decoder) error
Decode decodes AgentFailureResponseExampleType from json.
func (AgentFailureResponseExampleType) Encode ¶
func (s AgentFailureResponseExampleType) Encode(e *jx.Encoder)
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 ¶
func (s AgentFailureResponseExampleType) Validate() error
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 ¶
func (s *AgentSuccessfulResponseExample) Decode(d *jx.Decoder) error
Decode decodes AgentSuccessfulResponseExample from json.
func (*AgentSuccessfulResponseExample) Encode ¶
func (s *AgentSuccessfulResponseExample) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AgentSuccessfulResponseExample) GetResponse ¶
func (s *AgentSuccessfulResponseExample) GetResponse() string
GetResponse returns the value of Response.
func (*AgentSuccessfulResponseExample) GetType ¶
func (s *AgentSuccessfulResponseExample) GetType() AgentSuccessfulResponseExampleType
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 ¶
func (s *AgentSuccessfulResponseExample) SetType(val AgentSuccessfulResponseExampleType)
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 ¶
func (AgentSuccessfulResponseExampleType) AllValues() []AgentSuccessfulResponseExampleType
AllValues returns all AgentSuccessfulResponseExampleType values.
func (*AgentSuccessfulResponseExampleType) Decode ¶
func (s *AgentSuccessfulResponseExampleType) Decode(d *jx.Decoder) error
Decode decodes AgentSuccessfulResponseExampleType from json.
func (AgentSuccessfulResponseExampleType) Encode ¶
func (s AgentSuccessfulResponseExampleType) Encode(e *jx.Encoder)
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 ¶
func (s AgentSuccessfulResponseExampleType) Validate() error
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 ¶
func (s *AsyncConversationMetadata) GetDeliveryStatus() AsyncConversationMetadataDeliveryStatus
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 ¶
func (s *AsyncConversationMetadata) SetDeliveryStatus(val AsyncConversationMetadataDeliveryStatus)
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 ¶
func (AsyncConversationMetadataDeliveryStatus) AllValues() []AsyncConversationMetadataDeliveryStatus
AllValues returns all AsyncConversationMetadataDeliveryStatus values.
func (*AsyncConversationMetadataDeliveryStatus) Decode ¶
func (s *AsyncConversationMetadataDeliveryStatus) Decode(d *jx.Decoder) error
Decode decodes AsyncConversationMetadataDeliveryStatus from json.
func (AsyncConversationMetadataDeliveryStatus) Encode ¶
func (s AsyncConversationMetadataDeliveryStatus) Encode(e *jx.Encoder)
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 ¶
func (s AsyncConversationMetadataDeliveryStatus) Validate() error
type AudioIsolationOK ¶
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 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 ¶
func (s *AudioNativeCreateProjectResponseModel) Decode(d *jx.Decoder) error
Decode decodes AudioNativeCreateProjectResponseModel from json.
func (*AudioNativeCreateProjectResponseModel) Encode ¶
func (s *AudioNativeCreateProjectResponseModel) Encode(e *jx.Encoder)
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 ¶
func (s *AudioNativeCreateProjectResponseModel) GetProjectID() string
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 ¶
func (s *AudioNativeEditContentResponseModel) Decode(d *jx.Decoder) error
Decode decodes AudioNativeEditContentResponseModel from json.
func (*AudioNativeEditContentResponseModel) Encode ¶
func (s *AudioNativeEditContentResponseModel) Encode(e *jx.Encoder)
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 ¶
func (s *AudioNativeProjectSettingsResponseModel) Decode(d *jx.Decoder) error
Decode decodes AudioNativeProjectSettingsResponseModel from json.
func (*AudioNativeProjectSettingsResponseModel) Encode ¶
func (s *AudioNativeProjectSettingsResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AudioNativeProjectSettingsResponseModel) GetAudioPath ¶
func (s *AudioNativeProjectSettingsResponseModel) GetAudioPath() OptNilString
GetAudioPath returns the value of AudioPath.
func (*AudioNativeProjectSettingsResponseModel) GetAudioURL ¶
func (s *AudioNativeProjectSettingsResponseModel) GetAudioURL() OptNilString
GetAudioURL returns the value of AudioURL.
func (*AudioNativeProjectSettingsResponseModel) GetAuthor ¶
func (s *AudioNativeProjectSettingsResponseModel) GetAuthor() string
GetAuthor returns the value of Author.
func (*AudioNativeProjectSettingsResponseModel) GetBackgroundColor ¶
func (s *AudioNativeProjectSettingsResponseModel) GetBackgroundColor() string
GetBackgroundColor returns the value of BackgroundColor.
func (*AudioNativeProjectSettingsResponseModel) GetImage ¶
func (s *AudioNativeProjectSettingsResponseModel) GetImage() string
GetImage returns the value of Image.
func (*AudioNativeProjectSettingsResponseModel) GetSessionization ¶
func (s *AudioNativeProjectSettingsResponseModel) GetSessionization() int
GetSessionization returns the value of Sessionization.
func (*AudioNativeProjectSettingsResponseModel) GetSmall ¶
func (s *AudioNativeProjectSettingsResponseModel) GetSmall() bool
GetSmall returns the value of Small.
func (*AudioNativeProjectSettingsResponseModel) GetStatus ¶
func (s *AudioNativeProjectSettingsResponseModel) GetStatus() OptAudioNativeProjectSettingsResponseModelStatus
GetStatus returns the value of Status.
func (*AudioNativeProjectSettingsResponseModel) GetTextColor ¶
func (s *AudioNativeProjectSettingsResponseModel) GetTextColor() string
GetTextColor returns the value of TextColor.
func (*AudioNativeProjectSettingsResponseModel) GetTitle ¶
func (s *AudioNativeProjectSettingsResponseModel) GetTitle() string
GetTitle returns the value of Title.
func (*AudioNativeProjectSettingsResponseModel) MarshalJSON ¶
func (s *AudioNativeProjectSettingsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AudioNativeProjectSettingsResponseModel) SetAudioPath ¶
func (s *AudioNativeProjectSettingsResponseModel) SetAudioPath(val OptNilString)
SetAudioPath sets the value of AudioPath.
func (*AudioNativeProjectSettingsResponseModel) SetAudioURL ¶
func (s *AudioNativeProjectSettingsResponseModel) SetAudioURL(val OptNilString)
SetAudioURL sets the value of AudioURL.
func (*AudioNativeProjectSettingsResponseModel) SetAuthor ¶
func (s *AudioNativeProjectSettingsResponseModel) SetAuthor(val string)
SetAuthor sets the value of Author.
func (*AudioNativeProjectSettingsResponseModel) SetBackgroundColor ¶
func (s *AudioNativeProjectSettingsResponseModel) SetBackgroundColor(val string)
SetBackgroundColor sets the value of BackgroundColor.
func (*AudioNativeProjectSettingsResponseModel) SetImage ¶
func (s *AudioNativeProjectSettingsResponseModel) SetImage(val string)
SetImage sets the value of Image.
func (*AudioNativeProjectSettingsResponseModel) SetSessionization ¶
func (s *AudioNativeProjectSettingsResponseModel) SetSessionization(val int)
SetSessionization sets the value of Sessionization.
func (*AudioNativeProjectSettingsResponseModel) SetSmall ¶
func (s *AudioNativeProjectSettingsResponseModel) SetSmall(val bool)
SetSmall sets the value of Small.
func (*AudioNativeProjectSettingsResponseModel) SetStatus ¶
func (s *AudioNativeProjectSettingsResponseModel) SetStatus(val OptAudioNativeProjectSettingsResponseModelStatus)
SetStatus sets the value of Status.
func (*AudioNativeProjectSettingsResponseModel) SetTextColor ¶
func (s *AudioNativeProjectSettingsResponseModel) SetTextColor(val string)
SetTextColor sets the value of TextColor.
func (*AudioNativeProjectSettingsResponseModel) SetTitle ¶
func (s *AudioNativeProjectSettingsResponseModel) SetTitle(val string)
SetTitle sets the value of Title.
func (*AudioNativeProjectSettingsResponseModel) UnmarshalJSON ¶
func (s *AudioNativeProjectSettingsResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AudioNativeProjectSettingsResponseModel) Validate ¶
func (s *AudioNativeProjectSettingsResponseModel) Validate() error
type AudioNativeProjectSettingsResponseModelStatus ¶
type AudioNativeProjectSettingsResponseModelStatus string
Current state of the project.
const ( AudioNativeProjectSettingsResponseModelStatusProcessing AudioNativeProjectSettingsResponseModelStatus = "processing" AudioNativeProjectSettingsResponseModelStatusReady AudioNativeProjectSettingsResponseModelStatus = "ready" )
func (AudioNativeProjectSettingsResponseModelStatus) AllValues ¶
func (AudioNativeProjectSettingsResponseModelStatus) AllValues() []AudioNativeProjectSettingsResponseModelStatus
AllValues returns all AudioNativeProjectSettingsResponseModelStatus values.
func (*AudioNativeProjectSettingsResponseModelStatus) Decode ¶
func (s *AudioNativeProjectSettingsResponseModelStatus) Decode(d *jx.Decoder) error
Decode decodes AudioNativeProjectSettingsResponseModelStatus from json.
func (AudioNativeProjectSettingsResponseModelStatus) Encode ¶
func (s AudioNativeProjectSettingsResponseModelStatus) Encode(e *jx.Encoder)
Encode encodes AudioNativeProjectSettingsResponseModelStatus as json.
func (AudioNativeProjectSettingsResponseModelStatus) MarshalJSON ¶
func (s AudioNativeProjectSettingsResponseModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (AudioNativeProjectSettingsResponseModelStatus) MarshalText ¶
func (s AudioNativeProjectSettingsResponseModelStatus) MarshalText() ([]byte, error)
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 ¶
func (s AudioNativeProjectSettingsResponseModelStatus) Validate() error
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 ¶
func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) Decode(d *jx.Decoder) error
Decode decodes AudioWithTimestampsAndVoiceSegmentsResponseModel from json.
func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) Encode ¶
func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) GetAlignment ¶
func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) GetAlignment() OptCharacterAlignmentResponseModel
GetAlignment returns the value of Alignment.
func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) GetAudioBase64 ¶
func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) GetAudioBase64() string
GetAudioBase64 returns the value of AudioBase64.
func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) GetNormalizedAlignment ¶
func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) GetNormalizedAlignment() OptCharacterAlignmentResponseModel
GetNormalizedAlignment returns the value of NormalizedAlignment.
func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) GetVoiceSegments ¶
func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) GetVoiceSegments() []VoiceSegment
GetVoiceSegments returns the value of VoiceSegments.
func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) MarshalJSON ¶
func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) SetAlignment ¶
func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) SetAlignment(val OptCharacterAlignmentResponseModel)
SetAlignment sets the value of Alignment.
func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) SetAudioBase64 ¶
func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) SetAudioBase64(val string)
SetAudioBase64 sets the value of AudioBase64.
func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) SetNormalizedAlignment ¶
func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) SetNormalizedAlignment(val OptCharacterAlignmentResponseModel)
SetNormalizedAlignment sets the value of NormalizedAlignment.
func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) SetVoiceSegments ¶
func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) SetVoiceSegments(val []VoiceSegment)
SetVoiceSegments sets the value of VoiceSegments.
func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) UnmarshalJSON ¶
func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AudioWithTimestampsAndVoiceSegmentsResponseModel) Validate ¶
func (s *AudioWithTimestampsAndVoiceSegmentsResponseModel) Validate() error
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 ¶
func (s *AudioWithTimestampsResponseModel) Decode(d *jx.Decoder) error
Decode decodes AudioWithTimestampsResponseModel from json.
func (*AudioWithTimestampsResponseModel) Encode ¶
func (s *AudioWithTimestampsResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AudioWithTimestampsResponseModel) GetAlignment ¶
func (s *AudioWithTimestampsResponseModel) GetAlignment() OptCharacterAlignmentResponseModel
GetAlignment returns the value of Alignment.
func (*AudioWithTimestampsResponseModel) GetAudioBase64 ¶
func (s *AudioWithTimestampsResponseModel) GetAudioBase64() string
GetAudioBase64 returns the value of AudioBase64.
func (*AudioWithTimestampsResponseModel) GetNormalizedAlignment ¶
func (s *AudioWithTimestampsResponseModel) GetNormalizedAlignment() OptCharacterAlignmentResponseModel
GetNormalizedAlignment returns the value of NormalizedAlignment.
func (*AudioWithTimestampsResponseModel) MarshalJSON ¶
func (s *AudioWithTimestampsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AudioWithTimestampsResponseModel) SetAlignment ¶
func (s *AudioWithTimestampsResponseModel) SetAlignment(val OptCharacterAlignmentResponseModel)
SetAlignment sets the value of Alignment.
func (*AudioWithTimestampsResponseModel) SetAudioBase64 ¶
func (s *AudioWithTimestampsResponseModel) SetAudioBase64(val string)
SetAudioBase64 sets the value of AudioBase64.
func (*AudioWithTimestampsResponseModel) SetNormalizedAlignment ¶
func (s *AudioWithTimestampsResponseModel) SetNormalizedAlignment(val OptCharacterAlignmentResponseModel)
SetNormalizedAlignment sets the value of NormalizedAlignment.
func (*AudioWithTimestampsResponseModel) UnmarshalJSON ¶
func (s *AudioWithTimestampsResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AudioWithTimestampsResponseModel) Validate ¶
func (s *AudioWithTimestampsResponseModel) Validate() error
type AuthorizationMethod ¶
type AuthorizationMethod string
Ref: #/components/schemas/AuthorizationMethod
const ( AuthorizationMethodInvalid AuthorizationMethod = "invalid" AuthorizationMethodPublic AuthorizationMethod = "public" AuthorizationMethodAuthorizationHeader AuthorizationMethod = "authorization_header" AuthorizationMethodSignedURL AuthorizationMethod = "signed_url" AuthorizationMethodLivekitToken AuthorizationMethod = "livekit_token" AuthorizationMethodLivekitTokenWebsite AuthorizationMethod = "livekit_token_website" AuthorizationMethodGenesysAPIKey AuthorizationMethod = "genesys_api_key" AuthorizationMethodWhatsapp AuthorizationMethod = "whatsapp" )
func (AuthorizationMethod) AllValues ¶
func (AuthorizationMethod) AllValues() []AuthorizationMethod
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 ¶
func (s *BatchCallDetailedResponse) GetRecipients() []OutboundCallRecipientResponseModel
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 ¶
func (s *BatchCallDetailedResponse) GetStatus() BatchCallStatus
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 ¶
func (s *BatchCallDetailedResponse) GetWhatsappParams() OptBatchCallWhatsAppParams
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 ¶
func (s *BatchCallDetailedResponse) SetRecipients(val []OutboundCallRecipientResponseModel)
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 ¶
func (BatchCallRecipientStatus) AllValues() []BatchCallRecipientStatus
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 ¶
func (s *BatchFailureResponseModel) GetStatus() BatchFailureResponseModelStatus
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 ¶
func (s *BatchFailureResponseModel) SetStatus(val BatchFailureResponseModelStatus)
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 ¶
func (BatchFailureResponseModelStatus) AllValues() []BatchFailureResponseModelStatus
AllValues returns all BatchFailureResponseModelStatus values.
func (*BatchFailureResponseModelStatus) Decode ¶
func (s *BatchFailureResponseModelStatus) Decode(d *jx.Decoder) error
Decode decodes BatchFailureResponseModelStatus from json.
func (BatchFailureResponseModelStatus) Encode ¶
func (s BatchFailureResponseModelStatus) Encode(e *jx.Encoder)
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 ¶
func (s BatchFailureResponseModelStatus) Validate() error
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 ¶
func (s *BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) Decode(d *jx.Decoder) error
Decode decodes BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost from json.
func (*BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) Encode ¶
func (s *BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) GetLanguage ¶
func (s *BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) GetLanguage() NilString
GetLanguage returns the value of Language.
func (*BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) MarshalJSON ¶
func (s *BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) SetLanguage ¶
func (s *BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) SetLanguage(val NilString)
SetLanguage sets the value of Language.
func (*BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) UnmarshalJSON ¶
func (s *BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost) UnmarshalJSON(data []byte) error
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 ¶
func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) GetFile ¶
func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) GetFile() OptNilString
GetFile returns the value of File.
func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) GetName ¶
func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) GetName() string
GetName returns the value of Name.
func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) GetWorkspaceAccess ¶
func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) GetWorkspaceAccess() OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess
GetWorkspaceAccess returns the value of WorkspaceAccess.
func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) SetDescription ¶
func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) SetFile ¶
func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) SetFile(val OptNilString)
SetFile sets the value of File.
func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) SetName ¶
func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) SetName(val string)
SetName sets the value of Name.
func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) SetWorkspaceAccess ¶
func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) SetWorkspaceAccess(val OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess)
SetWorkspaceAccess sets the value of WorkspaceAccess.
func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) Validate ¶
func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart) Validate() error
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 ¶
func (BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) AllValues() []BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess
AllValues returns all BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess values.
func (BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) MarshalText ¶
func (s BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) UnmarshalText ¶
func (s *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
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 ¶
func (s *BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) Decode(d *jx.Decoder) error
Decode decodes BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost from json.
func (*BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) Encode ¶
func (s *BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) GetEmail ¶
func (s *BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) GetEmail() string
GetEmail returns the value of Email.
func (*BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) MarshalJSON ¶
func (s *BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) SetEmail ¶
func (s *BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) SetEmail(val string)
SetEmail sets the value of Email.
func (*BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) UnmarshalJSON ¶
func (s *BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost) UnmarshalJSON(data []byte) error
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 ¶
func (s *BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart) GetFiles() []ht.MultipartFile
GetFiles returns the value of Files.
func (*BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart) GetRemoveBackgroundNoise ¶
func (s *BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart) GetRemoveBackgroundNoise() OptBool
GetRemoveBackgroundNoise returns the value of RemoveBackgroundNoise.
func (*BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart) SetFiles ¶
func (s *BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart) SetFiles(val []ht.MultipartFile)
SetFiles sets the value of Files.
func (*BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart) SetRemoveBackgroundNoise ¶
func (s *BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart) SetRemoveBackgroundNoise(val OptBool)
SetRemoveBackgroundNoise sets the value of RemoveBackgroundNoise.
type BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost ¶
type BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost struct {
NewName string `json:"new_name"`
}
Ref: #/components/schemas/Body_Add_shared_voice_v1_voices_add__public_user_id___voice_id__post
func (*BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) Decode ¶
func (s *BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) Decode(d *jx.Decoder) error
Decode decodes BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost from json.
func (*BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) Encode ¶
func (s *BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) GetNewName ¶
func (s *BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) GetNewName() string
GetNewName returns the value of NewName.
func (*BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) MarshalJSON ¶
func (s *BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) SetNewName ¶
func (s *BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) SetNewName(val string)
SetNewName sets the value of NewName.
func (*BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) UnmarshalJSON ¶
func (s *BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost) UnmarshalJSON(data []byte) error
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 ¶
func (s *BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) GetFile() OptMultipartFile
GetFile returns the value of File.
func (*BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) GetName ¶
func (s *BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) GetName() OptNilString
GetName returns the value of Name.
func (*BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) GetURL ¶
func (s *BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) GetURL() OptString
GetURL returns the value of URL.
func (*BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) SetFile ¶
func (s *BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) SetFile(val OptMultipartFile)
SetFile sets the value of File.
func (*BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) SetName ¶
func (s *BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) SetName(val OptNilString)
SetName sets the value of Name.
func (*BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) SetURL ¶
func (s *BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) SetURL(val OptString)
SetURL sets the value of URL.
func (*BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) Validate ¶
func (s *BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) Validate() error
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 ¶
func (s *BodyAddVoiceV1VoicesAddPostMultipart) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*BodyAddVoiceV1VoicesAddPostMultipart) GetFiles ¶
func (s *BodyAddVoiceV1VoicesAddPostMultipart) GetFiles() []ht.MultipartFile
GetFiles returns the value of Files.
func (*BodyAddVoiceV1VoicesAddPostMultipart) GetLabels ¶
func (s *BodyAddVoiceV1VoicesAddPostMultipart) GetLabels() OptNilString
GetLabels returns the value of Labels.
func (*BodyAddVoiceV1VoicesAddPostMultipart) GetName ¶
func (s *BodyAddVoiceV1VoicesAddPostMultipart) GetName() string
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 ¶
func (s *BodyAddVoiceV1VoicesAddPostMultipart) SetFiles(val []ht.MultipartFile)
SetFiles sets the value of Files.
func (*BodyAddVoiceV1VoicesAddPostMultipart) SetLabels ¶
func (s *BodyAddVoiceV1VoicesAddPostMultipart) SetLabels(val OptNilString)
SetLabels sets the value of Labels.
func (*BodyAddVoiceV1VoicesAddPostMultipart) SetName ¶
func (s *BodyAddVoiceV1VoicesAddPostMultipart) SetName(val string)
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 ¶
func (s *BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) GetAudio() ht.MultipartFile
GetAudio returns the value of Audio.
func (*BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) GetFileFormat ¶
func (s *BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) GetFileFormat() OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat
GetFileFormat returns the value of FileFormat.
func (*BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) SetAudio ¶
func (s *BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) SetAudio(val ht.MultipartFile)
SetAudio sets the value of Audio.
func (*BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) SetFileFormat ¶
func (s *BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) SetFileFormat(val OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat)
SetFileFormat sets the value of FileFormat.
func (*BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) Validate ¶
func (s *BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart) Validate() error
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 ¶
func (BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) AllValues() []BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat
AllValues returns all BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat values.
func (BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) MarshalText ¶
func (s BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) UnmarshalText ¶
func (s *BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) Validate ¶
func (s BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) Validate() error
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 ¶
func (s *BodyAudioIsolationV1AudioIsolationPostMultipart) GetAudio() ht.MultipartFile
GetAudio returns the value of Audio.
func (*BodyAudioIsolationV1AudioIsolationPostMultipart) GetFileFormat ¶
func (s *BodyAudioIsolationV1AudioIsolationPostMultipart) GetFileFormat() OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat
GetFileFormat returns the value of FileFormat.
func (*BodyAudioIsolationV1AudioIsolationPostMultipart) GetPreviewB64 ¶
func (s *BodyAudioIsolationV1AudioIsolationPostMultipart) GetPreviewB64() OptNilString
GetPreviewB64 returns the value of PreviewB64.
func (*BodyAudioIsolationV1AudioIsolationPostMultipart) SetAudio ¶
func (s *BodyAudioIsolationV1AudioIsolationPostMultipart) SetAudio(val ht.MultipartFile)
SetAudio sets the value of Audio.
func (*BodyAudioIsolationV1AudioIsolationPostMultipart) SetFileFormat ¶
func (s *BodyAudioIsolationV1AudioIsolationPostMultipart) SetFileFormat(val OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat)
SetFileFormat sets the value of FileFormat.
func (*BodyAudioIsolationV1AudioIsolationPostMultipart) SetPreviewB64 ¶
func (s *BodyAudioIsolationV1AudioIsolationPostMultipart) SetPreviewB64(val OptNilString)
SetPreviewB64 sets the value of PreviewB64.
func (*BodyAudioIsolationV1AudioIsolationPostMultipart) Validate ¶
func (s *BodyAudioIsolationV1AudioIsolationPostMultipart) Validate() error
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 ¶
func (BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) AllValues() []BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat
AllValues returns all BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat values.
func (BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) MarshalText ¶
func (s BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) UnmarshalText ¶
func (s *BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) Validate ¶
func (s BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) Validate() error
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 ¶
func (s *BodyComposeMusicV1MusicPost) Decode(d *jx.Decoder) error
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 ¶
func (s *BodyComposeMusicV1MusicPost) GetModelID() OptBodyComposeMusicV1MusicPostModelID
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 ¶
func (s *BodyComposeMusicV1MusicPost) GetPrompt() OptNilString
GetPrompt returns the value of Prompt.
func (*BodyComposeMusicV1MusicPost) GetRespectSectionsDurations ¶
func (s *BodyComposeMusicV1MusicPost) GetRespectSectionsDurations() OptBool
GetRespectSectionsDurations returns the value of RespectSectionsDurations.
func (*BodyComposeMusicV1MusicPost) GetSeed ¶
func (s *BodyComposeMusicV1MusicPost) GetSeed() OptNilInt
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 ¶
func (s *BodyComposeMusicV1MusicPost) SetModelID(val OptBodyComposeMusicV1MusicPostModelID)
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 ¶
func (BodyComposeMusicV1MusicPostModelID) AllValues() []BodyComposeMusicV1MusicPostModelID
AllValues returns all BodyComposeMusicV1MusicPostModelID values.
func (*BodyComposeMusicV1MusicPostModelID) Decode ¶
func (s *BodyComposeMusicV1MusicPostModelID) Decode(d *jx.Decoder) error
Decode decodes BodyComposeMusicV1MusicPostModelID from json.
func (BodyComposeMusicV1MusicPostModelID) Encode ¶
func (s BodyComposeMusicV1MusicPostModelID) Encode(e *jx.Encoder)
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 ¶
func (s BodyComposeMusicV1MusicPostModelID) Validate() error
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 ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Decode(d *jx.Decoder) error
Decode decodes BodyComposeMusicWithADetailedResponseV1MusicDetailedPost from json.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Encode ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetCompositionPlan ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetCompositionPlan() OptMusicPrompt
GetCompositionPlan returns the value of CompositionPlan.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetFinetuneID ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetFinetuneID() OptNilString
GetFinetuneID returns the value of FinetuneID.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetForceInstrumental ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetForceInstrumental() OptBool
GetForceInstrumental returns the value of ForceInstrumental.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetModelID ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetModelID() OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID
GetModelID returns the value of ModelID.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetMusicLengthMs ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetMusicLengthMs() OptNilInt
GetMusicLengthMs returns the value of MusicLengthMs.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetMusicPrompt ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetMusicPrompt() OptMusicPrompt
GetMusicPrompt returns the value of MusicPrompt.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetPrompt ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetPrompt() OptNilString
GetPrompt returns the value of Prompt.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetSeed ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetSeed() OptNilInt
GetSeed returns the value of Seed.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetSignWithC2pa ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetSignWithC2pa() OptBool
GetSignWithC2pa returns the value of SignWithC2pa.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetStoreForInpainting ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetStoreForInpainting() OptBool
GetStoreForInpainting returns the value of StoreForInpainting.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetWithTimestamps ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) GetWithTimestamps() OptBool
GetWithTimestamps returns the value of WithTimestamps.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) MarshalJSON ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetCompositionPlan ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetCompositionPlan(val OptMusicPrompt)
SetCompositionPlan sets the value of CompositionPlan.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetFinetuneID ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetFinetuneID(val OptNilString)
SetFinetuneID sets the value of FinetuneID.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetForceInstrumental ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetForceInstrumental(val OptBool)
SetForceInstrumental sets the value of ForceInstrumental.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetModelID ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetModelID(val OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID)
SetModelID sets the value of ModelID.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetMusicLengthMs ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetMusicLengthMs(val OptNilInt)
SetMusicLengthMs sets the value of MusicLengthMs.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetMusicPrompt ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetMusicPrompt(val OptMusicPrompt)
SetMusicPrompt sets the value of MusicPrompt.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetPrompt ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetPrompt(val OptNilString)
SetPrompt sets the value of Prompt.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetSeed ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetSeed(val OptNilInt)
SetSeed sets the value of Seed.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetSignWithC2pa ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetSignWithC2pa(val OptBool)
SetSignWithC2pa sets the value of SignWithC2pa.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetStoreForInpainting ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetStoreForInpainting(val OptBool)
SetStoreForInpainting sets the value of StoreForInpainting.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetWithTimestamps ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetWithTimestamps(val OptBool)
SetWithTimestamps sets the value of WithTimestamps.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) UnmarshalJSON ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Validate ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Validate() error
type BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID ¶
type BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID string
The model to use for the generation.
const (
BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelIDMusicV1 BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID = "music_v1"
)
func (BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) AllValues ¶
func (BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) AllValues() []BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID
AllValues returns all BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID values.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Decode ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Decode(d *jx.Decoder) error
Decode decodes BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID from json.
func (BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Encode ¶
func (s BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Encode(e *jx.Encoder)
Encode encodes BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID as json.
func (BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) MarshalJSON ¶
func (s BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) MarshalText ¶
func (s BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) UnmarshalJSON ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) UnmarshalText ¶
func (s *BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Validate ¶
func (s BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Validate() error
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 ¶
func (s *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) Decode(d *jx.Decoder) error
Decode decodes BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost from json.
func (*BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) Encode ¶
func (s *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) GetItems ¶
func (s *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) GetItems() []GetOrCreateRAGIndexRequestModel
GetItems returns the value of Items.
func (*BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) MarshalJSON ¶
func (s *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) SetItems ¶
func (s *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) SetItems(val []GetOrCreateRAGIndexRequestModel)
SetItems sets the value of Items.
func (*BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) UnmarshalJSON ¶
func (s *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) Validate ¶
func (s *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost) Validate() error
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 ¶
func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Decode(d *jx.Decoder) error
Decode decodes BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost from json.
func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Encode ¶
func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetSpeakerName ¶
func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetSpeakerName() OptNilString
GetSpeakerName returns the value of SpeakerName.
func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetVoiceID ¶
func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetVoiceID() OptNilString
GetVoiceID returns the value of VoiceID.
func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetVoiceSimilarity ¶
func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetVoiceSimilarity() OptNilFloat64
GetVoiceSimilarity returns the value of VoiceSimilarity.
func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetVoiceStability ¶
func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetVoiceStability() OptNilFloat64
GetVoiceStability returns the value of VoiceStability.
func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetVoiceStyle ¶
func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) GetVoiceStyle() OptNilFloat64
GetVoiceStyle returns the value of VoiceStyle.
func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) MarshalJSON ¶
func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetSpeakerName ¶
func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetSpeakerName(val OptNilString)
SetSpeakerName sets the value of SpeakerName.
func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetVoiceID ¶
func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetVoiceID(val OptNilString)
SetVoiceID sets the value of VoiceID.
func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetVoiceSimilarity ¶
func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetVoiceSimilarity(val OptNilFloat64)
SetVoiceSimilarity sets the value of VoiceSimilarity.
func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetVoiceStability ¶
func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetVoiceStability(val OptNilFloat64)
SetVoiceStability sets the value of VoiceStability.
func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetVoiceStyle ¶
func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetVoiceStyle(val OptNilFloat64)
SetVoiceStyle sets the value of VoiceStyle.
func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) UnmarshalJSON ¶
func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Validate ¶
func (s *BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Validate() error
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 ¶
func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) Decode(d *jx.Decoder) error
Decode decodes BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost from json.
func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) Encode ¶
func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetGeneratedVoiceID ¶
func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetGeneratedVoiceID() string
GetGeneratedVoiceID returns the value of GeneratedVoiceID.
func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetLabels ¶
func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetLabels() OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels
GetLabels returns the value of Labels.
func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetPlayedNotSelectedVoiceIds ¶
func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetPlayedNotSelectedVoiceIds() OptNilStringArray
GetPlayedNotSelectedVoiceIds returns the value of PlayedNotSelectedVoiceIds.
func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetVoiceDescription ¶
func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetVoiceDescription() string
GetVoiceDescription returns the value of VoiceDescription.
func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetVoiceName ¶
func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) GetVoiceName() string
GetVoiceName returns the value of VoiceName.
func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) MarshalJSON ¶
func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetGeneratedVoiceID ¶
func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetGeneratedVoiceID(val string)
SetGeneratedVoiceID sets the value of GeneratedVoiceID.
func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetLabels ¶
func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetLabels(val OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels)
SetLabels sets the value of Labels.
func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetPlayedNotSelectedVoiceIds ¶
func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetPlayedNotSelectedVoiceIds(val OptNilStringArray)
SetPlayedNotSelectedVoiceIds sets the value of PlayedNotSelectedVoiceIds.
func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetVoiceDescription ¶
func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetVoiceDescription(val string)
SetVoiceDescription sets the value of VoiceDescription.
func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetVoiceName ¶
func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) SetVoiceName(val string)
SetVoiceName sets the value of VoiceName.
func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) UnmarshalJSON ¶
func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) Validate ¶
func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost) Validate() error
type BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels ¶
Optional, metadata to add to the created voice. Defaults to None.
func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Decode ¶
func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Decode(d *jx.Decoder) error
Decode decodes BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels from json.
func (BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Encode ¶
func (s BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) MarshalJSON ¶
func (s BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) UnmarshalJSON ¶
func (s *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) UnmarshalJSON(data []byte) error
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 ¶
func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) Decode(d *jx.Decoder) error
Decode decodes BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost from json.
func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) Encode ¶
func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetGeneratedVoiceID ¶
func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetGeneratedVoiceID() string
GetGeneratedVoiceID returns the value of GeneratedVoiceID.
func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetLabels ¶
func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetLabels() OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels
GetLabels returns the value of Labels.
func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetPlayedNotSelectedVoiceIds ¶
func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetPlayedNotSelectedVoiceIds() OptNilStringArray
GetPlayedNotSelectedVoiceIds returns the value of PlayedNotSelectedVoiceIds.
func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetVoiceDescription ¶
func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetVoiceDescription() string
GetVoiceDescription returns the value of VoiceDescription.
func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetVoiceName ¶
func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) GetVoiceName() string
GetVoiceName returns the value of VoiceName.
func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) MarshalJSON ¶
func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetGeneratedVoiceID ¶
func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetGeneratedVoiceID(val string)
SetGeneratedVoiceID sets the value of GeneratedVoiceID.
func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetLabels ¶
func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetLabels(val OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels)
SetLabels sets the value of Labels.
func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetPlayedNotSelectedVoiceIds ¶
func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetPlayedNotSelectedVoiceIds(val OptNilStringArray)
SetPlayedNotSelectedVoiceIds sets the value of PlayedNotSelectedVoiceIds.
func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetVoiceDescription ¶
func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetVoiceDescription(val string)
SetVoiceDescription sets the value of VoiceDescription.
func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetVoiceName ¶
func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) SetVoiceName(val string)
SetVoiceName sets the value of VoiceName.
func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) UnmarshalJSON ¶
func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) Validate ¶
func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost) Validate() error
type BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels ¶
Optional, metadata to add to the created voice. Defaults to None.
func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Decode ¶
func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Decode(d *jx.Decoder) error
Decode decodes BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels from json.
func (BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Encode ¶
func (s BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) MarshalJSON ¶
func (s BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) UnmarshalJSON ¶
func (s *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) UnmarshalJSON(data []byte) error
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 ¶
func (s *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) GetFile() ht.MultipartFile
GetFile returns the value of File.
func (*BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) GetName ¶
func (s *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) GetName() OptNilString
GetName returns the value of Name.
func (*BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) GetParentFolderID ¶
func (s *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) GetParentFolderID() OptNilString
GetParentFolderID returns the value of ParentFolderID.
func (*BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) SetFile ¶
func (s *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) SetFile(val ht.MultipartFile)
SetFile sets the value of File.
func (*BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) SetName ¶
func (s *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) SetName(val OptNilString)
SetName sets the value of Name.
func (*BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) SetParentFolderID ¶
func (s *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) SetParentFolderID(val OptNilString)
SetParentFolderID sets the value of ParentFolderID.
func (*BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) Validate ¶
func (s *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart) Validate() error
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 ¶
func (s *BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) GetEnabledSpooledFile() OptBool
GetEnabledSpooledFile returns the value of EnabledSpooledFile.
func (*BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) GetFile ¶
func (s *BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) GetFile() ht.MultipartFile
GetFile returns the value of File.
func (*BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) GetText ¶
func (s *BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) GetText() string
GetText returns the value of Text.
func (*BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) SetEnabledSpooledFile ¶
func (s *BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) SetEnabledSpooledFile(val OptBool)
SetEnabledSpooledFile sets the value of EnabledSpooledFile.
func (*BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) SetFile ¶
func (s *BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) SetFile(val ht.MultipartFile)
SetFile sets the value of File.
func (*BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) SetText ¶
func (s *BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart) SetText(val string)
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 ¶
func (s *BodyCreatePVCVoiceV1VoicesPvcPost) Decode(d *jx.Decoder) error
Decode decodes BodyCreatePVCVoiceV1VoicesPvcPost from json.
func (*BodyCreatePVCVoiceV1VoicesPvcPost) Encode ¶
func (s *BodyCreatePVCVoiceV1VoicesPvcPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyCreatePVCVoiceV1VoicesPvcPost) GetDescription ¶
func (s *BodyCreatePVCVoiceV1VoicesPvcPost) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*BodyCreatePVCVoiceV1VoicesPvcPost) GetLabels ¶
func (s *BodyCreatePVCVoiceV1VoicesPvcPost) GetLabels() OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels
GetLabels returns the value of Labels.
func (*BodyCreatePVCVoiceV1VoicesPvcPost) GetLanguage ¶
func (s *BodyCreatePVCVoiceV1VoicesPvcPost) GetLanguage() string
GetLanguage returns the value of Language.
func (*BodyCreatePVCVoiceV1VoicesPvcPost) GetName ¶
func (s *BodyCreatePVCVoiceV1VoicesPvcPost) GetName() string
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 ¶
func (s *BodyCreatePVCVoiceV1VoicesPvcPost) SetLabels(val OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels)
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 ¶
func (s *BodyCreatePVCVoiceV1VoicesPvcPost) Validate() error
type BodyCreatePVCVoiceV1VoicesPvcPostLabels ¶
Serialized labels dictionary for the voice.
func (*BodyCreatePVCVoiceV1VoicesPvcPostLabels) Decode ¶
func (s *BodyCreatePVCVoiceV1VoicesPvcPostLabels) Decode(d *jx.Decoder) error
Decode decodes BodyCreatePVCVoiceV1VoicesPvcPostLabels from json.
func (BodyCreatePVCVoiceV1VoicesPvcPostLabels) Encode ¶
func (s BodyCreatePVCVoiceV1VoicesPvcPostLabels) Encode(e *jx.Encoder)
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 ¶
func (s *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) Decode(d *jx.Decoder) error
Decode decodes BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost from json.
func (*BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) Encode ¶
func (s *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) GetInvalidateAffectedText ¶
func (s *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) GetInvalidateAffectedText() OptBool
GetInvalidateAffectedText returns the value of InvalidateAffectedText.
func (*BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) GetPronunciationDictionaryLocators ¶
func (s *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) GetPronunciationDictionaryLocators() []PronunciationDictionaryVersionLocatorDBModel
GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.
func (*BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) MarshalJSON ¶
func (s *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) SetInvalidateAffectedText ¶
func (s *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) SetInvalidateAffectedText(val OptBool)
SetInvalidateAffectedText sets the value of InvalidateAffectedText.
func (*BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) SetPronunciationDictionaryLocators ¶
func (s *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) SetPronunciationDictionaryLocators(val []PronunciationDictionaryVersionLocatorDBModel)
SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.
func (*BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) UnmarshalJSON ¶
func (s *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) Decode(d *jx.Decoder) error
Decode decodes BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost from json.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) Encode ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) GetCharacterLimit ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) GetCharacterLimit() OptNilInt
GetCharacterLimit returns the value of CharacterLimit.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) GetName ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) GetName() string
GetName returns the value of Name.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) GetPermissions ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) GetPermissions() BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions
GetPermissions returns the value of Permissions.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) MarshalJSON ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) SetCharacterLimit ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) SetCharacterLimit(val OptNilInt)
SetCharacterLimit sets the value of CharacterLimit.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) SetName ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) SetName(val string)
SetName sets the value of Name.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) SetPermissions ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) SetPermissions(val BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions)
SetPermissions sets the value of Permissions.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) UnmarshalJSON ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) Validate ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost) Validate() error
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 ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) Decode(d *jx.Decoder) error
Decode decodes BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions from json.
func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) Encode ¶
func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) Encode(e *jx.Encoder)
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 ¶
func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) GetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1() (v BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1, ok bool)
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 ¶
func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) SetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArray ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) SetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArray(v []BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item)
SetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0ItemArray sets BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions to []BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) SetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1 ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) SetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1(v BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1)
SetBodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1 sets BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions to BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) UnmarshalJSON ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) AllValues() []BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item
AllValues returns all BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item values.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) Decode ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) Decode(d *jx.Decoder) error
Decode decodes BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item from json.
func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) Encode ¶
func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) Encode(e *jx.Encoder)
Encode encodes BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item as json.
func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) MarshalJSON ¶
func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) MarshalText ¶
func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) UnmarshalJSON ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) UnmarshalText ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions0Item) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
type BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1 ¶
type BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1 string
const (
BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1All BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1 = "all"
)
func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) AllValues ¶
func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) AllValues() []BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1
AllValues returns all BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1 values.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) Decode ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) Decode(d *jx.Decoder) error
Decode decodes BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1 from json.
func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) Encode ¶
func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) Encode(e *jx.Encoder)
Encode encodes BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1 as json.
func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) MarshalJSON ¶
func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) MarshalText ¶
func (s BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) UnmarshalJSON ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) UnmarshalText ¶
func (s *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPostPermissions1) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
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 ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetApplyTextNormalization() OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization
GetApplyTextNormalization returns the value of ApplyTextNormalization.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetAuthor ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetAuthor() OptNilString
GetAuthor returns the value of Author.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetAutoAssignVoices ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetAutoAssignVoices() OptNilBool
GetAutoAssignVoices returns the value of AutoAssignVoices.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetAutoConvert ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetAutoConvert() OptBool
GetAutoConvert returns the value of AutoConvert.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetCallbackURL ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetCallbackURL() OptNilString
GetCallbackURL returns the value of CallbackURL.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetContentType ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetContentType() OptNilString
GetContentType returns the value of ContentType.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetDefaultModelID ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetDefaultModelID() OptNilString
GetDefaultModelID returns the value of DefaultModelID.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetDefaultParagraphVoiceID ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetDefaultParagraphVoiceID() OptNilString
GetDefaultParagraphVoiceID returns the value of DefaultParagraphVoiceID.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetDefaultTitleVoiceID ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetDefaultTitleVoiceID() OptNilString
GetDefaultTitleVoiceID returns the value of DefaultTitleVoiceID.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetDescription ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetFiction ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetFiction() OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction
GetFiction returns the value of Fiction.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetFromContentJSON ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetFromContentJSON() OptString
GetFromContentJSON returns the value of FromContentJSON.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetFromDocument ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetFromDocument() OptNilString
GetFromDocument returns the value of FromDocument.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetFromURL ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetFromURL() OptNilString
GetFromURL returns the value of FromURL.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetGenres ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetGenres() []string
GetGenres returns the value of Genres.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetIsbnNumber ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetIsbnNumber() OptNilString
GetIsbnNumber returns the value of IsbnNumber.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetLanguage ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetLanguage() OptNilString
GetLanguage returns the value of Language.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetMatureContent ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetMatureContent() OptNilBool
GetMatureContent returns the value of MatureContent.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetName ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetName() string
GetName returns the value of Name.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetOriginalPublicationDate ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetOriginalPublicationDate() OptNilString
GetOriginalPublicationDate returns the value of OriginalPublicationDate.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetPronunciationDictionaryLocators ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetPronunciationDictionaryLocators() []string
GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetQualityPreset ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetQualityPreset() OptString
GetQualityPreset returns the value of QualityPreset.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetSourceType ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetSourceType() OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType
GetSourceType returns the value of SourceType.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetTargetAudience ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetTargetAudience() OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience
GetTargetAudience returns the value of TargetAudience.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetTitle ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetTitle() OptNilString
GetTitle returns the value of Title.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetVoiceSettings ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetVoiceSettings() []string
GetVoiceSettings returns the value of VoiceSettings.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetVolumeNormalization ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) GetVolumeNormalization() OptBool
GetVolumeNormalization returns the value of VolumeNormalization.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetAcxVolumeNormalization ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetAcxVolumeNormalization(val OptBool)
SetAcxVolumeNormalization sets the value of AcxVolumeNormalization.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetApplyTextNormalization ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetApplyTextNormalization(val OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization)
SetApplyTextNormalization sets the value of ApplyTextNormalization.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetAuthor ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetAuthor(val OptNilString)
SetAuthor sets the value of Author.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetAutoAssignVoices ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetAutoAssignVoices(val OptNilBool)
SetAutoAssignVoices sets the value of AutoAssignVoices.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetAutoConvert ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetAutoConvert(val OptBool)
SetAutoConvert sets the value of AutoConvert.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetCallbackURL ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetCallbackURL(val OptNilString)
SetCallbackURL sets the value of CallbackURL.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetContentType ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetContentType(val OptNilString)
SetContentType sets the value of ContentType.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetDefaultModelID ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetDefaultModelID(val OptNilString)
SetDefaultModelID sets the value of DefaultModelID.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetDefaultParagraphVoiceID ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetDefaultParagraphVoiceID(val OptNilString)
SetDefaultParagraphVoiceID sets the value of DefaultParagraphVoiceID.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetDefaultTitleVoiceID ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetDefaultTitleVoiceID(val OptNilString)
SetDefaultTitleVoiceID sets the value of DefaultTitleVoiceID.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetDescription ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetFiction ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetFiction(val OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction)
SetFiction sets the value of Fiction.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetFromContentJSON ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetFromContentJSON(val OptString)
SetFromContentJSON sets the value of FromContentJSON.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetFromDocument ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetFromDocument(val OptNilString)
SetFromDocument sets the value of FromDocument.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetFromURL ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetFromURL(val OptNilString)
SetFromURL sets the value of FromURL.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetGenres ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetGenres(val []string)
SetGenres sets the value of Genres.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetIsbnNumber ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetIsbnNumber(val OptNilString)
SetIsbnNumber sets the value of IsbnNumber.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetLanguage ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetLanguage(val OptNilString)
SetLanguage sets the value of Language.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetMatureContent ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetMatureContent(val OptNilBool)
SetMatureContent sets the value of MatureContent.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetName ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetName(val string)
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 ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetQualityPreset(val OptString)
SetQualityPreset sets the value of QualityPreset.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetSourceType ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetSourceType(val OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType)
SetSourceType sets the value of SourceType.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetTargetAudience ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetTargetAudience(val OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience)
SetTargetAudience sets the value of TargetAudience.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetTitle ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetTitle(val OptNilString)
SetTitle sets the value of Title.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetVoiceSettings ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetVoiceSettings(val []string)
SetVoiceSettings sets the value of VoiceSettings.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetVolumeNormalization ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) SetVolumeNormalization(val OptBool)
SetVolumeNormalization sets the value of VolumeNormalization.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipart) Validate ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipart) Validate() error
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 ¶
func (BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) AllValues() []BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization
AllValues returns all BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization values.
func (BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) MarshalText ¶
func (s BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) UnmarshalText ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) Validate ¶
func (s BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) Validate() error
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 ¶
func (BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) AllValues() []BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction
AllValues returns all BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction values.
func (BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) MarshalText ¶
func (s BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) UnmarshalText ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) Validate ¶
func (s BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) Validate() error
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 ¶
func (BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) AllValues() []BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType
AllValues returns all BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType values.
func (BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) MarshalText ¶
func (s BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) UnmarshalText ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) Validate ¶
func (s BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) Validate() error
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 ¶
func (BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) AllValues() []BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience
AllValues returns all BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience values.
func (BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) MarshalText ¶
func (s BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) UnmarshalText ¶
func (s *BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) Validate ¶
func (s BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) Validate() error
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 ¶
func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) Decode(d *jx.Decoder) error
Decode decodes BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost from json.
func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) Encode ¶
func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) GetName ¶
func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) GetName() OptNilString
GetName returns the value of Name.
func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) GetParentFolderID ¶
func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) GetParentFolderID() OptNilString
GetParentFolderID returns the value of ParentFolderID.
func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) GetText ¶
func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) GetText() string
GetText returns the value of Text.
func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) MarshalJSON ¶
func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) SetName ¶
func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) SetName(val OptNilString)
SetName sets the value of Name.
func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) SetParentFolderID ¶
func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) SetParentFolderID(val OptNilString)
SetParentFolderID sets the value of ParentFolderID.
func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) SetText ¶
func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) SetText(val string)
SetText sets the value of Text.
func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) UnmarshalJSON ¶
func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) Validate ¶
func (s *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost) Validate() error
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 ¶
func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) Decode(d *jx.Decoder) error
Decode decodes BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost from json.
func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) Encode ¶
func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) GetName ¶
func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) GetName() OptNilString
GetName returns the value of Name.
func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) GetParentFolderID ¶
func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) GetParentFolderID() OptNilString
GetParentFolderID returns the value of ParentFolderID.
func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) GetURL ¶
func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) GetURL() string
GetURL returns the value of URL.
func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) MarshalJSON ¶
func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) SetName ¶
func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) SetName(val OptNilString)
SetName sets the value of Name.
func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) SetParentFolderID ¶
func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) SetParentFolderID(val OptNilString)
SetParentFolderID sets the value of ParentFolderID.
func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) SetURL ¶
func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) SetURL(val string)
SetURL sets the value of URL.
func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) UnmarshalJSON ¶
func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) Validate ¶
func (s *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost) Validate() error
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 ¶
func (s *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) Decode(d *jx.Decoder) error
Decode decodes BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost from json.
func (*BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) Encode ¶
func (s *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) GetSettings ¶
func (s *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) GetSettings() WebhookHMACSettings
GetSettings returns the value of Settings.
func (*BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) MarshalJSON ¶
func (s *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) SetSettings ¶
func (s *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) SetSettings(val WebhookHMACSettings)
SetSettings sets the value of Settings.
func (*BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) UnmarshalJSON ¶
func (s *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) Validate ¶
func (s *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost) Validate() error
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 ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetApplyTextNormalization() OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization
GetApplyTextNormalization returns the value of ApplyTextNormalization.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetAuthor ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetAuthor() OptNilString
GetAuthor returns the value of Author.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetAutoConvert ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetAutoConvert() OptBool
GetAutoConvert returns the value of AutoConvert.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetBackgroundColor ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetBackgroundColor() OptNilString
GetBackgroundColor returns the value of BackgroundColor.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetFile ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetFile() OptMultipartFile
GetFile returns the value of File.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetImage ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetImage() OptNilString
GetImage returns the value of Image.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetModelID ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetModelID() OptNilString
GetModelID returns the value of ModelID.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetName ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetName() string
GetName returns the value of Name.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetPronunciationDictionaryLocators ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetPronunciationDictionaryLocators() []string
GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetSessionization ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetSessionization() OptInt
GetSessionization returns the value of Sessionization.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetSmall ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetSmall() OptBool
GetSmall returns the value of Small.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetTextColor ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetTextColor() OptNilString
GetTextColor returns the value of TextColor.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetTitle ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetTitle() OptNilString
GetTitle returns the value of Title.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetVoiceID ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) GetVoiceID() OptNilString
GetVoiceID returns the value of VoiceID.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetApplyTextNormalization ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetApplyTextNormalization(val OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization)
SetApplyTextNormalization sets the value of ApplyTextNormalization.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetAuthor ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetAuthor(val OptNilString)
SetAuthor sets the value of Author.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetAutoConvert ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetAutoConvert(val OptBool)
SetAutoConvert sets the value of AutoConvert.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetBackgroundColor ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetBackgroundColor(val OptNilString)
SetBackgroundColor sets the value of BackgroundColor.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetFile ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetFile(val OptMultipartFile)
SetFile sets the value of File.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetImage ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetImage(val OptNilString)
SetImage sets the value of Image.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetModelID ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetModelID(val OptNilString)
SetModelID sets the value of ModelID.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetName ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetName(val string)
SetName sets the value of Name.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetPronunciationDictionaryLocators ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetPronunciationDictionaryLocators(val []string)
SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetSessionization ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetSessionization(val OptInt)
SetSessionization sets the value of Sessionization.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetSmall ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetSmall(val OptBool)
SetSmall sets the value of Small.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetTextColor ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetTextColor(val OptNilString)
SetTextColor sets the value of TextColor.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetTitle ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetTitle(val OptNilString)
SetTitle sets the value of Title.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetVoiceID ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) SetVoiceID(val OptNilString)
SetVoiceID sets the value of VoiceID.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) Validate ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart) Validate() error
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 ¶
func (BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) AllValues() []BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization
AllValues returns all BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization values.
func (BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) MarshalText ¶
func (s BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) UnmarshalText ¶
func (s *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
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 ¶
func (s *BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) Decode(d *jx.Decoder) error
Decode decodes BodyDeleteExistingInvitationV1WorkspaceInvitesDelete from json.
func (*BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) Encode ¶
func (s *BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) GetEmail ¶
func (s *BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) GetEmail() string
GetEmail returns the value of Email.
func (*BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) MarshalJSON ¶
func (s *BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) SetEmail ¶
func (s *BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) SetEmail(val string)
SetEmail sets the value of Email.
func (*BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) UnmarshalJSON ¶
func (s *BodyDeleteExistingInvitationV1WorkspaceInvitesDelete) UnmarshalJSON(data []byte) error
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 ¶
func (s *BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) Decode(d *jx.Decoder) error
Decode decodes BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost from json.
func (*BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) Encode ¶
func (s *BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) GetEmail ¶
func (s *BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) GetEmail() string
GetEmail returns the value of Email.
func (*BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) MarshalJSON ¶
func (s *BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) SetEmail ¶
func (s *BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) SetEmail(val string)
SetEmail sets the value of Email.
func (*BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) UnmarshalJSON ¶
func (s *BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost) UnmarshalJSON(data []byte) error
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 ¶
func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) Decode(d *jx.Decoder) error
Decode decodes BodyDownloadHistoryItemsV1HistoryDownloadPost from json.
func (*BodyDownloadHistoryItemsV1HistoryDownloadPost) Encode ¶
func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyDownloadHistoryItemsV1HistoryDownloadPost) GetHistoryItemIds ¶
func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) GetHistoryItemIds() []string
GetHistoryItemIds returns the value of HistoryItemIds.
func (*BodyDownloadHistoryItemsV1HistoryDownloadPost) GetOutputFormat ¶
func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) GetOutputFormat() OptNilString
GetOutputFormat returns the value of OutputFormat.
func (*BodyDownloadHistoryItemsV1HistoryDownloadPost) MarshalJSON ¶
func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyDownloadHistoryItemsV1HistoryDownloadPost) SetHistoryItemIds ¶
func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) SetHistoryItemIds(val []string)
SetHistoryItemIds sets the value of HistoryItemIds.
func (*BodyDownloadHistoryItemsV1HistoryDownloadPost) SetOutputFormat ¶
func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) SetOutputFormat(val OptNilString)
SetOutputFormat sets the value of OutputFormat.
func (*BodyDownloadHistoryItemsV1HistoryDownloadPost) UnmarshalJSON ¶
func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyDownloadHistoryItemsV1HistoryDownloadPost) Validate ¶
func (s *BodyDownloadHistoryItemsV1HistoryDownloadPost) Validate() error
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 ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetBackgroundAudioFile() OptNilString
GetBackgroundAudioFile returns the value of BackgroundAudioFile.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetCsvFile ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetCsvFile() OptNilString
GetCsvFile returns the value of CsvFile.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetCsvFps ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetCsvFps() OptNilFloat64
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 ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetDubbingStudio() OptBool
GetDubbingStudio returns the value of DubbingStudio.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetEndTime ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetEndTime() OptNilInt
GetEndTime returns the value of EndTime.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetFile ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetFile() OptNilString
GetFile returns the value of File.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetForegroundAudioFile ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetForegroundAudioFile() OptNilString
GetForegroundAudioFile returns the value of ForegroundAudioFile.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetHighestResolution ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetHighestResolution() OptBool
GetHighestResolution returns the value of HighestResolution.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetMode ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetMode() OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode
GetMode returns the value of Mode.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetName ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetName() OptNilString
GetName returns the value of Name.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetNumSpeakers ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetNumSpeakers() OptInt
GetNumSpeakers returns the value of NumSpeakers.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetSourceLang ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetSourceLang() OptString
GetSourceLang returns the value of SourceLang.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetSourceURL ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetSourceURL() OptNilString
GetSourceURL returns the value of SourceURL.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetStartTime ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetStartTime() OptNilInt
GetStartTime returns the value of StartTime.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetTargetAccent ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetTargetAccent() OptNilString
GetTargetAccent returns the value of TargetAccent.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetTargetLang ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetTargetLang() OptNilString
GetTargetLang returns the value of TargetLang.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetUseProfanityFilter ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetUseProfanityFilter() OptNilBool
GetUseProfanityFilter returns the value of UseProfanityFilter.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetWatermark ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) GetWatermark() OptBool
GetWatermark returns the value of Watermark.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetBackgroundAudioFile ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetBackgroundAudioFile(val OptNilString)
SetBackgroundAudioFile sets the value of BackgroundAudioFile.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetCsvFile ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetCsvFile(val OptNilString)
SetCsvFile sets the value of CsvFile.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetCsvFps ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetCsvFps(val OptNilFloat64)
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 ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetDubbingStudio(val OptBool)
SetDubbingStudio sets the value of DubbingStudio.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetEndTime ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetEndTime(val OptNilInt)
SetEndTime sets the value of EndTime.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetFile ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetFile(val OptNilString)
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 ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetMode(val OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode)
SetMode sets the value of Mode.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetName ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetName(val OptNilString)
SetName sets the value of Name.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetNumSpeakers ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetNumSpeakers(val OptInt)
SetNumSpeakers sets the value of NumSpeakers.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetSourceLang ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetSourceLang(val OptString)
SetSourceLang sets the value of SourceLang.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetSourceURL ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetSourceURL(val OptNilString)
SetSourceURL sets the value of SourceURL.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetStartTime ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetStartTime(val OptNilInt)
SetStartTime sets the value of StartTime.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetTargetAccent ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetTargetAccent(val OptNilString)
SetTargetAccent sets the value of TargetAccent.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetTargetLang ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetTargetLang(val OptNilString)
SetTargetLang sets the value of TargetLang.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetUseProfanityFilter ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetUseProfanityFilter(val OptNilBool)
SetUseProfanityFilter sets the value of UseProfanityFilter.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetWatermark ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetWatermark(val OptBool)
SetWatermark sets the value of Watermark.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) Validate ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) Validate() error
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 ¶
func (BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) AllValues() []BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode
AllValues returns all BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode values.
func (BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) MarshalText ¶
func (s BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) UnmarshalText ¶
func (s *BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) Validate ¶
func (s BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) Validate() error
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 ¶
func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) Decode(d *jx.Decoder) error
Decode decodes BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost from json.
func (*BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) Encode ¶
func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) GetLanguages ¶
func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) GetLanguages() []string
GetLanguages returns the value of Languages.
func (*BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) GetSegments ¶
func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) GetSegments() []string
GetSegments returns the value of Segments.
func (*BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) MarshalJSON ¶
func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) SetLanguages ¶
func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) SetLanguages(val []string)
SetLanguages sets the value of Languages.
func (*BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) SetSegments ¶
func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) SetSegments(val []string)
SetSegments sets the value of Segments.
func (*BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) UnmarshalJSON ¶
func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) Validate ¶
func (s *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost) Validate() error
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 ¶
func (s *BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Decode(d *jx.Decoder) error
Decode decodes BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost from json.
func (*BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Encode ¶
func (s *BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) GetName ¶
func (s *BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) GetName() OptNilString
GetName returns the value of Name.
func (*BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) MarshalJSON ¶
func (s *BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) SetName ¶
func (s *BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) SetName(val OptNilString)
SetName sets the value of Name.
func (*BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) UnmarshalJSON ¶
func (s *BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) UnmarshalJSON(data []byte) error
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 ¶
func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Decode(d *jx.Decoder) error
Decode decodes BodyEditPVCVoiceV1VoicesPvcVoiceIDPost from json.
func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Encode ¶
func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) GetDescription ¶
func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) GetLabels ¶
func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) GetLabels() OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels
GetLabels returns the value of Labels.
func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) GetLanguage ¶
func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) GetLanguage() OptString
GetLanguage returns the value of Language.
func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) GetName ¶
func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) GetName() OptString
GetName returns the value of Name.
func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) MarshalJSON ¶
func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetDescription ¶
func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetLabels ¶
func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetLabels(val OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels)
SetLabels sets the value of Labels.
func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetLanguage ¶
func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetLanguage(val OptString)
SetLanguage sets the value of Language.
func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetName ¶
func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetName(val OptString)
SetName sets the value of Name.
func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) UnmarshalJSON ¶
func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Validate ¶
func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Validate() error
type BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels ¶
Serialized labels dictionary for the voice.
func (*BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Decode ¶
func (s *BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Decode(d *jx.Decoder) error
Decode decodes BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels from json.
func (BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Encode ¶
func (s BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) MarshalJSON ¶
func (s BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) MarshalJSON() ([]byte, error)
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 ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) Decode(d *jx.Decoder) error
Decode decodes BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch from json.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) Encode ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) GetCharacterLimit ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) GetCharacterLimit() OptNilInt
GetCharacterLimit returns the value of CharacterLimit.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) GetIsEnabled ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) GetIsEnabled() bool
GetIsEnabled returns the value of IsEnabled.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) GetName ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) GetName() string
GetName returns the value of Name.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) GetPermissions ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) GetPermissions() BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions
GetPermissions returns the value of Permissions.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) MarshalJSON ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) SetCharacterLimit ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) SetCharacterLimit(val OptNilInt)
SetCharacterLimit sets the value of CharacterLimit.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) SetIsEnabled ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) SetIsEnabled(val bool)
SetIsEnabled sets the value of IsEnabled.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) SetName ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) SetName(val string)
SetName sets the value of Name.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) SetPermissions ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) SetPermissions(val BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions)
SetPermissions sets the value of Permissions.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) UnmarshalJSON ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) Decode(d *jx.Decoder) error
Decode decodes BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions from json.
func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) Encode ¶
func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) Encode(e *jx.Encoder)
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 ¶
func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) GetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1() (v BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1, ok bool)
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 ¶
func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) SetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArray ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) SetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArray(v []BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item)
SetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0ItemArray sets BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions to []BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) SetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1 ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) SetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1(v BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1)
SetBodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1 sets BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions to BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) UnmarshalJSON ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) AllValues() []BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item
AllValues returns all BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item values.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) Decode ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) Decode(d *jx.Decoder) error
Decode decodes BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item from json.
func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) Encode ¶
func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) Encode(e *jx.Encoder)
Encode encodes BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item as json.
func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) MarshalJSON ¶
func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) MarshalText ¶
func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) UnmarshalJSON ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) UnmarshalText ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions0Item) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
type BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1 ¶
type BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1 string
const (
BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1All BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1 = "all"
)
func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) AllValues ¶
func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) AllValues() []BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1
AllValues returns all BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1 values.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) Decode ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) Decode(d *jx.Decoder) error
Decode decodes BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1 from json.
func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) Encode ¶
func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) Encode(e *jx.Encoder)
Encode encodes BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1 as json.
func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) MarshalJSON ¶
func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) MarshalText ¶
func (s BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) UnmarshalJSON ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) UnmarshalText ¶
func (s *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatchPermissions1) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
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 ¶
func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetFiles ¶
func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetFiles() []ht.MultipartFile
GetFiles returns the value of Files.
func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetLabels ¶
func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetLabels() OptNilString
GetLabels returns the value of Labels.
func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetName ¶
func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetName() string
GetName returns the value of Name.
func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetRemoveBackgroundNoise ¶
func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) GetRemoveBackgroundNoise() OptBool
GetRemoveBackgroundNoise returns the value of RemoveBackgroundNoise.
func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetDescription ¶
func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetFiles ¶
func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetFiles(val []ht.MultipartFile)
SetFiles sets the value of Files.
func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetLabels ¶
func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetLabels(val OptNilString)
SetLabels sets the value of Labels.
func (*BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetName ¶
func (s *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart) SetName(val string)
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 ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) Decode(d *jx.Decoder) error
Decode decodes BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost from json.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) Encode ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetAccent ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetAccent() string
GetAccent returns the value of Accent.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetAccentStrength ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetAccentStrength() float64
GetAccentStrength returns the value of AccentStrength.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetAge ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetAge() BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge
GetAge returns the value of Age.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetGender ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetGender() BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender
GetGender returns the value of Gender.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetText ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) GetText() string
GetText returns the value of Text.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) MarshalJSON ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetAccent ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetAccent(val string)
SetAccent sets the value of Accent.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetAccentStrength ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetAccentStrength(val float64)
SetAccentStrength sets the value of AccentStrength.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetAge ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetAge(val BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge)
SetAge sets the value of Age.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetGender ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetGender(val BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender)
SetGender sets the value of Gender.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetText ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) SetText(val string)
SetText sets the value of Text.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) UnmarshalJSON ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) Validate ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost) Validate() error
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 ¶
func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) AllValues() []BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge
AllValues returns all BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge values.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) Decode ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) Decode(d *jx.Decoder) error
Decode decodes BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge from json.
func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) Encode ¶
func (s BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) Encode(e *jx.Encoder)
Encode encodes BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge as json.
func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) MarshalJSON ¶
func (s BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) MarshalText ¶
func (s BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) UnmarshalJSON ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) UnmarshalText ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) Validate ¶
func (s BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge) Validate() error
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 ¶
func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) AllValues() []BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender
AllValues returns all BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender values.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) Decode ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) Decode(d *jx.Decoder) error
Decode decodes BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender from json.
func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) Encode ¶
func (s BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) Encode(e *jx.Encoder)
Encode encodes BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender as json.
func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) MarshalJSON ¶
func (s BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) MarshalText ¶
func (s BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) UnmarshalJSON ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) UnmarshalText ¶
func (s *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) Validate ¶
func (s BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender) Validate() error
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 ¶
func (s *BodyGenerateCompositionPlanV1MusicPlanPost) Decode(d *jx.Decoder) error
Decode decodes BodyGenerateCompositionPlanV1MusicPlanPost from json.
func (*BodyGenerateCompositionPlanV1MusicPlanPost) Encode ¶
func (s *BodyGenerateCompositionPlanV1MusicPlanPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyGenerateCompositionPlanV1MusicPlanPost) GetModelID ¶
func (s *BodyGenerateCompositionPlanV1MusicPlanPost) GetModelID() OptBodyGenerateCompositionPlanV1MusicPlanPostModelID
GetModelID returns the value of ModelID.
func (*BodyGenerateCompositionPlanV1MusicPlanPost) GetMusicLengthMs ¶
func (s *BodyGenerateCompositionPlanV1MusicPlanPost) GetMusicLengthMs() OptNilInt
GetMusicLengthMs returns the value of MusicLengthMs.
func (*BodyGenerateCompositionPlanV1MusicPlanPost) GetPrompt ¶
func (s *BodyGenerateCompositionPlanV1MusicPlanPost) GetPrompt() string
GetPrompt returns the value of Prompt.
func (*BodyGenerateCompositionPlanV1MusicPlanPost) GetSourceCompositionPlan ¶
func (s *BodyGenerateCompositionPlanV1MusicPlanPost) GetSourceCompositionPlan() OptMusicPrompt
GetSourceCompositionPlan returns the value of SourceCompositionPlan.
func (*BodyGenerateCompositionPlanV1MusicPlanPost) MarshalJSON ¶
func (s *BodyGenerateCompositionPlanV1MusicPlanPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyGenerateCompositionPlanV1MusicPlanPost) SetModelID ¶
func (s *BodyGenerateCompositionPlanV1MusicPlanPost) SetModelID(val OptBodyGenerateCompositionPlanV1MusicPlanPostModelID)
SetModelID sets the value of ModelID.
func (*BodyGenerateCompositionPlanV1MusicPlanPost) SetMusicLengthMs ¶
func (s *BodyGenerateCompositionPlanV1MusicPlanPost) SetMusicLengthMs(val OptNilInt)
SetMusicLengthMs sets the value of MusicLengthMs.
func (*BodyGenerateCompositionPlanV1MusicPlanPost) SetPrompt ¶
func (s *BodyGenerateCompositionPlanV1MusicPlanPost) SetPrompt(val string)
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 ¶
func (s *BodyGenerateCompositionPlanV1MusicPlanPost) Validate() error
type BodyGenerateCompositionPlanV1MusicPlanPostModelID ¶
type BodyGenerateCompositionPlanV1MusicPlanPostModelID string
The model to use for the generation.
const (
BodyGenerateCompositionPlanV1MusicPlanPostModelIDMusicV1 BodyGenerateCompositionPlanV1MusicPlanPostModelID = "music_v1"
)
func (BodyGenerateCompositionPlanV1MusicPlanPostModelID) AllValues ¶
func (BodyGenerateCompositionPlanV1MusicPlanPostModelID) AllValues() []BodyGenerateCompositionPlanV1MusicPlanPostModelID
AllValues returns all BodyGenerateCompositionPlanV1MusicPlanPostModelID values.
func (*BodyGenerateCompositionPlanV1MusicPlanPostModelID) Decode ¶
func (s *BodyGenerateCompositionPlanV1MusicPlanPostModelID) Decode(d *jx.Decoder) error
Decode decodes BodyGenerateCompositionPlanV1MusicPlanPostModelID from json.
func (BodyGenerateCompositionPlanV1MusicPlanPostModelID) Encode ¶
func (s BodyGenerateCompositionPlanV1MusicPlanPostModelID) Encode(e *jx.Encoder)
Encode encodes BodyGenerateCompositionPlanV1MusicPlanPostModelID as json.
func (BodyGenerateCompositionPlanV1MusicPlanPostModelID) MarshalJSON ¶
func (s BodyGenerateCompositionPlanV1MusicPlanPostModelID) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyGenerateCompositionPlanV1MusicPlanPostModelID) MarshalText ¶
func (s BodyGenerateCompositionPlanV1MusicPlanPostModelID) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyGenerateCompositionPlanV1MusicPlanPostModelID) UnmarshalJSON ¶
func (s *BodyGenerateCompositionPlanV1MusicPlanPostModelID) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyGenerateCompositionPlanV1MusicPlanPostModelID) UnmarshalText ¶
func (s *BodyGenerateCompositionPlanV1MusicPlanPostModelID) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyGenerateCompositionPlanV1MusicPlanPostModelID) Validate ¶
func (s BodyGenerateCompositionPlanV1MusicPlanPostModelID) Validate() error
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 ¶
func (s *BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) GetAudioFile() OptMultipartFile
GetAudioFile returns the value of AudioFile.
func (*BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) GetSimilarityThreshold ¶
func (s *BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) GetSimilarityThreshold() OptNilFloat64
GetSimilarityThreshold returns the value of SimilarityThreshold.
func (*BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) GetTopK ¶
func (s *BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) GetTopK() OptNilInt
GetTopK returns the value of TopK.
func (*BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) SetAudioFile ¶
func (s *BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) SetAudioFile(val OptMultipartFile)
SetAudioFile sets the value of AudioFile.
func (*BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) SetSimilarityThreshold ¶
func (s *BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) SetSimilarityThreshold(val OptNilFloat64)
SetSimilarityThreshold sets the value of SimilarityThreshold.
func (*BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) SetTopK ¶
func (s *BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) SetTopK(val OptNilInt)
SetTopK sets the value of TopK.
func (*BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) Validate ¶
func (s *BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) Validate() error
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 ¶
func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) Decode(d *jx.Decoder) error
Decode decodes BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost from json.
func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) Encode ¶
func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) GetAgentID ¶
func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) GetAgentID() string
GetAgentID returns the value of AgentID.
func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) GetAgentPhoneNumberID ¶
func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) GetAgentPhoneNumberID() string
GetAgentPhoneNumberID returns the value of AgentPhoneNumberID.
func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) GetConversationInitiationClientData ¶
func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) GetConversationInitiationClientData() OptConversationInitiationClientDataRequestInput
GetConversationInitiationClientData returns the value of ConversationInitiationClientData.
func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) GetToNumber ¶
func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) GetToNumber() string
GetToNumber returns the value of ToNumber.
func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) MarshalJSON ¶
func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) SetAgentID ¶
func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) SetAgentID(val string)
SetAgentID sets the value of AgentID.
func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) SetAgentPhoneNumberID ¶
func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) SetAgentPhoneNumberID(val string)
SetAgentPhoneNumberID sets the value of AgentPhoneNumberID.
func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) SetConversationInitiationClientData ¶
func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) SetConversationInitiationClientData(val OptConversationInitiationClientDataRequestInput)
SetConversationInitiationClientData sets the value of ConversationInitiationClientData.
func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) SetToNumber ¶
func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) SetToNumber(val string)
SetToNumber sets the value of ToNumber.
func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) UnmarshalJSON ¶
func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) Validate ¶
func (s *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost) Validate() error
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 ¶
func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) Decode(d *jx.Decoder) error
Decode decodes BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost from json.
func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) Encode ¶
func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) GetAgentID ¶
func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) GetAgentID() string
GetAgentID returns the value of AgentID.
func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) GetAgentPhoneNumberID ¶
func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) GetAgentPhoneNumberID() string
GetAgentPhoneNumberID returns the value of AgentPhoneNumberID.
func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) GetConversationInitiationClientData ¶
func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) GetConversationInitiationClientData() OptConversationInitiationClientDataRequestInput
GetConversationInitiationClientData returns the value of ConversationInitiationClientData.
func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) GetToNumber ¶
func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) GetToNumber() string
GetToNumber returns the value of ToNumber.
func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) MarshalJSON ¶
func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) SetAgentID ¶
func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) SetAgentID(val string)
SetAgentID sets the value of AgentID.
func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) SetAgentPhoneNumberID ¶
func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) SetAgentPhoneNumberID(val string)
SetAgentPhoneNumberID sets the value of AgentPhoneNumberID.
func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) SetConversationInitiationClientData ¶
func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) SetConversationInitiationClientData(val OptConversationInitiationClientDataRequestInput)
SetConversationInitiationClientData sets the value of ConversationInitiationClientData.
func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) SetToNumber ¶
func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) SetToNumber(val string)
SetToNumber sets the value of ToNumber.
func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) UnmarshalJSON ¶
func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) Validate ¶
func (s *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost) Validate() error
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 ¶
func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) Decode(d *jx.Decoder) error
Decode decodes BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost from json.
func (*BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) Encode ¶
func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) GetEmails ¶
func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) GetEmails() []string
GetEmails returns the value of Emails.
func (*BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) GetGroupIds ¶
func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) GetGroupIds() OptNilStringArray
GetGroupIds returns the value of GroupIds.
func (*BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) MarshalJSON ¶
func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) SetEmails ¶
func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) SetEmails(val []string)
SetEmails sets the value of Emails.
func (*BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) SetGroupIds ¶
func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) SetGroupIds(val OptNilStringArray)
SetGroupIds sets the value of GroupIds.
func (*BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) UnmarshalJSON ¶
func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) Validate ¶
func (s *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost) Validate() error
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 ¶
func (s *BodyInviteUserV1WorkspaceInvitesAddPost) Decode(d *jx.Decoder) error
Decode decodes BodyInviteUserV1WorkspaceInvitesAddPost from json.
func (*BodyInviteUserV1WorkspaceInvitesAddPost) Encode ¶
func (s *BodyInviteUserV1WorkspaceInvitesAddPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyInviteUserV1WorkspaceInvitesAddPost) GetEmail ¶
func (s *BodyInviteUserV1WorkspaceInvitesAddPost) GetEmail() string
GetEmail returns the value of Email.
func (*BodyInviteUserV1WorkspaceInvitesAddPost) GetGroupIds ¶
func (s *BodyInviteUserV1WorkspaceInvitesAddPost) GetGroupIds() OptNilStringArray
GetGroupIds returns the value of GroupIds.
func (*BodyInviteUserV1WorkspaceInvitesAddPost) GetWorkspacePermission ¶
func (s *BodyInviteUserV1WorkspaceInvitesAddPost) GetWorkspacePermission() OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission
GetWorkspacePermission returns the value of WorkspacePermission.
func (*BodyInviteUserV1WorkspaceInvitesAddPost) MarshalJSON ¶
func (s *BodyInviteUserV1WorkspaceInvitesAddPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyInviteUserV1WorkspaceInvitesAddPost) SetEmail ¶
func (s *BodyInviteUserV1WorkspaceInvitesAddPost) SetEmail(val string)
SetEmail sets the value of Email.
func (*BodyInviteUserV1WorkspaceInvitesAddPost) SetGroupIds ¶
func (s *BodyInviteUserV1WorkspaceInvitesAddPost) SetGroupIds(val OptNilStringArray)
SetGroupIds sets the value of GroupIds.
func (*BodyInviteUserV1WorkspaceInvitesAddPost) SetWorkspacePermission ¶
func (s *BodyInviteUserV1WorkspaceInvitesAddPost) SetWorkspacePermission(val OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission)
SetWorkspacePermission sets the value of WorkspacePermission.
func (*BodyInviteUserV1WorkspaceInvitesAddPost) UnmarshalJSON ¶
func (s *BodyInviteUserV1WorkspaceInvitesAddPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyInviteUserV1WorkspaceInvitesAddPost) Validate ¶
func (s *BodyInviteUserV1WorkspaceInvitesAddPost) Validate() error
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 ¶
func (BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) AllValues() []BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission
AllValues returns all BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission values.
func (*BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Decode ¶
func (s *BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Decode(d *jx.Decoder) error
Decode decodes BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission from json.
func (BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Encode ¶
func (s BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Encode(e *jx.Encoder)
Encode encodes BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission as json.
func (BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) MarshalJSON ¶
func (s BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) MarshalText ¶
func (s BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) UnmarshalJSON ¶
func (s *BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) UnmarshalText ¶
func (s *BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Validate ¶
func (s BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Validate() error
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 ¶
func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) Decode(d *jx.Decoder) error
Decode decodes BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost from json.
func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) Encode ¶
func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetAgentID ¶
func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetAgentID() string
GetAgentID returns the value of AgentID.
func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetConversationInitiationClientData ¶
func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetConversationInitiationClientData() OptConversationInitiationClientDataRequestInput
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 ¶
func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetWhatsappPhoneNumberID() string
GetWhatsappPhoneNumberID returns the value of WhatsappPhoneNumberID.
func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetWhatsappUserID ¶
func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) GetWhatsappUserID() string
GetWhatsappUserID returns the value of WhatsappUserID.
func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) MarshalJSON ¶
func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetAgentID ¶
func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetAgentID(val string)
SetAgentID sets the value of AgentID.
func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetConversationInitiationClientData ¶
func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetConversationInitiationClientData(val OptConversationInitiationClientDataRequestInput)
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 ¶
func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetWhatsappPhoneNumberID(val string)
SetWhatsappPhoneNumberID sets the value of WhatsappPhoneNumberID.
func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetWhatsappUserID ¶
func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) SetWhatsappUserID(val string)
SetWhatsappUserID sets the value of WhatsappUserID.
func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) UnmarshalJSON ¶
func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) Validate ¶
func (s *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost) Validate() error
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 ¶
func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) Decode(d *jx.Decoder) error
Decode decodes BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost from json.
func (*BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) Encode ¶
func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) GetSegmentIds ¶
func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) GetSegmentIds() []string
GetSegmentIds returns the value of SegmentIds.
func (*BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) GetSpeakerID ¶
func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) GetSpeakerID() string
GetSpeakerID returns the value of SpeakerID.
func (*BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) MarshalJSON ¶
func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) SetSegmentIds ¶
func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) SetSegmentIds(val []string)
SetSegmentIds sets the value of SegmentIds.
func (*BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) SetSpeakerID ¶
func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) SetSpeakerID(val string)
SetSpeakerID sets the value of SpeakerID.
func (*BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) UnmarshalJSON ¶
func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) Validate ¶
func (s *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost) Validate() error
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 ¶
func (s *BodyPostAgentAvatarV1ConvaiAgentsAgentIDAvatarPostMultipart) GetAvatarFile() ht.MultipartFile
GetAvatarFile returns the value of AvatarFile.
func (*BodyPostAgentAvatarV1ConvaiAgentsAgentIDAvatarPostMultipart) SetAvatarFile ¶
func (s *BodyPostAgentAvatarV1ConvaiAgentsAgentIDAvatarPostMultipart) SetAvatarFile(val ht.MultipartFile)
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 ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) Decode(d *jx.Decoder) error
Decode decodes BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost from json.
func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) Encode ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetAgentID ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetAgentID() string
GetAgentID returns the value of AgentID.
func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetConversationInitiationClientData ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetConversationInitiationClientData() OptConversationInitiationClientDataRequestInput
GetConversationInitiationClientData returns the value of ConversationInitiationClientData.
func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetDirection ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetDirection() OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection
GetDirection returns the value of Direction.
func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetFromNumber ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetFromNumber() string
GetFromNumber returns the value of FromNumber.
func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetToNumber ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) GetToNumber() string
GetToNumber returns the value of ToNumber.
func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) MarshalJSON ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetAgentID ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetAgentID(val string)
SetAgentID sets the value of AgentID.
func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetConversationInitiationClientData ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetConversationInitiationClientData(val OptConversationInitiationClientDataRequestInput)
SetConversationInitiationClientData sets the value of ConversationInitiationClientData.
func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetDirection ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetDirection(val OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection)
SetDirection sets the value of Direction.
func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetFromNumber ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetFromNumber(val string)
SetFromNumber sets the value of FromNumber.
func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetToNumber ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) SetToNumber(val string)
SetToNumber sets the value of ToNumber.
func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) UnmarshalJSON ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) Validate ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost) Validate() error
type BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection ¶
type BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection string
const ( BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirectionInbound BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection = "inbound" BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirectionOutbound BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection = "outbound" )
func (BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) AllValues ¶
func (BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) AllValues() []BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection
AllValues returns all BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection values.
func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Decode ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Decode(d *jx.Decoder) error
Decode decodes BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection from json.
func (BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Encode ¶
func (s BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Encode(e *jx.Encoder)
Encode encodes BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection as json.
func (BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) MarshalJSON ¶
func (s BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) MarshalText ¶
func (s BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) UnmarshalJSON ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) UnmarshalText ¶
func (s *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Validate ¶
func (s BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Validate() error
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 ¶
func (s *BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) Decode(d *jx.Decoder) error
Decode decodes BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost from json.
func (*BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) Encode ¶
func (s *BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) GetRuleStrings ¶
func (s *BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) GetRuleStrings() []string
GetRuleStrings returns the value of RuleStrings.
func (*BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) MarshalJSON ¶
func (s *BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) SetRuleStrings ¶
func (s *BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) SetRuleStrings(val []string)
SetRuleStrings sets the value of RuleStrings.
func (*BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) UnmarshalJSON ¶
func (s *BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (s *BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart) GetExtraText() OptNilString
GetExtraText returns the value of ExtraText.
func (*BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart) GetFiles ¶
func (s *BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart) GetFiles() []ht.MultipartFile
GetFiles returns the value of Files.
func (*BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart) SetExtraText ¶
func (s *BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart) SetExtraText(val OptNilString)
SetExtraText sets the value of ExtraText.
func (*BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart) SetFiles ¶
func (s *BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart) SetFiles(val []ht.MultipartFile)
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 ¶
func (s *BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Decode(d *jx.Decoder) error
Decode decodes BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost from json.
func (*BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Encode ¶
func (s *BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) GetModelID ¶
func (s *BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) GetModelID() OptNilString
GetModelID returns the value of ModelID.
func (*BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) MarshalJSON ¶
func (s *BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) SetModelID ¶
func (s *BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) SetModelID(val OptNilString)
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 {
// use the value 'default'.
GroupID OptNilString `json:"group_id"`
ResourceType WorkspaceResourceType `json:"resource_type"`
Role BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole `json:"role"`
UserEmail OptNilString `json:"user_email"`
// 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 ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) Decode(d *jx.Decoder) error
Decode decodes BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost from json.
func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) Encode ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetGroupID ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetGroupID() OptNilString
GetGroupID returns the value of GroupID.
func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetResourceType ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetResourceType() WorkspaceResourceType
GetResourceType returns the value of ResourceType.
func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetRole ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetRole() BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole
GetRole returns the value of Role.
func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetUserEmail ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetUserEmail() OptNilString
GetUserEmail returns the value of UserEmail.
func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetWorkspaceAPIKeyID ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) GetWorkspaceAPIKeyID() OptNilString
GetWorkspaceAPIKeyID returns the value of WorkspaceAPIKeyID.
func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) MarshalJSON ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetGroupID ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetGroupID(val OptNilString)
SetGroupID sets the value of GroupID.
func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetResourceType ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetResourceType(val WorkspaceResourceType)
SetResourceType sets the value of ResourceType.
func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetRole ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetRole(val BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole)
SetRole sets the value of Role.
func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetUserEmail ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetUserEmail(val OptNilString)
SetUserEmail sets the value of UserEmail.
func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetWorkspaceAPIKeyID ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) SetWorkspaceAPIKeyID(val OptNilString)
SetWorkspaceAPIKeyID sets the value of WorkspaceAPIKeyID.
func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) UnmarshalJSON ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) Validate ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost) Validate() error
type BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole ¶
type BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole string
Role to update the target principal with.
const ( )
func (BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) AllValues ¶
func (BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) AllValues() []BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole
AllValues returns all BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole values.
func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) Decode ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) Decode(d *jx.Decoder) error
Decode decodes BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole from json.
func (BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) Encode ¶
func (s BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) Encode(e *jx.Encoder)
Encode encodes BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole as json.
func (BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) MarshalJSON ¶
func (s BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) MarshalText ¶
func (s BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) UnmarshalJSON ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) UnmarshalText ¶
func (s *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) Validate ¶
func (s BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePostRole) Validate() error
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 ¶
func (s *BodySoundGenerationV1SoundGenerationPost) Decode(d *jx.Decoder) error
Decode decodes BodySoundGenerationV1SoundGenerationPost from json.
func (*BodySoundGenerationV1SoundGenerationPost) Encode ¶
func (s *BodySoundGenerationV1SoundGenerationPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodySoundGenerationV1SoundGenerationPost) GetDurationSeconds ¶
func (s *BodySoundGenerationV1SoundGenerationPost) GetDurationSeconds() OptNilFloat64
GetDurationSeconds returns the value of DurationSeconds.
func (*BodySoundGenerationV1SoundGenerationPost) GetLoop ¶
func (s *BodySoundGenerationV1SoundGenerationPost) GetLoop() OptBool
GetLoop returns the value of Loop.
func (*BodySoundGenerationV1SoundGenerationPost) GetModelID ¶
func (s *BodySoundGenerationV1SoundGenerationPost) GetModelID() OptString
GetModelID returns the value of ModelID.
func (*BodySoundGenerationV1SoundGenerationPost) GetPromptInfluence ¶
func (s *BodySoundGenerationV1SoundGenerationPost) GetPromptInfluence() OptNilFloat64
GetPromptInfluence returns the value of PromptInfluence.
func (*BodySoundGenerationV1SoundGenerationPost) GetText ¶
func (s *BodySoundGenerationV1SoundGenerationPost) GetText() string
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 ¶
func (s *BodySoundGenerationV1SoundGenerationPost) SetLoop(val OptBool)
SetLoop sets the value of Loop.
func (*BodySoundGenerationV1SoundGenerationPost) SetModelID ¶
func (s *BodySoundGenerationV1SoundGenerationPost) SetModelID(val OptString)
SetModelID sets the value of ModelID.
func (*BodySoundGenerationV1SoundGenerationPost) SetPromptInfluence ¶
func (s *BodySoundGenerationV1SoundGenerationPost) SetPromptInfluence(val OptNilFloat64)
SetPromptInfluence sets the value of PromptInfluence.
func (*BodySoundGenerationV1SoundGenerationPost) SetText ¶
func (s *BodySoundGenerationV1SoundGenerationPost) SetText(val string)
SetText sets the value of Text.
func (*BodySoundGenerationV1SoundGenerationPost) UnmarshalJSON ¶
func (s *BodySoundGenerationV1SoundGenerationPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodySoundGenerationV1SoundGenerationPost) Validate ¶
func (s *BodySoundGenerationV1SoundGenerationPost) Validate() error
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 ¶
func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetAudio() ht.MultipartFile
GetAudio returns the value of Audio.
func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetFileFormat ¶
func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetFileFormat() OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat
GetFileFormat returns the value of FileFormat.
func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetModelID ¶
func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetModelID() OptString
GetModelID returns the value of ModelID.
func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetRemoveBackgroundNoise ¶
func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetRemoveBackgroundNoise() OptBool
GetRemoveBackgroundNoise returns the value of RemoveBackgroundNoise.
func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetSeed ¶
func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetSeed() OptNilInt
GetSeed returns the value of Seed.
func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetVoiceSettings ¶
func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) GetVoiceSettings() OptNilString
GetVoiceSettings returns the value of VoiceSettings.
func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetAudio ¶
func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetAudio(val ht.MultipartFile)
SetAudio sets the value of Audio.
func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetFileFormat ¶
func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetFileFormat(val OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat)
SetFileFormat sets the value of FileFormat.
func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetModelID ¶
func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetModelID(val OptString)
SetModelID sets the value of ModelID.
func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetRemoveBackgroundNoise ¶
func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetRemoveBackgroundNoise(val OptBool)
SetRemoveBackgroundNoise sets the value of RemoveBackgroundNoise.
func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetSeed ¶
func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetSeed(val OptNilInt)
SetSeed sets the value of Seed.
func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetVoiceSettings ¶
func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) SetVoiceSettings(val OptNilString)
SetVoiceSettings sets the value of VoiceSettings.
func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) Validate ¶
func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart) Validate() error
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 ¶
func (BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) AllValues() []BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat
AllValues returns all BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat values.
func (BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) MarshalText ¶
func (s BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) UnmarshalText ¶
func (s *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) Validate ¶
func (s BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) Validate() error
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 ¶
func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetAudio() ht.MultipartFile
GetAudio returns the value of Audio.
func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetFileFormat ¶
func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetFileFormat() OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat
GetFileFormat returns the value of FileFormat.
func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetModelID ¶
func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetModelID() OptString
GetModelID returns the value of ModelID.
func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetRemoveBackgroundNoise ¶
func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetRemoveBackgroundNoise() OptBool
GetRemoveBackgroundNoise returns the value of RemoveBackgroundNoise.
func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetSeed ¶
func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetSeed() OptNilInt
GetSeed returns the value of Seed.
func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetVoiceSettings ¶
func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) GetVoiceSettings() OptNilString
GetVoiceSettings returns the value of VoiceSettings.
func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetAudio ¶
func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetAudio(val ht.MultipartFile)
SetAudio sets the value of Audio.
func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetFileFormat ¶
func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetFileFormat(val OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat)
SetFileFormat sets the value of FileFormat.
func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetModelID ¶
func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetModelID(val OptString)
SetModelID sets the value of ModelID.
func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetRemoveBackgroundNoise ¶
func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetRemoveBackgroundNoise(val OptBool)
SetRemoveBackgroundNoise sets the value of RemoveBackgroundNoise.
func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetSeed ¶
func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetSeed(val OptNilInt)
SetSeed sets the value of Seed.
func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetVoiceSettings ¶
func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) SetVoiceSettings(val OptNilString)
SetVoiceSettings sets the value of VoiceSettings.
func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) Validate ¶
func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart) Validate() error
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 ¶
func (BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) AllValues() []BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat
AllValues returns all BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat values.
func (BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) MarshalText ¶
func (s BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) UnmarshalText ¶
func (s *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) Validate ¶
func (s BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) Validate() error
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 ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetAdditionalFormats() AdditionalFormats
GetAdditionalFormats returns the value of AdditionalFormats.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetCloudStorageURL ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetCloudStorageURL() OptNilString
GetCloudStorageURL returns the value of CloudStorageURL.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetDiarizationThreshold ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetDiarizationThreshold() OptNilFloat64
GetDiarizationThreshold returns the value of DiarizationThreshold.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetDiarize ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetDiarize() OptBool
GetDiarize returns the value of Diarize.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetFile ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetFile() OptNilString
GetFile returns the value of File.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetFileFormat ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetFileFormat() OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat
GetFileFormat returns the value of FileFormat.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetLanguageCode ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetLanguageCode() OptNilString
GetLanguageCode returns the value of LanguageCode.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetModelID ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetModelID() string
GetModelID returns the value of ModelID.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetNumSpeakers ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetNumSpeakers() OptNilInt
GetNumSpeakers returns the value of NumSpeakers.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetSeed ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetSeed() OptNilInt
GetSeed returns the value of Seed.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetTagAudioEvents ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetTagAudioEvents() OptBool
GetTagAudioEvents returns the value of TagAudioEvents.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetTemperature ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetTemperature() OptNilFloat64
GetTemperature returns the value of Temperature.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetTimestampsGranularity ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetTimestampsGranularity() OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity
GetTimestampsGranularity returns the value of TimestampsGranularity.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetUseMultiChannel ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetUseMultiChannel() OptBool
GetUseMultiChannel returns the value of UseMultiChannel.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetWebhook ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetWebhook() OptBool
GetWebhook returns the value of Webhook.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetWebhookID ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetWebhookID() OptNilString
GetWebhookID returns the value of WebhookID.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) GetWebhookMetadata ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) GetWebhookMetadata() OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata
GetWebhookMetadata returns the value of WebhookMetadata.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetAdditionalFormats ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetAdditionalFormats(val AdditionalFormats)
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 ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetDiarize(val OptBool)
SetDiarize sets the value of Diarize.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetFile ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetFile(val OptNilString)
SetFile sets the value of File.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetFileFormat ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetFileFormat(val OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat)
SetFileFormat sets the value of FileFormat.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetLanguageCode ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetLanguageCode(val OptNilString)
SetLanguageCode sets the value of LanguageCode.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetModelID ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetModelID(val string)
SetModelID sets the value of ModelID.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetNumSpeakers ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetNumSpeakers(val OptNilInt)
SetNumSpeakers sets the value of NumSpeakers.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetSeed ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetSeed(val OptNilInt)
SetSeed sets the value of Seed.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetTagAudioEvents ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetTagAudioEvents(val OptBool)
SetTagAudioEvents sets the value of TagAudioEvents.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetTemperature ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetTemperature(val OptNilFloat64)
SetTemperature sets the value of Temperature.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetTimestampsGranularity ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetTimestampsGranularity(val OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity)
SetTimestampsGranularity sets the value of TimestampsGranularity.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetUseMultiChannel ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetUseMultiChannel(val OptBool)
SetUseMultiChannel sets the value of UseMultiChannel.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetWebhook ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetWebhook(val OptBool)
SetWebhook sets the value of Webhook.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetWebhookID ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetWebhookID(val OptNilString)
SetWebhookID sets the value of WebhookID.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) SetWebhookMetadata ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) SetWebhookMetadata(val OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata)
SetWebhookMetadata sets the value of WebhookMetadata.
func (*BodySpeechToTextV1SpeechToTextPostMultipart) Validate ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipart) Validate() error
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 ¶
func (BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) AllValues() []BodySpeechToTextV1SpeechToTextPostMultipartFileFormat
AllValues returns all BodySpeechToTextV1SpeechToTextPostMultipartFileFormat values.
func (BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) MarshalText ¶
func (s BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) UnmarshalText ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) Validate ¶
func (s BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) Validate() error
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 ¶
func (BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) AllValues() []BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity
AllValues returns all BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity values.
func (BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) MarshalText ¶
func (s BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) UnmarshalText ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) Validate ¶
func (s BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) Validate() error
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 ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Decode(d *jx.Decoder) error
Decode decodes BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata from json.
func (BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Encode ¶
func (s BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Encode(e *jx.Encoder)
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 ¶
func (s BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) GetString() (v string, ok bool)
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 ¶
func (s BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) IsString() bool
IsString reports whether BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata is string.
func (BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) MarshalJSON ¶
func (s BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) SetBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1 ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) SetBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1(v BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1)
SetBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1 sets BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata to BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1.
func (*BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) SetString ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) SetString(v string)
SetString sets BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata to string.
func (*BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) UnmarshalJSON ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1 ¶
type BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1 struct{}
func (*BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) Decode ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) Decode(d *jx.Decoder) error
Decode decodes BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1 from json.
func (*BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) Encode ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) MarshalJSON ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) UnmarshalJSON ¶
func (s *BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata1) UnmarshalJSON(data []byte) error
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 ¶
func (s *BodyStemSeparationV1MusicStemSeparationPostMultipart) GetFile() ht.MultipartFile
GetFile returns the value of File.
func (*BodyStemSeparationV1MusicStemSeparationPostMultipart) GetSignWithC2pa ¶
func (s *BodyStemSeparationV1MusicStemSeparationPostMultipart) GetSignWithC2pa() OptBool
GetSignWithC2pa returns the value of SignWithC2pa.
func (*BodyStemSeparationV1MusicStemSeparationPostMultipart) GetStemVariationID ¶
func (s *BodyStemSeparationV1MusicStemSeparationPostMultipart) GetStemVariationID() OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID
GetStemVariationID returns the value of StemVariationID.
func (*BodyStemSeparationV1MusicStemSeparationPostMultipart) SetFile ¶
func (s *BodyStemSeparationV1MusicStemSeparationPostMultipart) SetFile(val ht.MultipartFile)
SetFile sets the value of File.
func (*BodyStemSeparationV1MusicStemSeparationPostMultipart) SetSignWithC2pa ¶
func (s *BodyStemSeparationV1MusicStemSeparationPostMultipart) SetSignWithC2pa(val OptBool)
SetSignWithC2pa sets the value of SignWithC2pa.
func (*BodyStemSeparationV1MusicStemSeparationPostMultipart) SetStemVariationID ¶
func (s *BodyStemSeparationV1MusicStemSeparationPostMultipart) SetStemVariationID(val OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID)
SetStemVariationID sets the value of StemVariationID.
func (*BodyStemSeparationV1MusicStemSeparationPostMultipart) Validate ¶
func (s *BodyStemSeparationV1MusicStemSeparationPostMultipart) Validate() error
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 ¶
func (BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) AllValues() []BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID
AllValues returns all BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID values.
func (BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) MarshalText ¶
func (s BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) UnmarshalText ¶
func (s *BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) Validate ¶
func (s BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) Validate() error
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 ¶
func (s *BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Decode(d *jx.Decoder) error
Decode decodes BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost from json.
func (*BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Encode ¶
func (s *BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) GetConvertToMpeg ¶
func (s *BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) GetConvertToMpeg() OptBool
GetConvertToMpeg returns the value of ConvertToMpeg.
func (*BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) MarshalJSON ¶
func (s *BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) SetConvertToMpeg ¶
func (s *BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) SetConvertToMpeg(val OptBool)
SetConvertToMpeg sets the value of ConvertToMpeg.
func (*BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) UnmarshalJSON ¶
func (s *BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) UnmarshalJSON(data []byte) error
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 ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) Decode(d *jx.Decoder) error
Decode decodes BodyStreamComposedMusicV1MusicStreamPost from json.
func (*BodyStreamComposedMusicV1MusicStreamPost) Encode ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyStreamComposedMusicV1MusicStreamPost) GetCompositionPlan ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) GetCompositionPlan() OptMusicPrompt
GetCompositionPlan returns the value of CompositionPlan.
func (*BodyStreamComposedMusicV1MusicStreamPost) GetFinetuneID ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) GetFinetuneID() OptNilString
GetFinetuneID returns the value of FinetuneID.
func (*BodyStreamComposedMusicV1MusicStreamPost) GetForceInstrumental ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) GetForceInstrumental() OptBool
GetForceInstrumental returns the value of ForceInstrumental.
func (*BodyStreamComposedMusicV1MusicStreamPost) GetModelID ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) GetModelID() OptBodyStreamComposedMusicV1MusicStreamPostModelID
GetModelID returns the value of ModelID.
func (*BodyStreamComposedMusicV1MusicStreamPost) GetMusicLengthMs ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) GetMusicLengthMs() OptNilInt
GetMusicLengthMs returns the value of MusicLengthMs.
func (*BodyStreamComposedMusicV1MusicStreamPost) GetMusicPrompt ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) GetMusicPrompt() OptMusicPrompt
GetMusicPrompt returns the value of MusicPrompt.
func (*BodyStreamComposedMusicV1MusicStreamPost) GetPrompt ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) GetPrompt() OptNilString
GetPrompt returns the value of Prompt.
func (*BodyStreamComposedMusicV1MusicStreamPost) GetSeed ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) GetSeed() OptNilInt
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 ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) SetFinetuneID(val OptNilString)
SetFinetuneID sets the value of FinetuneID.
func (*BodyStreamComposedMusicV1MusicStreamPost) SetForceInstrumental ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) SetForceInstrumental(val OptBool)
SetForceInstrumental sets the value of ForceInstrumental.
func (*BodyStreamComposedMusicV1MusicStreamPost) SetModelID ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) SetModelID(val OptBodyStreamComposedMusicV1MusicStreamPostModelID)
SetModelID sets the value of ModelID.
func (*BodyStreamComposedMusicV1MusicStreamPost) SetMusicLengthMs ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) SetMusicLengthMs(val OptNilInt)
SetMusicLengthMs sets the value of MusicLengthMs.
func (*BodyStreamComposedMusicV1MusicStreamPost) SetMusicPrompt ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) SetMusicPrompt(val OptMusicPrompt)
SetMusicPrompt sets the value of MusicPrompt.
func (*BodyStreamComposedMusicV1MusicStreamPost) SetPrompt ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) SetPrompt(val OptNilString)
SetPrompt sets the value of Prompt.
func (*BodyStreamComposedMusicV1MusicStreamPost) SetSeed ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) SetSeed(val OptNilInt)
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 ¶
func (s *BodyStreamComposedMusicV1MusicStreamPost) Validate() error
type BodyStreamComposedMusicV1MusicStreamPostModelID ¶
type BodyStreamComposedMusicV1MusicStreamPostModelID string
The model to use for the generation.
const (
BodyStreamComposedMusicV1MusicStreamPostModelIDMusicV1 BodyStreamComposedMusicV1MusicStreamPostModelID = "music_v1"
)
func (BodyStreamComposedMusicV1MusicStreamPostModelID) AllValues ¶
func (BodyStreamComposedMusicV1MusicStreamPostModelID) AllValues() []BodyStreamComposedMusicV1MusicStreamPostModelID
AllValues returns all BodyStreamComposedMusicV1MusicStreamPostModelID values.
func (*BodyStreamComposedMusicV1MusicStreamPostModelID) Decode ¶
func (s *BodyStreamComposedMusicV1MusicStreamPostModelID) Decode(d *jx.Decoder) error
Decode decodes BodyStreamComposedMusicV1MusicStreamPostModelID from json.
func (BodyStreamComposedMusicV1MusicStreamPostModelID) Encode ¶
func (s BodyStreamComposedMusicV1MusicStreamPostModelID) Encode(e *jx.Encoder)
Encode encodes BodyStreamComposedMusicV1MusicStreamPostModelID as json.
func (BodyStreamComposedMusicV1MusicStreamPostModelID) MarshalJSON ¶
func (s BodyStreamComposedMusicV1MusicStreamPostModelID) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyStreamComposedMusicV1MusicStreamPostModelID) MarshalText ¶
func (s BodyStreamComposedMusicV1MusicStreamPostModelID) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyStreamComposedMusicV1MusicStreamPostModelID) UnmarshalJSON ¶
func (s *BodyStreamComposedMusicV1MusicStreamPostModelID) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyStreamComposedMusicV1MusicStreamPostModelID) UnmarshalText ¶
func (s *BodyStreamComposedMusicV1MusicStreamPostModelID) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyStreamComposedMusicV1MusicStreamPostModelID) Validate ¶
func (s BodyStreamComposedMusicV1MusicStreamPostModelID) Validate() error
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 ¶
func (s *BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Decode(d *jx.Decoder) error
Decode decodes BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost from json.
func (*BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Encode ¶
func (s *BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) GetConvertToMpeg ¶
func (s *BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) GetConvertToMpeg() OptBool
GetConvertToMpeg returns the value of ConvertToMpeg.
func (*BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) MarshalJSON ¶
func (s *BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) SetConvertToMpeg ¶
func (s *BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) SetConvertToMpeg(val OptBool)
SetConvertToMpeg sets the value of ConvertToMpeg.
func (*BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) UnmarshalJSON ¶
func (s *BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) UnmarshalJSON(data []byte) error
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 ¶
func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) Decode(d *jx.Decoder) error
Decode decodes BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost from json.
func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) Encode ¶
func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetAgentID ¶
func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetAgentID() string
GetAgentID returns the value of AgentID.
func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetAgentPhoneNumberID ¶
func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetAgentPhoneNumberID() OptNilString
GetAgentPhoneNumberID returns the value of AgentPhoneNumberID.
func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetCallName ¶
func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetCallName() string
GetCallName returns the value of CallName.
func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetRecipients ¶
func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetRecipients() []OutboundCallRecipient
GetRecipients returns the value of Recipients.
func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetScheduledTimeUnix ¶
func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetScheduledTimeUnix() OptNilInt
GetScheduledTimeUnix returns the value of ScheduledTimeUnix.
func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetWhatsappParams ¶
func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) GetWhatsappParams() OptBatchCallWhatsAppParams
GetWhatsappParams returns the value of WhatsappParams.
func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) MarshalJSON ¶
func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetAgentID ¶
func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetAgentID(val string)
SetAgentID sets the value of AgentID.
func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetAgentPhoneNumberID ¶
func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetAgentPhoneNumberID(val OptNilString)
SetAgentPhoneNumberID sets the value of AgentPhoneNumberID.
func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetCallName ¶
func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetCallName(val string)
SetCallName sets the value of CallName.
func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetRecipients ¶
func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetRecipients(val []OutboundCallRecipient)
SetRecipients sets the value of Recipients.
func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetScheduledTimeUnix ¶
func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetScheduledTimeUnix(val OptNilInt)
SetScheduledTimeUnix sets the value of ScheduledTimeUnix.
func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetWhatsappParams ¶
func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) SetWhatsappParams(val OptBatchCallWhatsAppParams)
SetWhatsappParams sets the value of WhatsappParams.
func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) UnmarshalJSON ¶
func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) Validate ¶
func (s *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost) Validate() error
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 ¶
func (s *BodyTextToDialogueFullWithTimestamps) Decode(d *jx.Decoder) error
Decode decodes BodyTextToDialogueFullWithTimestamps from json.
func (*BodyTextToDialogueFullWithTimestamps) Encode ¶
func (s *BodyTextToDialogueFullWithTimestamps) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyTextToDialogueFullWithTimestamps) GetApplyTextNormalization ¶
func (s *BodyTextToDialogueFullWithTimestamps) GetApplyTextNormalization() OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization
GetApplyTextNormalization returns the value of ApplyTextNormalization.
func (*BodyTextToDialogueFullWithTimestamps) GetInputs ¶
func (s *BodyTextToDialogueFullWithTimestamps) GetInputs() []DialogueInput
GetInputs returns the value of Inputs.
func (*BodyTextToDialogueFullWithTimestamps) GetLanguageCode ¶
func (s *BodyTextToDialogueFullWithTimestamps) GetLanguageCode() OptNilString
GetLanguageCode returns the value of LanguageCode.
func (*BodyTextToDialogueFullWithTimestamps) GetModelID ¶
func (s *BodyTextToDialogueFullWithTimestamps) GetModelID() OptString
GetModelID returns the value of ModelID.
func (*BodyTextToDialogueFullWithTimestamps) GetPronunciationDictionaryLocators ¶
func (s *BodyTextToDialogueFullWithTimestamps) GetPronunciationDictionaryLocators() OptNilPronunciationDictionaryVersionLocatorRequestModelArray
GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.
func (*BodyTextToDialogueFullWithTimestamps) GetSeed ¶
func (s *BodyTextToDialogueFullWithTimestamps) GetSeed() OptNilInt
GetSeed returns the value of Seed.
func (*BodyTextToDialogueFullWithTimestamps) GetSettings ¶
func (s *BodyTextToDialogueFullWithTimestamps) GetSettings() OptModelSettingsResponseModel
GetSettings returns the value of Settings.
func (*BodyTextToDialogueFullWithTimestamps) MarshalJSON ¶
func (s *BodyTextToDialogueFullWithTimestamps) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyTextToDialogueFullWithTimestamps) SetApplyTextNormalization ¶
func (s *BodyTextToDialogueFullWithTimestamps) SetApplyTextNormalization(val OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization)
SetApplyTextNormalization sets the value of ApplyTextNormalization.
func (*BodyTextToDialogueFullWithTimestamps) SetInputs ¶
func (s *BodyTextToDialogueFullWithTimestamps) SetInputs(val []DialogueInput)
SetInputs sets the value of Inputs.
func (*BodyTextToDialogueFullWithTimestamps) SetLanguageCode ¶
func (s *BodyTextToDialogueFullWithTimestamps) SetLanguageCode(val OptNilString)
SetLanguageCode sets the value of LanguageCode.
func (*BodyTextToDialogueFullWithTimestamps) SetModelID ¶
func (s *BodyTextToDialogueFullWithTimestamps) SetModelID(val OptString)
SetModelID sets the value of ModelID.
func (*BodyTextToDialogueFullWithTimestamps) SetPronunciationDictionaryLocators ¶
func (s *BodyTextToDialogueFullWithTimestamps) SetPronunciationDictionaryLocators(val OptNilPronunciationDictionaryVersionLocatorRequestModelArray)
SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.
func (*BodyTextToDialogueFullWithTimestamps) SetSeed ¶
func (s *BodyTextToDialogueFullWithTimestamps) SetSeed(val OptNilInt)
SetSeed sets the value of Seed.
func (*BodyTextToDialogueFullWithTimestamps) SetSettings ¶
func (s *BodyTextToDialogueFullWithTimestamps) SetSettings(val OptModelSettingsResponseModel)
SetSettings sets the value of Settings.
func (*BodyTextToDialogueFullWithTimestamps) UnmarshalJSON ¶
func (s *BodyTextToDialogueFullWithTimestamps) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyTextToDialogueFullWithTimestamps) Validate ¶
func (s *BodyTextToDialogueFullWithTimestamps) Validate() error
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 ¶
func (BodyTextToDialogueFullWithTimestampsApplyTextNormalization) AllValues() []BodyTextToDialogueFullWithTimestampsApplyTextNormalization
AllValues returns all BodyTextToDialogueFullWithTimestampsApplyTextNormalization values.
func (*BodyTextToDialogueFullWithTimestampsApplyTextNormalization) Decode ¶
func (s *BodyTextToDialogueFullWithTimestampsApplyTextNormalization) Decode(d *jx.Decoder) error
Decode decodes BodyTextToDialogueFullWithTimestampsApplyTextNormalization from json.
func (BodyTextToDialogueFullWithTimestampsApplyTextNormalization) Encode ¶
func (s BodyTextToDialogueFullWithTimestampsApplyTextNormalization) Encode(e *jx.Encoder)
Encode encodes BodyTextToDialogueFullWithTimestampsApplyTextNormalization as json.
func (BodyTextToDialogueFullWithTimestampsApplyTextNormalization) MarshalJSON ¶
func (s BodyTextToDialogueFullWithTimestampsApplyTextNormalization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyTextToDialogueFullWithTimestampsApplyTextNormalization) MarshalText ¶
func (s BodyTextToDialogueFullWithTimestampsApplyTextNormalization) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyTextToDialogueFullWithTimestampsApplyTextNormalization) UnmarshalJSON ¶
func (s *BodyTextToDialogueFullWithTimestampsApplyTextNormalization) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyTextToDialogueFullWithTimestampsApplyTextNormalization) UnmarshalText ¶
func (s *BodyTextToDialogueFullWithTimestampsApplyTextNormalization) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyTextToDialogueFullWithTimestampsApplyTextNormalization) Validate ¶
func (s BodyTextToDialogueFullWithTimestampsApplyTextNormalization) Validate() error
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 ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) Decode(d *jx.Decoder) error
Decode decodes BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost from json.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) Encode ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetApplyTextNormalization ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetApplyTextNormalization() OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization
GetApplyTextNormalization returns the value of ApplyTextNormalization.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetInputs ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetInputs() []DialogueInput
GetInputs returns the value of Inputs.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetLanguageCode ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetLanguageCode() OptNilString
GetLanguageCode returns the value of LanguageCode.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetModelID ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetModelID() OptString
GetModelID returns the value of ModelID.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetPronunciationDictionaryLocators ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetPronunciationDictionaryLocators() OptNilPronunciationDictionaryVersionLocatorRequestModelArray
GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetSeed ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetSeed() OptNilInt
GetSeed returns the value of Seed.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetSettings ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) GetSettings() OptModelSettingsResponseModel
GetSettings returns the value of Settings.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) MarshalJSON ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetApplyTextNormalization ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetApplyTextNormalization(val OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization)
SetApplyTextNormalization sets the value of ApplyTextNormalization.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetInputs ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetInputs(val []DialogueInput)
SetInputs sets the value of Inputs.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetLanguageCode ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetLanguageCode(val OptNilString)
SetLanguageCode sets the value of LanguageCode.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetModelID ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetModelID(val OptString)
SetModelID sets the value of ModelID.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetPronunciationDictionaryLocators ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetPronunciationDictionaryLocators(val OptNilPronunciationDictionaryVersionLocatorRequestModelArray)
SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetSeed ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetSeed(val OptNilInt)
SetSeed sets the value of Seed.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetSettings ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) SetSettings(val OptModelSettingsResponseModel)
SetSettings sets the value of Settings.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) UnmarshalJSON ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) Validate ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost) Validate() error
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 ¶
func (BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) AllValues() []BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization
AllValues returns all BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization values.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Decode ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Decode(d *jx.Decoder) error
Decode decodes BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization from json.
func (BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Encode ¶
func (s BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Encode(e *jx.Encoder)
Encode encodes BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization as json.
func (BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) MarshalJSON ¶
func (s BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) MarshalText ¶
func (s BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) UnmarshalJSON ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) UnmarshalText ¶
func (s *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
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 ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) Decode(d *jx.Decoder) error
Decode decodes BodyTextToDialogueMultiVoiceV1TextToDialoguePost from json.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) Encode ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetApplyTextNormalization ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetApplyTextNormalization() OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization
GetApplyTextNormalization returns the value of ApplyTextNormalization.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetInputs ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetInputs() []DialogueInput
GetInputs returns the value of Inputs.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetLanguageCode ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetLanguageCode() OptNilString
GetLanguageCode returns the value of LanguageCode.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetModelID ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetModelID() OptString
GetModelID returns the value of ModelID.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetPronunciationDictionaryLocators ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetPronunciationDictionaryLocators() OptNilPronunciationDictionaryVersionLocatorRequestModelArray
GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetSeed ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetSeed() OptNilInt
GetSeed returns the value of Seed.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetSettings ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) GetSettings() OptModelSettingsResponseModel
GetSettings returns the value of Settings.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) MarshalJSON ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetApplyTextNormalization ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetApplyTextNormalization(val OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization)
SetApplyTextNormalization sets the value of ApplyTextNormalization.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetInputs ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetInputs(val []DialogueInput)
SetInputs sets the value of Inputs.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetLanguageCode ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetLanguageCode(val OptNilString)
SetLanguageCode sets the value of LanguageCode.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetModelID ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetModelID(val OptString)
SetModelID sets the value of ModelID.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetPronunciationDictionaryLocators ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetPronunciationDictionaryLocators(val OptNilPronunciationDictionaryVersionLocatorRequestModelArray)
SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetSeed ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetSeed(val OptNilInt)
SetSeed sets the value of Seed.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetSettings ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) SetSettings(val OptModelSettingsResponseModel)
SetSettings sets the value of Settings.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) UnmarshalJSON ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePost) Validate ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePost) Validate() error
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 ¶
func (BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) AllValues() []BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization
AllValues returns all BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization values.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Decode ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Decode(d *jx.Decoder) error
Decode decodes BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization from json.
func (BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Encode ¶
func (s BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Encode(e *jx.Encoder)
Encode encodes BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization as json.
func (BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) MarshalJSON ¶
func (s BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) MarshalText ¶
func (s BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) UnmarshalJSON ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) UnmarshalText ¶
func (s *BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Validate ¶
func (s BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Validate() error
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 ¶
func (s *BodyTextToDialogueStreamWithTimestamps) Decode(d *jx.Decoder) error
Decode decodes BodyTextToDialogueStreamWithTimestamps from json.
func (*BodyTextToDialogueStreamWithTimestamps) Encode ¶
func (s *BodyTextToDialogueStreamWithTimestamps) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyTextToDialogueStreamWithTimestamps) GetApplyTextNormalization ¶
func (s *BodyTextToDialogueStreamWithTimestamps) GetApplyTextNormalization() OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization
GetApplyTextNormalization returns the value of ApplyTextNormalization.
func (*BodyTextToDialogueStreamWithTimestamps) GetInputs ¶
func (s *BodyTextToDialogueStreamWithTimestamps) GetInputs() []DialogueInput
GetInputs returns the value of Inputs.
func (*BodyTextToDialogueStreamWithTimestamps) GetLanguageCode ¶
func (s *BodyTextToDialogueStreamWithTimestamps) GetLanguageCode() OptNilString
GetLanguageCode returns the value of LanguageCode.
func (*BodyTextToDialogueStreamWithTimestamps) GetModelID ¶
func (s *BodyTextToDialogueStreamWithTimestamps) GetModelID() OptString
GetModelID returns the value of ModelID.
func (*BodyTextToDialogueStreamWithTimestamps) GetPronunciationDictionaryLocators ¶
func (s *BodyTextToDialogueStreamWithTimestamps) GetPronunciationDictionaryLocators() OptNilPronunciationDictionaryVersionLocatorRequestModelArray
GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.
func (*BodyTextToDialogueStreamWithTimestamps) GetSeed ¶
func (s *BodyTextToDialogueStreamWithTimestamps) GetSeed() OptNilInt
GetSeed returns the value of Seed.
func (*BodyTextToDialogueStreamWithTimestamps) GetSettings ¶
func (s *BodyTextToDialogueStreamWithTimestamps) GetSettings() OptModelSettingsResponseModel
GetSettings returns the value of Settings.
func (*BodyTextToDialogueStreamWithTimestamps) MarshalJSON ¶
func (s *BodyTextToDialogueStreamWithTimestamps) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyTextToDialogueStreamWithTimestamps) SetApplyTextNormalization ¶
func (s *BodyTextToDialogueStreamWithTimestamps) SetApplyTextNormalization(val OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization)
SetApplyTextNormalization sets the value of ApplyTextNormalization.
func (*BodyTextToDialogueStreamWithTimestamps) SetInputs ¶
func (s *BodyTextToDialogueStreamWithTimestamps) SetInputs(val []DialogueInput)
SetInputs sets the value of Inputs.
func (*BodyTextToDialogueStreamWithTimestamps) SetLanguageCode ¶
func (s *BodyTextToDialogueStreamWithTimestamps) SetLanguageCode(val OptNilString)
SetLanguageCode sets the value of LanguageCode.
func (*BodyTextToDialogueStreamWithTimestamps) SetModelID ¶
func (s *BodyTextToDialogueStreamWithTimestamps) SetModelID(val OptString)
SetModelID sets the value of ModelID.
func (*BodyTextToDialogueStreamWithTimestamps) SetPronunciationDictionaryLocators ¶
func (s *BodyTextToDialogueStreamWithTimestamps) SetPronunciationDictionaryLocators(val OptNilPronunciationDictionaryVersionLocatorRequestModelArray)
SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.
func (*BodyTextToDialogueStreamWithTimestamps) SetSeed ¶
func (s *BodyTextToDialogueStreamWithTimestamps) SetSeed(val OptNilInt)
SetSeed sets the value of Seed.
func (*BodyTextToDialogueStreamWithTimestamps) SetSettings ¶
func (s *BodyTextToDialogueStreamWithTimestamps) SetSettings(val OptModelSettingsResponseModel)
SetSettings sets the value of Settings.
func (*BodyTextToDialogueStreamWithTimestamps) UnmarshalJSON ¶
func (s *BodyTextToDialogueStreamWithTimestamps) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyTextToDialogueStreamWithTimestamps) Validate ¶
func (s *BodyTextToDialogueStreamWithTimestamps) Validate() error
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 ¶
func (BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) AllValues() []BodyTextToDialogueStreamWithTimestampsApplyTextNormalization
AllValues returns all BodyTextToDialogueStreamWithTimestampsApplyTextNormalization values.
func (*BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Decode ¶
func (s *BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Decode(d *jx.Decoder) error
Decode decodes BodyTextToDialogueStreamWithTimestampsApplyTextNormalization from json.
func (BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Encode ¶
func (s BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Encode(e *jx.Encoder)
Encode encodes BodyTextToDialogueStreamWithTimestampsApplyTextNormalization as json.
func (BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) MarshalJSON ¶
func (s BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) MarshalText ¶
func (s BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) UnmarshalJSON ¶
func (s *BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) UnmarshalText ¶
func (s *BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Validate ¶
func (s BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Validate() error
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 ¶
func (s *BodyTextToSpeechFull) GetApplyTextNormalization() OptBodyTextToSpeechFullApplyTextNormalization
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 ¶
func (s *BodyTextToSpeechFull) GetPronunciationDictionaryLocators() OptNilPronunciationDictionaryVersionLocatorRequestModelArray
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 ¶
func (s *BodyTextToSpeechFull) GetVoiceSettings() OptVoiceSettingsResponseModel
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 ¶
func (s *BodyTextToSpeechFull) SetPronunciationDictionaryLocators(val OptNilPronunciationDictionaryVersionLocatorRequestModelArray)
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 ¶
func (BodyTextToSpeechFullApplyTextNormalization) AllValues() []BodyTextToSpeechFullApplyTextNormalization
AllValues returns all BodyTextToSpeechFullApplyTextNormalization values.
func (*BodyTextToSpeechFullApplyTextNormalization) Decode ¶
func (s *BodyTextToSpeechFullApplyTextNormalization) Decode(d *jx.Decoder) error
Decode decodes BodyTextToSpeechFullApplyTextNormalization from json.
func (BodyTextToSpeechFullApplyTextNormalization) Encode ¶
func (s BodyTextToSpeechFullApplyTextNormalization) Encode(e *jx.Encoder)
Encode encodes BodyTextToSpeechFullApplyTextNormalization as json.
func (BodyTextToSpeechFullApplyTextNormalization) MarshalJSON ¶
func (s BodyTextToSpeechFullApplyTextNormalization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyTextToSpeechFullApplyTextNormalization) MarshalText ¶
func (s BodyTextToSpeechFullApplyTextNormalization) MarshalText() ([]byte, error)
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 ¶
func (s BodyTextToSpeechFullApplyTextNormalization) Validate() error
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 ¶
func (s *BodyTextToSpeechFullWithTimestamps) Decode(d *jx.Decoder) error
Decode decodes BodyTextToSpeechFullWithTimestamps from json.
func (*BodyTextToSpeechFullWithTimestamps) Encode ¶
func (s *BodyTextToSpeechFullWithTimestamps) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyTextToSpeechFullWithTimestamps) GetApplyLanguageTextNormalization ¶
func (s *BodyTextToSpeechFullWithTimestamps) GetApplyLanguageTextNormalization() OptBool
GetApplyLanguageTextNormalization returns the value of ApplyLanguageTextNormalization.
func (*BodyTextToSpeechFullWithTimestamps) GetApplyTextNormalization ¶
func (s *BodyTextToSpeechFullWithTimestamps) GetApplyTextNormalization() OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization
GetApplyTextNormalization returns the value of ApplyTextNormalization.
func (*BodyTextToSpeechFullWithTimestamps) GetLanguageCode ¶
func (s *BodyTextToSpeechFullWithTimestamps) GetLanguageCode() OptNilString
GetLanguageCode returns the value of LanguageCode.
func (*BodyTextToSpeechFullWithTimestamps) GetModelID ¶
func (s *BodyTextToSpeechFullWithTimestamps) GetModelID() OptString
GetModelID returns the value of ModelID.
func (*BodyTextToSpeechFullWithTimestamps) GetNextRequestIds ¶
func (s *BodyTextToSpeechFullWithTimestamps) GetNextRequestIds() []string
GetNextRequestIds returns the value of NextRequestIds.
func (*BodyTextToSpeechFullWithTimestamps) GetNextText ¶
func (s *BodyTextToSpeechFullWithTimestamps) GetNextText() OptNilString
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 ¶
func (s *BodyTextToSpeechFullWithTimestamps) GetPronunciationDictionaryLocators() []PronunciationDictionaryVersionLocatorRequestModel
GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.
func (*BodyTextToSpeechFullWithTimestamps) GetSeed ¶
func (s *BodyTextToSpeechFullWithTimestamps) GetSeed() OptNilInt
GetSeed returns the value of Seed.
func (*BodyTextToSpeechFullWithTimestamps) GetText ¶
func (s *BodyTextToSpeechFullWithTimestamps) GetText() string
GetText returns the value of Text.
func (*BodyTextToSpeechFullWithTimestamps) GetUsePvcAsIvc ¶
func (s *BodyTextToSpeechFullWithTimestamps) GetUsePvcAsIvc() OptBool
GetUsePvcAsIvc returns the value of UsePvcAsIvc.
func (*BodyTextToSpeechFullWithTimestamps) GetVoiceSettings ¶
func (s *BodyTextToSpeechFullWithTimestamps) GetVoiceSettings() OptVoiceSettingsResponseModel
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 ¶
func (s *BodyTextToSpeechFullWithTimestamps) SetApplyTextNormalization(val OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization)
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 ¶
func (s *BodyTextToSpeechFullWithTimestamps) SetNextText(val OptNilString)
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 ¶
func (s *BodyTextToSpeechFullWithTimestamps) SetPronunciationDictionaryLocators(val []PronunciationDictionaryVersionLocatorRequestModel)
SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.
func (*BodyTextToSpeechFullWithTimestamps) SetSeed ¶
func (s *BodyTextToSpeechFullWithTimestamps) SetSeed(val OptNilInt)
SetSeed sets the value of Seed.
func (*BodyTextToSpeechFullWithTimestamps) SetText ¶
func (s *BodyTextToSpeechFullWithTimestamps) SetText(val string)
SetText sets the value of Text.
func (*BodyTextToSpeechFullWithTimestamps) SetUsePvcAsIvc ¶
func (s *BodyTextToSpeechFullWithTimestamps) SetUsePvcAsIvc(val OptBool)
SetUsePvcAsIvc sets the value of UsePvcAsIvc.
func (*BodyTextToSpeechFullWithTimestamps) SetVoiceSettings ¶
func (s *BodyTextToSpeechFullWithTimestamps) SetVoiceSettings(val OptVoiceSettingsResponseModel)
SetVoiceSettings sets the value of VoiceSettings.
func (*BodyTextToSpeechFullWithTimestamps) UnmarshalJSON ¶
func (s *BodyTextToSpeechFullWithTimestamps) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyTextToSpeechFullWithTimestamps) Validate ¶
func (s *BodyTextToSpeechFullWithTimestamps) Validate() error
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 ¶
func (BodyTextToSpeechFullWithTimestampsApplyTextNormalization) AllValues() []BodyTextToSpeechFullWithTimestampsApplyTextNormalization
AllValues returns all BodyTextToSpeechFullWithTimestampsApplyTextNormalization values.
func (*BodyTextToSpeechFullWithTimestampsApplyTextNormalization) Decode ¶
func (s *BodyTextToSpeechFullWithTimestampsApplyTextNormalization) Decode(d *jx.Decoder) error
Decode decodes BodyTextToSpeechFullWithTimestampsApplyTextNormalization from json.
func (BodyTextToSpeechFullWithTimestampsApplyTextNormalization) Encode ¶
func (s BodyTextToSpeechFullWithTimestampsApplyTextNormalization) Encode(e *jx.Encoder)
Encode encodes BodyTextToSpeechFullWithTimestampsApplyTextNormalization as json.
func (BodyTextToSpeechFullWithTimestampsApplyTextNormalization) MarshalJSON ¶
func (s BodyTextToSpeechFullWithTimestampsApplyTextNormalization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyTextToSpeechFullWithTimestampsApplyTextNormalization) MarshalText ¶
func (s BodyTextToSpeechFullWithTimestampsApplyTextNormalization) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyTextToSpeechFullWithTimestampsApplyTextNormalization) UnmarshalJSON ¶
func (s *BodyTextToSpeechFullWithTimestampsApplyTextNormalization) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyTextToSpeechFullWithTimestampsApplyTextNormalization) UnmarshalText ¶
func (s *BodyTextToSpeechFullWithTimestampsApplyTextNormalization) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyTextToSpeechFullWithTimestampsApplyTextNormalization) Validate ¶
func (s BodyTextToSpeechFullWithTimestampsApplyTextNormalization) Validate() error
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 ¶
func (s *BodyTextToSpeechStream) GetApplyTextNormalization() OptBodyTextToSpeechStreamApplyTextNormalization
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 ¶
func (s *BodyTextToSpeechStream) GetPronunciationDictionaryLocators() OptNilPronunciationDictionaryVersionLocatorRequestModelArray
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 ¶
func (s *BodyTextToSpeechStream) GetVoiceSettings() OptVoiceSettingsResponseModel
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 ¶
func (s *BodyTextToSpeechStream) SetApplyTextNormalization(val OptBodyTextToSpeechStreamApplyTextNormalization)
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 ¶
func (s *BodyTextToSpeechStream) SetPronunciationDictionaryLocators(val OptNilPronunciationDictionaryVersionLocatorRequestModelArray)
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 ¶
func (BodyTextToSpeechStreamApplyTextNormalization) AllValues() []BodyTextToSpeechStreamApplyTextNormalization
AllValues returns all BodyTextToSpeechStreamApplyTextNormalization values.
func (*BodyTextToSpeechStreamApplyTextNormalization) Decode ¶
func (s *BodyTextToSpeechStreamApplyTextNormalization) Decode(d *jx.Decoder) error
Decode decodes BodyTextToSpeechStreamApplyTextNormalization from json.
func (BodyTextToSpeechStreamApplyTextNormalization) Encode ¶
func (s BodyTextToSpeechStreamApplyTextNormalization) Encode(e *jx.Encoder)
Encode encodes BodyTextToSpeechStreamApplyTextNormalization as json.
func (BodyTextToSpeechStreamApplyTextNormalization) MarshalJSON ¶
func (s BodyTextToSpeechStreamApplyTextNormalization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyTextToSpeechStreamApplyTextNormalization) MarshalText ¶
func (s BodyTextToSpeechStreamApplyTextNormalization) MarshalText() ([]byte, error)
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 ¶
func (s BodyTextToSpeechStreamApplyTextNormalization) Validate() error
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 ¶
func (s *BodyTextToSpeechStreamWithTimestamps) Decode(d *jx.Decoder) error
Decode decodes BodyTextToSpeechStreamWithTimestamps from json.
func (*BodyTextToSpeechStreamWithTimestamps) Encode ¶
func (s *BodyTextToSpeechStreamWithTimestamps) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyTextToSpeechStreamWithTimestamps) GetApplyLanguageTextNormalization ¶
func (s *BodyTextToSpeechStreamWithTimestamps) GetApplyLanguageTextNormalization() OptBool
GetApplyLanguageTextNormalization returns the value of ApplyLanguageTextNormalization.
func (*BodyTextToSpeechStreamWithTimestamps) GetApplyTextNormalization ¶
func (s *BodyTextToSpeechStreamWithTimestamps) GetApplyTextNormalization() OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization
GetApplyTextNormalization returns the value of ApplyTextNormalization.
func (*BodyTextToSpeechStreamWithTimestamps) GetLanguageCode ¶
func (s *BodyTextToSpeechStreamWithTimestamps) GetLanguageCode() OptNilString
GetLanguageCode returns the value of LanguageCode.
func (*BodyTextToSpeechStreamWithTimestamps) GetModelID ¶
func (s *BodyTextToSpeechStreamWithTimestamps) GetModelID() OptString
GetModelID returns the value of ModelID.
func (*BodyTextToSpeechStreamWithTimestamps) GetNextRequestIds ¶
func (s *BodyTextToSpeechStreamWithTimestamps) GetNextRequestIds() OptNilStringArray
GetNextRequestIds returns the value of NextRequestIds.
func (*BodyTextToSpeechStreamWithTimestamps) GetNextText ¶
func (s *BodyTextToSpeechStreamWithTimestamps) GetNextText() OptNilString
GetNextText returns the value of NextText.
func (*BodyTextToSpeechStreamWithTimestamps) GetPreviousRequestIds ¶
func (s *BodyTextToSpeechStreamWithTimestamps) GetPreviousRequestIds() OptNilStringArray
GetPreviousRequestIds returns the value of PreviousRequestIds.
func (*BodyTextToSpeechStreamWithTimestamps) GetPreviousText ¶
func (s *BodyTextToSpeechStreamWithTimestamps) GetPreviousText() OptNilString
GetPreviousText returns the value of PreviousText.
func (*BodyTextToSpeechStreamWithTimestamps) GetPronunciationDictionaryLocators ¶
func (s *BodyTextToSpeechStreamWithTimestamps) GetPronunciationDictionaryLocators() OptNilPronunciationDictionaryVersionLocatorRequestModelArray
GetPronunciationDictionaryLocators returns the value of PronunciationDictionaryLocators.
func (*BodyTextToSpeechStreamWithTimestamps) GetSeed ¶
func (s *BodyTextToSpeechStreamWithTimestamps) GetSeed() OptNilInt
GetSeed returns the value of Seed.
func (*BodyTextToSpeechStreamWithTimestamps) GetText ¶
func (s *BodyTextToSpeechStreamWithTimestamps) GetText() string
GetText returns the value of Text.
func (*BodyTextToSpeechStreamWithTimestamps) GetUsePvcAsIvc ¶
func (s *BodyTextToSpeechStreamWithTimestamps) GetUsePvcAsIvc() OptBool
GetUsePvcAsIvc returns the value of UsePvcAsIvc.
func (*BodyTextToSpeechStreamWithTimestamps) GetVoiceSettings ¶
func (s *BodyTextToSpeechStreamWithTimestamps) GetVoiceSettings() OptVoiceSettingsResponseModel
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 ¶
func (s *BodyTextToSpeechStreamWithTimestamps) SetApplyTextNormalization(val OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization)
SetApplyTextNormalization sets the value of ApplyTextNormalization.
func (*BodyTextToSpeechStreamWithTimestamps) SetLanguageCode ¶
func (s *BodyTextToSpeechStreamWithTimestamps) SetLanguageCode(val OptNilString)
SetLanguageCode sets the value of LanguageCode.
func (*BodyTextToSpeechStreamWithTimestamps) SetModelID ¶
func (s *BodyTextToSpeechStreamWithTimestamps) SetModelID(val OptString)
SetModelID sets the value of ModelID.
func (*BodyTextToSpeechStreamWithTimestamps) SetNextRequestIds ¶
func (s *BodyTextToSpeechStreamWithTimestamps) SetNextRequestIds(val OptNilStringArray)
SetNextRequestIds sets the value of NextRequestIds.
func (*BodyTextToSpeechStreamWithTimestamps) SetNextText ¶
func (s *BodyTextToSpeechStreamWithTimestamps) SetNextText(val OptNilString)
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 ¶
func (s *BodyTextToSpeechStreamWithTimestamps) SetPronunciationDictionaryLocators(val OptNilPronunciationDictionaryVersionLocatorRequestModelArray)
SetPronunciationDictionaryLocators sets the value of PronunciationDictionaryLocators.
func (*BodyTextToSpeechStreamWithTimestamps) SetSeed ¶
func (s *BodyTextToSpeechStreamWithTimestamps) SetSeed(val OptNilInt)
SetSeed sets the value of Seed.
func (*BodyTextToSpeechStreamWithTimestamps) SetText ¶
func (s *BodyTextToSpeechStreamWithTimestamps) SetText(val string)
SetText sets the value of Text.
func (*BodyTextToSpeechStreamWithTimestamps) SetUsePvcAsIvc ¶
func (s *BodyTextToSpeechStreamWithTimestamps) SetUsePvcAsIvc(val OptBool)
SetUsePvcAsIvc sets the value of UsePvcAsIvc.
func (*BodyTextToSpeechStreamWithTimestamps) SetVoiceSettings ¶
func (s *BodyTextToSpeechStreamWithTimestamps) SetVoiceSettings(val OptVoiceSettingsResponseModel)
SetVoiceSettings sets the value of VoiceSettings.
func (*BodyTextToSpeechStreamWithTimestamps) UnmarshalJSON ¶
func (s *BodyTextToSpeechStreamWithTimestamps) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyTextToSpeechStreamWithTimestamps) Validate ¶
func (s *BodyTextToSpeechStreamWithTimestamps) Validate() error
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 ¶
func (BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) AllValues() []BodyTextToSpeechStreamWithTimestampsApplyTextNormalization
AllValues returns all BodyTextToSpeechStreamWithTimestampsApplyTextNormalization values.
func (*BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Decode ¶
func (s *BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Decode(d *jx.Decoder) error
Decode decodes BodyTextToSpeechStreamWithTimestampsApplyTextNormalization from json.
func (BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Encode ¶
func (s BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Encode(e *jx.Encoder)
Encode encodes BodyTextToSpeechStreamWithTimestampsApplyTextNormalization as json.
func (BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) MarshalJSON ¶
func (s BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) MarshalText ¶
func (s BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) UnmarshalJSON ¶
func (s *BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) UnmarshalText ¶
func (s *BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Validate ¶
func (s BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Validate() error
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 ¶
func (s *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) Decode(d *jx.Decoder) error
Decode decodes BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost from json.
func (*BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) Encode ¶
func (s *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) GetSegments ¶
func (s *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) GetSegments() []string
GetSegments returns the value of Segments.
func (*BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) MarshalJSON ¶
func (s *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) SetSegments ¶
func (s *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) SetSegments(val []string)
SetSegments sets the value of Segments.
func (*BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) UnmarshalJSON ¶
func (s *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) Validate ¶
func (s *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost) Validate() error
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 ¶
func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) Decode(d *jx.Decoder) error
Decode decodes BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost from json.
func (*BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) Encode ¶
func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) GetLanguages ¶
func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) GetLanguages() []string
GetLanguages returns the value of Languages.
func (*BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) GetSegments ¶
func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) GetSegments() []string
GetSegments returns the value of Segments.
func (*BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) MarshalJSON ¶
func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) SetLanguages ¶
func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) SetLanguages(val []string)
SetLanguages sets the value of Languages.
func (*BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) SetSegments ¶
func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) SetSegments(val []string)
SetSegments sets the value of Segments.
func (*BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) UnmarshalJSON ¶
func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) Validate ¶
func (s *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost) Validate() error
type BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost ¶
type BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost struct {
// use the value 'default'.
GroupID OptNilString `json:"group_id"`
ResourceType WorkspaceResourceType `json:"resource_type"`
UserEmail OptNilString `json:"user_email"`
// 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 ¶
func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) Decode(d *jx.Decoder) error
Decode decodes BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost from json.
func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) Encode ¶
func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) GetGroupID ¶
func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) GetGroupID() OptNilString
GetGroupID returns the value of GroupID.
func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) GetResourceType ¶
func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) GetResourceType() WorkspaceResourceType
GetResourceType returns the value of ResourceType.
func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) GetUserEmail ¶
func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) GetUserEmail() OptNilString
GetUserEmail returns the value of UserEmail.
func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) GetWorkspaceAPIKeyID ¶
func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) GetWorkspaceAPIKeyID() OptNilString
GetWorkspaceAPIKeyID returns the value of WorkspaceAPIKeyID.
func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) MarshalJSON ¶
func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) SetGroupID ¶
func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) SetGroupID(val OptNilString)
SetGroupID sets the value of GroupID.
func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) SetResourceType ¶
func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) SetResourceType(val WorkspaceResourceType)
SetResourceType sets the value of ResourceType.
func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) SetUserEmail ¶
func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) SetUserEmail(val OptNilString)
SetUserEmail sets the value of UserEmail.
func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) SetWorkspaceAPIKeyID ¶
func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) SetWorkspaceAPIKeyID(val OptNilString)
SetWorkspaceAPIKeyID sets the value of WorkspaceAPIKeyID.
func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) UnmarshalJSON ¶
func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) Validate ¶
func (s *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost) Validate() error
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 ¶
func (s *BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) GetAutoConvert() OptBool
GetAutoConvert returns the value of AutoConvert.
func (*BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) GetAutoPublish ¶
func (s *BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) GetAutoPublish() OptBool
GetAutoPublish returns the value of AutoPublish.
func (*BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) GetFile ¶
func (s *BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) GetFile() OptMultipartFile
GetFile returns the value of File.
func (*BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) SetAutoConvert ¶
func (s *BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) SetAutoConvert(val OptBool)
SetAutoConvert sets the value of AutoConvert.
func (*BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) SetAutoPublish ¶
func (s *BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) SetAutoPublish(val OptBool)
SetAutoPublish sets the value of AutoPublish.
func (*BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) SetFile ¶
func (s *BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) SetFile(val OptMultipartFile)
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 ¶
func (s *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) Decode(d *jx.Decoder) error
Decode decodes BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch from json.
func (*BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) Encode ¶
func (s *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) GetName ¶
func (s *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) GetName() string
GetName returns the value of Name.
func (*BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) MarshalJSON ¶
func (s *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) SetName ¶
func (s *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) SetName(val string)
SetName sets the value of Name.
func (*BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) UnmarshalJSON ¶
func (s *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) Validate ¶
func (s *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch) Validate() error
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 ¶
func (s *BodyUpdateMemberV1WorkspaceMembersPost) Decode(d *jx.Decoder) error
Decode decodes BodyUpdateMemberV1WorkspaceMembersPost from json.
func (*BodyUpdateMemberV1WorkspaceMembersPost) Encode ¶
func (s *BodyUpdateMemberV1WorkspaceMembersPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyUpdateMemberV1WorkspaceMembersPost) GetEmail ¶
func (s *BodyUpdateMemberV1WorkspaceMembersPost) GetEmail() string
GetEmail returns the value of Email.
func (*BodyUpdateMemberV1WorkspaceMembersPost) GetIsLocked ¶
func (s *BodyUpdateMemberV1WorkspaceMembersPost) GetIsLocked() OptNilBool
GetIsLocked returns the value of IsLocked.
func (*BodyUpdateMemberV1WorkspaceMembersPost) GetWorkspaceRole ¶
func (s *BodyUpdateMemberV1WorkspaceMembersPost) GetWorkspaceRole() OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole
GetWorkspaceRole returns the value of WorkspaceRole.
func (*BodyUpdateMemberV1WorkspaceMembersPost) MarshalJSON ¶
func (s *BodyUpdateMemberV1WorkspaceMembersPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyUpdateMemberV1WorkspaceMembersPost) SetEmail ¶
func (s *BodyUpdateMemberV1WorkspaceMembersPost) SetEmail(val string)
SetEmail sets the value of Email.
func (*BodyUpdateMemberV1WorkspaceMembersPost) SetIsLocked ¶
func (s *BodyUpdateMemberV1WorkspaceMembersPost) SetIsLocked(val OptNilBool)
SetIsLocked sets the value of IsLocked.
func (*BodyUpdateMemberV1WorkspaceMembersPost) SetWorkspaceRole ¶
func (s *BodyUpdateMemberV1WorkspaceMembersPost) SetWorkspaceRole(val OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole)
SetWorkspaceRole sets the value of WorkspaceRole.
func (*BodyUpdateMemberV1WorkspaceMembersPost) UnmarshalJSON ¶
func (s *BodyUpdateMemberV1WorkspaceMembersPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyUpdateMemberV1WorkspaceMembersPost) Validate ¶
func (s *BodyUpdateMemberV1WorkspaceMembersPost) Validate() error
type BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole ¶
type BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole string
Role dictating permissions in the workspace.
const ( BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRoleWorkspaceAdmin BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole = "workspace_admin" BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRoleWorkspaceMember BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole = "workspace_member" )
func (BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) AllValues ¶
func (BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) AllValues() []BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole
AllValues returns all BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole values.
func (*BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Decode ¶
func (s *BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Decode(d *jx.Decoder) error
Decode decodes BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole from json.
func (BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Encode ¶
func (s BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Encode(e *jx.Encoder)
Encode encodes BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole as json.
func (BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) MarshalJSON ¶
func (s BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) MarshalText ¶
func (s BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) UnmarshalJSON ¶
func (s *BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) UnmarshalText ¶
func (s *BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Validate ¶
func (s BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Validate() error
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 ¶
func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Decode(d *jx.Decoder) error
Decode decodes BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch from json.
func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Encode ¶
func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetLanguages ¶
func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetLanguages() OptNilStringArray
GetLanguages returns the value of Languages.
func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetSpeakerName ¶
func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetSpeakerName() OptNilString
GetSpeakerName returns the value of SpeakerName.
func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetVoiceID ¶
func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetVoiceID() OptNilString
GetVoiceID returns the value of VoiceID.
func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetVoiceSimilarity ¶
func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetVoiceSimilarity() OptNilFloat64
GetVoiceSimilarity returns the value of VoiceSimilarity.
func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetVoiceStability ¶
func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetVoiceStability() OptNilFloat64
GetVoiceStability returns the value of VoiceStability.
func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetVoiceStyle ¶
func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) GetVoiceStyle() OptNilFloat64
GetVoiceStyle returns the value of VoiceStyle.
func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) MarshalJSON ¶
func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetLanguages ¶
func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetLanguages(val OptNilStringArray)
SetLanguages sets the value of Languages.
func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetSpeakerName ¶
func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetSpeakerName(val OptNilString)
SetSpeakerName sets the value of SpeakerName.
func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetVoiceID ¶
func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetVoiceID(val OptNilString)
SetVoiceID sets the value of VoiceID.
func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetVoiceSimilarity ¶
func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetVoiceSimilarity(val OptNilFloat64)
SetVoiceSimilarity sets the value of VoiceSimilarity.
func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetVoiceStability ¶
func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetVoiceStability(val OptNilFloat64)
SetVoiceStability sets the value of VoiceStability.
func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetVoiceStyle ¶
func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetVoiceStyle(val OptNilFloat64)
SetVoiceStyle sets the value of VoiceStyle.
func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) UnmarshalJSON ¶
func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Validate ¶
func (s *BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Validate() error
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 ¶
func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Decode(d *jx.Decoder) error
Decode decodes BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost from json.
func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Encode ¶
func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetFileName ¶
func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetFileName() OptNilString
GetFileName returns the value of FileName.
func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetRemoveBackgroundNoise ¶
func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetRemoveBackgroundNoise() OptBool
GetRemoveBackgroundNoise returns the value of RemoveBackgroundNoise.
func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetSelectedSpeakerIds ¶
func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetSelectedSpeakerIds() OptNilStringArray
GetSelectedSpeakerIds returns the value of SelectedSpeakerIds.
func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetTrimEndTime ¶
func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetTrimEndTime() OptNilInt
GetTrimEndTime returns the value of TrimEndTime.
func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetTrimStartTime ¶
func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) GetTrimStartTime() OptNilInt
GetTrimStartTime returns the value of TrimStartTime.
func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) MarshalJSON ¶
func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetFileName ¶
func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetFileName(val OptNilString)
SetFileName sets the value of FileName.
func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetRemoveBackgroundNoise ¶
func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetRemoveBackgroundNoise(val OptBool)
SetRemoveBackgroundNoise sets the value of RemoveBackgroundNoise.
func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetSelectedSpeakerIds ¶
func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetSelectedSpeakerIds(val OptNilStringArray)
SetSelectedSpeakerIds sets the value of SelectedSpeakerIds.
func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetTrimEndTime ¶
func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetTrimEndTime(val OptNilInt)
SetTrimEndTime sets the value of TrimEndTime.
func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetTrimStartTime ¶
func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetTrimStartTime(val OptNilInt)
SetTrimStartTime sets the value of TrimStartTime.
func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) UnmarshalJSON ¶
func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Validate ¶
func (s *BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Validate() error
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 ¶
func (s *BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Decode(d *jx.Decoder) error
Decode decodes BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch from json.
func (*BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Encode ¶
func (s *BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) GetArchived ¶
func (s *BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) GetArchived() OptBool
GetArchived returns the value of Archived.
func (*BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) GetName ¶
func (s *BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) GetName() OptString
GetName returns the value of Name.
func (*BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) MarshalJSON ¶
func (s *BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) SetArchived ¶
func (s *BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) SetArchived(val OptBool)
SetArchived sets the value of Archived.
func (*BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) SetName ¶
func (s *BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) SetName(val OptString)
SetName sets the value of Name.
func (*BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) UnmarshalJSON ¶
func (s *BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) UnmarshalJSON(data []byte) error
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 ¶
func (s *BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) GetAutoConvert() OptBool
GetAutoConvert returns the value of AutoConvert.
func (*BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) GetFromContentJSON ¶
func (s *BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) GetFromContentJSON() OptString
GetFromContentJSON returns the value of FromContentJSON.
func (*BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) GetFromDocument ¶
func (s *BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) GetFromDocument() OptNilString
GetFromDocument returns the value of FromDocument.
func (*BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) GetFromURL ¶
func (s *BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) GetFromURL() OptNilString
GetFromURL returns the value of FromURL.
func (*BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetAutoConvert ¶
func (s *BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetAutoConvert(val OptBool)
SetAutoConvert sets the value of AutoConvert.
func (*BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetFromContentJSON ¶
func (s *BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetFromContentJSON(val OptString)
SetFromContentJSON sets the value of FromContentJSON.
func (*BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetFromDocument ¶
func (s *BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetFromDocument(val OptNilString)
SetFromDocument sets the value of FromDocument.
func (*BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetFromURL ¶
func (s *BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetFromURL(val OptNilString)
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 ¶
func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) Decode(d *jx.Decoder) error
Decode decodes BodyUpdateStudioProjectV1StudioProjectsProjectIDPost from json.
func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) Encode ¶
func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetAuthor ¶
func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetAuthor() OptNilString
GetAuthor returns the value of Author.
func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetDefaultParagraphVoiceID ¶
func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetDefaultParagraphVoiceID() string
GetDefaultParagraphVoiceID returns the value of DefaultParagraphVoiceID.
func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetDefaultTitleVoiceID ¶
func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetDefaultTitleVoiceID() string
GetDefaultTitleVoiceID returns the value of DefaultTitleVoiceID.
func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetIsbnNumber ¶
func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetIsbnNumber() OptNilString
GetIsbnNumber returns the value of IsbnNumber.
func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetName ¶
func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetName() string
GetName returns the value of Name.
func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetTitle ¶
func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetTitle() OptNilString
GetTitle returns the value of Title.
func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetVolumeNormalization ¶
func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) GetVolumeNormalization() OptBool
GetVolumeNormalization returns the value of VolumeNormalization.
func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) MarshalJSON ¶
func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetAuthor ¶
func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetAuthor(val OptNilString)
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 ¶
func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetIsbnNumber(val OptNilString)
SetIsbnNumber sets the value of IsbnNumber.
func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetName ¶
func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetName(val string)
SetName sets the value of Name.
func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetTitle ¶
func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetTitle(val OptNilString)
SetTitle sets the value of Title.
func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetVolumeNormalization ¶
func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) SetVolumeNormalization(val OptBool)
SetVolumeNormalization sets the value of VolumeNormalization.
func (*BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) UnmarshalJSON ¶
func (s *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost) UnmarshalJSON(data []byte) error
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 ¶
func (s *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) Decode(d *jx.Decoder) error
Decode decodes BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch from json.
func (*BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) Encode ¶
func (s *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) GetIsDisabled ¶
func (s *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) GetIsDisabled() bool
GetIsDisabled returns the value of IsDisabled.
func (*BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) GetName ¶
func (s *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) GetName() string
GetName returns the value of Name.
func (*BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) MarshalJSON ¶
func (s *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) SetIsDisabled ¶
func (s *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) SetIsDisabled(val bool)
SetIsDisabled sets the value of IsDisabled.
func (*BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) SetName ¶
func (s *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) SetName(val string)
SetName sets the value of Name.
func (*BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) UnmarshalJSON ¶
func (s *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch) UnmarshalJSON(data []byte) error
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 ¶
func (s *BodyVerifyPVCVoiceCaptchaV1VoicesPvcVoiceIDCaptchaPostMultipart) GetRecording() ht.MultipartFile
GetRecording returns the value of Recording.
func (*BodyVerifyPVCVoiceCaptchaV1VoicesPvcVoiceIDCaptchaPostMultipart) SetRecording ¶
func (s *BodyVerifyPVCVoiceCaptchaV1VoicesPvcVoiceIDCaptchaPostMultipart) SetRecording(val ht.MultipartFile)
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 ¶
func (s *CaptionStyleCharacterAnimationModel) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleCharacterAnimationModel from json.
func (*CaptionStyleCharacterAnimationModel) Encode ¶
func (s *CaptionStyleCharacterAnimationModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CaptionStyleCharacterAnimationModel) GetEnterType ¶
func (s *CaptionStyleCharacterAnimationModel) GetEnterType() CaptionStyleCharacterAnimationModelEnterType
GetEnterType returns the value of EnterType.
func (*CaptionStyleCharacterAnimationModel) GetExitType ¶
func (s *CaptionStyleCharacterAnimationModel) GetExitType() CaptionStyleCharacterAnimationModelExitType
GetExitType returns the value of ExitType.
func (*CaptionStyleCharacterAnimationModel) MarshalJSON ¶
func (s *CaptionStyleCharacterAnimationModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CaptionStyleCharacterAnimationModel) SetEnterType ¶
func (s *CaptionStyleCharacterAnimationModel) SetEnterType(val CaptionStyleCharacterAnimationModelEnterType)
SetEnterType sets the value of EnterType.
func (*CaptionStyleCharacterAnimationModel) SetExitType ¶
func (s *CaptionStyleCharacterAnimationModel) SetExitType(val CaptionStyleCharacterAnimationModelExitType)
SetExitType sets the value of ExitType.
func (*CaptionStyleCharacterAnimationModel) UnmarshalJSON ¶
func (s *CaptionStyleCharacterAnimationModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CaptionStyleCharacterAnimationModel) Validate ¶
func (s *CaptionStyleCharacterAnimationModel) Validate() error
type CaptionStyleCharacterAnimationModelEnterType ¶
type CaptionStyleCharacterAnimationModelEnterType string
const ( CaptionStyleCharacterAnimationModelEnterTypeNone CaptionStyleCharacterAnimationModelEnterType = "none" CaptionStyleCharacterAnimationModelEnterTypeFade CaptionStyleCharacterAnimationModelEnterType = "fade" )
func (CaptionStyleCharacterAnimationModelEnterType) AllValues ¶
func (CaptionStyleCharacterAnimationModelEnterType) AllValues() []CaptionStyleCharacterAnimationModelEnterType
AllValues returns all CaptionStyleCharacterAnimationModelEnterType values.
func (*CaptionStyleCharacterAnimationModelEnterType) Decode ¶
func (s *CaptionStyleCharacterAnimationModelEnterType) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleCharacterAnimationModelEnterType from json.
func (CaptionStyleCharacterAnimationModelEnterType) Encode ¶
func (s CaptionStyleCharacterAnimationModelEnterType) Encode(e *jx.Encoder)
Encode encodes CaptionStyleCharacterAnimationModelEnterType as json.
func (CaptionStyleCharacterAnimationModelEnterType) MarshalJSON ¶
func (s CaptionStyleCharacterAnimationModelEnterType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CaptionStyleCharacterAnimationModelEnterType) MarshalText ¶
func (s CaptionStyleCharacterAnimationModelEnterType) MarshalText() ([]byte, error)
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 ¶
func (s CaptionStyleCharacterAnimationModelEnterType) Validate() error
type CaptionStyleCharacterAnimationModelExitType ¶
type CaptionStyleCharacterAnimationModelExitType string
const ( CaptionStyleCharacterAnimationModelExitTypeNone CaptionStyleCharacterAnimationModelExitType = "none" CaptionStyleCharacterAnimationModelExitTypeFade CaptionStyleCharacterAnimationModelExitType = "fade" )
func (CaptionStyleCharacterAnimationModelExitType) AllValues ¶
func (CaptionStyleCharacterAnimationModelExitType) AllValues() []CaptionStyleCharacterAnimationModelExitType
AllValues returns all CaptionStyleCharacterAnimationModelExitType values.
func (*CaptionStyleCharacterAnimationModelExitType) Decode ¶
func (s *CaptionStyleCharacterAnimationModelExitType) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleCharacterAnimationModelExitType from json.
func (CaptionStyleCharacterAnimationModelExitType) Encode ¶
func (s CaptionStyleCharacterAnimationModelExitType) Encode(e *jx.Encoder)
Encode encodes CaptionStyleCharacterAnimationModelExitType as json.
func (CaptionStyleCharacterAnimationModelExitType) MarshalJSON ¶
func (s CaptionStyleCharacterAnimationModelExitType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CaptionStyleCharacterAnimationModelExitType) MarshalText ¶
func (s CaptionStyleCharacterAnimationModelExitType) MarshalText() ([]byte, error)
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 ¶
func (s CaptionStyleCharacterAnimationModelExitType) Validate() error
type CaptionStyleHorizontalPlacementModel ¶
type CaptionStyleHorizontalPlacementModel struct {
Align CaptionStyleHorizontalPlacementModelAlign `json:"align"`
TranslatePct float64 `json:"translate_pct"`
}
Ref: #/components/schemas/CaptionStyleHorizontalPlacementModel
func (*CaptionStyleHorizontalPlacementModel) Decode ¶
func (s *CaptionStyleHorizontalPlacementModel) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleHorizontalPlacementModel from json.
func (*CaptionStyleHorizontalPlacementModel) Encode ¶
func (s *CaptionStyleHorizontalPlacementModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CaptionStyleHorizontalPlacementModel) GetAlign ¶
func (s *CaptionStyleHorizontalPlacementModel) GetAlign() CaptionStyleHorizontalPlacementModelAlign
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 ¶
func (s *CaptionStyleHorizontalPlacementModel) SetAlign(val CaptionStyleHorizontalPlacementModelAlign)
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 ¶
func (s *CaptionStyleHorizontalPlacementModel) Validate() error
type CaptionStyleHorizontalPlacementModelAlign ¶
type CaptionStyleHorizontalPlacementModelAlign string
const ( CaptionStyleHorizontalPlacementModelAlignLeft CaptionStyleHorizontalPlacementModelAlign = "left" CaptionStyleHorizontalPlacementModelAlignCenter CaptionStyleHorizontalPlacementModelAlign = "center" CaptionStyleHorizontalPlacementModelAlignRight CaptionStyleHorizontalPlacementModelAlign = "right" )
func (CaptionStyleHorizontalPlacementModelAlign) AllValues ¶
func (CaptionStyleHorizontalPlacementModelAlign) AllValues() []CaptionStyleHorizontalPlacementModelAlign
AllValues returns all CaptionStyleHorizontalPlacementModelAlign values.
func (*CaptionStyleHorizontalPlacementModelAlign) Decode ¶
func (s *CaptionStyleHorizontalPlacementModelAlign) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleHorizontalPlacementModelAlign from json.
func (CaptionStyleHorizontalPlacementModelAlign) Encode ¶
func (s CaptionStyleHorizontalPlacementModelAlign) Encode(e *jx.Encoder)
Encode encodes CaptionStyleHorizontalPlacementModelAlign as json.
func (CaptionStyleHorizontalPlacementModelAlign) MarshalJSON ¶
func (s CaptionStyleHorizontalPlacementModelAlign) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CaptionStyleHorizontalPlacementModelAlign) MarshalText ¶
func (s CaptionStyleHorizontalPlacementModelAlign) MarshalText() ([]byte, error)
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 ¶
func (s CaptionStyleHorizontalPlacementModelAlign) Validate() error
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 ¶
func (s *CaptionStyleModel) GetSectionAnimation() OptCaptionStyleSectionAnimationModel
GetSectionAnimation returns the value of SectionAnimation.
func (*CaptionStyleModel) GetTemplate ¶
func (s *CaptionStyleModel) GetTemplate() OptCaptionStyleTemplateModel
GetTemplate returns the value of Template.
func (*CaptionStyleModel) GetTextAlign ¶
func (s *CaptionStyleModel) GetTextAlign() OptNilCaptionStyleModelTextAlign
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 ¶
func (s *CaptionStyleModel) GetTextStyle() OptNilCaptionStyleModelTextStyle
GetTextStyle returns the value of TextStyle.
func (*CaptionStyleModel) GetTextWeight ¶
func (s *CaptionStyleModel) GetTextWeight() OptNilCaptionStyleModelTextWeight
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 ¶
func (s *CaptionStyleModel) GetWordAnimation() OptCaptionStyleWordAnimationModel
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 ¶
func (s *CaptionStyleModel) SetTextAlign(val OptNilCaptionStyleModelTextAlign)
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 ¶
func (s *CaptionStyleModel) SetTextStyle(val OptNilCaptionStyleModelTextStyle)
SetTextStyle sets the value of TextStyle.
func (*CaptionStyleModel) SetTextWeight ¶
func (s *CaptionStyleModel) SetTextWeight(val OptNilCaptionStyleModelTextWeight)
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 ¶
func (CaptionStyleModelTextAlign) AllValues() []CaptionStyleModelTextAlign
AllValues returns all CaptionStyleModelTextAlign values.
func (*CaptionStyleModelTextAlign) Decode ¶
func (s *CaptionStyleModelTextAlign) Decode(d *jx.Decoder) error
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 ¶
func (CaptionStyleModelTextStyle) AllValues() []CaptionStyleModelTextStyle
AllValues returns all CaptionStyleModelTextStyle values.
func (*CaptionStyleModelTextStyle) Decode ¶
func (s *CaptionStyleModelTextStyle) Decode(d *jx.Decoder) error
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 ¶
func (CaptionStyleModelTextWeight) AllValues() []CaptionStyleModelTextWeight
AllValues returns all CaptionStyleModelTextWeight values.
func (*CaptionStyleModelTextWeight) Decode ¶
func (s *CaptionStyleModelTextWeight) Decode(d *jx.Decoder) error
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 ¶
func (s *CaptionStyleSectionAnimationModel) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleSectionAnimationModel from json.
func (*CaptionStyleSectionAnimationModel) Encode ¶
func (s *CaptionStyleSectionAnimationModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CaptionStyleSectionAnimationModel) GetEnterType ¶
func (s *CaptionStyleSectionAnimationModel) GetEnterType() CaptionStyleSectionAnimationModelEnterType
GetEnterType returns the value of EnterType.
func (*CaptionStyleSectionAnimationModel) GetExitType ¶
func (s *CaptionStyleSectionAnimationModel) GetExitType() CaptionStyleSectionAnimationModelExitType
GetExitType returns the value of ExitType.
func (*CaptionStyleSectionAnimationModel) MarshalJSON ¶
func (s *CaptionStyleSectionAnimationModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CaptionStyleSectionAnimationModel) SetEnterType ¶
func (s *CaptionStyleSectionAnimationModel) SetEnterType(val CaptionStyleSectionAnimationModelEnterType)
SetEnterType sets the value of EnterType.
func (*CaptionStyleSectionAnimationModel) SetExitType ¶
func (s *CaptionStyleSectionAnimationModel) SetExitType(val CaptionStyleSectionAnimationModelExitType)
SetExitType sets the value of ExitType.
func (*CaptionStyleSectionAnimationModel) UnmarshalJSON ¶
func (s *CaptionStyleSectionAnimationModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CaptionStyleSectionAnimationModel) Validate ¶
func (s *CaptionStyleSectionAnimationModel) Validate() error
type CaptionStyleSectionAnimationModelEnterType ¶
type CaptionStyleSectionAnimationModelEnterType string
const ( CaptionStyleSectionAnimationModelEnterTypeNone CaptionStyleSectionAnimationModelEnterType = "none" CaptionStyleSectionAnimationModelEnterTypeFade CaptionStyleSectionAnimationModelEnterType = "fade" CaptionStyleSectionAnimationModelEnterTypeScale CaptionStyleSectionAnimationModelEnterType = "scale" )
func (CaptionStyleSectionAnimationModelEnterType) AllValues ¶
func (CaptionStyleSectionAnimationModelEnterType) AllValues() []CaptionStyleSectionAnimationModelEnterType
AllValues returns all CaptionStyleSectionAnimationModelEnterType values.
func (*CaptionStyleSectionAnimationModelEnterType) Decode ¶
func (s *CaptionStyleSectionAnimationModelEnterType) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleSectionAnimationModelEnterType from json.
func (CaptionStyleSectionAnimationModelEnterType) Encode ¶
func (s CaptionStyleSectionAnimationModelEnterType) Encode(e *jx.Encoder)
Encode encodes CaptionStyleSectionAnimationModelEnterType as json.
func (CaptionStyleSectionAnimationModelEnterType) MarshalJSON ¶
func (s CaptionStyleSectionAnimationModelEnterType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CaptionStyleSectionAnimationModelEnterType) MarshalText ¶
func (s CaptionStyleSectionAnimationModelEnterType) MarshalText() ([]byte, error)
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 ¶
func (s CaptionStyleSectionAnimationModelEnterType) Validate() error
type CaptionStyleSectionAnimationModelExitType ¶
type CaptionStyleSectionAnimationModelExitType string
const ( CaptionStyleSectionAnimationModelExitTypeNone CaptionStyleSectionAnimationModelExitType = "none" CaptionStyleSectionAnimationModelExitTypeFade CaptionStyleSectionAnimationModelExitType = "fade" CaptionStyleSectionAnimationModelExitTypeScale CaptionStyleSectionAnimationModelExitType = "scale" )
func (CaptionStyleSectionAnimationModelExitType) AllValues ¶
func (CaptionStyleSectionAnimationModelExitType) AllValues() []CaptionStyleSectionAnimationModelExitType
AllValues returns all CaptionStyleSectionAnimationModelExitType values.
func (*CaptionStyleSectionAnimationModelExitType) Decode ¶
func (s *CaptionStyleSectionAnimationModelExitType) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleSectionAnimationModelExitType from json.
func (CaptionStyleSectionAnimationModelExitType) Encode ¶
func (s CaptionStyleSectionAnimationModelExitType) Encode(e *jx.Encoder)
Encode encodes CaptionStyleSectionAnimationModelExitType as json.
func (CaptionStyleSectionAnimationModelExitType) MarshalJSON ¶
func (s CaptionStyleSectionAnimationModelExitType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CaptionStyleSectionAnimationModelExitType) MarshalText ¶
func (s CaptionStyleSectionAnimationModelExitType) MarshalText() ([]byte, error)
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 ¶
func (s CaptionStyleSectionAnimationModelExitType) Validate() error
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 ¶
func (s *CaptionStyleVerticalPlacementModel) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleVerticalPlacementModel from json.
func (*CaptionStyleVerticalPlacementModel) Encode ¶
func (s *CaptionStyleVerticalPlacementModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CaptionStyleVerticalPlacementModel) GetAlign ¶
func (s *CaptionStyleVerticalPlacementModel) GetAlign() CaptionStyleVerticalPlacementModelAlign
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 ¶
func (s *CaptionStyleVerticalPlacementModel) SetAlign(val CaptionStyleVerticalPlacementModelAlign)
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 ¶
func (s *CaptionStyleVerticalPlacementModel) Validate() error
type CaptionStyleVerticalPlacementModelAlign ¶
type CaptionStyleVerticalPlacementModelAlign string
const ( CaptionStyleVerticalPlacementModelAlignTop CaptionStyleVerticalPlacementModelAlign = "top" CaptionStyleVerticalPlacementModelAlignCenter CaptionStyleVerticalPlacementModelAlign = "center" CaptionStyleVerticalPlacementModelAlignBottom CaptionStyleVerticalPlacementModelAlign = "bottom" )
func (CaptionStyleVerticalPlacementModelAlign) AllValues ¶
func (CaptionStyleVerticalPlacementModelAlign) AllValues() []CaptionStyleVerticalPlacementModelAlign
AllValues returns all CaptionStyleVerticalPlacementModelAlign values.
func (*CaptionStyleVerticalPlacementModelAlign) Decode ¶
func (s *CaptionStyleVerticalPlacementModelAlign) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleVerticalPlacementModelAlign from json.
func (CaptionStyleVerticalPlacementModelAlign) Encode ¶
func (s CaptionStyleVerticalPlacementModelAlign) Encode(e *jx.Encoder)
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 ¶
func (s CaptionStyleVerticalPlacementModelAlign) Validate() error
type CaptionStyleWordAnimationModel ¶
type CaptionStyleWordAnimationModel struct {
EnterType CaptionStyleWordAnimationModelEnterType `json:"enter_type"`
ExitType CaptionStyleWordAnimationModelExitType `json:"exit_type"`
}
Ref: #/components/schemas/CaptionStyleWordAnimationModel
func (*CaptionStyleWordAnimationModel) Decode ¶
func (s *CaptionStyleWordAnimationModel) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleWordAnimationModel from json.
func (*CaptionStyleWordAnimationModel) Encode ¶
func (s *CaptionStyleWordAnimationModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CaptionStyleWordAnimationModel) GetEnterType ¶
func (s *CaptionStyleWordAnimationModel) GetEnterType() CaptionStyleWordAnimationModelEnterType
GetEnterType returns the value of EnterType.
func (*CaptionStyleWordAnimationModel) GetExitType ¶
func (s *CaptionStyleWordAnimationModel) GetExitType() CaptionStyleWordAnimationModelExitType
GetExitType returns the value of ExitType.
func (*CaptionStyleWordAnimationModel) MarshalJSON ¶
func (s *CaptionStyleWordAnimationModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CaptionStyleWordAnimationModel) SetEnterType ¶
func (s *CaptionStyleWordAnimationModel) SetEnterType(val CaptionStyleWordAnimationModelEnterType)
SetEnterType sets the value of EnterType.
func (*CaptionStyleWordAnimationModel) SetExitType ¶
func (s *CaptionStyleWordAnimationModel) SetExitType(val CaptionStyleWordAnimationModelExitType)
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 ¶
func (CaptionStyleWordAnimationModelEnterType) AllValues() []CaptionStyleWordAnimationModelEnterType
AllValues returns all CaptionStyleWordAnimationModelEnterType values.
func (*CaptionStyleWordAnimationModelEnterType) Decode ¶
func (s *CaptionStyleWordAnimationModelEnterType) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleWordAnimationModelEnterType from json.
func (CaptionStyleWordAnimationModelEnterType) Encode ¶
func (s CaptionStyleWordAnimationModelEnterType) Encode(e *jx.Encoder)
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 ¶
func (s CaptionStyleWordAnimationModelEnterType) Validate() error
type CaptionStyleWordAnimationModelExitType ¶
type CaptionStyleWordAnimationModelExitType string
const ( CaptionStyleWordAnimationModelExitTypeNone CaptionStyleWordAnimationModelExitType = "none" CaptionStyleWordAnimationModelExitTypeFade CaptionStyleWordAnimationModelExitType = "fade" CaptionStyleWordAnimationModelExitTypeScale CaptionStyleWordAnimationModelExitType = "scale" )
func (CaptionStyleWordAnimationModelExitType) AllValues ¶
func (CaptionStyleWordAnimationModelExitType) AllValues() []CaptionStyleWordAnimationModelExitType
AllValues returns all CaptionStyleWordAnimationModelExitType values.
func (*CaptionStyleWordAnimationModelExitType) Decode ¶
func (s *CaptionStyleWordAnimationModelExitType) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleWordAnimationModelExitType from json.
func (CaptionStyleWordAnimationModelExitType) Encode ¶
func (s CaptionStyleWordAnimationModelExitType) Encode(e *jx.Encoder)
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 ¶
func (s CaptionStyleWordAnimationModelExitType) Validate() error
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 ¶
func (s *ChapterResponseModel) GetState() ChapterResponseModelState
GetState returns the value of State.
func (*ChapterResponseModel) GetStatistics ¶
func (s *ChapterResponseModel) GetStatistics() OptChapterStatisticsResponseModel
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 ¶
func (s *ChapterResponseModel) SetState(val ChapterResponseModelState)
SetState sets the value of State.
func (*ChapterResponseModel) SetStatistics ¶
func (s *ChapterResponseModel) SetStatistics(val OptChapterStatisticsResponseModel)
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 ¶
func (ChapterResponseModelState) AllValues() []ChapterResponseModelState
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 ¶
func (s *ChapterSnapshotExtendedResponseModel) Decode(d *jx.Decoder) error
Decode decodes ChapterSnapshotExtendedResponseModel from json.
func (*ChapterSnapshotExtendedResponseModel) Encode ¶
func (s *ChapterSnapshotExtendedResponseModel) Encode(e *jx.Encoder)
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 ¶
func (s *ChapterSnapshotExtendedResponseModel) GetName() string
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 ¶
func (s *ChapterSnapshotExtendedResponseModel) SetName(val string)
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 ¶
func (s *ChapterSnapshotExtendedResponseModel) Validate() error
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 ¶
func (s *ChapterSnapshotResponseModel) Decode(d *jx.Decoder) error
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 ¶
func (s *ChapterSnapshotsResponseModel) Decode(d *jx.Decoder) error
Decode decodes ChapterSnapshotsResponseModel from json.
func (*ChapterSnapshotsResponseModel) Encode ¶
func (s *ChapterSnapshotsResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ChapterSnapshotsResponseModel) GetSnapshots ¶
func (s *ChapterSnapshotsResponseModel) GetSnapshots() []ChapterSnapshotResponseModel
GetSnapshots returns the value of Snapshots.
func (*ChapterSnapshotsResponseModel) MarshalJSON ¶
func (s *ChapterSnapshotsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ChapterSnapshotsResponseModel) SetSnapshots ¶
func (s *ChapterSnapshotsResponseModel) SetSnapshots(val []ChapterSnapshotResponseModel)
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 ¶
func (s *ChapterStatisticsResponseModel) Decode(d *jx.Decoder) error
Decode decodes ChapterStatisticsResponseModel from json.
func (*ChapterStatisticsResponseModel) Encode ¶
func (s *ChapterStatisticsResponseModel) Encode(e *jx.Encoder)
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 ¶
func (s *CharacterAlignmentResponseModel) Decode(d *jx.Decoder) error
Decode decodes CharacterAlignmentResponseModel from json.
func (*CharacterAlignmentResponseModel) Encode ¶
func (s *CharacterAlignmentResponseModel) Encode(e *jx.Encoder)
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 ¶
func (CharacterRefreshPeriod) AllValues() []CharacterRefreshPeriod
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
func (c *Client) AddDocumentationToKnowledgeBase(ctx context.Context, request OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart, params AddDocumentationToKnowledgeBaseParams) (AddDocumentationToKnowledgeBaseRes, error)
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 ¶
func (c *Client) AddFromFile(ctx context.Context, request *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart, params AddFromFileParams) (AddFromFileRes, error)
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 ¶
func (c *Client) AddLanguage(ctx context.Context, request *BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost, params AddLanguageParams) (AddLanguageRes, 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
func (*Client) AddMember ¶
func (c *Client) AddMember(ctx context.Context, request *BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost, params AddMemberParams) (AddMemberRes, 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
func (*Client) AddProject ¶
func (c *Client) AddProject(ctx context.Context, request *BodyCreateStudioProjectV1StudioProjectsPostMultipart, params AddProjectParams) (AddProjectRes, 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
func (*Client) AddPvcVoiceSamples ¶
func (c *Client) AddPvcVoiceSamples(ctx context.Context, request *BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart, params AddPvcVoiceSamplesParams) (AddPvcVoiceSamplesRes, error)
AddPvcVoiceSamples invokes add_pvc_voice_samples operation.
Add audio samples to a PVC voice.
POST /v1/voices/pvc/{voice_id}/samples
func (*Client) AddSharingVoice ¶
func (c *Client) AddSharingVoice(ctx context.Context, request *BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost, params AddSharingVoiceParams) (AddSharingVoiceRes, 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}
func (*Client) AddVoice ¶
func (c *Client) AddVoice(ctx context.Context, request *BodyAddVoiceV1VoicesAddPostMultipart, params AddVoiceParams) (AddVoiceRes, error)
AddVoice invokes add_voice operation.
Add a new voice to your collection of voices in VoiceLab.
POST /v1/voices/add
func (*Client) AudioIsolation ¶
func (c *Client) AudioIsolation(ctx context.Context, request *BodyAudioIsolationV1AudioIsolationPostMultipart, params AudioIsolationParams) (AudioIsolationRes, error)
AudioIsolation invokes audio_isolation operation.
Removes background noise from audio.
POST /v1/audio-isolation
func (*Client) AudioIsolationStream ¶
func (c *Client) AudioIsolationStream(ctx context.Context, request *BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart, params AudioIsolationStreamParams) (AudioIsolationStreamRes, error)
AudioIsolationStream invokes audio_isolation_stream operation.
Removes background noise from audio and streams the result.
POST /v1/audio-isolation/stream
func (*Client) AudioNativeProjectUpdateContentEndpoint ¶
func (c *Client) AudioNativeProjectUpdateContentEndpoint(ctx context.Context, request OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart, params AudioNativeProjectUpdateContentEndpointParams) (AudioNativeProjectUpdateContentEndpointRes, error)
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 ¶
func (c *Client) ComposeDetailed(ctx context.Context, request OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost, params ComposeDetailedParams) (ComposeDetailedRes, error)
ComposeDetailed invokes compose_detailed operation.
Compose a song from a prompt or a composition plan.
POST /v1/music/detailed
func (*Client) ComposePlan ¶
func (c *Client) ComposePlan(ctx context.Context, request *BodyGenerateCompositionPlanV1MusicPlanPost, params ComposePlanParams) (ComposePlanRes, error)
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 ¶
func (c *Client) CreateAgentResponseTestRoute(ctx context.Context, request *CreateUnitTestRequest, params CreateAgentResponseTestRouteParams) (CreateAgentResponseTestRouteRes, error)
CreateAgentResponseTestRoute invokes create_agent_response_test_route operation.
Creates a new agent response test.
POST /v1/convai/agent-testing/create
func (*Client) CreateAudioNativeProject ¶
func (c *Client) CreateAudioNativeProject(ctx context.Context, request *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart, params CreateAudioNativeProjectParams) (CreateAudioNativeProjectRes, 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
func (*Client) CreateBatchCall ¶
func (c *Client) CreateBatchCall(ctx context.Context, request *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost, params CreateBatchCallParams) (CreateBatchCallRes, error)
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 ¶
func (c *Client) CreateDubbing(ctx context.Context, request OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart, params CreateDubbingParams) (CreateDubbingRes, error)
CreateDubbing invokes create_dubbing operation.
Dubs a provided audio or video file into given language.
POST /v1/dubbing
func (*Client) CreateFileDocumentRoute ¶
func (c *Client) CreateFileDocumentRoute(ctx context.Context, request *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart, params CreateFileDocumentRouteParams) (CreateFileDocumentRouteRes, error)
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 ¶
func (c *Client) CreatePvcVoice(ctx context.Context, request *BodyCreatePVCVoiceV1VoicesPvcPost, params CreatePvcVoiceParams) (CreatePvcVoiceRes, error)
CreatePvcVoice invokes create_pvc_voice operation.
Creates a new PVC voice with metadata but no samples.
POST /v1/voices/pvc
func (*Client) CreateSecretRoute ¶
func (c *Client) CreateSecretRoute(ctx context.Context, request *PostWorkspaceSecretRequest, params CreateSecretRouteParams) (CreateSecretRouteRes, error)
CreateSecretRoute invokes create_secret_route operation.
Create a new secret for the workspace.
POST /v1/convai/secrets
func (*Client) CreateServiceAccountAPIKey ¶
func (c *Client) CreateServiceAccountAPIKey(ctx context.Context, request *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost, params CreateServiceAccountAPIKeyParams) (CreateServiceAccountAPIKeyRes, 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
func (*Client) CreateSpeaker ¶
func (c *Client) CreateSpeaker(ctx context.Context, request OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost, params CreateSpeakerParams) (CreateSpeakerRes, error)
CreateSpeaker invokes create_speaker operation.
Create A New Speaker.
POST /v1/dubbing/resource/{dubbing_id}/speaker
func (*Client) CreateTextDocumentRoute ¶
func (c *Client) CreateTextDocumentRoute(ctx context.Context, request *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost, params CreateTextDocumentRouteParams) (CreateTextDocumentRouteRes, error)
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 ¶
func (c *Client) CreateURLDocumentRoute(ctx context.Context, request *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost, params CreateURLDocumentRouteParams) (CreateURLDocumentRouteRes, 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
func (*Client) CreateVoice ¶
func (c *Client) CreateVoice(ctx context.Context, request *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost, params CreateVoiceParams) (CreateVoiceRes, 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
func (*Client) CreateVoiceOld ¶
func (c *Client) CreateVoiceOld(ctx context.Context, request *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost, params CreateVoiceOldParams) (CreateVoiceOldRes, 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
func (*Client) CreateWorkspaceWebhookRoute ¶
func (c *Client) CreateWorkspaceWebhookRoute(ctx context.Context, request *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost, params CreateWorkspaceWebhookRouteParams) (CreateWorkspaceWebhookRouteRes, error)
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 ¶
func (c *Client) DeleteInvite(ctx context.Context, request *BodyDeleteExistingInvitationV1WorkspaceInvitesDelete, params DeleteInviteParams) (DeleteInviteRes, 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
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 ¶
func (c *Client) DownloadSpeechHistoryItems(ctx context.Context, request *BodyDownloadHistoryItemsV1HistoryDownloadPost, params DownloadSpeechHistoryItemsParams) (DownloadSpeechHistoryItemsRes, 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
func (*Client) Dub ¶
func (c *Client) Dub(ctx context.Context, request *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost, params DubParams) (DubRes, 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
func (*Client) DuplicateAgentRoute ¶
func (c *Client) DuplicateAgentRoute(ctx context.Context, request OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost, params DuplicateAgentRouteParams) (DuplicateAgentRouteRes, error)
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 ¶
func (c *Client) EditProject(ctx context.Context, request *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost, params EditProjectParams) (EditProjectRes, 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}
func (*Client) EditProjectContent ¶
func (c *Client) EditProjectContent(ctx context.Context, request OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart, params EditProjectContentParams) (EditProjectContentRes, error)
EditProjectContent invokes edit_project_content operation.
Updates Studio project content.
POST /v1/studio/projects/{project_id}/content
func (*Client) EditPvcVoice ¶
func (c *Client) EditPvcVoice(ctx context.Context, request OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost, params EditPvcVoiceParams) (EditPvcVoiceRes, error)
EditPvcVoice invokes edit_pvc_voice operation.
Edit PVC voice metadata.
POST /v1/voices/pvc/{voice_id}
func (*Client) EditPvcVoiceSample ¶
func (c *Client) EditPvcVoiceSample(ctx context.Context, request OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost, params EditPvcVoiceSampleParams) (EditPvcVoiceSampleRes, 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}
func (*Client) EditServiceAccountAPIKey ¶
func (c *Client) EditServiceAccountAPIKey(ctx context.Context, request *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch, params EditServiceAccountAPIKeyParams) (EditServiceAccountAPIKeyRes, 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}
func (*Client) EditVoice ¶
func (c *Client) EditVoice(ctx context.Context, request *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart, params EditVoiceParams) (EditVoiceRes, error)
EditVoice invokes edit_voice operation.
Edit a voice created by you.
POST /v1/voices/{voice_id}/edit
func (*Client) EditVoiceSettings ¶
func (c *Client) EditVoiceSettings(ctx context.Context, request *VoiceSettingsResponseModel, params EditVoiceSettingsParams) (EditVoiceSettingsRes, 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
func (*Client) EditWorkspaceWebhookRoute ¶
func (c *Client) EditWorkspaceWebhookRoute(ctx context.Context, request *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch, params EditWorkspaceWebhookRouteParams) (EditWorkspaceWebhookRouteRes, error)
EditWorkspaceWebhookRoute invokes edit_workspace_webhook_route operation.
Update the specified workspace webhook.
PATCH /v1/workspace/webhooks/{webhook_id}
func (*Client) ForcedAlignment ¶
func (c *Client) ForcedAlignment(ctx context.Context, request *BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart, params ForcedAlignmentParams) (ForcedAlignmentRes, 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
func (*Client) Generate ¶
func (c *Client) Generate(ctx context.Context, request OptBodyComposeMusicV1MusicPost, params GenerateParams) (GenerateRes, error)
Generate invokes generate operation.
Compose a song from a prompt or a composition plan.
POST /v1/music
func (*Client) GenerateRandomVoice ¶
func (c *Client) GenerateRandomVoice(ctx context.Context, request *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost, params GenerateRandomVoiceParams) (GenerateRandomVoiceRes, 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
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 ¶
func (c *Client) GetAgentKnowledgeBaseSummariesRoute(ctx context.Context, params GetAgentKnowledgeBaseSummariesRouteParams) (GetAgentKnowledgeBaseSummariesRouteRes, 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
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 ¶
func (c *Client) GetAgentLlmExpectedCostCalculation(ctx context.Context, request *LLMUsageCalculatorRequestModel, params GetAgentLlmExpectedCostCalculationParams) (GetAgentLlmExpectedCostCalculationRes, 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
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 ¶
func (c *Client) GetAgentResponseTestsSummariesRoute(ctx context.Context, request *ListTestsByIdsRequestModel, params GetAgentResponseTestsSummariesRouteParams) (GetAgentResponseTestsSummariesRouteRes, 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
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 ¶
func (c *Client) GetAudioNativeProjectSettingsEndpoint(ctx context.Context, params GetAudioNativeProjectSettingsEndpointParams) (GetAudioNativeProjectSettingsEndpointRes, error)
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 (*Client) GetConversationSignedLink ¶
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 ¶
func (c *Client) GetDocumentationChunkFromKnowledgeBase(ctx context.Context, params GetDocumentationChunkFromKnowledgeBaseParams) (GetDocumentationChunkFromKnowledgeBaseRes, 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}
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 ¶
func (c *Client) GetOrCreateRagIndexes(ctx context.Context, request *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost, params GetOrCreateRagIndexesParams) (GetOrCreateRagIndexesRes, 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
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 ¶
func (c *Client) GetPronunciationDictionariesMetadata(ctx context.Context, params GetPronunciationDictionariesMetadataParams) (GetPronunciationDictionariesMetadataRes, 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
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 ¶
func (c *Client) GetPronunciationDictionaryVersionPls(ctx context.Context, params GetPronunciationDictionaryVersionPlsParams) (GetPronunciationDictionaryVersionPlsRes, 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
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 ¶
func (c *Client) GetSimilarLibraryVoices(ctx context.Context, request OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart, params GetSimilarLibraryVoicesParams) (GetSimilarLibraryVoicesRes, 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
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 ¶
func (c *Client) HandleSipTrunkOutboundCall(ctx context.Context, request *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost, params HandleSipTrunkOutboundCallParams) (HandleSipTrunkOutboundCallRes, error)
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 ¶
func (c *Client) HandleTwilioOutboundCall(ctx context.Context, request *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost, params HandleTwilioOutboundCallParams) (HandleTwilioOutboundCallRes, error)
HandleTwilioOutboundCall invokes handle_twilio_outbound_call operation.
Handle an outbound call via Twilio.
POST /v1/convai/twilio/outbound-call
func (*Client) ImportWhatsappAccount ¶
func (c *Client) ImportWhatsappAccount(ctx context.Context, request *ImportWhatsAppAccountRequest, params ImportWhatsappAccountParams) (ImportWhatsappAccountRes, error)
ImportWhatsappAccount invokes import_whatsapp_account operation.
Import a WhatsApp account.
POST /v1/convai/whatsapp-accounts
func (*Client) InviteUser ¶
func (c *Client) InviteUser(ctx context.Context, request *BodyInviteUserV1WorkspaceInvitesAddPost, params InviteUserParams) (InviteUserRes, 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
func (*Client) InviteUsersBulk ¶
func (c *Client) InviteUsersBulk(ctx context.Context, request *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost, params InviteUsersBulkParams) (InviteUsersBulkRes, 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
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 ¶
func (c *Client) MigrateSegments(ctx context.Context, request *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost, params MigrateSegmentsParams) (MigrateSegmentsRes, 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
func (*Client) PatchPronunciationDictionary ¶
func (c *Client) PatchPronunciationDictionary(ctx context.Context, request OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch, params PatchPronunciationDictionaryParams) (PatchPronunciationDictionaryRes, error)
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 ¶
func (c *Client) PostAgentAvatarRoute(ctx context.Context, request *BodyPostAgentAvatarV1ConvaiAgentsAgentIDAvatarPostMultipart, params PostAgentAvatarRouteParams) (PostAgentAvatarRouteRes, 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
func (*Client) PostConversationFeedbackRoute ¶
func (c *Client) PostConversationFeedbackRoute(ctx context.Context, request *ConversationFeedbackRequestModel, params PostConversationFeedbackRouteParams) (PostConversationFeedbackRouteRes, error)
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 ¶
RedirectToMintlify invokes redirect_to_mintlify operation.
Redirect To Mintlify.
GET /docs
func (*Client) RegisterTwilioCall ¶
func (c *Client) RegisterTwilioCall(ctx context.Context, request *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost, params RegisterTwilioCallParams) (RegisterTwilioCallRes, error)
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 ¶
func (c *Client) RemoveMember(ctx context.Context, request *BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost, params RemoveMemberParams) (RemoveMemberRes, 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
func (*Client) RemoveRules ¶
func (c *Client) RemoveRules(ctx context.Context, request *BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost, params RemoveRulesParams) (RemoveRulesRes, error)
RemoveRules invokes remove_rules operation.
Remove rules from the pronunciation dictionary.
POST /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/remove-rules
func (*Client) RequestPvcManualVerification ¶
func (c *Client) RequestPvcManualVerification(ctx context.Context, request *BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart, params RequestPvcManualVerificationParams) (RequestPvcManualVerificationRes, error)
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 ¶
func (c *Client) RunPvcVoiceTraining(ctx context.Context, request OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost, params RunPvcVoiceTrainingParams) (RunPvcVoiceTrainingRes, error)
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 ¶
func (c *Client) SeparateSongStems(ctx context.Context, request *BodyStemSeparationV1MusicStemSeparationPostMultipart, params SeparateSongStemsParams) (SeparateSongStemsRes, 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
func (*Client) ShareResourceEndpoint ¶
func (c *Client) ShareResourceEndpoint(ctx context.Context, request *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost, params ShareResourceEndpointParams) (ShareResourceEndpointRes, 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
func (*Client) SoundGeneration ¶
func (c *Client) SoundGeneration(ctx context.Context, request *BodySoundGenerationV1SoundGenerationPost, params SoundGenerationParams) (SoundGenerationRes, 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
func (*Client) SpeechToSpeechFull ¶
func (c *Client) SpeechToSpeechFull(ctx context.Context, request *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart, params SpeechToSpeechFullParams) (SpeechToSpeechFullRes, 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}
func (*Client) SpeechToSpeechStream ¶
func (c *Client) SpeechToSpeechStream(ctx context.Context, request *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart, params SpeechToSpeechStreamParams) (SpeechToSpeechStreamRes, 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
func (*Client) SpeechToText ¶
func (c *Client) SpeechToText(ctx context.Context, request *BodySpeechToTextV1SpeechToTextPostMultipart, params SpeechToTextParams) (SpeechToTextRes, 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
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 ¶
func (c *Client) StreamChapterSnapshotAudio(ctx context.Context, request OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost, params StreamChapterSnapshotAudioParams) (StreamChapterSnapshotAudioRes, 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
func (*Client) StreamCompose ¶
func (c *Client) StreamCompose(ctx context.Context, request OptBodyStreamComposedMusicV1MusicStreamPost, params StreamComposeParams) (StreamComposeRes, error)
StreamCompose invokes stream_compose operation.
Stream a composed song from a prompt or a composition plan.
POST /v1/music/stream
func (*Client) StreamProjectSnapshotArchiveEndpoint ¶
func (c *Client) StreamProjectSnapshotArchiveEndpoint(ctx context.Context, params StreamProjectSnapshotArchiveEndpointParams) (StreamProjectSnapshotArchiveEndpointRes, 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
func (*Client) StreamProjectSnapshotAudioEndpoint ¶
func (c *Client) StreamProjectSnapshotAudioEndpoint(ctx context.Context, request OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost, params StreamProjectSnapshotAudioEndpointParams) (StreamProjectSnapshotAudioEndpointRes, 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
func (*Client) TextToDialogue ¶
func (c *Client) TextToDialogue(ctx context.Context, request *BodyTextToDialogueMultiVoiceV1TextToDialoguePost, params TextToDialogueParams) (TextToDialogueRes, 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
func (*Client) TextToDialogueFullWithTimestamps ¶
func (c *Client) TextToDialogueFullWithTimestamps(ctx context.Context, request *BodyTextToDialogueFullWithTimestamps, params TextToDialogueFullWithTimestampsParams) (TextToDialogueFullWithTimestampsRes, 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
func (*Client) TextToDialogueStream ¶
func (c *Client) TextToDialogueStream(ctx context.Context, request *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost, params TextToDialogueStreamParams) (TextToDialogueStreamRes, 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
func (*Client) TextToDialogueStreamWithTimestamps ¶
func (c *Client) TextToDialogueStreamWithTimestamps(ctx context.Context, request *BodyTextToDialogueStreamWithTimestamps, params TextToDialogueStreamWithTimestampsParams) (TextToDialogueStreamWithTimestampsRes, 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
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 ¶
func (c *Client) TextToSpeechFullWithTimestamps(ctx context.Context, request *BodyTextToSpeechFullWithTimestamps, params TextToSpeechFullWithTimestampsParams) (TextToSpeechFullWithTimestampsRes, 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
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 ¶
func (c *Client) TextToSpeechStreamWithTimestamps(ctx context.Context, request *BodyTextToSpeechStreamWithTimestamps, params TextToSpeechStreamWithTimestampsParams) (TextToSpeechStreamWithTimestampsRes, 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
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 ¶
func (c *Client) Transcribe(ctx context.Context, request *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost, params TranscribeParams) (TranscribeRes, 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
func (*Client) Translate ¶
func (c *Client) Translate(ctx context.Context, request *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost, params TranslateParams) (TranslateRes, 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
func (*Client) UnshareResourceEndpoint ¶
func (c *Client) UnshareResourceEndpoint(ctx context.Context, request *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost, params UnshareResourceEndpointParams) (UnshareResourceEndpointRes, 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
func (*Client) UpdateAgentResponseTestRoute ¶
func (c *Client) UpdateAgentResponseTestRoute(ctx context.Context, request *UpdateUnitTestRequest, params UpdateAgentResponseTestRouteParams) (UpdateAgentResponseTestRouteRes, error)
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 ¶
func (c *Client) UpdateDashboardSettingsRoute(ctx context.Context, request *PatchConvAIDashboardSettingsRequest, params UpdateDashboardSettingsRouteParams) (UpdateDashboardSettingsRouteRes, error)
UpdateDashboardSettingsRoute invokes update_dashboard_settings_route operation.
Update Convai dashboard settings for the workspace.
PATCH /v1/convai/settings/dashboard
func (*Client) UpdateDocumentRoute ¶
func (c *Client) UpdateDocumentRoute(ctx context.Context, request *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch, params UpdateDocumentRouteParams) (UpdateDocumentRouteRes, error)
UpdateDocumentRoute invokes update_document_route operation.
Update the name of a document.
PATCH /v1/convai/knowledge-base/{documentation_id}
func (*Client) UpdatePhoneNumberRoute ¶
func (c *Client) UpdatePhoneNumberRoute(ctx context.Context, request *UpdatePhoneNumberRequest, params UpdatePhoneNumberRouteParams) (UpdatePhoneNumberRouteRes, error)
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 ¶
func (c *Client) UpdatePronunciationDictionaries(ctx context.Context, request *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost, params UpdatePronunciationDictionariesParams) (UpdatePronunciationDictionariesRes, 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
func (*Client) UpdateSecretRoute ¶
func (c *Client) UpdateSecretRoute(ctx context.Context, request *PatchWorkspaceSecretRequest, params UpdateSecretRouteParams) (UpdateSecretRouteRes, error)
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 ¶
func (c *Client) UpdateSettingsRoute(ctx context.Context, request *PatchConvAISettingsRequest, params UpdateSettingsRouteParams) (UpdateSettingsRouteRes, error)
UpdateSettingsRoute invokes update_settings_route operation.
Update Convai settings for the workspace.
PATCH /v1/convai/settings
func (*Client) UpdateSpeaker ¶
func (c *Client) UpdateSpeaker(ctx context.Context, request OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch, params UpdateSpeakerParams) (UpdateSpeakerRes, 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}
func (*Client) UpdateWhatsappAccount ¶
func (c *Client) UpdateWhatsappAccount(ctx context.Context, request *UpdateWhatsAppAccountRequest, params UpdateWhatsappAccountParams) (UpdateWhatsappAccountRes, error)
UpdateWhatsappAccount invokes update_whatsapp_account operation.
Update a WhatsApp account.
PATCH /v1/convai/whatsapp-accounts/{phone_number_id}
func (*Client) UpdateWorkspaceMember ¶
func (c *Client) UpdateWorkspaceMember(ctx context.Context, request *BodyUpdateMemberV1WorkspaceMembersPost, params UpdateWorkspaceMemberParams) (UpdateWorkspaceMemberRes, 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
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 ¶
func (c *Client) VerifyPvcVoiceCaptcha(ctx context.Context, request *BodyVerifyPVCVoiceCaptchaV1VoicesPvcVoiceIDCaptchaPostMultipart, params VerifyPvcVoiceCaptchaParams) (VerifyPvcVoiceCaptchaRes, error)
VerifyPvcVoiceCaptcha invokes verify_pvc_voice_captcha operation.
Submit captcha verification for PVC voice.
POST /v1/voices/pvc/{voice_id}/captcha
func (*Client) WhatsappOutboundCall ¶
func (c *Client) WhatsappOutboundCall(ctx context.Context, request *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost, params WhatsappOutboundCallParams) (WhatsappOutboundCallRes, error)
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 ¶
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.
type ComposeDetailedOKHeaders ¶
type ComposeDetailedOKHeaders struct {
SongID OptString
Response ComposeDetailedOK
}
ComposeDetailedOKHeaders wraps ComposeDetailedOK with response headers.
func (*ComposeDetailedOKHeaders) GetResponse ¶
func (s *ComposeDetailedOKHeaders) GetResponse() ComposeDetailedOK
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 ¶
func (ComposeDetailedOutputFormat) AllValues() []ComposeDetailedOutputFormat
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 ¶
func (s *ConvAIStoredSecretDependencies) Decode(d *jx.Decoder) error
Decode decodes ConvAIStoredSecretDependencies from json.
func (*ConvAIStoredSecretDependencies) Encode ¶
func (s *ConvAIStoredSecretDependencies) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConvAIStoredSecretDependencies) GetAgents ¶
func (s *ConvAIStoredSecretDependencies) GetAgents() []ConvAIStoredSecretDependenciesAgentsItem
GetAgents returns the value of Agents.
func (*ConvAIStoredSecretDependencies) GetOthers ¶
func (s *ConvAIStoredSecretDependencies) GetOthers() []SecretDependencyType
GetOthers returns the value of Others.
func (*ConvAIStoredSecretDependencies) GetPhoneNumbers ¶
func (s *ConvAIStoredSecretDependencies) GetPhoneNumbers() []DependentPhoneNumberIdentifier
GetPhoneNumbers returns the value of PhoneNumbers.
func (*ConvAIStoredSecretDependencies) GetTools ¶
func (s *ConvAIStoredSecretDependencies) GetTools() []ConvAIStoredSecretDependenciesToolsItem
GetTools returns the value of Tools.
func (*ConvAIStoredSecretDependencies) MarshalJSON ¶
func (s *ConvAIStoredSecretDependencies) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConvAIStoredSecretDependencies) SetAgents ¶
func (s *ConvAIStoredSecretDependencies) SetAgents(val []ConvAIStoredSecretDependenciesAgentsItem)
SetAgents sets the value of Agents.
func (*ConvAIStoredSecretDependencies) SetOthers ¶
func (s *ConvAIStoredSecretDependencies) SetOthers(val []SecretDependencyType)
SetOthers sets the value of Others.
func (*ConvAIStoredSecretDependencies) SetPhoneNumbers ¶
func (s *ConvAIStoredSecretDependencies) SetPhoneNumbers(val []DependentPhoneNumberIdentifier)
SetPhoneNumbers sets the value of PhoneNumbers.
func (*ConvAIStoredSecretDependencies) SetTools ¶
func (s *ConvAIStoredSecretDependencies) SetTools(val []ConvAIStoredSecretDependenciesToolsItem)
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 ¶
func (s *ConvAIStoredSecretDependenciesAgentsItem) Decode(d *jx.Decoder) error
Decode decodes ConvAIStoredSecretDependenciesAgentsItem from json.
func (ConvAIStoredSecretDependenciesAgentsItem) Encode ¶
func (s ConvAIStoredSecretDependenciesAgentsItem) Encode(e *jx.Encoder)
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 ¶
func (s ConvAIStoredSecretDependenciesAgentsItem) MarshalJSON() ([]byte, error)
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 ¶
func (s ConvAIStoredSecretDependenciesAgentsItem) Validate() error
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 ¶
func (s *ConvAIStoredSecretDependenciesToolsItem) Decode(d *jx.Decoder) error
Decode decodes ConvAIStoredSecretDependenciesToolsItem from json.
func (ConvAIStoredSecretDependenciesToolsItem) Encode ¶
func (s ConvAIStoredSecretDependenciesToolsItem) Encode(e *jx.Encoder)
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 ¶
func (s ConvAIStoredSecretDependenciesToolsItem) Validate() error
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 ¶
func (s *ConvAIWorkspaceStoredSecretConfig) Decode(d *jx.Decoder) error
Decode decodes ConvAIWorkspaceStoredSecretConfig from json.
func (*ConvAIWorkspaceStoredSecretConfig) Encode ¶
func (s *ConvAIWorkspaceStoredSecretConfig) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConvAIWorkspaceStoredSecretConfig) GetName ¶
func (s *ConvAIWorkspaceStoredSecretConfig) GetName() string
GetName returns the value of Name.
func (*ConvAIWorkspaceStoredSecretConfig) GetSecretID ¶
func (s *ConvAIWorkspaceStoredSecretConfig) GetSecretID() string
GetSecretID returns the value of SecretID.
func (*ConvAIWorkspaceStoredSecretConfig) GetType ¶
func (s *ConvAIWorkspaceStoredSecretConfig) GetType() ConvAIWorkspaceStoredSecretConfigType
GetType returns the value of Type.
func (*ConvAIWorkspaceStoredSecretConfig) GetUsedBy ¶
func (s *ConvAIWorkspaceStoredSecretConfig) GetUsedBy() ConvAIStoredSecretDependencies
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 ¶
func (s *ConvAIWorkspaceStoredSecretConfig) SetType(val ConvAIWorkspaceStoredSecretConfigType)
SetType sets the value of Type.
func (*ConvAIWorkspaceStoredSecretConfig) SetUsedBy ¶
func (s *ConvAIWorkspaceStoredSecretConfig) SetUsedBy(val ConvAIStoredSecretDependencies)
SetUsedBy sets the value of UsedBy.
func (*ConvAIWorkspaceStoredSecretConfig) UnmarshalJSON ¶
func (s *ConvAIWorkspaceStoredSecretConfig) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConvAIWorkspaceStoredSecretConfig) Validate ¶
func (s *ConvAIWorkspaceStoredSecretConfig) Validate() error
type ConvAIWorkspaceStoredSecretConfigType ¶
type ConvAIWorkspaceStoredSecretConfigType string
const (
ConvAIWorkspaceStoredSecretConfigTypeStored ConvAIWorkspaceStoredSecretConfigType = "stored"
)
func (ConvAIWorkspaceStoredSecretConfigType) AllValues ¶
func (ConvAIWorkspaceStoredSecretConfigType) AllValues() []ConvAIWorkspaceStoredSecretConfigType
AllValues returns all ConvAIWorkspaceStoredSecretConfigType values.
func (*ConvAIWorkspaceStoredSecretConfigType) Decode ¶
func (s *ConvAIWorkspaceStoredSecretConfigType) Decode(d *jx.Decoder) error
Decode decodes ConvAIWorkspaceStoredSecretConfigType from json.
func (ConvAIWorkspaceStoredSecretConfigType) Encode ¶
func (s ConvAIWorkspaceStoredSecretConfigType) Encode(e *jx.Encoder)
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 ¶
func (s ConvAIWorkspaceStoredSecretConfigType) Validate() error
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 ¶
func (s *ConversationChargingCommonModel) Decode(d *jx.Decoder) error
Decode decodes ConversationChargingCommonModel from json.
func (*ConversationChargingCommonModel) Encode ¶
func (s *ConversationChargingCommonModel) Encode(e *jx.Encoder)
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 ¶
func (s *ConversationChargingCommonModel) GetLlmPrice() OptNilFloat64
GetLlmPrice returns the value of LlmPrice.
func (*ConversationChargingCommonModel) GetLlmUsage ¶
func (s *ConversationChargingCommonModel) GetLlmUsage() OptLLMCategoryUsage
GetLlmUsage returns the value of LlmUsage.
func (*ConversationChargingCommonModel) GetTier ¶
func (s *ConversationChargingCommonModel) GetTier() OptNilString
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 ¶
func (s *ConversationChargingCommonModel) SetLlmUsage(val OptLLMCategoryUsage)
SetLlmUsage sets the value of LlmUsage.
func (*ConversationChargingCommonModel) SetTier ¶
func (s *ConversationChargingCommonModel) SetTier(val OptNilString)
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 ¶
func (s *ConversationConfigClientOverrideInput) Decode(d *jx.Decoder) error
Decode decodes ConversationConfigClientOverrideInput from json.
func (*ConversationConfigClientOverrideInput) Encode ¶
func (s *ConversationConfigClientOverrideInput) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationConfigClientOverrideInput) GetAgent ¶
func (s *ConversationConfigClientOverrideInput) GetAgent() OptAgentConfigOverrideInput
GetAgent returns the value of Agent.
func (*ConversationConfigClientOverrideInput) GetConversation ¶
func (s *ConversationConfigClientOverrideInput) GetConversation() OptConversationConfigOverride
GetConversation returns the value of Conversation.
func (*ConversationConfigClientOverrideInput) GetTts ¶
func (s *ConversationConfigClientOverrideInput) GetTts() OptTTSConversationalConfigOverride
GetTts returns the value of Tts.
func (*ConversationConfigClientOverrideInput) GetTurn ¶
func (s *ConversationConfigClientOverrideInput) GetTurn() OptTurnConfigOverride
GetTurn returns the value of Turn.
func (*ConversationConfigClientOverrideInput) MarshalJSON ¶
func (s *ConversationConfigClientOverrideInput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationConfigClientOverrideInput) SetAgent ¶
func (s *ConversationConfigClientOverrideInput) SetAgent(val OptAgentConfigOverrideInput)
SetAgent sets the value of Agent.
func (*ConversationConfigClientOverrideInput) SetConversation ¶
func (s *ConversationConfigClientOverrideInput) SetConversation(val OptConversationConfigOverride)
SetConversation sets the value of Conversation.
func (*ConversationConfigClientOverrideInput) SetTts ¶
func (s *ConversationConfigClientOverrideInput) SetTts(val OptTTSConversationalConfigOverride)
SetTts sets the value of Tts.
func (*ConversationConfigClientOverrideInput) SetTurn ¶
func (s *ConversationConfigClientOverrideInput) SetTurn(val OptTurnConfigOverride)
SetTurn sets the value of Turn.
func (*ConversationConfigClientOverrideInput) UnmarshalJSON ¶
func (s *ConversationConfigClientOverrideInput) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationConfigClientOverrideInput) Validate ¶
func (s *ConversationConfigClientOverrideInput) Validate() error
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 ¶
func (s *ConversationConfigClientOverrideOutput) Decode(d *jx.Decoder) error
Decode decodes ConversationConfigClientOverrideOutput from json.
func (*ConversationConfigClientOverrideOutput) Encode ¶
func (s *ConversationConfigClientOverrideOutput) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationConfigClientOverrideOutput) GetAgent ¶
func (s *ConversationConfigClientOverrideOutput) GetAgent() OptAgentConfigOverrideOutput
GetAgent returns the value of Agent.
func (*ConversationConfigClientOverrideOutput) GetConversation ¶
func (s *ConversationConfigClientOverrideOutput) GetConversation() OptConversationConfigOverride
GetConversation returns the value of Conversation.
func (*ConversationConfigClientOverrideOutput) GetTts ¶
func (s *ConversationConfigClientOverrideOutput) GetTts() OptTTSConversationalConfigOverride
GetTts returns the value of Tts.
func (*ConversationConfigClientOverrideOutput) GetTurn ¶
func (s *ConversationConfigClientOverrideOutput) GetTurn() OptTurnConfigOverride
GetTurn returns the value of Turn.
func (*ConversationConfigClientOverrideOutput) MarshalJSON ¶
func (s *ConversationConfigClientOverrideOutput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationConfigClientOverrideOutput) SetAgent ¶
func (s *ConversationConfigClientOverrideOutput) SetAgent(val OptAgentConfigOverrideOutput)
SetAgent sets the value of Agent.
func (*ConversationConfigClientOverrideOutput) SetConversation ¶
func (s *ConversationConfigClientOverrideOutput) SetConversation(val OptConversationConfigOverride)
SetConversation sets the value of Conversation.
func (*ConversationConfigClientOverrideOutput) SetTts ¶
func (s *ConversationConfigClientOverrideOutput) SetTts(val OptTTSConversationalConfigOverride)
SetTts sets the value of Tts.
func (*ConversationConfigClientOverrideOutput) SetTurn ¶
func (s *ConversationConfigClientOverrideOutput) SetTurn(val OptTurnConfigOverride)
SetTurn sets the value of Turn.
func (*ConversationConfigClientOverrideOutput) UnmarshalJSON ¶
func (s *ConversationConfigClientOverrideOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationConfigClientOverrideOutput) Validate ¶
func (s *ConversationConfigClientOverrideOutput) Validate() error
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 ¶
func (s *ConversationConfigOverride) Decode(d *jx.Decoder) error
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 ¶
func (s *ConversationDeletionSettings) Decode(d *jx.Decoder) error
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 ¶
func (s *ConversationFeedbackRequestModel) Decode(d *jx.Decoder) error
Decode decodes ConversationFeedbackRequestModel from json.
func (*ConversationFeedbackRequestModel) Encode ¶
func (s *ConversationFeedbackRequestModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationFeedbackRequestModel) GetFeedback ¶
func (s *ConversationFeedbackRequestModel) GetFeedback() OptUserFeedbackScore
GetFeedback returns the value of Feedback.
func (*ConversationFeedbackRequestModel) MarshalJSON ¶
func (s *ConversationFeedbackRequestModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationFeedbackRequestModel) SetFeedback ¶
func (s *ConversationFeedbackRequestModel) SetFeedback(val OptUserFeedbackScore)
SetFeedback sets the value of Feedback.
func (*ConversationFeedbackRequestModel) UnmarshalJSON ¶
func (s *ConversationFeedbackRequestModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationFeedbackRequestModel) Validate ¶
func (s *ConversationFeedbackRequestModel) Validate() error
type ConversationFeedbackType ¶
type ConversationFeedbackType string
Ref: #/components/schemas/ConversationFeedbackType
const ( ConversationFeedbackTypeThumbs ConversationFeedbackType = "thumbs" ConversationFeedbackTypeRating ConversationFeedbackType = "rating" )
func (ConversationFeedbackType) AllValues ¶
func (ConversationFeedbackType) AllValues() []ConversationFeedbackType
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 ¶
func (s *ConversationHistoryAnalysisCommonModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryAnalysisCommonModel from json.
func (*ConversationHistoryAnalysisCommonModel) Encode ¶
func (s *ConversationHistoryAnalysisCommonModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryAnalysisCommonModel) GetCallSuccessful ¶
func (s *ConversationHistoryAnalysisCommonModel) GetCallSuccessful() EvaluationSuccessResult
GetCallSuccessful returns the value of CallSuccessful.
func (*ConversationHistoryAnalysisCommonModel) GetCallSummaryTitle ¶
func (s *ConversationHistoryAnalysisCommonModel) GetCallSummaryTitle() OptNilString
GetCallSummaryTitle returns the value of CallSummaryTitle.
func (*ConversationHistoryAnalysisCommonModel) GetDataCollectionResults ¶
func (s *ConversationHistoryAnalysisCommonModel) GetDataCollectionResults() OptConversationHistoryAnalysisCommonModelDataCollectionResults
GetDataCollectionResults returns the value of DataCollectionResults.
func (*ConversationHistoryAnalysisCommonModel) GetEvaluationCriteriaResults ¶
func (s *ConversationHistoryAnalysisCommonModel) GetEvaluationCriteriaResults() OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults
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 ¶
func (s *ConversationHistoryAnalysisCommonModel) SetCallSuccessful(val EvaluationSuccessResult)
SetCallSuccessful sets the value of CallSuccessful.
func (*ConversationHistoryAnalysisCommonModel) SetCallSummaryTitle ¶
func (s *ConversationHistoryAnalysisCommonModel) SetCallSummaryTitle(val OptNilString)
SetCallSummaryTitle sets the value of CallSummaryTitle.
func (*ConversationHistoryAnalysisCommonModel) SetDataCollectionResults ¶
func (s *ConversationHistoryAnalysisCommonModel) SetDataCollectionResults(val OptConversationHistoryAnalysisCommonModelDataCollectionResults)
SetDataCollectionResults sets the value of DataCollectionResults.
func (*ConversationHistoryAnalysisCommonModel) SetEvaluationCriteriaResults ¶
func (s *ConversationHistoryAnalysisCommonModel) SetEvaluationCriteriaResults(val OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults)
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 ¶
func (s *ConversationHistoryAnalysisCommonModel) Validate() error
type ConversationHistoryAnalysisCommonModelDataCollectionResults ¶
type ConversationHistoryAnalysisCommonModelDataCollectionResults map[string]DataCollectionResultCommonModel
func (*ConversationHistoryAnalysisCommonModelDataCollectionResults) Decode ¶
func (s *ConversationHistoryAnalysisCommonModelDataCollectionResults) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryAnalysisCommonModelDataCollectionResults from json.
func (ConversationHistoryAnalysisCommonModelDataCollectionResults) Encode ¶
func (s ConversationHistoryAnalysisCommonModelDataCollectionResults) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ConversationHistoryAnalysisCommonModelDataCollectionResults) MarshalJSON ¶
func (s ConversationHistoryAnalysisCommonModelDataCollectionResults) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryAnalysisCommonModelDataCollectionResults) UnmarshalJSON ¶
func (s *ConversationHistoryAnalysisCommonModelDataCollectionResults) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ConversationHistoryAnalysisCommonModelDataCollectionResults) Validate ¶
func (s ConversationHistoryAnalysisCommonModelDataCollectionResults) Validate() error
type ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults ¶
type ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults map[string]ConversationHistoryEvaluationCriteriaResultCommonModel
func (*ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Decode ¶
func (s *ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults from json.
func (ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Encode ¶
func (s ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) MarshalJSON ¶
func (s ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) UnmarshalJSON ¶
func (s *ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Validate ¶
func (s ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Validate() error
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 ¶
func (s *ConversationHistoryBatchCallModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryBatchCallModel from json.
func (*ConversationHistoryBatchCallModel) Encode ¶
func (s *ConversationHistoryBatchCallModel) Encode(e *jx.Encoder)
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 ¶
func (s *ConversationHistoryElevenAssistantCommonModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryElevenAssistantCommonModel from json.
func (*ConversationHistoryElevenAssistantCommonModel) Encode ¶
func (s *ConversationHistoryElevenAssistantCommonModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryElevenAssistantCommonModel) GetIsElevenAssistant ¶
func (s *ConversationHistoryElevenAssistantCommonModel) GetIsElevenAssistant() OptBool
GetIsElevenAssistant returns the value of IsElevenAssistant.
func (*ConversationHistoryElevenAssistantCommonModel) MarshalJSON ¶
func (s *ConversationHistoryElevenAssistantCommonModel) MarshalJSON() ([]byte, error)
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 ¶
func (s *ConversationHistoryErrorCommonModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryErrorCommonModel from json.
func (*ConversationHistoryErrorCommonModel) Encode ¶
func (s *ConversationHistoryErrorCommonModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryErrorCommonModel) GetCode ¶
func (s *ConversationHistoryErrorCommonModel) GetCode() int
GetCode returns the value of Code.
func (*ConversationHistoryErrorCommonModel) GetReason ¶
func (s *ConversationHistoryErrorCommonModel) GetReason() OptNilString
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 ¶
func (s *ConversationHistoryErrorCommonModel) SetReason(val OptNilString)
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 ¶
func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryEvaluationCriteriaResultCommonModel from json.
func (*ConversationHistoryEvaluationCriteriaResultCommonModel) Encode ¶
func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryEvaluationCriteriaResultCommonModel) GetCriteriaID ¶
func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) GetCriteriaID() string
GetCriteriaID returns the value of CriteriaID.
func (*ConversationHistoryEvaluationCriteriaResultCommonModel) GetRationale ¶
func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) GetRationale() string
GetRationale returns the value of Rationale.
func (*ConversationHistoryEvaluationCriteriaResultCommonModel) GetResult ¶
func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) GetResult() EvaluationSuccessResult
GetResult returns the value of Result.
func (*ConversationHistoryEvaluationCriteriaResultCommonModel) MarshalJSON ¶
func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryEvaluationCriteriaResultCommonModel) SetCriteriaID ¶
func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) SetCriteriaID(val string)
SetCriteriaID sets the value of CriteriaID.
func (*ConversationHistoryEvaluationCriteriaResultCommonModel) SetRationale ¶
func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) SetRationale(val string)
SetRationale sets the value of Rationale.
func (*ConversationHistoryEvaluationCriteriaResultCommonModel) SetResult ¶
func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) SetResult(val EvaluationSuccessResult)
SetResult sets the value of Result.
func (*ConversationHistoryEvaluationCriteriaResultCommonModel) UnmarshalJSON ¶
func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryEvaluationCriteriaResultCommonModel) Validate ¶
func (s *ConversationHistoryEvaluationCriteriaResultCommonModel) Validate() error
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 ¶
func (s *ConversationHistoryFeedbackCommonModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryFeedbackCommonModel from json.
func (*ConversationHistoryFeedbackCommonModel) Encode ¶
func (s *ConversationHistoryFeedbackCommonModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryFeedbackCommonModel) GetComment ¶
func (s *ConversationHistoryFeedbackCommonModel) GetComment() OptNilString
GetComment returns the value of Comment.
func (*ConversationHistoryFeedbackCommonModel) GetDislikes ¶
func (s *ConversationHistoryFeedbackCommonModel) GetDislikes() OptInt
GetDislikes returns the value of Dislikes.
func (*ConversationHistoryFeedbackCommonModel) GetLikes ¶
func (s *ConversationHistoryFeedbackCommonModel) GetLikes() OptInt
GetLikes returns the value of Likes.
func (*ConversationHistoryFeedbackCommonModel) GetOverallScore ¶
func (s *ConversationHistoryFeedbackCommonModel) GetOverallScore() OptUserFeedbackScore
GetOverallScore returns the value of OverallScore.
func (*ConversationHistoryFeedbackCommonModel) GetRating ¶
func (s *ConversationHistoryFeedbackCommonModel) GetRating() OptNilInt
GetRating returns the value of Rating.
func (*ConversationHistoryFeedbackCommonModel) GetType ¶
func (s *ConversationHistoryFeedbackCommonModel) GetType() OptConversationFeedbackType
GetType returns the value of Type.
func (*ConversationHistoryFeedbackCommonModel) MarshalJSON ¶
func (s *ConversationHistoryFeedbackCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryFeedbackCommonModel) SetComment ¶
func (s *ConversationHistoryFeedbackCommonModel) SetComment(val OptNilString)
SetComment sets the value of Comment.
func (*ConversationHistoryFeedbackCommonModel) SetDislikes ¶
func (s *ConversationHistoryFeedbackCommonModel) SetDislikes(val OptInt)
SetDislikes sets the value of Dislikes.
func (*ConversationHistoryFeedbackCommonModel) SetLikes ¶
func (s *ConversationHistoryFeedbackCommonModel) SetLikes(val OptInt)
SetLikes sets the value of Likes.
func (*ConversationHistoryFeedbackCommonModel) SetOverallScore ¶
func (s *ConversationHistoryFeedbackCommonModel) SetOverallScore(val OptUserFeedbackScore)
SetOverallScore sets the value of OverallScore.
func (*ConversationHistoryFeedbackCommonModel) SetRating ¶
func (s *ConversationHistoryFeedbackCommonModel) SetRating(val OptNilInt)
SetRating sets the value of Rating.
func (*ConversationHistoryFeedbackCommonModel) SetType ¶
func (s *ConversationHistoryFeedbackCommonModel) SetType(val OptConversationFeedbackType)
SetType sets the value of Type.
func (*ConversationHistoryFeedbackCommonModel) UnmarshalJSON ¶
func (s *ConversationHistoryFeedbackCommonModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryFeedbackCommonModel) Validate ¶
func (s *ConversationHistoryFeedbackCommonModel) Validate() error
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 ¶
func (s *ConversationHistoryMetadataCommonModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryMetadataCommonModel from json.
func (*ConversationHistoryMetadataCommonModel) Encode ¶
func (s *ConversationHistoryMetadataCommonModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryMetadataCommonModel) GetAcceptedTimeUnixSecs ¶
func (s *ConversationHistoryMetadataCommonModel) GetAcceptedTimeUnixSecs() OptNilInt
GetAcceptedTimeUnixSecs returns the value of AcceptedTimeUnixSecs.
func (*ConversationHistoryMetadataCommonModel) GetAgentCreatedFrom ¶
func (s *ConversationHistoryMetadataCommonModel) GetAgentCreatedFrom() OptAgentDefinitionSource
GetAgentCreatedFrom returns the value of AgentCreatedFrom.
func (*ConversationHistoryMetadataCommonModel) GetAgentLastUpdatedFrom ¶
func (s *ConversationHistoryMetadataCommonModel) GetAgentLastUpdatedFrom() OptAgentDefinitionSource
GetAgentLastUpdatedFrom returns the value of AgentLastUpdatedFrom.
func (*ConversationHistoryMetadataCommonModel) GetAsyncMetadata ¶
func (s *ConversationHistoryMetadataCommonModel) GetAsyncMetadata() OptAsyncConversationMetadata
GetAsyncMetadata returns the value of AsyncMetadata.
func (*ConversationHistoryMetadataCommonModel) GetAuthorizationMethod ¶
func (s *ConversationHistoryMetadataCommonModel) GetAuthorizationMethod() OptAuthorizationMethod
GetAuthorizationMethod returns the value of AuthorizationMethod.
func (*ConversationHistoryMetadataCommonModel) GetBatchCall ¶
func (s *ConversationHistoryMetadataCommonModel) GetBatchCall() OptConversationHistoryBatchCallModel
GetBatchCall returns the value of BatchCall.
func (*ConversationHistoryMetadataCommonModel) GetCallDurationSecs ¶
func (s *ConversationHistoryMetadataCommonModel) GetCallDurationSecs() int
GetCallDurationSecs returns the value of CallDurationSecs.
func (*ConversationHistoryMetadataCommonModel) GetCharging ¶
func (s *ConversationHistoryMetadataCommonModel) GetCharging() OptConversationChargingCommonModel
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 ¶
func (s *ConversationHistoryMetadataCommonModel) GetCost() OptNilInt
GetCost returns the value of Cost.
func (*ConversationHistoryMetadataCommonModel) GetDeletionSettings ¶
func (s *ConversationHistoryMetadataCommonModel) GetDeletionSettings() OptConversationDeletionSettings
GetDeletionSettings returns the value of DeletionSettings.
func (*ConversationHistoryMetadataCommonModel) GetElevenAssistant ¶
func (s *ConversationHistoryMetadataCommonModel) GetElevenAssistant() OptConversationHistoryElevenAssistantCommonModel
GetElevenAssistant returns the value of ElevenAssistant.
func (*ConversationHistoryMetadataCommonModel) GetError ¶
func (s *ConversationHistoryMetadataCommonModel) GetError() OptConversationHistoryErrorCommonModel
GetError returns the value of Error.
func (*ConversationHistoryMetadataCommonModel) GetFeaturesUsage ¶
func (s *ConversationHistoryMetadataCommonModel) GetFeaturesUsage() OptFeaturesUsageCommonModel
GetFeaturesUsage returns the value of FeaturesUsage.
func (*ConversationHistoryMetadataCommonModel) GetFeedback ¶
func (s *ConversationHistoryMetadataCommonModel) GetFeedback() OptConversationHistoryFeedbackCommonModel
GetFeedback returns the value of Feedback.
func (*ConversationHistoryMetadataCommonModel) GetInitiationTrigger ¶
func (s *ConversationHistoryMetadataCommonModel) GetInitiationTrigger() OptConversationHistoryMetadataCommonModelInitiationTrigger
GetInitiationTrigger returns the value of InitiationTrigger.
func (*ConversationHistoryMetadataCommonModel) GetInitiatorID ¶
func (s *ConversationHistoryMetadataCommonModel) GetInitiatorID() OptNilString
GetInitiatorID returns the value of InitiatorID.
func (*ConversationHistoryMetadataCommonModel) GetMainLanguage ¶
func (s *ConversationHistoryMetadataCommonModel) GetMainLanguage() OptNilString
GetMainLanguage returns the value of MainLanguage.
func (*ConversationHistoryMetadataCommonModel) GetPhoneCall ¶
func (s *ConversationHistoryMetadataCommonModel) GetPhoneCall() OptNilConversationHistoryMetadataCommonModelPhoneCall
GetPhoneCall returns the value of PhoneCall.
func (*ConversationHistoryMetadataCommonModel) GetRagUsage ¶
func (s *ConversationHistoryMetadataCommonModel) GetRagUsage() OptConversationHistoryRagUsageCommonModel
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 ¶
func (s *ConversationHistoryMetadataCommonModel) GetTextOnly() OptBool
GetTextOnly returns the value of TextOnly.
func (*ConversationHistoryMetadataCommonModel) GetTimezone ¶
func (s *ConversationHistoryMetadataCommonModel) GetTimezone() OptNilString
GetTimezone returns the value of Timezone.
func (*ConversationHistoryMetadataCommonModel) GetWarnings ¶
func (s *ConversationHistoryMetadataCommonModel) GetWarnings() []string
GetWarnings returns the value of Warnings.
func (*ConversationHistoryMetadataCommonModel) GetWhatsapp ¶
func (s *ConversationHistoryMetadataCommonModel) GetWhatsapp() OptWhatsAppConversationInfo
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 ¶
func (s *ConversationHistoryMetadataCommonModel) SetAgentCreatedFrom(val OptAgentDefinitionSource)
SetAgentCreatedFrom sets the value of AgentCreatedFrom.
func (*ConversationHistoryMetadataCommonModel) SetAgentLastUpdatedFrom ¶
func (s *ConversationHistoryMetadataCommonModel) SetAgentLastUpdatedFrom(val OptAgentDefinitionSource)
SetAgentLastUpdatedFrom sets the value of AgentLastUpdatedFrom.
func (*ConversationHistoryMetadataCommonModel) SetAsyncMetadata ¶
func (s *ConversationHistoryMetadataCommonModel) SetAsyncMetadata(val OptAsyncConversationMetadata)
SetAsyncMetadata sets the value of AsyncMetadata.
func (*ConversationHistoryMetadataCommonModel) SetAuthorizationMethod ¶
func (s *ConversationHistoryMetadataCommonModel) SetAuthorizationMethod(val OptAuthorizationMethod)
SetAuthorizationMethod sets the value of AuthorizationMethod.
func (*ConversationHistoryMetadataCommonModel) SetBatchCall ¶
func (s *ConversationHistoryMetadataCommonModel) SetBatchCall(val OptConversationHistoryBatchCallModel)
SetBatchCall sets the value of BatchCall.
func (*ConversationHistoryMetadataCommonModel) SetCallDurationSecs ¶
func (s *ConversationHistoryMetadataCommonModel) SetCallDurationSecs(val int)
SetCallDurationSecs sets the value of CallDurationSecs.
func (*ConversationHistoryMetadataCommonModel) SetCharging ¶
func (s *ConversationHistoryMetadataCommonModel) SetCharging(val OptConversationChargingCommonModel)
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 ¶
func (s *ConversationHistoryMetadataCommonModel) SetCost(val OptNilInt)
SetCost sets the value of Cost.
func (*ConversationHistoryMetadataCommonModel) SetDeletionSettings ¶
func (s *ConversationHistoryMetadataCommonModel) SetDeletionSettings(val OptConversationDeletionSettings)
SetDeletionSettings sets the value of DeletionSettings.
func (*ConversationHistoryMetadataCommonModel) SetElevenAssistant ¶
func (s *ConversationHistoryMetadataCommonModel) SetElevenAssistant(val OptConversationHistoryElevenAssistantCommonModel)
SetElevenAssistant sets the value of ElevenAssistant.
func (*ConversationHistoryMetadataCommonModel) SetError ¶
func (s *ConversationHistoryMetadataCommonModel) SetError(val OptConversationHistoryErrorCommonModel)
SetError sets the value of Error.
func (*ConversationHistoryMetadataCommonModel) SetFeaturesUsage ¶
func (s *ConversationHistoryMetadataCommonModel) SetFeaturesUsage(val OptFeaturesUsageCommonModel)
SetFeaturesUsage sets the value of FeaturesUsage.
func (*ConversationHistoryMetadataCommonModel) SetFeedback ¶
func (s *ConversationHistoryMetadataCommonModel) SetFeedback(val OptConversationHistoryFeedbackCommonModel)
SetFeedback sets the value of Feedback.
func (*ConversationHistoryMetadataCommonModel) SetInitiationTrigger ¶
func (s *ConversationHistoryMetadataCommonModel) SetInitiationTrigger(val OptConversationHistoryMetadataCommonModelInitiationTrigger)
SetInitiationTrigger sets the value of InitiationTrigger.
func (*ConversationHistoryMetadataCommonModel) SetInitiatorID ¶
func (s *ConversationHistoryMetadataCommonModel) SetInitiatorID(val OptNilString)
SetInitiatorID sets the value of InitiatorID.
func (*ConversationHistoryMetadataCommonModel) SetMainLanguage ¶
func (s *ConversationHistoryMetadataCommonModel) SetMainLanguage(val OptNilString)
SetMainLanguage sets the value of MainLanguage.
func (*ConversationHistoryMetadataCommonModel) SetPhoneCall ¶
func (s *ConversationHistoryMetadataCommonModel) SetPhoneCall(val OptNilConversationHistoryMetadataCommonModelPhoneCall)
SetPhoneCall sets the value of PhoneCall.
func (*ConversationHistoryMetadataCommonModel) SetRagUsage ¶
func (s *ConversationHistoryMetadataCommonModel) SetRagUsage(val OptConversationHistoryRagUsageCommonModel)
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 ¶
func (s *ConversationHistoryMetadataCommonModel) SetTimezone(val OptNilString)
SetTimezone sets the value of Timezone.
func (*ConversationHistoryMetadataCommonModel) SetWarnings ¶
func (s *ConversationHistoryMetadataCommonModel) SetWarnings(val []string)
SetWarnings sets the value of Warnings.
func (*ConversationHistoryMetadataCommonModel) SetWhatsapp ¶
func (s *ConversationHistoryMetadataCommonModel) SetWhatsapp(val OptWhatsAppConversationInfo)
SetWhatsapp sets the value of Whatsapp.
func (*ConversationHistoryMetadataCommonModel) UnmarshalJSON ¶
func (s *ConversationHistoryMetadataCommonModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryMetadataCommonModel) Validate ¶
func (s *ConversationHistoryMetadataCommonModel) Validate() error
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 ¶
func (s *ConversationHistoryMetadataCommonModelInitiationTrigger) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryMetadataCommonModelInitiationTrigger from json.
func (ConversationHistoryMetadataCommonModelInitiationTrigger) Encode ¶
func (s ConversationHistoryMetadataCommonModelInitiationTrigger) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryMetadataCommonModelInitiationTrigger as json.
func (ConversationHistoryMetadataCommonModelInitiationTrigger) GetDefaultConversationInitiationTrigger ¶
func (s ConversationHistoryMetadataCommonModelInitiationTrigger) GetDefaultConversationInitiationTrigger() (v DefaultConversationInitiationTrigger, ok bool)
GetDefaultConversationInitiationTrigger returns DefaultConversationInitiationTrigger and true boolean if ConversationHistoryMetadataCommonModelInitiationTrigger is DefaultConversationInitiationTrigger.
func (ConversationHistoryMetadataCommonModelInitiationTrigger) GetZendeskConversationInitiationTrigger ¶
func (s ConversationHistoryMetadataCommonModelInitiationTrigger) GetZendeskConversationInitiationTrigger() (v ZendeskConversationInitiationTrigger, ok bool)
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 ¶
func (s ConversationHistoryMetadataCommonModelInitiationTrigger) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryMetadataCommonModelInitiationTrigger) SetDefaultConversationInitiationTrigger ¶
func (s *ConversationHistoryMetadataCommonModelInitiationTrigger) SetDefaultConversationInitiationTrigger(v DefaultConversationInitiationTrigger)
SetDefaultConversationInitiationTrigger sets ConversationHistoryMetadataCommonModelInitiationTrigger to DefaultConversationInitiationTrigger.
func (*ConversationHistoryMetadataCommonModelInitiationTrigger) SetZendeskConversationInitiationTrigger ¶
func (s *ConversationHistoryMetadataCommonModelInitiationTrigger) SetZendeskConversationInitiationTrigger(v ZendeskConversationInitiationTrigger)
SetZendeskConversationInitiationTrigger sets ConversationHistoryMetadataCommonModelInitiationTrigger to ZendeskConversationInitiationTrigger.
func (*ConversationHistoryMetadataCommonModelInitiationTrigger) UnmarshalJSON ¶
func (s *ConversationHistoryMetadataCommonModelInitiationTrigger) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ConversationHistoryMetadataCommonModelInitiationTrigger) Validate ¶
func (s ConversationHistoryMetadataCommonModelInitiationTrigger) Validate() error
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 ¶
func (s *ConversationHistoryMetadataCommonModelPhoneCall) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryMetadataCommonModelPhoneCall from json.
func (ConversationHistoryMetadataCommonModelPhoneCall) Encode ¶
func (s ConversationHistoryMetadataCommonModelPhoneCall) Encode(e *jx.Encoder)
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 ¶
func (s ConversationHistoryMetadataCommonModelPhoneCall) MarshalJSON() ([]byte, error)
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 ¶
func (s *ConversationHistoryMetadataCommonModelPhoneCall) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ConversationHistoryMetadataCommonModelPhoneCall) Validate ¶
func (s ConversationHistoryMetadataCommonModelPhoneCall) Validate() error
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 ¶
func (s *ConversationHistoryMultivoiceMessageModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryMultivoiceMessageModel from json.
func (*ConversationHistoryMultivoiceMessageModel) Encode ¶
func (s *ConversationHistoryMultivoiceMessageModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryMultivoiceMessageModel) GetParts ¶
func (s *ConversationHistoryMultivoiceMessageModel) GetParts() []ConversationHistoryMultivoiceMessagePartModel
GetParts returns the value of Parts.
func (*ConversationHistoryMultivoiceMessageModel) MarshalJSON ¶
func (s *ConversationHistoryMultivoiceMessageModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryMultivoiceMessageModel) SetParts ¶
func (s *ConversationHistoryMultivoiceMessageModel) SetParts(val []ConversationHistoryMultivoiceMessagePartModel)
SetParts sets the value of Parts.
func (*ConversationHistoryMultivoiceMessageModel) UnmarshalJSON ¶
func (s *ConversationHistoryMultivoiceMessageModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryMultivoiceMessageModel) Validate ¶
func (s *ConversationHistoryMultivoiceMessageModel) Validate() error
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 ¶
func (s *ConversationHistoryMultivoiceMessagePartModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryMultivoiceMessagePartModel from json.
func (*ConversationHistoryMultivoiceMessagePartModel) Encode ¶
func (s *ConversationHistoryMultivoiceMessagePartModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryMultivoiceMessagePartModel) GetText ¶
func (s *ConversationHistoryMultivoiceMessagePartModel) GetText() string
GetText returns the value of Text.
func (*ConversationHistoryMultivoiceMessagePartModel) GetTimeInCallSecs ¶
func (s *ConversationHistoryMultivoiceMessagePartModel) GetTimeInCallSecs() NilInt
GetTimeInCallSecs returns the value of TimeInCallSecs.
func (*ConversationHistoryMultivoiceMessagePartModel) GetVoiceLabel ¶
func (s *ConversationHistoryMultivoiceMessagePartModel) GetVoiceLabel() NilString
GetVoiceLabel returns the value of VoiceLabel.
func (*ConversationHistoryMultivoiceMessagePartModel) MarshalJSON ¶
func (s *ConversationHistoryMultivoiceMessagePartModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryMultivoiceMessagePartModel) SetText ¶
func (s *ConversationHistoryMultivoiceMessagePartModel) SetText(val string)
SetText sets the value of Text.
func (*ConversationHistoryMultivoiceMessagePartModel) SetTimeInCallSecs ¶
func (s *ConversationHistoryMultivoiceMessagePartModel) SetTimeInCallSecs(val NilInt)
SetTimeInCallSecs sets the value of TimeInCallSecs.
func (*ConversationHistoryMultivoiceMessagePartModel) SetVoiceLabel ¶
func (s *ConversationHistoryMultivoiceMessagePartModel) SetVoiceLabel(val NilString)
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 ¶
func (s *ConversationHistoryRagUsageCommonModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryRagUsageCommonModel from json.
func (*ConversationHistoryRagUsageCommonModel) Encode ¶
func (s *ConversationHistoryRagUsageCommonModel) Encode(e *jx.Encoder)
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 ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistorySIPTrunkingPhoneCallModel from json.
func (*ConversationHistorySIPTrunkingPhoneCallModel) Encode ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistorySIPTrunkingPhoneCallModel) GetAgentNumber ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModel) GetAgentNumber() string
GetAgentNumber returns the value of AgentNumber.
func (*ConversationHistorySIPTrunkingPhoneCallModel) GetCallSid ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModel) GetCallSid() string
GetCallSid returns the value of CallSid.
func (*ConversationHistorySIPTrunkingPhoneCallModel) GetDirection ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModel) GetDirection() ConversationHistorySIPTrunkingPhoneCallModelDirection
GetDirection returns the value of Direction.
func (*ConversationHistorySIPTrunkingPhoneCallModel) GetExternalNumber ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModel) GetExternalNumber() string
GetExternalNumber returns the value of ExternalNumber.
func (*ConversationHistorySIPTrunkingPhoneCallModel) GetPhoneNumberID ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModel) GetPhoneNumberID() string
GetPhoneNumberID returns the value of PhoneNumberID.
func (*ConversationHistorySIPTrunkingPhoneCallModel) GetType ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModel) GetType() ConversationHistorySIPTrunkingPhoneCallModelType
GetType returns the value of Type.
func (*ConversationHistorySIPTrunkingPhoneCallModel) MarshalJSON ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistorySIPTrunkingPhoneCallModel) SetAgentNumber ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModel) SetAgentNumber(val string)
SetAgentNumber sets the value of AgentNumber.
func (*ConversationHistorySIPTrunkingPhoneCallModel) SetCallSid ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModel) SetCallSid(val string)
SetCallSid sets the value of CallSid.
func (*ConversationHistorySIPTrunkingPhoneCallModel) SetDirection ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModel) SetDirection(val ConversationHistorySIPTrunkingPhoneCallModelDirection)
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 ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModel) SetType(val ConversationHistorySIPTrunkingPhoneCallModelType)
SetType sets the value of Type.
func (*ConversationHistorySIPTrunkingPhoneCallModel) UnmarshalJSON ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistorySIPTrunkingPhoneCallModel) Validate ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModel) Validate() error
type ConversationHistorySIPTrunkingPhoneCallModelDirection ¶
type ConversationHistorySIPTrunkingPhoneCallModelDirection string
const ( ConversationHistorySIPTrunkingPhoneCallModelDirectionInbound ConversationHistorySIPTrunkingPhoneCallModelDirection = "inbound" ConversationHistorySIPTrunkingPhoneCallModelDirectionOutbound ConversationHistorySIPTrunkingPhoneCallModelDirection = "outbound" )
func (ConversationHistorySIPTrunkingPhoneCallModelDirection) AllValues ¶
func (ConversationHistorySIPTrunkingPhoneCallModelDirection) AllValues() []ConversationHistorySIPTrunkingPhoneCallModelDirection
AllValues returns all ConversationHistorySIPTrunkingPhoneCallModelDirection values.
func (*ConversationHistorySIPTrunkingPhoneCallModelDirection) Decode ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModelDirection) Decode(d *jx.Decoder) error
Decode decodes ConversationHistorySIPTrunkingPhoneCallModelDirection from json.
func (ConversationHistorySIPTrunkingPhoneCallModelDirection) Encode ¶
func (s ConversationHistorySIPTrunkingPhoneCallModelDirection) Encode(e *jx.Encoder)
Encode encodes ConversationHistorySIPTrunkingPhoneCallModelDirection as json.
func (ConversationHistorySIPTrunkingPhoneCallModelDirection) MarshalJSON ¶
func (s ConversationHistorySIPTrunkingPhoneCallModelDirection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationHistorySIPTrunkingPhoneCallModelDirection) MarshalText ¶
func (s ConversationHistorySIPTrunkingPhoneCallModelDirection) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ConversationHistorySIPTrunkingPhoneCallModelDirection) UnmarshalJSON ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModelDirection) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistorySIPTrunkingPhoneCallModelDirection) UnmarshalText ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModelDirection) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ConversationHistorySIPTrunkingPhoneCallModelDirection) Validate ¶
func (s ConversationHistorySIPTrunkingPhoneCallModelDirection) Validate() error
type ConversationHistorySIPTrunkingPhoneCallModelType ¶
type ConversationHistorySIPTrunkingPhoneCallModelType string
const (
ConversationHistorySIPTrunkingPhoneCallModelTypeSipTrunking ConversationHistorySIPTrunkingPhoneCallModelType = "sip_trunking"
)
func (ConversationHistorySIPTrunkingPhoneCallModelType) AllValues ¶
func (ConversationHistorySIPTrunkingPhoneCallModelType) AllValues() []ConversationHistorySIPTrunkingPhoneCallModelType
AllValues returns all ConversationHistorySIPTrunkingPhoneCallModelType values.
func (*ConversationHistorySIPTrunkingPhoneCallModelType) Decode ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModelType) Decode(d *jx.Decoder) error
Decode decodes ConversationHistorySIPTrunkingPhoneCallModelType from json.
func (ConversationHistorySIPTrunkingPhoneCallModelType) Encode ¶
func (s ConversationHistorySIPTrunkingPhoneCallModelType) Encode(e *jx.Encoder)
Encode encodes ConversationHistorySIPTrunkingPhoneCallModelType as json.
func (ConversationHistorySIPTrunkingPhoneCallModelType) MarshalJSON ¶
func (s ConversationHistorySIPTrunkingPhoneCallModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationHistorySIPTrunkingPhoneCallModelType) MarshalText ¶
func (s ConversationHistorySIPTrunkingPhoneCallModelType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ConversationHistorySIPTrunkingPhoneCallModelType) UnmarshalJSON ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModelType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistorySIPTrunkingPhoneCallModelType) UnmarshalText ¶
func (s *ConversationHistorySIPTrunkingPhoneCallModelType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ConversationHistorySIPTrunkingPhoneCallModelType) Validate ¶
func (s ConversationHistorySIPTrunkingPhoneCallModelType) Validate() error
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 ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel from json.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) Encode ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetCredentialID ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetCredentialID() string
GetCredentialID returns the value of CredentialID.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetDynamicVariableUpdates ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetDynamicVariableUpdates() []DynamicVariableUpdateCommonModel
GetDynamicVariableUpdates returns the value of DynamicVariableUpdates.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetIntegrationConnectionID ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetIntegrationConnectionID() string
GetIntegrationConnectionID returns the value of IntegrationConnectionID.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetIntegrationID ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetIntegrationID() string
GetIntegrationID returns the value of IntegrationID.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetIsError ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetIsError() bool
GetIsError returns the value of IsError.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetRequestID ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetRequestID() string
GetRequestID returns the value of RequestID.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetResultValue ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetResultValue() string
GetResultValue returns the value of ResultValue.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetToolHasBeenCalled ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetToolHasBeenCalled() bool
GetToolHasBeenCalled returns the value of ToolHasBeenCalled.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetToolLatencySecs ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetToolLatencySecs() OptFloat64
GetToolLatencySecs returns the value of ToolLatencySecs.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetToolName ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetToolName() string
GetToolName returns the value of ToolName.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetType ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) GetType() ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType
GetType returns the value of Type.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) MarshalJSON ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetCredentialID ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetCredentialID(val string)
SetCredentialID sets the value of CredentialID.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetDynamicVariableUpdates ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetDynamicVariableUpdates(val []DynamicVariableUpdateCommonModel)
SetDynamicVariableUpdates sets the value of DynamicVariableUpdates.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetIntegrationConnectionID ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetIntegrationConnectionID(val string)
SetIntegrationConnectionID sets the value of IntegrationConnectionID.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetIntegrationID ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetIntegrationID(val string)
SetIntegrationID sets the value of IntegrationID.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetIsError ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetIsError(val bool)
SetIsError sets the value of IsError.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetRequestID ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetRequestID(val string)
SetRequestID sets the value of RequestID.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetResultValue ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetResultValue(val string)
SetResultValue sets the value of ResultValue.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetToolHasBeenCalled ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetToolHasBeenCalled(val bool)
SetToolHasBeenCalled sets the value of ToolHasBeenCalled.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetToolLatencySecs ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetToolLatencySecs(val OptFloat64)
SetToolLatencySecs sets the value of ToolLatencySecs.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetToolName ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetToolName(val string)
SetToolName sets the value of ToolName.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetType ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) SetType(val ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType)
SetType sets the value of Type.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) Validate ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel) Validate() error
type ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType ¶
type ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType string
const (
ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelTypeAPIIntegrationWebhook ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType = "api_integration_webhook"
)
func (ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) AllValues ¶
func (ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) AllValues() []ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType
AllValues returns all ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType values.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) Decode ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType from json.
func (ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) Encode ¶
func (s ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType as json.
func (ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) MarshalJSON ¶
func (s ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) MarshalText ¶
func (s ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) UnmarshalText ¶
func (s *ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) Validate ¶
func (s ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType) Validate() error
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 ¶
func (s *ConversationHistoryTranscriptCommonModelInput) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptCommonModelInput from json.
func (*ConversationHistoryTranscriptCommonModelInput) Encode ¶
func (s *ConversationHistoryTranscriptCommonModelInput) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryTranscriptCommonModelInput) GetAgentMetadata ¶
func (s *ConversationHistoryTranscriptCommonModelInput) GetAgentMetadata() OptAgentMetadata
GetAgentMetadata returns the value of AgentMetadata.
func (*ConversationHistoryTranscriptCommonModelInput) GetConversationTurnMetrics ¶
func (s *ConversationHistoryTranscriptCommonModelInput) GetConversationTurnMetrics() OptConversationTurnMetrics
GetConversationTurnMetrics returns the value of ConversationTurnMetrics.
func (*ConversationHistoryTranscriptCommonModelInput) GetFeedback ¶
func (s *ConversationHistoryTranscriptCommonModelInput) GetFeedback() OptUserFeedback
GetFeedback returns the value of Feedback.
func (*ConversationHistoryTranscriptCommonModelInput) GetInterrupted ¶
func (s *ConversationHistoryTranscriptCommonModelInput) GetInterrupted() OptBool
GetInterrupted returns the value of Interrupted.
func (*ConversationHistoryTranscriptCommonModelInput) GetLlmOverride ¶
func (s *ConversationHistoryTranscriptCommonModelInput) GetLlmOverride() OptNilString
GetLlmOverride returns the value of LlmOverride.
func (*ConversationHistoryTranscriptCommonModelInput) GetLlmUsage ¶
func (s *ConversationHistoryTranscriptCommonModelInput) GetLlmUsage() OptLLMUsageInput
GetLlmUsage returns the value of LlmUsage.
func (*ConversationHistoryTranscriptCommonModelInput) GetMessage ¶
func (s *ConversationHistoryTranscriptCommonModelInput) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*ConversationHistoryTranscriptCommonModelInput) GetMultivoiceMessage ¶
func (s *ConversationHistoryTranscriptCommonModelInput) GetMultivoiceMessage() OptConversationHistoryMultivoiceMessageModel
GetMultivoiceMessage returns the value of MultivoiceMessage.
func (*ConversationHistoryTranscriptCommonModelInput) GetOriginalMessage ¶
func (s *ConversationHistoryTranscriptCommonModelInput) GetOriginalMessage() OptNilString
GetOriginalMessage returns the value of OriginalMessage.
func (*ConversationHistoryTranscriptCommonModelInput) GetRagRetrievalInfo ¶
func (s *ConversationHistoryTranscriptCommonModelInput) GetRagRetrievalInfo() OptRagRetrievalInfo
GetRagRetrievalInfo returns the value of RagRetrievalInfo.
func (*ConversationHistoryTranscriptCommonModelInput) GetRole ¶
func (s *ConversationHistoryTranscriptCommonModelInput) GetRole() ConversationHistoryTranscriptCommonModelInputRole
GetRole returns the value of Role.
func (*ConversationHistoryTranscriptCommonModelInput) GetSourceMedium ¶
func (s *ConversationHistoryTranscriptCommonModelInput) GetSourceMedium() OptNilConversationHistoryTranscriptCommonModelInputSourceMedium
GetSourceMedium returns the value of SourceMedium.
func (*ConversationHistoryTranscriptCommonModelInput) GetTimeInCallSecs ¶
func (s *ConversationHistoryTranscriptCommonModelInput) GetTimeInCallSecs() int
GetTimeInCallSecs returns the value of TimeInCallSecs.
func (*ConversationHistoryTranscriptCommonModelInput) GetToolCalls ¶
func (s *ConversationHistoryTranscriptCommonModelInput) GetToolCalls() []ConversationHistoryTranscriptToolCallCommonModelInput
GetToolCalls returns the value of ToolCalls.
func (*ConversationHistoryTranscriptCommonModelInput) GetToolResults ¶
func (s *ConversationHistoryTranscriptCommonModelInput) GetToolResults() []ConversationHistoryTranscriptCommonModelInputToolResultsItem
GetToolResults returns the value of ToolResults.
func (*ConversationHistoryTranscriptCommonModelInput) MarshalJSON ¶
func (s *ConversationHistoryTranscriptCommonModelInput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptCommonModelInput) SetAgentMetadata ¶
func (s *ConversationHistoryTranscriptCommonModelInput) SetAgentMetadata(val OptAgentMetadata)
SetAgentMetadata sets the value of AgentMetadata.
func (*ConversationHistoryTranscriptCommonModelInput) SetConversationTurnMetrics ¶
func (s *ConversationHistoryTranscriptCommonModelInput) SetConversationTurnMetrics(val OptConversationTurnMetrics)
SetConversationTurnMetrics sets the value of ConversationTurnMetrics.
func (*ConversationHistoryTranscriptCommonModelInput) SetFeedback ¶
func (s *ConversationHistoryTranscriptCommonModelInput) SetFeedback(val OptUserFeedback)
SetFeedback sets the value of Feedback.
func (*ConversationHistoryTranscriptCommonModelInput) SetInterrupted ¶
func (s *ConversationHistoryTranscriptCommonModelInput) SetInterrupted(val OptBool)
SetInterrupted sets the value of Interrupted.
func (*ConversationHistoryTranscriptCommonModelInput) SetLlmOverride ¶
func (s *ConversationHistoryTranscriptCommonModelInput) SetLlmOverride(val OptNilString)
SetLlmOverride sets the value of LlmOverride.
func (*ConversationHistoryTranscriptCommonModelInput) SetLlmUsage ¶
func (s *ConversationHistoryTranscriptCommonModelInput) SetLlmUsage(val OptLLMUsageInput)
SetLlmUsage sets the value of LlmUsage.
func (*ConversationHistoryTranscriptCommonModelInput) SetMessage ¶
func (s *ConversationHistoryTranscriptCommonModelInput) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*ConversationHistoryTranscriptCommonModelInput) SetMultivoiceMessage ¶
func (s *ConversationHistoryTranscriptCommonModelInput) SetMultivoiceMessage(val OptConversationHistoryMultivoiceMessageModel)
SetMultivoiceMessage sets the value of MultivoiceMessage.
func (*ConversationHistoryTranscriptCommonModelInput) SetOriginalMessage ¶
func (s *ConversationHistoryTranscriptCommonModelInput) SetOriginalMessage(val OptNilString)
SetOriginalMessage sets the value of OriginalMessage.
func (*ConversationHistoryTranscriptCommonModelInput) SetRagRetrievalInfo ¶
func (s *ConversationHistoryTranscriptCommonModelInput) SetRagRetrievalInfo(val OptRagRetrievalInfo)
SetRagRetrievalInfo sets the value of RagRetrievalInfo.
func (*ConversationHistoryTranscriptCommonModelInput) SetRole ¶
func (s *ConversationHistoryTranscriptCommonModelInput) SetRole(val ConversationHistoryTranscriptCommonModelInputRole)
SetRole sets the value of Role.
func (*ConversationHistoryTranscriptCommonModelInput) SetSourceMedium ¶
func (s *ConversationHistoryTranscriptCommonModelInput) SetSourceMedium(val OptNilConversationHistoryTranscriptCommonModelInputSourceMedium)
SetSourceMedium sets the value of SourceMedium.
func (*ConversationHistoryTranscriptCommonModelInput) SetTimeInCallSecs ¶
func (s *ConversationHistoryTranscriptCommonModelInput) SetTimeInCallSecs(val int)
SetTimeInCallSecs sets the value of TimeInCallSecs.
func (*ConversationHistoryTranscriptCommonModelInput) SetToolCalls ¶
func (s *ConversationHistoryTranscriptCommonModelInput) SetToolCalls(val []ConversationHistoryTranscriptToolCallCommonModelInput)
SetToolCalls sets the value of ToolCalls.
func (*ConversationHistoryTranscriptCommonModelInput) SetToolResults ¶
func (s *ConversationHistoryTranscriptCommonModelInput) SetToolResults(val []ConversationHistoryTranscriptCommonModelInputToolResultsItem)
SetToolResults sets the value of ToolResults.
func (*ConversationHistoryTranscriptCommonModelInput) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptCommonModelInput) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptCommonModelInput) Validate ¶
func (s *ConversationHistoryTranscriptCommonModelInput) Validate() error
type ConversationHistoryTranscriptCommonModelInputRole ¶
type ConversationHistoryTranscriptCommonModelInputRole string
const ( ConversationHistoryTranscriptCommonModelInputRoleUser ConversationHistoryTranscriptCommonModelInputRole = "user" ConversationHistoryTranscriptCommonModelInputRoleAgent ConversationHistoryTranscriptCommonModelInputRole = "agent" )
func (ConversationHistoryTranscriptCommonModelInputRole) AllValues ¶
func (ConversationHistoryTranscriptCommonModelInputRole) AllValues() []ConversationHistoryTranscriptCommonModelInputRole
AllValues returns all ConversationHistoryTranscriptCommonModelInputRole values.
func (*ConversationHistoryTranscriptCommonModelInputRole) Decode ¶
func (s *ConversationHistoryTranscriptCommonModelInputRole) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptCommonModelInputRole from json.
func (ConversationHistoryTranscriptCommonModelInputRole) Encode ¶
func (s ConversationHistoryTranscriptCommonModelInputRole) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptCommonModelInputRole as json.
func (ConversationHistoryTranscriptCommonModelInputRole) MarshalJSON ¶
func (s ConversationHistoryTranscriptCommonModelInputRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationHistoryTranscriptCommonModelInputRole) MarshalText ¶
func (s ConversationHistoryTranscriptCommonModelInputRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ConversationHistoryTranscriptCommonModelInputRole) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptCommonModelInputRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptCommonModelInputRole) UnmarshalText ¶
func (s *ConversationHistoryTranscriptCommonModelInputRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ConversationHistoryTranscriptCommonModelInputRole) Validate ¶
func (s ConversationHistoryTranscriptCommonModelInputRole) Validate() error
type ConversationHistoryTranscriptCommonModelInputSourceMedium ¶
type ConversationHistoryTranscriptCommonModelInputSourceMedium string
const ( ConversationHistoryTranscriptCommonModelInputSourceMediumAudio ConversationHistoryTranscriptCommonModelInputSourceMedium = "audio" ConversationHistoryTranscriptCommonModelInputSourceMediumText ConversationHistoryTranscriptCommonModelInputSourceMedium = "text" )
func (ConversationHistoryTranscriptCommonModelInputSourceMedium) AllValues ¶
func (ConversationHistoryTranscriptCommonModelInputSourceMedium) AllValues() []ConversationHistoryTranscriptCommonModelInputSourceMedium
AllValues returns all ConversationHistoryTranscriptCommonModelInputSourceMedium values.
func (*ConversationHistoryTranscriptCommonModelInputSourceMedium) Decode ¶
func (s *ConversationHistoryTranscriptCommonModelInputSourceMedium) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptCommonModelInputSourceMedium from json.
func (ConversationHistoryTranscriptCommonModelInputSourceMedium) Encode ¶
func (s ConversationHistoryTranscriptCommonModelInputSourceMedium) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptCommonModelInputSourceMedium as json.
func (ConversationHistoryTranscriptCommonModelInputSourceMedium) MarshalJSON ¶
func (s ConversationHistoryTranscriptCommonModelInputSourceMedium) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationHistoryTranscriptCommonModelInputSourceMedium) MarshalText ¶
func (s ConversationHistoryTranscriptCommonModelInputSourceMedium) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ConversationHistoryTranscriptCommonModelInputSourceMedium) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptCommonModelInputSourceMedium) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptCommonModelInputSourceMedium) UnmarshalText ¶
func (s *ConversationHistoryTranscriptCommonModelInputSourceMedium) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ConversationHistoryTranscriptCommonModelInputSourceMedium) Validate ¶
func (s ConversationHistoryTranscriptCommonModelInputSourceMedium) Validate() error
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 ¶
func (s *ConversationHistoryTranscriptCommonModelInputToolResultsItem) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptCommonModelInputToolResultsItem from json.
func (ConversationHistoryTranscriptCommonModelInputToolResultsItem) Encode ¶
func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) Encode(e *jx.Encoder)
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 ¶
func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel ¶
func (s *ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel)
SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel sets ConversationHistoryTranscriptCommonModelInputToolResultsItem to ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.
func (*ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptOtherToolsResultCommonModel ¶
func (s *ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptOtherToolsResultCommonModel(v ConversationHistoryTranscriptOtherToolsResultCommonModel)
SetConversationHistoryTranscriptOtherToolsResultCommonModel sets ConversationHistoryTranscriptCommonModelInputToolResultsItem to ConversationHistoryTranscriptOtherToolsResultCommonModel.
func (*ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptSystemToolResultCommonModel ¶
func (s *ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptSystemToolResultCommonModel(v ConversationHistoryTranscriptSystemToolResultCommonModel)
SetConversationHistoryTranscriptSystemToolResultCommonModel sets ConversationHistoryTranscriptCommonModelInputToolResultsItem to ConversationHistoryTranscriptSystemToolResultCommonModel.
func (*ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput ¶
func (s *ConversationHistoryTranscriptCommonModelInputToolResultsItem) SetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput)
SetConversationHistoryTranscriptWorkflowToolsResultCommonModelInput sets ConversationHistoryTranscriptCommonModelInputToolResultsItem to ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.
func (*ConversationHistoryTranscriptCommonModelInputToolResultsItem) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptCommonModelInputToolResultsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ConversationHistoryTranscriptCommonModelInputToolResultsItem) Validate ¶
func (s ConversationHistoryTranscriptCommonModelInputToolResultsItem) Validate() error
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 ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptCommonModelOutput from json.
func (*ConversationHistoryTranscriptCommonModelOutput) Encode ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryTranscriptCommonModelOutput) GetAgentMetadata ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) GetAgentMetadata() OptAgentMetadata
GetAgentMetadata returns the value of AgentMetadata.
func (*ConversationHistoryTranscriptCommonModelOutput) GetConversationTurnMetrics ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) GetConversationTurnMetrics() OptConversationTurnMetrics
GetConversationTurnMetrics returns the value of ConversationTurnMetrics.
func (*ConversationHistoryTranscriptCommonModelOutput) GetFeedback ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) GetFeedback() OptUserFeedback
GetFeedback returns the value of Feedback.
func (*ConversationHistoryTranscriptCommonModelOutput) GetInterrupted ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) GetInterrupted() OptBool
GetInterrupted returns the value of Interrupted.
func (*ConversationHistoryTranscriptCommonModelOutput) GetLlmOverride ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) GetLlmOverride() OptNilString
GetLlmOverride returns the value of LlmOverride.
func (*ConversationHistoryTranscriptCommonModelOutput) GetLlmUsage ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) GetLlmUsage() OptLLMUsageOutput
GetLlmUsage returns the value of LlmUsage.
func (*ConversationHistoryTranscriptCommonModelOutput) GetMessage ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) GetMessage() OptNilString
GetMessage returns the value of Message.
func (*ConversationHistoryTranscriptCommonModelOutput) GetMultivoiceMessage ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) GetMultivoiceMessage() OptConversationHistoryMultivoiceMessageModel
GetMultivoiceMessage returns the value of MultivoiceMessage.
func (*ConversationHistoryTranscriptCommonModelOutput) GetOriginalMessage ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) GetOriginalMessage() OptNilString
GetOriginalMessage returns the value of OriginalMessage.
func (*ConversationHistoryTranscriptCommonModelOutput) GetRagRetrievalInfo ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) GetRagRetrievalInfo() OptRagRetrievalInfo
GetRagRetrievalInfo returns the value of RagRetrievalInfo.
func (*ConversationHistoryTranscriptCommonModelOutput) GetRole ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) GetRole() ConversationHistoryTranscriptCommonModelOutputRole
GetRole returns the value of Role.
func (*ConversationHistoryTranscriptCommonModelOutput) GetSourceMedium ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) GetSourceMedium() OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium
GetSourceMedium returns the value of SourceMedium.
func (*ConversationHistoryTranscriptCommonModelOutput) GetTimeInCallSecs ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) GetTimeInCallSecs() int
GetTimeInCallSecs returns the value of TimeInCallSecs.
func (*ConversationHistoryTranscriptCommonModelOutput) GetToolCalls ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) GetToolCalls() []ConversationHistoryTranscriptToolCallCommonModelOutput
GetToolCalls returns the value of ToolCalls.
func (*ConversationHistoryTranscriptCommonModelOutput) GetToolResults ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) GetToolResults() []ConversationHistoryTranscriptCommonModelOutputToolResultsItem
GetToolResults returns the value of ToolResults.
func (*ConversationHistoryTranscriptCommonModelOutput) MarshalJSON ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptCommonModelOutput) SetAgentMetadata ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) SetAgentMetadata(val OptAgentMetadata)
SetAgentMetadata sets the value of AgentMetadata.
func (*ConversationHistoryTranscriptCommonModelOutput) SetConversationTurnMetrics ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) SetConversationTurnMetrics(val OptConversationTurnMetrics)
SetConversationTurnMetrics sets the value of ConversationTurnMetrics.
func (*ConversationHistoryTranscriptCommonModelOutput) SetFeedback ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) SetFeedback(val OptUserFeedback)
SetFeedback sets the value of Feedback.
func (*ConversationHistoryTranscriptCommonModelOutput) SetInterrupted ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) SetInterrupted(val OptBool)
SetInterrupted sets the value of Interrupted.
func (*ConversationHistoryTranscriptCommonModelOutput) SetLlmOverride ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) SetLlmOverride(val OptNilString)
SetLlmOverride sets the value of LlmOverride.
func (*ConversationHistoryTranscriptCommonModelOutput) SetLlmUsage ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) SetLlmUsage(val OptLLMUsageOutput)
SetLlmUsage sets the value of LlmUsage.
func (*ConversationHistoryTranscriptCommonModelOutput) SetMessage ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) SetMessage(val OptNilString)
SetMessage sets the value of Message.
func (*ConversationHistoryTranscriptCommonModelOutput) SetMultivoiceMessage ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) SetMultivoiceMessage(val OptConversationHistoryMultivoiceMessageModel)
SetMultivoiceMessage sets the value of MultivoiceMessage.
func (*ConversationHistoryTranscriptCommonModelOutput) SetOriginalMessage ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) SetOriginalMessage(val OptNilString)
SetOriginalMessage sets the value of OriginalMessage.
func (*ConversationHistoryTranscriptCommonModelOutput) SetRagRetrievalInfo ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) SetRagRetrievalInfo(val OptRagRetrievalInfo)
SetRagRetrievalInfo sets the value of RagRetrievalInfo.
func (*ConversationHistoryTranscriptCommonModelOutput) SetRole ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) SetRole(val ConversationHistoryTranscriptCommonModelOutputRole)
SetRole sets the value of Role.
func (*ConversationHistoryTranscriptCommonModelOutput) SetSourceMedium ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) SetSourceMedium(val OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium)
SetSourceMedium sets the value of SourceMedium.
func (*ConversationHistoryTranscriptCommonModelOutput) SetTimeInCallSecs ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) SetTimeInCallSecs(val int)
SetTimeInCallSecs sets the value of TimeInCallSecs.
func (*ConversationHistoryTranscriptCommonModelOutput) SetToolCalls ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) SetToolCalls(val []ConversationHistoryTranscriptToolCallCommonModelOutput)
SetToolCalls sets the value of ToolCalls.
func (*ConversationHistoryTranscriptCommonModelOutput) SetToolResults ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) SetToolResults(val []ConversationHistoryTranscriptCommonModelOutputToolResultsItem)
SetToolResults sets the value of ToolResults.
func (*ConversationHistoryTranscriptCommonModelOutput) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptCommonModelOutput) Validate ¶
func (s *ConversationHistoryTranscriptCommonModelOutput) Validate() error
type ConversationHistoryTranscriptCommonModelOutputRole ¶
type ConversationHistoryTranscriptCommonModelOutputRole string
const ( ConversationHistoryTranscriptCommonModelOutputRoleUser ConversationHistoryTranscriptCommonModelOutputRole = "user" ConversationHistoryTranscriptCommonModelOutputRoleAgent ConversationHistoryTranscriptCommonModelOutputRole = "agent" )
func (ConversationHistoryTranscriptCommonModelOutputRole) AllValues ¶
func (ConversationHistoryTranscriptCommonModelOutputRole) AllValues() []ConversationHistoryTranscriptCommonModelOutputRole
AllValues returns all ConversationHistoryTranscriptCommonModelOutputRole values.
func (*ConversationHistoryTranscriptCommonModelOutputRole) Decode ¶
func (s *ConversationHistoryTranscriptCommonModelOutputRole) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptCommonModelOutputRole from json.
func (ConversationHistoryTranscriptCommonModelOutputRole) Encode ¶
func (s ConversationHistoryTranscriptCommonModelOutputRole) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptCommonModelOutputRole as json.
func (ConversationHistoryTranscriptCommonModelOutputRole) MarshalJSON ¶
func (s ConversationHistoryTranscriptCommonModelOutputRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationHistoryTranscriptCommonModelOutputRole) MarshalText ¶
func (s ConversationHistoryTranscriptCommonModelOutputRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ConversationHistoryTranscriptCommonModelOutputRole) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptCommonModelOutputRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptCommonModelOutputRole) UnmarshalText ¶
func (s *ConversationHistoryTranscriptCommonModelOutputRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ConversationHistoryTranscriptCommonModelOutputRole) Validate ¶
func (s ConversationHistoryTranscriptCommonModelOutputRole) Validate() error
type ConversationHistoryTranscriptCommonModelOutputSourceMedium ¶
type ConversationHistoryTranscriptCommonModelOutputSourceMedium string
const ( ConversationHistoryTranscriptCommonModelOutputSourceMediumAudio ConversationHistoryTranscriptCommonModelOutputSourceMedium = "audio" ConversationHistoryTranscriptCommonModelOutputSourceMediumText ConversationHistoryTranscriptCommonModelOutputSourceMedium = "text" )
func (ConversationHistoryTranscriptCommonModelOutputSourceMedium) AllValues ¶
func (ConversationHistoryTranscriptCommonModelOutputSourceMedium) AllValues() []ConversationHistoryTranscriptCommonModelOutputSourceMedium
AllValues returns all ConversationHistoryTranscriptCommonModelOutputSourceMedium values.
func (*ConversationHistoryTranscriptCommonModelOutputSourceMedium) Decode ¶
func (s *ConversationHistoryTranscriptCommonModelOutputSourceMedium) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptCommonModelOutputSourceMedium from json.
func (ConversationHistoryTranscriptCommonModelOutputSourceMedium) Encode ¶
func (s ConversationHistoryTranscriptCommonModelOutputSourceMedium) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptCommonModelOutputSourceMedium as json.
func (ConversationHistoryTranscriptCommonModelOutputSourceMedium) MarshalJSON ¶
func (s ConversationHistoryTranscriptCommonModelOutputSourceMedium) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationHistoryTranscriptCommonModelOutputSourceMedium) MarshalText ¶
func (s ConversationHistoryTranscriptCommonModelOutputSourceMedium) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ConversationHistoryTranscriptCommonModelOutputSourceMedium) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptCommonModelOutputSourceMedium) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptCommonModelOutputSourceMedium) UnmarshalText ¶
func (s *ConversationHistoryTranscriptCommonModelOutputSourceMedium) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ConversationHistoryTranscriptCommonModelOutputSourceMedium) Validate ¶
func (s ConversationHistoryTranscriptCommonModelOutputSourceMedium) Validate() error
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 ¶
func (s *ConversationHistoryTranscriptCommonModelOutputToolResultsItem) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptCommonModelOutputToolResultsItem from json.
func (ConversationHistoryTranscriptCommonModelOutputToolResultsItem) Encode ¶
func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) Encode(e *jx.Encoder)
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 ¶
func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel ¶
func (s *ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel(v ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel)
SetConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel sets ConversationHistoryTranscriptCommonModelOutputToolResultsItem to ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.
func (*ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptOtherToolsResultCommonModel ¶
func (s *ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptOtherToolsResultCommonModel(v ConversationHistoryTranscriptOtherToolsResultCommonModel)
SetConversationHistoryTranscriptOtherToolsResultCommonModel sets ConversationHistoryTranscriptCommonModelOutputToolResultsItem to ConversationHistoryTranscriptOtherToolsResultCommonModel.
func (*ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptSystemToolResultCommonModel ¶
func (s *ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptSystemToolResultCommonModel(v ConversationHistoryTranscriptSystemToolResultCommonModel)
SetConversationHistoryTranscriptSystemToolResultCommonModel sets ConversationHistoryTranscriptCommonModelOutputToolResultsItem to ConversationHistoryTranscriptSystemToolResultCommonModel.
func (*ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput ¶
func (s *ConversationHistoryTranscriptCommonModelOutputToolResultsItem) SetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput(v ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput)
SetConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput sets ConversationHistoryTranscriptCommonModelOutputToolResultsItem to ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.
func (*ConversationHistoryTranscriptCommonModelOutputToolResultsItem) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptCommonModelOutputToolResultsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ConversationHistoryTranscriptCommonModelOutputToolResultsItem) Validate ¶
func (s ConversationHistoryTranscriptCommonModelOutputToolResultsItem) Validate() error
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 ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptOtherToolsResultCommonModel from json.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) Encode ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) GetDynamicVariableUpdates ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) GetDynamicVariableUpdates() []DynamicVariableUpdateCommonModel
GetDynamicVariableUpdates returns the value of DynamicVariableUpdates.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) GetIsError ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) GetIsError() bool
GetIsError returns the value of IsError.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) GetRequestID ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) GetRequestID() string
GetRequestID returns the value of RequestID.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) GetResultValue ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) GetResultValue() string
GetResultValue returns the value of ResultValue.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) GetToolHasBeenCalled ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) GetToolHasBeenCalled() bool
GetToolHasBeenCalled returns the value of ToolHasBeenCalled.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) GetToolLatencySecs ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) GetToolLatencySecs() OptFloat64
GetToolLatencySecs returns the value of ToolLatencySecs.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) GetToolName ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) GetToolName() string
GetToolName returns the value of ToolName.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) GetType ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) GetType() OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType
GetType returns the value of Type.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) MarshalJSON ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) SetDynamicVariableUpdates ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) SetDynamicVariableUpdates(val []DynamicVariableUpdateCommonModel)
SetDynamicVariableUpdates sets the value of DynamicVariableUpdates.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) SetIsError ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) SetIsError(val bool)
SetIsError sets the value of IsError.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) SetRequestID ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) SetRequestID(val string)
SetRequestID sets the value of RequestID.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) SetResultValue ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) SetResultValue(val string)
SetResultValue sets the value of ResultValue.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) SetToolHasBeenCalled ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) SetToolHasBeenCalled(val bool)
SetToolHasBeenCalled sets the value of ToolHasBeenCalled.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) SetToolLatencySecs ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) SetToolLatencySecs(val OptFloat64)
SetToolLatencySecs sets the value of ToolLatencySecs.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) SetToolName ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) SetToolName(val string)
SetToolName sets the value of ToolName.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) SetType ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) SetType(val OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType)
SetType sets the value of Type.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModel) Validate ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModel) Validate() error
type ConversationHistoryTranscriptOtherToolsResultCommonModelType ¶
type ConversationHistoryTranscriptOtherToolsResultCommonModelType string
const ( ConversationHistoryTranscriptOtherToolsResultCommonModelTypeClient ConversationHistoryTranscriptOtherToolsResultCommonModelType = "client" ConversationHistoryTranscriptOtherToolsResultCommonModelTypeWebhook ConversationHistoryTranscriptOtherToolsResultCommonModelType = "webhook" ConversationHistoryTranscriptOtherToolsResultCommonModelTypeMcp ConversationHistoryTranscriptOtherToolsResultCommonModelType = "mcp" )
func (ConversationHistoryTranscriptOtherToolsResultCommonModelType) AllValues ¶
func (ConversationHistoryTranscriptOtherToolsResultCommonModelType) AllValues() []ConversationHistoryTranscriptOtherToolsResultCommonModelType
AllValues returns all ConversationHistoryTranscriptOtherToolsResultCommonModelType values.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModelType) Decode ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModelType) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptOtherToolsResultCommonModelType from json.
func (ConversationHistoryTranscriptOtherToolsResultCommonModelType) Encode ¶
func (s ConversationHistoryTranscriptOtherToolsResultCommonModelType) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptOtherToolsResultCommonModelType as json.
func (ConversationHistoryTranscriptOtherToolsResultCommonModelType) MarshalJSON ¶
func (s ConversationHistoryTranscriptOtherToolsResultCommonModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationHistoryTranscriptOtherToolsResultCommonModelType) MarshalText ¶
func (s ConversationHistoryTranscriptOtherToolsResultCommonModelType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModelType) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModelType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptOtherToolsResultCommonModelType) UnmarshalText ¶
func (s *ConversationHistoryTranscriptOtherToolsResultCommonModelType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ConversationHistoryTranscriptOtherToolsResultCommonModelType) Validate ¶
func (s ConversationHistoryTranscriptOtherToolsResultCommonModelType) Validate() error
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 ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptSystemToolResultCommonModel from json.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) Encode ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetDynamicVariableUpdates ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetDynamicVariableUpdates() []DynamicVariableUpdateCommonModel
GetDynamicVariableUpdates returns the value of DynamicVariableUpdates.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetIsError ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetIsError() bool
GetIsError returns the value of IsError.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetRequestID ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetRequestID() string
GetRequestID returns the value of RequestID.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetResult ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetResult() OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult
GetResult returns the value of Result.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetResultValue ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetResultValue() string
GetResultValue returns the value of ResultValue.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetToolHasBeenCalled ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetToolHasBeenCalled() bool
GetToolHasBeenCalled returns the value of ToolHasBeenCalled.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetToolLatencySecs ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetToolLatencySecs() OptFloat64
GetToolLatencySecs returns the value of ToolLatencySecs.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetToolName ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetToolName() string
GetToolName returns the value of ToolName.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) GetType ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) GetType() ConversationHistoryTranscriptSystemToolResultCommonModelType
GetType returns the value of Type.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) MarshalJSON ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetDynamicVariableUpdates ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetDynamicVariableUpdates(val []DynamicVariableUpdateCommonModel)
SetDynamicVariableUpdates sets the value of DynamicVariableUpdates.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetIsError ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetIsError(val bool)
SetIsError sets the value of IsError.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetRequestID ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetRequestID(val string)
SetRequestID sets the value of RequestID.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetResult ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetResult(val OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult)
SetResult sets the value of Result.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetResultValue ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetResultValue(val string)
SetResultValue sets the value of ResultValue.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetToolHasBeenCalled ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetToolHasBeenCalled(val bool)
SetToolHasBeenCalled sets the value of ToolHasBeenCalled.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetToolLatencySecs ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetToolLatencySecs(val OptFloat64)
SetToolLatencySecs sets the value of ToolLatencySecs.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetToolName ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetToolName(val string)
SetToolName sets the value of ToolName.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) SetType ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) SetType(val ConversationHistoryTranscriptSystemToolResultCommonModelType)
SetType sets the value of Type.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptSystemToolResultCommonModel) Validate ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModel) Validate() error
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 ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptSystemToolResultCommonModelResult from json.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) Encode ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptSystemToolResultCommonModelResult as json.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetEndCallToolResultModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetEndCallToolResultModel() (v EndCallToolResultModel, ok bool)
GetEndCallToolResultModel returns EndCallToolResultModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is EndCallToolResultModel.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetLanguageDetectionToolResultModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetLanguageDetectionToolResultModel() (v LanguageDetectionToolResultModel, ok bool)
GetLanguageDetectionToolResultModel returns LanguageDetectionToolResultModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is LanguageDetectionToolResultModel.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetPlayDTMFResultErrorModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetPlayDTMFResultErrorModel() (v PlayDTMFResultErrorModel, ok bool)
GetPlayDTMFResultErrorModel returns PlayDTMFResultErrorModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is PlayDTMFResultErrorModel.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetPlayDTMFResultSuccessModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetPlayDTMFResultSuccessModel() (v PlayDTMFResultSuccessModel, ok bool)
GetPlayDTMFResultSuccessModel returns PlayDTMFResultSuccessModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is PlayDTMFResultSuccessModel.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetSkipTurnToolResponseModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetSkipTurnToolResponseModel() (v SkipTurnToolResponseModel, ok bool)
GetSkipTurnToolResponseModel returns SkipTurnToolResponseModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is SkipTurnToolResponseModel.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTestToolResultModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTestToolResultModel() (v TestToolResultModel, ok bool)
GetTestToolResultModel returns TestToolResultModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is TestToolResultModel.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToAgentToolResultErrorModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToAgentToolResultErrorModel() (v TransferToAgentToolResultErrorModel, ok bool)
GetTransferToAgentToolResultErrorModel returns TransferToAgentToolResultErrorModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is TransferToAgentToolResultErrorModel.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToAgentToolResultSuccessModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToAgentToolResultSuccessModel() (v TransferToAgentToolResultSuccessModel, ok bool)
GetTransferToAgentToolResultSuccessModel returns TransferToAgentToolResultSuccessModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is TransferToAgentToolResultSuccessModel.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToNumberResultErrorModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToNumberResultErrorModel() (v TransferToNumberResultErrorModel, ok bool)
GetTransferToNumberResultErrorModel returns TransferToNumberResultErrorModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is TransferToNumberResultErrorModel.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToNumberResultSipSuccessModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToNumberResultSipSuccessModel() (v TransferToNumberResultSipSuccessModel, ok bool)
GetTransferToNumberResultSipSuccessModel returns TransferToNumberResultSipSuccessModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is TransferToNumberResultSipSuccessModel.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToNumberResultTwilioSuccessModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetTransferToNumberResultTwilioSuccessModel() (v TransferToNumberResultTwilioSuccessModel, ok bool)
GetTransferToNumberResultTwilioSuccessModel returns TransferToNumberResultTwilioSuccessModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is TransferToNumberResultTwilioSuccessModel.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetVoiceMailDetectionResultSuccessModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) GetVoiceMailDetectionResultSuccessModel() (v VoiceMailDetectionResultSuccessModel, ok bool)
GetVoiceMailDetectionResultSuccessModel returns VoiceMailDetectionResultSuccessModel and true boolean if ConversationHistoryTranscriptSystemToolResultCommonModelResult is VoiceMailDetectionResultSuccessModel.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsEndCallToolResultModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsEndCallToolResultModel() bool
IsEndCallToolResultModel reports whether ConversationHistoryTranscriptSystemToolResultCommonModelResult is EndCallToolResultModel.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsLanguageDetectionToolResultModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsLanguageDetectionToolResultModel() bool
IsLanguageDetectionToolResultModel reports whether ConversationHistoryTranscriptSystemToolResultCommonModelResult is LanguageDetectionToolResultModel.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsPlayDTMFResultErrorModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsPlayDTMFResultErrorModel() bool
IsPlayDTMFResultErrorModel reports whether ConversationHistoryTranscriptSystemToolResultCommonModelResult is PlayDTMFResultErrorModel.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsPlayDTMFResultSuccessModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsPlayDTMFResultSuccessModel() bool
IsPlayDTMFResultSuccessModel reports whether ConversationHistoryTranscriptSystemToolResultCommonModelResult is PlayDTMFResultSuccessModel.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsSkipTurnToolResponseModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsSkipTurnToolResponseModel() bool
IsSkipTurnToolResponseModel reports whether ConversationHistoryTranscriptSystemToolResultCommonModelResult is SkipTurnToolResponseModel.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTestToolResultModel ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) IsTestToolResultModel() bool
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 ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetEndCallToolResultModel ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetEndCallToolResultModel(v EndCallToolResultModel)
SetEndCallToolResultModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to EndCallToolResultModel.
func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetLanguageDetectionToolResultModel ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetLanguageDetectionToolResultModel(v LanguageDetectionToolResultModel)
SetLanguageDetectionToolResultModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to LanguageDetectionToolResultModel.
func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetPlayDTMFResultErrorModel ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetPlayDTMFResultErrorModel(v PlayDTMFResultErrorModel)
SetPlayDTMFResultErrorModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to PlayDTMFResultErrorModel.
func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetPlayDTMFResultSuccessModel ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetPlayDTMFResultSuccessModel(v PlayDTMFResultSuccessModel)
SetPlayDTMFResultSuccessModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to PlayDTMFResultSuccessModel.
func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetSkipTurnToolResponseModel ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetSkipTurnToolResponseModel(v SkipTurnToolResponseModel)
SetSkipTurnToolResponseModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to SkipTurnToolResponseModel.
func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTestToolResultModel ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTestToolResultModel(v TestToolResultModel)
SetTestToolResultModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to TestToolResultModel.
func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToAgentToolResultErrorModel ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToAgentToolResultErrorModel(v TransferToAgentToolResultErrorModel)
SetTransferToAgentToolResultErrorModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to TransferToAgentToolResultErrorModel.
func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToAgentToolResultSuccessModel ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToAgentToolResultSuccessModel(v TransferToAgentToolResultSuccessModel)
SetTransferToAgentToolResultSuccessModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to TransferToAgentToolResultSuccessModel.
func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToNumberResultErrorModel ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToNumberResultErrorModel(v TransferToNumberResultErrorModel)
SetTransferToNumberResultErrorModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to TransferToNumberResultErrorModel.
func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToNumberResultSipSuccessModel ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToNumberResultSipSuccessModel(v TransferToNumberResultSipSuccessModel)
SetTransferToNumberResultSipSuccessModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to TransferToNumberResultSipSuccessModel.
func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToNumberResultTwilioSuccessModel ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTransferToNumberResultTwilioSuccessModel(v TransferToNumberResultTwilioSuccessModel)
SetTransferToNumberResultTwilioSuccessModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to TransferToNumberResultTwilioSuccessModel.
func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetVoiceMailDetectionResultSuccessModel ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) SetVoiceMailDetectionResultSuccessModel(v VoiceMailDetectionResultSuccessModel)
SetVoiceMailDetectionResultSuccessModel sets ConversationHistoryTranscriptSystemToolResultCommonModelResult to VoiceMailDetectionResultSuccessModel.
func (*ConversationHistoryTranscriptSystemToolResultCommonModelResult) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModelResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ConversationHistoryTranscriptSystemToolResultCommonModelResult) Validate ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelResult) Validate() error
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 ¶
func (ConversationHistoryTranscriptSystemToolResultCommonModelType) AllValues() []ConversationHistoryTranscriptSystemToolResultCommonModelType
AllValues returns all ConversationHistoryTranscriptSystemToolResultCommonModelType values.
func (*ConversationHistoryTranscriptSystemToolResultCommonModelType) Decode ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModelType) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptSystemToolResultCommonModelType from json.
func (ConversationHistoryTranscriptSystemToolResultCommonModelType) Encode ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelType) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptSystemToolResultCommonModelType as json.
func (ConversationHistoryTranscriptSystemToolResultCommonModelType) MarshalJSON ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationHistoryTranscriptSystemToolResultCommonModelType) MarshalText ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ConversationHistoryTranscriptSystemToolResultCommonModelType) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModelType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptSystemToolResultCommonModelType) UnmarshalText ¶
func (s *ConversationHistoryTranscriptSystemToolResultCommonModelType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ConversationHistoryTranscriptSystemToolResultCommonModelType) Validate ¶
func (s ConversationHistoryTranscriptSystemToolResultCommonModelType) Validate() error
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 ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails from json.
func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) Encode ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetCredentialID ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetCredentialID() string
GetCredentialID returns the value of CredentialID.
func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetIntegrationConnectionID ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetIntegrationConnectionID() string
GetIntegrationConnectionID returns the value of IntegrationConnectionID.
func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetIntegrationID ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetIntegrationID() string
GetIntegrationID returns the value of IntegrationID.
func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetType ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetType() OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType
GetType returns the value of Type.
func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetWebhookDetails ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) GetWebhookDetails() ConversationHistoryTranscriptToolCallWebhookDetails
GetWebhookDetails returns the value of WebhookDetails.
func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) MarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetCredentialID ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetCredentialID(val string)
SetCredentialID sets the value of CredentialID.
func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetIntegrationConnectionID ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetIntegrationConnectionID(val string)
SetIntegrationConnectionID sets the value of IntegrationConnectionID.
func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetIntegrationID ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetIntegrationID(val string)
SetIntegrationID sets the value of IntegrationID.
func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetType ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetType(val OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType)
SetType sets the value of Type.
func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetWebhookDetails ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) SetWebhookDetails(val ConversationHistoryTranscriptToolCallWebhookDetails)
SetWebhookDetails sets the value of WebhookDetails.
func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) Validate ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails) Validate() error
type ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType ¶
type ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType string
const (
ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsTypeAPIIntegrationWebhook ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType = "api_integration_webhook"
)
func (ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) AllValues ¶
func (ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) AllValues() []ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType
AllValues returns all ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType values.
func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Decode ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType from json.
func (ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Encode ¶
func (s ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType as json.
func (ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) MarshalJSON ¶
func (s ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) MarshalText ¶
func (s ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) UnmarshalText ¶
func (s *ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Validate ¶
func (s ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Validate() error
type ConversationHistoryTranscriptToolCallClientDetails ¶
type ConversationHistoryTranscriptToolCallClientDetails struct {
Parameters string `json:"parameters"`
Type OptConversationHistoryTranscriptToolCallClientDetailsType `json:"type"`
}
Ref: #/components/schemas/ConversationHistoryTranscriptToolCallClientDetails
func (*ConversationHistoryTranscriptToolCallClientDetails) Decode ¶
func (s *ConversationHistoryTranscriptToolCallClientDetails) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallClientDetails from json.
func (*ConversationHistoryTranscriptToolCallClientDetails) Encode ¶
func (s *ConversationHistoryTranscriptToolCallClientDetails) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryTranscriptToolCallClientDetails) GetParameters ¶
func (s *ConversationHistoryTranscriptToolCallClientDetails) GetParameters() string
GetParameters returns the value of Parameters.
func (*ConversationHistoryTranscriptToolCallClientDetails) GetType ¶
func (s *ConversationHistoryTranscriptToolCallClientDetails) GetType() OptConversationHistoryTranscriptToolCallClientDetailsType
GetType returns the value of Type.
func (*ConversationHistoryTranscriptToolCallClientDetails) MarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallClientDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptToolCallClientDetails) SetParameters ¶
func (s *ConversationHistoryTranscriptToolCallClientDetails) SetParameters(val string)
SetParameters sets the value of Parameters.
func (*ConversationHistoryTranscriptToolCallClientDetails) SetType ¶
func (s *ConversationHistoryTranscriptToolCallClientDetails) SetType(val OptConversationHistoryTranscriptToolCallClientDetailsType)
SetType sets the value of Type.
func (*ConversationHistoryTranscriptToolCallClientDetails) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallClientDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptToolCallClientDetails) Validate ¶
func (s *ConversationHistoryTranscriptToolCallClientDetails) Validate() error
type ConversationHistoryTranscriptToolCallClientDetailsType ¶
type ConversationHistoryTranscriptToolCallClientDetailsType string
const (
ConversationHistoryTranscriptToolCallClientDetailsTypeClient ConversationHistoryTranscriptToolCallClientDetailsType = "client"
)
func (ConversationHistoryTranscriptToolCallClientDetailsType) AllValues ¶
func (ConversationHistoryTranscriptToolCallClientDetailsType) AllValues() []ConversationHistoryTranscriptToolCallClientDetailsType
AllValues returns all ConversationHistoryTranscriptToolCallClientDetailsType values.
func (*ConversationHistoryTranscriptToolCallClientDetailsType) Decode ¶
func (s *ConversationHistoryTranscriptToolCallClientDetailsType) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallClientDetailsType from json.
func (ConversationHistoryTranscriptToolCallClientDetailsType) Encode ¶
func (s ConversationHistoryTranscriptToolCallClientDetailsType) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptToolCallClientDetailsType as json.
func (ConversationHistoryTranscriptToolCallClientDetailsType) MarshalJSON ¶
func (s ConversationHistoryTranscriptToolCallClientDetailsType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationHistoryTranscriptToolCallClientDetailsType) MarshalText ¶
func (s ConversationHistoryTranscriptToolCallClientDetailsType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ConversationHistoryTranscriptToolCallClientDetailsType) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallClientDetailsType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptToolCallClientDetailsType) UnmarshalText ¶
func (s *ConversationHistoryTranscriptToolCallClientDetailsType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ConversationHistoryTranscriptToolCallClientDetailsType) Validate ¶
func (s ConversationHistoryTranscriptToolCallClientDetailsType) Validate() error
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 ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInput) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallCommonModelInput from json.
func (*ConversationHistoryTranscriptToolCallCommonModelInput) Encode ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInput) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryTranscriptToolCallCommonModelInput) GetParamsAsJSON ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInput) GetParamsAsJSON() string
GetParamsAsJSON returns the value of ParamsAsJSON.
func (*ConversationHistoryTranscriptToolCallCommonModelInput) GetRequestID ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInput) GetRequestID() string
GetRequestID returns the value of RequestID.
func (*ConversationHistoryTranscriptToolCallCommonModelInput) GetToolDetails ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInput) GetToolDetails() OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails
GetToolDetails returns the value of ToolDetails.
func (*ConversationHistoryTranscriptToolCallCommonModelInput) GetToolHasBeenCalled ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInput) GetToolHasBeenCalled() bool
GetToolHasBeenCalled returns the value of ToolHasBeenCalled.
func (*ConversationHistoryTranscriptToolCallCommonModelInput) GetToolName ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInput) GetToolName() string
GetToolName returns the value of ToolName.
func (*ConversationHistoryTranscriptToolCallCommonModelInput) GetType ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInput) GetType() OptToolType
GetType returns the value of Type.
func (*ConversationHistoryTranscriptToolCallCommonModelInput) MarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptToolCallCommonModelInput) SetParamsAsJSON ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInput) SetParamsAsJSON(val string)
SetParamsAsJSON sets the value of ParamsAsJSON.
func (*ConversationHistoryTranscriptToolCallCommonModelInput) SetRequestID ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInput) SetRequestID(val string)
SetRequestID sets the value of RequestID.
func (*ConversationHistoryTranscriptToolCallCommonModelInput) SetToolDetails ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInput) SetToolDetails(val OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails)
SetToolDetails sets the value of ToolDetails.
func (*ConversationHistoryTranscriptToolCallCommonModelInput) SetToolHasBeenCalled ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInput) SetToolHasBeenCalled(val bool)
SetToolHasBeenCalled sets the value of ToolHasBeenCalled.
func (*ConversationHistoryTranscriptToolCallCommonModelInput) SetToolName ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInput) SetToolName(val string)
SetToolName sets the value of ToolName.
func (*ConversationHistoryTranscriptToolCallCommonModelInput) SetType ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInput) SetType(val OptToolType)
SetType sets the value of Type.
func (*ConversationHistoryTranscriptToolCallCommonModelInput) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInput) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptToolCallCommonModelInput) Validate ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInput) Validate() error
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 ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallCommonModelInputToolDetails from json.
func (ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Encode ¶
func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Encode(e *jx.Encoder)
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 ¶
func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) GetConversationHistoryTranscriptToolCallClientDetails() (v ConversationHistoryTranscriptToolCallClientDetails, ok bool)
GetConversationHistoryTranscriptToolCallClientDetails returns ConversationHistoryTranscriptToolCallClientDetails and true boolean if ConversationHistoryTranscriptToolCallCommonModelInputToolDetails is ConversationHistoryTranscriptToolCallClientDetails.
func (ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) GetConversationHistoryTranscriptToolCallMCPDetails ¶
func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) GetConversationHistoryTranscriptToolCallMCPDetails() (v ConversationHistoryTranscriptToolCallMCPDetails, ok bool)
GetConversationHistoryTranscriptToolCallMCPDetails returns ConversationHistoryTranscriptToolCallMCPDetails and true boolean if ConversationHistoryTranscriptToolCallCommonModelInputToolDetails is ConversationHistoryTranscriptToolCallMCPDetails.
func (ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) GetConversationHistoryTranscriptToolCallWebhookDetails ¶
func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) GetConversationHistoryTranscriptToolCallWebhookDetails() (v ConversationHistoryTranscriptToolCallWebhookDetails, ok bool)
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 ¶
func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails(v ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails)
SetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails sets ConversationHistoryTranscriptToolCallCommonModelInputToolDetails to ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.
func (*ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetConversationHistoryTranscriptToolCallClientDetails ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetConversationHistoryTranscriptToolCallClientDetails(v ConversationHistoryTranscriptToolCallClientDetails)
SetConversationHistoryTranscriptToolCallClientDetails sets ConversationHistoryTranscriptToolCallCommonModelInputToolDetails to ConversationHistoryTranscriptToolCallClientDetails.
func (*ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetConversationHistoryTranscriptToolCallMCPDetails ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetConversationHistoryTranscriptToolCallMCPDetails(v ConversationHistoryTranscriptToolCallMCPDetails)
SetConversationHistoryTranscriptToolCallMCPDetails sets ConversationHistoryTranscriptToolCallCommonModelInputToolDetails to ConversationHistoryTranscriptToolCallMCPDetails.
func (*ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetConversationHistoryTranscriptToolCallWebhookDetails ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetConversationHistoryTranscriptToolCallWebhookDetails(v ConversationHistoryTranscriptToolCallWebhookDetails)
SetConversationHistoryTranscriptToolCallWebhookDetails sets ConversationHistoryTranscriptToolCallCommonModelInputToolDetails to ConversationHistoryTranscriptToolCallWebhookDetails.
func (*ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Validate ¶
func (s ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Validate() error
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 ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallCommonModelOutput from json.
func (*ConversationHistoryTranscriptToolCallCommonModelOutput) Encode ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryTranscriptToolCallCommonModelOutput) GetParamsAsJSON ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) GetParamsAsJSON() string
GetParamsAsJSON returns the value of ParamsAsJSON.
func (*ConversationHistoryTranscriptToolCallCommonModelOutput) GetRequestID ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) GetRequestID() string
GetRequestID returns the value of RequestID.
func (*ConversationHistoryTranscriptToolCallCommonModelOutput) GetToolDetails ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) GetToolDetails() OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails
GetToolDetails returns the value of ToolDetails.
func (*ConversationHistoryTranscriptToolCallCommonModelOutput) GetToolHasBeenCalled ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) GetToolHasBeenCalled() bool
GetToolHasBeenCalled returns the value of ToolHasBeenCalled.
func (*ConversationHistoryTranscriptToolCallCommonModelOutput) GetToolName ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) GetToolName() string
GetToolName returns the value of ToolName.
func (*ConversationHistoryTranscriptToolCallCommonModelOutput) GetType ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) GetType() OptToolType
GetType returns the value of Type.
func (*ConversationHistoryTranscriptToolCallCommonModelOutput) MarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptToolCallCommonModelOutput) SetParamsAsJSON ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) SetParamsAsJSON(val string)
SetParamsAsJSON sets the value of ParamsAsJSON.
func (*ConversationHistoryTranscriptToolCallCommonModelOutput) SetRequestID ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) SetRequestID(val string)
SetRequestID sets the value of RequestID.
func (*ConversationHistoryTranscriptToolCallCommonModelOutput) SetToolDetails ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) SetToolDetails(val OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails)
SetToolDetails sets the value of ToolDetails.
func (*ConversationHistoryTranscriptToolCallCommonModelOutput) SetToolHasBeenCalled ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) SetToolHasBeenCalled(val bool)
SetToolHasBeenCalled sets the value of ToolHasBeenCalled.
func (*ConversationHistoryTranscriptToolCallCommonModelOutput) SetToolName ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) SetToolName(val string)
SetToolName sets the value of ToolName.
func (*ConversationHistoryTranscriptToolCallCommonModelOutput) SetType ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) SetType(val OptToolType)
SetType sets the value of Type.
func (*ConversationHistoryTranscriptToolCallCommonModelOutput) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptToolCallCommonModelOutput) Validate ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutput) Validate() error
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 ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails from json.
func (ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Encode ¶
func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Encode(e *jx.Encoder)
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 ¶
func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) GetConversationHistoryTranscriptToolCallClientDetails() (v ConversationHistoryTranscriptToolCallClientDetails, ok bool)
GetConversationHistoryTranscriptToolCallClientDetails returns ConversationHistoryTranscriptToolCallClientDetails and true boolean if ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails is ConversationHistoryTranscriptToolCallClientDetails.
func (ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) GetConversationHistoryTranscriptToolCallMCPDetails ¶
func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) GetConversationHistoryTranscriptToolCallMCPDetails() (v ConversationHistoryTranscriptToolCallMCPDetails, ok bool)
GetConversationHistoryTranscriptToolCallMCPDetails returns ConversationHistoryTranscriptToolCallMCPDetails and true boolean if ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails is ConversationHistoryTranscriptToolCallMCPDetails.
func (ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) GetConversationHistoryTranscriptToolCallWebhookDetails ¶
func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) GetConversationHistoryTranscriptToolCallWebhookDetails() (v ConversationHistoryTranscriptToolCallWebhookDetails, ok bool)
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 ¶
func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails(v ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails)
SetConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails sets ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails to ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.
func (*ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetConversationHistoryTranscriptToolCallClientDetails ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetConversationHistoryTranscriptToolCallClientDetails(v ConversationHistoryTranscriptToolCallClientDetails)
SetConversationHistoryTranscriptToolCallClientDetails sets ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails to ConversationHistoryTranscriptToolCallClientDetails.
func (*ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetConversationHistoryTranscriptToolCallMCPDetails ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetConversationHistoryTranscriptToolCallMCPDetails(v ConversationHistoryTranscriptToolCallMCPDetails)
SetConversationHistoryTranscriptToolCallMCPDetails sets ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails to ConversationHistoryTranscriptToolCallMCPDetails.
func (*ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetConversationHistoryTranscriptToolCallWebhookDetails ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetConversationHistoryTranscriptToolCallWebhookDetails(v ConversationHistoryTranscriptToolCallWebhookDetails)
SetConversationHistoryTranscriptToolCallWebhookDetails sets ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails to ConversationHistoryTranscriptToolCallWebhookDetails.
func (*ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Validate ¶
func (s ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Validate() error
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 ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallMCPDetails from json.
func (*ConversationHistoryTranscriptToolCallMCPDetails) Encode ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryTranscriptToolCallMCPDetails) GetApprovalPolicy ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetApprovalPolicy() string
GetApprovalPolicy returns the value of ApprovalPolicy.
func (*ConversationHistoryTranscriptToolCallMCPDetails) GetIntegrationType ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetIntegrationType() string
GetIntegrationType returns the value of IntegrationType.
func (*ConversationHistoryTranscriptToolCallMCPDetails) GetMcpServerID ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetMcpServerID() string
GetMcpServerID returns the value of McpServerID.
func (*ConversationHistoryTranscriptToolCallMCPDetails) GetMcpServerName ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetMcpServerName() string
GetMcpServerName returns the value of McpServerName.
func (*ConversationHistoryTranscriptToolCallMCPDetails) GetMcpToolDescription ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetMcpToolDescription() OptString
GetMcpToolDescription returns the value of McpToolDescription.
func (*ConversationHistoryTranscriptToolCallMCPDetails) GetMcpToolName ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetMcpToolName() OptString
GetMcpToolName returns the value of McpToolName.
func (*ConversationHistoryTranscriptToolCallMCPDetails) GetParameters ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetParameters() OptConversationHistoryTranscriptToolCallMCPDetailsParameters
GetParameters returns the value of Parameters.
func (*ConversationHistoryTranscriptToolCallMCPDetails) GetRequiresApproval ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetRequiresApproval() OptBool
GetRequiresApproval returns the value of RequiresApproval.
func (*ConversationHistoryTranscriptToolCallMCPDetails) GetType ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) GetType() OptConversationHistoryTranscriptToolCallMCPDetailsType
GetType returns the value of Type.
func (*ConversationHistoryTranscriptToolCallMCPDetails) MarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) MarshalJSON() ([]byte, error)
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 ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetMcpServerID(val string)
SetMcpServerID sets the value of McpServerID.
func (*ConversationHistoryTranscriptToolCallMCPDetails) SetMcpServerName ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetMcpServerName(val string)
SetMcpServerName sets the value of McpServerName.
func (*ConversationHistoryTranscriptToolCallMCPDetails) SetMcpToolDescription ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetMcpToolDescription(val OptString)
SetMcpToolDescription sets the value of McpToolDescription.
func (*ConversationHistoryTranscriptToolCallMCPDetails) SetMcpToolName ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetMcpToolName(val OptString)
SetMcpToolName sets the value of McpToolName.
func (*ConversationHistoryTranscriptToolCallMCPDetails) SetParameters ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetParameters(val OptConversationHistoryTranscriptToolCallMCPDetailsParameters)
SetParameters sets the value of Parameters.
func (*ConversationHistoryTranscriptToolCallMCPDetails) SetRequiresApproval ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetRequiresApproval(val OptBool)
SetRequiresApproval sets the value of RequiresApproval.
func (*ConversationHistoryTranscriptToolCallMCPDetails) SetType ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) SetType(val OptConversationHistoryTranscriptToolCallMCPDetailsType)
SetType sets the value of Type.
func (*ConversationHistoryTranscriptToolCallMCPDetails) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptToolCallMCPDetails) Validate ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetails) Validate() error
type ConversationHistoryTranscriptToolCallMCPDetailsParameters ¶
func (*ConversationHistoryTranscriptToolCallMCPDetailsParameters) Decode ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetailsParameters) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallMCPDetailsParameters from json.
func (ConversationHistoryTranscriptToolCallMCPDetailsParameters) Encode ¶
func (s ConversationHistoryTranscriptToolCallMCPDetailsParameters) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ConversationHistoryTranscriptToolCallMCPDetailsParameters) MarshalJSON ¶
func (s ConversationHistoryTranscriptToolCallMCPDetailsParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptToolCallMCPDetailsParameters) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetailsParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ConversationHistoryTranscriptToolCallMCPDetailsType ¶
type ConversationHistoryTranscriptToolCallMCPDetailsType string
const (
ConversationHistoryTranscriptToolCallMCPDetailsTypeMcp ConversationHistoryTranscriptToolCallMCPDetailsType = "mcp"
)
func (ConversationHistoryTranscriptToolCallMCPDetailsType) AllValues ¶
func (ConversationHistoryTranscriptToolCallMCPDetailsType) AllValues() []ConversationHistoryTranscriptToolCallMCPDetailsType
AllValues returns all ConversationHistoryTranscriptToolCallMCPDetailsType values.
func (*ConversationHistoryTranscriptToolCallMCPDetailsType) Decode ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetailsType) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallMCPDetailsType from json.
func (ConversationHistoryTranscriptToolCallMCPDetailsType) Encode ¶
func (s ConversationHistoryTranscriptToolCallMCPDetailsType) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptToolCallMCPDetailsType as json.
func (ConversationHistoryTranscriptToolCallMCPDetailsType) MarshalJSON ¶
func (s ConversationHistoryTranscriptToolCallMCPDetailsType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationHistoryTranscriptToolCallMCPDetailsType) MarshalText ¶
func (s ConversationHistoryTranscriptToolCallMCPDetailsType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ConversationHistoryTranscriptToolCallMCPDetailsType) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetailsType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptToolCallMCPDetailsType) UnmarshalText ¶
func (s *ConversationHistoryTranscriptToolCallMCPDetailsType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ConversationHistoryTranscriptToolCallMCPDetailsType) Validate ¶
func (s ConversationHistoryTranscriptToolCallMCPDetailsType) Validate() error
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 ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallWebhookDetails from json.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) Encode ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) GetBody ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) GetBody() OptNilString
GetBody returns the value of Body.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) GetHeaders ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) GetHeaders() OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders
GetHeaders returns the value of Headers.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) GetMethod ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) GetMethod() string
GetMethod returns the value of Method.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) GetPathParams ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) GetPathParams() OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams
GetPathParams returns the value of PathParams.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) GetQueryParams ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) GetQueryParams() OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams
GetQueryParams returns the value of QueryParams.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) GetType ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) GetType() OptConversationHistoryTranscriptToolCallWebhookDetailsType
GetType returns the value of Type.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) GetURL ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) GetURL() string
GetURL returns the value of URL.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) MarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) SetBody ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) SetBody(val OptNilString)
SetBody sets the value of Body.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) SetHeaders ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) SetHeaders(val OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders)
SetHeaders sets the value of Headers.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) SetMethod ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) SetMethod(val string)
SetMethod sets the value of Method.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) SetPathParams ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) SetPathParams(val OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams)
SetPathParams sets the value of PathParams.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) SetQueryParams ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) SetQueryParams(val OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams)
SetQueryParams sets the value of QueryParams.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) SetType ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) SetType(val OptConversationHistoryTranscriptToolCallWebhookDetailsType)
SetType sets the value of Type.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) SetURL ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) SetURL(val string)
SetURL sets the value of URL.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptToolCallWebhookDetails) Validate ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetails) Validate() error
type ConversationHistoryTranscriptToolCallWebhookDetailsHeaders ¶
func (*ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Decode ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallWebhookDetailsHeaders from json.
func (ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Encode ¶
func (s ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) MarshalJSON ¶
func (s ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ConversationHistoryTranscriptToolCallWebhookDetailsPathParams ¶
func (*ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Decode ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallWebhookDetailsPathParams from json.
func (ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Encode ¶
func (s ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) MarshalJSON ¶
func (s ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams ¶
func (*ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Decode ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams from json.
func (ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Encode ¶
func (s ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) MarshalJSON ¶
func (s ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ConversationHistoryTranscriptToolCallWebhookDetailsType ¶
type ConversationHistoryTranscriptToolCallWebhookDetailsType string
const (
ConversationHistoryTranscriptToolCallWebhookDetailsTypeWebhook ConversationHistoryTranscriptToolCallWebhookDetailsType = "webhook"
)
func (ConversationHistoryTranscriptToolCallWebhookDetailsType) AllValues ¶
func (ConversationHistoryTranscriptToolCallWebhookDetailsType) AllValues() []ConversationHistoryTranscriptToolCallWebhookDetailsType
AllValues returns all ConversationHistoryTranscriptToolCallWebhookDetailsType values.
func (*ConversationHistoryTranscriptToolCallWebhookDetailsType) Decode ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetailsType) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallWebhookDetailsType from json.
func (ConversationHistoryTranscriptToolCallWebhookDetailsType) Encode ¶
func (s ConversationHistoryTranscriptToolCallWebhookDetailsType) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptToolCallWebhookDetailsType as json.
func (ConversationHistoryTranscriptToolCallWebhookDetailsType) MarshalJSON ¶
func (s ConversationHistoryTranscriptToolCallWebhookDetailsType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationHistoryTranscriptToolCallWebhookDetailsType) MarshalText ¶
func (s ConversationHistoryTranscriptToolCallWebhookDetailsType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ConversationHistoryTranscriptToolCallWebhookDetailsType) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetailsType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptToolCallWebhookDetailsType) UnmarshalText ¶
func (s *ConversationHistoryTranscriptToolCallWebhookDetailsType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ConversationHistoryTranscriptToolCallWebhookDetailsType) Validate ¶
func (s ConversationHistoryTranscriptToolCallWebhookDetailsType) Validate() error
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 ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput from json.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) Encode ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetDynamicVariableUpdates ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetDynamicVariableUpdates() []DynamicVariableUpdateCommonModel
GetDynamicVariableUpdates returns the value of DynamicVariableUpdates.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetIsError ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetIsError() bool
GetIsError returns the value of IsError.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetRequestID ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetRequestID() string
GetRequestID returns the value of RequestID.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetResult ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetResult() OptWorkflowToolResponseModelInput
GetResult returns the value of Result.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetResultValue ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetResultValue() string
GetResultValue returns the value of ResultValue.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetToolHasBeenCalled ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetToolHasBeenCalled() bool
GetToolHasBeenCalled returns the value of ToolHasBeenCalled.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetToolLatencySecs ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetToolLatencySecs() OptFloat64
GetToolLatencySecs returns the value of ToolLatencySecs.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetToolName ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetToolName() string
GetToolName returns the value of ToolName.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetType ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) GetType() ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType
GetType returns the value of Type.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) MarshalJSON ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetDynamicVariableUpdates ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetDynamicVariableUpdates(val []DynamicVariableUpdateCommonModel)
SetDynamicVariableUpdates sets the value of DynamicVariableUpdates.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetIsError ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetIsError(val bool)
SetIsError sets the value of IsError.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetRequestID ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetRequestID(val string)
SetRequestID sets the value of RequestID.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetResult ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetResult(val OptWorkflowToolResponseModelInput)
SetResult sets the value of Result.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetResultValue ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetResultValue(val string)
SetResultValue sets the value of ResultValue.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetToolHasBeenCalled ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetToolHasBeenCalled(val bool)
SetToolHasBeenCalled sets the value of ToolHasBeenCalled.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetToolLatencySecs ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetToolLatencySecs(val OptFloat64)
SetToolLatencySecs sets the value of ToolLatencySecs.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetToolName ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetToolName(val string)
SetToolName sets the value of ToolName.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetType ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) SetType(val ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType)
SetType sets the value of Type.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) Validate ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) Validate() error
type ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType ¶
type ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType string
const (
ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputTypeWorkflow ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType = "workflow"
)
func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) AllValues ¶
func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) AllValues() []ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType
AllValues returns all ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType values.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) Decode ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType from json.
func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) Encode ¶
func (s ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType as json.
func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) MarshalJSON ¶
func (s ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) MarshalText ¶
func (s ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) UnmarshalText ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) Validate ¶
func (s ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType) Validate() error
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 ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput from json.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) Encode ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetDynamicVariableUpdates ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetDynamicVariableUpdates() []DynamicVariableUpdateCommonModel
GetDynamicVariableUpdates returns the value of DynamicVariableUpdates.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetIsError ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetIsError() bool
GetIsError returns the value of IsError.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetRequestID ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetRequestID() string
GetRequestID returns the value of RequestID.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetResult ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetResult() OptWorkflowToolResponseModelOutput
GetResult returns the value of Result.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetResultValue ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetResultValue() string
GetResultValue returns the value of ResultValue.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetToolHasBeenCalled ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetToolHasBeenCalled() bool
GetToolHasBeenCalled returns the value of ToolHasBeenCalled.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetToolLatencySecs ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetToolLatencySecs() OptFloat64
GetToolLatencySecs returns the value of ToolLatencySecs.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetToolName ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetToolName() string
GetToolName returns the value of ToolName.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetType ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) GetType() ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType
GetType returns the value of Type.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) MarshalJSON ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetDynamicVariableUpdates ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetDynamicVariableUpdates(val []DynamicVariableUpdateCommonModel)
SetDynamicVariableUpdates sets the value of DynamicVariableUpdates.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetIsError ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetIsError(val bool)
SetIsError sets the value of IsError.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetRequestID ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetRequestID(val string)
SetRequestID sets the value of RequestID.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetResult ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetResult(val OptWorkflowToolResponseModelOutput)
SetResult sets the value of Result.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetResultValue ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetResultValue(val string)
SetResultValue sets the value of ResultValue.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetToolHasBeenCalled ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetToolHasBeenCalled(val bool)
SetToolHasBeenCalled sets the value of ToolHasBeenCalled.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetToolLatencySecs ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetToolLatencySecs(val OptFloat64)
SetToolLatencySecs sets the value of ToolLatencySecs.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetToolName ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetToolName(val string)
SetToolName sets the value of ToolName.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetType ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) SetType(val ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType)
SetType sets the value of Type.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) Validate ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) Validate() error
type ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType ¶
type ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType string
const (
ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputTypeWorkflow ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType = "workflow"
)
func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) AllValues ¶
func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) AllValues() []ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType
AllValues returns all ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType values.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) Decode ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType from json.
func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) Encode ¶
func (s ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType as json.
func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) MarshalJSON ¶
func (s ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) MarshalText ¶
func (s ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) UnmarshalJSON ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) UnmarshalText ¶
func (s *ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) Validate ¶
func (s ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType) Validate() error
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 ¶
func (s *ConversationHistoryTwilioPhoneCallModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTwilioPhoneCallModel from json.
func (*ConversationHistoryTwilioPhoneCallModel) Encode ¶
func (s *ConversationHistoryTwilioPhoneCallModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationHistoryTwilioPhoneCallModel) GetAgentNumber ¶
func (s *ConversationHistoryTwilioPhoneCallModel) GetAgentNumber() string
GetAgentNumber returns the value of AgentNumber.
func (*ConversationHistoryTwilioPhoneCallModel) GetCallSid ¶
func (s *ConversationHistoryTwilioPhoneCallModel) GetCallSid() string
GetCallSid returns the value of CallSid.
func (*ConversationHistoryTwilioPhoneCallModel) GetDirection ¶
func (s *ConversationHistoryTwilioPhoneCallModel) GetDirection() ConversationHistoryTwilioPhoneCallModelDirection
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 ¶
func (s *ConversationHistoryTwilioPhoneCallModel) GetStreamSid() string
GetStreamSid returns the value of StreamSid.
func (*ConversationHistoryTwilioPhoneCallModel) GetType ¶
func (s *ConversationHistoryTwilioPhoneCallModel) GetType() ConversationHistoryTwilioPhoneCallModelType
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 ¶
func (s *ConversationHistoryTwilioPhoneCallModel) SetCallSid(val string)
SetCallSid sets the value of CallSid.
func (*ConversationHistoryTwilioPhoneCallModel) SetDirection ¶
func (s *ConversationHistoryTwilioPhoneCallModel) SetDirection(val ConversationHistoryTwilioPhoneCallModelDirection)
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 ¶
func (s *ConversationHistoryTwilioPhoneCallModel) SetType(val ConversationHistoryTwilioPhoneCallModelType)
SetType sets the value of Type.
func (*ConversationHistoryTwilioPhoneCallModel) UnmarshalJSON ¶
func (s *ConversationHistoryTwilioPhoneCallModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTwilioPhoneCallModel) Validate ¶
func (s *ConversationHistoryTwilioPhoneCallModel) Validate() error
type ConversationHistoryTwilioPhoneCallModelDirection ¶
type ConversationHistoryTwilioPhoneCallModelDirection string
const ( ConversationHistoryTwilioPhoneCallModelDirectionInbound ConversationHistoryTwilioPhoneCallModelDirection = "inbound" ConversationHistoryTwilioPhoneCallModelDirectionOutbound ConversationHistoryTwilioPhoneCallModelDirection = "outbound" )
func (ConversationHistoryTwilioPhoneCallModelDirection) AllValues ¶
func (ConversationHistoryTwilioPhoneCallModelDirection) AllValues() []ConversationHistoryTwilioPhoneCallModelDirection
AllValues returns all ConversationHistoryTwilioPhoneCallModelDirection values.
func (*ConversationHistoryTwilioPhoneCallModelDirection) Decode ¶
func (s *ConversationHistoryTwilioPhoneCallModelDirection) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTwilioPhoneCallModelDirection from json.
func (ConversationHistoryTwilioPhoneCallModelDirection) Encode ¶
func (s ConversationHistoryTwilioPhoneCallModelDirection) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTwilioPhoneCallModelDirection as json.
func (ConversationHistoryTwilioPhoneCallModelDirection) MarshalJSON ¶
func (s ConversationHistoryTwilioPhoneCallModelDirection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationHistoryTwilioPhoneCallModelDirection) MarshalText ¶
func (s ConversationHistoryTwilioPhoneCallModelDirection) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ConversationHistoryTwilioPhoneCallModelDirection) UnmarshalJSON ¶
func (s *ConversationHistoryTwilioPhoneCallModelDirection) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationHistoryTwilioPhoneCallModelDirection) UnmarshalText ¶
func (s *ConversationHistoryTwilioPhoneCallModelDirection) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ConversationHistoryTwilioPhoneCallModelDirection) Validate ¶
func (s ConversationHistoryTwilioPhoneCallModelDirection) Validate() error
type ConversationHistoryTwilioPhoneCallModelType ¶
type ConversationHistoryTwilioPhoneCallModelType string
const (
ConversationHistoryTwilioPhoneCallModelTypeTwilio ConversationHistoryTwilioPhoneCallModelType = "twilio"
)
func (ConversationHistoryTwilioPhoneCallModelType) AllValues ¶
func (ConversationHistoryTwilioPhoneCallModelType) AllValues() []ConversationHistoryTwilioPhoneCallModelType
AllValues returns all ConversationHistoryTwilioPhoneCallModelType values.
func (*ConversationHistoryTwilioPhoneCallModelType) Decode ¶
func (s *ConversationHistoryTwilioPhoneCallModelType) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTwilioPhoneCallModelType from json.
func (ConversationHistoryTwilioPhoneCallModelType) Encode ¶
func (s ConversationHistoryTwilioPhoneCallModelType) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTwilioPhoneCallModelType as json.
func (ConversationHistoryTwilioPhoneCallModelType) MarshalJSON ¶
func (s ConversationHistoryTwilioPhoneCallModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationHistoryTwilioPhoneCallModelType) MarshalText ¶
func (s ConversationHistoryTwilioPhoneCallModelType) MarshalText() ([]byte, error)
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 ¶
func (s ConversationHistoryTwilioPhoneCallModelType) Validate() error
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 ¶
func (s *ConversationInitiationClientDataInternal) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataInternal from json.
func (*ConversationInitiationClientDataInternal) Encode ¶
func (s *ConversationInitiationClientDataInternal) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationInitiationClientDataInternal) GetConversationConfigOverride ¶
func (s *ConversationInitiationClientDataInternal) GetConversationConfigOverride() OptConversationConfigClientOverrideOutput
GetConversationConfigOverride returns the value of ConversationConfigOverride.
func (*ConversationInitiationClientDataInternal) GetCustomLlmExtraBody ¶
func (s *ConversationInitiationClientDataInternal) GetCustomLlmExtraBody() *ConversationInitiationClientDataInternalCustomLlmExtraBody
GetCustomLlmExtraBody returns the value of CustomLlmExtraBody.
func (*ConversationInitiationClientDataInternal) GetDynamicVariables ¶
func (s *ConversationInitiationClientDataInternal) GetDynamicVariables() OptConversationInitiationClientDataInternalDynamicVariables
GetDynamicVariables returns the value of DynamicVariables.
func (*ConversationInitiationClientDataInternal) GetSourceInfo ¶
func (s *ConversationInitiationClientDataInternal) GetSourceInfo() OptConversationInitiationSourceInfo
GetSourceInfo returns the value of SourceInfo.
func (*ConversationInitiationClientDataInternal) GetUserID ¶
func (s *ConversationInitiationClientDataInternal) GetUserID() OptNilString
GetUserID returns the value of UserID.
func (*ConversationInitiationClientDataInternal) MarshalJSON ¶
func (s *ConversationInitiationClientDataInternal) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationInitiationClientDataInternal) SetConversationConfigOverride ¶
func (s *ConversationInitiationClientDataInternal) SetConversationConfigOverride(val OptConversationConfigClientOverrideOutput)
SetConversationConfigOverride sets the value of ConversationConfigOverride.
func (*ConversationInitiationClientDataInternal) SetCustomLlmExtraBody ¶
func (s *ConversationInitiationClientDataInternal) SetCustomLlmExtraBody(val *ConversationInitiationClientDataInternalCustomLlmExtraBody)
SetCustomLlmExtraBody sets the value of CustomLlmExtraBody.
func (*ConversationInitiationClientDataInternal) SetDynamicVariables ¶
func (s *ConversationInitiationClientDataInternal) SetDynamicVariables(val OptConversationInitiationClientDataInternalDynamicVariables)
SetDynamicVariables sets the value of DynamicVariables.
func (*ConversationInitiationClientDataInternal) SetSourceInfo ¶
func (s *ConversationInitiationClientDataInternal) SetSourceInfo(val OptConversationInitiationSourceInfo)
SetSourceInfo sets the value of SourceInfo.
func (*ConversationInitiationClientDataInternal) SetUserID ¶
func (s *ConversationInitiationClientDataInternal) SetUserID(val OptNilString)
SetUserID sets the value of UserID.
func (*ConversationInitiationClientDataInternal) UnmarshalJSON ¶
func (s *ConversationInitiationClientDataInternal) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationInitiationClientDataInternal) Validate ¶
func (s *ConversationInitiationClientDataInternal) Validate() error
type ConversationInitiationClientDataInternalCustomLlmExtraBody ¶
type ConversationInitiationClientDataInternalCustomLlmExtraBody struct{}
func (*ConversationInitiationClientDataInternalCustomLlmExtraBody) Decode ¶
func (s *ConversationInitiationClientDataInternalCustomLlmExtraBody) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataInternalCustomLlmExtraBody from json.
func (*ConversationInitiationClientDataInternalCustomLlmExtraBody) Encode ¶
func (s *ConversationInitiationClientDataInternalCustomLlmExtraBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationInitiationClientDataInternalCustomLlmExtraBody) MarshalJSON ¶
func (s *ConversationInitiationClientDataInternalCustomLlmExtraBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationInitiationClientDataInternalCustomLlmExtraBody) UnmarshalJSON ¶
func (s *ConversationInitiationClientDataInternalCustomLlmExtraBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ConversationInitiationClientDataInternalDynamicVariables ¶
type ConversationInitiationClientDataInternalDynamicVariables map[string]NilConversationInitiationClientDataInternalDynamicVariablesItem
func (*ConversationInitiationClientDataInternalDynamicVariables) Decode ¶
func (s *ConversationInitiationClientDataInternalDynamicVariables) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataInternalDynamicVariables from json.
func (ConversationInitiationClientDataInternalDynamicVariables) Encode ¶
func (s ConversationInitiationClientDataInternalDynamicVariables) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ConversationInitiationClientDataInternalDynamicVariables) MarshalJSON ¶
func (s ConversationInitiationClientDataInternalDynamicVariables) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationInitiationClientDataInternalDynamicVariables) UnmarshalJSON ¶
func (s *ConversationInitiationClientDataInternalDynamicVariables) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ConversationInitiationClientDataInternalDynamicVariables) Validate ¶
func (s ConversationInitiationClientDataInternalDynamicVariables) Validate() error
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 ¶
func (s *ConversationInitiationClientDataInternalDynamicVariablesItem) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataInternalDynamicVariablesItem from json.
func (ConversationInitiationClientDataInternalDynamicVariablesItem) Encode ¶
func (s ConversationInitiationClientDataInternalDynamicVariablesItem) Encode(e *jx.Encoder)
Encode encodes ConversationInitiationClientDataInternalDynamicVariablesItem as json.
func (ConversationInitiationClientDataInternalDynamicVariablesItem) GetBool ¶
func (s ConversationInitiationClientDataInternalDynamicVariablesItem) GetBool() (v bool, ok bool)
GetBool returns bool and true boolean if ConversationInitiationClientDataInternalDynamicVariablesItem is bool.
func (ConversationInitiationClientDataInternalDynamicVariablesItem) GetFloat64 ¶
func (s ConversationInitiationClientDataInternalDynamicVariablesItem) GetFloat64() (v float64, ok bool)
GetFloat64 returns float64 and true boolean if ConversationInitiationClientDataInternalDynamicVariablesItem is float64.
func (ConversationInitiationClientDataInternalDynamicVariablesItem) GetInt ¶
func (s ConversationInitiationClientDataInternalDynamicVariablesItem) GetInt() (v int, ok bool)
GetInt returns int and true boolean if ConversationInitiationClientDataInternalDynamicVariablesItem is int.
func (ConversationInitiationClientDataInternalDynamicVariablesItem) GetString ¶
func (s ConversationInitiationClientDataInternalDynamicVariablesItem) GetString() (v string, ok bool)
GetString returns string and true boolean if ConversationInitiationClientDataInternalDynamicVariablesItem is string.
func (ConversationInitiationClientDataInternalDynamicVariablesItem) IsBool ¶
func (s ConversationInitiationClientDataInternalDynamicVariablesItem) IsBool() bool
IsBool reports whether ConversationInitiationClientDataInternalDynamicVariablesItem is bool.
func (ConversationInitiationClientDataInternalDynamicVariablesItem) IsFloat64 ¶
func (s ConversationInitiationClientDataInternalDynamicVariablesItem) IsFloat64() bool
IsFloat64 reports whether ConversationInitiationClientDataInternalDynamicVariablesItem is float64.
func (ConversationInitiationClientDataInternalDynamicVariablesItem) IsInt ¶
func (s ConversationInitiationClientDataInternalDynamicVariablesItem) IsInt() bool
IsInt reports whether ConversationInitiationClientDataInternalDynamicVariablesItem is int.
func (ConversationInitiationClientDataInternalDynamicVariablesItem) IsString ¶
func (s ConversationInitiationClientDataInternalDynamicVariablesItem) IsString() bool
IsString reports whether ConversationInitiationClientDataInternalDynamicVariablesItem is string.
func (ConversationInitiationClientDataInternalDynamicVariablesItem) MarshalJSON ¶
func (s ConversationInitiationClientDataInternalDynamicVariablesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationInitiationClientDataInternalDynamicVariablesItem) SetBool ¶
func (s *ConversationInitiationClientDataInternalDynamicVariablesItem) SetBool(v bool)
SetBool sets ConversationInitiationClientDataInternalDynamicVariablesItem to bool.
func (*ConversationInitiationClientDataInternalDynamicVariablesItem) SetFloat64 ¶
func (s *ConversationInitiationClientDataInternalDynamicVariablesItem) SetFloat64(v float64)
SetFloat64 sets ConversationInitiationClientDataInternalDynamicVariablesItem to float64.
func (*ConversationInitiationClientDataInternalDynamicVariablesItem) SetInt ¶
func (s *ConversationInitiationClientDataInternalDynamicVariablesItem) SetInt(v int)
SetInt sets ConversationInitiationClientDataInternalDynamicVariablesItem to int.
func (*ConversationInitiationClientDataInternalDynamicVariablesItem) SetString ¶
func (s *ConversationInitiationClientDataInternalDynamicVariablesItem) SetString(v string)
SetString sets ConversationInitiationClientDataInternalDynamicVariablesItem to string.
func (*ConversationInitiationClientDataInternalDynamicVariablesItem) UnmarshalJSON ¶
func (s *ConversationInitiationClientDataInternalDynamicVariablesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ConversationInitiationClientDataInternalDynamicVariablesItem) Validate ¶
func (s ConversationInitiationClientDataInternalDynamicVariablesItem) Validate() error
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 ¶
func (s *ConversationInitiationClientDataRequestInput) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataRequestInput from json.
func (*ConversationInitiationClientDataRequestInput) Encode ¶
func (s *ConversationInitiationClientDataRequestInput) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationInitiationClientDataRequestInput) GetConversationConfigOverride ¶
func (s *ConversationInitiationClientDataRequestInput) GetConversationConfigOverride() OptConversationConfigClientOverrideInput
GetConversationConfigOverride returns the value of ConversationConfigOverride.
func (*ConversationInitiationClientDataRequestInput) GetCustomLlmExtraBody ¶
func (s *ConversationInitiationClientDataRequestInput) GetCustomLlmExtraBody() *ConversationInitiationClientDataRequestInputCustomLlmExtraBody
GetCustomLlmExtraBody returns the value of CustomLlmExtraBody.
func (*ConversationInitiationClientDataRequestInput) GetDynamicVariables ¶
func (s *ConversationInitiationClientDataRequestInput) GetDynamicVariables() OptConversationInitiationClientDataRequestInputDynamicVariables
GetDynamicVariables returns the value of DynamicVariables.
func (*ConversationInitiationClientDataRequestInput) GetSourceInfo ¶
func (s *ConversationInitiationClientDataRequestInput) GetSourceInfo() OptConversationInitiationSourceInfo
GetSourceInfo returns the value of SourceInfo.
func (*ConversationInitiationClientDataRequestInput) GetUserID ¶
func (s *ConversationInitiationClientDataRequestInput) GetUserID() OptNilString
GetUserID returns the value of UserID.
func (*ConversationInitiationClientDataRequestInput) MarshalJSON ¶
func (s *ConversationInitiationClientDataRequestInput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationInitiationClientDataRequestInput) SetConversationConfigOverride ¶
func (s *ConversationInitiationClientDataRequestInput) SetConversationConfigOverride(val OptConversationConfigClientOverrideInput)
SetConversationConfigOverride sets the value of ConversationConfigOverride.
func (*ConversationInitiationClientDataRequestInput) SetCustomLlmExtraBody ¶
func (s *ConversationInitiationClientDataRequestInput) SetCustomLlmExtraBody(val *ConversationInitiationClientDataRequestInputCustomLlmExtraBody)
SetCustomLlmExtraBody sets the value of CustomLlmExtraBody.
func (*ConversationInitiationClientDataRequestInput) SetDynamicVariables ¶
func (s *ConversationInitiationClientDataRequestInput) SetDynamicVariables(val OptConversationInitiationClientDataRequestInputDynamicVariables)
SetDynamicVariables sets the value of DynamicVariables.
func (*ConversationInitiationClientDataRequestInput) SetSourceInfo ¶
func (s *ConversationInitiationClientDataRequestInput) SetSourceInfo(val OptConversationInitiationSourceInfo)
SetSourceInfo sets the value of SourceInfo.
func (*ConversationInitiationClientDataRequestInput) SetUserID ¶
func (s *ConversationInitiationClientDataRequestInput) SetUserID(val OptNilString)
SetUserID sets the value of UserID.
func (*ConversationInitiationClientDataRequestInput) UnmarshalJSON ¶
func (s *ConversationInitiationClientDataRequestInput) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationInitiationClientDataRequestInput) Validate ¶
func (s *ConversationInitiationClientDataRequestInput) Validate() error
type ConversationInitiationClientDataRequestInputCustomLlmExtraBody ¶
type ConversationInitiationClientDataRequestInputCustomLlmExtraBody struct{}
func (*ConversationInitiationClientDataRequestInputCustomLlmExtraBody) Decode ¶
func (s *ConversationInitiationClientDataRequestInputCustomLlmExtraBody) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataRequestInputCustomLlmExtraBody from json.
func (*ConversationInitiationClientDataRequestInputCustomLlmExtraBody) Encode ¶
func (s *ConversationInitiationClientDataRequestInputCustomLlmExtraBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationInitiationClientDataRequestInputCustomLlmExtraBody) MarshalJSON ¶
func (s *ConversationInitiationClientDataRequestInputCustomLlmExtraBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationInitiationClientDataRequestInputCustomLlmExtraBody) UnmarshalJSON ¶
func (s *ConversationInitiationClientDataRequestInputCustomLlmExtraBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ConversationInitiationClientDataRequestInputDynamicVariables ¶
type ConversationInitiationClientDataRequestInputDynamicVariables map[string]NilConversationInitiationClientDataRequestInputDynamicVariablesItem
func (*ConversationInitiationClientDataRequestInputDynamicVariables) Decode ¶
func (s *ConversationInitiationClientDataRequestInputDynamicVariables) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataRequestInputDynamicVariables from json.
func (ConversationInitiationClientDataRequestInputDynamicVariables) Encode ¶
func (s ConversationInitiationClientDataRequestInputDynamicVariables) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ConversationInitiationClientDataRequestInputDynamicVariables) MarshalJSON ¶
func (s ConversationInitiationClientDataRequestInputDynamicVariables) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationInitiationClientDataRequestInputDynamicVariables) UnmarshalJSON ¶
func (s *ConversationInitiationClientDataRequestInputDynamicVariables) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ConversationInitiationClientDataRequestInputDynamicVariables) Validate ¶
func (s ConversationInitiationClientDataRequestInputDynamicVariables) Validate() error
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 ¶
func (s *ConversationInitiationClientDataRequestInputDynamicVariablesItem) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataRequestInputDynamicVariablesItem from json.
func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) Encode ¶
func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) Encode(e *jx.Encoder)
Encode encodes ConversationInitiationClientDataRequestInputDynamicVariablesItem as json.
func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) GetBool ¶
func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) GetBool() (v bool, ok bool)
GetBool returns bool and true boolean if ConversationInitiationClientDataRequestInputDynamicVariablesItem is bool.
func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) GetFloat64 ¶
func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) GetFloat64() (v float64, ok bool)
GetFloat64 returns float64 and true boolean if ConversationInitiationClientDataRequestInputDynamicVariablesItem is float64.
func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) GetInt ¶
func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) GetInt() (v int, ok bool)
GetInt returns int and true boolean if ConversationInitiationClientDataRequestInputDynamicVariablesItem is int.
func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) GetString ¶
func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) GetString() (v string, ok bool)
GetString returns string and true boolean if ConversationInitiationClientDataRequestInputDynamicVariablesItem is string.
func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) IsBool ¶
func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) IsBool() bool
IsBool reports whether ConversationInitiationClientDataRequestInputDynamicVariablesItem is bool.
func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) IsFloat64 ¶
func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) IsFloat64() bool
IsFloat64 reports whether ConversationInitiationClientDataRequestInputDynamicVariablesItem is float64.
func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) IsInt ¶
func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) IsInt() bool
IsInt reports whether ConversationInitiationClientDataRequestInputDynamicVariablesItem is int.
func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) IsString ¶
func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) IsString() bool
IsString reports whether ConversationInitiationClientDataRequestInputDynamicVariablesItem is string.
func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) MarshalJSON ¶
func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationInitiationClientDataRequestInputDynamicVariablesItem) SetBool ¶
func (s *ConversationInitiationClientDataRequestInputDynamicVariablesItem) SetBool(v bool)
SetBool sets ConversationInitiationClientDataRequestInputDynamicVariablesItem to bool.
func (*ConversationInitiationClientDataRequestInputDynamicVariablesItem) SetFloat64 ¶
func (s *ConversationInitiationClientDataRequestInputDynamicVariablesItem) SetFloat64(v float64)
SetFloat64 sets ConversationInitiationClientDataRequestInputDynamicVariablesItem to float64.
func (*ConversationInitiationClientDataRequestInputDynamicVariablesItem) SetInt ¶
func (s *ConversationInitiationClientDataRequestInputDynamicVariablesItem) SetInt(v int)
SetInt sets ConversationInitiationClientDataRequestInputDynamicVariablesItem to int.
func (*ConversationInitiationClientDataRequestInputDynamicVariablesItem) SetString ¶
func (s *ConversationInitiationClientDataRequestInputDynamicVariablesItem) SetString(v string)
SetString sets ConversationInitiationClientDataRequestInputDynamicVariablesItem to string.
func (*ConversationInitiationClientDataRequestInputDynamicVariablesItem) UnmarshalJSON ¶
func (s *ConversationInitiationClientDataRequestInputDynamicVariablesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ConversationInitiationClientDataRequestInputDynamicVariablesItem) Validate ¶
func (s ConversationInitiationClientDataRequestInputDynamicVariablesItem) Validate() error
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 ¶
func (s *ConversationInitiationClientDataRequestOutput) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataRequestOutput from json.
func (*ConversationInitiationClientDataRequestOutput) Encode ¶
func (s *ConversationInitiationClientDataRequestOutput) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationInitiationClientDataRequestOutput) GetConversationConfigOverride ¶
func (s *ConversationInitiationClientDataRequestOutput) GetConversationConfigOverride() OptConversationConfigClientOverrideOutput
GetConversationConfigOverride returns the value of ConversationConfigOverride.
func (*ConversationInitiationClientDataRequestOutput) GetCustomLlmExtraBody ¶
func (s *ConversationInitiationClientDataRequestOutput) GetCustomLlmExtraBody() *ConversationInitiationClientDataRequestOutputCustomLlmExtraBody
GetCustomLlmExtraBody returns the value of CustomLlmExtraBody.
func (*ConversationInitiationClientDataRequestOutput) GetDynamicVariables ¶
func (s *ConversationInitiationClientDataRequestOutput) GetDynamicVariables() OptConversationInitiationClientDataRequestOutputDynamicVariables
GetDynamicVariables returns the value of DynamicVariables.
func (*ConversationInitiationClientDataRequestOutput) GetSourceInfo ¶
func (s *ConversationInitiationClientDataRequestOutput) GetSourceInfo() OptConversationInitiationSourceInfo
GetSourceInfo returns the value of SourceInfo.
func (*ConversationInitiationClientDataRequestOutput) GetUserID ¶
func (s *ConversationInitiationClientDataRequestOutput) GetUserID() OptNilString
GetUserID returns the value of UserID.
func (*ConversationInitiationClientDataRequestOutput) MarshalJSON ¶
func (s *ConversationInitiationClientDataRequestOutput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationInitiationClientDataRequestOutput) SetConversationConfigOverride ¶
func (s *ConversationInitiationClientDataRequestOutput) SetConversationConfigOverride(val OptConversationConfigClientOverrideOutput)
SetConversationConfigOverride sets the value of ConversationConfigOverride.
func (*ConversationInitiationClientDataRequestOutput) SetCustomLlmExtraBody ¶
func (s *ConversationInitiationClientDataRequestOutput) SetCustomLlmExtraBody(val *ConversationInitiationClientDataRequestOutputCustomLlmExtraBody)
SetCustomLlmExtraBody sets the value of CustomLlmExtraBody.
func (*ConversationInitiationClientDataRequestOutput) SetDynamicVariables ¶
func (s *ConversationInitiationClientDataRequestOutput) SetDynamicVariables(val OptConversationInitiationClientDataRequestOutputDynamicVariables)
SetDynamicVariables sets the value of DynamicVariables.
func (*ConversationInitiationClientDataRequestOutput) SetSourceInfo ¶
func (s *ConversationInitiationClientDataRequestOutput) SetSourceInfo(val OptConversationInitiationSourceInfo)
SetSourceInfo sets the value of SourceInfo.
func (*ConversationInitiationClientDataRequestOutput) SetUserID ¶
func (s *ConversationInitiationClientDataRequestOutput) SetUserID(val OptNilString)
SetUserID sets the value of UserID.
func (*ConversationInitiationClientDataRequestOutput) UnmarshalJSON ¶
func (s *ConversationInitiationClientDataRequestOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationInitiationClientDataRequestOutput) Validate ¶
func (s *ConversationInitiationClientDataRequestOutput) Validate() error
type ConversationInitiationClientDataRequestOutputCustomLlmExtraBody ¶
type ConversationInitiationClientDataRequestOutputCustomLlmExtraBody struct{}
func (*ConversationInitiationClientDataRequestOutputCustomLlmExtraBody) Decode ¶
func (s *ConversationInitiationClientDataRequestOutputCustomLlmExtraBody) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataRequestOutputCustomLlmExtraBody from json.
func (*ConversationInitiationClientDataRequestOutputCustomLlmExtraBody) Encode ¶
func (s *ConversationInitiationClientDataRequestOutputCustomLlmExtraBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationInitiationClientDataRequestOutputCustomLlmExtraBody) MarshalJSON ¶
func (s *ConversationInitiationClientDataRequestOutputCustomLlmExtraBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationInitiationClientDataRequestOutputCustomLlmExtraBody) UnmarshalJSON ¶
func (s *ConversationInitiationClientDataRequestOutputCustomLlmExtraBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ConversationInitiationClientDataRequestOutputDynamicVariables ¶
type ConversationInitiationClientDataRequestOutputDynamicVariables map[string]NilConversationInitiationClientDataRequestOutputDynamicVariablesItem
func (*ConversationInitiationClientDataRequestOutputDynamicVariables) Decode ¶
func (s *ConversationInitiationClientDataRequestOutputDynamicVariables) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataRequestOutputDynamicVariables from json.
func (ConversationInitiationClientDataRequestOutputDynamicVariables) Encode ¶
func (s ConversationInitiationClientDataRequestOutputDynamicVariables) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ConversationInitiationClientDataRequestOutputDynamicVariables) MarshalJSON ¶
func (s ConversationInitiationClientDataRequestOutputDynamicVariables) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationInitiationClientDataRequestOutputDynamicVariables) UnmarshalJSON ¶
func (s *ConversationInitiationClientDataRequestOutputDynamicVariables) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ConversationInitiationClientDataRequestOutputDynamicVariables) Validate ¶
func (s ConversationInitiationClientDataRequestOutputDynamicVariables) Validate() error
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 ¶
func (s *ConversationInitiationClientDataRequestOutputDynamicVariablesItem) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataRequestOutputDynamicVariablesItem from json.
func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) Encode ¶
func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) Encode(e *jx.Encoder)
Encode encodes ConversationInitiationClientDataRequestOutputDynamicVariablesItem as json.
func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) GetBool ¶
func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) GetBool() (v bool, ok bool)
GetBool returns bool and true boolean if ConversationInitiationClientDataRequestOutputDynamicVariablesItem is bool.
func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) GetFloat64 ¶
func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) GetFloat64() (v float64, ok bool)
GetFloat64 returns float64 and true boolean if ConversationInitiationClientDataRequestOutputDynamicVariablesItem is float64.
func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) GetInt ¶
func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) GetInt() (v int, ok bool)
GetInt returns int and true boolean if ConversationInitiationClientDataRequestOutputDynamicVariablesItem is int.
func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) GetString ¶
func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) GetString() (v string, ok bool)
GetString returns string and true boolean if ConversationInitiationClientDataRequestOutputDynamicVariablesItem is string.
func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsBool ¶
func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsBool() bool
IsBool reports whether ConversationInitiationClientDataRequestOutputDynamicVariablesItem is bool.
func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsFloat64 ¶
func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsFloat64() bool
IsFloat64 reports whether ConversationInitiationClientDataRequestOutputDynamicVariablesItem is float64.
func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsInt ¶
func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsInt() bool
IsInt reports whether ConversationInitiationClientDataRequestOutputDynamicVariablesItem is int.
func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsString ¶
func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsString() bool
IsString reports whether ConversationInitiationClientDataRequestOutputDynamicVariablesItem is string.
func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) MarshalJSON ¶
func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetBool ¶
func (s *ConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetBool(v bool)
SetBool sets ConversationInitiationClientDataRequestOutputDynamicVariablesItem to bool.
func (*ConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetFloat64 ¶
func (s *ConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetFloat64(v float64)
SetFloat64 sets ConversationInitiationClientDataRequestOutputDynamicVariablesItem to float64.
func (*ConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetInt ¶
func (s *ConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetInt(v int)
SetInt sets ConversationInitiationClientDataRequestOutputDynamicVariablesItem to int.
func (*ConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetString ¶
func (s *ConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetString(v string)
SetString sets ConversationInitiationClientDataRequestOutputDynamicVariablesItem to string.
func (*ConversationInitiationClientDataRequestOutputDynamicVariablesItem) UnmarshalJSON ¶
func (s *ConversationInitiationClientDataRequestOutputDynamicVariablesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ConversationInitiationClientDataRequestOutputDynamicVariablesItem) Validate ¶
func (s ConversationInitiationClientDataRequestOutputDynamicVariablesItem) Validate() error
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 ¶
func (s *ConversationInitiationClientDataWebhook) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataWebhook from json.
func (*ConversationInitiationClientDataWebhook) Encode ¶
func (s *ConversationInitiationClientDataWebhook) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationInitiationClientDataWebhook) GetRequestHeaders ¶
func (s *ConversationInitiationClientDataWebhook) GetRequestHeaders() ConversationInitiationClientDataWebhookRequestHeaders
GetRequestHeaders returns the value of RequestHeaders.
func (*ConversationInitiationClientDataWebhook) GetURL ¶
func (s *ConversationInitiationClientDataWebhook) GetURL() string
GetURL returns the value of URL.
func (*ConversationInitiationClientDataWebhook) MarshalJSON ¶
func (s *ConversationInitiationClientDataWebhook) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationInitiationClientDataWebhook) SetRequestHeaders ¶
func (s *ConversationInitiationClientDataWebhook) SetRequestHeaders(val ConversationInitiationClientDataWebhookRequestHeaders)
SetRequestHeaders sets the value of RequestHeaders.
func (*ConversationInitiationClientDataWebhook) SetURL ¶
func (s *ConversationInitiationClientDataWebhook) SetURL(val string)
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 ¶
func (s *ConversationInitiationClientDataWebhookRequestHeaders) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataWebhookRequestHeaders from json.
func (ConversationInitiationClientDataWebhookRequestHeaders) Encode ¶
func (s ConversationInitiationClientDataWebhookRequestHeaders) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ConversationInitiationClientDataWebhookRequestHeaders) MarshalJSON ¶
func (s ConversationInitiationClientDataWebhookRequestHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationInitiationClientDataWebhookRequestHeaders) UnmarshalJSON ¶
func (s *ConversationInitiationClientDataWebhookRequestHeaders) UnmarshalJSON(data []byte) error
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 ¶
func (s *ConversationInitiationClientDataWebhookRequestHeadersItem) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataWebhookRequestHeadersItem from json.
func (ConversationInitiationClientDataWebhookRequestHeadersItem) Encode ¶
func (s ConversationInitiationClientDataWebhookRequestHeadersItem) Encode(e *jx.Encoder)
Encode encodes ConversationInitiationClientDataWebhookRequestHeadersItem as json.
func (ConversationInitiationClientDataWebhookRequestHeadersItem) GetConvAISecretLocator ¶
func (s ConversationInitiationClientDataWebhookRequestHeadersItem) GetConvAISecretLocator() (v ConvAISecretLocator, ok bool)
GetConvAISecretLocator returns ConvAISecretLocator and true boolean if ConversationInitiationClientDataWebhookRequestHeadersItem is ConvAISecretLocator.
func (ConversationInitiationClientDataWebhookRequestHeadersItem) GetString ¶
func (s ConversationInitiationClientDataWebhookRequestHeadersItem) GetString() (v string, ok bool)
GetString returns string and true boolean if ConversationInitiationClientDataWebhookRequestHeadersItem is string.
func (ConversationInitiationClientDataWebhookRequestHeadersItem) IsConvAISecretLocator ¶
func (s ConversationInitiationClientDataWebhookRequestHeadersItem) IsConvAISecretLocator() bool
IsConvAISecretLocator reports whether ConversationInitiationClientDataWebhookRequestHeadersItem is ConvAISecretLocator.
func (ConversationInitiationClientDataWebhookRequestHeadersItem) IsString ¶
func (s ConversationInitiationClientDataWebhookRequestHeadersItem) IsString() bool
IsString reports whether ConversationInitiationClientDataWebhookRequestHeadersItem is string.
func (ConversationInitiationClientDataWebhookRequestHeadersItem) MarshalJSON ¶
func (s ConversationInitiationClientDataWebhookRequestHeadersItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationInitiationClientDataWebhookRequestHeadersItem) SetConvAISecretLocator ¶
func (s *ConversationInitiationClientDataWebhookRequestHeadersItem) SetConvAISecretLocator(v ConvAISecretLocator)
SetConvAISecretLocator sets ConversationInitiationClientDataWebhookRequestHeadersItem to ConvAISecretLocator.
func (*ConversationInitiationClientDataWebhookRequestHeadersItem) SetString ¶
func (s *ConversationInitiationClientDataWebhookRequestHeadersItem) SetString(v string)
SetString sets ConversationInitiationClientDataWebhookRequestHeadersItem to string.
func (*ConversationInitiationClientDataWebhookRequestHeadersItem) UnmarshalJSON ¶
func (s *ConversationInitiationClientDataWebhookRequestHeadersItem) UnmarshalJSON(data []byte) error
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 ¶
func (ConversationInitiationSource) AllValues() []ConversationInitiationSource
AllValues returns all ConversationInitiationSource values.
func (*ConversationInitiationSource) Decode ¶
func (s *ConversationInitiationSource) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationSource from json.
func (ConversationInitiationSource) Encode ¶
func (s ConversationInitiationSource) Encode(e *jx.Encoder)
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 ¶
func (s *ConversationInitiationSourceInfo) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationSourceInfo from json.
func (*ConversationInitiationSourceInfo) Encode ¶
func (s *ConversationInitiationSourceInfo) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationInitiationSourceInfo) GetSource ¶
func (s *ConversationInitiationSourceInfo) GetSource() OptConversationInitiationSource
GetSource returns the value of Source.
func (*ConversationInitiationSourceInfo) GetVersion ¶
func (s *ConversationInitiationSourceInfo) GetVersion() OptNilString
GetVersion returns the value of Version.
func (*ConversationInitiationSourceInfo) MarshalJSON ¶
func (s *ConversationInitiationSourceInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationInitiationSourceInfo) SetSource ¶
func (s *ConversationInitiationSourceInfo) SetSource(val OptConversationInitiationSource)
SetSource sets the value of Source.
func (*ConversationInitiationSourceInfo) SetVersion ¶
func (s *ConversationInitiationSourceInfo) SetVersion(val OptNilString)
SetVersion sets the value of Version.
func (*ConversationInitiationSourceInfo) UnmarshalJSON ¶
func (s *ConversationInitiationSourceInfo) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConversationInitiationSourceInfo) Validate ¶
func (s *ConversationInitiationSourceInfo) Validate() error
type ConversationSignedUrlResponseModel ¶
type ConversationSignedUrlResponseModel struct {
SignedURL string `json:"signed_url"`
}
Ref: #/components/schemas/ConversationSignedUrlResponseModel
func (*ConversationSignedUrlResponseModel) Decode ¶
func (s *ConversationSignedUrlResponseModel) Decode(d *jx.Decoder) error
Decode decodes ConversationSignedUrlResponseModel from json.
func (*ConversationSignedUrlResponseModel) Encode ¶
func (s *ConversationSignedUrlResponseModel) Encode(e *jx.Encoder)
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 ¶
func (s *ConversationSummaryResponseModel) Decode(d *jx.Decoder) error
Decode decodes ConversationSummaryResponseModel from json.
func (*ConversationSummaryResponseModel) Encode ¶
func (s *ConversationSummaryResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConversationSummaryResponseModel) GetAgentID ¶
func (s *ConversationSummaryResponseModel) GetAgentID() string
GetAgentID returns the value of AgentID.
func (*ConversationSummaryResponseModel) GetAgentName ¶
func (s *ConversationSummaryResponseModel) GetAgentName() OptNilString
GetAgentName returns the value of AgentName.
func (*ConversationSummaryResponseModel) GetBranchID ¶
func (s *ConversationSummaryResponseModel) GetBranchID() OptNilString
GetBranchID returns the value of BranchID.
func (*ConversationSummaryResponseModel) GetCallDurationSecs ¶
func (s *ConversationSummaryResponseModel) GetCallDurationSecs() int
GetCallDurationSecs returns the value of CallDurationSecs.
func (*ConversationSummaryResponseModel) GetCallSuccessful ¶
func (s *ConversationSummaryResponseModel) GetCallSuccessful() EvaluationSuccessResult
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 ¶
func (s *ConversationSummaryResponseModel) GetDirection() OptNilConversationSummaryResponseModelDirection
GetDirection returns the value of Direction.
func (*ConversationSummaryResponseModel) GetMessageCount ¶
func (s *ConversationSummaryResponseModel) GetMessageCount() int
GetMessageCount returns the value of MessageCount.
func (*ConversationSummaryResponseModel) GetRating ¶
func (s *ConversationSummaryResponseModel) GetRating() OptNilFloat64
GetRating returns the value of Rating.
func (*ConversationSummaryResponseModel) GetStartTimeUnixSecs ¶
func (s *ConversationSummaryResponseModel) GetStartTimeUnixSecs() int
GetStartTimeUnixSecs returns the value of StartTimeUnixSecs.
func (*ConversationSummaryResponseModel) GetStatus ¶
func (s *ConversationSummaryResponseModel) GetStatus() ConversationSummaryResponseModelStatus
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 ¶
func (s *ConversationSummaryResponseModel) SetCallSuccessful(val EvaluationSuccessResult)
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 ¶
func (s *ConversationSummaryResponseModel) SetDirection(val OptNilConversationSummaryResponseModelDirection)
SetDirection sets the value of Direction.
func (*ConversationSummaryResponseModel) SetMessageCount ¶
func (s *ConversationSummaryResponseModel) SetMessageCount(val int)
SetMessageCount sets the value of MessageCount.
func (*ConversationSummaryResponseModel) SetRating ¶
func (s *ConversationSummaryResponseModel) SetRating(val OptNilFloat64)
SetRating sets the value of Rating.
func (*ConversationSummaryResponseModel) SetStartTimeUnixSecs ¶
func (s *ConversationSummaryResponseModel) SetStartTimeUnixSecs(val int)
SetStartTimeUnixSecs sets the value of StartTimeUnixSecs.
func (*ConversationSummaryResponseModel) SetStatus ¶
func (s *ConversationSummaryResponseModel) SetStatus(val ConversationSummaryResponseModelStatus)
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 ¶
func (s *ConversationSummaryResponseModel) Validate() error
type ConversationSummaryResponseModelDirection ¶
type ConversationSummaryResponseModelDirection string
const ( ConversationSummaryResponseModelDirectionInbound ConversationSummaryResponseModelDirection = "inbound" ConversationSummaryResponseModelDirectionOutbound ConversationSummaryResponseModelDirection = "outbound" )
func (ConversationSummaryResponseModelDirection) AllValues ¶
func (ConversationSummaryResponseModelDirection) AllValues() []ConversationSummaryResponseModelDirection
AllValues returns all ConversationSummaryResponseModelDirection values.
func (*ConversationSummaryResponseModelDirection) Decode ¶
func (s *ConversationSummaryResponseModelDirection) Decode(d *jx.Decoder) error
Decode decodes ConversationSummaryResponseModelDirection from json.
func (ConversationSummaryResponseModelDirection) Encode ¶
func (s ConversationSummaryResponseModelDirection) Encode(e *jx.Encoder)
Encode encodes ConversationSummaryResponseModelDirection as json.
func (ConversationSummaryResponseModelDirection) MarshalJSON ¶
func (s ConversationSummaryResponseModelDirection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ConversationSummaryResponseModelDirection) MarshalText ¶
func (s ConversationSummaryResponseModelDirection) MarshalText() ([]byte, error)
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 ¶
func (s ConversationSummaryResponseModelDirection) Validate() error
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 ¶
func (ConversationSummaryResponseModelStatus) AllValues() []ConversationSummaryResponseModelStatus
AllValues returns all ConversationSummaryResponseModelStatus values.
func (*ConversationSummaryResponseModelStatus) Decode ¶
func (s *ConversationSummaryResponseModelStatus) Decode(d *jx.Decoder) error
Decode decodes ConversationSummaryResponseModelStatus from json.
func (ConversationSummaryResponseModelStatus) Encode ¶
func (s ConversationSummaryResponseModelStatus) Encode(e *jx.Encoder)
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 ¶
func (s ConversationSummaryResponseModelStatus) Validate() error
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 ¶
func (s *ConversationTokenDBModel) GetPurpose() OptConversationTokenPurpose
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 ¶
func (s *ConversationTokenDBModel) SetPurpose(val OptConversationTokenPurpose)
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" )
func (ConversationTokenPurpose) AllValues ¶
func (ConversationTokenPurpose) AllValues() []ConversationTokenPurpose
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 ¶
func (s *ConversationTurnMetrics) GetMetrics() OptConversationTurnMetricsMetrics
GetMetrics returns the value of Metrics.
func (*ConversationTurnMetrics) MarshalJSON ¶
func (s *ConversationTurnMetrics) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConversationTurnMetrics) SetMetrics ¶
func (s *ConversationTurnMetrics) SetMetrics(val OptConversationTurnMetricsMetrics)
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 ¶
func (s *ConversationTurnMetricsMetrics) Decode(d *jx.Decoder) error
Decode decodes ConversationTurnMetricsMetrics from json.
func (ConversationTurnMetricsMetrics) Encode ¶
func (s ConversationTurnMetricsMetrics) Encode(e *jx.Encoder)
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 ¶
func (s ConversationTurnMetricsMetrics) Validate() error
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 ¶
func (s *ConvertChapterResponseModel) Decode(d *jx.Decoder) error
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 ¶
func (s *ConvertProjectResponseModel) Decode(d *jx.Decoder) error
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 ¶
func (s *CreatePronunciationDictionaryResponseModel) Decode(d *jx.Decoder) error
Decode decodes CreatePronunciationDictionaryResponseModel from json.
func (*CreatePronunciationDictionaryResponseModel) Encode ¶
func (s *CreatePronunciationDictionaryResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreatePronunciationDictionaryResponseModel) GetStatus ¶
func (s *CreatePronunciationDictionaryResponseModel) GetStatus() string
GetStatus returns the value of Status.
func (*CreatePronunciationDictionaryResponseModel) MarshalJSON ¶
func (s *CreatePronunciationDictionaryResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreatePronunciationDictionaryResponseModel) SetStatus ¶
func (s *CreatePronunciationDictionaryResponseModel) SetStatus(val string)
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 ¶
func (s *CreateUnitTestRequest) GetChatHistory() []ConversationHistoryTranscriptCommonModelInput
GetChatHistory returns the value of ChatHistory.
func (*CreateUnitTestRequest) GetDynamicVariables ¶
func (s *CreateUnitTestRequest) GetDynamicVariables() OptCreateUnitTestRequestDynamicVariables
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 ¶
func (s *CreateUnitTestRequest) GetToolCallParameters() OptUnitTestToolCallEvaluationModelInput
GetToolCallParameters returns the value of ToolCallParameters.
func (*CreateUnitTestRequest) GetType ¶
func (s *CreateUnitTestRequest) GetType() OptUnitTestCommonModelType
GetType returns the value of Type.
func (*CreateUnitTestRequest) MarshalJSON ¶
func (s *CreateUnitTestRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateUnitTestRequest) SetChatHistory ¶
func (s *CreateUnitTestRequest) SetChatHistory(val []ConversationHistoryTranscriptCommonModelInput)
SetChatHistory sets the value of ChatHistory.
func (*CreateUnitTestRequest) SetDynamicVariables ¶
func (s *CreateUnitTestRequest) SetDynamicVariables(val OptCreateUnitTestRequestDynamicVariables)
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 ¶
func (s *CreateUnitTestRequest) SetType(val OptUnitTestCommonModelType)
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 ¶
func (s *CreateUnitTestRequestDynamicVariables) Decode(d *jx.Decoder) error
Decode decodes CreateUnitTestRequestDynamicVariables from json.
func (CreateUnitTestRequestDynamicVariables) Encode ¶
func (s CreateUnitTestRequestDynamicVariables) Encode(e *jx.Encoder)
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 ¶
func (s CreateUnitTestRequestDynamicVariables) Validate() error
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 ¶
func (s *CreateUnitTestRequestDynamicVariablesItem) Decode(d *jx.Decoder) error
Decode decodes CreateUnitTestRequestDynamicVariablesItem from json.
func (CreateUnitTestRequestDynamicVariablesItem) Encode ¶
func (s CreateUnitTestRequestDynamicVariablesItem) Encode(e *jx.Encoder)
Encode encodes CreateUnitTestRequestDynamicVariablesItem as json.
func (CreateUnitTestRequestDynamicVariablesItem) GetBool ¶
func (s CreateUnitTestRequestDynamicVariablesItem) GetBool() (v bool, ok bool)
GetBool returns bool and true boolean if CreateUnitTestRequestDynamicVariablesItem is bool.
func (CreateUnitTestRequestDynamicVariablesItem) GetFloat64 ¶
func (s CreateUnitTestRequestDynamicVariablesItem) GetFloat64() (v float64, ok bool)
GetFloat64 returns float64 and true boolean if CreateUnitTestRequestDynamicVariablesItem is float64.
func (CreateUnitTestRequestDynamicVariablesItem) GetInt ¶
func (s CreateUnitTestRequestDynamicVariablesItem) GetInt() (v int, ok bool)
GetInt returns int and true boolean if CreateUnitTestRequestDynamicVariablesItem is int.
func (CreateUnitTestRequestDynamicVariablesItem) GetString ¶
func (s CreateUnitTestRequestDynamicVariablesItem) GetString() (v string, ok bool)
GetString returns string and true boolean if CreateUnitTestRequestDynamicVariablesItem is string.
func (CreateUnitTestRequestDynamicVariablesItem) IsBool ¶
func (s CreateUnitTestRequestDynamicVariablesItem) IsBool() bool
IsBool reports whether CreateUnitTestRequestDynamicVariablesItem is bool.
func (CreateUnitTestRequestDynamicVariablesItem) IsFloat64 ¶
func (s CreateUnitTestRequestDynamicVariablesItem) IsFloat64() bool
IsFloat64 reports whether CreateUnitTestRequestDynamicVariablesItem is float64.
func (CreateUnitTestRequestDynamicVariablesItem) IsInt ¶
func (s CreateUnitTestRequestDynamicVariablesItem) IsInt() bool
IsInt reports whether CreateUnitTestRequestDynamicVariablesItem is int.
func (CreateUnitTestRequestDynamicVariablesItem) IsString ¶
func (s CreateUnitTestRequestDynamicVariablesItem) IsString() bool
IsString reports whether CreateUnitTestRequestDynamicVariablesItem is string.
func (CreateUnitTestRequestDynamicVariablesItem) MarshalJSON ¶
func (s CreateUnitTestRequestDynamicVariablesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateUnitTestRequestDynamicVariablesItem) SetBool ¶
func (s *CreateUnitTestRequestDynamicVariablesItem) SetBool(v bool)
SetBool sets CreateUnitTestRequestDynamicVariablesItem to bool.
func (*CreateUnitTestRequestDynamicVariablesItem) SetFloat64 ¶
func (s *CreateUnitTestRequestDynamicVariablesItem) SetFloat64(v float64)
SetFloat64 sets CreateUnitTestRequestDynamicVariablesItem to float64.
func (*CreateUnitTestRequestDynamicVariablesItem) SetInt ¶
func (s *CreateUnitTestRequestDynamicVariablesItem) SetInt(v int)
SetInt sets CreateUnitTestRequestDynamicVariablesItem to int.
func (*CreateUnitTestRequestDynamicVariablesItem) SetString ¶
func (s *CreateUnitTestRequestDynamicVariablesItem) SetString(v string)
SetString sets CreateUnitTestRequestDynamicVariablesItem to string.
func (*CreateUnitTestRequestDynamicVariablesItem) UnmarshalJSON ¶
func (s *CreateUnitTestRequestDynamicVariablesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (CreateUnitTestRequestDynamicVariablesItem) Validate ¶
func (s CreateUnitTestRequestDynamicVariablesItem) Validate() error
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 ¶
func (s *CreateUnitTestResponseModel) Decode(d *jx.Decoder) error
Decode decodes CreateUnitTestResponseModel from json.
func (*CreateUnitTestResponseModel) Encode ¶
func (s *CreateUnitTestResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateUnitTestResponseModel) GetID ¶
func (s *CreateUnitTestResponseModel) GetID() string
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 ¶
func (s *DashboardCallSuccessChartModel) Decode(d *jx.Decoder) error
Decode decodes DashboardCallSuccessChartModel from json.
func (*DashboardCallSuccessChartModel) Encode ¶
func (s *DashboardCallSuccessChartModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DashboardCallSuccessChartModel) GetName ¶
func (s *DashboardCallSuccessChartModel) GetName() string
GetName returns the value of Name.
func (*DashboardCallSuccessChartModel) GetType ¶
func (s *DashboardCallSuccessChartModel) GetType() OptDashboardCallSuccessChartModelType
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 ¶
func (s *DashboardCallSuccessChartModel) SetType(val OptDashboardCallSuccessChartModelType)
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 ¶
func (DashboardCallSuccessChartModelType) AllValues() []DashboardCallSuccessChartModelType
AllValues returns all DashboardCallSuccessChartModelType values.
func (*DashboardCallSuccessChartModelType) Decode ¶
func (s *DashboardCallSuccessChartModelType) Decode(d *jx.Decoder) error
Decode decodes DashboardCallSuccessChartModelType from json.
func (DashboardCallSuccessChartModelType) Encode ¶
func (s DashboardCallSuccessChartModelType) Encode(e *jx.Encoder)
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 ¶
func (s DashboardCallSuccessChartModelType) Validate() error
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 ¶
func (s *DashboardCriteriaChartModel) Decode(d *jx.Decoder) error
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 ¶
func (s *DashboardCriteriaChartModel) GetType() OptDashboardCriteriaChartModelType
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 ¶
func (s *DashboardCriteriaChartModel) SetType(val OptDashboardCriteriaChartModelType)
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 ¶
func (DashboardCriteriaChartModelType) AllValues() []DashboardCriteriaChartModelType
AllValues returns all DashboardCriteriaChartModelType values.
func (*DashboardCriteriaChartModelType) Decode ¶
func (s *DashboardCriteriaChartModelType) Decode(d *jx.Decoder) error
Decode decodes DashboardCriteriaChartModelType from json.
func (DashboardCriteriaChartModelType) Encode ¶
func (s DashboardCriteriaChartModelType) Encode(e *jx.Encoder)
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 ¶
func (s DashboardCriteriaChartModelType) Validate() error
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 ¶
func (s *DashboardDataCollectionChartModel) Decode(d *jx.Decoder) error
Decode decodes DashboardDataCollectionChartModel from json.
func (*DashboardDataCollectionChartModel) Encode ¶
func (s *DashboardDataCollectionChartModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DashboardDataCollectionChartModel) GetDataCollectionID ¶
func (s *DashboardDataCollectionChartModel) GetDataCollectionID() string
GetDataCollectionID returns the value of DataCollectionID.
func (*DashboardDataCollectionChartModel) GetName ¶
func (s *DashboardDataCollectionChartModel) GetName() string
GetName returns the value of Name.
func (*DashboardDataCollectionChartModel) GetType ¶
func (s *DashboardDataCollectionChartModel) GetType() OptDashboardDataCollectionChartModelType
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 ¶
func (s *DashboardDataCollectionChartModel) SetType(val OptDashboardDataCollectionChartModelType)
SetType sets the value of Type.
func (*DashboardDataCollectionChartModel) UnmarshalJSON ¶
func (s *DashboardDataCollectionChartModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DashboardDataCollectionChartModel) Validate ¶
func (s *DashboardDataCollectionChartModel) Validate() error
type DashboardDataCollectionChartModelType ¶
type DashboardDataCollectionChartModelType string
const (
DashboardDataCollectionChartModelTypeDataCollection DashboardDataCollectionChartModelType = "data_collection"
)
func (DashboardDataCollectionChartModelType) AllValues ¶
func (DashboardDataCollectionChartModelType) AllValues() []DashboardDataCollectionChartModelType
AllValues returns all DashboardDataCollectionChartModelType values.
func (*DashboardDataCollectionChartModelType) Decode ¶
func (s *DashboardDataCollectionChartModelType) Decode(d *jx.Decoder) error
Decode decodes DashboardDataCollectionChartModelType from json.
func (DashboardDataCollectionChartModelType) Encode ¶
func (s DashboardDataCollectionChartModelType) Encode(e *jx.Encoder)
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 ¶
func (s DashboardDataCollectionChartModelType) Validate() error
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 ¶
func (s *DataCollectionResultCommonModel) Decode(d *jx.Decoder) error
Decode decodes DataCollectionResultCommonModel from json.
func (*DataCollectionResultCommonModel) Encode ¶
func (s *DataCollectionResultCommonModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DataCollectionResultCommonModel) GetDataCollectionID ¶
func (s *DataCollectionResultCommonModel) GetDataCollectionID() string
GetDataCollectionID returns the value of DataCollectionID.
func (*DataCollectionResultCommonModel) GetJSONSchema ¶
func (s *DataCollectionResultCommonModel) GetJSONSchema() OptLiteralJsonSchemaProperty
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 ¶
func (s *DataCollectionResultCommonModel) SetJSONSchema(val OptLiteralJsonSchemaProperty)
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 ¶
func (s *DefaultConversationInitiationTrigger) Decode(d *jx.Decoder) error
Decode decodes DefaultConversationInitiationTrigger from json.
func (*DefaultConversationInitiationTrigger) Encode ¶
func (s *DefaultConversationInitiationTrigger) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DefaultConversationInitiationTrigger) GetTriggerType ¶
func (s *DefaultConversationInitiationTrigger) GetTriggerType() OptDefaultConversationInitiationTriggerTriggerType
GetTriggerType returns the value of TriggerType.
func (*DefaultConversationInitiationTrigger) MarshalJSON ¶
func (s *DefaultConversationInitiationTrigger) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DefaultConversationInitiationTrigger) SetTriggerType ¶
func (s *DefaultConversationInitiationTrigger) SetTriggerType(val OptDefaultConversationInitiationTriggerTriggerType)
SetTriggerType sets the value of TriggerType.
func (*DefaultConversationInitiationTrigger) UnmarshalJSON ¶
func (s *DefaultConversationInitiationTrigger) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DefaultConversationInitiationTrigger) Validate ¶
func (s *DefaultConversationInitiationTrigger) Validate() error
type DefaultConversationInitiationTriggerTriggerType ¶
type DefaultConversationInitiationTriggerTriggerType string
const (
DefaultConversationInitiationTriggerTriggerTypeDefault DefaultConversationInitiationTriggerTriggerType = "default"
)
func (DefaultConversationInitiationTriggerTriggerType) AllValues ¶
func (DefaultConversationInitiationTriggerTriggerType) AllValues() []DefaultConversationInitiationTriggerTriggerType
AllValues returns all DefaultConversationInitiationTriggerTriggerType values.
func (*DefaultConversationInitiationTriggerTriggerType) Decode ¶
func (s *DefaultConversationInitiationTriggerTriggerType) Decode(d *jx.Decoder) error
Decode decodes DefaultConversationInitiationTriggerTriggerType from json.
func (DefaultConversationInitiationTriggerTriggerType) Encode ¶
func (s DefaultConversationInitiationTriggerTriggerType) Encode(e *jx.Encoder)
Encode encodes DefaultConversationInitiationTriggerTriggerType as json.
func (DefaultConversationInitiationTriggerTriggerType) MarshalJSON ¶
func (s DefaultConversationInitiationTriggerTriggerType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (DefaultConversationInitiationTriggerTriggerType) MarshalText ¶
func (s DefaultConversationInitiationTriggerTriggerType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*DefaultConversationInitiationTriggerTriggerType) UnmarshalJSON ¶
func (s *DefaultConversationInitiationTriggerTriggerType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DefaultConversationInitiationTriggerTriggerType) UnmarshalText ¶
func (s *DefaultConversationInitiationTriggerTriggerType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (DefaultConversationInitiationTriggerTriggerType) Validate ¶
func (s DefaultConversationInitiationTriggerTriggerType) Validate() error
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 ¶
func (s *DeleteChapterResponseModel) Decode(d *jx.Decoder) error
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 ¶
func (*DeleteChatResponseTestRouteOKApplicationJSON) Decode ¶
func (s *DeleteChatResponseTestRouteOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes DeleteChatResponseTestRouteOKApplicationJSON from json.
func (DeleteChatResponseTestRouteOKApplicationJSON) Encode ¶
func (s DeleteChatResponseTestRouteOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes DeleteChatResponseTestRouteOKApplicationJSON as json.
func (DeleteChatResponseTestRouteOKApplicationJSON) MarshalJSON ¶
func (s DeleteChatResponseTestRouteOKApplicationJSON) MarshalJSON() ([]byte, error)
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 ¶
func (*DeleteConversationRouteOKApplicationJSON) Decode ¶
func (s *DeleteConversationRouteOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes DeleteConversationRouteOKApplicationJSON from json.
func (DeleteConversationRouteOKApplicationJSON) Encode ¶
func (s DeleteConversationRouteOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes DeleteConversationRouteOKApplicationJSON as json.
func (DeleteConversationRouteOKApplicationJSON) MarshalJSON ¶
func (s DeleteConversationRouteOKApplicationJSON) MarshalJSON() ([]byte, error)
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 ¶
func (s *DeleteDubbingResponseModel) Decode(d *jx.Decoder) error
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 ¶
func (*DeleteKnowledgeBaseDocumentOKApplicationJSON) Decode ¶
func (s *DeleteKnowledgeBaseDocumentOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes DeleteKnowledgeBaseDocumentOKApplicationJSON from json.
func (DeleteKnowledgeBaseDocumentOKApplicationJSON) Encode ¶
func (s DeleteKnowledgeBaseDocumentOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes DeleteKnowledgeBaseDocumentOKApplicationJSON as json.
func (DeleteKnowledgeBaseDocumentOKApplicationJSON) MarshalJSON ¶
func (s DeleteKnowledgeBaseDocumentOKApplicationJSON) MarshalJSON() ([]byte, error)
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 ¶
func (*DeleteMcpServerRouteOKApplicationJSON) Decode ¶
func (s *DeleteMcpServerRouteOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes DeleteMcpServerRouteOKApplicationJSON from json.
func (DeleteMcpServerRouteOKApplicationJSON) Encode ¶
func (s DeleteMcpServerRouteOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (*DeletePhoneNumberRouteOKApplicationJSON) Decode ¶
func (s *DeletePhoneNumberRouteOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes DeletePhoneNumberRouteOKApplicationJSON from json.
func (DeletePhoneNumberRouteOKApplicationJSON) Encode ¶
func (s DeletePhoneNumberRouteOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s *DeleteProjectResponseModel) Decode(d *jx.Decoder) error
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 ¶
func (*DeleteServiceAccountAPIKeyOKApplicationJSON) Decode ¶
func (s *DeleteServiceAccountAPIKeyOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes DeleteServiceAccountAPIKeyOKApplicationJSON from json.
func (DeleteServiceAccountAPIKeyOKApplicationJSON) Encode ¶
func (s DeleteServiceAccountAPIKeyOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes DeleteServiceAccountAPIKeyOKApplicationJSON as json.
func (DeleteServiceAccountAPIKeyOKApplicationJSON) MarshalJSON ¶
func (s DeleteServiceAccountAPIKeyOKApplicationJSON) MarshalJSON() ([]byte, error)
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 ¶
func (*DeleteToolRouteOKApplicationJSON) Decode ¶
func (s *DeleteToolRouteOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes DeleteToolRouteOKApplicationJSON from json.
func (DeleteToolRouteOKApplicationJSON) Encode ¶
func (s DeleteToolRouteOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (*DeleteTranscriptByIDOKApplicationJSON) Decode ¶
func (s *DeleteTranscriptByIDOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes DeleteTranscriptByIDOKApplicationJSON from json.
func (DeleteTranscriptByIDOKApplicationJSON) Encode ¶
func (s DeleteTranscriptByIDOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (*DeleteTranscriptByIDUnauthorizedApplicationJSON) Decode ¶
func (s *DeleteTranscriptByIDUnauthorizedApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes DeleteTranscriptByIDUnauthorizedApplicationJSON from json.
func (DeleteTranscriptByIDUnauthorizedApplicationJSON) Encode ¶
func (s DeleteTranscriptByIDUnauthorizedApplicationJSON) Encode(e *jx.Encoder)
Encode encodes DeleteTranscriptByIDUnauthorizedApplicationJSON as json.
func (DeleteTranscriptByIDUnauthorizedApplicationJSON) MarshalJSON ¶
func (s DeleteTranscriptByIDUnauthorizedApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeleteTranscriptByIDUnauthorizedApplicationJSON) UnmarshalJSON ¶
func (s *DeleteTranscriptByIDUnauthorizedApplicationJSON) UnmarshalJSON(data []byte) error
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 ¶
func (s *DeleteVoiceSampleResponseModel) Decode(d *jx.Decoder) error
Decode decodes DeleteVoiceSampleResponseModel from json.
func (*DeleteVoiceSampleResponseModel) Encode ¶
func (s *DeleteVoiceSampleResponseModel) Encode(e *jx.Encoder)
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 ¶
func (*DeleteWhatsappAccountOKApplicationJSON) Decode ¶
func (s *DeleteWhatsappAccountOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes DeleteWhatsappAccountOKApplicationJSON from json.
func (DeleteWhatsappAccountOKApplicationJSON) Encode ¶
func (s DeleteWhatsappAccountOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s *DeleteWorkspaceGroupMemberResponseModel) Decode(d *jx.Decoder) error
Decode decodes DeleteWorkspaceGroupMemberResponseModel from json.
func (*DeleteWorkspaceGroupMemberResponseModel) Encode ¶
func (s *DeleteWorkspaceGroupMemberResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DeleteWorkspaceGroupMemberResponseModel) GetStatus ¶
func (s *DeleteWorkspaceGroupMemberResponseModel) GetStatus() string
GetStatus returns the value of Status.
func (*DeleteWorkspaceGroupMemberResponseModel) MarshalJSON ¶
func (s *DeleteWorkspaceGroupMemberResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeleteWorkspaceGroupMemberResponseModel) SetStatus ¶
func (s *DeleteWorkspaceGroupMemberResponseModel) SetStatus(val string)
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 ¶
func (s *DeleteWorkspaceInviteResponseModel) Decode(d *jx.Decoder) error
Decode decodes DeleteWorkspaceInviteResponseModel from json.
func (*DeleteWorkspaceInviteResponseModel) Encode ¶
func (s *DeleteWorkspaceInviteResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DeleteWorkspaceInviteResponseModel) GetStatus ¶
func (s *DeleteWorkspaceInviteResponseModel) GetStatus() string
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 ¶
func (s *DeleteWorkspaceWebhookResponseModel) Decode(d *jx.Decoder) error
Decode decodes DeleteWorkspaceWebhookResponseModel from json.
func (*DeleteWorkspaceWebhookResponseModel) Encode ¶
func (s *DeleteWorkspaceWebhookResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DeleteWorkspaceWebhookResponseModel) GetStatus ¶
func (s *DeleteWorkspaceWebhookResponseModel) GetStatus() string
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 ¶
func (s *DependentAvailableAgentIdentifier) Decode(d *jx.Decoder) error
Decode decodes DependentAvailableAgentIdentifier from json.
func (*DependentAvailableAgentIdentifier) Encode ¶
func (s *DependentAvailableAgentIdentifier) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DependentAvailableAgentIdentifier) GetAccessLevel ¶
func (s *DependentAvailableAgentIdentifier) GetAccessLevel() DependentAvailableAgentIdentifierAccessLevel
GetAccessLevel returns the value of AccessLevel.
func (*DependentAvailableAgentIdentifier) GetCreatedAtUnixSecs ¶
func (s *DependentAvailableAgentIdentifier) GetCreatedAtUnixSecs() int
GetCreatedAtUnixSecs returns the value of CreatedAtUnixSecs.
func (*DependentAvailableAgentIdentifier) GetID ¶
func (s *DependentAvailableAgentIdentifier) GetID() string
GetID returns the value of ID.
func (*DependentAvailableAgentIdentifier) GetName ¶
func (s *DependentAvailableAgentIdentifier) GetName() string
GetName returns the value of Name.
func (*DependentAvailableAgentIdentifier) GetReferencedResourceIds ¶
func (s *DependentAvailableAgentIdentifier) GetReferencedResourceIds() []string
GetReferencedResourceIds returns the value of ReferencedResourceIds.
func (*DependentAvailableAgentIdentifier) GetType ¶
func (s *DependentAvailableAgentIdentifier) GetType() OptDependentAvailableAgentIdentifierType
GetType returns the value of Type.
func (*DependentAvailableAgentIdentifier) MarshalJSON ¶
func (s *DependentAvailableAgentIdentifier) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DependentAvailableAgentIdentifier) SetAccessLevel ¶
func (s *DependentAvailableAgentIdentifier) SetAccessLevel(val DependentAvailableAgentIdentifierAccessLevel)
SetAccessLevel sets the value of AccessLevel.
func (*DependentAvailableAgentIdentifier) SetCreatedAtUnixSecs ¶
func (s *DependentAvailableAgentIdentifier) SetCreatedAtUnixSecs(val int)
SetCreatedAtUnixSecs sets the value of CreatedAtUnixSecs.
func (*DependentAvailableAgentIdentifier) SetID ¶
func (s *DependentAvailableAgentIdentifier) SetID(val string)
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 ¶
func (s *DependentAvailableAgentIdentifier) SetType(val OptDependentAvailableAgentIdentifierType)
SetType sets the value of Type.
func (*DependentAvailableAgentIdentifier) UnmarshalJSON ¶
func (s *DependentAvailableAgentIdentifier) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DependentAvailableAgentIdentifier) Validate ¶
func (s *DependentAvailableAgentIdentifier) Validate() error
type DependentAvailableAgentIdentifierAccessLevel ¶
type DependentAvailableAgentIdentifierAccessLevel string
const ( DependentAvailableAgentIdentifierAccessLevelAdmin DependentAvailableAgentIdentifierAccessLevel = "admin" DependentAvailableAgentIdentifierAccessLevelEditor DependentAvailableAgentIdentifierAccessLevel = "editor" DependentAvailableAgentIdentifierAccessLevelCommenter DependentAvailableAgentIdentifierAccessLevel = "commenter" DependentAvailableAgentIdentifierAccessLevelViewer DependentAvailableAgentIdentifierAccessLevel = "viewer" )
func (DependentAvailableAgentIdentifierAccessLevel) AllValues ¶
func (DependentAvailableAgentIdentifierAccessLevel) AllValues() []DependentAvailableAgentIdentifierAccessLevel
AllValues returns all DependentAvailableAgentIdentifierAccessLevel values.
func (*DependentAvailableAgentIdentifierAccessLevel) Decode ¶
func (s *DependentAvailableAgentIdentifierAccessLevel) Decode(d *jx.Decoder) error
Decode decodes DependentAvailableAgentIdentifierAccessLevel from json.
func (DependentAvailableAgentIdentifierAccessLevel) Encode ¶
func (s DependentAvailableAgentIdentifierAccessLevel) Encode(e *jx.Encoder)
Encode encodes DependentAvailableAgentIdentifierAccessLevel as json.
func (DependentAvailableAgentIdentifierAccessLevel) MarshalJSON ¶
func (s DependentAvailableAgentIdentifierAccessLevel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (DependentAvailableAgentIdentifierAccessLevel) MarshalText ¶
func (s DependentAvailableAgentIdentifierAccessLevel) MarshalText() ([]byte, error)
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 ¶
func (s DependentAvailableAgentIdentifierAccessLevel) Validate() error
type DependentAvailableAgentIdentifierType ¶
type DependentAvailableAgentIdentifierType string
const (
DependentAvailableAgentIdentifierTypeAvailable DependentAvailableAgentIdentifierType = "available"
)
func (DependentAvailableAgentIdentifierType) AllValues ¶
func (DependentAvailableAgentIdentifierType) AllValues() []DependentAvailableAgentIdentifierType
AllValues returns all DependentAvailableAgentIdentifierType values.
func (*DependentAvailableAgentIdentifierType) Decode ¶
func (s *DependentAvailableAgentIdentifierType) Decode(d *jx.Decoder) error
Decode decodes DependentAvailableAgentIdentifierType from json.
func (DependentAvailableAgentIdentifierType) Encode ¶
func (s DependentAvailableAgentIdentifierType) Encode(e *jx.Encoder)
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 ¶
func (s DependentAvailableAgentIdentifierType) Validate() error
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 ¶
func (s *DependentAvailableToolIdentifier) Decode(d *jx.Decoder) error
Decode decodes DependentAvailableToolIdentifier from json.
func (*DependentAvailableToolIdentifier) Encode ¶
func (s *DependentAvailableToolIdentifier) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DependentAvailableToolIdentifier) GetAccessLevel ¶
func (s *DependentAvailableToolIdentifier) GetAccessLevel() DependentAvailableToolIdentifierAccessLevel
GetAccessLevel returns the value of AccessLevel.
func (*DependentAvailableToolIdentifier) GetCreatedAtUnixSecs ¶
func (s *DependentAvailableToolIdentifier) GetCreatedAtUnixSecs() int
GetCreatedAtUnixSecs returns the value of CreatedAtUnixSecs.
func (*DependentAvailableToolIdentifier) GetID ¶
func (s *DependentAvailableToolIdentifier) GetID() string
GetID returns the value of ID.
func (*DependentAvailableToolIdentifier) GetName ¶
func (s *DependentAvailableToolIdentifier) GetName() string
GetName returns the value of Name.
func (*DependentAvailableToolIdentifier) GetType ¶
func (s *DependentAvailableToolIdentifier) GetType() OptDependentAvailableToolIdentifierType
GetType returns the value of Type.
func (*DependentAvailableToolIdentifier) MarshalJSON ¶
func (s *DependentAvailableToolIdentifier) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DependentAvailableToolIdentifier) SetAccessLevel ¶
func (s *DependentAvailableToolIdentifier) SetAccessLevel(val DependentAvailableToolIdentifierAccessLevel)
SetAccessLevel sets the value of AccessLevel.
func (*DependentAvailableToolIdentifier) SetCreatedAtUnixSecs ¶
func (s *DependentAvailableToolIdentifier) SetCreatedAtUnixSecs(val int)
SetCreatedAtUnixSecs sets the value of CreatedAtUnixSecs.
func (*DependentAvailableToolIdentifier) SetID ¶
func (s *DependentAvailableToolIdentifier) SetID(val string)
SetID sets the value of ID.
func (*DependentAvailableToolIdentifier) SetName ¶
func (s *DependentAvailableToolIdentifier) SetName(val string)
SetName sets the value of Name.
func (*DependentAvailableToolIdentifier) SetType ¶
func (s *DependentAvailableToolIdentifier) SetType(val OptDependentAvailableToolIdentifierType)
SetType sets the value of Type.
func (*DependentAvailableToolIdentifier) UnmarshalJSON ¶
func (s *DependentAvailableToolIdentifier) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DependentAvailableToolIdentifier) Validate ¶
func (s *DependentAvailableToolIdentifier) Validate() error
type DependentAvailableToolIdentifierAccessLevel ¶
type DependentAvailableToolIdentifierAccessLevel string
const ( DependentAvailableToolIdentifierAccessLevelAdmin DependentAvailableToolIdentifierAccessLevel = "admin" DependentAvailableToolIdentifierAccessLevelEditor DependentAvailableToolIdentifierAccessLevel = "editor" DependentAvailableToolIdentifierAccessLevelCommenter DependentAvailableToolIdentifierAccessLevel = "commenter" DependentAvailableToolIdentifierAccessLevelViewer DependentAvailableToolIdentifierAccessLevel = "viewer" )
func (DependentAvailableToolIdentifierAccessLevel) AllValues ¶
func (DependentAvailableToolIdentifierAccessLevel) AllValues() []DependentAvailableToolIdentifierAccessLevel
AllValues returns all DependentAvailableToolIdentifierAccessLevel values.
func (*DependentAvailableToolIdentifierAccessLevel) Decode ¶
func (s *DependentAvailableToolIdentifierAccessLevel) Decode(d *jx.Decoder) error
Decode decodes DependentAvailableToolIdentifierAccessLevel from json.
func (DependentAvailableToolIdentifierAccessLevel) Encode ¶
func (s DependentAvailableToolIdentifierAccessLevel) Encode(e *jx.Encoder)
Encode encodes DependentAvailableToolIdentifierAccessLevel as json.
func (DependentAvailableToolIdentifierAccessLevel) MarshalJSON ¶
func (s DependentAvailableToolIdentifierAccessLevel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (DependentAvailableToolIdentifierAccessLevel) MarshalText ¶
func (s DependentAvailableToolIdentifierAccessLevel) MarshalText() ([]byte, error)
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 ¶
func (s DependentAvailableToolIdentifierAccessLevel) Validate() error
type DependentAvailableToolIdentifierType ¶
type DependentAvailableToolIdentifierType string
const (
DependentAvailableToolIdentifierTypeAvailable DependentAvailableToolIdentifierType = "available"
)
func (DependentAvailableToolIdentifierType) AllValues ¶
func (DependentAvailableToolIdentifierType) AllValues() []DependentAvailableToolIdentifierType
AllValues returns all DependentAvailableToolIdentifierType values.
func (*DependentAvailableToolIdentifierType) Decode ¶
func (s *DependentAvailableToolIdentifierType) Decode(d *jx.Decoder) error
Decode decodes DependentAvailableToolIdentifierType from json.
func (DependentAvailableToolIdentifierType) Encode ¶
func (s DependentAvailableToolIdentifierType) Encode(e *jx.Encoder)
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 ¶
func (s DependentAvailableToolIdentifierType) Validate() error
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 ¶
func (s *DependentPhoneNumberIdentifier) Decode(d *jx.Decoder) error
Decode decodes DependentPhoneNumberIdentifier from json.
func (*DependentPhoneNumberIdentifier) Encode ¶
func (s *DependentPhoneNumberIdentifier) Encode(e *jx.Encoder)
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 ¶
func (s *DependentPhoneNumberIdentifier) GetProvider() TelephonyProvider
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 ¶
func (s *DependentPhoneNumberIdentifier) SetProvider(val TelephonyProvider)
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 ¶
func (s *DependentUnknownAgentIdentifier) Decode(d *jx.Decoder) error
Decode decodes DependentUnknownAgentIdentifier from json.
func (*DependentUnknownAgentIdentifier) Encode ¶
func (s *DependentUnknownAgentIdentifier) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DependentUnknownAgentIdentifier) GetReferencedResourceIds ¶
func (s *DependentUnknownAgentIdentifier) GetReferencedResourceIds() []string
GetReferencedResourceIds returns the value of ReferencedResourceIds.
func (*DependentUnknownAgentIdentifier) GetType ¶
func (s *DependentUnknownAgentIdentifier) GetType() OptDependentUnknownAgentIdentifierType
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 ¶
func (s *DependentUnknownAgentIdentifier) SetType(val OptDependentUnknownAgentIdentifierType)
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 ¶
func (DependentUnknownAgentIdentifierType) AllValues() []DependentUnknownAgentIdentifierType
AllValues returns all DependentUnknownAgentIdentifierType values.
func (*DependentUnknownAgentIdentifierType) Decode ¶
func (s *DependentUnknownAgentIdentifierType) Decode(d *jx.Decoder) error
Decode decodes DependentUnknownAgentIdentifierType from json.
func (DependentUnknownAgentIdentifierType) Encode ¶
func (s DependentUnknownAgentIdentifierType) Encode(e *jx.Encoder)
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 ¶
func (s DependentUnknownAgentIdentifierType) Validate() error
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 ¶
func (s *DependentUnknownToolIdentifier) Decode(d *jx.Decoder) error
Decode decodes DependentUnknownToolIdentifier from json.
func (*DependentUnknownToolIdentifier) Encode ¶
func (s *DependentUnknownToolIdentifier) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DependentUnknownToolIdentifier) GetType ¶
func (s *DependentUnknownToolIdentifier) GetType() OptDependentUnknownToolIdentifierType
GetType returns the value of Type.
func (*DependentUnknownToolIdentifier) MarshalJSON ¶
func (s *DependentUnknownToolIdentifier) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DependentUnknownToolIdentifier) SetType ¶
func (s *DependentUnknownToolIdentifier) SetType(val OptDependentUnknownToolIdentifierType)
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 ¶
func (DependentUnknownToolIdentifierType) AllValues() []DependentUnknownToolIdentifierType
AllValues returns all DependentUnknownToolIdentifierType values.
func (*DependentUnknownToolIdentifierType) Decode ¶
func (s *DependentUnknownToolIdentifierType) Decode(d *jx.Decoder) error
Decode decodes DependentUnknownToolIdentifierType from json.
func (DependentUnknownToolIdentifierType) Encode ¶
func (s DependentUnknownToolIdentifierType) Encode(e *jx.Encoder)
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 ¶
func (s DependentUnknownToolIdentifierType) Validate() error
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 ¶
func (s *DialogueInputResponseModel) Decode(d *jx.Decoder) error
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 ¶
func (DocumentUsageModeEnum) AllValues() []DocumentUsageModeEnum
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 ¶
func (s *DocxExportOptions) GetFormat() DocxExportOptionsFormat
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 ¶
func (DocxExportOptionsFormat) AllValues() []DocxExportOptionsFormat
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 ¶
func (s *DownloadSpeechHistoryItemsBadRequest) Decode(d *jx.Decoder) error
Decode decodes DownloadSpeechHistoryItemsBadRequest from json.
func (*DownloadSpeechHistoryItemsBadRequest) Encode ¶
func (s *DownloadSpeechHistoryItemsBadRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DownloadSpeechHistoryItemsBadRequest) GetError ¶
func (s *DownloadSpeechHistoryItemsBadRequest) GetError() OptString
GetError returns the value of Error.
func (*DownloadSpeechHistoryItemsBadRequest) GetMessage ¶
func (s *DownloadSpeechHistoryItemsBadRequest) GetMessage() OptString
GetMessage returns the value of Message.
func (*DownloadSpeechHistoryItemsBadRequest) MarshalJSON ¶
func (s *DownloadSpeechHistoryItemsBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DownloadSpeechHistoryItemsBadRequest) SetError ¶
func (s *DownloadSpeechHistoryItemsBadRequest) SetError(val OptString)
SetError sets the value of Error.
func (*DownloadSpeechHistoryItemsBadRequest) SetMessage ¶
func (s *DownloadSpeechHistoryItemsBadRequest) SetMessage(val OptString)
SetMessage sets the value of Message.
func (*DownloadSpeechHistoryItemsBadRequest) UnmarshalJSON ¶
func (s *DownloadSpeechHistoryItemsBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
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 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 ¶
func (s *DubbingMetadataPageResponseModel) Decode(d *jx.Decoder) error
Decode decodes DubbingMetadataPageResponseModel from json.
func (*DubbingMetadataPageResponseModel) Encode ¶
func (s *DubbingMetadataPageResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DubbingMetadataPageResponseModel) GetDubs ¶
func (s *DubbingMetadataPageResponseModel) GetDubs() []DubbingMetadataResponse
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 ¶
func (s *DubbingMetadataPageResponseModel) SetDubs(val []DubbingMetadataResponse)
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 ¶
func (s *DubbingMetadataPageResponseModel) Validate() error
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 ¶
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 ¶
func (s *DubbingResourceSpeakerSegments) Decode(d *jx.Decoder) error
Decode decodes DubbingResourceSpeakerSegments from json.
func (DubbingResourceSpeakerSegments) Encode ¶
func (s DubbingResourceSpeakerSegments) Encode(e *jx.Encoder)
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 ¶
func (s DubbingResourceSpeakerSegments) Validate() error
type DubbingResourceSpeakerTracks ¶
type DubbingResourceSpeakerTracks map[string]SpeakerTrack
func (*DubbingResourceSpeakerTracks) Decode ¶
func (s *DubbingResourceSpeakerTracks) Decode(d *jx.Decoder) error
Decode decodes DubbingResourceSpeakerTracks from json.
func (DubbingResourceSpeakerTracks) Encode ¶
func (s DubbingResourceSpeakerTracks) Encode(e *jx.Encoder)
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 ¶
func (s *DubbingTranscriptCharacter) Decode(d *jx.Decoder) error
Decode decodes DubbingTranscriptCharacter from json.
func (*DubbingTranscriptCharacter) Encode ¶
func (s *DubbingTranscriptCharacter) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DubbingTranscriptCharacter) GetEndS ¶
func (s *DubbingTranscriptCharacter) GetEndS() OptFloat64
GetEndS returns the value of EndS.
func (*DubbingTranscriptCharacter) GetStartS ¶
func (s *DubbingTranscriptCharacter) GetStartS() OptFloat64
GetStartS returns the value of StartS.
func (*DubbingTranscriptCharacter) GetText ¶
func (s *DubbingTranscriptCharacter) GetText() OptString
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 ¶
func (s *DubbingTranscriptResponseModel) Decode(d *jx.Decoder) error
Decode decodes DubbingTranscriptResponseModel from json.
func (*DubbingTranscriptResponseModel) Encode ¶
func (s *DubbingTranscriptResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DubbingTranscriptResponseModel) GetLanguage ¶
func (s *DubbingTranscriptResponseModel) GetLanguage() string
GetLanguage returns the value of Language.
func (*DubbingTranscriptResponseModel) GetUtterances ¶
func (s *DubbingTranscriptResponseModel) GetUtterances() []DubbingTranscriptUtterance
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 ¶
func (s *DubbingTranscriptResponseModel) SetUtterances(val []DubbingTranscriptUtterance)
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 ¶
func (s *DubbingTranscriptUtterance) Decode(d *jx.Decoder) error
Decode decodes DubbingTranscriptUtterance from json.
func (*DubbingTranscriptUtterance) Encode ¶
func (s *DubbingTranscriptUtterance) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DubbingTranscriptUtterance) GetEndS ¶
func (s *DubbingTranscriptUtterance) GetEndS() OptFloat64
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 ¶
func (s *DubbingTranscriptUtterance) GetText() OptString
GetText returns the value of Text.
func (*DubbingTranscriptUtterance) GetWords ¶
func (s *DubbingTranscriptUtterance) GetWords() []DubbingTranscriptWord
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 ¶
func (s *DubbingTranscriptUtterance) SetWords(val []DubbingTranscriptWord)
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 ¶
func (s *DubbingTranscriptWord) GetCharacters() []DubbingTranscriptCharacter
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 ¶
func (s *DynamicVariableAssignment) GetSource() OptDynamicVariableAssignmentSource
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 ¶
func (s *DynamicVariableAssignment) SetSource(val OptDynamicVariableAssignmentSource)
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 ¶
func (DynamicVariableAssignmentSource) AllValues() []DynamicVariableAssignmentSource
AllValues returns all DynamicVariableAssignmentSource values.
func (*DynamicVariableAssignmentSource) Decode ¶
func (s *DynamicVariableAssignmentSource) Decode(d *jx.Decoder) error
Decode decodes DynamicVariableAssignmentSource from json.
func (DynamicVariableAssignmentSource) Encode ¶
func (s DynamicVariableAssignmentSource) Encode(e *jx.Encoder)
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 ¶
func (s DynamicVariableAssignmentSource) Validate() error
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 ¶
func (s *DynamicVariableUpdateCommonModel) Decode(d *jx.Decoder) error
Decode decodes DynamicVariableUpdateCommonModel from json.
func (*DynamicVariableUpdateCommonModel) Encode ¶
func (s *DynamicVariableUpdateCommonModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DynamicVariableUpdateCommonModel) GetNewValue ¶
func (s *DynamicVariableUpdateCommonModel) GetNewValue() string
GetNewValue returns the value of NewValue.
func (*DynamicVariableUpdateCommonModel) GetOldValue ¶
func (s *DynamicVariableUpdateCommonModel) GetOldValue() NilString
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 ¶
func (s *DynamicVariableUpdateCommonModel) Validate() error
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 ¶
func (s *EditProjectResponseModel) GetProject() ProjectResponseModel
GetProject returns the value of Project.
func (*EditProjectResponseModel) MarshalJSON ¶
func (s *EditProjectResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EditProjectResponseModel) SetProject ¶
func (s *EditProjectResponseModel) SetProject(val ProjectResponseModel)
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 ¶
func (*EditServiceAccountAPIKeyOKApplicationJSON) Decode ¶
func (s *EditServiceAccountAPIKeyOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes EditServiceAccountAPIKeyOKApplicationJSON from json.
func (EditServiceAccountAPIKeyOKApplicationJSON) Encode ¶
func (s EditServiceAccountAPIKeyOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes EditServiceAccountAPIKeyOKApplicationJSON as json.
func (EditServiceAccountAPIKeyOKApplicationJSON) MarshalJSON ¶
func (s EditServiceAccountAPIKeyOKApplicationJSON) MarshalJSON() ([]byte, error)
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 ¶
func (s *EditVoiceSettingsResponseModel) Decode(d *jx.Decoder) error
Decode decodes EditVoiceSettingsResponseModel from json.
func (*EditVoiceSettingsResponseModel) Encode ¶
func (s *EditVoiceSettingsResponseModel) Encode(e *jx.Encoder)
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 ¶
func (s *EndCallToolResultModel) GetResultType() OptEndCallToolResultModelResultType
GetResultType returns the value of ResultType.
func (*EndCallToolResultModel) GetStatus ¶
func (s *EndCallToolResultModel) GetStatus() OptEndCallToolResultModelStatus
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 ¶
func (s *EndCallToolResultModel) SetResultType(val OptEndCallToolResultModelResultType)
SetResultType sets the value of ResultType.
func (*EndCallToolResultModel) SetStatus ¶
func (s *EndCallToolResultModel) SetStatus(val OptEndCallToolResultModelStatus)
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 ¶
func (EndCallToolResultModelResultType) AllValues() []EndCallToolResultModelResultType
AllValues returns all EndCallToolResultModelResultType values.
func (*EndCallToolResultModelResultType) Decode ¶
func (s *EndCallToolResultModelResultType) Decode(d *jx.Decoder) error
Decode decodes EndCallToolResultModelResultType from json.
func (EndCallToolResultModelResultType) Encode ¶
func (s EndCallToolResultModelResultType) Encode(e *jx.Encoder)
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 ¶
func (s EndCallToolResultModelResultType) Validate() error
type EndCallToolResultModelStatus ¶
type EndCallToolResultModelStatus string
const (
EndCallToolResultModelStatusSuccess EndCallToolResultModelStatus = "success"
)
func (EndCallToolResultModelStatus) AllValues ¶
func (EndCallToolResultModelStatus) AllValues() []EndCallToolResultModelStatus
AllValues returns all EndCallToolResultModelStatus values.
func (*EndCallToolResultModelStatus) Decode ¶
func (s *EndCallToolResultModelStatus) Decode(d *jx.Decoder) error
Decode decodes EndCallToolResultModelStatus from json.
func (EndCallToolResultModelStatus) Encode ¶
func (s EndCallToolResultModelStatus) Encode(e *jx.Encoder)
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 EvaluationSuccessResult ¶
type EvaluationSuccessResult string
Ref: #/components/schemas/EvaluationSuccessResult
const ( EvaluationSuccessResultSuccess EvaluationSuccessResult = "success" EvaluationSuccessResultFailure EvaluationSuccessResult = "failure" EvaluationSuccessResultUnknown EvaluationSuccessResult = "unknown" )
func (EvaluationSuccessResult) AllValues ¶
func (EvaluationSuccessResult) AllValues() []EvaluationSuccessResult
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 ¶
func (s *ExactParameterEvaluationStrategy) Decode(d *jx.Decoder) error
Decode decodes ExactParameterEvaluationStrategy from json.
func (*ExactParameterEvaluationStrategy) Encode ¶
func (s *ExactParameterEvaluationStrategy) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExactParameterEvaluationStrategy) GetExpectedValue ¶
func (s *ExactParameterEvaluationStrategy) GetExpectedValue() string
GetExpectedValue returns the value of ExpectedValue.
func (*ExactParameterEvaluationStrategy) GetType ¶
func (s *ExactParameterEvaluationStrategy) GetType() ExactParameterEvaluationStrategyType
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 ¶
func (s *ExactParameterEvaluationStrategy) SetType(val ExactParameterEvaluationStrategyType)
SetType sets the value of Type.
func (*ExactParameterEvaluationStrategy) UnmarshalJSON ¶
func (s *ExactParameterEvaluationStrategy) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ExactParameterEvaluationStrategy) Validate ¶
func (s *ExactParameterEvaluationStrategy) Validate() error
type ExactParameterEvaluationStrategyType ¶
type ExactParameterEvaluationStrategyType string
const (
ExactParameterEvaluationStrategyTypeExact ExactParameterEvaluationStrategyType = "exact"
)
func (ExactParameterEvaluationStrategyType) AllValues ¶
func (ExactParameterEvaluationStrategyType) AllValues() []ExactParameterEvaluationStrategyType
AllValues returns all ExactParameterEvaluationStrategyType values.
func (*ExactParameterEvaluationStrategyType) Decode ¶
func (s *ExactParameterEvaluationStrategyType) Decode(d *jx.Decoder) error
Decode decodes ExactParameterEvaluationStrategyType from json.
func (ExactParameterEvaluationStrategyType) Encode ¶
func (s ExactParameterEvaluationStrategyType) Encode(e *jx.Encoder)
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 ¶
func (s ExactParameterEvaluationStrategyType) Validate() error
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 ¶
func (s *FeaturesUsageCommonModel) GetAgentTesting() OptTestsFeatureUsageCommonModel
GetAgentTesting returns the value of AgentTesting.
func (*FeaturesUsageCommonModel) GetDtmfTones ¶
func (s *FeaturesUsageCommonModel) GetDtmfTones() OptFeatureStatusCommonModel
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 ¶
func (s *FeaturesUsageCommonModel) GetMultivoice() OptFeatureStatusCommonModel
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 ¶
func (s *FeaturesUsageCommonModel) GetVersioning() OptFeatureStatusCommonModel
GetVersioning returns the value of Versioning.
func (*FeaturesUsageCommonModel) GetVoicemailDetection ¶
func (s *FeaturesUsageCommonModel) GetVoicemailDetection() OptFeatureStatusCommonModel
GetVoicemailDetection returns the value of VoicemailDetection.
func (*FeaturesUsageCommonModel) GetWorkflow ¶
func (s *FeaturesUsageCommonModel) GetWorkflow() OptWorkflowFeaturesUsageCommonModel
GetWorkflow returns the value of Workflow.
func (*FeaturesUsageCommonModel) MarshalJSON ¶
func (s *FeaturesUsageCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FeaturesUsageCommonModel) SetAgentTesting ¶
func (s *FeaturesUsageCommonModel) SetAgentTesting(val OptTestsFeatureUsageCommonModel)
SetAgentTesting sets the value of AgentTesting.
func (*FeaturesUsageCommonModel) SetDtmfTones ¶
func (s *FeaturesUsageCommonModel) SetDtmfTones(val OptFeatureStatusCommonModel)
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 ¶
func (s *FeaturesUsageCommonModel) SetMultivoice(val OptFeatureStatusCommonModel)
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 ¶
func (s *FeaturesUsageCommonModel) SetVersioning(val OptFeatureStatusCommonModel)
SetVersioning sets the value of Versioning.
func (*FeaturesUsageCommonModel) SetVoicemailDetection ¶
func (s *FeaturesUsageCommonModel) SetVoicemailDetection(val OptFeatureStatusCommonModel)
SetVoicemailDetection sets the value of VoicemailDetection.
func (*FeaturesUsageCommonModel) SetWorkflow ¶
func (s *FeaturesUsageCommonModel) SetWorkflow(val OptWorkflowFeaturesUsageCommonModel)
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 ¶
func (s *FineTuningResponseModel) GetManualVerification() OptManualVerificationResponseModel
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 ¶
func (s *FineTuningResponseModel) GetMessage() OptNilFineTuningResponseModelMessage
GetMessage returns the value of Message.
func (*FineTuningResponseModel) GetNextMaxVerificationAttemptsResetUnixMs ¶
func (s *FineTuningResponseModel) GetNextMaxVerificationAttemptsResetUnixMs() OptNilInt
GetNextMaxVerificationAttemptsResetUnixMs returns the value of NextMaxVerificationAttemptsResetUnixMs.
func (*FineTuningResponseModel) GetProgress ¶
func (s *FineTuningResponseModel) GetProgress() OptNilFineTuningResponseModelProgress
GetProgress returns the value of Progress.
func (*FineTuningResponseModel) GetSliceIds ¶
func (s *FineTuningResponseModel) GetSliceIds() OptNilStringArray
GetSliceIds returns the value of SliceIds.
func (*FineTuningResponseModel) GetState ¶
func (s *FineTuningResponseModel) GetState() FineTuningResponseModelState
GetState returns the value of State.
func (*FineTuningResponseModel) GetVerificationAttempts ¶
func (s *FineTuningResponseModel) GetVerificationAttempts() OptNilVerificationAttemptResponseModelArray
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 ¶
func (s *FineTuningResponseModel) SetMessage(val OptNilFineTuningResponseModelMessage)
SetMessage sets the value of Message.
func (*FineTuningResponseModel) SetNextMaxVerificationAttemptsResetUnixMs ¶
func (s *FineTuningResponseModel) SetNextMaxVerificationAttemptsResetUnixMs(val OptNilInt)
SetNextMaxVerificationAttemptsResetUnixMs sets the value of NextMaxVerificationAttemptsResetUnixMs.
func (*FineTuningResponseModel) SetProgress ¶
func (s *FineTuningResponseModel) SetProgress(val OptNilFineTuningResponseModelProgress)
SetProgress sets the value of Progress.
func (*FineTuningResponseModel) SetSliceIds ¶
func (s *FineTuningResponseModel) SetSliceIds(val OptNilStringArray)
SetSliceIds sets the value of SliceIds.
func (*FineTuningResponseModel) SetState ¶
func (s *FineTuningResponseModel) SetState(val FineTuningResponseModelState)
SetState sets the value of State.
func (*FineTuningResponseModel) SetVerificationAttempts ¶
func (s *FineTuningResponseModel) SetVerificationAttempts(val OptNilVerificationAttemptResponseModelArray)
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 ¶
The message of the fine-tuning process.
func (*FineTuningResponseModelMessage) Decode ¶
func (s *FineTuningResponseModelMessage) Decode(d *jx.Decoder) error
Decode decodes FineTuningResponseModelMessage from json.
func (FineTuningResponseModelMessage) Encode ¶
func (s FineTuningResponseModelMessage) Encode(e *jx.Encoder)
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 ¶
The progress of the fine-tuning process.
func (*FineTuningResponseModelProgress) Decode ¶
func (s *FineTuningResponseModelProgress) Decode(d *jx.Decoder) error
Decode decodes FineTuningResponseModelProgress from json.
func (FineTuningResponseModelProgress) Encode ¶
func (s FineTuningResponseModelProgress) Encode(e *jx.Encoder)
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 ¶
func (s FineTuningResponseModelProgress) Validate() error
type FineTuningResponseModelState ¶
type FineTuningResponseModelState map[string]FineTuningResponseModelStateItem
The state of the fine-tuning process for each model.
func (*FineTuningResponseModelState) Decode ¶
func (s *FineTuningResponseModelState) Decode(d *jx.Decoder) error
Decode decodes FineTuningResponseModelState from json.
func (FineTuningResponseModelState) Encode ¶
func (s FineTuningResponseModelState) Encode(e *jx.Encoder)
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 ¶
func (FineTuningResponseModelStateItem) AllValues() []FineTuningResponseModelStateItem
AllValues returns all FineTuningResponseModelStateItem values.
func (*FineTuningResponseModelStateItem) Decode ¶
func (s *FineTuningResponseModelStateItem) Decode(d *jx.Decoder) error
Decode decodes FineTuningResponseModelStateItem from json.
func (FineTuningResponseModelStateItem) Encode ¶
func (s FineTuningResponseModelStateItem) Encode(e *jx.Encoder)
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 ¶
func (s FineTuningResponseModelStateItem) Validate() error
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 ¶
func (s *ForcedAlignmentCharacterResponseModel) Decode(d *jx.Decoder) error
Decode decodes ForcedAlignmentCharacterResponseModel from json.
func (*ForcedAlignmentCharacterResponseModel) Encode ¶
func (s *ForcedAlignmentCharacterResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ForcedAlignmentCharacterResponseModel) GetEnd ¶
func (s *ForcedAlignmentCharacterResponseModel) GetEnd() float64
GetEnd returns the value of End.
func (*ForcedAlignmentCharacterResponseModel) GetStart ¶
func (s *ForcedAlignmentCharacterResponseModel) GetStart() float64
GetStart returns the value of Start.
func (*ForcedAlignmentCharacterResponseModel) GetText ¶
func (s *ForcedAlignmentCharacterResponseModel) GetText() string
GetText returns the value of Text.
func (*ForcedAlignmentCharacterResponseModel) MarshalJSON ¶
func (s *ForcedAlignmentCharacterResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ForcedAlignmentCharacterResponseModel) SetEnd ¶
func (s *ForcedAlignmentCharacterResponseModel) SetEnd(val float64)
SetEnd sets the value of End.
func (*ForcedAlignmentCharacterResponseModel) SetStart ¶
func (s *ForcedAlignmentCharacterResponseModel) SetStart(val float64)
SetStart sets the value of Start.
func (*ForcedAlignmentCharacterResponseModel) SetText ¶
func (s *ForcedAlignmentCharacterResponseModel) SetText(val string)
SetText sets the value of Text.
func (*ForcedAlignmentCharacterResponseModel) UnmarshalJSON ¶
func (s *ForcedAlignmentCharacterResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ForcedAlignmentCharacterResponseModel) Validate ¶
func (s *ForcedAlignmentCharacterResponseModel) Validate() error
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 ¶
func (s *ForcedAlignmentResponseModel) Decode(d *jx.Decoder) error
Decode decodes ForcedAlignmentResponseModel from json.
func (*ForcedAlignmentResponseModel) Encode ¶
func (s *ForcedAlignmentResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ForcedAlignmentResponseModel) GetCharacters ¶
func (s *ForcedAlignmentResponseModel) GetCharacters() []ForcedAlignmentCharacterResponseModel
GetCharacters returns the value of Characters.
func (*ForcedAlignmentResponseModel) GetLoss ¶
func (s *ForcedAlignmentResponseModel) GetLoss() float64
GetLoss returns the value of Loss.
func (*ForcedAlignmentResponseModel) GetWords ¶
func (s *ForcedAlignmentResponseModel) GetWords() []ForcedAlignmentWordResponseModel
GetWords returns the value of Words.
func (*ForcedAlignmentResponseModel) MarshalJSON ¶
func (s *ForcedAlignmentResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ForcedAlignmentResponseModel) SetCharacters ¶
func (s *ForcedAlignmentResponseModel) SetCharacters(val []ForcedAlignmentCharacterResponseModel)
SetCharacters sets the value of Characters.
func (*ForcedAlignmentResponseModel) SetLoss ¶
func (s *ForcedAlignmentResponseModel) SetLoss(val float64)
SetLoss sets the value of Loss.
func (*ForcedAlignmentResponseModel) SetWords ¶
func (s *ForcedAlignmentResponseModel) SetWords(val []ForcedAlignmentWordResponseModel)
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 ¶
func (s *ForcedAlignmentWordResponseModel) Decode(d *jx.Decoder) error
Decode decodes ForcedAlignmentWordResponseModel from json.
func (*ForcedAlignmentWordResponseModel) Encode ¶
func (s *ForcedAlignmentWordResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ForcedAlignmentWordResponseModel) GetEnd ¶
func (s *ForcedAlignmentWordResponseModel) GetEnd() float64
GetEnd returns the value of End.
func (*ForcedAlignmentWordResponseModel) GetLoss ¶
func (s *ForcedAlignmentWordResponseModel) GetLoss() float64
GetLoss returns the value of Loss.
func (*ForcedAlignmentWordResponseModel) GetStart ¶
func (s *ForcedAlignmentWordResponseModel) GetStart() float64
GetStart returns the value of Start.
func (*ForcedAlignmentWordResponseModel) GetText ¶
func (s *ForcedAlignmentWordResponseModel) GetText() string
GetText returns the value of Text.
func (*ForcedAlignmentWordResponseModel) MarshalJSON ¶
func (s *ForcedAlignmentWordResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ForcedAlignmentWordResponseModel) SetEnd ¶
func (s *ForcedAlignmentWordResponseModel) SetEnd(val float64)
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 ¶
func (s *ForcedAlignmentWordResponseModel) Validate() error
type GenerateOK ¶
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 ¶
func (GenerateOutputFormat) AllValues() []GenerateOutputFormat
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 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 ¶
func (s *GetAgentKnowledgeBaseSummariesRouteOK) Decode(d *jx.Decoder) error
Decode decodes GetAgentKnowledgeBaseSummariesRouteOK from json.
func (GetAgentKnowledgeBaseSummariesRouteOK) Encode ¶
func (s GetAgentKnowledgeBaseSummariesRouteOK) Encode(e *jx.Encoder)
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 ¶
func (s GetAgentKnowledgeBaseSummariesRouteOK) Validate() error
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 ¶
func (s *GetAgentKnowledgeBaseSummariesRouteOKItem) Decode(d *jx.Decoder) error
Decode decodes GetAgentKnowledgeBaseSummariesRouteOKItem from json.
func (GetAgentKnowledgeBaseSummariesRouteOKItem) Encode ¶
func (s GetAgentKnowledgeBaseSummariesRouteOKItem) Encode(e *jx.Encoder)
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 ¶
func (s GetAgentKnowledgeBaseSummariesRouteOKItem) MarshalJSON() ([]byte, error)
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 ¶
func (s GetAgentKnowledgeBaseSummariesRouteOKItem) Validate() error
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 ¶
func (s *GetAgentKnowledgebaseSizeResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetAgentKnowledgebaseSizeResponseModel from json.
func (*GetAgentKnowledgebaseSizeResponseModel) Encode ¶
func (s *GetAgentKnowledgebaseSizeResponseModel) Encode(e *jx.Encoder)
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 ¶
func (s *GetAgentKnowledgebaseSizeResponseModel) Validate() error
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 ¶
func (s *GetAgentLinkResponseModel) GetToken() OptConversationTokenDBModel
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 ¶
func (s *GetAgentLinkResponseModel) SetToken(val OptConversationTokenDBModel)
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 ¶
func (s *GetAgentsPageResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetAgentsPageResponseModel from json.
func (*GetAgentsPageResponseModel) Encode ¶
func (s *GetAgentsPageResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetAgentsPageResponseModel) GetAgents ¶
func (s *GetAgentsPageResponseModel) GetAgents() []AgentSummaryResponseModel
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 ¶
func (s *GetAgentsPageResponseModel) SetAgents(val []AgentSummaryResponseModel)
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 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 ¶
func (s *GetAudioFromSampleOKHeaders) GetResponse() GetAudioFromSampleOK
GetResponse returns the value of Response.
func (*GetAudioFromSampleOKHeaders) SetContentType ¶
func (s *GetAudioFromSampleOKHeaders) SetContentType(val string)
SetContentType sets the value of ContentType.
func (*GetAudioFromSampleOKHeaders) SetResponse ¶
func (s *GetAudioFromSampleOKHeaders) SetResponse(val GetAudioFromSampleOK)
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 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 ¶
func (s *GetAudioNativeProjectSettingsResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetAudioNativeProjectSettingsResponseModel from json.
func (*GetAudioNativeProjectSettingsResponseModel) Encode ¶
func (s *GetAudioNativeProjectSettingsResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetAudioNativeProjectSettingsResponseModel) GetEnabled ¶
func (s *GetAudioNativeProjectSettingsResponseModel) GetEnabled() bool
GetEnabled returns the value of Enabled.
func (*GetAudioNativeProjectSettingsResponseModel) GetSettings ¶
func (s *GetAudioNativeProjectSettingsResponseModel) GetSettings() OptAudioNativeProjectSettingsResponseModel
GetSettings returns the value of Settings.
func (*GetAudioNativeProjectSettingsResponseModel) GetSnapshotID ¶
func (s *GetAudioNativeProjectSettingsResponseModel) GetSnapshotID() OptNilString
GetSnapshotID returns the value of SnapshotID.
func (*GetAudioNativeProjectSettingsResponseModel) MarshalJSON ¶
func (s *GetAudioNativeProjectSettingsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAudioNativeProjectSettingsResponseModel) SetEnabled ¶
func (s *GetAudioNativeProjectSettingsResponseModel) SetEnabled(val bool)
SetEnabled sets the value of Enabled.
func (*GetAudioNativeProjectSettingsResponseModel) SetSettings ¶
func (s *GetAudioNativeProjectSettingsResponseModel) SetSettings(val OptAudioNativeProjectSettingsResponseModel)
SetSettings sets the value of Settings.
func (*GetAudioNativeProjectSettingsResponseModel) SetSnapshotID ¶
func (s *GetAudioNativeProjectSettingsResponseModel) SetSnapshotID(val OptNilString)
SetSnapshotID sets the value of SnapshotID.
func (*GetAudioNativeProjectSettingsResponseModel) UnmarshalJSON ¶
func (s *GetAudioNativeProjectSettingsResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetAudioNativeProjectSettingsResponseModel) Validate ¶
func (s *GetAudioNativeProjectSettingsResponseModel) Validate() error
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 ¶
func (s *GetChaptersResponseModel) GetChapters() []ChapterResponseModel
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 ¶
func (s *GetConvAIDashboardSettingsResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetConvAIDashboardSettingsResponseModel from json.
func (*GetConvAIDashboardSettingsResponseModel) Encode ¶
func (s *GetConvAIDashboardSettingsResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetConvAIDashboardSettingsResponseModel) GetCharts ¶
func (s *GetConvAIDashboardSettingsResponseModel) GetCharts() []GetConvAIDashboardSettingsResponseModelChartsItem
GetCharts returns the value of Charts.
func (*GetConvAIDashboardSettingsResponseModel) MarshalJSON ¶
func (s *GetConvAIDashboardSettingsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetConvAIDashboardSettingsResponseModel) SetCharts ¶
func (s *GetConvAIDashboardSettingsResponseModel) SetCharts(val []GetConvAIDashboardSettingsResponseModelChartsItem)
SetCharts sets the value of Charts.
func (*GetConvAIDashboardSettingsResponseModel) UnmarshalJSON ¶
func (s *GetConvAIDashboardSettingsResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetConvAIDashboardSettingsResponseModel) Validate ¶
func (s *GetConvAIDashboardSettingsResponseModel) Validate() error
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 ¶
func (s *GetConvAIDashboardSettingsResponseModelChartsItem) Decode(d *jx.Decoder) error
Decode decodes GetConvAIDashboardSettingsResponseModelChartsItem from json.
func (GetConvAIDashboardSettingsResponseModelChartsItem) Encode ¶
func (s GetConvAIDashboardSettingsResponseModelChartsItem) Encode(e *jx.Encoder)
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 ¶
func (s GetConvAIDashboardSettingsResponseModelChartsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetConvAIDashboardSettingsResponseModelChartsItem) SetDashboardCallSuccessChartModel ¶
func (s *GetConvAIDashboardSettingsResponseModelChartsItem) SetDashboardCallSuccessChartModel(v DashboardCallSuccessChartModel)
SetDashboardCallSuccessChartModel sets GetConvAIDashboardSettingsResponseModelChartsItem to DashboardCallSuccessChartModel.
func (*GetConvAIDashboardSettingsResponseModelChartsItem) SetDashboardCriteriaChartModel ¶
func (s *GetConvAIDashboardSettingsResponseModelChartsItem) SetDashboardCriteriaChartModel(v DashboardCriteriaChartModel)
SetDashboardCriteriaChartModel sets GetConvAIDashboardSettingsResponseModelChartsItem to DashboardCriteriaChartModel.
func (*GetConvAIDashboardSettingsResponseModelChartsItem) SetDashboardDataCollectionChartModel ¶
func (s *GetConvAIDashboardSettingsResponseModelChartsItem) SetDashboardDataCollectionChartModel(v DashboardDataCollectionChartModel)
SetDashboardDataCollectionChartModel sets GetConvAIDashboardSettingsResponseModelChartsItem to DashboardDataCollectionChartModel.
func (*GetConvAIDashboardSettingsResponseModelChartsItem) UnmarshalJSON ¶
func (s *GetConvAIDashboardSettingsResponseModelChartsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetConvAIDashboardSettingsResponseModelChartsItem) Validate ¶
func (s GetConvAIDashboardSettingsResponseModelChartsItem) Validate() error
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 ¶
func (s *GetConvAISettingsResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetConvAISettingsResponseModel from json.
func (*GetConvAISettingsResponseModel) Encode ¶
func (s *GetConvAISettingsResponseModel) Encode(e *jx.Encoder)
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 ¶
func (s *GetConvAISettingsResponseModel) GetWebhooks() OptConvAIWebhooks
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 ¶
func (s *GetConvAISettingsResponseModel) SetWebhooks(val OptConvAIWebhooks)
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 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 ¶
func (GetConversationHistoriesRouteSummaryMode) AllValues() []GetConversationHistoriesRouteSummaryMode
AllValues returns all GetConversationHistoriesRouteSummaryMode values.
func (GetConversationHistoriesRouteSummaryMode) MarshalText ¶
func (s GetConversationHistoriesRouteSummaryMode) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GetConversationHistoriesRouteSummaryMode) UnmarshalText ¶
func (s *GetConversationHistoriesRouteSummaryMode) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GetConversationHistoriesRouteSummaryMode) Validate ¶
func (s GetConversationHistoriesRouteSummaryMode) Validate() error
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 ¶
func (s *GetConversationResponseModel) Decode(d *jx.Decoder) error
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 ¶
func (s *GetConversationResponseModel) GetAnalysis() OptConversationHistoryAnalysisCommonModel
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 ¶
func (s *GetConversationResponseModel) GetMetadata() ConversationHistoryMetadataCommonModel
GetMetadata returns the value of Metadata.
func (*GetConversationResponseModel) GetStatus ¶
func (s *GetConversationResponseModel) GetStatus() GetConversationResponseModelStatus
GetStatus returns the value of Status.
func (*GetConversationResponseModel) GetTranscript ¶
func (s *GetConversationResponseModel) GetTranscript() []ConversationHistoryTranscriptCommonModelOutput
GetTranscript returns the value of Transcript.
func (*GetConversationResponseModel) GetUserID ¶
func (s *GetConversationResponseModel) GetUserID() OptNilString
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 ¶
func (s *GetConversationResponseModel) SetAnalysis(val OptConversationHistoryAnalysisCommonModel)
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 ¶
func (s *GetConversationResponseModel) SetMetadata(val ConversationHistoryMetadataCommonModel)
SetMetadata sets the value of Metadata.
func (*GetConversationResponseModel) SetStatus ¶
func (s *GetConversationResponseModel) SetStatus(val GetConversationResponseModelStatus)
SetStatus sets the value of Status.
func (*GetConversationResponseModel) SetTranscript ¶
func (s *GetConversationResponseModel) SetTranscript(val []ConversationHistoryTranscriptCommonModelOutput)
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 ¶
func (GetConversationResponseModelStatus) AllValues() []GetConversationResponseModelStatus
AllValues returns all GetConversationResponseModelStatus values.
func (*GetConversationResponseModelStatus) Decode ¶
func (s *GetConversationResponseModelStatus) Decode(d *jx.Decoder) error
Decode decodes GetConversationResponseModelStatus from json.
func (GetConversationResponseModelStatus) Encode ¶
func (s GetConversationResponseModelStatus) Encode(e *jx.Encoder)
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 ¶
func (s GetConversationResponseModelStatus) Validate() error
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 ¶
func (s *GetConversationsPageResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetConversationsPageResponseModel from json.
func (*GetConversationsPageResponseModel) Encode ¶
func (s *GetConversationsPageResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetConversationsPageResponseModel) GetConversations ¶
func (s *GetConversationsPageResponseModel) GetConversations() []ConversationSummaryResponseModel
GetConversations returns the value of Conversations.
func (*GetConversationsPageResponseModel) GetHasMore ¶
func (s *GetConversationsPageResponseModel) GetHasMore() bool
GetHasMore returns the value of HasMore.
func (*GetConversationsPageResponseModel) GetNextCursor ¶
func (s *GetConversationsPageResponseModel) GetNextCursor() OptNilString
GetNextCursor returns the value of NextCursor.
func (*GetConversationsPageResponseModel) MarshalJSON ¶
func (s *GetConversationsPageResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetConversationsPageResponseModel) SetConversations ¶
func (s *GetConversationsPageResponseModel) SetConversations(val []ConversationSummaryResponseModel)
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 ¶
func (s *GetConversationsPageResponseModel) Validate() error
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 ¶
func (s *GetDocumentationFromKnowledgeBaseOK) Decode(d *jx.Decoder) error
Decode decodes GetDocumentationFromKnowledgeBaseOK from json.
func (GetDocumentationFromKnowledgeBaseOK) Encode ¶
func (s GetDocumentationFromKnowledgeBaseOK) Encode(e *jx.Encoder)
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 ¶
func (s GetDocumentationFromKnowledgeBaseOK) Validate() error
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 ¶
func (*GetDubbedFileForbiddenApplicationJSON) Decode ¶
func (s *GetDubbedFileForbiddenApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes GetDubbedFileForbiddenApplicationJSON from json.
func (GetDubbedFileForbiddenApplicationJSON) Encode ¶
func (s GetDubbedFileForbiddenApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (*GetDubbedFileNotFoundApplicationJSON) Decode ¶
func (s *GetDubbedFileNotFoundApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes GetDubbedFileNotFoundApplicationJSON from json.
func (GetDubbedFileNotFoundApplicationJSON) Encode ¶
func (s GetDubbedFileNotFoundApplicationJSON) Encode(e *jx.Encoder)
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 GetDubbedFileOKVideoMP4 ¶
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 ¶
func (*GetDubbedFileTooEarlyApplicationJSON) Decode ¶
func (s *GetDubbedFileTooEarlyApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes GetDubbedFileTooEarlyApplicationJSON from json.
func (GetDubbedFileTooEarlyApplicationJSON) Encode ¶
func (s GetDubbedFileTooEarlyApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (*GetDubbedTranscriptFileForbiddenApplicationJSON) Decode ¶
func (s *GetDubbedTranscriptFileForbiddenApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes GetDubbedTranscriptFileForbiddenApplicationJSON from json.
func (GetDubbedTranscriptFileForbiddenApplicationJSON) Encode ¶
func (s GetDubbedTranscriptFileForbiddenApplicationJSON) Encode(e *jx.Encoder)
Encode encodes GetDubbedTranscriptFileForbiddenApplicationJSON as json.
func (GetDubbedTranscriptFileForbiddenApplicationJSON) MarshalJSON ¶
func (s GetDubbedTranscriptFileForbiddenApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetDubbedTranscriptFileForbiddenApplicationJSON) UnmarshalJSON ¶
func (s *GetDubbedTranscriptFileForbiddenApplicationJSON) UnmarshalJSON(data []byte) error
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 ¶
func (GetDubbedTranscriptFileFormatType) AllValues() []GetDubbedTranscriptFileFormatType
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 ¶
func (s GetDubbedTranscriptFileFormatType) Validate() error
type GetDubbedTranscriptFileNotFoundApplicationJSON ¶
func (*GetDubbedTranscriptFileNotFoundApplicationJSON) Decode ¶
func (s *GetDubbedTranscriptFileNotFoundApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes GetDubbedTranscriptFileNotFoundApplicationJSON from json.
func (GetDubbedTranscriptFileNotFoundApplicationJSON) Encode ¶
func (s GetDubbedTranscriptFileNotFoundApplicationJSON) Encode(e *jx.Encoder)
Encode encodes GetDubbedTranscriptFileNotFoundApplicationJSON as json.
func (GetDubbedTranscriptFileNotFoundApplicationJSON) MarshalJSON ¶
func (s GetDubbedTranscriptFileNotFoundApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetDubbedTranscriptFileNotFoundApplicationJSON) UnmarshalJSON ¶
func (s *GetDubbedTranscriptFileNotFoundApplicationJSON) UnmarshalJSON(data []byte) error
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 ¶
func (s *GetDubbedTranscriptFileOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes GetDubbedTranscriptFileOKApplicationJSON from json.
func (GetDubbedTranscriptFileOKApplicationJSON) Encode ¶
func (s GetDubbedTranscriptFileOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s GetDubbedTranscriptFileOKApplicationJSON) GetString() (v string, ok bool)
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 ¶
func (s GetDubbedTranscriptFileOKApplicationJSON) IsString() bool
IsString reports whether GetDubbedTranscriptFileOKApplicationJSON is string.
func (GetDubbedTranscriptFileOKApplicationJSON) MarshalJSON ¶
func (s GetDubbedTranscriptFileOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetDubbedTranscriptFileOKApplicationJSON) SetDubbingTranscriptResponseModel ¶
func (s *GetDubbedTranscriptFileOKApplicationJSON) SetDubbingTranscriptResponseModel(v DubbingTranscriptResponseModel)
SetDubbingTranscriptResponseModel sets GetDubbedTranscriptFileOKApplicationJSON to DubbingTranscriptResponseModel.
func (*GetDubbedTranscriptFileOKApplicationJSON) SetString ¶
func (s *GetDubbedTranscriptFileOKApplicationJSON) SetString(v string)
SetString sets GetDubbedTranscriptFileOKApplicationJSON to string.
func (*GetDubbedTranscriptFileOKApplicationJSON) UnmarshalJSON ¶
func (s *GetDubbedTranscriptFileOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetDubbedTranscriptFileOKApplicationJSON) Validate ¶
func (s GetDubbedTranscriptFileOKApplicationJSON) Validate() error
type GetDubbedTranscriptFileOKApplicationJSONType ¶
type GetDubbedTranscriptFileOKApplicationJSONType string
GetDubbedTranscriptFileOKApplicationJSONType is oneOf type of GetDubbedTranscriptFileOKApplicationJSON.
const ( DubbingTranscriptResponseModelGetDubbedTranscriptFileOKApplicationJSON GetDubbedTranscriptFileOKApplicationJSONType = "DubbingTranscriptResponseModel" StringGetDubbedTranscriptFileOKApplicationJSON GetDubbedTranscriptFileOKApplicationJSONType = "string" )
Possible values for GetDubbedTranscriptFileOKApplicationJSONType.
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 ¶
func (*GetDubbedTranscriptFileTooEarlyApplicationJSON) Decode ¶
func (s *GetDubbedTranscriptFileTooEarlyApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes GetDubbedTranscriptFileTooEarlyApplicationJSON from json.
func (GetDubbedTranscriptFileTooEarlyApplicationJSON) Encode ¶
func (s GetDubbedTranscriptFileTooEarlyApplicationJSON) Encode(e *jx.Encoder)
Encode encodes GetDubbedTranscriptFileTooEarlyApplicationJSON as json.
func (GetDubbedTranscriptFileTooEarlyApplicationJSON) MarshalJSON ¶
func (s GetDubbedTranscriptFileTooEarlyApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetDubbedTranscriptFileTooEarlyApplicationJSON) UnmarshalJSON ¶
func (s *GetDubbedTranscriptFileTooEarlyApplicationJSON) UnmarshalJSON(data []byte) error
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 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 ¶
func (s *GetKnowledgeBaseDependentAgentsResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseDependentAgentsResponseModel from json.
func (*GetKnowledgeBaseDependentAgentsResponseModel) Encode ¶
func (s *GetKnowledgeBaseDependentAgentsResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetKnowledgeBaseDependentAgentsResponseModel) GetAgents ¶
func (s *GetKnowledgeBaseDependentAgentsResponseModel) GetAgents() []GetKnowledgeBaseDependentAgentsResponseModelAgentsItem
GetAgents returns the value of Agents.
func (*GetKnowledgeBaseDependentAgentsResponseModel) GetHasMore ¶
func (s *GetKnowledgeBaseDependentAgentsResponseModel) GetHasMore() bool
GetHasMore returns the value of HasMore.
func (*GetKnowledgeBaseDependentAgentsResponseModel) GetNextCursor ¶
func (s *GetKnowledgeBaseDependentAgentsResponseModel) GetNextCursor() OptNilString
GetNextCursor returns the value of NextCursor.
func (*GetKnowledgeBaseDependentAgentsResponseModel) MarshalJSON ¶
func (s *GetKnowledgeBaseDependentAgentsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKnowledgeBaseDependentAgentsResponseModel) SetAgents ¶
func (s *GetKnowledgeBaseDependentAgentsResponseModel) SetAgents(val []GetKnowledgeBaseDependentAgentsResponseModelAgentsItem)
SetAgents sets the value of Agents.
func (*GetKnowledgeBaseDependentAgentsResponseModel) SetHasMore ¶
func (s *GetKnowledgeBaseDependentAgentsResponseModel) SetHasMore(val bool)
SetHasMore sets the value of HasMore.
func (*GetKnowledgeBaseDependentAgentsResponseModel) SetNextCursor ¶
func (s *GetKnowledgeBaseDependentAgentsResponseModel) SetNextCursor(val OptNilString)
SetNextCursor sets the value of NextCursor.
func (*GetKnowledgeBaseDependentAgentsResponseModel) UnmarshalJSON ¶
func (s *GetKnowledgeBaseDependentAgentsResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetKnowledgeBaseDependentAgentsResponseModel) Validate ¶
func (s *GetKnowledgeBaseDependentAgentsResponseModel) Validate() error
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 ¶
func (s *GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseDependentAgentsResponseModelAgentsItem from json.
func (GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) Encode ¶
func (s GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) Encode(e *jx.Encoder)
Encode encodes GetKnowledgeBaseDependentAgentsResponseModelAgentsItem as json.
func (GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) GetDependentAvailableAgentIdentifier ¶
func (s GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) GetDependentAvailableAgentIdentifier() (v DependentAvailableAgentIdentifier, ok bool)
GetDependentAvailableAgentIdentifier returns DependentAvailableAgentIdentifier and true boolean if GetKnowledgeBaseDependentAgentsResponseModelAgentsItem is DependentAvailableAgentIdentifier.
func (GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) GetDependentUnknownAgentIdentifier ¶
func (s GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) GetDependentUnknownAgentIdentifier() (v DependentUnknownAgentIdentifier, ok bool)
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 ¶
func (s GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) SetDependentAvailableAgentIdentifier ¶
func (s *GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) SetDependentAvailableAgentIdentifier(v DependentAvailableAgentIdentifier)
SetDependentAvailableAgentIdentifier sets GetKnowledgeBaseDependentAgentsResponseModelAgentsItem to DependentAvailableAgentIdentifier.
func (*GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) SetDependentUnknownAgentIdentifier ¶
func (s *GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) SetDependentUnknownAgentIdentifier(v DependentUnknownAgentIdentifier)
SetDependentUnknownAgentIdentifier sets GetKnowledgeBaseDependentAgentsResponseModelAgentsItem to DependentUnknownAgentIdentifier.
func (*GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) UnmarshalJSON ¶
func (s *GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) Validate ¶
func (s GetKnowledgeBaseDependentAgentsResponseModelAgentsItem) Validate() error
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 ¶
func (s *GetKnowledgeBaseFileResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseFileResponseModel from json.
func (*GetKnowledgeBaseFileResponseModel) Encode ¶
func (s *GetKnowledgeBaseFileResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetKnowledgeBaseFileResponseModel) GetAccessInfo ¶
func (s *GetKnowledgeBaseFileResponseModel) GetAccessInfo() ResourceAccessInfo
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 ¶
func (s *GetKnowledgeBaseFileResponseModel) GetFolderPath() []KnowledgeBaseFolderPathSegmentResponseModel
GetFolderPath returns the value of FolderPath.
func (*GetKnowledgeBaseFileResponseModel) GetID ¶
func (s *GetKnowledgeBaseFileResponseModel) GetID() string
GetID returns the value of ID.
func (*GetKnowledgeBaseFileResponseModel) GetMetadata ¶
func (s *GetKnowledgeBaseFileResponseModel) GetMetadata() KnowledgeBaseDocumentMetadataResponseModel
GetMetadata returns the value of Metadata.
func (*GetKnowledgeBaseFileResponseModel) GetName ¶
func (s *GetKnowledgeBaseFileResponseModel) GetName() string
GetName returns the value of Name.
func (*GetKnowledgeBaseFileResponseModel) GetSupportedUsages ¶
func (s *GetKnowledgeBaseFileResponseModel) GetSupportedUsages() []DocumentUsageModeEnum
GetSupportedUsages returns the value of SupportedUsages.
func (*GetKnowledgeBaseFileResponseModel) GetType ¶
func (s *GetKnowledgeBaseFileResponseModel) GetType() GetKnowledgeBaseFileResponseModelType
GetType returns the value of Type.
func (*GetKnowledgeBaseFileResponseModel) MarshalJSON ¶
func (s *GetKnowledgeBaseFileResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKnowledgeBaseFileResponseModel) SetAccessInfo ¶
func (s *GetKnowledgeBaseFileResponseModel) SetAccessInfo(val ResourceAccessInfo)
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 ¶
func (s *GetKnowledgeBaseFileResponseModel) SetFolderPath(val []KnowledgeBaseFolderPathSegmentResponseModel)
SetFolderPath sets the value of FolderPath.
func (*GetKnowledgeBaseFileResponseModel) SetID ¶
func (s *GetKnowledgeBaseFileResponseModel) SetID(val string)
SetID sets the value of ID.
func (*GetKnowledgeBaseFileResponseModel) SetMetadata ¶
func (s *GetKnowledgeBaseFileResponseModel) SetMetadata(val KnowledgeBaseDocumentMetadataResponseModel)
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 ¶
func (s *GetKnowledgeBaseFileResponseModel) SetType(val GetKnowledgeBaseFileResponseModelType)
SetType sets the value of Type.
func (*GetKnowledgeBaseFileResponseModel) UnmarshalJSON ¶
func (s *GetKnowledgeBaseFileResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetKnowledgeBaseFileResponseModel) Validate ¶
func (s *GetKnowledgeBaseFileResponseModel) Validate() error
type GetKnowledgeBaseFileResponseModelType ¶
type GetKnowledgeBaseFileResponseModelType string
const (
GetKnowledgeBaseFileResponseModelTypeFile GetKnowledgeBaseFileResponseModelType = "file"
)
func (GetKnowledgeBaseFileResponseModelType) AllValues ¶
func (GetKnowledgeBaseFileResponseModelType) AllValues() []GetKnowledgeBaseFileResponseModelType
AllValues returns all GetKnowledgeBaseFileResponseModelType values.
func (*GetKnowledgeBaseFileResponseModelType) Decode ¶
func (s *GetKnowledgeBaseFileResponseModelType) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseFileResponseModelType from json.
func (GetKnowledgeBaseFileResponseModelType) Encode ¶
func (s GetKnowledgeBaseFileResponseModelType) Encode(e *jx.Encoder)
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 ¶
func (s GetKnowledgeBaseFileResponseModelType) Validate() error
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 ¶
func (s *GetKnowledgeBaseFolderResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseFolderResponseModel from json.
func (*GetKnowledgeBaseFolderResponseModel) Encode ¶
func (s *GetKnowledgeBaseFolderResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetKnowledgeBaseFolderResponseModel) GetAccessInfo ¶
func (s *GetKnowledgeBaseFolderResponseModel) GetAccessInfo() ResourceAccessInfo
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 ¶
func (s *GetKnowledgeBaseFolderResponseModel) GetFolderPath() []KnowledgeBaseFolderPathSegmentResponseModel
GetFolderPath returns the value of FolderPath.
func (*GetKnowledgeBaseFolderResponseModel) GetID ¶
func (s *GetKnowledgeBaseFolderResponseModel) GetID() string
GetID returns the value of ID.
func (*GetKnowledgeBaseFolderResponseModel) GetMetadata ¶
func (s *GetKnowledgeBaseFolderResponseModel) GetMetadata() KnowledgeBaseDocumentMetadataResponseModel
GetMetadata returns the value of Metadata.
func (*GetKnowledgeBaseFolderResponseModel) GetName ¶
func (s *GetKnowledgeBaseFolderResponseModel) GetName() string
GetName returns the value of Name.
func (*GetKnowledgeBaseFolderResponseModel) GetSupportedUsages ¶
func (s *GetKnowledgeBaseFolderResponseModel) GetSupportedUsages() []DocumentUsageModeEnum
GetSupportedUsages returns the value of SupportedUsages.
func (*GetKnowledgeBaseFolderResponseModel) GetType ¶
func (s *GetKnowledgeBaseFolderResponseModel) GetType() GetKnowledgeBaseFolderResponseModelType
GetType returns the value of Type.
func (*GetKnowledgeBaseFolderResponseModel) MarshalJSON ¶
func (s *GetKnowledgeBaseFolderResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKnowledgeBaseFolderResponseModel) SetAccessInfo ¶
func (s *GetKnowledgeBaseFolderResponseModel) SetAccessInfo(val ResourceAccessInfo)
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 ¶
func (s *GetKnowledgeBaseFolderResponseModel) SetFolderPath(val []KnowledgeBaseFolderPathSegmentResponseModel)
SetFolderPath sets the value of FolderPath.
func (*GetKnowledgeBaseFolderResponseModel) SetID ¶
func (s *GetKnowledgeBaseFolderResponseModel) SetID(val string)
SetID sets the value of ID.
func (*GetKnowledgeBaseFolderResponseModel) SetMetadata ¶
func (s *GetKnowledgeBaseFolderResponseModel) SetMetadata(val KnowledgeBaseDocumentMetadataResponseModel)
SetMetadata sets the value of Metadata.
func (*GetKnowledgeBaseFolderResponseModel) SetName ¶
func (s *GetKnowledgeBaseFolderResponseModel) SetName(val string)
SetName sets the value of Name.
func (*GetKnowledgeBaseFolderResponseModel) SetSupportedUsages ¶
func (s *GetKnowledgeBaseFolderResponseModel) SetSupportedUsages(val []DocumentUsageModeEnum)
SetSupportedUsages sets the value of SupportedUsages.
func (*GetKnowledgeBaseFolderResponseModel) SetType ¶
func (s *GetKnowledgeBaseFolderResponseModel) SetType(val GetKnowledgeBaseFolderResponseModelType)
SetType sets the value of Type.
func (*GetKnowledgeBaseFolderResponseModel) UnmarshalJSON ¶
func (s *GetKnowledgeBaseFolderResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetKnowledgeBaseFolderResponseModel) Validate ¶
func (s *GetKnowledgeBaseFolderResponseModel) Validate() error
type GetKnowledgeBaseFolderResponseModelType ¶
type GetKnowledgeBaseFolderResponseModelType string
const (
GetKnowledgeBaseFolderResponseModelTypeFolder GetKnowledgeBaseFolderResponseModelType = "folder"
)
func (GetKnowledgeBaseFolderResponseModelType) AllValues ¶
func (GetKnowledgeBaseFolderResponseModelType) AllValues() []GetKnowledgeBaseFolderResponseModelType
AllValues returns all GetKnowledgeBaseFolderResponseModelType values.
func (*GetKnowledgeBaseFolderResponseModelType) Decode ¶
func (s *GetKnowledgeBaseFolderResponseModelType) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseFolderResponseModelType from json.
func (GetKnowledgeBaseFolderResponseModelType) Encode ¶
func (s GetKnowledgeBaseFolderResponseModelType) Encode(e *jx.Encoder)
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 ¶
func (s GetKnowledgeBaseFolderResponseModelType) Validate() error
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 ¶
func (s *GetKnowledgeBaseListResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseListResponseModel from json.
func (*GetKnowledgeBaseListResponseModel) Encode ¶
func (s *GetKnowledgeBaseListResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetKnowledgeBaseListResponseModel) GetDocuments ¶
func (s *GetKnowledgeBaseListResponseModel) GetDocuments() []GetKnowledgeBaseListResponseModelDocumentsItem
GetDocuments returns the value of Documents.
func (*GetKnowledgeBaseListResponseModel) GetHasMore ¶
func (s *GetKnowledgeBaseListResponseModel) GetHasMore() bool
GetHasMore returns the value of HasMore.
func (*GetKnowledgeBaseListResponseModel) GetNextCursor ¶
func (s *GetKnowledgeBaseListResponseModel) GetNextCursor() OptNilString
GetNextCursor returns the value of NextCursor.
func (*GetKnowledgeBaseListResponseModel) MarshalJSON ¶
func (s *GetKnowledgeBaseListResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKnowledgeBaseListResponseModel) SetDocuments ¶
func (s *GetKnowledgeBaseListResponseModel) SetDocuments(val []GetKnowledgeBaseListResponseModelDocumentsItem)
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 ¶
func (s *GetKnowledgeBaseListResponseModel) Validate() error
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 ¶
func (s *GetKnowledgeBaseListResponseModelDocumentsItem) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseListResponseModelDocumentsItem from json.
func (GetKnowledgeBaseListResponseModelDocumentsItem) Encode ¶
func (s GetKnowledgeBaseListResponseModelDocumentsItem) Encode(e *jx.Encoder)
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 ¶
func (s GetKnowledgeBaseListResponseModelDocumentsItem) MarshalJSON() ([]byte, error)
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 ¶
func (s *GetKnowledgeBaseListResponseModelDocumentsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetKnowledgeBaseListResponseModelDocumentsItem) Validate ¶
func (s GetKnowledgeBaseListResponseModelDocumentsItem) Validate() error
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 ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseSummaryFileResponseModel from json.
func (*GetKnowledgeBaseSummaryFileResponseModel) Encode ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetKnowledgeBaseSummaryFileResponseModel) GetAccessInfo ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) GetAccessInfo() ResourceAccessInfo
GetAccessInfo returns the value of AccessInfo.
func (*GetKnowledgeBaseSummaryFileResponseModel) GetDependentAgents ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) GetDependentAgents() []GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem
GetDependentAgents returns the value of DependentAgents.
func (*GetKnowledgeBaseSummaryFileResponseModel) GetFolderParentID ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) GetFolderParentID() OptNilString
GetFolderParentID returns the value of FolderParentID.
func (*GetKnowledgeBaseSummaryFileResponseModel) GetID ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) GetID() string
GetID returns the value of ID.
func (*GetKnowledgeBaseSummaryFileResponseModel) GetMetadata ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) GetMetadata() KnowledgeBaseDocumentMetadataResponseModel
GetMetadata returns the value of Metadata.
func (*GetKnowledgeBaseSummaryFileResponseModel) GetName ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) GetName() string
GetName returns the value of Name.
func (*GetKnowledgeBaseSummaryFileResponseModel) GetSupportedUsages ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) GetSupportedUsages() []DocumentUsageModeEnum
GetSupportedUsages returns the value of SupportedUsages.
func (*GetKnowledgeBaseSummaryFileResponseModel) GetType ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) GetType() GetKnowledgeBaseSummaryFileResponseModelType
GetType returns the value of Type.
func (*GetKnowledgeBaseSummaryFileResponseModel) MarshalJSON ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKnowledgeBaseSummaryFileResponseModel) SetAccessInfo ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) SetAccessInfo(val ResourceAccessInfo)
SetAccessInfo sets the value of AccessInfo.
func (*GetKnowledgeBaseSummaryFileResponseModel) SetDependentAgents ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) SetDependentAgents(val []GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem)
SetDependentAgents sets the value of DependentAgents.
func (*GetKnowledgeBaseSummaryFileResponseModel) SetFolderParentID ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) SetFolderParentID(val OptNilString)
SetFolderParentID sets the value of FolderParentID.
func (*GetKnowledgeBaseSummaryFileResponseModel) SetID ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) SetID(val string)
SetID sets the value of ID.
func (*GetKnowledgeBaseSummaryFileResponseModel) SetMetadata ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) SetMetadata(val KnowledgeBaseDocumentMetadataResponseModel)
SetMetadata sets the value of Metadata.
func (*GetKnowledgeBaseSummaryFileResponseModel) SetName ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) SetName(val string)
SetName sets the value of Name.
func (*GetKnowledgeBaseSummaryFileResponseModel) SetSupportedUsages ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) SetSupportedUsages(val []DocumentUsageModeEnum)
SetSupportedUsages sets the value of SupportedUsages.
func (*GetKnowledgeBaseSummaryFileResponseModel) SetType ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) SetType(val GetKnowledgeBaseSummaryFileResponseModelType)
SetType sets the value of Type.
func (*GetKnowledgeBaseSummaryFileResponseModel) UnmarshalJSON ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetKnowledgeBaseSummaryFileResponseModel) Validate ¶
func (s *GetKnowledgeBaseSummaryFileResponseModel) Validate() error
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 ¶
func (s *GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem from json.
func (GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) Encode ¶
func (s GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) Encode(e *jx.Encoder)
Encode encodes GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem as json.
func (GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) GetDependentAvailableAgentIdentifier ¶
func (s GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) GetDependentAvailableAgentIdentifier() (v DependentAvailableAgentIdentifier, ok bool)
GetDependentAvailableAgentIdentifier returns DependentAvailableAgentIdentifier and true boolean if GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem is DependentAvailableAgentIdentifier.
func (GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) GetDependentUnknownAgentIdentifier ¶
func (s GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) GetDependentUnknownAgentIdentifier() (v DependentUnknownAgentIdentifier, ok bool)
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 ¶
func (s GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) SetDependentAvailableAgentIdentifier ¶
func (s *GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) SetDependentAvailableAgentIdentifier(v DependentAvailableAgentIdentifier)
SetDependentAvailableAgentIdentifier sets GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem to DependentAvailableAgentIdentifier.
func (*GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) SetDependentUnknownAgentIdentifier ¶
func (s *GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) SetDependentUnknownAgentIdentifier(v DependentUnknownAgentIdentifier)
SetDependentUnknownAgentIdentifier sets GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem to DependentUnknownAgentIdentifier.
func (*GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) UnmarshalJSON ¶
func (s *GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) Validate ¶
func (s GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem) Validate() error
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 ¶
func (GetKnowledgeBaseSummaryFileResponseModelType) AllValues() []GetKnowledgeBaseSummaryFileResponseModelType
AllValues returns all GetKnowledgeBaseSummaryFileResponseModelType values.
func (*GetKnowledgeBaseSummaryFileResponseModelType) Decode ¶
func (s *GetKnowledgeBaseSummaryFileResponseModelType) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseSummaryFileResponseModelType from json.
func (GetKnowledgeBaseSummaryFileResponseModelType) Encode ¶
func (s GetKnowledgeBaseSummaryFileResponseModelType) Encode(e *jx.Encoder)
Encode encodes GetKnowledgeBaseSummaryFileResponseModelType as json.
func (GetKnowledgeBaseSummaryFileResponseModelType) MarshalJSON ¶
func (s GetKnowledgeBaseSummaryFileResponseModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GetKnowledgeBaseSummaryFileResponseModelType) MarshalText ¶
func (s GetKnowledgeBaseSummaryFileResponseModelType) MarshalText() ([]byte, error)
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 ¶
func (s GetKnowledgeBaseSummaryFileResponseModelType) Validate() error
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 ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseSummaryFolderResponseModel from json.
func (*GetKnowledgeBaseSummaryFolderResponseModel) Encode ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetKnowledgeBaseSummaryFolderResponseModel) GetAccessInfo ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetAccessInfo() ResourceAccessInfo
GetAccessInfo returns the value of AccessInfo.
func (*GetKnowledgeBaseSummaryFolderResponseModel) GetChildrenCount ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetChildrenCount() int
GetChildrenCount returns the value of ChildrenCount.
func (*GetKnowledgeBaseSummaryFolderResponseModel) GetDependentAgents ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetDependentAgents() []GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem
GetDependentAgents returns the value of DependentAgents.
func (*GetKnowledgeBaseSummaryFolderResponseModel) GetFolderParentID ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetFolderParentID() OptNilString
GetFolderParentID returns the value of FolderParentID.
func (*GetKnowledgeBaseSummaryFolderResponseModel) GetID ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetID() string
GetID returns the value of ID.
func (*GetKnowledgeBaseSummaryFolderResponseModel) GetMetadata ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetMetadata() KnowledgeBaseDocumentMetadataResponseModel
GetMetadata returns the value of Metadata.
func (*GetKnowledgeBaseSummaryFolderResponseModel) GetName ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetName() string
GetName returns the value of Name.
func (*GetKnowledgeBaseSummaryFolderResponseModel) GetSupportedUsages ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetSupportedUsages() []DocumentUsageModeEnum
GetSupportedUsages returns the value of SupportedUsages.
func (*GetKnowledgeBaseSummaryFolderResponseModel) GetType ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) GetType() GetKnowledgeBaseSummaryFolderResponseModelType
GetType returns the value of Type.
func (*GetKnowledgeBaseSummaryFolderResponseModel) MarshalJSON ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKnowledgeBaseSummaryFolderResponseModel) SetAccessInfo ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetAccessInfo(val ResourceAccessInfo)
SetAccessInfo sets the value of AccessInfo.
func (*GetKnowledgeBaseSummaryFolderResponseModel) SetChildrenCount ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetChildrenCount(val int)
SetChildrenCount sets the value of ChildrenCount.
func (*GetKnowledgeBaseSummaryFolderResponseModel) SetDependentAgents ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetDependentAgents(val []GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem)
SetDependentAgents sets the value of DependentAgents.
func (*GetKnowledgeBaseSummaryFolderResponseModel) SetFolderParentID ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetFolderParentID(val OptNilString)
SetFolderParentID sets the value of FolderParentID.
func (*GetKnowledgeBaseSummaryFolderResponseModel) SetID ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetID(val string)
SetID sets the value of ID.
func (*GetKnowledgeBaseSummaryFolderResponseModel) SetMetadata ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetMetadata(val KnowledgeBaseDocumentMetadataResponseModel)
SetMetadata sets the value of Metadata.
func (*GetKnowledgeBaseSummaryFolderResponseModel) SetName ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetName(val string)
SetName sets the value of Name.
func (*GetKnowledgeBaseSummaryFolderResponseModel) SetSupportedUsages ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetSupportedUsages(val []DocumentUsageModeEnum)
SetSupportedUsages sets the value of SupportedUsages.
func (*GetKnowledgeBaseSummaryFolderResponseModel) SetType ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) SetType(val GetKnowledgeBaseSummaryFolderResponseModelType)
SetType sets the value of Type.
func (*GetKnowledgeBaseSummaryFolderResponseModel) UnmarshalJSON ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetKnowledgeBaseSummaryFolderResponseModel) Validate ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModel) Validate() error
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 ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem from json.
func (GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) Encode ¶
func (s GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) Encode(e *jx.Encoder)
Encode encodes GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem as json.
func (GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) GetDependentAvailableAgentIdentifier ¶
func (s GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) GetDependentAvailableAgentIdentifier() (v DependentAvailableAgentIdentifier, ok bool)
GetDependentAvailableAgentIdentifier returns DependentAvailableAgentIdentifier and true boolean if GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem is DependentAvailableAgentIdentifier.
func (GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) GetDependentUnknownAgentIdentifier ¶
func (s GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) GetDependentUnknownAgentIdentifier() (v DependentUnknownAgentIdentifier, ok bool)
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 ¶
func (s GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) SetDependentAvailableAgentIdentifier ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) SetDependentAvailableAgentIdentifier(v DependentAvailableAgentIdentifier)
SetDependentAvailableAgentIdentifier sets GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem to DependentAvailableAgentIdentifier.
func (*GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) SetDependentUnknownAgentIdentifier ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) SetDependentUnknownAgentIdentifier(v DependentUnknownAgentIdentifier)
SetDependentUnknownAgentIdentifier sets GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem to DependentUnknownAgentIdentifier.
func (*GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) UnmarshalJSON ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) Validate ¶
func (s GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem) Validate() error
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 ¶
func (GetKnowledgeBaseSummaryFolderResponseModelType) AllValues() []GetKnowledgeBaseSummaryFolderResponseModelType
AllValues returns all GetKnowledgeBaseSummaryFolderResponseModelType values.
func (*GetKnowledgeBaseSummaryFolderResponseModelType) Decode ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModelType) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseSummaryFolderResponseModelType from json.
func (GetKnowledgeBaseSummaryFolderResponseModelType) Encode ¶
func (s GetKnowledgeBaseSummaryFolderResponseModelType) Encode(e *jx.Encoder)
Encode encodes GetKnowledgeBaseSummaryFolderResponseModelType as json.
func (GetKnowledgeBaseSummaryFolderResponseModelType) MarshalJSON ¶
func (s GetKnowledgeBaseSummaryFolderResponseModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GetKnowledgeBaseSummaryFolderResponseModelType) MarshalText ¶
func (s GetKnowledgeBaseSummaryFolderResponseModelType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GetKnowledgeBaseSummaryFolderResponseModelType) UnmarshalJSON ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModelType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetKnowledgeBaseSummaryFolderResponseModelType) UnmarshalText ¶
func (s *GetKnowledgeBaseSummaryFolderResponseModelType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GetKnowledgeBaseSummaryFolderResponseModelType) Validate ¶
func (s GetKnowledgeBaseSummaryFolderResponseModelType) Validate() error
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 ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseSummaryTextResponseModel from json.
func (*GetKnowledgeBaseSummaryTextResponseModel) Encode ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetKnowledgeBaseSummaryTextResponseModel) GetAccessInfo ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) GetAccessInfo() ResourceAccessInfo
GetAccessInfo returns the value of AccessInfo.
func (*GetKnowledgeBaseSummaryTextResponseModel) GetDependentAgents ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) GetDependentAgents() []GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem
GetDependentAgents returns the value of DependentAgents.
func (*GetKnowledgeBaseSummaryTextResponseModel) GetFolderParentID ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) GetFolderParentID() OptNilString
GetFolderParentID returns the value of FolderParentID.
func (*GetKnowledgeBaseSummaryTextResponseModel) GetID ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) GetID() string
GetID returns the value of ID.
func (*GetKnowledgeBaseSummaryTextResponseModel) GetMetadata ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) GetMetadata() KnowledgeBaseDocumentMetadataResponseModel
GetMetadata returns the value of Metadata.
func (*GetKnowledgeBaseSummaryTextResponseModel) GetName ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) GetName() string
GetName returns the value of Name.
func (*GetKnowledgeBaseSummaryTextResponseModel) GetSupportedUsages ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) GetSupportedUsages() []DocumentUsageModeEnum
GetSupportedUsages returns the value of SupportedUsages.
func (*GetKnowledgeBaseSummaryTextResponseModel) GetType ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) GetType() GetKnowledgeBaseSummaryTextResponseModelType
GetType returns the value of Type.
func (*GetKnowledgeBaseSummaryTextResponseModel) MarshalJSON ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKnowledgeBaseSummaryTextResponseModel) SetAccessInfo ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) SetAccessInfo(val ResourceAccessInfo)
SetAccessInfo sets the value of AccessInfo.
func (*GetKnowledgeBaseSummaryTextResponseModel) SetDependentAgents ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) SetDependentAgents(val []GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem)
SetDependentAgents sets the value of DependentAgents.
func (*GetKnowledgeBaseSummaryTextResponseModel) SetFolderParentID ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) SetFolderParentID(val OptNilString)
SetFolderParentID sets the value of FolderParentID.
func (*GetKnowledgeBaseSummaryTextResponseModel) SetID ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) SetID(val string)
SetID sets the value of ID.
func (*GetKnowledgeBaseSummaryTextResponseModel) SetMetadata ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) SetMetadata(val KnowledgeBaseDocumentMetadataResponseModel)
SetMetadata sets the value of Metadata.
func (*GetKnowledgeBaseSummaryTextResponseModel) SetName ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) SetName(val string)
SetName sets the value of Name.
func (*GetKnowledgeBaseSummaryTextResponseModel) SetSupportedUsages ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) SetSupportedUsages(val []DocumentUsageModeEnum)
SetSupportedUsages sets the value of SupportedUsages.
func (*GetKnowledgeBaseSummaryTextResponseModel) SetType ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) SetType(val GetKnowledgeBaseSummaryTextResponseModelType)
SetType sets the value of Type.
func (*GetKnowledgeBaseSummaryTextResponseModel) UnmarshalJSON ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetKnowledgeBaseSummaryTextResponseModel) Validate ¶
func (s *GetKnowledgeBaseSummaryTextResponseModel) Validate() error
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 ¶
func (s *GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem from json.
func (GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) Encode ¶
func (s GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) Encode(e *jx.Encoder)
Encode encodes GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem as json.
func (GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) GetDependentAvailableAgentIdentifier ¶
func (s GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) GetDependentAvailableAgentIdentifier() (v DependentAvailableAgentIdentifier, ok bool)
GetDependentAvailableAgentIdentifier returns DependentAvailableAgentIdentifier and true boolean if GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem is DependentAvailableAgentIdentifier.
func (GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) GetDependentUnknownAgentIdentifier ¶
func (s GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) GetDependentUnknownAgentIdentifier() (v DependentUnknownAgentIdentifier, ok bool)
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 ¶
func (s GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) SetDependentAvailableAgentIdentifier ¶
func (s *GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) SetDependentAvailableAgentIdentifier(v DependentAvailableAgentIdentifier)
SetDependentAvailableAgentIdentifier sets GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem to DependentAvailableAgentIdentifier.
func (*GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) SetDependentUnknownAgentIdentifier ¶
func (s *GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) SetDependentUnknownAgentIdentifier(v DependentUnknownAgentIdentifier)
SetDependentUnknownAgentIdentifier sets GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem to DependentUnknownAgentIdentifier.
func (*GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) UnmarshalJSON ¶
func (s *GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) Validate ¶
func (s GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem) Validate() error
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 ¶
func (GetKnowledgeBaseSummaryTextResponseModelType) AllValues() []GetKnowledgeBaseSummaryTextResponseModelType
AllValues returns all GetKnowledgeBaseSummaryTextResponseModelType values.
func (*GetKnowledgeBaseSummaryTextResponseModelType) Decode ¶
func (s *GetKnowledgeBaseSummaryTextResponseModelType) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseSummaryTextResponseModelType from json.
func (GetKnowledgeBaseSummaryTextResponseModelType) Encode ¶
func (s GetKnowledgeBaseSummaryTextResponseModelType) Encode(e *jx.Encoder)
Encode encodes GetKnowledgeBaseSummaryTextResponseModelType as json.
func (GetKnowledgeBaseSummaryTextResponseModelType) MarshalJSON ¶
func (s GetKnowledgeBaseSummaryTextResponseModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GetKnowledgeBaseSummaryTextResponseModelType) MarshalText ¶
func (s GetKnowledgeBaseSummaryTextResponseModelType) MarshalText() ([]byte, error)
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 ¶
func (s GetKnowledgeBaseSummaryTextResponseModelType) Validate() error
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 ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseSummaryURLResponseModel from json.
func (*GetKnowledgeBaseSummaryURLResponseModel) Encode ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetKnowledgeBaseSummaryURLResponseModel) GetAccessInfo ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) GetAccessInfo() ResourceAccessInfo
GetAccessInfo returns the value of AccessInfo.
func (*GetKnowledgeBaseSummaryURLResponseModel) GetDependentAgents ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) GetDependentAgents() []GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem
GetDependentAgents returns the value of DependentAgents.
func (*GetKnowledgeBaseSummaryURLResponseModel) GetFolderParentID ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) GetFolderParentID() OptNilString
GetFolderParentID returns the value of FolderParentID.
func (*GetKnowledgeBaseSummaryURLResponseModel) GetID ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) GetID() string
GetID returns the value of ID.
func (*GetKnowledgeBaseSummaryURLResponseModel) GetMetadata ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) GetMetadata() KnowledgeBaseDocumentMetadataResponseModel
GetMetadata returns the value of Metadata.
func (*GetKnowledgeBaseSummaryURLResponseModel) GetName ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) GetName() string
GetName returns the value of Name.
func (*GetKnowledgeBaseSummaryURLResponseModel) GetSupportedUsages ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) GetSupportedUsages() []DocumentUsageModeEnum
GetSupportedUsages returns the value of SupportedUsages.
func (*GetKnowledgeBaseSummaryURLResponseModel) GetType ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) GetType() GetKnowledgeBaseSummaryURLResponseModelType
GetType returns the value of Type.
func (*GetKnowledgeBaseSummaryURLResponseModel) GetURL ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) GetURL() string
GetURL returns the value of URL.
func (*GetKnowledgeBaseSummaryURLResponseModel) MarshalJSON ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKnowledgeBaseSummaryURLResponseModel) SetAccessInfo ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) SetAccessInfo(val ResourceAccessInfo)
SetAccessInfo sets the value of AccessInfo.
func (*GetKnowledgeBaseSummaryURLResponseModel) SetDependentAgents ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) SetDependentAgents(val []GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem)
SetDependentAgents sets the value of DependentAgents.
func (*GetKnowledgeBaseSummaryURLResponseModel) SetFolderParentID ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) SetFolderParentID(val OptNilString)
SetFolderParentID sets the value of FolderParentID.
func (*GetKnowledgeBaseSummaryURLResponseModel) SetID ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) SetID(val string)
SetID sets the value of ID.
func (*GetKnowledgeBaseSummaryURLResponseModel) SetMetadata ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) SetMetadata(val KnowledgeBaseDocumentMetadataResponseModel)
SetMetadata sets the value of Metadata.
func (*GetKnowledgeBaseSummaryURLResponseModel) SetName ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) SetName(val string)
SetName sets the value of Name.
func (*GetKnowledgeBaseSummaryURLResponseModel) SetSupportedUsages ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) SetSupportedUsages(val []DocumentUsageModeEnum)
SetSupportedUsages sets the value of SupportedUsages.
func (*GetKnowledgeBaseSummaryURLResponseModel) SetType ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) SetType(val GetKnowledgeBaseSummaryURLResponseModelType)
SetType sets the value of Type.
func (*GetKnowledgeBaseSummaryURLResponseModel) SetURL ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) SetURL(val string)
SetURL sets the value of URL.
func (*GetKnowledgeBaseSummaryURLResponseModel) UnmarshalJSON ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetKnowledgeBaseSummaryURLResponseModel) Validate ¶
func (s *GetKnowledgeBaseSummaryURLResponseModel) Validate() error
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 ¶
func (s *GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem from json.
func (GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) Encode ¶
func (s GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) Encode(e *jx.Encoder)
Encode encodes GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem as json.
func (GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) GetDependentAvailableAgentIdentifier ¶
func (s GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) GetDependentAvailableAgentIdentifier() (v DependentAvailableAgentIdentifier, ok bool)
GetDependentAvailableAgentIdentifier returns DependentAvailableAgentIdentifier and true boolean if GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem is DependentAvailableAgentIdentifier.
func (GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) GetDependentUnknownAgentIdentifier ¶
func (s GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) GetDependentUnknownAgentIdentifier() (v DependentUnknownAgentIdentifier, ok bool)
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 ¶
func (s GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) SetDependentAvailableAgentIdentifier ¶
func (s *GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) SetDependentAvailableAgentIdentifier(v DependentAvailableAgentIdentifier)
SetDependentAvailableAgentIdentifier sets GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem to DependentAvailableAgentIdentifier.
func (*GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) SetDependentUnknownAgentIdentifier ¶
func (s *GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) SetDependentUnknownAgentIdentifier(v DependentUnknownAgentIdentifier)
SetDependentUnknownAgentIdentifier sets GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem to DependentUnknownAgentIdentifier.
func (*GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) UnmarshalJSON ¶
func (s *GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) Validate ¶
func (s GetKnowledgeBaseSummaryURLResponseModelDependentAgentsItem) Validate() error
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 ¶
func (GetKnowledgeBaseSummaryURLResponseModelType) AllValues() []GetKnowledgeBaseSummaryURLResponseModelType
AllValues returns all GetKnowledgeBaseSummaryURLResponseModelType values.
func (*GetKnowledgeBaseSummaryURLResponseModelType) Decode ¶
func (s *GetKnowledgeBaseSummaryURLResponseModelType) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseSummaryURLResponseModelType from json.
func (GetKnowledgeBaseSummaryURLResponseModelType) Encode ¶
func (s GetKnowledgeBaseSummaryURLResponseModelType) Encode(e *jx.Encoder)
Encode encodes GetKnowledgeBaseSummaryURLResponseModelType as json.
func (GetKnowledgeBaseSummaryURLResponseModelType) MarshalJSON ¶
func (s GetKnowledgeBaseSummaryURLResponseModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GetKnowledgeBaseSummaryURLResponseModelType) MarshalText ¶
func (s GetKnowledgeBaseSummaryURLResponseModelType) MarshalText() ([]byte, error)
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 ¶
func (s GetKnowledgeBaseSummaryURLResponseModelType) Validate() error
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 ¶
func (s *GetKnowledgeBaseTextResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseTextResponseModel from json.
func (*GetKnowledgeBaseTextResponseModel) Encode ¶
func (s *GetKnowledgeBaseTextResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetKnowledgeBaseTextResponseModel) GetAccessInfo ¶
func (s *GetKnowledgeBaseTextResponseModel) GetAccessInfo() ResourceAccessInfo
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 ¶
func (s *GetKnowledgeBaseTextResponseModel) GetFolderPath() []KnowledgeBaseFolderPathSegmentResponseModel
GetFolderPath returns the value of FolderPath.
func (*GetKnowledgeBaseTextResponseModel) GetID ¶
func (s *GetKnowledgeBaseTextResponseModel) GetID() string
GetID returns the value of ID.
func (*GetKnowledgeBaseTextResponseModel) GetMetadata ¶
func (s *GetKnowledgeBaseTextResponseModel) GetMetadata() KnowledgeBaseDocumentMetadataResponseModel
GetMetadata returns the value of Metadata.
func (*GetKnowledgeBaseTextResponseModel) GetName ¶
func (s *GetKnowledgeBaseTextResponseModel) GetName() string
GetName returns the value of Name.
func (*GetKnowledgeBaseTextResponseModel) GetSupportedUsages ¶
func (s *GetKnowledgeBaseTextResponseModel) GetSupportedUsages() []DocumentUsageModeEnum
GetSupportedUsages returns the value of SupportedUsages.
func (*GetKnowledgeBaseTextResponseModel) GetType ¶
func (s *GetKnowledgeBaseTextResponseModel) GetType() GetKnowledgeBaseTextResponseModelType
GetType returns the value of Type.
func (*GetKnowledgeBaseTextResponseModel) MarshalJSON ¶
func (s *GetKnowledgeBaseTextResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKnowledgeBaseTextResponseModel) SetAccessInfo ¶
func (s *GetKnowledgeBaseTextResponseModel) SetAccessInfo(val ResourceAccessInfo)
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 ¶
func (s *GetKnowledgeBaseTextResponseModel) SetFolderPath(val []KnowledgeBaseFolderPathSegmentResponseModel)
SetFolderPath sets the value of FolderPath.
func (*GetKnowledgeBaseTextResponseModel) SetID ¶
func (s *GetKnowledgeBaseTextResponseModel) SetID(val string)
SetID sets the value of ID.
func (*GetKnowledgeBaseTextResponseModel) SetMetadata ¶
func (s *GetKnowledgeBaseTextResponseModel) SetMetadata(val KnowledgeBaseDocumentMetadataResponseModel)
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 ¶
func (s *GetKnowledgeBaseTextResponseModel) SetType(val GetKnowledgeBaseTextResponseModelType)
SetType sets the value of Type.
func (*GetKnowledgeBaseTextResponseModel) UnmarshalJSON ¶
func (s *GetKnowledgeBaseTextResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetKnowledgeBaseTextResponseModel) Validate ¶
func (s *GetKnowledgeBaseTextResponseModel) Validate() error
type GetKnowledgeBaseTextResponseModelType ¶
type GetKnowledgeBaseTextResponseModelType string
const (
GetKnowledgeBaseTextResponseModelTypeText GetKnowledgeBaseTextResponseModelType = "text"
)
func (GetKnowledgeBaseTextResponseModelType) AllValues ¶
func (GetKnowledgeBaseTextResponseModelType) AllValues() []GetKnowledgeBaseTextResponseModelType
AllValues returns all GetKnowledgeBaseTextResponseModelType values.
func (*GetKnowledgeBaseTextResponseModelType) Decode ¶
func (s *GetKnowledgeBaseTextResponseModelType) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseTextResponseModelType from json.
func (GetKnowledgeBaseTextResponseModelType) Encode ¶
func (s GetKnowledgeBaseTextResponseModelType) Encode(e *jx.Encoder)
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 ¶
func (s GetKnowledgeBaseTextResponseModelType) Validate() error
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 ¶
func (s *GetKnowledgeBaseURLResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseURLResponseModel from json.
func (*GetKnowledgeBaseURLResponseModel) Encode ¶
func (s *GetKnowledgeBaseURLResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetKnowledgeBaseURLResponseModel) GetAccessInfo ¶
func (s *GetKnowledgeBaseURLResponseModel) GetAccessInfo() ResourceAccessInfo
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 ¶
func (s *GetKnowledgeBaseURLResponseModel) GetFolderPath() []KnowledgeBaseFolderPathSegmentResponseModel
GetFolderPath returns the value of FolderPath.
func (*GetKnowledgeBaseURLResponseModel) GetID ¶
func (s *GetKnowledgeBaseURLResponseModel) GetID() string
GetID returns the value of ID.
func (*GetKnowledgeBaseURLResponseModel) GetMetadata ¶
func (s *GetKnowledgeBaseURLResponseModel) GetMetadata() KnowledgeBaseDocumentMetadataResponseModel
GetMetadata returns the value of Metadata.
func (*GetKnowledgeBaseURLResponseModel) GetName ¶
func (s *GetKnowledgeBaseURLResponseModel) GetName() string
GetName returns the value of Name.
func (*GetKnowledgeBaseURLResponseModel) GetSupportedUsages ¶
func (s *GetKnowledgeBaseURLResponseModel) GetSupportedUsages() []DocumentUsageModeEnum
GetSupportedUsages returns the value of SupportedUsages.
func (*GetKnowledgeBaseURLResponseModel) GetType ¶
func (s *GetKnowledgeBaseURLResponseModel) GetType() GetKnowledgeBaseURLResponseModelType
GetType returns the value of Type.
func (*GetKnowledgeBaseURLResponseModel) GetURL ¶
func (s *GetKnowledgeBaseURLResponseModel) GetURL() string
GetURL returns the value of URL.
func (*GetKnowledgeBaseURLResponseModel) MarshalJSON ¶
func (s *GetKnowledgeBaseURLResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKnowledgeBaseURLResponseModel) SetAccessInfo ¶
func (s *GetKnowledgeBaseURLResponseModel) SetAccessInfo(val ResourceAccessInfo)
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 ¶
func (s *GetKnowledgeBaseURLResponseModel) SetFolderPath(val []KnowledgeBaseFolderPathSegmentResponseModel)
SetFolderPath sets the value of FolderPath.
func (*GetKnowledgeBaseURLResponseModel) SetID ¶
func (s *GetKnowledgeBaseURLResponseModel) SetID(val string)
SetID sets the value of ID.
func (*GetKnowledgeBaseURLResponseModel) SetMetadata ¶
func (s *GetKnowledgeBaseURLResponseModel) SetMetadata(val KnowledgeBaseDocumentMetadataResponseModel)
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 ¶
func (s *GetKnowledgeBaseURLResponseModel) SetType(val GetKnowledgeBaseURLResponseModelType)
SetType sets the value of Type.
func (*GetKnowledgeBaseURLResponseModel) SetURL ¶
func (s *GetKnowledgeBaseURLResponseModel) SetURL(val string)
SetURL sets the value of URL.
func (*GetKnowledgeBaseURLResponseModel) UnmarshalJSON ¶
func (s *GetKnowledgeBaseURLResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetKnowledgeBaseURLResponseModel) Validate ¶
func (s *GetKnowledgeBaseURLResponseModel) Validate() error
type GetKnowledgeBaseURLResponseModelType ¶
type GetKnowledgeBaseURLResponseModelType string
const (
GetKnowledgeBaseURLResponseModelTypeURL GetKnowledgeBaseURLResponseModelType = "url"
)
func (GetKnowledgeBaseURLResponseModelType) AllValues ¶
func (GetKnowledgeBaseURLResponseModelType) AllValues() []GetKnowledgeBaseURLResponseModelType
AllValues returns all GetKnowledgeBaseURLResponseModelType values.
func (*GetKnowledgeBaseURLResponseModelType) Decode ¶
func (s *GetKnowledgeBaseURLResponseModelType) Decode(d *jx.Decoder) error
Decode decodes GetKnowledgeBaseURLResponseModelType from json.
func (GetKnowledgeBaseURLResponseModelType) Encode ¶
func (s GetKnowledgeBaseURLResponseModelType) Encode(e *jx.Encoder)
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 ¶
func (s GetKnowledgeBaseURLResponseModelType) Validate() error
type GetLibraryVoicesCategory ¶
type GetLibraryVoicesCategory string
Voice category used for filtering.
const ( GetLibraryVoicesCategoryProfessional GetLibraryVoicesCategory = "professional" GetLibraryVoicesCategoryFamous GetLibraryVoicesCategory = "famous" GetLibraryVoicesCategoryHighQuality GetLibraryVoicesCategory = "high_quality" )
func (GetLibraryVoicesCategory) AllValues ¶
func (GetLibraryVoicesCategory) AllValues() []GetLibraryVoicesCategory
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 ¶
func (s *GetLibraryVoicesResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetLibraryVoicesResponseModel from json.
func (*GetLibraryVoicesResponseModel) Encode ¶
func (s *GetLibraryVoicesResponseModel) Encode(e *jx.Encoder)
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 ¶
func (s *GetLibraryVoicesResponseModel) GetVoices() []LibraryVoiceResponseModel
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 ¶
func (s *GetLibraryVoicesResponseModel) SetVoices(val []LibraryVoiceResponseModel)
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 ¶
func (s *GetModelsOKApplicationJSON) Decode(d *jx.Decoder) error
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 ¶
func (s *GetOrCreateRAGIndexRequestModel) Decode(d *jx.Decoder) error
Decode decodes GetOrCreateRAGIndexRequestModel from json.
func (*GetOrCreateRAGIndexRequestModel) Encode ¶
func (s *GetOrCreateRAGIndexRequestModel) Encode(e *jx.Encoder)
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 ¶
func (s *GetOrCreateRAGIndexRequestModel) GetModel() EmbeddingModelEnum
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 ¶
func (s *GetOrCreateRAGIndexRequestModel) SetModel(val EmbeddingModelEnum)
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 ¶
func (s *GetOrCreateRagIndexesOKItem) Decode(d *jx.Decoder) error
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 ¶
func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetPhoneNumberInboundSIPTrunkConfigResponseModel from json.
func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) Encode ¶
func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetAllowedAddresses ¶
func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetAllowedAddresses() []string
GetAllowedAddresses returns the value of AllowedAddresses.
func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetAllowedNumbers ¶
func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetAllowedNumbers() []string
GetAllowedNumbers returns the value of AllowedNumbers.
func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetHasAuthCredentials ¶
func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetHasAuthCredentials() bool
GetHasAuthCredentials returns the value of HasAuthCredentials.
func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetMediaEncryption ¶
func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetMediaEncryption() SIPMediaEncryptionEnum
GetMediaEncryption returns the value of MediaEncryption.
func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetRemoteDomains ¶
func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetRemoteDomains() OptNilStringArray
GetRemoteDomains returns the value of RemoteDomains.
func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetUsername ¶
func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetUsername() OptNilString
GetUsername returns the value of Username.
func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) MarshalJSON ¶
func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) MarshalJSON() ([]byte, error)
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 ¶
func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetMediaEncryption(val SIPMediaEncryptionEnum)
SetMediaEncryption sets the value of MediaEncryption.
func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetRemoteDomains ¶
func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetRemoteDomains(val OptNilStringArray)
SetRemoteDomains sets the value of RemoteDomains.
func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetUsername ¶
func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) SetUsername(val OptNilString)
SetUsername sets the value of Username.
func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) UnmarshalJSON ¶
func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetPhoneNumberInboundSIPTrunkConfigResponseModel) Validate ¶
func (s *GetPhoneNumberInboundSIPTrunkConfigResponseModel) Validate() error
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 ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetPhoneNumberOutboundSIPTrunkConfigResponseModel from json.
func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) Encode ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetAddress ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetAddress() string
GetAddress returns the value of Address.
func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetHasAuthCredentials ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetHasAuthCredentials() bool
GetHasAuthCredentials returns the value of HasAuthCredentials.
func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetHasOutboundTrunk ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetHasOutboundTrunk() OptBool
GetHasOutboundTrunk returns the value of HasOutboundTrunk.
func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetHeaders ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetHeaders() OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders
GetHeaders returns the value of Headers.
func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetMediaEncryption ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetMediaEncryption() SIPMediaEncryptionEnum
GetMediaEncryption returns the value of MediaEncryption.
func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetTransport ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetTransport() SIPTrunkTransportEnum
GetTransport returns the value of Transport.
func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetUsername ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetUsername() OptNilString
GetUsername returns the value of Username.
func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) MarshalJSON ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetAddress ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetAddress(val string)
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 ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetHeaders(val OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders)
SetHeaders sets the value of Headers.
func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetMediaEncryption ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetMediaEncryption(val SIPMediaEncryptionEnum)
SetMediaEncryption sets the value of MediaEncryption.
func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetTransport ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetTransport(val SIPTrunkTransportEnum)
SetTransport sets the value of Transport.
func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetUsername ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetUsername(val OptNilString)
SetUsername sets the value of Username.
func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) UnmarshalJSON ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModel) Validate ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModel) Validate() error
type GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders ¶
SIP headers for INVITE request.
func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Decode ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Decode(d *jx.Decoder) error
Decode decodes GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders from json.
func (GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Encode ¶
func (s GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) MarshalJSON ¶
func (s GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) UnmarshalJSON ¶
func (s *GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) UnmarshalJSON(data []byte) error
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 ¶
func (s *GetPhoneNumberSIPTrunkResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetPhoneNumberSIPTrunkResponseModel from json.
func (*GetPhoneNumberSIPTrunkResponseModel) Encode ¶
func (s *GetPhoneNumberSIPTrunkResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetPhoneNumberSIPTrunkResponseModel) GetAssignedAgent ¶
func (s *GetPhoneNumberSIPTrunkResponseModel) GetAssignedAgent() OptPhoneNumberAgentInfo
GetAssignedAgent returns the value of AssignedAgent.
func (*GetPhoneNumberSIPTrunkResponseModel) GetInboundTrunk ¶
func (s *GetPhoneNumberSIPTrunkResponseModel) GetInboundTrunk() OptGetPhoneNumberInboundSIPTrunkConfigResponseModel
GetInboundTrunk returns the value of InboundTrunk.
func (*GetPhoneNumberSIPTrunkResponseModel) GetLabel ¶
func (s *GetPhoneNumberSIPTrunkResponseModel) GetLabel() string
GetLabel returns the value of Label.
func (*GetPhoneNumberSIPTrunkResponseModel) GetLivekitStack ¶
func (s *GetPhoneNumberSIPTrunkResponseModel) GetLivekitStack() LivekitStackType
GetLivekitStack returns the value of LivekitStack.
func (*GetPhoneNumberSIPTrunkResponseModel) GetOutboundTrunk ¶
func (s *GetPhoneNumberSIPTrunkResponseModel) GetOutboundTrunk() OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel
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 ¶
func (s *GetPhoneNumberSIPTrunkResponseModel) GetProvider() OptGetPhoneNumberSIPTrunkResponseModelProvider
GetProvider returns the value of Provider.
func (*GetPhoneNumberSIPTrunkResponseModel) GetProviderConfig ¶
func (s *GetPhoneNumberSIPTrunkResponseModel) GetProviderConfig() OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel
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 ¶
func (s *GetPhoneNumberSIPTrunkResponseModel) SetAssignedAgent(val OptPhoneNumberAgentInfo)
SetAssignedAgent sets the value of AssignedAgent.
func (*GetPhoneNumberSIPTrunkResponseModel) SetInboundTrunk ¶
func (s *GetPhoneNumberSIPTrunkResponseModel) SetInboundTrunk(val OptGetPhoneNumberInboundSIPTrunkConfigResponseModel)
SetInboundTrunk sets the value of InboundTrunk.
func (*GetPhoneNumberSIPTrunkResponseModel) SetLabel ¶
func (s *GetPhoneNumberSIPTrunkResponseModel) SetLabel(val string)
SetLabel sets the value of Label.
func (*GetPhoneNumberSIPTrunkResponseModel) SetLivekitStack ¶
func (s *GetPhoneNumberSIPTrunkResponseModel) SetLivekitStack(val LivekitStackType)
SetLivekitStack sets the value of LivekitStack.
func (*GetPhoneNumberSIPTrunkResponseModel) SetOutboundTrunk ¶
func (s *GetPhoneNumberSIPTrunkResponseModel) SetOutboundTrunk(val OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel)
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 ¶
func (s *GetPhoneNumberSIPTrunkResponseModel) SetProvider(val OptGetPhoneNumberSIPTrunkResponseModelProvider)
SetProvider sets the value of Provider.
func (*GetPhoneNumberSIPTrunkResponseModel) SetProviderConfig ¶
func (s *GetPhoneNumberSIPTrunkResponseModel) SetProviderConfig(val OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel)
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 ¶
func (s *GetPhoneNumberSIPTrunkResponseModel) Validate() error
type GetPhoneNumberSIPTrunkResponseModelProvider ¶
type GetPhoneNumberSIPTrunkResponseModelProvider string
Phone provider.
const (
GetPhoneNumberSIPTrunkResponseModelProviderSipTrunk GetPhoneNumberSIPTrunkResponseModelProvider = "sip_trunk"
)
func (GetPhoneNumberSIPTrunkResponseModelProvider) AllValues ¶
func (GetPhoneNumberSIPTrunkResponseModelProvider) AllValues() []GetPhoneNumberSIPTrunkResponseModelProvider
AllValues returns all GetPhoneNumberSIPTrunkResponseModelProvider values.
func (*GetPhoneNumberSIPTrunkResponseModelProvider) Decode ¶
func (s *GetPhoneNumberSIPTrunkResponseModelProvider) Decode(d *jx.Decoder) error
Decode decodes GetPhoneNumberSIPTrunkResponseModelProvider from json.
func (GetPhoneNumberSIPTrunkResponseModelProvider) Encode ¶
func (s GetPhoneNumberSIPTrunkResponseModelProvider) Encode(e *jx.Encoder)
Encode encodes GetPhoneNumberSIPTrunkResponseModelProvider as json.
func (GetPhoneNumberSIPTrunkResponseModelProvider) MarshalJSON ¶
func (s GetPhoneNumberSIPTrunkResponseModelProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GetPhoneNumberSIPTrunkResponseModelProvider) MarshalText ¶
func (s GetPhoneNumberSIPTrunkResponseModelProvider) MarshalText() ([]byte, error)
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 ¶
func (s GetPhoneNumberSIPTrunkResponseModelProvider) Validate() error
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 ¶
func (s *GetPhoneNumberTwilioResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetPhoneNumberTwilioResponseModel from json.
func (*GetPhoneNumberTwilioResponseModel) Encode ¶
func (s *GetPhoneNumberTwilioResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetPhoneNumberTwilioResponseModel) GetAssignedAgent ¶
func (s *GetPhoneNumberTwilioResponseModel) GetAssignedAgent() OptPhoneNumberAgentInfo
GetAssignedAgent returns the value of AssignedAgent.
func (*GetPhoneNumberTwilioResponseModel) GetLabel ¶
func (s *GetPhoneNumberTwilioResponseModel) GetLabel() string
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 ¶
func (s *GetPhoneNumberTwilioResponseModel) GetProvider() OptGetPhoneNumberTwilioResponseModelProvider
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 ¶
func (s *GetPhoneNumberTwilioResponseModel) SetAssignedAgent(val OptPhoneNumberAgentInfo)
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 ¶
func (s *GetPhoneNumberTwilioResponseModel) SetProvider(val OptGetPhoneNumberTwilioResponseModelProvider)
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 ¶
func (s *GetPhoneNumberTwilioResponseModel) Validate() error
type GetPhoneNumberTwilioResponseModelProvider ¶
type GetPhoneNumberTwilioResponseModelProvider string
Phone provider.
const (
GetPhoneNumberTwilioResponseModelProviderTwilio GetPhoneNumberTwilioResponseModelProvider = "twilio"
)
func (GetPhoneNumberTwilioResponseModelProvider) AllValues ¶
func (GetPhoneNumberTwilioResponseModelProvider) AllValues() []GetPhoneNumberTwilioResponseModelProvider
AllValues returns all GetPhoneNumberTwilioResponseModelProvider values.
func (*GetPhoneNumberTwilioResponseModelProvider) Decode ¶
func (s *GetPhoneNumberTwilioResponseModelProvider) Decode(d *jx.Decoder) error
Decode decodes GetPhoneNumberTwilioResponseModelProvider from json.
func (GetPhoneNumberTwilioResponseModelProvider) Encode ¶
func (s GetPhoneNumberTwilioResponseModelProvider) Encode(e *jx.Encoder)
Encode encodes GetPhoneNumberTwilioResponseModelProvider as json.
func (GetPhoneNumberTwilioResponseModelProvider) MarshalJSON ¶
func (s GetPhoneNumberTwilioResponseModelProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GetPhoneNumberTwilioResponseModelProvider) MarshalText ¶
func (s GetPhoneNumberTwilioResponseModelProvider) MarshalText() ([]byte, error)
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 ¶
func (s GetPhoneNumberTwilioResponseModelProvider) Validate() error
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 ¶
func (s *GetProjectsResponseModel) GetProjects() []ProjectResponseModel
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 ¶
func (s *GetPronunciationDictionariesMetadataResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetPronunciationDictionariesMetadataResponseModel from json.
func (*GetPronunciationDictionariesMetadataResponseModel) Encode ¶
func (s *GetPronunciationDictionariesMetadataResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetPronunciationDictionariesMetadataResponseModel) GetHasMore ¶
func (s *GetPronunciationDictionariesMetadataResponseModel) GetHasMore() bool
GetHasMore returns the value of HasMore.
func (*GetPronunciationDictionariesMetadataResponseModel) GetNextCursor ¶
func (s *GetPronunciationDictionariesMetadataResponseModel) GetNextCursor() OptNilString
GetNextCursor returns the value of NextCursor.
func (*GetPronunciationDictionariesMetadataResponseModel) GetPronunciationDictionaries ¶
func (s *GetPronunciationDictionariesMetadataResponseModel) GetPronunciationDictionaries() []GetPronunciationDictionaryMetadataResponseModel
GetPronunciationDictionaries returns the value of PronunciationDictionaries.
func (*GetPronunciationDictionariesMetadataResponseModel) MarshalJSON ¶
func (s *GetPronunciationDictionariesMetadataResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetPronunciationDictionariesMetadataResponseModel) SetHasMore ¶
func (s *GetPronunciationDictionariesMetadataResponseModel) SetHasMore(val bool)
SetHasMore sets the value of HasMore.
func (*GetPronunciationDictionariesMetadataResponseModel) SetNextCursor ¶
func (s *GetPronunciationDictionariesMetadataResponseModel) SetNextCursor(val OptNilString)
SetNextCursor sets the value of NextCursor.
func (*GetPronunciationDictionariesMetadataResponseModel) SetPronunciationDictionaries ¶
func (s *GetPronunciationDictionariesMetadataResponseModel) SetPronunciationDictionaries(val []GetPronunciationDictionaryMetadataResponseModel)
SetPronunciationDictionaries sets the value of PronunciationDictionaries.
func (*GetPronunciationDictionariesMetadataResponseModel) UnmarshalJSON ¶
func (s *GetPronunciationDictionariesMetadataResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetPronunciationDictionariesMetadataResponseModel) Validate ¶
func (s *GetPronunciationDictionariesMetadataResponseModel) Validate() error
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 ¶
func (GetPronunciationDictionariesMetadataSort) AllValues() []GetPronunciationDictionariesMetadataSort
AllValues returns all GetPronunciationDictionariesMetadataSort values.
func (GetPronunciationDictionariesMetadataSort) MarshalText ¶
func (s GetPronunciationDictionariesMetadataSort) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GetPronunciationDictionariesMetadataSort) UnmarshalText ¶
func (s *GetPronunciationDictionariesMetadataSort) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GetPronunciationDictionariesMetadataSort) Validate ¶
func (s GetPronunciationDictionariesMetadataSort) Validate() error
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 ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetPronunciationDictionaryMetadataResponseModel from json.
func (*GetPronunciationDictionaryMetadataResponseModel) Encode ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetPronunciationDictionaryMetadataResponseModel) GetArchivedTimeUnix ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) GetArchivedTimeUnix() OptNilInt
GetArchivedTimeUnix returns the value of ArchivedTimeUnix.
func (*GetPronunciationDictionaryMetadataResponseModel) GetCreatedBy ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) GetCreatedBy() string
GetCreatedBy returns the value of CreatedBy.
func (*GetPronunciationDictionaryMetadataResponseModel) GetCreationTimeUnix ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) GetCreationTimeUnix() int
GetCreationTimeUnix returns the value of CreationTimeUnix.
func (*GetPronunciationDictionaryMetadataResponseModel) GetDescription ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) GetDescription() OptNilString
GetDescription returns the value of Description.
func (*GetPronunciationDictionaryMetadataResponseModel) GetID ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) GetID() string
GetID returns the value of ID.
func (*GetPronunciationDictionaryMetadataResponseModel) GetLatestVersionID ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) GetLatestVersionID() string
GetLatestVersionID returns the value of LatestVersionID.
func (*GetPronunciationDictionaryMetadataResponseModel) GetLatestVersionRulesNum ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) GetLatestVersionRulesNum() int
GetLatestVersionRulesNum returns the value of LatestVersionRulesNum.
func (*GetPronunciationDictionaryMetadataResponseModel) GetName ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) GetName() string
GetName returns the value of Name.
func (*GetPronunciationDictionaryMetadataResponseModel) GetPermissionOnResource ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) GetPermissionOnResource() NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource
GetPermissionOnResource returns the value of PermissionOnResource.
func (*GetPronunciationDictionaryMetadataResponseModel) MarshalJSON ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetPronunciationDictionaryMetadataResponseModel) SetArchivedTimeUnix ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) SetArchivedTimeUnix(val OptNilInt)
SetArchivedTimeUnix sets the value of ArchivedTimeUnix.
func (*GetPronunciationDictionaryMetadataResponseModel) SetCreatedBy ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) SetCreatedBy(val string)
SetCreatedBy sets the value of CreatedBy.
func (*GetPronunciationDictionaryMetadataResponseModel) SetCreationTimeUnix ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) SetCreationTimeUnix(val int)
SetCreationTimeUnix sets the value of CreationTimeUnix.
func (*GetPronunciationDictionaryMetadataResponseModel) SetDescription ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) SetDescription(val OptNilString)
SetDescription sets the value of Description.
func (*GetPronunciationDictionaryMetadataResponseModel) SetID ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) SetID(val string)
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 ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) SetName(val string)
SetName sets the value of Name.
func (*GetPronunciationDictionaryMetadataResponseModel) SetPermissionOnResource ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) SetPermissionOnResource(val NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource)
SetPermissionOnResource sets the value of PermissionOnResource.
func (*GetPronunciationDictionaryMetadataResponseModel) UnmarshalJSON ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetPronunciationDictionaryMetadataResponseModel) Validate ¶
func (s *GetPronunciationDictionaryMetadataResponseModel) Validate() error
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 ¶
func (GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) AllValues() []GetPronunciationDictionaryMetadataResponseModelPermissionOnResource
AllValues returns all GetPronunciationDictionaryMetadataResponseModelPermissionOnResource values.
func (*GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Decode ¶
func (s *GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Decode(d *jx.Decoder) error
Decode decodes GetPronunciationDictionaryMetadataResponseModelPermissionOnResource from json.
func (GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Encode ¶
func (s GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Encode(e *jx.Encoder)
Encode encodes GetPronunciationDictionaryMetadataResponseModelPermissionOnResource as json.
func (GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) MarshalJSON ¶
func (s GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) MarshalText ¶
func (s GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) UnmarshalJSON ¶
func (s *GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) UnmarshalText ¶
func (s *GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Validate ¶
func (s GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Validate() error
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 ¶
func (s *GetPronunciationDictionaryVersionPlsOKHeaders) GetResponse() GetPronunciationDictionaryVersionPlsOK
GetResponse returns the value of Response.
func (*GetPronunciationDictionaryVersionPlsOKHeaders) SetContentDisposition ¶
func (s *GetPronunciationDictionaryVersionPlsOKHeaders) SetContentDisposition(val OptString)
SetContentDisposition sets the value of ContentDisposition.
func (*GetPronunciationDictionaryVersionPlsOKHeaders) SetResponse ¶
func (s *GetPronunciationDictionaryVersionPlsOKHeaders) SetResponse(val GetPronunciationDictionaryVersionPlsOK)
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 ¶
func (s *GetSpeechHistoryResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetSpeechHistoryResponseModel from json.
func (*GetSpeechHistoryResponseModel) Encode ¶
func (s *GetSpeechHistoryResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetSpeechHistoryResponseModel) GetHasMore ¶
func (s *GetSpeechHistoryResponseModel) GetHasMore() bool
GetHasMore returns the value of HasMore.
func (*GetSpeechHistoryResponseModel) GetHistory ¶
func (s *GetSpeechHistoryResponseModel) GetHistory() []SpeechHistoryItemResponseModel
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 ¶
func (s *GetSpeechHistoryResponseModel) SetHistory(val []SpeechHistoryItemResponseModel)
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 ¶
func (GetSpeechHistorySortDirection) AllValues() []GetSpeechHistorySortDirection
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 ¶
func (GetSpeechHistorySource) AllValues() []GetSpeechHistorySource
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 ¶
func (s *GetTestInvocationsPageResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetTestInvocationsPageResponseModel from json.
func (*GetTestInvocationsPageResponseModel) Encode ¶
func (s *GetTestInvocationsPageResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetTestInvocationsPageResponseModel) GetHasMore ¶
func (s *GetTestInvocationsPageResponseModel) GetHasMore() bool
GetHasMore returns the value of HasMore.
func (*GetTestInvocationsPageResponseModel) GetMeta ¶
func (s *GetTestInvocationsPageResponseModel) GetMeta() OptListResponseMeta
GetMeta returns the value of Meta.
func (*GetTestInvocationsPageResponseModel) GetNextCursor ¶
func (s *GetTestInvocationsPageResponseModel) GetNextCursor() OptNilString
GetNextCursor returns the value of NextCursor.
func (*GetTestInvocationsPageResponseModel) GetResults ¶
func (s *GetTestInvocationsPageResponseModel) GetResults() []TestInvocationSummaryResponseModel
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 ¶
func (s *GetTestInvocationsPageResponseModel) SetMeta(val OptListResponseMeta)
SetMeta sets the value of Meta.
func (*GetTestInvocationsPageResponseModel) SetNextCursor ¶
func (s *GetTestInvocationsPageResponseModel) SetNextCursor(val OptNilString)
SetNextCursor sets the value of NextCursor.
func (*GetTestInvocationsPageResponseModel) SetResults ¶
func (s *GetTestInvocationsPageResponseModel) SetResults(val []TestInvocationSummaryResponseModel)
SetResults sets the value of Results.
func (*GetTestInvocationsPageResponseModel) UnmarshalJSON ¶
func (s *GetTestInvocationsPageResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetTestInvocationsPageResponseModel) Validate ¶
func (s *GetTestInvocationsPageResponseModel) Validate() error
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 ¶
func (s *GetTestSuiteInvocationResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetTestSuiteInvocationResponseModel from json.
func (*GetTestSuiteInvocationResponseModel) Encode ¶
func (s *GetTestSuiteInvocationResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetTestSuiteInvocationResponseModel) GetAgentID ¶
func (s *GetTestSuiteInvocationResponseModel) GetAgentID() OptNilString
GetAgentID returns the value of AgentID.
func (*GetTestSuiteInvocationResponseModel) GetBranchID ¶
func (s *GetTestSuiteInvocationResponseModel) GetBranchID() OptNilString
GetBranchID returns the value of BranchID.
func (*GetTestSuiteInvocationResponseModel) GetCreatedAt ¶
func (s *GetTestSuiteInvocationResponseModel) GetCreatedAt() OptInt
GetCreatedAt returns the value of CreatedAt.
func (*GetTestSuiteInvocationResponseModel) GetID ¶
func (s *GetTestSuiteInvocationResponseModel) GetID() string
GetID returns the value of ID.
func (*GetTestSuiteInvocationResponseModel) GetTestRuns ¶
func (s *GetTestSuiteInvocationResponseModel) GetTestRuns() []UnitTestRunResponseModel
GetTestRuns returns the value of TestRuns.
func (*GetTestSuiteInvocationResponseModel) MarshalJSON ¶
func (s *GetTestSuiteInvocationResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetTestSuiteInvocationResponseModel) SetAgentID ¶
func (s *GetTestSuiteInvocationResponseModel) SetAgentID(val OptNilString)
SetAgentID sets the value of AgentID.
func (*GetTestSuiteInvocationResponseModel) SetBranchID ¶
func (s *GetTestSuiteInvocationResponseModel) SetBranchID(val OptNilString)
SetBranchID sets the value of BranchID.
func (*GetTestSuiteInvocationResponseModel) SetCreatedAt ¶
func (s *GetTestSuiteInvocationResponseModel) SetCreatedAt(val OptInt)
SetCreatedAt sets the value of CreatedAt.
func (*GetTestSuiteInvocationResponseModel) SetID ¶
func (s *GetTestSuiteInvocationResponseModel) SetID(val string)
SetID sets the value of ID.
func (*GetTestSuiteInvocationResponseModel) SetTestRuns ¶
func (s *GetTestSuiteInvocationResponseModel) SetTestRuns(val []UnitTestRunResponseModel)
SetTestRuns sets the value of TestRuns.
func (*GetTestSuiteInvocationResponseModel) UnmarshalJSON ¶
func (s *GetTestSuiteInvocationResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetTestSuiteInvocationResponseModel) Validate ¶
func (s *GetTestSuiteInvocationResponseModel) Validate() error
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 ¶
func (s *GetTestsPageResponseModel) GetTests() []UnitTestSummaryResponseModel
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 ¶
func (s *GetTestsPageResponseModel) SetTests(val []UnitTestSummaryResponseModel)
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 ¶
func (s *GetTestsSummariesByIdsResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetTestsSummariesByIdsResponseModel from json.
func (*GetTestsSummariesByIdsResponseModel) Encode ¶
func (s *GetTestsSummariesByIdsResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetTestsSummariesByIdsResponseModel) GetTests ¶
func (s *GetTestsSummariesByIdsResponseModel) GetTests() GetTestsSummariesByIdsResponseModelTests
GetTests returns the value of Tests.
func (*GetTestsSummariesByIdsResponseModel) MarshalJSON ¶
func (s *GetTestsSummariesByIdsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetTestsSummariesByIdsResponseModel) SetTests ¶
func (s *GetTestsSummariesByIdsResponseModel) SetTests(val GetTestsSummariesByIdsResponseModelTests)
SetTests sets the value of Tests.
func (*GetTestsSummariesByIdsResponseModel) UnmarshalJSON ¶
func (s *GetTestsSummariesByIdsResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetTestsSummariesByIdsResponseModel) Validate ¶
func (s *GetTestsSummariesByIdsResponseModel) Validate() error
type GetTestsSummariesByIdsResponseModelTests ¶
type GetTestsSummariesByIdsResponseModelTests map[string]UnitTestSummaryResponseModel
Dictionary mapping test IDs to their summary information.
func (*GetTestsSummariesByIdsResponseModelTests) Decode ¶
func (s *GetTestsSummariesByIdsResponseModelTests) Decode(d *jx.Decoder) error
Decode decodes GetTestsSummariesByIdsResponseModelTests from json.
func (GetTestsSummariesByIdsResponseModelTests) Encode ¶
func (s GetTestsSummariesByIdsResponseModelTests) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetTestsSummariesByIdsResponseModelTests) MarshalJSON ¶
func (s GetTestsSummariesByIdsResponseModelTests) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetTestsSummariesByIdsResponseModelTests) UnmarshalJSON ¶
func (s *GetTestsSummariesByIdsResponseModelTests) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetTestsSummariesByIdsResponseModelTests) Validate ¶
func (s GetTestsSummariesByIdsResponseModelTests) Validate() error
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 ¶
func (s *GetToolDependentAgentsResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetToolDependentAgentsResponseModel from json.
func (*GetToolDependentAgentsResponseModel) Encode ¶
func (s *GetToolDependentAgentsResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetToolDependentAgentsResponseModel) GetAgents ¶
func (s *GetToolDependentAgentsResponseModel) GetAgents() []GetToolDependentAgentsResponseModelAgentsItem
GetAgents returns the value of Agents.
func (*GetToolDependentAgentsResponseModel) GetHasMore ¶
func (s *GetToolDependentAgentsResponseModel) GetHasMore() bool
GetHasMore returns the value of HasMore.
func (*GetToolDependentAgentsResponseModel) GetNextCursor ¶
func (s *GetToolDependentAgentsResponseModel) GetNextCursor() OptNilString
GetNextCursor returns the value of NextCursor.
func (*GetToolDependentAgentsResponseModel) MarshalJSON ¶
func (s *GetToolDependentAgentsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetToolDependentAgentsResponseModel) SetAgents ¶
func (s *GetToolDependentAgentsResponseModel) SetAgents(val []GetToolDependentAgentsResponseModelAgentsItem)
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 ¶
func (s *GetToolDependentAgentsResponseModel) Validate() error
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 ¶
func (s *GetToolDependentAgentsResponseModelAgentsItem) Decode(d *jx.Decoder) error
Decode decodes GetToolDependentAgentsResponseModelAgentsItem from json.
func (GetToolDependentAgentsResponseModelAgentsItem) Encode ¶
func (s GetToolDependentAgentsResponseModelAgentsItem) Encode(e *jx.Encoder)
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 ¶
func (s GetToolDependentAgentsResponseModelAgentsItem) MarshalJSON() ([]byte, error)
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 ¶
func (s GetToolDependentAgentsResponseModelAgentsItem) Validate() error
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 ¶
func (*GetTranscriptByIDNotFoundApplicationJSON) Decode ¶
func (s *GetTranscriptByIDNotFoundApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes GetTranscriptByIDNotFoundApplicationJSON from json.
func (GetTranscriptByIDNotFoundApplicationJSON) Encode ¶
func (s GetTranscriptByIDNotFoundApplicationJSON) Encode(e *jx.Encoder)
Encode encodes GetTranscriptByIDNotFoundApplicationJSON as json.
func (GetTranscriptByIDNotFoundApplicationJSON) MarshalJSON ¶
func (s GetTranscriptByIDNotFoundApplicationJSON) MarshalJSON() ([]byte, error)
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 ¶
func (*GetTranscriptByIDUnauthorizedApplicationJSON) Decode ¶
func (s *GetTranscriptByIDUnauthorizedApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes GetTranscriptByIDUnauthorizedApplicationJSON from json.
func (GetTranscriptByIDUnauthorizedApplicationJSON) Encode ¶
func (s GetTranscriptByIDUnauthorizedApplicationJSON) Encode(e *jx.Encoder)
Encode encodes GetTranscriptByIDUnauthorizedApplicationJSON as json.
func (GetTranscriptByIDUnauthorizedApplicationJSON) MarshalJSON ¶
func (s GetTranscriptByIDUnauthorizedApplicationJSON) MarshalJSON() ([]byte, error)
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 ¶
func (s *GetUnitTestResponseModel) GetChatHistory() []ConversationHistoryTranscriptCommonModelOutput
GetChatHistory returns the value of ChatHistory.
func (*GetUnitTestResponseModel) GetDynamicVariables ¶
func (s *GetUnitTestResponseModel) GetDynamicVariables() OptGetUnitTestResponseModelDynamicVariables
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 ¶
func (s *GetUnitTestResponseModel) GetToolCallParameters() OptUnitTestToolCallEvaluationModelOutput
GetToolCallParameters returns the value of ToolCallParameters.
func (*GetUnitTestResponseModel) GetType ¶
func (s *GetUnitTestResponseModel) GetType() OptUnitTestCommonModelType
GetType returns the value of Type.
func (*GetUnitTestResponseModel) MarshalJSON ¶
func (s *GetUnitTestResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetUnitTestResponseModel) SetChatHistory ¶
func (s *GetUnitTestResponseModel) SetChatHistory(val []ConversationHistoryTranscriptCommonModelOutput)
SetChatHistory sets the value of ChatHistory.
func (*GetUnitTestResponseModel) SetDynamicVariables ¶
func (s *GetUnitTestResponseModel) SetDynamicVariables(val OptGetUnitTestResponseModelDynamicVariables)
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 ¶
func (s *GetUnitTestResponseModel) SetToolCallParameters(val OptUnitTestToolCallEvaluationModelOutput)
SetToolCallParameters sets the value of ToolCallParameters.
func (*GetUnitTestResponseModel) SetType ¶
func (s *GetUnitTestResponseModel) SetType(val OptUnitTestCommonModelType)
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 ¶
func (s *GetUnitTestResponseModelDynamicVariables) Decode(d *jx.Decoder) error
Decode decodes GetUnitTestResponseModelDynamicVariables from json.
func (GetUnitTestResponseModelDynamicVariables) Encode ¶
func (s GetUnitTestResponseModelDynamicVariables) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetUnitTestResponseModelDynamicVariables) MarshalJSON ¶
func (s GetUnitTestResponseModelDynamicVariables) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetUnitTestResponseModelDynamicVariables) UnmarshalJSON ¶
func (s *GetUnitTestResponseModelDynamicVariables) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetUnitTestResponseModelDynamicVariables) Validate ¶
func (s GetUnitTestResponseModelDynamicVariables) Validate() error
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 ¶
func (s *GetUnitTestResponseModelDynamicVariablesItem) Decode(d *jx.Decoder) error
Decode decodes GetUnitTestResponseModelDynamicVariablesItem from json.
func (GetUnitTestResponseModelDynamicVariablesItem) Encode ¶
func (s GetUnitTestResponseModelDynamicVariablesItem) Encode(e *jx.Encoder)
Encode encodes GetUnitTestResponseModelDynamicVariablesItem as json.
func (GetUnitTestResponseModelDynamicVariablesItem) GetBool ¶
func (s GetUnitTestResponseModelDynamicVariablesItem) GetBool() (v bool, ok bool)
GetBool returns bool and true boolean if GetUnitTestResponseModelDynamicVariablesItem is bool.
func (GetUnitTestResponseModelDynamicVariablesItem) GetFloat64 ¶
func (s GetUnitTestResponseModelDynamicVariablesItem) GetFloat64() (v float64, ok bool)
GetFloat64 returns float64 and true boolean if GetUnitTestResponseModelDynamicVariablesItem is float64.
func (GetUnitTestResponseModelDynamicVariablesItem) GetInt ¶
func (s GetUnitTestResponseModelDynamicVariablesItem) GetInt() (v int, ok bool)
GetInt returns int and true boolean if GetUnitTestResponseModelDynamicVariablesItem is int.
func (GetUnitTestResponseModelDynamicVariablesItem) GetString ¶
func (s GetUnitTestResponseModelDynamicVariablesItem) GetString() (v string, ok bool)
GetString returns string and true boolean if GetUnitTestResponseModelDynamicVariablesItem is string.
func (GetUnitTestResponseModelDynamicVariablesItem) IsBool ¶
func (s GetUnitTestResponseModelDynamicVariablesItem) IsBool() bool
IsBool reports whether GetUnitTestResponseModelDynamicVariablesItem is bool.
func (GetUnitTestResponseModelDynamicVariablesItem) IsFloat64 ¶
func (s GetUnitTestResponseModelDynamicVariablesItem) IsFloat64() bool
IsFloat64 reports whether GetUnitTestResponseModelDynamicVariablesItem is float64.
func (GetUnitTestResponseModelDynamicVariablesItem) IsInt ¶
func (s GetUnitTestResponseModelDynamicVariablesItem) IsInt() bool
IsInt reports whether GetUnitTestResponseModelDynamicVariablesItem is int.
func (GetUnitTestResponseModelDynamicVariablesItem) IsString ¶
func (s GetUnitTestResponseModelDynamicVariablesItem) IsString() bool
IsString reports whether GetUnitTestResponseModelDynamicVariablesItem is string.
func (GetUnitTestResponseModelDynamicVariablesItem) MarshalJSON ¶
func (s GetUnitTestResponseModelDynamicVariablesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetUnitTestResponseModelDynamicVariablesItem) SetBool ¶
func (s *GetUnitTestResponseModelDynamicVariablesItem) SetBool(v bool)
SetBool sets GetUnitTestResponseModelDynamicVariablesItem to bool.
func (*GetUnitTestResponseModelDynamicVariablesItem) SetFloat64 ¶
func (s *GetUnitTestResponseModelDynamicVariablesItem) SetFloat64(v float64)
SetFloat64 sets GetUnitTestResponseModelDynamicVariablesItem to float64.
func (*GetUnitTestResponseModelDynamicVariablesItem) SetInt ¶
func (s *GetUnitTestResponseModelDynamicVariablesItem) SetInt(v int)
SetInt sets GetUnitTestResponseModelDynamicVariablesItem to int.
func (*GetUnitTestResponseModelDynamicVariablesItem) SetString ¶
func (s *GetUnitTestResponseModelDynamicVariablesItem) SetString(v string)
SetString sets GetUnitTestResponseModelDynamicVariablesItem to string.
func (*GetUnitTestResponseModelDynamicVariablesItem) UnmarshalJSON ¶
func (s *GetUnitTestResponseModelDynamicVariablesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetUnitTestResponseModelDynamicVariablesItem) Validate ¶
func (s GetUnitTestResponseModelDynamicVariablesItem) Validate() error
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 ¶
func (s *GetVoicesV2ResponseModel) GetVoices() []VoiceResponseModel
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 ¶
func (s *GetWhatsAppAccountResponse) Decode(d *jx.Decoder) error
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 ¶
func (s *GetWorkspaceSecretsResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetWorkspaceSecretsResponseModel from json.
func (*GetWorkspaceSecretsResponseModel) Encode ¶
func (s *GetWorkspaceSecretsResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetWorkspaceSecretsResponseModel) GetSecrets ¶
func (s *GetWorkspaceSecretsResponseModel) GetSecrets() []ConvAIWorkspaceStoredSecretConfig
GetSecrets returns the value of Secrets.
func (*GetWorkspaceSecretsResponseModel) MarshalJSON ¶
func (s *GetWorkspaceSecretsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetWorkspaceSecretsResponseModel) SetSecrets ¶
func (s *GetWorkspaceSecretsResponseModel) SetSecrets(val []ConvAIWorkspaceStoredSecretConfig)
SetSecrets sets the value of Secrets.
func (*GetWorkspaceSecretsResponseModel) UnmarshalJSON ¶
func (s *GetWorkspaceSecretsResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetWorkspaceSecretsResponseModel) Validate ¶
func (s *GetWorkspaceSecretsResponseModel) Validate() error
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)
//
// 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)
//
// 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 ¶
func (s *HistoryAlignmentResponseModel) Decode(d *jx.Decoder) error
Decode decodes HistoryAlignmentResponseModel from json.
func (*HistoryAlignmentResponseModel) Encode ¶
func (s *HistoryAlignmentResponseModel) Encode(e *jx.Encoder)
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 ¶
func (s *HistoryAlignmentsResponseModel) Decode(d *jx.Decoder) error
Decode decodes HistoryAlignmentsResponseModel from json.
func (*HistoryAlignmentsResponseModel) Encode ¶
func (s *HistoryAlignmentsResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HistoryAlignmentsResponseModel) GetAlignment ¶
func (s *HistoryAlignmentsResponseModel) GetAlignment() HistoryAlignmentResponseModel
GetAlignment returns the value of Alignment.
func (*HistoryAlignmentsResponseModel) GetNormalizedAlignment ¶
func (s *HistoryAlignmentsResponseModel) GetNormalizedAlignment() HistoryAlignmentResponseModel
GetNormalizedAlignment returns the value of NormalizedAlignment.
func (*HistoryAlignmentsResponseModel) MarshalJSON ¶
func (s *HistoryAlignmentsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HistoryAlignmentsResponseModel) SetAlignment ¶
func (s *HistoryAlignmentsResponseModel) SetAlignment(val HistoryAlignmentResponseModel)
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 ¶
func (s *HtmlExportOptions) GetFormat() HtmlExportOptionsFormat
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 ¶
func (HtmlExportOptionsFormat) AllValues() []HtmlExportOptionsFormat
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 ¶
func (s *ImportWhatsAppAccountRequest) Decode(d *jx.Decoder) error
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 ¶
func (s *ImportWhatsAppAccountResponse) Decode(d *jx.Decoder) error
Decode decodes ImportWhatsAppAccountResponse from json.
func (*ImportWhatsAppAccountResponse) Encode ¶
func (s *ImportWhatsAppAccountResponse) Encode(e *jx.Encoder)
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 ¶
func (s *InboundSIPTrunkConfigRequestModel) Decode(d *jx.Decoder) error
Decode decodes InboundSIPTrunkConfigRequestModel from json.
func (*InboundSIPTrunkConfigRequestModel) Encode ¶
func (s *InboundSIPTrunkConfigRequestModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*InboundSIPTrunkConfigRequestModel) GetAllowedAddresses ¶
func (s *InboundSIPTrunkConfigRequestModel) GetAllowedAddresses() OptNilStringArray
GetAllowedAddresses returns the value of AllowedAddresses.
func (*InboundSIPTrunkConfigRequestModel) GetAllowedNumbers ¶
func (s *InboundSIPTrunkConfigRequestModel) GetAllowedNumbers() OptNilStringArray
GetAllowedNumbers returns the value of AllowedNumbers.
func (*InboundSIPTrunkConfigRequestModel) GetCredentials ¶
func (s *InboundSIPTrunkConfigRequestModel) GetCredentials() OptSIPTrunkCredentialsRequestModel
GetCredentials returns the value of Credentials.
func (*InboundSIPTrunkConfigRequestModel) GetMediaEncryption ¶
func (s *InboundSIPTrunkConfigRequestModel) GetMediaEncryption() OptSIPMediaEncryptionEnum
GetMediaEncryption returns the value of MediaEncryption.
func (*InboundSIPTrunkConfigRequestModel) GetRemoteDomains ¶
func (s *InboundSIPTrunkConfigRequestModel) GetRemoteDomains() OptNilStringArray
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 ¶
func (s *InboundSIPTrunkConfigRequestModel) SetCredentials(val OptSIPTrunkCredentialsRequestModel)
SetCredentials sets the value of Credentials.
func (*InboundSIPTrunkConfigRequestModel) SetMediaEncryption ¶
func (s *InboundSIPTrunkConfigRequestModel) SetMediaEncryption(val OptSIPMediaEncryptionEnum)
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 ¶
func (s *InboundSIPTrunkConfigRequestModel) Validate() error
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)
//
// 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)
//
// 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 ¶
func (KnowledgeBaseDependentType) AllValues() []KnowledgeBaseDependentType
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 ¶
func (s *KnowledgeBaseDocumentChunkResponseModel) Decode(d *jx.Decoder) error
Decode decodes KnowledgeBaseDocumentChunkResponseModel from json.
func (*KnowledgeBaseDocumentChunkResponseModel) Encode ¶
func (s *KnowledgeBaseDocumentChunkResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*KnowledgeBaseDocumentChunkResponseModel) GetContent ¶
func (s *KnowledgeBaseDocumentChunkResponseModel) GetContent() string
GetContent returns the value of Content.
func (*KnowledgeBaseDocumentChunkResponseModel) GetID ¶
func (s *KnowledgeBaseDocumentChunkResponseModel) GetID() string
GetID returns the value of ID.
func (*KnowledgeBaseDocumentChunkResponseModel) GetName ¶
func (s *KnowledgeBaseDocumentChunkResponseModel) GetName() string
GetName returns the value of Name.
func (*KnowledgeBaseDocumentChunkResponseModel) MarshalJSON ¶
func (s *KnowledgeBaseDocumentChunkResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*KnowledgeBaseDocumentChunkResponseModel) SetContent ¶
func (s *KnowledgeBaseDocumentChunkResponseModel) SetContent(val string)
SetContent sets the value of Content.
func (*KnowledgeBaseDocumentChunkResponseModel) SetID ¶
func (s *KnowledgeBaseDocumentChunkResponseModel) SetID(val string)
SetID sets the value of ID.
func (*KnowledgeBaseDocumentChunkResponseModel) SetName ¶
func (s *KnowledgeBaseDocumentChunkResponseModel) SetName(val string)
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 ¶
func (s *KnowledgeBaseDocumentMetadataResponseModel) Decode(d *jx.Decoder) error
Decode decodes KnowledgeBaseDocumentMetadataResponseModel from json.
func (*KnowledgeBaseDocumentMetadataResponseModel) Encode ¶
func (s *KnowledgeBaseDocumentMetadataResponseModel) Encode(e *jx.Encoder)
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 ¶
func (s *KnowledgeBaseDocumentMetadataResponseModel) GetSizeBytes() int
GetSizeBytes returns the value of SizeBytes.
func (*KnowledgeBaseDocumentMetadataResponseModel) MarshalJSON ¶
func (s *KnowledgeBaseDocumentMetadataResponseModel) MarshalJSON() ([]byte, error)
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 ¶
func (KnowledgeBaseDocumentType) AllValues() []KnowledgeBaseDocumentType
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 ¶
func (s *KnowledgeBaseFolderPathSegmentResponseModel) Decode(d *jx.Decoder) error
Decode decodes KnowledgeBaseFolderPathSegmentResponseModel from json.
func (*KnowledgeBaseFolderPathSegmentResponseModel) Encode ¶
func (s *KnowledgeBaseFolderPathSegmentResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*KnowledgeBaseFolderPathSegmentResponseModel) GetID ¶
func (s *KnowledgeBaseFolderPathSegmentResponseModel) GetID() string
GetID returns the value of ID.
func (*KnowledgeBaseFolderPathSegmentResponseModel) GetName ¶
func (s *KnowledgeBaseFolderPathSegmentResponseModel) GetName() NilString
GetName returns the value of Name.
func (*KnowledgeBaseFolderPathSegmentResponseModel) MarshalJSON ¶
func (s *KnowledgeBaseFolderPathSegmentResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*KnowledgeBaseFolderPathSegmentResponseModel) SetID ¶
func (s *KnowledgeBaseFolderPathSegmentResponseModel) SetID(val string)
SetID sets the value of ID.
func (*KnowledgeBaseFolderPathSegmentResponseModel) SetName ¶
func (s *KnowledgeBaseFolderPathSegmentResponseModel) SetName(val NilString)
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 ¶
func (KnowledgeBaseSortBy) AllValues() []KnowledgeBaseSortBy
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 ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) Decode(d *jx.Decoder) error
Decode decodes KnowledgeBaseSummaryBatchSuccessfulResponseModel from json.
func (*KnowledgeBaseSummaryBatchSuccessfulResponseModel) Encode ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*KnowledgeBaseSummaryBatchSuccessfulResponseModel) GetData ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) GetData() KnowledgeBaseSummaryBatchSuccessfulResponseModelData
GetData returns the value of Data.
func (*KnowledgeBaseSummaryBatchSuccessfulResponseModel) GetStatus ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) GetStatus() KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus
GetStatus returns the value of Status.
func (*KnowledgeBaseSummaryBatchSuccessfulResponseModel) MarshalJSON ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*KnowledgeBaseSummaryBatchSuccessfulResponseModel) SetData ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) SetData(val KnowledgeBaseSummaryBatchSuccessfulResponseModelData)
SetData sets the value of Data.
func (*KnowledgeBaseSummaryBatchSuccessfulResponseModel) SetStatus ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) SetStatus(val KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus)
SetStatus sets the value of Status.
func (*KnowledgeBaseSummaryBatchSuccessfulResponseModel) UnmarshalJSON ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*KnowledgeBaseSummaryBatchSuccessfulResponseModel) Validate ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModel) Validate() error
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 ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelData) Decode(d *jx.Decoder) error
Decode decodes KnowledgeBaseSummaryBatchSuccessfulResponseModelData from json.
func (KnowledgeBaseSummaryBatchSuccessfulResponseModelData) Encode ¶
func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) Encode(e *jx.Encoder)
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 ¶
func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*KnowledgeBaseSummaryBatchSuccessfulResponseModelData) SetGetKnowledgeBaseSummaryFileResponseModel ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelData) SetGetKnowledgeBaseSummaryFileResponseModel(v GetKnowledgeBaseSummaryFileResponseModel)
SetGetKnowledgeBaseSummaryFileResponseModel sets KnowledgeBaseSummaryBatchSuccessfulResponseModelData to GetKnowledgeBaseSummaryFileResponseModel.
func (*KnowledgeBaseSummaryBatchSuccessfulResponseModelData) SetGetKnowledgeBaseSummaryFolderResponseModel ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelData) SetGetKnowledgeBaseSummaryFolderResponseModel(v GetKnowledgeBaseSummaryFolderResponseModel)
SetGetKnowledgeBaseSummaryFolderResponseModel sets KnowledgeBaseSummaryBatchSuccessfulResponseModelData to GetKnowledgeBaseSummaryFolderResponseModel.
func (*KnowledgeBaseSummaryBatchSuccessfulResponseModelData) SetGetKnowledgeBaseSummaryTextResponseModel ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelData) SetGetKnowledgeBaseSummaryTextResponseModel(v GetKnowledgeBaseSummaryTextResponseModel)
SetGetKnowledgeBaseSummaryTextResponseModel sets KnowledgeBaseSummaryBatchSuccessfulResponseModelData to GetKnowledgeBaseSummaryTextResponseModel.
func (*KnowledgeBaseSummaryBatchSuccessfulResponseModelData) SetGetKnowledgeBaseSummaryURLResponseModel ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelData) SetGetKnowledgeBaseSummaryURLResponseModel(v GetKnowledgeBaseSummaryURLResponseModel)
SetGetKnowledgeBaseSummaryURLResponseModel sets KnowledgeBaseSummaryBatchSuccessfulResponseModelData to GetKnowledgeBaseSummaryURLResponseModel.
func (*KnowledgeBaseSummaryBatchSuccessfulResponseModelData) UnmarshalJSON ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (KnowledgeBaseSummaryBatchSuccessfulResponseModelData) Validate ¶
func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelData) Validate() error
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 ¶
func (KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) AllValues() []KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus
AllValues returns all KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus values.
func (*KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) Decode ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) Decode(d *jx.Decoder) error
Decode decodes KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus from json.
func (KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) Encode ¶
func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) Encode(e *jx.Encoder)
Encode encodes KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus as json.
func (KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) MarshalJSON ¶
func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) MarshalText ¶
func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) UnmarshalJSON ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) UnmarshalText ¶
func (s *KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) Validate ¶
func (s KnowledgeBaseSummaryBatchSuccessfulResponseModelStatus) Validate() error
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) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (LLM) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*LLM) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
func (*LLM) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
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 ¶
func (s *LLMInputOutputTokensUsage) GetInput() OptLLMTokensCategoryUsage
GetInput returns the value of Input.
func (*LLMInputOutputTokensUsage) GetInputCacheRead ¶
func (s *LLMInputOutputTokensUsage) GetInputCacheRead() OptLLMTokensCategoryUsage
GetInputCacheRead returns the value of InputCacheRead.
func (*LLMInputOutputTokensUsage) GetInputCacheWrite ¶
func (s *LLMInputOutputTokensUsage) GetInputCacheWrite() OptLLMTokensCategoryUsage
GetInputCacheWrite returns the value of InputCacheWrite.
func (*LLMInputOutputTokensUsage) GetOutputTotal ¶
func (s *LLMInputOutputTokensUsage) GetOutputTotal() OptLLMTokensCategoryUsage
GetOutputTotal returns the value of OutputTotal.
func (*LLMInputOutputTokensUsage) MarshalJSON ¶
func (s *LLMInputOutputTokensUsage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LLMInputOutputTokensUsage) SetInput ¶
func (s *LLMInputOutputTokensUsage) SetInput(val OptLLMTokensCategoryUsage)
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 ¶
func (s *LLMInputOutputTokensUsage) SetOutputTotal(val OptLLMTokensCategoryUsage)
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 ¶
func (s *LLMParameterEvaluationStrategy) Decode(d *jx.Decoder) error
Decode decodes LLMParameterEvaluationStrategy from json.
func (*LLMParameterEvaluationStrategy) Encode ¶
func (s *LLMParameterEvaluationStrategy) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*LLMParameterEvaluationStrategy) GetDescription ¶
func (s *LLMParameterEvaluationStrategy) GetDescription() string
GetDescription returns the value of Description.
func (*LLMParameterEvaluationStrategy) GetType ¶
func (s *LLMParameterEvaluationStrategy) GetType() LLMParameterEvaluationStrategyType
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 ¶
func (s *LLMParameterEvaluationStrategy) SetType(val LLMParameterEvaluationStrategyType)
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 ¶
func (LLMParameterEvaluationStrategyType) AllValues() []LLMParameterEvaluationStrategyType
AllValues returns all LLMParameterEvaluationStrategyType values.
func (*LLMParameterEvaluationStrategyType) Decode ¶
func (s *LLMParameterEvaluationStrategyType) Decode(d *jx.Decoder) error
Decode decodes LLMParameterEvaluationStrategyType from json.
func (LLMParameterEvaluationStrategyType) Encode ¶
func (s LLMParameterEvaluationStrategyType) Encode(e *jx.Encoder)
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 ¶
func (s LLMParameterEvaluationStrategyType) Validate() error
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 ¶
func (s *LLMUsageCalculatorLLMResponseModel) Decode(d *jx.Decoder) error
Decode decodes LLMUsageCalculatorLLMResponseModel from json.
func (*LLMUsageCalculatorLLMResponseModel) Encode ¶
func (s *LLMUsageCalculatorLLMResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*LLMUsageCalculatorLLMResponseModel) GetLlm ¶
func (s *LLMUsageCalculatorLLMResponseModel) GetLlm() LLM
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 ¶
func (s *LLMUsageCalculatorLLMResponseModel) Validate() error
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 ¶
func (s *LLMUsageCalculatorPublicRequestModel) Decode(d *jx.Decoder) error
Decode decodes LLMUsageCalculatorPublicRequestModel from json.
func (*LLMUsageCalculatorPublicRequestModel) Encode ¶
func (s *LLMUsageCalculatorPublicRequestModel) Encode(e *jx.Encoder)
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 ¶
func (s *LLMUsageCalculatorRequestModel) Decode(d *jx.Decoder) error
Decode decodes LLMUsageCalculatorRequestModel from json.
func (*LLMUsageCalculatorRequestModel) Encode ¶
func (s *LLMUsageCalculatorRequestModel) Encode(e *jx.Encoder)
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 ¶
func (s *LLMUsageCalculatorResponseModel) Decode(d *jx.Decoder) error
Decode decodes LLMUsageCalculatorResponseModel from json.
func (*LLMUsageCalculatorResponseModel) Encode ¶
func (s *LLMUsageCalculatorResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*LLMUsageCalculatorResponseModel) GetLlmPrices ¶
func (s *LLMUsageCalculatorResponseModel) GetLlmPrices() []LLMUsageCalculatorLLMResponseModel
GetLlmPrices returns the value of LlmPrices.
func (*LLMUsageCalculatorResponseModel) MarshalJSON ¶
func (s *LLMUsageCalculatorResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LLMUsageCalculatorResponseModel) SetLlmPrices ¶
func (s *LLMUsageCalculatorResponseModel) SetLlmPrices(val []LLMUsageCalculatorLLMResponseModel)
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 ¶
LabelerFromContext retrieves the Labeler from the provided context, if present.
If no Labeler was found in the provided context a new, empty Labeler is returned and the second return value is false. In this case it is safe to use the Labeler but any attributes added to it will not be used.
func (*Labeler) AttributeSet ¶
AttributeSet returns the attributes added to the Labeler as an attribute.Set.
type 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 ¶
func (s *LanguageDetectionToolResultModel) Decode(d *jx.Decoder) error
Decode decodes LanguageDetectionToolResultModel from json.
func (*LanguageDetectionToolResultModel) Encode ¶
func (s *LanguageDetectionToolResultModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*LanguageDetectionToolResultModel) GetLanguage ¶
func (s *LanguageDetectionToolResultModel) GetLanguage() OptNilString
GetLanguage returns the value of Language.
func (*LanguageDetectionToolResultModel) GetReason ¶
func (s *LanguageDetectionToolResultModel) GetReason() OptNilString
GetReason returns the value of Reason.
func (*LanguageDetectionToolResultModel) GetResultType ¶
func (s *LanguageDetectionToolResultModel) GetResultType() OptLanguageDetectionToolResultModelResultType
GetResultType returns the value of ResultType.
func (*LanguageDetectionToolResultModel) GetStatus ¶
func (s *LanguageDetectionToolResultModel) GetStatus() OptLanguageDetectionToolResultModelStatus
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 ¶
func (s *LanguageDetectionToolResultModel) SetReason(val OptNilString)
SetReason sets the value of Reason.
func (*LanguageDetectionToolResultModel) SetResultType ¶
func (s *LanguageDetectionToolResultModel) SetResultType(val OptLanguageDetectionToolResultModelResultType)
SetResultType sets the value of ResultType.
func (*LanguageDetectionToolResultModel) SetStatus ¶
func (s *LanguageDetectionToolResultModel) SetStatus(val OptLanguageDetectionToolResultModelStatus)
SetStatus sets the value of Status.
func (*LanguageDetectionToolResultModel) UnmarshalJSON ¶
func (s *LanguageDetectionToolResultModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*LanguageDetectionToolResultModel) Validate ¶
func (s *LanguageDetectionToolResultModel) Validate() error
type LanguageDetectionToolResultModelResultType ¶
type LanguageDetectionToolResultModelResultType string
const (
LanguageDetectionToolResultModelResultTypeLanguageDetectionSuccess LanguageDetectionToolResultModelResultType = "language_detection_success"
)
func (LanguageDetectionToolResultModelResultType) AllValues ¶
func (LanguageDetectionToolResultModelResultType) AllValues() []LanguageDetectionToolResultModelResultType
AllValues returns all LanguageDetectionToolResultModelResultType values.
func (*LanguageDetectionToolResultModelResultType) Decode ¶
func (s *LanguageDetectionToolResultModelResultType) Decode(d *jx.Decoder) error
Decode decodes LanguageDetectionToolResultModelResultType from json.
func (LanguageDetectionToolResultModelResultType) Encode ¶
func (s LanguageDetectionToolResultModelResultType) Encode(e *jx.Encoder)
Encode encodes LanguageDetectionToolResultModelResultType as json.
func (LanguageDetectionToolResultModelResultType) MarshalJSON ¶
func (s LanguageDetectionToolResultModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (LanguageDetectionToolResultModelResultType) MarshalText ¶
func (s LanguageDetectionToolResultModelResultType) MarshalText() ([]byte, error)
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 ¶
func (s LanguageDetectionToolResultModelResultType) Validate() error
type LanguageDetectionToolResultModelStatus ¶
type LanguageDetectionToolResultModelStatus string
const (
LanguageDetectionToolResultModelStatusSuccess LanguageDetectionToolResultModelStatus = "success"
)
func (LanguageDetectionToolResultModelStatus) AllValues ¶
func (LanguageDetectionToolResultModelStatus) AllValues() []LanguageDetectionToolResultModelStatus
AllValues returns all LanguageDetectionToolResultModelStatus values.
func (*LanguageDetectionToolResultModelStatus) Decode ¶
func (s *LanguageDetectionToolResultModelStatus) Decode(d *jx.Decoder) error
Decode decodes LanguageDetectionToolResultModelStatus from json.
func (LanguageDetectionToolResultModelStatus) Encode ¶
func (s LanguageDetectionToolResultModelStatus) Encode(e *jx.Encoder)
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 ¶
func (s LanguageDetectionToolResultModelStatus) Validate() error
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 ¶
func (s *LibraryVoiceResponseModel) GetCategory() LibraryVoiceResponseModelCategory
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 ¶
func (s *LibraryVoiceResponseModel) GetRate() OptNilFloat64
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 ¶
func (s *LibraryVoiceResponseModel) GetVerifiedLanguages() OptNilVerifiedVoiceLanguageResponseModelArray
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 ¶
func (s *LibraryVoiceResponseModel) SetCategory(val LibraryVoiceResponseModelCategory)
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 ¶
func (s *LibraryVoiceResponseModel) SetVerifiedLanguages(val OptNilVerifiedVoiceLanguageResponseModelArray)
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 ¶
func (LibraryVoiceResponseModelCategory) AllValues() []LibraryVoiceResponseModelCategory
AllValues returns all LibraryVoiceResponseModelCategory values.
func (*LibraryVoiceResponseModelCategory) Decode ¶
func (s *LibraryVoiceResponseModelCategory) Decode(d *jx.Decoder) error
Decode decodes LibraryVoiceResponseModelCategory from json.
func (LibraryVoiceResponseModelCategory) Encode ¶
func (s LibraryVoiceResponseModelCategory) Encode(e *jx.Encoder)
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 ¶
func (s LibraryVoiceResponseModelCategory) Validate() error
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 ¶
func (ListDubsDubbingStatus) AllValues() []ListDubsDubbingStatus
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 ¶
func (ListDubsFilterByCreator) AllValues() []ListDubsFilterByCreator
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 ¶
func (ListDubsOrderDirection) AllValues() []ListDubsOrderDirection
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 ¶
func (s *ListPhoneNumbersRouteOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListPhoneNumbersRouteOKApplicationJSON from json.
func (ListPhoneNumbersRouteOKApplicationJSON) Encode ¶
func (s ListPhoneNumbersRouteOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s ListPhoneNumbersRouteOKApplicationJSON) Validate() error
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 ¶
func (s *ListPhoneNumbersRouteOKItem) Decode(d *jx.Decoder) error
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 ¶
func (s *ListTestsByIdsRequestModel) Decode(d *jx.Decoder) error
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 ¶
func (s *ListWhatsAppAccountsResponse) Decode(d *jx.Decoder) error
Decode decodes ListWhatsAppAccountsResponse from json.
func (*ListWhatsAppAccountsResponse) Encode ¶
func (s *ListWhatsAppAccountsResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListWhatsAppAccountsResponse) GetItems ¶
func (s *ListWhatsAppAccountsResponse) GetItems() []GetWhatsAppAccountResponse
GetItems returns the value of Items.
func (*ListWhatsAppAccountsResponse) MarshalJSON ¶
func (s *ListWhatsAppAccountsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListWhatsAppAccountsResponse) SetItems ¶
func (s *ListWhatsAppAccountsResponse) SetItems(val []GetWhatsAppAccountResponse)
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 ¶
func (s *LiteralJsonSchemaProperty) GetConstantValue() OptLiteralJsonSchemaPropertyConstantValue
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 ¶
func (s *LiteralJsonSchemaProperty) GetEnum() OptNilStringArray
GetEnum returns the value of Enum.
func (*LiteralJsonSchemaProperty) GetIsSystemProvided ¶
func (s *LiteralJsonSchemaProperty) GetIsSystemProvided() OptBool
GetIsSystemProvided returns the value of IsSystemProvided.
func (*LiteralJsonSchemaProperty) GetType ¶
func (s *LiteralJsonSchemaProperty) GetType() LiteralJsonSchemaPropertyType
GetType returns the value of Type.
func (*LiteralJsonSchemaProperty) MarshalJSON ¶
func (s *LiteralJsonSchemaProperty) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LiteralJsonSchemaProperty) SetConstantValue ¶
func (s *LiteralJsonSchemaProperty) SetConstantValue(val OptLiteralJsonSchemaPropertyConstantValue)
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 ¶
func (s *LiteralJsonSchemaProperty) SetEnum(val OptNilStringArray)
SetEnum sets the value of Enum.
func (*LiteralJsonSchemaProperty) SetIsSystemProvided ¶
func (s *LiteralJsonSchemaProperty) SetIsSystemProvided(val OptBool)
SetIsSystemProvided sets the value of IsSystemProvided.
func (*LiteralJsonSchemaProperty) SetType ¶
func (s *LiteralJsonSchemaProperty) SetType(val LiteralJsonSchemaPropertyType)
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 ¶
func (s *LiteralJsonSchemaPropertyConstantValue) Decode(d *jx.Decoder) error
Decode decodes LiteralJsonSchemaPropertyConstantValue from json.
func (LiteralJsonSchemaPropertyConstantValue) Encode ¶
func (s LiteralJsonSchemaPropertyConstantValue) Encode(e *jx.Encoder)
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 ¶
func (s LiteralJsonSchemaPropertyConstantValue) IsBool() bool
IsBool reports whether LiteralJsonSchemaPropertyConstantValue is bool.
func (LiteralJsonSchemaPropertyConstantValue) IsFloat64 ¶
func (s LiteralJsonSchemaPropertyConstantValue) IsFloat64() bool
IsFloat64 reports whether LiteralJsonSchemaPropertyConstantValue is float64.
func (LiteralJsonSchemaPropertyConstantValue) IsInt ¶
func (s LiteralJsonSchemaPropertyConstantValue) IsInt() bool
IsInt reports whether LiteralJsonSchemaPropertyConstantValue is int.
func (LiteralJsonSchemaPropertyConstantValue) IsString ¶
func (s LiteralJsonSchemaPropertyConstantValue) IsString() bool
IsString reports whether LiteralJsonSchemaPropertyConstantValue is string.
func (LiteralJsonSchemaPropertyConstantValue) MarshalJSON ¶
func (s LiteralJsonSchemaPropertyConstantValue) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LiteralJsonSchemaPropertyConstantValue) SetBool ¶
func (s *LiteralJsonSchemaPropertyConstantValue) SetBool(v bool)
SetBool sets LiteralJsonSchemaPropertyConstantValue to bool.
func (*LiteralJsonSchemaPropertyConstantValue) SetFloat64 ¶
func (s *LiteralJsonSchemaPropertyConstantValue) SetFloat64(v float64)
SetFloat64 sets LiteralJsonSchemaPropertyConstantValue to float64.
func (*LiteralJsonSchemaPropertyConstantValue) SetInt ¶
func (s *LiteralJsonSchemaPropertyConstantValue) SetInt(v int)
SetInt sets LiteralJsonSchemaPropertyConstantValue to int.
func (*LiteralJsonSchemaPropertyConstantValue) SetString ¶
func (s *LiteralJsonSchemaPropertyConstantValue) SetString(v string)
SetString sets LiteralJsonSchemaPropertyConstantValue to string.
func (*LiteralJsonSchemaPropertyConstantValue) UnmarshalJSON ¶
func (s *LiteralJsonSchemaPropertyConstantValue) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (LiteralJsonSchemaPropertyConstantValue) Validate ¶
func (s LiteralJsonSchemaPropertyConstantValue) Validate() error
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 ¶
func (LiteralJsonSchemaPropertyType) AllValues() []LiteralJsonSchemaPropertyType
AllValues returns all LiteralJsonSchemaPropertyType values.
func (*LiteralJsonSchemaPropertyType) Decode ¶
func (s *LiteralJsonSchemaPropertyType) Decode(d *jx.Decoder) error
Decode decodes LiteralJsonSchemaPropertyType from json.
func (LiteralJsonSchemaPropertyType) Encode ¶
func (s LiteralJsonSchemaPropertyType) Encode(e *jx.Encoder)
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 ¶
func (s *ManualVerificationFileResponseModel) Decode(d *jx.Decoder) error
Decode decodes ManualVerificationFileResponseModel from json.
func (*ManualVerificationFileResponseModel) Encode ¶
func (s *ManualVerificationFileResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ManualVerificationFileResponseModel) GetFileID ¶
func (s *ManualVerificationFileResponseModel) GetFileID() string
GetFileID returns the value of FileID.
func (*ManualVerificationFileResponseModel) GetFileName ¶
func (s *ManualVerificationFileResponseModel) GetFileName() string
GetFileName returns the value of FileName.
func (*ManualVerificationFileResponseModel) GetMimeType ¶
func (s *ManualVerificationFileResponseModel) GetMimeType() string
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 ¶
func (s *ManualVerificationResponseModel) Decode(d *jx.Decoder) error
Decode decodes ManualVerificationResponseModel from json.
func (*ManualVerificationResponseModel) Encode ¶
func (s *ManualVerificationResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ManualVerificationResponseModel) GetExtraText ¶
func (s *ManualVerificationResponseModel) GetExtraText() string
GetExtraText returns the value of ExtraText.
func (*ManualVerificationResponseModel) GetFiles ¶
func (s *ManualVerificationResponseModel) GetFiles() []ManualVerificationFileResponseModel
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 ¶
func (s *ManualVerificationResponseModel) SetFiles(val []ManualVerificationFileResponseModel)
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 ¶
func (s *MatchAnythingParameterEvaluationStrategy) Decode(d *jx.Decoder) error
Decode decodes MatchAnythingParameterEvaluationStrategy from json.
func (*MatchAnythingParameterEvaluationStrategy) Encode ¶
func (s *MatchAnythingParameterEvaluationStrategy) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MatchAnythingParameterEvaluationStrategy) GetType ¶
func (s *MatchAnythingParameterEvaluationStrategy) GetType() MatchAnythingParameterEvaluationStrategyType
GetType returns the value of Type.
func (*MatchAnythingParameterEvaluationStrategy) MarshalJSON ¶
func (s *MatchAnythingParameterEvaluationStrategy) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MatchAnythingParameterEvaluationStrategy) SetType ¶
func (s *MatchAnythingParameterEvaluationStrategy) SetType(val MatchAnythingParameterEvaluationStrategyType)
SetType sets the value of Type.
func (*MatchAnythingParameterEvaluationStrategy) UnmarshalJSON ¶
func (s *MatchAnythingParameterEvaluationStrategy) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MatchAnythingParameterEvaluationStrategy) Validate ¶
func (s *MatchAnythingParameterEvaluationStrategy) Validate() error
type MatchAnythingParameterEvaluationStrategyType ¶
type MatchAnythingParameterEvaluationStrategyType string
const (
MatchAnythingParameterEvaluationStrategyTypeAnything MatchAnythingParameterEvaluationStrategyType = "anything"
)
func (MatchAnythingParameterEvaluationStrategyType) AllValues ¶
func (MatchAnythingParameterEvaluationStrategyType) AllValues() []MatchAnythingParameterEvaluationStrategyType
AllValues returns all MatchAnythingParameterEvaluationStrategyType values.
func (*MatchAnythingParameterEvaluationStrategyType) Decode ¶
func (s *MatchAnythingParameterEvaluationStrategyType) Decode(d *jx.Decoder) error
Decode decodes MatchAnythingParameterEvaluationStrategyType from json.
func (MatchAnythingParameterEvaluationStrategyType) Encode ¶
func (s MatchAnythingParameterEvaluationStrategyType) Encode(e *jx.Encoder)
Encode encodes MatchAnythingParameterEvaluationStrategyType as json.
func (MatchAnythingParameterEvaluationStrategyType) MarshalJSON ¶
func (s MatchAnythingParameterEvaluationStrategyType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (MatchAnythingParameterEvaluationStrategyType) MarshalText ¶
func (s MatchAnythingParameterEvaluationStrategyType) MarshalText() ([]byte, error)
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 ¶
func (s MatchAnythingParameterEvaluationStrategyType) Validate() error
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 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 ¶
func (s *ModelSettingsResponseModel) Decode(d *jx.Decoder) error
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 ¶
func (s *MultichannelSpeechToTextResponseModel) Decode(d *jx.Decoder) error
Decode decodes MultichannelSpeechToTextResponseModel from json.
func (*MultichannelSpeechToTextResponseModel) Encode ¶
func (s *MultichannelSpeechToTextResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MultichannelSpeechToTextResponseModel) GetTranscriptionID ¶
func (s *MultichannelSpeechToTextResponseModel) GetTranscriptionID() OptNilString
GetTranscriptionID returns the value of TranscriptionID.
func (*MultichannelSpeechToTextResponseModel) GetTranscripts ¶
func (s *MultichannelSpeechToTextResponseModel) GetTranscripts() []SpeechToTextChunkResponseModel
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 ¶
func (s *MultichannelSpeechToTextResponseModel) SetTranscripts(val []SpeechToTextChunkResponseModel)
SetTranscripts sets the value of Transcripts.
func (*MultichannelSpeechToTextResponseModel) UnmarshalJSON ¶
func (s *MultichannelSpeechToTextResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MultichannelSpeechToTextResponseModel) Validate ¶
func (s *MultichannelSpeechToTextResponseModel) Validate() error
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 ¶
func NewNilAddPronunciationDictionaryResponseModelPermissionOnResource(v AddPronunciationDictionaryResponseModelPermissionOnResource) NilAddPronunciationDictionaryResponseModelPermissionOnResource
NewNilAddPronunciationDictionaryResponseModelPermissionOnResource returns new NilAddPronunciationDictionaryResponseModelPermissionOnResource with value set to v.
func (*NilAddPronunciationDictionaryResponseModelPermissionOnResource) Decode ¶
func (o *NilAddPronunciationDictionaryResponseModelPermissionOnResource) Decode(d *jx.Decoder) error
Decode decodes AddPronunciationDictionaryResponseModelPermissionOnResource from json.
func (NilAddPronunciationDictionaryResponseModelPermissionOnResource) Encode ¶
func (o NilAddPronunciationDictionaryResponseModelPermissionOnResource) Encode(e *jx.Encoder)
Encode encodes AddPronunciationDictionaryResponseModelPermissionOnResource as json.
func (NilAddPronunciationDictionaryResponseModelPermissionOnResource) Get ¶
func (o NilAddPronunciationDictionaryResponseModelPermissionOnResource) Get() (v AddPronunciationDictionaryResponseModelPermissionOnResource, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilAddPronunciationDictionaryResponseModelPermissionOnResource) IsNull ¶
func (o NilAddPronunciationDictionaryResponseModelPermissionOnResource) IsNull() bool
IsNull returns true if value is Null.
func (NilAddPronunciationDictionaryResponseModelPermissionOnResource) MarshalJSON ¶
func (s NilAddPronunciationDictionaryResponseModelPermissionOnResource) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilAddPronunciationDictionaryResponseModelPermissionOnResource) Or ¶
func (o NilAddPronunciationDictionaryResponseModelPermissionOnResource) Or(d AddPronunciationDictionaryResponseModelPermissionOnResource) AddPronunciationDictionaryResponseModelPermissionOnResource
Or returns value if set, or given parameter if does not.
func (*NilAddPronunciationDictionaryResponseModelPermissionOnResource) SetTo ¶
func (o *NilAddPronunciationDictionaryResponseModelPermissionOnResource) SetTo(v AddPronunciationDictionaryResponseModelPermissionOnResource)
SetTo sets value to v.
func (*NilAddPronunciationDictionaryResponseModelPermissionOnResource) SetToNull ¶
func (o *NilAddPronunciationDictionaryResponseModelPermissionOnResource) SetToNull()
SetToNull sets value to null.
func (*NilAddPronunciationDictionaryResponseModelPermissionOnResource) UnmarshalJSON ¶
func (s *NilAddPronunciationDictionaryResponseModelPermissionOnResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilConversationInitiationClientDataInternalDynamicVariablesItem ¶
type NilConversationInitiationClientDataInternalDynamicVariablesItem struct {
Value ConversationInitiationClientDataInternalDynamicVariablesItem
Null bool
}
NilConversationInitiationClientDataInternalDynamicVariablesItem is nullable ConversationInitiationClientDataInternalDynamicVariablesItem.
func NewNilConversationInitiationClientDataInternalDynamicVariablesItem ¶
func NewNilConversationInitiationClientDataInternalDynamicVariablesItem(v ConversationInitiationClientDataInternalDynamicVariablesItem) NilConversationInitiationClientDataInternalDynamicVariablesItem
NewNilConversationInitiationClientDataInternalDynamicVariablesItem returns new NilConversationInitiationClientDataInternalDynamicVariablesItem with value set to v.
func (*NilConversationInitiationClientDataInternalDynamicVariablesItem) Decode ¶
func (o *NilConversationInitiationClientDataInternalDynamicVariablesItem) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataInternalDynamicVariablesItem from json.
func (NilConversationInitiationClientDataInternalDynamicVariablesItem) Encode ¶
func (o NilConversationInitiationClientDataInternalDynamicVariablesItem) Encode(e *jx.Encoder)
Encode encodes ConversationInitiationClientDataInternalDynamicVariablesItem as json.
func (NilConversationInitiationClientDataInternalDynamicVariablesItem) Get ¶
func (o NilConversationInitiationClientDataInternalDynamicVariablesItem) Get() (v ConversationInitiationClientDataInternalDynamicVariablesItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilConversationInitiationClientDataInternalDynamicVariablesItem) IsNull ¶
func (o NilConversationInitiationClientDataInternalDynamicVariablesItem) IsNull() bool
IsNull returns true if value is Null.
func (NilConversationInitiationClientDataInternalDynamicVariablesItem) MarshalJSON ¶
func (s NilConversationInitiationClientDataInternalDynamicVariablesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilConversationInitiationClientDataInternalDynamicVariablesItem) Or ¶
func (o NilConversationInitiationClientDataInternalDynamicVariablesItem) Or(d ConversationInitiationClientDataInternalDynamicVariablesItem) ConversationInitiationClientDataInternalDynamicVariablesItem
Or returns value if set, or given parameter if does not.
func (*NilConversationInitiationClientDataInternalDynamicVariablesItem) SetTo ¶
func (o *NilConversationInitiationClientDataInternalDynamicVariablesItem) SetTo(v ConversationInitiationClientDataInternalDynamicVariablesItem)
SetTo sets value to v.
func (*NilConversationInitiationClientDataInternalDynamicVariablesItem) SetToNull ¶
func (o *NilConversationInitiationClientDataInternalDynamicVariablesItem) SetToNull()
SetToNull sets value to null.
func (*NilConversationInitiationClientDataInternalDynamicVariablesItem) UnmarshalJSON ¶
func (s *NilConversationInitiationClientDataInternalDynamicVariablesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilConversationInitiationClientDataRequestInputDynamicVariablesItem ¶
type NilConversationInitiationClientDataRequestInputDynamicVariablesItem struct {
Value ConversationInitiationClientDataRequestInputDynamicVariablesItem
Null bool
}
NilConversationInitiationClientDataRequestInputDynamicVariablesItem is nullable ConversationInitiationClientDataRequestInputDynamicVariablesItem.
func NewNilConversationInitiationClientDataRequestInputDynamicVariablesItem ¶
func NewNilConversationInitiationClientDataRequestInputDynamicVariablesItem(v ConversationInitiationClientDataRequestInputDynamicVariablesItem) NilConversationInitiationClientDataRequestInputDynamicVariablesItem
NewNilConversationInitiationClientDataRequestInputDynamicVariablesItem returns new NilConversationInitiationClientDataRequestInputDynamicVariablesItem with value set to v.
func (*NilConversationInitiationClientDataRequestInputDynamicVariablesItem) Decode ¶
func (o *NilConversationInitiationClientDataRequestInputDynamicVariablesItem) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataRequestInputDynamicVariablesItem from json.
func (NilConversationInitiationClientDataRequestInputDynamicVariablesItem) Encode ¶
func (o NilConversationInitiationClientDataRequestInputDynamicVariablesItem) Encode(e *jx.Encoder)
Encode encodes ConversationInitiationClientDataRequestInputDynamicVariablesItem as json.
func (NilConversationInitiationClientDataRequestInputDynamicVariablesItem) Get ¶
func (o NilConversationInitiationClientDataRequestInputDynamicVariablesItem) Get() (v ConversationInitiationClientDataRequestInputDynamicVariablesItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilConversationInitiationClientDataRequestInputDynamicVariablesItem) IsNull ¶
func (o NilConversationInitiationClientDataRequestInputDynamicVariablesItem) IsNull() bool
IsNull returns true if value is Null.
func (NilConversationInitiationClientDataRequestInputDynamicVariablesItem) MarshalJSON ¶
func (s NilConversationInitiationClientDataRequestInputDynamicVariablesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilConversationInitiationClientDataRequestInputDynamicVariablesItem) Or ¶
func (o NilConversationInitiationClientDataRequestInputDynamicVariablesItem) Or(d ConversationInitiationClientDataRequestInputDynamicVariablesItem) ConversationInitiationClientDataRequestInputDynamicVariablesItem
Or returns value if set, or given parameter if does not.
func (*NilConversationInitiationClientDataRequestInputDynamicVariablesItem) SetTo ¶
func (o *NilConversationInitiationClientDataRequestInputDynamicVariablesItem) SetTo(v ConversationInitiationClientDataRequestInputDynamicVariablesItem)
SetTo sets value to v.
func (*NilConversationInitiationClientDataRequestInputDynamicVariablesItem) SetToNull ¶
func (o *NilConversationInitiationClientDataRequestInputDynamicVariablesItem) SetToNull()
SetToNull sets value to null.
func (*NilConversationInitiationClientDataRequestInputDynamicVariablesItem) UnmarshalJSON ¶
func (s *NilConversationInitiationClientDataRequestInputDynamicVariablesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilConversationInitiationClientDataRequestOutputDynamicVariablesItem ¶
type NilConversationInitiationClientDataRequestOutputDynamicVariablesItem struct {
Value ConversationInitiationClientDataRequestOutputDynamicVariablesItem
Null bool
}
NilConversationInitiationClientDataRequestOutputDynamicVariablesItem is nullable ConversationInitiationClientDataRequestOutputDynamicVariablesItem.
func NewNilConversationInitiationClientDataRequestOutputDynamicVariablesItem ¶
func NewNilConversationInitiationClientDataRequestOutputDynamicVariablesItem(v ConversationInitiationClientDataRequestOutputDynamicVariablesItem) NilConversationInitiationClientDataRequestOutputDynamicVariablesItem
NewNilConversationInitiationClientDataRequestOutputDynamicVariablesItem returns new NilConversationInitiationClientDataRequestOutputDynamicVariablesItem with value set to v.
func (*NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) Decode ¶
func (o *NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataRequestOutputDynamicVariablesItem from json.
func (NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) Encode ¶
func (o NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) Encode(e *jx.Encoder)
Encode encodes ConversationInitiationClientDataRequestOutputDynamicVariablesItem as json.
func (NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) Get ¶
func (o NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) Get() (v ConversationInitiationClientDataRequestOutputDynamicVariablesItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsNull ¶
func (o NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) IsNull() bool
IsNull returns true if value is Null.
func (NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) MarshalJSON ¶
func (s NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) Or ¶
func (o NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) Or(d ConversationInitiationClientDataRequestOutputDynamicVariablesItem) ConversationInitiationClientDataRequestOutputDynamicVariablesItem
Or returns value if set, or given parameter if does not.
func (*NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetTo ¶
func (o *NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetTo(v ConversationInitiationClientDataRequestOutputDynamicVariablesItem)
SetTo sets value to v.
func (*NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetToNull ¶
func (o *NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) SetToNull()
SetToNull sets value to null.
func (*NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) UnmarshalJSON ¶
func (s *NilConversationInitiationClientDataRequestOutputDynamicVariablesItem) UnmarshalJSON(data []byte) error
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 ¶
func (o *NilCreateUnitTestRequestDynamicVariablesItem) Decode(d *jx.Decoder) error
Decode decodes CreateUnitTestRequestDynamicVariablesItem from json.
func (NilCreateUnitTestRequestDynamicVariablesItem) Encode ¶
func (o NilCreateUnitTestRequestDynamicVariablesItem) Encode(e *jx.Encoder)
Encode encodes CreateUnitTestRequestDynamicVariablesItem as json.
func (NilCreateUnitTestRequestDynamicVariablesItem) Get ¶
func (o NilCreateUnitTestRequestDynamicVariablesItem) Get() (v CreateUnitTestRequestDynamicVariablesItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilCreateUnitTestRequestDynamicVariablesItem) IsNull ¶
func (o NilCreateUnitTestRequestDynamicVariablesItem) IsNull() bool
IsNull returns true if value is Null.
func (NilCreateUnitTestRequestDynamicVariablesItem) MarshalJSON ¶
func (s NilCreateUnitTestRequestDynamicVariablesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilCreateUnitTestRequestDynamicVariablesItem) Or ¶
func (o NilCreateUnitTestRequestDynamicVariablesItem) Or(d CreateUnitTestRequestDynamicVariablesItem) CreateUnitTestRequestDynamicVariablesItem
Or returns value if set, or given parameter if does not.
func (*NilCreateUnitTestRequestDynamicVariablesItem) SetTo ¶
func (o *NilCreateUnitTestRequestDynamicVariablesItem) SetTo(v CreateUnitTestRequestDynamicVariablesItem)
SetTo sets value to v.
func (*NilCreateUnitTestRequestDynamicVariablesItem) SetToNull ¶
func (o *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 ¶
func NewNilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource(v GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource
NewNilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource returns new NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource with value set to v.
func (*NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Decode ¶
func (o *NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Decode(d *jx.Decoder) error
Decode decodes GetPronunciationDictionaryMetadataResponseModelPermissionOnResource from json.
func (NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Encode ¶
func (o NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Encode(e *jx.Encoder)
Encode encodes GetPronunciationDictionaryMetadataResponseModelPermissionOnResource as json.
func (NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Get ¶
func (o NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Get() (v GetPronunciationDictionaryMetadataResponseModelPermissionOnResource, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) IsNull ¶
func (o NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) IsNull() bool
IsNull returns true if value is Null.
func (NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) MarshalJSON ¶
func (s NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Or ¶
func (o NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) Or(d GetPronunciationDictionaryMetadataResponseModelPermissionOnResource) GetPronunciationDictionaryMetadataResponseModelPermissionOnResource
Or returns value if set, or given parameter if does not.
func (*NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) SetTo ¶
func (o *NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) SetTo(v GetPronunciationDictionaryMetadataResponseModelPermissionOnResource)
SetTo sets value to v.
func (*NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) SetToNull ¶
func (o *NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) SetToNull()
SetToNull sets value to null.
func (*NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) UnmarshalJSON ¶
func (s *NilGetPronunciationDictionaryMetadataResponseModelPermissionOnResource) UnmarshalJSON(data []byte) error
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 ¶
func (o *NilGetUnitTestResponseModelDynamicVariablesItem) Decode(d *jx.Decoder) error
Decode decodes GetUnitTestResponseModelDynamicVariablesItem from json.
func (NilGetUnitTestResponseModelDynamicVariablesItem) Encode ¶
func (o NilGetUnitTestResponseModelDynamicVariablesItem) Encode(e *jx.Encoder)
Encode encodes GetUnitTestResponseModelDynamicVariablesItem as json.
func (NilGetUnitTestResponseModelDynamicVariablesItem) Get ¶
func (o NilGetUnitTestResponseModelDynamicVariablesItem) Get() (v GetUnitTestResponseModelDynamicVariablesItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilGetUnitTestResponseModelDynamicVariablesItem) IsNull ¶
func (o NilGetUnitTestResponseModelDynamicVariablesItem) IsNull() bool
IsNull returns true if value is Null.
func (NilGetUnitTestResponseModelDynamicVariablesItem) MarshalJSON ¶
func (s NilGetUnitTestResponseModelDynamicVariablesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilGetUnitTestResponseModelDynamicVariablesItem) Or ¶
func (o NilGetUnitTestResponseModelDynamicVariablesItem) Or(d GetUnitTestResponseModelDynamicVariablesItem) GetUnitTestResponseModelDynamicVariablesItem
Or returns value if set, or given parameter if does not.
func (*NilGetUnitTestResponseModelDynamicVariablesItem) SetTo ¶
func (o *NilGetUnitTestResponseModelDynamicVariablesItem) SetTo(v GetUnitTestResponseModelDynamicVariablesItem)
SetTo sets value to v.
func (*NilGetUnitTestResponseModelDynamicVariablesItem) SetToNull ¶
func (o *NilGetUnitTestResponseModelDynamicVariablesItem) SetToNull()
SetToNull sets value to null.
func (*NilGetUnitTestResponseModelDynamicVariablesItem) UnmarshalJSON ¶
func (s *NilGetUnitTestResponseModelDynamicVariablesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilInt ¶
NilInt is nullable int.
func (NilInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NilInt) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type NilResourceMetadataResponseModelAnonymousAccessLevelOverride ¶
type NilResourceMetadataResponseModelAnonymousAccessLevelOverride struct {
Value ResourceMetadataResponseModelAnonymousAccessLevelOverride
Null bool
}
NilResourceMetadataResponseModelAnonymousAccessLevelOverride is nullable ResourceMetadataResponseModelAnonymousAccessLevelOverride.
func NewNilResourceMetadataResponseModelAnonymousAccessLevelOverride ¶
func NewNilResourceMetadataResponseModelAnonymousAccessLevelOverride(v ResourceMetadataResponseModelAnonymousAccessLevelOverride) NilResourceMetadataResponseModelAnonymousAccessLevelOverride
NewNilResourceMetadataResponseModelAnonymousAccessLevelOverride returns new NilResourceMetadataResponseModelAnonymousAccessLevelOverride with value set to v.
func (*NilResourceMetadataResponseModelAnonymousAccessLevelOverride) Decode ¶
func (o *NilResourceMetadataResponseModelAnonymousAccessLevelOverride) Decode(d *jx.Decoder) error
Decode decodes ResourceMetadataResponseModelAnonymousAccessLevelOverride from json.
func (NilResourceMetadataResponseModelAnonymousAccessLevelOverride) Encode ¶
func (o NilResourceMetadataResponseModelAnonymousAccessLevelOverride) Encode(e *jx.Encoder)
Encode encodes ResourceMetadataResponseModelAnonymousAccessLevelOverride as json.
func (NilResourceMetadataResponseModelAnonymousAccessLevelOverride) Get ¶
func (o NilResourceMetadataResponseModelAnonymousAccessLevelOverride) Get() (v ResourceMetadataResponseModelAnonymousAccessLevelOverride, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilResourceMetadataResponseModelAnonymousAccessLevelOverride) IsNull ¶
func (o NilResourceMetadataResponseModelAnonymousAccessLevelOverride) IsNull() bool
IsNull returns true if value is Null.
func (NilResourceMetadataResponseModelAnonymousAccessLevelOverride) MarshalJSON ¶
func (s NilResourceMetadataResponseModelAnonymousAccessLevelOverride) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilResourceMetadataResponseModelAnonymousAccessLevelOverride) Or ¶
func (o NilResourceMetadataResponseModelAnonymousAccessLevelOverride) Or(d ResourceMetadataResponseModelAnonymousAccessLevelOverride) ResourceMetadataResponseModelAnonymousAccessLevelOverride
Or returns value if set, or given parameter if does not.
func (*NilResourceMetadataResponseModelAnonymousAccessLevelOverride) SetTo ¶
func (o *NilResourceMetadataResponseModelAnonymousAccessLevelOverride) SetTo(v ResourceMetadataResponseModelAnonymousAccessLevelOverride)
SetTo sets value to v.
func (*NilResourceMetadataResponseModelAnonymousAccessLevelOverride) SetToNull ¶
func (o *NilResourceMetadataResponseModelAnonymousAccessLevelOverride) SetToNull()
SetToNull sets value to null.
func (*NilResourceMetadataResponseModelAnonymousAccessLevelOverride) UnmarshalJSON ¶
func (s *NilResourceMetadataResponseModelAnonymousAccessLevelOverride) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilString ¶
NilString is nullable string.
func NewNilString ¶
NewNilString returns new NilString with value set to v.
func (NilString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NilString) UnmarshalJSON ¶
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 ¶
func (o *NilUnitTestCommonModelDynamicVariablesItem) Decode(d *jx.Decoder) error
Decode decodes UnitTestCommonModelDynamicVariablesItem from json.
func (NilUnitTestCommonModelDynamicVariablesItem) Encode ¶
func (o NilUnitTestCommonModelDynamicVariablesItem) Encode(e *jx.Encoder)
Encode encodes UnitTestCommonModelDynamicVariablesItem as json.
func (NilUnitTestCommonModelDynamicVariablesItem) Get ¶
func (o NilUnitTestCommonModelDynamicVariablesItem) Get() (v UnitTestCommonModelDynamicVariablesItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilUnitTestCommonModelDynamicVariablesItem) IsNull ¶
func (o NilUnitTestCommonModelDynamicVariablesItem) IsNull() bool
IsNull returns true if value is Null.
func (NilUnitTestCommonModelDynamicVariablesItem) MarshalJSON ¶
func (s NilUnitTestCommonModelDynamicVariablesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilUnitTestCommonModelDynamicVariablesItem) Or ¶
func (o NilUnitTestCommonModelDynamicVariablesItem) Or(d UnitTestCommonModelDynamicVariablesItem) UnitTestCommonModelDynamicVariablesItem
Or returns value if set, or given parameter if does not.
func (*NilUnitTestCommonModelDynamicVariablesItem) SetTo ¶
func (o *NilUnitTestCommonModelDynamicVariablesItem) SetTo(v UnitTestCommonModelDynamicVariablesItem)
SetTo sets value to v.
func (*NilUnitTestCommonModelDynamicVariablesItem) SetToNull ¶
func (o *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 ¶
func (o *NilUpdateUnitTestRequestDynamicVariablesItem) Decode(d *jx.Decoder) error
Decode decodes UpdateUnitTestRequestDynamicVariablesItem from json.
func (NilUpdateUnitTestRequestDynamicVariablesItem) Encode ¶
func (o NilUpdateUnitTestRequestDynamicVariablesItem) Encode(e *jx.Encoder)
Encode encodes UpdateUnitTestRequestDynamicVariablesItem as json.
func (NilUpdateUnitTestRequestDynamicVariablesItem) Get ¶
func (o NilUpdateUnitTestRequestDynamicVariablesItem) Get() (v UpdateUnitTestRequestDynamicVariablesItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilUpdateUnitTestRequestDynamicVariablesItem) IsNull ¶
func (o NilUpdateUnitTestRequestDynamicVariablesItem) IsNull() bool
IsNull returns true if value is Null.
func (NilUpdateUnitTestRequestDynamicVariablesItem) MarshalJSON ¶
func (s NilUpdateUnitTestRequestDynamicVariablesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilUpdateUnitTestRequestDynamicVariablesItem) Or ¶
func (o NilUpdateUnitTestRequestDynamicVariablesItem) Or(d UpdateUnitTestRequestDynamicVariablesItem) UpdateUnitTestRequestDynamicVariablesItem
Or returns value if set, or given parameter if does not.
func (*NilUpdateUnitTestRequestDynamicVariablesItem) SetTo ¶
func (o *NilUpdateUnitTestRequestDynamicVariablesItem) SetTo(v UpdateUnitTestRequestDynamicVariablesItem)
SetTo sets value to v.
func (*NilUpdateUnitTestRequestDynamicVariablesItem) SetToNull ¶
func (o *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" 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" 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 ¶
func (o *OptAgentConfigOverrideInput) Decode(d *jx.Decoder) error
Decode decodes AgentConfigOverrideInput from json.
func (OptAgentConfigOverrideInput) Encode ¶
func (o OptAgentConfigOverrideInput) Encode(e *jx.Encoder)
Encode encodes AgentConfigOverrideInput as json.
func (OptAgentConfigOverrideInput) Get ¶
func (o OptAgentConfigOverrideInput) Get() (v AgentConfigOverrideInput, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAgentConfigOverrideInput) IsSet ¶
func (o OptAgentConfigOverrideInput) IsSet() bool
IsSet returns true if OptAgentConfigOverrideInput was set.
func (OptAgentConfigOverrideInput) MarshalJSON ¶
func (s OptAgentConfigOverrideInput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptAgentConfigOverrideInput) Reset ¶
func (o *OptAgentConfigOverrideInput) Reset()
Reset unsets value.
func (*OptAgentConfigOverrideInput) SetTo ¶
func (o *OptAgentConfigOverrideInput) SetTo(v AgentConfigOverrideInput)
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 ¶
func (o *OptAgentConfigOverrideOutput) Decode(d *jx.Decoder) error
Decode decodes AgentConfigOverrideOutput from json.
func (OptAgentConfigOverrideOutput) Encode ¶
func (o OptAgentConfigOverrideOutput) Encode(e *jx.Encoder)
Encode encodes AgentConfigOverrideOutput as json.
func (OptAgentConfigOverrideOutput) Get ¶
func (o OptAgentConfigOverrideOutput) Get() (v AgentConfigOverrideOutput, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAgentConfigOverrideOutput) IsSet ¶
func (o OptAgentConfigOverrideOutput) IsSet() bool
IsSet returns true if OptAgentConfigOverrideOutput was set.
func (OptAgentConfigOverrideOutput) MarshalJSON ¶
func (s OptAgentConfigOverrideOutput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptAgentConfigOverrideOutput) Reset ¶
func (o *OptAgentConfigOverrideOutput) Reset()
Reset unsets value.
func (*OptAgentConfigOverrideOutput) SetTo ¶
func (o *OptAgentConfigOverrideOutput) SetTo(v AgentConfigOverrideOutput)
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 ¶
func (o OptAgentDefinitionSource) Get() (v AgentDefinitionSource, ok bool)
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 ¶
func (o OptAgentDefinitionSource) Or(d AgentDefinitionSource) AgentDefinitionSource
Or returns value if set, or given parameter if does not.
func (*OptAgentDefinitionSource) Reset ¶
func (o *OptAgentDefinitionSource) Reset()
Reset unsets value.
func (*OptAgentDefinitionSource) SetTo ¶
func (o *OptAgentDefinitionSource) SetTo(v AgentDefinitionSource)
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 ¶
func (o OptAgentMetadata) Or(d AgentMetadata) AgentMetadata
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptAgentSortBy) Or(d AgentSortBy) AgentSortBy
Or returns value if set, or given parameter if does not.
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 ¶
func (o *OptAsyncConversationMetadata) Decode(d *jx.Decoder) error
Decode decodes AsyncConversationMetadata from json.
func (OptAsyncConversationMetadata) Encode ¶
func (o OptAsyncConversationMetadata) Encode(e *jx.Encoder)
Encode encodes AsyncConversationMetadata as json.
func (OptAsyncConversationMetadata) Get ¶
func (o OptAsyncConversationMetadata) Get() (v AsyncConversationMetadata, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAsyncConversationMetadata) IsSet ¶
func (o OptAsyncConversationMetadata) IsSet() bool
IsSet returns true if OptAsyncConversationMetadata was set.
func (OptAsyncConversationMetadata) MarshalJSON ¶
func (s OptAsyncConversationMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptAsyncConversationMetadata) Reset ¶
func (o *OptAsyncConversationMetadata) Reset()
Reset unsets value.
func (*OptAsyncConversationMetadata) SetTo ¶
func (o *OptAsyncConversationMetadata) SetTo(v AsyncConversationMetadata)
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 ¶
func (o *OptAudioNativeProjectSettingsResponseModel) Decode(d *jx.Decoder) error
Decode decodes AudioNativeProjectSettingsResponseModel from json.
func (OptAudioNativeProjectSettingsResponseModel) Encode ¶
func (o OptAudioNativeProjectSettingsResponseModel) Encode(e *jx.Encoder)
Encode encodes AudioNativeProjectSettingsResponseModel as json.
func (OptAudioNativeProjectSettingsResponseModel) Get ¶
func (o OptAudioNativeProjectSettingsResponseModel) Get() (v AudioNativeProjectSettingsResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAudioNativeProjectSettingsResponseModel) IsSet ¶
func (o OptAudioNativeProjectSettingsResponseModel) IsSet() bool
IsSet returns true if OptAudioNativeProjectSettingsResponseModel was set.
func (OptAudioNativeProjectSettingsResponseModel) MarshalJSON ¶
func (s OptAudioNativeProjectSettingsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAudioNativeProjectSettingsResponseModel) Or ¶
func (o OptAudioNativeProjectSettingsResponseModel) Or(d AudioNativeProjectSettingsResponseModel) AudioNativeProjectSettingsResponseModel
Or returns value if set, or given parameter if does not.
func (*OptAudioNativeProjectSettingsResponseModel) Reset ¶
func (o *OptAudioNativeProjectSettingsResponseModel) Reset()
Reset unsets value.
func (*OptAudioNativeProjectSettingsResponseModel) SetTo ¶
func (o *OptAudioNativeProjectSettingsResponseModel) SetTo(v AudioNativeProjectSettingsResponseModel)
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 ¶
func (o *OptAudioNativeProjectSettingsResponseModelStatus) Decode(d *jx.Decoder) error
Decode decodes AudioNativeProjectSettingsResponseModelStatus from json.
func (OptAudioNativeProjectSettingsResponseModelStatus) Encode ¶
func (o OptAudioNativeProjectSettingsResponseModelStatus) Encode(e *jx.Encoder)
Encode encodes AudioNativeProjectSettingsResponseModelStatus as json.
func (OptAudioNativeProjectSettingsResponseModelStatus) Get ¶
func (o OptAudioNativeProjectSettingsResponseModelStatus) Get() (v AudioNativeProjectSettingsResponseModelStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAudioNativeProjectSettingsResponseModelStatus) IsSet ¶
func (o OptAudioNativeProjectSettingsResponseModelStatus) IsSet() bool
IsSet returns true if OptAudioNativeProjectSettingsResponseModelStatus was set.
func (OptAudioNativeProjectSettingsResponseModelStatus) MarshalJSON ¶
func (s OptAudioNativeProjectSettingsResponseModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAudioNativeProjectSettingsResponseModelStatus) Or ¶
func (o OptAudioNativeProjectSettingsResponseModelStatus) Or(d AudioNativeProjectSettingsResponseModelStatus) AudioNativeProjectSettingsResponseModelStatus
Or returns value if set, or given parameter if does not.
func (*OptAudioNativeProjectSettingsResponseModelStatus) Reset ¶
func (o *OptAudioNativeProjectSettingsResponseModelStatus) Reset()
Reset unsets value.
func (*OptAudioNativeProjectSettingsResponseModelStatus) SetTo ¶
func (o *OptAudioNativeProjectSettingsResponseModelStatus) SetTo(v AudioNativeProjectSettingsResponseModelStatus)
SetTo sets value to v.
func (*OptAudioNativeProjectSettingsResponseModelStatus) UnmarshalJSON ¶
func (s *OptAudioNativeProjectSettingsResponseModelStatus) UnmarshalJSON(data []byte) error
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 ¶
func (o OptAuthorizationMethod) Get() (v AuthorizationMethod, ok bool)
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 ¶
func (o OptAuthorizationMethod) Or(d AuthorizationMethod) AuthorizationMethod
Or returns value if set, or given parameter if does not.
func (*OptAuthorizationMethod) SetTo ¶
func (o *OptAuthorizationMethod) SetTo(v AuthorizationMethod)
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 ¶
func (o *OptBatchCallWhatsAppParams) Decode(d *jx.Decoder) error
Decode decodes BatchCallWhatsAppParams from json.
func (OptBatchCallWhatsAppParams) Encode ¶
func (o OptBatchCallWhatsAppParams) Encode(e *jx.Encoder)
Encode encodes BatchCallWhatsAppParams as json.
func (OptBatchCallWhatsAppParams) Get ¶
func (o OptBatchCallWhatsAppParams) Get() (v BatchCallWhatsAppParams, ok bool)
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) Reset ¶
func (o *OptBatchCallWhatsAppParams) Reset()
Reset unsets value.
func (*OptBatchCallWhatsAppParams) SetTo ¶
func (o *OptBatchCallWhatsAppParams) SetTo(v BatchCallWhatsAppParams)
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 ¶
func (o OptBillingPeriod) Or(d BillingPeriod) BillingPeriod
Or returns value if set, or given parameter if does not.
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 ¶
func NewOptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart(v BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart
NewOptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart returns new OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart with value set to v.
func (OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) Get ¶
func (o OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) Get() (v BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) IsSet ¶
func (o OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) IsSet() bool
IsSet returns true if OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart was set.
func (OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) Or ¶
func (o OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) Or(d BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart
Or returns value if set, or given parameter if does not.
func (*OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) Reset ¶
func (o *OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) Reset()
Reset unsets value.
func (*OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) SetTo ¶
func (o *OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart) SetTo(v BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart)
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 ¶
func (o *OptBodyComposeMusicV1MusicPost) Decode(d *jx.Decoder) error
Decode decodes BodyComposeMusicV1MusicPost from json.
func (OptBodyComposeMusicV1MusicPost) Encode ¶
func (o OptBodyComposeMusicV1MusicPost) Encode(e *jx.Encoder)
Encode encodes BodyComposeMusicV1MusicPost as json.
func (OptBodyComposeMusicV1MusicPost) Get ¶
func (o OptBodyComposeMusicV1MusicPost) Get() (v BodyComposeMusicV1MusicPost, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyComposeMusicV1MusicPost) IsSet ¶
func (o OptBodyComposeMusicV1MusicPost) IsSet() bool
IsSet returns true if OptBodyComposeMusicV1MusicPost was set.
func (OptBodyComposeMusicV1MusicPost) MarshalJSON ¶
func (s OptBodyComposeMusicV1MusicPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyComposeMusicV1MusicPost) Or ¶
func (o OptBodyComposeMusicV1MusicPost) Or(d BodyComposeMusicV1MusicPost) BodyComposeMusicV1MusicPost
Or returns value if set, or given parameter if does not.
func (*OptBodyComposeMusicV1MusicPost) Reset ¶
func (o *OptBodyComposeMusicV1MusicPost) Reset()
Reset unsets value.
func (*OptBodyComposeMusicV1MusicPost) SetTo ¶
func (o *OptBodyComposeMusicV1MusicPost) SetTo(v BodyComposeMusicV1MusicPost)
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 ¶
func (o *OptBodyComposeMusicV1MusicPostModelID) Decode(d *jx.Decoder) error
Decode decodes BodyComposeMusicV1MusicPostModelID from json.
func (OptBodyComposeMusicV1MusicPostModelID) Encode ¶
func (o OptBodyComposeMusicV1MusicPostModelID) Encode(e *jx.Encoder)
Encode encodes BodyComposeMusicV1MusicPostModelID as json.
func (OptBodyComposeMusicV1MusicPostModelID) Get ¶
func (o OptBodyComposeMusicV1MusicPostModelID) Get() (v BodyComposeMusicV1MusicPostModelID, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyComposeMusicV1MusicPostModelID) IsSet ¶
func (o OptBodyComposeMusicV1MusicPostModelID) IsSet() bool
IsSet returns true if OptBodyComposeMusicV1MusicPostModelID was set.
func (OptBodyComposeMusicV1MusicPostModelID) MarshalJSON ¶
func (s OptBodyComposeMusicV1MusicPostModelID) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyComposeMusicV1MusicPostModelID) Or ¶
func (o OptBodyComposeMusicV1MusicPostModelID) Or(d BodyComposeMusicV1MusicPostModelID) BodyComposeMusicV1MusicPostModelID
Or returns value if set, or given parameter if does not.
func (*OptBodyComposeMusicV1MusicPostModelID) Reset ¶
func (o *OptBodyComposeMusicV1MusicPostModelID) Reset()
Reset unsets value.
func (*OptBodyComposeMusicV1MusicPostModelID) SetTo ¶
func (o *OptBodyComposeMusicV1MusicPostModelID) SetTo(v BodyComposeMusicV1MusicPostModelID)
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 ¶
func NewOptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost(v BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost
NewOptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost returns new OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost with value set to v.
func (*OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Decode ¶
func (o *OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Decode(d *jx.Decoder) error
Decode decodes BodyComposeMusicWithADetailedResponseV1MusicDetailedPost from json.
func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Encode ¶
func (o OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Encode(e *jx.Encoder)
Encode encodes BodyComposeMusicWithADetailedResponseV1MusicDetailedPost as json.
func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Get ¶
func (o OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Get() (v BodyComposeMusicWithADetailedResponseV1MusicDetailedPost, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) IsSet ¶
func (o OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) IsSet() bool
IsSet returns true if OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost was set.
func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) MarshalJSON ¶
func (s OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Or ¶
func (o OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Or(d BodyComposeMusicWithADetailedResponseV1MusicDetailedPost) BodyComposeMusicWithADetailedResponseV1MusicDetailedPost
Or returns value if set, or given parameter if does not.
func (*OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Reset ¶
func (o *OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) Reset()
Reset unsets value.
func (*OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetTo ¶
func (o *OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) SetTo(v BodyComposeMusicWithADetailedResponseV1MusicDetailedPost)
SetTo sets value to v.
func (*OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) UnmarshalJSON ¶
func (s *OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID ¶
type OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID struct {
Value BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID
Set bool
}
OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID is optional BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID.
func NewOptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID ¶
func NewOptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID(v BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID
NewOptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID returns new OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID with value set to v.
func (*OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Decode ¶
func (o *OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Decode(d *jx.Decoder) error
Decode decodes BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID from json.
func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Encode ¶
func (o OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Encode(e *jx.Encoder)
Encode encodes BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID as json.
func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Get ¶
func (o OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Get() (v BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) IsSet ¶
func (o OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) IsSet() bool
IsSet returns true if OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID was set.
func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) MarshalJSON ¶
func (s OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Or ¶
func (o OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Or(d BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID
Or returns value if set, or given parameter if does not.
func (*OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Reset ¶
func (o *OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) Reset()
Reset unsets value.
func (*OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) SetTo ¶
func (o *OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) SetTo(v BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID)
SetTo sets value to v.
func (*OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) UnmarshalJSON ¶
func (s *OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelID) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost ¶
type OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost struct {
Value BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost
Set bool
}
OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost is optional BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost.
func NewOptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost ¶
func NewOptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost(v BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost
NewOptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost returns new OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost with value set to v.
func (*OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Decode ¶
func (o *OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Decode(d *jx.Decoder) error
Decode decodes BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost from json.
func (OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Encode ¶
func (o OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Encode(e *jx.Encoder)
Encode encodes BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost as json.
func (OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Get ¶
func (o OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Get() (v BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) IsSet ¶
func (o OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) IsSet() bool
IsSet returns true if OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost was set.
func (OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) MarshalJSON ¶
func (s OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Or ¶
func (o OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Or(d BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost
Or returns value if set, or given parameter if does not.
func (*OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Reset ¶
func (o *OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) Reset()
Reset unsets value.
func (*OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetTo ¶
func (o *OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) SetTo(v BodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost)
SetTo sets value to v.
func (*OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) UnmarshalJSON ¶
func (s *OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost) UnmarshalJSON(data []byte) error
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 ¶
func (o OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) Get() (v BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) IsSet ¶
func (o OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) IsSet() bool
IsSet returns true if OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart was set.
func (OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) Or ¶
func (o OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) Or(d BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart
Or returns value if set, or given parameter if does not.
func (*OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) Reset ¶
func (o *OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) Reset()
Reset unsets value.
func (*OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetTo ¶
func (o *OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart) SetTo(v BodyDubAVideoOrAnAudioFileV1DubbingPostMultipart)
SetTo sets value to v.
type OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode ¶
type OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode struct {
Value BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode
Set bool
}
OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode is optional BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode.
func NewOptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode ¶
func NewOptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode(v BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode
NewOptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode returns new OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode with value set to v.
func (OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) Get ¶
func (o OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) Get() (v BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) IsSet ¶
func (o OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) IsSet() bool
IsSet returns true if OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode was set.
func (OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) Or ¶
func (o OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) Or(d BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode
Or returns value if set, or given parameter if does not.
func (*OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) Reset ¶
func (o *OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) Reset()
Reset unsets value.
func (*OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) SetTo ¶
func (o *OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode) SetTo(v BodyDubAVideoOrAnAudioFileV1DubbingPostMultipartMode)
SetTo sets value to v.
type OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost ¶
type OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost struct {
Value BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost
Set bool
}
OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost is optional BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost.
func NewOptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost ¶
func NewOptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost(v BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost
NewOptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost returns new OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost with value set to v.
func (*OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Decode ¶
func (o *OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Decode(d *jx.Decoder) error
Decode decodes BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost from json.
func (OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Encode ¶
func (o OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Encode(e *jx.Encoder)
Encode encodes BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost as json.
func (OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Get ¶
func (o OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Get() (v BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) IsSet ¶
func (o OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) IsSet() bool
IsSet returns true if OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost was set.
func (OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) MarshalJSON ¶
func (s OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Or ¶
func (o OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Or(d BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost
Or returns value if set, or given parameter if does not.
func (*OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Reset ¶
func (o *OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) Reset()
Reset unsets value.
func (*OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) SetTo ¶
func (o *OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) SetTo(v BodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost)
SetTo sets value to v.
func (*OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) UnmarshalJSON ¶
func (s *OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Decode(d *jx.Decoder) error
Decode decodes BodyEditPVCVoiceV1VoicesPvcVoiceIDPost from json.
func (OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Encode ¶
func (o OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Encode(e *jx.Encoder)
Encode encodes BodyEditPVCVoiceV1VoicesPvcVoiceIDPost as json.
func (OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Get ¶
func (o OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Get() (v BodyEditPVCVoiceV1VoicesPvcVoiceIDPost, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) IsSet ¶
func (o OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) IsSet() bool
IsSet returns true if OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost was set.
func (OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) MarshalJSON ¶
func (s OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Or ¶
func (o OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Or(d BodyEditPVCVoiceV1VoicesPvcVoiceIDPost) BodyEditPVCVoiceV1VoicesPvcVoiceIDPost
Or returns value if set, or given parameter if does not.
func (*OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Reset ¶
func (o *OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) Reset()
Reset unsets value.
func (*OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetTo ¶
func (o *OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost) SetTo(v BodyEditPVCVoiceV1VoicesPvcVoiceIDPost)
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 ¶
func NewOptBodyGenerateCompositionPlanV1MusicPlanPostModelID(v BodyGenerateCompositionPlanV1MusicPlanPostModelID) OptBodyGenerateCompositionPlanV1MusicPlanPostModelID
NewOptBodyGenerateCompositionPlanV1MusicPlanPostModelID returns new OptBodyGenerateCompositionPlanV1MusicPlanPostModelID with value set to v.
func (*OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Decode ¶
func (o *OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Decode(d *jx.Decoder) error
Decode decodes BodyGenerateCompositionPlanV1MusicPlanPostModelID from json.
func (OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Encode ¶
func (o OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Encode(e *jx.Encoder)
Encode encodes BodyGenerateCompositionPlanV1MusicPlanPostModelID as json.
func (OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Get ¶
func (o OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Get() (v BodyGenerateCompositionPlanV1MusicPlanPostModelID, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) IsSet ¶
func (o OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) IsSet() bool
IsSet returns true if OptBodyGenerateCompositionPlanV1MusicPlanPostModelID was set.
func (OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) MarshalJSON ¶
func (s OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Or ¶
func (o OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Or(d BodyGenerateCompositionPlanV1MusicPlanPostModelID) BodyGenerateCompositionPlanV1MusicPlanPostModelID
Or returns value if set, or given parameter if does not.
func (*OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Reset ¶
func (o *OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) Reset()
Reset unsets value.
func (*OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) SetTo ¶
func (o *OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) SetTo(v BodyGenerateCompositionPlanV1MusicPlanPostModelID)
SetTo sets value to v.
func (*OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) UnmarshalJSON ¶
func (s *OptBodyGenerateCompositionPlanV1MusicPlanPostModelID) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart ¶
type OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart struct {
Value BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart
Set bool
}
OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart is optional BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart.
func NewOptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart ¶
func NewOptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart(v BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart
NewOptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart returns new OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart with value set to v.
func (OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) Get ¶
func (o OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) Get() (v BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) IsSet ¶
func (o OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) IsSet() bool
IsSet returns true if OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart was set.
func (OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) Or ¶
func (o OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) Or(d BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart
Or returns value if set, or given parameter if does not.
func (*OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) Reset ¶
func (o *OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) Reset()
Reset unsets value.
func (*OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) SetTo ¶
func (o *OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart) SetTo(v BodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart)
SetTo sets value to v.
type OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection ¶
type OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection struct {
Value BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection
Set bool
}
OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection is optional BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection.
func NewOptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection ¶
func NewOptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection(v BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection
NewOptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection returns new OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection with value set to v.
func (*OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Decode ¶
func (o *OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Decode(d *jx.Decoder) error
Decode decodes BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection from json.
func (OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Encode ¶
func (o OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Encode(e *jx.Encoder)
Encode encodes BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection as json.
func (OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Get ¶
func (o OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Get() (v BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) IsSet ¶
func (o OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) IsSet() bool
IsSet returns true if OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection was set.
func (OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) MarshalJSON ¶
func (s OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Or ¶
func (o OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Or(d BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection
Or returns value if set, or given parameter if does not.
func (*OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) Reset ¶
Reset unsets value.
func (*OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) SetTo ¶
func (o *OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) SetTo(v BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection)
SetTo sets value to v.
func (*OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) UnmarshalJSON ¶
func (s *OptBodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPostDirection) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Decode(d *jx.Decoder) error
Decode decodes BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost from json.
func (OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Encode ¶
func (o OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Encode(e *jx.Encoder)
Encode encodes BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost as json.
func (OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Get ¶
func (o OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Get() (v BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) IsSet ¶
func (o OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) IsSet() bool
IsSet returns true if OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost was set.
func (OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) MarshalJSON ¶
func (s OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Or ¶
func (o OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Or(d BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost
Or returns value if set, or given parameter if does not.
func (*OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Reset ¶
func (o *OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) Reset()
Reset unsets value.
func (*OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) SetTo ¶
func (o *OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) SetTo(v BodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost)
SetTo sets value to v.
func (*OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) UnmarshalJSON ¶
func (s *OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat ¶
type OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat struct {
Value BodySpeechToTextV1SpeechToTextPostMultipartFileFormat
Set bool
}
OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat is optional BodySpeechToTextV1SpeechToTextPostMultipartFileFormat.
func NewOptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat ¶
func NewOptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat(v BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat
NewOptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat returns new OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat with value set to v.
func (OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) Get ¶
func (o OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) Get() (v BodySpeechToTextV1SpeechToTextPostMultipartFileFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) IsSet ¶
func (o OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) IsSet() bool
IsSet returns true if OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat was set.
func (OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) Or ¶
func (o OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) Or(d BodySpeechToTextV1SpeechToTextPostMultipartFileFormat) BodySpeechToTextV1SpeechToTextPostMultipartFileFormat
Or returns value if set, or given parameter if does not.
func (*OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) Reset ¶
func (o *OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) Reset()
Reset unsets value.
func (*OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) SetTo ¶
func (o *OptBodySpeechToTextV1SpeechToTextPostMultipartFileFormat) SetTo(v BodySpeechToTextV1SpeechToTextPostMultipartFileFormat)
SetTo sets value to v.
type OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity ¶
type OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity struct {
Value BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity
Set bool
}
OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity is optional BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity.
func NewOptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity ¶
func NewOptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity(v BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity
NewOptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity returns new OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity with value set to v.
func (OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) Get ¶
func (o OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) Get() (v BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) IsSet ¶
func (o OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) IsSet() bool
IsSet returns true if OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity was set.
func (OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) Or ¶
func (o OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) Or(d BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity
Or returns value if set, or given parameter if does not.
func (*OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) Reset ¶
func (o *OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) Reset()
Reset unsets value.
func (*OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) SetTo ¶
func (o *OptBodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity) SetTo(v BodySpeechToTextV1SpeechToTextPostMultipartTimestampsGranularity)
SetTo sets value to v.
type OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID ¶
type OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID struct {
Value BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID
Set bool
}
OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID is optional BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID.
func NewOptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID ¶
func NewOptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID(v BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID
NewOptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID returns new OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID with value set to v.
func (OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) Get ¶
func (o OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) Get() (v BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) IsSet ¶
IsSet returns true if OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID was set.
func (OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) Or ¶
func (o OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) Or(d BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID
Or returns value if set, or given parameter if does not.
func (*OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) Reset ¶
func (o *OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) Reset()
Reset unsets value.
func (*OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) SetTo ¶
func (o *OptBodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID) SetTo(v BodyStemSeparationV1MusicStemSeparationPostMultipartStemVariationID)
SetTo sets value to v.
type OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost ¶
type OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost struct {
Value BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost
Set bool
}
OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost is optional BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost.
func NewOptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost ¶
func NewOptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost(v BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost
NewOptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost returns new OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost with value set to v.
func (*OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Decode ¶
func (o *OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Decode(d *jx.Decoder) error
Decode decodes BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost from json.
func (OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Encode ¶
func (o OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Encode(e *jx.Encoder)
Encode encodes BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost as json.
func (OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Get ¶
func (o OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Get() (v BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) IsSet ¶
func (o OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) IsSet() bool
IsSet returns true if OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost was set.
func (OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) MarshalJSON ¶
func (s OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Or ¶
func (o OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Or(d BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost
Or returns value if set, or given parameter if does not.
func (*OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Reset ¶
func (o *OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) Reset()
Reset unsets value.
func (*OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) SetTo ¶
func (o *OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) SetTo(v BodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost)
SetTo sets value to v.
func (*OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) UnmarshalJSON ¶
func (s *OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptBodyStreamComposedMusicV1MusicStreamPost) Decode(d *jx.Decoder) error
Decode decodes BodyStreamComposedMusicV1MusicStreamPost from json.
func (OptBodyStreamComposedMusicV1MusicStreamPost) Encode ¶
func (o OptBodyStreamComposedMusicV1MusicStreamPost) Encode(e *jx.Encoder)
Encode encodes BodyStreamComposedMusicV1MusicStreamPost as json.
func (OptBodyStreamComposedMusicV1MusicStreamPost) Get ¶
func (o OptBodyStreamComposedMusicV1MusicStreamPost) Get() (v BodyStreamComposedMusicV1MusicStreamPost, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyStreamComposedMusicV1MusicStreamPost) IsSet ¶
func (o OptBodyStreamComposedMusicV1MusicStreamPost) IsSet() bool
IsSet returns true if OptBodyStreamComposedMusicV1MusicStreamPost was set.
func (OptBodyStreamComposedMusicV1MusicStreamPost) MarshalJSON ¶
func (s OptBodyStreamComposedMusicV1MusicStreamPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyStreamComposedMusicV1MusicStreamPost) Or ¶
func (o OptBodyStreamComposedMusicV1MusicStreamPost) Or(d BodyStreamComposedMusicV1MusicStreamPost) BodyStreamComposedMusicV1MusicStreamPost
Or returns value if set, or given parameter if does not.
func (*OptBodyStreamComposedMusicV1MusicStreamPost) Reset ¶
func (o *OptBodyStreamComposedMusicV1MusicStreamPost) Reset()
Reset unsets value.
func (*OptBodyStreamComposedMusicV1MusicStreamPost) SetTo ¶
func (o *OptBodyStreamComposedMusicV1MusicStreamPost) SetTo(v BodyStreamComposedMusicV1MusicStreamPost)
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 ¶
func (o *OptBodyStreamComposedMusicV1MusicStreamPostModelID) Decode(d *jx.Decoder) error
Decode decodes BodyStreamComposedMusicV1MusicStreamPostModelID from json.
func (OptBodyStreamComposedMusicV1MusicStreamPostModelID) Encode ¶
func (o OptBodyStreamComposedMusicV1MusicStreamPostModelID) Encode(e *jx.Encoder)
Encode encodes BodyStreamComposedMusicV1MusicStreamPostModelID as json.
func (OptBodyStreamComposedMusicV1MusicStreamPostModelID) Get ¶
func (o OptBodyStreamComposedMusicV1MusicStreamPostModelID) Get() (v BodyStreamComposedMusicV1MusicStreamPostModelID, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyStreamComposedMusicV1MusicStreamPostModelID) IsSet ¶
func (o OptBodyStreamComposedMusicV1MusicStreamPostModelID) IsSet() bool
IsSet returns true if OptBodyStreamComposedMusicV1MusicStreamPostModelID was set.
func (OptBodyStreamComposedMusicV1MusicStreamPostModelID) MarshalJSON ¶
func (s OptBodyStreamComposedMusicV1MusicStreamPostModelID) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyStreamComposedMusicV1MusicStreamPostModelID) Or ¶
func (o OptBodyStreamComposedMusicV1MusicStreamPostModelID) Or(d BodyStreamComposedMusicV1MusicStreamPostModelID) BodyStreamComposedMusicV1MusicStreamPostModelID
Or returns value if set, or given parameter if does not.
func (*OptBodyStreamComposedMusicV1MusicStreamPostModelID) Reset ¶
func (o *OptBodyStreamComposedMusicV1MusicStreamPostModelID) Reset()
Reset unsets value.
func (*OptBodyStreamComposedMusicV1MusicStreamPostModelID) SetTo ¶
func (o *OptBodyStreamComposedMusicV1MusicStreamPostModelID) SetTo(v BodyStreamComposedMusicV1MusicStreamPostModelID)
SetTo sets value to v.
func (*OptBodyStreamComposedMusicV1MusicStreamPostModelID) UnmarshalJSON ¶
func (s *OptBodyStreamComposedMusicV1MusicStreamPostModelID) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost ¶
type OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost struct {
Value BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost
Set bool
}
OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost is optional BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost.
func NewOptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost ¶
func NewOptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost(v BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost
NewOptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost returns new OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost with value set to v.
func (*OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Decode ¶
func (o *OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Decode(d *jx.Decoder) error
Decode decodes BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost from json.
func (OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Encode ¶
func (o OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Encode(e *jx.Encoder)
Encode encodes BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost as json.
func (OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Get ¶
func (o OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Get() (v BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) IsSet ¶
func (o OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) IsSet() bool
IsSet returns true if OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost was set.
func (OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) MarshalJSON ¶
func (s OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Or ¶
func (o OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Or(d BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost
Or returns value if set, or given parameter if does not.
func (*OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Reset ¶
func (o *OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) Reset()
Reset unsets value.
func (*OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) SetTo ¶
func (o *OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) SetTo(v BodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost)
SetTo sets value to v.
func (*OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) UnmarshalJSON ¶
func (s *OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization ¶
type OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization struct {
Value BodyTextToDialogueFullWithTimestampsApplyTextNormalization
Set bool
}
OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization is optional BodyTextToDialogueFullWithTimestampsApplyTextNormalization.
func NewOptBodyTextToDialogueFullWithTimestampsApplyTextNormalization ¶
func NewOptBodyTextToDialogueFullWithTimestampsApplyTextNormalization(v BodyTextToDialogueFullWithTimestampsApplyTextNormalization) OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization
NewOptBodyTextToDialogueFullWithTimestampsApplyTextNormalization returns new OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization with value set to v.
func (*OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Decode ¶
func (o *OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Decode(d *jx.Decoder) error
Decode decodes BodyTextToDialogueFullWithTimestampsApplyTextNormalization from json.
func (OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Encode ¶
func (o OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Encode(e *jx.Encoder)
Encode encodes BodyTextToDialogueFullWithTimestampsApplyTextNormalization as json.
func (OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Get ¶
func (o OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Get() (v BodyTextToDialogueFullWithTimestampsApplyTextNormalization, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) IsSet ¶
func (o OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) IsSet() bool
IsSet returns true if OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization was set.
func (OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) MarshalJSON ¶
func (s OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Or ¶
func (o OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Or(d BodyTextToDialogueFullWithTimestampsApplyTextNormalization) BodyTextToDialogueFullWithTimestampsApplyTextNormalization
Or returns value if set, or given parameter if does not.
func (*OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Reset ¶
func (o *OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) Reset()
Reset unsets value.
func (*OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) SetTo ¶
func (o *OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) SetTo(v BodyTextToDialogueFullWithTimestampsApplyTextNormalization)
SetTo sets value to v.
func (*OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) UnmarshalJSON ¶
func (s *OptBodyTextToDialogueFullWithTimestampsApplyTextNormalization) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization ¶
type OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization struct {
Value BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization
Set bool
}
OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization is optional BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.
func NewOptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization ¶
func NewOptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization(v BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization
NewOptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization returns new OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization with value set to v.
func (*OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Decode ¶
func (o *OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Decode(d *jx.Decoder) error
Decode decodes BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization from json.
func (OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Encode ¶
func (o OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Encode(e *jx.Encoder)
Encode encodes BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization as json.
func (OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Get ¶
func (o OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Get() (v BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) IsSet ¶
func (o OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) IsSet() bool
IsSet returns true if OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization was set.
func (OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) MarshalJSON ¶
func (s OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Or ¶
func (o OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Or(d BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization
Or returns value if set, or given parameter if does not.
func (*OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Reset ¶
func (o *OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) Reset()
Reset unsets value.
func (*OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) SetTo ¶
func (o *OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) SetTo(v BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization)
SetTo sets value to v.
func (*OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) UnmarshalJSON ¶
func (s *OptBodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization ¶
type OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization struct {
Value BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization
Set bool
}
OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization is optional BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.
func NewOptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization ¶
func NewOptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization(v BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization
NewOptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization returns new OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization with value set to v.
func (*OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Decode ¶
func (o *OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Decode(d *jx.Decoder) error
Decode decodes BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization from json.
func (OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Encode ¶
func (o OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Encode(e *jx.Encoder)
Encode encodes BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization as json.
func (OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Get ¶
func (o OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Get() (v BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) IsSet ¶
IsSet returns true if OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization was set.
func (OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) MarshalJSON ¶
func (s OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Or ¶
func (o OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Or(d BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization
Or returns value if set, or given parameter if does not.
func (*OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) Reset ¶
Reset unsets value.
func (*OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) SetTo ¶
func (o *OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) SetTo(v BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization)
SetTo sets value to v.
func (*OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) UnmarshalJSON ¶
func (s *OptBodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization ¶
type OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization struct {
Value BodyTextToDialogueStreamWithTimestampsApplyTextNormalization
Set bool
}
OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization is optional BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.
func NewOptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization ¶
func NewOptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization(v BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization
NewOptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization returns new OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization with value set to v.
func (*OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Decode ¶
func (o *OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Decode(d *jx.Decoder) error
Decode decodes BodyTextToDialogueStreamWithTimestampsApplyTextNormalization from json.
func (OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Encode ¶
func (o OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Encode(e *jx.Encoder)
Encode encodes BodyTextToDialogueStreamWithTimestampsApplyTextNormalization as json.
func (OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Get ¶
func (o OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Get() (v BodyTextToDialogueStreamWithTimestampsApplyTextNormalization, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) IsSet ¶
func (o OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) IsSet() bool
IsSet returns true if OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization was set.
func (OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) MarshalJSON ¶
func (s OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Or ¶
func (o OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Or(d BodyTextToDialogueStreamWithTimestampsApplyTextNormalization) BodyTextToDialogueStreamWithTimestampsApplyTextNormalization
Or returns value if set, or given parameter if does not.
func (*OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Reset ¶
func (o *OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) Reset()
Reset unsets value.
func (*OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) SetTo ¶
func (o *OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) SetTo(v BodyTextToDialogueStreamWithTimestampsApplyTextNormalization)
SetTo sets value to v.
func (*OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) UnmarshalJSON ¶
func (s *OptBodyTextToDialogueStreamWithTimestampsApplyTextNormalization) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptBodyTextToSpeechFullApplyTextNormalization) Decode(d *jx.Decoder) error
Decode decodes BodyTextToSpeechFullApplyTextNormalization from json.
func (OptBodyTextToSpeechFullApplyTextNormalization) Encode ¶
func (o OptBodyTextToSpeechFullApplyTextNormalization) Encode(e *jx.Encoder)
Encode encodes BodyTextToSpeechFullApplyTextNormalization as json.
func (OptBodyTextToSpeechFullApplyTextNormalization) Get ¶
func (o OptBodyTextToSpeechFullApplyTextNormalization) Get() (v BodyTextToSpeechFullApplyTextNormalization, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyTextToSpeechFullApplyTextNormalization) IsSet ¶
func (o OptBodyTextToSpeechFullApplyTextNormalization) IsSet() bool
IsSet returns true if OptBodyTextToSpeechFullApplyTextNormalization was set.
func (OptBodyTextToSpeechFullApplyTextNormalization) MarshalJSON ¶
func (s OptBodyTextToSpeechFullApplyTextNormalization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyTextToSpeechFullApplyTextNormalization) Or ¶
func (o OptBodyTextToSpeechFullApplyTextNormalization) Or(d BodyTextToSpeechFullApplyTextNormalization) BodyTextToSpeechFullApplyTextNormalization
Or returns value if set, or given parameter if does not.
func (*OptBodyTextToSpeechFullApplyTextNormalization) Reset ¶
func (o *OptBodyTextToSpeechFullApplyTextNormalization) Reset()
Reset unsets value.
func (*OptBodyTextToSpeechFullApplyTextNormalization) SetTo ¶
func (o *OptBodyTextToSpeechFullApplyTextNormalization) SetTo(v BodyTextToSpeechFullApplyTextNormalization)
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 ¶
func NewOptBodyTextToSpeechFullWithTimestampsApplyTextNormalization(v BodyTextToSpeechFullWithTimestampsApplyTextNormalization) OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization
NewOptBodyTextToSpeechFullWithTimestampsApplyTextNormalization returns new OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization with value set to v.
func (*OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Decode ¶
func (o *OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Decode(d *jx.Decoder) error
Decode decodes BodyTextToSpeechFullWithTimestampsApplyTextNormalization from json.
func (OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Encode ¶
func (o OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Encode(e *jx.Encoder)
Encode encodes BodyTextToSpeechFullWithTimestampsApplyTextNormalization as json.
func (OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Get ¶
func (o OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Get() (v BodyTextToSpeechFullWithTimestampsApplyTextNormalization, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) IsSet ¶
func (o OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) IsSet() bool
IsSet returns true if OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization was set.
func (OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) MarshalJSON ¶
func (s OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Or ¶
func (o OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Or(d BodyTextToSpeechFullWithTimestampsApplyTextNormalization) BodyTextToSpeechFullWithTimestampsApplyTextNormalization
Or returns value if set, or given parameter if does not.
func (*OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Reset ¶
func (o *OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) Reset()
Reset unsets value.
func (*OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) SetTo ¶
func (o *OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) SetTo(v BodyTextToSpeechFullWithTimestampsApplyTextNormalization)
SetTo sets value to v.
func (*OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) UnmarshalJSON ¶
func (s *OptBodyTextToSpeechFullWithTimestampsApplyTextNormalization) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptBodyTextToSpeechStreamApplyTextNormalization) Decode(d *jx.Decoder) error
Decode decodes BodyTextToSpeechStreamApplyTextNormalization from json.
func (OptBodyTextToSpeechStreamApplyTextNormalization) Encode ¶
func (o OptBodyTextToSpeechStreamApplyTextNormalization) Encode(e *jx.Encoder)
Encode encodes BodyTextToSpeechStreamApplyTextNormalization as json.
func (OptBodyTextToSpeechStreamApplyTextNormalization) Get ¶
func (o OptBodyTextToSpeechStreamApplyTextNormalization) Get() (v BodyTextToSpeechStreamApplyTextNormalization, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyTextToSpeechStreamApplyTextNormalization) IsSet ¶
func (o OptBodyTextToSpeechStreamApplyTextNormalization) IsSet() bool
IsSet returns true if OptBodyTextToSpeechStreamApplyTextNormalization was set.
func (OptBodyTextToSpeechStreamApplyTextNormalization) MarshalJSON ¶
func (s OptBodyTextToSpeechStreamApplyTextNormalization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyTextToSpeechStreamApplyTextNormalization) Or ¶
func (o OptBodyTextToSpeechStreamApplyTextNormalization) Or(d BodyTextToSpeechStreamApplyTextNormalization) BodyTextToSpeechStreamApplyTextNormalization
Or returns value if set, or given parameter if does not.
func (*OptBodyTextToSpeechStreamApplyTextNormalization) Reset ¶
func (o *OptBodyTextToSpeechStreamApplyTextNormalization) Reset()
Reset unsets value.
func (*OptBodyTextToSpeechStreamApplyTextNormalization) SetTo ¶
func (o *OptBodyTextToSpeechStreamApplyTextNormalization) SetTo(v BodyTextToSpeechStreamApplyTextNormalization)
SetTo sets value to v.
func (*OptBodyTextToSpeechStreamApplyTextNormalization) UnmarshalJSON ¶
func (s *OptBodyTextToSpeechStreamApplyTextNormalization) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization ¶
type OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization struct {
Value BodyTextToSpeechStreamWithTimestampsApplyTextNormalization
Set bool
}
OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization is optional BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.
func NewOptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization ¶
func NewOptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization(v BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization
NewOptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization returns new OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization with value set to v.
func (*OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Decode ¶
func (o *OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Decode(d *jx.Decoder) error
Decode decodes BodyTextToSpeechStreamWithTimestampsApplyTextNormalization from json.
func (OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Encode ¶
func (o OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Encode(e *jx.Encoder)
Encode encodes BodyTextToSpeechStreamWithTimestampsApplyTextNormalization as json.
func (OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Get ¶
func (o OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Get() (v BodyTextToSpeechStreamWithTimestampsApplyTextNormalization, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) IsSet ¶
func (o OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) IsSet() bool
IsSet returns true if OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization was set.
func (OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) MarshalJSON ¶
func (s OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Or ¶
func (o OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Or(d BodyTextToSpeechStreamWithTimestampsApplyTextNormalization) BodyTextToSpeechStreamWithTimestampsApplyTextNormalization
Or returns value if set, or given parameter if does not.
func (*OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Reset ¶
func (o *OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) Reset()
Reset unsets value.
func (*OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) SetTo ¶
func (o *OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) SetTo(v BodyTextToSpeechStreamWithTimestampsApplyTextNormalization)
SetTo sets value to v.
func (*OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) UnmarshalJSON ¶
func (s *OptBodyTextToSpeechStreamWithTimestampsApplyTextNormalization) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart ¶
type OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart struct {
Value BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart
Set bool
}
OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart is optional BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart.
func NewOptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart ¶
func NewOptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart(v BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart
NewOptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart returns new OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart with value set to v.
func (OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) Get ¶
func (o OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) Get() (v BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) IsSet ¶
func (o OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) IsSet() bool
IsSet returns true if OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart was set.
func (OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) Or ¶
func (o OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) Or(d BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart
Or returns value if set, or given parameter if does not.
func (*OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) Reset ¶
Reset unsets value.
func (*OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) SetTo ¶
func (o *OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart) SetTo(v BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart)
SetTo sets value to v.
type OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch ¶
type OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch struct {
Value BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch
Set bool
}
OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch is optional BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch.
func NewOptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch ¶
func NewOptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch(v BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch
NewOptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch returns new OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch with value set to v.
func (*OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Decode ¶
func (o *OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Decode(d *jx.Decoder) error
Decode decodes BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch from json.
func (OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Encode ¶
func (o OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Encode(e *jx.Encoder)
Encode encodes BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch as json.
func (OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Get ¶
func (o OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Get() (v BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) IsSet ¶
func (o OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) IsSet() bool
IsSet returns true if OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch was set.
func (OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) MarshalJSON ¶
func (s OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Or ¶
func (o OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Or(d BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch
Or returns value if set, or given parameter if does not.
func (*OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) Reset ¶
Reset unsets value.
func (*OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetTo ¶
func (o *OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) SetTo(v BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch)
SetTo sets value to v.
func (*OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) UnmarshalJSON ¶
func (s *OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost ¶
type OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost struct {
Value BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost
Set bool
}
OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost is optional BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost.
func NewOptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost ¶
func NewOptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost(v BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost
NewOptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost returns new OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost with value set to v.
func (*OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Decode ¶
func (o *OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Decode(d *jx.Decoder) error
Decode decodes BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost from json.
func (OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Encode ¶
func (o OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Encode(e *jx.Encoder)
Encode encodes BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost as json.
func (OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Get ¶
func (o OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Get() (v BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) IsSet ¶
func (o OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) IsSet() bool
IsSet returns true if OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost was set.
func (OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) MarshalJSON ¶
func (s OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Or ¶
func (o OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Or(d BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost
Or returns value if set, or given parameter if does not.
func (*OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Reset ¶
func (o *OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) Reset()
Reset unsets value.
func (*OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetTo ¶
func (o *OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) SetTo(v BodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost)
SetTo sets value to v.
func (*OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) UnmarshalJSON ¶
func (s *OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch ¶
type OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch struct {
Value BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch
Set bool
}
OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch is optional BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch.
func NewOptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch ¶
func NewOptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch(v BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch
NewOptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch returns new OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch with value set to v.
func (*OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Decode ¶
func (o *OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Decode(d *jx.Decoder) error
Decode decodes BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch from json.
func (OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Encode ¶
func (o OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Encode(e *jx.Encoder)
Encode encodes BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch as json.
func (OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Get ¶
func (o OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Get() (v BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) IsSet ¶
func (o OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) IsSet() bool
IsSet returns true if OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch was set.
func (OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) MarshalJSON ¶
func (s OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Or ¶
func (o OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Or(d BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch
Or returns value if set, or given parameter if does not.
func (*OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Reset ¶
func (o *OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) Reset()
Reset unsets value.
func (*OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) SetTo ¶
func (o *OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) SetTo(v BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch)
SetTo sets value to v.
func (*OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) UnmarshalJSON ¶
func (s *OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart ¶
type OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart struct {
Value BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart
Set bool
}
OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart is optional BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart.
func NewOptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart ¶
func NewOptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart(v BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart
NewOptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart returns new OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart with value set to v.
func (OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) Get ¶
func (o OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) Get() (v BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) IsSet ¶
func (o OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) IsSet() bool
IsSet returns true if OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart was set.
func (OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) Or ¶
func (o OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) Or(d BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart
Or returns value if set, or given parameter if does not.
func (*OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) Reset ¶
Reset unsets value.
func (*OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetTo ¶
func (o *OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart) SetTo(v BodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart)
SetTo sets value to v.
type OptBool ¶
OptBool is optional bool.
func NewOptBool ¶
NewOptBool returns new OptBool with value set to v.
func (OptBool) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptBool) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type 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 ¶
func (o OptBreakdownTypes) Or(d BreakdownTypes) BreakdownTypes
Or returns value if set, or given parameter if does not.
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 ¶
func (o *OptCaptionStyleCharacterAnimationModel) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleCharacterAnimationModel from json.
func (OptCaptionStyleCharacterAnimationModel) Encode ¶
func (o OptCaptionStyleCharacterAnimationModel) Encode(e *jx.Encoder)
Encode encodes CaptionStyleCharacterAnimationModel as json.
func (OptCaptionStyleCharacterAnimationModel) Get ¶
func (o OptCaptionStyleCharacterAnimationModel) Get() (v CaptionStyleCharacterAnimationModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCaptionStyleCharacterAnimationModel) IsSet ¶
func (o OptCaptionStyleCharacterAnimationModel) IsSet() bool
IsSet returns true if OptCaptionStyleCharacterAnimationModel was set.
func (OptCaptionStyleCharacterAnimationModel) MarshalJSON ¶
func (s OptCaptionStyleCharacterAnimationModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCaptionStyleCharacterAnimationModel) Or ¶
func (o OptCaptionStyleCharacterAnimationModel) Or(d CaptionStyleCharacterAnimationModel) CaptionStyleCharacterAnimationModel
Or returns value if set, or given parameter if does not.
func (*OptCaptionStyleCharacterAnimationModel) Reset ¶
func (o *OptCaptionStyleCharacterAnimationModel) Reset()
Reset unsets value.
func (*OptCaptionStyleCharacterAnimationModel) SetTo ¶
func (o *OptCaptionStyleCharacterAnimationModel) SetTo(v CaptionStyleCharacterAnimationModel)
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 ¶
func (o *OptCaptionStyleHorizontalPlacementModel) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleHorizontalPlacementModel from json.
func (OptCaptionStyleHorizontalPlacementModel) Encode ¶
func (o OptCaptionStyleHorizontalPlacementModel) Encode(e *jx.Encoder)
Encode encodes CaptionStyleHorizontalPlacementModel as json.
func (OptCaptionStyleHorizontalPlacementModel) Get ¶
func (o OptCaptionStyleHorizontalPlacementModel) Get() (v CaptionStyleHorizontalPlacementModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCaptionStyleHorizontalPlacementModel) IsSet ¶
func (o OptCaptionStyleHorizontalPlacementModel) IsSet() bool
IsSet returns true if OptCaptionStyleHorizontalPlacementModel was set.
func (OptCaptionStyleHorizontalPlacementModel) MarshalJSON ¶
func (s OptCaptionStyleHorizontalPlacementModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCaptionStyleHorizontalPlacementModel) Or ¶
func (o OptCaptionStyleHorizontalPlacementModel) Or(d CaptionStyleHorizontalPlacementModel) CaptionStyleHorizontalPlacementModel
Or returns value if set, or given parameter if does not.
func (*OptCaptionStyleHorizontalPlacementModel) Reset ¶
func (o *OptCaptionStyleHorizontalPlacementModel) Reset()
Reset unsets value.
func (*OptCaptionStyleHorizontalPlacementModel) SetTo ¶
func (o *OptCaptionStyleHorizontalPlacementModel) SetTo(v CaptionStyleHorizontalPlacementModel)
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 ¶
func (o OptCaptionStyleModel) Get() (v CaptionStyleModel, ok bool)
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 ¶
func (o OptCaptionStyleModel) Or(d CaptionStyleModel) CaptionStyleModel
Or returns value if set, or given parameter if does not.
func (*OptCaptionStyleModel) SetTo ¶
func (o *OptCaptionStyleModel) SetTo(v CaptionStyleModel)
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 ¶
func (o *OptCaptionStyleSectionAnimationModel) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleSectionAnimationModel from json.
func (OptCaptionStyleSectionAnimationModel) Encode ¶
func (o OptCaptionStyleSectionAnimationModel) Encode(e *jx.Encoder)
Encode encodes CaptionStyleSectionAnimationModel as json.
func (OptCaptionStyleSectionAnimationModel) Get ¶
func (o OptCaptionStyleSectionAnimationModel) Get() (v CaptionStyleSectionAnimationModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCaptionStyleSectionAnimationModel) IsSet ¶
func (o OptCaptionStyleSectionAnimationModel) IsSet() bool
IsSet returns true if OptCaptionStyleSectionAnimationModel was set.
func (OptCaptionStyleSectionAnimationModel) MarshalJSON ¶
func (s OptCaptionStyleSectionAnimationModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCaptionStyleSectionAnimationModel) Or ¶
func (o OptCaptionStyleSectionAnimationModel) Or(d CaptionStyleSectionAnimationModel) CaptionStyleSectionAnimationModel
Or returns value if set, or given parameter if does not.
func (*OptCaptionStyleSectionAnimationModel) Reset ¶
func (o *OptCaptionStyleSectionAnimationModel) Reset()
Reset unsets value.
func (*OptCaptionStyleSectionAnimationModel) SetTo ¶
func (o *OptCaptionStyleSectionAnimationModel) SetTo(v CaptionStyleSectionAnimationModel)
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 ¶
func (o *OptCaptionStyleTemplateModel) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleTemplateModel from json.
func (OptCaptionStyleTemplateModel) Encode ¶
func (o OptCaptionStyleTemplateModel) Encode(e *jx.Encoder)
Encode encodes CaptionStyleTemplateModel as json.
func (OptCaptionStyleTemplateModel) Get ¶
func (o OptCaptionStyleTemplateModel) Get() (v CaptionStyleTemplateModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCaptionStyleTemplateModel) IsSet ¶
func (o OptCaptionStyleTemplateModel) IsSet() bool
IsSet returns true if OptCaptionStyleTemplateModel was set.
func (OptCaptionStyleTemplateModel) MarshalJSON ¶
func (s OptCaptionStyleTemplateModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptCaptionStyleTemplateModel) Reset ¶
func (o *OptCaptionStyleTemplateModel) Reset()
Reset unsets value.
func (*OptCaptionStyleTemplateModel) SetTo ¶
func (o *OptCaptionStyleTemplateModel) SetTo(v CaptionStyleTemplateModel)
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 ¶
func (o *OptCaptionStyleVerticalPlacementModel) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleVerticalPlacementModel from json.
func (OptCaptionStyleVerticalPlacementModel) Encode ¶
func (o OptCaptionStyleVerticalPlacementModel) Encode(e *jx.Encoder)
Encode encodes CaptionStyleVerticalPlacementModel as json.
func (OptCaptionStyleVerticalPlacementModel) Get ¶
func (o OptCaptionStyleVerticalPlacementModel) Get() (v CaptionStyleVerticalPlacementModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCaptionStyleVerticalPlacementModel) IsSet ¶
func (o OptCaptionStyleVerticalPlacementModel) IsSet() bool
IsSet returns true if OptCaptionStyleVerticalPlacementModel was set.
func (OptCaptionStyleVerticalPlacementModel) MarshalJSON ¶
func (s OptCaptionStyleVerticalPlacementModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCaptionStyleVerticalPlacementModel) Or ¶
func (o OptCaptionStyleVerticalPlacementModel) Or(d CaptionStyleVerticalPlacementModel) CaptionStyleVerticalPlacementModel
Or returns value if set, or given parameter if does not.
func (*OptCaptionStyleVerticalPlacementModel) Reset ¶
func (o *OptCaptionStyleVerticalPlacementModel) Reset()
Reset unsets value.
func (*OptCaptionStyleVerticalPlacementModel) SetTo ¶
func (o *OptCaptionStyleVerticalPlacementModel) SetTo(v CaptionStyleVerticalPlacementModel)
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 ¶
func (o *OptCaptionStyleWordAnimationModel) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleWordAnimationModel from json.
func (OptCaptionStyleWordAnimationModel) Encode ¶
func (o OptCaptionStyleWordAnimationModel) Encode(e *jx.Encoder)
Encode encodes CaptionStyleWordAnimationModel as json.
func (OptCaptionStyleWordAnimationModel) Get ¶
func (o OptCaptionStyleWordAnimationModel) Get() (v CaptionStyleWordAnimationModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCaptionStyleWordAnimationModel) IsSet ¶
func (o OptCaptionStyleWordAnimationModel) IsSet() bool
IsSet returns true if OptCaptionStyleWordAnimationModel was set.
func (OptCaptionStyleWordAnimationModel) MarshalJSON ¶
func (s OptCaptionStyleWordAnimationModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCaptionStyleWordAnimationModel) Or ¶
func (o OptCaptionStyleWordAnimationModel) Or(d CaptionStyleWordAnimationModel) CaptionStyleWordAnimationModel
Or returns value if set, or given parameter if does not.
func (*OptCaptionStyleWordAnimationModel) Reset ¶
func (o *OptCaptionStyleWordAnimationModel) Reset()
Reset unsets value.
func (*OptCaptionStyleWordAnimationModel) SetTo ¶
func (o *OptCaptionStyleWordAnimationModel) SetTo(v CaptionStyleWordAnimationModel)
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 ¶
func (o *OptChapterStatisticsResponseModel) Decode(d *jx.Decoder) error
Decode decodes ChapterStatisticsResponseModel from json.
func (OptChapterStatisticsResponseModel) Encode ¶
func (o OptChapterStatisticsResponseModel) Encode(e *jx.Encoder)
Encode encodes ChapterStatisticsResponseModel as json.
func (OptChapterStatisticsResponseModel) Get ¶
func (o OptChapterStatisticsResponseModel) Get() (v ChapterStatisticsResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptChapterStatisticsResponseModel) IsSet ¶
func (o OptChapterStatisticsResponseModel) IsSet() bool
IsSet returns true if OptChapterStatisticsResponseModel was set.
func (OptChapterStatisticsResponseModel) MarshalJSON ¶
func (s OptChapterStatisticsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptChapterStatisticsResponseModel) Or ¶
func (o OptChapterStatisticsResponseModel) Or(d ChapterStatisticsResponseModel) ChapterStatisticsResponseModel
Or returns value if set, or given parameter if does not.
func (*OptChapterStatisticsResponseModel) Reset ¶
func (o *OptChapterStatisticsResponseModel) Reset()
Reset unsets value.
func (*OptChapterStatisticsResponseModel) SetTo ¶
func (o *OptChapterStatisticsResponseModel) SetTo(v ChapterStatisticsResponseModel)
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 ¶
func (o *OptCharacterAlignmentResponseModel) Decode(d *jx.Decoder) error
Decode decodes CharacterAlignmentResponseModel from json.
func (OptCharacterAlignmentResponseModel) Encode ¶
func (o OptCharacterAlignmentResponseModel) Encode(e *jx.Encoder)
Encode encodes CharacterAlignmentResponseModel as json.
func (OptCharacterAlignmentResponseModel) Get ¶
func (o OptCharacterAlignmentResponseModel) Get() (v CharacterAlignmentResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCharacterAlignmentResponseModel) IsSet ¶
func (o OptCharacterAlignmentResponseModel) IsSet() bool
IsSet returns true if OptCharacterAlignmentResponseModel was set.
func (OptCharacterAlignmentResponseModel) MarshalJSON ¶
func (s OptCharacterAlignmentResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCharacterAlignmentResponseModel) Or ¶
func (o OptCharacterAlignmentResponseModel) Or(d CharacterAlignmentResponseModel) CharacterAlignmentResponseModel
Or returns value if set, or given parameter if does not.
func (*OptCharacterAlignmentResponseModel) Reset ¶
func (o *OptCharacterAlignmentResponseModel) Reset()
Reset unsets value.
func (*OptCharacterAlignmentResponseModel) SetTo ¶
func (o *OptCharacterAlignmentResponseModel) SetTo(v CharacterAlignmentResponseModel)
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 ¶
func (o OptCharacterRefreshPeriod) Get() (v CharacterRefreshPeriod, ok bool)
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) Reset ¶
func (o *OptCharacterRefreshPeriod) Reset()
Reset unsets value.
func (*OptCharacterRefreshPeriod) SetTo ¶
func (o *OptCharacterRefreshPeriod) SetTo(v CharacterRefreshPeriod)
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 ¶
func (o OptComposeDetailedOutputFormat) Get() (v ComposeDetailedOutputFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptComposeDetailedOutputFormat) IsSet ¶
func (o OptComposeDetailedOutputFormat) IsSet() bool
IsSet returns true if OptComposeDetailedOutputFormat was set.
func (OptComposeDetailedOutputFormat) Or ¶
func (o OptComposeDetailedOutputFormat) Or(d ComposeDetailedOutputFormat) ComposeDetailedOutputFormat
Or returns value if set, or given parameter if does not.
func (*OptComposeDetailedOutputFormat) Reset ¶
func (o *OptComposeDetailedOutputFormat) Reset()
Reset unsets value.
func (*OptComposeDetailedOutputFormat) SetTo ¶
func (o *OptComposeDetailedOutputFormat) SetTo(v ComposeDetailedOutputFormat)
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 ¶
func (o OptConvAIWebhooks) Or(d ConvAIWebhooks) ConvAIWebhooks
Or returns value if set, or given parameter if does not.
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 ¶
func (o *OptConversationChargingCommonModel) Decode(d *jx.Decoder) error
Decode decodes ConversationChargingCommonModel from json.
func (OptConversationChargingCommonModel) Encode ¶
func (o OptConversationChargingCommonModel) Encode(e *jx.Encoder)
Encode encodes ConversationChargingCommonModel as json.
func (OptConversationChargingCommonModel) Get ¶
func (o OptConversationChargingCommonModel) Get() (v ConversationChargingCommonModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationChargingCommonModel) IsSet ¶
func (o OptConversationChargingCommonModel) IsSet() bool
IsSet returns true if OptConversationChargingCommonModel was set.
func (OptConversationChargingCommonModel) MarshalJSON ¶
func (s OptConversationChargingCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationChargingCommonModel) Or ¶
func (o OptConversationChargingCommonModel) Or(d ConversationChargingCommonModel) ConversationChargingCommonModel
Or returns value if set, or given parameter if does not.
func (*OptConversationChargingCommonModel) Reset ¶
func (o *OptConversationChargingCommonModel) Reset()
Reset unsets value.
func (*OptConversationChargingCommonModel) SetTo ¶
func (o *OptConversationChargingCommonModel) SetTo(v ConversationChargingCommonModel)
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 ¶
func (o *OptConversationConfigClientOverrideInput) Decode(d *jx.Decoder) error
Decode decodes ConversationConfigClientOverrideInput from json.
func (OptConversationConfigClientOverrideInput) Encode ¶
func (o OptConversationConfigClientOverrideInput) Encode(e *jx.Encoder)
Encode encodes ConversationConfigClientOverrideInput as json.
func (OptConversationConfigClientOverrideInput) Get ¶
func (o OptConversationConfigClientOverrideInput) Get() (v ConversationConfigClientOverrideInput, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationConfigClientOverrideInput) IsSet ¶
func (o OptConversationConfigClientOverrideInput) IsSet() bool
IsSet returns true if OptConversationConfigClientOverrideInput was set.
func (OptConversationConfigClientOverrideInput) MarshalJSON ¶
func (s OptConversationConfigClientOverrideInput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationConfigClientOverrideInput) Or ¶
func (o OptConversationConfigClientOverrideInput) Or(d ConversationConfigClientOverrideInput) ConversationConfigClientOverrideInput
Or returns value if set, or given parameter if does not.
func (*OptConversationConfigClientOverrideInput) Reset ¶
func (o *OptConversationConfigClientOverrideInput) Reset()
Reset unsets value.
func (*OptConversationConfigClientOverrideInput) SetTo ¶
func (o *OptConversationConfigClientOverrideInput) SetTo(v ConversationConfigClientOverrideInput)
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 ¶
func (o *OptConversationConfigClientOverrideOutput) Decode(d *jx.Decoder) error
Decode decodes ConversationConfigClientOverrideOutput from json.
func (OptConversationConfigClientOverrideOutput) Encode ¶
func (o OptConversationConfigClientOverrideOutput) Encode(e *jx.Encoder)
Encode encodes ConversationConfigClientOverrideOutput as json.
func (OptConversationConfigClientOverrideOutput) Get ¶
func (o OptConversationConfigClientOverrideOutput) Get() (v ConversationConfigClientOverrideOutput, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationConfigClientOverrideOutput) IsSet ¶
func (o OptConversationConfigClientOverrideOutput) IsSet() bool
IsSet returns true if OptConversationConfigClientOverrideOutput was set.
func (OptConversationConfigClientOverrideOutput) MarshalJSON ¶
func (s OptConversationConfigClientOverrideOutput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationConfigClientOverrideOutput) Or ¶
func (o OptConversationConfigClientOverrideOutput) Or(d ConversationConfigClientOverrideOutput) ConversationConfigClientOverrideOutput
Or returns value if set, or given parameter if does not.
func (*OptConversationConfigClientOverrideOutput) Reset ¶
func (o *OptConversationConfigClientOverrideOutput) Reset()
Reset unsets value.
func (*OptConversationConfigClientOverrideOutput) SetTo ¶
func (o *OptConversationConfigClientOverrideOutput) SetTo(v ConversationConfigClientOverrideOutput)
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 ¶
func (o *OptConversationConfigOverride) Decode(d *jx.Decoder) error
Decode decodes ConversationConfigOverride from json.
func (OptConversationConfigOverride) Encode ¶
func (o OptConversationConfigOverride) Encode(e *jx.Encoder)
Encode encodes ConversationConfigOverride as json.
func (OptConversationConfigOverride) Get ¶
func (o OptConversationConfigOverride) Get() (v ConversationConfigOverride, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationConfigOverride) IsSet ¶
func (o OptConversationConfigOverride) IsSet() bool
IsSet returns true if OptConversationConfigOverride was set.
func (OptConversationConfigOverride) MarshalJSON ¶
func (s OptConversationConfigOverride) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptConversationConfigOverride) Reset ¶
func (o *OptConversationConfigOverride) Reset()
Reset unsets value.
func (*OptConversationConfigOverride) SetTo ¶
func (o *OptConversationConfigOverride) SetTo(v ConversationConfigOverride)
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 ¶
func (o *OptConversationDeletionSettings) Decode(d *jx.Decoder) error
Decode decodes ConversationDeletionSettings from json.
func (OptConversationDeletionSettings) Encode ¶
func (o OptConversationDeletionSettings) Encode(e *jx.Encoder)
Encode encodes ConversationDeletionSettings as json.
func (OptConversationDeletionSettings) Get ¶
func (o OptConversationDeletionSettings) Get() (v ConversationDeletionSettings, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationDeletionSettings) IsSet ¶
func (o OptConversationDeletionSettings) IsSet() bool
IsSet returns true if OptConversationDeletionSettings was set.
func (OptConversationDeletionSettings) MarshalJSON ¶
func (s OptConversationDeletionSettings) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationDeletionSettings) Or ¶
func (o OptConversationDeletionSettings) Or(d ConversationDeletionSettings) ConversationDeletionSettings
Or returns value if set, or given parameter if does not.
func (*OptConversationDeletionSettings) Reset ¶
func (o *OptConversationDeletionSettings) Reset()
Reset unsets value.
func (*OptConversationDeletionSettings) SetTo ¶
func (o *OptConversationDeletionSettings) SetTo(v ConversationDeletionSettings)
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 ¶
func (o *OptConversationFeedbackType) Decode(d *jx.Decoder) error
Decode decodes ConversationFeedbackType from json.
func (OptConversationFeedbackType) Encode ¶
func (o OptConversationFeedbackType) Encode(e *jx.Encoder)
Encode encodes ConversationFeedbackType as json.
func (OptConversationFeedbackType) Get ¶
func (o OptConversationFeedbackType) Get() (v ConversationFeedbackType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationFeedbackType) IsSet ¶
func (o OptConversationFeedbackType) IsSet() bool
IsSet returns true if OptConversationFeedbackType was set.
func (OptConversationFeedbackType) MarshalJSON ¶
func (s OptConversationFeedbackType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptConversationFeedbackType) Reset ¶
func (o *OptConversationFeedbackType) Reset()
Reset unsets value.
func (*OptConversationFeedbackType) SetTo ¶
func (o *OptConversationFeedbackType) SetTo(v ConversationFeedbackType)
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 ¶
func (o *OptConversationHistoryAnalysisCommonModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryAnalysisCommonModel from json.
func (OptConversationHistoryAnalysisCommonModel) Encode ¶
func (o OptConversationHistoryAnalysisCommonModel) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryAnalysisCommonModel as json.
func (OptConversationHistoryAnalysisCommonModel) Get ¶
func (o OptConversationHistoryAnalysisCommonModel) Get() (v ConversationHistoryAnalysisCommonModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryAnalysisCommonModel) IsSet ¶
func (o OptConversationHistoryAnalysisCommonModel) IsSet() bool
IsSet returns true if OptConversationHistoryAnalysisCommonModel was set.
func (OptConversationHistoryAnalysisCommonModel) MarshalJSON ¶
func (s OptConversationHistoryAnalysisCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryAnalysisCommonModel) Or ¶
func (o OptConversationHistoryAnalysisCommonModel) Or(d ConversationHistoryAnalysisCommonModel) ConversationHistoryAnalysisCommonModel
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryAnalysisCommonModel) Reset ¶
func (o *OptConversationHistoryAnalysisCommonModel) Reset()
Reset unsets value.
func (*OptConversationHistoryAnalysisCommonModel) SetTo ¶
func (o *OptConversationHistoryAnalysisCommonModel) SetTo(v ConversationHistoryAnalysisCommonModel)
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 ¶
func NewOptConversationHistoryAnalysisCommonModelDataCollectionResults(v ConversationHistoryAnalysisCommonModelDataCollectionResults) OptConversationHistoryAnalysisCommonModelDataCollectionResults
NewOptConversationHistoryAnalysisCommonModelDataCollectionResults returns new OptConversationHistoryAnalysisCommonModelDataCollectionResults with value set to v.
func (*OptConversationHistoryAnalysisCommonModelDataCollectionResults) Decode ¶
func (o *OptConversationHistoryAnalysisCommonModelDataCollectionResults) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryAnalysisCommonModelDataCollectionResults from json.
func (OptConversationHistoryAnalysisCommonModelDataCollectionResults) Encode ¶
func (o OptConversationHistoryAnalysisCommonModelDataCollectionResults) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryAnalysisCommonModelDataCollectionResults as json.
func (OptConversationHistoryAnalysisCommonModelDataCollectionResults) Get ¶
func (o OptConversationHistoryAnalysisCommonModelDataCollectionResults) Get() (v ConversationHistoryAnalysisCommonModelDataCollectionResults, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryAnalysisCommonModelDataCollectionResults) IsSet ¶
func (o OptConversationHistoryAnalysisCommonModelDataCollectionResults) IsSet() bool
IsSet returns true if OptConversationHistoryAnalysisCommonModelDataCollectionResults was set.
func (OptConversationHistoryAnalysisCommonModelDataCollectionResults) MarshalJSON ¶
func (s OptConversationHistoryAnalysisCommonModelDataCollectionResults) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryAnalysisCommonModelDataCollectionResults) Or ¶
func (o OptConversationHistoryAnalysisCommonModelDataCollectionResults) Or(d ConversationHistoryAnalysisCommonModelDataCollectionResults) ConversationHistoryAnalysisCommonModelDataCollectionResults
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryAnalysisCommonModelDataCollectionResults) Reset ¶
func (o *OptConversationHistoryAnalysisCommonModelDataCollectionResults) Reset()
Reset unsets value.
func (*OptConversationHistoryAnalysisCommonModelDataCollectionResults) SetTo ¶
func (o *OptConversationHistoryAnalysisCommonModelDataCollectionResults) SetTo(v ConversationHistoryAnalysisCommonModelDataCollectionResults)
SetTo sets value to v.
func (*OptConversationHistoryAnalysisCommonModelDataCollectionResults) UnmarshalJSON ¶
func (s *OptConversationHistoryAnalysisCommonModelDataCollectionResults) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults ¶
type OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults struct {
Value ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults
Set bool
}
OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults is optional ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults.
func NewOptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults ¶
func NewOptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults(v ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults
NewOptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults returns new OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults with value set to v.
func (*OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Decode ¶
func (o *OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults from json.
func (OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Encode ¶
func (o OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults as json.
func (OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Get ¶
func (o OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Get() (v ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) IsSet ¶
func (o OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) IsSet() bool
IsSet returns true if OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults was set.
func (OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) MarshalJSON ¶
func (s OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Or ¶
func (o OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Or(d ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Reset ¶
func (o *OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) Reset()
Reset unsets value.
func (*OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) SetTo ¶
func (o *OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) SetTo(v ConversationHistoryAnalysisCommonModelEvaluationCriteriaResults)
SetTo sets value to v.
func (*OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) UnmarshalJSON ¶
func (s *OptConversationHistoryAnalysisCommonModelEvaluationCriteriaResults) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptConversationHistoryBatchCallModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryBatchCallModel from json.
func (OptConversationHistoryBatchCallModel) Encode ¶
func (o OptConversationHistoryBatchCallModel) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryBatchCallModel as json.
func (OptConversationHistoryBatchCallModel) Get ¶
func (o OptConversationHistoryBatchCallModel) Get() (v ConversationHistoryBatchCallModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryBatchCallModel) IsSet ¶
func (o OptConversationHistoryBatchCallModel) IsSet() bool
IsSet returns true if OptConversationHistoryBatchCallModel was set.
func (OptConversationHistoryBatchCallModel) MarshalJSON ¶
func (s OptConversationHistoryBatchCallModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryBatchCallModel) Or ¶
func (o OptConversationHistoryBatchCallModel) Or(d ConversationHistoryBatchCallModel) ConversationHistoryBatchCallModel
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryBatchCallModel) Reset ¶
func (o *OptConversationHistoryBatchCallModel) Reset()
Reset unsets value.
func (*OptConversationHistoryBatchCallModel) SetTo ¶
func (o *OptConversationHistoryBatchCallModel) SetTo(v ConversationHistoryBatchCallModel)
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 ¶
func (o *OptConversationHistoryElevenAssistantCommonModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryElevenAssistantCommonModel from json.
func (OptConversationHistoryElevenAssistantCommonModel) Encode ¶
func (o OptConversationHistoryElevenAssistantCommonModel) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryElevenAssistantCommonModel as json.
func (OptConversationHistoryElevenAssistantCommonModel) Get ¶
func (o OptConversationHistoryElevenAssistantCommonModel) Get() (v ConversationHistoryElevenAssistantCommonModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryElevenAssistantCommonModel) IsSet ¶
func (o OptConversationHistoryElevenAssistantCommonModel) IsSet() bool
IsSet returns true if OptConversationHistoryElevenAssistantCommonModel was set.
func (OptConversationHistoryElevenAssistantCommonModel) MarshalJSON ¶
func (s OptConversationHistoryElevenAssistantCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryElevenAssistantCommonModel) Or ¶
func (o OptConversationHistoryElevenAssistantCommonModel) Or(d ConversationHistoryElevenAssistantCommonModel) ConversationHistoryElevenAssistantCommonModel
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryElevenAssistantCommonModel) Reset ¶
func (o *OptConversationHistoryElevenAssistantCommonModel) Reset()
Reset unsets value.
func (*OptConversationHistoryElevenAssistantCommonModel) SetTo ¶
func (o *OptConversationHistoryElevenAssistantCommonModel) SetTo(v ConversationHistoryElevenAssistantCommonModel)
SetTo sets value to v.
func (*OptConversationHistoryElevenAssistantCommonModel) UnmarshalJSON ¶
func (s *OptConversationHistoryElevenAssistantCommonModel) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptConversationHistoryErrorCommonModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryErrorCommonModel from json.
func (OptConversationHistoryErrorCommonModel) Encode ¶
func (o OptConversationHistoryErrorCommonModel) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryErrorCommonModel as json.
func (OptConversationHistoryErrorCommonModel) Get ¶
func (o OptConversationHistoryErrorCommonModel) Get() (v ConversationHistoryErrorCommonModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryErrorCommonModel) IsSet ¶
func (o OptConversationHistoryErrorCommonModel) IsSet() bool
IsSet returns true if OptConversationHistoryErrorCommonModel was set.
func (OptConversationHistoryErrorCommonModel) MarshalJSON ¶
func (s OptConversationHistoryErrorCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryErrorCommonModel) Or ¶
func (o OptConversationHistoryErrorCommonModel) Or(d ConversationHistoryErrorCommonModel) ConversationHistoryErrorCommonModel
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryErrorCommonModel) Reset ¶
func (o *OptConversationHistoryErrorCommonModel) Reset()
Reset unsets value.
func (*OptConversationHistoryErrorCommonModel) SetTo ¶
func (o *OptConversationHistoryErrorCommonModel) SetTo(v ConversationHistoryErrorCommonModel)
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 ¶
func (o *OptConversationHistoryFeedbackCommonModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryFeedbackCommonModel from json.
func (OptConversationHistoryFeedbackCommonModel) Encode ¶
func (o OptConversationHistoryFeedbackCommonModel) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryFeedbackCommonModel as json.
func (OptConversationHistoryFeedbackCommonModel) Get ¶
func (o OptConversationHistoryFeedbackCommonModel) Get() (v ConversationHistoryFeedbackCommonModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryFeedbackCommonModel) IsSet ¶
func (o OptConversationHistoryFeedbackCommonModel) IsSet() bool
IsSet returns true if OptConversationHistoryFeedbackCommonModel was set.
func (OptConversationHistoryFeedbackCommonModel) MarshalJSON ¶
func (s OptConversationHistoryFeedbackCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryFeedbackCommonModel) Or ¶
func (o OptConversationHistoryFeedbackCommonModel) Or(d ConversationHistoryFeedbackCommonModel) ConversationHistoryFeedbackCommonModel
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryFeedbackCommonModel) Reset ¶
func (o *OptConversationHistoryFeedbackCommonModel) Reset()
Reset unsets value.
func (*OptConversationHistoryFeedbackCommonModel) SetTo ¶
func (o *OptConversationHistoryFeedbackCommonModel) SetTo(v ConversationHistoryFeedbackCommonModel)
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 ¶
func NewOptConversationHistoryMetadataCommonModelInitiationTrigger(v ConversationHistoryMetadataCommonModelInitiationTrigger) OptConversationHistoryMetadataCommonModelInitiationTrigger
NewOptConversationHistoryMetadataCommonModelInitiationTrigger returns new OptConversationHistoryMetadataCommonModelInitiationTrigger with value set to v.
func (*OptConversationHistoryMetadataCommonModelInitiationTrigger) Decode ¶
func (o *OptConversationHistoryMetadataCommonModelInitiationTrigger) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryMetadataCommonModelInitiationTrigger from json.
func (OptConversationHistoryMetadataCommonModelInitiationTrigger) Encode ¶
func (o OptConversationHistoryMetadataCommonModelInitiationTrigger) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryMetadataCommonModelInitiationTrigger as json.
func (OptConversationHistoryMetadataCommonModelInitiationTrigger) Get ¶
func (o OptConversationHistoryMetadataCommonModelInitiationTrigger) Get() (v ConversationHistoryMetadataCommonModelInitiationTrigger, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryMetadataCommonModelInitiationTrigger) IsSet ¶
func (o OptConversationHistoryMetadataCommonModelInitiationTrigger) IsSet() bool
IsSet returns true if OptConversationHistoryMetadataCommonModelInitiationTrigger was set.
func (OptConversationHistoryMetadataCommonModelInitiationTrigger) MarshalJSON ¶
func (s OptConversationHistoryMetadataCommonModelInitiationTrigger) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryMetadataCommonModelInitiationTrigger) Or ¶
func (o OptConversationHistoryMetadataCommonModelInitiationTrigger) Or(d ConversationHistoryMetadataCommonModelInitiationTrigger) ConversationHistoryMetadataCommonModelInitiationTrigger
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryMetadataCommonModelInitiationTrigger) Reset ¶
func (o *OptConversationHistoryMetadataCommonModelInitiationTrigger) Reset()
Reset unsets value.
func (*OptConversationHistoryMetadataCommonModelInitiationTrigger) SetTo ¶
func (o *OptConversationHistoryMetadataCommonModelInitiationTrigger) SetTo(v ConversationHistoryMetadataCommonModelInitiationTrigger)
SetTo sets value to v.
func (*OptConversationHistoryMetadataCommonModelInitiationTrigger) UnmarshalJSON ¶
func (s *OptConversationHistoryMetadataCommonModelInitiationTrigger) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptConversationHistoryMultivoiceMessageModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryMultivoiceMessageModel from json.
func (OptConversationHistoryMultivoiceMessageModel) Encode ¶
func (o OptConversationHistoryMultivoiceMessageModel) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryMultivoiceMessageModel as json.
func (OptConversationHistoryMultivoiceMessageModel) Get ¶
func (o OptConversationHistoryMultivoiceMessageModel) Get() (v ConversationHistoryMultivoiceMessageModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryMultivoiceMessageModel) IsSet ¶
func (o OptConversationHistoryMultivoiceMessageModel) IsSet() bool
IsSet returns true if OptConversationHistoryMultivoiceMessageModel was set.
func (OptConversationHistoryMultivoiceMessageModel) MarshalJSON ¶
func (s OptConversationHistoryMultivoiceMessageModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryMultivoiceMessageModel) Or ¶
func (o OptConversationHistoryMultivoiceMessageModel) Or(d ConversationHistoryMultivoiceMessageModel) ConversationHistoryMultivoiceMessageModel
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryMultivoiceMessageModel) Reset ¶
func (o *OptConversationHistoryMultivoiceMessageModel) Reset()
Reset unsets value.
func (*OptConversationHistoryMultivoiceMessageModel) SetTo ¶
func (o *OptConversationHistoryMultivoiceMessageModel) SetTo(v ConversationHistoryMultivoiceMessageModel)
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 ¶
func (o *OptConversationHistoryRagUsageCommonModel) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryRagUsageCommonModel from json.
func (OptConversationHistoryRagUsageCommonModel) Encode ¶
func (o OptConversationHistoryRagUsageCommonModel) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryRagUsageCommonModel as json.
func (OptConversationHistoryRagUsageCommonModel) Get ¶
func (o OptConversationHistoryRagUsageCommonModel) Get() (v ConversationHistoryRagUsageCommonModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryRagUsageCommonModel) IsSet ¶
func (o OptConversationHistoryRagUsageCommonModel) IsSet() bool
IsSet returns true if OptConversationHistoryRagUsageCommonModel was set.
func (OptConversationHistoryRagUsageCommonModel) MarshalJSON ¶
func (s OptConversationHistoryRagUsageCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryRagUsageCommonModel) Or ¶
func (o OptConversationHistoryRagUsageCommonModel) Or(d ConversationHistoryRagUsageCommonModel) ConversationHistoryRagUsageCommonModel
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryRagUsageCommonModel) Reset ¶
func (o *OptConversationHistoryRagUsageCommonModel) Reset()
Reset unsets value.
func (*OptConversationHistoryRagUsageCommonModel) SetTo ¶
func (o *OptConversationHistoryRagUsageCommonModel) SetTo(v ConversationHistoryRagUsageCommonModel)
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 ¶
func NewOptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType(v ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType
NewOptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType returns new OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType with value set to v.
func (*OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Decode ¶
func (o *OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType from json.
func (OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Encode ¶
func (o OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType as json.
func (OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Get ¶
func (o OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Get() (v ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) IsSet ¶
IsSet returns true if OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType was set.
func (OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) MarshalJSON ¶
func (s OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Or ¶
func (o OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Or(d ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Reset ¶
func (o *OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) Reset()
Reset unsets value.
func (*OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) SetTo ¶
func (o *OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) SetTo(v ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType)
SetTo sets value to v.
func (*OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) UnmarshalJSON ¶
func (s *OptConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptConversationHistoryTranscriptToolCallClientDetailsType ¶
type OptConversationHistoryTranscriptToolCallClientDetailsType struct {
Value ConversationHistoryTranscriptToolCallClientDetailsType
Set bool
}
OptConversationHistoryTranscriptToolCallClientDetailsType is optional ConversationHistoryTranscriptToolCallClientDetailsType.
func NewOptConversationHistoryTranscriptToolCallClientDetailsType ¶
func NewOptConversationHistoryTranscriptToolCallClientDetailsType(v ConversationHistoryTranscriptToolCallClientDetailsType) OptConversationHistoryTranscriptToolCallClientDetailsType
NewOptConversationHistoryTranscriptToolCallClientDetailsType returns new OptConversationHistoryTranscriptToolCallClientDetailsType with value set to v.
func (*OptConversationHistoryTranscriptToolCallClientDetailsType) Decode ¶
func (o *OptConversationHistoryTranscriptToolCallClientDetailsType) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallClientDetailsType from json.
func (OptConversationHistoryTranscriptToolCallClientDetailsType) Encode ¶
func (o OptConversationHistoryTranscriptToolCallClientDetailsType) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptToolCallClientDetailsType as json.
func (OptConversationHistoryTranscriptToolCallClientDetailsType) Get ¶
func (o OptConversationHistoryTranscriptToolCallClientDetailsType) Get() (v ConversationHistoryTranscriptToolCallClientDetailsType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryTranscriptToolCallClientDetailsType) IsSet ¶
func (o OptConversationHistoryTranscriptToolCallClientDetailsType) IsSet() bool
IsSet returns true if OptConversationHistoryTranscriptToolCallClientDetailsType was set.
func (OptConversationHistoryTranscriptToolCallClientDetailsType) MarshalJSON ¶
func (s OptConversationHistoryTranscriptToolCallClientDetailsType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryTranscriptToolCallClientDetailsType) Or ¶
func (o OptConversationHistoryTranscriptToolCallClientDetailsType) Or(d ConversationHistoryTranscriptToolCallClientDetailsType) ConversationHistoryTranscriptToolCallClientDetailsType
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryTranscriptToolCallClientDetailsType) Reset ¶
func (o *OptConversationHistoryTranscriptToolCallClientDetailsType) Reset()
Reset unsets value.
func (*OptConversationHistoryTranscriptToolCallClientDetailsType) SetTo ¶
func (o *OptConversationHistoryTranscriptToolCallClientDetailsType) SetTo(v ConversationHistoryTranscriptToolCallClientDetailsType)
SetTo sets value to v.
func (*OptConversationHistoryTranscriptToolCallClientDetailsType) UnmarshalJSON ¶
func (s *OptConversationHistoryTranscriptToolCallClientDetailsType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptConversationHistoryTranscriptToolCallMCPDetailsParameters ¶
type OptConversationHistoryTranscriptToolCallMCPDetailsParameters struct {
Value ConversationHistoryTranscriptToolCallMCPDetailsParameters
Set bool
}
OptConversationHistoryTranscriptToolCallMCPDetailsParameters is optional ConversationHistoryTranscriptToolCallMCPDetailsParameters.
func NewOptConversationHistoryTranscriptToolCallMCPDetailsParameters ¶
func NewOptConversationHistoryTranscriptToolCallMCPDetailsParameters(v ConversationHistoryTranscriptToolCallMCPDetailsParameters) OptConversationHistoryTranscriptToolCallMCPDetailsParameters
NewOptConversationHistoryTranscriptToolCallMCPDetailsParameters returns new OptConversationHistoryTranscriptToolCallMCPDetailsParameters with value set to v.
func (*OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Decode ¶
func (o *OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallMCPDetailsParameters from json.
func (OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Encode ¶
func (o OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptToolCallMCPDetailsParameters as json.
func (OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Get ¶
func (o OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Get() (v ConversationHistoryTranscriptToolCallMCPDetailsParameters, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryTranscriptToolCallMCPDetailsParameters) IsSet ¶
func (o OptConversationHistoryTranscriptToolCallMCPDetailsParameters) IsSet() bool
IsSet returns true if OptConversationHistoryTranscriptToolCallMCPDetailsParameters was set.
func (OptConversationHistoryTranscriptToolCallMCPDetailsParameters) MarshalJSON ¶
func (s OptConversationHistoryTranscriptToolCallMCPDetailsParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Or ¶
func (o OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Or(d ConversationHistoryTranscriptToolCallMCPDetailsParameters) ConversationHistoryTranscriptToolCallMCPDetailsParameters
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Reset ¶
func (o *OptConversationHistoryTranscriptToolCallMCPDetailsParameters) Reset()
Reset unsets value.
func (*OptConversationHistoryTranscriptToolCallMCPDetailsParameters) SetTo ¶
func (o *OptConversationHistoryTranscriptToolCallMCPDetailsParameters) SetTo(v ConversationHistoryTranscriptToolCallMCPDetailsParameters)
SetTo sets value to v.
func (*OptConversationHistoryTranscriptToolCallMCPDetailsParameters) UnmarshalJSON ¶
func (s *OptConversationHistoryTranscriptToolCallMCPDetailsParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptConversationHistoryTranscriptToolCallMCPDetailsType ¶
type OptConversationHistoryTranscriptToolCallMCPDetailsType struct {
Value ConversationHistoryTranscriptToolCallMCPDetailsType
Set bool
}
OptConversationHistoryTranscriptToolCallMCPDetailsType is optional ConversationHistoryTranscriptToolCallMCPDetailsType.
func NewOptConversationHistoryTranscriptToolCallMCPDetailsType ¶
func NewOptConversationHistoryTranscriptToolCallMCPDetailsType(v ConversationHistoryTranscriptToolCallMCPDetailsType) OptConversationHistoryTranscriptToolCallMCPDetailsType
NewOptConversationHistoryTranscriptToolCallMCPDetailsType returns new OptConversationHistoryTranscriptToolCallMCPDetailsType with value set to v.
func (*OptConversationHistoryTranscriptToolCallMCPDetailsType) Decode ¶
func (o *OptConversationHistoryTranscriptToolCallMCPDetailsType) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallMCPDetailsType from json.
func (OptConversationHistoryTranscriptToolCallMCPDetailsType) Encode ¶
func (o OptConversationHistoryTranscriptToolCallMCPDetailsType) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptToolCallMCPDetailsType as json.
func (OptConversationHistoryTranscriptToolCallMCPDetailsType) Get ¶
func (o OptConversationHistoryTranscriptToolCallMCPDetailsType) Get() (v ConversationHistoryTranscriptToolCallMCPDetailsType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryTranscriptToolCallMCPDetailsType) IsSet ¶
func (o OptConversationHistoryTranscriptToolCallMCPDetailsType) IsSet() bool
IsSet returns true if OptConversationHistoryTranscriptToolCallMCPDetailsType was set.
func (OptConversationHistoryTranscriptToolCallMCPDetailsType) MarshalJSON ¶
func (s OptConversationHistoryTranscriptToolCallMCPDetailsType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryTranscriptToolCallMCPDetailsType) Or ¶
func (o OptConversationHistoryTranscriptToolCallMCPDetailsType) Or(d ConversationHistoryTranscriptToolCallMCPDetailsType) ConversationHistoryTranscriptToolCallMCPDetailsType
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryTranscriptToolCallMCPDetailsType) Reset ¶
func (o *OptConversationHistoryTranscriptToolCallMCPDetailsType) Reset()
Reset unsets value.
func (*OptConversationHistoryTranscriptToolCallMCPDetailsType) SetTo ¶
func (o *OptConversationHistoryTranscriptToolCallMCPDetailsType) SetTo(v ConversationHistoryTranscriptToolCallMCPDetailsType)
SetTo sets value to v.
func (*OptConversationHistoryTranscriptToolCallMCPDetailsType) UnmarshalJSON ¶
func (s *OptConversationHistoryTranscriptToolCallMCPDetailsType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders ¶
type OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders struct {
Value ConversationHistoryTranscriptToolCallWebhookDetailsHeaders
Set bool
}
OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders is optional ConversationHistoryTranscriptToolCallWebhookDetailsHeaders.
func NewOptConversationHistoryTranscriptToolCallWebhookDetailsHeaders ¶
func NewOptConversationHistoryTranscriptToolCallWebhookDetailsHeaders(v ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders
NewOptConversationHistoryTranscriptToolCallWebhookDetailsHeaders returns new OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders with value set to v.
func (*OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Decode ¶
func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallWebhookDetailsHeaders from json.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Encode ¶
func (o OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptToolCallWebhookDetailsHeaders as json.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Get ¶
func (o OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Get() (v ConversationHistoryTranscriptToolCallWebhookDetailsHeaders, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) IsSet ¶
func (o OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) IsSet() bool
IsSet returns true if OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders was set.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) MarshalJSON ¶
func (s OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Or ¶
func (o OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Or(d ConversationHistoryTranscriptToolCallWebhookDetailsHeaders) ConversationHistoryTranscriptToolCallWebhookDetailsHeaders
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Reset ¶
func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) Reset()
Reset unsets value.
func (*OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) SetTo ¶
func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) SetTo(v ConversationHistoryTranscriptToolCallWebhookDetailsHeaders)
SetTo sets value to v.
func (*OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) UnmarshalJSON ¶
func (s *OptConversationHistoryTranscriptToolCallWebhookDetailsHeaders) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams ¶
type OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams struct {
Value ConversationHistoryTranscriptToolCallWebhookDetailsPathParams
Set bool
}
OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams is optional ConversationHistoryTranscriptToolCallWebhookDetailsPathParams.
func NewOptConversationHistoryTranscriptToolCallWebhookDetailsPathParams ¶
func NewOptConversationHistoryTranscriptToolCallWebhookDetailsPathParams(v ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams
NewOptConversationHistoryTranscriptToolCallWebhookDetailsPathParams returns new OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams with value set to v.
func (*OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Decode ¶
func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallWebhookDetailsPathParams from json.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Encode ¶
func (o OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptToolCallWebhookDetailsPathParams as json.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Get ¶
func (o OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Get() (v ConversationHistoryTranscriptToolCallWebhookDetailsPathParams, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) IsSet ¶
func (o OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) IsSet() bool
IsSet returns true if OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams was set.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) MarshalJSON ¶
func (s OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Or ¶
func (o OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Or(d ConversationHistoryTranscriptToolCallWebhookDetailsPathParams) ConversationHistoryTranscriptToolCallWebhookDetailsPathParams
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Reset ¶
func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) Reset()
Reset unsets value.
func (*OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) SetTo ¶
func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) SetTo(v ConversationHistoryTranscriptToolCallWebhookDetailsPathParams)
SetTo sets value to v.
func (*OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) UnmarshalJSON ¶
func (s *OptConversationHistoryTranscriptToolCallWebhookDetailsPathParams) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams ¶
type OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams struct {
Value ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams
Set bool
}
OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams is optional ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams.
func NewOptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams ¶
func NewOptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams(v ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams
NewOptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams returns new OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams with value set to v.
func (*OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Decode ¶
func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams from json.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Encode ¶
func (o OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams as json.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Get ¶
func (o OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Get() (v ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) IsSet ¶
func (o OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) IsSet() bool
IsSet returns true if OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams was set.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) MarshalJSON ¶
func (s OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Or ¶
func (o OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Or(d ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Reset ¶
func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) Reset()
Reset unsets value.
func (*OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) SetTo ¶
func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) SetTo(v ConversationHistoryTranscriptToolCallWebhookDetailsQueryParams)
SetTo sets value to v.
func (*OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) UnmarshalJSON ¶
func (s *OptConversationHistoryTranscriptToolCallWebhookDetailsQueryParams) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptConversationHistoryTranscriptToolCallWebhookDetailsType ¶
type OptConversationHistoryTranscriptToolCallWebhookDetailsType struct {
Value ConversationHistoryTranscriptToolCallWebhookDetailsType
Set bool
}
OptConversationHistoryTranscriptToolCallWebhookDetailsType is optional ConversationHistoryTranscriptToolCallWebhookDetailsType.
func NewOptConversationHistoryTranscriptToolCallWebhookDetailsType ¶
func NewOptConversationHistoryTranscriptToolCallWebhookDetailsType(v ConversationHistoryTranscriptToolCallWebhookDetailsType) OptConversationHistoryTranscriptToolCallWebhookDetailsType
NewOptConversationHistoryTranscriptToolCallWebhookDetailsType returns new OptConversationHistoryTranscriptToolCallWebhookDetailsType with value set to v.
func (*OptConversationHistoryTranscriptToolCallWebhookDetailsType) Decode ¶
func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsType) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallWebhookDetailsType from json.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsType) Encode ¶
func (o OptConversationHistoryTranscriptToolCallWebhookDetailsType) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptToolCallWebhookDetailsType as json.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsType) Get ¶
func (o OptConversationHistoryTranscriptToolCallWebhookDetailsType) Get() (v ConversationHistoryTranscriptToolCallWebhookDetailsType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsType) IsSet ¶
func (o OptConversationHistoryTranscriptToolCallWebhookDetailsType) IsSet() bool
IsSet returns true if OptConversationHistoryTranscriptToolCallWebhookDetailsType was set.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsType) MarshalJSON ¶
func (s OptConversationHistoryTranscriptToolCallWebhookDetailsType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationHistoryTranscriptToolCallWebhookDetailsType) Or ¶
func (o OptConversationHistoryTranscriptToolCallWebhookDetailsType) Or(d ConversationHistoryTranscriptToolCallWebhookDetailsType) ConversationHistoryTranscriptToolCallWebhookDetailsType
Or returns value if set, or given parameter if does not.
func (*OptConversationHistoryTranscriptToolCallWebhookDetailsType) Reset ¶
func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsType) Reset()
Reset unsets value.
func (*OptConversationHistoryTranscriptToolCallWebhookDetailsType) SetTo ¶
func (o *OptConversationHistoryTranscriptToolCallWebhookDetailsType) SetTo(v ConversationHistoryTranscriptToolCallWebhookDetailsType)
SetTo sets value to v.
func (*OptConversationHistoryTranscriptToolCallWebhookDetailsType) UnmarshalJSON ¶
func (s *OptConversationHistoryTranscriptToolCallWebhookDetailsType) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptConversationInitiationClientDataInternal) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataInternal from json.
func (OptConversationInitiationClientDataInternal) Encode ¶
func (o OptConversationInitiationClientDataInternal) Encode(e *jx.Encoder)
Encode encodes ConversationInitiationClientDataInternal as json.
func (OptConversationInitiationClientDataInternal) Get ¶
func (o OptConversationInitiationClientDataInternal) Get() (v ConversationInitiationClientDataInternal, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationInitiationClientDataInternal) IsSet ¶
func (o OptConversationInitiationClientDataInternal) IsSet() bool
IsSet returns true if OptConversationInitiationClientDataInternal was set.
func (OptConversationInitiationClientDataInternal) MarshalJSON ¶
func (s OptConversationInitiationClientDataInternal) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationInitiationClientDataInternal) Or ¶
func (o OptConversationInitiationClientDataInternal) Or(d ConversationInitiationClientDataInternal) ConversationInitiationClientDataInternal
Or returns value if set, or given parameter if does not.
func (*OptConversationInitiationClientDataInternal) Reset ¶
func (o *OptConversationInitiationClientDataInternal) Reset()
Reset unsets value.
func (*OptConversationInitiationClientDataInternal) SetTo ¶
func (o *OptConversationInitiationClientDataInternal) SetTo(v ConversationInitiationClientDataInternal)
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 ¶
func NewOptConversationInitiationClientDataInternalDynamicVariables(v ConversationInitiationClientDataInternalDynamicVariables) OptConversationInitiationClientDataInternalDynamicVariables
NewOptConversationInitiationClientDataInternalDynamicVariables returns new OptConversationInitiationClientDataInternalDynamicVariables with value set to v.
func (*OptConversationInitiationClientDataInternalDynamicVariables) Decode ¶
func (o *OptConversationInitiationClientDataInternalDynamicVariables) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataInternalDynamicVariables from json.
func (OptConversationInitiationClientDataInternalDynamicVariables) Encode ¶
func (o OptConversationInitiationClientDataInternalDynamicVariables) Encode(e *jx.Encoder)
Encode encodes ConversationInitiationClientDataInternalDynamicVariables as json.
func (OptConversationInitiationClientDataInternalDynamicVariables) Get ¶
func (o OptConversationInitiationClientDataInternalDynamicVariables) Get() (v ConversationInitiationClientDataInternalDynamicVariables, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationInitiationClientDataInternalDynamicVariables) IsSet ¶
func (o OptConversationInitiationClientDataInternalDynamicVariables) IsSet() bool
IsSet returns true if OptConversationInitiationClientDataInternalDynamicVariables was set.
func (OptConversationInitiationClientDataInternalDynamicVariables) MarshalJSON ¶
func (s OptConversationInitiationClientDataInternalDynamicVariables) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationInitiationClientDataInternalDynamicVariables) Or ¶
func (o OptConversationInitiationClientDataInternalDynamicVariables) Or(d ConversationInitiationClientDataInternalDynamicVariables) ConversationInitiationClientDataInternalDynamicVariables
Or returns value if set, or given parameter if does not.
func (*OptConversationInitiationClientDataInternalDynamicVariables) Reset ¶
func (o *OptConversationInitiationClientDataInternalDynamicVariables) Reset()
Reset unsets value.
func (*OptConversationInitiationClientDataInternalDynamicVariables) SetTo ¶
func (o *OptConversationInitiationClientDataInternalDynamicVariables) SetTo(v ConversationInitiationClientDataInternalDynamicVariables)
SetTo sets value to v.
func (*OptConversationInitiationClientDataInternalDynamicVariables) UnmarshalJSON ¶
func (s *OptConversationInitiationClientDataInternalDynamicVariables) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptConversationInitiationClientDataRequestInput) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataRequestInput from json.
func (OptConversationInitiationClientDataRequestInput) Encode ¶
func (o OptConversationInitiationClientDataRequestInput) Encode(e *jx.Encoder)
Encode encodes ConversationInitiationClientDataRequestInput as json.
func (OptConversationInitiationClientDataRequestInput) Get ¶
func (o OptConversationInitiationClientDataRequestInput) Get() (v ConversationInitiationClientDataRequestInput, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationInitiationClientDataRequestInput) IsSet ¶
func (o OptConversationInitiationClientDataRequestInput) IsSet() bool
IsSet returns true if OptConversationInitiationClientDataRequestInput was set.
func (OptConversationInitiationClientDataRequestInput) MarshalJSON ¶
func (s OptConversationInitiationClientDataRequestInput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationInitiationClientDataRequestInput) Or ¶
func (o OptConversationInitiationClientDataRequestInput) Or(d ConversationInitiationClientDataRequestInput) ConversationInitiationClientDataRequestInput
Or returns value if set, or given parameter if does not.
func (*OptConversationInitiationClientDataRequestInput) Reset ¶
func (o *OptConversationInitiationClientDataRequestInput) Reset()
Reset unsets value.
func (*OptConversationInitiationClientDataRequestInput) SetTo ¶
func (o *OptConversationInitiationClientDataRequestInput) SetTo(v ConversationInitiationClientDataRequestInput)
SetTo sets value to v.
func (*OptConversationInitiationClientDataRequestInput) UnmarshalJSON ¶
func (s *OptConversationInitiationClientDataRequestInput) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptConversationInitiationClientDataRequestInputDynamicVariables ¶
type OptConversationInitiationClientDataRequestInputDynamicVariables struct {
Value ConversationInitiationClientDataRequestInputDynamicVariables
Set bool
}
OptConversationInitiationClientDataRequestInputDynamicVariables is optional ConversationInitiationClientDataRequestInputDynamicVariables.
func NewOptConversationInitiationClientDataRequestInputDynamicVariables ¶
func NewOptConversationInitiationClientDataRequestInputDynamicVariables(v ConversationInitiationClientDataRequestInputDynamicVariables) OptConversationInitiationClientDataRequestInputDynamicVariables
NewOptConversationInitiationClientDataRequestInputDynamicVariables returns new OptConversationInitiationClientDataRequestInputDynamicVariables with value set to v.
func (*OptConversationInitiationClientDataRequestInputDynamicVariables) Decode ¶
func (o *OptConversationInitiationClientDataRequestInputDynamicVariables) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataRequestInputDynamicVariables from json.
func (OptConversationInitiationClientDataRequestInputDynamicVariables) Encode ¶
func (o OptConversationInitiationClientDataRequestInputDynamicVariables) Encode(e *jx.Encoder)
Encode encodes ConversationInitiationClientDataRequestInputDynamicVariables as json.
func (OptConversationInitiationClientDataRequestInputDynamicVariables) Get ¶
func (o OptConversationInitiationClientDataRequestInputDynamicVariables) Get() (v ConversationInitiationClientDataRequestInputDynamicVariables, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationInitiationClientDataRequestInputDynamicVariables) IsSet ¶
func (o OptConversationInitiationClientDataRequestInputDynamicVariables) IsSet() bool
IsSet returns true if OptConversationInitiationClientDataRequestInputDynamicVariables was set.
func (OptConversationInitiationClientDataRequestInputDynamicVariables) MarshalJSON ¶
func (s OptConversationInitiationClientDataRequestInputDynamicVariables) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationInitiationClientDataRequestInputDynamicVariables) Or ¶
func (o OptConversationInitiationClientDataRequestInputDynamicVariables) Or(d ConversationInitiationClientDataRequestInputDynamicVariables) ConversationInitiationClientDataRequestInputDynamicVariables
Or returns value if set, or given parameter if does not.
func (*OptConversationInitiationClientDataRequestInputDynamicVariables) Reset ¶
func (o *OptConversationInitiationClientDataRequestInputDynamicVariables) Reset()
Reset unsets value.
func (*OptConversationInitiationClientDataRequestInputDynamicVariables) SetTo ¶
func (o *OptConversationInitiationClientDataRequestInputDynamicVariables) SetTo(v ConversationInitiationClientDataRequestInputDynamicVariables)
SetTo sets value to v.
func (*OptConversationInitiationClientDataRequestInputDynamicVariables) UnmarshalJSON ¶
func (s *OptConversationInitiationClientDataRequestInputDynamicVariables) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptConversationInitiationClientDataRequestOutput) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataRequestOutput from json.
func (OptConversationInitiationClientDataRequestOutput) Encode ¶
func (o OptConversationInitiationClientDataRequestOutput) Encode(e *jx.Encoder)
Encode encodes ConversationInitiationClientDataRequestOutput as json.
func (OptConversationInitiationClientDataRequestOutput) Get ¶
func (o OptConversationInitiationClientDataRequestOutput) Get() (v ConversationInitiationClientDataRequestOutput, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationInitiationClientDataRequestOutput) IsSet ¶
func (o OptConversationInitiationClientDataRequestOutput) IsSet() bool
IsSet returns true if OptConversationInitiationClientDataRequestOutput was set.
func (OptConversationInitiationClientDataRequestOutput) MarshalJSON ¶
func (s OptConversationInitiationClientDataRequestOutput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationInitiationClientDataRequestOutput) Or ¶
func (o OptConversationInitiationClientDataRequestOutput) Or(d ConversationInitiationClientDataRequestOutput) ConversationInitiationClientDataRequestOutput
Or returns value if set, or given parameter if does not.
func (*OptConversationInitiationClientDataRequestOutput) Reset ¶
func (o *OptConversationInitiationClientDataRequestOutput) Reset()
Reset unsets value.
func (*OptConversationInitiationClientDataRequestOutput) SetTo ¶
func (o *OptConversationInitiationClientDataRequestOutput) SetTo(v ConversationInitiationClientDataRequestOutput)
SetTo sets value to v.
func (*OptConversationInitiationClientDataRequestOutput) UnmarshalJSON ¶
func (s *OptConversationInitiationClientDataRequestOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptConversationInitiationClientDataRequestOutputDynamicVariables ¶
type OptConversationInitiationClientDataRequestOutputDynamicVariables struct {
Value ConversationInitiationClientDataRequestOutputDynamicVariables
Set bool
}
OptConversationInitiationClientDataRequestOutputDynamicVariables is optional ConversationInitiationClientDataRequestOutputDynamicVariables.
func NewOptConversationInitiationClientDataRequestOutputDynamicVariables ¶
func NewOptConversationInitiationClientDataRequestOutputDynamicVariables(v ConversationInitiationClientDataRequestOutputDynamicVariables) OptConversationInitiationClientDataRequestOutputDynamicVariables
NewOptConversationInitiationClientDataRequestOutputDynamicVariables returns new OptConversationInitiationClientDataRequestOutputDynamicVariables with value set to v.
func (*OptConversationInitiationClientDataRequestOutputDynamicVariables) Decode ¶
func (o *OptConversationInitiationClientDataRequestOutputDynamicVariables) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataRequestOutputDynamicVariables from json.
func (OptConversationInitiationClientDataRequestOutputDynamicVariables) Encode ¶
func (o OptConversationInitiationClientDataRequestOutputDynamicVariables) Encode(e *jx.Encoder)
Encode encodes ConversationInitiationClientDataRequestOutputDynamicVariables as json.
func (OptConversationInitiationClientDataRequestOutputDynamicVariables) Get ¶
func (o OptConversationInitiationClientDataRequestOutputDynamicVariables) Get() (v ConversationInitiationClientDataRequestOutputDynamicVariables, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationInitiationClientDataRequestOutputDynamicVariables) IsSet ¶
func (o OptConversationInitiationClientDataRequestOutputDynamicVariables) IsSet() bool
IsSet returns true if OptConversationInitiationClientDataRequestOutputDynamicVariables was set.
func (OptConversationInitiationClientDataRequestOutputDynamicVariables) MarshalJSON ¶
func (s OptConversationInitiationClientDataRequestOutputDynamicVariables) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationInitiationClientDataRequestOutputDynamicVariables) Or ¶
func (o OptConversationInitiationClientDataRequestOutputDynamicVariables) Or(d ConversationInitiationClientDataRequestOutputDynamicVariables) ConversationInitiationClientDataRequestOutputDynamicVariables
Or returns value if set, or given parameter if does not.
func (*OptConversationInitiationClientDataRequestOutputDynamicVariables) Reset ¶
func (o *OptConversationInitiationClientDataRequestOutputDynamicVariables) Reset()
Reset unsets value.
func (*OptConversationInitiationClientDataRequestOutputDynamicVariables) SetTo ¶
func (o *OptConversationInitiationClientDataRequestOutputDynamicVariables) SetTo(v ConversationInitiationClientDataRequestOutputDynamicVariables)
SetTo sets value to v.
func (*OptConversationInitiationClientDataRequestOutputDynamicVariables) UnmarshalJSON ¶
func (s *OptConversationInitiationClientDataRequestOutputDynamicVariables) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptConversationInitiationClientDataWebhook) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationClientDataWebhook from json.
func (OptConversationInitiationClientDataWebhook) Encode ¶
func (o OptConversationInitiationClientDataWebhook) Encode(e *jx.Encoder)
Encode encodes ConversationInitiationClientDataWebhook as json.
func (OptConversationInitiationClientDataWebhook) Get ¶
func (o OptConversationInitiationClientDataWebhook) Get() (v ConversationInitiationClientDataWebhook, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationInitiationClientDataWebhook) IsSet ¶
func (o OptConversationInitiationClientDataWebhook) IsSet() bool
IsSet returns true if OptConversationInitiationClientDataWebhook was set.
func (OptConversationInitiationClientDataWebhook) MarshalJSON ¶
func (s OptConversationInitiationClientDataWebhook) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationInitiationClientDataWebhook) Or ¶
func (o OptConversationInitiationClientDataWebhook) Or(d ConversationInitiationClientDataWebhook) ConversationInitiationClientDataWebhook
Or returns value if set, or given parameter if does not.
func (*OptConversationInitiationClientDataWebhook) Reset ¶
func (o *OptConversationInitiationClientDataWebhook) Reset()
Reset unsets value.
func (*OptConversationInitiationClientDataWebhook) SetTo ¶
func (o *OptConversationInitiationClientDataWebhook) SetTo(v ConversationInitiationClientDataWebhook)
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 ¶
func (o *OptConversationInitiationSource) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationSource from json.
func (OptConversationInitiationSource) Encode ¶
func (o OptConversationInitiationSource) Encode(e *jx.Encoder)
Encode encodes ConversationInitiationSource as json.
func (OptConversationInitiationSource) Get ¶
func (o OptConversationInitiationSource) Get() (v ConversationInitiationSource, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationInitiationSource) IsSet ¶
func (o OptConversationInitiationSource) IsSet() bool
IsSet returns true if OptConversationInitiationSource was set.
func (OptConversationInitiationSource) MarshalJSON ¶
func (s OptConversationInitiationSource) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationInitiationSource) Or ¶
func (o OptConversationInitiationSource) Or(d ConversationInitiationSource) ConversationInitiationSource
Or returns value if set, or given parameter if does not.
func (*OptConversationInitiationSource) Reset ¶
func (o *OptConversationInitiationSource) Reset()
Reset unsets value.
func (*OptConversationInitiationSource) SetTo ¶
func (o *OptConversationInitiationSource) SetTo(v ConversationInitiationSource)
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 ¶
func (o *OptConversationInitiationSourceInfo) Decode(d *jx.Decoder) error
Decode decodes ConversationInitiationSourceInfo from json.
func (OptConversationInitiationSourceInfo) Encode ¶
func (o OptConversationInitiationSourceInfo) Encode(e *jx.Encoder)
Encode encodes ConversationInitiationSourceInfo as json.
func (OptConversationInitiationSourceInfo) Get ¶
func (o OptConversationInitiationSourceInfo) Get() (v ConversationInitiationSourceInfo, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationInitiationSourceInfo) IsSet ¶
func (o OptConversationInitiationSourceInfo) IsSet() bool
IsSet returns true if OptConversationInitiationSourceInfo was set.
func (OptConversationInitiationSourceInfo) MarshalJSON ¶
func (s OptConversationInitiationSourceInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationInitiationSourceInfo) Or ¶
func (o OptConversationInitiationSourceInfo) Or(d ConversationInitiationSourceInfo) ConversationInitiationSourceInfo
Or returns value if set, or given parameter if does not.
func (*OptConversationInitiationSourceInfo) Reset ¶
func (o *OptConversationInitiationSourceInfo) Reset()
Reset unsets value.
func (*OptConversationInitiationSourceInfo) SetTo ¶
func (o *OptConversationInitiationSourceInfo) SetTo(v ConversationInitiationSourceInfo)
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 ¶
func (o *OptConversationTokenDBModel) Decode(d *jx.Decoder) error
Decode decodes ConversationTokenDBModel from json.
func (OptConversationTokenDBModel) Encode ¶
func (o OptConversationTokenDBModel) Encode(e *jx.Encoder)
Encode encodes ConversationTokenDBModel as json.
func (OptConversationTokenDBModel) Get ¶
func (o OptConversationTokenDBModel) Get() (v ConversationTokenDBModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationTokenDBModel) IsSet ¶
func (o OptConversationTokenDBModel) IsSet() bool
IsSet returns true if OptConversationTokenDBModel was set.
func (OptConversationTokenDBModel) MarshalJSON ¶
func (s OptConversationTokenDBModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptConversationTokenDBModel) Reset ¶
func (o *OptConversationTokenDBModel) Reset()
Reset unsets value.
func (*OptConversationTokenDBModel) SetTo ¶
func (o *OptConversationTokenDBModel) SetTo(v ConversationTokenDBModel)
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 ¶
func (o *OptConversationTokenPurpose) Decode(d *jx.Decoder) error
Decode decodes ConversationTokenPurpose from json.
func (OptConversationTokenPurpose) Encode ¶
func (o OptConversationTokenPurpose) Encode(e *jx.Encoder)
Encode encodes ConversationTokenPurpose as json.
func (OptConversationTokenPurpose) Get ¶
func (o OptConversationTokenPurpose) Get() (v ConversationTokenPurpose, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationTokenPurpose) IsSet ¶
func (o OptConversationTokenPurpose) IsSet() bool
IsSet returns true if OptConversationTokenPurpose was set.
func (OptConversationTokenPurpose) MarshalJSON ¶
func (s OptConversationTokenPurpose) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptConversationTokenPurpose) Reset ¶
func (o *OptConversationTokenPurpose) Reset()
Reset unsets value.
func (*OptConversationTokenPurpose) SetTo ¶
func (o *OptConversationTokenPurpose) SetTo(v ConversationTokenPurpose)
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 ¶
func (o *OptConversationTurnMetrics) Decode(d *jx.Decoder) error
Decode decodes ConversationTurnMetrics from json.
func (OptConversationTurnMetrics) Encode ¶
func (o OptConversationTurnMetrics) Encode(e *jx.Encoder)
Encode encodes ConversationTurnMetrics as json.
func (OptConversationTurnMetrics) Get ¶
func (o OptConversationTurnMetrics) Get() (v ConversationTurnMetrics, ok bool)
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) Reset ¶
func (o *OptConversationTurnMetrics) Reset()
Reset unsets value.
func (*OptConversationTurnMetrics) SetTo ¶
func (o *OptConversationTurnMetrics) SetTo(v ConversationTurnMetrics)
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 ¶
func (o *OptConversationTurnMetricsMetrics) Decode(d *jx.Decoder) error
Decode decodes ConversationTurnMetricsMetrics from json.
func (OptConversationTurnMetricsMetrics) Encode ¶
func (o OptConversationTurnMetricsMetrics) Encode(e *jx.Encoder)
Encode encodes ConversationTurnMetricsMetrics as json.
func (OptConversationTurnMetricsMetrics) Get ¶
func (o OptConversationTurnMetricsMetrics) Get() (v ConversationTurnMetricsMetrics, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptConversationTurnMetricsMetrics) IsSet ¶
func (o OptConversationTurnMetricsMetrics) IsSet() bool
IsSet returns true if OptConversationTurnMetricsMetrics was set.
func (OptConversationTurnMetricsMetrics) MarshalJSON ¶
func (s OptConversationTurnMetricsMetrics) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptConversationTurnMetricsMetrics) Or ¶
func (o OptConversationTurnMetricsMetrics) Or(d ConversationTurnMetricsMetrics) ConversationTurnMetricsMetrics
Or returns value if set, or given parameter if does not.
func (*OptConversationTurnMetricsMetrics) Reset ¶
func (o *OptConversationTurnMetricsMetrics) Reset()
Reset unsets value.
func (*OptConversationTurnMetricsMetrics) SetTo ¶
func (o *OptConversationTurnMetricsMetrics) SetTo(v ConversationTurnMetricsMetrics)
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 ¶
func (o *OptCreateUnitTestRequestDynamicVariables) Decode(d *jx.Decoder) error
Decode decodes CreateUnitTestRequestDynamicVariables from json.
func (OptCreateUnitTestRequestDynamicVariables) Encode ¶
func (o OptCreateUnitTestRequestDynamicVariables) Encode(e *jx.Encoder)
Encode encodes CreateUnitTestRequestDynamicVariables as json.
func (OptCreateUnitTestRequestDynamicVariables) Get ¶
func (o OptCreateUnitTestRequestDynamicVariables) Get() (v CreateUnitTestRequestDynamicVariables, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateUnitTestRequestDynamicVariables) IsSet ¶
func (o OptCreateUnitTestRequestDynamicVariables) IsSet() bool
IsSet returns true if OptCreateUnitTestRequestDynamicVariables was set.
func (OptCreateUnitTestRequestDynamicVariables) MarshalJSON ¶
func (s OptCreateUnitTestRequestDynamicVariables) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateUnitTestRequestDynamicVariables) Or ¶
func (o OptCreateUnitTestRequestDynamicVariables) Or(d CreateUnitTestRequestDynamicVariables) CreateUnitTestRequestDynamicVariables
Or returns value if set, or given parameter if does not.
func (*OptCreateUnitTestRequestDynamicVariables) Reset ¶
func (o *OptCreateUnitTestRequestDynamicVariables) Reset()
Reset unsets value.
func (*OptCreateUnitTestRequestDynamicVariables) SetTo ¶
func (o *OptCreateUnitTestRequestDynamicVariables) SetTo(v CreateUnitTestRequestDynamicVariables)
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 ¶
func (o *OptDashboardCallSuccessChartModelType) Decode(d *jx.Decoder) error
Decode decodes DashboardCallSuccessChartModelType from json.
func (OptDashboardCallSuccessChartModelType) Encode ¶
func (o OptDashboardCallSuccessChartModelType) Encode(e *jx.Encoder)
Encode encodes DashboardCallSuccessChartModelType as json.
func (OptDashboardCallSuccessChartModelType) Get ¶
func (o OptDashboardCallSuccessChartModelType) Get() (v DashboardCallSuccessChartModelType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDashboardCallSuccessChartModelType) IsSet ¶
func (o OptDashboardCallSuccessChartModelType) IsSet() bool
IsSet returns true if OptDashboardCallSuccessChartModelType was set.
func (OptDashboardCallSuccessChartModelType) MarshalJSON ¶
func (s OptDashboardCallSuccessChartModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDashboardCallSuccessChartModelType) Or ¶
func (o OptDashboardCallSuccessChartModelType) Or(d DashboardCallSuccessChartModelType) DashboardCallSuccessChartModelType
Or returns value if set, or given parameter if does not.
func (*OptDashboardCallSuccessChartModelType) Reset ¶
func (o *OptDashboardCallSuccessChartModelType) Reset()
Reset unsets value.
func (*OptDashboardCallSuccessChartModelType) SetTo ¶
func (o *OptDashboardCallSuccessChartModelType) SetTo(v DashboardCallSuccessChartModelType)
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 ¶
func (o *OptDashboardCriteriaChartModelType) Decode(d *jx.Decoder) error
Decode decodes DashboardCriteriaChartModelType from json.
func (OptDashboardCriteriaChartModelType) Encode ¶
func (o OptDashboardCriteriaChartModelType) Encode(e *jx.Encoder)
Encode encodes DashboardCriteriaChartModelType as json.
func (OptDashboardCriteriaChartModelType) Get ¶
func (o OptDashboardCriteriaChartModelType) Get() (v DashboardCriteriaChartModelType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDashboardCriteriaChartModelType) IsSet ¶
func (o OptDashboardCriteriaChartModelType) IsSet() bool
IsSet returns true if OptDashboardCriteriaChartModelType was set.
func (OptDashboardCriteriaChartModelType) MarshalJSON ¶
func (s OptDashboardCriteriaChartModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDashboardCriteriaChartModelType) Or ¶
func (o OptDashboardCriteriaChartModelType) Or(d DashboardCriteriaChartModelType) DashboardCriteriaChartModelType
Or returns value if set, or given parameter if does not.
func (*OptDashboardCriteriaChartModelType) Reset ¶
func (o *OptDashboardCriteriaChartModelType) Reset()
Reset unsets value.
func (*OptDashboardCriteriaChartModelType) SetTo ¶
func (o *OptDashboardCriteriaChartModelType) SetTo(v DashboardCriteriaChartModelType)
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 ¶
func (o *OptDashboardDataCollectionChartModelType) Decode(d *jx.Decoder) error
Decode decodes DashboardDataCollectionChartModelType from json.
func (OptDashboardDataCollectionChartModelType) Encode ¶
func (o OptDashboardDataCollectionChartModelType) Encode(e *jx.Encoder)
Encode encodes DashboardDataCollectionChartModelType as json.
func (OptDashboardDataCollectionChartModelType) Get ¶
func (o OptDashboardDataCollectionChartModelType) Get() (v DashboardDataCollectionChartModelType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDashboardDataCollectionChartModelType) IsSet ¶
func (o OptDashboardDataCollectionChartModelType) IsSet() bool
IsSet returns true if OptDashboardDataCollectionChartModelType was set.
func (OptDashboardDataCollectionChartModelType) MarshalJSON ¶
func (s OptDashboardDataCollectionChartModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDashboardDataCollectionChartModelType) Or ¶
func (o OptDashboardDataCollectionChartModelType) Or(d DashboardDataCollectionChartModelType) DashboardDataCollectionChartModelType
Or returns value if set, or given parameter if does not.
func (*OptDashboardDataCollectionChartModelType) Reset ¶
func (o *OptDashboardDataCollectionChartModelType) Reset()
Reset unsets value.
func (*OptDashboardDataCollectionChartModelType) SetTo ¶
func (o *OptDashboardDataCollectionChartModelType) SetTo(v DashboardDataCollectionChartModelType)
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 ¶
func (o *OptDefaultConversationInitiationTriggerTriggerType) Decode(d *jx.Decoder) error
Decode decodes DefaultConversationInitiationTriggerTriggerType from json.
func (OptDefaultConversationInitiationTriggerTriggerType) Encode ¶
func (o OptDefaultConversationInitiationTriggerTriggerType) Encode(e *jx.Encoder)
Encode encodes DefaultConversationInitiationTriggerTriggerType as json.
func (OptDefaultConversationInitiationTriggerTriggerType) Get ¶
func (o OptDefaultConversationInitiationTriggerTriggerType) Get() (v DefaultConversationInitiationTriggerTriggerType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDefaultConversationInitiationTriggerTriggerType) IsSet ¶
func (o OptDefaultConversationInitiationTriggerTriggerType) IsSet() bool
IsSet returns true if OptDefaultConversationInitiationTriggerTriggerType was set.
func (OptDefaultConversationInitiationTriggerTriggerType) MarshalJSON ¶
func (s OptDefaultConversationInitiationTriggerTriggerType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDefaultConversationInitiationTriggerTriggerType) Or ¶
func (o OptDefaultConversationInitiationTriggerTriggerType) Or(d DefaultConversationInitiationTriggerTriggerType) DefaultConversationInitiationTriggerTriggerType
Or returns value if set, or given parameter if does not.
func (*OptDefaultConversationInitiationTriggerTriggerType) Reset ¶
func (o *OptDefaultConversationInitiationTriggerTriggerType) Reset()
Reset unsets value.
func (*OptDefaultConversationInitiationTriggerTriggerType) SetTo ¶
func (o *OptDefaultConversationInitiationTriggerTriggerType) SetTo(v DefaultConversationInitiationTriggerTriggerType)
SetTo sets value to v.
func (*OptDefaultConversationInitiationTriggerTriggerType) UnmarshalJSON ¶
func (s *OptDefaultConversationInitiationTriggerTriggerType) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptDependentAvailableAgentIdentifierType) Decode(d *jx.Decoder) error
Decode decodes DependentAvailableAgentIdentifierType from json.
func (OptDependentAvailableAgentIdentifierType) Encode ¶
func (o OptDependentAvailableAgentIdentifierType) Encode(e *jx.Encoder)
Encode encodes DependentAvailableAgentIdentifierType as json.
func (OptDependentAvailableAgentIdentifierType) Get ¶
func (o OptDependentAvailableAgentIdentifierType) Get() (v DependentAvailableAgentIdentifierType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDependentAvailableAgentIdentifierType) IsSet ¶
func (o OptDependentAvailableAgentIdentifierType) IsSet() bool
IsSet returns true if OptDependentAvailableAgentIdentifierType was set.
func (OptDependentAvailableAgentIdentifierType) MarshalJSON ¶
func (s OptDependentAvailableAgentIdentifierType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDependentAvailableAgentIdentifierType) Or ¶
func (o OptDependentAvailableAgentIdentifierType) Or(d DependentAvailableAgentIdentifierType) DependentAvailableAgentIdentifierType
Or returns value if set, or given parameter if does not.
func (*OptDependentAvailableAgentIdentifierType) Reset ¶
func (o *OptDependentAvailableAgentIdentifierType) Reset()
Reset unsets value.
func (*OptDependentAvailableAgentIdentifierType) SetTo ¶
func (o *OptDependentAvailableAgentIdentifierType) SetTo(v DependentAvailableAgentIdentifierType)
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 ¶
func (o *OptDependentAvailableToolIdentifierType) Decode(d *jx.Decoder) error
Decode decodes DependentAvailableToolIdentifierType from json.
func (OptDependentAvailableToolIdentifierType) Encode ¶
func (o OptDependentAvailableToolIdentifierType) Encode(e *jx.Encoder)
Encode encodes DependentAvailableToolIdentifierType as json.
func (OptDependentAvailableToolIdentifierType) Get ¶
func (o OptDependentAvailableToolIdentifierType) Get() (v DependentAvailableToolIdentifierType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDependentAvailableToolIdentifierType) IsSet ¶
func (o OptDependentAvailableToolIdentifierType) IsSet() bool
IsSet returns true if OptDependentAvailableToolIdentifierType was set.
func (OptDependentAvailableToolIdentifierType) MarshalJSON ¶
func (s OptDependentAvailableToolIdentifierType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDependentAvailableToolIdentifierType) Or ¶
func (o OptDependentAvailableToolIdentifierType) Or(d DependentAvailableToolIdentifierType) DependentAvailableToolIdentifierType
Or returns value if set, or given parameter if does not.
func (*OptDependentAvailableToolIdentifierType) Reset ¶
func (o *OptDependentAvailableToolIdentifierType) Reset()
Reset unsets value.
func (*OptDependentAvailableToolIdentifierType) SetTo ¶
func (o *OptDependentAvailableToolIdentifierType) SetTo(v DependentAvailableToolIdentifierType)
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 ¶
func (o *OptDependentUnknownAgentIdentifierType) Decode(d *jx.Decoder) error
Decode decodes DependentUnknownAgentIdentifierType from json.
func (OptDependentUnknownAgentIdentifierType) Encode ¶
func (o OptDependentUnknownAgentIdentifierType) Encode(e *jx.Encoder)
Encode encodes DependentUnknownAgentIdentifierType as json.
func (OptDependentUnknownAgentIdentifierType) Get ¶
func (o OptDependentUnknownAgentIdentifierType) Get() (v DependentUnknownAgentIdentifierType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDependentUnknownAgentIdentifierType) IsSet ¶
func (o OptDependentUnknownAgentIdentifierType) IsSet() bool
IsSet returns true if OptDependentUnknownAgentIdentifierType was set.
func (OptDependentUnknownAgentIdentifierType) MarshalJSON ¶
func (s OptDependentUnknownAgentIdentifierType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDependentUnknownAgentIdentifierType) Or ¶
func (o OptDependentUnknownAgentIdentifierType) Or(d DependentUnknownAgentIdentifierType) DependentUnknownAgentIdentifierType
Or returns value if set, or given parameter if does not.
func (*OptDependentUnknownAgentIdentifierType) Reset ¶
func (o *OptDependentUnknownAgentIdentifierType) Reset()
Reset unsets value.
func (*OptDependentUnknownAgentIdentifierType) SetTo ¶
func (o *OptDependentUnknownAgentIdentifierType) SetTo(v DependentUnknownAgentIdentifierType)
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 ¶
func (o *OptDependentUnknownToolIdentifierType) Decode(d *jx.Decoder) error
Decode decodes DependentUnknownToolIdentifierType from json.
func (OptDependentUnknownToolIdentifierType) Encode ¶
func (o OptDependentUnknownToolIdentifierType) Encode(e *jx.Encoder)
Encode encodes DependentUnknownToolIdentifierType as json.
func (OptDependentUnknownToolIdentifierType) Get ¶
func (o OptDependentUnknownToolIdentifierType) Get() (v DependentUnknownToolIdentifierType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDependentUnknownToolIdentifierType) IsSet ¶
func (o OptDependentUnknownToolIdentifierType) IsSet() bool
IsSet returns true if OptDependentUnknownToolIdentifierType was set.
func (OptDependentUnknownToolIdentifierType) MarshalJSON ¶
func (s OptDependentUnknownToolIdentifierType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDependentUnknownToolIdentifierType) Or ¶
func (o OptDependentUnknownToolIdentifierType) Or(d DependentUnknownToolIdentifierType) DependentUnknownToolIdentifierType
Or returns value if set, or given parameter if does not.
func (*OptDependentUnknownToolIdentifierType) Reset ¶
func (o *OptDependentUnknownToolIdentifierType) Reset()
Reset unsets value.
func (*OptDependentUnknownToolIdentifierType) SetTo ¶
func (o *OptDependentUnknownToolIdentifierType) SetTo(v DependentUnknownToolIdentifierType)
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 ¶
func (o OptDubbingMediaMetadata) Get() (v DubbingMediaMetadata, ok bool)
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 ¶
func (o OptDubbingMediaMetadata) Or(d DubbingMediaMetadata) DubbingMediaMetadata
Or returns value if set, or given parameter if does not.
func (*OptDubbingMediaMetadata) Reset ¶
func (o *OptDubbingMediaMetadata) Reset()
Reset unsets value.
func (*OptDubbingMediaMetadata) SetTo ¶
func (o *OptDubbingMediaMetadata) SetTo(v DubbingMediaMetadata)
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 ¶
func (o *OptDynamicVariableAssignmentSource) Decode(d *jx.Decoder) error
Decode decodes DynamicVariableAssignmentSource from json.
func (OptDynamicVariableAssignmentSource) Encode ¶
func (o OptDynamicVariableAssignmentSource) Encode(e *jx.Encoder)
Encode encodes DynamicVariableAssignmentSource as json.
func (OptDynamicVariableAssignmentSource) Get ¶
func (o OptDynamicVariableAssignmentSource) Get() (v DynamicVariableAssignmentSource, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDynamicVariableAssignmentSource) IsSet ¶
func (o OptDynamicVariableAssignmentSource) IsSet() bool
IsSet returns true if OptDynamicVariableAssignmentSource was set.
func (OptDynamicVariableAssignmentSource) MarshalJSON ¶
func (s OptDynamicVariableAssignmentSource) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDynamicVariableAssignmentSource) Or ¶
func (o OptDynamicVariableAssignmentSource) Or(d DynamicVariableAssignmentSource) DynamicVariableAssignmentSource
Or returns value if set, or given parameter if does not.
func (*OptDynamicVariableAssignmentSource) Reset ¶
func (o *OptDynamicVariableAssignmentSource) Reset()
Reset unsets value.
func (*OptDynamicVariableAssignmentSource) SetTo ¶
func (o *OptDynamicVariableAssignmentSource) SetTo(v DynamicVariableAssignmentSource)
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 ¶
func (o *OptEndCallToolResultModelResultType) Decode(d *jx.Decoder) error
Decode decodes EndCallToolResultModelResultType from json.
func (OptEndCallToolResultModelResultType) Encode ¶
func (o OptEndCallToolResultModelResultType) Encode(e *jx.Encoder)
Encode encodes EndCallToolResultModelResultType as json.
func (OptEndCallToolResultModelResultType) Get ¶
func (o OptEndCallToolResultModelResultType) Get() (v EndCallToolResultModelResultType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptEndCallToolResultModelResultType) IsSet ¶
func (o OptEndCallToolResultModelResultType) IsSet() bool
IsSet returns true if OptEndCallToolResultModelResultType was set.
func (OptEndCallToolResultModelResultType) MarshalJSON ¶
func (s OptEndCallToolResultModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptEndCallToolResultModelResultType) Or ¶
func (o OptEndCallToolResultModelResultType) Or(d EndCallToolResultModelResultType) EndCallToolResultModelResultType
Or returns value if set, or given parameter if does not.
func (*OptEndCallToolResultModelResultType) Reset ¶
func (o *OptEndCallToolResultModelResultType) Reset()
Reset unsets value.
func (*OptEndCallToolResultModelResultType) SetTo ¶
func (o *OptEndCallToolResultModelResultType) SetTo(v EndCallToolResultModelResultType)
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 ¶
func (o *OptEndCallToolResultModelStatus) Decode(d *jx.Decoder) error
Decode decodes EndCallToolResultModelStatus from json.
func (OptEndCallToolResultModelStatus) Encode ¶
func (o OptEndCallToolResultModelStatus) Encode(e *jx.Encoder)
Encode encodes EndCallToolResultModelStatus as json.
func (OptEndCallToolResultModelStatus) Get ¶
func (o OptEndCallToolResultModelStatus) Get() (v EndCallToolResultModelStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptEndCallToolResultModelStatus) IsSet ¶
func (o OptEndCallToolResultModelStatus) IsSet() bool
IsSet returns true if OptEndCallToolResultModelStatus was set.
func (OptEndCallToolResultModelStatus) MarshalJSON ¶
func (s OptEndCallToolResultModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptEndCallToolResultModelStatus) Or ¶
func (o OptEndCallToolResultModelStatus) Or(d EndCallToolResultModelStatus) EndCallToolResultModelStatus
Or returns value if set, or given parameter if does not.
func (*OptEndCallToolResultModelStatus) Reset ¶
func (o *OptEndCallToolResultModelStatus) Reset()
Reset unsets value.
func (*OptEndCallToolResultModelStatus) SetTo ¶
func (o *OptEndCallToolResultModelStatus) SetTo(v EndCallToolResultModelStatus)
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 ¶
func (o OptEvaluationSuccessResult) Get() (v EvaluationSuccessResult, ok bool)
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) Reset ¶
func (o *OptEvaluationSuccessResult) Reset()
Reset unsets value.
func (*OptEvaluationSuccessResult) SetTo ¶
func (o *OptEvaluationSuccessResult) SetTo(v EvaluationSuccessResult)
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 ¶
func (o *OptFeatureStatusCommonModel) Decode(d *jx.Decoder) error
Decode decodes FeatureStatusCommonModel from json.
func (OptFeatureStatusCommonModel) Encode ¶
func (o OptFeatureStatusCommonModel) Encode(e *jx.Encoder)
Encode encodes FeatureStatusCommonModel as json.
func (OptFeatureStatusCommonModel) Get ¶
func (o OptFeatureStatusCommonModel) Get() (v FeatureStatusCommonModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFeatureStatusCommonModel) IsSet ¶
func (o OptFeatureStatusCommonModel) IsSet() bool
IsSet returns true if OptFeatureStatusCommonModel was set.
func (OptFeatureStatusCommonModel) MarshalJSON ¶
func (s OptFeatureStatusCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptFeatureStatusCommonModel) Reset ¶
func (o *OptFeatureStatusCommonModel) Reset()
Reset unsets value.
func (*OptFeatureStatusCommonModel) SetTo ¶
func (o *OptFeatureStatusCommonModel) SetTo(v FeatureStatusCommonModel)
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 ¶
func (o *OptFeaturesUsageCommonModel) Decode(d *jx.Decoder) error
Decode decodes FeaturesUsageCommonModel from json.
func (OptFeaturesUsageCommonModel) Encode ¶
func (o OptFeaturesUsageCommonModel) Encode(e *jx.Encoder)
Encode encodes FeaturesUsageCommonModel as json.
func (OptFeaturesUsageCommonModel) Get ¶
func (o OptFeaturesUsageCommonModel) Get() (v FeaturesUsageCommonModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFeaturesUsageCommonModel) IsSet ¶
func (o OptFeaturesUsageCommonModel) IsSet() bool
IsSet returns true if OptFeaturesUsageCommonModel was set.
func (OptFeaturesUsageCommonModel) MarshalJSON ¶
func (s OptFeaturesUsageCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptFeaturesUsageCommonModel) Reset ¶
func (o *OptFeaturesUsageCommonModel) Reset()
Reset unsets value.
func (*OptFeaturesUsageCommonModel) SetTo ¶
func (o *OptFeaturesUsageCommonModel) SetTo(v FeaturesUsageCommonModel)
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 ¶
func (o OptFeedbackResponseModel) Get() (v FeedbackResponseModel, ok bool)
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 ¶
func (o OptFeedbackResponseModel) Or(d FeedbackResponseModel) FeedbackResponseModel
Or returns value if set, or given parameter if does not.
func (*OptFeedbackResponseModel) Reset ¶
func (o *OptFeedbackResponseModel) Reset()
Reset unsets value.
func (*OptFeedbackResponseModel) SetTo ¶
func (o *OptFeedbackResponseModel) SetTo(v FeedbackResponseModel)
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 ¶
func (o *OptFineTuningResponseModel) Decode(d *jx.Decoder) error
Decode decodes FineTuningResponseModel from json.
func (OptFineTuningResponseModel) Encode ¶
func (o OptFineTuningResponseModel) Encode(e *jx.Encoder)
Encode encodes FineTuningResponseModel as json.
func (OptFineTuningResponseModel) Get ¶
func (o OptFineTuningResponseModel) Get() (v FineTuningResponseModel, ok bool)
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) Reset ¶
func (o *OptFineTuningResponseModel) Reset()
Reset unsets value.
func (*OptFineTuningResponseModel) SetTo ¶
func (o *OptFineTuningResponseModel) SetTo(v FineTuningResponseModel)
SetTo sets value to v.
func (*OptFineTuningResponseModel) UnmarshalJSON ¶
func (s *OptFineTuningResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFloat64 ¶
OptFloat64 is optional float64.
func NewOptFloat64 ¶
func NewOptFloat64(v float64) OptFloat64
NewOptFloat64 returns new OptFloat64 with value set to v.
func (*OptFloat64) Decode ¶
func (o *OptFloat64) Decode(d *jx.Decoder) error
Decode decodes float64 from json.
func (OptFloat64) Encode ¶
func (o OptFloat64) Encode(e *jx.Encoder)
Encode encodes float64 as json.
func (OptFloat64) Get ¶
func (o OptFloat64) Get() (v float64, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFloat64) IsSet ¶
func (o OptFloat64) IsSet() bool
IsSet returns true if OptFloat64 was set.
func (OptFloat64) MarshalJSON ¶
func (s OptFloat64) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFloat64) Or ¶
func (o OptFloat64) Or(d float64) float64
Or returns value if set, or given parameter if does not.
func (*OptFloat64) UnmarshalJSON ¶
func (s *OptFloat64) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type 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 ¶
func (o OptGenerateOutputFormat) Get() (v GenerateOutputFormat, ok bool)
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 ¶
func (o OptGenerateOutputFormat) Or(d GenerateOutputFormat) GenerateOutputFormat
Or returns value if set, or given parameter if does not.
func (*OptGenerateOutputFormat) Reset ¶
func (o *OptGenerateOutputFormat) Reset()
Reset unsets value.
func (*OptGenerateOutputFormat) SetTo ¶
func (o *OptGenerateOutputFormat) SetTo(v GenerateOutputFormat)
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 ¶
func (o OptGetConversationHistoriesRouteSummaryMode) Get() (v GetConversationHistoriesRouteSummaryMode, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGetConversationHistoriesRouteSummaryMode) IsSet ¶
func (o OptGetConversationHistoriesRouteSummaryMode) IsSet() bool
IsSet returns true if OptGetConversationHistoriesRouteSummaryMode was set.
func (OptGetConversationHistoriesRouteSummaryMode) Or ¶
func (o OptGetConversationHistoriesRouteSummaryMode) Or(d GetConversationHistoriesRouteSummaryMode) GetConversationHistoriesRouteSummaryMode
Or returns value if set, or given parameter if does not.
func (*OptGetConversationHistoriesRouteSummaryMode) Reset ¶
func (o *OptGetConversationHistoriesRouteSummaryMode) Reset()
Reset unsets value.
func (*OptGetConversationHistoriesRouteSummaryMode) SetTo ¶
func (o *OptGetConversationHistoriesRouteSummaryMode) SetTo(v GetConversationHistoriesRouteSummaryMode)
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 ¶
func (o OptGetDubbedTranscriptFileFormatType) Get() (v GetDubbedTranscriptFileFormatType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGetDubbedTranscriptFileFormatType) IsSet ¶
func (o OptGetDubbedTranscriptFileFormatType) IsSet() bool
IsSet returns true if OptGetDubbedTranscriptFileFormatType was set.
func (OptGetDubbedTranscriptFileFormatType) Or ¶
func (o OptGetDubbedTranscriptFileFormatType) Or(d GetDubbedTranscriptFileFormatType) GetDubbedTranscriptFileFormatType
Or returns value if set, or given parameter if does not.
func (*OptGetDubbedTranscriptFileFormatType) Reset ¶
func (o *OptGetDubbedTranscriptFileFormatType) Reset()
Reset unsets value.
func (*OptGetDubbedTranscriptFileFormatType) SetTo ¶
func (o *OptGetDubbedTranscriptFileFormatType) SetTo(v GetDubbedTranscriptFileFormatType)
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 ¶
func (o *OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetPhoneNumberInboundSIPTrunkConfigResponseModel from json.
func (OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Encode ¶
func (o OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Encode(e *jx.Encoder)
Encode encodes GetPhoneNumberInboundSIPTrunkConfigResponseModel as json.
func (OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Get ¶
func (o OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Get() (v GetPhoneNumberInboundSIPTrunkConfigResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) IsSet ¶
func (o OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) IsSet() bool
IsSet returns true if OptGetPhoneNumberInboundSIPTrunkConfigResponseModel was set.
func (OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) MarshalJSON ¶
func (s OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Or ¶
func (o OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Or(d GetPhoneNumberInboundSIPTrunkConfigResponseModel) GetPhoneNumberInboundSIPTrunkConfigResponseModel
Or returns value if set, or given parameter if does not.
func (*OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Reset ¶
func (o *OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) Reset()
Reset unsets value.
func (*OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) SetTo ¶
func (o *OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) SetTo(v GetPhoneNumberInboundSIPTrunkConfigResponseModel)
SetTo sets value to v.
func (*OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) UnmarshalJSON ¶
func (s *OptGetPhoneNumberInboundSIPTrunkConfigResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel ¶
type OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel struct {
Value GetPhoneNumberOutboundSIPTrunkConfigResponseModel
Set bool
}
OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel is optional GetPhoneNumberOutboundSIPTrunkConfigResponseModel.
func NewOptGetPhoneNumberOutboundSIPTrunkConfigResponseModel ¶
func NewOptGetPhoneNumberOutboundSIPTrunkConfigResponseModel(v GetPhoneNumberOutboundSIPTrunkConfigResponseModel) OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel
NewOptGetPhoneNumberOutboundSIPTrunkConfigResponseModel returns new OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel with value set to v.
func (*OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Decode ¶
func (o *OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Decode(d *jx.Decoder) error
Decode decodes GetPhoneNumberOutboundSIPTrunkConfigResponseModel from json.
func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Encode ¶
func (o OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Encode(e *jx.Encoder)
Encode encodes GetPhoneNumberOutboundSIPTrunkConfigResponseModel as json.
func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Get ¶
func (o OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Get() (v GetPhoneNumberOutboundSIPTrunkConfigResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) IsSet ¶
func (o OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) IsSet() bool
IsSet returns true if OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel was set.
func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) MarshalJSON ¶
func (s OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Or ¶
func (o OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Or(d GetPhoneNumberOutboundSIPTrunkConfigResponseModel) GetPhoneNumberOutboundSIPTrunkConfigResponseModel
Or returns value if set, or given parameter if does not.
func (*OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Reset ¶
func (o *OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) Reset()
Reset unsets value.
func (*OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetTo ¶
func (o *OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) SetTo(v GetPhoneNumberOutboundSIPTrunkConfigResponseModel)
SetTo sets value to v.
func (*OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) UnmarshalJSON ¶
func (s *OptGetPhoneNumberOutboundSIPTrunkConfigResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders ¶
type OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders struct {
Value GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders
Set bool
}
OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders is optional GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders.
func NewOptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders ¶
func NewOptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders(v GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders
NewOptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders returns new OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders with value set to v.
func (*OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Decode ¶
func (o *OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Decode(d *jx.Decoder) error
Decode decodes GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders from json.
func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Encode ¶
func (o OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Encode(e *jx.Encoder)
Encode encodes GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders as json.
func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Get ¶
func (o OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Get() (v GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) IsSet ¶
func (o OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) IsSet() bool
IsSet returns true if OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders was set.
func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) MarshalJSON ¶
func (s OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Or ¶
func (o OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Or(d GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders
Or returns value if set, or given parameter if does not.
func (*OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Reset ¶
func (o *OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) Reset()
Reset unsets value.
func (*OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) SetTo ¶
func (o *OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) SetTo(v GetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders)
SetTo sets value to v.
func (*OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) UnmarshalJSON ¶
func (s *OptGetPhoneNumberOutboundSIPTrunkConfigResponseModelHeaders) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptGetPhoneNumberSIPTrunkResponseModelProvider) Decode(d *jx.Decoder) error
Decode decodes GetPhoneNumberSIPTrunkResponseModelProvider from json.
func (OptGetPhoneNumberSIPTrunkResponseModelProvider) Encode ¶
func (o OptGetPhoneNumberSIPTrunkResponseModelProvider) Encode(e *jx.Encoder)
Encode encodes GetPhoneNumberSIPTrunkResponseModelProvider as json.
func (OptGetPhoneNumberSIPTrunkResponseModelProvider) Get ¶
func (o OptGetPhoneNumberSIPTrunkResponseModelProvider) Get() (v GetPhoneNumberSIPTrunkResponseModelProvider, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGetPhoneNumberSIPTrunkResponseModelProvider) IsSet ¶
func (o OptGetPhoneNumberSIPTrunkResponseModelProvider) IsSet() bool
IsSet returns true if OptGetPhoneNumberSIPTrunkResponseModelProvider was set.
func (OptGetPhoneNumberSIPTrunkResponseModelProvider) MarshalJSON ¶
func (s OptGetPhoneNumberSIPTrunkResponseModelProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGetPhoneNumberSIPTrunkResponseModelProvider) Or ¶
func (o OptGetPhoneNumberSIPTrunkResponseModelProvider) Or(d GetPhoneNumberSIPTrunkResponseModelProvider) GetPhoneNumberSIPTrunkResponseModelProvider
Or returns value if set, or given parameter if does not.
func (*OptGetPhoneNumberSIPTrunkResponseModelProvider) Reset ¶
func (o *OptGetPhoneNumberSIPTrunkResponseModelProvider) Reset()
Reset unsets value.
func (*OptGetPhoneNumberSIPTrunkResponseModelProvider) SetTo ¶
func (o *OptGetPhoneNumberSIPTrunkResponseModelProvider) SetTo(v GetPhoneNumberSIPTrunkResponseModelProvider)
SetTo sets value to v.
func (*OptGetPhoneNumberSIPTrunkResponseModelProvider) UnmarshalJSON ¶
func (s *OptGetPhoneNumberSIPTrunkResponseModelProvider) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptGetPhoneNumberTwilioResponseModelProvider) Decode(d *jx.Decoder) error
Decode decodes GetPhoneNumberTwilioResponseModelProvider from json.
func (OptGetPhoneNumberTwilioResponseModelProvider) Encode ¶
func (o OptGetPhoneNumberTwilioResponseModelProvider) Encode(e *jx.Encoder)
Encode encodes GetPhoneNumberTwilioResponseModelProvider as json.
func (OptGetPhoneNumberTwilioResponseModelProvider) Get ¶
func (o OptGetPhoneNumberTwilioResponseModelProvider) Get() (v GetPhoneNumberTwilioResponseModelProvider, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGetPhoneNumberTwilioResponseModelProvider) IsSet ¶
func (o OptGetPhoneNumberTwilioResponseModelProvider) IsSet() bool
IsSet returns true if OptGetPhoneNumberTwilioResponseModelProvider was set.
func (OptGetPhoneNumberTwilioResponseModelProvider) MarshalJSON ¶
func (s OptGetPhoneNumberTwilioResponseModelProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGetPhoneNumberTwilioResponseModelProvider) Or ¶
func (o OptGetPhoneNumberTwilioResponseModelProvider) Or(d GetPhoneNumberTwilioResponseModelProvider) GetPhoneNumberTwilioResponseModelProvider
Or returns value if set, or given parameter if does not.
func (*OptGetPhoneNumberTwilioResponseModelProvider) Reset ¶
func (o *OptGetPhoneNumberTwilioResponseModelProvider) Reset()
Reset unsets value.
func (*OptGetPhoneNumberTwilioResponseModelProvider) SetTo ¶
func (o *OptGetPhoneNumberTwilioResponseModelProvider) SetTo(v GetPhoneNumberTwilioResponseModelProvider)
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 ¶
func (o *OptGetUnitTestResponseModelDynamicVariables) Decode(d *jx.Decoder) error
Decode decodes GetUnitTestResponseModelDynamicVariables from json.
func (OptGetUnitTestResponseModelDynamicVariables) Encode ¶
func (o OptGetUnitTestResponseModelDynamicVariables) Encode(e *jx.Encoder)
Encode encodes GetUnitTestResponseModelDynamicVariables as json.
func (OptGetUnitTestResponseModelDynamicVariables) Get ¶
func (o OptGetUnitTestResponseModelDynamicVariables) Get() (v GetUnitTestResponseModelDynamicVariables, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGetUnitTestResponseModelDynamicVariables) IsSet ¶
func (o OptGetUnitTestResponseModelDynamicVariables) IsSet() bool
IsSet returns true if OptGetUnitTestResponseModelDynamicVariables was set.
func (OptGetUnitTestResponseModelDynamicVariables) MarshalJSON ¶
func (s OptGetUnitTestResponseModelDynamicVariables) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGetUnitTestResponseModelDynamicVariables) Or ¶
func (o OptGetUnitTestResponseModelDynamicVariables) Or(d GetUnitTestResponseModelDynamicVariables) GetUnitTestResponseModelDynamicVariables
Or returns value if set, or given parameter if does not.
func (*OptGetUnitTestResponseModelDynamicVariables) Reset ¶
func (o *OptGetUnitTestResponseModelDynamicVariables) Reset()
Reset unsets value.
func (*OptGetUnitTestResponseModelDynamicVariables) SetTo ¶
func (o *OptGetUnitTestResponseModelDynamicVariables) SetTo(v GetUnitTestResponseModelDynamicVariables)
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 ¶
func (o *OptHistoryAlignmentsResponseModel) Decode(d *jx.Decoder) error
Decode decodes HistoryAlignmentsResponseModel from json.
func (OptHistoryAlignmentsResponseModel) Encode ¶
func (o OptHistoryAlignmentsResponseModel) Encode(e *jx.Encoder)
Encode encodes HistoryAlignmentsResponseModel as json.
func (OptHistoryAlignmentsResponseModel) Get ¶
func (o OptHistoryAlignmentsResponseModel) Get() (v HistoryAlignmentsResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptHistoryAlignmentsResponseModel) IsSet ¶
func (o OptHistoryAlignmentsResponseModel) IsSet() bool
IsSet returns true if OptHistoryAlignmentsResponseModel was set.
func (OptHistoryAlignmentsResponseModel) MarshalJSON ¶
func (s OptHistoryAlignmentsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptHistoryAlignmentsResponseModel) Or ¶
func (o OptHistoryAlignmentsResponseModel) Or(d HistoryAlignmentsResponseModel) HistoryAlignmentsResponseModel
Or returns value if set, or given parameter if does not.
func (*OptHistoryAlignmentsResponseModel) Reset ¶
func (o *OptHistoryAlignmentsResponseModel) Reset()
Reset unsets value.
func (*OptHistoryAlignmentsResponseModel) SetTo ¶
func (o *OptHistoryAlignmentsResponseModel) SetTo(v HistoryAlignmentsResponseModel)
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 ¶
func (o *OptInboundSIPTrunkConfigRequestModel) Decode(d *jx.Decoder) error
Decode decodes InboundSIPTrunkConfigRequestModel from json.
func (OptInboundSIPTrunkConfigRequestModel) Encode ¶
func (o OptInboundSIPTrunkConfigRequestModel) Encode(e *jx.Encoder)
Encode encodes InboundSIPTrunkConfigRequestModel as json.
func (OptInboundSIPTrunkConfigRequestModel) Get ¶
func (o OptInboundSIPTrunkConfigRequestModel) Get() (v InboundSIPTrunkConfigRequestModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptInboundSIPTrunkConfigRequestModel) IsSet ¶
func (o OptInboundSIPTrunkConfigRequestModel) IsSet() bool
IsSet returns true if OptInboundSIPTrunkConfigRequestModel was set.
func (OptInboundSIPTrunkConfigRequestModel) MarshalJSON ¶
func (s OptInboundSIPTrunkConfigRequestModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptInboundSIPTrunkConfigRequestModel) Or ¶
func (o OptInboundSIPTrunkConfigRequestModel) Or(d InboundSIPTrunkConfigRequestModel) InboundSIPTrunkConfigRequestModel
Or returns value if set, or given parameter if does not.
func (*OptInboundSIPTrunkConfigRequestModel) Reset ¶
func (o *OptInboundSIPTrunkConfigRequestModel) Reset()
Reset unsets value.
func (*OptInboundSIPTrunkConfigRequestModel) SetTo ¶
func (o *OptInboundSIPTrunkConfigRequestModel) SetTo(v InboundSIPTrunkConfigRequestModel)
SetTo sets value to v.
func (*OptInboundSIPTrunkConfigRequestModel) UnmarshalJSON ¶
func (s *OptInboundSIPTrunkConfigRequestModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt ¶
OptInt is optional int.
func (OptInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type 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 ¶
func (o OptKnowledgeBaseDependentType) Get() (v KnowledgeBaseDependentType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptKnowledgeBaseDependentType) IsSet ¶
func (o OptKnowledgeBaseDependentType) IsSet() bool
IsSet returns true if OptKnowledgeBaseDependentType was set.
func (*OptKnowledgeBaseDependentType) Reset ¶
func (o *OptKnowledgeBaseDependentType) Reset()
Reset unsets value.
func (*OptKnowledgeBaseDependentType) SetTo ¶
func (o *OptKnowledgeBaseDependentType) SetTo(v KnowledgeBaseDependentType)
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 ¶
func (o OptKnowledgeBaseSortBy) Get() (v KnowledgeBaseSortBy, ok bool)
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 ¶
func (o OptKnowledgeBaseSortBy) Or(d KnowledgeBaseSortBy) KnowledgeBaseSortBy
Or returns value if set, or given parameter if does not.
func (*OptKnowledgeBaseSortBy) SetTo ¶
func (o *OptKnowledgeBaseSortBy) SetTo(v KnowledgeBaseSortBy)
SetTo sets value to v.
type OptLLM ¶
OptLLM is optional LLM.
func (OptLLM) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptLLM) UnmarshalJSON ¶
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 ¶
func (o OptLLMCategoryUsage) Or(d LLMCategoryUsage) LLMCategoryUsage
Or returns value if set, or given parameter if does not.
func (*OptLLMCategoryUsage) SetTo ¶
func (o *OptLLMCategoryUsage) SetTo(v LLMCategoryUsage)
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 ¶
func (o OptLLMTokensCategoryUsage) Get() (v LLMTokensCategoryUsage, ok bool)
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) Reset ¶
func (o *OptLLMTokensCategoryUsage) Reset()
Reset unsets value.
func (*OptLLMTokensCategoryUsage) SetTo ¶
func (o *OptLLMTokensCategoryUsage) SetTo(v LLMTokensCategoryUsage)
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 ¶
func (o OptLLMUsageInput) Or(d LLMUsageInput) LLMUsageInput
Or returns value if set, or given parameter if does not.
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 ¶
func (o *OptLLMUsageInputModelUsage) Decode(d *jx.Decoder) error
Decode decodes LLMUsageInputModelUsage from json.
func (OptLLMUsageInputModelUsage) Encode ¶
func (o OptLLMUsageInputModelUsage) Encode(e *jx.Encoder)
Encode encodes LLMUsageInputModelUsage as json.
func (OptLLMUsageInputModelUsage) Get ¶
func (o OptLLMUsageInputModelUsage) Get() (v LLMUsageInputModelUsage, ok bool)
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) Reset ¶
func (o *OptLLMUsageInputModelUsage) Reset()
Reset unsets value.
func (*OptLLMUsageInputModelUsage) SetTo ¶
func (o *OptLLMUsageInputModelUsage) SetTo(v LLMUsageInputModelUsage)
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 ¶
func (o OptLLMUsageOutput) Or(d LLMUsageOutput) LLMUsageOutput
Or returns value if set, or given parameter if does not.
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 ¶
func (o *OptLLMUsageOutputModelUsage) Decode(d *jx.Decoder) error
Decode decodes LLMUsageOutputModelUsage from json.
func (OptLLMUsageOutputModelUsage) Encode ¶
func (o OptLLMUsageOutputModelUsage) Encode(e *jx.Encoder)
Encode encodes LLMUsageOutputModelUsage as json.
func (OptLLMUsageOutputModelUsage) Get ¶
func (o OptLLMUsageOutputModelUsage) Get() (v LLMUsageOutputModelUsage, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptLLMUsageOutputModelUsage) IsSet ¶
func (o OptLLMUsageOutputModelUsage) IsSet() bool
IsSet returns true if OptLLMUsageOutputModelUsage was set.
func (OptLLMUsageOutputModelUsage) MarshalJSON ¶
func (s OptLLMUsageOutputModelUsage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptLLMUsageOutputModelUsage) Reset ¶
func (o *OptLLMUsageOutputModelUsage) Reset()
Reset unsets value.
func (*OptLLMUsageOutputModelUsage) SetTo ¶
func (o *OptLLMUsageOutputModelUsage) SetTo(v LLMUsageOutputModelUsage)
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 ¶
func (o *OptLanguageDetectionToolResultModelResultType) Decode(d *jx.Decoder) error
Decode decodes LanguageDetectionToolResultModelResultType from json.
func (OptLanguageDetectionToolResultModelResultType) Encode ¶
func (o OptLanguageDetectionToolResultModelResultType) Encode(e *jx.Encoder)
Encode encodes LanguageDetectionToolResultModelResultType as json.
func (OptLanguageDetectionToolResultModelResultType) Get ¶
func (o OptLanguageDetectionToolResultModelResultType) Get() (v LanguageDetectionToolResultModelResultType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptLanguageDetectionToolResultModelResultType) IsSet ¶
func (o OptLanguageDetectionToolResultModelResultType) IsSet() bool
IsSet returns true if OptLanguageDetectionToolResultModelResultType was set.
func (OptLanguageDetectionToolResultModelResultType) MarshalJSON ¶
func (s OptLanguageDetectionToolResultModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptLanguageDetectionToolResultModelResultType) Or ¶
func (o OptLanguageDetectionToolResultModelResultType) Or(d LanguageDetectionToolResultModelResultType) LanguageDetectionToolResultModelResultType
Or returns value if set, or given parameter if does not.
func (*OptLanguageDetectionToolResultModelResultType) Reset ¶
func (o *OptLanguageDetectionToolResultModelResultType) Reset()
Reset unsets value.
func (*OptLanguageDetectionToolResultModelResultType) SetTo ¶
func (o *OptLanguageDetectionToolResultModelResultType) SetTo(v LanguageDetectionToolResultModelResultType)
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 ¶
func (o *OptLanguageDetectionToolResultModelStatus) Decode(d *jx.Decoder) error
Decode decodes LanguageDetectionToolResultModelStatus from json.
func (OptLanguageDetectionToolResultModelStatus) Encode ¶
func (o OptLanguageDetectionToolResultModelStatus) Encode(e *jx.Encoder)
Encode encodes LanguageDetectionToolResultModelStatus as json.
func (OptLanguageDetectionToolResultModelStatus) Get ¶
func (o OptLanguageDetectionToolResultModelStatus) Get() (v LanguageDetectionToolResultModelStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptLanguageDetectionToolResultModelStatus) IsSet ¶
func (o OptLanguageDetectionToolResultModelStatus) IsSet() bool
IsSet returns true if OptLanguageDetectionToolResultModelStatus was set.
func (OptLanguageDetectionToolResultModelStatus) MarshalJSON ¶
func (s OptLanguageDetectionToolResultModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptLanguageDetectionToolResultModelStatus) Or ¶
func (o OptLanguageDetectionToolResultModelStatus) Or(d LanguageDetectionToolResultModelStatus) LanguageDetectionToolResultModelStatus
Or returns value if set, or given parameter if does not.
func (*OptLanguageDetectionToolResultModelStatus) Reset ¶
func (o *OptLanguageDetectionToolResultModelStatus) Reset()
Reset unsets value.
func (*OptLanguageDetectionToolResultModelStatus) SetTo ¶
func (o *OptLanguageDetectionToolResultModelStatus) SetTo(v LanguageDetectionToolResultModelStatus)
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 ¶
func (o OptListDubsDubbingStatus) Get() (v ListDubsDubbingStatus, ok bool)
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 ¶
func (o OptListDubsDubbingStatus) Or(d ListDubsDubbingStatus) ListDubsDubbingStatus
Or returns value if set, or given parameter if does not.
func (*OptListDubsDubbingStatus) Reset ¶
func (o *OptListDubsDubbingStatus) Reset()
Reset unsets value.
func (*OptListDubsDubbingStatus) SetTo ¶
func (o *OptListDubsDubbingStatus) SetTo(v ListDubsDubbingStatus)
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 ¶
func (o OptListDubsFilterByCreator) Get() (v ListDubsFilterByCreator, ok bool)
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) Reset ¶
func (o *OptListDubsFilterByCreator) Reset()
Reset unsets value.
func (*OptListDubsFilterByCreator) SetTo ¶
func (o *OptListDubsFilterByCreator) SetTo(v ListDubsFilterByCreator)
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 ¶
func (o OptListDubsOrderBy) Or(d ListDubsOrderBy) ListDubsOrderBy
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptListDubsOrderDirection) Get() (v ListDubsOrderDirection, ok bool)
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) Reset ¶
func (o *OptListDubsOrderDirection) Reset()
Reset unsets value.
func (*OptListDubsOrderDirection) SetTo ¶
func (o *OptListDubsOrderDirection) SetTo(v ListDubsOrderDirection)
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 ¶
func (o OptListResponseMeta) Or(d ListResponseMeta) ListResponseMeta
Or returns value if set, or given parameter if does not.
func (*OptListResponseMeta) SetTo ¶
func (o *OptListResponseMeta) SetTo(v ListResponseMeta)
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 ¶
func (o *OptLiteralJsonSchemaProperty) Decode(d *jx.Decoder) error
Decode decodes LiteralJsonSchemaProperty from json.
func (OptLiteralJsonSchemaProperty) Encode ¶
func (o OptLiteralJsonSchemaProperty) Encode(e *jx.Encoder)
Encode encodes LiteralJsonSchemaProperty as json.
func (OptLiteralJsonSchemaProperty) Get ¶
func (o OptLiteralJsonSchemaProperty) Get() (v LiteralJsonSchemaProperty, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptLiteralJsonSchemaProperty) IsSet ¶
func (o OptLiteralJsonSchemaProperty) IsSet() bool
IsSet returns true if OptLiteralJsonSchemaProperty was set.
func (OptLiteralJsonSchemaProperty) MarshalJSON ¶
func (s OptLiteralJsonSchemaProperty) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptLiteralJsonSchemaProperty) Reset ¶
func (o *OptLiteralJsonSchemaProperty) Reset()
Reset unsets value.
func (*OptLiteralJsonSchemaProperty) SetTo ¶
func (o *OptLiteralJsonSchemaProperty) SetTo(v LiteralJsonSchemaProperty)
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 ¶
func (o *OptLiteralJsonSchemaPropertyConstantValue) Decode(d *jx.Decoder) error
Decode decodes LiteralJsonSchemaPropertyConstantValue from json.
func (OptLiteralJsonSchemaPropertyConstantValue) Encode ¶
func (o OptLiteralJsonSchemaPropertyConstantValue) Encode(e *jx.Encoder)
Encode encodes LiteralJsonSchemaPropertyConstantValue as json.
func (OptLiteralJsonSchemaPropertyConstantValue) Get ¶
func (o OptLiteralJsonSchemaPropertyConstantValue) Get() (v LiteralJsonSchemaPropertyConstantValue, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptLiteralJsonSchemaPropertyConstantValue) IsSet ¶
func (o OptLiteralJsonSchemaPropertyConstantValue) IsSet() bool
IsSet returns true if OptLiteralJsonSchemaPropertyConstantValue was set.
func (OptLiteralJsonSchemaPropertyConstantValue) MarshalJSON ¶
func (s OptLiteralJsonSchemaPropertyConstantValue) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptLiteralJsonSchemaPropertyConstantValue) Or ¶
func (o OptLiteralJsonSchemaPropertyConstantValue) Or(d LiteralJsonSchemaPropertyConstantValue) LiteralJsonSchemaPropertyConstantValue
Or returns value if set, or given parameter if does not.
func (*OptLiteralJsonSchemaPropertyConstantValue) Reset ¶
func (o *OptLiteralJsonSchemaPropertyConstantValue) Reset()
Reset unsets value.
func (*OptLiteralJsonSchemaPropertyConstantValue) SetTo ¶
func (o *OptLiteralJsonSchemaPropertyConstantValue) SetTo(v LiteralJsonSchemaPropertyConstantValue)
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 ¶
func (o OptLivekitStackType) Or(d LivekitStackType) LivekitStackType
Or returns value if set, or given parameter if does not.
func (*OptLivekitStackType) SetTo ¶
func (o *OptLivekitStackType) SetTo(v LivekitStackType)
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 ¶
func (o *OptManualVerificationResponseModel) Decode(d *jx.Decoder) error
Decode decodes ManualVerificationResponseModel from json.
func (OptManualVerificationResponseModel) Encode ¶
func (o OptManualVerificationResponseModel) Encode(e *jx.Encoder)
Encode encodes ManualVerificationResponseModel as json.
func (OptManualVerificationResponseModel) Get ¶
func (o OptManualVerificationResponseModel) Get() (v ManualVerificationResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptManualVerificationResponseModel) IsSet ¶
func (o OptManualVerificationResponseModel) IsSet() bool
IsSet returns true if OptManualVerificationResponseModel was set.
func (OptManualVerificationResponseModel) MarshalJSON ¶
func (s OptManualVerificationResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptManualVerificationResponseModel) Or ¶
func (o OptManualVerificationResponseModel) Or(d ManualVerificationResponseModel) ManualVerificationResponseModel
Or returns value if set, or given parameter if does not.
func (*OptManualVerificationResponseModel) Reset ¶
func (o *OptManualVerificationResponseModel) Reset()
Reset unsets value.
func (*OptManualVerificationResponseModel) SetTo ¶
func (o *OptManualVerificationResponseModel) SetTo(v ManualVerificationResponseModel)
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 ¶
func (o OptMetricType) Or(d MetricType) MetricType
Or returns value if set, or given parameter if does not.
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 ¶
func (o *OptModelSettingsResponseModel) Decode(d *jx.Decoder) error
Decode decodes ModelSettingsResponseModel from json.
func (OptModelSettingsResponseModel) Encode ¶
func (o OptModelSettingsResponseModel) Encode(e *jx.Encoder)
Encode encodes ModelSettingsResponseModel as json.
func (OptModelSettingsResponseModel) Get ¶
func (o OptModelSettingsResponseModel) Get() (v ModelSettingsResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptModelSettingsResponseModel) IsSet ¶
func (o OptModelSettingsResponseModel) IsSet() bool
IsSet returns true if OptModelSettingsResponseModel was set.
func (OptModelSettingsResponseModel) MarshalJSON ¶
func (s OptModelSettingsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptModelSettingsResponseModel) Reset ¶
func (o *OptModelSettingsResponseModel) Reset()
Reset unsets value.
func (*OptModelSettingsResponseModel) SetTo ¶
func (o *OptModelSettingsResponseModel) SetTo(v ModelSettingsResponseModel)
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 ¶
func (o OptMultipartFile) Or(d ht.MultipartFile) ht.MultipartFile
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptMusicPrompt) Or(d MusicPrompt) MusicPrompt
Or returns value if set, or given parameter if does not.
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 ¶
func (o *OptNilAdditionalFormatResponseModelArray) Decode(d *jx.Decoder) error
Decode decodes []AdditionalFormatResponseModel from json.
func (OptNilAdditionalFormatResponseModelArray) Encode ¶
func (o OptNilAdditionalFormatResponseModelArray) Encode(e *jx.Encoder)
Encode encodes []AdditionalFormatResponseModel as json.
func (OptNilAdditionalFormatResponseModelArray) Get ¶
func (o OptNilAdditionalFormatResponseModelArray) Get() (v []AdditionalFormatResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilAdditionalFormatResponseModelArray) IsNull ¶
func (o OptNilAdditionalFormatResponseModelArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilAdditionalFormatResponseModelArray) IsSet ¶
func (o OptNilAdditionalFormatResponseModelArray) IsSet() bool
IsSet returns true if OptNilAdditionalFormatResponseModelArray was set.
func (OptNilAdditionalFormatResponseModelArray) MarshalJSON ¶
func (s OptNilAdditionalFormatResponseModelArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilAdditionalFormatResponseModelArray) Or ¶
func (o OptNilAdditionalFormatResponseModelArray) Or(d []AdditionalFormatResponseModel) []AdditionalFormatResponseModel
Or returns value if set, or given parameter if does not.
func (*OptNilAdditionalFormatResponseModelArray) Reset ¶
func (o *OptNilAdditionalFormatResponseModelArray) Reset()
Reset unsets value.
func (*OptNilAdditionalFormatResponseModelArray) SetTo ¶
func (o *OptNilAdditionalFormatResponseModelArray) SetTo(v []AdditionalFormatResponseModel)
SetTo sets value to v.
func (*OptNilAdditionalFormatResponseModelArray) SetToNull ¶
func (o *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 ¶
func NewOptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess(v BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess
NewOptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess returns new OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess with value set to v.
func (OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) Get ¶
func (o OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) Get() (v BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) IsNull ¶
func (o OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) IsNull() bool
IsNull returns true if value is Null.
func (OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) IsSet ¶
func (o OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) IsSet() bool
IsSet returns true if OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess was set.
func (OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) Or ¶
func (o OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) Or(d BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess
Or returns value if set, or given parameter if does not.
func (*OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) Reset ¶
func (o *OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) Reset()
Reset unsets value.
func (*OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) SetTo ¶
func (o *OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) SetTo(v BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess)
SetTo sets value to v.
func (*OptNilBodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartWorkspaceAccess) SetToNull ¶
func (o *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 ¶
func NewOptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat(v BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat
NewOptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat returns new OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat with value set to v.
func (OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) Get ¶
func (o OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) Get() (v BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat, ok bool)
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 ¶
func (o OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) Or(d BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat
Or returns value if set, or given parameter if does not.
func (*OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) Reset ¶
Reset unsets value.
func (*OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) SetTo ¶
func (o *OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) SetTo(v BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat)
SetTo sets value to v.
func (*OptNilBodyAudioIsolationStreamV1AudioIsolationStreamPostMultipartFileFormat) SetToNull ¶
func (o *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 ¶
func NewOptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat(v BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat
NewOptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat returns new OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat with value set to v.
func (OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) Get ¶
func (o OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) Get() (v BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) IsNull ¶
func (o OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) IsNull() bool
IsNull returns true if value is Null.
func (OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) IsSet ¶
func (o OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) IsSet() bool
IsSet returns true if OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat was set.
func (OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) Or ¶
func (o OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) Or(d BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat
Or returns value if set, or given parameter if does not.
func (*OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) Reset ¶
func (o *OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) Reset()
Reset unsets value.
func (*OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) SetTo ¶
func (o *OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) SetTo(v BodyAudioIsolationV1AudioIsolationPostMultipartFileFormat)
SetTo sets value to v.
func (*OptNilBodyAudioIsolationV1AudioIsolationPostMultipartFileFormat) SetToNull ¶
func (o *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 ¶
func NewOptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels(v BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels
NewOptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels returns new OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels with value set to v.
func (*OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Decode ¶
func (o *OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Decode(d *jx.Decoder) error
Decode decodes BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels from json.
func (OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Encode ¶
func (o OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Encode(e *jx.Encoder)
Encode encodes BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels as json.
func (OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Get ¶
func (o OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Get() (v BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) IsNull ¶
func (o OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) IsNull() bool
IsNull returns true if value is Null.
func (OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) IsSet ¶
func (o OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) IsSet() bool
IsSet returns true if OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels was set.
func (OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) MarshalJSON ¶
func (s OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Or ¶
func (o OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Or(d BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels
Or returns value if set, or given parameter if does not.
func (*OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Reset ¶
func (o *OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) Reset()
Reset unsets value.
func (*OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) SetTo ¶
func (o *OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) SetTo(v BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels)
SetTo sets value to v.
func (*OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) SetToNull ¶
func (o *OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) SetToNull()
SetToNull sets value to null.
func (*OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) UnmarshalJSON ¶
func (s *OptNilBodyCreateANewVoiceFromVoicePreviewV1TextToVoicePostLabels) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels ¶
type OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels struct {
Value BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels
Set bool
Null bool
}
OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels is optional nullable BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels.
func NewOptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels ¶
func NewOptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels(v BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels
NewOptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels returns new OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels with value set to v.
func (*OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Decode ¶
func (o *OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Decode(d *jx.Decoder) error
Decode decodes BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels from json.
func (OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Encode ¶
func (o OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Encode(e *jx.Encoder)
Encode encodes BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels as json.
func (OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Get ¶
func (o OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Get() (v BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) IsNull ¶
func (o OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) IsNull() bool
IsNull returns true if value is Null.
func (OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) IsSet ¶
func (o OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) IsSet() bool
IsSet returns true if OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels was set.
func (OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) MarshalJSON ¶
func (s OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Or ¶
func (o OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Or(d BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels
Or returns value if set, or given parameter if does not.
func (*OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) Reset ¶
Reset unsets value.
func (*OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) SetTo ¶
func (o *OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) SetTo(v BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels)
SetTo sets value to v.
func (*OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) SetToNull ¶
func (o *OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) SetToNull()
SetToNull sets value to null.
func (*OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) UnmarshalJSON ¶
func (s *OptNilBodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePostLabels) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Decode(d *jx.Decoder) error
Decode decodes BodyCreatePVCVoiceV1VoicesPvcPostLabels from json.
func (OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Encode ¶
func (o OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Encode(e *jx.Encoder)
Encode encodes BodyCreatePVCVoiceV1VoicesPvcPostLabels as json.
func (OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Get ¶
func (o OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Get() (v BodyCreatePVCVoiceV1VoicesPvcPostLabels, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) IsNull ¶
func (o OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) IsNull() bool
IsNull returns true if value is Null.
func (OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) IsSet ¶
func (o OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) IsSet() bool
IsSet returns true if OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels was set.
func (OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) MarshalJSON ¶
func (s OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Or ¶
func (o OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Or(d BodyCreatePVCVoiceV1VoicesPvcPostLabels) BodyCreatePVCVoiceV1VoicesPvcPostLabels
Or returns value if set, or given parameter if does not.
func (*OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Reset ¶
func (o *OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) Reset()
Reset unsets value.
func (*OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) SetTo ¶
func (o *OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) SetTo(v BodyCreatePVCVoiceV1VoicesPvcPostLabels)
SetTo sets value to v.
func (*OptNilBodyCreatePVCVoiceV1VoicesPvcPostLabels) SetToNull ¶
func (o *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 ¶
func NewOptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization(v BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization
NewOptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization returns new OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization with value set to v.
func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) Get ¶
func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) Get() (v BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) IsNull ¶
func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) IsNull() bool
IsNull returns true if value is Null.
func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) IsSet ¶
func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) IsSet() bool
IsSet returns true if OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization was set.
func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) Or ¶
func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) Or(d BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization
Or returns value if set, or given parameter if does not.
func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) Reset ¶
Reset unsets value.
func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) SetTo ¶
func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) SetTo(v BodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization)
SetTo sets value to v.
func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartApplyTextNormalization) SetToNull ¶
func (o *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 ¶
func NewOptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction(v BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction
NewOptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction returns new OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction with value set to v.
func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) Get ¶
func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) Get() (v BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) IsNull ¶
func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) IsNull() bool
IsNull returns true if value is Null.
func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) IsSet ¶
func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) IsSet() bool
IsSet returns true if OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction was set.
func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) Or ¶
func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) Or(d BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction
Or returns value if set, or given parameter if does not.
func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) Reset ¶
func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) Reset()
Reset unsets value.
func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) SetTo ¶
func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) SetTo(v BodyCreateStudioProjectV1StudioProjectsPostMultipartFiction)
SetTo sets value to v.
func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartFiction) SetToNull ¶
func (o *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 ¶
func NewOptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType(v BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType
NewOptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType returns new OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType with value set to v.
func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) Get ¶
func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) Get() (v BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) IsNull ¶
func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) IsNull() bool
IsNull returns true if value is Null.
func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) IsSet ¶
func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) IsSet() bool
IsSet returns true if OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType was set.
func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) Or ¶
func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) Or(d BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType
Or returns value if set, or given parameter if does not.
func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) Reset ¶
func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) Reset()
Reset unsets value.
func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) SetTo ¶
func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) SetTo(v BodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType)
SetTo sets value to v.
func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartSourceType) SetToNull ¶
func (o *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 ¶
func NewOptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience(v BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience
NewOptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience returns new OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience with value set to v.
func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) Get ¶
func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) Get() (v BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) IsNull ¶
func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) IsNull() bool
IsNull returns true if value is Null.
func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) IsSet ¶
IsSet returns true if OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience was set.
func (OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) Or ¶
func (o OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) Or(d BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience
Or returns value if set, or given parameter if does not.
func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) Reset ¶
func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) Reset()
Reset unsets value.
func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) SetTo ¶
func (o *OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) SetTo(v BodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience)
SetTo sets value to v.
func (*OptNilBodyCreateStudioProjectV1StudioProjectsPostMultipartTargetAudience) SetToNull ¶
func (o *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 ¶
func NewOptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization(v BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization
NewOptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization returns new OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization with value set to v.
func (OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) Get ¶
func (o OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) Get() (v BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) IsNull ¶
func (o OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) IsNull() bool
IsNull returns true if value is Null.
func (OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) IsSet ¶
func (o OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) IsSet() bool
IsSet returns true if OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization was set.
func (OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) Or ¶
func (o OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) Or(d BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization
Or returns value if set, or given parameter if does not.
func (*OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) Reset ¶
func (o *OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) Reset()
Reset unsets value.
func (*OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) SetTo ¶
func (o *OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) SetTo(v BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization)
SetTo sets value to v.
func (*OptNilBodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipartApplyTextNormalization) SetToNull ¶
func (o *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 ¶
func (o *OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Decode(d *jx.Decoder) error
Decode decodes BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels from json.
func (OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Encode ¶
func (o OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Encode(e *jx.Encoder)
Encode encodes BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels as json.
func (OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Get ¶
func (o OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Get() (v BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) IsNull ¶
func (o OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) IsNull() bool
IsNull returns true if value is Null.
func (OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) IsSet ¶
func (o OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) IsSet() bool
IsSet returns true if OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels was set.
func (OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) MarshalJSON ¶
func (s OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Or ¶
func (o OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Or(d BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels
Or returns value if set, or given parameter if does not.
func (*OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Reset ¶
func (o *OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) Reset()
Reset unsets value.
func (*OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) SetTo ¶
func (o *OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) SetTo(v BodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels)
SetTo sets value to v.
func (*OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) SetToNull ¶
func (o *OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) SetToNull()
SetToNull sets value to null.
func (*OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) UnmarshalJSON ¶
func (s *OptNilBodyEditPVCVoiceV1VoicesPvcVoiceIDPostLabels) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission ¶
type OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission struct {
Value BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission
Set bool
Null bool
}
OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission is optional nullable BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.
func NewOptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission ¶
func NewOptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission(v BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission
NewOptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission returns new OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission with value set to v.
func (*OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Decode ¶
func (o *OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Decode(d *jx.Decoder) error
Decode decodes BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission from json.
func (OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Encode ¶
func (o OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Encode(e *jx.Encoder)
Encode encodes BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission as json.
func (OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Get ¶
func (o OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Get() (v BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) IsNull ¶
func (o OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) IsNull() bool
IsNull returns true if value is Null.
func (OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) IsSet ¶
func (o OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) IsSet() bool
IsSet returns true if OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission was set.
func (OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) MarshalJSON ¶
func (s OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Or ¶
func (o OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Or(d BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission
Or returns value if set, or given parameter if does not.
func (*OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Reset ¶
func (o *OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) Reset()
Reset unsets value.
func (*OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) SetTo ¶
func (o *OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) SetTo(v BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission)
SetTo sets value to v.
func (*OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) SetToNull ¶
func (o *OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) SetToNull()
SetToNull sets value to null.
func (*OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) UnmarshalJSON ¶
func (s *OptNilBodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat ¶
type OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat struct {
Value BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat
Set bool
Null bool
}
OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat is optional nullable BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat.
func NewOptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat ¶
func NewOptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat(v BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat
NewOptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat returns new OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat with value set to v.
func (OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) Get ¶
func (o OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) Get() (v BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) IsNull ¶
func (o OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) IsNull() bool
IsNull returns true if value is Null.
func (OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) IsSet ¶
func (o OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) IsSet() bool
IsSet returns true if OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat was set.
func (OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) Or ¶
func (o OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) Or(d BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat
Or returns value if set, or given parameter if does not.
func (*OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) Reset ¶
func (o *OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) Reset()
Reset unsets value.
func (*OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) SetTo ¶
func (o *OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) SetTo(v BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat)
SetTo sets value to v.
func (*OptNilBodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipartFileFormat) SetToNull ¶
func (o *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 ¶
func NewOptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat(v BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat
NewOptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat returns new OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat with value set to v.
func (OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) Get ¶
func (o OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) Get() (v BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) IsNull ¶
func (o OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) IsNull() bool
IsNull returns true if value is Null.
func (OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) IsSet ¶
IsSet returns true if OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat was set.
func (OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) Or ¶
func (o OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) Or(d BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat
Or returns value if set, or given parameter if does not.
func (*OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) Reset ¶
func (o *OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) Reset()
Reset unsets value.
func (*OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) SetTo ¶
func (o *OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) SetTo(v BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat)
SetTo sets value to v.
func (*OptNilBodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipartFileFormat) SetToNull ¶
func (o *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 ¶
func NewOptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata(v BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata
NewOptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata returns new OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata with value set to v.
func (*OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Decode ¶
func (o *OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Decode(d *jx.Decoder) error
Decode decodes BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata from json.
func (OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Encode ¶
func (o OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Encode(e *jx.Encoder)
Encode encodes BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata as json.
func (OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Get ¶
func (o OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Get() (v BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) IsNull ¶
func (o OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) IsNull() bool
IsNull returns true if value is Null.
func (OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) IsSet ¶
func (o OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) IsSet() bool
IsSet returns true if OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata was set.
func (OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) MarshalJSON ¶
func (s OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Or ¶
func (o OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Or(d BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata
Or returns value if set, or given parameter if does not.
func (*OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Reset ¶
func (o *OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) Reset()
Reset unsets value.
func (*OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) SetTo ¶
func (o *OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) SetTo(v BodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata)
SetTo sets value to v.
func (*OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) SetToNull ¶
func (o *OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) SetToNull()
SetToNull sets value to null.
func (*OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) UnmarshalJSON ¶
func (s *OptNilBodySpeechToTextV1SpeechToTextPostMultipartWebhookMetadata) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Decode(d *jx.Decoder) error
Decode decodes BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole from json.
func (OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Encode ¶
func (o OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Encode(e *jx.Encoder)
Encode encodes BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole as json.
func (OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Get ¶
func (o OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Get() (v BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) IsNull ¶
func (o OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) IsNull() bool
IsNull returns true if value is Null.
func (OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) IsSet ¶
func (o OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) IsSet() bool
IsSet returns true if OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole was set.
func (OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) MarshalJSON ¶
func (s OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Or ¶
func (o OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Or(d BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole
Or returns value if set, or given parameter if does not.
func (*OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Reset ¶
func (o *OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) Reset()
Reset unsets value.
func (*OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) SetTo ¶
func (o *OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) SetTo(v BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole)
SetTo sets value to v.
func (*OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) SetToNull ¶
func (o *OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) SetToNull()
SetToNull sets value to null.
func (*OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) UnmarshalJSON ¶
func (s *OptNilBodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilBool ¶
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) Get ¶
func (o OptNilBool) Get() (v bool, ok bool)
Get returns value and boolean that denotes whether value was set.
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) 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 ¶
func (o *OptNilCaptionStyleModelTextAlign) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleModelTextAlign from json.
func (OptNilCaptionStyleModelTextAlign) Encode ¶
func (o OptNilCaptionStyleModelTextAlign) Encode(e *jx.Encoder)
Encode encodes CaptionStyleModelTextAlign as json.
func (OptNilCaptionStyleModelTextAlign) Get ¶
func (o OptNilCaptionStyleModelTextAlign) Get() (v CaptionStyleModelTextAlign, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilCaptionStyleModelTextAlign) IsNull ¶
func (o OptNilCaptionStyleModelTextAlign) IsNull() bool
IsNull returns true if value is Null.
func (OptNilCaptionStyleModelTextAlign) IsSet ¶
func (o OptNilCaptionStyleModelTextAlign) IsSet() bool
IsSet returns true if OptNilCaptionStyleModelTextAlign was set.
func (OptNilCaptionStyleModelTextAlign) MarshalJSON ¶
func (s OptNilCaptionStyleModelTextAlign) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilCaptionStyleModelTextAlign) Or ¶
func (o OptNilCaptionStyleModelTextAlign) Or(d CaptionStyleModelTextAlign) CaptionStyleModelTextAlign
Or returns value if set, or given parameter if does not.
func (*OptNilCaptionStyleModelTextAlign) Reset ¶
func (o *OptNilCaptionStyleModelTextAlign) Reset()
Reset unsets value.
func (*OptNilCaptionStyleModelTextAlign) SetTo ¶
func (o *OptNilCaptionStyleModelTextAlign) SetTo(v CaptionStyleModelTextAlign)
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 ¶
func (o *OptNilCaptionStyleModelTextStyle) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleModelTextStyle from json.
func (OptNilCaptionStyleModelTextStyle) Encode ¶
func (o OptNilCaptionStyleModelTextStyle) Encode(e *jx.Encoder)
Encode encodes CaptionStyleModelTextStyle as json.
func (OptNilCaptionStyleModelTextStyle) Get ¶
func (o OptNilCaptionStyleModelTextStyle) Get() (v CaptionStyleModelTextStyle, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilCaptionStyleModelTextStyle) IsNull ¶
func (o OptNilCaptionStyleModelTextStyle) IsNull() bool
IsNull returns true if value is Null.
func (OptNilCaptionStyleModelTextStyle) IsSet ¶
func (o OptNilCaptionStyleModelTextStyle) IsSet() bool
IsSet returns true if OptNilCaptionStyleModelTextStyle was set.
func (OptNilCaptionStyleModelTextStyle) MarshalJSON ¶
func (s OptNilCaptionStyleModelTextStyle) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilCaptionStyleModelTextStyle) Or ¶
func (o OptNilCaptionStyleModelTextStyle) Or(d CaptionStyleModelTextStyle) CaptionStyleModelTextStyle
Or returns value if set, or given parameter if does not.
func (*OptNilCaptionStyleModelTextStyle) Reset ¶
func (o *OptNilCaptionStyleModelTextStyle) Reset()
Reset unsets value.
func (*OptNilCaptionStyleModelTextStyle) SetTo ¶
func (o *OptNilCaptionStyleModelTextStyle) SetTo(v CaptionStyleModelTextStyle)
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 ¶
func (o *OptNilCaptionStyleModelTextWeight) Decode(d *jx.Decoder) error
Decode decodes CaptionStyleModelTextWeight from json.
func (OptNilCaptionStyleModelTextWeight) Encode ¶
func (o OptNilCaptionStyleModelTextWeight) Encode(e *jx.Encoder)
Encode encodes CaptionStyleModelTextWeight as json.
func (OptNilCaptionStyleModelTextWeight) Get ¶
func (o OptNilCaptionStyleModelTextWeight) Get() (v CaptionStyleModelTextWeight, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilCaptionStyleModelTextWeight) IsNull ¶
func (o OptNilCaptionStyleModelTextWeight) IsNull() bool
IsNull returns true if value is Null.
func (OptNilCaptionStyleModelTextWeight) IsSet ¶
func (o OptNilCaptionStyleModelTextWeight) IsSet() bool
IsSet returns true if OptNilCaptionStyleModelTextWeight was set.
func (OptNilCaptionStyleModelTextWeight) MarshalJSON ¶
func (s OptNilCaptionStyleModelTextWeight) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilCaptionStyleModelTextWeight) Or ¶
func (o OptNilCaptionStyleModelTextWeight) Or(d CaptionStyleModelTextWeight) CaptionStyleModelTextWeight
Or returns value if set, or given parameter if does not.
func (*OptNilCaptionStyleModelTextWeight) Reset ¶
func (o *OptNilCaptionStyleModelTextWeight) Reset()
Reset unsets value.
func (*OptNilCaptionStyleModelTextWeight) SetTo ¶
func (o *OptNilCaptionStyleModelTextWeight) SetTo(v CaptionStyleModelTextWeight)
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 ¶
func (o *OptNilConversationHistoryMetadataCommonModelPhoneCall) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryMetadataCommonModelPhoneCall from json.
func (OptNilConversationHistoryMetadataCommonModelPhoneCall) Encode ¶
func (o OptNilConversationHistoryMetadataCommonModelPhoneCall) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryMetadataCommonModelPhoneCall as json.
func (OptNilConversationHistoryMetadataCommonModelPhoneCall) Get ¶
func (o OptNilConversationHistoryMetadataCommonModelPhoneCall) Get() (v ConversationHistoryMetadataCommonModelPhoneCall, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilConversationHistoryMetadataCommonModelPhoneCall) IsNull ¶
func (o OptNilConversationHistoryMetadataCommonModelPhoneCall) IsNull() bool
IsNull returns true if value is Null.
func (OptNilConversationHistoryMetadataCommonModelPhoneCall) IsSet ¶
func (o OptNilConversationHistoryMetadataCommonModelPhoneCall) IsSet() bool
IsSet returns true if OptNilConversationHistoryMetadataCommonModelPhoneCall was set.
func (OptNilConversationHistoryMetadataCommonModelPhoneCall) MarshalJSON ¶
func (s OptNilConversationHistoryMetadataCommonModelPhoneCall) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilConversationHistoryMetadataCommonModelPhoneCall) Or ¶
func (o OptNilConversationHistoryMetadataCommonModelPhoneCall) Or(d ConversationHistoryMetadataCommonModelPhoneCall) ConversationHistoryMetadataCommonModelPhoneCall
Or returns value if set, or given parameter if does not.
func (*OptNilConversationHistoryMetadataCommonModelPhoneCall) Reset ¶
func (o *OptNilConversationHistoryMetadataCommonModelPhoneCall) Reset()
Reset unsets value.
func (*OptNilConversationHistoryMetadataCommonModelPhoneCall) SetTo ¶
func (o *OptNilConversationHistoryMetadataCommonModelPhoneCall) SetTo(v ConversationHistoryMetadataCommonModelPhoneCall)
SetTo sets value to v.
func (*OptNilConversationHistoryMetadataCommonModelPhoneCall) SetToNull ¶
func (o *OptNilConversationHistoryMetadataCommonModelPhoneCall) SetToNull()
SetToNull sets value to null.
func (*OptNilConversationHistoryMetadataCommonModelPhoneCall) UnmarshalJSON ¶
func (s *OptNilConversationHistoryMetadataCommonModelPhoneCall) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilConversationHistoryTranscriptCommonModelInputSourceMedium ¶
type OptNilConversationHistoryTranscriptCommonModelInputSourceMedium struct {
Value ConversationHistoryTranscriptCommonModelInputSourceMedium
Set bool
Null bool
}
OptNilConversationHistoryTranscriptCommonModelInputSourceMedium is optional nullable ConversationHistoryTranscriptCommonModelInputSourceMedium.
func NewOptNilConversationHistoryTranscriptCommonModelInputSourceMedium ¶
func NewOptNilConversationHistoryTranscriptCommonModelInputSourceMedium(v ConversationHistoryTranscriptCommonModelInputSourceMedium) OptNilConversationHistoryTranscriptCommonModelInputSourceMedium
NewOptNilConversationHistoryTranscriptCommonModelInputSourceMedium returns new OptNilConversationHistoryTranscriptCommonModelInputSourceMedium with value set to v.
func (*OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Decode ¶
func (o *OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptCommonModelInputSourceMedium from json.
func (OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Encode ¶
func (o OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptCommonModelInputSourceMedium as json.
func (OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Get ¶
func (o OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Get() (v ConversationHistoryTranscriptCommonModelInputSourceMedium, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) IsNull ¶
func (o OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) IsNull() bool
IsNull returns true if value is Null.
func (OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) IsSet ¶
func (o OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) IsSet() bool
IsSet returns true if OptNilConversationHistoryTranscriptCommonModelInputSourceMedium was set.
func (OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) MarshalJSON ¶
func (s OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Or ¶
func (o OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Or(d ConversationHistoryTranscriptCommonModelInputSourceMedium) ConversationHistoryTranscriptCommonModelInputSourceMedium
Or returns value if set, or given parameter if does not.
func (*OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Reset ¶
func (o *OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) Reset()
Reset unsets value.
func (*OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) SetTo ¶
func (o *OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) SetTo(v ConversationHistoryTranscriptCommonModelInputSourceMedium)
SetTo sets value to v.
func (*OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) SetToNull ¶
func (o *OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) SetToNull()
SetToNull sets value to null.
func (*OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) UnmarshalJSON ¶
func (s *OptNilConversationHistoryTranscriptCommonModelInputSourceMedium) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptNilConversationHistoryTranscriptCommonModelOutputArray) Decode(d *jx.Decoder) error
Decode decodes []ConversationHistoryTranscriptCommonModelOutput from json.
func (OptNilConversationHistoryTranscriptCommonModelOutputArray) Encode ¶
func (o OptNilConversationHistoryTranscriptCommonModelOutputArray) Encode(e *jx.Encoder)
Encode encodes []ConversationHistoryTranscriptCommonModelOutput as json.
func (OptNilConversationHistoryTranscriptCommonModelOutputArray) Get ¶
func (o OptNilConversationHistoryTranscriptCommonModelOutputArray) Get() (v []ConversationHistoryTranscriptCommonModelOutput, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilConversationHistoryTranscriptCommonModelOutputArray) IsNull ¶
func (o OptNilConversationHistoryTranscriptCommonModelOutputArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilConversationHistoryTranscriptCommonModelOutputArray) IsSet ¶
func (o OptNilConversationHistoryTranscriptCommonModelOutputArray) IsSet() bool
IsSet returns true if OptNilConversationHistoryTranscriptCommonModelOutputArray was set.
func (OptNilConversationHistoryTranscriptCommonModelOutputArray) MarshalJSON ¶
func (s OptNilConversationHistoryTranscriptCommonModelOutputArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilConversationHistoryTranscriptCommonModelOutputArray) Or ¶
func (o OptNilConversationHistoryTranscriptCommonModelOutputArray) Or(d []ConversationHistoryTranscriptCommonModelOutput) []ConversationHistoryTranscriptCommonModelOutput
Or returns value if set, or given parameter if does not.
func (*OptNilConversationHistoryTranscriptCommonModelOutputArray) Reset ¶
func (o *OptNilConversationHistoryTranscriptCommonModelOutputArray) Reset()
Reset unsets value.
func (*OptNilConversationHistoryTranscriptCommonModelOutputArray) SetTo ¶
func (o *OptNilConversationHistoryTranscriptCommonModelOutputArray) SetTo(v []ConversationHistoryTranscriptCommonModelOutput)
SetTo sets value to v.
func (*OptNilConversationHistoryTranscriptCommonModelOutputArray) SetToNull ¶
func (o *OptNilConversationHistoryTranscriptCommonModelOutputArray) SetToNull()
SetToNull sets value to null.
func (*OptNilConversationHistoryTranscriptCommonModelOutputArray) UnmarshalJSON ¶
func (s *OptNilConversationHistoryTranscriptCommonModelOutputArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium ¶
type OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium struct {
Value ConversationHistoryTranscriptCommonModelOutputSourceMedium
Set bool
Null bool
}
OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium is optional nullable ConversationHistoryTranscriptCommonModelOutputSourceMedium.
func NewOptNilConversationHistoryTranscriptCommonModelOutputSourceMedium ¶
func NewOptNilConversationHistoryTranscriptCommonModelOutputSourceMedium(v ConversationHistoryTranscriptCommonModelOutputSourceMedium) OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium
NewOptNilConversationHistoryTranscriptCommonModelOutputSourceMedium returns new OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium with value set to v.
func (*OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Decode ¶
func (o *OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptCommonModelOutputSourceMedium from json.
func (OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Encode ¶
func (o OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptCommonModelOutputSourceMedium as json.
func (OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Get ¶
func (o OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Get() (v ConversationHistoryTranscriptCommonModelOutputSourceMedium, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) IsNull ¶
func (o OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) IsNull() bool
IsNull returns true if value is Null.
func (OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) IsSet ¶
func (o OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) IsSet() bool
IsSet returns true if OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium was set.
func (OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) MarshalJSON ¶
func (s OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Or ¶
func (o OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Or(d ConversationHistoryTranscriptCommonModelOutputSourceMedium) ConversationHistoryTranscriptCommonModelOutputSourceMedium
Or returns value if set, or given parameter if does not.
func (*OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Reset ¶
func (o *OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) Reset()
Reset unsets value.
func (*OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) SetTo ¶
func (o *OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) SetTo(v ConversationHistoryTranscriptCommonModelOutputSourceMedium)
SetTo sets value to v.
func (*OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) SetToNull ¶
func (o *OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) SetToNull()
SetToNull sets value to null.
func (*OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) UnmarshalJSON ¶
func (s *OptNilConversationHistoryTranscriptCommonModelOutputSourceMedium) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType ¶
type OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType struct {
Value ConversationHistoryTranscriptOtherToolsResultCommonModelType
Set bool
Null bool
}
OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType is optional nullable ConversationHistoryTranscriptOtherToolsResultCommonModelType.
func NewOptNilConversationHistoryTranscriptOtherToolsResultCommonModelType ¶
func NewOptNilConversationHistoryTranscriptOtherToolsResultCommonModelType(v ConversationHistoryTranscriptOtherToolsResultCommonModelType) OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType
NewOptNilConversationHistoryTranscriptOtherToolsResultCommonModelType returns new OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType with value set to v.
func (*OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Decode ¶
func (o *OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptOtherToolsResultCommonModelType from json.
func (OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Encode ¶
func (o OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptOtherToolsResultCommonModelType as json.
func (OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Get ¶
func (o OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Get() (v ConversationHistoryTranscriptOtherToolsResultCommonModelType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) IsNull ¶
func (o OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) IsNull() bool
IsNull returns true if value is Null.
func (OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) IsSet ¶
func (o OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) IsSet() bool
IsSet returns true if OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType was set.
func (OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) MarshalJSON ¶
func (s OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Or ¶
func (o OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Or(d ConversationHistoryTranscriptOtherToolsResultCommonModelType) ConversationHistoryTranscriptOtherToolsResultCommonModelType
Or returns value if set, or given parameter if does not.
func (*OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Reset ¶
func (o *OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) Reset()
Reset unsets value.
func (*OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) SetTo ¶
func (o *OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) SetTo(v ConversationHistoryTranscriptOtherToolsResultCommonModelType)
SetTo sets value to v.
func (*OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) SetToNull ¶
func (o *OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) SetToNull()
SetToNull sets value to null.
func (*OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) UnmarshalJSON ¶
func (s *OptNilConversationHistoryTranscriptOtherToolsResultCommonModelType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult ¶
type OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult struct {
Value ConversationHistoryTranscriptSystemToolResultCommonModelResult
Set bool
Null bool
}
OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult is optional nullable ConversationHistoryTranscriptSystemToolResultCommonModelResult.
func NewOptNilConversationHistoryTranscriptSystemToolResultCommonModelResult ¶
func NewOptNilConversationHistoryTranscriptSystemToolResultCommonModelResult(v ConversationHistoryTranscriptSystemToolResultCommonModelResult) OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult
NewOptNilConversationHistoryTranscriptSystemToolResultCommonModelResult returns new OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult with value set to v.
func (*OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Decode ¶
func (o *OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptSystemToolResultCommonModelResult from json.
func (OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Encode ¶
func (o OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptSystemToolResultCommonModelResult as json.
func (OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Get ¶
func (o OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Get() (v ConversationHistoryTranscriptSystemToolResultCommonModelResult, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) IsNull ¶
func (o OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) IsNull() bool
IsNull returns true if value is Null.
func (OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) IsSet ¶
func (o OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) IsSet() bool
IsSet returns true if OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult was set.
func (OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) MarshalJSON ¶
func (s OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Or ¶
func (o OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Or(d ConversationHistoryTranscriptSystemToolResultCommonModelResult) ConversationHistoryTranscriptSystemToolResultCommonModelResult
Or returns value if set, or given parameter if does not.
func (*OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Reset ¶
func (o *OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) Reset()
Reset unsets value.
func (*OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTo ¶
func (o *OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) SetTo(v ConversationHistoryTranscriptSystemToolResultCommonModelResult)
SetTo sets value to v.
func (*OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) SetToNull ¶
func (o *OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) SetToNull()
SetToNull sets value to null.
func (*OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) UnmarshalJSON ¶
func (s *OptNilConversationHistoryTranscriptSystemToolResultCommonModelResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails ¶
type OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails struct {
Value ConversationHistoryTranscriptToolCallCommonModelInputToolDetails
Set bool
Null bool
}
OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails is optional nullable ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.
func NewOptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails ¶
func NewOptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails(v ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails
NewOptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails returns new OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails with value set to v.
func (*OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Decode ¶
func (o *OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallCommonModelInputToolDetails from json.
func (OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Encode ¶
func (o OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptToolCallCommonModelInputToolDetails as json.
func (OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Get ¶
func (o OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Get() (v ConversationHistoryTranscriptToolCallCommonModelInputToolDetails, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsNull ¶
func (o OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsNull() bool
IsNull returns true if value is Null.
func (OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) IsSet ¶
IsSet returns true if OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails was set.
func (OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) MarshalJSON ¶
func (s OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Or ¶
func (o OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Or(d ConversationHistoryTranscriptToolCallCommonModelInputToolDetails) ConversationHistoryTranscriptToolCallCommonModelInputToolDetails
Or returns value if set, or given parameter if does not.
func (*OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Reset ¶
func (o *OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) Reset()
Reset unsets value.
func (*OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetTo ¶
func (o *OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetTo(v ConversationHistoryTranscriptToolCallCommonModelInputToolDetails)
SetTo sets value to v.
func (*OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetToNull ¶
func (o *OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) SetToNull()
SetToNull sets value to null.
func (*OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) UnmarshalJSON ¶
func (s *OptNilConversationHistoryTranscriptToolCallCommonModelInputToolDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails ¶
type OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails struct {
Value ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails
Set bool
Null bool
}
OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails is optional nullable ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.
func NewOptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails ¶
func NewOptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails(v ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails
NewOptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails returns new OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails with value set to v.
func (*OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Decode ¶
func (o *OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Decode(d *jx.Decoder) error
Decode decodes ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails from json.
func (OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Encode ¶
func (o OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Encode(e *jx.Encoder)
Encode encodes ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails as json.
func (OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Get ¶
func (o OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Get() (v ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsNull ¶
func (o OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsNull() bool
IsNull returns true if value is Null.
func (OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) IsSet ¶
IsSet returns true if OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails was set.
func (OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) MarshalJSON ¶
func (s OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Or ¶
func (o OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Or(d ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails
Or returns value if set, or given parameter if does not.
func (*OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Reset ¶
func (o *OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) Reset()
Reset unsets value.
func (*OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetTo ¶
func (o *OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetTo(v ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails)
SetTo sets value to v.
func (*OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetToNull ¶
func (o *OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) SetToNull()
SetToNull sets value to null.
func (*OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) UnmarshalJSON ¶
func (s *OptNilConversationHistoryTranscriptToolCallCommonModelOutputToolDetails) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptNilConversationSummaryResponseModelDirection) Decode(d *jx.Decoder) error
Decode decodes ConversationSummaryResponseModelDirection from json.
func (OptNilConversationSummaryResponseModelDirection) Encode ¶
func (o OptNilConversationSummaryResponseModelDirection) Encode(e *jx.Encoder)
Encode encodes ConversationSummaryResponseModelDirection as json.
func (OptNilConversationSummaryResponseModelDirection) Get ¶
func (o OptNilConversationSummaryResponseModelDirection) Get() (v ConversationSummaryResponseModelDirection, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilConversationSummaryResponseModelDirection) IsNull ¶
func (o OptNilConversationSummaryResponseModelDirection) IsNull() bool
IsNull returns true if value is Null.
func (OptNilConversationSummaryResponseModelDirection) IsSet ¶
func (o OptNilConversationSummaryResponseModelDirection) IsSet() bool
IsSet returns true if OptNilConversationSummaryResponseModelDirection was set.
func (OptNilConversationSummaryResponseModelDirection) MarshalJSON ¶
func (s OptNilConversationSummaryResponseModelDirection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilConversationSummaryResponseModelDirection) Or ¶
func (o OptNilConversationSummaryResponseModelDirection) Or(d ConversationSummaryResponseModelDirection) ConversationSummaryResponseModelDirection
Or returns value if set, or given parameter if does not.
func (*OptNilConversationSummaryResponseModelDirection) Reset ¶
func (o *OptNilConversationSummaryResponseModelDirection) Reset()
Reset unsets value.
func (*OptNilConversationSummaryResponseModelDirection) SetTo ¶
func (o *OptNilConversationSummaryResponseModelDirection) SetTo(v ConversationSummaryResponseModelDirection)
SetTo sets value to v.
func (*OptNilConversationSummaryResponseModelDirection) SetToNull ¶
func (o *OptNilConversationSummaryResponseModelDirection) SetToNull()
SetToNull sets value to null.
func (*OptNilConversationSummaryResponseModelDirection) UnmarshalJSON ¶
func (s *OptNilConversationSummaryResponseModelDirection) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptNilDialogueInputResponseModelArray) Decode(d *jx.Decoder) error
Decode decodes []DialogueInputResponseModel from json.
func (OptNilDialogueInputResponseModelArray) Encode ¶
func (o OptNilDialogueInputResponseModelArray) Encode(e *jx.Encoder)
Encode encodes []DialogueInputResponseModel as json.
func (OptNilDialogueInputResponseModelArray) Get ¶
func (o OptNilDialogueInputResponseModelArray) Get() (v []DialogueInputResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilDialogueInputResponseModelArray) IsNull ¶
func (o OptNilDialogueInputResponseModelArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilDialogueInputResponseModelArray) IsSet ¶
func (o OptNilDialogueInputResponseModelArray) IsSet() bool
IsSet returns true if OptNilDialogueInputResponseModelArray was set.
func (OptNilDialogueInputResponseModelArray) MarshalJSON ¶
func (s OptNilDialogueInputResponseModelArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilDialogueInputResponseModelArray) Or ¶
func (o OptNilDialogueInputResponseModelArray) Or(d []DialogueInputResponseModel) []DialogueInputResponseModel
Or returns value if set, or given parameter if does not.
func (*OptNilDialogueInputResponseModelArray) Reset ¶
func (o *OptNilDialogueInputResponseModelArray) Reset()
Reset unsets value.
func (*OptNilDialogueInputResponseModelArray) SetTo ¶
func (o *OptNilDialogueInputResponseModelArray) SetTo(v []DialogueInputResponseModel)
SetTo sets value to v.
func (*OptNilDialogueInputResponseModelArray) SetToNull ¶
func (o *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 ¶
func (o *OptNilFineTuningResponseModelMessage) Decode(d *jx.Decoder) error
Decode decodes FineTuningResponseModelMessage from json.
func (OptNilFineTuningResponseModelMessage) Encode ¶
func (o OptNilFineTuningResponseModelMessage) Encode(e *jx.Encoder)
Encode encodes FineTuningResponseModelMessage as json.
func (OptNilFineTuningResponseModelMessage) Get ¶
func (o OptNilFineTuningResponseModelMessage) Get() (v FineTuningResponseModelMessage, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilFineTuningResponseModelMessage) IsNull ¶
func (o OptNilFineTuningResponseModelMessage) IsNull() bool
IsNull returns true if value is Null.
func (OptNilFineTuningResponseModelMessage) IsSet ¶
func (o OptNilFineTuningResponseModelMessage) IsSet() bool
IsSet returns true if OptNilFineTuningResponseModelMessage was set.
func (OptNilFineTuningResponseModelMessage) MarshalJSON ¶
func (s OptNilFineTuningResponseModelMessage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilFineTuningResponseModelMessage) Or ¶
func (o OptNilFineTuningResponseModelMessage) Or(d FineTuningResponseModelMessage) FineTuningResponseModelMessage
Or returns value if set, or given parameter if does not.
func (*OptNilFineTuningResponseModelMessage) Reset ¶
func (o *OptNilFineTuningResponseModelMessage) Reset()
Reset unsets value.
func (*OptNilFineTuningResponseModelMessage) SetTo ¶
func (o *OptNilFineTuningResponseModelMessage) SetTo(v FineTuningResponseModelMessage)
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 ¶
func (o *OptNilFineTuningResponseModelProgress) Decode(d *jx.Decoder) error
Decode decodes FineTuningResponseModelProgress from json.
func (OptNilFineTuningResponseModelProgress) Encode ¶
func (o OptNilFineTuningResponseModelProgress) Encode(e *jx.Encoder)
Encode encodes FineTuningResponseModelProgress as json.
func (OptNilFineTuningResponseModelProgress) Get ¶
func (o OptNilFineTuningResponseModelProgress) Get() (v FineTuningResponseModelProgress, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilFineTuningResponseModelProgress) IsNull ¶
func (o OptNilFineTuningResponseModelProgress) IsNull() bool
IsNull returns true if value is Null.
func (OptNilFineTuningResponseModelProgress) IsSet ¶
func (o OptNilFineTuningResponseModelProgress) IsSet() bool
IsSet returns true if OptNilFineTuningResponseModelProgress was set.
func (OptNilFineTuningResponseModelProgress) MarshalJSON ¶
func (s OptNilFineTuningResponseModelProgress) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilFineTuningResponseModelProgress) Or ¶
func (o OptNilFineTuningResponseModelProgress) Or(d FineTuningResponseModelProgress) FineTuningResponseModelProgress
Or returns value if set, or given parameter if does not.
func (*OptNilFineTuningResponseModelProgress) Reset ¶
func (o *OptNilFineTuningResponseModelProgress) Reset()
Reset unsets value.
func (*OptNilFineTuningResponseModelProgress) SetTo ¶
func (o *OptNilFineTuningResponseModelProgress) SetTo(v FineTuningResponseModelProgress)
SetTo sets value to v.
func (*OptNilFineTuningResponseModelProgress) SetToNull ¶
func (o *OptNilFineTuningResponseModelProgress) SetToNull()
SetToNull sets value to null.
func (*OptNilFineTuningResponseModelProgress) UnmarshalJSON ¶
func (s *OptNilFineTuningResponseModelProgress) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilFloat64 ¶
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) UnmarshalJSON ¶
func (s *OptNilFloat64) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilFloat64Array ¶
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) 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 ¶
func (o OptNilGetLibraryVoicesCategory) Get() (v GetLibraryVoicesCategory, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilGetLibraryVoicesCategory) IsNull ¶
func (o OptNilGetLibraryVoicesCategory) IsNull() bool
IsNull returns true if value is Null.
func (OptNilGetLibraryVoicesCategory) IsSet ¶
func (o OptNilGetLibraryVoicesCategory) IsSet() bool
IsSet returns true if OptNilGetLibraryVoicesCategory was set.
func (*OptNilGetLibraryVoicesCategory) Reset ¶
func (o *OptNilGetLibraryVoicesCategory) Reset()
Reset unsets value.
func (*OptNilGetLibraryVoicesCategory) SetTo ¶
func (o *OptNilGetLibraryVoicesCategory) SetTo(v GetLibraryVoicesCategory)
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 ¶
func (o OptNilGetPronunciationDictionariesMetadataSort) Get() (v GetPronunciationDictionariesMetadataSort, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilGetPronunciationDictionariesMetadataSort) IsNull ¶
func (o OptNilGetPronunciationDictionariesMetadataSort) IsNull() bool
IsNull returns true if value is Null.
func (OptNilGetPronunciationDictionariesMetadataSort) IsSet ¶
func (o OptNilGetPronunciationDictionariesMetadataSort) IsSet() bool
IsSet returns true if OptNilGetPronunciationDictionariesMetadataSort was set.
func (OptNilGetPronunciationDictionariesMetadataSort) Or ¶
func (o OptNilGetPronunciationDictionariesMetadataSort) Or(d GetPronunciationDictionariesMetadataSort) GetPronunciationDictionariesMetadataSort
Or returns value if set, or given parameter if does not.
func (*OptNilGetPronunciationDictionariesMetadataSort) Reset ¶
func (o *OptNilGetPronunciationDictionariesMetadataSort) Reset()
Reset unsets value.
func (*OptNilGetPronunciationDictionariesMetadataSort) SetTo ¶
func (o *OptNilGetPronunciationDictionariesMetadataSort) SetTo(v GetPronunciationDictionariesMetadataSort)
SetTo sets value to v.
func (*OptNilGetPronunciationDictionariesMetadataSort) SetToNull ¶
func (o *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 ¶
func (o OptNilGetSpeechHistorySortDirection) Get() (v GetSpeechHistorySortDirection, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilGetSpeechHistorySortDirection) IsNull ¶
func (o OptNilGetSpeechHistorySortDirection) IsNull() bool
IsNull returns true if value is Null.
func (OptNilGetSpeechHistorySortDirection) IsSet ¶
func (o OptNilGetSpeechHistorySortDirection) IsSet() bool
IsSet returns true if OptNilGetSpeechHistorySortDirection was set.
func (OptNilGetSpeechHistorySortDirection) Or ¶
func (o OptNilGetSpeechHistorySortDirection) Or(d GetSpeechHistorySortDirection) GetSpeechHistorySortDirection
Or returns value if set, or given parameter if does not.
func (*OptNilGetSpeechHistorySortDirection) Reset ¶
func (o *OptNilGetSpeechHistorySortDirection) Reset()
Reset unsets value.
func (*OptNilGetSpeechHistorySortDirection) SetTo ¶
func (o *OptNilGetSpeechHistorySortDirection) SetTo(v GetSpeechHistorySortDirection)
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 ¶
func (o OptNilGetSpeechHistorySource) Get() (v GetSpeechHistorySource, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilGetSpeechHistorySource) IsNull ¶
func (o OptNilGetSpeechHistorySource) IsNull() bool
IsNull returns true if value is Null.
func (OptNilGetSpeechHistorySource) IsSet ¶
func (o OptNilGetSpeechHistorySource) IsSet() bool
IsSet returns true if OptNilGetSpeechHistorySource was set.
func (*OptNilGetSpeechHistorySource) Reset ¶
func (o *OptNilGetSpeechHistorySource) Reset()
Reset unsets value.
func (*OptNilGetSpeechHistorySource) SetTo ¶
func (o *OptNilGetSpeechHistorySource) SetTo(v GetSpeechHistorySource)
SetTo sets value to v.
func (*OptNilGetSpeechHistorySource) SetToNull ¶
func (o *OptNilGetSpeechHistorySource) SetToNull()
SetToNull sets value to null.
type OptNilInt ¶
OptNilInt is optional nullable int.
func NewOptNilInt ¶
NewOptNilInt returns new OptNilInt with value set to v.
func (OptNilInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptNilInt) UnmarshalJSON ¶
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 ¶
func (o OptNilKnowledgeBaseDocumentTypeArray) Get() (v []KnowledgeBaseDocumentType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilKnowledgeBaseDocumentTypeArray) IsNull ¶
func (o OptNilKnowledgeBaseDocumentTypeArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilKnowledgeBaseDocumentTypeArray) IsSet ¶
func (o OptNilKnowledgeBaseDocumentTypeArray) IsSet() bool
IsSet returns true if OptNilKnowledgeBaseDocumentTypeArray was set.
func (OptNilKnowledgeBaseDocumentTypeArray) Or ¶
func (o OptNilKnowledgeBaseDocumentTypeArray) Or(d []KnowledgeBaseDocumentType) []KnowledgeBaseDocumentType
Or returns value if set, or given parameter if does not.
func (*OptNilKnowledgeBaseDocumentTypeArray) Reset ¶
func (o *OptNilKnowledgeBaseDocumentTypeArray) Reset()
Reset unsets value.
func (*OptNilKnowledgeBaseDocumentTypeArray) SetTo ¶
func (o *OptNilKnowledgeBaseDocumentTypeArray) SetTo(v []KnowledgeBaseDocumentType)
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 ¶
func (o *OptNilProjectResponseModelAspectRatio) Decode(d *jx.Decoder) error
Decode decodes ProjectResponseModelAspectRatio from json.
func (OptNilProjectResponseModelAspectRatio) Encode ¶
func (o OptNilProjectResponseModelAspectRatio) Encode(e *jx.Encoder)
Encode encodes ProjectResponseModelAspectRatio as json.
func (OptNilProjectResponseModelAspectRatio) Get ¶
func (o OptNilProjectResponseModelAspectRatio) Get() (v ProjectResponseModelAspectRatio, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilProjectResponseModelAspectRatio) IsNull ¶
func (o OptNilProjectResponseModelAspectRatio) IsNull() bool
IsNull returns true if value is Null.
func (OptNilProjectResponseModelAspectRatio) IsSet ¶
func (o OptNilProjectResponseModelAspectRatio) IsSet() bool
IsSet returns true if OptNilProjectResponseModelAspectRatio was set.
func (OptNilProjectResponseModelAspectRatio) MarshalJSON ¶
func (s OptNilProjectResponseModelAspectRatio) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilProjectResponseModelAspectRatio) Or ¶
func (o OptNilProjectResponseModelAspectRatio) Or(d ProjectResponseModelAspectRatio) ProjectResponseModelAspectRatio
Or returns value if set, or given parameter if does not.
func (*OptNilProjectResponseModelAspectRatio) Reset ¶
func (o *OptNilProjectResponseModelAspectRatio) Reset()
Reset unsets value.
func (*OptNilProjectResponseModelAspectRatio) SetTo ¶
func (o *OptNilProjectResponseModelAspectRatio) SetTo(v ProjectResponseModelAspectRatio)
SetTo sets value to v.
func (*OptNilProjectResponseModelAspectRatio) SetToNull ¶
func (o *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 ¶
func (o *OptNilProjectResponseModelFiction) Decode(d *jx.Decoder) error
Decode decodes ProjectResponseModelFiction from json.
func (OptNilProjectResponseModelFiction) Encode ¶
func (o OptNilProjectResponseModelFiction) Encode(e *jx.Encoder)
Encode encodes ProjectResponseModelFiction as json.
func (OptNilProjectResponseModelFiction) Get ¶
func (o OptNilProjectResponseModelFiction) Get() (v ProjectResponseModelFiction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilProjectResponseModelFiction) IsNull ¶
func (o OptNilProjectResponseModelFiction) IsNull() bool
IsNull returns true if value is Null.
func (OptNilProjectResponseModelFiction) IsSet ¶
func (o OptNilProjectResponseModelFiction) IsSet() bool
IsSet returns true if OptNilProjectResponseModelFiction was set.
func (OptNilProjectResponseModelFiction) MarshalJSON ¶
func (s OptNilProjectResponseModelFiction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilProjectResponseModelFiction) Or ¶
func (o OptNilProjectResponseModelFiction) Or(d ProjectResponseModelFiction) ProjectResponseModelFiction
Or returns value if set, or given parameter if does not.
func (*OptNilProjectResponseModelFiction) Reset ¶
func (o *OptNilProjectResponseModelFiction) Reset()
Reset unsets value.
func (*OptNilProjectResponseModelFiction) SetTo ¶
func (o *OptNilProjectResponseModelFiction) SetTo(v ProjectResponseModelFiction)
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 ¶
func (o *OptNilProjectResponseModelSourceType) Decode(d *jx.Decoder) error
Decode decodes ProjectResponseModelSourceType from json.
func (OptNilProjectResponseModelSourceType) Encode ¶
func (o OptNilProjectResponseModelSourceType) Encode(e *jx.Encoder)
Encode encodes ProjectResponseModelSourceType as json.
func (OptNilProjectResponseModelSourceType) Get ¶
func (o OptNilProjectResponseModelSourceType) Get() (v ProjectResponseModelSourceType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilProjectResponseModelSourceType) IsNull ¶
func (o OptNilProjectResponseModelSourceType) IsNull() bool
IsNull returns true if value is Null.
func (OptNilProjectResponseModelSourceType) IsSet ¶
func (o OptNilProjectResponseModelSourceType) IsSet() bool
IsSet returns true if OptNilProjectResponseModelSourceType was set.
func (OptNilProjectResponseModelSourceType) MarshalJSON ¶
func (s OptNilProjectResponseModelSourceType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilProjectResponseModelSourceType) Or ¶
func (o OptNilProjectResponseModelSourceType) Or(d ProjectResponseModelSourceType) ProjectResponseModelSourceType
Or returns value if set, or given parameter if does not.
func (*OptNilProjectResponseModelSourceType) Reset ¶
func (o *OptNilProjectResponseModelSourceType) Reset()
Reset unsets value.
func (*OptNilProjectResponseModelSourceType) SetTo ¶
func (o *OptNilProjectResponseModelSourceType) SetTo(v ProjectResponseModelSourceType)
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 ¶
func (o *OptNilProjectResponseModelTargetAudience) Decode(d *jx.Decoder) error
Decode decodes ProjectResponseModelTargetAudience from json.
func (OptNilProjectResponseModelTargetAudience) Encode ¶
func (o OptNilProjectResponseModelTargetAudience) Encode(e *jx.Encoder)
Encode encodes ProjectResponseModelTargetAudience as json.
func (OptNilProjectResponseModelTargetAudience) Get ¶
func (o OptNilProjectResponseModelTargetAudience) Get() (v ProjectResponseModelTargetAudience, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilProjectResponseModelTargetAudience) IsNull ¶
func (o OptNilProjectResponseModelTargetAudience) IsNull() bool
IsNull returns true if value is Null.
func (OptNilProjectResponseModelTargetAudience) IsSet ¶
func (o OptNilProjectResponseModelTargetAudience) IsSet() bool
IsSet returns true if OptNilProjectResponseModelTargetAudience was set.
func (OptNilProjectResponseModelTargetAudience) MarshalJSON ¶
func (s OptNilProjectResponseModelTargetAudience) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilProjectResponseModelTargetAudience) Or ¶
func (o OptNilProjectResponseModelTargetAudience) Or(d ProjectResponseModelTargetAudience) ProjectResponseModelTargetAudience
Or returns value if set, or given parameter if does not.
func (*OptNilProjectResponseModelTargetAudience) Reset ¶
func (o *OptNilProjectResponseModelTargetAudience) Reset()
Reset unsets value.
func (*OptNilProjectResponseModelTargetAudience) SetTo ¶
func (o *OptNilProjectResponseModelTargetAudience) SetTo(v ProjectResponseModelTargetAudience)
SetTo sets value to v.
func (*OptNilProjectResponseModelTargetAudience) SetToNull ¶
func (o *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 ¶
func (o *OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Decode(d *jx.Decoder) error
Decode decodes []PronunciationDictionaryVersionLocatorRequestModel from json.
func (OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Encode ¶
func (o OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Encode(e *jx.Encoder)
Encode encodes []PronunciationDictionaryVersionLocatorRequestModel as json.
func (OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Get ¶
func (o OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Get() (v []PronunciationDictionaryVersionLocatorRequestModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilPronunciationDictionaryVersionLocatorRequestModelArray) IsNull ¶
func (o OptNilPronunciationDictionaryVersionLocatorRequestModelArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilPronunciationDictionaryVersionLocatorRequestModelArray) IsSet ¶
func (o OptNilPronunciationDictionaryVersionLocatorRequestModelArray) IsSet() bool
IsSet returns true if OptNilPronunciationDictionaryVersionLocatorRequestModelArray was set.
func (OptNilPronunciationDictionaryVersionLocatorRequestModelArray) MarshalJSON ¶
func (s OptNilPronunciationDictionaryVersionLocatorRequestModelArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Or ¶
func (o OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Or(d []PronunciationDictionaryVersionLocatorRequestModel) []PronunciationDictionaryVersionLocatorRequestModel
Or returns value if set, or given parameter if does not.
func (*OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Reset ¶
func (o *OptNilPronunciationDictionaryVersionLocatorRequestModelArray) Reset()
Reset unsets value.
func (*OptNilPronunciationDictionaryVersionLocatorRequestModelArray) SetTo ¶
func (o *OptNilPronunciationDictionaryVersionLocatorRequestModelArray) SetTo(v []PronunciationDictionaryVersionLocatorRequestModel)
SetTo sets value to v.
func (*OptNilPronunciationDictionaryVersionLocatorRequestModelArray) SetToNull ¶
func (o *OptNilPronunciationDictionaryVersionLocatorRequestModelArray) SetToNull()
SetToNull sets value to null.
func (*OptNilPronunciationDictionaryVersionLocatorRequestModelArray) UnmarshalJSON ¶
func (s *OptNilPronunciationDictionaryVersionLocatorRequestModelArray) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptNilReaderResourceResponseModelArray) Decode(d *jx.Decoder) error
Decode decodes []ReaderResourceResponseModel from json.
func (OptNilReaderResourceResponseModelArray) Encode ¶
func (o OptNilReaderResourceResponseModelArray) Encode(e *jx.Encoder)
Encode encodes []ReaderResourceResponseModel as json.
func (OptNilReaderResourceResponseModelArray) Get ¶
func (o OptNilReaderResourceResponseModelArray) Get() (v []ReaderResourceResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilReaderResourceResponseModelArray) IsNull ¶
func (o OptNilReaderResourceResponseModelArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilReaderResourceResponseModelArray) IsSet ¶
func (o OptNilReaderResourceResponseModelArray) IsSet() bool
IsSet returns true if OptNilReaderResourceResponseModelArray was set.
func (OptNilReaderResourceResponseModelArray) MarshalJSON ¶
func (s OptNilReaderResourceResponseModelArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilReaderResourceResponseModelArray) Or ¶
func (o OptNilReaderResourceResponseModelArray) Or(d []ReaderResourceResponseModel) []ReaderResourceResponseModel
Or returns value if set, or given parameter if does not.
func (*OptNilReaderResourceResponseModelArray) Reset ¶
func (o *OptNilReaderResourceResponseModelArray) Reset()
Reset unsets value.
func (*OptNilReaderResourceResponseModelArray) SetTo ¶
func (o *OptNilReaderResourceResponseModelArray) SetTo(v []ReaderResourceResponseModel)
SetTo sets value to v.
func (*OptNilReaderResourceResponseModelArray) SetToNull ¶
func (o *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 ¶
func (o *OptNilSampleResponseModelArray) Decode(d *jx.Decoder) error
Decode decodes []SampleResponseModel from json.
func (OptNilSampleResponseModelArray) Encode ¶
func (o OptNilSampleResponseModelArray) Encode(e *jx.Encoder)
Encode encodes []SampleResponseModel as json.
func (OptNilSampleResponseModelArray) Get ¶
func (o OptNilSampleResponseModelArray) Get() (v []SampleResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilSampleResponseModelArray) IsNull ¶
func (o OptNilSampleResponseModelArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilSampleResponseModelArray) IsSet ¶
func (o OptNilSampleResponseModelArray) IsSet() bool
IsSet returns true if OptNilSampleResponseModelArray was set.
func (OptNilSampleResponseModelArray) MarshalJSON ¶
func (s OptNilSampleResponseModelArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilSampleResponseModelArray) Or ¶
func (o OptNilSampleResponseModelArray) Or(d []SampleResponseModel) []SampleResponseModel
Or returns value if set, or given parameter if does not.
func (*OptNilSampleResponseModelArray) Reset ¶
func (o *OptNilSampleResponseModelArray) Reset()
Reset unsets value.
func (*OptNilSampleResponseModelArray) SetTo ¶
func (o *OptNilSampleResponseModelArray) SetTo(v []SampleResponseModel)
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 ¶
func (o *OptNilSegmentCreatePayloadTranslations) Decode(d *jx.Decoder) error
Decode decodes SegmentCreatePayloadTranslations from json.
func (OptNilSegmentCreatePayloadTranslations) Encode ¶
func (o OptNilSegmentCreatePayloadTranslations) Encode(e *jx.Encoder)
Encode encodes SegmentCreatePayloadTranslations as json.
func (OptNilSegmentCreatePayloadTranslations) Get ¶
func (o OptNilSegmentCreatePayloadTranslations) Get() (v SegmentCreatePayloadTranslations, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilSegmentCreatePayloadTranslations) IsNull ¶
func (o OptNilSegmentCreatePayloadTranslations) IsNull() bool
IsNull returns true if value is Null.
func (OptNilSegmentCreatePayloadTranslations) IsSet ¶
func (o OptNilSegmentCreatePayloadTranslations) IsSet() bool
IsSet returns true if OptNilSegmentCreatePayloadTranslations was set.
func (OptNilSegmentCreatePayloadTranslations) MarshalJSON ¶
func (s OptNilSegmentCreatePayloadTranslations) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilSegmentCreatePayloadTranslations) Or ¶
func (o OptNilSegmentCreatePayloadTranslations) Or(d SegmentCreatePayloadTranslations) SegmentCreatePayloadTranslations
Or returns value if set, or given parameter if does not.
func (*OptNilSegmentCreatePayloadTranslations) Reset ¶
func (o *OptNilSegmentCreatePayloadTranslations) Reset()
Reset unsets value.
func (*OptNilSegmentCreatePayloadTranslations) SetTo ¶
func (o *OptNilSegmentCreatePayloadTranslations) SetTo(v SegmentCreatePayloadTranslations)
SetTo sets value to v.
func (*OptNilSegmentCreatePayloadTranslations) SetToNull ¶
func (o *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 ¶
func (o *OptNilSpeakerSeparationResponseModelSpeakers) Decode(d *jx.Decoder) error
Decode decodes SpeakerSeparationResponseModelSpeakers from json.
func (OptNilSpeakerSeparationResponseModelSpeakers) Encode ¶
func (o OptNilSpeakerSeparationResponseModelSpeakers) Encode(e *jx.Encoder)
Encode encodes SpeakerSeparationResponseModelSpeakers as json.
func (OptNilSpeakerSeparationResponseModelSpeakers) Get ¶
func (o OptNilSpeakerSeparationResponseModelSpeakers) Get() (v SpeakerSeparationResponseModelSpeakers, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilSpeakerSeparationResponseModelSpeakers) IsNull ¶
func (o OptNilSpeakerSeparationResponseModelSpeakers) IsNull() bool
IsNull returns true if value is Null.
func (OptNilSpeakerSeparationResponseModelSpeakers) IsSet ¶
func (o OptNilSpeakerSeparationResponseModelSpeakers) IsSet() bool
IsSet returns true if OptNilSpeakerSeparationResponseModelSpeakers was set.
func (OptNilSpeakerSeparationResponseModelSpeakers) MarshalJSON ¶
func (s OptNilSpeakerSeparationResponseModelSpeakers) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilSpeakerSeparationResponseModelSpeakers) Or ¶
func (o OptNilSpeakerSeparationResponseModelSpeakers) Or(d SpeakerSeparationResponseModelSpeakers) SpeakerSeparationResponseModelSpeakers
Or returns value if set, or given parameter if does not.
func (*OptNilSpeakerSeparationResponseModelSpeakers) Reset ¶
func (o *OptNilSpeakerSeparationResponseModelSpeakers) Reset()
Reset unsets value.
func (*OptNilSpeakerSeparationResponseModelSpeakers) SetTo ¶
func (o *OptNilSpeakerSeparationResponseModelSpeakers) SetTo(v SpeakerSeparationResponseModelSpeakers)
SetTo sets value to v.
func (*OptNilSpeakerSeparationResponseModelSpeakers) SetToNull ¶
func (o *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 ¶
func (o *OptNilSpeechHistoryItemResponseModelSource) Decode(d *jx.Decoder) error
Decode decodes SpeechHistoryItemResponseModelSource from json.
func (OptNilSpeechHistoryItemResponseModelSource) Encode ¶
func (o OptNilSpeechHistoryItemResponseModelSource) Encode(e *jx.Encoder)
Encode encodes SpeechHistoryItemResponseModelSource as json.
func (OptNilSpeechHistoryItemResponseModelSource) Get ¶
func (o OptNilSpeechHistoryItemResponseModelSource) Get() (v SpeechHistoryItemResponseModelSource, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilSpeechHistoryItemResponseModelSource) IsNull ¶
func (o OptNilSpeechHistoryItemResponseModelSource) IsNull() bool
IsNull returns true if value is Null.
func (OptNilSpeechHistoryItemResponseModelSource) IsSet ¶
func (o OptNilSpeechHistoryItemResponseModelSource) IsSet() bool
IsSet returns true if OptNilSpeechHistoryItemResponseModelSource was set.
func (OptNilSpeechHistoryItemResponseModelSource) MarshalJSON ¶
func (s OptNilSpeechHistoryItemResponseModelSource) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilSpeechHistoryItemResponseModelSource) Or ¶
func (o OptNilSpeechHistoryItemResponseModelSource) Or(d SpeechHistoryItemResponseModelSource) SpeechHistoryItemResponseModelSource
Or returns value if set, or given parameter if does not.
func (*OptNilSpeechHistoryItemResponseModelSource) Reset ¶
func (o *OptNilSpeechHistoryItemResponseModelSource) Reset()
Reset unsets value.
func (*OptNilSpeechHistoryItemResponseModelSource) SetTo ¶
func (o *OptNilSpeechHistoryItemResponseModelSource) SetTo(v SpeechHistoryItemResponseModelSource)
SetTo sets value to v.
func (*OptNilSpeechHistoryItemResponseModelSource) SetToNull ¶
func (o *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 ¶
func (o *OptNilSpeechHistoryItemResponseModelVoiceCategory) Decode(d *jx.Decoder) error
Decode decodes SpeechHistoryItemResponseModelVoiceCategory from json.
func (OptNilSpeechHistoryItemResponseModelVoiceCategory) Encode ¶
func (o OptNilSpeechHistoryItemResponseModelVoiceCategory) Encode(e *jx.Encoder)
Encode encodes SpeechHistoryItemResponseModelVoiceCategory as json.
func (OptNilSpeechHistoryItemResponseModelVoiceCategory) Get ¶
func (o OptNilSpeechHistoryItemResponseModelVoiceCategory) Get() (v SpeechHistoryItemResponseModelVoiceCategory, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilSpeechHistoryItemResponseModelVoiceCategory) IsNull ¶
func (o OptNilSpeechHistoryItemResponseModelVoiceCategory) IsNull() bool
IsNull returns true if value is Null.
func (OptNilSpeechHistoryItemResponseModelVoiceCategory) IsSet ¶
func (o OptNilSpeechHistoryItemResponseModelVoiceCategory) IsSet() bool
IsSet returns true if OptNilSpeechHistoryItemResponseModelVoiceCategory was set.
func (OptNilSpeechHistoryItemResponseModelVoiceCategory) MarshalJSON ¶
func (s OptNilSpeechHistoryItemResponseModelVoiceCategory) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilSpeechHistoryItemResponseModelVoiceCategory) Or ¶
func (o OptNilSpeechHistoryItemResponseModelVoiceCategory) Or(d SpeechHistoryItemResponseModelVoiceCategory) SpeechHistoryItemResponseModelVoiceCategory
Or returns value if set, or given parameter if does not.
func (*OptNilSpeechHistoryItemResponseModelVoiceCategory) Reset ¶
func (o *OptNilSpeechHistoryItemResponseModelVoiceCategory) Reset()
Reset unsets value.
func (*OptNilSpeechHistoryItemResponseModelVoiceCategory) SetTo ¶
func (o *OptNilSpeechHistoryItemResponseModelVoiceCategory) SetTo(v SpeechHistoryItemResponseModelVoiceCategory)
SetTo sets value to v.
func (*OptNilSpeechHistoryItemResponseModelVoiceCategory) SetToNull ¶
func (o *OptNilSpeechHistoryItemResponseModelVoiceCategory) SetToNull()
SetToNull sets value to null.
func (*OptNilSpeechHistoryItemResponseModelVoiceCategory) UnmarshalJSON ¶
func (s *OptNilSpeechHistoryItemResponseModelVoiceCategory) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptNilSpeechToTextCharacterResponseModelArray) Decode(d *jx.Decoder) error
Decode decodes []SpeechToTextCharacterResponseModel from json.
func (OptNilSpeechToTextCharacterResponseModelArray) Encode ¶
func (o OptNilSpeechToTextCharacterResponseModelArray) Encode(e *jx.Encoder)
Encode encodes []SpeechToTextCharacterResponseModel as json.
func (OptNilSpeechToTextCharacterResponseModelArray) Get ¶
func (o OptNilSpeechToTextCharacterResponseModelArray) Get() (v []SpeechToTextCharacterResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilSpeechToTextCharacterResponseModelArray) IsNull ¶
func (o OptNilSpeechToTextCharacterResponseModelArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilSpeechToTextCharacterResponseModelArray) IsSet ¶
func (o OptNilSpeechToTextCharacterResponseModelArray) IsSet() bool
IsSet returns true if OptNilSpeechToTextCharacterResponseModelArray was set.
func (OptNilSpeechToTextCharacterResponseModelArray) MarshalJSON ¶
func (s OptNilSpeechToTextCharacterResponseModelArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilSpeechToTextCharacterResponseModelArray) Or ¶
func (o OptNilSpeechToTextCharacterResponseModelArray) Or(d []SpeechToTextCharacterResponseModel) []SpeechToTextCharacterResponseModel
Or returns value if set, or given parameter if does not.
func (*OptNilSpeechToTextCharacterResponseModelArray) Reset ¶
func (o *OptNilSpeechToTextCharacterResponseModelArray) Reset()
Reset unsets value.
func (*OptNilSpeechToTextCharacterResponseModelArray) SetTo ¶
func (o *OptNilSpeechToTextCharacterResponseModelArray) SetTo(v []SpeechToTextCharacterResponseModel)
SetTo sets value to v.
func (*OptNilSpeechToTextCharacterResponseModelArray) SetToNull ¶
func (o *OptNilSpeechToTextCharacterResponseModelArray) SetToNull()
SetToNull sets value to null.
func (*OptNilSpeechToTextCharacterResponseModelArray) UnmarshalJSON ¶
func (s *OptNilSpeechToTextCharacterResponseModelArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilString ¶
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) UnmarshalJSON ¶
func (s *OptNilString) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilStringArray ¶
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) 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 ¶
func (o *OptNilSubscriptionResponseModelCurrency) Decode(d *jx.Decoder) error
Decode decodes SubscriptionResponseModelCurrency from json.
func (OptNilSubscriptionResponseModelCurrency) Encode ¶
func (o OptNilSubscriptionResponseModelCurrency) Encode(e *jx.Encoder)
Encode encodes SubscriptionResponseModelCurrency as json.
func (OptNilSubscriptionResponseModelCurrency) Get ¶
func (o OptNilSubscriptionResponseModelCurrency) Get() (v SubscriptionResponseModelCurrency, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilSubscriptionResponseModelCurrency) IsNull ¶
func (o OptNilSubscriptionResponseModelCurrency) IsNull() bool
IsNull returns true if value is Null.
func (OptNilSubscriptionResponseModelCurrency) IsSet ¶
func (o OptNilSubscriptionResponseModelCurrency) IsSet() bool
IsSet returns true if OptNilSubscriptionResponseModelCurrency was set.
func (OptNilSubscriptionResponseModelCurrency) MarshalJSON ¶
func (s OptNilSubscriptionResponseModelCurrency) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilSubscriptionResponseModelCurrency) Or ¶
func (o OptNilSubscriptionResponseModelCurrency) Or(d SubscriptionResponseModelCurrency) SubscriptionResponseModelCurrency
Or returns value if set, or given parameter if does not.
func (*OptNilSubscriptionResponseModelCurrency) Reset ¶
func (o *OptNilSubscriptionResponseModelCurrency) Reset()
Reset unsets value.
func (*OptNilSubscriptionResponseModelCurrency) SetTo ¶
func (o *OptNilSubscriptionResponseModelCurrency) SetTo(v SubscriptionResponseModelCurrency)
SetTo sets value to v.
func (*OptNilSubscriptionResponseModelCurrency) SetToNull ¶
func (o *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 ¶
func (o *OptNilUtteranceResponseModelArray) Decode(d *jx.Decoder) error
Decode decodes []UtteranceResponseModel from json.
func (OptNilUtteranceResponseModelArray) Encode ¶
func (o OptNilUtteranceResponseModelArray) Encode(e *jx.Encoder)
Encode encodes []UtteranceResponseModel as json.
func (OptNilUtteranceResponseModelArray) Get ¶
func (o OptNilUtteranceResponseModelArray) Get() (v []UtteranceResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilUtteranceResponseModelArray) IsNull ¶
func (o OptNilUtteranceResponseModelArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilUtteranceResponseModelArray) IsSet ¶
func (o OptNilUtteranceResponseModelArray) IsSet() bool
IsSet returns true if OptNilUtteranceResponseModelArray was set.
func (OptNilUtteranceResponseModelArray) MarshalJSON ¶
func (s OptNilUtteranceResponseModelArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilUtteranceResponseModelArray) Or ¶
func (o OptNilUtteranceResponseModelArray) Or(d []UtteranceResponseModel) []UtteranceResponseModel
Or returns value if set, or given parameter if does not.
func (*OptNilUtteranceResponseModelArray) Reset ¶
func (o *OptNilUtteranceResponseModelArray) Reset()
Reset unsets value.
func (*OptNilUtteranceResponseModelArray) SetTo ¶
func (o *OptNilUtteranceResponseModelArray) SetTo(v []UtteranceResponseModel)
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 ¶
func (o *OptNilVerificationAttemptResponseModelArray) Decode(d *jx.Decoder) error
Decode decodes []VerificationAttemptResponseModel from json.
func (OptNilVerificationAttemptResponseModelArray) Encode ¶
func (o OptNilVerificationAttemptResponseModelArray) Encode(e *jx.Encoder)
Encode encodes []VerificationAttemptResponseModel as json.
func (OptNilVerificationAttemptResponseModelArray) Get ¶
func (o OptNilVerificationAttemptResponseModelArray) Get() (v []VerificationAttemptResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilVerificationAttemptResponseModelArray) IsNull ¶
func (o OptNilVerificationAttemptResponseModelArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilVerificationAttemptResponseModelArray) IsSet ¶
func (o OptNilVerificationAttemptResponseModelArray) IsSet() bool
IsSet returns true if OptNilVerificationAttemptResponseModelArray was set.
func (OptNilVerificationAttemptResponseModelArray) MarshalJSON ¶
func (s OptNilVerificationAttemptResponseModelArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilVerificationAttemptResponseModelArray) Or ¶
func (o OptNilVerificationAttemptResponseModelArray) Or(d []VerificationAttemptResponseModel) []VerificationAttemptResponseModel
Or returns value if set, or given parameter if does not.
func (*OptNilVerificationAttemptResponseModelArray) Reset ¶
func (o *OptNilVerificationAttemptResponseModelArray) Reset()
Reset unsets value.
func (*OptNilVerificationAttemptResponseModelArray) SetTo ¶
func (o *OptNilVerificationAttemptResponseModelArray) SetTo(v []VerificationAttemptResponseModel)
SetTo sets value to v.
func (*OptNilVerificationAttemptResponseModelArray) SetToNull ¶
func (o *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 ¶
func (o *OptNilVerifiedVoiceLanguageResponseModelArray) Decode(d *jx.Decoder) error
Decode decodes []VerifiedVoiceLanguageResponseModel from json.
func (OptNilVerifiedVoiceLanguageResponseModelArray) Encode ¶
func (o OptNilVerifiedVoiceLanguageResponseModelArray) Encode(e *jx.Encoder)
Encode encodes []VerifiedVoiceLanguageResponseModel as json.
func (OptNilVerifiedVoiceLanguageResponseModelArray) Get ¶
func (o OptNilVerifiedVoiceLanguageResponseModelArray) Get() (v []VerifiedVoiceLanguageResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilVerifiedVoiceLanguageResponseModelArray) IsNull ¶
func (o OptNilVerifiedVoiceLanguageResponseModelArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilVerifiedVoiceLanguageResponseModelArray) IsSet ¶
func (o OptNilVerifiedVoiceLanguageResponseModelArray) IsSet() bool
IsSet returns true if OptNilVerifiedVoiceLanguageResponseModelArray was set.
func (OptNilVerifiedVoiceLanguageResponseModelArray) MarshalJSON ¶
func (s OptNilVerifiedVoiceLanguageResponseModelArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilVerifiedVoiceLanguageResponseModelArray) Or ¶
func (o OptNilVerifiedVoiceLanguageResponseModelArray) Or(d []VerifiedVoiceLanguageResponseModel) []VerifiedVoiceLanguageResponseModel
Or returns value if set, or given parameter if does not.
func (*OptNilVerifiedVoiceLanguageResponseModelArray) Reset ¶
func (o *OptNilVerifiedVoiceLanguageResponseModelArray) Reset()
Reset unsets value.
func (*OptNilVerifiedVoiceLanguageResponseModelArray) SetTo ¶
func (o *OptNilVerifiedVoiceLanguageResponseModelArray) SetTo(v []VerifiedVoiceLanguageResponseModel)
SetTo sets value to v.
func (*OptNilVerifiedVoiceLanguageResponseModelArray) SetToNull ¶
func (o *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 ¶
func (o *OptNilVoiceResponseModelSafetyControl) Decode(d *jx.Decoder) error
Decode decodes VoiceResponseModelSafetyControl from json.
func (OptNilVoiceResponseModelSafetyControl) Encode ¶
func (o OptNilVoiceResponseModelSafetyControl) Encode(e *jx.Encoder)
Encode encodes VoiceResponseModelSafetyControl as json.
func (OptNilVoiceResponseModelSafetyControl) Get ¶
func (o OptNilVoiceResponseModelSafetyControl) Get() (v VoiceResponseModelSafetyControl, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilVoiceResponseModelSafetyControl) IsNull ¶
func (o OptNilVoiceResponseModelSafetyControl) IsNull() bool
IsNull returns true if value is Null.
func (OptNilVoiceResponseModelSafetyControl) IsSet ¶
func (o OptNilVoiceResponseModelSafetyControl) IsSet() bool
IsSet returns true if OptNilVoiceResponseModelSafetyControl was set.
func (OptNilVoiceResponseModelSafetyControl) MarshalJSON ¶
func (s OptNilVoiceResponseModelSafetyControl) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilVoiceResponseModelSafetyControl) Or ¶
func (o OptNilVoiceResponseModelSafetyControl) Or(d VoiceResponseModelSafetyControl) VoiceResponseModelSafetyControl
Or returns value if set, or given parameter if does not.
func (*OptNilVoiceResponseModelSafetyControl) Reset ¶
func (o *OptNilVoiceResponseModelSafetyControl) Reset()
Reset unsets value.
func (*OptNilVoiceResponseModelSafetyControl) SetTo ¶
func (o *OptNilVoiceResponseModelSafetyControl) SetTo(v VoiceResponseModelSafetyControl)
SetTo sets value to v.
func (*OptNilVoiceResponseModelSafetyControl) SetToNull ¶
func (o *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 ¶
func (o *OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Decode(d *jx.Decoder) error
Decode decodes []WorkspaceApiKeyResponseModelPermissionsItem from json.
func (OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Encode ¶
func (o OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Encode(e *jx.Encoder)
Encode encodes []WorkspaceApiKeyResponseModelPermissionsItem as json.
func (OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Get ¶
func (o OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Get() (v []WorkspaceApiKeyResponseModelPermissionsItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) IsNull ¶
func (o OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) IsSet ¶
func (o OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) IsSet() bool
IsSet returns true if OptNilWorkspaceApiKeyResponseModelPermissionsItemArray was set.
func (OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) MarshalJSON ¶
func (s OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Or ¶
func (o OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Or(d []WorkspaceApiKeyResponseModelPermissionsItem) []WorkspaceApiKeyResponseModelPermissionsItem
Or returns value if set, or given parameter if does not.
func (*OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Reset ¶
func (o *OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) Reset()
Reset unsets value.
func (*OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) SetTo ¶
func (o *OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) SetTo(v []WorkspaceApiKeyResponseModelPermissionsItem)
SetTo sets value to v.
func (*OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) SetToNull ¶
func (o *OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) SetToNull()
SetToNull sets value to null.
func (*OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) UnmarshalJSON ¶
func (s *OptNilWorkspaceApiKeyResponseModelPermissionsItemArray) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptNilWorkspaceWebhookUsageResponseModelArray) Decode(d *jx.Decoder) error
Decode decodes []WorkspaceWebhookUsageResponseModel from json.
func (OptNilWorkspaceWebhookUsageResponseModelArray) Encode ¶
func (o OptNilWorkspaceWebhookUsageResponseModelArray) Encode(e *jx.Encoder)
Encode encodes []WorkspaceWebhookUsageResponseModel as json.
func (OptNilWorkspaceWebhookUsageResponseModelArray) Get ¶
func (o OptNilWorkspaceWebhookUsageResponseModelArray) Get() (v []WorkspaceWebhookUsageResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilWorkspaceWebhookUsageResponseModelArray) IsNull ¶
func (o OptNilWorkspaceWebhookUsageResponseModelArray) IsNull() bool
IsNull returns true if value is Null.
func (OptNilWorkspaceWebhookUsageResponseModelArray) IsSet ¶
func (o OptNilWorkspaceWebhookUsageResponseModelArray) IsSet() bool
IsSet returns true if OptNilWorkspaceWebhookUsageResponseModelArray was set.
func (OptNilWorkspaceWebhookUsageResponseModelArray) MarshalJSON ¶
func (s OptNilWorkspaceWebhookUsageResponseModelArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilWorkspaceWebhookUsageResponseModelArray) Or ¶
func (o OptNilWorkspaceWebhookUsageResponseModelArray) Or(d []WorkspaceWebhookUsageResponseModel) []WorkspaceWebhookUsageResponseModel
Or returns value if set, or given parameter if does not.
func (*OptNilWorkspaceWebhookUsageResponseModelArray) Reset ¶
func (o *OptNilWorkspaceWebhookUsageResponseModelArray) Reset()
Reset unsets value.
func (*OptNilWorkspaceWebhookUsageResponseModelArray) SetTo ¶
func (o *OptNilWorkspaceWebhookUsageResponseModelArray) SetTo(v []WorkspaceWebhookUsageResponseModel)
SetTo sets value to v.
func (*OptNilWorkspaceWebhookUsageResponseModelArray) SetToNull ¶
func (o *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 ¶
func (o *OptOutboundSIPTrunkConfigRequestModel) Decode(d *jx.Decoder) error
Decode decodes OutboundSIPTrunkConfigRequestModel from json.
func (OptOutboundSIPTrunkConfigRequestModel) Encode ¶
func (o OptOutboundSIPTrunkConfigRequestModel) Encode(e *jx.Encoder)
Encode encodes OutboundSIPTrunkConfigRequestModel as json.
func (OptOutboundSIPTrunkConfigRequestModel) Get ¶
func (o OptOutboundSIPTrunkConfigRequestModel) Get() (v OutboundSIPTrunkConfigRequestModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptOutboundSIPTrunkConfigRequestModel) IsSet ¶
func (o OptOutboundSIPTrunkConfigRequestModel) IsSet() bool
IsSet returns true if OptOutboundSIPTrunkConfigRequestModel was set.
func (OptOutboundSIPTrunkConfigRequestModel) MarshalJSON ¶
func (s OptOutboundSIPTrunkConfigRequestModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptOutboundSIPTrunkConfigRequestModel) Or ¶
func (o OptOutboundSIPTrunkConfigRequestModel) Or(d OutboundSIPTrunkConfigRequestModel) OutboundSIPTrunkConfigRequestModel
Or returns value if set, or given parameter if does not.
func (*OptOutboundSIPTrunkConfigRequestModel) Reset ¶
func (o *OptOutboundSIPTrunkConfigRequestModel) Reset()
Reset unsets value.
func (*OptOutboundSIPTrunkConfigRequestModel) SetTo ¶
func (o *OptOutboundSIPTrunkConfigRequestModel) SetTo(v OutboundSIPTrunkConfigRequestModel)
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 ¶
func (o *OptOutboundSIPTrunkConfigRequestModelHeaders) Decode(d *jx.Decoder) error
Decode decodes OutboundSIPTrunkConfigRequestModelHeaders from json.
func (OptOutboundSIPTrunkConfigRequestModelHeaders) Encode ¶
func (o OptOutboundSIPTrunkConfigRequestModelHeaders) Encode(e *jx.Encoder)
Encode encodes OutboundSIPTrunkConfigRequestModelHeaders as json.
func (OptOutboundSIPTrunkConfigRequestModelHeaders) Get ¶
func (o OptOutboundSIPTrunkConfigRequestModelHeaders) Get() (v OutboundSIPTrunkConfigRequestModelHeaders, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptOutboundSIPTrunkConfigRequestModelHeaders) IsSet ¶
func (o OptOutboundSIPTrunkConfigRequestModelHeaders) IsSet() bool
IsSet returns true if OptOutboundSIPTrunkConfigRequestModelHeaders was set.
func (OptOutboundSIPTrunkConfigRequestModelHeaders) MarshalJSON ¶
func (s OptOutboundSIPTrunkConfigRequestModelHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptOutboundSIPTrunkConfigRequestModelHeaders) Or ¶
func (o OptOutboundSIPTrunkConfigRequestModelHeaders) Or(d OutboundSIPTrunkConfigRequestModelHeaders) OutboundSIPTrunkConfigRequestModelHeaders
Or returns value if set, or given parameter if does not.
func (*OptOutboundSIPTrunkConfigRequestModelHeaders) Reset ¶
func (o *OptOutboundSIPTrunkConfigRequestModelHeaders) Reset()
Reset unsets value.
func (*OptOutboundSIPTrunkConfigRequestModelHeaders) SetTo ¶
func (o *OptOutboundSIPTrunkConfigRequestModelHeaders) SetTo(v OutboundSIPTrunkConfigRequestModelHeaders)
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 ¶
func (o OptPhoneNumberAgentInfo) Get() (v PhoneNumberAgentInfo, ok bool)
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 ¶
func (o OptPhoneNumberAgentInfo) Or(d PhoneNumberAgentInfo) PhoneNumberAgentInfo
Or returns value if set, or given parameter if does not.
func (*OptPhoneNumberAgentInfo) Reset ¶
func (o *OptPhoneNumberAgentInfo) Reset()
Reset unsets value.
func (*OptPhoneNumberAgentInfo) SetTo ¶
func (o *OptPhoneNumberAgentInfo) SetTo(v PhoneNumberAgentInfo)
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 ¶
func (o *OptPlayDTMFResultErrorModelResultType) Decode(d *jx.Decoder) error
Decode decodes PlayDTMFResultErrorModelResultType from json.
func (OptPlayDTMFResultErrorModelResultType) Encode ¶
func (o OptPlayDTMFResultErrorModelResultType) Encode(e *jx.Encoder)
Encode encodes PlayDTMFResultErrorModelResultType as json.
func (OptPlayDTMFResultErrorModelResultType) Get ¶
func (o OptPlayDTMFResultErrorModelResultType) Get() (v PlayDTMFResultErrorModelResultType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPlayDTMFResultErrorModelResultType) IsSet ¶
func (o OptPlayDTMFResultErrorModelResultType) IsSet() bool
IsSet returns true if OptPlayDTMFResultErrorModelResultType was set.
func (OptPlayDTMFResultErrorModelResultType) MarshalJSON ¶
func (s OptPlayDTMFResultErrorModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPlayDTMFResultErrorModelResultType) Or ¶
func (o OptPlayDTMFResultErrorModelResultType) Or(d PlayDTMFResultErrorModelResultType) PlayDTMFResultErrorModelResultType
Or returns value if set, or given parameter if does not.
func (*OptPlayDTMFResultErrorModelResultType) Reset ¶
func (o *OptPlayDTMFResultErrorModelResultType) Reset()
Reset unsets value.
func (*OptPlayDTMFResultErrorModelResultType) SetTo ¶
func (o *OptPlayDTMFResultErrorModelResultType) SetTo(v PlayDTMFResultErrorModelResultType)
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 ¶
func (o *OptPlayDTMFResultErrorModelStatus) Decode(d *jx.Decoder) error
Decode decodes PlayDTMFResultErrorModelStatus from json.
func (OptPlayDTMFResultErrorModelStatus) Encode ¶
func (o OptPlayDTMFResultErrorModelStatus) Encode(e *jx.Encoder)
Encode encodes PlayDTMFResultErrorModelStatus as json.
func (OptPlayDTMFResultErrorModelStatus) Get ¶
func (o OptPlayDTMFResultErrorModelStatus) Get() (v PlayDTMFResultErrorModelStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPlayDTMFResultErrorModelStatus) IsSet ¶
func (o OptPlayDTMFResultErrorModelStatus) IsSet() bool
IsSet returns true if OptPlayDTMFResultErrorModelStatus was set.
func (OptPlayDTMFResultErrorModelStatus) MarshalJSON ¶
func (s OptPlayDTMFResultErrorModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPlayDTMFResultErrorModelStatus) Or ¶
func (o OptPlayDTMFResultErrorModelStatus) Or(d PlayDTMFResultErrorModelStatus) PlayDTMFResultErrorModelStatus
Or returns value if set, or given parameter if does not.
func (*OptPlayDTMFResultErrorModelStatus) Reset ¶
func (o *OptPlayDTMFResultErrorModelStatus) Reset()
Reset unsets value.
func (*OptPlayDTMFResultErrorModelStatus) SetTo ¶
func (o *OptPlayDTMFResultErrorModelStatus) SetTo(v PlayDTMFResultErrorModelStatus)
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 ¶
func (o *OptPlayDTMFResultSuccessModelResultType) Decode(d *jx.Decoder) error
Decode decodes PlayDTMFResultSuccessModelResultType from json.
func (OptPlayDTMFResultSuccessModelResultType) Encode ¶
func (o OptPlayDTMFResultSuccessModelResultType) Encode(e *jx.Encoder)
Encode encodes PlayDTMFResultSuccessModelResultType as json.
func (OptPlayDTMFResultSuccessModelResultType) Get ¶
func (o OptPlayDTMFResultSuccessModelResultType) Get() (v PlayDTMFResultSuccessModelResultType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPlayDTMFResultSuccessModelResultType) IsSet ¶
func (o OptPlayDTMFResultSuccessModelResultType) IsSet() bool
IsSet returns true if OptPlayDTMFResultSuccessModelResultType was set.
func (OptPlayDTMFResultSuccessModelResultType) MarshalJSON ¶
func (s OptPlayDTMFResultSuccessModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPlayDTMFResultSuccessModelResultType) Or ¶
func (o OptPlayDTMFResultSuccessModelResultType) Or(d PlayDTMFResultSuccessModelResultType) PlayDTMFResultSuccessModelResultType
Or returns value if set, or given parameter if does not.
func (*OptPlayDTMFResultSuccessModelResultType) Reset ¶
func (o *OptPlayDTMFResultSuccessModelResultType) Reset()
Reset unsets value.
func (*OptPlayDTMFResultSuccessModelResultType) SetTo ¶
func (o *OptPlayDTMFResultSuccessModelResultType) SetTo(v PlayDTMFResultSuccessModelResultType)
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 ¶
func (o *OptPlayDTMFResultSuccessModelStatus) Decode(d *jx.Decoder) error
Decode decodes PlayDTMFResultSuccessModelStatus from json.
func (OptPlayDTMFResultSuccessModelStatus) Encode ¶
func (o OptPlayDTMFResultSuccessModelStatus) Encode(e *jx.Encoder)
Encode encodes PlayDTMFResultSuccessModelStatus as json.
func (OptPlayDTMFResultSuccessModelStatus) Get ¶
func (o OptPlayDTMFResultSuccessModelStatus) Get() (v PlayDTMFResultSuccessModelStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPlayDTMFResultSuccessModelStatus) IsSet ¶
func (o OptPlayDTMFResultSuccessModelStatus) IsSet() bool
IsSet returns true if OptPlayDTMFResultSuccessModelStatus was set.
func (OptPlayDTMFResultSuccessModelStatus) MarshalJSON ¶
func (s OptPlayDTMFResultSuccessModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPlayDTMFResultSuccessModelStatus) Or ¶
func (o OptPlayDTMFResultSuccessModelStatus) Or(d PlayDTMFResultSuccessModelStatus) PlayDTMFResultSuccessModelStatus
Or returns value if set, or given parameter if does not.
func (*OptPlayDTMFResultSuccessModelStatus) Reset ¶
func (o *OptPlayDTMFResultSuccessModelStatus) Reset()
Reset unsets value.
func (*OptPlayDTMFResultSuccessModelStatus) SetTo ¶
func (o *OptPlayDTMFResultSuccessModelStatus) SetTo(v PlayDTMFResultSuccessModelStatus)
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 ¶
func (o *OptProjectCreationMetaResponseModel) Decode(d *jx.Decoder) error
Decode decodes ProjectCreationMetaResponseModel from json.
func (OptProjectCreationMetaResponseModel) Encode ¶
func (o OptProjectCreationMetaResponseModel) Encode(e *jx.Encoder)
Encode encodes ProjectCreationMetaResponseModel as json.
func (OptProjectCreationMetaResponseModel) Get ¶
func (o OptProjectCreationMetaResponseModel) Get() (v ProjectCreationMetaResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptProjectCreationMetaResponseModel) IsSet ¶
func (o OptProjectCreationMetaResponseModel) IsSet() bool
IsSet returns true if OptProjectCreationMetaResponseModel was set.
func (OptProjectCreationMetaResponseModel) MarshalJSON ¶
func (s OptProjectCreationMetaResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptProjectCreationMetaResponseModel) Or ¶
func (o OptProjectCreationMetaResponseModel) Or(d ProjectCreationMetaResponseModel) ProjectCreationMetaResponseModel
Or returns value if set, or given parameter if does not.
func (*OptProjectCreationMetaResponseModel) Reset ¶
func (o *OptProjectCreationMetaResponseModel) Reset()
Reset unsets value.
func (*OptProjectCreationMetaResponseModel) SetTo ¶
func (o *OptProjectCreationMetaResponseModel) SetTo(v ProjectCreationMetaResponseModel)
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 ¶
func (o *OptProjectSnapshotExtendedResponseModelAudioUpload) Decode(d *jx.Decoder) error
Decode decodes *ProjectSnapshotExtendedResponseModelAudioUpload from json.
func (OptProjectSnapshotExtendedResponseModelAudioUpload) Encode ¶
func (o OptProjectSnapshotExtendedResponseModelAudioUpload) Encode(e *jx.Encoder)
Encode encodes *ProjectSnapshotExtendedResponseModelAudioUpload as json.
func (OptProjectSnapshotExtendedResponseModelAudioUpload) Get ¶
func (o OptProjectSnapshotExtendedResponseModelAudioUpload) Get() (v *ProjectSnapshotExtendedResponseModelAudioUpload, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptProjectSnapshotExtendedResponseModelAudioUpload) IsSet ¶
func (o OptProjectSnapshotExtendedResponseModelAudioUpload) IsSet() bool
IsSet returns true if OptProjectSnapshotExtendedResponseModelAudioUpload was set.
func (OptProjectSnapshotExtendedResponseModelAudioUpload) MarshalJSON ¶
func (s OptProjectSnapshotExtendedResponseModelAudioUpload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptProjectSnapshotExtendedResponseModelAudioUpload) Or ¶
func (o OptProjectSnapshotExtendedResponseModelAudioUpload) Or(d *ProjectSnapshotExtendedResponseModelAudioUpload) *ProjectSnapshotExtendedResponseModelAudioUpload
Or returns value if set, or given parameter if does not.
func (*OptProjectSnapshotExtendedResponseModelAudioUpload) Reset ¶
func (o *OptProjectSnapshotExtendedResponseModelAudioUpload) Reset()
Reset unsets value.
func (*OptProjectSnapshotExtendedResponseModelAudioUpload) SetTo ¶
func (o *OptProjectSnapshotExtendedResponseModelAudioUpload) SetTo(v *ProjectSnapshotExtendedResponseModelAudioUpload)
SetTo sets value to v.
func (*OptProjectSnapshotExtendedResponseModelAudioUpload) UnmarshalJSON ¶
func (s *OptProjectSnapshotExtendedResponseModelAudioUpload) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptProjectSnapshotExtendedResponseModelZipUpload) Decode(d *jx.Decoder) error
Decode decodes *ProjectSnapshotExtendedResponseModelZipUpload from json.
func (OptProjectSnapshotExtendedResponseModelZipUpload) Encode ¶
func (o OptProjectSnapshotExtendedResponseModelZipUpload) Encode(e *jx.Encoder)
Encode encodes *ProjectSnapshotExtendedResponseModelZipUpload as json.
func (OptProjectSnapshotExtendedResponseModelZipUpload) Get ¶
func (o OptProjectSnapshotExtendedResponseModelZipUpload) Get() (v *ProjectSnapshotExtendedResponseModelZipUpload, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptProjectSnapshotExtendedResponseModelZipUpload) IsSet ¶
func (o OptProjectSnapshotExtendedResponseModelZipUpload) IsSet() bool
IsSet returns true if OptProjectSnapshotExtendedResponseModelZipUpload was set.
func (OptProjectSnapshotExtendedResponseModelZipUpload) MarshalJSON ¶
func (s OptProjectSnapshotExtendedResponseModelZipUpload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptProjectSnapshotExtendedResponseModelZipUpload) Or ¶
func (o OptProjectSnapshotExtendedResponseModelZipUpload) Or(d *ProjectSnapshotExtendedResponseModelZipUpload) *ProjectSnapshotExtendedResponseModelZipUpload
Or returns value if set, or given parameter if does not.
func (*OptProjectSnapshotExtendedResponseModelZipUpload) Reset ¶
func (o *OptProjectSnapshotExtendedResponseModelZipUpload) Reset()
Reset unsets value.
func (*OptProjectSnapshotExtendedResponseModelZipUpload) SetTo ¶
func (o *OptProjectSnapshotExtendedResponseModelZipUpload) SetTo(v *ProjectSnapshotExtendedResponseModelZipUpload)
SetTo sets value to v.
func (*OptProjectSnapshotExtendedResponseModelZipUpload) UnmarshalJSON ¶
func (s *OptProjectSnapshotExtendedResponseModelZipUpload) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptProjectSnapshotResponseModelAudioUpload) Decode(d *jx.Decoder) error
Decode decodes *ProjectSnapshotResponseModelAudioUpload from json.
func (OptProjectSnapshotResponseModelAudioUpload) Encode ¶
func (o OptProjectSnapshotResponseModelAudioUpload) Encode(e *jx.Encoder)
Encode encodes *ProjectSnapshotResponseModelAudioUpload as json.
func (OptProjectSnapshotResponseModelAudioUpload) Get ¶
func (o OptProjectSnapshotResponseModelAudioUpload) Get() (v *ProjectSnapshotResponseModelAudioUpload, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptProjectSnapshotResponseModelAudioUpload) IsSet ¶
func (o OptProjectSnapshotResponseModelAudioUpload) IsSet() bool
IsSet returns true if OptProjectSnapshotResponseModelAudioUpload was set.
func (OptProjectSnapshotResponseModelAudioUpload) MarshalJSON ¶
func (s OptProjectSnapshotResponseModelAudioUpload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptProjectSnapshotResponseModelAudioUpload) Or ¶
func (o OptProjectSnapshotResponseModelAudioUpload) Or(d *ProjectSnapshotResponseModelAudioUpload) *ProjectSnapshotResponseModelAudioUpload
Or returns value if set, or given parameter if does not.
func (*OptProjectSnapshotResponseModelAudioUpload) Reset ¶
func (o *OptProjectSnapshotResponseModelAudioUpload) Reset()
Reset unsets value.
func (*OptProjectSnapshotResponseModelAudioUpload) SetTo ¶
func (o *OptProjectSnapshotResponseModelAudioUpload) SetTo(v *ProjectSnapshotResponseModelAudioUpload)
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 ¶
func (o *OptProjectSnapshotResponseModelZipUpload) Decode(d *jx.Decoder) error
Decode decodes *ProjectSnapshotResponseModelZipUpload from json.
func (OptProjectSnapshotResponseModelZipUpload) Encode ¶
func (o OptProjectSnapshotResponseModelZipUpload) Encode(e *jx.Encoder)
Encode encodes *ProjectSnapshotResponseModelZipUpload as json.
func (OptProjectSnapshotResponseModelZipUpload) Get ¶
func (o OptProjectSnapshotResponseModelZipUpload) Get() (v *ProjectSnapshotResponseModelZipUpload, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptProjectSnapshotResponseModelZipUpload) IsSet ¶
func (o OptProjectSnapshotResponseModelZipUpload) IsSet() bool
IsSet returns true if OptProjectSnapshotResponseModelZipUpload was set.
func (OptProjectSnapshotResponseModelZipUpload) MarshalJSON ¶
func (s OptProjectSnapshotResponseModelZipUpload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptProjectSnapshotResponseModelZipUpload) Or ¶
func (o OptProjectSnapshotResponseModelZipUpload) Or(d *ProjectSnapshotResponseModelZipUpload) *ProjectSnapshotResponseModelZipUpload
Or returns value if set, or given parameter if does not.
func (*OptProjectSnapshotResponseModelZipUpload) Reset ¶
func (o *OptProjectSnapshotResponseModelZipUpload) Reset()
Reset unsets value.
func (*OptProjectSnapshotResponseModelZipUpload) SetTo ¶
func (o *OptProjectSnapshotResponseModelZipUpload) SetTo(v *ProjectSnapshotResponseModelZipUpload)
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 ¶
func (o *OptPromptAgentAPIModelOverride) Decode(d *jx.Decoder) error
Decode decodes PromptAgentAPIModelOverride from json.
func (OptPromptAgentAPIModelOverride) Encode ¶
func (o OptPromptAgentAPIModelOverride) Encode(e *jx.Encoder)
Encode encodes PromptAgentAPIModelOverride as json.
func (OptPromptAgentAPIModelOverride) Get ¶
func (o OptPromptAgentAPIModelOverride) Get() (v PromptAgentAPIModelOverride, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPromptAgentAPIModelOverride) IsSet ¶
func (o OptPromptAgentAPIModelOverride) IsSet() bool
IsSet returns true if OptPromptAgentAPIModelOverride was set.
func (OptPromptAgentAPIModelOverride) MarshalJSON ¶
func (s OptPromptAgentAPIModelOverride) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPromptAgentAPIModelOverride) Or ¶
func (o OptPromptAgentAPIModelOverride) Or(d PromptAgentAPIModelOverride) PromptAgentAPIModelOverride
Or returns value if set, or given parameter if does not.
func (*OptPromptAgentAPIModelOverride) Reset ¶
func (o *OptPromptAgentAPIModelOverride) Reset()
Reset unsets value.
func (*OptPromptAgentAPIModelOverride) SetTo ¶
func (o *OptPromptAgentAPIModelOverride) SetTo(v PromptAgentAPIModelOverride)
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 ¶
func (o OptRagRetrievalInfo) Or(d RagRetrievalInfo) RagRetrievalInfo
Or returns value if set, or given parameter if does not.
func (*OptRagRetrievalInfo) SetTo ¶
func (o *OptRagRetrievalInfo) SetTo(v RagRetrievalInfo)
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 ¶
func (o OptRecordingResponseModel) Get() (v RecordingResponseModel, ok bool)
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) Reset ¶
func (o *OptRecordingResponseModel) Reset()
Reset unsets value.
func (*OptRecordingResponseModel) SetTo ¶
func (o *OptRecordingResponseModel) SetTo(v RecordingResponseModel)
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 ¶
func (o *OptReferencedToolCommonModel) Decode(d *jx.Decoder) error
Decode decodes ReferencedToolCommonModel from json.
func (OptReferencedToolCommonModel) Encode ¶
func (o OptReferencedToolCommonModel) Encode(e *jx.Encoder)
Encode encodes ReferencedToolCommonModel as json.
func (OptReferencedToolCommonModel) Get ¶
func (o OptReferencedToolCommonModel) Get() (v ReferencedToolCommonModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptReferencedToolCommonModel) IsSet ¶
func (o OptReferencedToolCommonModel) IsSet() bool
IsSet returns true if OptReferencedToolCommonModel was set.
func (OptReferencedToolCommonModel) MarshalJSON ¶
func (s OptReferencedToolCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptReferencedToolCommonModel) Reset ¶
func (o *OptReferencedToolCommonModel) Reset()
Reset unsets value.
func (*OptReferencedToolCommonModel) SetTo ¶
func (o *OptReferencedToolCommonModel) SetTo(v ReferencedToolCommonModel)
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 ¶
func (o OptResourceAccessInfo) Get() (v ResourceAccessInfo, ok bool)
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 ¶
func (o OptResourceAccessInfo) Or(d ResourceAccessInfo) ResourceAccessInfo
Or returns value if set, or given parameter if does not.
func (*OptResourceAccessInfo) SetTo ¶
func (o *OptResourceAccessInfo) SetTo(v ResourceAccessInfo)
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 ¶
func (o OptSIPMediaEncryptionEnum) Get() (v SIPMediaEncryptionEnum, ok bool)
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) Reset ¶
func (o *OptSIPMediaEncryptionEnum) Reset()
Reset unsets value.
func (*OptSIPMediaEncryptionEnum) SetTo ¶
func (o *OptSIPMediaEncryptionEnum) SetTo(v SIPMediaEncryptionEnum)
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 ¶
func (o *OptSIPTrunkCredentialsRequestModel) Decode(d *jx.Decoder) error
Decode decodes SIPTrunkCredentialsRequestModel from json.
func (OptSIPTrunkCredentialsRequestModel) Encode ¶
func (o OptSIPTrunkCredentialsRequestModel) Encode(e *jx.Encoder)
Encode encodes SIPTrunkCredentialsRequestModel as json.
func (OptSIPTrunkCredentialsRequestModel) Get ¶
func (o OptSIPTrunkCredentialsRequestModel) Get() (v SIPTrunkCredentialsRequestModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSIPTrunkCredentialsRequestModel) IsSet ¶
func (o OptSIPTrunkCredentialsRequestModel) IsSet() bool
IsSet returns true if OptSIPTrunkCredentialsRequestModel was set.
func (OptSIPTrunkCredentialsRequestModel) MarshalJSON ¶
func (s OptSIPTrunkCredentialsRequestModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSIPTrunkCredentialsRequestModel) Or ¶
func (o OptSIPTrunkCredentialsRequestModel) Or(d SIPTrunkCredentialsRequestModel) SIPTrunkCredentialsRequestModel
Or returns value if set, or given parameter if does not.
func (*OptSIPTrunkCredentialsRequestModel) Reset ¶
func (o *OptSIPTrunkCredentialsRequestModel) Reset()
Reset unsets value.
func (*OptSIPTrunkCredentialsRequestModel) SetTo ¶
func (o *OptSIPTrunkCredentialsRequestModel) SetTo(v SIPTrunkCredentialsRequestModel)
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 ¶
func (o OptSIPTrunkTransportEnum) Get() (v SIPTrunkTransportEnum, ok bool)
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 ¶
func (o OptSIPTrunkTransportEnum) Or(d SIPTrunkTransportEnum) SIPTrunkTransportEnum
Or returns value if set, or given parameter if does not.
func (*OptSIPTrunkTransportEnum) Reset ¶
func (o *OptSIPTrunkTransportEnum) Reset()
Reset unsets value.
func (*OptSIPTrunkTransportEnum) SetTo ¶
func (o *OptSIPTrunkTransportEnum) SetTo(v SIPTrunkTransportEnum)
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 ¶
func (o OptSectionSource) Or(d SectionSource) SectionSource
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptSeparateSongStemsOutputFormat) Get() (v SeparateSongStemsOutputFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSeparateSongStemsOutputFormat) IsSet ¶
func (o OptSeparateSongStemsOutputFormat) IsSet() bool
IsSet returns true if OptSeparateSongStemsOutputFormat was set.
func (OptSeparateSongStemsOutputFormat) Or ¶
func (o OptSeparateSongStemsOutputFormat) Or(d SeparateSongStemsOutputFormat) SeparateSongStemsOutputFormat
Or returns value if set, or given parameter if does not.
func (*OptSeparateSongStemsOutputFormat) Reset ¶
func (o *OptSeparateSongStemsOutputFormat) Reset()
Reset unsets value.
func (*OptSeparateSongStemsOutputFormat) SetTo ¶
func (o *OptSeparateSongStemsOutputFormat) SetTo(v SeparateSongStemsOutputFormat)
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 ¶
func (o *OptSkipTurnToolResponseModelResultType) Decode(d *jx.Decoder) error
Decode decodes SkipTurnToolResponseModelResultType from json.
func (OptSkipTurnToolResponseModelResultType) Encode ¶
func (o OptSkipTurnToolResponseModelResultType) Encode(e *jx.Encoder)
Encode encodes SkipTurnToolResponseModelResultType as json.
func (OptSkipTurnToolResponseModelResultType) Get ¶
func (o OptSkipTurnToolResponseModelResultType) Get() (v SkipTurnToolResponseModelResultType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSkipTurnToolResponseModelResultType) IsSet ¶
func (o OptSkipTurnToolResponseModelResultType) IsSet() bool
IsSet returns true if OptSkipTurnToolResponseModelResultType was set.
func (OptSkipTurnToolResponseModelResultType) MarshalJSON ¶
func (s OptSkipTurnToolResponseModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSkipTurnToolResponseModelResultType) Or ¶
func (o OptSkipTurnToolResponseModelResultType) Or(d SkipTurnToolResponseModelResultType) SkipTurnToolResponseModelResultType
Or returns value if set, or given parameter if does not.
func (*OptSkipTurnToolResponseModelResultType) Reset ¶
func (o *OptSkipTurnToolResponseModelResultType) Reset()
Reset unsets value.
func (*OptSkipTurnToolResponseModelResultType) SetTo ¶
func (o *OptSkipTurnToolResponseModelResultType) SetTo(v SkipTurnToolResponseModelResultType)
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 ¶
func (o *OptSkipTurnToolResponseModelStatus) Decode(d *jx.Decoder) error
Decode decodes SkipTurnToolResponseModelStatus from json.
func (OptSkipTurnToolResponseModelStatus) Encode ¶
func (o OptSkipTurnToolResponseModelStatus) Encode(e *jx.Encoder)
Encode encodes SkipTurnToolResponseModelStatus as json.
func (OptSkipTurnToolResponseModelStatus) Get ¶
func (o OptSkipTurnToolResponseModelStatus) Get() (v SkipTurnToolResponseModelStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSkipTurnToolResponseModelStatus) IsSet ¶
func (o OptSkipTurnToolResponseModelStatus) IsSet() bool
IsSet returns true if OptSkipTurnToolResponseModelStatus was set.
func (OptSkipTurnToolResponseModelStatus) MarshalJSON ¶
func (s OptSkipTurnToolResponseModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSkipTurnToolResponseModelStatus) Or ¶
func (o OptSkipTurnToolResponseModelStatus) Or(d SkipTurnToolResponseModelStatus) SkipTurnToolResponseModelStatus
Or returns value if set, or given parameter if does not.
func (*OptSkipTurnToolResponseModelStatus) Reset ¶
func (o *OptSkipTurnToolResponseModelStatus) Reset()
Reset unsets value.
func (*OptSkipTurnToolResponseModelStatus) SetTo ¶
func (o *OptSkipTurnToolResponseModelStatus) SetTo(v SkipTurnToolResponseModelStatus)
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 ¶
func (o *OptSoftTimeoutConfigOverride) Decode(d *jx.Decoder) error
Decode decodes SoftTimeoutConfigOverride from json.
func (OptSoftTimeoutConfigOverride) Encode ¶
func (o OptSoftTimeoutConfigOverride) Encode(e *jx.Encoder)
Encode encodes SoftTimeoutConfigOverride as json.
func (OptSoftTimeoutConfigOverride) Get ¶
func (o OptSoftTimeoutConfigOverride) Get() (v SoftTimeoutConfigOverride, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSoftTimeoutConfigOverride) IsSet ¶
func (o OptSoftTimeoutConfigOverride) IsSet() bool
IsSet returns true if OptSoftTimeoutConfigOverride was set.
func (OptSoftTimeoutConfigOverride) MarshalJSON ¶
func (s OptSoftTimeoutConfigOverride) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptSoftTimeoutConfigOverride) Reset ¶
func (o *OptSoftTimeoutConfigOverride) Reset()
Reset unsets value.
func (*OptSoftTimeoutConfigOverride) SetTo ¶
func (o *OptSoftTimeoutConfigOverride) SetTo(v SoftTimeoutConfigOverride)
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 ¶
func (o OptSortDirection) Or(d SortDirection) SortDirection
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptSoundGenerationOutputFormat) Get() (v SoundGenerationOutputFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSoundGenerationOutputFormat) IsSet ¶
func (o OptSoundGenerationOutputFormat) IsSet() bool
IsSet returns true if OptSoundGenerationOutputFormat was set.
func (OptSoundGenerationOutputFormat) Or ¶
func (o OptSoundGenerationOutputFormat) Or(d SoundGenerationOutputFormat) SoundGenerationOutputFormat
Or returns value if set, or given parameter if does not.
func (*OptSoundGenerationOutputFormat) Reset ¶
func (o *OptSoundGenerationOutputFormat) Reset()
Reset unsets value.
func (*OptSoundGenerationOutputFormat) SetTo ¶
func (o *OptSoundGenerationOutputFormat) SetTo(v SoundGenerationOutputFormat)
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 ¶
func (o *OptSpeakerSeparationResponseModel) Decode(d *jx.Decoder) error
Decode decodes SpeakerSeparationResponseModel from json.
func (OptSpeakerSeparationResponseModel) Encode ¶
func (o OptSpeakerSeparationResponseModel) Encode(e *jx.Encoder)
Encode encodes SpeakerSeparationResponseModel as json.
func (OptSpeakerSeparationResponseModel) Get ¶
func (o OptSpeakerSeparationResponseModel) Get() (v SpeakerSeparationResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSpeakerSeparationResponseModel) IsSet ¶
func (o OptSpeakerSeparationResponseModel) IsSet() bool
IsSet returns true if OptSpeakerSeparationResponseModel was set.
func (OptSpeakerSeparationResponseModel) MarshalJSON ¶
func (s OptSpeakerSeparationResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSpeakerSeparationResponseModel) Or ¶
func (o OptSpeakerSeparationResponseModel) Or(d SpeakerSeparationResponseModel) SpeakerSeparationResponseModel
Or returns value if set, or given parameter if does not.
func (*OptSpeakerSeparationResponseModel) Reset ¶
func (o *OptSpeakerSeparationResponseModel) Reset()
Reset unsets value.
func (*OptSpeakerSeparationResponseModel) SetTo ¶
func (o *OptSpeakerSeparationResponseModel) SetTo(v SpeakerSeparationResponseModel)
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 ¶
func (o *OptSpeechHistoryItemResponseModelSettings) Decode(d *jx.Decoder) error
Decode decodes *SpeechHistoryItemResponseModelSettings from json.
func (OptSpeechHistoryItemResponseModelSettings) Encode ¶
func (o OptSpeechHistoryItemResponseModelSettings) Encode(e *jx.Encoder)
Encode encodes *SpeechHistoryItemResponseModelSettings as json.
func (OptSpeechHistoryItemResponseModelSettings) Get ¶
func (o OptSpeechHistoryItemResponseModelSettings) Get() (v *SpeechHistoryItemResponseModelSettings, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSpeechHistoryItemResponseModelSettings) IsSet ¶
func (o OptSpeechHistoryItemResponseModelSettings) IsSet() bool
IsSet returns true if OptSpeechHistoryItemResponseModelSettings was set.
func (OptSpeechHistoryItemResponseModelSettings) MarshalJSON ¶
func (s OptSpeechHistoryItemResponseModelSettings) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSpeechHistoryItemResponseModelSettings) Or ¶
func (o OptSpeechHistoryItemResponseModelSettings) Or(d *SpeechHistoryItemResponseModelSettings) *SpeechHistoryItemResponseModelSettings
Or returns value if set, or given parameter if does not.
func (*OptSpeechHistoryItemResponseModelSettings) Reset ¶
func (o *OptSpeechHistoryItemResponseModelSettings) Reset()
Reset unsets value.
func (*OptSpeechHistoryItemResponseModelSettings) SetTo ¶
func (o *OptSpeechHistoryItemResponseModelSettings) SetTo(v *SpeechHistoryItemResponseModelSettings)
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 ¶
func (o OptSpeechToSpeechFullOutputFormat) Get() (v SpeechToSpeechFullOutputFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSpeechToSpeechFullOutputFormat) IsSet ¶
func (o OptSpeechToSpeechFullOutputFormat) IsSet() bool
IsSet returns true if OptSpeechToSpeechFullOutputFormat was set.
func (OptSpeechToSpeechFullOutputFormat) Or ¶
func (o OptSpeechToSpeechFullOutputFormat) Or(d SpeechToSpeechFullOutputFormat) SpeechToSpeechFullOutputFormat
Or returns value if set, or given parameter if does not.
func (*OptSpeechToSpeechFullOutputFormat) Reset ¶
func (o *OptSpeechToSpeechFullOutputFormat) Reset()
Reset unsets value.
func (*OptSpeechToSpeechFullOutputFormat) SetTo ¶
func (o *OptSpeechToSpeechFullOutputFormat) SetTo(v SpeechToSpeechFullOutputFormat)
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 ¶
func (o OptSpeechToSpeechStreamOutputFormat) Get() (v SpeechToSpeechStreamOutputFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSpeechToSpeechStreamOutputFormat) IsSet ¶
func (o OptSpeechToSpeechStreamOutputFormat) IsSet() bool
IsSet returns true if OptSpeechToSpeechStreamOutputFormat was set.
func (OptSpeechToSpeechStreamOutputFormat) Or ¶
func (o OptSpeechToSpeechStreamOutputFormat) Or(d SpeechToSpeechStreamOutputFormat) SpeechToSpeechStreamOutputFormat
Or returns value if set, or given parameter if does not.
func (*OptSpeechToSpeechStreamOutputFormat) Reset ¶
func (o *OptSpeechToSpeechStreamOutputFormat) Reset()
Reset unsets value.
func (*OptSpeechToSpeechStreamOutputFormat) SetTo ¶
func (o *OptSpeechToSpeechStreamOutputFormat) SetTo(v SpeechToSpeechStreamOutputFormat)
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 ¶
func (o OptStreamComposeOutputFormat) Get() (v StreamComposeOutputFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptStreamComposeOutputFormat) IsSet ¶
func (o OptStreamComposeOutputFormat) IsSet() bool
IsSet returns true if OptStreamComposeOutputFormat was set.
func (*OptStreamComposeOutputFormat) Reset ¶
func (o *OptStreamComposeOutputFormat) Reset()
Reset unsets value.
func (*OptStreamComposeOutputFormat) SetTo ¶
func (o *OptStreamComposeOutputFormat) SetTo(v StreamComposeOutputFormat)
SetTo sets value to v.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type 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 ¶
func (o *OptTTSConversationalConfigOverride) Decode(d *jx.Decoder) error
Decode decodes TTSConversationalConfigOverride from json.
func (OptTTSConversationalConfigOverride) Encode ¶
func (o OptTTSConversationalConfigOverride) Encode(e *jx.Encoder)
Encode encodes TTSConversationalConfigOverride as json.
func (OptTTSConversationalConfigOverride) Get ¶
func (o OptTTSConversationalConfigOverride) Get() (v TTSConversationalConfigOverride, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTTSConversationalConfigOverride) IsSet ¶
func (o OptTTSConversationalConfigOverride) IsSet() bool
IsSet returns true if OptTTSConversationalConfigOverride was set.
func (OptTTSConversationalConfigOverride) MarshalJSON ¶
func (s OptTTSConversationalConfigOverride) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTTSConversationalConfigOverride) Or ¶
func (o OptTTSConversationalConfigOverride) Or(d TTSConversationalConfigOverride) TTSConversationalConfigOverride
Or returns value if set, or given parameter if does not.
func (*OptTTSConversationalConfigOverride) Reset ¶
func (o *OptTTSConversationalConfigOverride) Reset()
Reset unsets value.
func (*OptTTSConversationalConfigOverride) SetTo ¶
func (o *OptTTSConversationalConfigOverride) SetTo(v TTSConversationalConfigOverride)
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 ¶
func (o OptTelephonyProvider) Get() (v TelephonyProvider, ok bool)
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 ¶
func (o OptTelephonyProvider) Or(d TelephonyProvider) TelephonyProvider
Or returns value if set, or given parameter if does not.
func (*OptTelephonyProvider) SetTo ¶
func (o *OptTelephonyProvider) SetTo(v TelephonyProvider)
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 ¶
func (o *OptTestConditionRationaleCommonModel) Decode(d *jx.Decoder) error
Decode decodes TestConditionRationaleCommonModel from json.
func (OptTestConditionRationaleCommonModel) Encode ¶
func (o OptTestConditionRationaleCommonModel) Encode(e *jx.Encoder)
Encode encodes TestConditionRationaleCommonModel as json.
func (OptTestConditionRationaleCommonModel) Get ¶
func (o OptTestConditionRationaleCommonModel) Get() (v TestConditionRationaleCommonModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTestConditionRationaleCommonModel) IsSet ¶
func (o OptTestConditionRationaleCommonModel) IsSet() bool
IsSet returns true if OptTestConditionRationaleCommonModel was set.
func (OptTestConditionRationaleCommonModel) MarshalJSON ¶
func (s OptTestConditionRationaleCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTestConditionRationaleCommonModel) Or ¶
func (o OptTestConditionRationaleCommonModel) Or(d TestConditionRationaleCommonModel) TestConditionRationaleCommonModel
Or returns value if set, or given parameter if does not.
func (*OptTestConditionRationaleCommonModel) Reset ¶
func (o *OptTestConditionRationaleCommonModel) Reset()
Reset unsets value.
func (*OptTestConditionRationaleCommonModel) SetTo ¶
func (o *OptTestConditionRationaleCommonModel) SetTo(v TestConditionRationaleCommonModel)
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 ¶
func (o *OptTestConditionResultCommonModel) Decode(d *jx.Decoder) error
Decode decodes TestConditionResultCommonModel from json.
func (OptTestConditionResultCommonModel) Encode ¶
func (o OptTestConditionResultCommonModel) Encode(e *jx.Encoder)
Encode encodes TestConditionResultCommonModel as json.
func (OptTestConditionResultCommonModel) Get ¶
func (o OptTestConditionResultCommonModel) Get() (v TestConditionResultCommonModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTestConditionResultCommonModel) IsSet ¶
func (o OptTestConditionResultCommonModel) IsSet() bool
IsSet returns true if OptTestConditionResultCommonModel was set.
func (OptTestConditionResultCommonModel) MarshalJSON ¶
func (s OptTestConditionResultCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTestConditionResultCommonModel) Or ¶
func (o OptTestConditionResultCommonModel) Or(d TestConditionResultCommonModel) TestConditionResultCommonModel
Or returns value if set, or given parameter if does not.
func (*OptTestConditionResultCommonModel) Reset ¶
func (o *OptTestConditionResultCommonModel) Reset()
Reset unsets value.
func (*OptTestConditionResultCommonModel) SetTo ¶
func (o *OptTestConditionResultCommonModel) SetTo(v TestConditionResultCommonModel)
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 ¶
func (o *OptTestFromConversationMetadataInput) Decode(d *jx.Decoder) error
Decode decodes TestFromConversationMetadataInput from json.
func (OptTestFromConversationMetadataInput) Encode ¶
func (o OptTestFromConversationMetadataInput) Encode(e *jx.Encoder)
Encode encodes TestFromConversationMetadataInput as json.
func (OptTestFromConversationMetadataInput) Get ¶
func (o OptTestFromConversationMetadataInput) Get() (v TestFromConversationMetadataInput, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTestFromConversationMetadataInput) IsSet ¶
func (o OptTestFromConversationMetadataInput) IsSet() bool
IsSet returns true if OptTestFromConversationMetadataInput was set.
func (OptTestFromConversationMetadataInput) MarshalJSON ¶
func (s OptTestFromConversationMetadataInput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTestFromConversationMetadataInput) Or ¶
func (o OptTestFromConversationMetadataInput) Or(d TestFromConversationMetadataInput) TestFromConversationMetadataInput
Or returns value if set, or given parameter if does not.
func (*OptTestFromConversationMetadataInput) Reset ¶
func (o *OptTestFromConversationMetadataInput) Reset()
Reset unsets value.
func (*OptTestFromConversationMetadataInput) SetTo ¶
func (o *OptTestFromConversationMetadataInput) SetTo(v TestFromConversationMetadataInput)
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 ¶
func (o *OptTestFromConversationMetadataOutput) Decode(d *jx.Decoder) error
Decode decodes TestFromConversationMetadataOutput from json.
func (OptTestFromConversationMetadataOutput) Encode ¶
func (o OptTestFromConversationMetadataOutput) Encode(e *jx.Encoder)
Encode encodes TestFromConversationMetadataOutput as json.
func (OptTestFromConversationMetadataOutput) Get ¶
func (o OptTestFromConversationMetadataOutput) Get() (v TestFromConversationMetadataOutput, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTestFromConversationMetadataOutput) IsSet ¶
func (o OptTestFromConversationMetadataOutput) IsSet() bool
IsSet returns true if OptTestFromConversationMetadataOutput was set.
func (OptTestFromConversationMetadataOutput) MarshalJSON ¶
func (s OptTestFromConversationMetadataOutput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTestFromConversationMetadataOutput) Or ¶
func (o OptTestFromConversationMetadataOutput) Or(d TestFromConversationMetadataOutput) TestFromConversationMetadataOutput
Or returns value if set, or given parameter if does not.
func (*OptTestFromConversationMetadataOutput) Reset ¶
func (o *OptTestFromConversationMetadataOutput) Reset()
Reset unsets value.
func (*OptTestFromConversationMetadataOutput) SetTo ¶
func (o *OptTestFromConversationMetadataOutput) SetTo(v TestFromConversationMetadataOutput)
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 ¶
func (o OptTestRunMetadata) Or(d TestRunMetadata) TestRunMetadata
Or returns value if set, or given parameter if does not.
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 ¶
func (o *OptTestRunMetadataTestType) Decode(d *jx.Decoder) error
Decode decodes TestRunMetadataTestType from json.
func (OptTestRunMetadataTestType) Encode ¶
func (o OptTestRunMetadataTestType) Encode(e *jx.Encoder)
Encode encodes TestRunMetadataTestType as json.
func (OptTestRunMetadataTestType) Get ¶
func (o OptTestRunMetadataTestType) Get() (v TestRunMetadataTestType, ok bool)
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) Reset ¶
func (o *OptTestRunMetadataTestType) Reset()
Reset unsets value.
func (*OptTestRunMetadataTestType) SetTo ¶
func (o *OptTestRunMetadataTestType) SetTo(v TestRunMetadataTestType)
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 ¶
func (o *OptTestToolResultModelResultType) Decode(d *jx.Decoder) error
Decode decodes TestToolResultModelResultType from json.
func (OptTestToolResultModelResultType) Encode ¶
func (o OptTestToolResultModelResultType) Encode(e *jx.Encoder)
Encode encodes TestToolResultModelResultType as json.
func (OptTestToolResultModelResultType) Get ¶
func (o OptTestToolResultModelResultType) Get() (v TestToolResultModelResultType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTestToolResultModelResultType) IsSet ¶
func (o OptTestToolResultModelResultType) IsSet() bool
IsSet returns true if OptTestToolResultModelResultType was set.
func (OptTestToolResultModelResultType) MarshalJSON ¶
func (s OptTestToolResultModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTestToolResultModelResultType) Or ¶
func (o OptTestToolResultModelResultType) Or(d TestToolResultModelResultType) TestToolResultModelResultType
Or returns value if set, or given parameter if does not.
func (*OptTestToolResultModelResultType) Reset ¶
func (o *OptTestToolResultModelResultType) Reset()
Reset unsets value.
func (*OptTestToolResultModelResultType) SetTo ¶
func (o *OptTestToolResultModelResultType) SetTo(v TestToolResultModelResultType)
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 ¶
func (o *OptTestToolResultModelStatus) Decode(d *jx.Decoder) error
Decode decodes TestToolResultModelStatus from json.
func (OptTestToolResultModelStatus) Encode ¶
func (o OptTestToolResultModelStatus) Encode(e *jx.Encoder)
Encode encodes TestToolResultModelStatus as json.
func (OptTestToolResultModelStatus) Get ¶
func (o OptTestToolResultModelStatus) Get() (v TestToolResultModelStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTestToolResultModelStatus) IsSet ¶
func (o OptTestToolResultModelStatus) IsSet() bool
IsSet returns true if OptTestToolResultModelStatus was set.
func (OptTestToolResultModelStatus) MarshalJSON ¶
func (s OptTestToolResultModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptTestToolResultModelStatus) Reset ¶
func (o *OptTestToolResultModelStatus) Reset()
Reset unsets value.
func (*OptTestToolResultModelStatus) SetTo ¶
func (o *OptTestToolResultModelStatus) SetTo(v TestToolResultModelStatus)
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 ¶
func (o *OptTestsFeatureUsageCommonModel) Decode(d *jx.Decoder) error
Decode decodes TestsFeatureUsageCommonModel from json.
func (OptTestsFeatureUsageCommonModel) Encode ¶
func (o OptTestsFeatureUsageCommonModel) Encode(e *jx.Encoder)
Encode encodes TestsFeatureUsageCommonModel as json.
func (OptTestsFeatureUsageCommonModel) Get ¶
func (o OptTestsFeatureUsageCommonModel) Get() (v TestsFeatureUsageCommonModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTestsFeatureUsageCommonModel) IsSet ¶
func (o OptTestsFeatureUsageCommonModel) IsSet() bool
IsSet returns true if OptTestsFeatureUsageCommonModel was set.
func (OptTestsFeatureUsageCommonModel) MarshalJSON ¶
func (s OptTestsFeatureUsageCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTestsFeatureUsageCommonModel) Or ¶
func (o OptTestsFeatureUsageCommonModel) Or(d TestsFeatureUsageCommonModel) TestsFeatureUsageCommonModel
Or returns value if set, or given parameter if does not.
func (*OptTestsFeatureUsageCommonModel) Reset ¶
func (o *OptTestsFeatureUsageCommonModel) Reset()
Reset unsets value.
func (*OptTestsFeatureUsageCommonModel) SetTo ¶
func (o *OptTestsFeatureUsageCommonModel) SetTo(v TestsFeatureUsageCommonModel)
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 ¶
func (o OptTextToDialogueFullWithTimestampsOutputFormat) Get() (v TextToDialogueFullWithTimestampsOutputFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTextToDialogueFullWithTimestampsOutputFormat) IsSet ¶
func (o OptTextToDialogueFullWithTimestampsOutputFormat) IsSet() bool
IsSet returns true if OptTextToDialogueFullWithTimestampsOutputFormat was set.
func (OptTextToDialogueFullWithTimestampsOutputFormat) Or ¶
func (o OptTextToDialogueFullWithTimestampsOutputFormat) Or(d TextToDialogueFullWithTimestampsOutputFormat) TextToDialogueFullWithTimestampsOutputFormat
Or returns value if set, or given parameter if does not.
func (*OptTextToDialogueFullWithTimestampsOutputFormat) Reset ¶
func (o *OptTextToDialogueFullWithTimestampsOutputFormat) Reset()
Reset unsets value.
func (*OptTextToDialogueFullWithTimestampsOutputFormat) SetTo ¶
func (o *OptTextToDialogueFullWithTimestampsOutputFormat) SetTo(v TextToDialogueFullWithTimestampsOutputFormat)
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 ¶
func (o OptTextToDialogueOutputFormat) Get() (v TextToDialogueOutputFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTextToDialogueOutputFormat) IsSet ¶
func (o OptTextToDialogueOutputFormat) IsSet() bool
IsSet returns true if OptTextToDialogueOutputFormat was set.
func (*OptTextToDialogueOutputFormat) Reset ¶
func (o *OptTextToDialogueOutputFormat) Reset()
Reset unsets value.
func (*OptTextToDialogueOutputFormat) SetTo ¶
func (o *OptTextToDialogueOutputFormat) SetTo(v TextToDialogueOutputFormat)
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 ¶
func (o OptTextToDialogueStreamOutputFormat) Get() (v TextToDialogueStreamOutputFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTextToDialogueStreamOutputFormat) IsSet ¶
func (o OptTextToDialogueStreamOutputFormat) IsSet() bool
IsSet returns true if OptTextToDialogueStreamOutputFormat was set.
func (OptTextToDialogueStreamOutputFormat) Or ¶
func (o OptTextToDialogueStreamOutputFormat) Or(d TextToDialogueStreamOutputFormat) TextToDialogueStreamOutputFormat
Or returns value if set, or given parameter if does not.
func (*OptTextToDialogueStreamOutputFormat) Reset ¶
func (o *OptTextToDialogueStreamOutputFormat) Reset()
Reset unsets value.
func (*OptTextToDialogueStreamOutputFormat) SetTo ¶
func (o *OptTextToDialogueStreamOutputFormat) SetTo(v TextToDialogueStreamOutputFormat)
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 ¶
func (o OptTextToDialogueStreamWithTimestampsOutputFormat) Get() (v TextToDialogueStreamWithTimestampsOutputFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTextToDialogueStreamWithTimestampsOutputFormat) IsSet ¶
func (o OptTextToDialogueStreamWithTimestampsOutputFormat) IsSet() bool
IsSet returns true if OptTextToDialogueStreamWithTimestampsOutputFormat was set.
func (OptTextToDialogueStreamWithTimestampsOutputFormat) Or ¶
func (o OptTextToDialogueStreamWithTimestampsOutputFormat) Or(d TextToDialogueStreamWithTimestampsOutputFormat) TextToDialogueStreamWithTimestampsOutputFormat
Or returns value if set, or given parameter if does not.
func (*OptTextToDialogueStreamWithTimestampsOutputFormat) Reset ¶
func (o *OptTextToDialogueStreamWithTimestampsOutputFormat) Reset()
Reset unsets value.
func (*OptTextToDialogueStreamWithTimestampsOutputFormat) SetTo ¶
func (o *OptTextToDialogueStreamWithTimestampsOutputFormat) SetTo(v TextToDialogueStreamWithTimestampsOutputFormat)
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 ¶
func (o OptTextToSpeechFullOutputFormat) Get() (v TextToSpeechFullOutputFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTextToSpeechFullOutputFormat) IsSet ¶
func (o OptTextToSpeechFullOutputFormat) IsSet() bool
IsSet returns true if OptTextToSpeechFullOutputFormat was set.
func (OptTextToSpeechFullOutputFormat) Or ¶
func (o OptTextToSpeechFullOutputFormat) Or(d TextToSpeechFullOutputFormat) TextToSpeechFullOutputFormat
Or returns value if set, or given parameter if does not.
func (*OptTextToSpeechFullOutputFormat) Reset ¶
func (o *OptTextToSpeechFullOutputFormat) Reset()
Reset unsets value.
func (*OptTextToSpeechFullOutputFormat) SetTo ¶
func (o *OptTextToSpeechFullOutputFormat) SetTo(v TextToSpeechFullOutputFormat)
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 ¶
func (o OptTextToSpeechFullWithTimestampsOutputFormat) Get() (v TextToSpeechFullWithTimestampsOutputFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTextToSpeechFullWithTimestampsOutputFormat) IsSet ¶
func (o OptTextToSpeechFullWithTimestampsOutputFormat) IsSet() bool
IsSet returns true if OptTextToSpeechFullWithTimestampsOutputFormat was set.
func (OptTextToSpeechFullWithTimestampsOutputFormat) Or ¶
func (o OptTextToSpeechFullWithTimestampsOutputFormat) Or(d TextToSpeechFullWithTimestampsOutputFormat) TextToSpeechFullWithTimestampsOutputFormat
Or returns value if set, or given parameter if does not.
func (*OptTextToSpeechFullWithTimestampsOutputFormat) Reset ¶
func (o *OptTextToSpeechFullWithTimestampsOutputFormat) Reset()
Reset unsets value.
func (*OptTextToSpeechFullWithTimestampsOutputFormat) SetTo ¶
func (o *OptTextToSpeechFullWithTimestampsOutputFormat) SetTo(v TextToSpeechFullWithTimestampsOutputFormat)
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 ¶
func (o OptTextToSpeechStreamOutputFormat) Get() (v TextToSpeechStreamOutputFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTextToSpeechStreamOutputFormat) IsSet ¶
func (o OptTextToSpeechStreamOutputFormat) IsSet() bool
IsSet returns true if OptTextToSpeechStreamOutputFormat was set.
func (OptTextToSpeechStreamOutputFormat) Or ¶
func (o OptTextToSpeechStreamOutputFormat) Or(d TextToSpeechStreamOutputFormat) TextToSpeechStreamOutputFormat
Or returns value if set, or given parameter if does not.
func (*OptTextToSpeechStreamOutputFormat) Reset ¶
func (o *OptTextToSpeechStreamOutputFormat) Reset()
Reset unsets value.
func (*OptTextToSpeechStreamOutputFormat) SetTo ¶
func (o *OptTextToSpeechStreamOutputFormat) SetTo(v TextToSpeechStreamOutputFormat)
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 ¶
func (o OptTextToSpeechStreamWithTimestampsOutputFormat) Get() (v TextToSpeechStreamWithTimestampsOutputFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTextToSpeechStreamWithTimestampsOutputFormat) IsSet ¶
func (o OptTextToSpeechStreamWithTimestampsOutputFormat) IsSet() bool
IsSet returns true if OptTextToSpeechStreamWithTimestampsOutputFormat was set.
func (OptTextToSpeechStreamWithTimestampsOutputFormat) Or ¶
func (o OptTextToSpeechStreamWithTimestampsOutputFormat) Or(d TextToSpeechStreamWithTimestampsOutputFormat) TextToSpeechStreamWithTimestampsOutputFormat
Or returns value if set, or given parameter if does not.
func (*OptTextToSpeechStreamWithTimestampsOutputFormat) Reset ¶
func (o *OptTextToSpeechStreamWithTimestampsOutputFormat) Reset()
Reset unsets value.
func (*OptTextToSpeechStreamWithTimestampsOutputFormat) SetTo ¶
func (o *OptTextToSpeechStreamWithTimestampsOutputFormat) SetTo(v TextToSpeechStreamWithTimestampsOutputFormat)
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 ¶
func (o OptTextToVoiceDesignOutputFormat) Get() (v TextToVoiceDesignOutputFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTextToVoiceDesignOutputFormat) IsSet ¶
func (o OptTextToVoiceDesignOutputFormat) IsSet() bool
IsSet returns true if OptTextToVoiceDesignOutputFormat was set.
func (OptTextToVoiceDesignOutputFormat) Or ¶
func (o OptTextToVoiceDesignOutputFormat) Or(d TextToVoiceDesignOutputFormat) TextToVoiceDesignOutputFormat
Or returns value if set, or given parameter if does not.
func (*OptTextToVoiceDesignOutputFormat) Reset ¶
func (o *OptTextToVoiceDesignOutputFormat) Reset()
Reset unsets value.
func (*OptTextToVoiceDesignOutputFormat) SetTo ¶
func (o *OptTextToVoiceDesignOutputFormat) SetTo(v TextToVoiceDesignOutputFormat)
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 ¶
func (o OptTextToVoiceOutputFormat) Get() (v TextToVoiceOutputFormat, ok bool)
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) Reset ¶
func (o *OptTextToVoiceOutputFormat) Reset()
Reset unsets value.
func (*OptTextToVoiceOutputFormat) SetTo ¶
func (o *OptTextToVoiceOutputFormat) SetTo(v TextToVoiceOutputFormat)
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 ¶
func (o OptTextToVoiceRemixOutputFormat) Get() (v TextToVoiceRemixOutputFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTextToVoiceRemixOutputFormat) IsSet ¶
func (o OptTextToVoiceRemixOutputFormat) IsSet() bool
IsSet returns true if OptTextToVoiceRemixOutputFormat was set.
func (OptTextToVoiceRemixOutputFormat) Or ¶
func (o OptTextToVoiceRemixOutputFormat) Or(d TextToVoiceRemixOutputFormat) TextToVoiceRemixOutputFormat
Or returns value if set, or given parameter if does not.
func (*OptTextToVoiceRemixOutputFormat) Reset ¶
func (o *OptTextToVoiceRemixOutputFormat) Reset()
Reset unsets value.
func (*OptTextToVoiceRemixOutputFormat) SetTo ¶
func (o *OptTextToVoiceRemixOutputFormat) SetTo(v TextToVoiceRemixOutputFormat)
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 ¶
func (o OptToolAnnotations) Or(d ToolAnnotations) ToolAnnotations
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptToolCallSoundBehavior) Get() (v ToolCallSoundBehavior, ok bool)
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 ¶
func (o OptToolCallSoundBehavior) Or(d ToolCallSoundBehavior) ToolCallSoundBehavior
Or returns value if set, or given parameter if does not.
func (*OptToolCallSoundBehavior) Reset ¶
func (o *OptToolCallSoundBehavior) Reset()
Reset unsets value.
func (*OptToolCallSoundBehavior) SetTo ¶
func (o *OptToolCallSoundBehavior) SetTo(v ToolCallSoundBehavior)
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 ¶
func (o OptToolCallSoundType) Get() (v ToolCallSoundType, ok bool)
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 ¶
func (o OptToolCallSoundType) Or(d ToolCallSoundType) ToolCallSoundType
Or returns value if set, or given parameter if does not.
func (*OptToolCallSoundType) SetTo ¶
func (o *OptToolCallSoundType) SetTo(v ToolCallSoundType)
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 ¶
func (o OptToolExecutionMode) Get() (v ToolExecutionMode, ok bool)
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 ¶
func (o OptToolExecutionMode) Or(d ToolExecutionMode) ToolExecutionMode
Or returns value if set, or given parameter if does not.
func (*OptToolExecutionMode) SetTo ¶
func (o *OptToolExecutionMode) SetTo(v ToolExecutionMode)
SetTo sets value to v.
func (*OptToolExecutionMode) UnmarshalJSON ¶
func (s *OptToolExecutionMode) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptToolMeta ¶
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) 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 ¶
func (o OptToolOutputSchema) Or(d *ToolOutputSchema) *ToolOutputSchema
Or returns value if set, or given parameter if does not.
func (*OptToolOutputSchema) SetTo ¶
func (o *OptToolOutputSchema) SetTo(v *ToolOutputSchema)
SetTo sets value to v.
func (*OptToolOutputSchema) UnmarshalJSON ¶
func (s *OptToolOutputSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptToolType ¶
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) 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 ¶
func (o *OptTransferToAgentToolResultErrorModelResultType) Decode(d *jx.Decoder) error
Decode decodes TransferToAgentToolResultErrorModelResultType from json.
func (OptTransferToAgentToolResultErrorModelResultType) Encode ¶
func (o OptTransferToAgentToolResultErrorModelResultType) Encode(e *jx.Encoder)
Encode encodes TransferToAgentToolResultErrorModelResultType as json.
func (OptTransferToAgentToolResultErrorModelResultType) Get ¶
func (o OptTransferToAgentToolResultErrorModelResultType) Get() (v TransferToAgentToolResultErrorModelResultType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTransferToAgentToolResultErrorModelResultType) IsSet ¶
func (o OptTransferToAgentToolResultErrorModelResultType) IsSet() bool
IsSet returns true if OptTransferToAgentToolResultErrorModelResultType was set.
func (OptTransferToAgentToolResultErrorModelResultType) MarshalJSON ¶
func (s OptTransferToAgentToolResultErrorModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTransferToAgentToolResultErrorModelResultType) Or ¶
func (o OptTransferToAgentToolResultErrorModelResultType) Or(d TransferToAgentToolResultErrorModelResultType) TransferToAgentToolResultErrorModelResultType
Or returns value if set, or given parameter if does not.
func (*OptTransferToAgentToolResultErrorModelResultType) Reset ¶
func (o *OptTransferToAgentToolResultErrorModelResultType) Reset()
Reset unsets value.
func (*OptTransferToAgentToolResultErrorModelResultType) SetTo ¶
func (o *OptTransferToAgentToolResultErrorModelResultType) SetTo(v TransferToAgentToolResultErrorModelResultType)
SetTo sets value to v.
func (*OptTransferToAgentToolResultErrorModelResultType) UnmarshalJSON ¶
func (s *OptTransferToAgentToolResultErrorModelResultType) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptTransferToAgentToolResultErrorModelStatus) Decode(d *jx.Decoder) error
Decode decodes TransferToAgentToolResultErrorModelStatus from json.
func (OptTransferToAgentToolResultErrorModelStatus) Encode ¶
func (o OptTransferToAgentToolResultErrorModelStatus) Encode(e *jx.Encoder)
Encode encodes TransferToAgentToolResultErrorModelStatus as json.
func (OptTransferToAgentToolResultErrorModelStatus) Get ¶
func (o OptTransferToAgentToolResultErrorModelStatus) Get() (v TransferToAgentToolResultErrorModelStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTransferToAgentToolResultErrorModelStatus) IsSet ¶
func (o OptTransferToAgentToolResultErrorModelStatus) IsSet() bool
IsSet returns true if OptTransferToAgentToolResultErrorModelStatus was set.
func (OptTransferToAgentToolResultErrorModelStatus) MarshalJSON ¶
func (s OptTransferToAgentToolResultErrorModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTransferToAgentToolResultErrorModelStatus) Or ¶
func (o OptTransferToAgentToolResultErrorModelStatus) Or(d TransferToAgentToolResultErrorModelStatus) TransferToAgentToolResultErrorModelStatus
Or returns value if set, or given parameter if does not.
func (*OptTransferToAgentToolResultErrorModelStatus) Reset ¶
func (o *OptTransferToAgentToolResultErrorModelStatus) Reset()
Reset unsets value.
func (*OptTransferToAgentToolResultErrorModelStatus) SetTo ¶
func (o *OptTransferToAgentToolResultErrorModelStatus) SetTo(v TransferToAgentToolResultErrorModelStatus)
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 ¶
func (o *OptTransferToAgentToolResultSuccessModelResultType) Decode(d *jx.Decoder) error
Decode decodes TransferToAgentToolResultSuccessModelResultType from json.
func (OptTransferToAgentToolResultSuccessModelResultType) Encode ¶
func (o OptTransferToAgentToolResultSuccessModelResultType) Encode(e *jx.Encoder)
Encode encodes TransferToAgentToolResultSuccessModelResultType as json.
func (OptTransferToAgentToolResultSuccessModelResultType) Get ¶
func (o OptTransferToAgentToolResultSuccessModelResultType) Get() (v TransferToAgentToolResultSuccessModelResultType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTransferToAgentToolResultSuccessModelResultType) IsSet ¶
func (o OptTransferToAgentToolResultSuccessModelResultType) IsSet() bool
IsSet returns true if OptTransferToAgentToolResultSuccessModelResultType was set.
func (OptTransferToAgentToolResultSuccessModelResultType) MarshalJSON ¶
func (s OptTransferToAgentToolResultSuccessModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTransferToAgentToolResultSuccessModelResultType) Or ¶
func (o OptTransferToAgentToolResultSuccessModelResultType) Or(d TransferToAgentToolResultSuccessModelResultType) TransferToAgentToolResultSuccessModelResultType
Or returns value if set, or given parameter if does not.
func (*OptTransferToAgentToolResultSuccessModelResultType) Reset ¶
func (o *OptTransferToAgentToolResultSuccessModelResultType) Reset()
Reset unsets value.
func (*OptTransferToAgentToolResultSuccessModelResultType) SetTo ¶
func (o *OptTransferToAgentToolResultSuccessModelResultType) SetTo(v TransferToAgentToolResultSuccessModelResultType)
SetTo sets value to v.
func (*OptTransferToAgentToolResultSuccessModelResultType) UnmarshalJSON ¶
func (s *OptTransferToAgentToolResultSuccessModelResultType) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptTransferToAgentToolResultSuccessModelStatus) Decode(d *jx.Decoder) error
Decode decodes TransferToAgentToolResultSuccessModelStatus from json.
func (OptTransferToAgentToolResultSuccessModelStatus) Encode ¶
func (o OptTransferToAgentToolResultSuccessModelStatus) Encode(e *jx.Encoder)
Encode encodes TransferToAgentToolResultSuccessModelStatus as json.
func (OptTransferToAgentToolResultSuccessModelStatus) Get ¶
func (o OptTransferToAgentToolResultSuccessModelStatus) Get() (v TransferToAgentToolResultSuccessModelStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTransferToAgentToolResultSuccessModelStatus) IsSet ¶
func (o OptTransferToAgentToolResultSuccessModelStatus) IsSet() bool
IsSet returns true if OptTransferToAgentToolResultSuccessModelStatus was set.
func (OptTransferToAgentToolResultSuccessModelStatus) MarshalJSON ¶
func (s OptTransferToAgentToolResultSuccessModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTransferToAgentToolResultSuccessModelStatus) Or ¶
func (o OptTransferToAgentToolResultSuccessModelStatus) Or(d TransferToAgentToolResultSuccessModelStatus) TransferToAgentToolResultSuccessModelStatus
Or returns value if set, or given parameter if does not.
func (*OptTransferToAgentToolResultSuccessModelStatus) Reset ¶
func (o *OptTransferToAgentToolResultSuccessModelStatus) Reset()
Reset unsets value.
func (*OptTransferToAgentToolResultSuccessModelStatus) SetTo ¶
func (o *OptTransferToAgentToolResultSuccessModelStatus) SetTo(v TransferToAgentToolResultSuccessModelStatus)
SetTo sets value to v.
func (*OptTransferToAgentToolResultSuccessModelStatus) UnmarshalJSON ¶
func (s *OptTransferToAgentToolResultSuccessModelStatus) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptTransferToNumberResultErrorModelResultType) Decode(d *jx.Decoder) error
Decode decodes TransferToNumberResultErrorModelResultType from json.
func (OptTransferToNumberResultErrorModelResultType) Encode ¶
func (o OptTransferToNumberResultErrorModelResultType) Encode(e *jx.Encoder)
Encode encodes TransferToNumberResultErrorModelResultType as json.
func (OptTransferToNumberResultErrorModelResultType) Get ¶
func (o OptTransferToNumberResultErrorModelResultType) Get() (v TransferToNumberResultErrorModelResultType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTransferToNumberResultErrorModelResultType) IsSet ¶
func (o OptTransferToNumberResultErrorModelResultType) IsSet() bool
IsSet returns true if OptTransferToNumberResultErrorModelResultType was set.
func (OptTransferToNumberResultErrorModelResultType) MarshalJSON ¶
func (s OptTransferToNumberResultErrorModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTransferToNumberResultErrorModelResultType) Or ¶
func (o OptTransferToNumberResultErrorModelResultType) Or(d TransferToNumberResultErrorModelResultType) TransferToNumberResultErrorModelResultType
Or returns value if set, or given parameter if does not.
func (*OptTransferToNumberResultErrorModelResultType) Reset ¶
func (o *OptTransferToNumberResultErrorModelResultType) Reset()
Reset unsets value.
func (*OptTransferToNumberResultErrorModelResultType) SetTo ¶
func (o *OptTransferToNumberResultErrorModelResultType) SetTo(v TransferToNumberResultErrorModelResultType)
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 ¶
func (o *OptTransferToNumberResultErrorModelStatus) Decode(d *jx.Decoder) error
Decode decodes TransferToNumberResultErrorModelStatus from json.
func (OptTransferToNumberResultErrorModelStatus) Encode ¶
func (o OptTransferToNumberResultErrorModelStatus) Encode(e *jx.Encoder)
Encode encodes TransferToNumberResultErrorModelStatus as json.
func (OptTransferToNumberResultErrorModelStatus) Get ¶
func (o OptTransferToNumberResultErrorModelStatus) Get() (v TransferToNumberResultErrorModelStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTransferToNumberResultErrorModelStatus) IsSet ¶
func (o OptTransferToNumberResultErrorModelStatus) IsSet() bool
IsSet returns true if OptTransferToNumberResultErrorModelStatus was set.
func (OptTransferToNumberResultErrorModelStatus) MarshalJSON ¶
func (s OptTransferToNumberResultErrorModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTransferToNumberResultErrorModelStatus) Or ¶
func (o OptTransferToNumberResultErrorModelStatus) Or(d TransferToNumberResultErrorModelStatus) TransferToNumberResultErrorModelStatus
Or returns value if set, or given parameter if does not.
func (*OptTransferToNumberResultErrorModelStatus) Reset ¶
func (o *OptTransferToNumberResultErrorModelStatus) Reset()
Reset unsets value.
func (*OptTransferToNumberResultErrorModelStatus) SetTo ¶
func (o *OptTransferToNumberResultErrorModelStatus) SetTo(v TransferToNumberResultErrorModelStatus)
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 ¶
func (o *OptTransferToNumberResultSipSuccessModelResultType) Decode(d *jx.Decoder) error
Decode decodes TransferToNumberResultSipSuccessModelResultType from json.
func (OptTransferToNumberResultSipSuccessModelResultType) Encode ¶
func (o OptTransferToNumberResultSipSuccessModelResultType) Encode(e *jx.Encoder)
Encode encodes TransferToNumberResultSipSuccessModelResultType as json.
func (OptTransferToNumberResultSipSuccessModelResultType) Get ¶
func (o OptTransferToNumberResultSipSuccessModelResultType) Get() (v TransferToNumberResultSipSuccessModelResultType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTransferToNumberResultSipSuccessModelResultType) IsSet ¶
func (o OptTransferToNumberResultSipSuccessModelResultType) IsSet() bool
IsSet returns true if OptTransferToNumberResultSipSuccessModelResultType was set.
func (OptTransferToNumberResultSipSuccessModelResultType) MarshalJSON ¶
func (s OptTransferToNumberResultSipSuccessModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTransferToNumberResultSipSuccessModelResultType) Or ¶
func (o OptTransferToNumberResultSipSuccessModelResultType) Or(d TransferToNumberResultSipSuccessModelResultType) TransferToNumberResultSipSuccessModelResultType
Or returns value if set, or given parameter if does not.
func (*OptTransferToNumberResultSipSuccessModelResultType) Reset ¶
func (o *OptTransferToNumberResultSipSuccessModelResultType) Reset()
Reset unsets value.
func (*OptTransferToNumberResultSipSuccessModelResultType) SetTo ¶
func (o *OptTransferToNumberResultSipSuccessModelResultType) SetTo(v TransferToNumberResultSipSuccessModelResultType)
SetTo sets value to v.
func (*OptTransferToNumberResultSipSuccessModelResultType) UnmarshalJSON ¶
func (s *OptTransferToNumberResultSipSuccessModelResultType) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptTransferToNumberResultSipSuccessModelStatus) Decode(d *jx.Decoder) error
Decode decodes TransferToNumberResultSipSuccessModelStatus from json.
func (OptTransferToNumberResultSipSuccessModelStatus) Encode ¶
func (o OptTransferToNumberResultSipSuccessModelStatus) Encode(e *jx.Encoder)
Encode encodes TransferToNumberResultSipSuccessModelStatus as json.
func (OptTransferToNumberResultSipSuccessModelStatus) Get ¶
func (o OptTransferToNumberResultSipSuccessModelStatus) Get() (v TransferToNumberResultSipSuccessModelStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTransferToNumberResultSipSuccessModelStatus) IsSet ¶
func (o OptTransferToNumberResultSipSuccessModelStatus) IsSet() bool
IsSet returns true if OptTransferToNumberResultSipSuccessModelStatus was set.
func (OptTransferToNumberResultSipSuccessModelStatus) MarshalJSON ¶
func (s OptTransferToNumberResultSipSuccessModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTransferToNumberResultSipSuccessModelStatus) Or ¶
func (o OptTransferToNumberResultSipSuccessModelStatus) Or(d TransferToNumberResultSipSuccessModelStatus) TransferToNumberResultSipSuccessModelStatus
Or returns value if set, or given parameter if does not.
func (*OptTransferToNumberResultSipSuccessModelStatus) Reset ¶
func (o *OptTransferToNumberResultSipSuccessModelStatus) Reset()
Reset unsets value.
func (*OptTransferToNumberResultSipSuccessModelStatus) SetTo ¶
func (o *OptTransferToNumberResultSipSuccessModelStatus) SetTo(v TransferToNumberResultSipSuccessModelStatus)
SetTo sets value to v.
func (*OptTransferToNumberResultSipSuccessModelStatus) UnmarshalJSON ¶
func (s *OptTransferToNumberResultSipSuccessModelStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptTransferToNumberResultTwilioSuccessModelResultType ¶
type OptTransferToNumberResultTwilioSuccessModelResultType struct {
Value TransferToNumberResultTwilioSuccessModelResultType
Set bool
}
OptTransferToNumberResultTwilioSuccessModelResultType is optional TransferToNumberResultTwilioSuccessModelResultType.
func NewOptTransferToNumberResultTwilioSuccessModelResultType ¶
func NewOptTransferToNumberResultTwilioSuccessModelResultType(v TransferToNumberResultTwilioSuccessModelResultType) OptTransferToNumberResultTwilioSuccessModelResultType
NewOptTransferToNumberResultTwilioSuccessModelResultType returns new OptTransferToNumberResultTwilioSuccessModelResultType with value set to v.
func (*OptTransferToNumberResultTwilioSuccessModelResultType) Decode ¶
func (o *OptTransferToNumberResultTwilioSuccessModelResultType) Decode(d *jx.Decoder) error
Decode decodes TransferToNumberResultTwilioSuccessModelResultType from json.
func (OptTransferToNumberResultTwilioSuccessModelResultType) Encode ¶
func (o OptTransferToNumberResultTwilioSuccessModelResultType) Encode(e *jx.Encoder)
Encode encodes TransferToNumberResultTwilioSuccessModelResultType as json.
func (OptTransferToNumberResultTwilioSuccessModelResultType) Get ¶
func (o OptTransferToNumberResultTwilioSuccessModelResultType) Get() (v TransferToNumberResultTwilioSuccessModelResultType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTransferToNumberResultTwilioSuccessModelResultType) IsSet ¶
func (o OptTransferToNumberResultTwilioSuccessModelResultType) IsSet() bool
IsSet returns true if OptTransferToNumberResultTwilioSuccessModelResultType was set.
func (OptTransferToNumberResultTwilioSuccessModelResultType) MarshalJSON ¶
func (s OptTransferToNumberResultTwilioSuccessModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTransferToNumberResultTwilioSuccessModelResultType) Or ¶
func (o OptTransferToNumberResultTwilioSuccessModelResultType) Or(d TransferToNumberResultTwilioSuccessModelResultType) TransferToNumberResultTwilioSuccessModelResultType
Or returns value if set, or given parameter if does not.
func (*OptTransferToNumberResultTwilioSuccessModelResultType) Reset ¶
func (o *OptTransferToNumberResultTwilioSuccessModelResultType) Reset()
Reset unsets value.
func (*OptTransferToNumberResultTwilioSuccessModelResultType) SetTo ¶
func (o *OptTransferToNumberResultTwilioSuccessModelResultType) SetTo(v TransferToNumberResultTwilioSuccessModelResultType)
SetTo sets value to v.
func (*OptTransferToNumberResultTwilioSuccessModelResultType) UnmarshalJSON ¶
func (s *OptTransferToNumberResultTwilioSuccessModelResultType) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptTransferToNumberResultTwilioSuccessModelStatus) Decode(d *jx.Decoder) error
Decode decodes TransferToNumberResultTwilioSuccessModelStatus from json.
func (OptTransferToNumberResultTwilioSuccessModelStatus) Encode ¶
func (o OptTransferToNumberResultTwilioSuccessModelStatus) Encode(e *jx.Encoder)
Encode encodes TransferToNumberResultTwilioSuccessModelStatus as json.
func (OptTransferToNumberResultTwilioSuccessModelStatus) Get ¶
func (o OptTransferToNumberResultTwilioSuccessModelStatus) Get() (v TransferToNumberResultTwilioSuccessModelStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTransferToNumberResultTwilioSuccessModelStatus) IsSet ¶
func (o OptTransferToNumberResultTwilioSuccessModelStatus) IsSet() bool
IsSet returns true if OptTransferToNumberResultTwilioSuccessModelStatus was set.
func (OptTransferToNumberResultTwilioSuccessModelStatus) MarshalJSON ¶
func (s OptTransferToNumberResultTwilioSuccessModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTransferToNumberResultTwilioSuccessModelStatus) Or ¶
func (o OptTransferToNumberResultTwilioSuccessModelStatus) Or(d TransferToNumberResultTwilioSuccessModelStatus) TransferToNumberResultTwilioSuccessModelStatus
Or returns value if set, or given parameter if does not.
func (*OptTransferToNumberResultTwilioSuccessModelStatus) Reset ¶
func (o *OptTransferToNumberResultTwilioSuccessModelStatus) Reset()
Reset unsets value.
func (*OptTransferToNumberResultTwilioSuccessModelStatus) SetTo ¶
func (o *OptTransferToNumberResultTwilioSuccessModelStatus) SetTo(v TransferToNumberResultTwilioSuccessModelStatus)
SetTo sets value to v.
func (*OptTransferToNumberResultTwilioSuccessModelStatus) UnmarshalJSON ¶
func (s *OptTransferToNumberResultTwilioSuccessModelStatus) UnmarshalJSON(data []byte) error
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 ¶
func (o OptTurnConfigOverride) Get() (v TurnConfigOverride, ok bool)
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 ¶
func (o OptTurnConfigOverride) Or(d TurnConfigOverride) TurnConfigOverride
Or returns value if set, or given parameter if does not.
func (*OptTurnConfigOverride) SetTo ¶
func (o *OptTurnConfigOverride) SetTo(v TurnConfigOverride)
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 ¶
func (o OptUnitTestCommonModel) Get() (v UnitTestCommonModel, ok bool)
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 ¶
func (o OptUnitTestCommonModel) Or(d UnitTestCommonModel) UnitTestCommonModel
Or returns value if set, or given parameter if does not.
func (*OptUnitTestCommonModel) SetTo ¶
func (o *OptUnitTestCommonModel) SetTo(v UnitTestCommonModel)
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 ¶
func (o *OptUnitTestCommonModelDynamicVariables) Decode(d *jx.Decoder) error
Decode decodes UnitTestCommonModelDynamicVariables from json.
func (OptUnitTestCommonModelDynamicVariables) Encode ¶
func (o OptUnitTestCommonModelDynamicVariables) Encode(e *jx.Encoder)
Encode encodes UnitTestCommonModelDynamicVariables as json.
func (OptUnitTestCommonModelDynamicVariables) Get ¶
func (o OptUnitTestCommonModelDynamicVariables) Get() (v UnitTestCommonModelDynamicVariables, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUnitTestCommonModelDynamicVariables) IsSet ¶
func (o OptUnitTestCommonModelDynamicVariables) IsSet() bool
IsSet returns true if OptUnitTestCommonModelDynamicVariables was set.
func (OptUnitTestCommonModelDynamicVariables) MarshalJSON ¶
func (s OptUnitTestCommonModelDynamicVariables) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUnitTestCommonModelDynamicVariables) Or ¶
func (o OptUnitTestCommonModelDynamicVariables) Or(d UnitTestCommonModelDynamicVariables) UnitTestCommonModelDynamicVariables
Or returns value if set, or given parameter if does not.
func (*OptUnitTestCommonModelDynamicVariables) Reset ¶
func (o *OptUnitTestCommonModelDynamicVariables) Reset()
Reset unsets value.
func (*OptUnitTestCommonModelDynamicVariables) SetTo ¶
func (o *OptUnitTestCommonModelDynamicVariables) SetTo(v UnitTestCommonModelDynamicVariables)
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 ¶
func (o *OptUnitTestCommonModelType) Decode(d *jx.Decoder) error
Decode decodes UnitTestCommonModelType from json.
func (OptUnitTestCommonModelType) Encode ¶
func (o OptUnitTestCommonModelType) Encode(e *jx.Encoder)
Encode encodes UnitTestCommonModelType as json.
func (OptUnitTestCommonModelType) Get ¶
func (o OptUnitTestCommonModelType) Get() (v UnitTestCommonModelType, ok bool)
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) Reset ¶
func (o *OptUnitTestCommonModelType) Reset()
Reset unsets value.
func (*OptUnitTestCommonModelType) SetTo ¶
func (o *OptUnitTestCommonModelType) SetTo(v UnitTestCommonModelType)
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 ¶
func (o *OptUnitTestToolCallEvaluationModelInput) Decode(d *jx.Decoder) error
Decode decodes UnitTestToolCallEvaluationModelInput from json.
func (OptUnitTestToolCallEvaluationModelInput) Encode ¶
func (o OptUnitTestToolCallEvaluationModelInput) Encode(e *jx.Encoder)
Encode encodes UnitTestToolCallEvaluationModelInput as json.
func (OptUnitTestToolCallEvaluationModelInput) Get ¶
func (o OptUnitTestToolCallEvaluationModelInput) Get() (v UnitTestToolCallEvaluationModelInput, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUnitTestToolCallEvaluationModelInput) IsSet ¶
func (o OptUnitTestToolCallEvaluationModelInput) IsSet() bool
IsSet returns true if OptUnitTestToolCallEvaluationModelInput was set.
func (OptUnitTestToolCallEvaluationModelInput) MarshalJSON ¶
func (s OptUnitTestToolCallEvaluationModelInput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUnitTestToolCallEvaluationModelInput) Or ¶
func (o OptUnitTestToolCallEvaluationModelInput) Or(d UnitTestToolCallEvaluationModelInput) UnitTestToolCallEvaluationModelInput
Or returns value if set, or given parameter if does not.
func (*OptUnitTestToolCallEvaluationModelInput) Reset ¶
func (o *OptUnitTestToolCallEvaluationModelInput) Reset()
Reset unsets value.
func (*OptUnitTestToolCallEvaluationModelInput) SetTo ¶
func (o *OptUnitTestToolCallEvaluationModelInput) SetTo(v UnitTestToolCallEvaluationModelInput)
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 ¶
func (o *OptUnitTestToolCallEvaluationModelOutput) Decode(d *jx.Decoder) error
Decode decodes UnitTestToolCallEvaluationModelOutput from json.
func (OptUnitTestToolCallEvaluationModelOutput) Encode ¶
func (o OptUnitTestToolCallEvaluationModelOutput) Encode(e *jx.Encoder)
Encode encodes UnitTestToolCallEvaluationModelOutput as json.
func (OptUnitTestToolCallEvaluationModelOutput) Get ¶
func (o OptUnitTestToolCallEvaluationModelOutput) Get() (v UnitTestToolCallEvaluationModelOutput, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUnitTestToolCallEvaluationModelOutput) IsSet ¶
func (o OptUnitTestToolCallEvaluationModelOutput) IsSet() bool
IsSet returns true if OptUnitTestToolCallEvaluationModelOutput was set.
func (OptUnitTestToolCallEvaluationModelOutput) MarshalJSON ¶
func (s OptUnitTestToolCallEvaluationModelOutput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUnitTestToolCallEvaluationModelOutput) Or ¶
func (o OptUnitTestToolCallEvaluationModelOutput) Or(d UnitTestToolCallEvaluationModelOutput) UnitTestToolCallEvaluationModelOutput
Or returns value if set, or given parameter if does not.
func (*OptUnitTestToolCallEvaluationModelOutput) Reset ¶
func (o *OptUnitTestToolCallEvaluationModelOutput) Reset()
Reset unsets value.
func (*OptUnitTestToolCallEvaluationModelOutput) SetTo ¶
func (o *OptUnitTestToolCallEvaluationModelOutput) SetTo(v UnitTestToolCallEvaluationModelOutput)
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 ¶
func (o *OptUpdateUnitTestRequestDynamicVariables) Decode(d *jx.Decoder) error
Decode decodes UpdateUnitTestRequestDynamicVariables from json.
func (OptUpdateUnitTestRequestDynamicVariables) Encode ¶
func (o OptUpdateUnitTestRequestDynamicVariables) Encode(e *jx.Encoder)
Encode encodes UpdateUnitTestRequestDynamicVariables as json.
func (OptUpdateUnitTestRequestDynamicVariables) Get ¶
func (o OptUpdateUnitTestRequestDynamicVariables) Get() (v UpdateUnitTestRequestDynamicVariables, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUpdateUnitTestRequestDynamicVariables) IsSet ¶
func (o OptUpdateUnitTestRequestDynamicVariables) IsSet() bool
IsSet returns true if OptUpdateUnitTestRequestDynamicVariables was set.
func (OptUpdateUnitTestRequestDynamicVariables) MarshalJSON ¶
func (s OptUpdateUnitTestRequestDynamicVariables) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUpdateUnitTestRequestDynamicVariables) Or ¶
func (o OptUpdateUnitTestRequestDynamicVariables) Or(d UpdateUnitTestRequestDynamicVariables) UpdateUnitTestRequestDynamicVariables
Or returns value if set, or given parameter if does not.
func (*OptUpdateUnitTestRequestDynamicVariables) Reset ¶
func (o *OptUpdateUnitTestRequestDynamicVariables) Reset()
Reset unsets value.
func (*OptUpdateUnitTestRequestDynamicVariables) SetTo ¶
func (o *OptUpdateUnitTestRequestDynamicVariables) SetTo(v UpdateUnitTestRequestDynamicVariables)
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 ¶
func (o OptUsageAggregationInterval) Get() (v UsageAggregationInterval, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUsageAggregationInterval) IsSet ¶
func (o OptUsageAggregationInterval) IsSet() bool
IsSet returns true if OptUsageAggregationInterval was set.
func (*OptUsageAggregationInterval) Reset ¶
func (o *OptUsageAggregationInterval) Reset()
Reset unsets value.
func (*OptUsageAggregationInterval) SetTo ¶
func (o *OptUsageAggregationInterval) SetTo(v UsageAggregationInterval)
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 ¶
func (o OptUserFeedback) Or(d UserFeedback) UserFeedback
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptUserFeedbackScore) Get() (v UserFeedbackScore, ok bool)
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 ¶
func (o OptUserFeedbackScore) Or(d UserFeedbackScore) UserFeedbackScore
Or returns value if set, or given parameter if does not.
func (*OptUserFeedbackScore) SetTo ¶
func (o *OptUserFeedbackScore) SetTo(v UserFeedbackScore)
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 ¶
func (o *OptVoiceDesignRequestModelModelID) Decode(d *jx.Decoder) error
Decode decodes VoiceDesignRequestModelModelID from json.
func (OptVoiceDesignRequestModelModelID) Encode ¶
func (o OptVoiceDesignRequestModelModelID) Encode(e *jx.Encoder)
Encode encodes VoiceDesignRequestModelModelID as json.
func (OptVoiceDesignRequestModelModelID) Get ¶
func (o OptVoiceDesignRequestModelModelID) Get() (v VoiceDesignRequestModelModelID, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptVoiceDesignRequestModelModelID) IsSet ¶
func (o OptVoiceDesignRequestModelModelID) IsSet() bool
IsSet returns true if OptVoiceDesignRequestModelModelID was set.
func (OptVoiceDesignRequestModelModelID) MarshalJSON ¶
func (s OptVoiceDesignRequestModelModelID) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptVoiceDesignRequestModelModelID) Or ¶
func (o OptVoiceDesignRequestModelModelID) Or(d VoiceDesignRequestModelModelID) VoiceDesignRequestModelModelID
Or returns value if set, or given parameter if does not.
func (*OptVoiceDesignRequestModelModelID) Reset ¶
func (o *OptVoiceDesignRequestModelModelID) Reset()
Reset unsets value.
func (*OptVoiceDesignRequestModelModelID) SetTo ¶
func (o *OptVoiceDesignRequestModelModelID) SetTo(v VoiceDesignRequestModelModelID)
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 ¶
func (o *OptVoiceMailDetectionResultSuccessModelResultType) Decode(d *jx.Decoder) error
Decode decodes VoiceMailDetectionResultSuccessModelResultType from json.
func (OptVoiceMailDetectionResultSuccessModelResultType) Encode ¶
func (o OptVoiceMailDetectionResultSuccessModelResultType) Encode(e *jx.Encoder)
Encode encodes VoiceMailDetectionResultSuccessModelResultType as json.
func (OptVoiceMailDetectionResultSuccessModelResultType) Get ¶
func (o OptVoiceMailDetectionResultSuccessModelResultType) Get() (v VoiceMailDetectionResultSuccessModelResultType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptVoiceMailDetectionResultSuccessModelResultType) IsSet ¶
func (o OptVoiceMailDetectionResultSuccessModelResultType) IsSet() bool
IsSet returns true if OptVoiceMailDetectionResultSuccessModelResultType was set.
func (OptVoiceMailDetectionResultSuccessModelResultType) MarshalJSON ¶
func (s OptVoiceMailDetectionResultSuccessModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptVoiceMailDetectionResultSuccessModelResultType) Or ¶
func (o OptVoiceMailDetectionResultSuccessModelResultType) Or(d VoiceMailDetectionResultSuccessModelResultType) VoiceMailDetectionResultSuccessModelResultType
Or returns value if set, or given parameter if does not.
func (*OptVoiceMailDetectionResultSuccessModelResultType) Reset ¶
func (o *OptVoiceMailDetectionResultSuccessModelResultType) Reset()
Reset unsets value.
func (*OptVoiceMailDetectionResultSuccessModelResultType) SetTo ¶
func (o *OptVoiceMailDetectionResultSuccessModelResultType) SetTo(v VoiceMailDetectionResultSuccessModelResultType)
SetTo sets value to v.
func (*OptVoiceMailDetectionResultSuccessModelResultType) UnmarshalJSON ¶
func (s *OptVoiceMailDetectionResultSuccessModelResultType) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptVoiceMailDetectionResultSuccessModelStatus) Decode(d *jx.Decoder) error
Decode decodes VoiceMailDetectionResultSuccessModelStatus from json.
func (OptVoiceMailDetectionResultSuccessModelStatus) Encode ¶
func (o OptVoiceMailDetectionResultSuccessModelStatus) Encode(e *jx.Encoder)
Encode encodes VoiceMailDetectionResultSuccessModelStatus as json.
func (OptVoiceMailDetectionResultSuccessModelStatus) Get ¶
func (o OptVoiceMailDetectionResultSuccessModelStatus) Get() (v VoiceMailDetectionResultSuccessModelStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptVoiceMailDetectionResultSuccessModelStatus) IsSet ¶
func (o OptVoiceMailDetectionResultSuccessModelStatus) IsSet() bool
IsSet returns true if OptVoiceMailDetectionResultSuccessModelStatus was set.
func (OptVoiceMailDetectionResultSuccessModelStatus) MarshalJSON ¶
func (s OptVoiceMailDetectionResultSuccessModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptVoiceMailDetectionResultSuccessModelStatus) Or ¶
func (o OptVoiceMailDetectionResultSuccessModelStatus) Or(d VoiceMailDetectionResultSuccessModelStatus) VoiceMailDetectionResultSuccessModelStatus
Or returns value if set, or given parameter if does not.
func (*OptVoiceMailDetectionResultSuccessModelStatus) Reset ¶
func (o *OptVoiceMailDetectionResultSuccessModelStatus) Reset()
Reset unsets value.
func (*OptVoiceMailDetectionResultSuccessModelStatus) SetTo ¶
func (o *OptVoiceMailDetectionResultSuccessModelStatus) SetTo(v VoiceMailDetectionResultSuccessModelStatus)
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 ¶
func (o *OptVoiceSettingsResponseModel) Decode(d *jx.Decoder) error
Decode decodes VoiceSettingsResponseModel from json.
func (OptVoiceSettingsResponseModel) Encode ¶
func (o OptVoiceSettingsResponseModel) Encode(e *jx.Encoder)
Encode encodes VoiceSettingsResponseModel as json.
func (OptVoiceSettingsResponseModel) Get ¶
func (o OptVoiceSettingsResponseModel) Get() (v VoiceSettingsResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptVoiceSettingsResponseModel) IsSet ¶
func (o OptVoiceSettingsResponseModel) IsSet() bool
IsSet returns true if OptVoiceSettingsResponseModel was set.
func (OptVoiceSettingsResponseModel) MarshalJSON ¶
func (s OptVoiceSettingsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptVoiceSettingsResponseModel) Reset ¶
func (o *OptVoiceSettingsResponseModel) Reset()
Reset unsets value.
func (*OptVoiceSettingsResponseModel) SetTo ¶
func (o *OptVoiceSettingsResponseModel) SetTo(v VoiceSettingsResponseModel)
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 ¶
func (o *OptVoiceSharingModerationCheckResponseModel) Decode(d *jx.Decoder) error
Decode decodes VoiceSharingModerationCheckResponseModel from json.
func (OptVoiceSharingModerationCheckResponseModel) Encode ¶
func (o OptVoiceSharingModerationCheckResponseModel) Encode(e *jx.Encoder)
Encode encodes VoiceSharingModerationCheckResponseModel as json.
func (OptVoiceSharingModerationCheckResponseModel) Get ¶
func (o OptVoiceSharingModerationCheckResponseModel) Get() (v VoiceSharingModerationCheckResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptVoiceSharingModerationCheckResponseModel) IsSet ¶
func (o OptVoiceSharingModerationCheckResponseModel) IsSet() bool
IsSet returns true if OptVoiceSharingModerationCheckResponseModel was set.
func (OptVoiceSharingModerationCheckResponseModel) MarshalJSON ¶
func (s OptVoiceSharingModerationCheckResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptVoiceSharingModerationCheckResponseModel) Or ¶
func (o OptVoiceSharingModerationCheckResponseModel) Or(d VoiceSharingModerationCheckResponseModel) VoiceSharingModerationCheckResponseModel
Or returns value if set, or given parameter if does not.
func (*OptVoiceSharingModerationCheckResponseModel) Reset ¶
func (o *OptVoiceSharingModerationCheckResponseModel) Reset()
Reset unsets value.
func (*OptVoiceSharingModerationCheckResponseModel) SetTo ¶
func (o *OptVoiceSharingModerationCheckResponseModel) SetTo(v VoiceSharingModerationCheckResponseModel)
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 ¶
func (o *OptVoiceSharingResponseModel) Decode(d *jx.Decoder) error
Decode decodes VoiceSharingResponseModel from json.
func (OptVoiceSharingResponseModel) Encode ¶
func (o OptVoiceSharingResponseModel) Encode(e *jx.Encoder)
Encode encodes VoiceSharingResponseModel as json.
func (OptVoiceSharingResponseModel) Get ¶
func (o OptVoiceSharingResponseModel) Get() (v VoiceSharingResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptVoiceSharingResponseModel) IsSet ¶
func (o OptVoiceSharingResponseModel) IsSet() bool
IsSet returns true if OptVoiceSharingResponseModel was set.
func (OptVoiceSharingResponseModel) MarshalJSON ¶
func (s OptVoiceSharingResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptVoiceSharingResponseModel) Reset ¶
func (o *OptVoiceSharingResponseModel) Reset()
Reset unsets value.
func (*OptVoiceSharingResponseModel) SetTo ¶
func (o *OptVoiceSharingResponseModel) SetTo(v VoiceSharingResponseModel)
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 ¶
func (o *OptVoiceVerificationResponseModel) Decode(d *jx.Decoder) error
Decode decodes VoiceVerificationResponseModel from json.
func (OptVoiceVerificationResponseModel) Encode ¶
func (o OptVoiceVerificationResponseModel) Encode(e *jx.Encoder)
Encode encodes VoiceVerificationResponseModel as json.
func (OptVoiceVerificationResponseModel) Get ¶
func (o OptVoiceVerificationResponseModel) Get() (v VoiceVerificationResponseModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptVoiceVerificationResponseModel) IsSet ¶
func (o OptVoiceVerificationResponseModel) IsSet() bool
IsSet returns true if OptVoiceVerificationResponseModel was set.
func (OptVoiceVerificationResponseModel) MarshalJSON ¶
func (s OptVoiceVerificationResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptVoiceVerificationResponseModel) Or ¶
func (o OptVoiceVerificationResponseModel) Or(d VoiceVerificationResponseModel) VoiceVerificationResponseModel
Or returns value if set, or given parameter if does not.
func (*OptVoiceVerificationResponseModel) Reset ¶
func (o *OptVoiceVerificationResponseModel) Reset()
Reset unsets value.
func (*OptVoiceVerificationResponseModel) SetTo ¶
func (o *OptVoiceVerificationResponseModel) SetTo(v VoiceVerificationResponseModel)
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 ¶
func (o *OptWhatsAppConversationInfo) Decode(d *jx.Decoder) error
Decode decodes WhatsAppConversationInfo from json.
func (OptWhatsAppConversationInfo) Encode ¶
func (o OptWhatsAppConversationInfo) Encode(e *jx.Encoder)
Encode encodes WhatsAppConversationInfo as json.
func (OptWhatsAppConversationInfo) Get ¶
func (o OptWhatsAppConversationInfo) Get() (v WhatsAppConversationInfo, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptWhatsAppConversationInfo) IsSet ¶
func (o OptWhatsAppConversationInfo) IsSet() bool
IsSet returns true if OptWhatsAppConversationInfo was set.
func (OptWhatsAppConversationInfo) MarshalJSON ¶
func (s OptWhatsAppConversationInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptWhatsAppConversationInfo) Reset ¶
func (o *OptWhatsAppConversationInfo) Reset()
Reset unsets value.
func (*OptWhatsAppConversationInfo) SetTo ¶
func (o *OptWhatsAppConversationInfo) SetTo(v WhatsAppConversationInfo)
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 ¶
func (o *OptWhatsAppConversationInfoDirection) Decode(d *jx.Decoder) error
Decode decodes WhatsAppConversationInfoDirection from json.
func (OptWhatsAppConversationInfoDirection) Encode ¶
func (o OptWhatsAppConversationInfoDirection) Encode(e *jx.Encoder)
Encode encodes WhatsAppConversationInfoDirection as json.
func (OptWhatsAppConversationInfoDirection) Get ¶
func (o OptWhatsAppConversationInfoDirection) Get() (v WhatsAppConversationInfoDirection, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptWhatsAppConversationInfoDirection) IsSet ¶
func (o OptWhatsAppConversationInfoDirection) IsSet() bool
IsSet returns true if OptWhatsAppConversationInfoDirection was set.
func (OptWhatsAppConversationInfoDirection) MarshalJSON ¶
func (s OptWhatsAppConversationInfoDirection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptWhatsAppConversationInfoDirection) Or ¶
func (o OptWhatsAppConversationInfoDirection) Or(d WhatsAppConversationInfoDirection) WhatsAppConversationInfoDirection
Or returns value if set, or given parameter if does not.
func (*OptWhatsAppConversationInfoDirection) Reset ¶
func (o *OptWhatsAppConversationInfoDirection) Reset()
Reset unsets value.
func (*OptWhatsAppConversationInfoDirection) SetTo ¶
func (o *OptWhatsAppConversationInfoDirection) SetTo(v WhatsAppConversationInfoDirection)
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 ¶
func (o *OptWorkflowFeaturesUsageCommonModel) Decode(d *jx.Decoder) error
Decode decodes WorkflowFeaturesUsageCommonModel from json.
func (OptWorkflowFeaturesUsageCommonModel) Encode ¶
func (o OptWorkflowFeaturesUsageCommonModel) Encode(e *jx.Encoder)
Encode encodes WorkflowFeaturesUsageCommonModel as json.
func (OptWorkflowFeaturesUsageCommonModel) Get ¶
func (o OptWorkflowFeaturesUsageCommonModel) Get() (v WorkflowFeaturesUsageCommonModel, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptWorkflowFeaturesUsageCommonModel) IsSet ¶
func (o OptWorkflowFeaturesUsageCommonModel) IsSet() bool
IsSet returns true if OptWorkflowFeaturesUsageCommonModel was set.
func (OptWorkflowFeaturesUsageCommonModel) MarshalJSON ¶
func (s OptWorkflowFeaturesUsageCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptWorkflowFeaturesUsageCommonModel) Or ¶
func (o OptWorkflowFeaturesUsageCommonModel) Or(d WorkflowFeaturesUsageCommonModel) WorkflowFeaturesUsageCommonModel
Or returns value if set, or given parameter if does not.
func (*OptWorkflowFeaturesUsageCommonModel) Reset ¶
func (o *OptWorkflowFeaturesUsageCommonModel) Reset()
Reset unsets value.
func (*OptWorkflowFeaturesUsageCommonModel) SetTo ¶
func (o *OptWorkflowFeaturesUsageCommonModel) SetTo(v WorkflowFeaturesUsageCommonModel)
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 ¶
func (o *OptWorkflowToolEdgeStepModelType) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolEdgeStepModelType from json.
func (OptWorkflowToolEdgeStepModelType) Encode ¶
func (o OptWorkflowToolEdgeStepModelType) Encode(e *jx.Encoder)
Encode encodes WorkflowToolEdgeStepModelType as json.
func (OptWorkflowToolEdgeStepModelType) Get ¶
func (o OptWorkflowToolEdgeStepModelType) Get() (v WorkflowToolEdgeStepModelType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptWorkflowToolEdgeStepModelType) IsSet ¶
func (o OptWorkflowToolEdgeStepModelType) IsSet() bool
IsSet returns true if OptWorkflowToolEdgeStepModelType was set.
func (OptWorkflowToolEdgeStepModelType) MarshalJSON ¶
func (s OptWorkflowToolEdgeStepModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptWorkflowToolEdgeStepModelType) Or ¶
func (o OptWorkflowToolEdgeStepModelType) Or(d WorkflowToolEdgeStepModelType) WorkflowToolEdgeStepModelType
Or returns value if set, or given parameter if does not.
func (*OptWorkflowToolEdgeStepModelType) Reset ¶
func (o *OptWorkflowToolEdgeStepModelType) Reset()
Reset unsets value.
func (*OptWorkflowToolEdgeStepModelType) SetTo ¶
func (o *OptWorkflowToolEdgeStepModelType) SetTo(v WorkflowToolEdgeStepModelType)
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 ¶
func (o *OptWorkflowToolMaxIterationsExceededStepModelType) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolMaxIterationsExceededStepModelType from json.
func (OptWorkflowToolMaxIterationsExceededStepModelType) Encode ¶
func (o OptWorkflowToolMaxIterationsExceededStepModelType) Encode(e *jx.Encoder)
Encode encodes WorkflowToolMaxIterationsExceededStepModelType as json.
func (OptWorkflowToolMaxIterationsExceededStepModelType) Get ¶
func (o OptWorkflowToolMaxIterationsExceededStepModelType) Get() (v WorkflowToolMaxIterationsExceededStepModelType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptWorkflowToolMaxIterationsExceededStepModelType) IsSet ¶
func (o OptWorkflowToolMaxIterationsExceededStepModelType) IsSet() bool
IsSet returns true if OptWorkflowToolMaxIterationsExceededStepModelType was set.
func (OptWorkflowToolMaxIterationsExceededStepModelType) MarshalJSON ¶
func (s OptWorkflowToolMaxIterationsExceededStepModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptWorkflowToolMaxIterationsExceededStepModelType) Or ¶
func (o OptWorkflowToolMaxIterationsExceededStepModelType) Or(d WorkflowToolMaxIterationsExceededStepModelType) WorkflowToolMaxIterationsExceededStepModelType
Or returns value if set, or given parameter if does not.
func (*OptWorkflowToolMaxIterationsExceededStepModelType) Reset ¶
func (o *OptWorkflowToolMaxIterationsExceededStepModelType) Reset()
Reset unsets value.
func (*OptWorkflowToolMaxIterationsExceededStepModelType) SetTo ¶
func (o *OptWorkflowToolMaxIterationsExceededStepModelType) SetTo(v WorkflowToolMaxIterationsExceededStepModelType)
SetTo sets value to v.
func (*OptWorkflowToolMaxIterationsExceededStepModelType) UnmarshalJSON ¶
func (s *OptWorkflowToolMaxIterationsExceededStepModelType) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptWorkflowToolNestedToolsStepModelInputType) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolNestedToolsStepModelInputType from json.
func (OptWorkflowToolNestedToolsStepModelInputType) Encode ¶
func (o OptWorkflowToolNestedToolsStepModelInputType) Encode(e *jx.Encoder)
Encode encodes WorkflowToolNestedToolsStepModelInputType as json.
func (OptWorkflowToolNestedToolsStepModelInputType) Get ¶
func (o OptWorkflowToolNestedToolsStepModelInputType) Get() (v WorkflowToolNestedToolsStepModelInputType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptWorkflowToolNestedToolsStepModelInputType) IsSet ¶
func (o OptWorkflowToolNestedToolsStepModelInputType) IsSet() bool
IsSet returns true if OptWorkflowToolNestedToolsStepModelInputType was set.
func (OptWorkflowToolNestedToolsStepModelInputType) MarshalJSON ¶
func (s OptWorkflowToolNestedToolsStepModelInputType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptWorkflowToolNestedToolsStepModelInputType) Or ¶
func (o OptWorkflowToolNestedToolsStepModelInputType) Or(d WorkflowToolNestedToolsStepModelInputType) WorkflowToolNestedToolsStepModelInputType
Or returns value if set, or given parameter if does not.
func (*OptWorkflowToolNestedToolsStepModelInputType) Reset ¶
func (o *OptWorkflowToolNestedToolsStepModelInputType) Reset()
Reset unsets value.
func (*OptWorkflowToolNestedToolsStepModelInputType) SetTo ¶
func (o *OptWorkflowToolNestedToolsStepModelInputType) SetTo(v WorkflowToolNestedToolsStepModelInputType)
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 ¶
func (o *OptWorkflowToolNestedToolsStepModelOutputType) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolNestedToolsStepModelOutputType from json.
func (OptWorkflowToolNestedToolsStepModelOutputType) Encode ¶
func (o OptWorkflowToolNestedToolsStepModelOutputType) Encode(e *jx.Encoder)
Encode encodes WorkflowToolNestedToolsStepModelOutputType as json.
func (OptWorkflowToolNestedToolsStepModelOutputType) Get ¶
func (o OptWorkflowToolNestedToolsStepModelOutputType) Get() (v WorkflowToolNestedToolsStepModelOutputType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptWorkflowToolNestedToolsStepModelOutputType) IsSet ¶
func (o OptWorkflowToolNestedToolsStepModelOutputType) IsSet() bool
IsSet returns true if OptWorkflowToolNestedToolsStepModelOutputType was set.
func (OptWorkflowToolNestedToolsStepModelOutputType) MarshalJSON ¶
func (s OptWorkflowToolNestedToolsStepModelOutputType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptWorkflowToolNestedToolsStepModelOutputType) Or ¶
func (o OptWorkflowToolNestedToolsStepModelOutputType) Or(d WorkflowToolNestedToolsStepModelOutputType) WorkflowToolNestedToolsStepModelOutputType
Or returns value if set, or given parameter if does not.
func (*OptWorkflowToolNestedToolsStepModelOutputType) Reset ¶
func (o *OptWorkflowToolNestedToolsStepModelOutputType) Reset()
Reset unsets value.
func (*OptWorkflowToolNestedToolsStepModelOutputType) SetTo ¶
func (o *OptWorkflowToolNestedToolsStepModelOutputType) SetTo(v WorkflowToolNestedToolsStepModelOutputType)
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 ¶
func (o *OptWorkflowToolResponseModelInput) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolResponseModelInput from json.
func (OptWorkflowToolResponseModelInput) Encode ¶
func (o OptWorkflowToolResponseModelInput) Encode(e *jx.Encoder)
Encode encodes WorkflowToolResponseModelInput as json.
func (OptWorkflowToolResponseModelInput) Get ¶
func (o OptWorkflowToolResponseModelInput) Get() (v WorkflowToolResponseModelInput, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptWorkflowToolResponseModelInput) IsSet ¶
func (o OptWorkflowToolResponseModelInput) IsSet() bool
IsSet returns true if OptWorkflowToolResponseModelInput was set.
func (OptWorkflowToolResponseModelInput) MarshalJSON ¶
func (s OptWorkflowToolResponseModelInput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptWorkflowToolResponseModelInput) Or ¶
func (o OptWorkflowToolResponseModelInput) Or(d WorkflowToolResponseModelInput) WorkflowToolResponseModelInput
Or returns value if set, or given parameter if does not.
func (*OptWorkflowToolResponseModelInput) Reset ¶
func (o *OptWorkflowToolResponseModelInput) Reset()
Reset unsets value.
func (*OptWorkflowToolResponseModelInput) SetTo ¶
func (o *OptWorkflowToolResponseModelInput) SetTo(v WorkflowToolResponseModelInput)
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 ¶
func (o *OptWorkflowToolResponseModelOutput) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolResponseModelOutput from json.
func (OptWorkflowToolResponseModelOutput) Encode ¶
func (o OptWorkflowToolResponseModelOutput) Encode(e *jx.Encoder)
Encode encodes WorkflowToolResponseModelOutput as json.
func (OptWorkflowToolResponseModelOutput) Get ¶
func (o OptWorkflowToolResponseModelOutput) Get() (v WorkflowToolResponseModelOutput, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptWorkflowToolResponseModelOutput) IsSet ¶
func (o OptWorkflowToolResponseModelOutput) IsSet() bool
IsSet returns true if OptWorkflowToolResponseModelOutput was set.
func (OptWorkflowToolResponseModelOutput) MarshalJSON ¶
func (s OptWorkflowToolResponseModelOutput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptWorkflowToolResponseModelOutput) Or ¶
func (o OptWorkflowToolResponseModelOutput) Or(d WorkflowToolResponseModelOutput) WorkflowToolResponseModelOutput
Or returns value if set, or given parameter if does not.
func (*OptWorkflowToolResponseModelOutput) Reset ¶
func (o *OptWorkflowToolResponseModelOutput) Reset()
Reset unsets value.
func (*OptWorkflowToolResponseModelOutput) SetTo ¶
func (o *OptWorkflowToolResponseModelOutput) SetTo(v WorkflowToolResponseModelOutput)
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 ¶
func (o *OptZendeskConversationInitiationTriggerTriggerType) Decode(d *jx.Decoder) error
Decode decodes ZendeskConversationInitiationTriggerTriggerType from json.
func (OptZendeskConversationInitiationTriggerTriggerType) Encode ¶
func (o OptZendeskConversationInitiationTriggerTriggerType) Encode(e *jx.Encoder)
Encode encodes ZendeskConversationInitiationTriggerTriggerType as json.
func (OptZendeskConversationInitiationTriggerTriggerType) Get ¶
func (o OptZendeskConversationInitiationTriggerTriggerType) Get() (v ZendeskConversationInitiationTriggerTriggerType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptZendeskConversationInitiationTriggerTriggerType) IsSet ¶
func (o OptZendeskConversationInitiationTriggerTriggerType) IsSet() bool
IsSet returns true if OptZendeskConversationInitiationTriggerTriggerType was set.
func (OptZendeskConversationInitiationTriggerTriggerType) MarshalJSON ¶
func (s OptZendeskConversationInitiationTriggerTriggerType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptZendeskConversationInitiationTriggerTriggerType) Or ¶
func (o OptZendeskConversationInitiationTriggerTriggerType) Or(d ZendeskConversationInitiationTriggerTriggerType) ZendeskConversationInitiationTriggerTriggerType
Or returns value if set, or given parameter if does not.
func (*OptZendeskConversationInitiationTriggerTriggerType) Reset ¶
func (o *OptZendeskConversationInitiationTriggerTriggerType) Reset()
Reset unsets value.
func (*OptZendeskConversationInitiationTriggerTriggerType) SetTo ¶
func (o *OptZendeskConversationInitiationTriggerTriggerType) SetTo(v ZendeskConversationInitiationTriggerTriggerType)
SetTo sets value to v.
func (*OptZendeskConversationInitiationTriggerTriggerType) UnmarshalJSON ¶
func (s *OptZendeskConversationInitiationTriggerTriggerType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Option ¶
type Option interface {
ServerOption
ClientOption
}
Option is config option.
func WithAttributes ¶
WithAttributes specifies default otel attributes.
func WithMeterProvider ¶
func WithMeterProvider(provider metric.MeterProvider) Option
WithMeterProvider specifies a meter provider to use for creating a meter.
If none is specified, the otel.GetMeterProvider() is used.
func WithTracerProvider ¶
func WithTracerProvider(provider trace.TracerProvider) Option
WithTracerProvider specifies a tracer provider to use for creating a tracer.
If none is specified, the global provider is used.
type 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 ¶
func (s *OutboundCallRecipient) GetID() OptNilString
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 ¶
func (s *OutboundCallRecipientResponseModel) Decode(d *jx.Decoder) error
Decode decodes OutboundCallRecipientResponseModel from json.
func (*OutboundCallRecipientResponseModel) Encode ¶
func (s *OutboundCallRecipientResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OutboundCallRecipientResponseModel) GetConversationID ¶
func (s *OutboundCallRecipientResponseModel) GetConversationID() NilString
GetConversationID returns the value of ConversationID.
func (*OutboundCallRecipientResponseModel) GetConversationInitiationClientData ¶
func (s *OutboundCallRecipientResponseModel) GetConversationInitiationClientData() OptConversationInitiationClientDataInternal
GetConversationInitiationClientData returns the value of ConversationInitiationClientData.
func (*OutboundCallRecipientResponseModel) GetCreatedAtUnix ¶
func (s *OutboundCallRecipientResponseModel) GetCreatedAtUnix() int
GetCreatedAtUnix returns the value of CreatedAtUnix.
func (*OutboundCallRecipientResponseModel) GetID ¶
func (s *OutboundCallRecipientResponseModel) GetID() string
GetID returns the value of ID.
func (*OutboundCallRecipientResponseModel) GetPhoneNumber ¶
func (s *OutboundCallRecipientResponseModel) GetPhoneNumber() OptNilString
GetPhoneNumber returns the value of PhoneNumber.
func (*OutboundCallRecipientResponseModel) GetStatus ¶
func (s *OutboundCallRecipientResponseModel) GetStatus() BatchCallRecipientStatus
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 ¶
func (s *OutboundCallRecipientResponseModel) SetID(val string)
SetID sets the value of ID.
func (*OutboundCallRecipientResponseModel) SetPhoneNumber ¶
func (s *OutboundCallRecipientResponseModel) SetPhoneNumber(val OptNilString)
SetPhoneNumber sets the value of PhoneNumber.
func (*OutboundCallRecipientResponseModel) SetStatus ¶
func (s *OutboundCallRecipientResponseModel) SetStatus(val BatchCallRecipientStatus)
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 ¶
func (s *OutboundCallRecipientResponseModel) Validate() error
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 ¶
func (s *OutboundSIPTrunkConfigRequestModel) Decode(d *jx.Decoder) error
Decode decodes OutboundSIPTrunkConfigRequestModel from json.
func (*OutboundSIPTrunkConfigRequestModel) Encode ¶
func (s *OutboundSIPTrunkConfigRequestModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OutboundSIPTrunkConfigRequestModel) GetAddress ¶
func (s *OutboundSIPTrunkConfigRequestModel) GetAddress() string
GetAddress returns the value of Address.
func (*OutboundSIPTrunkConfigRequestModel) GetCredentials ¶
func (s *OutboundSIPTrunkConfigRequestModel) GetCredentials() OptSIPTrunkCredentialsRequestModel
GetCredentials returns the value of Credentials.
func (*OutboundSIPTrunkConfigRequestModel) GetHeaders ¶
func (s *OutboundSIPTrunkConfigRequestModel) GetHeaders() OptOutboundSIPTrunkConfigRequestModelHeaders
GetHeaders returns the value of Headers.
func (*OutboundSIPTrunkConfigRequestModel) GetMediaEncryption ¶
func (s *OutboundSIPTrunkConfigRequestModel) GetMediaEncryption() OptSIPMediaEncryptionEnum
GetMediaEncryption returns the value of MediaEncryption.
func (*OutboundSIPTrunkConfigRequestModel) GetTransport ¶
func (s *OutboundSIPTrunkConfigRequestModel) GetTransport() OptSIPTrunkTransportEnum
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 ¶
func (s *OutboundSIPTrunkConfigRequestModel) SetCredentials(val OptSIPTrunkCredentialsRequestModel)
SetCredentials sets the value of Credentials.
func (*OutboundSIPTrunkConfigRequestModel) SetHeaders ¶
func (s *OutboundSIPTrunkConfigRequestModel) SetHeaders(val OptOutboundSIPTrunkConfigRequestModelHeaders)
SetHeaders sets the value of Headers.
func (*OutboundSIPTrunkConfigRequestModel) SetMediaEncryption ¶
func (s *OutboundSIPTrunkConfigRequestModel) SetMediaEncryption(val OptSIPMediaEncryptionEnum)
SetMediaEncryption sets the value of MediaEncryption.
func (*OutboundSIPTrunkConfigRequestModel) SetTransport ¶
func (s *OutboundSIPTrunkConfigRequestModel) SetTransport(val OptSIPTrunkTransportEnum)
SetTransport sets the value of Transport.
func (*OutboundSIPTrunkConfigRequestModel) UnmarshalJSON ¶
func (s *OutboundSIPTrunkConfigRequestModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OutboundSIPTrunkConfigRequestModel) Validate ¶
func (s *OutboundSIPTrunkConfigRequestModel) Validate() error
type OutboundSIPTrunkConfigRequestModelHeaders ¶
SIP X-* headers for INVITE request. These headers are sent as-is and may help identify this call.
func (*OutboundSIPTrunkConfigRequestModelHeaders) Decode ¶
func (s *OutboundSIPTrunkConfigRequestModelHeaders) Decode(d *jx.Decoder) error
Decode decodes OutboundSIPTrunkConfigRequestModelHeaders from json.
func (OutboundSIPTrunkConfigRequestModelHeaders) Encode ¶
func (s OutboundSIPTrunkConfigRequestModelHeaders) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OutboundSIPTrunkConfigRequestModelHeaders) MarshalJSON ¶
func (s OutboundSIPTrunkConfigRequestModelHeaders) MarshalJSON() ([]byte, error)
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 ¶
func (s *PatchConvAIDashboardSettingsRequest) Decode(d *jx.Decoder) error
Decode decodes PatchConvAIDashboardSettingsRequest from json.
func (*PatchConvAIDashboardSettingsRequest) Encode ¶
func (s *PatchConvAIDashboardSettingsRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PatchConvAIDashboardSettingsRequest) GetCharts ¶
func (s *PatchConvAIDashboardSettingsRequest) GetCharts() []PatchConvAIDashboardSettingsRequestChartsItem
GetCharts returns the value of Charts.
func (*PatchConvAIDashboardSettingsRequest) MarshalJSON ¶
func (s *PatchConvAIDashboardSettingsRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PatchConvAIDashboardSettingsRequest) SetCharts ¶
func (s *PatchConvAIDashboardSettingsRequest) SetCharts(val []PatchConvAIDashboardSettingsRequestChartsItem)
SetCharts sets the value of Charts.
func (*PatchConvAIDashboardSettingsRequest) UnmarshalJSON ¶
func (s *PatchConvAIDashboardSettingsRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PatchConvAIDashboardSettingsRequest) Validate ¶
func (s *PatchConvAIDashboardSettingsRequest) Validate() error
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 ¶
func (s *PatchConvAIDashboardSettingsRequestChartsItem) Decode(d *jx.Decoder) error
Decode decodes PatchConvAIDashboardSettingsRequestChartsItem from json.
func (PatchConvAIDashboardSettingsRequestChartsItem) Encode ¶
func (s PatchConvAIDashboardSettingsRequestChartsItem) Encode(e *jx.Encoder)
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 ¶
func (s PatchConvAIDashboardSettingsRequestChartsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PatchConvAIDashboardSettingsRequestChartsItem) SetDashboardCallSuccessChartModel ¶
func (s *PatchConvAIDashboardSettingsRequestChartsItem) SetDashboardCallSuccessChartModel(v DashboardCallSuccessChartModel)
SetDashboardCallSuccessChartModel sets PatchConvAIDashboardSettingsRequestChartsItem to DashboardCallSuccessChartModel.
func (*PatchConvAIDashboardSettingsRequestChartsItem) SetDashboardCriteriaChartModel ¶
func (s *PatchConvAIDashboardSettingsRequestChartsItem) SetDashboardCriteriaChartModel(v DashboardCriteriaChartModel)
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 ¶
func (s PatchConvAIDashboardSettingsRequestChartsItem) Validate() error
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 ¶
func (s *PatchConvAISettingsRequest) Decode(d *jx.Decoder) error
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 ¶
func (s *PatchConvAISettingsRequest) GetWebhooks() OptConvAIWebhooks
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 ¶
func (s *PatchWorkspaceSecretRequest) Decode(d *jx.Decoder) error
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 ¶
func (s *PatchWorkspaceSecretRequest) GetType() PatchWorkspaceSecretRequestType
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 ¶
func (s *PatchWorkspaceSecretRequest) SetType(val PatchWorkspaceSecretRequestType)
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 ¶
func (PatchWorkspaceSecretRequestType) AllValues() []PatchWorkspaceSecretRequestType
AllValues returns all PatchWorkspaceSecretRequestType values.
func (*PatchWorkspaceSecretRequestType) Decode ¶
func (s *PatchWorkspaceSecretRequestType) Decode(d *jx.Decoder) error
Decode decodes PatchWorkspaceSecretRequestType from json.
func (PatchWorkspaceSecretRequestType) Encode ¶
func (s PatchWorkspaceSecretRequestType) Encode(e *jx.Encoder)
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 ¶
func (s PatchWorkspaceSecretRequestType) Validate() error
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 ¶
func (s *PatchWorkspaceWebhookResponseModel) Decode(d *jx.Decoder) error
Decode decodes PatchWorkspaceWebhookResponseModel from json.
func (*PatchWorkspaceWebhookResponseModel) Encode ¶
func (s *PatchWorkspaceWebhookResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PatchWorkspaceWebhookResponseModel) GetStatus ¶
func (s *PatchWorkspaceWebhookResponseModel) GetStatus() string
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 ¶
func (s *PdfExportOptions) GetFormat() PdfExportOptionsFormat
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 ¶
func (PdfExportOptionsFormat) AllValues() []PdfExportOptionsFormat
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 ¶
func (s *PlayDTMFResultErrorModel) GetResultType() OptPlayDTMFResultErrorModelResultType
GetResultType returns the value of ResultType.
func (*PlayDTMFResultErrorModel) GetStatus ¶
func (s *PlayDTMFResultErrorModel) GetStatus() OptPlayDTMFResultErrorModelStatus
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 ¶
func (s *PlayDTMFResultErrorModel) SetResultType(val OptPlayDTMFResultErrorModelResultType)
SetResultType sets the value of ResultType.
func (*PlayDTMFResultErrorModel) SetStatus ¶
func (s *PlayDTMFResultErrorModel) SetStatus(val OptPlayDTMFResultErrorModelStatus)
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 ¶
func (PlayDTMFResultErrorModelResultType) AllValues() []PlayDTMFResultErrorModelResultType
AllValues returns all PlayDTMFResultErrorModelResultType values.
func (*PlayDTMFResultErrorModelResultType) Decode ¶
func (s *PlayDTMFResultErrorModelResultType) Decode(d *jx.Decoder) error
Decode decodes PlayDTMFResultErrorModelResultType from json.
func (PlayDTMFResultErrorModelResultType) Encode ¶
func (s PlayDTMFResultErrorModelResultType) Encode(e *jx.Encoder)
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 ¶
func (s PlayDTMFResultErrorModelResultType) Validate() error
type PlayDTMFResultErrorModelStatus ¶
type PlayDTMFResultErrorModelStatus string
const (
PlayDTMFResultErrorModelStatusError PlayDTMFResultErrorModelStatus = "error"
)
func (PlayDTMFResultErrorModelStatus) AllValues ¶
func (PlayDTMFResultErrorModelStatus) AllValues() []PlayDTMFResultErrorModelStatus
AllValues returns all PlayDTMFResultErrorModelStatus values.
func (*PlayDTMFResultErrorModelStatus) Decode ¶
func (s *PlayDTMFResultErrorModelStatus) Decode(d *jx.Decoder) error
Decode decodes PlayDTMFResultErrorModelStatus from json.
func (PlayDTMFResultErrorModelStatus) Encode ¶
func (s PlayDTMFResultErrorModelStatus) Encode(e *jx.Encoder)
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 ¶
func (s PlayDTMFResultErrorModelStatus) Validate() error
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 ¶
func (s *PlayDTMFResultSuccessModel) Decode(d *jx.Decoder) error
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 ¶
func (s *PlayDTMFResultSuccessModel) GetReason() OptNilString
GetReason returns the value of Reason.
func (*PlayDTMFResultSuccessModel) GetResultType ¶
func (s *PlayDTMFResultSuccessModel) GetResultType() OptPlayDTMFResultSuccessModelResultType
GetResultType returns the value of ResultType.
func (*PlayDTMFResultSuccessModel) GetStatus ¶
func (s *PlayDTMFResultSuccessModel) GetStatus() OptPlayDTMFResultSuccessModelStatus
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 ¶
func (s *PlayDTMFResultSuccessModel) SetResultType(val OptPlayDTMFResultSuccessModelResultType)
SetResultType sets the value of ResultType.
func (*PlayDTMFResultSuccessModel) SetStatus ¶
func (s *PlayDTMFResultSuccessModel) SetStatus(val OptPlayDTMFResultSuccessModelStatus)
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 ¶
func (PlayDTMFResultSuccessModelResultType) AllValues() []PlayDTMFResultSuccessModelResultType
AllValues returns all PlayDTMFResultSuccessModelResultType values.
func (*PlayDTMFResultSuccessModelResultType) Decode ¶
func (s *PlayDTMFResultSuccessModelResultType) Decode(d *jx.Decoder) error
Decode decodes PlayDTMFResultSuccessModelResultType from json.
func (PlayDTMFResultSuccessModelResultType) Encode ¶
func (s PlayDTMFResultSuccessModelResultType) Encode(e *jx.Encoder)
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 ¶
func (s PlayDTMFResultSuccessModelResultType) Validate() error
type PlayDTMFResultSuccessModelStatus ¶
type PlayDTMFResultSuccessModelStatus string
const (
PlayDTMFResultSuccessModelStatusSuccess PlayDTMFResultSuccessModelStatus = "success"
)
func (PlayDTMFResultSuccessModelStatus) AllValues ¶
func (PlayDTMFResultSuccessModelStatus) AllValues() []PlayDTMFResultSuccessModelStatus
AllValues returns all PlayDTMFResultSuccessModelStatus values.
func (*PlayDTMFResultSuccessModelStatus) Decode ¶
func (s *PlayDTMFResultSuccessModelStatus) Decode(d *jx.Decoder) error
Decode decodes PlayDTMFResultSuccessModelStatus from json.
func (PlayDTMFResultSuccessModelStatus) Encode ¶
func (s PlayDTMFResultSuccessModelStatus) Encode(e *jx.Encoder)
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 ¶
func (s PlayDTMFResultSuccessModelStatus) Validate() error
type PostAgentAvatarResponseModel ¶
type PostAgentAvatarResponseModel struct {
AgentID string `json:"agent_id"`
AvatarURL OptNilString `json:"avatar_url"`
}
Ref: #/components/schemas/PostAgentAvatarResponseModel
func (*PostAgentAvatarResponseModel) Decode ¶
func (s *PostAgentAvatarResponseModel) Decode(d *jx.Decoder) error
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 ¶
func (*PostConversationFeedbackRouteOKApplicationJSON) Decode ¶
func (s *PostConversationFeedbackRouteOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes PostConversationFeedbackRouteOKApplicationJSON from json.
func (PostConversationFeedbackRouteOKApplicationJSON) Encode ¶
func (s PostConversationFeedbackRouteOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes PostConversationFeedbackRouteOKApplicationJSON as json.
func (PostConversationFeedbackRouteOKApplicationJSON) MarshalJSON ¶
func (s PostConversationFeedbackRouteOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PostConversationFeedbackRouteOKApplicationJSON) UnmarshalJSON ¶
func (s *PostConversationFeedbackRouteOKApplicationJSON) UnmarshalJSON(data []byte) error
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 ¶
func (s *PostWorkspaceSecretRequest) Decode(d *jx.Decoder) error
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 ¶
func (s *PostWorkspaceSecretRequest) GetType() PostWorkspaceSecretRequestType
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 ¶
func (s *PostWorkspaceSecretRequest) SetType(val PostWorkspaceSecretRequestType)
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 ¶
func (PostWorkspaceSecretRequestType) AllValues() []PostWorkspaceSecretRequestType
AllValues returns all PostWorkspaceSecretRequestType values.
func (*PostWorkspaceSecretRequestType) Decode ¶
func (s *PostWorkspaceSecretRequestType) Decode(d *jx.Decoder) error
Decode decodes PostWorkspaceSecretRequestType from json.
func (PostWorkspaceSecretRequestType) Encode ¶
func (s PostWorkspaceSecretRequestType) Encode(e *jx.Encoder)
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 ¶
func (s PostWorkspaceSecretRequestType) Validate() error
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 ¶
func (s *PostWorkspaceSecretResponseModel) Decode(d *jx.Decoder) error
Decode decodes PostWorkspaceSecretResponseModel from json.
func (*PostWorkspaceSecretResponseModel) Encode ¶
func (s *PostWorkspaceSecretResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PostWorkspaceSecretResponseModel) GetName ¶
func (s *PostWorkspaceSecretResponseModel) GetName() string
GetName returns the value of Name.
func (*PostWorkspaceSecretResponseModel) GetSecretID ¶
func (s *PostWorkspaceSecretResponseModel) GetSecretID() string
GetSecretID returns the value of SecretID.
func (*PostWorkspaceSecretResponseModel) GetType ¶
func (s *PostWorkspaceSecretResponseModel) GetType() PostWorkspaceSecretResponseModelType
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 ¶
func (s *PostWorkspaceSecretResponseModel) SetType(val PostWorkspaceSecretResponseModelType)
SetType sets the value of Type.
func (*PostWorkspaceSecretResponseModel) UnmarshalJSON ¶
func (s *PostWorkspaceSecretResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PostWorkspaceSecretResponseModel) Validate ¶
func (s *PostWorkspaceSecretResponseModel) Validate() error
type PostWorkspaceSecretResponseModelType ¶
type PostWorkspaceSecretResponseModelType string
const (
PostWorkspaceSecretResponseModelTypeStored PostWorkspaceSecretResponseModelType = "stored"
)
func (PostWorkspaceSecretResponseModelType) AllValues ¶
func (PostWorkspaceSecretResponseModelType) AllValues() []PostWorkspaceSecretResponseModelType
AllValues returns all PostWorkspaceSecretResponseModelType values.
func (*PostWorkspaceSecretResponseModelType) Decode ¶
func (s *PostWorkspaceSecretResponseModelType) Decode(d *jx.Decoder) error
Decode decodes PostWorkspaceSecretResponseModelType from json.
func (PostWorkspaceSecretResponseModelType) Encode ¶
func (s PostWorkspaceSecretResponseModelType) Encode(e *jx.Encoder)
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 ¶
func (s PostWorkspaceSecretResponseModelType) Validate() error
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 ¶
func (s *ProjectCreationMetaResponseModel) Decode(d *jx.Decoder) error
Decode decodes ProjectCreationMetaResponseModel from json.
func (*ProjectCreationMetaResponseModel) Encode ¶
func (s *ProjectCreationMetaResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProjectCreationMetaResponseModel) GetCreationProgress ¶
func (s *ProjectCreationMetaResponseModel) GetCreationProgress() float64
GetCreationProgress returns the value of CreationProgress.
func (*ProjectCreationMetaResponseModel) GetStatus ¶
func (s *ProjectCreationMetaResponseModel) GetStatus() ProjectCreationMetaResponseModelStatus
GetStatus returns the value of Status.
func (*ProjectCreationMetaResponseModel) GetType ¶
func (s *ProjectCreationMetaResponseModel) GetType() ProjectCreationMetaResponseModelType
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 ¶
func (s *ProjectCreationMetaResponseModel) SetStatus(val ProjectCreationMetaResponseModelStatus)
SetStatus sets the value of Status.
func (*ProjectCreationMetaResponseModel) SetType ¶
func (s *ProjectCreationMetaResponseModel) SetType(val ProjectCreationMetaResponseModelType)
SetType sets the value of Type.
func (*ProjectCreationMetaResponseModel) UnmarshalJSON ¶
func (s *ProjectCreationMetaResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ProjectCreationMetaResponseModel) Validate ¶
func (s *ProjectCreationMetaResponseModel) Validate() error
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 ¶
func (ProjectCreationMetaResponseModelStatus) AllValues() []ProjectCreationMetaResponseModelStatus
AllValues returns all ProjectCreationMetaResponseModelStatus values.
func (*ProjectCreationMetaResponseModelStatus) Decode ¶
func (s *ProjectCreationMetaResponseModelStatus) Decode(d *jx.Decoder) error
Decode decodes ProjectCreationMetaResponseModelStatus from json.
func (ProjectCreationMetaResponseModelStatus) Encode ¶
func (s ProjectCreationMetaResponseModelStatus) Encode(e *jx.Encoder)
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 ¶
func (s ProjectCreationMetaResponseModelStatus) Validate() error
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 ¶
func (ProjectCreationMetaResponseModelType) AllValues() []ProjectCreationMetaResponseModelType
AllValues returns all ProjectCreationMetaResponseModelType values.
func (*ProjectCreationMetaResponseModelType) Decode ¶
func (s *ProjectCreationMetaResponseModelType) Decode(d *jx.Decoder) error
Decode decodes ProjectCreationMetaResponseModelType from json.
func (ProjectCreationMetaResponseModelType) Encode ¶
func (s ProjectCreationMetaResponseModelType) Encode(e *jx.Encoder)
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 ¶
func (s ProjectCreationMetaResponseModelType) Validate() error
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"`
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 ¶
func (s *ProjectResponseModel) GetAccessLevel() ProjectResponseModelAccessLevel
GetAccessLevel returns the value of AccessLevel.
func (*ProjectResponseModel) GetAspectRatio ¶
func (s *ProjectResponseModel) GetAspectRatio() OptNilProjectResponseModelAspectRatio
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 ¶
func (s *ProjectResponseModel) GetCreationMeta() OptProjectCreationMetaResponseModel
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 ¶
func (s *ProjectResponseModel) GetFiction() OptNilProjectResponseModelFiction
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 ¶
func (s *ProjectResponseModel) GetSourceType() OptNilProjectResponseModelSourceType
GetSourceType returns the value of SourceType.
func (*ProjectResponseModel) GetState ¶
func (s *ProjectResponseModel) GetState() ProjectResponseModelState
GetState returns the value of State.
func (*ProjectResponseModel) GetTargetAudience ¶
func (s *ProjectResponseModel) GetTargetAudience() OptNilProjectResponseModelTargetAudience
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 ¶
func (s *ProjectResponseModel) SetAccessLevel(val ProjectResponseModelAccessLevel)
SetAccessLevel sets the value of AccessLevel.
func (*ProjectResponseModel) SetAspectRatio ¶
func (s *ProjectResponseModel) SetAspectRatio(val OptNilProjectResponseModelAspectRatio)
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 ¶
func (s *ProjectResponseModel) SetCreationMeta(val OptProjectCreationMetaResponseModel)
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 ¶
func (s *ProjectResponseModel) SetFiction(val OptNilProjectResponseModelFiction)
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 ¶
func (s *ProjectResponseModel) SetSourceType(val OptNilProjectResponseModelSourceType)
SetSourceType sets the value of SourceType.
func (*ProjectResponseModel) SetState ¶
func (s *ProjectResponseModel) SetState(val ProjectResponseModelState)
SetState sets the value of State.
func (*ProjectResponseModel) SetTargetAudience ¶
func (s *ProjectResponseModel) SetTargetAudience(val OptNilProjectResponseModelTargetAudience)
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 ¶
func (ProjectResponseModelAccessLevel) AllValues() []ProjectResponseModelAccessLevel
AllValues returns all ProjectResponseModelAccessLevel values.
func (*ProjectResponseModelAccessLevel) Decode ¶
func (s *ProjectResponseModelAccessLevel) Decode(d *jx.Decoder) error
Decode decodes ProjectResponseModelAccessLevel from json.
func (ProjectResponseModelAccessLevel) Encode ¶
func (s ProjectResponseModelAccessLevel) Encode(e *jx.Encoder)
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 ¶
func (s ProjectResponseModelAccessLevel) Validate() error
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 ¶
func (ProjectResponseModelAspectRatio) AllValues() []ProjectResponseModelAspectRatio
AllValues returns all ProjectResponseModelAspectRatio values.
func (*ProjectResponseModelAspectRatio) Decode ¶
func (s *ProjectResponseModelAspectRatio) Decode(d *jx.Decoder) error
Decode decodes ProjectResponseModelAspectRatio from json.
func (ProjectResponseModelAspectRatio) Encode ¶
func (s ProjectResponseModelAspectRatio) Encode(e *jx.Encoder)
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 ¶
func (s ProjectResponseModelAspectRatio) Validate() error
type ProjectResponseModelFiction ¶
type ProjectResponseModelFiction string
Whether the project is fiction.
const ( ProjectResponseModelFictionFiction ProjectResponseModelFiction = "fiction" ProjectResponseModelFictionNonFiction ProjectResponseModelFiction = "non-fiction" )
func (ProjectResponseModelFiction) AllValues ¶
func (ProjectResponseModelFiction) AllValues() []ProjectResponseModelFiction
AllValues returns all ProjectResponseModelFiction values.
func (*ProjectResponseModelFiction) Decode ¶
func (s *ProjectResponseModelFiction) Decode(d *jx.Decoder) error
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 ¶
func (ProjectResponseModelSourceType) AllValues() []ProjectResponseModelSourceType
AllValues returns all ProjectResponseModelSourceType values.
func (*ProjectResponseModelSourceType) Decode ¶
func (s *ProjectResponseModelSourceType) Decode(d *jx.Decoder) error
Decode decodes ProjectResponseModelSourceType from json.
func (ProjectResponseModelSourceType) Encode ¶
func (s ProjectResponseModelSourceType) Encode(e *jx.Encoder)
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 ¶
func (s ProjectResponseModelSourceType) Validate() error
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 ¶
func (ProjectResponseModelState) AllValues() []ProjectResponseModelState
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 ¶
func (ProjectResponseModelTargetAudience) AllValues() []ProjectResponseModelTargetAudience
AllValues returns all ProjectResponseModelTargetAudience values.
func (*ProjectResponseModelTargetAudience) Decode ¶
func (s *ProjectResponseModelTargetAudience) Decode(d *jx.Decoder) error
Decode decodes ProjectResponseModelTargetAudience from json.
func (ProjectResponseModelTargetAudience) Encode ¶
func (s ProjectResponseModelTargetAudience) Encode(e *jx.Encoder)
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 ¶
func (s ProjectResponseModelTargetAudience) Validate() error
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 ¶
func (s *ProjectSnapshotExtendedResponseModel) Decode(d *jx.Decoder) error
Decode decodes ProjectSnapshotExtendedResponseModel from json.
func (*ProjectSnapshotExtendedResponseModel) Encode ¶
func (s *ProjectSnapshotExtendedResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProjectSnapshotExtendedResponseModel) GetAudioDurationSecs ¶
func (s *ProjectSnapshotExtendedResponseModel) GetAudioDurationSecs() float64
GetAudioDurationSecs returns the value of AudioDurationSecs.
func (*ProjectSnapshotExtendedResponseModel) GetAudioUpload ¶
func (s *ProjectSnapshotExtendedResponseModel) GetAudioUpload() OptProjectSnapshotExtendedResponseModelAudioUpload
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 ¶
func (s *ProjectSnapshotExtendedResponseModel) GetName() string
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 ¶
func (s *ProjectSnapshotExtendedResponseModel) GetZipUpload() OptProjectSnapshotExtendedResponseModelZipUpload
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 ¶
func (s *ProjectSnapshotExtendedResponseModel) SetAudioUpload(val OptProjectSnapshotExtendedResponseModelAudioUpload)
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 ¶
func (s *ProjectSnapshotExtendedResponseModel) SetName(val string)
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 ¶
func (s *ProjectSnapshotExtendedResponseModel) SetZipUpload(val OptProjectSnapshotExtendedResponseModelZipUpload)
SetZipUpload sets the value of ZipUpload.
func (*ProjectSnapshotExtendedResponseModel) UnmarshalJSON ¶
func (s *ProjectSnapshotExtendedResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ProjectSnapshotExtendedResponseModel) Validate ¶
func (s *ProjectSnapshotExtendedResponseModel) Validate() error
type ProjectSnapshotExtendedResponseModelAudioUpload ¶
type ProjectSnapshotExtendedResponseModelAudioUpload struct{}
(Deprecated).
func (*ProjectSnapshotExtendedResponseModelAudioUpload) Decode ¶
func (s *ProjectSnapshotExtendedResponseModelAudioUpload) Decode(d *jx.Decoder) error
Decode decodes ProjectSnapshotExtendedResponseModelAudioUpload from json.
func (*ProjectSnapshotExtendedResponseModelAudioUpload) Encode ¶
func (s *ProjectSnapshotExtendedResponseModelAudioUpload) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProjectSnapshotExtendedResponseModelAudioUpload) MarshalJSON ¶
func (s *ProjectSnapshotExtendedResponseModelAudioUpload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProjectSnapshotExtendedResponseModelAudioUpload) UnmarshalJSON ¶
func (s *ProjectSnapshotExtendedResponseModelAudioUpload) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ProjectSnapshotExtendedResponseModelZipUpload ¶
type ProjectSnapshotExtendedResponseModelZipUpload struct{}
(Deprecated).
func (*ProjectSnapshotExtendedResponseModelZipUpload) Decode ¶
func (s *ProjectSnapshotExtendedResponseModelZipUpload) Decode(d *jx.Decoder) error
Decode decodes ProjectSnapshotExtendedResponseModelZipUpload from json.
func (*ProjectSnapshotExtendedResponseModelZipUpload) Encode ¶
func (s *ProjectSnapshotExtendedResponseModelZipUpload) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProjectSnapshotExtendedResponseModelZipUpload) MarshalJSON ¶
func (s *ProjectSnapshotExtendedResponseModelZipUpload) MarshalJSON() ([]byte, error)
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 ¶
func (s *ProjectSnapshotResponseModel) Decode(d *jx.Decoder) error
Decode decodes ProjectSnapshotResponseModel from json.
func (*ProjectSnapshotResponseModel) Encode ¶
func (s *ProjectSnapshotResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProjectSnapshotResponseModel) GetAudioUpload ¶
func (s *ProjectSnapshotResponseModel) GetAudioUpload() OptProjectSnapshotResponseModelAudioUpload
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 ¶
func (s *ProjectSnapshotResponseModel) GetZipUpload() OptProjectSnapshotResponseModelZipUpload
GetZipUpload returns the value of ZipUpload.
func (*ProjectSnapshotResponseModel) MarshalJSON ¶
func (s *ProjectSnapshotResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProjectSnapshotResponseModel) SetAudioUpload ¶
func (s *ProjectSnapshotResponseModel) SetAudioUpload(val OptProjectSnapshotResponseModelAudioUpload)
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 ¶
func (s *ProjectSnapshotResponseModel) SetZipUpload(val OptProjectSnapshotResponseModelZipUpload)
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 ¶
func (s *ProjectSnapshotResponseModelAudioUpload) Decode(d *jx.Decoder) error
Decode decodes ProjectSnapshotResponseModelAudioUpload from json.
func (*ProjectSnapshotResponseModelAudioUpload) Encode ¶
func (s *ProjectSnapshotResponseModelAudioUpload) Encode(e *jx.Encoder)
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 ¶
func (s *ProjectSnapshotResponseModelZipUpload) Decode(d *jx.Decoder) error
Decode decodes ProjectSnapshotResponseModelZipUpload from json.
func (*ProjectSnapshotResponseModelZipUpload) Encode ¶
func (s *ProjectSnapshotResponseModelZipUpload) Encode(e *jx.Encoder)
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 ¶
func (s *ProjectSnapshotsResponseModel) Decode(d *jx.Decoder) error
Decode decodes ProjectSnapshotsResponseModel from json.
func (*ProjectSnapshotsResponseModel) Encode ¶
func (s *ProjectSnapshotsResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProjectSnapshotsResponseModel) GetSnapshots ¶
func (s *ProjectSnapshotsResponseModel) GetSnapshots() []ProjectSnapshotResponseModel
GetSnapshots returns the value of Snapshots.
func (*ProjectSnapshotsResponseModel) MarshalJSON ¶
func (s *ProjectSnapshotsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProjectSnapshotsResponseModel) SetSnapshots ¶
func (s *ProjectSnapshotsResponseModel) SetSnapshots(val []ProjectSnapshotResponseModel)
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 ¶
func (s *PromptAgentAPIModelOverride) Decode(d *jx.Decoder) error
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 ¶
func (s *PromptAgentAPIModelOverride) GetPrompt() OptNilString
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 ¶
func (s *PronunciationDictionaryRulesResponseModel) Decode(d *jx.Decoder) error
Decode decodes PronunciationDictionaryRulesResponseModel from json.
func (*PronunciationDictionaryRulesResponseModel) Encode ¶
func (s *PronunciationDictionaryRulesResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PronunciationDictionaryRulesResponseModel) GetID ¶
func (s *PronunciationDictionaryRulesResponseModel) GetID() string
GetID returns the value of ID.
func (*PronunciationDictionaryRulesResponseModel) GetVersionID ¶
func (s *PronunciationDictionaryRulesResponseModel) GetVersionID() string
GetVersionID returns the value of VersionID.
func (*PronunciationDictionaryRulesResponseModel) GetVersionRulesNum ¶
func (s *PronunciationDictionaryRulesResponseModel) GetVersionRulesNum() int
GetVersionRulesNum returns the value of VersionRulesNum.
func (*PronunciationDictionaryRulesResponseModel) MarshalJSON ¶
func (s *PronunciationDictionaryRulesResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PronunciationDictionaryRulesResponseModel) SetID ¶
func (s *PronunciationDictionaryRulesResponseModel) SetID(val string)
SetID sets the value of ID.
func (*PronunciationDictionaryRulesResponseModel) SetVersionID ¶
func (s *PronunciationDictionaryRulesResponseModel) SetVersionID(val string)
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 ¶
func (s *PronunciationDictionaryVersionLocatorDBModel) Decode(d *jx.Decoder) error
Decode decodes PronunciationDictionaryVersionLocatorDBModel from json.
func (*PronunciationDictionaryVersionLocatorDBModel) Encode ¶
func (s *PronunciationDictionaryVersionLocatorDBModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PronunciationDictionaryVersionLocatorDBModel) GetPronunciationDictionaryID ¶
func (s *PronunciationDictionaryVersionLocatorDBModel) GetPronunciationDictionaryID() string
GetPronunciationDictionaryID returns the value of PronunciationDictionaryID.
func (*PronunciationDictionaryVersionLocatorDBModel) GetVersionID ¶
func (s *PronunciationDictionaryVersionLocatorDBModel) GetVersionID() NilString
GetVersionID returns the value of VersionID.
func (*PronunciationDictionaryVersionLocatorDBModel) MarshalJSON ¶
func (s *PronunciationDictionaryVersionLocatorDBModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PronunciationDictionaryVersionLocatorDBModel) SetPronunciationDictionaryID ¶
func (s *PronunciationDictionaryVersionLocatorDBModel) SetPronunciationDictionaryID(val string)
SetPronunciationDictionaryID sets the value of PronunciationDictionaryID.
func (*PronunciationDictionaryVersionLocatorDBModel) SetVersionID ¶
func (s *PronunciationDictionaryVersionLocatorDBModel) SetVersionID(val NilString)
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 ¶
func (s *PronunciationDictionaryVersionLocatorRequestModel) Decode(d *jx.Decoder) error
Decode decodes PronunciationDictionaryVersionLocatorRequestModel from json.
func (*PronunciationDictionaryVersionLocatorRequestModel) Encode ¶
func (s *PronunciationDictionaryVersionLocatorRequestModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PronunciationDictionaryVersionLocatorRequestModel) GetPronunciationDictionaryID ¶
func (s *PronunciationDictionaryVersionLocatorRequestModel) GetPronunciationDictionaryID() string
GetPronunciationDictionaryID returns the value of PronunciationDictionaryID.
func (*PronunciationDictionaryVersionLocatorRequestModel) GetVersionID ¶
func (s *PronunciationDictionaryVersionLocatorRequestModel) GetVersionID() OptNilString
GetVersionID returns the value of VersionID.
func (*PronunciationDictionaryVersionLocatorRequestModel) MarshalJSON ¶
func (s *PronunciationDictionaryVersionLocatorRequestModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PronunciationDictionaryVersionLocatorRequestModel) SetPronunciationDictionaryID ¶
func (s *PronunciationDictionaryVersionLocatorRequestModel) SetPronunciationDictionaryID(val string)
SetPronunciationDictionaryID sets the value of PronunciationDictionaryID.
func (*PronunciationDictionaryVersionLocatorRequestModel) SetVersionID ¶
func (s *PronunciationDictionaryVersionLocatorRequestModel) SetVersionID(val OptNilString)
SetVersionID sets the value of VersionID.
func (*PronunciationDictionaryVersionLocatorRequestModel) UnmarshalJSON ¶
func (s *PronunciationDictionaryVersionLocatorRequestModel) UnmarshalJSON(data []byte) error
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 ¶
func (s *RAGDocumentIndexResponseModel) Decode(d *jx.Decoder) error
Decode decodes RAGDocumentIndexResponseModel from json.
func (*RAGDocumentIndexResponseModel) Encode ¶
func (s *RAGDocumentIndexResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RAGDocumentIndexResponseModel) GetDocumentModelIndexUsage ¶
func (s *RAGDocumentIndexResponseModel) GetDocumentModelIndexUsage() RAGDocumentIndexUsage
GetDocumentModelIndexUsage returns the value of DocumentModelIndexUsage.
func (*RAGDocumentIndexResponseModel) GetID ¶
func (s *RAGDocumentIndexResponseModel) GetID() string
GetID returns the value of ID.
func (*RAGDocumentIndexResponseModel) GetModel ¶
func (s *RAGDocumentIndexResponseModel) GetModel() EmbeddingModelEnum
GetModel returns the value of Model.
func (*RAGDocumentIndexResponseModel) GetProgressPercentage ¶
func (s *RAGDocumentIndexResponseModel) GetProgressPercentage() float64
GetProgressPercentage returns the value of ProgressPercentage.
func (*RAGDocumentIndexResponseModel) GetStatus ¶
func (s *RAGDocumentIndexResponseModel) GetStatus() RAGIndexStatus
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 ¶
func (s *RAGDocumentIndexResponseModel) SetModel(val EmbeddingModelEnum)
SetModel sets the value of Model.
func (*RAGDocumentIndexResponseModel) SetProgressPercentage ¶
func (s *RAGDocumentIndexResponseModel) SetProgressPercentage(val float64)
SetProgressPercentage sets the value of ProgressPercentage.
func (*RAGDocumentIndexResponseModel) SetStatus ¶
func (s *RAGDocumentIndexResponseModel) SetStatus(val RAGIndexStatus)
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 ¶
func (s *RAGDocumentIndexesResponseModel) Decode(d *jx.Decoder) error
Decode decodes RAGDocumentIndexesResponseModel from json.
func (*RAGDocumentIndexesResponseModel) Encode ¶
func (s *RAGDocumentIndexesResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RAGDocumentIndexesResponseModel) GetIndexes ¶
func (s *RAGDocumentIndexesResponseModel) GetIndexes() []RAGDocumentIndexResponseModel
GetIndexes returns the value of Indexes.
func (*RAGDocumentIndexesResponseModel) MarshalJSON ¶
func (s *RAGDocumentIndexesResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RAGDocumentIndexesResponseModel) SetIndexes ¶
func (s *RAGDocumentIndexesResponseModel) SetIndexes(val []RAGDocumentIndexResponseModel)
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 ¶
func (s *RAGIndexBatchSuccessfulResponseModel) Decode(d *jx.Decoder) error
Decode decodes RAGIndexBatchSuccessfulResponseModel from json.
func (*RAGIndexBatchSuccessfulResponseModel) Encode ¶
func (s *RAGIndexBatchSuccessfulResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RAGIndexBatchSuccessfulResponseModel) GetData ¶
func (s *RAGIndexBatchSuccessfulResponseModel) GetData() RAGDocumentIndexResponseModel
GetData returns the value of Data.
func (*RAGIndexBatchSuccessfulResponseModel) GetStatus ¶
func (s *RAGIndexBatchSuccessfulResponseModel) GetStatus() RAGIndexBatchSuccessfulResponseModelStatus
GetStatus returns the value of Status.
func (*RAGIndexBatchSuccessfulResponseModel) MarshalJSON ¶
func (s *RAGIndexBatchSuccessfulResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RAGIndexBatchSuccessfulResponseModel) SetData ¶
func (s *RAGIndexBatchSuccessfulResponseModel) SetData(val RAGDocumentIndexResponseModel)
SetData sets the value of Data.
func (*RAGIndexBatchSuccessfulResponseModel) SetStatus ¶
func (s *RAGIndexBatchSuccessfulResponseModel) SetStatus(val RAGIndexBatchSuccessfulResponseModelStatus)
SetStatus sets the value of Status.
func (*RAGIndexBatchSuccessfulResponseModel) UnmarshalJSON ¶
func (s *RAGIndexBatchSuccessfulResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RAGIndexBatchSuccessfulResponseModel) Validate ¶
func (s *RAGIndexBatchSuccessfulResponseModel) Validate() error
type RAGIndexBatchSuccessfulResponseModelStatus ¶
type RAGIndexBatchSuccessfulResponseModelStatus string
const (
RAGIndexBatchSuccessfulResponseModelStatusSuccess RAGIndexBatchSuccessfulResponseModelStatus = "success"
)
func (RAGIndexBatchSuccessfulResponseModelStatus) AllValues ¶
func (RAGIndexBatchSuccessfulResponseModelStatus) AllValues() []RAGIndexBatchSuccessfulResponseModelStatus
AllValues returns all RAGIndexBatchSuccessfulResponseModelStatus values.
func (*RAGIndexBatchSuccessfulResponseModelStatus) Decode ¶
func (s *RAGIndexBatchSuccessfulResponseModelStatus) Decode(d *jx.Decoder) error
Decode decodes RAGIndexBatchSuccessfulResponseModelStatus from json.
func (RAGIndexBatchSuccessfulResponseModelStatus) Encode ¶
func (s RAGIndexBatchSuccessfulResponseModelStatus) Encode(e *jx.Encoder)
Encode encodes RAGIndexBatchSuccessfulResponseModelStatus as json.
func (RAGIndexBatchSuccessfulResponseModelStatus) MarshalJSON ¶
func (s RAGIndexBatchSuccessfulResponseModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (RAGIndexBatchSuccessfulResponseModelStatus) MarshalText ¶
func (s RAGIndexBatchSuccessfulResponseModelStatus) MarshalText() ([]byte, error)
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 ¶
func (s RAGIndexBatchSuccessfulResponseModelStatus) Validate() error
type RAGIndexOverviewEmbeddingModelResponseModel ¶
type RAGIndexOverviewEmbeddingModelResponseModel struct {
Model EmbeddingModelEnum `json:"model"`
UsedBytes int `json:"used_bytes"`
}
Ref: #/components/schemas/RAGIndexOverviewEmbeddingModelResponseModel
func (*RAGIndexOverviewEmbeddingModelResponseModel) Decode ¶
func (s *RAGIndexOverviewEmbeddingModelResponseModel) Decode(d *jx.Decoder) error
Decode decodes RAGIndexOverviewEmbeddingModelResponseModel from json.
func (*RAGIndexOverviewEmbeddingModelResponseModel) Encode ¶
func (s *RAGIndexOverviewEmbeddingModelResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RAGIndexOverviewEmbeddingModelResponseModel) GetModel ¶
func (s *RAGIndexOverviewEmbeddingModelResponseModel) GetModel() EmbeddingModelEnum
GetModel returns the value of Model.
func (*RAGIndexOverviewEmbeddingModelResponseModel) GetUsedBytes ¶
func (s *RAGIndexOverviewEmbeddingModelResponseModel) GetUsedBytes() int
GetUsedBytes returns the value of UsedBytes.
func (*RAGIndexOverviewEmbeddingModelResponseModel) MarshalJSON ¶
func (s *RAGIndexOverviewEmbeddingModelResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RAGIndexOverviewEmbeddingModelResponseModel) SetModel ¶
func (s *RAGIndexOverviewEmbeddingModelResponseModel) SetModel(val EmbeddingModelEnum)
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 ¶
func (s *RAGIndexOverviewEmbeddingModelResponseModel) Validate() error
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 ¶
func (s *RAGIndexOverviewResponseModel) Decode(d *jx.Decoder) error
Decode decodes RAGIndexOverviewResponseModel from json.
func (*RAGIndexOverviewResponseModel) Encode ¶
func (s *RAGIndexOverviewResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RAGIndexOverviewResponseModel) GetModels ¶
func (s *RAGIndexOverviewResponseModel) GetModels() []RAGIndexOverviewEmbeddingModelResponseModel
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 ¶
func (s *RAGIndexOverviewResponseModel) SetModels(val []RAGIndexOverviewEmbeddingModelResponseModel)
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 ¶
func (s *RAGIndexRequestModel) GetModel() EmbeddingModelEnum
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 ¶
func (s *ReaderResourceResponseModel) Decode(d *jx.Decoder) error
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 ¶
func (s *ReaderResourceResponseModel) GetResourceType() ReaderResourceResponseModelResourceType
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 ¶
func (s *ReaderResourceResponseModel) SetResourceType(val ReaderResourceResponseModelResourceType)
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 ¶
func (ReaderResourceResponseModelResourceType) AllValues() []ReaderResourceResponseModelResourceType
AllValues returns all ReaderResourceResponseModelResourceType values.
func (*ReaderResourceResponseModelResourceType) Decode ¶
func (s *ReaderResourceResponseModelResourceType) Decode(d *jx.Decoder) error
Decode decodes ReaderResourceResponseModelResourceType from json.
func (ReaderResourceResponseModelResourceType) Encode ¶
func (s ReaderResourceResponseModelResourceType) Encode(e *jx.Encoder)
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 ¶
func (s ReaderResourceResponseModelResourceType) Validate() error
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 ¶
func (s *ReferencedToolCommonModel) GetType() ReferencedToolCommonModelType
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 ¶
func (s *ReferencedToolCommonModel) SetType(val ReferencedToolCommonModelType)
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 ¶
func (ReferencedToolCommonModelType) AllValues() []ReferencedToolCommonModelType
AllValues returns all ReferencedToolCommonModelType values.
func (*ReferencedToolCommonModelType) Decode ¶
func (s *ReferencedToolCommonModelType) Decode(d *jx.Decoder) error
Decode decodes ReferencedToolCommonModelType from json.
func (ReferencedToolCommonModelType) Encode ¶
func (s ReferencedToolCommonModelType) Encode(e *jx.Encoder)
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 ¶
func (s *RegexParameterEvaluationStrategy) Decode(d *jx.Decoder) error
Decode decodes RegexParameterEvaluationStrategy from json.
func (*RegexParameterEvaluationStrategy) Encode ¶
func (s *RegexParameterEvaluationStrategy) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RegexParameterEvaluationStrategy) GetPattern ¶
func (s *RegexParameterEvaluationStrategy) GetPattern() string
GetPattern returns the value of Pattern.
func (*RegexParameterEvaluationStrategy) GetType ¶
func (s *RegexParameterEvaluationStrategy) GetType() RegexParameterEvaluationStrategyType
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 ¶
func (s *RegexParameterEvaluationStrategy) SetType(val RegexParameterEvaluationStrategyType)
SetType sets the value of Type.
func (*RegexParameterEvaluationStrategy) UnmarshalJSON ¶
func (s *RegexParameterEvaluationStrategy) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RegexParameterEvaluationStrategy) Validate ¶
func (s *RegexParameterEvaluationStrategy) Validate() error
type RegexParameterEvaluationStrategyType ¶
type RegexParameterEvaluationStrategyType string
const (
RegexParameterEvaluationStrategyTypeRegex RegexParameterEvaluationStrategyType = "regex"
)
func (RegexParameterEvaluationStrategyType) AllValues ¶
func (RegexParameterEvaluationStrategyType) AllValues() []RegexParameterEvaluationStrategyType
AllValues returns all RegexParameterEvaluationStrategyType values.
func (*RegexParameterEvaluationStrategyType) Decode ¶
func (s *RegexParameterEvaluationStrategyType) Decode(d *jx.Decoder) error
Decode decodes RegexParameterEvaluationStrategyType from json.
func (RegexParameterEvaluationStrategyType) Encode ¶
func (s RegexParameterEvaluationStrategyType) Encode(e *jx.Encoder)
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 ¶
func (s RegexParameterEvaluationStrategyType) Validate() error
type RegisterTwilioCallOK ¶
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) GetLanguage ¶
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) GetVersion ¶
GetVersion returns the value of Version.
func (*Render) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Render) SetLanguage ¶
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) SetVersion ¶
SetVersion sets the value of Version.
func (*Render) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (s *RequestPVCManualVerificationResponseModel) Decode(d *jx.Decoder) error
Decode decodes RequestPVCManualVerificationResponseModel from json.
func (*RequestPVCManualVerificationResponseModel) Encode ¶
func (s *RequestPVCManualVerificationResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RequestPVCManualVerificationResponseModel) GetStatus ¶
func (s *RequestPVCManualVerificationResponseModel) GetStatus() string
GetStatus returns the value of Status.
func (*RequestPVCManualVerificationResponseModel) MarshalJSON ¶
func (s *RequestPVCManualVerificationResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RequestPVCManualVerificationResponseModel) SetStatus ¶
func (s *RequestPVCManualVerificationResponseModel) SetStatus(val string)
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 ¶
func (s *ResourceAccessInfo) GetRole() ResourceAccessInfoRole
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 ¶
func (s *ResourceAccessInfo) SetRole(val ResourceAccessInfoRole)
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 ¶
func (ResourceAccessInfoRole) AllValues() []ResourceAccessInfoRole
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"`
// access to the resource yet.
ShareOptions []ShareOptionResponseModel `json:"share_options"`
}
Ref: #/components/schemas/ResourceMetadataResponseModel
func (*ResourceMetadataResponseModel) Decode ¶
func (s *ResourceMetadataResponseModel) Decode(d *jx.Decoder) error
Decode decodes ResourceMetadataResponseModel from json.
func (*ResourceMetadataResponseModel) Encode ¶
func (s *ResourceMetadataResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourceMetadataResponseModel) GetAnonymousAccessLevelOverride ¶
func (s *ResourceMetadataResponseModel) GetAnonymousAccessLevelOverride() NilResourceMetadataResponseModelAnonymousAccessLevelOverride
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 ¶
func (s *ResourceMetadataResponseModel) GetResourceType() WorkspaceResourceType
GetResourceType returns the value of ResourceType.
func (*ResourceMetadataResponseModel) GetRoleToGroupIds ¶
func (s *ResourceMetadataResponseModel) GetRoleToGroupIds() ResourceMetadataResponseModelRoleToGroupIds
GetRoleToGroupIds returns the value of RoleToGroupIds.
func (*ResourceMetadataResponseModel) GetShareOptions ¶
func (s *ResourceMetadataResponseModel) GetShareOptions() []ShareOptionResponseModel
GetShareOptions returns the value of ShareOptions.
func (*ResourceMetadataResponseModel) MarshalJSON ¶
func (s *ResourceMetadataResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourceMetadataResponseModel) SetAnonymousAccessLevelOverride ¶
func (s *ResourceMetadataResponseModel) SetAnonymousAccessLevelOverride(val NilResourceMetadataResponseModelAnonymousAccessLevelOverride)
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 ¶
func (s *ResourceMetadataResponseModel) SetRoleToGroupIds(val ResourceMetadataResponseModelRoleToGroupIds)
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 ¶
func (ResourceMetadataResponseModelAnonymousAccessLevelOverride) AllValues() []ResourceMetadataResponseModelAnonymousAccessLevelOverride
AllValues returns all ResourceMetadataResponseModelAnonymousAccessLevelOverride values.
func (*ResourceMetadataResponseModelAnonymousAccessLevelOverride) Decode ¶
func (s *ResourceMetadataResponseModelAnonymousAccessLevelOverride) Decode(d *jx.Decoder) error
Decode decodes ResourceMetadataResponseModelAnonymousAccessLevelOverride from json.
func (ResourceMetadataResponseModelAnonymousAccessLevelOverride) Encode ¶
func (s ResourceMetadataResponseModelAnonymousAccessLevelOverride) Encode(e *jx.Encoder)
Encode encodes ResourceMetadataResponseModelAnonymousAccessLevelOverride as json.
func (ResourceMetadataResponseModelAnonymousAccessLevelOverride) MarshalJSON ¶
func (s ResourceMetadataResponseModelAnonymousAccessLevelOverride) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ResourceMetadataResponseModelAnonymousAccessLevelOverride) MarshalText ¶
func (s ResourceMetadataResponseModelAnonymousAccessLevelOverride) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ResourceMetadataResponseModelAnonymousAccessLevelOverride) UnmarshalJSON ¶
func (s *ResourceMetadataResponseModelAnonymousAccessLevelOverride) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourceMetadataResponseModelAnonymousAccessLevelOverride) UnmarshalText ¶
func (s *ResourceMetadataResponseModelAnonymousAccessLevelOverride) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ResourceMetadataResponseModelAnonymousAccessLevelOverride) Validate ¶
func (s ResourceMetadataResponseModelAnonymousAccessLevelOverride) Validate() error
type ResourceMetadataResponseModelRoleToGroupIds ¶
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 ¶
func (s *ResourceMetadataResponseModelRoleToGroupIds) Decode(d *jx.Decoder) error
Decode decodes ResourceMetadataResponseModelRoleToGroupIds from json.
func (ResourceMetadataResponseModelRoleToGroupIds) Encode ¶
func (s ResourceMetadataResponseModelRoleToGroupIds) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ResourceMetadataResponseModelRoleToGroupIds) MarshalJSON ¶
func (s ResourceMetadataResponseModelRoleToGroupIds) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourceMetadataResponseModelRoleToGroupIds) UnmarshalJSON ¶
func (s *ResourceMetadataResponseModelRoleToGroupIds) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ResourceMetadataResponseModelRoleToGroupIds) Validate ¶
func (s ResourceMetadataResponseModelRoleToGroupIds) Validate() error
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) OperationGroup ¶
OperationGroup returns the x-ogen-operation-group value.
func (Route) OperationID ¶
OperationID returns OpenAPI operationId.
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 ¶
func (SIPMediaEncryptionEnum) AllValues() []SIPMediaEncryptionEnum
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 ¶
func (s *SIPTrunkCredentialsRequestModel) Decode(d *jx.Decoder) error
Decode decodes SIPTrunkCredentialsRequestModel from json.
func (*SIPTrunkCredentialsRequestModel) Encode ¶
func (s *SIPTrunkCredentialsRequestModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SIPTrunkCredentialsRequestModel) GetPassword ¶
func (s *SIPTrunkCredentialsRequestModel) GetPassword() OptNilString
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 ¶
func (s *SIPTrunkOutboundCallResponse) Decode(d *jx.Decoder) error
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 ¶
func (SIPTrunkTransportEnum) AllValues() []SIPTrunkTransportEnum
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 ¶
func (s *SearchGroupsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes SearchGroupsOKApplicationJSON from json.
func (SearchGroupsOKApplicationJSON) Encode ¶
func (s SearchGroupsOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (SecretDependencyType) AllValues() []SecretDependencyType
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 ¶
func (s *SegmentCreatePayload) GetTranslations() OptNilSegmentCreatePayloadTranslations
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 ¶
func (s *SegmentCreatePayload) SetTranslations(val OptNilSegmentCreatePayloadTranslations)
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 ¶
func (*SegmentCreatePayloadTranslations) Decode ¶
func (s *SegmentCreatePayloadTranslations) Decode(d *jx.Decoder) error
Decode decodes SegmentCreatePayloadTranslations from json.
func (SegmentCreatePayloadTranslations) Encode ¶
func (s SegmentCreatePayloadTranslations) Encode(e *jx.Encoder)
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 ¶
func (s *SegmentTranscriptionResponse) Decode(d *jx.Decoder) error
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 ¶
func (s *SegmentTranslationResponse) Decode(d *jx.Decoder) error
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 ¶
func (s *SegmentedJsonExportOptions) Decode(d *jx.Decoder) error
Decode decodes SegmentedJsonExportOptions from json.
func (*SegmentedJsonExportOptions) Encode ¶
func (s *SegmentedJsonExportOptions) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SegmentedJsonExportOptions) GetFormat ¶
func (s *SegmentedJsonExportOptions) GetFormat() SegmentedJsonExportOptionsFormat
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 ¶
func (s *SegmentedJsonExportOptions) SetFormat(val SegmentedJsonExportOptionsFormat)
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 ¶
func (SegmentedJsonExportOptionsFormat) AllValues() []SegmentedJsonExportOptionsFormat
AllValues returns all SegmentedJsonExportOptionsFormat values.
func (*SegmentedJsonExportOptionsFormat) Decode ¶
func (s *SegmentedJsonExportOptionsFormat) Decode(d *jx.Decoder) error
Decode decodes SegmentedJsonExportOptionsFormat from json.
func (SegmentedJsonExportOptionsFormat) Encode ¶
func (s SegmentedJsonExportOptionsFormat) Encode(e *jx.Encoder)
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 ¶
func (s SegmentedJsonExportOptionsFormat) Validate() error
type SeparateSongStemsOK ¶
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 ¶
func (s *SeparateSongStemsOKHeaders) GetResponse() SeparateSongStemsOK
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 ¶
func (SeparateSongStemsOutputFormat) AllValues() []SeparateSongStemsOutputFormat
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.
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 {
ID string `json:"id"`
Name string `json:"name"`
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 ¶
func (s *ShareOptionResponseModel) GetType() ShareOptionResponseModelType
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 ¶
func (s *ShareOptionResponseModel) SetType(val ShareOptionResponseModelType)
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 ( )
func (ShareOptionResponseModelType) AllValues ¶
func (ShareOptionResponseModelType) AllValues() []ShareOptionResponseModelType
AllValues returns all ShareOptionResponseModelType values.
func (*ShareOptionResponseModelType) Decode ¶
func (s *ShareOptionResponseModelType) Decode(d *jx.Decoder) error
Decode decodes ShareOptionResponseModelType from json.
func (ShareOptionResponseModelType) Encode ¶
func (s ShareOptionResponseModelType) Encode(e *jx.Encoder)
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 ¶
func (*ShareResourceEndpointOKApplicationJSON) Decode ¶
func (s *ShareResourceEndpointOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ShareResourceEndpointOKApplicationJSON from json.
func (ShareResourceEndpointOKApplicationJSON) Encode ¶
func (s ShareResourceEndpointOKApplicationJSON) Encode(e *jx.Encoder)
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 {
ResourceID string
// 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 ¶
func (SimilarVoiceCategory) AllValues() []SimilarVoiceCategory
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 ¶
func (s *SimilarVoicesForSpeakerResponse) Decode(d *jx.Decoder) error
Decode decodes SimilarVoicesForSpeakerResponse from json.
func (*SimilarVoicesForSpeakerResponse) Encode ¶
func (s *SimilarVoicesForSpeakerResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SimilarVoicesForSpeakerResponse) GetVoices ¶
func (s *SimilarVoicesForSpeakerResponse) GetVoices() []SimilarVoice
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 ¶
func (s *SingleUseTokenResponseModel) Decode(d *jx.Decoder) error
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 ¶
func (s *SkipTurnToolResponseModel) GetResultType() OptSkipTurnToolResponseModelResultType
GetResultType returns the value of ResultType.
func (*SkipTurnToolResponseModel) GetStatus ¶
func (s *SkipTurnToolResponseModel) GetStatus() OptSkipTurnToolResponseModelStatus
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 ¶
func (s *SkipTurnToolResponseModel) SetResultType(val OptSkipTurnToolResponseModelResultType)
SetResultType sets the value of ResultType.
func (*SkipTurnToolResponseModel) SetStatus ¶
func (s *SkipTurnToolResponseModel) SetStatus(val OptSkipTurnToolResponseModelStatus)
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 ¶
func (SkipTurnToolResponseModelResultType) AllValues() []SkipTurnToolResponseModelResultType
AllValues returns all SkipTurnToolResponseModelResultType values.
func (*SkipTurnToolResponseModelResultType) Decode ¶
func (s *SkipTurnToolResponseModelResultType) Decode(d *jx.Decoder) error
Decode decodes SkipTurnToolResponseModelResultType from json.
func (SkipTurnToolResponseModelResultType) Encode ¶
func (s SkipTurnToolResponseModelResultType) Encode(e *jx.Encoder)
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 ¶
func (s SkipTurnToolResponseModelResultType) Validate() error
type SkipTurnToolResponseModelStatus ¶
type SkipTurnToolResponseModelStatus string
const (
SkipTurnToolResponseModelStatusSuccess SkipTurnToolResponseModelStatus = "success"
)
func (SkipTurnToolResponseModelStatus) AllValues ¶
func (SkipTurnToolResponseModelStatus) AllValues() []SkipTurnToolResponseModelStatus
AllValues returns all SkipTurnToolResponseModelStatus values.
func (*SkipTurnToolResponseModelStatus) Decode ¶
func (s *SkipTurnToolResponseModelStatus) Decode(d *jx.Decoder) error
Decode decodes SkipTurnToolResponseModelStatus from json.
func (SkipTurnToolResponseModelStatus) Encode ¶
func (s SkipTurnToolResponseModelStatus) Encode(e *jx.Encoder)
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 ¶
func (s SkipTurnToolResponseModelStatus) Validate() error
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 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 ¶
func (s *SoundGenerationOKHeaders) GetResponse() SoundGenerationOK
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 ¶
func (SoundGenerationOutputFormat) AllValues() []SoundGenerationOutputFormat
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 ¶
func (s *SpeakerResponseModel) GetUtterances() OptNilUtteranceResponseModelArray
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 ¶
func (s *SpeakerResponseModel) SetUtterances(val OptNilUtteranceResponseModelArray)
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 ¶
func (s *SpeakerSeparationResponseModel) Decode(d *jx.Decoder) error
Decode decodes SpeakerSeparationResponseModel from json.
func (*SpeakerSeparationResponseModel) Encode ¶
func (s *SpeakerSeparationResponseModel) Encode(e *jx.Encoder)
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 ¶
func (s *SpeakerSeparationResponseModel) GetSpeakers() OptNilSpeakerSeparationResponseModelSpeakers
GetSpeakers returns the value of Speakers.
func (*SpeakerSeparationResponseModel) GetStatus ¶
func (s *SpeakerSeparationResponseModel) GetStatus() SpeakerSeparationResponseModelStatus
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 ¶
func (s *SpeakerSeparationResponseModel) SetSpeakers(val OptNilSpeakerSeparationResponseModelSpeakers)
SetSpeakers sets the value of Speakers.
func (*SpeakerSeparationResponseModel) SetStatus ¶
func (s *SpeakerSeparationResponseModel) SetStatus(val SpeakerSeparationResponseModelStatus)
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 ¶
func (s *SpeakerSeparationResponseModelSpeakers) Decode(d *jx.Decoder) error
Decode decodes SpeakerSeparationResponseModelSpeakers from json.
func (SpeakerSeparationResponseModelSpeakers) Encode ¶
func (s SpeakerSeparationResponseModelSpeakers) Encode(e *jx.Encoder)
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 ¶
func (s SpeakerSeparationResponseModelSpeakers) Validate() error
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 ¶
func (SpeakerSeparationResponseModelStatus) AllValues() []SpeakerSeparationResponseModelStatus
AllValues returns all SpeakerSeparationResponseModelStatus values.
func (*SpeakerSeparationResponseModelStatus) Decode ¶
func (s *SpeakerSeparationResponseModelStatus) Decode(d *jx.Decoder) error
Decode decodes SpeakerSeparationResponseModelStatus from json.
func (SpeakerSeparationResponseModelStatus) Encode ¶
func (s SpeakerSeparationResponseModelStatus) Encode(e *jx.Encoder)
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 ¶
func (s SpeakerSeparationResponseModelStatus) Validate() error
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) 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) 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 ¶
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"`
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 ¶
func (s *SpeechHistoryItemResponseModel) Decode(d *jx.Decoder) error
Decode decodes SpeechHistoryItemResponseModel from json.
func (*SpeechHistoryItemResponseModel) Encode ¶
func (s *SpeechHistoryItemResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SpeechHistoryItemResponseModel) GetAlignments ¶
func (s *SpeechHistoryItemResponseModel) GetAlignments() OptHistoryAlignmentsResponseModel
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 ¶
func (s *SpeechHistoryItemResponseModel) GetDialogue() OptNilDialogueInputResponseModelArray
GetDialogue returns the value of Dialogue.
func (*SpeechHistoryItemResponseModel) GetFeedback ¶
func (s *SpeechHistoryItemResponseModel) GetFeedback() OptFeedbackResponseModel
GetFeedback returns the value of Feedback.
func (*SpeechHistoryItemResponseModel) GetHistoryItemID ¶
func (s *SpeechHistoryItemResponseModel) GetHistoryItemID() string
GetHistoryItemID returns the value of HistoryItemID.
func (*SpeechHistoryItemResponseModel) GetModelID ¶
func (s *SpeechHistoryItemResponseModel) GetModelID() OptNilString
GetModelID returns the value of ModelID.
func (*SpeechHistoryItemResponseModel) GetRequestID ¶
func (s *SpeechHistoryItemResponseModel) GetRequestID() OptNilString
GetRequestID returns the value of RequestID.
func (*SpeechHistoryItemResponseModel) GetSettings ¶
func (s *SpeechHistoryItemResponseModel) GetSettings() OptSpeechHistoryItemResponseModelSettings
GetSettings returns the value of Settings.
func (*SpeechHistoryItemResponseModel) GetShareLinkID ¶
func (s *SpeechHistoryItemResponseModel) GetShareLinkID() OptNilString
GetShareLinkID returns the value of ShareLinkID.
func (*SpeechHistoryItemResponseModel) GetSource ¶
func (s *SpeechHistoryItemResponseModel) GetSource() OptNilSpeechHistoryItemResponseModelSource
GetSource returns the value of Source.
func (*SpeechHistoryItemResponseModel) GetState ¶
func (s *SpeechHistoryItemResponseModel) GetState() SpeechHistoryItemResponseModelState
GetState returns the value of State.
func (*SpeechHistoryItemResponseModel) GetText ¶
func (s *SpeechHistoryItemResponseModel) GetText() OptNilString
GetText returns the value of Text.
func (*SpeechHistoryItemResponseModel) GetVoiceCategory ¶
func (s *SpeechHistoryItemResponseModel) GetVoiceCategory() OptNilSpeechHistoryItemResponseModelVoiceCategory
GetVoiceCategory returns the value of VoiceCategory.
func (*SpeechHistoryItemResponseModel) GetVoiceID ¶
func (s *SpeechHistoryItemResponseModel) GetVoiceID() OptNilString
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 ¶
func (s *SpeechHistoryItemResponseModel) SetAlignments(val OptHistoryAlignmentsResponseModel)
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 ¶
func (s *SpeechHistoryItemResponseModel) SetDialogue(val OptNilDialogueInputResponseModelArray)
SetDialogue sets the value of Dialogue.
func (*SpeechHistoryItemResponseModel) SetFeedback ¶
func (s *SpeechHistoryItemResponseModel) SetFeedback(val OptFeedbackResponseModel)
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 ¶
func (s *SpeechHistoryItemResponseModel) SetSettings(val OptSpeechHistoryItemResponseModelSettings)
SetSettings sets the value of Settings.
func (*SpeechHistoryItemResponseModel) SetShareLinkID ¶
func (s *SpeechHistoryItemResponseModel) SetShareLinkID(val OptNilString)
SetShareLinkID sets the value of ShareLinkID.
func (*SpeechHistoryItemResponseModel) SetSource ¶
func (s *SpeechHistoryItemResponseModel) SetSource(val OptNilSpeechHistoryItemResponseModelSource)
SetSource sets the value of Source.
func (*SpeechHistoryItemResponseModel) SetState ¶
func (s *SpeechHistoryItemResponseModel) SetState(val SpeechHistoryItemResponseModelState)
SetState sets the value of State.
func (*SpeechHistoryItemResponseModel) SetText ¶
func (s *SpeechHistoryItemResponseModel) SetText(val OptNilString)
SetText sets the value of Text.
func (*SpeechHistoryItemResponseModel) SetVoiceCategory ¶
func (s *SpeechHistoryItemResponseModel) SetVoiceCategory(val OptNilSpeechHistoryItemResponseModelVoiceCategory)
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 ¶
func (s *SpeechHistoryItemResponseModelSettings) Decode(d *jx.Decoder) error
Decode decodes SpeechHistoryItemResponseModelSettings from json.
func (*SpeechHistoryItemResponseModelSettings) Encode ¶
func (s *SpeechHistoryItemResponseModelSettings) Encode(e *jx.Encoder)
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 ¶
func (SpeechHistoryItemResponseModelSource) AllValues() []SpeechHistoryItemResponseModelSource
AllValues returns all SpeechHistoryItemResponseModelSource values.
func (*SpeechHistoryItemResponseModelSource) Decode ¶
func (s *SpeechHistoryItemResponseModelSource) Decode(d *jx.Decoder) error
Decode decodes SpeechHistoryItemResponseModelSource from json.
func (SpeechHistoryItemResponseModelSource) Encode ¶
func (s SpeechHistoryItemResponseModelSource) Encode(e *jx.Encoder)
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 ¶
func (s SpeechHistoryItemResponseModelSource) Validate() error
type SpeechHistoryItemResponseModelState ¶
type SpeechHistoryItemResponseModelState string
The state of the history item.
const ( SpeechHistoryItemResponseModelStateCreated SpeechHistoryItemResponseModelState = "created" SpeechHistoryItemResponseModelStateDeleted SpeechHistoryItemResponseModelState = "deleted" SpeechHistoryItemResponseModelStateProcessing SpeechHistoryItemResponseModelState = "processing" )
func (SpeechHistoryItemResponseModelState) AllValues ¶
func (SpeechHistoryItemResponseModelState) AllValues() []SpeechHistoryItemResponseModelState
AllValues returns all SpeechHistoryItemResponseModelState values.
func (*SpeechHistoryItemResponseModelState) Decode ¶
func (s *SpeechHistoryItemResponseModelState) Decode(d *jx.Decoder) error
Decode decodes SpeechHistoryItemResponseModelState from json.
func (SpeechHistoryItemResponseModelState) Encode ¶
func (s SpeechHistoryItemResponseModelState) Encode(e *jx.Encoder)
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 ¶
func (s SpeechHistoryItemResponseModelState) Validate() error
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 ¶
func (SpeechHistoryItemResponseModelVoiceCategory) AllValues() []SpeechHistoryItemResponseModelVoiceCategory
AllValues returns all SpeechHistoryItemResponseModelVoiceCategory values.
func (*SpeechHistoryItemResponseModelVoiceCategory) Decode ¶
func (s *SpeechHistoryItemResponseModelVoiceCategory) Decode(d *jx.Decoder) error
Decode decodes SpeechHistoryItemResponseModelVoiceCategory from json.
func (SpeechHistoryItemResponseModelVoiceCategory) Encode ¶
func (s SpeechHistoryItemResponseModelVoiceCategory) Encode(e *jx.Encoder)
Encode encodes SpeechHistoryItemResponseModelVoiceCategory as json.
func (SpeechHistoryItemResponseModelVoiceCategory) MarshalJSON ¶
func (s SpeechHistoryItemResponseModelVoiceCategory) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (SpeechHistoryItemResponseModelVoiceCategory) MarshalText ¶
func (s SpeechHistoryItemResponseModelVoiceCategory) MarshalText() ([]byte, error)
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 ¶
func (s SpeechHistoryItemResponseModelVoiceCategory) Validate() error
type SpeechToSpeechFullOK ¶
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 ¶
func (SpeechToSpeechFullOutputFormat) AllValues() []SpeechToSpeechFullOutputFormat
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 ¶
func (s SpeechToSpeechFullOutputFormat) Validate() error
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 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 ¶
func (SpeechToSpeechStreamOutputFormat) AllValues() []SpeechToSpeechStreamOutputFormat
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 ¶
func (s SpeechToSpeechStreamOutputFormat) Validate() error
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 ¶
func (*SpeechToTextAcceptedApplicationJSON) Decode ¶
func (s *SpeechToTextAcceptedApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes SpeechToTextAcceptedApplicationJSON from json.
func (SpeechToTextAcceptedApplicationJSON) Encode ¶
func (s SpeechToTextAcceptedApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s *SpeechToTextCharacterResponseModel) Decode(d *jx.Decoder) error
Decode decodes SpeechToTextCharacterResponseModel from json.
func (*SpeechToTextCharacterResponseModel) Encode ¶
func (s *SpeechToTextCharacterResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SpeechToTextCharacterResponseModel) GetEnd ¶
func (s *SpeechToTextCharacterResponseModel) GetEnd() OptNilFloat64
GetEnd returns the value of End.
func (*SpeechToTextCharacterResponseModel) GetStart ¶
func (s *SpeechToTextCharacterResponseModel) GetStart() OptNilFloat64
GetStart returns the value of Start.
func (*SpeechToTextCharacterResponseModel) GetText ¶
func (s *SpeechToTextCharacterResponseModel) GetText() string
GetText returns the value of Text.
func (*SpeechToTextCharacterResponseModel) MarshalJSON ¶
func (s *SpeechToTextCharacterResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SpeechToTextCharacterResponseModel) SetEnd ¶
func (s *SpeechToTextCharacterResponseModel) SetEnd(val OptNilFloat64)
SetEnd sets the value of End.
func (*SpeechToTextCharacterResponseModel) SetStart ¶
func (s *SpeechToTextCharacterResponseModel) SetStart(val OptNilFloat64)
SetStart sets the value of Start.
func (*SpeechToTextCharacterResponseModel) SetText ¶
func (s *SpeechToTextCharacterResponseModel) SetText(val string)
SetText sets the value of Text.
func (*SpeechToTextCharacterResponseModel) UnmarshalJSON ¶
func (s *SpeechToTextCharacterResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SpeechToTextCharacterResponseModel) Validate ¶
func (s *SpeechToTextCharacterResponseModel) Validate() error
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 ¶
func (s *SpeechToTextChunkResponseModel) Decode(d *jx.Decoder) error
Decode decodes SpeechToTextChunkResponseModel from json.
func (*SpeechToTextChunkResponseModel) Encode ¶
func (s *SpeechToTextChunkResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SpeechToTextChunkResponseModel) GetAdditionalFormats ¶
func (s *SpeechToTextChunkResponseModel) GetAdditionalFormats() OptNilAdditionalFormatResponseModelArray
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 ¶
func (s *SpeechToTextChunkResponseModel) GetText() string
GetText returns the value of Text.
func (*SpeechToTextChunkResponseModel) GetTranscriptionID ¶
func (s *SpeechToTextChunkResponseModel) GetTranscriptionID() OptNilString
GetTranscriptionID returns the value of TranscriptionID.
func (*SpeechToTextChunkResponseModel) GetWords ¶
func (s *SpeechToTextChunkResponseModel) GetWords() []SpeechToTextWordResponseModel
GetWords returns the value of Words.
func (*SpeechToTextChunkResponseModel) MarshalJSON ¶
func (s *SpeechToTextChunkResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SpeechToTextChunkResponseModel) SetAdditionalFormats ¶
func (s *SpeechToTextChunkResponseModel) SetAdditionalFormats(val OptNilAdditionalFormatResponseModelArray)
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 ¶
func (s *SpeechToTextChunkResponseModel) SetWords(val []SpeechToTextWordResponseModel)
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 ¶
func (s *SpeechToTextWordResponseModel) Decode(d *jx.Decoder) error
Decode decodes SpeechToTextWordResponseModel from json.
func (*SpeechToTextWordResponseModel) Encode ¶
func (s *SpeechToTextWordResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SpeechToTextWordResponseModel) GetCharacters ¶
func (s *SpeechToTextWordResponseModel) GetCharacters() OptNilSpeechToTextCharacterResponseModelArray
GetCharacters returns the value of Characters.
func (*SpeechToTextWordResponseModel) GetEnd ¶
func (s *SpeechToTextWordResponseModel) GetEnd() OptNilFloat64
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 ¶
func (s *SpeechToTextWordResponseModel) GetStart() OptNilFloat64
GetStart returns the value of Start.
func (*SpeechToTextWordResponseModel) GetText ¶
func (s *SpeechToTextWordResponseModel) GetText() string
GetText returns the value of Text.
func (*SpeechToTextWordResponseModel) GetType ¶
func (s *SpeechToTextWordResponseModel) GetType() SpeechToTextWordResponseModelType
GetType returns the value of Type.
func (*SpeechToTextWordResponseModel) MarshalJSON ¶
func (s *SpeechToTextWordResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SpeechToTextWordResponseModel) SetCharacters ¶
func (s *SpeechToTextWordResponseModel) SetCharacters(val OptNilSpeechToTextCharacterResponseModelArray)
SetCharacters sets the value of Characters.
func (*SpeechToTextWordResponseModel) SetEnd ¶
func (s *SpeechToTextWordResponseModel) SetEnd(val OptNilFloat64)
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 ¶
func (s *SpeechToTextWordResponseModel) SetStart(val OptNilFloat64)
SetStart sets the value of Start.
func (*SpeechToTextWordResponseModel) SetText ¶
func (s *SpeechToTextWordResponseModel) SetText(val string)
SetText sets the value of Text.
func (*SpeechToTextWordResponseModel) SetType ¶
func (s *SpeechToTextWordResponseModel) SetType(val SpeechToTextWordResponseModelType)
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 ¶
func (SpeechToTextWordResponseModelType) AllValues() []SpeechToTextWordResponseModelType
AllValues returns all SpeechToTextWordResponseModelType values.
func (*SpeechToTextWordResponseModelType) Decode ¶
func (s *SpeechToTextWordResponseModelType) Decode(d *jx.Decoder) error
Decode decodes SpeechToTextWordResponseModelType from json.
func (SpeechToTextWordResponseModelType) Encode ¶
func (s SpeechToTextWordResponseModelType) Encode(e *jx.Encoder)
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 ¶
func (s SpeechToTextWordResponseModelType) Validate() error
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 ¶
func (s *SrtExportOptions) GetFormat() SrtExportOptionsFormat
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 ¶
func (SrtExportOptionsFormat) AllValues() []SrtExportOptionsFormat
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 ¶
func (s *StartPVCVoiceTrainingResponseModel) Decode(d *jx.Decoder) error
Decode decodes StartPVCVoiceTrainingResponseModel from json.
func (*StartPVCVoiceTrainingResponseModel) Encode ¶
func (s *StartPVCVoiceTrainingResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StartPVCVoiceTrainingResponseModel) GetStatus ¶
func (s *StartPVCVoiceTrainingResponseModel) GetStatus() string
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 ¶
func (s *StartSpeakerSeparationResponseModel) Decode(d *jx.Decoder) error
Decode decodes StartSpeakerSeparationResponseModel from json.
func (*StartSpeakerSeparationResponseModel) Encode ¶
func (s *StartSpeakerSeparationResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StartSpeakerSeparationResponseModel) GetStatus ¶
func (s *StartSpeakerSeparationResponseModel) GetStatus() string
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 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 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 ¶
func (StreamComposeOutputFormat) AllValues() []StreamComposeOutputFormat
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 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 ¶
func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) Decode(d *jx.Decoder) error
Decode decodes StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel from json.
func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) Encode ¶
func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) GetAlignment ¶
func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) GetAlignment() OptCharacterAlignmentResponseModel
GetAlignment returns the value of Alignment.
func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) GetAudioBase64 ¶
func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) GetAudioBase64() string
GetAudioBase64 returns the value of AudioBase64.
func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) GetNormalizedAlignment ¶
func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) GetNormalizedAlignment() OptCharacterAlignmentResponseModel
GetNormalizedAlignment returns the value of NormalizedAlignment.
func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) GetVoiceSegments ¶
func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) GetVoiceSegments() []VoiceSegment
GetVoiceSegments returns the value of VoiceSegments.
func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) MarshalJSON ¶
func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) SetAlignment ¶
func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) SetAlignment(val OptCharacterAlignmentResponseModel)
SetAlignment sets the value of Alignment.
func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) SetAudioBase64 ¶
func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) SetAudioBase64(val string)
SetAudioBase64 sets the value of AudioBase64.
func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) SetNormalizedAlignment ¶
func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) SetNormalizedAlignment(val OptCharacterAlignmentResponseModel)
SetNormalizedAlignment sets the value of NormalizedAlignment.
func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) SetVoiceSegments ¶
func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) SetVoiceSegments(val []VoiceSegment)
SetVoiceSegments sets the value of VoiceSegments.
func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) UnmarshalJSON ¶
func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) Validate ¶
func (s *StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel) Validate() error
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 ¶
func (s *StreamingAudioChunkWithTimestampsResponseModel) Decode(d *jx.Decoder) error
Decode decodes StreamingAudioChunkWithTimestampsResponseModel from json.
func (*StreamingAudioChunkWithTimestampsResponseModel) Encode ¶
func (s *StreamingAudioChunkWithTimestampsResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StreamingAudioChunkWithTimestampsResponseModel) GetAlignment ¶
func (s *StreamingAudioChunkWithTimestampsResponseModel) GetAlignment() OptCharacterAlignmentResponseModel
GetAlignment returns the value of Alignment.
func (*StreamingAudioChunkWithTimestampsResponseModel) GetAudioBase64 ¶
func (s *StreamingAudioChunkWithTimestampsResponseModel) GetAudioBase64() string
GetAudioBase64 returns the value of AudioBase64.
func (*StreamingAudioChunkWithTimestampsResponseModel) GetNormalizedAlignment ¶
func (s *StreamingAudioChunkWithTimestampsResponseModel) GetNormalizedAlignment() OptCharacterAlignmentResponseModel
GetNormalizedAlignment returns the value of NormalizedAlignment.
func (*StreamingAudioChunkWithTimestampsResponseModel) MarshalJSON ¶
func (s *StreamingAudioChunkWithTimestampsResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StreamingAudioChunkWithTimestampsResponseModel) SetAlignment ¶
func (s *StreamingAudioChunkWithTimestampsResponseModel) SetAlignment(val OptCharacterAlignmentResponseModel)
SetAlignment sets the value of Alignment.
func (*StreamingAudioChunkWithTimestampsResponseModel) SetAudioBase64 ¶
func (s *StreamingAudioChunkWithTimestampsResponseModel) SetAudioBase64(val string)
SetAudioBase64 sets the value of AudioBase64.
func (*StreamingAudioChunkWithTimestampsResponseModel) SetNormalizedAlignment ¶
func (s *StreamingAudioChunkWithTimestampsResponseModel) SetNormalizedAlignment(val OptCharacterAlignmentResponseModel)
SetNormalizedAlignment sets the value of NormalizedAlignment.
func (*StreamingAudioChunkWithTimestampsResponseModel) UnmarshalJSON ¶
func (s *StreamingAudioChunkWithTimestampsResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*StreamingAudioChunkWithTimestampsResponseModel) Validate ¶
func (s *StreamingAudioChunkWithTimestampsResponseModel) Validate() error
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 ¶
func (s *SubscriptionResponseModel) GetCurrency() OptNilSubscriptionResponseModelCurrency
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 ¶
func (s *SubscriptionResponseModel) GetStatus() SubscriptionStatusType
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 ¶
func (s *SubscriptionResponseModel) SetCurrency(val OptNilSubscriptionResponseModelCurrency)
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 ¶
func (s *SubscriptionResponseModel) SetStatus(val SubscriptionStatusType)
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 ¶
func (SubscriptionResponseModelCurrency) AllValues() []SubscriptionResponseModelCurrency
AllValues returns all SubscriptionResponseModelCurrency values.
func (*SubscriptionResponseModelCurrency) Decode ¶
func (s *SubscriptionResponseModelCurrency) Decode(d *jx.Decoder) error
Decode decodes SubscriptionResponseModelCurrency from json.
func (SubscriptionResponseModelCurrency) Encode ¶
func (s SubscriptionResponseModelCurrency) Encode(e *jx.Encoder)
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 ¶
func (s SubscriptionResponseModelCurrency) Validate() error
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 ¶
func (SubscriptionStatusType) AllValues() []SubscriptionStatusType
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 ¶
func (s *TTSConversationalConfigOverride) Decode(d *jx.Decoder) error
Decode decodes TTSConversationalConfigOverride from json.
func (*TTSConversationalConfigOverride) Encode ¶
func (s *TTSConversationalConfigOverride) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TTSConversationalConfigOverride) GetSimilarityBoost ¶
func (s *TTSConversationalConfigOverride) GetSimilarityBoost() OptNilFloat64
GetSimilarityBoost returns the value of SimilarityBoost.
func (*TTSConversationalConfigOverride) GetSpeed ¶
func (s *TTSConversationalConfigOverride) GetSpeed() OptNilFloat64
GetSpeed returns the value of Speed.
func (*TTSConversationalConfigOverride) GetStability ¶
func (s *TTSConversationalConfigOverride) GetStability() OptNilFloat64
GetStability returns the value of Stability.
func (*TTSConversationalConfigOverride) GetVoiceID ¶
func (s *TTSConversationalConfigOverride) GetVoiceID() OptNilString
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 ¶
func (s *TTSConversationalConfigOverride) SetSpeed(val OptNilFloat64)
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 ¶
func (s *TestConditionRationaleCommonModel) Decode(d *jx.Decoder) error
Decode decodes TestConditionRationaleCommonModel from json.
func (*TestConditionRationaleCommonModel) Encode ¶
func (s *TestConditionRationaleCommonModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TestConditionRationaleCommonModel) GetMessages ¶
func (s *TestConditionRationaleCommonModel) GetMessages() []string
GetMessages returns the value of Messages.
func (*TestConditionRationaleCommonModel) GetSummary ¶
func (s *TestConditionRationaleCommonModel) GetSummary() OptString
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 ¶
func (s *TestConditionResultCommonModel) Decode(d *jx.Decoder) error
Decode decodes TestConditionResultCommonModel from json.
func (*TestConditionResultCommonModel) Encode ¶
func (s *TestConditionResultCommonModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TestConditionResultCommonModel) GetRationale ¶
func (s *TestConditionResultCommonModel) GetRationale() OptTestConditionRationaleCommonModel
GetRationale returns the value of Rationale.
func (*TestConditionResultCommonModel) GetResult ¶
func (s *TestConditionResultCommonModel) GetResult() EvaluationSuccessResult
GetResult returns the value of Result.
func (*TestConditionResultCommonModel) MarshalJSON ¶
func (s *TestConditionResultCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TestConditionResultCommonModel) SetRationale ¶
func (s *TestConditionResultCommonModel) SetRationale(val OptTestConditionRationaleCommonModel)
SetRationale sets the value of Rationale.
func (*TestConditionResultCommonModel) SetResult ¶
func (s *TestConditionResultCommonModel) SetResult(val EvaluationSuccessResult)
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 ¶
func (s *TestFromConversationMetadataInput) Decode(d *jx.Decoder) error
Decode decodes TestFromConversationMetadataInput from json.
func (*TestFromConversationMetadataInput) Encode ¶
func (s *TestFromConversationMetadataInput) Encode(e *jx.Encoder)
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 ¶
func (s *TestFromConversationMetadataInput) GetOriginalAgentReply() []ConversationHistoryTranscriptCommonModelInput
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 ¶
func (s *TestFromConversationMetadataInput) SetOriginalAgentReply(val []ConversationHistoryTranscriptCommonModelInput)
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 ¶
func (s *TestFromConversationMetadataInput) Validate() error
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 ¶
func (s *TestFromConversationMetadataOutput) Decode(d *jx.Decoder) error
Decode decodes TestFromConversationMetadataOutput from json.
func (*TestFromConversationMetadataOutput) Encode ¶
func (s *TestFromConversationMetadataOutput) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TestFromConversationMetadataOutput) GetAgentID ¶
func (s *TestFromConversationMetadataOutput) GetAgentID() string
GetAgentID returns the value of AgentID.
func (*TestFromConversationMetadataOutput) GetConversationID ¶
func (s *TestFromConversationMetadataOutput) GetConversationID() string
GetConversationID returns the value of ConversationID.
func (*TestFromConversationMetadataOutput) GetOriginalAgentReply ¶
func (s *TestFromConversationMetadataOutput) GetOriginalAgentReply() []ConversationHistoryTranscriptCommonModelOutput
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 ¶
func (s *TestFromConversationMetadataOutput) SetOriginalAgentReply(val []ConversationHistoryTranscriptCommonModelOutput)
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 ¶
func (s *TestFromConversationMetadataOutput) Validate() error
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 ¶
func (s *TestInvocationSummaryResponseModel) Decode(d *jx.Decoder) error
Decode decodes TestInvocationSummaryResponseModel from json.
func (*TestInvocationSummaryResponseModel) Encode ¶
func (s *TestInvocationSummaryResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TestInvocationSummaryResponseModel) GetAccessInfo ¶
func (s *TestInvocationSummaryResponseModel) GetAccessInfo() OptResourceAccessInfo
GetAccessInfo returns the value of AccessInfo.
func (*TestInvocationSummaryResponseModel) GetAgentID ¶
func (s *TestInvocationSummaryResponseModel) GetAgentID() OptNilString
GetAgentID returns the value of AgentID.
func (*TestInvocationSummaryResponseModel) GetBranchID ¶
func (s *TestInvocationSummaryResponseModel) GetBranchID() OptNilString
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 ¶
func (s *TestInvocationSummaryResponseModel) GetID() string
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 ¶
func (s *TestInvocationSummaryResponseModel) GetTitle() string
GetTitle returns the value of Title.
func (*TestInvocationSummaryResponseModel) MarshalJSON ¶
func (s *TestInvocationSummaryResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TestInvocationSummaryResponseModel) SetAccessInfo ¶
func (s *TestInvocationSummaryResponseModel) SetAccessInfo(val OptResourceAccessInfo)
SetAccessInfo sets the value of AccessInfo.
func (*TestInvocationSummaryResponseModel) SetAgentID ¶
func (s *TestInvocationSummaryResponseModel) SetAgentID(val OptNilString)
SetAgentID sets the value of AgentID.
func (*TestInvocationSummaryResponseModel) SetBranchID ¶
func (s *TestInvocationSummaryResponseModel) SetBranchID(val OptNilString)
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 ¶
func (s *TestInvocationSummaryResponseModel) SetID(val string)
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 ¶
func (s *TestInvocationSummaryResponseModel) Validate() error
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 ¶
func (s *TestRunMetadata) GetTestType() OptTestRunMetadataTestType
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 ¶
func (TestRunMetadataTestType) AllValues() []TestRunMetadataTestType
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 ¶
func (s *TestToolResultModel) GetResultType() OptTestToolResultModelResultType
GetResultType returns the value of ResultType.
func (*TestToolResultModel) GetStatus ¶
func (s *TestToolResultModel) GetStatus() OptTestToolResultModelStatus
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 ¶
func (s *TestToolResultModel) SetResultType(val OptTestToolResultModelResultType)
SetResultType sets the value of ResultType.
func (*TestToolResultModel) SetStatus ¶
func (s *TestToolResultModel) SetStatus(val OptTestToolResultModelStatus)
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 ¶
func (TestToolResultModelResultType) AllValues() []TestToolResultModelResultType
AllValues returns all TestToolResultModelResultType values.
func (*TestToolResultModelResultType) Decode ¶
func (s *TestToolResultModelResultType) Decode(d *jx.Decoder) error
Decode decodes TestToolResultModelResultType from json.
func (TestToolResultModelResultType) Encode ¶
func (s TestToolResultModelResultType) Encode(e *jx.Encoder)
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 ¶
func (TestToolResultModelStatus) AllValues() []TestToolResultModelStatus
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 ¶
func (s *TestsFeatureUsageCommonModel) Decode(d *jx.Decoder) error
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 ¶
func (TextToDialogueFullWithTimestampsOutputFormat) AllValues() []TextToDialogueFullWithTimestampsOutputFormat
AllValues returns all TextToDialogueFullWithTimestampsOutputFormat values.
func (TextToDialogueFullWithTimestampsOutputFormat) MarshalText ¶
func (s TextToDialogueFullWithTimestampsOutputFormat) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TextToDialogueFullWithTimestampsOutputFormat) UnmarshalText ¶
func (s *TextToDialogueFullWithTimestampsOutputFormat) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TextToDialogueFullWithTimestampsOutputFormat) Validate ¶
func (s TextToDialogueFullWithTimestampsOutputFormat) Validate() error
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 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 ¶
func (TextToDialogueOutputFormat) AllValues() []TextToDialogueOutputFormat
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 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 ¶
func (TextToDialogueStreamOutputFormat) AllValues() []TextToDialogueStreamOutputFormat
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 ¶
func (s TextToDialogueStreamOutputFormat) Validate() error
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 ¶
func (TextToDialogueStreamWithTimestampsOutputFormat) AllValues() []TextToDialogueStreamWithTimestampsOutputFormat
AllValues returns all TextToDialogueStreamWithTimestampsOutputFormat values.
func (TextToDialogueStreamWithTimestampsOutputFormat) MarshalText ¶
func (s TextToDialogueStreamWithTimestampsOutputFormat) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TextToDialogueStreamWithTimestampsOutputFormat) UnmarshalText ¶
func (s *TextToDialogueStreamWithTimestampsOutputFormat) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TextToDialogueStreamWithTimestampsOutputFormat) Validate ¶
func (s TextToDialogueStreamWithTimestampsOutputFormat) Validate() error
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 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 ¶
func (TextToSpeechFullOutputFormat) AllValues() []TextToSpeechFullOutputFormat
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 ¶
func (TextToSpeechFullWithTimestampsOutputFormat) AllValues() []TextToSpeechFullWithTimestampsOutputFormat
AllValues returns all TextToSpeechFullWithTimestampsOutputFormat values.
func (TextToSpeechFullWithTimestampsOutputFormat) MarshalText ¶
func (s TextToSpeechFullWithTimestampsOutputFormat) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TextToSpeechFullWithTimestampsOutputFormat) UnmarshalText ¶
func (s *TextToSpeechFullWithTimestampsOutputFormat) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TextToSpeechFullWithTimestampsOutputFormat) Validate ¶
func (s TextToSpeechFullWithTimestampsOutputFormat) Validate() error
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 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 ¶
func (TextToSpeechStreamOutputFormat) AllValues() []TextToSpeechStreamOutputFormat
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 ¶
func (s TextToSpeechStreamOutputFormat) Validate() error
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 ¶
func (TextToSpeechStreamWithTimestampsOutputFormat) AllValues() []TextToSpeechStreamWithTimestampsOutputFormat
AllValues returns all TextToSpeechStreamWithTimestampsOutputFormat values.
func (TextToSpeechStreamWithTimestampsOutputFormat) MarshalText ¶
func (s TextToSpeechStreamWithTimestampsOutputFormat) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TextToSpeechStreamWithTimestampsOutputFormat) UnmarshalText ¶
func (s *TextToSpeechStreamWithTimestampsOutputFormat) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TextToSpeechStreamWithTimestampsOutputFormat) Validate ¶
func (s TextToSpeechStreamWithTimestampsOutputFormat) Validate() error
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 ¶
func (TextToVoiceDesignOutputFormat) AllValues() []TextToVoiceDesignOutputFormat
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 ¶
func (TextToVoiceOutputFormat) AllValues() []TextToVoiceOutputFormat
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 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 ¶
func (TextToVoiceRemixOutputFormat) AllValues() []TextToVoiceRemixOutputFormat
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 ¶
Ref: #/components/schemas/TimeRange
func (*TimeRange) GetStartMs ¶
GetStartMs returns the value of StartMs.
func (*TimeRange) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*TimeRange) SetStartMs ¶
SetStartMs sets the value of StartMs.
func (*TimeRange) UnmarshalJSON ¶
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) 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) GetOutputSchema ¶
func (s *Tool) GetOutputSchema() OptToolOutputSchema
GetOutputSchema returns the value of OutputSchema.
func (*Tool) MarshalJSON ¶
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) SetOutputSchema ¶
func (s *Tool) SetOutputSchema(val OptToolOutputSchema)
SetOutputSchema sets the value of OutputSchema.
func (*Tool) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ToolAdditional ¶
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 ¶
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 ¶
func (ToolCallSoundBehavior) AllValues() []ToolCallSoundBehavior
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) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*ToolMeta) UnmarshalJSON ¶
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) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (ToolType) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*ToolType) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ToolType) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
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 ¶
func (s *TransferToAgentToolResultErrorModel) Decode(d *jx.Decoder) error
Decode decodes TransferToAgentToolResultErrorModel from json.
func (*TransferToAgentToolResultErrorModel) Encode ¶
func (s *TransferToAgentToolResultErrorModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TransferToAgentToolResultErrorModel) GetError ¶
func (s *TransferToAgentToolResultErrorModel) GetError() string
GetError returns the value of Error.
func (*TransferToAgentToolResultErrorModel) GetFromAgent ¶
func (s *TransferToAgentToolResultErrorModel) GetFromAgent() string
GetFromAgent returns the value of FromAgent.
func (*TransferToAgentToolResultErrorModel) GetResultType ¶
func (s *TransferToAgentToolResultErrorModel) GetResultType() OptTransferToAgentToolResultErrorModelResultType
GetResultType returns the value of ResultType.
func (*TransferToAgentToolResultErrorModel) GetStatus ¶
func (s *TransferToAgentToolResultErrorModel) GetStatus() OptTransferToAgentToolResultErrorModelStatus
GetStatus returns the value of Status.
func (*TransferToAgentToolResultErrorModel) MarshalJSON ¶
func (s *TransferToAgentToolResultErrorModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TransferToAgentToolResultErrorModel) SetError ¶
func (s *TransferToAgentToolResultErrorModel) SetError(val string)
SetError sets the value of Error.
func (*TransferToAgentToolResultErrorModel) SetFromAgent ¶
func (s *TransferToAgentToolResultErrorModel) SetFromAgent(val string)
SetFromAgent sets the value of FromAgent.
func (*TransferToAgentToolResultErrorModel) SetResultType ¶
func (s *TransferToAgentToolResultErrorModel) SetResultType(val OptTransferToAgentToolResultErrorModelResultType)
SetResultType sets the value of ResultType.
func (*TransferToAgentToolResultErrorModel) SetStatus ¶
func (s *TransferToAgentToolResultErrorModel) SetStatus(val OptTransferToAgentToolResultErrorModelStatus)
SetStatus sets the value of Status.
func (*TransferToAgentToolResultErrorModel) UnmarshalJSON ¶
func (s *TransferToAgentToolResultErrorModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TransferToAgentToolResultErrorModel) Validate ¶
func (s *TransferToAgentToolResultErrorModel) Validate() error
type TransferToAgentToolResultErrorModelResultType ¶
type TransferToAgentToolResultErrorModelResultType string
const (
TransferToAgentToolResultErrorModelResultTypeTransferToAgentError TransferToAgentToolResultErrorModelResultType = "transfer_to_agent_error"
)
func (TransferToAgentToolResultErrorModelResultType) AllValues ¶
func (TransferToAgentToolResultErrorModelResultType) AllValues() []TransferToAgentToolResultErrorModelResultType
AllValues returns all TransferToAgentToolResultErrorModelResultType values.
func (*TransferToAgentToolResultErrorModelResultType) Decode ¶
func (s *TransferToAgentToolResultErrorModelResultType) Decode(d *jx.Decoder) error
Decode decodes TransferToAgentToolResultErrorModelResultType from json.
func (TransferToAgentToolResultErrorModelResultType) Encode ¶
func (s TransferToAgentToolResultErrorModelResultType) Encode(e *jx.Encoder)
Encode encodes TransferToAgentToolResultErrorModelResultType as json.
func (TransferToAgentToolResultErrorModelResultType) MarshalJSON ¶
func (s TransferToAgentToolResultErrorModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TransferToAgentToolResultErrorModelResultType) MarshalText ¶
func (s TransferToAgentToolResultErrorModelResultType) MarshalText() ([]byte, error)
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 ¶
func (s TransferToAgentToolResultErrorModelResultType) Validate() error
type TransferToAgentToolResultErrorModelStatus ¶
type TransferToAgentToolResultErrorModelStatus string
const (
TransferToAgentToolResultErrorModelStatusError TransferToAgentToolResultErrorModelStatus = "error"
)
func (TransferToAgentToolResultErrorModelStatus) AllValues ¶
func (TransferToAgentToolResultErrorModelStatus) AllValues() []TransferToAgentToolResultErrorModelStatus
AllValues returns all TransferToAgentToolResultErrorModelStatus values.
func (*TransferToAgentToolResultErrorModelStatus) Decode ¶
func (s *TransferToAgentToolResultErrorModelStatus) Decode(d *jx.Decoder) error
Decode decodes TransferToAgentToolResultErrorModelStatus from json.
func (TransferToAgentToolResultErrorModelStatus) Encode ¶
func (s TransferToAgentToolResultErrorModelStatus) Encode(e *jx.Encoder)
Encode encodes TransferToAgentToolResultErrorModelStatus as json.
func (TransferToAgentToolResultErrorModelStatus) MarshalJSON ¶
func (s TransferToAgentToolResultErrorModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TransferToAgentToolResultErrorModelStatus) MarshalText ¶
func (s TransferToAgentToolResultErrorModelStatus) MarshalText() ([]byte, error)
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 ¶
func (s TransferToAgentToolResultErrorModelStatus) Validate() error
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 ¶
func (s *TransferToAgentToolResultSuccessModel) Decode(d *jx.Decoder) error
Decode decodes TransferToAgentToolResultSuccessModel from json.
func (*TransferToAgentToolResultSuccessModel) Encode ¶
func (s *TransferToAgentToolResultSuccessModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TransferToAgentToolResultSuccessModel) GetCondition ¶
func (s *TransferToAgentToolResultSuccessModel) GetCondition() string
GetCondition returns the value of Condition.
func (*TransferToAgentToolResultSuccessModel) GetDelayMs ¶
func (s *TransferToAgentToolResultSuccessModel) GetDelayMs() OptInt
GetDelayMs returns the value of DelayMs.
func (*TransferToAgentToolResultSuccessModel) GetEnableTransferredAgentFirstMessage ¶
func (s *TransferToAgentToolResultSuccessModel) GetEnableTransferredAgentFirstMessage() OptBool
GetEnableTransferredAgentFirstMessage returns the value of EnableTransferredAgentFirstMessage.
func (*TransferToAgentToolResultSuccessModel) GetFromAgent ¶
func (s *TransferToAgentToolResultSuccessModel) GetFromAgent() string
GetFromAgent returns the value of FromAgent.
func (*TransferToAgentToolResultSuccessModel) GetResultType ¶
func (s *TransferToAgentToolResultSuccessModel) GetResultType() OptTransferToAgentToolResultSuccessModelResultType
GetResultType returns the value of ResultType.
func (*TransferToAgentToolResultSuccessModel) GetStatus ¶
func (s *TransferToAgentToolResultSuccessModel) GetStatus() OptTransferToAgentToolResultSuccessModelStatus
GetStatus returns the value of Status.
func (*TransferToAgentToolResultSuccessModel) GetToAgent ¶
func (s *TransferToAgentToolResultSuccessModel) GetToAgent() string
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 ¶
func (s *TransferToAgentToolResultSuccessModel) SetResultType(val OptTransferToAgentToolResultSuccessModelResultType)
SetResultType sets the value of ResultType.
func (*TransferToAgentToolResultSuccessModel) SetStatus ¶
func (s *TransferToAgentToolResultSuccessModel) SetStatus(val OptTransferToAgentToolResultSuccessModelStatus)
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 ¶
func (s *TransferToAgentToolResultSuccessModel) Validate() error
type TransferToAgentToolResultSuccessModelResultType ¶
type TransferToAgentToolResultSuccessModelResultType string
const (
TransferToAgentToolResultSuccessModelResultTypeTransferToAgentSuccess TransferToAgentToolResultSuccessModelResultType = "transfer_to_agent_success"
)
func (TransferToAgentToolResultSuccessModelResultType) AllValues ¶
func (TransferToAgentToolResultSuccessModelResultType) AllValues() []TransferToAgentToolResultSuccessModelResultType
AllValues returns all TransferToAgentToolResultSuccessModelResultType values.
func (*TransferToAgentToolResultSuccessModelResultType) Decode ¶
func (s *TransferToAgentToolResultSuccessModelResultType) Decode(d *jx.Decoder) error
Decode decodes TransferToAgentToolResultSuccessModelResultType from json.
func (TransferToAgentToolResultSuccessModelResultType) Encode ¶
func (s TransferToAgentToolResultSuccessModelResultType) Encode(e *jx.Encoder)
Encode encodes TransferToAgentToolResultSuccessModelResultType as json.
func (TransferToAgentToolResultSuccessModelResultType) MarshalJSON ¶
func (s TransferToAgentToolResultSuccessModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TransferToAgentToolResultSuccessModelResultType) MarshalText ¶
func (s TransferToAgentToolResultSuccessModelResultType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TransferToAgentToolResultSuccessModelResultType) UnmarshalJSON ¶
func (s *TransferToAgentToolResultSuccessModelResultType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TransferToAgentToolResultSuccessModelResultType) UnmarshalText ¶
func (s *TransferToAgentToolResultSuccessModelResultType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TransferToAgentToolResultSuccessModelResultType) Validate ¶
func (s TransferToAgentToolResultSuccessModelResultType) Validate() error
type TransferToAgentToolResultSuccessModelStatus ¶
type TransferToAgentToolResultSuccessModelStatus string
const (
TransferToAgentToolResultSuccessModelStatusSuccess TransferToAgentToolResultSuccessModelStatus = "success"
)
func (TransferToAgentToolResultSuccessModelStatus) AllValues ¶
func (TransferToAgentToolResultSuccessModelStatus) AllValues() []TransferToAgentToolResultSuccessModelStatus
AllValues returns all TransferToAgentToolResultSuccessModelStatus values.
func (*TransferToAgentToolResultSuccessModelStatus) Decode ¶
func (s *TransferToAgentToolResultSuccessModelStatus) Decode(d *jx.Decoder) error
Decode decodes TransferToAgentToolResultSuccessModelStatus from json.
func (TransferToAgentToolResultSuccessModelStatus) Encode ¶
func (s TransferToAgentToolResultSuccessModelStatus) Encode(e *jx.Encoder)
Encode encodes TransferToAgentToolResultSuccessModelStatus as json.
func (TransferToAgentToolResultSuccessModelStatus) MarshalJSON ¶
func (s TransferToAgentToolResultSuccessModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TransferToAgentToolResultSuccessModelStatus) MarshalText ¶
func (s TransferToAgentToolResultSuccessModelStatus) MarshalText() ([]byte, error)
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 ¶
func (s TransferToAgentToolResultSuccessModelStatus) Validate() error
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 ¶
func (s *TransferToNumberResultErrorModel) Decode(d *jx.Decoder) error
Decode decodes TransferToNumberResultErrorModel from json.
func (*TransferToNumberResultErrorModel) Encode ¶
func (s *TransferToNumberResultErrorModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TransferToNumberResultErrorModel) GetDetails ¶
func (s *TransferToNumberResultErrorModel) GetDetails() OptNilString
GetDetails returns the value of Details.
func (*TransferToNumberResultErrorModel) GetError ¶
func (s *TransferToNumberResultErrorModel) GetError() string
GetError returns the value of Error.
func (*TransferToNumberResultErrorModel) GetResultType ¶
func (s *TransferToNumberResultErrorModel) GetResultType() OptTransferToNumberResultErrorModelResultType
GetResultType returns the value of ResultType.
func (*TransferToNumberResultErrorModel) GetStatus ¶
func (s *TransferToNumberResultErrorModel) GetStatus() OptTransferToNumberResultErrorModelStatus
GetStatus returns the value of Status.
func (*TransferToNumberResultErrorModel) MarshalJSON ¶
func (s *TransferToNumberResultErrorModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TransferToNumberResultErrorModel) SetDetails ¶
func (s *TransferToNumberResultErrorModel) SetDetails(val OptNilString)
SetDetails sets the value of Details.
func (*TransferToNumberResultErrorModel) SetError ¶
func (s *TransferToNumberResultErrorModel) SetError(val string)
SetError sets the value of Error.
func (*TransferToNumberResultErrorModel) SetResultType ¶
func (s *TransferToNumberResultErrorModel) SetResultType(val OptTransferToNumberResultErrorModelResultType)
SetResultType sets the value of ResultType.
func (*TransferToNumberResultErrorModel) SetStatus ¶
func (s *TransferToNumberResultErrorModel) SetStatus(val OptTransferToNumberResultErrorModelStatus)
SetStatus sets the value of Status.
func (*TransferToNumberResultErrorModel) UnmarshalJSON ¶
func (s *TransferToNumberResultErrorModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TransferToNumberResultErrorModel) Validate ¶
func (s *TransferToNumberResultErrorModel) Validate() error
type TransferToNumberResultErrorModelResultType ¶
type TransferToNumberResultErrorModelResultType string
const (
TransferToNumberResultErrorModelResultTypeTransferToNumberError TransferToNumberResultErrorModelResultType = "transfer_to_number_error"
)
func (TransferToNumberResultErrorModelResultType) AllValues ¶
func (TransferToNumberResultErrorModelResultType) AllValues() []TransferToNumberResultErrorModelResultType
AllValues returns all TransferToNumberResultErrorModelResultType values.
func (*TransferToNumberResultErrorModelResultType) Decode ¶
func (s *TransferToNumberResultErrorModelResultType) Decode(d *jx.Decoder) error
Decode decodes TransferToNumberResultErrorModelResultType from json.
func (TransferToNumberResultErrorModelResultType) Encode ¶
func (s TransferToNumberResultErrorModelResultType) Encode(e *jx.Encoder)
Encode encodes TransferToNumberResultErrorModelResultType as json.
func (TransferToNumberResultErrorModelResultType) MarshalJSON ¶
func (s TransferToNumberResultErrorModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TransferToNumberResultErrorModelResultType) MarshalText ¶
func (s TransferToNumberResultErrorModelResultType) MarshalText() ([]byte, error)
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 ¶
func (s TransferToNumberResultErrorModelResultType) Validate() error
type TransferToNumberResultErrorModelStatus ¶
type TransferToNumberResultErrorModelStatus string
const (
TransferToNumberResultErrorModelStatusError TransferToNumberResultErrorModelStatus = "error"
)
func (TransferToNumberResultErrorModelStatus) AllValues ¶
func (TransferToNumberResultErrorModelStatus) AllValues() []TransferToNumberResultErrorModelStatus
AllValues returns all TransferToNumberResultErrorModelStatus values.
func (*TransferToNumberResultErrorModelStatus) Decode ¶
func (s *TransferToNumberResultErrorModelStatus) Decode(d *jx.Decoder) error
Decode decodes TransferToNumberResultErrorModelStatus from json.
func (TransferToNumberResultErrorModelStatus) Encode ¶
func (s TransferToNumberResultErrorModelStatus) Encode(e *jx.Encoder)
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 ¶
func (s TransferToNumberResultErrorModelStatus) Validate() error
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 ¶
func (s *TransferToNumberResultSipSuccessModel) Decode(d *jx.Decoder) error
Decode decodes TransferToNumberResultSipSuccessModel from json.
func (*TransferToNumberResultSipSuccessModel) Encode ¶
func (s *TransferToNumberResultSipSuccessModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TransferToNumberResultSipSuccessModel) GetNote ¶
func (s *TransferToNumberResultSipSuccessModel) GetNote() OptNilString
GetNote returns the value of Note.
func (*TransferToNumberResultSipSuccessModel) GetReason ¶
func (s *TransferToNumberResultSipSuccessModel) GetReason() OptNilString
GetReason returns the value of Reason.
func (*TransferToNumberResultSipSuccessModel) GetResultType ¶
func (s *TransferToNumberResultSipSuccessModel) GetResultType() OptTransferToNumberResultSipSuccessModelResultType
GetResultType returns the value of ResultType.
func (*TransferToNumberResultSipSuccessModel) GetStatus ¶
func (s *TransferToNumberResultSipSuccessModel) GetStatus() OptTransferToNumberResultSipSuccessModelStatus
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 ¶
func (s *TransferToNumberResultSipSuccessModel) SetNote(val OptNilString)
SetNote sets the value of Note.
func (*TransferToNumberResultSipSuccessModel) SetReason ¶
func (s *TransferToNumberResultSipSuccessModel) SetReason(val OptNilString)
SetReason sets the value of Reason.
func (*TransferToNumberResultSipSuccessModel) SetResultType ¶
func (s *TransferToNumberResultSipSuccessModel) SetResultType(val OptTransferToNumberResultSipSuccessModelResultType)
SetResultType sets the value of ResultType.
func (*TransferToNumberResultSipSuccessModel) SetStatus ¶
func (s *TransferToNumberResultSipSuccessModel) SetStatus(val OptTransferToNumberResultSipSuccessModelStatus)
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 ¶
func (s *TransferToNumberResultSipSuccessModel) Validate() error
type TransferToNumberResultSipSuccessModelResultType ¶
type TransferToNumberResultSipSuccessModelResultType string
const (
TransferToNumberResultSipSuccessModelResultTypeTransferToNumberSipSuccess TransferToNumberResultSipSuccessModelResultType = "transfer_to_number_sip_success"
)
func (TransferToNumberResultSipSuccessModelResultType) AllValues ¶
func (TransferToNumberResultSipSuccessModelResultType) AllValues() []TransferToNumberResultSipSuccessModelResultType
AllValues returns all TransferToNumberResultSipSuccessModelResultType values.
func (*TransferToNumberResultSipSuccessModelResultType) Decode ¶
func (s *TransferToNumberResultSipSuccessModelResultType) Decode(d *jx.Decoder) error
Decode decodes TransferToNumberResultSipSuccessModelResultType from json.
func (TransferToNumberResultSipSuccessModelResultType) Encode ¶
func (s TransferToNumberResultSipSuccessModelResultType) Encode(e *jx.Encoder)
Encode encodes TransferToNumberResultSipSuccessModelResultType as json.
func (TransferToNumberResultSipSuccessModelResultType) MarshalJSON ¶
func (s TransferToNumberResultSipSuccessModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TransferToNumberResultSipSuccessModelResultType) MarshalText ¶
func (s TransferToNumberResultSipSuccessModelResultType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TransferToNumberResultSipSuccessModelResultType) UnmarshalJSON ¶
func (s *TransferToNumberResultSipSuccessModelResultType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TransferToNumberResultSipSuccessModelResultType) UnmarshalText ¶
func (s *TransferToNumberResultSipSuccessModelResultType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TransferToNumberResultSipSuccessModelResultType) Validate ¶
func (s TransferToNumberResultSipSuccessModelResultType) Validate() error
type TransferToNumberResultSipSuccessModelStatus ¶
type TransferToNumberResultSipSuccessModelStatus string
const (
TransferToNumberResultSipSuccessModelStatusSuccess TransferToNumberResultSipSuccessModelStatus = "success"
)
func (TransferToNumberResultSipSuccessModelStatus) AllValues ¶
func (TransferToNumberResultSipSuccessModelStatus) AllValues() []TransferToNumberResultSipSuccessModelStatus
AllValues returns all TransferToNumberResultSipSuccessModelStatus values.
func (*TransferToNumberResultSipSuccessModelStatus) Decode ¶
func (s *TransferToNumberResultSipSuccessModelStatus) Decode(d *jx.Decoder) error
Decode decodes TransferToNumberResultSipSuccessModelStatus from json.
func (TransferToNumberResultSipSuccessModelStatus) Encode ¶
func (s TransferToNumberResultSipSuccessModelStatus) Encode(e *jx.Encoder)
Encode encodes TransferToNumberResultSipSuccessModelStatus as json.
func (TransferToNumberResultSipSuccessModelStatus) MarshalJSON ¶
func (s TransferToNumberResultSipSuccessModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TransferToNumberResultSipSuccessModelStatus) MarshalText ¶
func (s TransferToNumberResultSipSuccessModelStatus) MarshalText() ([]byte, error)
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 ¶
func (s TransferToNumberResultSipSuccessModelStatus) Validate() error
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 ¶
func (s *TransferToNumberResultTwilioSuccessModel) Decode(d *jx.Decoder) error
Decode decodes TransferToNumberResultTwilioSuccessModel from json.
func (*TransferToNumberResultTwilioSuccessModel) Encode ¶
func (s *TransferToNumberResultTwilioSuccessModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TransferToNumberResultTwilioSuccessModel) GetAgentMessage ¶
func (s *TransferToNumberResultTwilioSuccessModel) GetAgentMessage() string
GetAgentMessage returns the value of AgentMessage.
func (*TransferToNumberResultTwilioSuccessModel) GetClientMessage ¶
func (s *TransferToNumberResultTwilioSuccessModel) GetClientMessage() OptNilString
GetClientMessage returns the value of ClientMessage.
func (*TransferToNumberResultTwilioSuccessModel) GetConferenceName ¶
func (s *TransferToNumberResultTwilioSuccessModel) GetConferenceName() string
GetConferenceName returns the value of ConferenceName.
func (*TransferToNumberResultTwilioSuccessModel) GetNote ¶
func (s *TransferToNumberResultTwilioSuccessModel) GetNote() OptNilString
GetNote returns the value of Note.
func (*TransferToNumberResultTwilioSuccessModel) GetReason ¶
func (s *TransferToNumberResultTwilioSuccessModel) GetReason() OptNilString
GetReason returns the value of Reason.
func (*TransferToNumberResultTwilioSuccessModel) GetResultType ¶
func (s *TransferToNumberResultTwilioSuccessModel) GetResultType() OptTransferToNumberResultTwilioSuccessModelResultType
GetResultType returns the value of ResultType.
func (*TransferToNumberResultTwilioSuccessModel) GetStatus ¶
func (s *TransferToNumberResultTwilioSuccessModel) GetStatus() OptTransferToNumberResultTwilioSuccessModelStatus
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 ¶
func (s *TransferToNumberResultTwilioSuccessModel) SetNote(val OptNilString)
SetNote sets the value of Note.
func (*TransferToNumberResultTwilioSuccessModel) SetReason ¶
func (s *TransferToNumberResultTwilioSuccessModel) SetReason(val OptNilString)
SetReason sets the value of Reason.
func (*TransferToNumberResultTwilioSuccessModel) SetResultType ¶
func (s *TransferToNumberResultTwilioSuccessModel) SetResultType(val OptTransferToNumberResultTwilioSuccessModelResultType)
SetResultType sets the value of ResultType.
func (*TransferToNumberResultTwilioSuccessModel) SetStatus ¶
func (s *TransferToNumberResultTwilioSuccessModel) SetStatus(val OptTransferToNumberResultTwilioSuccessModelStatus)
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 ¶
func (s *TransferToNumberResultTwilioSuccessModel) Validate() error
type TransferToNumberResultTwilioSuccessModelResultType ¶
type TransferToNumberResultTwilioSuccessModelResultType string
const (
TransferToNumberResultTwilioSuccessModelResultTypeTransferToNumberTwilioSuccess TransferToNumberResultTwilioSuccessModelResultType = "transfer_to_number_twilio_success"
)
func (TransferToNumberResultTwilioSuccessModelResultType) AllValues ¶
func (TransferToNumberResultTwilioSuccessModelResultType) AllValues() []TransferToNumberResultTwilioSuccessModelResultType
AllValues returns all TransferToNumberResultTwilioSuccessModelResultType values.
func (*TransferToNumberResultTwilioSuccessModelResultType) Decode ¶
func (s *TransferToNumberResultTwilioSuccessModelResultType) Decode(d *jx.Decoder) error
Decode decodes TransferToNumberResultTwilioSuccessModelResultType from json.
func (TransferToNumberResultTwilioSuccessModelResultType) Encode ¶
func (s TransferToNumberResultTwilioSuccessModelResultType) Encode(e *jx.Encoder)
Encode encodes TransferToNumberResultTwilioSuccessModelResultType as json.
func (TransferToNumberResultTwilioSuccessModelResultType) MarshalJSON ¶
func (s TransferToNumberResultTwilioSuccessModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TransferToNumberResultTwilioSuccessModelResultType) MarshalText ¶
func (s TransferToNumberResultTwilioSuccessModelResultType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TransferToNumberResultTwilioSuccessModelResultType) UnmarshalJSON ¶
func (s *TransferToNumberResultTwilioSuccessModelResultType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TransferToNumberResultTwilioSuccessModelResultType) UnmarshalText ¶
func (s *TransferToNumberResultTwilioSuccessModelResultType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TransferToNumberResultTwilioSuccessModelResultType) Validate ¶
func (s TransferToNumberResultTwilioSuccessModelResultType) Validate() error
type TransferToNumberResultTwilioSuccessModelStatus ¶
type TransferToNumberResultTwilioSuccessModelStatus string
const (
TransferToNumberResultTwilioSuccessModelStatusSuccess TransferToNumberResultTwilioSuccessModelStatus = "success"
)
func (TransferToNumberResultTwilioSuccessModelStatus) AllValues ¶
func (TransferToNumberResultTwilioSuccessModelStatus) AllValues() []TransferToNumberResultTwilioSuccessModelStatus
AllValues returns all TransferToNumberResultTwilioSuccessModelStatus values.
func (*TransferToNumberResultTwilioSuccessModelStatus) Decode ¶
func (s *TransferToNumberResultTwilioSuccessModelStatus) Decode(d *jx.Decoder) error
Decode decodes TransferToNumberResultTwilioSuccessModelStatus from json.
func (TransferToNumberResultTwilioSuccessModelStatus) Encode ¶
func (s TransferToNumberResultTwilioSuccessModelStatus) Encode(e *jx.Encoder)
Encode encodes TransferToNumberResultTwilioSuccessModelStatus as json.
func (TransferToNumberResultTwilioSuccessModelStatus) MarshalJSON ¶
func (s TransferToNumberResultTwilioSuccessModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (TransferToNumberResultTwilioSuccessModelStatus) MarshalText ¶
func (s TransferToNumberResultTwilioSuccessModelStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TransferToNumberResultTwilioSuccessModelStatus) UnmarshalJSON ¶
func (s *TransferToNumberResultTwilioSuccessModelStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TransferToNumberResultTwilioSuccessModelStatus) UnmarshalText ¶
func (s *TransferToNumberResultTwilioSuccessModelStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (TransferToNumberResultTwilioSuccessModelStatus) Validate ¶
func (s TransferToNumberResultTwilioSuccessModelStatus) Validate() error
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 ¶
func (s *TwilioOutboundCallResponse) Decode(d *jx.Decoder) error
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 ¶
func (s *TxtExportOptions) GetFormat() TxtExportOptionsFormat
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 ¶
func (TxtExportOptionsFormat) AllValues() []TxtExportOptionsFormat
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
func (UnimplementedHandler) AddDocumentationToKnowledgeBase(ctx context.Context, req OptBodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePostMultipart, params AddDocumentationToKnowledgeBaseParams) (r AddDocumentationToKnowledgeBaseRes, _ error)
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 ¶
func (UnimplementedHandler) AddFromFile(ctx context.Context, req *BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipart, params AddFromFileParams) (r AddFromFileRes, _ error)
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 ¶
func (UnimplementedHandler) AddLanguage(ctx context.Context, req *BodyAddALanguageToTheResourceV1DubbingResourceDubbingIDLanguagePost, params AddLanguageParams) (r AddLanguageRes, _ 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
func (UnimplementedHandler) AddMember ¶
func (UnimplementedHandler) AddMember(ctx context.Context, req *BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIDMembersPost, params AddMemberParams) (r AddMemberRes, _ 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
func (UnimplementedHandler) AddProject ¶
func (UnimplementedHandler) AddProject(ctx context.Context, req *BodyCreateStudioProjectV1StudioProjectsPostMultipart, params AddProjectParams) (r AddProjectRes, _ 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
func (UnimplementedHandler) AddPvcVoiceSamples ¶
func (UnimplementedHandler) AddPvcVoiceSamples(ctx context.Context, req *BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIDSamplesPostMultipart, params AddPvcVoiceSamplesParams) (r AddPvcVoiceSamplesRes, _ error)
AddPvcVoiceSamples implements add_pvc_voice_samples operation.
Add audio samples to a PVC voice.
POST /v1/voices/pvc/{voice_id}/samples
func (UnimplementedHandler) AddSharingVoice ¶
func (UnimplementedHandler) AddSharingVoice(ctx context.Context, req *BodyAddSharedVoiceV1VoicesAddPublicUserIDVoiceIDPost, params AddSharingVoiceParams) (r AddSharingVoiceRes, _ 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}
func (UnimplementedHandler) AddVoice ¶
func (UnimplementedHandler) AddVoice(ctx context.Context, req *BodyAddVoiceV1VoicesAddPostMultipart, params AddVoiceParams) (r AddVoiceRes, _ error)
AddVoice implements add_voice operation.
Add a new voice to your collection of voices in VoiceLab.
POST /v1/voices/add
func (UnimplementedHandler) AudioIsolation ¶
func (UnimplementedHandler) AudioIsolation(ctx context.Context, req *BodyAudioIsolationV1AudioIsolationPostMultipart, params AudioIsolationParams) (r AudioIsolationRes, _ error)
AudioIsolation implements audio_isolation operation.
Removes background noise from audio.
POST /v1/audio-isolation
func (UnimplementedHandler) AudioIsolationStream ¶
func (UnimplementedHandler) AudioIsolationStream(ctx context.Context, req *BodyAudioIsolationStreamV1AudioIsolationStreamPostMultipart, params AudioIsolationStreamParams) (r AudioIsolationStreamRes, _ error)
AudioIsolationStream implements audio_isolation_stream operation.
Removes background noise from audio and streams the result.
POST /v1/audio-isolation/stream
func (UnimplementedHandler) AudioNativeProjectUpdateContentEndpoint ¶
func (UnimplementedHandler) AudioNativeProjectUpdateContentEndpoint(ctx context.Context, req OptBodyUpdateAudioNativeProjectContentV1AudioNativeProjectIDContentPostMultipart, params AudioNativeProjectUpdateContentEndpointParams) (r AudioNativeProjectUpdateContentEndpointRes, _ error)
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 ¶
func (UnimplementedHandler) CancelBatchCall(ctx context.Context, params CancelBatchCallParams) (r CancelBatchCallRes, _ 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
func (UnimplementedHandler) ComposeDetailed ¶
func (UnimplementedHandler) ComposeDetailed(ctx context.Context, req OptBodyComposeMusicWithADetailedResponseV1MusicDetailedPost, params ComposeDetailedParams) (r ComposeDetailedRes, _ error)
ComposeDetailed implements compose_detailed operation.
Compose a song from a prompt or a composition plan.
POST /v1/music/detailed
func (UnimplementedHandler) ComposePlan ¶
func (UnimplementedHandler) ComposePlan(ctx context.Context, req *BodyGenerateCompositionPlanV1MusicPlanPost, params ComposePlanParams) (r ComposePlanRes, _ error)
ComposePlan implements compose_plan operation.
Generate a composition plan from a prompt.
POST /v1/music/plan
func (UnimplementedHandler) ConvertChapterEndpoint ¶
func (UnimplementedHandler) ConvertChapterEndpoint(ctx context.Context, params ConvertChapterEndpointParams) (r ConvertChapterEndpointRes, _ error)
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 ¶
func (UnimplementedHandler) ConvertProjectEndpoint(ctx context.Context, params ConvertProjectEndpointParams) (r ConvertProjectEndpointRes, _ 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
func (UnimplementedHandler) CreateAgentResponseTestRoute ¶
func (UnimplementedHandler) CreateAgentResponseTestRoute(ctx context.Context, req *CreateUnitTestRequest, params CreateAgentResponseTestRouteParams) (r CreateAgentResponseTestRouteRes, _ error)
CreateAgentResponseTestRoute implements create_agent_response_test_route operation.
Creates a new agent response test.
POST /v1/convai/agent-testing/create
func (UnimplementedHandler) CreateAudioNativeProject ¶
func (UnimplementedHandler) CreateAudioNativeProject(ctx context.Context, req *BodyCreatesAudioNativeEnabledProjectV1AudioNativePostMultipart, params CreateAudioNativeProjectParams) (r CreateAudioNativeProjectRes, _ 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
func (UnimplementedHandler) CreateBatchCall ¶
func (UnimplementedHandler) CreateBatchCall(ctx context.Context, req *BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost, params CreateBatchCallParams) (r CreateBatchCallRes, _ error)
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 ¶
func (UnimplementedHandler) CreateClip(ctx context.Context, req *SegmentCreatePayload, params CreateClipParams) (r CreateClipRes, _ 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
func (UnimplementedHandler) CreateDubbing ¶
func (UnimplementedHandler) CreateDubbing(ctx context.Context, req OptBodyDubAVideoOrAnAudioFileV1DubbingPostMultipart, params CreateDubbingParams) (r CreateDubbingRes, _ error)
CreateDubbing implements create_dubbing operation.
Dubs a provided audio or video file into given language.
POST /v1/dubbing
func (UnimplementedHandler) CreateFileDocumentRoute ¶
func (UnimplementedHandler) CreateFileDocumentRoute(ctx context.Context, req *BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePostMultipart, params CreateFileDocumentRouteParams) (r CreateFileDocumentRouteRes, _ error)
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 ¶
func (UnimplementedHandler) CreatePvcVoice(ctx context.Context, req *BodyCreatePVCVoiceV1VoicesPvcPost, params CreatePvcVoiceParams) (r CreatePvcVoiceRes, _ error)
CreatePvcVoice implements create_pvc_voice operation.
Creates a new PVC voice with metadata but no samples.
POST /v1/voices/pvc
func (UnimplementedHandler) CreateSecretRoute ¶
func (UnimplementedHandler) CreateSecretRoute(ctx context.Context, req *PostWorkspaceSecretRequest, params CreateSecretRouteParams) (r CreateSecretRouteRes, _ error)
CreateSecretRoute implements create_secret_route operation.
Create a new secret for the workspace.
POST /v1/convai/secrets
func (UnimplementedHandler) CreateServiceAccountAPIKey ¶
func (UnimplementedHandler) CreateServiceAccountAPIKey(ctx context.Context, req *BodyCreateServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysPost, params CreateServiceAccountAPIKeyParams) (r CreateServiceAccountAPIKeyRes, _ 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
func (UnimplementedHandler) CreateSpeaker ¶
func (UnimplementedHandler) CreateSpeaker(ctx context.Context, req OptBodyCreateANewSpeakerV1DubbingResourceDubbingIDSpeakerPost, params CreateSpeakerParams) (r CreateSpeakerRes, _ error)
CreateSpeaker implements create_speaker operation.
Create A New Speaker.
POST /v1/dubbing/resource/{dubbing_id}/speaker
func (UnimplementedHandler) CreateTextDocumentRoute ¶
func (UnimplementedHandler) CreateTextDocumentRoute(ctx context.Context, req *BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost, params CreateTextDocumentRouteParams) (r CreateTextDocumentRouteRes, _ error)
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 ¶
func (UnimplementedHandler) CreateURLDocumentRoute(ctx context.Context, req *BodyCreateURLDocumentV1ConvaiKnowledgeBaseURLPost, params CreateURLDocumentRouteParams) (r CreateURLDocumentRouteRes, _ 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
func (UnimplementedHandler) CreateVoice ¶
func (UnimplementedHandler) CreateVoice(ctx context.Context, req *BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost, params CreateVoiceParams) (r CreateVoiceRes, _ 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
func (UnimplementedHandler) CreateVoiceOld ¶
func (UnimplementedHandler) CreateVoiceOld(ctx context.Context, req *BodyCreateAPreviouslyGeneratedVoiceV1VoiceGenerationCreateVoicePost, params CreateVoiceOldParams) (r CreateVoiceOldRes, _ 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
func (UnimplementedHandler) CreateWorkspaceWebhookRoute ¶
func (UnimplementedHandler) CreateWorkspaceWebhookRoute(ctx context.Context, req *BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost, params CreateWorkspaceWebhookRouteParams) (r CreateWorkspaceWebhookRouteRes, _ error)
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 ¶
func (UnimplementedHandler) DeleteAgentRoute(ctx context.Context, params DeleteAgentRouteParams) (r DeleteAgentRouteRes, _ error)
DeleteAgentRoute implements delete_agent_route operation.
Delete an agent.
DELETE /v1/convai/agents/{agent_id}
func (UnimplementedHandler) DeleteChapterEndpoint ¶
func (UnimplementedHandler) DeleteChapterEndpoint(ctx context.Context, params DeleteChapterEndpointParams) (r DeleteChapterEndpointRes, _ error)
DeleteChapterEndpoint implements delete_chapter_endpoint operation.
Deletes a chapter.
DELETE /v1/studio/projects/{project_id}/chapters/{chapter_id}
func (UnimplementedHandler) DeleteChatResponseTestRoute ¶
func (UnimplementedHandler) DeleteChatResponseTestRoute(ctx context.Context, params DeleteChatResponseTestRouteParams) (r DeleteChatResponseTestRouteRes, _ error)
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 ¶
func (UnimplementedHandler) DeleteConversationRoute(ctx context.Context, params DeleteConversationRouteParams) (r DeleteConversationRouteRes, _ error)
DeleteConversationRoute implements delete_conversation_route operation.
Delete a particular conversation.
DELETE /v1/convai/conversations/{conversation_id}
func (UnimplementedHandler) DeleteDubbing ¶
func (UnimplementedHandler) DeleteDubbing(ctx context.Context, params DeleteDubbingParams) (r DeleteDubbingRes, _ error)
DeleteDubbing implements delete_dubbing operation.
Deletes a dubbing project.
DELETE /v1/dubbing/{dubbing_id}
func (UnimplementedHandler) DeleteInvite ¶
func (UnimplementedHandler) DeleteInvite(ctx context.Context, req *BodyDeleteExistingInvitationV1WorkspaceInvitesDelete, params DeleteInviteParams) (r DeleteInviteRes, _ 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
func (UnimplementedHandler) DeleteKnowledgeBaseDocument ¶
func (UnimplementedHandler) DeleteKnowledgeBaseDocument(ctx context.Context, params DeleteKnowledgeBaseDocumentParams) (r DeleteKnowledgeBaseDocumentRes, _ error)
DeleteKnowledgeBaseDocument implements delete_knowledge_base_document operation.
Delete a document from the knowledge base.
DELETE /v1/convai/knowledge-base/{documentation_id}
func (UnimplementedHandler) DeleteMcpServerRoute ¶
func (UnimplementedHandler) DeleteMcpServerRoute(ctx context.Context, params DeleteMcpServerRouteParams) (r DeleteMcpServerRouteRes, _ 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}
func (UnimplementedHandler) DeletePhoneNumberRoute ¶
func (UnimplementedHandler) DeletePhoneNumberRoute(ctx context.Context, params DeletePhoneNumberRouteParams) (r DeletePhoneNumberRouteRes, _ error)
DeletePhoneNumberRoute implements delete_phone_number_route operation.
Delete Phone Number by ID.
DELETE /v1/convai/phone-numbers/{phone_number_id}
func (UnimplementedHandler) DeleteProject ¶
func (UnimplementedHandler) DeleteProject(ctx context.Context, params DeleteProjectParams) (r DeleteProjectRes, _ error)
DeleteProject implements delete_project operation.
Deletes a Studio project.
DELETE /v1/studio/projects/{project_id}
func (UnimplementedHandler) DeletePvcVoiceSample ¶
func (UnimplementedHandler) DeletePvcVoiceSample(ctx context.Context, params DeletePvcVoiceSampleParams) (r DeletePvcVoiceSampleRes, _ error)
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 ¶
func (UnimplementedHandler) DeleteRagIndex(ctx context.Context, params DeleteRagIndexParams) (r DeleteRagIndexRes, _ 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}
func (UnimplementedHandler) DeleteSample ¶
func (UnimplementedHandler) DeleteSample(ctx context.Context, params DeleteSampleParams) (r DeleteSampleRes, _ error)
DeleteSample implements delete_sample operation.
Removes a sample by its ID.
DELETE /v1/voices/{voice_id}/samples/{sample_id}
func (UnimplementedHandler) DeleteSecretRoute ¶
func (UnimplementedHandler) DeleteSecretRoute(ctx context.Context, params DeleteSecretRouteParams) (r DeleteSecretRouteRes, _ error)
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 ¶
func (UnimplementedHandler) DeleteSegment(ctx context.Context, params DeleteSegmentParams) (r DeleteSegmentRes, _ error)
DeleteSegment implements delete_segment operation.
Deletes a single segment from the dubbing.
DELETE /v1/dubbing/resource/{dubbing_id}/segment/{segment_id}
func (UnimplementedHandler) DeleteServiceAccountAPIKey ¶
func (UnimplementedHandler) DeleteServiceAccountAPIKey(ctx context.Context, params DeleteServiceAccountAPIKeyParams) (r DeleteServiceAccountAPIKeyRes, _ 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}
func (UnimplementedHandler) DeleteSpeechHistoryItem ¶
func (UnimplementedHandler) DeleteSpeechHistoryItem(ctx context.Context, params DeleteSpeechHistoryItemParams) (r DeleteSpeechHistoryItemRes, _ error)
DeleteSpeechHistoryItem implements delete_speech_history_item operation.
Delete a history item by its ID.
DELETE /v1/history/{history_item_id}
func (UnimplementedHandler) DeleteToolRoute ¶
func (UnimplementedHandler) DeleteToolRoute(ctx context.Context, params DeleteToolRouteParams) (r DeleteToolRouteRes, _ error)
DeleteToolRoute implements delete_tool_route operation.
Delete tool from the workspace.
DELETE /v1/convai/tools/{tool_id}
func (UnimplementedHandler) DeleteTranscriptByID ¶
func (UnimplementedHandler) DeleteTranscriptByID(ctx context.Context, params DeleteTranscriptByIDParams) (r DeleteTranscriptByIDRes, _ error)
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 ¶
func (UnimplementedHandler) DeleteVoice(ctx context.Context, params DeleteVoiceParams) (r DeleteVoiceRes, _ error)
DeleteVoice implements delete_voice operation.
Deletes a voice by its ID.
DELETE /v1/voices/{voice_id}
func (UnimplementedHandler) DeleteWhatsappAccount ¶
func (UnimplementedHandler) DeleteWhatsappAccount(ctx context.Context, params DeleteWhatsappAccountParams) (r DeleteWhatsappAccountRes, _ error)
DeleteWhatsappAccount implements delete_whatsapp_account operation.
Delete a WhatsApp account.
DELETE /v1/convai/whatsapp-accounts/{phone_number_id}
func (UnimplementedHandler) DeleteWorkspaceWebhookRoute ¶
func (UnimplementedHandler) DeleteWorkspaceWebhookRoute(ctx context.Context, params DeleteWorkspaceWebhookRouteParams) (r DeleteWorkspaceWebhookRouteRes, _ error)
DeleteWorkspaceWebhookRoute implements delete_workspace_webhook_route operation.
Delete the specified workspace webhook.
DELETE /v1/workspace/webhooks/{webhook_id}
func (UnimplementedHandler) DownloadSpeechHistoryItems ¶
func (UnimplementedHandler) DownloadSpeechHistoryItems(ctx context.Context, req *BodyDownloadHistoryItemsV1HistoryDownloadPost, params DownloadSpeechHistoryItemsParams) (r DownloadSpeechHistoryItemsRes, _ 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
func (UnimplementedHandler) Dub ¶
func (UnimplementedHandler) Dub(ctx context.Context, req *BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDDubPost, params DubParams) (r DubRes, _ 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
func (UnimplementedHandler) DuplicateAgentRoute ¶
func (UnimplementedHandler) DuplicateAgentRoute(ctx context.Context, req OptBodyDuplicateAgentV1ConvaiAgentsAgentIDDuplicatePost, params DuplicateAgentRouteParams) (r DuplicateAgentRouteRes, _ error)
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 ¶
func (UnimplementedHandler) EditProject(ctx context.Context, req *BodyUpdateStudioProjectV1StudioProjectsProjectIDPost, params EditProjectParams) (r EditProjectRes, _ 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}
func (UnimplementedHandler) EditProjectContent ¶
func (UnimplementedHandler) EditProjectContent(ctx context.Context, req OptBodyUpdateStudioProjectContentV1StudioProjectsProjectIDContentPostMultipart, params EditProjectContentParams) (r EditProjectContentRes, _ error)
EditProjectContent implements edit_project_content operation.
Updates Studio project content.
POST /v1/studio/projects/{project_id}/content
func (UnimplementedHandler) EditPvcVoice ¶
func (UnimplementedHandler) EditPvcVoice(ctx context.Context, req OptBodyEditPVCVoiceV1VoicesPvcVoiceIDPost, params EditPvcVoiceParams) (r EditPvcVoiceRes, _ error)
EditPvcVoice implements edit_pvc_voice operation.
Edit PVC voice metadata.
POST /v1/voices/pvc/{voice_id}
func (UnimplementedHandler) EditPvcVoiceSample ¶
func (UnimplementedHandler) EditPvcVoiceSample(ctx context.Context, req OptBodyUpdatePVCVoiceSampleV1VoicesPvcVoiceIDSamplesSampleIDPost, params EditPvcVoiceSampleParams) (r EditPvcVoiceSampleRes, _ 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}
func (UnimplementedHandler) EditServiceAccountAPIKey ¶
func (UnimplementedHandler) EditServiceAccountAPIKey(ctx context.Context, req *BodyEditServiceAccountAPIKeyV1ServiceAccountsServiceAccountUserIDAPIKeysAPIKeyIDPatch, params EditServiceAccountAPIKeyParams) (r EditServiceAccountAPIKeyRes, _ 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}
func (UnimplementedHandler) EditVoice ¶
func (UnimplementedHandler) EditVoice(ctx context.Context, req *BodyEditVoiceV1VoicesVoiceIDEditPostMultipart, params EditVoiceParams) (r EditVoiceRes, _ error)
EditVoice implements edit_voice operation.
Edit a voice created by you.
POST /v1/voices/{voice_id}/edit
func (UnimplementedHandler) EditVoiceSettings ¶
func (UnimplementedHandler) EditVoiceSettings(ctx context.Context, req *VoiceSettingsResponseModel, params EditVoiceSettingsParams) (r EditVoiceSettingsRes, _ 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
func (UnimplementedHandler) EditWorkspaceWebhookRoute ¶
func (UnimplementedHandler) EditWorkspaceWebhookRoute(ctx context.Context, req *BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIDPatch, params EditWorkspaceWebhookRouteParams) (r EditWorkspaceWebhookRouteRes, _ error)
EditWorkspaceWebhookRoute implements edit_workspace_webhook_route operation.
Update the specified workspace webhook.
PATCH /v1/workspace/webhooks/{webhook_id}
func (UnimplementedHandler) ForcedAlignment ¶
func (UnimplementedHandler) ForcedAlignment(ctx context.Context, req *BodyCreateForcedAlignmentV1ForcedAlignmentPostMultipart, params ForcedAlignmentParams) (r ForcedAlignmentRes, _ 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
func (UnimplementedHandler) Generate ¶
func (UnimplementedHandler) Generate(ctx context.Context, req OptBodyComposeMusicV1MusicPost, params GenerateParams) (r GenerateRes, _ error)
Generate implements generate operation.
Compose a song from a prompt or a composition plan.
POST /v1/music
func (UnimplementedHandler) GenerateRandomVoice ¶
func (UnimplementedHandler) GenerateRandomVoice(ctx context.Context, req *BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost, params GenerateRandomVoiceParams) (r GenerateRandomVoiceRes, _ 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
func (UnimplementedHandler) GetAgentKnowledgeBaseSize ¶
func (UnimplementedHandler) GetAgentKnowledgeBaseSize(ctx context.Context, params GetAgentKnowledgeBaseSizeParams) (r GetAgentKnowledgeBaseSizeRes, _ 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
func (UnimplementedHandler) GetAgentKnowledgeBaseSummariesRoute ¶
func (UnimplementedHandler) GetAgentKnowledgeBaseSummariesRoute(ctx context.Context, params GetAgentKnowledgeBaseSummariesRouteParams) (r GetAgentKnowledgeBaseSummariesRouteRes, _ 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
func (UnimplementedHandler) GetAgentLinkRoute ¶
func (UnimplementedHandler) GetAgentLinkRoute(ctx context.Context, params GetAgentLinkRouteParams) (r GetAgentLinkRouteRes, _ 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
func (UnimplementedHandler) GetAgentLlmExpectedCostCalculation ¶
func (UnimplementedHandler) GetAgentLlmExpectedCostCalculation(ctx context.Context, req *LLMUsageCalculatorRequestModel, params GetAgentLlmExpectedCostCalculationParams) (r GetAgentLlmExpectedCostCalculationRes, _ 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
func (UnimplementedHandler) GetAgentResponseTestRoute ¶
func (UnimplementedHandler) GetAgentResponseTestRoute(ctx context.Context, params GetAgentResponseTestRouteParams) (r GetAgentResponseTestRouteRes, _ error)
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 ¶
func (UnimplementedHandler) GetAgentResponseTestsSummariesRoute(ctx context.Context, req *ListTestsByIdsRequestModel, params GetAgentResponseTestsSummariesRouteParams) (r GetAgentResponseTestsSummariesRouteRes, _ 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
func (UnimplementedHandler) GetAgentsRoute ¶
func (UnimplementedHandler) GetAgentsRoute(ctx context.Context, params GetAgentsRouteParams) (r GetAgentsRouteRes, _ error)
GetAgentsRoute implements get_agents_route operation.
Returns a list of your agents and their metadata.
GET /v1/convai/agents
func (UnimplementedHandler) GetAudioFromSample ¶
func (UnimplementedHandler) GetAudioFromSample(ctx context.Context, params GetAudioFromSampleParams) (r GetAudioFromSampleRes, _ 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
func (UnimplementedHandler) GetAudioFullFromSpeechHistoryItem ¶
func (UnimplementedHandler) GetAudioFullFromSpeechHistoryItem(ctx context.Context, params GetAudioFullFromSpeechHistoryItemParams) (r GetAudioFullFromSpeechHistoryItemRes, _ 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
func (UnimplementedHandler) GetAudioNativeProjectSettingsEndpoint ¶
func (UnimplementedHandler) GetAudioNativeProjectSettingsEndpoint(ctx context.Context, params GetAudioNativeProjectSettingsEndpointParams) (r GetAudioNativeProjectSettingsEndpointRes, _ error)
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 ¶
func (UnimplementedHandler) GetBatchCall(ctx context.Context, params GetBatchCallParams) (r GetBatchCallRes, _ error)
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 ¶
func (UnimplementedHandler) GetChapterSnapshotEndpoint(ctx context.Context, params GetChapterSnapshotEndpointParams) (r GetChapterSnapshotEndpointRes, _ 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}
func (UnimplementedHandler) GetChapterSnapshots ¶
func (UnimplementedHandler) GetChapterSnapshots(ctx context.Context, params GetChapterSnapshotsParams) (r GetChapterSnapshotsRes, _ 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
func (UnimplementedHandler) GetChapters ¶
func (UnimplementedHandler) GetChapters(ctx context.Context, params GetChaptersParams) (r GetChaptersRes, _ error)
GetChapters implements get_chapters operation.
Returns a list of a Studio project's chapters.
GET /v1/studio/projects/{project_id}/chapters
func (UnimplementedHandler) GetConversationAudioRoute ¶
func (UnimplementedHandler) GetConversationAudioRoute(ctx context.Context, params GetConversationAudioRouteParams) (r GetConversationAudioRouteRes, _ error)
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 ¶
func (UnimplementedHandler) GetConversationHistoriesRoute(ctx context.Context, params GetConversationHistoriesRouteParams) (r GetConversationHistoriesRouteRes, _ 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
func (UnimplementedHandler) GetConversationHistoryRoute ¶
func (UnimplementedHandler) GetConversationHistoryRoute(ctx context.Context, params GetConversationHistoryRouteParams) (r GetConversationHistoryRouteRes, _ error)
GetConversationHistoryRoute implements get_conversation_history_route operation.
Get the details of a particular conversation.
GET /v1/convai/conversations/{conversation_id}
func (UnimplementedHandler) GetConversationSignedLink ¶
func (UnimplementedHandler) GetConversationSignedLink(ctx context.Context, params GetConversationSignedLinkParams) (r GetConversationSignedLinkRes, _ 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
func (UnimplementedHandler) GetDashboardSettingsRoute ¶
func (UnimplementedHandler) GetDashboardSettingsRoute(ctx context.Context, params GetDashboardSettingsRouteParams) (r GetDashboardSettingsRouteRes, _ error)
GetDashboardSettingsRoute implements get_dashboard_settings_route operation.
Retrieve Convai dashboard settings for the workspace.
GET /v1/convai/settings/dashboard
func (UnimplementedHandler) GetDocumentationChunkFromKnowledgeBase ¶
func (UnimplementedHandler) GetDocumentationChunkFromKnowledgeBase(ctx context.Context, params GetDocumentationChunkFromKnowledgeBaseParams) (r GetDocumentationChunkFromKnowledgeBaseRes, _ 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}
func (UnimplementedHandler) GetDocumentationFromKnowledgeBase ¶
func (UnimplementedHandler) GetDocumentationFromKnowledgeBase(ctx context.Context, params GetDocumentationFromKnowledgeBaseParams) (r GetDocumentationFromKnowledgeBaseRes, _ 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}
func (UnimplementedHandler) GetDubbedFile ¶
func (UnimplementedHandler) GetDubbedFile(ctx context.Context, params GetDubbedFileParams) (r GetDubbedFileRes, _ 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}
func (UnimplementedHandler) GetDubbedMetadata ¶
func (UnimplementedHandler) GetDubbedMetadata(ctx context.Context, params GetDubbedMetadataParams) (r GetDubbedMetadataRes, _ 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}
func (UnimplementedHandler) GetDubbedTranscriptFile ¶
func (UnimplementedHandler) GetDubbedTranscriptFile(ctx context.Context, params GetDubbedTranscriptFileParams) (r GetDubbedTranscriptFileRes, _ 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}
func (UnimplementedHandler) GetDubbingResource ¶
func (UnimplementedHandler) GetDubbingResource(ctx context.Context, params GetDubbingResourceParams) (r GetDubbingResourceRes, _ 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}
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 ¶
func (UnimplementedHandler) GetKnowledgeBaseContent(ctx context.Context, params GetKnowledgeBaseContentParams) (r GetKnowledgeBaseContentRes, _ 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
func (UnimplementedHandler) GetKnowledgeBaseDependentAgents ¶
func (UnimplementedHandler) GetKnowledgeBaseDependentAgents(ctx context.Context, params GetKnowledgeBaseDependentAgentsParams) (r GetKnowledgeBaseDependentAgentsRes, _ 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
func (UnimplementedHandler) GetKnowledgeBaseListRoute ¶
func (UnimplementedHandler) GetKnowledgeBaseListRoute(ctx context.Context, params GetKnowledgeBaseListRouteParams) (r GetKnowledgeBaseListRouteRes, _ error)
GetKnowledgeBaseListRoute implements get_knowledge_base_list_route operation.
Get a list of available knowledge base documents.
GET /v1/convai/knowledge-base
func (UnimplementedHandler) GetLibraryVoices ¶
func (UnimplementedHandler) GetLibraryVoices(ctx context.Context, params GetLibraryVoicesParams) (r GetLibraryVoicesRes, _ error)
GetLibraryVoices implements get_library_voices operation.
Retrieves a list of shared voices.
GET /v1/shared-voices
func (UnimplementedHandler) GetLiveCount ¶
func (UnimplementedHandler) GetLiveCount(ctx context.Context, params GetLiveCountParams) (r GetLiveCountRes, _ error)
GetLiveCount implements get_live_count operation.
Get the live count of the ongoing conversations.
GET /v1/convai/analytics/live-count
func (UnimplementedHandler) GetLivekitToken ¶
func (UnimplementedHandler) GetLivekitToken(ctx context.Context, params GetLivekitTokenParams) (r GetLivekitTokenRes, _ error)
GetLivekitToken implements get_livekit_token operation.
Get a WebRTC session token for real-time communication.
GET /v1/convai/conversation/token
func (UnimplementedHandler) GetMcpToolConfigOverrideRoute ¶
func (UnimplementedHandler) GetMcpToolConfigOverrideRoute(ctx context.Context, params GetMcpToolConfigOverrideRouteParams) (r GetMcpToolConfigOverrideRouteRes, _ 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}
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 ¶
func (UnimplementedHandler) GetOrCreateRagIndexes(ctx context.Context, req *BodyComputeRAGIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost, params GetOrCreateRagIndexesParams) (r GetOrCreateRagIndexesRes, _ 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
func (UnimplementedHandler) GetPhoneNumberRoute ¶
func (UnimplementedHandler) GetPhoneNumberRoute(ctx context.Context, params GetPhoneNumberRouteParams) (r GetPhoneNumberRouteRes, _ error)
GetPhoneNumberRoute implements get_phone_number_route operation.
Retrieve Phone Number details by ID.
GET /v1/convai/phone-numbers/{phone_number_id}
func (UnimplementedHandler) GetProjectSnapshotEndpoint ¶
func (UnimplementedHandler) GetProjectSnapshotEndpoint(ctx context.Context, params GetProjectSnapshotEndpointParams) (r GetProjectSnapshotEndpointRes, _ error)
GetProjectSnapshotEndpoint implements get_project_snapshot_endpoint operation.
Returns the project snapshot.
GET /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}
func (UnimplementedHandler) GetProjectSnapshots ¶
func (UnimplementedHandler) GetProjectSnapshots(ctx context.Context, params GetProjectSnapshotsParams) (r GetProjectSnapshotsRes, _ error)
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 ¶
func (UnimplementedHandler) GetProjects(ctx context.Context, params GetProjectsParams) (r GetProjectsRes, _ error)
GetProjects implements get_projects operation.
Returns a list of your Studio projects with metadata.
GET /v1/studio/projects
func (UnimplementedHandler) GetPronunciationDictionariesMetadata ¶
func (UnimplementedHandler) GetPronunciationDictionariesMetadata(ctx context.Context, params GetPronunciationDictionariesMetadataParams) (r GetPronunciationDictionariesMetadataRes, _ 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
func (UnimplementedHandler) GetPronunciationDictionaryMetadata ¶
func (UnimplementedHandler) GetPronunciationDictionaryMetadata(ctx context.Context, params GetPronunciationDictionaryMetadataParams) (r GetPronunciationDictionaryMetadataRes, _ error)
GetPronunciationDictionaryMetadata implements get_pronunciation_dictionary_metadata operation.
Get metadata for a pronunciation dictionary.
GET /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}
func (UnimplementedHandler) GetPronunciationDictionaryVersionPls ¶
func (UnimplementedHandler) GetPronunciationDictionaryVersionPls(ctx context.Context, params GetPronunciationDictionaryVersionPlsParams) (r GetPronunciationDictionaryVersionPlsRes, _ 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
func (UnimplementedHandler) GetPublicLlmExpectedCostCalculation ¶
func (UnimplementedHandler) GetPublicLlmExpectedCostCalculation(ctx context.Context, req *LLMUsageCalculatorPublicRequestModel) (r GetPublicLlmExpectedCostCalculationRes, _ 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
func (UnimplementedHandler) GetPvcSampleAudio ¶
func (UnimplementedHandler) GetPvcSampleAudio(ctx context.Context, params GetPvcSampleAudioParams) (r GetPvcSampleAudioRes, _ 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
func (UnimplementedHandler) GetPvcSampleSpeakers ¶
func (UnimplementedHandler) GetPvcSampleSpeakers(ctx context.Context, params GetPvcSampleSpeakersParams) (r GetPvcSampleSpeakersRes, _ 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
func (UnimplementedHandler) GetPvcSampleVisualWaveform ¶
func (UnimplementedHandler) GetPvcSampleVisualWaveform(ctx context.Context, params GetPvcSampleVisualWaveformParams) (r GetPvcSampleVisualWaveformRes, _ 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
func (UnimplementedHandler) GetPvcVoiceCaptcha ¶
func (UnimplementedHandler) GetPvcVoiceCaptcha(ctx context.Context, params GetPvcVoiceCaptchaParams) (r GetPvcVoiceCaptchaRes, _ error)
GetPvcVoiceCaptcha implements get_pvc_voice_captcha operation.
Get captcha for PVC voice verification.
GET /v1/voices/pvc/{voice_id}/captcha
func (UnimplementedHandler) GetRagIndexOverview ¶
func (UnimplementedHandler) GetRagIndexOverview(ctx context.Context, params GetRagIndexOverviewParams) (r GetRagIndexOverviewRes, _ 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
func (UnimplementedHandler) GetRagIndexes ¶
func (UnimplementedHandler) GetRagIndexes(ctx context.Context, params GetRagIndexesParams) (r GetRagIndexesRes, _ 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
func (UnimplementedHandler) GetResourceMetadata ¶
func (UnimplementedHandler) GetResourceMetadata(ctx context.Context, params GetResourceMetadataParams) (r GetResourceMetadataRes, _ error)
GetResourceMetadata implements get_resource_metadata operation.
Gets the metadata of a resource by ID.
GET /v1/workspace/resources/{resource_id}
func (UnimplementedHandler) GetSecretsRoute ¶
func (UnimplementedHandler) GetSecretsRoute(ctx context.Context, params GetSecretsRouteParams) (r GetSecretsRouteRes, _ error)
GetSecretsRoute implements get_secrets_route operation.
Get all workspace secrets for the user.
GET /v1/convai/secrets
func (UnimplementedHandler) GetServiceAccountAPIKeysRoute ¶
func (UnimplementedHandler) GetServiceAccountAPIKeysRoute(ctx context.Context, params GetServiceAccountAPIKeysRouteParams) (r GetServiceAccountAPIKeysRouteRes, _ 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
func (UnimplementedHandler) GetSettingsRoute ¶
func (UnimplementedHandler) GetSettingsRoute(ctx context.Context, params GetSettingsRouteParams) (r GetSettingsRouteRes, _ error)
GetSettingsRoute implements get_settings_route operation.
Retrieve Convai settings for the workspace.
GET /v1/convai/settings
func (UnimplementedHandler) GetSignedURLDeprecated
deprecated
func (UnimplementedHandler) GetSignedURLDeprecated(ctx context.Context, params GetSignedURLDeprecatedParams) (r GetSignedURLDeprecatedRes, _ 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
func (UnimplementedHandler) GetSimilarLibraryVoices ¶
func (UnimplementedHandler) GetSimilarLibraryVoices(ctx context.Context, req OptBodyGetSimilarLibraryVoicesV1SimilarVoicesPostMultipart, params GetSimilarLibraryVoicesParams) (r GetSimilarLibraryVoicesRes, _ 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
func (UnimplementedHandler) GetSimilarVoicesForSpeaker ¶
func (UnimplementedHandler) GetSimilarVoicesForSpeaker(ctx context.Context, params GetSimilarVoicesForSpeakerParams) (r GetSimilarVoicesForSpeakerRes, _ 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
func (UnimplementedHandler) GetSingleUseToken ¶
func (UnimplementedHandler) GetSingleUseToken(ctx context.Context, params GetSingleUseTokenParams) (r GetSingleUseTokenRes, _ 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}
func (UnimplementedHandler) GetSpeakerAudio ¶
func (UnimplementedHandler) GetSpeakerAudio(ctx context.Context, params GetSpeakerAudioParams) (r GetSpeakerAudioRes, _ 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
func (UnimplementedHandler) GetSpeechHistory ¶
func (UnimplementedHandler) GetSpeechHistory(ctx context.Context, params GetSpeechHistoryParams) (r GetSpeechHistoryRes, _ error)
GetSpeechHistory implements get_speech_history operation.
Returns a list of your generated audio.
GET /v1/history
func (UnimplementedHandler) GetSpeechHistoryItemByID ¶
func (UnimplementedHandler) GetSpeechHistoryItemByID(ctx context.Context, params GetSpeechHistoryItemByIDParams) (r GetSpeechHistoryItemByIDRes, _ error)
GetSpeechHistoryItemByID implements get_speech_history_item_by_id operation.
Retrieves a history item.
GET /v1/history/{history_item_id}
func (UnimplementedHandler) GetTestInvocationRoute ¶
func (UnimplementedHandler) GetTestInvocationRoute(ctx context.Context, params GetTestInvocationRouteParams) (r GetTestInvocationRouteRes, _ error)
GetTestInvocationRoute implements get_test_invocation_route operation.
Gets a test invocation by ID.
GET /v1/convai/test-invocations/{test_invocation_id}
func (UnimplementedHandler) GetToolDependentAgentsRoute ¶
func (UnimplementedHandler) GetToolDependentAgentsRoute(ctx context.Context, params GetToolDependentAgentsRouteParams) (r GetToolDependentAgentsRouteRes, _ 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
func (UnimplementedHandler) GetTranscriptByID ¶
func (UnimplementedHandler) GetTranscriptByID(ctx context.Context, params GetTranscriptByIDParams) (r GetTranscriptByIDRes, _ error)
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 ¶
func (UnimplementedHandler) GetUserInfo(ctx context.Context, params GetUserInfoParams) (r GetUserInfoRes, _ error)
GetUserInfo implements get_user_info operation.
Gets information about the user.
GET /v1/user
func (UnimplementedHandler) GetUserVoicesV2 ¶
func (UnimplementedHandler) GetUserVoicesV2(ctx context.Context, params GetUserVoicesV2Params) (r GetUserVoicesV2Res, _ 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
func (UnimplementedHandler) GetVoiceByID ¶
func (UnimplementedHandler) GetVoiceByID(ctx context.Context, params GetVoiceByIDParams) (r GetVoiceByIDRes, _ error)
GetVoiceByID implements get_voice_by_id operation.
Returns metadata about a specific voice.
GET /v1/voices/{voice_id}
func (UnimplementedHandler) GetVoiceSettings ¶
func (UnimplementedHandler) GetVoiceSettings(ctx context.Context, params GetVoiceSettingsParams) (r GetVoiceSettingsRes, _ 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
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 ¶
func (UnimplementedHandler) GetWhatsappAccount(ctx context.Context, params GetWhatsappAccountParams) (r GetWhatsappAccountRes, _ error)
GetWhatsappAccount implements get_whatsapp_account operation.
Get a WhatsApp account.
GET /v1/convai/whatsapp-accounts/{phone_number_id}
func (UnimplementedHandler) GetWorkspaceBatchCalls ¶
func (UnimplementedHandler) GetWorkspaceBatchCalls(ctx context.Context, params GetWorkspaceBatchCallsParams) (r GetWorkspaceBatchCallsRes, _ error)
GetWorkspaceBatchCalls implements get_workspace_batch_calls operation.
Get all batch calls for the current workspace.
GET /v1/convai/batch-calling/workspace
func (UnimplementedHandler) GetWorkspaceServiceAccounts ¶
func (UnimplementedHandler) GetWorkspaceServiceAccounts(ctx context.Context, params GetWorkspaceServiceAccountsParams) (r GetWorkspaceServiceAccountsRes, _ error)
GetWorkspaceServiceAccounts implements get_workspace_service_accounts operation.
List all service accounts in the workspace.
GET /v1/service-accounts
func (UnimplementedHandler) GetWorkspaceWebhooksRoute ¶
func (UnimplementedHandler) GetWorkspaceWebhooksRoute(ctx context.Context, params GetWorkspaceWebhooksRouteParams) (r GetWorkspaceWebhooksRouteRes, _ error)
GetWorkspaceWebhooksRoute implements get_workspace_webhooks_route operation.
List all webhooks for a workspace.
GET /v1/workspace/webhooks
func (UnimplementedHandler) HandleSipTrunkOutboundCall ¶
func (UnimplementedHandler) HandleSipTrunkOutboundCall(ctx context.Context, req *BodyHandleAnOutboundCallViaSIPTrunkV1ConvaiSipTrunkOutboundCallPost, params HandleSipTrunkOutboundCallParams) (r HandleSipTrunkOutboundCallRes, _ error)
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 ¶
func (UnimplementedHandler) HandleTwilioOutboundCall(ctx context.Context, req *BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost, params HandleTwilioOutboundCallParams) (r HandleTwilioOutboundCallRes, _ error)
HandleTwilioOutboundCall implements handle_twilio_outbound_call operation.
Handle an outbound call via Twilio.
POST /v1/convai/twilio/outbound-call
func (UnimplementedHandler) ImportWhatsappAccount ¶
func (UnimplementedHandler) ImportWhatsappAccount(ctx context.Context, req *ImportWhatsAppAccountRequest, params ImportWhatsappAccountParams) (r ImportWhatsappAccountRes, _ error)
ImportWhatsappAccount implements import_whatsapp_account operation.
Import a WhatsApp account.
POST /v1/convai/whatsapp-accounts
func (UnimplementedHandler) InviteUser ¶
func (UnimplementedHandler) InviteUser(ctx context.Context, req *BodyInviteUserV1WorkspaceInvitesAddPost, params InviteUserParams) (r InviteUserRes, _ 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
func (UnimplementedHandler) InviteUsersBulk ¶
func (UnimplementedHandler) InviteUsersBulk(ctx context.Context, req *BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost, params InviteUsersBulkParams) (r InviteUsersBulkRes, _ 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
func (UnimplementedHandler) ListChatResponseTestsRoute ¶
func (UnimplementedHandler) ListChatResponseTestsRoute(ctx context.Context, params ListChatResponseTestsRouteParams) (r ListChatResponseTestsRouteRes, _ 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
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 ¶
func (UnimplementedHandler) ListMcpServerToolsRoute(ctx context.Context, params ListMcpServerToolsRouteParams) (r ListMcpServerToolsRouteRes, _ 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
func (UnimplementedHandler) ListPhoneNumbersRoute ¶
func (UnimplementedHandler) ListPhoneNumbersRoute(ctx context.Context, params ListPhoneNumbersRouteParams) (r ListPhoneNumbersRouteRes, _ error)
ListPhoneNumbersRoute implements list_phone_numbers_route operation.
Retrieve all Phone Numbers.
GET /v1/convai/phone-numbers
func (UnimplementedHandler) ListTestInvocationsRoute ¶
func (UnimplementedHandler) ListTestInvocationsRoute(ctx context.Context, params ListTestInvocationsRouteParams) (r ListTestInvocationsRouteRes, _ error)
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 ¶
func (UnimplementedHandler) ListWhatsappAccounts(ctx context.Context, params ListWhatsappAccountsParams) (r ListWhatsappAccountsRes, _ error)
ListWhatsappAccounts implements list_whatsapp_accounts operation.
List all WhatsApp accounts.
GET /v1/convai/whatsapp-accounts
func (UnimplementedHandler) MigrateSegments ¶
func (UnimplementedHandler) MigrateSegments(ctx context.Context, req *BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIDMigrateSegmentsPost, params MigrateSegmentsParams) (r MigrateSegmentsRes, _ 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
func (UnimplementedHandler) PatchPronunciationDictionary ¶
func (UnimplementedHandler) PatchPronunciationDictionary(ctx context.Context, req OptBodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDPatch, params PatchPronunciationDictionaryParams) (r PatchPronunciationDictionaryRes, _ error)
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 ¶
func (UnimplementedHandler) PostAgentAvatarRoute(ctx context.Context, req *BodyPostAgentAvatarV1ConvaiAgentsAgentIDAvatarPostMultipart, params PostAgentAvatarRouteParams) (r PostAgentAvatarRouteRes, _ 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
func (UnimplementedHandler) PostConversationFeedbackRoute ¶
func (UnimplementedHandler) PostConversationFeedbackRoute(ctx context.Context, req *ConversationFeedbackRequestModel, params PostConversationFeedbackRouteParams) (r PostConversationFeedbackRouteRes, _ error)
PostConversationFeedbackRoute implements post_conversation_feedback_route operation.
Send the feedback for the given conversation.
POST /v1/convai/conversations/{conversation_id}/feedback
func (UnimplementedHandler) RagIndexStatus ¶
func (UnimplementedHandler) RagIndexStatus(ctx context.Context, req *RAGIndexRequestModel, params RagIndexStatusParams) (r RagIndexStatusRes, _ 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
func (UnimplementedHandler) RedirectToMintlify ¶
RedirectToMintlify implements redirect_to_mintlify operation.
Redirect To Mintlify.
GET /docs
func (UnimplementedHandler) RegisterTwilioCall ¶
func (UnimplementedHandler) RegisterTwilioCall(ctx context.Context, req *BodyRegisterATwilioCallAndReturnTwiMLV1ConvaiTwilioRegisterCallPost, params RegisterTwilioCallParams) (r RegisterTwilioCallRes, _ error)
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 ¶
func (UnimplementedHandler) RemoveMember(ctx context.Context, req *BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIDMembersRemovePost, params RemoveMemberParams) (r RemoveMemberRes, _ 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
func (UnimplementedHandler) RemoveRules ¶
func (UnimplementedHandler) RemoveRules(ctx context.Context, req *BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIDRemoveRulesPost, params RemoveRulesParams) (r RemoveRulesRes, _ error)
RemoveRules implements remove_rules operation.
Remove rules from the pronunciation dictionary.
POST /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/remove-rules
func (UnimplementedHandler) RequestPvcManualVerification ¶
func (UnimplementedHandler) RequestPvcManualVerification(ctx context.Context, req *BodyRequestManualVerificationV1VoicesPvcVoiceIDVerificationPostMultipart, params RequestPvcManualVerificationParams) (r RequestPvcManualVerificationRes, _ error)
RequestPvcManualVerification implements request_pvc_manual_verification operation.
Request manual verification for a PVC voice.
POST /v1/voices/pvc/{voice_id}/verification
func (UnimplementedHandler) RetryBatchCall ¶
func (UnimplementedHandler) RetryBatchCall(ctx context.Context, params RetryBatchCallParams) (r RetryBatchCallRes, _ 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
func (UnimplementedHandler) RunPvcVoiceTraining ¶
func (UnimplementedHandler) RunPvcVoiceTraining(ctx context.Context, req OptBodyRunPVCTrainingV1VoicesPvcVoiceIDTrainPost, params RunPvcVoiceTrainingParams) (r RunPvcVoiceTrainingRes, _ error)
RunPvcVoiceTraining implements run_pvc_voice_training operation.
Start PVC training process for a voice.
POST /v1/voices/pvc/{voice_id}/train
func (UnimplementedHandler) SearchGroups ¶
func (UnimplementedHandler) SearchGroups(ctx context.Context, params SearchGroupsParams) (r SearchGroupsRes, _ 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
func (UnimplementedHandler) SeparateSongStems ¶
func (UnimplementedHandler) SeparateSongStems(ctx context.Context, req *BodyStemSeparationV1MusicStemSeparationPostMultipart, params SeparateSongStemsParams) (r SeparateSongStemsRes, _ 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
func (UnimplementedHandler) ShareResourceEndpoint ¶
func (UnimplementedHandler) ShareResourceEndpoint(ctx context.Context, req *BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIDSharePost, params ShareResourceEndpointParams) (r ShareResourceEndpointRes, _ 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
func (UnimplementedHandler) SoundGeneration ¶
func (UnimplementedHandler) SoundGeneration(ctx context.Context, req *BodySoundGenerationV1SoundGenerationPost, params SoundGenerationParams) (r SoundGenerationRes, _ 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
func (UnimplementedHandler) SpeechToSpeechFull ¶
func (UnimplementedHandler) SpeechToSpeechFull(ctx context.Context, req *BodySpeechToSpeechV1SpeechToSpeechVoiceIDPostMultipart, params SpeechToSpeechFullParams) (r SpeechToSpeechFullRes, _ 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}
func (UnimplementedHandler) SpeechToSpeechStream ¶
func (UnimplementedHandler) SpeechToSpeechStream(ctx context.Context, req *BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIDStreamPostMultipart, params SpeechToSpeechStreamParams) (r SpeechToSpeechStreamRes, _ 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
func (UnimplementedHandler) SpeechToText ¶
func (UnimplementedHandler) SpeechToText(ctx context.Context, req *BodySpeechToTextV1SpeechToTextPostMultipart, params SpeechToTextParams) (r SpeechToTextRes, _ 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
func (UnimplementedHandler) StartSpeakerSeparation ¶
func (UnimplementedHandler) StartSpeakerSeparation(ctx context.Context, params StartSpeakerSeparationParams) (r StartSpeakerSeparationRes, _ 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
func (UnimplementedHandler) StreamChapterSnapshotAudio ¶
func (UnimplementedHandler) StreamChapterSnapshotAudio(ctx context.Context, req OptBodyStreamChapterAudioV1StudioProjectsProjectIDChaptersChapterIDSnapshotsChapterSnapshotIDStreamPost, params StreamChapterSnapshotAudioParams) (r StreamChapterSnapshotAudioRes, _ 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
func (UnimplementedHandler) StreamCompose ¶
func (UnimplementedHandler) StreamCompose(ctx context.Context, req OptBodyStreamComposedMusicV1MusicStreamPost, params StreamComposeParams) (r StreamComposeRes, _ error)
StreamCompose implements stream_compose operation.
Stream a composed song from a prompt or a composition plan.
POST /v1/music/stream
func (UnimplementedHandler) StreamProjectSnapshotArchiveEndpoint ¶
func (UnimplementedHandler) StreamProjectSnapshotArchiveEndpoint(ctx context.Context, params StreamProjectSnapshotArchiveEndpointParams) (r StreamProjectSnapshotArchiveEndpointRes, _ 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
func (UnimplementedHandler) StreamProjectSnapshotAudioEndpoint ¶
func (UnimplementedHandler) StreamProjectSnapshotAudioEndpoint(ctx context.Context, req OptBodyStreamStudioProjectAudioV1StudioProjectsProjectIDSnapshotsProjectSnapshotIDStreamPost, params StreamProjectSnapshotAudioEndpointParams) (r StreamProjectSnapshotAudioEndpointRes, _ 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
func (UnimplementedHandler) TextToDialogue ¶
func (UnimplementedHandler) TextToDialogue(ctx context.Context, req *BodyTextToDialogueMultiVoiceV1TextToDialoguePost, params TextToDialogueParams) (r TextToDialogueRes, _ 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
func (UnimplementedHandler) TextToDialogueFullWithTimestamps ¶
func (UnimplementedHandler) TextToDialogueFullWithTimestamps(ctx context.Context, req *BodyTextToDialogueFullWithTimestamps, params TextToDialogueFullWithTimestampsParams) (r TextToDialogueFullWithTimestampsRes, _ 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
func (UnimplementedHandler) TextToDialogueStream ¶
func (UnimplementedHandler) TextToDialogueStream(ctx context.Context, req *BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost, params TextToDialogueStreamParams) (r TextToDialogueStreamRes, _ 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
func (UnimplementedHandler) TextToDialogueStreamWithTimestamps ¶
func (UnimplementedHandler) TextToDialogueStreamWithTimestamps(ctx context.Context, req *BodyTextToDialogueStreamWithTimestamps, params TextToDialogueStreamWithTimestampsParams) (r TextToDialogueStreamWithTimestampsRes, _ 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
func (UnimplementedHandler) TextToSpeechFull ¶
func (UnimplementedHandler) TextToSpeechFull(ctx context.Context, req *BodyTextToSpeechFull, params TextToSpeechFullParams) (r TextToSpeechFullRes, _ 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}
func (UnimplementedHandler) TextToSpeechFullWithTimestamps ¶
func (UnimplementedHandler) TextToSpeechFullWithTimestamps(ctx context.Context, req *BodyTextToSpeechFullWithTimestamps, params TextToSpeechFullWithTimestampsParams) (r TextToSpeechFullWithTimestampsRes, _ 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
func (UnimplementedHandler) TextToSpeechStream ¶
func (UnimplementedHandler) TextToSpeechStream(ctx context.Context, req *BodyTextToSpeechStream, params TextToSpeechStreamParams) (r TextToSpeechStreamRes, _ 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
func (UnimplementedHandler) TextToSpeechStreamWithTimestamps ¶
func (UnimplementedHandler) TextToSpeechStreamWithTimestamps(ctx context.Context, req *BodyTextToSpeechStreamWithTimestamps, params TextToSpeechStreamWithTimestampsParams) (r TextToSpeechStreamWithTimestampsRes, _ 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
func (UnimplementedHandler) TextToVoice ¶
func (UnimplementedHandler) TextToVoice(ctx context.Context, req *VoicePreviewsRequestModel, params TextToVoiceParams) (r TextToVoiceRes, _ 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
func (UnimplementedHandler) TextToVoiceDesign ¶
func (UnimplementedHandler) TextToVoiceDesign(ctx context.Context, req *VoiceDesignRequestModel, params TextToVoiceDesignParams) (r TextToVoiceDesignRes, _ 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
func (UnimplementedHandler) TextToVoicePreviewStream ¶
func (UnimplementedHandler) TextToVoicePreviewStream(ctx context.Context, params TextToVoicePreviewStreamParams) (r TextToVoicePreviewStreamRes, _ 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
func (UnimplementedHandler) TextToVoiceRemix ¶
func (UnimplementedHandler) TextToVoiceRemix(ctx context.Context, req *VoiceRemixRequestModel, params TextToVoiceRemixParams) (r TextToVoiceRemixRes, _ 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
func (UnimplementedHandler) Transcribe ¶
func (UnimplementedHandler) Transcribe(ctx context.Context, req *BodyTranscribesSegmentsV1DubbingResourceDubbingIDTranscribePost, params TranscribeParams) (r TranscribeRes, _ 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
func (UnimplementedHandler) Translate ¶
func (UnimplementedHandler) Translate(ctx context.Context, req *BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIDTranslatePost, params TranslateParams) (r TranslateRes, _ 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
func (UnimplementedHandler) UnshareResourceEndpoint ¶
func (UnimplementedHandler) UnshareResourceEndpoint(ctx context.Context, req *BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIDUnsharePost, params UnshareResourceEndpointParams) (r UnshareResourceEndpointRes, _ 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
func (UnimplementedHandler) UpdateAgentResponseTestRoute ¶
func (UnimplementedHandler) UpdateAgentResponseTestRoute(ctx context.Context, req *UpdateUnitTestRequest, params UpdateAgentResponseTestRouteParams) (r UpdateAgentResponseTestRouteRes, _ error)
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 ¶
func (UnimplementedHandler) UpdateDashboardSettingsRoute(ctx context.Context, req *PatchConvAIDashboardSettingsRequest, params UpdateDashboardSettingsRouteParams) (r UpdateDashboardSettingsRouteRes, _ error)
UpdateDashboardSettingsRoute implements update_dashboard_settings_route operation.
Update Convai dashboard settings for the workspace.
PATCH /v1/convai/settings/dashboard
func (UnimplementedHandler) UpdateDocumentRoute ¶
func (UnimplementedHandler) UpdateDocumentRoute(ctx context.Context, req *BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIDPatch, params UpdateDocumentRouteParams) (r UpdateDocumentRouteRes, _ error)
UpdateDocumentRoute implements update_document_route operation.
Update the name of a document.
PATCH /v1/convai/knowledge-base/{documentation_id}
func (UnimplementedHandler) UpdatePhoneNumberRoute ¶
func (UnimplementedHandler) UpdatePhoneNumberRoute(ctx context.Context, req *UpdatePhoneNumberRequest, params UpdatePhoneNumberRouteParams) (r UpdatePhoneNumberRouteRes, _ error)
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 ¶
func (UnimplementedHandler) UpdatePronunciationDictionaries(ctx context.Context, req *BodyCreatePronunciationDictionariesV1StudioProjectsProjectIDPronunciationDictionariesPost, params UpdatePronunciationDictionariesParams) (r UpdatePronunciationDictionariesRes, _ 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
func (UnimplementedHandler) UpdateSecretRoute ¶
func (UnimplementedHandler) UpdateSecretRoute(ctx context.Context, req *PatchWorkspaceSecretRequest, params UpdateSecretRouteParams) (r UpdateSecretRouteRes, _ error)
UpdateSecretRoute implements update_secret_route operation.
Update an existing secret for the workspace.
PATCH /v1/convai/secrets/{secret_id}
func (UnimplementedHandler) UpdateSegmentLanguage ¶
func (UnimplementedHandler) UpdateSegmentLanguage(ctx context.Context, req *SegmentUpdatePayload, params UpdateSegmentLanguageParams) (r UpdateSegmentLanguageRes, _ 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}
func (UnimplementedHandler) UpdateSettingsRoute ¶
func (UnimplementedHandler) UpdateSettingsRoute(ctx context.Context, req *PatchConvAISettingsRequest, params UpdateSettingsRouteParams) (r UpdateSettingsRouteRes, _ error)
UpdateSettingsRoute implements update_settings_route operation.
Update Convai settings for the workspace.
PATCH /v1/convai/settings
func (UnimplementedHandler) UpdateSpeaker ¶
func (UnimplementedHandler) UpdateSpeaker(ctx context.Context, req OptBodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIDSpeakerSpeakerIDPatch, params UpdateSpeakerParams) (r UpdateSpeakerRes, _ 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}
func (UnimplementedHandler) UpdateWhatsappAccount ¶
func (UnimplementedHandler) UpdateWhatsappAccount(ctx context.Context, req *UpdateWhatsAppAccountRequest, params UpdateWhatsappAccountParams) (r UpdateWhatsappAccountRes, _ error)
UpdateWhatsappAccount implements update_whatsapp_account operation.
Update a WhatsApp account.
PATCH /v1/convai/whatsapp-accounts/{phone_number_id}
func (UnimplementedHandler) UpdateWorkspaceMember ¶
func (UnimplementedHandler) UpdateWorkspaceMember(ctx context.Context, req *BodyUpdateMemberV1WorkspaceMembersPost, params UpdateWorkspaceMemberParams) (r UpdateWorkspaceMemberRes, _ 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
func (UnimplementedHandler) UsageCharacters ¶
func (UnimplementedHandler) UsageCharacters(ctx context.Context, params UsageCharactersParams) (r UsageCharactersRes, _ 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
func (UnimplementedHandler) VerifyPvcVoiceCaptcha ¶
func (UnimplementedHandler) VerifyPvcVoiceCaptcha(ctx context.Context, req *BodyVerifyPVCVoiceCaptchaV1VoicesPvcVoiceIDCaptchaPostMultipart, params VerifyPvcVoiceCaptchaParams) (r VerifyPvcVoiceCaptchaRes, _ error)
VerifyPvcVoiceCaptcha implements verify_pvc_voice_captcha operation.
Submit captcha verification for PVC voice.
POST /v1/voices/pvc/{voice_id}/captcha
func (UnimplementedHandler) WhatsappOutboundCall ¶
func (UnimplementedHandler) WhatsappOutboundCall(ctx context.Context, req *BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost, params WhatsappOutboundCallParams) (r WhatsappOutboundCallRes, _ error)
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 ¶
func (s *UnitTestCommonModel) GetChatHistory() []ConversationHistoryTranscriptCommonModelOutput
GetChatHistory returns the value of ChatHistory.
func (*UnitTestCommonModel) GetDynamicVariables ¶
func (s *UnitTestCommonModel) GetDynamicVariables() OptUnitTestCommonModelDynamicVariables
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 ¶
func (s *UnitTestCommonModel) GetToolCallParameters() OptUnitTestToolCallEvaluationModelOutput
GetToolCallParameters returns the value of ToolCallParameters.
func (*UnitTestCommonModel) GetType ¶
func (s *UnitTestCommonModel) GetType() OptUnitTestCommonModelType
GetType returns the value of Type.
func (*UnitTestCommonModel) MarshalJSON ¶
func (s *UnitTestCommonModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UnitTestCommonModel) SetChatHistory ¶
func (s *UnitTestCommonModel) SetChatHistory(val []ConversationHistoryTranscriptCommonModelOutput)
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 ¶
func (s *UnitTestCommonModel) SetType(val OptUnitTestCommonModelType)
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 ¶
func (s *UnitTestCommonModelDynamicVariables) Decode(d *jx.Decoder) error
Decode decodes UnitTestCommonModelDynamicVariables from json.
func (UnitTestCommonModelDynamicVariables) Encode ¶
func (s UnitTestCommonModelDynamicVariables) Encode(e *jx.Encoder)
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 ¶
func (s UnitTestCommonModelDynamicVariables) Validate() error
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 ¶
func (s *UnitTestCommonModelDynamicVariablesItem) Decode(d *jx.Decoder) error
Decode decodes UnitTestCommonModelDynamicVariablesItem from json.
func (UnitTestCommonModelDynamicVariablesItem) Encode ¶
func (s UnitTestCommonModelDynamicVariablesItem) Encode(e *jx.Encoder)
Encode encodes UnitTestCommonModelDynamicVariablesItem as json.
func (UnitTestCommonModelDynamicVariablesItem) GetBool ¶
func (s UnitTestCommonModelDynamicVariablesItem) GetBool() (v bool, ok bool)
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 ¶
func (s UnitTestCommonModelDynamicVariablesItem) GetInt() (v int, ok bool)
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 ¶
func (s UnitTestCommonModelDynamicVariablesItem) IsBool() bool
IsBool reports whether UnitTestCommonModelDynamicVariablesItem is bool.
func (UnitTestCommonModelDynamicVariablesItem) IsFloat64 ¶
func (s UnitTestCommonModelDynamicVariablesItem) IsFloat64() bool
IsFloat64 reports whether UnitTestCommonModelDynamicVariablesItem is float64.
func (UnitTestCommonModelDynamicVariablesItem) IsInt ¶
func (s UnitTestCommonModelDynamicVariablesItem) IsInt() bool
IsInt reports whether UnitTestCommonModelDynamicVariablesItem is int.
func (UnitTestCommonModelDynamicVariablesItem) IsString ¶
func (s UnitTestCommonModelDynamicVariablesItem) IsString() bool
IsString reports whether UnitTestCommonModelDynamicVariablesItem is string.
func (UnitTestCommonModelDynamicVariablesItem) MarshalJSON ¶
func (s UnitTestCommonModelDynamicVariablesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UnitTestCommonModelDynamicVariablesItem) SetBool ¶
func (s *UnitTestCommonModelDynamicVariablesItem) SetBool(v bool)
SetBool sets UnitTestCommonModelDynamicVariablesItem to bool.
func (*UnitTestCommonModelDynamicVariablesItem) SetFloat64 ¶
func (s *UnitTestCommonModelDynamicVariablesItem) SetFloat64(v float64)
SetFloat64 sets UnitTestCommonModelDynamicVariablesItem to float64.
func (*UnitTestCommonModelDynamicVariablesItem) SetInt ¶
func (s *UnitTestCommonModelDynamicVariablesItem) SetInt(v int)
SetInt sets UnitTestCommonModelDynamicVariablesItem to int.
func (*UnitTestCommonModelDynamicVariablesItem) SetString ¶
func (s *UnitTestCommonModelDynamicVariablesItem) SetString(v string)
SetString sets UnitTestCommonModelDynamicVariablesItem to string.
func (*UnitTestCommonModelDynamicVariablesItem) UnmarshalJSON ¶
func (s *UnitTestCommonModelDynamicVariablesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (UnitTestCommonModelDynamicVariablesItem) Validate ¶
func (s UnitTestCommonModelDynamicVariablesItem) Validate() error
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 ¶
func (UnitTestCommonModelType) AllValues() []UnitTestCommonModelType
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 ¶
func (s *UnitTestRunResponseModel) GetAgentResponses() OptNilConversationHistoryTranscriptCommonModelOutputArray
GetAgentResponses returns the value of AgentResponses.
func (*UnitTestRunResponseModel) GetBranchID ¶
func (s *UnitTestRunResponseModel) GetBranchID() OptNilString
GetBranchID returns the value of BranchID.
func (*UnitTestRunResponseModel) GetConditionResult ¶
func (s *UnitTestRunResponseModel) GetConditionResult() OptTestConditionResultCommonModel
GetConditionResult returns the value of ConditionResult.
func (*UnitTestRunResponseModel) GetLastUpdatedAtUnix ¶
func (s *UnitTestRunResponseModel) GetLastUpdatedAtUnix() OptInt
GetLastUpdatedAtUnix returns the value of LastUpdatedAtUnix.
func (*UnitTestRunResponseModel) GetMetadata ¶
func (s *UnitTestRunResponseModel) GetMetadata() OptTestRunMetadata
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 ¶
func (s *UnitTestRunResponseModel) GetTestInfo() OptUnitTestCommonModel
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 ¶
func (s *UnitTestRunResponseModel) SetAgentResponses(val OptNilConversationHistoryTranscriptCommonModelOutputArray)
SetAgentResponses sets the value of AgentResponses.
func (*UnitTestRunResponseModel) SetBranchID ¶
func (s *UnitTestRunResponseModel) SetBranchID(val OptNilString)
SetBranchID sets the value of BranchID.
func (*UnitTestRunResponseModel) SetConditionResult ¶
func (s *UnitTestRunResponseModel) SetConditionResult(val OptTestConditionResultCommonModel)
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 ¶
func (s *UnitTestRunResponseModel) SetTestInfo(val OptUnitTestCommonModel)
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 ¶
func (s *UnitTestSummaryResponseModel) Decode(d *jx.Decoder) error
Decode decodes UnitTestSummaryResponseModel from json.
func (*UnitTestSummaryResponseModel) Encode ¶
func (s *UnitTestSummaryResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UnitTestSummaryResponseModel) GetAccessInfo ¶
func (s *UnitTestSummaryResponseModel) GetAccessInfo() OptResourceAccessInfo
GetAccessInfo returns the value of AccessInfo.
func (*UnitTestSummaryResponseModel) GetCreatedAtUnixSecs ¶
func (s *UnitTestSummaryResponseModel) GetCreatedAtUnixSecs() int
GetCreatedAtUnixSecs returns the value of CreatedAtUnixSecs.
func (*UnitTestSummaryResponseModel) GetID ¶
func (s *UnitTestSummaryResponseModel) GetID() string
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 ¶
func (s *UnitTestSummaryResponseModel) GetType() UnitTestCommonModelType
GetType returns the value of Type.
func (*UnitTestSummaryResponseModel) MarshalJSON ¶
func (s *UnitTestSummaryResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UnitTestSummaryResponseModel) SetAccessInfo ¶
func (s *UnitTestSummaryResponseModel) SetAccessInfo(val OptResourceAccessInfo)
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 ¶
func (s *UnitTestSummaryResponseModel) SetType(val UnitTestCommonModelType)
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 ¶
func (s *UnitTestToolCallEvaluationModelInput) Decode(d *jx.Decoder) error
Decode decodes UnitTestToolCallEvaluationModelInput from json.
func (*UnitTestToolCallEvaluationModelInput) Encode ¶
func (s *UnitTestToolCallEvaluationModelInput) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UnitTestToolCallEvaluationModelInput) GetParameters ¶
func (s *UnitTestToolCallEvaluationModelInput) GetParameters() []UnitTestToolCallParameter
GetParameters returns the value of Parameters.
func (*UnitTestToolCallEvaluationModelInput) GetReferencedTool ¶
func (s *UnitTestToolCallEvaluationModelInput) GetReferencedTool() OptReferencedToolCommonModel
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 ¶
func (s *UnitTestToolCallEvaluationModelInput) SetParameters(val []UnitTestToolCallParameter)
SetParameters sets the value of Parameters.
func (*UnitTestToolCallEvaluationModelInput) SetReferencedTool ¶
func (s *UnitTestToolCallEvaluationModelInput) SetReferencedTool(val OptReferencedToolCommonModel)
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 ¶
func (s *UnitTestToolCallEvaluationModelInput) Validate() error
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 ¶
func (s *UnitTestToolCallEvaluationModelOutput) Decode(d *jx.Decoder) error
Decode decodes UnitTestToolCallEvaluationModelOutput from json.
func (*UnitTestToolCallEvaluationModelOutput) Encode ¶
func (s *UnitTestToolCallEvaluationModelOutput) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UnitTestToolCallEvaluationModelOutput) GetParameters ¶
func (s *UnitTestToolCallEvaluationModelOutput) GetParameters() []UnitTestToolCallParameter
GetParameters returns the value of Parameters.
func (*UnitTestToolCallEvaluationModelOutput) GetReferencedTool ¶
func (s *UnitTestToolCallEvaluationModelOutput) GetReferencedTool() OptReferencedToolCommonModel
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 ¶
func (s *UnitTestToolCallEvaluationModelOutput) SetParameters(val []UnitTestToolCallParameter)
SetParameters sets the value of Parameters.
func (*UnitTestToolCallEvaluationModelOutput) SetReferencedTool ¶
func (s *UnitTestToolCallEvaluationModelOutput) SetReferencedTool(val OptReferencedToolCommonModel)
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 ¶
func (s *UnitTestToolCallEvaluationModelOutput) Validate() error
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 ¶
func (s *UnitTestToolCallParameter) GetEval() UnitTestToolCallParameterEval
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 ¶
func (s *UnitTestToolCallParameter) SetEval(val UnitTestToolCallParameterEval)
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 ¶
func (s *UnitTestToolCallParameterEval) Decode(d *jx.Decoder) error
Decode decodes UnitTestToolCallParameterEval from json.
func (UnitTestToolCallParameterEval) Encode ¶
func (s UnitTestToolCallParameterEval) Encode(e *jx.Encoder)
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 ¶
func (*UnshareResourceEndpointOKApplicationJSON) Decode ¶
func (s *UnshareResourceEndpointOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes UnshareResourceEndpointOKApplicationJSON from json.
func (UnshareResourceEndpointOKApplicationJSON) Encode ¶
func (s UnshareResourceEndpointOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes UnshareResourceEndpointOKApplicationJSON as json.
func (UnshareResourceEndpointOKApplicationJSON) MarshalJSON ¶
func (s UnshareResourceEndpointOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UnshareResourceEndpointOKApplicationJSON) UnmarshalJSON ¶
func (s *UnshareResourceEndpointOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UnshareResourceEndpointParams ¶
type UnshareResourceEndpointParams struct {
ResourceID string
// 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 ¶
func (s *UpdatePhoneNumberRequest) GetInboundTrunkConfig() OptInboundSIPTrunkConfigRequestModel
GetInboundTrunkConfig returns the value of InboundTrunkConfig.
func (*UpdatePhoneNumberRequest) GetLivekitStack ¶
func (s *UpdatePhoneNumberRequest) GetLivekitStack() OptLivekitStackType
GetLivekitStack returns the value of LivekitStack.
func (*UpdatePhoneNumberRequest) GetOutboundTrunkConfig ¶
func (s *UpdatePhoneNumberRequest) GetOutboundTrunkConfig() OptOutboundSIPTrunkConfigRequestModel
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 ¶
func (s *UpdateUnitTestRequest) GetChatHistory() []ConversationHistoryTranscriptCommonModelInput
GetChatHistory returns the value of ChatHistory.
func (*UpdateUnitTestRequest) GetDynamicVariables ¶
func (s *UpdateUnitTestRequest) GetDynamicVariables() OptUpdateUnitTestRequestDynamicVariables
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 ¶
func (s *UpdateUnitTestRequest) GetToolCallParameters() OptUnitTestToolCallEvaluationModelInput
GetToolCallParameters returns the value of ToolCallParameters.
func (*UpdateUnitTestRequest) GetType ¶
func (s *UpdateUnitTestRequest) GetType() OptUnitTestCommonModelType
GetType returns the value of Type.
func (*UpdateUnitTestRequest) MarshalJSON ¶
func (s *UpdateUnitTestRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateUnitTestRequest) SetChatHistory ¶
func (s *UpdateUnitTestRequest) SetChatHistory(val []ConversationHistoryTranscriptCommonModelInput)
SetChatHistory sets the value of ChatHistory.
func (*UpdateUnitTestRequest) SetDynamicVariables ¶
func (s *UpdateUnitTestRequest) SetDynamicVariables(val OptUpdateUnitTestRequestDynamicVariables)
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 ¶
func (s *UpdateUnitTestRequest) SetType(val OptUnitTestCommonModelType)
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 ¶
func (s *UpdateUnitTestRequestDynamicVariables) Decode(d *jx.Decoder) error
Decode decodes UpdateUnitTestRequestDynamicVariables from json.
func (UpdateUnitTestRequestDynamicVariables) Encode ¶
func (s UpdateUnitTestRequestDynamicVariables) Encode(e *jx.Encoder)
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 ¶
func (s UpdateUnitTestRequestDynamicVariables) Validate() error
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 ¶
func (s *UpdateUnitTestRequestDynamicVariablesItem) Decode(d *jx.Decoder) error
Decode decodes UpdateUnitTestRequestDynamicVariablesItem from json.
func (UpdateUnitTestRequestDynamicVariablesItem) Encode ¶
func (s UpdateUnitTestRequestDynamicVariablesItem) Encode(e *jx.Encoder)
Encode encodes UpdateUnitTestRequestDynamicVariablesItem as json.
func (UpdateUnitTestRequestDynamicVariablesItem) GetBool ¶
func (s UpdateUnitTestRequestDynamicVariablesItem) GetBool() (v bool, ok bool)
GetBool returns bool and true boolean if UpdateUnitTestRequestDynamicVariablesItem is bool.
func (UpdateUnitTestRequestDynamicVariablesItem) GetFloat64 ¶
func (s UpdateUnitTestRequestDynamicVariablesItem) GetFloat64() (v float64, ok bool)
GetFloat64 returns float64 and true boolean if UpdateUnitTestRequestDynamicVariablesItem is float64.
func (UpdateUnitTestRequestDynamicVariablesItem) GetInt ¶
func (s UpdateUnitTestRequestDynamicVariablesItem) GetInt() (v int, ok bool)
GetInt returns int and true boolean if UpdateUnitTestRequestDynamicVariablesItem is int.
func (UpdateUnitTestRequestDynamicVariablesItem) GetString ¶
func (s UpdateUnitTestRequestDynamicVariablesItem) GetString() (v string, ok bool)
GetString returns string and true boolean if UpdateUnitTestRequestDynamicVariablesItem is string.
func (UpdateUnitTestRequestDynamicVariablesItem) IsBool ¶
func (s UpdateUnitTestRequestDynamicVariablesItem) IsBool() bool
IsBool reports whether UpdateUnitTestRequestDynamicVariablesItem is bool.
func (UpdateUnitTestRequestDynamicVariablesItem) IsFloat64 ¶
func (s UpdateUnitTestRequestDynamicVariablesItem) IsFloat64() bool
IsFloat64 reports whether UpdateUnitTestRequestDynamicVariablesItem is float64.
func (UpdateUnitTestRequestDynamicVariablesItem) IsInt ¶
func (s UpdateUnitTestRequestDynamicVariablesItem) IsInt() bool
IsInt reports whether UpdateUnitTestRequestDynamicVariablesItem is int.
func (UpdateUnitTestRequestDynamicVariablesItem) IsString ¶
func (s UpdateUnitTestRequestDynamicVariablesItem) IsString() bool
IsString reports whether UpdateUnitTestRequestDynamicVariablesItem is string.
func (UpdateUnitTestRequestDynamicVariablesItem) MarshalJSON ¶
func (s UpdateUnitTestRequestDynamicVariablesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateUnitTestRequestDynamicVariablesItem) SetBool ¶
func (s *UpdateUnitTestRequestDynamicVariablesItem) SetBool(v bool)
SetBool sets UpdateUnitTestRequestDynamicVariablesItem to bool.
func (*UpdateUnitTestRequestDynamicVariablesItem) SetFloat64 ¶
func (s *UpdateUnitTestRequestDynamicVariablesItem) SetFloat64(v float64)
SetFloat64 sets UpdateUnitTestRequestDynamicVariablesItem to float64.
func (*UpdateUnitTestRequestDynamicVariablesItem) SetInt ¶
func (s *UpdateUnitTestRequestDynamicVariablesItem) SetInt(v int)
SetInt sets UpdateUnitTestRequestDynamicVariablesItem to int.
func (*UpdateUnitTestRequestDynamicVariablesItem) SetString ¶
func (s *UpdateUnitTestRequestDynamicVariablesItem) SetString(v string)
SetString sets UpdateUnitTestRequestDynamicVariablesItem to string.
func (*UpdateUnitTestRequestDynamicVariablesItem) UnmarshalJSON ¶
func (s *UpdateUnitTestRequestDynamicVariablesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (UpdateUnitTestRequestDynamicVariablesItem) Validate ¶
func (s UpdateUnitTestRequestDynamicVariablesItem) Validate() error
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 ¶
func (s *UpdateWhatsAppAccountRequest) Decode(d *jx.Decoder) error
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 ¶
func (*UpdateWhatsappAccountOKApplicationJSON) Decode ¶
func (s *UpdateWhatsappAccountOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes UpdateWhatsappAccountOKApplicationJSON from json.
func (UpdateWhatsappAccountOKApplicationJSON) Encode ¶
func (s UpdateWhatsappAccountOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s *UpdateWorkspaceMemberResponseModel) Decode(d *jx.Decoder) error
Decode decodes UpdateWorkspaceMemberResponseModel from json.
func (*UpdateWorkspaceMemberResponseModel) Encode ¶
func (s *UpdateWorkspaceMemberResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateWorkspaceMemberResponseModel) GetStatus ¶
func (s *UpdateWorkspaceMemberResponseModel) GetStatus() string
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 ¶
func (UsageAggregationInterval) AllValues() []UsageAggregationInterval
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 ¶
func (s *UsageCharactersResponseModel) Decode(d *jx.Decoder) error
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 ¶
func (s *UsageCharactersResponseModel) GetUsage() UsageCharactersResponseModelUsage
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 ¶
func (s *UsageCharactersResponseModel) SetUsage(val UsageCharactersResponseModelUsage)
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 ¶
The usage of each breakdown type along the time axis.
func (*UsageCharactersResponseModelUsage) Decode ¶
func (s *UsageCharactersResponseModelUsage) Decode(d *jx.Decoder) error
Decode decodes UsageCharactersResponseModelUsage from json.
func (UsageCharactersResponseModelUsage) Encode ¶
func (s UsageCharactersResponseModelUsage) Encode(e *jx.Encoder)
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 ¶
func (s UsageCharactersResponseModelUsage) Validate() error
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 (*UserResponseModel) GetPartnerstackPartnerDefaultLink ¶
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 (*UserResponseModel) SetPartnerstackPartnerDefaultLink ¶
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 ¶
func (s *ValidationError) GetLoc() []ValidationErrorLocItem
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 ¶
func (s *VerificationAttemptResponseModel) Decode(d *jx.Decoder) error
Decode decodes VerificationAttemptResponseModel from json.
func (*VerificationAttemptResponseModel) Encode ¶
func (s *VerificationAttemptResponseModel) Encode(e *jx.Encoder)
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 ¶
func (s *VerificationAttemptResponseModel) GetRecording() OptRecordingResponseModel
GetRecording returns the value of Recording.
func (*VerificationAttemptResponseModel) GetSimilarity ¶
func (s *VerificationAttemptResponseModel) GetSimilarity() float64
GetSimilarity returns the value of Similarity.
func (*VerificationAttemptResponseModel) GetText ¶
func (s *VerificationAttemptResponseModel) GetText() string
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 ¶
func (s *VerificationAttemptResponseModel) SetRecording(val OptRecordingResponseModel)
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 ¶
func (s *VerificationAttemptResponseModel) Validate() error
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 ¶
func (s *VerifiedVoiceLanguageResponseModel) Decode(d *jx.Decoder) error
Decode decodes VerifiedVoiceLanguageResponseModel from json.
func (*VerifiedVoiceLanguageResponseModel) Encode ¶
func (s *VerifiedVoiceLanguageResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*VerifiedVoiceLanguageResponseModel) GetAccent ¶
func (s *VerifiedVoiceLanguageResponseModel) GetAccent() OptNilString
GetAccent returns the value of Accent.
func (*VerifiedVoiceLanguageResponseModel) GetLanguage ¶
func (s *VerifiedVoiceLanguageResponseModel) GetLanguage() string
GetLanguage returns the value of Language.
func (*VerifiedVoiceLanguageResponseModel) GetLocale ¶
func (s *VerifiedVoiceLanguageResponseModel) GetLocale() OptNilString
GetLocale returns the value of Locale.
func (*VerifiedVoiceLanguageResponseModel) GetModelID ¶
func (s *VerifiedVoiceLanguageResponseModel) GetModelID() string
GetModelID returns the value of ModelID.
func (*VerifiedVoiceLanguageResponseModel) GetPreviewURL ¶
func (s *VerifiedVoiceLanguageResponseModel) GetPreviewURL() OptNilString
GetPreviewURL returns the value of PreviewURL.
func (*VerifiedVoiceLanguageResponseModel) MarshalJSON ¶
func (s *VerifiedVoiceLanguageResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*VerifiedVoiceLanguageResponseModel) SetAccent ¶
func (s *VerifiedVoiceLanguageResponseModel) SetAccent(val OptNilString)
SetAccent sets the value of Accent.
func (*VerifiedVoiceLanguageResponseModel) SetLanguage ¶
func (s *VerifiedVoiceLanguageResponseModel) SetLanguage(val string)
SetLanguage sets the value of Language.
func (*VerifiedVoiceLanguageResponseModel) SetLocale ¶
func (s *VerifiedVoiceLanguageResponseModel) SetLocale(val OptNilString)
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 ¶
func (s *VerifyPVCVoiceCaptchaResponseModel) Decode(d *jx.Decoder) error
Decode decodes VerifyPVCVoiceCaptchaResponseModel from json.
func (*VerifyPVCVoiceCaptchaResponseModel) Encode ¶
func (s *VerifyPVCVoiceCaptchaResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*VerifyPVCVoiceCaptchaResponseModel) GetStatus ¶
func (s *VerifyPVCVoiceCaptchaResponseModel) GetStatus() string
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 ¶
func (s *VoiceDesignRequestModel) GetModelID() OptVoiceDesignRequestModelModelID
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 ¶
func (s *VoiceDesignRequestModel) GetText() OptNilString
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 ¶
func (s *VoiceDesignRequestModel) SetModelID(val OptVoiceDesignRequestModelModelID)
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 ¶
func (VoiceDesignRequestModelModelID) AllValues() []VoiceDesignRequestModelModelID
AllValues returns all VoiceDesignRequestModelModelID values.
func (*VoiceDesignRequestModelModelID) Decode ¶
func (s *VoiceDesignRequestModelModelID) Decode(d *jx.Decoder) error
Decode decodes VoiceDesignRequestModelModelID from json.
func (VoiceDesignRequestModelModelID) Encode ¶
func (s VoiceDesignRequestModelModelID) Encode(e *jx.Encoder)
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 ¶
func (s VoiceDesignRequestModelModelID) Validate() error
type VoiceGenerationParameterOptionResponseModel ¶
type VoiceGenerationParameterOptionResponseModel struct {
Code string `json:"code"`
Name string `json:"name"`
}
Ref: #/components/schemas/VoiceGenerationParameterOptionResponseModel
func (*VoiceGenerationParameterOptionResponseModel) Decode ¶
func (s *VoiceGenerationParameterOptionResponseModel) Decode(d *jx.Decoder) error
Decode decodes VoiceGenerationParameterOptionResponseModel from json.
func (*VoiceGenerationParameterOptionResponseModel) Encode ¶
func (s *VoiceGenerationParameterOptionResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*VoiceGenerationParameterOptionResponseModel) GetCode ¶
func (s *VoiceGenerationParameterOptionResponseModel) GetCode() string
GetCode returns the value of Code.
func (*VoiceGenerationParameterOptionResponseModel) GetName ¶
func (s *VoiceGenerationParameterOptionResponseModel) GetName() string
GetName returns the value of Name.
func (*VoiceGenerationParameterOptionResponseModel) MarshalJSON ¶
func (s *VoiceGenerationParameterOptionResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*VoiceGenerationParameterOptionResponseModel) SetCode ¶
func (s *VoiceGenerationParameterOptionResponseModel) SetCode(val string)
SetCode sets the value of Code.
func (*VoiceGenerationParameterOptionResponseModel) SetName ¶
func (s *VoiceGenerationParameterOptionResponseModel) SetName(val string)
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 ¶
func (s *VoiceGenerationParameterResponseModel) Decode(d *jx.Decoder) error
Decode decodes VoiceGenerationParameterResponseModel from json.
func (*VoiceGenerationParameterResponseModel) Encode ¶
func (s *VoiceGenerationParameterResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*VoiceGenerationParameterResponseModel) GetAccents ¶
func (s *VoiceGenerationParameterResponseModel) GetAccents() []VoiceGenerationParameterOptionResponseModel
GetAccents returns the value of Accents.
func (*VoiceGenerationParameterResponseModel) GetAges ¶
func (s *VoiceGenerationParameterResponseModel) GetAges() []VoiceGenerationParameterOptionResponseModel
GetAges returns the value of Ages.
func (*VoiceGenerationParameterResponseModel) GetGenders ¶
func (s *VoiceGenerationParameterResponseModel) GetGenders() []VoiceGenerationParameterOptionResponseModel
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 ¶
func (s *VoiceGenerationParameterResponseModel) SetAccents(val []VoiceGenerationParameterOptionResponseModel)
SetAccents sets the value of Accents.
func (*VoiceGenerationParameterResponseModel) SetAges ¶
func (s *VoiceGenerationParameterResponseModel) SetAges(val []VoiceGenerationParameterOptionResponseModel)
SetAges sets the value of Ages.
func (*VoiceGenerationParameterResponseModel) SetGenders ¶
func (s *VoiceGenerationParameterResponseModel) SetGenders(val []VoiceGenerationParameterOptionResponseModel)
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 ¶
func (s *VoiceGenerationParameterResponseModel) Validate() error
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 ¶
func (s *VoiceMailDetectionResultSuccessModel) Decode(d *jx.Decoder) error
Decode decodes VoiceMailDetectionResultSuccessModel from json.
func (*VoiceMailDetectionResultSuccessModel) Encode ¶
func (s *VoiceMailDetectionResultSuccessModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*VoiceMailDetectionResultSuccessModel) GetReason ¶
func (s *VoiceMailDetectionResultSuccessModel) GetReason() OptNilString
GetReason returns the value of Reason.
func (*VoiceMailDetectionResultSuccessModel) GetResultType ¶
func (s *VoiceMailDetectionResultSuccessModel) GetResultType() OptVoiceMailDetectionResultSuccessModelResultType
GetResultType returns the value of ResultType.
func (*VoiceMailDetectionResultSuccessModel) GetStatus ¶
func (s *VoiceMailDetectionResultSuccessModel) GetStatus() OptVoiceMailDetectionResultSuccessModelStatus
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 ¶
func (s *VoiceMailDetectionResultSuccessModel) SetReason(val OptNilString)
SetReason sets the value of Reason.
func (*VoiceMailDetectionResultSuccessModel) SetResultType ¶
func (s *VoiceMailDetectionResultSuccessModel) SetResultType(val OptVoiceMailDetectionResultSuccessModelResultType)
SetResultType sets the value of ResultType.
func (*VoiceMailDetectionResultSuccessModel) SetStatus ¶
func (s *VoiceMailDetectionResultSuccessModel) SetStatus(val OptVoiceMailDetectionResultSuccessModelStatus)
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 ¶
func (s *VoiceMailDetectionResultSuccessModel) Validate() error
type VoiceMailDetectionResultSuccessModelResultType ¶
type VoiceMailDetectionResultSuccessModelResultType string
const (
VoiceMailDetectionResultSuccessModelResultTypeVoicemailDetectionSuccess VoiceMailDetectionResultSuccessModelResultType = "voicemail_detection_success"
)
func (VoiceMailDetectionResultSuccessModelResultType) AllValues ¶
func (VoiceMailDetectionResultSuccessModelResultType) AllValues() []VoiceMailDetectionResultSuccessModelResultType
AllValues returns all VoiceMailDetectionResultSuccessModelResultType values.
func (*VoiceMailDetectionResultSuccessModelResultType) Decode ¶
func (s *VoiceMailDetectionResultSuccessModelResultType) Decode(d *jx.Decoder) error
Decode decodes VoiceMailDetectionResultSuccessModelResultType from json.
func (VoiceMailDetectionResultSuccessModelResultType) Encode ¶
func (s VoiceMailDetectionResultSuccessModelResultType) Encode(e *jx.Encoder)
Encode encodes VoiceMailDetectionResultSuccessModelResultType as json.
func (VoiceMailDetectionResultSuccessModelResultType) MarshalJSON ¶
func (s VoiceMailDetectionResultSuccessModelResultType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (VoiceMailDetectionResultSuccessModelResultType) MarshalText ¶
func (s VoiceMailDetectionResultSuccessModelResultType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*VoiceMailDetectionResultSuccessModelResultType) UnmarshalJSON ¶
func (s *VoiceMailDetectionResultSuccessModelResultType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*VoiceMailDetectionResultSuccessModelResultType) UnmarshalText ¶
func (s *VoiceMailDetectionResultSuccessModelResultType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (VoiceMailDetectionResultSuccessModelResultType) Validate ¶
func (s VoiceMailDetectionResultSuccessModelResultType) Validate() error
type VoiceMailDetectionResultSuccessModelStatus ¶
type VoiceMailDetectionResultSuccessModelStatus string
const (
VoiceMailDetectionResultSuccessModelStatusSuccess VoiceMailDetectionResultSuccessModelStatus = "success"
)
func (VoiceMailDetectionResultSuccessModelStatus) AllValues ¶
func (VoiceMailDetectionResultSuccessModelStatus) AllValues() []VoiceMailDetectionResultSuccessModelStatus
AllValues returns all VoiceMailDetectionResultSuccessModelStatus values.
func (*VoiceMailDetectionResultSuccessModelStatus) Decode ¶
func (s *VoiceMailDetectionResultSuccessModelStatus) Decode(d *jx.Decoder) error
Decode decodes VoiceMailDetectionResultSuccessModelStatus from json.
func (VoiceMailDetectionResultSuccessModelStatus) Encode ¶
func (s VoiceMailDetectionResultSuccessModelStatus) Encode(e *jx.Encoder)
Encode encodes VoiceMailDetectionResultSuccessModelStatus as json.
func (VoiceMailDetectionResultSuccessModelStatus) MarshalJSON ¶
func (s VoiceMailDetectionResultSuccessModelStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (VoiceMailDetectionResultSuccessModelStatus) MarshalText ¶
func (s VoiceMailDetectionResultSuccessModelStatus) MarshalText() ([]byte, error)
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 ¶
func (s VoiceMailDetectionResultSuccessModelStatus) Validate() error
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 ¶
func (s *VoicePreviewsRequestModel) GetText() OptNilString
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 ¶
func (s *VoicePreviewsResponseModel) Decode(d *jx.Decoder) error
Decode decodes VoicePreviewsResponseModel from json.
func (*VoicePreviewsResponseModel) Encode ¶
func (s *VoicePreviewsResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*VoicePreviewsResponseModel) GetPreviews ¶
func (s *VoicePreviewsResponseModel) GetPreviews() []VoicePreviewResponseModel
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 ¶
func (s *VoicePreviewsResponseModel) SetPreviews(val []VoicePreviewResponseModel)
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 ¶
func (s *VoiceResponseModel) GetCategory() VoiceResponseModelCategory
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 ¶
func (s *VoiceResponseModel) GetFineTuning() OptFineTuningResponseModel
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 ¶
func (s *VoiceResponseModel) GetLabels() VoiceResponseModelLabels
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 ¶
func (s *VoiceResponseModel) GetSafetyControl() OptNilVoiceResponseModelSafetyControl
GetSafetyControl returns the value of SafetyControl.
func (*VoiceResponseModel) GetSamples ¶
func (s *VoiceResponseModel) GetSamples() OptNilSampleResponseModelArray
GetSamples returns the value of Samples.
func (*VoiceResponseModel) GetSettings ¶
func (s *VoiceResponseModel) GetSettings() OptVoiceSettingsResponseModel
GetSettings returns the value of Settings.
func (*VoiceResponseModel) GetSharing ¶
func (s *VoiceResponseModel) GetSharing() OptVoiceSharingResponseModel
GetSharing returns the value of Sharing.
func (*VoiceResponseModel) GetVerifiedLanguages ¶
func (s *VoiceResponseModel) GetVerifiedLanguages() OptNilVerifiedVoiceLanguageResponseModelArray
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 ¶
func (s *VoiceResponseModel) SetSafetyControl(val OptNilVoiceResponseModelSafetyControl)
SetSafetyControl sets the value of SafetyControl.
func (*VoiceResponseModel) SetSamples ¶
func (s *VoiceResponseModel) SetSamples(val OptNilSampleResponseModelArray)
SetSamples sets the value of Samples.
func (*VoiceResponseModel) SetSettings ¶
func (s *VoiceResponseModel) SetSettings(val OptVoiceSettingsResponseModel)
SetSettings sets the value of Settings.
func (*VoiceResponseModel) SetSharing ¶
func (s *VoiceResponseModel) SetSharing(val OptVoiceSharingResponseModel)
SetSharing sets the value of Sharing.
func (*VoiceResponseModel) SetVerifiedLanguages ¶
func (s *VoiceResponseModel) SetVerifiedLanguages(val OptNilVerifiedVoiceLanguageResponseModelArray)
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 ¶
func (VoiceResponseModelCategory) AllValues() []VoiceResponseModelCategory
AllValues returns all VoiceResponseModelCategory values.
func (*VoiceResponseModelCategory) Decode ¶
func (s *VoiceResponseModelCategory) Decode(d *jx.Decoder) error
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 ¶
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 ¶
func (VoiceResponseModelSafetyControl) AllValues() []VoiceResponseModelSafetyControl
AllValues returns all VoiceResponseModelSafetyControl values.
func (*VoiceResponseModelSafetyControl) Decode ¶
func (s *VoiceResponseModelSafetyControl) Decode(d *jx.Decoder) error
Decode decodes VoiceResponseModelSafetyControl from json.
func (VoiceResponseModelSafetyControl) Encode ¶
func (s VoiceResponseModelSafetyControl) Encode(e *jx.Encoder)
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 ¶
func (s VoiceResponseModelSafetyControl) Validate() error
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 ¶
func (s *VoiceSamplePreviewResponseModel) Decode(d *jx.Decoder) error
Decode decodes VoiceSamplePreviewResponseModel from json.
func (*VoiceSamplePreviewResponseModel) Encode ¶
func (s *VoiceSamplePreviewResponseModel) Encode(e *jx.Encoder)
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 ¶
func (s *VoiceSampleVisualWaveformResponseModel) Decode(d *jx.Decoder) error
Decode decodes VoiceSampleVisualWaveformResponseModel from json.
func (*VoiceSampleVisualWaveformResponseModel) Encode ¶
func (s *VoiceSampleVisualWaveformResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*VoiceSampleVisualWaveformResponseModel) GetSampleID ¶
func (s *VoiceSampleVisualWaveformResponseModel) GetSampleID() string
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 ¶
func (s *VoiceSampleVisualWaveformResponseModel) Validate() error
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 ¶
func (s *VoiceSettingsResponseModel) Decode(d *jx.Decoder) error
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 ¶
func (s *VoiceSettingsResponseModel) GetSpeed() OptNilFloat64
GetSpeed returns the value of Speed.
func (*VoiceSettingsResponseModel) GetStability ¶
func (s *VoiceSettingsResponseModel) GetStability() OptNilFloat64
GetStability returns the value of Stability.
func (*VoiceSettingsResponseModel) GetStyle ¶
func (s *VoiceSettingsResponseModel) GetStyle() OptNilFloat64
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 ¶
func (s *VoiceSharingModerationCheckResponseModel) Decode(d *jx.Decoder) error
Decode decodes VoiceSharingModerationCheckResponseModel from json.
func (*VoiceSharingModerationCheckResponseModel) Encode ¶
func (s *VoiceSharingModerationCheckResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*VoiceSharingModerationCheckResponseModel) GetCaptchaChecks ¶
func (s *VoiceSharingModerationCheckResponseModel) GetCaptchaChecks() OptNilFloat64Array
GetCaptchaChecks returns the value of CaptchaChecks.
func (*VoiceSharingModerationCheckResponseModel) GetCaptchaIds ¶
func (s *VoiceSharingModerationCheckResponseModel) GetCaptchaIds() OptNilStringArray
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 ¶
func (s *VoiceSharingModerationCheckResponseModel) GetNameCheck() OptNilBool
GetNameCheck returns the value of NameCheck.
func (*VoiceSharingModerationCheckResponseModel) GetNameValue ¶
func (s *VoiceSharingModerationCheckResponseModel) GetNameValue() OptNilString
GetNameValue returns the value of NameValue.
func (*VoiceSharingModerationCheckResponseModel) GetSampleChecks ¶
func (s *VoiceSharingModerationCheckResponseModel) GetSampleChecks() OptNilFloat64Array
GetSampleChecks returns the value of SampleChecks.
func (*VoiceSharingModerationCheckResponseModel) GetSampleIds ¶
func (s *VoiceSharingModerationCheckResponseModel) GetSampleIds() OptNilStringArray
GetSampleIds returns the value of SampleIds.
func (*VoiceSharingModerationCheckResponseModel) MarshalJSON ¶
func (s *VoiceSharingModerationCheckResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*VoiceSharingModerationCheckResponseModel) SetCaptchaChecks ¶
func (s *VoiceSharingModerationCheckResponseModel) SetCaptchaChecks(val OptNilFloat64Array)
SetCaptchaChecks sets the value of CaptchaChecks.
func (*VoiceSharingModerationCheckResponseModel) SetCaptchaIds ¶
func (s *VoiceSharingModerationCheckResponseModel) SetCaptchaIds(val OptNilStringArray)
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 ¶
func (s *VoiceSharingModerationCheckResponseModel) SetNameCheck(val OptNilBool)
SetNameCheck sets the value of NameCheck.
func (*VoiceSharingModerationCheckResponseModel) SetNameValue ¶
func (s *VoiceSharingModerationCheckResponseModel) SetNameValue(val OptNilString)
SetNameValue sets the value of NameValue.
func (*VoiceSharingModerationCheckResponseModel) SetSampleChecks ¶
func (s *VoiceSharingModerationCheckResponseModel) SetSampleChecks(val OptNilFloat64Array)
SetSampleChecks sets the value of SampleChecks.
func (*VoiceSharingModerationCheckResponseModel) SetSampleIds ¶
func (s *VoiceSharingModerationCheckResponseModel) SetSampleIds(val OptNilStringArray)
SetSampleIds sets the value of SampleIds.
func (*VoiceSharingModerationCheckResponseModel) UnmarshalJSON ¶
func (s *VoiceSharingModerationCheckResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*VoiceSharingModerationCheckResponseModel) Validate ¶
func (s *VoiceSharingModerationCheckResponseModel) Validate() error
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 ¶
func (s *VoiceSharingResponseModel) GetCategory() VoiceSharingResponseModelCategory
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 ¶
func (s *VoiceSharingResponseModel) GetLabels() VoiceSharingResponseModelLabels
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 ¶
func (s *VoiceSharingResponseModel) GetModerationCheck() OptVoiceSharingModerationCheckResponseModel
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 ¶
func (s *VoiceSharingResponseModel) GetRate() OptNilFloat64
GetRate returns the value of Rate.
func (*VoiceSharingResponseModel) GetReaderAppEnabled ¶
func (s *VoiceSharingResponseModel) GetReaderAppEnabled() OptNilBool
GetReaderAppEnabled returns the value of ReaderAppEnabled.
func (*VoiceSharingResponseModel) GetReaderRestrictedOn ¶
func (s *VoiceSharingResponseModel) GetReaderRestrictedOn() OptNilReaderResourceResponseModelArray
GetReaderRestrictedOn returns the value of ReaderRestrictedOn.
func (*VoiceSharingResponseModel) GetReviewMessage ¶
func (s *VoiceSharingResponseModel) GetReviewMessage() OptNilString
GetReviewMessage returns the value of ReviewMessage.
func (*VoiceSharingResponseModel) GetReviewStatus ¶
func (s *VoiceSharingResponseModel) GetReviewStatus() VoiceSharingResponseModelReviewStatus
GetReviewStatus returns the value of ReviewStatus.
func (*VoiceSharingResponseModel) GetStatus ¶
func (s *VoiceSharingResponseModel) GetStatus() VoiceSharingResponseModelStatus
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 ¶
func (s *VoiceSharingResponseModel) SetCategory(val VoiceSharingResponseModelCategory)
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 ¶
func (s *VoiceSharingResponseModel) SetLabels(val VoiceSharingResponseModelLabels)
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 ¶
func (s *VoiceSharingResponseModel) SetModerationCheck(val OptVoiceSharingModerationCheckResponseModel)
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 ¶
func (s *VoiceSharingResponseModel) SetReaderRestrictedOn(val OptNilReaderResourceResponseModelArray)
SetReaderRestrictedOn sets the value of ReaderRestrictedOn.
func (*VoiceSharingResponseModel) SetReviewMessage ¶
func (s *VoiceSharingResponseModel) SetReviewMessage(val OptNilString)
SetReviewMessage sets the value of ReviewMessage.
func (*VoiceSharingResponseModel) SetReviewStatus ¶
func (s *VoiceSharingResponseModel) SetReviewStatus(val VoiceSharingResponseModelReviewStatus)
SetReviewStatus sets the value of ReviewStatus.
func (*VoiceSharingResponseModel) SetStatus ¶
func (s *VoiceSharingResponseModel) SetStatus(val VoiceSharingResponseModelStatus)
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 ¶
func (VoiceSharingResponseModelCategory) AllValues() []VoiceSharingResponseModelCategory
AllValues returns all VoiceSharingResponseModelCategory values.
func (*VoiceSharingResponseModelCategory) Decode ¶
func (s *VoiceSharingResponseModelCategory) Decode(d *jx.Decoder) error
Decode decodes VoiceSharingResponseModelCategory from json.
func (VoiceSharingResponseModelCategory) Encode ¶
func (s VoiceSharingResponseModelCategory) Encode(e *jx.Encoder)
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 ¶
func (s VoiceSharingResponseModelCategory) Validate() error
type VoiceSharingResponseModelLabels ¶
The labels of the voice.
func (*VoiceSharingResponseModelLabels) Decode ¶
func (s *VoiceSharingResponseModelLabels) Decode(d *jx.Decoder) error
Decode decodes VoiceSharingResponseModelLabels from json.
func (VoiceSharingResponseModelLabels) Encode ¶
func (s VoiceSharingResponseModelLabels) Encode(e *jx.Encoder)
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 ¶
func (VoiceSharingResponseModelReviewStatus) AllValues() []VoiceSharingResponseModelReviewStatus
AllValues returns all VoiceSharingResponseModelReviewStatus values.
func (*VoiceSharingResponseModelReviewStatus) Decode ¶
func (s *VoiceSharingResponseModelReviewStatus) Decode(d *jx.Decoder) error
Decode decodes VoiceSharingResponseModelReviewStatus from json.
func (VoiceSharingResponseModelReviewStatus) Encode ¶
func (s VoiceSharingResponseModelReviewStatus) Encode(e *jx.Encoder)
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 ¶
func (s VoiceSharingResponseModelReviewStatus) Validate() error
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 ¶
func (VoiceSharingResponseModelStatus) AllValues() []VoiceSharingResponseModelStatus
AllValues returns all VoiceSharingResponseModelStatus values.
func (*VoiceSharingResponseModelStatus) Decode ¶
func (s *VoiceSharingResponseModelStatus) Decode(d *jx.Decoder) error
Decode decodes VoiceSharingResponseModelStatus from json.
func (VoiceSharingResponseModelStatus) Encode ¶
func (s VoiceSharingResponseModelStatus) Encode(e *jx.Encoder)
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 ¶
func (s VoiceSharingResponseModelStatus) Validate() error
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 ¶
func (s *VoiceVerificationResponseModel) Decode(d *jx.Decoder) error
Decode decodes VoiceVerificationResponseModel from json.
func (*VoiceVerificationResponseModel) Encode ¶
func (s *VoiceVerificationResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*VoiceVerificationResponseModel) GetIsVerified ¶
func (s *VoiceVerificationResponseModel) GetIsVerified() bool
GetIsVerified returns the value of IsVerified.
func (*VoiceVerificationResponseModel) GetLanguage ¶
func (s *VoiceVerificationResponseModel) GetLanguage() OptNilString
GetLanguage returns the value of Language.
func (*VoiceVerificationResponseModel) GetRequiresVerification ¶
func (s *VoiceVerificationResponseModel) GetRequiresVerification() bool
GetRequiresVerification returns the value of RequiresVerification.
func (*VoiceVerificationResponseModel) GetVerificationAttempts ¶
func (s *VoiceVerificationResponseModel) GetVerificationAttempts() OptNilVerificationAttemptResponseModelArray
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 ¶
func (s *VoiceVerificationResponseModel) SetVerificationAttempts(val OptNilVerificationAttemptResponseModelArray)
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 ¶
func (WebhookAuthMethodType) AllValues() []WebhookAuthMethodType
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 ¶
func (s *WebhookHMACSettings) GetAuthType() WebhookHMACSettingsAuthType
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 ¶
func (s *WebhookHMACSettings) SetAuthType(val WebhookHMACSettingsAuthType)
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 ¶
func (WebhookHMACSettingsAuthType) AllValues() []WebhookHMACSettingsAuthType
AllValues returns all WebhookHMACSettingsAuthType values.
func (*WebhookHMACSettingsAuthType) Decode ¶
func (s *WebhookHMACSettingsAuthType) Decode(d *jx.Decoder) error
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 ¶
func (s *WhatsAppConversationInfo) GetDirection() OptWhatsAppConversationInfoDirection
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 ¶
func (s *WhatsAppConversationInfo) SetDirection(val OptWhatsAppConversationInfoDirection)
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 ¶
func (WhatsAppConversationInfoDirection) AllValues() []WhatsAppConversationInfoDirection
AllValues returns all WhatsAppConversationInfoDirection values.
func (*WhatsAppConversationInfoDirection) Decode ¶
func (s *WhatsAppConversationInfoDirection) Decode(d *jx.Decoder) error
Decode decodes WhatsAppConversationInfoDirection from json.
func (WhatsAppConversationInfoDirection) Encode ¶
func (s WhatsAppConversationInfoDirection) Encode(e *jx.Encoder)
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 ¶
func (s WhatsAppConversationInfoDirection) Validate() error
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 ¶
func (s *WhatsAppOutboundCallResponse) Decode(d *jx.Decoder) error
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 ¶
func (s *WorkflowFeaturesUsageCommonModel) Decode(d *jx.Decoder) error
Decode decodes WorkflowFeaturesUsageCommonModel from json.
func (*WorkflowFeaturesUsageCommonModel) Encode ¶
func (s *WorkflowFeaturesUsageCommonModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkflowFeaturesUsageCommonModel) GetEnabled ¶
func (s *WorkflowFeaturesUsageCommonModel) GetEnabled() OptBool
GetEnabled returns the value of Enabled.
func (*WorkflowFeaturesUsageCommonModel) GetEndNode ¶
func (s *WorkflowFeaturesUsageCommonModel) GetEndNode() OptFeatureStatusCommonModel
GetEndNode returns the value of EndNode.
func (*WorkflowFeaturesUsageCommonModel) GetPhoneNumberNode ¶
func (s *WorkflowFeaturesUsageCommonModel) GetPhoneNumberNode() OptFeatureStatusCommonModel
GetPhoneNumberNode returns the value of PhoneNumberNode.
func (*WorkflowFeaturesUsageCommonModel) GetStandaloneAgentNode ¶
func (s *WorkflowFeaturesUsageCommonModel) GetStandaloneAgentNode() OptFeatureStatusCommonModel
GetStandaloneAgentNode returns the value of StandaloneAgentNode.
func (*WorkflowFeaturesUsageCommonModel) GetToolNode ¶
func (s *WorkflowFeaturesUsageCommonModel) GetToolNode() OptFeatureStatusCommonModel
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 ¶
func (s *WorkflowFeaturesUsageCommonModel) SetEndNode(val OptFeatureStatusCommonModel)
SetEndNode sets the value of EndNode.
func (*WorkflowFeaturesUsageCommonModel) SetPhoneNumberNode ¶
func (s *WorkflowFeaturesUsageCommonModel) SetPhoneNumberNode(val OptFeatureStatusCommonModel)
SetPhoneNumberNode sets the value of PhoneNumberNode.
func (*WorkflowFeaturesUsageCommonModel) SetStandaloneAgentNode ¶
func (s *WorkflowFeaturesUsageCommonModel) SetStandaloneAgentNode(val OptFeatureStatusCommonModel)
SetStandaloneAgentNode sets the value of StandaloneAgentNode.
func (*WorkflowFeaturesUsageCommonModel) SetToolNode ¶
func (s *WorkflowFeaturesUsageCommonModel) SetToolNode(val OptFeatureStatusCommonModel)
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 ¶
func (s *WorkflowToolEdgeStepModel) GetType() OptWorkflowToolEdgeStepModelType
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 ¶
func (s *WorkflowToolEdgeStepModel) SetType(val OptWorkflowToolEdgeStepModelType)
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 ¶
func (WorkflowToolEdgeStepModelType) AllValues() []WorkflowToolEdgeStepModelType
AllValues returns all WorkflowToolEdgeStepModelType values.
func (*WorkflowToolEdgeStepModelType) Decode ¶
func (s *WorkflowToolEdgeStepModelType) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolEdgeStepModelType from json.
func (WorkflowToolEdgeStepModelType) Encode ¶
func (s WorkflowToolEdgeStepModelType) Encode(e *jx.Encoder)
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 ¶
func (s *WorkflowToolMaxIterationsExceededStepModel) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolMaxIterationsExceededStepModel from json.
func (*WorkflowToolMaxIterationsExceededStepModel) Encode ¶
func (s *WorkflowToolMaxIterationsExceededStepModel) Encode(e *jx.Encoder)
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 ¶
func (s *WorkflowToolMaxIterationsExceededStepModel) GetType() OptWorkflowToolMaxIterationsExceededStepModelType
GetType returns the value of Type.
func (*WorkflowToolMaxIterationsExceededStepModel) MarshalJSON ¶
func (s *WorkflowToolMaxIterationsExceededStepModel) MarshalJSON() ([]byte, error)
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 ¶
func (s *WorkflowToolMaxIterationsExceededStepModel) SetType(val OptWorkflowToolMaxIterationsExceededStepModelType)
SetType sets the value of Type.
func (*WorkflowToolMaxIterationsExceededStepModel) UnmarshalJSON ¶
func (s *WorkflowToolMaxIterationsExceededStepModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkflowToolMaxIterationsExceededStepModel) Validate ¶
func (s *WorkflowToolMaxIterationsExceededStepModel) Validate() error
type WorkflowToolMaxIterationsExceededStepModelType ¶
type WorkflowToolMaxIterationsExceededStepModelType string
const (
WorkflowToolMaxIterationsExceededStepModelTypeMaxIterationsExceeded WorkflowToolMaxIterationsExceededStepModelType = "max_iterations_exceeded"
)
func (WorkflowToolMaxIterationsExceededStepModelType) AllValues ¶
func (WorkflowToolMaxIterationsExceededStepModelType) AllValues() []WorkflowToolMaxIterationsExceededStepModelType
AllValues returns all WorkflowToolMaxIterationsExceededStepModelType values.
func (*WorkflowToolMaxIterationsExceededStepModelType) Decode ¶
func (s *WorkflowToolMaxIterationsExceededStepModelType) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolMaxIterationsExceededStepModelType from json.
func (WorkflowToolMaxIterationsExceededStepModelType) Encode ¶
func (s WorkflowToolMaxIterationsExceededStepModelType) Encode(e *jx.Encoder)
Encode encodes WorkflowToolMaxIterationsExceededStepModelType as json.
func (WorkflowToolMaxIterationsExceededStepModelType) MarshalJSON ¶
func (s WorkflowToolMaxIterationsExceededStepModelType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (WorkflowToolMaxIterationsExceededStepModelType) MarshalText ¶
func (s WorkflowToolMaxIterationsExceededStepModelType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*WorkflowToolMaxIterationsExceededStepModelType) UnmarshalJSON ¶
func (s *WorkflowToolMaxIterationsExceededStepModelType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkflowToolMaxIterationsExceededStepModelType) UnmarshalText ¶
func (s *WorkflowToolMaxIterationsExceededStepModelType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (WorkflowToolMaxIterationsExceededStepModelType) Validate ¶
func (s WorkflowToolMaxIterationsExceededStepModelType) Validate() error
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 ¶
func (s *WorkflowToolNestedToolsStepModelInput) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolNestedToolsStepModelInput from json.
func (*WorkflowToolNestedToolsStepModelInput) Encode ¶
func (s *WorkflowToolNestedToolsStepModelInput) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkflowToolNestedToolsStepModelInput) GetIsSuccessful ¶
func (s *WorkflowToolNestedToolsStepModelInput) GetIsSuccessful() bool
GetIsSuccessful returns the value of IsSuccessful.
func (*WorkflowToolNestedToolsStepModelInput) GetNodeID ¶
func (s *WorkflowToolNestedToolsStepModelInput) GetNodeID() string
GetNodeID returns the value of NodeID.
func (*WorkflowToolNestedToolsStepModelInput) GetRequests ¶
func (s *WorkflowToolNestedToolsStepModelInput) GetRequests() []ConversationHistoryTranscriptToolCallCommonModelInput
GetRequests returns the value of Requests.
func (*WorkflowToolNestedToolsStepModelInput) GetResults ¶
func (s *WorkflowToolNestedToolsStepModelInput) GetResults() []WorkflowToolNestedToolsStepModelInputResultsItem
GetResults returns the value of Results.
func (*WorkflowToolNestedToolsStepModelInput) GetStepLatencySecs ¶
func (s *WorkflowToolNestedToolsStepModelInput) GetStepLatencySecs() float64
GetStepLatencySecs returns the value of StepLatencySecs.
func (*WorkflowToolNestedToolsStepModelInput) GetType ¶
func (s *WorkflowToolNestedToolsStepModelInput) GetType() OptWorkflowToolNestedToolsStepModelInputType
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 ¶
func (s *WorkflowToolNestedToolsStepModelInput) SetNodeID(val string)
SetNodeID sets the value of NodeID.
func (*WorkflowToolNestedToolsStepModelInput) SetRequests ¶
func (s *WorkflowToolNestedToolsStepModelInput) SetRequests(val []ConversationHistoryTranscriptToolCallCommonModelInput)
SetRequests sets the value of Requests.
func (*WorkflowToolNestedToolsStepModelInput) SetResults ¶
func (s *WorkflowToolNestedToolsStepModelInput) SetResults(val []WorkflowToolNestedToolsStepModelInputResultsItem)
SetResults sets the value of Results.
func (*WorkflowToolNestedToolsStepModelInput) SetStepLatencySecs ¶
func (s *WorkflowToolNestedToolsStepModelInput) SetStepLatencySecs(val float64)
SetStepLatencySecs sets the value of StepLatencySecs.
func (*WorkflowToolNestedToolsStepModelInput) SetType ¶
func (s *WorkflowToolNestedToolsStepModelInput) SetType(val OptWorkflowToolNestedToolsStepModelInputType)
SetType sets the value of Type.
func (*WorkflowToolNestedToolsStepModelInput) UnmarshalJSON ¶
func (s *WorkflowToolNestedToolsStepModelInput) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkflowToolNestedToolsStepModelInput) Validate ¶
func (s *WorkflowToolNestedToolsStepModelInput) Validate() error
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 ¶
func (s *WorkflowToolNestedToolsStepModelInputResultsItem) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolNestedToolsStepModelInputResultsItem from json.
func (WorkflowToolNestedToolsStepModelInputResultsItem) Encode ¶
func (s WorkflowToolNestedToolsStepModelInputResultsItem) Encode(e *jx.Encoder)
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 ¶
func (s WorkflowToolNestedToolsStepModelInputResultsItem) MarshalJSON() ([]byte, error)
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 ¶
func (s *WorkflowToolNestedToolsStepModelInputResultsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (WorkflowToolNestedToolsStepModelInputResultsItem) Validate ¶
func (s WorkflowToolNestedToolsStepModelInputResultsItem) Validate() error
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 ¶
func (WorkflowToolNestedToolsStepModelInputType) AllValues() []WorkflowToolNestedToolsStepModelInputType
AllValues returns all WorkflowToolNestedToolsStepModelInputType values.
func (*WorkflowToolNestedToolsStepModelInputType) Decode ¶
func (s *WorkflowToolNestedToolsStepModelInputType) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolNestedToolsStepModelInputType from json.
func (WorkflowToolNestedToolsStepModelInputType) Encode ¶
func (s WorkflowToolNestedToolsStepModelInputType) Encode(e *jx.Encoder)
Encode encodes WorkflowToolNestedToolsStepModelInputType as json.
func (WorkflowToolNestedToolsStepModelInputType) MarshalJSON ¶
func (s WorkflowToolNestedToolsStepModelInputType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (WorkflowToolNestedToolsStepModelInputType) MarshalText ¶
func (s WorkflowToolNestedToolsStepModelInputType) MarshalText() ([]byte, error)
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 ¶
func (s WorkflowToolNestedToolsStepModelInputType) Validate() error
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 ¶
func (s *WorkflowToolNestedToolsStepModelOutput) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolNestedToolsStepModelOutput from json.
func (*WorkflowToolNestedToolsStepModelOutput) Encode ¶
func (s *WorkflowToolNestedToolsStepModelOutput) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkflowToolNestedToolsStepModelOutput) GetIsSuccessful ¶
func (s *WorkflowToolNestedToolsStepModelOutput) GetIsSuccessful() bool
GetIsSuccessful returns the value of IsSuccessful.
func (*WorkflowToolNestedToolsStepModelOutput) GetNodeID ¶
func (s *WorkflowToolNestedToolsStepModelOutput) GetNodeID() string
GetNodeID returns the value of NodeID.
func (*WorkflowToolNestedToolsStepModelOutput) GetRequests ¶
func (s *WorkflowToolNestedToolsStepModelOutput) GetRequests() []ConversationHistoryTranscriptToolCallCommonModelOutput
GetRequests returns the value of Requests.
func (*WorkflowToolNestedToolsStepModelOutput) GetResults ¶
func (s *WorkflowToolNestedToolsStepModelOutput) GetResults() []WorkflowToolNestedToolsStepModelOutputResultsItem
GetResults returns the value of Results.
func (*WorkflowToolNestedToolsStepModelOutput) GetStepLatencySecs ¶
func (s *WorkflowToolNestedToolsStepModelOutput) GetStepLatencySecs() float64
GetStepLatencySecs returns the value of StepLatencySecs.
func (*WorkflowToolNestedToolsStepModelOutput) GetType ¶
func (s *WorkflowToolNestedToolsStepModelOutput) GetType() OptWorkflowToolNestedToolsStepModelOutputType
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 ¶
func (s *WorkflowToolNestedToolsStepModelOutput) SetNodeID(val string)
SetNodeID sets the value of NodeID.
func (*WorkflowToolNestedToolsStepModelOutput) SetRequests ¶
func (s *WorkflowToolNestedToolsStepModelOutput) SetRequests(val []ConversationHistoryTranscriptToolCallCommonModelOutput)
SetRequests sets the value of Requests.
func (*WorkflowToolNestedToolsStepModelOutput) SetResults ¶
func (s *WorkflowToolNestedToolsStepModelOutput) SetResults(val []WorkflowToolNestedToolsStepModelOutputResultsItem)
SetResults sets the value of Results.
func (*WorkflowToolNestedToolsStepModelOutput) SetStepLatencySecs ¶
func (s *WorkflowToolNestedToolsStepModelOutput) SetStepLatencySecs(val float64)
SetStepLatencySecs sets the value of StepLatencySecs.
func (*WorkflowToolNestedToolsStepModelOutput) SetType ¶
func (s *WorkflowToolNestedToolsStepModelOutput) SetType(val OptWorkflowToolNestedToolsStepModelOutputType)
SetType sets the value of Type.
func (*WorkflowToolNestedToolsStepModelOutput) UnmarshalJSON ¶
func (s *WorkflowToolNestedToolsStepModelOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkflowToolNestedToolsStepModelOutput) Validate ¶
func (s *WorkflowToolNestedToolsStepModelOutput) Validate() error
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 ¶
func (s *WorkflowToolNestedToolsStepModelOutputResultsItem) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolNestedToolsStepModelOutputResultsItem from json.
func (WorkflowToolNestedToolsStepModelOutputResultsItem) Encode ¶
func (s WorkflowToolNestedToolsStepModelOutputResultsItem) Encode(e *jx.Encoder)
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 ¶
func (s WorkflowToolNestedToolsStepModelOutputResultsItem) MarshalJSON() ([]byte, error)
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 ¶
func (s *WorkflowToolNestedToolsStepModelOutputResultsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (WorkflowToolNestedToolsStepModelOutputResultsItem) Validate ¶
func (s WorkflowToolNestedToolsStepModelOutputResultsItem) Validate() error
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 ¶
func (WorkflowToolNestedToolsStepModelOutputType) AllValues() []WorkflowToolNestedToolsStepModelOutputType
AllValues returns all WorkflowToolNestedToolsStepModelOutputType values.
func (*WorkflowToolNestedToolsStepModelOutputType) Decode ¶
func (s *WorkflowToolNestedToolsStepModelOutputType) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolNestedToolsStepModelOutputType from json.
func (WorkflowToolNestedToolsStepModelOutputType) Encode ¶
func (s WorkflowToolNestedToolsStepModelOutputType) Encode(e *jx.Encoder)
Encode encodes WorkflowToolNestedToolsStepModelOutputType as json.
func (WorkflowToolNestedToolsStepModelOutputType) MarshalJSON ¶
func (s WorkflowToolNestedToolsStepModelOutputType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (WorkflowToolNestedToolsStepModelOutputType) MarshalText ¶
func (s WorkflowToolNestedToolsStepModelOutputType) MarshalText() ([]byte, error)
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 ¶
func (s WorkflowToolNestedToolsStepModelOutputType) Validate() error
type WorkflowToolResponseModelInput ¶
type WorkflowToolResponseModelInput struct {
Steps []WorkflowToolResponseModelInputStepsItem `json:"steps"`
}
A common model for workflow tool responses. Ref: #/components/schemas/WorkflowToolResponseModel-Input
func (*WorkflowToolResponseModelInput) Decode ¶
func (s *WorkflowToolResponseModelInput) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolResponseModelInput from json.
func (*WorkflowToolResponseModelInput) Encode ¶
func (s *WorkflowToolResponseModelInput) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkflowToolResponseModelInput) GetSteps ¶
func (s *WorkflowToolResponseModelInput) GetSteps() []WorkflowToolResponseModelInputStepsItem
GetSteps returns the value of Steps.
func (*WorkflowToolResponseModelInput) MarshalJSON ¶
func (s *WorkflowToolResponseModelInput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WorkflowToolResponseModelInput) SetSteps ¶
func (s *WorkflowToolResponseModelInput) SetSteps(val []WorkflowToolResponseModelInputStepsItem)
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 ¶
func (s *WorkflowToolResponseModelInputStepsItem) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolResponseModelInputStepsItem from json.
func (WorkflowToolResponseModelInputStepsItem) Encode ¶
func (s WorkflowToolResponseModelInputStepsItem) Encode(e *jx.Encoder)
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 ¶
func (s WorkflowToolResponseModelInputStepsItem) Validate() error
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 ¶
func (s *WorkflowToolResponseModelOutput) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolResponseModelOutput from json.
func (*WorkflowToolResponseModelOutput) Encode ¶
func (s *WorkflowToolResponseModelOutput) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkflowToolResponseModelOutput) GetSteps ¶
func (s *WorkflowToolResponseModelOutput) GetSteps() []WorkflowToolResponseModelOutputStepsItem
GetSteps returns the value of Steps.
func (*WorkflowToolResponseModelOutput) MarshalJSON ¶
func (s *WorkflowToolResponseModelOutput) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WorkflowToolResponseModelOutput) SetSteps ¶
func (s *WorkflowToolResponseModelOutput) SetSteps(val []WorkflowToolResponseModelOutputStepsItem)
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 ¶
func (s *WorkflowToolResponseModelOutputStepsItem) Decode(d *jx.Decoder) error
Decode decodes WorkflowToolResponseModelOutputStepsItem from json.
func (WorkflowToolResponseModelOutputStepsItem) Encode ¶
func (s WorkflowToolResponseModelOutputStepsItem) Encode(e *jx.Encoder)
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 ¶
func (s WorkflowToolResponseModelOutputStepsItem) MarshalJSON() ([]byte, error)
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 ¶
func (s WorkflowToolResponseModelOutputStepsItem) Validate() error
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 ¶
func (s *WorkspaceApiKeyListResponseModel) Decode(d *jx.Decoder) error
Decode decodes WorkspaceApiKeyListResponseModel from json.
func (*WorkspaceApiKeyListResponseModel) Encode ¶
func (s *WorkspaceApiKeyListResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkspaceApiKeyListResponseModel) GetAPIMinusKeys ¶
func (s *WorkspaceApiKeyListResponseModel) GetAPIMinusKeys() []WorkspaceApiKeyResponseModel
GetAPIMinusKeys returns the value of APIMinusKeys.
func (*WorkspaceApiKeyListResponseModel) MarshalJSON ¶
func (s *WorkspaceApiKeyListResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WorkspaceApiKeyListResponseModel) SetAPIMinusKeys ¶
func (s *WorkspaceApiKeyListResponseModel) SetAPIMinusKeys(val []WorkspaceApiKeyResponseModel)
SetAPIMinusKeys sets the value of APIMinusKeys.
func (*WorkspaceApiKeyListResponseModel) UnmarshalJSON ¶
func (s *WorkspaceApiKeyListResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkspaceApiKeyListResponseModel) Validate ¶
func (s *WorkspaceApiKeyListResponseModel) Validate() error
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 ¶
func (s *WorkspaceApiKeyResponseModel) Decode(d *jx.Decoder) error
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 ¶
func (s *WorkspaceApiKeyResponseModel) GetPermissions() OptNilWorkspaceApiKeyResponseModelPermissionsItemArray
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 ¶
func (s *WorkspaceApiKeyResponseModel) SetPermissions(val OptNilWorkspaceApiKeyResponseModelPermissionsItemArray)
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 ¶
func (WorkspaceApiKeyResponseModelPermissionsItem) AllValues() []WorkspaceApiKeyResponseModelPermissionsItem
AllValues returns all WorkspaceApiKeyResponseModelPermissionsItem values.
func (*WorkspaceApiKeyResponseModelPermissionsItem) Decode ¶
func (s *WorkspaceApiKeyResponseModelPermissionsItem) Decode(d *jx.Decoder) error
Decode decodes WorkspaceApiKeyResponseModelPermissionsItem from json.
func (WorkspaceApiKeyResponseModelPermissionsItem) Encode ¶
func (s WorkspaceApiKeyResponseModelPermissionsItem) Encode(e *jx.Encoder)
Encode encodes WorkspaceApiKeyResponseModelPermissionsItem as json.
func (WorkspaceApiKeyResponseModelPermissionsItem) MarshalJSON ¶
func (s WorkspaceApiKeyResponseModelPermissionsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (WorkspaceApiKeyResponseModelPermissionsItem) MarshalText ¶
func (s WorkspaceApiKeyResponseModelPermissionsItem) MarshalText() ([]byte, error)
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 ¶
func (s WorkspaceApiKeyResponseModelPermissionsItem) Validate() error
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 ¶
func (s *WorkspaceBatchCallsResponse) Decode(d *jx.Decoder) error
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 ¶
func (s *WorkspaceCreateApiKeyResponseModel) Decode(d *jx.Decoder) error
Decode decodes WorkspaceCreateApiKeyResponseModel from json.
func (*WorkspaceCreateApiKeyResponseModel) Encode ¶
func (s *WorkspaceCreateApiKeyResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkspaceCreateApiKeyResponseModel) GetKeyID ¶
func (s *WorkspaceCreateApiKeyResponseModel) GetKeyID() string
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 ¶
func (s *WorkspaceCreateWebhookResponseModel) Decode(d *jx.Decoder) error
Decode decodes WorkspaceCreateWebhookResponseModel from json.
func (*WorkspaceCreateWebhookResponseModel) Encode ¶
func (s *WorkspaceCreateWebhookResponseModel) Encode(e *jx.Encoder)
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 ¶
func (s *WorkspaceGroupByNameResponseModel) Decode(d *jx.Decoder) error
Decode decodes WorkspaceGroupByNameResponseModel from json.
func (*WorkspaceGroupByNameResponseModel) Encode ¶
func (s *WorkspaceGroupByNameResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkspaceGroupByNameResponseModel) GetID ¶
func (s *WorkspaceGroupByNameResponseModel) GetID() string
GetID returns the value of ID.
func (*WorkspaceGroupByNameResponseModel) GetMembersEmails ¶
func (s *WorkspaceGroupByNameResponseModel) GetMembersEmails() []string
GetMembersEmails returns the value of MembersEmails.
func (*WorkspaceGroupByNameResponseModel) GetName ¶
func (s *WorkspaceGroupByNameResponseModel) GetName() string
GetName returns the value of Name.
func (*WorkspaceGroupByNameResponseModel) MarshalJSON ¶
func (s *WorkspaceGroupByNameResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WorkspaceGroupByNameResponseModel) SetID ¶
func (s *WorkspaceGroupByNameResponseModel) SetID(val string)
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 ¶
func (s *WorkspaceGroupByNameResponseModel) Validate() error
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 ¶
func (WorkspaceResourceType) AllValues() []WorkspaceResourceType
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 ¶
func (s *WorkspaceServiceAccountListResponseModel) Decode(d *jx.Decoder) error
Decode decodes WorkspaceServiceAccountListResponseModel from json.
func (*WorkspaceServiceAccountListResponseModel) Encode ¶
func (s *WorkspaceServiceAccountListResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkspaceServiceAccountListResponseModel) GetServiceMinusAccounts ¶
func (s *WorkspaceServiceAccountListResponseModel) GetServiceMinusAccounts() []WorkspaceServiceAccountResponseModel
GetServiceMinusAccounts returns the value of ServiceMinusAccounts.
func (*WorkspaceServiceAccountListResponseModel) MarshalJSON ¶
func (s *WorkspaceServiceAccountListResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WorkspaceServiceAccountListResponseModel) SetServiceMinusAccounts ¶
func (s *WorkspaceServiceAccountListResponseModel) SetServiceMinusAccounts(val []WorkspaceServiceAccountResponseModel)
SetServiceMinusAccounts sets the value of ServiceMinusAccounts.
func (*WorkspaceServiceAccountListResponseModel) UnmarshalJSON ¶
func (s *WorkspaceServiceAccountListResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkspaceServiceAccountListResponseModel) Validate ¶
func (s *WorkspaceServiceAccountListResponseModel) Validate() error
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 ¶
func (s *WorkspaceServiceAccountResponseModel) Decode(d *jx.Decoder) error
Decode decodes WorkspaceServiceAccountResponseModel from json.
func (*WorkspaceServiceAccountResponseModel) Encode ¶
func (s *WorkspaceServiceAccountResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkspaceServiceAccountResponseModel) GetAPIMinusKeys ¶
func (s *WorkspaceServiceAccountResponseModel) GetAPIMinusKeys() []WorkspaceApiKeyResponseModel
GetAPIMinusKeys returns the value of APIMinusKeys.
func (*WorkspaceServiceAccountResponseModel) GetCreatedAtUnix ¶
func (s *WorkspaceServiceAccountResponseModel) GetCreatedAtUnix() OptNilInt
GetCreatedAtUnix returns the value of CreatedAtUnix.
func (*WorkspaceServiceAccountResponseModel) GetName ¶
func (s *WorkspaceServiceAccountResponseModel) GetName() string
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 ¶
func (s *WorkspaceServiceAccountResponseModel) SetAPIMinusKeys(val []WorkspaceApiKeyResponseModel)
SetAPIMinusKeys sets the value of APIMinusKeys.
func (*WorkspaceServiceAccountResponseModel) SetCreatedAtUnix ¶
func (s *WorkspaceServiceAccountResponseModel) SetCreatedAtUnix(val OptNilInt)
SetCreatedAtUnix sets the value of CreatedAtUnix.
func (*WorkspaceServiceAccountResponseModel) SetName ¶
func (s *WorkspaceServiceAccountResponseModel) SetName(val string)
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 ¶
func (s *WorkspaceServiceAccountResponseModel) Validate() error
type WorkspaceWebhookListResponseModel ¶
type WorkspaceWebhookListResponseModel struct {
// List of webhooks currently configured for the workspace.
Webhooks []WorkspaceWebhookResponseModel `json:"webhooks"`
}
Ref: #/components/schemas/WorkspaceWebhookListResponseModel
func (*WorkspaceWebhookListResponseModel) Decode ¶
func (s *WorkspaceWebhookListResponseModel) Decode(d *jx.Decoder) error
Decode decodes WorkspaceWebhookListResponseModel from json.
func (*WorkspaceWebhookListResponseModel) Encode ¶
func (s *WorkspaceWebhookListResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkspaceWebhookListResponseModel) GetWebhooks ¶
func (s *WorkspaceWebhookListResponseModel) GetWebhooks() []WorkspaceWebhookResponseModel
GetWebhooks returns the value of Webhooks.
func (*WorkspaceWebhookListResponseModel) MarshalJSON ¶
func (s *WorkspaceWebhookListResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WorkspaceWebhookListResponseModel) SetWebhooks ¶
func (s *WorkspaceWebhookListResponseModel) SetWebhooks(val []WorkspaceWebhookResponseModel)
SetWebhooks sets the value of Webhooks.
func (*WorkspaceWebhookListResponseModel) UnmarshalJSON ¶
func (s *WorkspaceWebhookListResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkspaceWebhookListResponseModel) Validate ¶
func (s *WorkspaceWebhookListResponseModel) Validate() error
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 ¶
func (s *WorkspaceWebhookResponseModel) Decode(d *jx.Decoder) error
Decode decodes WorkspaceWebhookResponseModel from json.
func (*WorkspaceWebhookResponseModel) Encode ¶
func (s *WorkspaceWebhookResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkspaceWebhookResponseModel) GetAuthType ¶
func (s *WorkspaceWebhookResponseModel) GetAuthType() WebhookAuthMethodType
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 ¶
func (s *WorkspaceWebhookResponseModel) GetName() string
GetName returns the value of Name.
func (*WorkspaceWebhookResponseModel) GetUsage ¶
func (s *WorkspaceWebhookResponseModel) GetUsage() OptNilWorkspaceWebhookUsageResponseModelArray
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 ¶
func (s *WorkspaceWebhookResponseModel) SetAuthType(val WebhookAuthMethodType)
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 ¶
func (s *WorkspaceWebhookResponseModel) SetUsage(val OptNilWorkspaceWebhookUsageResponseModelArray)
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 ¶
func (s *WorkspaceWebhookUsageResponseModel) Decode(d *jx.Decoder) error
Decode decodes WorkspaceWebhookUsageResponseModel from json.
func (*WorkspaceWebhookUsageResponseModel) Encode ¶
func (s *WorkspaceWebhookUsageResponseModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkspaceWebhookUsageResponseModel) GetUsageType ¶
func (s *WorkspaceWebhookUsageResponseModel) GetUsageType() WebhookUsageType
GetUsageType returns the value of UsageType.
func (*WorkspaceWebhookUsageResponseModel) MarshalJSON ¶
func (s *WorkspaceWebhookUsageResponseModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WorkspaceWebhookUsageResponseModel) SetUsageType ¶
func (s *WorkspaceWebhookUsageResponseModel) SetUsageType(val WebhookUsageType)
SetUsageType sets the value of UsageType.
func (*WorkspaceWebhookUsageResponseModel) UnmarshalJSON ¶
func (s *WorkspaceWebhookUsageResponseModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WorkspaceWebhookUsageResponseModel) Validate ¶
func (s *WorkspaceWebhookUsageResponseModel) Validate() error
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 ¶
func (s *ZendeskConversationInitiationTrigger) Decode(d *jx.Decoder) error
Decode decodes ZendeskConversationInitiationTrigger from json.
func (*ZendeskConversationInitiationTrigger) Encode ¶
func (s *ZendeskConversationInitiationTrigger) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ZendeskConversationInitiationTrigger) GetTicketID ¶
func (s *ZendeskConversationInitiationTrigger) GetTicketID() int
GetTicketID returns the value of TicketID.
func (*ZendeskConversationInitiationTrigger) GetTriggerType ¶
func (s *ZendeskConversationInitiationTrigger) GetTriggerType() OptZendeskConversationInitiationTriggerTriggerType
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 ¶
func (s *ZendeskConversationInitiationTrigger) SetTriggerType(val OptZendeskConversationInitiationTriggerTriggerType)
SetTriggerType sets the value of TriggerType.
func (*ZendeskConversationInitiationTrigger) UnmarshalJSON ¶
func (s *ZendeskConversationInitiationTrigger) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ZendeskConversationInitiationTrigger) Validate ¶
func (s *ZendeskConversationInitiationTrigger) Validate() error
type ZendeskConversationInitiationTriggerTriggerType ¶
type ZendeskConversationInitiationTriggerTriggerType string
const (
ZendeskConversationInitiationTriggerTriggerTypeZendesk ZendeskConversationInitiationTriggerTriggerType = "zendesk"
)
func (ZendeskConversationInitiationTriggerTriggerType) AllValues ¶
func (ZendeskConversationInitiationTriggerTriggerType) AllValues() []ZendeskConversationInitiationTriggerTriggerType
AllValues returns all ZendeskConversationInitiationTriggerTriggerType values.
func (*ZendeskConversationInitiationTriggerTriggerType) Decode ¶
func (s *ZendeskConversationInitiationTriggerTriggerType) Decode(d *jx.Decoder) error
Decode decodes ZendeskConversationInitiationTriggerTriggerType from json.
func (ZendeskConversationInitiationTriggerTriggerType) Encode ¶
func (s ZendeskConversationInitiationTriggerTriggerType) Encode(e *jx.Encoder)
Encode encodes ZendeskConversationInitiationTriggerTriggerType as json.
func (ZendeskConversationInitiationTriggerTriggerType) MarshalJSON ¶
func (s ZendeskConversationInitiationTriggerTriggerType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ZendeskConversationInitiationTriggerTriggerType) MarshalText ¶
func (s ZendeskConversationInitiationTriggerTriggerType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ZendeskConversationInitiationTriggerTriggerType) UnmarshalJSON ¶
func (s *ZendeskConversationInitiationTriggerTriggerType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ZendeskConversationInitiationTriggerTriggerType) UnmarshalText ¶
func (s *ZendeskConversationInitiationTriggerTriggerType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ZendeskConversationInitiationTriggerTriggerType) Validate ¶
func (s ZendeskConversationInitiationTriggerTriggerType) Validate() error
Source Files
¶
- oas_cfg_gen.go
- oas_client_gen.go
- oas_defaults_gen.go
- oas_handlers_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_labeler_gen.go
- oas_middleware_gen.go
- oas_operations_gen.go
- oas_parameters_gen.go
- oas_request_decoders_gen.go
- oas_request_encoders_gen.go
- oas_response_decoders_gen.go
- oas_response_encoders_gen.go
- oas_router_gen.go
- oas_schemas_gen.go
- oas_server_gen.go
- oas_unimplemented_gen.go
- oas_validators_gen.go